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.confluence.plugins.confluence-super-batch:common-runtime', location = 'manifest.js' */ 5(()=>{"use strict";var e,r,t,o,n,a,i={},l={};function u(e){var r=l[e];if(void 0!==r)return r.exports;var t=l[e]={exports:{}};return i[e].call(t.exports,t,t.exports,u),t.exports}u.m=i,u.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return u.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,u.t=function(t,o){if(1&o&&(t=this(t)),8&o||"object"==typeof t&&t&&(4&o&&t.__esModule||16&o&&"function"==typeof t.then))return t;var n=Object.create(null);u.r(n);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&o&&t;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>{a[e]=()=>t[e]});return a.default=()=>t,u.d(n,a),n},u.d=(e,r)=>{for(var t in r)u.o(r,t)&&!u.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},u.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),u.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),u.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t=[],u.O=(e,r,o,n)=>{if(r){n=n||0;for(var a=t.length;a>0&&t[a-1][2]>n;a--)t[a]=t[a-1];t[a]=[r,o,n];return}for(var i=1/0,a=0;a<t.length;a++){for(var[r,o,n]=t[a],l=!0,f=0;f<r.length;f++)(!1&n||i>=n)&&Object.keys(u.O).every(e=>u.O[e](r[f]))?r.splice(f--,1):(l=!1,n<i&&(i=n));if(l){t.splice(a--,1);var c=o();void 0!==c&&(e=c)}}return e},u.rv=()=>"1.7.12",o={manifest:0},u.O.j=e=>0===o[e],n=(e,r)=>{var t,n,[a,i,l]=r,f=0;if(a.some(e=>0!==o[e])){for(t in i)u.o(i,t)&&(u.m[t]=i[t]);if(l)var c=l(u)}for(e&&e(r);f<a.length;f++)n=a[f],u.o(o,n)&&o[n]&&o[n][0](),o[n]=0;return u.O(c)},(a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a||[]).forEach(n.bind(null,0)),a.push=n.bind(null,a.push.bind(a)),u.ruid="[email protected]"})(); 6//# sourceMappingURL=manifest.js.map 7}catch(e){WRMCB(e)}; 8; 9try { 10/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_web_do-cd3445', location = 'vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_web_do-cd3445.js' */ 11"use strict";(globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a||[]).push([["vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_web_do-cd3445"],{4334(r,e,t){var n=t(321),o=t(8379),a=TypeError;r.exports=function(r){if(n(r))return r;throw new a(o(r)+" is not a function")}},878(r,e,t){var n=t(1417),o=String,a=TypeError;r.exports=function(r){if(n(r))return r;throw new a("Can't set "+o(r)+" as a prototype")}},2153(r,e,t){var n=t(4175),o=t(3844),a=t(6005).f,c=n("unscopables"),i=Array.prototype;void 0===i[c]&&a(i,c,{configurable:!0,value:o(null)}),r.exports=function(r){i[c][r]=!0}},5755(r,e,t){var n=t(7837),o=TypeError;r.exports=function(r,e){if(n(e,r))return r;throw new o("Incorrect invocation")}},659(r,e,t){var n=t(4102),o=String,a=TypeError;r.exports=function(r){if(n(r))return r;throw new a(o(r)+" is not an object")}},6749(r,e,t){var n=t(8969),o=t(6526),a=t(8770),c=function(r){return function(e,t,c){var i,s=n(e),u=a(s);if(0===u)return!r&&-1;var f=o(c,u);if(r&&t!=t){for(;u>f;)if((i=s[f++])!=i)return!0}else for(;u>f;f++)if((r||f in s)&&s[f]===t)return r||f||0;return!r&&-1}};r.exports={includes:c(!0),indexOf:c(!1)}},4540(r,e,t){r.exports=t(2484)([].slice)},2748(r,e,t){var n=t(2484),o=n({}.toString),a=n("".slice);r.exports=function(r){return a(o(r),8,-1)}},5719(r,e,t){var n=t(7928),o=t(321),a=t(2748),c=t(4175)("toStringTag"),i=Object,s="Arguments"===a(function(){return arguments}()),u=function(r,e){try{return r[e]}catch(r){}};
vendor: 23,200 bytes, line 11
11r.exports=n?a:function(r){var e,t,n;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(t=u(e=i(r),c))?t:s?a(e):"Object"===(n=a(e))&&o(e.callee)?"Arguments":n}},1704(r,e,t){var n=t(4461),o=t(9467),a=t(3071),c=t(6005);r.exports=function(r,e,t){for(var i=o(e),s=c.f,u=a.f,f=0;f<i.length;f++){var p=i[f];n(r,p)||t&&n(t,p)||s(r,p,u(e,p))}}},671(r,e,t){var n=t(2128),o=t(6005),a=t(5936);r.exports=n?function(r,e,t){return o.f(r,e,a(1,t))}:function(r,e,t){return r[e]=t,r}},5936(r){r.exports=function(r,e){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:e}}},4028(r,e,t){var n=t(2128),o=t(6005),a=t(5936);r.exports=function(r,e,t){n?o.f(r,e,a(0,t)):r[e]=t}},5236(r,e,t){var n=t(321),o=t(6005),a=t(9455),c=t(1941);r.exports=function(r,e,t,i){i||(i={});var s=i.enumerable,u=void 0!==i.name?i.name:e;if(n(t)&&a(t,u,i),i.global)s?r[e]=t:c(e,t);else{try{i.unsafe?r[e]&&(s=!0):delete r[e]}catch(r){}s?r[e]=t:o.f(r,e,{value:t,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return r}},1941(r,e,t){var n=t(8052),o=Object.defineProperty;r.exports=function(r,e){try{o(n,r,{value:e,configurable:!0,writable:!0})}catch(t){n[r]=e}return e}},2128(r,e,t){r.exports=!t(2675)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},7831(r,e,t){var n,o,a,c,i=t(8052),s=t(9177),u=t(9136),f=i.structuredClone,p=i.ArrayBuffer,l=i.MessageChannel,v=!1;if(u)v=function(r){f(r,{transfer:[r]})};else if(p)try{!l&&(n=s("worker_threads"))&&(l=n.MessageChannel),l&&(o=new l,a=new p(2),c=function(r){o.port1.postMessage(null,[r])},2===a.byteLength&&(c(a),0===a.byteLength&&(v=c)))}catch(r){}r.exports=v},4451(r,e,t){var n=t(8052),o=t(4102),a=n.document,c=o(a)&&o(a.createElement);r.exports=function(r){return c?a.createElement(r):{}}},9206(r){r.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},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},8563(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2900(r,e,t){var n=t(3291);r.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},6125(r,e,t){r.exports="NODE"===t(6627)},3291(r,e,t){var n=t(8052).navigator,o=n&&n.userAgent;r.exports=o?String(o):""},2763(r,e,t){var n,o,a=t(8052),c=t(3291),i=a.process,s=a.Deno,u=i&&i.versions||s&&s.version,f=u&&u.v8;f&&(o=(n=f.split("."))[0]>0&&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]),r.exports=o},6627(r,e,t){var n=t(8052),o=t(3291),a=t(2748),c=function(r){return o.slice(0,r.length)===r};r.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"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},7389(r,e,t){var n=t(2484),o=Error,a=n("".replace),c=String(new o("zxcasd").stack),i=/\n\s*at [^:]*:[^\n]*/,s=i.test(c);r.exports=function(r,e){if(s&&"string"==typeof r&&!o.prepareStackTrace)for(;e--;)r=a(r,i,"");return r}},3087(r,e,t){var n=t(2675),o=t(5936);r.exports=!n(function(){var r=Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",o(1,7)),7!==r.stack)})},8810(r,e,t){var n=t(8052),o=t(3071).f,a=t(671),c=t(5236),i=t(1941),s=t(1704),u=t(2360);r.exports=function(r,e){var t,f,p,l,v,y=r.target,d=r.global,h=r.stat;if(t=d?n:h?n[y]||i(y,{}):n[y]&&n[y].prototype)for(f in e){if(l=e[f],p=r.dontCallGetSet?(v=o(t,f))&&v.value:t[f],!u(d?f:y+(h?".":"#")+f,r.forced)&&void 0!==p){if(typeof l==typeof p)continue;s(l,p)}(r.sham||p&&p.sham)&&a(l,"sham",!0),c(t,f,l,r)}}},2675(r){r.exports=function(r){try{return!!r()}catch(r){return!0}}},133(r,e,t){var n=t(3588),o=Function.prototype,a=o.apply,c=o.call;r.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(a):function(){return c.apply(a,arguments)})},9004(r,e,t){var n=t(1904),o=t(4334),a=t(3588),c=n(n.bind);r.exports=function(r,e){return o(r),void 0===e?r:a?c(r,e):function(){return r.apply(e,arguments)}}},3588(r,e,t){r.exports=!t(2675)(function(){var r=(function(){}).bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})},3625(r,e,t){var n=t(3588),o=Function.prototype.call;r.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},4690(r,e,t){var n=t(2128),o=t(4461),a=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,i=o(a,"name"),s=i&&(!n||n&&c(a,"name").configurable);r.exports={EXISTS:i,PROPER:i&&"something"===(function(){}).name,CONFIGURABLE:s}},8438(r,e,t){var n=t(2484),o=t(4334);r.exports=function(r,e,t){try{return n(o(Object.getOwnPropertyDescriptor(r,e)[t]))}catch(r){}}},1904(r,e,t){var n=t(2748),o=t(2484);r.exports=function(r){if("Function"===n(r))return o(r)}},2484(r,e,t){var n=t(3588),o=Function.prototype,a=o.call,c=n&&o.bind.bind(a,a);r.exports=n?c:function(r){return function(){return a.apply(r,arguments)}}},9177(r,e,t){var n=t(8052),o=t(6125);r.exports=function(r){if(o){try{return n.process.getBuiltinModule(r)}catch(r){}try{return Function('return require("'+r+'")')()}catch(r){}}}},3163(r,e,t){var n=t(8052),o=t(321);r.exports=function(r,e){var t;return arguments.length<2?o(t=n[r])?t:void 0:n[r]&&n[r][e]}},4951(r,e,t){var n=t(5719),o=t(9538),a=t(9601),c=t(6609),i=t(4175)("iterator");r.exports=function(r){if(!a(r))return o(r,i)||o(r,"@@iterator")||c[n(r)]}},6221(r,e,t){var n=t(3625),o=t(4334),a=t(659),c=t(8379),i=t(4951),s=TypeError;r.exports=function(r,e){var t=arguments.length<2?i(r):e;if(o(t))return a(n(t,r));throw new s(c(r)+" is not iterable")}},9538(r,e,t){var n=t(4334),o=t(9601);r.exports=function(r,e){var t=r[e];return o(t)?void 0:n(t)}},8052(r,e,t){var n=function(r){return r&&r.Math===Math&&r};r.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t.g&&t.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4461(r,e,t){var n=t(2484),o=t(8649),a=n({}.hasOwnProperty);r.exports=Object.hasOwn||function(r,e){return a(o(r),e)}},6617(r){r.exports={}},7073(r,e,t){r.exports=t(3163)("document","documentElement")},4113(r,e,t){var n=t(2128),o=t(2675),a=t(4451);r.exports=!n&&!o(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},51(r,e,t){var n=t(2484),o=t(2675),a=t(2748),c=Object,i=n("".split);r.exports=o(function(){return!c("z").propertyIsEnumerable(0)})?function(r){return"String"===a(r)?i(r,""):c(r)}:c},9859(r,e,t){var n=t(321),o=t(4102),a=t(1715);r.exports=function(r,e,t){var c,i;return a&&n(c=e.constructor)&&c!==t&&o(i=c.prototype)&&i!==t.prototype&&a(r,i),r}},2718(r,e,t){var n=t(2484),o=t(321),a=t(2921),c=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(r){return c(r)}),r.exports=a.inspectSource},6369(r,e,t){var n,o,a,c=t(8434),i=t(8052),s=t(4102),u=t(671),f=t(4461),p=t(2921),l=t(3779),v=t(6617),y="Object already initialized",d=i.TypeError,h=i.WeakMap;if(c||p.state){var b=p.state||(p.state=new h);b.get=b.get,b.has=b.has,b.set=b.set,n=function(r,e){if(b.has(r))throw new d(y);return e.facade=r,b.set(r,e),e},o=function(r){return b.get(r)||{}},a=function(r){return b.has(r)}}else{var m=l("state");v[m]=!0,n=function(r,e){if(f(r,m))throw new d(y);return e.facade=r,u(r,m,e),e},o=function(r){return f(r,m)?r[m]:{}},a=function(r){return f(r,m)}}r.exports={set:n,get:o,has:a,enforce:function(r){return a(r)?o(r):n(r,{})},getterFor:function(r){return function(e){var t;if(!s(e)||(t=o(e)).type!==r)throw new d("Incompatible receiver, "+r+" required");return t}}}},3709(r,e,t){var n=t(4175),o=t(6609),a=n("iterator"),c=Array.prototype;r.exports=function(r){return void 0!==r&&(o.Array===r||c[a]===r)}},321(r){var e="object"==typeof document&&document.all;r.exports=void 0===e&&void 0!==e?function(r){return"function"==typeof r||r===e}:function(r){return"function"==typeof r}},1441(r,e,t){var n=t(2484),o=t(2675),a=t(321),c=t(5719),i=t(3163),s=t(2718),u=function(){},f=i("Reflect","construct"),p=/^\s*(?:class|function)\b/,l=n(p.exec),v=!p.test(u),y=function(r){if(!a(r))return!1;try{return f(u,[],r),!0}catch(r){return!1}},d=function(r){if(!a(r))return!1;switch(c(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!l(p,s(r))}catch(r){return!0}};d.sham=!0,r.exports=!f||o(function(){var r;return y(y.call)||!y(Object)||!y(function(){r=!0})||r})?d:y},2360(r,e,t){var n=t(2675),o=t(321),a=/#|\.prototype\./,c=function(r,e){var t=s[i(r)];return t===f||t!==u&&(o(e)?n(e):!!e)},i=c.normalize=function(r){return String(r).replace(a,".").toLowerCase()},s=c.data={},u=c.NATIVE="N",f=c.POLYFILL="P";r.exports=c},9601(r){r.exports=function(r){return null==r}},4102(r,e,t){var n=t(321);r.exports=function(r){return"object"==typeof r?null!==r:n(r)}},1417(r,e,t){var n=t(4102);r.exports=function(r){return n(r)||null===r}},6007(r){r.exports=!1},3401(r,e,t){var n=t(3163),o=t(321),a=t(7837),c=t(3316),i=Object;r.exports=c?function(r){return"symbol"==typeof r}:function(r){var e=n("Symbol");return o(e)&&a(e.prototype,i(r))}},8711(r,e,t){var n=t(3625);r.exports=function(r,e,t){for(var o,a,c=t?r:r.iterator,i=r.next;!(o=n(i,c)).done;)if(void 0!==(a=e(o.value)))return a}},1072(r,e,t){var n=t(9004),o=t(3625),a=t(659),c=t(8379),i=t(3709),s=t(8770),u=t(7837),f=t(6221),p=t(4951),l=t(1151),v=TypeError,y=function(r,e){this.stopped=r,this.result=e},d=y.prototype;r.exports=function(r,e,t){var h,b,m,g,E,w,x,O=t&&t.that,S=!!(t&&t.AS_ENTRIES),R=!!(t&&t.IS_RECORD),A=!!(t&&t.IS_ITERATOR),_=!!(t&&t.INTERRUPTED),I=n(e,O),D=function(r){return h&&l(h,"normal"),new y(!0,r)},T=function(r){return S?(a(r),_?I(r[0],r[1],D):I(r[0],r[1])):_?I(r,D):I(r)};if(R)h=r.iterator;else if(A)h=r;else{if(!(b=p(r)))throw new v(c(r)+" is not iterable");if(i(b)){for(m=0,g=s(r);g>m;m++)if((E=T(r[m]))&&u(d,E))return E;return new y(!1)}h=f(r,b)}for(w=R?r.next:h.next;!(x=o(w,h)).done;){try{E=T(x.value)}catch(r){l(h,"throw",r)}if("object"==typeof E&&E&&u(d,E))return E}return new y(!1)}},1151(r,e,t){var n=t(3625),o=t(659),a=t(9538);r.exports=function(r,e,t){var c,i;o(r);try{if(!(c=a(r,"return"))){if("throw"===e)throw t;return t}c=n(c,r)}catch(r){i=!0,c=r}if("throw"===e)throw t;if(i)throw c;return o(c),t}},6609(r){r.exports={}},8770(r,e,t){var n=t(3026);r.exports=function(r){return n(r.length)}},9455(r,e,t){var n=t(2484),o=t(2675),a=t(321),c=t(4461),i=t(2128),s=t(4690).CONFIGURABLE,u=t(2718),f=t(6369),p=f.enforce,l=f.get,v=String,y=Object.defineProperty,d=n("".slice),h=n("".replace),b=n([].join),m=i&&!o(function(){return 8!==y(function(){},"length",{value:8}).length}),g=String(String).split("String"),E=r.exports=function(r,e,t){"Symbol("===d(v(e),0,7)&&(e="["+h(v(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(e="get "+e),t&&t.setter&&(e="set "+e),(!c(r,"name")||s&&r.name!==e)&&(i?y(r,"name",{value:e,configurable:!0}):r.name=e),m&&t&&c(t,"arity")&&r.length!==t.arity&&y(r,"length",{value:t.arity});try{t&&c(t,"constructor")&&t.constructor?i&&y(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var n=p(r);return c(n,"source")||(n.source=b(g,"string"==typeof e?e:"")),r};Function.prototype.toString=E(function(){return a(this)&&l(this).source||u(this)},"toString")},1076(r,e,t){var n=t(2484),o=Map.prototype;r.exports={Map:Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},4049(r){var e=Math.ceil,t=Math.floor;r.exports=Math.trunc||function(r){var n=+r;return(n>0?t:e)(n)}},8687(r,e,t){var n=t(7267);r.exports=function(r,e){return void 0===r?arguments.length<2?"":e:n(r)}},3844(r,e,t){var n,o=t(659),a=t(3037),c=t(8563),i=t(6617),s=t(7073),u=t(4451),f=t(3779),p="prototype",l="script",v=f("IE_PROTO"),y=function(){},d=function(r){return"<"+l+">"+r+"</"+l+">"},h=function(r){r.write(d("")),r.close();var e=r.parentWindow.Object;return r=null,e},b=function(){var r,e=u("iframe");return e.style.display="none",s.appendChild(e),e.src=String("java"+l+":"),(r=e.contentWindow.document).open(),r.write(d("document.F=Object")),r.close(),r.F},m=function(){try{n=new ActiveXObject("htmlfile")}catch(r){}m="u">typeof document?document.domain&&n?h(n):b():h(n);for(var r=c.length;r--;)delete m[p][c[r]];return m()};i[v]=!0,r.exports=Object.create||function(r,e){var t;return null!==r?(y[p]=o(r),t=new y,y[p]=null,t[v]=r):t=m(),void 0===e?t:a.f(t,e)}},3037(r,e,t){var n=t(2128),o=t(706),a=t(6005),c=t(659),i=t(8969),s=t(4700);e.f=n&&!o?Object.defineProperties:function(r,e){c(r);for(var t,n=i(e),o=s(e),u=o.length,f=0;u>f;)a.f(r,t=o[f++],n[t]);return r}},6005(r,e,t){var n=t(2128),o=t(4113),a=t(706),c=t(659),i=t(1261),s=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",v="writable";e.f=n?a?function(r,e,t){if(c(r),e=i(e),c(t),"function"==typeof r&&"prototype"===e&&"value"in t&&v in t&&!t[v]){var n=f(r,e);n&&n[v]&&(r[e]=t.value,t={configurable:l in t?t[l]:n[l],enumerable:p in t?t[p]:n[p],writable:!1})}return u(r,e,t)}:u:function(r,e,t){if(c(r),e=i(e),c(t),o)try{return u(r,e,t)}catch(r){}if("get"in t||"set"in t)throw new s("Accessors not supported");return"value"in t&&(r[e]=t.value),r}},3071(r,e,t){var n=t(2128),o=t(3625),a=t(7769),c=t(5936),i=t(8969),s=t(1261),u=t(4461),f=t(4113),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(r,e){if(r=i(r),e=s(e),f)try{return p(r,e)}catch(r){}if(u(r,e))return c(!o(a.f,r,e),r[e])}},4956(r,e,t){var n=t(4792),o=t(8563).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(r){return n(r,o)}},9073(r,e){e.f=Object.getOwnPropertySymbols},7837(r,e,t){r.exports=t(2484)({}.isPrototypeOf)},4792(r,e,t){var n=t(2484),o=t(4461),a=t(8969),c=t(6749).indexOf,i=t(6617),s=n([].push);r.exports=function(r,e){var t,n=a(r),u=0,f=[];for(t in n)!o(i,t)&&o(n,t)&&s(f,t);for(;e.length>u;)o(n,t=e[u++])&&(~c(f,t)||s(f,t));return f}},4700(r,e,t){var n=t(4792),o=t(8563);r.exports=Object.keys||function(r){return n(r,o)}},7769(r,e){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function(r){var e=n(this,r);return!!e&&e.enumerable}:t},1715(r,e,t){var n=t(8438),o=t(4102),a=t(4834),c=t(878);r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,e=!1,t={};try{(r=n(Object.prototype,"__proto__","set"))(t,[]),e=t instanceof Array}catch(r){}return function(t,n){return a(t),c(n),o(t)&&(e?r(t,n):t.__proto__=n),t}}():void 0)},5514(r,e,t){var n=t(3625),o=t(321),a=t(4102),c=TypeError;r.exports=function(r,e){var t,i;if("string"===e&&o(t=r.toString)&&!a(i=n(t,r))||o(t=r.valueOf)&&!a(i=n(t,r))||"string"!==e&&o(t=r.toString)&&!a(i=n(t,r)))return i;throw new c("Can't convert object to primitive value")}},9467(r,e,t){var n=t(3163),o=t(2484),a=t(4956),c=t(9073),i=t(659),s=o([].concat);r.exports=n("Reflect","ownKeys")||function(r){var e=a.f(i(r)),t=c.f;return t?s(e,t(r)):e}},4993(r,e,t){var n=t(8052),o=t(2675),a=n.RegExp;r.exports={correct:!o(function(){var r=!0;try{a(".","d")}catch(e){r=!1}var e={},t="",n=r?"dgimsy":"gimsy",o=function(r,n){Object.defineProperty(e,r,{get:function(){return t+=n,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in r&&(c.hasIndices="d"),c)o(i,c[i]);return Object.getOwnPropertyDescriptor(a.prototype,"flags").get.call(e)!==n||t!==n})}},8303(r,e,t){var n=t(659);r.exports=function(){var r=n(this),e="";return r.hasIndices&&(e+="d"),r.global&&(e+="g"),r.ignoreCase&&(e+="i"),r.multiline&&(e+="m"),r.dotAll&&(e+="s"),r.unicode&&(e+="u"),r.unicodeSets&&(e+="v"),r.sticky&&(e+="y"),e}},3614(r,e,t){var n=t(3625),o=t(4461),a=t(7837),c=t(4993),i=t(8303),s=RegExp.prototype;r.exports=c.correct?function(r){return r.flags}:function(r){return!c.correct&&a(s,r)&&!o(r,"flags")?n(i,r):r.flags}},4834(r,e,t){var n=t(9601),o=TypeError;r.exports=function(r){if(n(r))throw new o("Can't call method on "+r);return r}},5396(r,e,t){var n,o=t(8052),a=t(133),c=t(321),i=t(6627),s=t(3291),u=t(4540),f=t(464),p=o.Function,l=/MSIE .\./.test(s)||"BUN"===i&&((n=o.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));r.exports=function(r,e){var t=e?2:1;return l?function(n,o){var i=f(arguments.length,1)>t,s=c(n)?n:p(n),l=i?u(arguments,t):[],v=i?function(){a(s,this,l)}:s;return e?r(v,o):r(v)}:r}},1990(r,e,t){var n=t(2484),o=Set.prototype;r.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},6417(r,e,t){var n=t(2484),o=t(8711),a=t(1990),c=a.Set,i=a.proto,s=n(i.forEach),u=n(i.keys),f=u(new c).next;r.exports=function(r,e,t){return t?o({iterator:u(r),next:f},e):s(r,e)}},3779(r,e,t){var n=t(6445),o=t(2868),a=n("keys");r.exports=function(r){return a[r]||(a[r]=o(r))}},2921(r,e,t){var n=t(6007),o=t(8052),a=t(1941),c="__core-js_shared__",i=r.exports=o[c]||a(c,{});(i.versions||(i.versions=[])).push({version:"3.45.0",mode:n?"pure":"global",copyright:"\xa9 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"})},6445(r,e,t){var n=t(2921);r.exports=function(r,e){return n[r]||(n[r]=e||{})}},9136(r,e,t){var n=t(8052),o=t(2675),a=t(2763),c=t(6627),i=n.structuredClone;r.exports=!!i&&!o(function(){if("DENO"===c&&a>92||"NODE"===c&&a>94||"BROWSER"===c&&a>97)return!1;var r=new ArrayBuffer(8),e=i(r,{transfer:[r]});return 0!==r.byteLength||8!==e.byteLength})},6891(r,e,t){var n=t(2763),o=t(2675),a=t(8052).String;r.exports=!!Object.getOwnPropertySymbols&&!o(function(){var r=Symbol("symbol detection");return!a(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&n&&n<41})},6781(r,e,t){var n,o,a,c,i=t(8052),s=t(133),u=t(9004),f=t(321),p=t(4461),l=t(2675),v=t(7073),y=t(4540),d=t(4451),h=t(464),b=t(2900),m=t(6125),g=i.setImmediate,E=i.clearImmediate,w=i.process,x=i.Dispatch,O=i.Function,S=i.MessageChannel,R=i.String,A=0,_={},I="onreadystatechange";l(function(){n=i.location});var D=function(r){if(p(_,r)){var e=_[r];delete _[r],e()}},T=function(r){return function(){D(r)}},k=function(r){D(r.data)},j=function(r){i.postMessage(R(r),n.protocol+"//"+n.host)};g&&E||(g=function(r){h(arguments.length,1);var e=f(r)?r:O(r),t=y(arguments,1);return _[++A]=function(){s(e,void 0,t)},o(A),A},E=function(r){delete _[r]},m?o=function(r){w.nextTick(T(r))}:x&&x.now?o=function(r){x.now(T(r))}:S&&!b?(c=(a=new S).port2,a.port1.onmessage=k,o=u(c.postMessage,c)):i.addEventListener&&f(i.postMessage)&&!i.importScripts&&n&&"file:"!==n.protocol&&!l(j)?(o=j,i.addEventListener("message",k,!1)):o=I in d("script")?function(r){v.appendChild(d("script"))[I]=function(){v.removeChild(this),D(r)}}:function(r){setTimeout(T(r),0)}),r.exports={set:g,clear:E}},6526(r,e,t){var n=t(7391),o=Math.max,a=Math.min;r.exports=function(r,e){var t=n(r);return t<0?o(t+e,0):a(t,e)}},8969(r,e,t){var n=t(51),o=t(4834);r.exports=function(r){return n(o(r))}},7391(r,e,t){var n=t(4049);r.exports=function(r){var e=+r;return e!=e||0===e?0:n(e)}},3026(r,e,t){var n=t(7391),o=Math.min;r.exports=function(r){var e=n(r);return e>0?o(e,0x1fffffffffffff):0}},8649(r,e,t){var n=t(4834),o=Object;r.exports=function(r){return o(n(r))}},573(r,e,t){var n=t(3625),o=t(4102),a=t(3401),c=t(9538),i=t(5514),s=t(4175),u=TypeError,f=s("toPrimitive");r.exports=function(r,e){if(!o(r)||a(r))return r;var t,s=c(r,f);if(s){if(void 0===e&&(e="default"),!o(t=n(s,r,e))||a(t))return t;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(r,e)}},1261(r,e,t){var n=t(573),o=t(3401);r.exports=function(r){var e=n(r,"string");return o(e)?e:e+""}},7928(r,e,t){var n=t(4175)("toStringTag"),o={};o[n]="z",r.exports="[object z]"===String(o)},7267(r,e,t){var n=t(5719),o=String;r.exports=function(r){if("Symbol"===n(r))throw TypeError("Cannot convert a Symbol value to a string");return o(r)}},8379(r){var e=String;r.exports=function(r){try{return e(r)}catch(r){return"Object"}}},2868(r,e,t){var n=t(2484),o=0,a=Math.random(),c=n(1.1.toString);r.exports=function(r){return"Symbol("+(void 0===r?"":r)+")_"+c(++o+a,36)}},3316(r,e,t){r.exports=t(6891)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},706(r,e,t){var n=t(2128),o=t(2675);r.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},464(r){var e=TypeError;r.exports=function(r,t){if(r<t)throw new e("Not enough arguments");return r}},8434(r,e,t){var n=t(8052),o=t(321),a=n.WeakMap;r.exports=o(a)&&/native code/.test(String(a))},4175(r,e,t){var n=t(8052),o=t(6445),a=t(4461),c=t(2868),i=t(6891),s=t(3316),u=n.Symbol,f=o("wks"),p=s?u.for||u:u&&u.withoutSetter||c;r.exports=function(r){return a(f,r)||(f[r]=i&&a(u,r)?u[r]:p("Symbol."+r)),f[r]}},4707(r,e,t){var n=t(8810),o=t(6749).includes,a=t(2675),c=t(2153);n({target:"Array",proto:!0,forced:a(function(){return![,].includes()})},{includes:function(r){return o(this,r,arguments.length>1?arguments[1]:void 0)}}),c("includes")},3788(r,e,t){var n=t(8810),o=t(8052),a=t(6781).clear;n({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==a},{clearImmediate:a})},5119(r,e,t){var n=t(8810),o=t(8052),a=t(3163),c=t(5936),i=t(6005).f,s=t(4461),u=t(5755),f=t(9859),p=t(8687),l=t(9206),v=t(7389),y=t(2128),d=t(6007),h="DOMException",b=a("Error"),m=a(h),g=function(){u(this,E);var r=arguments.length,e=p(r<1?void 0:arguments[0]),t=p(r<2?void 0:arguments[1],"Error"),n=new m(e,t),o=new b(e);return o.name=h,i(n,"stack",c(1,v(o.stack,1))),f(n,this,g),n},E=g.prototype=m.prototype,w="stack"in new b(h),x="stack"in new m(1,2),O=m&&y&&Object.getOwnPropertyDescriptor(o,h),S=!!O&&!(O.writable&&O.configurable),R=w&&!S&&!x;n({global:!0,constructor:!0,forced:d||R},{DOMException:R?g:m});var A=a(h),_=A.prototype;if(_.constructor!==A){for(var I in d||i(_,"constructor",c(1,A)),l)if(s(l,I)){var D=l[I],T=D.s;s(A,T)||i(A,T,c(6,D.c))}}},9308(r,e,t){t(3788),t(8681)},8681(r,e,t){var n=t(8810),o=t(8052),a=t(6781).set,c=t(5396),i=o.setImmediate?c(a,!1):a;n({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==i},{setImmediate:i})},4722(r,e,t){var n=t(6007),o=t(8810),a=t(8052),c=t(3163),i=t(2484),s=t(2675),u=t(2868),f=t(321),p=t(1441),l=t(9601),v=t(4102),y=t(3401),d=t(1072),h=t(659),b=t(5719),m=t(4461),g=t(4028),E=t(671),w=t(8770),x=t(464),O=t(3614),S=t(1076),R=t(1990),A=t(6417),_=t(783
vendor: 5,868 bytes, line 11
111),I=t(3087),D=t(9136),T=a.Object,k=a.Array,j=a.Date,M=a.Error,C=a.TypeError,N=a.PerformanceMark,P=c("DOMException"),F=S.Map,B=S.has,L=S.get,U=S.set,W=R.Set,z=R.add,V=R.has,H=c("Object","keys"),G=i([].push),Y=i((!0).valueOf),Q=i(1.1.valueOf),X=i("".valueOf),q=i(j.prototype.getTime),K=u("structuredClone"),Z="DataCloneError",$="Transferring",J=function(r){return!s(function(){var e=new a.Set([7]),t=r(e),n=r(T(7));return t===e||!t.has(7)||!v(n)||7!=+n})&&r},rr=function(r,e){return!s(function(){var t=new e,n=r({a:t,b:t});return!(n&&n.a===n.b&&n.a instanceof e&&n.a.stack===t.stack)})},re=a.structuredClone,rt=n||!rr(re,M)||!rr(re,P)||!!s(function(){var r=re(new a.AggregateError([1],K,{cause:3}));return"AggregateError"!==r.name||1!==r.errors[0]||r.message!==K||3!==r.cause}),rn=!re&&J(function(r){return new N(K,{detail:r}).detail}),ro=J(re)||rn,ra=function(r){throw new P("Uncloneable type: "+r,Z)},rc=function(r,e){throw new P((e||"Cloning")+" of "+r+" cannot be properly polyfilled in this engine",Z)},ri=function(r,e){return ro||rc(e),ro(r)},rs=function(){var r;try{r=new a.DataTransfer}catch(e){try{r=new a.ClipboardEvent("").clipboardData}catch(r){}}return r&&r.items&&r.files?r:null},ru=function(r,e,t){if(B(e,r))return L(e,r);if("SharedArrayBuffer"===(t||b(r)))n=ro?ro(r):r;else{var n,o,c,i,s,u,p=a.DataView;p||f(r.slice)||rc("ArrayBuffer");try{if(f(r.slice)&&!r.resizable)n=r.slice(0);else for(u=0,o=r.byteLength,c=("maxByteLength"in r)?{maxByteLength:r.maxByteLength}:void 0,n=new ArrayBuffer(o,c),i=new p(r),s=new p(n);u<o;u++)s.setUint8(u,i.getUint8(u))}catch(r){throw new P("ArrayBuffer is detached",Z)}}return U(e,r,n),n},rf=function(r,e,t,n,o){var c=a[e];return v(c)||rc(e),new c(ru(r.buffer,o),t,n)},rp=function(r,e){if(y(r)&&ra("Symbol"),!v(r))return r;if(e){if(B(e,r))return L(e,r)}else e=new F;var t,n,o,i,s,u,p,l,d=b(r);switch(d){case"Array":o=k(w(r));break;case"Object":o={};break;case"Map":o=new F;break;case"Set":o=new W;break;case"RegExp":o=new RegExp(r.source,O(r));break;case"Error":switch(n=r.name){case"AggregateError":o=new(c(n))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":o=new(c(n));break;case"CompileError":case"LinkError":case"RuntimeError":o=new(c("WebAssembly",n));break;default:o=new M}break;case"DOMException":o=new P(r.message,r.name);break;case"ArrayBuffer":case"SharedArrayBuffer":o=ru(r,e,d);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"===d?r.byteLength:r.length,o=rf(r,d,r.byteOffset,u,e);break;case"DOMQuad":try{o=new DOMQuad(rp(r.p1,e),rp(r.p2,e),rp(r.p3,e),rp(r.p4,e))}catch(e){o=ri(r,d)}break;case"File":if(ro)try{o=ro(r),b(o)!==d&&(o=void 0)}catch(r){}if(!o)try{o=new File([r],r.name,r)}catch(r){}o||rc(d);break;case"FileList":if(i=rs()){for(s=0,u=w(r);s<u;s++)i.items.add(rp(r[s],e));o=i.files}else o=ri(r,d);break;case"ImageData":try{o=new ImageData(rp(r.data,e),r.width,r.height,{colorSpace:r.colorSpace})}catch(e){o=ri(r,d)}break;default:if(ro)o=ro(r);else switch(d){case"BigInt":o=T(r.valueOf());break;case"Boolean":o=T(Y(r));break;case"Number":o=T(Q(r));break;case"String":o=T(X(r));break;case"Date":o=new j(q(r));break;case"Blob":try{o=r.slice(0,r.size,r.type)}catch(r){rc(d)}break;case"DOMPoint":case"DOMPointReadOnly":t=a[d];try{o=t.fromPoint?t.fromPoint(r):new t(r.x,r.y,r.z,r.w)}catch(r){rc(d)}break;case"DOMRect":case"DOMRectReadOnly":t=a[d];try{o=t.fromRect?t.fromRect(r):new t(r.x,r.y,r.width,r.height)}catch(r){rc(d)}break;case"DOMMatrix":case"DOMMatrixReadOnly":t=a[d];try{o=t.fromMatrix?t.fromMatrix(r):new t(r)}catch(r){rc(d)}break;case"AudioData":case"VideoFrame":f(r.clone)||rc(d);try{o=r.clone()}catch(r){ra(d)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":rc(d);default:ra(d)}}switch(U(e,r,o),d){case"Array":case"Object":for(s=0,u=w(p=H(r));s<u;s++)l=p[s],g(o,l,rp(r[l],e));break;case"Map":r.forEach(function(r,t){U(o,rp(t,e),rp(r,e))});break;case"Set":r.forEach(function(r){z(o,rp(r,e))});break;case"Error":E(o,"message",rp(r.message,e)),m(r,"cause")&&E(o,"cause",rp(r.cause,e)),"AggregateError"===n?o.errors=rp(r.errors,e):"SuppressedError"===n&&(o.error=rp(r.error,e),o.suppressed=rp(r.suppressed,e));case"DOMException":I&&E(o,"stack",rp(r.stack,e))}return o},rl=function(r,e){if(!v(r))throw new C("Transfer option cannot be converted to a sequence");var t,n,o,c,i,s=[];d(r,function(r){G(s,h(r))});for(var u=0,l=w(s),y=new W;u<l;){if("ArrayBuffer"===(n=b(t=s[u++]))?V(y,t):B(e,t))throw new P("Duplicate transferable",Z);if("ArrayBuffer"===n){z(y,t);continue}if(D)c=re(t,{transfer:[t]});else switch(n){case"ImageBitmap":p(o=a.OffscreenCanvas)||rc(n,$);try{(i=new o(t.width,t.height)).getContext("bitmaprenderer").transferFromImageBitmap(t),c=i.transferToImageBitmap()}catch(r){}break;case"AudioData":case"VideoFrame":f(t.clone)&&f(t.close)||rc(n,$);try{c=t.clone(),t.close()}catch(r){}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":rc(n,$)}if(void 0===c)throw new P("This object cannot be transferred: "+n,Z);U(e,t,c)}return y},rv=function(r){A(r,function(r){D?ro(r,{transfer:[r]}):f(r.transfer)?r.transfer():_?_(r):rc("ArrayBuffer",$)})};o({global:!0,enumerable:!0,sham:!D,forced:rt},{structuredClone:function(r){var e,t,n=x(arguments.length,1)>1&&!l(arguments[1])?h(arguments[1]):void 0,o=n?n.transfer:void 0;
11void 0!==o&&(t=rl(o,e=new F));var a=rp(r,e);return t&&rv(t),a}})}}]); 12//# sourceMappingURL=vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_web_do-cd3445.js.map 13}catch(e){WRMCB(e)}; 14; 15try { 16/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_core-js', location = 'core-js.js' */ 17"use strict";(globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a||[]).push([["core-js"],{6494(e,s,d){d(4707),d(5119),d(9308),d(4722)}},function(e){e.O(0,["vendors-node_modules_core-js_modules_es_array_includes_js-node_modules_core-js_modules_web_do-cd3445"],function(){return e(e.s=6494)}),e.O()}]); 18}catch(e){WRMCB(e)}; 19; 20try { 21/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:root', location = 'js/root.js' */ 22window.WRM||(window.WRM={});window.AJS||(window.AJS={}); 23}catch(e){WRMCB(e)}; 24; 25try { 26/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:data', location = 'js/data/data.js' */ 27(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|| 28{};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)}}}}; 29WRM.data=WRM._createDataImpl(WRM);"function"===typeof define&&define("wrm/data",()=>WRM.data)})(); 30}catch(e){WRMCB(e)}; 31; 32try { 33/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path', location = 'js/data/context-path.js' */ 34(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})(); 35}catch(e){WRMCB(e)}; 36; 37try { 38/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:common-runtime', location = 'manifest.js' */ 39(()=>{"use strict";var e,r,t,n,o,a,i,c={},l={};function u(e){var r=l[e];if(void 0!==r)return r.exports;var t=l[e]={id:e,loaded:!1,exports:{}};return c[e].call(t.exports,t,t.exports,u),t.loaded=!0,t.exports}u.m=c,u.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return u.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,u.t=function(t,n){if(1&n&&(t=this(t)),8&n||"object"==typeof t&&t&&(4&n&&t.__esModule||16&n&&"function"==typeof t.then))return t;var o=Object.create(null);u.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>{a[e]=()=>t[e]});return a.default=()=>t,u.d(o,a),o},u.d=(e,r)=>{for(var t in r)u.o(r,t)&&!u.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},u.f={},u.e=e=>Promise.all(Object.keys(u.f).reduce((r,t)=>(u.f[t](e,r),r),[])),u.u=e=>""+e+".js",u.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),u.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},u.l=function(e,r,n,o){if(t[e])return void t[e].push(r);if(void 0!==n)for(var a,i,c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var u=c[l];if(u.getAttribute("src")==e||u.getAttribute("data-rspack")=="@atlassian/dc.product.confluence-frontend-plugins.confluence-frontend:"+n){a=u;break}}if(!a){i=!0;let e=(n||"").replace(/^chunk-/,"");WRM.require("wrc!com.atlassian.confluence.plugins.confluence-frontend:"+e).then(()=>r(),e=>{var t=new Event("missing");t.data=e,r(t)});return}t[e]=[r];var d=function(r,n){a.onerror=a.onload=null,clearTimeout(f);var o=t[e];if(delete t[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(function(e){return e(n)}),r)return r(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),i&&document.head.appendChild(a)},u.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
39),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n=[],u.O=(e,r,t,o)=>{if(r){o=o||0;for(var a=n.length;a>0&&n[a-1][2]>o;a--)n[a]=n[a-1];n[a]=[r,t,o];return}for(var i=1/0,a=0;a<n.length;a++){for(var[r,t,o]=n[a],c=!0,l=0;l<r.length;l++)(!1&o||i>=o)&&Object.keys(u.O).every(e=>u.O[e](r[l]))?r.splice(l--,1):(c=!1,o<i&&(i=o));if(c){n.splice(a--,1);var d=t();void 0!==d&&(e=d)}}return e},u.p="","u">typeof AJS&&(u.p=AJS.contextPath()+"/s/50b61e10-95c8-44b6-8eec-6d8e8e45c916/_/download/resources/com.atlassian.confluence.plugins.confluence-frontend:assets-50b61e10-95c8-44b6-8eec-6d8e8e45c916/"),u.rv=()=>"1.7.12",o={"compiled-css":0,manifest:0},u.f.j=function(e,r){var t=u.o(o,e)?o[e]:void 0;if(0!==t)if(t)r.push(t[2]);else if(/^(compiled\-css|manifest)$/.test(e))o[e]=0;else{var n=new Promise((r,n)=>t=o[e]=[r,n]);r.push(t[2]=n);var a=u.p+u.u(e),i=Error();u.l(a,function(r){if(u.o(o,e)&&(0!==(t=o[e])&&(o[e]=void 0),t)){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;i.message="Loading chunk "+e+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,t[1](i)}},"chunk-"+e,e)}},u.O.j=e=>0===o[e],a=(e,r)=>{var t,n,[a,i,c]=r,l=0;if(a.some(e=>0!==o[e])){for(t in i)u.o(i,t)&&(u.m[t]=i[t]);if(c)var d=c(u)}for(e&&e(r);l<a.length;l++)n=a[l],u.o(o,n)&&o[n]&&o[n][0](),o[n]=0;return u.O(d)},(i=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73||[]).forEach(a.bind(null,0)),i.push=a.bind(null,i.push.bind(i)),u.ruid="[email protected]"})(); 40//# sourceMappingURL=manifest.js.map 41}catch(e){WRMCB(e)}; 42; 43try { 44/* module-key = 'com.atlassian.plugins.atlassian-plugins-webresource-rest:web-resource-manager', location = 'js/dist/wrm.js' */ 45!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)=>
45r[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"})}_resolveAsync(e,r){return this._queueManager.enqueue(e,r).catch(([r,t])=>
45{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))}(); 46 47}catch(e){WRMCB(e)}; 48; 49try { 50/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_cookie-overrides', location = 'cookie-overrides.js' */ 51"use strict";(globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73||[]).push([["cookie-overrides"],{8356(){let e=["lax","strict","none"],t="samesite";(()=>{if(!navigator.cookieEnabled)return;let o=Object.getOwnPropertyDescriptor(Document.prototype,"cookie").get,r=Object.getOwnPropertyDescriptor(Document.prototype,"cookie").set;Object.defineProperty(document,"cookie",{set(o){let c=o;if(!(o=>{if(!o.toLowerCase().includes(t))return!1;let r=o.split(";").reverse();for(let o=0;o<r.length;o++){let[c,i]=r[o].split("=");if(c.trim().toLowerCase()===t)return e.includes(i.trim().toLowerCase())}return!1})(o)){var i,l;c=`${o}; SameSite=${null!=(i=null==(l=AJS)||null==(l=l.Meta)?void 0:l.get("same-site-cookie-default-policy"))?i:"Lax"}`}try{r.call(document,c)}catch(e){console.error("Failed to set cookie",e)}},get(){try{return o.call(document)}catch(e){console.error("Error accessing document.cookie:",e)}return""},configurable:!0})})()}},function(e){e(e.s=8356)}]); 52//# sourceMappingURL=cookie-overrides.js.map 53}catch(e){WRMCB(e)}; 54; 55try { 56/* module-key = 'com.atlassian.plugins.jquery:jquery-lib', location = '/jquery.js' */ 57/*! 58 * jQuery JavaScript Library v3.7.1 59 * https://jquery.com/ 60 * 61 * Copyright OpenJS Foundation and other contributors 62 * Released under the MIT license 63 * https://jquery.org/license 64 * 65 * Date: 2023-08-28T13:37Z 66 */ 67( function( global, factory ) { 68 69 "use strict"; 70 71 if ( typeof module === "object"
vendor: 12,125 bytes, lines 71-564
71 && typeof module.exports === "object" ) { 72 73 // For CommonJS and CommonJS-like environments where a proper `window` 74 // is present, execute the factory and get jQuery. 75 // For environments that do not have a `window` with a `document` 76 // (such as Node.js), expose a factory as module.exports. 77 // This accentuates the need for the creation of a real `window`. 78 // e.g. var jQuery = require("jquery")(window); 79 // See ticket trac-14549 for more info. 80 module.exports = global.document ? 81 factory( global, true ) : 82 function( w ) { 83 if ( !w.document ) { 84 throw new Error( "jQuery requires a window with a document" ); 85 } 86 return factory( w ); 87 }; 88 } else { 89 factory( global ); 90 } 91 92// Pass this if window is not defined yet 93} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { 94 95// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 96// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode 97// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common 98// enough that all such attempts are guarded in a try block. 99"use strict"; 100 101var arr = []; 102 103var getProto = Object.getPrototypeOf; 104 105var slice = arr.slice; 106 107var flat = arr.flat ? function( array ) { 108 return arr.flat.call( array ); 109} : function( array ) { 110 return arr.concat.apply( [], array ); 111}; 112 113 114var push = arr.push; 115 116var indexOf = arr.indexOf; 117 118var class2type = {}; 119 120var toString = class2type.toString; 121 122var hasOwn = class2type.hasOwnProperty; 123 124var fnToString = hasOwn.toString; 125 126var ObjectFunctionString = fnToString.call( Object ); 127 128var support = {}; 129 130var isFunction = function isFunction( obj ) { 131 132 // Support: Chrome <=57, Firefox <=52 133 // In some browsers, typeof returns "function" for HTML <object> elements 134 // (i.e., `typeof document.createElement( "object" ) === "function"`). 135 // We don't want to classify *any* DOM node as a function. 136 // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 137 // Plus for old WebKit, typeof returns "function" for HTML collections 138 // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) 139 return typeof obj === "function" && typeof obj.nodeType !== "number" && 140 typeof obj.item !== "function"; 141 }; 142 143 144var isWindow = function isWindow( obj ) { 145 return obj != null && obj === obj.window; 146 }; 147 148 149var document = window.document; 150 151 152 153 var preservedScriptAttributes = { 154 type: true, 155 src: true, 156 nonce: true, 157 noModule: true 158 }; 159 160 function DOMEval( code, node, doc ) { 161 doc = doc || document; 162 163 var i, val, 164 script = doc.createElement( "script" ); 165 166 script.text = code; 167 if ( node ) { 168 for ( i in preservedScriptAttributes ) { 169 170 // Support: Firefox 64+, Edge 18+ 171 // Some browsers don't support the "nonce" property on scripts. 172 // On the other hand, just using `getAttribute` is not enough as 173 // the `nonce` attribute is reset to an empty string whenever it 174 // becomes browsing-context connected. 175 // See https://github.com/whatwg/html/issues/2369 176 // See https://html.spec.whatwg.org/#nonce-attributes 177 // The `node.getAttribute` check was added for the sake of 178 // `jQuery.globalEval` so that it can fake a nonce-containing node 179 // via an object. 180 val = node[ i ] || node.getAttribute && node.getAttribute( i ); 181 if ( val ) { 182 script.setAttribute( i, val ); 183 } 184 } 185 } 186 doc.head.appendChild( script ).parentNode.removeChild( script ); 187 } 188 189 190function toType( obj ) { 191 if ( obj == null ) { 192 return obj + ""; 193 } 194 195 // Support: Android <=2.3 only (functionish RegExp) 196 return typeof obj === "object" || typeof obj === "function" ? 197 class2type[ toString.call( obj ) ] || "object" : 198 typeof obj; 199} 200/* global Symbol */ 201// Defining this global in .eslintrc.json would create a danger of using the global 202// unguarded in another place, it seems safer to define global only for this module 203 204 205 206var version = "3.7.1", 207 208 rhtmlSuffix = /HTML$/i, 209 210 // Define a local copy of jQuery 211 jQuery = function( selector, context ) { 212 213 // The jQuery object is actually just the init constructor 'enhanced' 214 // Need init if jQuery is called (just allow error to be thrown if not included) 215 return new jQuery.fn.init( selector, context ); 216 }; 217 218jQuery.fn = jQuery.prototype = { 219 220 // The current version of jQuery being used 221 jquery: version, 222 223 constructor: jQuery, 224 225 // The default length of a jQuery object is 0 226 length: 0, 227 228 toArray: function() { 229 return slice.call( this ); 230 }, 231 232 // Get the Nth element in the matched element set OR 233 // Get the whole matched element set as a clean array 234 get: function( num ) { 235 236 // Return all the elements in a clean array 237 if ( num == null ) { 238 return slice.call( this ); 239 } 240 241 // Return just the one element from the set 242 return num < 0 ? this[ num + this.length ] : this[ num ]; 243 }, 244 245 // Take an array of elements and push it onto the stack 246 // (returning the new matched element set) 247 pushStack: function( elems ) { 248 249 // Build a new jQuery matched element set 250 var ret = jQuery.merge( this.constructor(), elems ); 251 252 // Add the old object onto the stack (as a reference) 253 ret.prevObject = this; 254 255 // Return the newly-formed element set 256 return ret; 257 }, 258 259 // Execute a callback for every element in the matched set. 260 each: function( callback ) { 261 return jQuery.each( this, callback ); 262 }, 263 264 map: function( callback ) { 265 return this.pushStack( jQuery.map( this, function( elem, i ) { 266 return callback.call( elem, i, elem ); 267 } ) ); 268 }, 269 270 slice: function() { 271 return this.pushStack( slice.apply( this, arguments ) ); 272 }, 273 274 first: function() { 275 return this.eq( 0 ); 276 }, 277 278 last: function() { 279 return this.eq( -1 ); 280 }, 281 282 even: function() { 283 return this.pushStack( jQuery.grep( this, function( _elem, i ) { 284 return ( i + 1 ) % 2; 285 } ) ); 286 }, 287 288 odd: function() { 289 return this.pushStack( jQuery.grep( this, function( _elem, i ) { 290 return i % 2; 291 } ) ); 292 }, 293 294 eq: function( i ) { 295 var len = this.length, 296 j = +i + ( i < 0 ? len : 0 ); 297 return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); 298 }, 299 300 end: function() { 301 return this.prevObject || this.constructor(); 302 }, 303 304 // For internal use only. 305 // Behaves like an Array's method, not like a jQuery method. 306 push: push, 307 sort: arr.sort, 308 splice: arr.splice 309}; 310 311jQuery.extend = jQuery.fn.extend = function() { 312 var options, name, src, copy, copyIsArray, clone, 313 target = arguments[ 0 ] || {}, 314 i = 1, 315 length = arguments.length, 316 deep = false; 317 318 // Handle a deep copy situation 319 if ( typeof target === "boolean" ) { 320 deep = target; 321 322 // Skip the boolean and the target 323 target = arguments[ i ] || {}; 324 i++; 325 } 326 327 // Handle case when target is a string or something (possible in deep copy) 328 if ( typeof target !== "object" && !isFunction( target ) ) { 329 target = {}; 330 } 331 332 // Extend jQuery itself if only one argument is passed 333 if ( i === length ) { 334 target = this; 335 i--; 336 } 337 338 for ( ; i < length; i++ ) { 339 340 // Only deal with non-null/undefined values 341 if ( ( options = arguments[ i ] ) != null ) { 342 343 // Extend the base object 344 for ( name in options ) { 345 copy = options[ name ]; 346 347 // Prevent Object.prototype pollution 348 // Prevent never-ending loop 349 if ( name === "__proto__" || target === copy ) { 350 continue; 351 } 352 353 // Recurse if we're merging plain objects or arrays 354 if ( deep && copy && ( jQuery.isPlainObject( copy ) || 355 ( copyIsArray = Array.isArray( copy ) ) ) ) { 356 src = target[ name ]; 357 358 // Ensure proper type for the source value 359 if ( copyIsArray && !Array.isArray( src ) ) { 360 clone = []; 361 } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { 362 clone = {}; 363 } else { 364 clone = src; 365 } 366 copyIsArray = false; 367 368 // Never move original objects, clone them 369 target[ name ] = jQuery.extend( deep, clone, copy ); 370 371 // Don't bring in undefined values 372 } else if ( copy !== undefined ) { 373 target[ name ] = copy; 374 } 375 } 376 } 377 } 378 379 // Return the modified object 380 return target; 381}; 382 383jQuery.extend( { 384 385 // Unique for each copy of jQuery on the page 386 expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), 387 388 // Assume jQuery is ready without the ready module 389 isReady: true, 390 391 error: function( msg ) { 392 throw new Error( msg ); 393 }, 394 395 noop: function() {}, 396 397 isPlainObject: function( obj ) { 398 var proto, Ctor; 399 400 // Detect obvious negatives 401 // Use toString instead of jQuery.type to catch host objects 402 if ( !obj || toString.call( obj ) !== "[object Object]" ) { 403 return false; 404 } 405 406 proto = getProto( obj ); 407 408 // Objects with no prototype (e.g., `Object.create( null )`) are plain 409 if ( !proto ) { 410 return true; 411 } 412 413 // Objects with prototype are plain iff they were constructed by a global Object function 414 Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; 415 return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; 416 }, 417 418 isEmptyObject: function( obj ) { 419 var name; 420 421 for ( name in obj ) { 422 return false; 423 } 424 return true; 425 }, 426 427 // Evaluates a script in a provided context; falls back to the global one 428 // if not specified. 429 globalEval: function( code, options, doc ) { 430 DOMEval( code, { nonce: options && options.nonce }, doc ); 431 }, 432 433 each: function( obj, callback ) { 434 var length, i = 0; 435 436 if ( isArrayLike( obj ) ) { 437 length = obj.length; 438 for ( ; i < length; i++ ) { 439 if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { 440 break; 441 } 442 } 443 } else { 444 for ( i in obj ) { 445 if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { 446 break; 447 } 448 } 449 } 450 451 return obj; 452 }, 453 454 455 // Retrieve the text value of an array of DOM nodes 456 text: function( elem ) { 457 var node, 458 ret = "", 459 i = 0, 460 nodeType = elem.nodeType; 461 462 if ( !nodeType ) { 463 464 // If no nodeType, this is expected to be an array 465 while ( ( node = elem[ i++ ] ) ) { 466 467 // Do not traverse comment nodes 468 ret += jQuery.text( node ); 469 } 470 } 471 if ( nodeType === 1 || nodeType === 11 ) { 472 return elem.textContent; 473 } 474 if ( nodeType === 9 ) { 475 return elem.documentElement.textContent; 476 } 477 if ( nodeType === 3 || nodeType === 4 ) { 478 return elem.nodeValue; 479 } 480 481 // Do not include comment or processing instruction nodes 482 483 return ret; 484 }, 485 486 // results is for internal usage only 487 makeArray: function( arr, results ) { 488 var ret = results || []; 489 490 if ( arr != null ) { 491 if ( isArrayLike( Object( arr ) ) ) { 492 jQuery.merge( ret, 493 typeof arr === "string" ? 494 [ arr ] : arr 495 ); 496 } else { 497 push.call( ret, arr ); 498 } 499 } 500 501 return ret; 502 }, 503 504 inArray: function( elem, arr, i ) { 505 return arr == null ? -1 : indexOf.call( arr, elem, i ); 506 }, 507 508 isXMLDoc: function( elem ) { 509 var namespace = elem && elem.namespaceURI, 510 docElem = elem && ( elem.ownerDocument || elem ).documentElement; 511 512 // Assume HTML when documentElement doesn't yet exist, such as inside 513 // document fragments. 514 return !rhtmlSuffix.test( namespace || docElem && docElem.nodeName || "HTML" ); 515 }, 516 517 // Support: Android <=4.0 only, PhantomJS 1 only 518 // push.apply(_, arraylike) throws on ancient WebKit 519 merge: function( first, second ) { 520 var len = +second.length, 521 j = 0, 522 i = first.length; 523 524 for ( ; j < len; j++ ) { 525 first[ i++ ] = second[ j ]; 526 } 527 528 first.length = i; 529 530 return first; 531 }, 532 533 grep: function( elems, callback, invert ) { 534 var callbackInverse, 535 matches = [], 536 i = 0, 537 length = elems.length, 538 callbackExpect = !invert; 539 540 // Go through the array, only saving the items 541 // that pass the validator function 542 for ( ; i < length; i++ ) { 543 callbackInverse = !callback( elems[ i ], i ); 544 if ( callbackInverse !== callbackExpect ) { 545 matches.push( elems[ i ] ); 546 } 547 } 548 549 return matches; 550 }, 551 552 // arg is for internal usage only 553 map: function( elems, callback, arg ) { 554 var length, value, 555 i = 0, 556 ret = []; 557 558 // Go through the array, translating each of the items to their new values 559 if ( isArrayLike( elems ) ) { 560 length = elems.length; 561 for ( ; i < length; i++ ) { 562 value = callback( elems[ i ], i, arg ); 563 564 if ( value != null ) {
vendor: 17,514 bytes, lines 565-1186
565 ret.push( value ); 566 } 567 } 568 569 // Go through every key on the object, 570 } else { 571 for ( i in elems ) { 572 value = callback( elems[ i ], i, arg ); 573 574 if ( value != null ) { 575 ret.push( value ); 576 } 577 } 578 } 579 580 // Flatten any nested arrays 581 return flat( ret ); 582 }, 583 584 // A global GUID counter for objects 585 guid: 1, 586 587 // jQuery.support is not used in Core but other projects attach their 588 // properties to it so it needs to exist. 589 support: support 590} ); 591 592if ( typeof Symbol === "function" ) { 593 jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; 594} 595 596// Populate the class2type map 597jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), 598 function( _i, name ) { 599 class2type[ "[object " + name + "]" ] = name.toLowerCase(); 600 } ); 601 602function isArrayLike( obj ) { 603 604 // Support: real iOS 8.2 only (not reproducible in simulator) 605 // `in` check used to prevent JIT error (gh-2145) 606 // hasOwn isn't used here due to false negatives 607 // regarding Nodelist length in IE 608 var length = !!obj && "length" in obj && obj.length, 609 type = toType( obj ); 610 611 if ( isFunction( obj ) || isWindow( obj ) ) { 612 return false; 613 } 614 615 return type === "array" || length === 0 || 616 typeof length === "number" && length > 0 && ( length - 1 ) in obj; 617} 618 619 620function nodeName( elem, name ) { 621 622 return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); 623 624} 625var pop = arr.pop; 626 627 628var sort = arr.sort; 629 630 631var splice = arr.splice; 632 633 634var whitespace = "[\\x20\\t\\r\\n\\f]"; 635 636 637var rtrimCSS = new RegExp( 638 "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", 639 "g" 640); 641 642 643 644 645// Note: an element does not contain itself 646jQuery.contains = function( a, b ) { 647 var bup = b && b.parentNode; 648 649 return a === bup || !!( bup && bup.nodeType === 1 && ( 650 651 // Support: IE 9 - 11+ 652 // IE doesn't have `contains` on SVG. 653 a.contains ? 654 a.contains( bup ) : 655 a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 656 ) ); 657}; 658 659 660 661 662// CSS string/identifier serialization 663// https://drafts.csswg.org/cssom/#common-serializing-idioms 664var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g; 665 666function fcssescape( ch, asCodePoint ) { 667 if ( asCodePoint ) { 668 669 // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER 670 if ( ch === "\0" ) { 671 return "\uFFFD"; 672 } 673 674 // Control characters and (dependent upon position) numbers get escaped as code points 675 return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; 676 } 677 678 // Other potentially-special ASCII characters get backslash-escaped 679 return "\\" + ch; 680} 681 682jQuery.escapeSelector = function( sel ) { 683 return ( sel + "" ).replace( rcssescape, fcssescape ); 684}; 685 686 687 688 689var preferredDoc = document, 690 pushNative = push; 691 692( function() { 693 694var i, 695 Expr, 696 outermostContext, 697 sortInput, 698 hasDuplicate, 699 push = pushNative, 700 701 // Local document vars 702 document, 703 documentElement, 704 documentIsHTML, 705 rbuggyQSA, 706 matches, 707 708 // Instance-specific data 709 expando = jQuery.expando, 710 dirruns = 0, 711 done = 0, 712 classCache = createCache(), 713 tokenCache = createCache(), 714 compilerCache = createCache(), 715 nonnativeSelectorCache = createCache(), 716 sortOrder = function( a, b ) { 717 if ( a === b ) { 718 hasDuplicate = true; 719 } 720 return 0; 721 }, 722 723 booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|" + 724 "loop|multiple|open|readonly|required|scoped", 725 726 // Regular expressions 727 728 // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram 729 identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + 730 "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", 731 732 // Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors 733 attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + 734 735 // Operator (capture 2) 736 "*([*^$|!~]?=)" + whitespace + 737 738 // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" 739 "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + 740 whitespace + "*\\]", 741 742 pseudos = ":(" + identifier + ")(?:\\((" + 743 744 // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: 745 // 1. quoted (capture 3; capture 4 or capture 5) 746 "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + 747 748 // 2. simple (capture 6) 749 "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + 750 751 // 3. anything else (capture 2) 752 ".*" + 753 ")\\)|)", 754 755 // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter 756 rwhitespace = new RegExp( whitespace + "+", "g" ), 757 758 rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), 759 rleadingCombinator = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + 760 whitespace + "*" ), 761 rdescend = new RegExp( whitespace + "|>" ), 762 763 rpseudo = new RegExp( pseudos ), 764 ridentifier = new RegExp( "^" + identifier + "$" ), 765 766 matchExpr = { 767 ID: new RegExp( "^#(" + identifier + ")" ), 768 CLASS: new RegExp( "^\\.(" + identifier + ")" ), 769 TAG: new RegExp( "^(" + identifier + "|[*])" ), 770 ATTR: new RegExp( "^" + attributes ), 771 PSEUDO: new RegExp( "^" + pseudos ), 772 CHILD: new RegExp( 773 "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + 774 whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + 775 whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), 776 bool: new RegExp( "^(?:" + booleans + ")$", "i" ), 777 778 // For use in libraries implementing .is() 779 // We use this for POS matching in `select` 780 needsContext: new RegExp( "^" + whitespace + 781 "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + 782 "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) 783 }, 784 785 rinputs = /^(?:input|select|textarea|button)$/i, 786 rheader = /^h\d$/i, 787 788 // Easily-parseable/retrievable ID or TAG or CLASS selectors 789 rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, 790 791 rsibling = /[+~]/, 792 793 // CSS escapes 794 // https://www.w3.org/TR/CSS21/syndata.html#escaped-characters 795 runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + 796 "?|\\\\([^\\r\\n\\f])", "g" ), 797 funescape = function( escape, nonHex ) { 798 var high = "0x" + escape.slice( 1 ) - 0x10000; 799 800 if ( nonHex ) { 801 802 // Strip the backslash prefix from a non-hex escape sequence 803 return nonHex; 804 } 805 806 // Replace a hexadecimal escape sequence with the encoded Unicode code point 807 // Support: IE <=11+ 808 // For values outside the Basic Multilingual Plane (BMP), manually construct a 809 // surrogate pair 810 return high < 0 ? 811 String.fromCharCode( high + 0x10000 ) : 812 String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); 813 }, 814 815 // Used for iframes; see `setDocument`. 816 // Support: IE 9 - 11+, Edge 12 - 18+ 817 // Removing the function wrapper causes a "Permission Denied" 818 // error in IE/Edge. 819 unloadHandler = function() { 820 setDocument(); 821 }, 822 823 inDisabledFieldset = addCombinator( 824 function( elem ) { 825 return elem.disabled === true && nodeName( elem, "fieldset" ); 826 }, 827 { dir: "parentNode", next: "legend" } 828 ); 829 830// Support: IE <=9 only 831// Accessing document.activeElement can throw unexpectedly 832// https://bugs.jquery.com/ticket/13393 833function safeActiveElement() { 834 try { 835 return document.activeElement; 836 } catch ( err ) { } 837} 838 839// Optimize for push.apply( _, NodeList ) 840try { 841 push.apply( 842 ( arr = slice.call( preferredDoc.childNodes ) ), 843 preferredDoc.childNodes 844 ); 845 846 // Support: Android <=4.0 847 // Detect silently failing push.apply 848 // eslint-disable-next-line no-unused-expressions 849 arr[ preferredDoc.childNodes.length ].nodeType; 850} catch ( e ) { 851 push = { 852 apply: function( target, els ) { 853 pushNative.apply( target, slice.call( els ) ); 854 }, 855 call: function( target ) { 856 pushNative.apply( target, slice.call( arguments, 1 ) ); 857 } 858 }; 859} 860 861function find( selector, context, results, seed ) { 862 var m, i, elem, nid, match, groups, newSelector, 863 newContext = context && context.ownerDocument, 864 865 // nodeType defaults to 9, since context defaults to document 866 nodeType = context ? context.nodeType : 9; 867 868 results = results || []; 869 870 // Return early from calls with invalid selector or context 871 if ( typeof selector !== "string" || !selector || 872 nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { 873 874 return results; 875 } 876 877 // Try to shortcut find operations (as opposed to filters) in HTML documents 878 if ( !seed ) { 879 setDocument( context ); 880 context = context || document; 881 882 if ( documentIsHTML ) { 883 884 // If the selector is sufficiently simple, try using a "get*By*" DOM method 885 // (excepting DocumentFragment context, where the methods don't exist) 886 if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { 887 888 // ID selector 889 if ( ( m = match[ 1 ] ) ) { 890 891 // Document context 892 if ( nodeType === 9 ) { 893 if ( ( elem = context.getElementById( m ) ) ) { 894 895 // Support: IE 9 only 896 // getElementById can match elements by name instead of ID 897 if ( elem.id === m ) { 898 push.call( results, elem ); 899 return results; 900 } 901 } else { 902 return results; 903 } 904 905 // Element context 906 } else { 907 908 // Support: IE 9 only 909 // getElementById can match elements by name instead of ID 910 if ( newContext && ( elem = newContext.getElementById( m ) ) && 911 find.contains( context, elem ) && 912 elem.id === m ) { 913 914 push.call( results, elem ); 915 return results; 916 } 917 } 918 919 // Type selector 920 } else if ( match[ 2 ] ) { 921 push.apply( results, context.getElementsByTagName( selector ) ); 922 return results; 923 924 // Class selector 925 } else if ( ( m = match[ 3 ] ) && context.getElementsByClassName ) { 926 push.apply( results, context.getElementsByClassName( m ) ); 927 return results; 928 } 929 } 930 931 // Take advantage of querySelectorAll 932 if ( !nonnativeSelectorCache[ selector + " " ] && 933 ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) ) { 934 935 newSelector = selector; 936 newContext = context; 937 938 // qSA considers elements outside a scoping root when evaluating child or 939 // descendant combinators, which is not what we want. 940 // In such cases, we work around the behavior by prefixing every selector in the 941 // list with an ID selector referencing the scope context. 942 // The technique has to be used as well when a leading combinator is used 943 // as such selectors are not recognized by querySelectorAll. 944 // Thanks to Andrew Dupont for this technique. 945 if ( nodeType === 1 && 946 ( rdescend.test( selector ) || rleadingCombinator.test( selector ) ) ) { 947 948 // Expand context for sibling selectors 949 newContext = rsibling.test( selector ) && testContext( context.parentNode ) || 950 context; 951 952 // We can use :scope instead of the ID hack if the browser 953 // supports it & if we're not changing the context. 954 // Support: IE 11+, Edge 17 - 18+ 955 // IE/Edge sometimes throw a "Permission denied" error when 956 // strict-comparing two documents; shallow comparisons work. 957 // eslint-disable-next-line eqeqeq 958 if ( newContext != context || !support.scope ) { 959 960 // Capture the context ID, setting it first if necessary 961 if ( ( nid = context.getAttribute( "id" ) ) ) { 962 nid = jQuery.escapeSelector( nid ); 963 } else { 964 context.setAttribute( "id", ( nid = expando ) ); 965 } 966 } 967 968 // Prefix every selector in the list 969 groups = tokenize( selector ); 970 i = groups.length; 971 while ( i-- ) { 972 groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + 973 toSelector( groups[ i ] ); 974 } 975 newSelector = groups.join( "," ); 976 } 977 978 try { 979 push.apply( results, 980 newContext.querySelectorAll( newSelector ) 981 ); 982 return results; 983 } catch ( qsaError ) { 984 nonnativeSelectorCache( selector, true ); 985 } finally { 986 if ( nid === expando ) { 987 context.removeAttribute( "id" ); 988 } 989 } 990 } 991 } 992 } 993 994 // All others 995 return select( selector.replace( rtrimCSS, "$1" ), context, results, seed ); 996} 997 998/** 999 * Create key-value caches of limited size 1000 * @returns {function(string, object)} Returns the Object data after storing it on itself with 1001 * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) 1002 * deleting the oldest entry 1003 */ 1004function createCache() { 1005 var keys = []; 1006 1007 function cache( key, value ) { 1008 1009 // Use (key + " ") to avoid collision with native prototype properties 1010 // (see https://github.com/jquery/sizzle/issues/157) 1011 if ( keys.push( key + " " ) > Expr.cacheLength ) { 1012 1013 // Only keep the most recent entries 1014 delete cache[ keys.shift() ]; 1015 } 1016 return ( cache[ key + " " ] = value ); 1017 } 1018 return cache; 1019} 1020 1021/** 1022 * Mark a function for special use by jQuery selector module 1023 * @param {Function} fn The function to mark 1024 */ 1025function markFunction( fn ) { 1026 fn[ expando ] = true; 1027 return fn; 1028} 1029 1030/** 1031 * Support testing using an element 1032 * @param {Function} fn Passed the created element and returns a boolean result 1033 */ 1034function assert( fn ) { 1035 var el = document.createElement( "fieldset" ); 1036 1037 try { 1038 return !!fn( el ); 1039 } catch ( e ) { 1040 return false; 1041 } finally { 1042 1043 // Remove from its parent by default 1044 if ( el.parentNode ) { 1045 el.parentNode.removeChild( el ); 1046 } 1047 1048 // release memory in IE 1049 el = null; 1050 } 1051} 1052 1053/** 1054 * Returns a function to use in pseudos for input types 1055 * @param {String} type 1056 */ 1057function createInputPseudo( type ) { 1058 return function( elem ) { 1059 return nodeName( elem, "input" ) && elem.type === type; 1060 }; 1061} 1062 1063/** 1064 * Returns a function to use in pseudos for buttons 1065 * @param {String} type 1066 */ 1067function createButtonPseudo( type ) { 1068 return function( elem ) { 1069 return ( nodeName( elem, "input" ) || nodeName( elem, "button" ) ) && 1070 elem.type === type; 1071 }; 1072} 1073 1074/** 1075 * Returns a function to use in pseudos for :enabled/:disabled 1076 * @param {Boolean} disabled true for :disabled; false for :enabled 1077 */ 1078function createDisabledPseudo( disabled ) { 1079 1080 // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable 1081 return function( elem ) { 1082 1083 // Only certain elements can match :enabled or :disabled 1084 // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled 1085 // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled 1086 if ( "form" in elem ) { 1087 1088 // Check for inherited disabledness on relevant non-disabled elements: 1089 // * listed form-associated elements in a disabled fieldset 1090 // https://html.spec.whatwg.org/multipage/forms.html#category-listed 1091 // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled 1092 // * option elements in a disabled optgroup 1093 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled 1094 // All such elements have a "form" property. 1095 if ( elem.parentNode && elem.disabled === false ) { 1096 1097 // Option elements defer to a parent optgroup if present 1098 if ( "label" in elem ) { 1099 if ( "label" in elem.parentNode ) { 1100 return elem.parentNode.disabled === disabled; 1101 } else { 1102 return elem.disabled === disabled; 1103 } 1104 } 1105 1106 // Support: IE 6 - 11+ 1107 // Use the isDisabled shortcut property to check for disabled fieldset ancestors 1108 return elem.isDisabled === disabled || 1109 1110 // Where there is no isDisabled, check manually 1111 elem.isDisabled !== !disabled && 1112 inDisabledFieldset( elem ) === disabled; 1113 } 1114 1115 return elem.disabled === disabled; 1116 1117 // Try to winnow out elements that can't be disabled before trusting the disabled property. 1118 // Some victims get caught in our net (label, legend, menu, track), but it shouldn't 1119 // even exist on them, let alone have a boolean value. 1120 } else if ( "label" in elem ) { 1121 return elem.disabled === disabled; 1122 } 1123 1124 // Remaining elements are neither :enabled nor :disabled 1125 return false; 1126 }; 1127} 1128 1129/** 1130 * Returns a function to use in pseudos for positionals 1131 * @param {Function} fn 1132 */ 1133function createPositionalPseudo( fn ) { 1134 return markFunction( function( argument ) { 1135 argument = +argument; 1136 return markFunction( function( seed, matches ) { 1137 var j, 1138 matchIndexes = fn( [], seed.length, argument ), 1139 i = matchIndexes.length; 1140 1141 // Match elements found at the specified indexes 1142 while ( i-- ) { 1143 if ( seed[ ( j = matchIndexes[ i ] ) ] ) { 1144 seed[ j ] = !( matches[ j ] = seed[ j ] ); 1145 } 1146 } 1147 } ); 1148 } ); 1149} 1150 1151/** 1152 * Checks a node for validity as a jQuery selector context 1153 * @param {Element|Object=} context 1154 * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value 1155 */ 1156function testContext( context ) { 1157 return context && typeof context.getElementsByTagName !== "undefined" && context; 1158} 1159 1160/** 1161 * Sets document-related variables once based on the current document 1162 * @param {Element|Object} [node] An element or document object to use to set the document 1163 * @returns {Object} Returns the current document 1164 */ 1165function setDocument( node ) { 1166 var subWindow, 1167 doc = node ? node.ownerDocument || node : preferredDoc; 1168 1169 // Return early if doc is invalid or already selected 1170 // Support: IE 11+, Edge 17 - 18+ 1171 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1172 // two documents; shallow comparisons work. 1173 // eslint-disable-next-line eqeqeq 1174 if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { 1175 return document; 1176 } 1177 1178 // Update global variables 1179 document = doc; 1180 documentElement = document.documentElement; 1181 documentIsHTML = !jQuery.isXMLDoc( document ); 1182 1183 // Support: iOS 7 only, IE 9 - 11+ 1184 // Older browsers didn't support unprefixed `matches`. 1185 matches = documentElement.matches || 1186 documentElement.webkitMatchesSelector ||
vendor: 4,667 bytes, lines 1187-1338
1187 documentElement.msMatchesSelector; 1188 1189 // Support: IE 9 - 11+, Edge 12 - 18+ 1190 // Accessing iframe documents after unload throws "permission denied" errors 1191 // (see trac-13936). 1192 // Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`, 1193 // all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well. 1194 if ( documentElement.msMatchesSelector && 1195 1196 // Support: IE 11+, Edge 17 - 18+ 1197 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1198 // two documents; shallow comparisons work. 1199 // eslint-disable-next-line eqeqeq 1200 preferredDoc != document && 1201 ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { 1202 1203 // Support: IE 9 - 11+, Edge 12 - 18+ 1204 subWindow.addEventListener( "unload", unloadHandler ); 1205 } 1206 1207 // Support: IE <10 1208 // Check if getElementById returns elements by name 1209 // The broken getElementById methods don't pick up programmatically-set names, 1210 // so use a roundabout getElementsByName test 1211 support.getById = assert( function( el ) { 1212 documentElement.appendChild( el ).id = jQuery.expando; 1213 return !document.getElementsByName || 1214 !document.getElementsByName( jQuery.expando ).length; 1215 } ); 1216 1217 // Support: IE 9 only 1218 // Check to see if it's possible to do matchesSelector 1219 // on a disconnected node. 1220 support.disconnectedMatch = assert( function( el ) { 1221 return matches.call( el, "*" ); 1222 } ); 1223 1224 // Support: IE 9 - 11+, Edge 12 - 18+ 1225 // IE/Edge don't support the :scope pseudo-class. 1226 support.scope = assert( function() { 1227 return document.querySelectorAll( ":scope" ); 1228 } ); 1229 1230 // Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only 1231 // Make sure the `:has()` argument is parsed unforgivingly. 1232 // We include `*` in the test to detect buggy implementations that are 1233 // _selectively_ forgiving (specifically when the list includes at least 1234 // one valid selector). 1235 // Note that we treat complete lack of support for `:has()` as if it were 1236 // spec-compliant support, which is fine because use of `:has()` in such 1237 // environments will fail in the qSA path and fall back to jQuery traversal 1238 // anyway. 1239 support.cssHas = assert( function() { 1240 try { 1241 document.querySelector( ":has(*,:jqfake)" ); 1242 return false; 1243 } catch ( e ) { 1244 return true; 1245 } 1246 } ); 1247 1248 // ID filter and find 1249 if ( support.getById ) { 1250 Expr.filter.ID = function( id ) { 1251 var attrId = id.replace( runescape, funescape ); 1252 return function( elem ) { 1253 return elem.getAttribute( "id" ) === attrId; 1254 }; 1255 }; 1256 Expr.find.ID = function( id, context ) { 1257 if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { 1258 var elem = context.getElementById( id ); 1259 return elem ? [ elem ] : []; 1260 } 1261 }; 1262 } else { 1263 Expr.filter.ID = function( id ) { 1264 var attrId = id.replace( runescape, funescape ); 1265 return function( elem ) { 1266 var node = typeof elem.getAttributeNode !== "undefined" && 1267 elem.getAttributeNode( "id" ); 1268 return node && node.value === attrId; 1269 }; 1270 }; 1271 1272 // Support: IE 6 - 7 only 1273 // getElementById is not reliable as a find shortcut 1274 Expr.find.ID = function( id, context ) { 1275 if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { 1276 var node, i, elems, 1277 elem = context.getElementById( id ); 1278 1279 if ( elem ) { 1280 1281 // Verify the id attribute 1282 node = elem.getAttributeNode( "id" ); 1283 if ( node && node.value === id ) { 1284 return [ elem ]; 1285 } 1286 1287 // Fall back on getElementsByName 1288 elems = context.getElementsByName( id ); 1289 i = 0; 1290 while ( ( elem = elems[ i++ ] ) ) { 1291 node = elem.getAttributeNode( "id" ); 1292 if ( node && node.value === id ) { 1293 return [ elem ]; 1294 } 1295 } 1296 } 1297 1298 return []; 1299 } 1300 }; 1301 } 1302 1303 // Tag 1304 Expr.find.TAG = function( tag, context ) { 1305 if ( typeof context.getElementsByTagName !== "undefined" ) { 1306 return context.getElementsByTagName( tag ); 1307 1308 // DocumentFragment nodes don't have gEBTN 1309 } else { 1310 return context.querySelectorAll( tag ); 1311 } 1312 }; 1313 1314 // Class 1315 Expr.find.CLASS = function( className, context ) { 1316 if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { 1317 return context.getElementsByClassName( className ); 1318 } 1319 }; 1320 1321 /* QSA/matchesSelector 1322 ---------------------------------------------------------------------- */ 1323 1324 // QSA and matchesSelector support 1325 1326 rbuggyQSA = []; 1327 1328 // Build QSA regex 1329 // Regex strategy adopted from Diego Perini 1330 assert( function( el ) { 1331 1332 var input; 1333 1334 documentElement.appendChild( el ).innerHTML = 1335 "<a id='" + expando + "' href='' disabled='disabled'></a>" + 1336 "<select id='" + expando + "-\r\\' disabled='disabled'>" + 1337 "<option selected=''></option></select>"; 1338
vendor: 38,614 bytes, lines 1339-2710
1339 // Support: iOS <=7 - 8 only 1340 // Boolean attributes and "value" are not treated correctly in some XML documents 1341 if ( !el.querySelectorAll( "[selected]" ).length ) { 1342 rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); 1343 } 1344 1345 // Support: iOS <=7 - 8 only 1346 if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { 1347 rbuggyQSA.push( "~=" ); 1348 } 1349 1350 // Support: iOS 8 only 1351 // https://bugs.webkit.org/show_bug.cgi?id=136851 1352 // In-page `selector#id sibling-combinator selector` fails 1353 if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { 1354 rbuggyQSA.push( ".#.+[+~]" ); 1355 } 1356 1357 // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+ 1358 // In some of the document kinds, these selectors wouldn't work natively. 1359 // This is probably OK but for backwards compatibility we want to maintain 1360 // handling them through jQuery traversal in jQuery 3.x. 1361 if ( !el.querySelectorAll( ":checked" ).length ) { 1362 rbuggyQSA.push( ":checked" ); 1363 } 1364 1365 // Support: Windows 8 Native Apps 1366 // The type and name attributes are restricted during .innerHTML assignment 1367 input = document.createElement( "input" ); 1368 input.setAttribute( "type", "hidden" ); 1369 el.appendChild( input ).setAttribute( "name", "D" ); 1370 1371 // Support: IE 9 - 11+ 1372 // IE's :disabled selector does not pick up the children of disabled fieldsets 1373 // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+ 1374 // In some of the document kinds, these selectors wouldn't work natively. 1375 // This is probably OK but for backwards compatibility we want to maintain 1376 // handling them through jQuery traversal in jQuery 3.x. 1377 documentElement.appendChild( el ).disabled = true; 1378 if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { 1379 rbuggyQSA.push( ":enabled", ":disabled" ); 1380 } 1381 1382 // Support: IE 11+, Edge 15 - 18+ 1383 // IE 11/Edge don't find elements on a `[name='']` query in some cases. 1384 // Adding a temporary attribute to the document before the selection works 1385 // around the issue. 1386 // Interestingly, IE 10 & older don't seem to have the issue. 1387 input = document.createElement( "input" ); 1388 input.setAttribute( "name", "" ); 1389 el.appendChild( input ); 1390 if ( !el.querySelectorAll( "[name='']" ).length ) { 1391 rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + 1392 whitespace + "*(?:''|\"\")" ); 1393 } 1394 } ); 1395 1396 if ( !support.cssHas ) { 1397 1398 // Support: Chrome 105 - 110+, Safari 15.4 - 16.3+ 1399 // Our regular `try-catch` mechanism fails to detect natively-unsupported 1400 // pseudo-classes inside `:has()` (such as `:has(:contains("Foo"))`) 1401 // in browsers that parse the `:has()` argument as a forgiving selector list. 1402 // https://drafts.csswg.org/selectors/#relational now requires the argument 1403 // to be parsed unforgivingly, but browsers have not yet fully adjusted. 1404 rbuggyQSA.push( ":has" ); 1405 } 1406 1407 rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); 1408 1409 /* Sorting 1410 ---------------------------------------------------------------------- */ 1411 1412 // Document order sorting 1413 sortOrder = function( a, b ) { 1414 1415 // Flag for duplicate removal 1416 if ( a === b ) { 1417 hasDuplicate = true; 1418 return 0; 1419 } 1420 1421 // Sort on method existence if only one input has compareDocumentPosition 1422 var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; 1423 if ( compare ) { 1424 return compare; 1425 } 1426 1427 // Calculate position if both inputs belong to the same document 1428 // Support: IE 11+, Edge 17 - 18+ 1429 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1430 // two documents; shallow comparisons work. 1431 // eslint-disable-next-line eqeqeq 1432 compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? 1433 a.compareDocumentPosition( b ) : 1434 1435 // Otherwise we know they are disconnected 1436 1; 1437 1438 // Disconnected nodes 1439 if ( compare & 1 || 1440 ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { 1441 1442 // Choose the first element that is related to our preferred document 1443 // Support: IE 11+, Edge 17 - 18+ 1444 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1445 // two documents; shallow comparisons work. 1446 // eslint-disable-next-line eqeqeq 1447 if ( a === document || a.ownerDocument == preferredDoc && 1448 find.contains( preferredDoc, a ) ) { 1449 return -1; 1450 } 1451 1452 // Support: IE 11+, Edge 17 - 18+ 1453 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1454 // two documents; shallow comparisons work. 1455 // eslint-disable-next-line eqeqeq 1456 if ( b === document || b.ownerDocument == preferredDoc && 1457 find.contains( preferredDoc, b ) ) { 1458 return 1; 1459 } 1460 1461 // Maintain original order 1462 return sortInput ? 1463 ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : 1464 0; 1465 } 1466 1467 return compare & 4 ? -1 : 1; 1468 }; 1469 1470 return document; 1471} 1472 1473find.matches = function( expr, elements ) { 1474 return find( expr, null, null, elements ); 1475}; 1476 1477find.matchesSelector = function( elem, expr ) { 1478 setDocument( elem ); 1479 1480 if ( documentIsHTML && 1481 !nonnativeSelectorCache[ expr + " " ] && 1482 ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { 1483 1484 try { 1485 var ret = matches.call( elem, expr ); 1486 1487 // IE 9's matchesSelector returns false on disconnected nodes 1488 if ( ret || support.disconnectedMatch || 1489 1490 // As well, disconnected nodes are said to be in a document 1491 // fragment in IE 9 1492 elem.document && elem.document.nodeType !== 11 ) { 1493 return ret; 1494 } 1495 } catch ( e ) { 1496 nonnativeSelectorCache( expr, true ); 1497 } 1498 } 1499 1500 return find( expr, document, null, [ elem ] ).length > 0; 1501}; 1502 1503find.contains = function( context, elem ) { 1504 1505 // Set document vars if needed 1506 // Support: IE 11+, Edge 17 - 18+ 1507 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1508 // two documents; shallow comparisons work. 1509 // eslint-disable-next-line eqeqeq 1510 if ( ( context.ownerDocument || context ) != document ) { 1511 setDocument( context ); 1512 } 1513 return jQuery.contains( context, elem ); 1514}; 1515 1516 1517find.attr = function( elem, name ) { 1518 1519 // Set document vars if needed 1520 // Support: IE 11+, Edge 17 - 18+ 1521 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 1522 // two documents; shallow comparisons work. 1523 // eslint-disable-next-line eqeqeq 1524 if ( ( elem.ownerDocument || elem ) != document ) { 1525 setDocument( elem ); 1526 } 1527 1528 var fn = Expr.attrHandle[ name.toLowerCase() ], 1529 1530 // Don't get fooled by Object.prototype properties (see trac-13807) 1531 val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? 1532 fn( elem, name, !documentIsHTML ) : 1533 undefined; 1534 1535 if ( val !== undefined ) { 1536 return val; 1537 } 1538 1539 return elem.getAttribute( name ); 1540}; 1541 1542find.error = function( msg ) { 1543 throw new Error( "Syntax error, unrecognized expression: " + msg ); 1544}; 1545 1546/** 1547 * Document sorting and removing duplicates 1548 * @param {ArrayLike} results 1549 */ 1550jQuery.uniqueSort = function( results ) { 1551 var elem, 1552 duplicates = [], 1553 j = 0, 1554 i = 0; 1555 1556 // Unless we *know* we can detect duplicates, assume their presence 1557 // 1558 // Support: Android <=4.0+ 1559 // Testing for detecting duplicates is unpredictable so instead assume we can't 1560 // depend on duplicate detection in all browsers without a stable sort. 1561 hasDuplicate = !support.sortStable; 1562 sortInput = !support.sortStable && slice.call( results, 0 ); 1563 sort.call( results, sortOrder ); 1564 1565 if ( hasDuplicate ) { 1566 while ( ( elem = results[ i++ ] ) ) { 1567 if ( elem === results[ i ] ) { 1568 j = duplicates.push( i ); 1569 } 1570 } 1571 while ( j-- ) { 1572 splice.call( results, duplicates[ j ], 1 ); 1573 } 1574 } 1575 1576 // Clear input after sorting to release objects 1577 // See https://github.com/jquery/sizzle/pull/225 1578 sortInput = null; 1579 1580 return results; 1581}; 1582 1583jQuery.fn.uniqueSort = function() { 1584 return this.pushStack( jQuery.uniqueSort( slice.apply( this ) ) ); 1585}; 1586 1587Expr = jQuery.expr = { 1588 1589 // Can be adjusted by the user 1590 cacheLength: 50, 1591 1592 createPseudo: markFunction, 1593 1594 match: matchExpr, 1595 1596 attrHandle: {}, 1597 1598 find: {}, 1599 1600 relative: { 1601 ">": { dir: "parentNode", first: true }, 1602 " ": { dir: "parentNode" }, 1603 "+": { dir: "previousSibling", first: true }, 1604 "~": { dir: "previousSibling" } 1605 }, 1606 1607 preFilter: { 1608 ATTR: function( match ) { 1609 match[ 1 ] = match[ 1 ].replace( runescape, funescape ); 1610 1611 // Move the given value to match[3] whether quoted or unquoted 1612 match[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || "" ) 1613 .replace( runescape, funescape ); 1614 1615 if ( match[ 2 ] === "~=" ) { 1616 match[ 3 ] = " " + match[ 3 ] + " "; 1617 } 1618 1619 return match.slice( 0, 4 ); 1620 }, 1621 1622 CHILD: function( match ) { 1623 1624 /* matches from matchExpr["CHILD"] 1625 1 type (only|nth|...) 1626 2 what (child|of-type) 1627 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) 1628 4 xn-component of xn+y argument ([+-]?\d*n|) 1629 5 sign of xn-component 1630 6 x of xn-component 1631 7 sign of y-component 1632 8 y of y-component 1633 */ 1634 match[ 1 ] = match[ 1 ].toLowerCase(); 1635 1636 if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { 1637 1638 // nth-* requires argument 1639 if ( !match[ 3 ] ) { 1640 find.error( match[ 0 ] ); 1641 } 1642 1643 // numeric x and y parameters for Expr.filter.CHILD 1644 // remember that false/true cast respectively to 0/1 1645 match[ 4 ] = +( match[ 4 ] ? 1646 match[ 5 ] + ( match[ 6 ] || 1 ) : 1647 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) 1648 ); 1649 match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); 1650 1651 // other types prohibit arguments 1652 } else if ( match[ 3 ] ) { 1653 find.error( match[ 0 ] ); 1654 } 1655 1656 return match; 1657 }, 1658 1659 PSEUDO: function( match ) { 1660 var excess, 1661 unquoted = !match[ 6 ] && match[ 2 ]; 1662 1663 if ( matchExpr.CHILD.test( match[ 0 ] ) ) { 1664 return null; 1665 } 1666 1667 // Accept quoted arguments as-is 1668 if ( match[ 3 ] ) { 1669 match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; 1670 1671 // Strip excess characters from unquoted arguments 1672 } else if ( unquoted && rpseudo.test( unquoted ) && 1673 1674 // Get excess from tokenize (recursively) 1675 ( excess = tokenize( unquoted, true ) ) && 1676 1677 // advance to the next closing parenthesis 1678 ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { 1679 1680 // excess is a negative index 1681 match[ 0 ] = match[ 0 ].slice( 0, excess ); 1682 match[ 2 ] = unquoted.slice( 0, excess ); 1683 } 1684 1685 // Return only captures needed by the pseudo filter method (type and argument) 1686 return match.slice( 0, 3 ); 1687 } 1688 }, 1689 1690 filter: { 1691 1692 TAG: function( nodeNameSelector ) { 1693 var expectedNodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); 1694 return nodeNameSelector === "*" ? 1695 function() { 1696 return true; 1697 } : 1698 function( elem ) { 1699 return nodeName( elem, expectedNodeName ); 1700 }; 1701 }, 1702 1703 CLASS: function( className ) { 1704 var pattern = classCache[ className + " " ]; 1705 1706 return pattern || 1707 ( pattern = new RegExp( "(^|" + whitespace + ")" + className + 1708 "(" + whitespace + "|$)" ) ) && 1709 classCache( className, function( elem ) { 1710 return pattern.test( 1711 typeof elem.className === "string" && elem.className || 1712 typeof elem.getAttribute !== "undefined" && 1713 elem.getAttribute( "class" ) || 1714 "" 1715 ); 1716 } ); 1717 }, 1718 1719 ATTR: function( name, operator, check ) { 1720 return function( elem ) { 1721 var result = find.attr( elem, name ); 1722 1723 if ( result == null ) { 1724 return operator === "!="; 1725 } 1726 if ( !operator ) { 1727 return true; 1728 } 1729 1730 result += ""; 1731 1732 if ( operator === "=" ) { 1733 return result === check; 1734 } 1735 if ( operator === "!=" ) { 1736 return result !== check; 1737 } 1738 if ( operator === "^=" ) { 1739 return check && result.indexOf( check ) === 0; 1740 } 1741 if ( operator === "*=" ) { 1742 return check && result.indexOf( check ) > -1; 1743 } 1744 if ( operator === "$=" ) { 1745 return check && result.slice( -check.length ) === check; 1746 } 1747 if ( operator === "~=" ) { 1748 return ( " " + result.replace( rwhitespace, " " ) + " " ) 1749 .indexOf( check ) > -1; 1750 } 1751 if ( operator === "|=" ) { 1752 return result === check || result.slice( 0, check.length + 1 ) === check + "-"; 1753 } 1754 1755 return false; 1756 }; 1757 }, 1758 1759 CHILD: function( type, what, _argument, first, last ) { 1760 var simple = type.slice( 0, 3 ) !== "nth", 1761 forward = type.slice( -4 ) !== "last", 1762 ofType = what === "of-type"; 1763 1764 return first === 1 && last === 0 ? 1765 1766 // Shortcut for :nth-*(n) 1767 function( elem ) { 1768 return !!elem.parentNode; 1769 } : 1770 1771 function( elem, _context, xml ) { 1772 var cache, outerCache, node, nodeIndex, start, 1773 dir = simple !== forward ? "nextSibling" : "previousSibling", 1774 parent = elem.parentNode, 1775 name = ofType && elem.nodeName.toLowerCase(), 1776 useCache = !xml && !ofType, 1777 diff = false; 1778 1779 if ( parent ) { 1780 1781 // :(first|last|only)-(child|of-type) 1782 if ( simple ) { 1783 while ( dir ) { 1784 node = elem; 1785 while ( ( node = node[ dir ] ) ) { 1786 if ( ofType ? 1787 nodeName( node, name ) : 1788 node.nodeType === 1 ) { 1789 1790 return false; 1791 } 1792 } 1793 1794 // Reverse direction for :only-* (if we haven't yet done so) 1795 start = dir = type === "only" && !start && "nextSibling"; 1796 } 1797 return true; 1798 } 1799 1800 start = [ forward ? parent.firstChild : parent.lastChild ]; 1801 1802 // non-xml :nth-child(...) stores cache data on `parent` 1803 if ( forward && useCache ) { 1804 1805 // Seek `elem` from a previously-cached index 1806 outerCache = parent[ expando ] || ( parent[ expando ] = {} ); 1807 cache = outerCache[ type ] || []; 1808 nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; 1809 diff = nodeIndex && cache[ 2 ]; 1810 node = nodeIndex && parent.childNodes[ nodeIndex ]; 1811 1812 while ( ( node = ++nodeIndex && node && node[ dir ] || 1813 1814 // Fallback to seeking `elem` from the start 1815 ( diff = nodeIndex = 0 ) || start.pop() ) ) { 1816 1817 // When found, cache indexes on `parent` and break 1818 if ( node.nodeType === 1 && ++diff && node === elem ) { 1819 outerCache[ type ] = [ dirruns, nodeIndex, diff ]; 1820 break; 1821 } 1822 } 1823 1824 } else { 1825 1826 // Use previously-cached element index if available 1827 if ( useCache ) { 1828 outerCache = elem[ expando ] || ( elem[ expando ] = {} ); 1829 cache = outerCache[ type ] || []; 1830 nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; 1831 diff = nodeIndex; 1832 } 1833 1834 // xml :nth-child(...) 1835 // or :nth-last-child(...) or :nth(-last)?-of-type(...) 1836 if ( diff === false ) { 1837 1838 // Use the same loop as above to seek `elem` from the start 1839 while ( ( node = ++nodeIndex && node && node[ dir ] || 1840 ( diff = nodeIndex = 0 ) || start.pop() ) ) { 1841 1842 if ( ( ofType ? 1843 nodeName( node, name ) : 1844 node.nodeType === 1 ) && 1845 ++diff ) { 1846 1847 // Cache the index of each encountered element 1848 if ( useCache ) { 1849 outerCache = node[ expando ] || 1850 ( node[ expando ] = {} ); 1851 outerCache[ type ] = [ dirruns, diff ]; 1852 } 1853 1854 if ( node === elem ) { 1855 break; 1856 } 1857 } 1858 } 1859 } 1860 } 1861 1862 // Incorporate the offset, then check against cycle size 1863 diff -= last; 1864 return diff === first || ( diff % first === 0 && diff / first >= 0 ); 1865 } 1866 }; 1867 }, 1868 1869 PSEUDO: function( pseudo, argument ) { 1870 1871 // pseudo-class names are case-insensitive 1872 // https://www.w3.org/TR/selectors/#pseudo-classes 1873 // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters 1874 // Remember that setFilters inherits from pseudos 1875 var args, 1876 fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || 1877 find.error( "unsupported pseudo: " + pseudo ); 1878 1879 // The user may use createPseudo to indicate that 1880 // arguments are needed to create the filter function 1881 // just as jQuery does 1882 if ( fn[ expando ] ) { 1883 return fn( argument ); 1884 } 1885 1886 // But maintain support for old signatures 1887 if ( fn.length > 1 ) { 1888 args = [ pseudo, pseudo, "", argument ]; 1889 return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? 1890 markFunction( function( seed, matches ) { 1891 var idx, 1892 matched = fn( seed, argument ), 1893 i = matched.length; 1894 while ( i-- ) { 1895 idx = indexOf.call( seed, matched[ i ] ); 1896 seed[ idx ] = !( matches[ idx ] = matched[ i ] ); 1897 } 1898 } ) : 1899 function( elem ) { 1900 return fn( elem, 0, args ); 1901 }; 1902 } 1903 1904 return fn; 1905 } 1906 }, 1907 1908 pseudos: { 1909 1910 // Potentially complex pseudos 1911 not: markFunction( function( selector ) { 1912 1913 // Trim the selector passed to compile 1914 // to avoid treating leading and trailing 1915 // spaces as combinators 1916 var input = [], 1917 results = [], 1918 matcher = compile( selector.replace( rtrimCSS, "$1" ) ); 1919 1920 return matcher[ expando ] ? 1921 markFunction( function( seed, matches, _context, xml ) { 1922 var elem, 1923 unmatched = matcher( seed, null, xml, [] ), 1924 i = seed.length; 1925 1926 // Match elements unmatched by `matcher` 1927 while ( i-- ) { 1928 if ( ( elem = unmatched[ i ] ) ) { 1929 seed[ i ] = !( matches[ i ] = elem ); 1930 } 1931 } 1932 } ) : 1933 function( elem, _context, xml ) { 1934 input[ 0 ] = elem; 1935 matcher( input, null, xml, results ); 1936 1937 // Don't keep the element 1938 // (see https://github.com/jquery/sizzle/issues/299) 1939 input[ 0 ] = null; 1940 return !results.pop(); 1941 }; 1942 } ), 1943 1944 has: markFunction( function( selector ) { 1945 return function( elem ) { 1946 return find( selector, elem ).length > 0; 1947 }; 1948 } ), 1949 1950 contains: markFunction( function( text ) { 1951 text = text.replace( runescape, funescape ); 1952 return function( elem ) { 1953 return ( elem.textContent || jQuery.text( elem ) ).indexOf( text ) > -1; 1954 }; 1955 } ), 1956 1957 // "Whether an element is represented by a :lang() selector 1958 // is based solely on the element's language value 1959 // being equal to the identifier C, 1960 // or beginning with the identifier C immediately followed by "-". 1961 // The matching of C against the element's language value is performed case-insensitively. 1962 // The identifier C does not have to be a valid language name." 1963 // https://www.w3.org/TR/selectors/#lang-pseudo 1964 lang: markFunction( function( lang ) { 1965 1966 // lang value must be a valid identifier 1967 if ( !ridentifier.test( lang || "" ) ) { 1968 find.error( "unsupported lang: " + lang ); 1969 } 1970 lang = lang.replace( runescape, funescape ).toLowerCase(); 1971 return function( elem ) { 1972 var elemLang; 1973 do { 1974 if ( ( elemLang = documentIsHTML ? 1975 elem.lang : 1976 elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { 1977 1978 elemLang = elemLang.toLowerCase(); 1979 return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; 1980 } 1981 } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); 1982 return false; 1983 }; 1984 } ), 1985 1986 // Miscellaneous 1987 target: function( elem ) { 1988 var hash = window.location && window.location.hash; 1989 return hash && hash.slice( 1 ) === elem.id; 1990 }, 1991 1992 root: function( elem ) { 1993 return elem === documentElement; 1994 }, 1995 1996 focus: function( elem ) { 1997 return elem === safeActiveElement() && 1998 document.hasFocus() && 1999 !!( elem.type || elem.href || ~elem.tabIndex ); 2000 }, 2001 2002 // Boolean properties 2003 enabled: createDisabledPseudo( false ), 2004 disabled: createDisabledPseudo( true ), 2005 2006 checked: function( elem ) { 2007 2008 // In CSS3, :checked should return both checked and selected elements 2009 // https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked 2010 return ( nodeName( elem, "input" ) && !!elem.checked ) || 2011 ( nodeName( elem, "option" ) && !!elem.selected ); 2012 }, 2013 2014 selected: function( elem ) { 2015 2016 // Support: IE <=11+ 2017 // Accessing the selectedIndex property 2018 // forces the browser to treat the default option as 2019 // selected when in an optgroup. 2020 if ( elem.parentNode ) { 2021 // eslint-disable-next-line no-unused-expressions 2022 elem.parentNode.selectedIndex; 2023 } 2024 2025 return elem.selected === true; 2026 }, 2027 2028 // Contents 2029 empty: function( elem ) { 2030 2031 // https://www.w3.org/TR/selectors/#empty-pseudo 2032 // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), 2033 // but not by others (comment: 8; processing instruction: 7; etc.) 2034 // nodeType < 6 works because attributes (2) do not appear as children 2035 for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { 2036 if ( elem.nodeType < 6 ) { 2037 return false; 2038 } 2039 } 2040 return true; 2041 }, 2042 2043 parent: function( elem ) { 2044 return !Expr.pseudos.empty( elem ); 2045 }, 2046 2047 // Element/input types 2048 header: function( elem ) { 2049 return rheader.test( elem.nodeName ); 2050 }, 2051 2052 input: function( elem ) { 2053 return rinputs.test( elem.nodeName ); 2054 }, 2055 2056 button: function( elem ) { 2057 return nodeName( elem, "input" ) && elem.type === "button" || 2058 nodeName( elem, "button" ); 2059 }, 2060 2061 text: function( elem ) { 2062 var attr; 2063 return nodeName( elem, "input" ) && elem.type === "text" && 2064 2065 // Support: IE <10 only 2066 // New HTML5 attribute values (e.g., "search") appear 2067 // with elem.type === "text" 2068 ( ( attr = elem.getAttribute( "type" ) ) == null || 2069 attr.toLowerCase() === "text" ); 2070 }, 2071 2072 // Position-in-collection 2073 first: createPositionalPseudo( function() { 2074 return [ 0 ]; 2075 } ), 2076 2077 last: createPositionalPseudo( function( _matchIndexes, length ) { 2078 return [ length - 1 ]; 2079 } ), 2080 2081 eq: createPositionalPseudo( function( _matchIndexes, length, argument ) { 2082 return [ argument < 0 ? argument + length : argument ]; 2083 } ), 2084 2085 even: createPositionalPseudo( function( matchIndexes, length ) { 2086 var i = 0; 2087 for ( ; i < length; i += 2 ) { 2088 matchIndexes.push( i ); 2089 } 2090 return matchIndexes; 2091 } ), 2092 2093 odd: createPositionalPseudo( function( matchIndexes, length ) { 2094 var i = 1; 2095 for ( ; i < length; i += 2 ) { 2096 matchIndexes.push( i ); 2097 } 2098 return matchIndexes; 2099 } ), 2100 2101 lt: createPositionalPseudo( function( matchIndexes, length, argument ) { 2102 var i; 2103 2104 if ( argument < 0 ) { 2105 i = argument + length; 2106 } else if ( argument > length ) { 2107 i = length; 2108 } else { 2109 i = argument; 2110 } 2111 2112 for ( ; --i >= 0; ) { 2113 matchIndexes.push( i ); 2114 } 2115 return matchIndexes; 2116 } ), 2117 2118 gt: createPositionalPseudo( function( matchIndexes, length, argument ) { 2119 var i = argument < 0 ? argument + length : argument; 2120 for ( ; ++i < length; ) { 2121 matchIndexes.push( i ); 2122 } 2123 return matchIndexes; 2124 } ) 2125 } 2126}; 2127 2128Expr.pseudos.nth = Expr.pseudos.eq; 2129 2130// Add button/input type pseudos 2131for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { 2132 Expr.pseudos[ i ] = createInputPseudo( i ); 2133} 2134for ( i in { submit: true, reset: true } ) { 2135 Expr.pseudos[ i ] = createButtonPseudo( i ); 2136} 2137 2138// Easy API for creating new setFilters 2139function setFilters() {} 2140setFilters.prototype = Expr.filters = Expr.pseudos; 2141Expr.setFilters = new setFilters(); 2142 2143function tokenize( selector, parseOnly ) { 2144 var matched, match, tokens, type, 2145 soFar, groups, preFilters, 2146 cached = tokenCache[ selector + " " ]; 2147 2148 if ( cached ) { 2149 return parseOnly ? 0 : cached.slice( 0 ); 2150 } 2151 2152 soFar = selector; 2153 groups = []; 2154 preFilters = Expr.preFilter; 2155 2156 while ( soFar ) { 2157 2158 // Comma and first run 2159 if ( !matched || ( match = rcomma.exec( soFar ) ) ) { 2160 if ( match ) { 2161 2162 // Don't consume trailing commas as valid 2163 soFar = soFar.slice( match[ 0 ].length ) || soFar; 2164 } 2165 groups.push( ( tokens = [] ) ); 2166 } 2167 2168 matched = false; 2169 2170 // Combinators 2171 if ( ( match = rleadingCombinator.exec( soFar ) ) ) { 2172 matched = match.shift(); 2173 tokens.push( { 2174 value: matched, 2175 2176 // Cast descendant combinators to space 2177 type: match[ 0 ].replace( rtrimCSS, " " ) 2178 } ); 2179 soFar = soFar.slice( matched.length ); 2180 } 2181 2182 // Filters 2183 for ( type in Expr.filter ) { 2184 if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || 2185 ( match = preFilters[ type ]( match ) ) ) ) { 2186 matched = match.shift(); 2187 tokens.push( { 2188 value: matched, 2189 type: type, 2190 matches: match 2191 } ); 2192 soFar = soFar.slice( matched.length ); 2193 } 2194 } 2195 2196 if ( !matched ) { 2197 break; 2198 } 2199 } 2200 2201 // Return the length of the invalid excess 2202 // if we're just parsing 2203 // Otherwise, throw an error or return tokens 2204 if ( parseOnly ) { 2205 return soFar.length; 2206 } 2207 2208 return soFar ? 2209 find.error( selector ) : 2210 2211 // Cache the tokens 2212 tokenCache( selector, groups ).slice( 0 ); 2213} 2214 2215function toSelector( tokens ) { 2216 var i = 0, 2217 len = tokens.length, 2218 selector = ""; 2219 for ( ; i < len; i++ ) { 2220 selector += tokens[ i ].value; 2221 } 2222 return selector; 2223} 2224 2225function addCombinator( matcher, combinator, base ) { 2226 var dir = combinator.dir, 2227 skip = combinator.next, 2228 key = skip || dir, 2229 checkNonElements = base && key === "parentNode", 2230 doneName = done++; 2231 2232 return combinator.first ? 2233 2234 // Check against closest ancestor/preceding element 2235 function( elem, context, xml ) { 2236 while ( ( elem = elem[ dir ] ) ) { 2237 if ( elem.nodeType === 1 || checkNonElements ) { 2238 return matcher( elem, context, xml ); 2239 } 2240 } 2241 return false; 2242 } : 2243 2244 // Check against all ancestor/preceding elements 2245 function( elem, context, xml ) { 2246 var oldCache, outerCache, 2247 newCache = [ dirruns, doneName ]; 2248 2249 // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching 2250 if ( xml ) { 2251 while ( ( elem = elem[ dir ] ) ) { 2252 if ( elem.nodeType === 1 || checkNonElements ) { 2253 if ( matcher( elem, context, xml ) ) { 2254 return true; 2255 } 2256 } 2257 } 2258 } else { 2259 while ( ( elem = elem[ dir ] ) ) { 2260 if ( elem.nodeType === 1 || checkNonElements ) { 2261 outerCache = elem[ expando ] || ( elem[ expando ] = {} ); 2262 2263 if ( skip && nodeName( elem, skip ) ) { 2264 elem = elem[ dir ] || elem; 2265 } else if ( ( oldCache = outerCache[ key ] ) && 2266 oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { 2267 2268 // Assign to newCache so results back-propagate to previous elements 2269 return ( newCache[ 2 ] = oldCache[ 2 ] ); 2270 } else { 2271 2272 // Reuse newcache so results back-propagate to previous elements 2273 outerCache[ key ] = newCache; 2274 2275 // A match means we're done; a fail means we have to keep checking 2276 if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { 2277 return true; 2278 } 2279 } 2280 } 2281 } 2282 } 2283 return false; 2284 }; 2285} 2286 2287function elementMatcher( matchers ) { 2288 return matchers.length > 1 ? 2289 function( elem, context, xml ) { 2290 var i = matchers.length; 2291 while ( i-- ) { 2292 if ( !matchers[ i ]( elem, context, xml ) ) { 2293 return false; 2294 } 2295 } 2296 return true; 2297 } : 2298 matchers[ 0 ]; 2299} 2300 2301function multipleContexts( selector, contexts, results ) { 2302 var i = 0, 2303 len = contexts.length; 2304 for ( ; i < len; i++ ) { 2305 find( selector, contexts[ i ], results ); 2306 } 2307 return results; 2308} 2309 2310function condense( unmatched, map, filter, context, xml ) { 2311 var elem, 2312 newUnmatched = [], 2313 i = 0, 2314 len = unmatched.length, 2315 mapped = map != null; 2316 2317 for ( ; i < len; i++ ) { 2318 if ( ( elem = unmatched[ i ] ) ) { 2319 if ( !filter || filter( elem, context, xml ) ) { 2320 newUnmatched.push( elem ); 2321 if ( mapped ) { 2322 map.push( i ); 2323 } 2324 } 2325 } 2326 } 2327 2328 return newUnmatched; 2329} 2330 2331function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { 2332 if ( postFilter && !postFilter[ expando ] ) { 2333 postFilter = setMatcher( postFilter ); 2334 } 2335 if ( postFinder && !postFinder[ expando ] ) { 2336 postFinder = setMatcher( postFinder, postSelector ); 2337 } 2338 return markFunction( function( seed, results, context, xml ) { 2339 var temp, i, elem, matcherOut, 2340 preMap = [], 2341 postMap = [], 2342 preexisting = results.length, 2343 2344 // Get initial elements from seed or context 2345 elems = seed || 2346 multipleContexts( selector || "*", 2347 context.nodeType ? [ context ] : context, [] ), 2348 2349 // Prefilter to get matcher input, preserving a map for seed-results synchronization 2350 matcherIn = preFilter && ( seed || !selector ) ? 2351 condense( elems, preMap, preFilter, context, xml ) : 2352 elems; 2353 2354 if ( matcher ) { 2355 2356 // If we have a postFinder, or filtered seed, or non-seed postFilter 2357 // or preexisting results, 2358 matcherOut = postFinder || ( seed ? preFilter : preexisting || postFilter ) ? 2359 2360 // ...intermediate processing is necessary 2361 [] : 2362 2363 // ...otherwise use results directly 2364 results; 2365 2366 // Find primary matches 2367 matcher( matcherIn, matcherOut, context, xml ); 2368 } else { 2369 matcherOut = matcherIn; 2370 } 2371 2372 // Apply postFilter 2373 if ( postFilter ) { 2374 temp = condense( matcherOut, postMap ); 2375 postFilter( temp, [], context, xml ); 2376 2377 // Un-match failing elements by moving them back to matcherIn 2378 i = temp.length; 2379 while ( i-- ) { 2380 if ( ( elem = temp[ i ] ) ) { 2381 matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); 2382 } 2383 } 2384 } 2385 2386 if ( seed ) { 2387 if ( postFinder || preFilter ) { 2388 if ( postFinder ) { 2389 2390 // Get the final matcherOut by condensing this intermediate into postFinder contexts 2391 temp = []; 2392 i = matcherOut.length; 2393 while ( i-- ) { 2394 if ( ( elem = matcherOut[ i ] ) ) { 2395 2396 // Restore matcherIn since elem is not yet a final match 2397 temp.push( ( matcherIn[ i ] = elem ) ); 2398 } 2399 } 2400 postFinder( null, ( matcherOut = [] ), temp, xml ); 2401 } 2402 2403 // Move matched elements from seed to results to keep them synchronized 2404 i = matcherOut.length; 2405 while ( i-- ) { 2406 if ( ( elem = matcherOut[ i ] ) && 2407 ( temp = postFinder ? indexOf.call( seed, elem ) : preMap[ i ] ) > -1 ) { 2408 2409 seed[ temp ] = !( results[ temp ] = elem ); 2410 } 2411 } 2412 } 2413 2414 // Add elements to results, through postFinder if defined 2415 } else { 2416 matcherOut = condense( 2417 matcherOut === results ? 2418 matcherOut.splice( preexisting, matcherOut.length ) : 2419 matcherOut 2420 ); 2421 if ( postFinder ) { 2422 postFinder( null, results, matcherOut, xml ); 2423 } else { 2424 push.apply( results, matcherOut ); 2425 } 2426 } 2427 } ); 2428} 2429 2430function matcherFromTokens( tokens ) { 2431 var checkContext, matcher, j, 2432 len = tokens.length, 2433 leadingRelative = Expr.relative[ tokens[ 0 ].type ], 2434 implicitRelative = leadingRelative || Expr.relative[ " " ], 2435 i = leadingRelative ? 1 : 0, 2436 2437 // The foundational matcher ensures that elements are reachable from top-level context(s) 2438 matchContext = addCombinator( function( elem ) { 2439 return elem === checkContext; 2440 }, implicitRelative, true ), 2441 matchAnyContext = addCombinator( function( elem ) { 2442 return indexOf.call( checkContext, elem ) > -1; 2443 }, implicitRelative, true ), 2444 matchers = [ function( elem, context, xml ) { 2445 2446 // Support: IE 11+, Edge 17 - 18+ 2447 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 2448 // two documents; shallow comparisons work. 2449 // eslint-disable-next-line eqeqeq 2450 var ret = ( !leadingRelative && ( xml || context != outermostContext ) ) || ( 2451 ( checkContext = context ).nodeType ? 2452 matchContext( elem, context, xml ) : 2453 matchAnyContext( elem, context, xml ) ); 2454 2455 // Avoid hanging onto element 2456 // (see https://github.com/jquery/sizzle/issues/299) 2457 checkContext = null; 2458 return ret; 2459 } ]; 2460 2461 for ( ; i < len; i++ ) { 2462 if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { 2463 matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; 2464 } else { 2465 matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); 2466 2467 // Return special upon seeing a positional matcher 2468 if ( matcher[ expando ] ) { 2469 2470 // Find the next relative operator (if any) for proper handling 2471 j = ++i; 2472 for ( ; j < len; j++ ) { 2473 if ( Expr.relative[ tokens[ j ].type ] ) { 2474 break; 2475 } 2476 } 2477 return setMatcher( 2478 i > 1 && elementMatcher( matchers ), 2479 i > 1 && toSelector( 2480 2481 // If the preceding token was a descendant combinator, insert an implicit any-element `*` 2482 tokens.slice( 0, i - 1 ) 2483 .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) 2484 ).replace( rtrimCSS, "$1" ), 2485 matcher, 2486 i < j && matcherFromTokens( tokens.slice( i, j ) ), 2487 j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), 2488 j < len && toSelector( tokens ) 2489 ); 2490 } 2491 matchers.push( matcher ); 2492 } 2493 } 2494 2495 return elementMatcher( matchers ); 2496} 2497 2498function matcherFromGroupMatchers( elementMatchers, setMatchers ) { 2499 var bySet = setMatchers.length > 0, 2500 byElement = elementMatchers.length > 0, 2501 superMatcher = function( seed, context, xml, results, outermost ) { 2502 var elem, j, matcher, 2503 matchedCount = 0, 2504 i = "0", 2505 unmatched = seed && [], 2506 setMatched = [], 2507 contextBackup = outermostContext, 2508 2509 // We must always have either seed elements or outermost context 2510 elems = seed || byElement && Expr.find.TAG( "*", outermost ), 2511 2512 // Use integer dirruns iff this is the outermost matcher 2513 dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), 2514 len = elems.length; 2515 2516 if ( outermost ) { 2517 2518 // Support: IE 11+, Edge 17 - 18+ 2519 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 2520 // two documents; shallow comparisons work. 2521 // eslint-disable-next-line eqeqeq 2522 outermostContext = context == document || context || outermost; 2523 } 2524 2525 // Add elements passing elementMatchers directly to results 2526 // Support: iOS <=7 - 9 only 2527 // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching 2528 // elements by id. (see trac-14142) 2529 for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { 2530 if ( byElement && elem ) { 2531 j = 0; 2532 2533 // Support: IE 11+, Edge 17 - 18+ 2534 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 2535 // two documents; shallow comparisons work. 2536 // eslint-disable-next-line eqeqeq 2537 if ( !context && elem.ownerDocument != document ) { 2538 setDocument( elem ); 2539 xml = !documentIsHTML; 2540 } 2541 while ( ( matcher = elementMatchers[ j++ ] ) ) { 2542 if ( matcher( elem, context || document, xml ) ) { 2543 push.call( results, elem ); 2544 break; 2545 } 2546 } 2547 if ( outermost ) { 2548 dirruns = dirrunsUnique; 2549 } 2550 } 2551 2552 // Track unmatched elements for set filters 2553 if ( bySet ) { 2554 2555 // They will have gone through all possible matchers 2556 if ( ( elem = !matcher && elem ) ) { 2557 matchedCount--; 2558 } 2559 2560 // Lengthen the array for every element, matched or not 2561 if ( seed ) { 2562 unmatched.push( elem ); 2563 } 2564 } 2565 } 2566 2567 // `i` is now the count of elements visited above, and adding it to `matchedCount` 2568 // makes the latter nonnegative. 2569 matchedCount += i; 2570 2571 // Apply set filters to unmatched elements 2572 // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` 2573 // equals `i`), unless we didn't visit _any_ elements in the above loop because we have 2574 // no element matchers and no seed. 2575 // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that 2576 // case, which will result in a "00" `matchedCount` that differs from `i` but is also 2577 // numerically zero. 2578 if ( bySet && i !== matchedCount ) { 2579 j = 0; 2580 while ( ( matcher = setMatchers[ j++ ] ) ) { 2581 matcher( unmatched, setMatched, context, xml ); 2582 } 2583 2584 if ( seed ) { 2585 2586 // Reintegrate element matches to eliminate the need for sorting 2587 if ( matchedCount > 0 ) { 2588 while ( i-- ) { 2589 if ( !( unmatched[ i ] || setMatched[ i ] ) ) { 2590 setMatched[ i ] = pop.call( results ); 2591 } 2592 } 2593 } 2594 2595 // Discard index placeholder values to get only actual matches 2596 setMatched = condense( setMatched ); 2597 } 2598 2599 // Add matches to results 2600 push.apply( results, setMatched ); 2601 2602 // Seedless set matches succeeding multiple successful matchers stipulate sorting 2603 if ( outermost && !seed && setMatched.length > 0 && 2604 ( matchedCount + setMatchers.length ) > 1 ) { 2605 2606 jQuery.uniqueSort( results ); 2607 } 2608 } 2609 2610 // Override manipulation of globals by nested matchers 2611 if ( outermost ) { 2612 dirruns = dirrunsUnique; 2613 outermostContext = contextBackup; 2614 } 2615 2616 return unmatched; 2617 }; 2618 2619 return bySet ? 2620 markFunction( superMatcher ) : 2621 superMatcher; 2622} 2623 2624function compile( selector, match /* Internal Use Only */ ) { 2625 var i, 2626 setMatchers = [], 2627 elementMatchers = [], 2628 cached = compilerCache[ selector + " " ]; 2629 2630 if ( !cached ) { 2631 2632 // Generate a function of recursive functions that can be used to check each element 2633 if ( !match ) { 2634 match = tokenize( selector ); 2635 } 2636 i = match.length; 2637 while ( i-- ) { 2638 cached = matcherFromTokens( match[ i ] ); 2639 if ( cached[ expando ] ) { 2640 setMatchers.push( cached ); 2641 } else { 2642 elementMatchers.push( cached ); 2643 } 2644 } 2645 2646 // Cache the compiled function 2647 cached = compilerCache( selector, 2648 matcherFromGroupMatchers( elementMatchers, setMatchers ) ); 2649 2650 // Save selector and tokenization 2651 cached.selector = selector; 2652 } 2653 return cached; 2654} 2655 2656/** 2657 * A low-level selection function that works with jQuery's compiled 2658 * selector functions 2659 * @param {String|Function} selector A selector or a pre-compiled 2660 * selector function built with jQuery selector compile 2661 * @param {Element} context 2662 * @param {Array} [results] 2663 * @param {Array} [seed] A set of elements to match against 2664 */ 2665function select( selector, context, results, seed ) { 2666 var i, tokens, token, type, find, 2667 compiled = typeof selector === "function" && selector, 2668 match = !seed && tokenize( ( selector = compiled.selector || selector ) ); 2669 2670 results = results || []; 2671 2672 // Try to minimize operations if there is only one selector in the list and no seed 2673 // (the latter of which guarantees us context) 2674 if ( match.length === 1 ) { 2675 2676 // Reduce context if the leading compound selector is an ID 2677 tokens = match[ 0 ] = match[ 0 ].slice( 0 ); 2678 if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && 2679 context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { 2680 2681 context = ( Expr.find.ID( 2682 token.matches[ 0 ].replace( runescape, funescape ), 2683 context 2684 ) || [] )[ 0 ]; 2685 if ( !context ) { 2686 return results; 2687 2688 // Precompiled matchers will still verify ancestry, so step up a level 2689 } else if ( compiled ) { 2690 context = context.parentNode; 2691 } 2692 2693 selector = selector.slice( tokens.shift().value.length ); 2694 } 2695 2696 // Fetch a seed set for right-to-left matching 2697 i = matchExpr.needsContext.test( selector ) ? 0 : tokens.length; 2698 while ( i-- ) { 2699 token = tokens[ i ]; 2700 2701 // Abort if we hit a combinator 2702 if ( Expr.relative[ ( type = token.type ) ] ) { 2703 break; 2704 } 2705 if ( ( find = Expr.find[ type ] ) ) { 2706 2707 // Search, expanding context for leading sibling combinators 2708 if ( ( seed = find( 2709 token.matches[ 0 ].replace( runescape, funescape ), 2710 rsibling.test( tokens[ 0 ].type ) &&
vendor: 4,497 bytes, lines 2711-2895
2711 testContext( context.parentNode ) || context 2712 ) ) ) { 2713 2714 // If seed is empty or no tokens remain, we can return early 2715 tokens.splice( i, 1 ); 2716 selector = seed.length && toSelector( tokens ); 2717 if ( !selector ) { 2718 push.apply( results, seed ); 2719 return results; 2720 } 2721 2722 break; 2723 } 2724 } 2725 } 2726 } 2727 2728 // Compile and execute a filtering function if one is not provided 2729 // Provide `match` to avoid retokenization if we modified the selector above 2730 ( compiled || compile( selector, match ) )( 2731 seed, 2732 context, 2733 !documentIsHTML, 2734 results, 2735 !context || rsibling.test( selector ) && testContext( context.parentNode ) || context 2736 ); 2737 return results; 2738} 2739 2740// One-time assignments 2741 2742// Support: Android <=4.0 - 4.1+ 2743// Sort stability 2744support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; 2745 2746// Initialize against the default document 2747setDocument(); 2748 2749// Support: Android <=4.0 - 4.1+ 2750// Detached nodes confoundingly follow *each other* 2751support.sortDetached = assert( function( el ) { 2752 2753 // Should return 1, but returns 4 (following) 2754 return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; 2755} ); 2756 2757jQuery.find = find; 2758 2759// Deprecated 2760jQuery.expr[ ":" ] = jQuery.expr.pseudos; 2761jQuery.unique = jQuery.uniqueSort; 2762 2763// These have always been private, but they used to be documented as part of 2764// Sizzle so let's maintain them for now for backwards compatibility purposes. 2765find.compile = compile; 2766find.select = select; 2767find.setDocument = setDocument; 2768find.tokenize = tokenize; 2769 2770find.escape = jQuery.escapeSelector; 2771find.getText = jQuery.text; 2772find.isXML = jQuery.isXMLDoc; 2773find.selectors = jQuery.expr; 2774find.support = jQuery.support; 2775find.uniqueSort = jQuery.uniqueSort; 2776 2777 /* eslint-enable */ 2778 2779} )(); 2780 2781 2782var dir = function( elem, dir, until ) { 2783 var matched = [], 2784 truncate = until !== undefined; 2785 2786 while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { 2787 if ( elem.nodeType === 1 ) { 2788 if ( truncate && jQuery( elem ).is( until ) ) { 2789 break; 2790 } 2791 matched.push( elem ); 2792 } 2793 } 2794 return matched; 2795}; 2796 2797 2798var siblings = function( n, elem ) { 2799 var matched = []; 2800 2801 for ( ; n; n = n.nextSibling ) { 2802 if ( n.nodeType === 1 && n !== elem ) { 2803 matched.push( n ); 2804 } 2805 } 2806 2807 return matched; 2808}; 2809 2810 2811var rneedsContext = jQuery.expr.match.needsContext; 2812 2813var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); 2814 2815 2816 2817// Implement the identical functionality for filter and not 2818function winnow( elements, qualifier, not ) { 2819 if ( isFunction( qualifier ) ) { 2820 return jQuery.grep( elements, function( elem, i ) { 2821 return !!qualifier.call( elem, i, elem ) !== not; 2822 } ); 2823 } 2824 2825 // Single element 2826 if ( qualifier.nodeType ) { 2827 return jQuery.grep( elements, function( elem ) { 2828 return ( elem === qualifier ) !== not; 2829 } ); 2830 } 2831 2832 // Arraylike of elements (jQuery, arguments, Array) 2833 if ( typeof qualifier !== "string" ) { 2834 return jQuery.grep( elements, function( elem ) { 2835 return ( indexOf.call( qualifier, elem ) > -1 ) !== not; 2836 } ); 2837 } 2838 2839 // Filtered directly for both simple and complex selectors 2840 return jQuery.filter( qualifier, elements, not ); 2841} 2842 2843jQuery.filter = function( expr, elems, not ) { 2844 var elem = elems[ 0 ]; 2845 2846 if ( not ) { 2847 expr = ":not(" + expr + ")"; 2848 } 2849 2850 if ( elems.length === 1 && elem.nodeType === 1 ) { 2851 return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; 2852 } 2853 2854 return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { 2855 return elem.nodeType === 1; 2856 } ) ); 2857}; 2858 2859jQuery.fn.extend( { 2860 find: function( selector ) { 2861 var i, ret, 2862 len = this.length, 2863 self = this; 2864 2865 if ( typeof selector !== "string" ) { 2866 return this.pushStack( jQuery( selector ).filter( function() { 2867 for ( i = 0; i < len; i++ ) { 2868 if ( jQuery.contains( self[ i ], this ) ) { 2869 return true; 2870 } 2871 } 2872 } ) ); 2873 } 2874 2875 ret = this.pushStack( [] ); 2876 2877 for ( i = 0; i < len; i++ ) { 2878 jQuery.find( selector, self[ i ], ret ); 2879 } 2880 2881 return len > 1 ? jQuery.uniqueSort( ret ) : ret; 2882 }, 2883 filter: function( selector ) { 2884 return this.pushStack( winnow( this, selector || [], false ) ); 2885 }, 2886 not: function( selector ) { 2887 return this.pushStack( winnow( this, selector || [], true ) ); 2888 }, 2889 is: function( selector ) { 2890 return !!winnow( 2891 this, 2892 2893 // If this is a positional/relative selector, check membership in the returned set 2894 // so $("p:first").is("p:last") won't return true for a doc with two "p". 2895 typeof selector === "string" && rneedsContext.test( selector ) ?
vendor: 9,941 bytes, lines 2896-3284
2896 jQuery( selector ) : 2897 selector || [], 2898 false 2899 ).length; 2900 } 2901} ); 2902 2903 2904// Initialize a jQuery object 2905 2906 2907// A central reference to the root jQuery(document) 2908var rootjQuery, 2909 2910 // A simple way to check for HTML strings 2911 // Prioritize #id over <tag> to avoid XSS via location.hash (trac-9521) 2912 // Strict HTML recognition (trac-11290: must start with <) 2913 // Shortcut simple #id case for speed 2914 rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, 2915 2916 init = jQuery.fn.init = function( selector, context, root ) { 2917 var match, elem; 2918 2919 // HANDLE: $(""), $(null), $(undefined), $(false) 2920 if ( !selector ) { 2921 return this; 2922 } 2923 2924 // Method init() accepts an alternate rootjQuery 2925 // so migrate can support jQuery.sub (gh-2101) 2926 root = root || rootjQuery; 2927 2928 // Handle HTML strings 2929 if ( typeof selector === "string" ) { 2930 if ( selector[ 0 ] === "<" && 2931 selector[ selector.length - 1 ] === ">" && 2932 selector.length >= 3 ) { 2933 2934 // Assume that strings that start and end with <> are HTML and skip the regex check 2935 match = [ null, selector, null ]; 2936 2937 } else { 2938 match = rquickExpr.exec( selector ); 2939 } 2940 2941 // Match html or make sure no context is specified for #id 2942 if ( match && ( match[ 1 ] || !context ) ) { 2943 2944 // HANDLE: $(html) -> $(array) 2945 if ( match[ 1 ] ) { 2946 context = context instanceof jQuery ? context[ 0 ] : context; 2947 2948 // Option to run scripts is true for back-compat 2949 // Intentionally let the error be thrown if parseHTML is not present 2950 jQuery.merge( this, jQuery.parseHTML( 2951 match[ 1 ], 2952 context && context.nodeType ? context.ownerDocument || context : document, 2953 true 2954 ) ); 2955 2956 // HANDLE: $(html, props) 2957 if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { 2958 for ( match in context ) { 2959 2960 // Properties of context are called as methods if possible 2961 if ( isFunction( this[ match ] ) ) { 2962 this[ match ]( context[ match ] ); 2963 2964 // ...and otherwise set as attributes 2965 } else { 2966 this.attr( match, context[ match ] ); 2967 } 2968 } 2969 } 2970 2971 return this; 2972 2973 // HANDLE: $(#id) 2974 } else { 2975 elem = document.getElementById( match[ 2 ] ); 2976 2977 if ( elem ) { 2978 2979 // Inject the element directly into the jQuery object 2980 this[ 0 ] = elem; 2981 this.length = 1; 2982 } 2983 return this; 2984 } 2985 2986 // HANDLE: $(expr, $(...)) 2987 } else if ( !context || context.jquery ) { 2988 return ( context || root ).find( selector ); 2989 2990 // HANDLE: $(expr, context) 2991 // (which is just equivalent to: $(context).find(expr) 2992 } else { 2993 return this.constructor( context ).find( selector ); 2994 } 2995 2996 // HANDLE: $(DOMElement) 2997 } else if ( selector.nodeType ) { 2998 this[ 0 ] = selector; 2999 this.length = 1; 3000 return this; 3001 3002 // HANDLE: $(function) 3003 // Shortcut for document ready 3004 } else if ( isFunction( selector ) ) { 3005 return root.ready !== undefined ? 3006 root.ready( selector ) : 3007 3008 // Execute immediately if ready is not present 3009 selector( jQuery ); 3010 } 3011 3012 return jQuery.makeArray( selector, this ); 3013 }; 3014 3015// Give the init function the jQuery prototype for later instantiation 3016init.prototype = jQuery.fn; 3017 3018// Initialize central reference 3019rootjQuery = jQuery( document ); 3020 3021 3022var rparentsprev = /^(?:parents|prev(?:Until|All))/, 3023 3024 // Methods guaranteed to produce a unique set when starting from a unique set 3025 guaranteedUnique = { 3026 children: true, 3027 contents: true, 3028 next: true, 3029 prev: true 3030 }; 3031 3032jQuery.fn.extend( { 3033 has: function( target ) { 3034 var targets = jQuery( target, this ), 3035 l = targets.length; 3036 3037 return this.filter( function() { 3038 var i = 0; 3039 for ( ; i < l; i++ ) { 3040 if ( jQuery.contains( this, targets[ i ] ) ) { 3041 return true; 3042 } 3043 } 3044 } ); 3045 }, 3046 3047 closest: function( selectors, context ) { 3048 var cur, 3049 i = 0, 3050 l = this.length, 3051 matched = [], 3052 targets = typeof selectors !== "string" && jQuery( selectors ); 3053 3054 // Positional selectors never match, since there's no _selection_ context 3055 if ( !rneedsContext.test( selectors ) ) { 3056 for ( ; i < l; i++ ) { 3057 for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { 3058 3059 // Always skip document fragments 3060 if ( cur.nodeType < 11 && ( targets ? 3061 targets.index( cur ) > -1 : 3062 3063 // Don't pass non-elements to jQuery#find 3064 cur.nodeType === 1 && 3065 jQuery.find.matchesSelector( cur, selectors ) ) ) { 3066 3067 matched.push( cur ); 3068 break; 3069 } 3070 } 3071 } 3072 } 3073 3074 return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); 3075 }, 3076 3077 // Determine the position of an element within the set 3078 index: function( elem ) { 3079 3080 // No argument, return index in parent 3081 if ( !elem ) { 3082 return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; 3083 } 3084 3085 // Index in selector 3086 if ( typeof elem === "string" ) { 3087 return indexOf.call( jQuery( elem ), this[ 0 ] ); 3088 } 3089 3090 // Locate the position of the desired element 3091 return indexOf.call( this, 3092 3093 // If it receives a jQuery object, the first element is used 3094 elem.jquery ? elem[ 0 ] : elem 3095 ); 3096 }, 3097 3098 add: function( selector, context ) { 3099 return this.pushStack( 3100 jQuery.uniqueSort( 3101 jQuery.merge( this.get(), jQuery( selector, context ) ) 3102 ) 3103 ); 3104 }, 3105 3106 addBack: function( selector ) { 3107 return this.add( selector == null ? 3108 this.prevObject : this.prevObject.filter( selector ) 3109 ); 3110 } 3111} ); 3112 3113function sibling( cur, dir ) { 3114 while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} 3115 return cur; 3116} 3117 3118jQuery.each( { 3119 parent: function( elem ) { 3120 var parent = elem.parentNode; 3121 return parent && parent.nodeType !== 11 ? parent : null; 3122 }, 3123 parents: function( elem ) { 3124 return dir( elem, "parentNode" ); 3125 }, 3126 parentsUntil: function( elem, _i, until ) { 3127 return dir( elem, "parentNode", until ); 3128 }, 3129 next: function( elem ) { 3130 return sibling( elem, "nextSibling" ); 3131 }, 3132 prev: function( elem ) { 3133 return sibling( elem, "previousSibling" ); 3134 }, 3135 nextAll: function( elem ) { 3136 return dir( elem, "nextSibling" ); 3137 }, 3138 prevAll: function( elem ) { 3139 return dir( elem, "previousSibling" ); 3140 }, 3141 nextUntil: function( elem, _i, until ) { 3142 return dir( elem, "nextSibling", until ); 3143 }, 3144 prevUntil: function( elem, _i, until ) { 3145 return dir( elem, "previousSibling", until ); 3146 }, 3147 siblings: function( elem ) { 3148 return siblings( ( elem.parentNode || {} ).firstChild, elem ); 3149 }, 3150 children: function( elem ) { 3151 return siblings( elem.firstChild ); 3152 }, 3153 contents: function( elem ) { 3154 if ( elem.contentDocument != null && 3155 3156 // Support: IE 11+ 3157 // <object> elements with no `data` attribute has an object 3158 // `contentDocument` with a `null` prototype. 3159 getProto( elem.contentDocument ) ) { 3160 3161 return elem.contentDocument; 3162 } 3163 3164 // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only 3165 // Treat the template element as a regular one in browsers that 3166 // don't support it. 3167 if ( nodeName( elem, "template" ) ) { 3168 elem = elem.content || elem; 3169 } 3170 3171 return jQuery.merge( [], elem.childNodes ); 3172 } 3173}, function( name, fn ) { 3174 jQuery.fn[ name ] = function( until, selector ) { 3175 var matched = jQuery.map( this, fn, until ); 3176 3177 if ( name.slice( -5 ) !== "Until" ) { 3178 selector = until; 3179 } 3180 3181 if ( selector && typeof selector === "string" ) { 3182 matched = jQuery.filter( selector, matched ); 3183 } 3184 3185 if ( this.length > 1 ) { 3186 3187 // Remove duplicates 3188 if ( !guaranteedUnique[ name ] ) { 3189 jQuery.uniqueSort( matched ); 3190 } 3191 3192 // Reverse order for parents* and prev-derivatives 3193 if ( rparentsprev.test( name ) ) { 3194 matched.reverse(); 3195 } 3196 } 3197 3198 return this.pushStack( matched ); 3199 }; 3200} ); 3201var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); 3202 3203 3204 3205// Convert String-formatted options into Object-formatted ones 3206function createOptions( options ) { 3207 var object = {}; 3208 jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { 3209 object[ flag ] = true; 3210 } ); 3211 return object; 3212} 3213 3214/* 3215 * Create a callback list using the following parameters: 3216 * 3217 * options: an optional list of space-separated options that will change how 3218 * the callback list behaves or a more traditional option object 3219 * 3220 * By default a callback list will act like an event callback list and can be 3221 * "fired" multiple times. 3222 * 3223 * Possible options: 3224 * 3225 * once: will ensure the callback list can only be fired once (like a Deferred) 3226 * 3227 * memory: will keep track of previous values and will call any callback added 3228 * after the list has been fired right away with the latest "memorized" 3229 * values (like a Deferred) 3230 * 3231 * unique: will ensure a callback can only be added once (no duplicate in the list) 3232 * 3233 * stopOnFalse: interrupt callings when a callback returns false 3234 * 3235 */ 3236jQuery.Callbacks = function( options ) { 3237 3238 // Convert options from String-formatted to Object-formatted if needed 3239 // (we check in cache first) 3240 options = typeof options === "string" ? 3241 createOptions( options ) : 3242 jQuery.extend( {}, options ); 3243 3244 var // Flag to know if list is currently firing 3245 firing, 3246 3247 // Last fire value for non-forgettable lists 3248 memory, 3249 3250 // Flag to know if list was already fired 3251 fired, 3252 3253 // Flag to prevent firing 3254 locked, 3255 3256 // Actual callback list 3257 list = [], 3258 3259 // Queue of execution data for repeatable lists 3260 queue = [], 3261 3262 // Index of currently firing callback (modified by add/remove as needed) 3263 firingIndex = -1, 3264 3265 // Fire callbacks 3266 fire = function() { 3267 3268 // Enforce single-firing 3269 locked = locked || options.once; 3270 3271 // Execute callbacks for all pending executions, 3272 // respecting firingIndex overrides and runtime changes 3273 fired = firing = true; 3274 for ( ; queue.length; firingIndex = -1 ) { 3275 memory = queue.shift(); 3276 while ( ++firingIndex < list.length ) { 3277 3278 // Run callback and check for early termination 3279 if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && 3280 options.stopOnFalse ) { 3281 3282 // Jump to end and forget the data so .add doesn't re-fire 3283 firingIndex = list.length; 3284 memory = false;
vendor: 4,918 bytes, lines 3285-3494
3285 } 3286 } 3287 } 3288 3289 // Forget the data if we're done with it 3290 if ( !options.memory ) { 3291 memory = false; 3292 } 3293 3294 firing = false; 3295 3296 // Clean up if we're done firing for good 3297 if ( locked ) { 3298 3299 // Keep an empty list if we have data for future add calls 3300 if ( memory ) { 3301 list = []; 3302 3303 // Otherwise, this object is spent 3304 } else { 3305 list = ""; 3306 } 3307 } 3308 }, 3309 3310 // Actual Callbacks object 3311 self = { 3312 3313 // Add a callback or a collection of callbacks to the list 3314 add: function() { 3315 if ( list ) { 3316 3317 // If we have memory from a past run, we should fire after adding 3318 if ( memory && !firing ) { 3319 firingIndex = list.length - 1; 3320 queue.push( memory ); 3321 } 3322 3323 ( function add( args ) { 3324 jQuery.each( args, function( _, arg ) { 3325 if ( isFunction( arg ) ) { 3326 if ( !options.unique || !self.has( arg ) ) { 3327 list.push( arg ); 3328 } 3329 } else if ( arg && arg.length && toType( arg ) !== "string" ) { 3330 3331 // Inspect recursively 3332 add( arg ); 3333 } 3334 } ); 3335 } )( arguments ); 3336 3337 if ( memory && !firing ) { 3338 fire(); 3339 } 3340 } 3341 return this; 3342 }, 3343 3344 // Remove a callback from the list 3345 remove: function() { 3346 jQuery.each( arguments, function( _, arg ) { 3347 var index; 3348 while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { 3349 list.splice( index, 1 ); 3350 3351 // Handle firing indexes 3352 if ( index <= firingIndex ) { 3353 firingIndex--; 3354 } 3355 } 3356 } ); 3357 return this; 3358 }, 3359 3360 // Check if a given callback is in the list. 3361 // If no argument is given, return whether or not list has callbacks attached. 3362 has: function( fn ) { 3363 return fn ? 3364 jQuery.inArray( fn, list ) > -1 : 3365 list.length > 0; 3366 }, 3367 3368 // Remove all callbacks from the list 3369 empty: function() { 3370 if ( list ) { 3371 list = []; 3372 } 3373 return this; 3374 }, 3375 3376 // Disable .fire and .add 3377 // Abort any current/pending executions 3378 // Clear all callbacks and values 3379 disable: function() { 3380 locked = queue = []; 3381 list = memory = ""; 3382 return this; 3383 }, 3384 disabled: function() { 3385 return !list; 3386 }, 3387 3388 // Disable .fire 3389 // Also disable .add unless we have memory (since it would have no effect) 3390 // Abort any pending executions 3391 lock: function() { 3392 locked = queue = []; 3393 if ( !memory && !firing ) { 3394 list = memory = ""; 3395 } 3396 return this; 3397 }, 3398 locked: function() { 3399 return !!locked; 3400 }, 3401 3402 // Call all callbacks with the given context and arguments 3403 fireWith: function( context, args ) { 3404 if ( !locked ) { 3405 args = args || []; 3406 args = [ context, args.slice ? args.slice() : args ]; 3407 queue.push( args ); 3408 if ( !firing ) { 3409 fire(); 3410 } 3411 } 3412 return this; 3413 }, 3414 3415 // Call all the callbacks with the given arguments 3416 fire: function() { 3417 self.fireWith( this, arguments ); 3418 return this; 3419 }, 3420 3421 // To know if the callbacks have already been called at least once 3422 fired: function() { 3423 return !!fired; 3424 } 3425 }; 3426 3427 return self; 3428}; 3429 3430 3431function Identity( v ) { 3432 return v; 3433} 3434function Thrower( ex ) { 3435 throw ex; 3436} 3437 3438function adoptValue( value, resolve, reject, noValue ) { 3439 var method; 3440 3441 try { 3442 3443 // Check for promise aspect first to privilege synchronous behavior 3444 if ( value && isFunction( ( method = value.promise ) ) ) { 3445 method.call( value ).done( resolve ).fail( reject ); 3446 3447 // Other thenables 3448 } else if ( value && isFunction( ( method = value.then ) ) ) { 3449 method.call( value, resolve, reject ); 3450 3451 // Other non-thenables 3452 } else { 3453 3454 // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: 3455 // * false: [ value ].slice( 0 ) => resolve( value ) 3456 // * true: [ value ].slice( 1 ) => resolve() 3457 resolve.apply( undefined, [ value ].slice( noValue ) ); 3458 } 3459 3460 // For Promises/A+, convert exceptions into rejections 3461 // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in 3462 // Deferred#then to conditionally suppress rejection. 3463 } catch ( value ) { 3464 3465 // Support: Android 4.0 only 3466 // Strict mode functions invoked without .call/.apply get global-object context 3467 reject.apply( undefined, [ value ] ); 3468 } 3469} 3470 3471jQuery.extend( { 3472 3473 Deferred: function( func ) { 3474 var tuples = [ 3475 3476 // action, add listener, callbacks, 3477 // ... .then handlers, argument index, [final state] 3478 [ "notify", "progress", jQuery.Callbacks( "memory" ), 3479 jQuery.Callbacks( "memory" ), 2 ], 3480 [ "resolve", "done", jQuery.Callbacks( "once memory" ), 3481 jQuery.Callbacks( "once memory" ), 0, "resolved" ], 3482 [ "reject", "fail", jQuery.Callbacks( "once memory" ), 3483 jQuery.Callbacks( "once memory" ), 1, "rejected" ] 3484 ], 3485 state = "pending", 3486 promise = { 3487 state: function() { 3488 return state; 3489 }, 3490 always: function() { 3491 deferred.done( arguments ).fail( arguments ); 3492 return this; 3493 }, 3494 "catch": function( fn ) {
vendor: 28,472 bytes, lines 3495-4606
3495 return promise.then( null, fn ); 3496 }, 3497 3498 // Keep pipe for back-compat 3499 pipe: function( /* fnDone, fnFail, fnProgress */ ) { 3500 var fns = arguments; 3501 3502 return jQuery.Deferred( function( newDefer ) { 3503 jQuery.each( tuples, function( _i, tuple ) { 3504 3505 // Map tuples (progress, done, fail) to arguments (done, fail, progress) 3506 var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; 3507 3508 // deferred.progress(function() { bind to newDefer or newDefer.notify }) 3509 // deferred.done(function() { bind to newDefer or newDefer.resolve }) 3510 // deferred.fail(function() { bind to newDefer or newDefer.reject }) 3511 deferred[ tuple[ 1 ] ]( function() { 3512 var returned = fn && fn.apply( this, arguments ); 3513 if ( returned && isFunction( returned.promise ) ) { 3514 returned.promise() 3515 .progress( newDefer.notify ) 3516 .done( newDefer.resolve ) 3517 .fail( newDefer.reject ); 3518 } else { 3519 newDefer[ tuple[ 0 ] + "With" ]( 3520 this, 3521 fn ? [ returned ] : arguments 3522 ); 3523 } 3524 } ); 3525 } ); 3526 fns = null; 3527 } ).promise(); 3528 }, 3529 then: function( onFulfilled, onRejected, onProgress ) { 3530 var maxDepth = 0; 3531 function resolve( depth, deferred, handler, special ) { 3532 return function() { 3533 var that = this, 3534 args = arguments, 3535 mightThrow = function() { 3536 var returned, then; 3537 3538 // Support: Promises/A+ section 2.3.3.3.3 3539 // https://promisesaplus.com/#point-59 3540 // Ignore double-resolution attempts 3541 if ( depth < maxDepth ) { 3542 return; 3543 } 3544 3545 returned = handler.apply( that, args ); 3546 3547 // Support: Promises/A+ section 2.3.1 3548 // https://promisesaplus.com/#point-48 3549 if ( returned === deferred.promise() ) { 3550 throw new TypeError( "Thenable self-resolution" ); 3551 } 3552 3553 // Support: Promises/A+ sections 2.3.3.1, 3.5 3554 // https://promisesaplus.com/#point-54 3555 // https://promisesaplus.com/#point-75 3556 // Retrieve `then` only once 3557 then = returned && 3558 3559 // Support: Promises/A+ section 2.3.4 3560 // https://promisesaplus.com/#point-64 3561 // Only check objects and functions for thenability 3562 ( typeof returned === "object" || 3563 typeof returned === "function" ) && 3564 returned.then; 3565 3566 // Handle a returned thenable 3567 if ( isFunction( then ) ) { 3568 3569 // Special processors (notify) just wait for resolution 3570 if ( special ) { 3571 then.call( 3572 returned, 3573 resolve( maxDepth, deferred, Identity, special ), 3574 resolve( maxDepth, deferred, Thrower, special ) 3575 ); 3576 3577 // Normal processors (resolve) also hook into progress 3578 } else { 3579 3580 // ...and disregard older resolution values 3581 maxDepth++; 3582 3583 then.call( 3584 returned, 3585 resolve( maxDepth, deferred, Identity, special ), 3586 resolve( maxDepth, deferred, Thrower, special ), 3587 resolve( maxDepth, deferred, Identity, 3588 deferred.notifyWith ) 3589 ); 3590 } 3591 3592 // Handle all other returned values 3593 } else { 3594 3595 // Only substitute handlers pass on context 3596 // and multiple values (non-spec behavior) 3597 if ( handler !== Identity ) { 3598 that = undefined; 3599 args = [ returned ]; 3600 } 3601 3602 // Process the value(s) 3603 // Default process is resolve 3604 ( special || deferred.resolveWith )( that, args ); 3605 } 3606 }, 3607 3608 // Only normal processors (resolve) catch and reject exceptions 3609 process = special ? 3610 mightThrow : 3611 function() { 3612 try { 3613 mightThrow(); 3614 } catch ( e ) { 3615 3616 if ( jQuery.Deferred.exceptionHook ) { 3617 jQuery.Deferred.exceptionHook( e, 3618 process.error ); 3619 } 3620 3621 // Support: Promises/A+ section 2.3.3.3.4.1 3622 // https://promisesaplus.com/#point-61 3623 // Ignore post-resolution exceptions 3624 if ( depth + 1 >= maxDepth ) { 3625 3626 // Only substitute handlers pass on context 3627 // and multiple values (non-spec behavior) 3628 if ( handler !== Thrower ) { 3629 that = undefined; 3630 args = [ e ]; 3631 } 3632 3633 deferred.rejectWith( that, args ); 3634 } 3635 } 3636 }; 3637 3638 // Support: Promises/A+ section 2.3.3.3.1 3639 // https://promisesaplus.com/#point-57 3640 // Re-resolve promises immediately to dodge false rejection from 3641 // subsequent errors 3642 if ( depth ) { 3643 process(); 3644 } else { 3645 3646 // Call an optional hook to record the error, in case of exception 3647 // since it's otherwise lost when execution goes async 3648 if ( jQuery.Deferred.getErrorHook ) { 3649 process.error = jQuery.Deferred.getErrorHook(); 3650 3651 // The deprecated alias of the above. While the name suggests 3652 // returning the stack, not an error instance, jQuery just passes 3653 // it directly to `console.warn` so both will work; an instance 3654 // just better cooperates with source maps. 3655 } else if ( jQuery.Deferred.getStackHook ) { 3656 process.error = jQuery.Deferred.getStackHook(); 3657 } 3658 window.setTimeout( process ); 3659 } 3660 }; 3661 } 3662 3663 return jQuery.Deferred( function( newDefer ) { 3664 3665 // progress_handlers.add( ... ) 3666 tuples[ 0 ][ 3 ].add( 3667 resolve( 3668 0, 3669 newDefer, 3670 isFunction( onProgress ) ? 3671 onProgress : 3672 Identity, 3673 newDefer.notifyWith 3674 ) 3675 ); 3676 3677 // fulfilled_handlers.add( ... ) 3678 tuples[ 1 ][ 3 ].add( 3679 resolve( 3680 0, 3681 newDefer, 3682 isFunction( onFulfilled ) ? 3683 onFulfilled : 3684 Identity 3685 ) 3686 ); 3687 3688 // rejected_handlers.add( ... ) 3689 tuples[ 2 ][ 3 ].add( 3690 resolve( 3691 0, 3692 newDefer, 3693 isFunction( onRejected ) ? 3694 onRejected : 3695 Thrower 3696 ) 3697 ); 3698 } ).promise(); 3699 }, 3700 3701 // Get a promise for this deferred 3702 // If obj is provided, the promise aspect is added to the object 3703 promise: function( obj ) { 3704 return obj != null ? jQuery.extend( obj, promise ) : promise; 3705 } 3706 }, 3707 deferred = {}; 3708 3709 // Add list-specific methods 3710 jQuery.each( tuples, function( i, tuple ) { 3711 var list = tuple[ 2 ], 3712 stateString = tuple[ 5 ]; 3713 3714 // promise.progress = list.add 3715 // promise.done = list.add 3716 // promise.fail = list.add 3717 promise[ tuple[ 1 ] ] = list.add; 3718 3719 // Handle state 3720 if ( stateString ) { 3721 list.add( 3722 function() { 3723 3724 // state = "resolved" (i.e., fulfilled) 3725 // state = "rejected" 3726 state = stateString; 3727 }, 3728 3729 // rejected_callbacks.disable 3730 // fulfilled_callbacks.disable 3731 tuples[ 3 - i ][ 2 ].disable, 3732 3733 // rejected_handlers.disable 3734 // fulfilled_handlers.disable 3735 tuples[ 3 - i ][ 3 ].disable, 3736 3737 // progress_callbacks.lock 3738 tuples[ 0 ][ 2 ].lock, 3739 3740 // progress_handlers.lock 3741 tuples[ 0 ][ 3 ].lock 3742 ); 3743 } 3744 3745 // progress_handlers.fire 3746 // fulfilled_handlers.fire 3747 // rejected_handlers.fire 3748 list.add( tuple[ 3 ].fire ); 3749 3750 // deferred.notify = function() { deferred.notifyWith(...) } 3751 // deferred.resolve = function() { deferred.resolveWith(...) } 3752 // deferred.reject = function() { deferred.rejectWith(...) } 3753 deferred[ tuple[ 0 ] ] = function() { 3754 deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); 3755 return this; 3756 }; 3757 3758 // deferred.notifyWith = list.fireWith 3759 // deferred.resolveWith = list.fireWith 3760 // deferred.rejectWith = list.fireWith 3761 deferred[ tuple[ 0 ] + "With" ] = list.fireWith; 3762 } ); 3763 3764 // Make the deferred a promise 3765 promise.promise( deferred ); 3766 3767 // Call given func if any 3768 if ( func ) { 3769 func.call( deferred, deferred ); 3770 } 3771 3772 // All done! 3773 return deferred; 3774 }, 3775 3776 // Deferred helper 3777 when: function( singleValue ) { 3778 var 3779 3780 // count of uncompleted subordinates 3781 remaining = arguments.length, 3782 3783 // count of unprocessed arguments 3784 i = remaining, 3785 3786 // subordinate fulfillment data 3787 resolveContexts = Array( i ), 3788 resolveValues = slice.call( arguments ), 3789 3790 // the primary Deferred 3791 primary = jQuery.Deferred(), 3792 3793 // subordinate callback factory 3794 updateFunc = function( i ) { 3795 return function( value ) { 3796 resolveContexts[ i ] = this; 3797 resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; 3798 if ( !( --remaining ) ) { 3799 primary.resolveWith( resolveContexts, resolveValues ); 3800 } 3801 }; 3802 }; 3803 3804 // Single- and empty arguments are adopted like Promise.resolve 3805 if ( remaining <= 1 ) { 3806 adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, 3807 !remaining ); 3808 3809 // Use .then() to unwrap secondary thenables (cf. gh-3000) 3810 if ( primary.state() === "pending" || 3811 isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { 3812 3813 return primary.then(); 3814 } 3815 } 3816 3817 // Multiple arguments are aggregated like Promise.all array elements 3818 while ( i-- ) { 3819 adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); 3820 } 3821 3822 return primary.promise(); 3823 } 3824} ); 3825 3826 3827// These usually indicate a programmer mistake during development, 3828// warn about them ASAP rather than swallowing them by default. 3829var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 3830 3831// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error 3832// captured before the async barrier to get the original error cause 3833// which may otherwise be hidden. 3834jQuery.Deferred.exceptionHook = function( error, asyncError ) { 3835 3836 // Support: IE 8 - 9 only 3837 // Console exists when dev tools are open, which can happen at any time 3838 if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { 3839 window.console.warn( "jQuery.Deferred exception: " + error.message, 3840 error.stack, asyncError ); 3841 } 3842}; 3843 3844 3845 3846 3847jQuery.readyException = function( error ) { 3848 window.setTimeout( function() { 3849 throw error; 3850 } ); 3851}; 3852 3853 3854 3855 3856// The deferred used on DOM ready 3857var readyList = jQuery.Deferred(); 3858 3859jQuery.fn.ready = function( fn ) { 3860 3861 readyList 3862 .then( fn ) 3863 3864 // Wrap jQuery.readyException in a function so that the lookup 3865 // happens at the time of error handling instead of callback 3866 // registration. 3867 .catch( function( error ) { 3868 jQuery.readyException( error ); 3869 } ); 3870 3871 return this; 3872}; 3873 3874jQuery.extend( { 3875 3876 // Is the DOM ready to be used? Set to true once it occurs. 3877 isReady: false, 3878 3879 // A counter to track how many items to wait for before 3880 // the ready event fires. See trac-6781 3881 readyWait: 1, 3882 3883 // Handle when the DOM is ready 3884 ready: function( wait ) { 3885 3886 // Abort if there are pending holds or we're already ready 3887 if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { 3888 return; 3889 } 3890 3891 // Remember that the DOM is ready 3892 jQuery.isReady = true; 3893 3894 // If a normal DOM Ready event fired, decrement, and wait if need be 3895 if ( wait !== true && --jQuery.readyWait > 0 ) { 3896 return; 3897 } 3898 3899 // If there are functions bound, to execute 3900 readyList.resolveWith( document, [ jQuery ] ); 3901 } 3902} ); 3903 3904jQuery.ready.then = readyList.then; 3905 3906// The ready event handler and self cleanup method 3907function completed() { 3908 document.removeEventListener( "DOMContentLoaded", completed ); 3909 window.removeEventListener( "load", completed ); 3910 jQuery.ready(); 3911} 3912 3913// Catch cases where $(document).ready() is called 3914// after the browser event has already occurred. 3915// Support: IE <=9 - 10 only 3916// Older IE sometimes signals "interactive" too soon 3917if ( document.readyState === "complete" || 3918 ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { 3919 3920 // Handle it asynchronously to allow scripts the opportunity to delay ready 3921 window.setTimeout( jQuery.ready ); 3922 3923} else { 3924 3925 // Use the handy event callback 3926 document.addEventListener( "DOMContentLoaded", completed ); 3927 3928 // A fallback to window.onload, that will always work 3929 window.addEventListener( "load", completed ); 3930} 3931 3932 3933 3934 3935// Multifunctional method to get and set values of a collection 3936// The value/s can optionally be executed if it's a function 3937var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { 3938 var i = 0, 3939 len = elems.length, 3940 bulk = key == null; 3941 3942 // Sets many values 3943 if ( toType( key ) === "object" ) { 3944 chainable = true; 3945 for ( i in key ) { 3946 access( elems, fn, i, key[ i ], true, emptyGet, raw ); 3947 } 3948 3949 // Sets one value 3950 } else if ( value !== undefined ) { 3951 chainable = true; 3952 3953 if ( !isFunction( value ) ) { 3954 raw = true; 3955 } 3956 3957 if ( bulk ) { 3958 3959 // Bulk operations run against the entire set 3960 if ( raw ) { 3961 fn.call( elems, value ); 3962 fn = null; 3963 3964 // ...except when executing function values 3965 } else { 3966 bulk = fn; 3967 fn = function( elem, _key, value ) { 3968 return bulk.call( jQuery( elem ), value ); 3969 }; 3970 } 3971 } 3972 3973 if ( fn ) { 3974 for ( ; i < len; i++ ) { 3975 fn( 3976 elems[ i ], key, raw ? 3977 value : 3978 value.call( elems[ i ], i, fn( elems[ i ], key ) ) 3979 ); 3980 } 3981 } 3982 } 3983 3984 if ( chainable ) { 3985 return elems; 3986 } 3987 3988 // Gets 3989 if ( bulk ) { 3990 return fn.call( elems ); 3991 } 3992 3993 return len ? fn( elems[ 0 ], key ) : emptyGet; 3994}; 3995 3996 3997// Matches dashed string for camelizing 3998var rmsPrefix = /^-ms-/, 3999 rdashAlpha = /-([a-z])/g; 4000 4001// Used by camelCase as callback to replace() 4002function fcamelCase( _all, letter ) { 4003 return letter.toUpperCase(); 4004} 4005 4006// Convert dashed to camelCase; used by the css and data modules 4007// Support: IE <=9 - 11, Edge 12 - 15 4008// Microsoft forgot to hump their vendor prefix (trac-9572) 4009function camelCase( string ) { 4010 return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); 4011} 4012var acceptData = function( owner ) { 4013 4014 // Accepts only: 4015 // - Node 4016 // - Node.ELEMENT_NODE 4017 // - Node.DOCUMENT_NODE 4018 // - Object 4019 // - Any 4020 return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 4021}; 4022 4023 4024 4025 4026function Data() { 4027 this.expando = jQuery.expando + Data.uid++; 4028} 4029 4030Data.uid = 1; 4031 4032Data.prototype = { 4033 4034 cache: function( owner ) { 4035 4036 // Check if the owner object already has a cache 4037 var value = owner[ this.expando ]; 4038 4039 // If not, create one 4040 if ( !value ) { 4041 value = {}; 4042 4043 // We can accept data for non-element nodes in modern browsers, 4044 // but we should not, see trac-8335. 4045 // Always return an empty object. 4046 if ( acceptData( owner ) ) { 4047 4048 // If it is a node unlikely to be stringify-ed or looped over 4049 // use plain assignment 4050 if ( owner.nodeType ) { 4051 owner[ this.expando ] = value; 4052 4053 // Otherwise secure it in a non-enumerable property 4054 // configurable must be true to allow the property to be 4055 // deleted when data is removed 4056 } else { 4057 Object.defineProperty( owner, this.expando, { 4058 value: value, 4059 configurable: true 4060 } ); 4061 } 4062 } 4063 } 4064 4065 return value; 4066 }, 4067 set: function( owner, data, value ) { 4068 var prop, 4069 cache = this.cache( owner ); 4070 4071 // Handle: [ owner, key, value ] args 4072 // Always use camelCase key (gh-2257) 4073 if ( typeof data === "string" ) { 4074 cache[ camelCase( data ) ] = value; 4075 4076 // Handle: [ owner, { properties } ] args 4077 } else { 4078 4079 // Copy the properties one-by-one to the cache object 4080 for ( prop in data ) { 4081 cache[ camelCase( prop ) ] = data[ prop ]; 4082 } 4083 } 4084 return cache; 4085 }, 4086 get: function( owner, key ) { 4087 return key === undefined ? 4088 this.cache( owner ) : 4089 4090 // Always use camelCase key (gh-2257) 4091 owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; 4092 }, 4093 access: function( owner, key, value ) { 4094 4095 // In cases where either: 4096 // 4097 // 1. No key was specified 4098 // 2. A string key was specified, but no value provided 4099 // 4100 // Take the "read" path and allow the get method to determine 4101 // which value to return, respectively either: 4102 // 4103 // 1. The entire cache object 4104 // 2. The data stored at the key 4105 // 4106 if ( key === undefined || 4107 ( ( key && typeof key === "string" ) && value === undefined ) ) { 4108 4109 return this.get( owner, key ); 4110 } 4111 4112 // When the key is not a string, or both a key and value 4113 // are specified, set or extend (existing objects) with either: 4114 // 4115 // 1. An object of properties 4116 // 2. A key and value 4117 // 4118 this.set( owner, key, value ); 4119 4120 // Since the "set" path can have two possible entry points 4121 // return the expected data based on which path was taken[*] 4122 return value !== undefined ? value : key; 4123 }, 4124 remove: function( owner, key ) { 4125 var i, 4126 cache = owner[ this.expando ]; 4127 4128 if ( cache === undefined ) { 4129 return; 4130 } 4131 4132 if ( key !== undefined ) { 4133 4134 // Support array or space separated string of keys 4135 if ( Array.isArray( key ) ) { 4136 4137 // If key is an array of keys... 4138 // We always set camelCase keys, so remove that. 4139 key = key.map( camelCase ); 4140 } else { 4141 key = camelCase( key ); 4142 4143 // If a key with the spaces exists, use it. 4144 // Otherwise, create an array by matching non-whitespace 4145 key = key in cache ? 4146 [ key ] : 4147 ( key.match( rnothtmlwhite ) || [] ); 4148 } 4149 4150 i = key.length; 4151 4152 while ( i-- ) { 4153 delete cache[ key[ i ] ]; 4154 } 4155 } 4156 4157 // Remove the expando if there's no more data 4158 if ( key === undefined || jQuery.isEmptyObject( cache ) ) { 4159 4160 // Support: Chrome <=35 - 45 4161 // Webkit & Blink performance suffers when deleting properties 4162 // from DOM nodes, so set to undefined instead 4163 // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) 4164 if ( owner.nodeType ) { 4165 owner[ this.expando ] = undefined; 4166 } else { 4167 delete owner[ this.expando ]; 4168 } 4169 } 4170 }, 4171 hasData: function( owner ) { 4172 var cache = owner[ this.expando ]; 4173 return cache !== undefined && !jQuery.isEmptyObject( cache ); 4174 } 4175}; 4176var dataPriv = new Data(); 4177 4178var dataUser = new Data(); 4179 4180 4181 4182// Implementation Summary 4183// 4184// 1. Enforce API surface and semantic compatibility with 1.9.x branch 4185// 2. Improve the module's maintainability by reducing the storage 4186// paths to a single mechanism. 4187// 3. Use the same single mechanism to support "private" and "user" data. 4188// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) 4189// 5. Avoid exposing implementation details on user objects (eg. expando properties) 4190// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 4191 4192var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, 4193 rmultiDash = /[A-Z]/g; 4194 4195function getData( data ) { 4196 if ( data === "true" ) { 4197 return true; 4198 } 4199 4200 if ( data === "false" ) { 4201 return false; 4202 } 4203 4204 if ( data === "null" ) { 4205 return null; 4206 } 4207 4208 // Only convert to a number if it doesn't change the string 4209 if ( data === +data + "" ) { 4210 return +data; 4211 } 4212 4213 if ( rbrace.test( data ) ) { 4214 return JSON.parse( data ); 4215 } 4216 4217 return data; 4218} 4219 4220function dataAttr( elem, key, data ) { 4221 var name; 4222 4223 // If nothing was found internally, try to fetch any 4224 // data from the HTML5 data-* attribute 4225 if ( data === undefined && elem.nodeType === 1 ) { 4226 name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); 4227 data = elem.getAttribute( name ); 4228 4229 if ( typeof data === "string" ) { 4230 try { 4231 data = getData( data ); 4232 } catch ( e ) {} 4233 4234 // Make sure we set the data so it isn't changed later 4235 dataUser.set( elem, key, data ); 4236 } else { 4237 data = undefined; 4238 } 4239 } 4240 return data; 4241} 4242 4243jQuery.extend( { 4244 hasData: function( elem ) { 4245 return dataUser.hasData( elem ) || dataPriv.hasData( elem ); 4246 }, 4247 4248 data: function( elem, name, data ) { 4249 return dataUser.access( elem, name, data ); 4250 }, 4251 4252 removeData: function( elem, name ) { 4253 dataUser.remove( elem, name ); 4254 }, 4255 4256 // TODO: Now that all calls to _data and _removeData have been replaced 4257 // with direct calls to dataPriv methods, these can be deprecated. 4258 _data: function( elem, name, data ) { 4259 return dataPriv.access( elem, name, data ); 4260 }, 4261 4262 _removeData: function( elem, name ) { 4263 dataPriv.remove( elem, name ); 4264 } 4265} ); 4266 4267jQuery.fn.extend( { 4268 data: function( key, value ) { 4269 var i, name, data, 4270 elem = this[ 0 ], 4271 attrs = elem && elem.attributes; 4272 4273 // Gets all values 4274 if ( key === undefined ) { 4275 if ( this.length ) { 4276 data = dataUser.get( elem ); 4277 4278 if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { 4279 i = attrs.length; 4280 while ( i-- ) { 4281 4282 // Support: IE 11 only 4283 // The attrs elements can be null (trac-14894) 4284 if ( attrs[ i ] ) { 4285 name = attrs[ i ].name; 4286 if ( name.indexOf( "data-" ) === 0 ) { 4287 name = camelCase( name.slice( 5 ) ); 4288 dataAttr( elem, name, data[ name ] ); 4289 } 4290 } 4291 } 4292 dataPriv.set( elem, "hasDataAttrs", true ); 4293 } 4294 } 4295 4296 return data; 4297 } 4298 4299 // Sets multiple values 4300 if ( typeof key === "object" ) { 4301 return this.each( function() { 4302 dataUser.set( this, key ); 4303 } ); 4304 } 4305 4306 return access( this, function( value ) { 4307 var data; 4308 4309 // The calling jQuery object (element matches) is not empty 4310 // (and therefore has an element appears at this[ 0 ]) and the 4311 // `value` parameter was not undefined. An empty jQuery object 4312 // will result in `undefined` for elem = this[ 0 ] which will 4313 // throw an exception if an attempt to read a data cache is made. 4314 if ( elem && value === undefined ) { 4315 4316 // Attempt to get data from the cache 4317 // The key will always be camelCased in Data 4318 data = dataUser.get( elem, key ); 4319 if ( data !== undefined ) { 4320 return data; 4321 } 4322 4323 // Attempt to "discover" the data in 4324 // HTML5 custom data-* attrs 4325 data = dataAttr( elem, key ); 4326 if ( data !== undefined ) { 4327 return data; 4328 } 4329 4330 // We tried really hard, but the data doesn't exist. 4331 return; 4332 } 4333 4334 // Set the data... 4335 this.each( function() { 4336 4337 // We always store the camelCased key 4338 dataUser.set( this, key, value ); 4339 } ); 4340 }, null, value, arguments.length > 1, null, true ); 4341 }, 4342 4343 removeData: function( key ) { 4344 return this.each( function() { 4345 dataUser.remove( this, key ); 4346 } ); 4347 } 4348} ); 4349 4350 4351jQuery.extend( { 4352 queue: function( elem, type, data ) { 4353 var queue; 4354 4355 if ( elem ) { 4356 type = ( type || "fx" ) + "queue"; 4357 queue = dataPriv.get( elem, type ); 4358 4359 // Speed up dequeue by getting out quickly if this is just a lookup 4360 if ( data ) { 4361 if ( !queue || Array.isArray( data ) ) { 4362 queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); 4363 } else { 4364 queue.push( data ); 4365 } 4366 } 4367 return queue || []; 4368 } 4369 }, 4370 4371 dequeue: function( elem, type ) { 4372 type = type || "fx"; 4373 4374 var queue = jQuery.queue( elem, type ), 4375 startLength = queue.length, 4376 fn = queue.shift(), 4377 hooks = jQuery._queueHooks( elem, type ), 4378 next = function() { 4379 jQuery.dequeue( elem, type ); 4380 }; 4381 4382 // If the fx queue is dequeued, always remove the progress sentinel 4383 if ( fn === "inprogress" ) { 4384 fn = queue.shift(); 4385 startLength--; 4386 } 4387 4388 if ( fn ) { 4389 4390 // Add a progress sentinel to prevent the fx queue from being 4391 // automatically dequeued 4392 if ( type === "fx" ) { 4393 queue.unshift( "inprogress" ); 4394 } 4395 4396 // Clear up the last queue stop function 4397 delete hooks.stop; 4398 fn.call( elem, next, hooks ); 4399 } 4400 4401 if ( !startLength && hooks ) { 4402 hooks.empty.fire(); 4403 } 4404 }, 4405 4406 // Not public - generate a queueHooks object, or return the current one 4407 _queueHooks: function( elem, type ) { 4408 var key = type + "queueHooks"; 4409 return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { 4410 empty: jQuery.Callbacks( "once memory" ).add( function() { 4411 dataPriv.remove( elem, [ type + "queue", key ] ); 4412 } ) 4413 } ); 4414 } 4415} ); 4416 4417jQuery.fn.extend( { 4418 queue: function( type, data ) { 4419 var setter = 2; 4420 4421 if ( typeof type !== "string" ) { 4422 data = type; 4423 type = "fx"; 4424 setter--; 4425 } 4426 4427 if ( arguments.length < setter ) { 4428 return jQuery.queue( this[ 0 ], type ); 4429 } 4430 4431 return data === undefined ? 4432 this : 4433 this.each( function() { 4434 var queue = jQuery.queue( this, type, data ); 4435 4436 // Ensure a hooks for this queue 4437 jQuery._queueHooks( this, type ); 4438 4439 if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { 4440 jQuery.dequeue( this, type ); 4441 } 4442 } ); 4443 }, 4444 dequeue: function( type ) { 4445 return this.each( function() { 4446 jQuery.dequeue( this, type ); 4447 } ); 4448 }, 4449 clearQueue: function( type ) { 4450 return this.queue( type || "fx", [] ); 4451 }, 4452 4453 // Get a promise resolved when queues of a certain type 4454 // are emptied (fx is the type by default) 4455 promise: function( type, obj ) { 4456 var tmp, 4457 count = 1, 4458 defer = jQuery.Deferred(), 4459 elements = this, 4460 i = this.length, 4461 resolve = function() { 4462 if ( !( --count ) ) { 4463 defer.resolveWith( elements, [ elements ] ); 4464 } 4465 }; 4466 4467 if ( typeof type !== "string" ) { 4468 obj = type; 4469 type = undefined; 4470 } 4471 type = type || "fx"; 4472 4473 while ( i-- ) { 4474 tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); 4475 if ( tmp && tmp.empty ) { 4476 count++; 4477 tmp.empty.add( resolve ); 4478 } 4479 } 4480 resolve(); 4481 return defer.promise( obj ); 4482 } 4483} ); 4484var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; 4485 4486var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); 4487 4488 4489var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; 4490 4491var documentElement = document.documentElement; 4492 4493 4494 4495 var isAttached = function( elem ) { 4496 return jQuery.contains( elem.ownerDocument, elem ); 4497 }, 4498 composed = { composed: true }; 4499 4500 // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only 4501 // Check attachment across shadow DOM boundaries when possible (gh-3504) 4502 // Support: iOS 10.0-10.2 only 4503 // Early iOS 10 versions support `attachShadow` but not `getRootNode`, 4504 // leading to errors. We need to check for `getRootNode`. 4505 if ( documentElement.getRootNode ) { 4506 isAttached = function( elem ) { 4507 return jQuery.contains( elem.ownerDocument, elem ) || 4508 elem.getRootNode( composed ) === elem.ownerDocument; 4509 }; 4510 } 4511var isHiddenWithinTree = function( elem, el ) { 4512 4513 // isHiddenWithinTree might be called from jQuery#filter function; 4514 // in that case, element will be second argument 4515 elem = el || elem; 4516 4517 // Inline style trumps all 4518 return elem.style.display === "none" || 4519 elem.style.display === "" && 4520 4521 // Otherwise, check computed style 4522 // Support: Firefox <=43 - 45 4523 // Disconnected elements can have computed display: none, so first confirm that elem is 4524 // in the document. 4525 isAttached( elem ) && 4526 4527 jQuery.css( elem, "display" ) === "none"; 4528 }; 4529 4530 4531 4532function adjustCSS( elem, prop, valueParts, tween ) { 4533 var adjusted, scale, 4534 maxIterations = 20, 4535 currentValue = tween ? 4536 function() { 4537 return tween.cur(); 4538 } : 4539 function() { 4540 return jQuery.css( elem, prop, "" ); 4541 }, 4542 initial = currentValue(), 4543 unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), 4544 4545 // Starting value computation is required for potential unit mismatches 4546 initialInUnit = elem.nodeType && 4547 ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && 4548 rcssNum.exec( jQuery.css( elem, prop ) ); 4549 4550 if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { 4551 4552 // Support: Firefox <=54 4553 // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) 4554 initial = initial / 2; 4555 4556 // Trust units reported by jQuery.css 4557 unit = unit || initialInUnit[ 3 ]; 4558 4559 // Iteratively approximate from a nonzero starting point 4560 initialInUnit = +initial || 1; 4561 4562 while ( maxIterations-- ) { 4563 4564 // Evaluate and update our best guess (doubling guesses that zero out). 4565 // Finish if the scale equals or crosses 1 (making the old*new product non-positive). 4566 jQuery.style( elem, prop, initialInUnit + unit ); 4567 if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { 4568 maxIterations = 0; 4569 } 4570 initialInUnit = initialInUnit / scale; 4571 4572 } 4573 4574 initialInUnit = initialInUnit * 2; 4575 jQuery.style( elem, prop, initialInUnit + unit ); 4576 4577 // Make sure we update the tween properties later on 4578 valueParts = valueParts || []; 4579 } 4580 4581 if ( valueParts ) { 4582 initialInUnit = +initialInUnit || +initial || 0; 4583 4584 // Apply relative offset (+=/-=) if specified 4585 adjusted = valueParts[ 1 ] ? 4586 initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : 4587 +valueParts[ 2 ]; 4588 if ( tween ) { 4589 tween.unit = unit; 4590 tween.start = initialInUnit; 4591 tween.end = adjusted; 4592 } 4593 } 4594 return adjusted; 4595} 4596 4597 4598var defaultDisplayMap = {}; 4599 4600function getDefaultDisplay( elem ) { 4601 var temp, 4602 doc = elem.ownerDocument, 4603 nodeName = elem.nodeName, 4604 display = defaultDisplayMap[ nodeName ]; 4605 4606 if ( display ) {
vendor: 2,317 bytes, lines 4607-4705
4607 return display; 4608 } 4609 4610 temp = doc.body.appendChild( doc.createElement( nodeName ) ); 4611 display = jQuery.css( temp, "display" ); 4612 4613 temp.parentNode.removeChild( temp ); 4614 4615 if ( display === "none" ) { 4616 display = "block"; 4617 } 4618 defaultDisplayMap[ nodeName ] = display; 4619 4620 return display; 4621} 4622 4623function showHide( elements, show ) { 4624 var display, elem, 4625 values = [], 4626 index = 0, 4627 length = elements.length; 4628 4629 // Determine new display value for elements that need to change 4630 for ( ; index < length; index++ ) { 4631 elem = elements[ index ]; 4632 if ( !elem.style ) { 4633 continue; 4634 } 4635 4636 display = elem.style.display; 4637 if ( show ) { 4638 4639 // Since we force visibility upon cascade-hidden elements, an immediate (and slow) 4640 // check is required in this first loop unless we have a nonempty display value (either 4641 // inline or about-to-be-restored) 4642 if ( display === "none" ) { 4643 values[ index ] = dataPriv.get( elem, "display" ) || null; 4644 if ( !values[ index ] ) { 4645 elem.style.display = ""; 4646 } 4647 } 4648 if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { 4649 values[ index ] = getDefaultDisplay( elem ); 4650 } 4651 } else { 4652 if ( display !== "none" ) { 4653 values[ index ] = "none"; 4654 4655 // Remember what we're overwriting 4656 dataPriv.set( elem, "display", display ); 4657 } 4658 } 4659 } 4660 4661 // Set the display of the elements in a second loop to avoid constant reflow 4662 for ( index = 0; index < length; index++ ) { 4663 if ( values[ index ] != null ) { 4664 elements[ index ].style.display = values[ index ]; 4665 } 4666 } 4667 4668 return elements; 4669} 4670 4671jQuery.fn.extend( { 4672 show: function() { 4673 return showHide( this, true ); 4674 }, 4675 hide: function() { 4676 return showHide( this ); 4677 }, 4678 toggle: function( state ) { 4679 if ( typeof state === "boolean" ) { 4680 return state ? this.show() : this.hide(); 4681 } 4682 4683 return this.each( function() { 4684 if ( isHiddenWithinTree( this ) ) { 4685 jQuery( this ).show(); 4686 } else { 4687 jQuery( this ).hide(); 4688 } 4689 } ); 4690 } 4691} ); 4692var rcheckableType = ( /^(?:checkbox|radio)$/i ); 4693 4694var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); 4695 4696var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); 4697 4698 4699 4700( function() { 4701 var fragment = document.createDocumentFragment(), 4702 div = fragment.appendChild( document.createElement( "div" ) ), 4703 input = document.createElement( "input" ); 4704 4705 // Support: Android 4.0 - 4.3 only
vendor: 10,092 bytes, lines 4706-5090
4706 // Check state lost if the name is set (trac-11217) 4707 // Support: Windows Web Apps (WWA) 4708 // `name` and `type` must use .setAttribute for WWA (trac-14901) 4709 input.setAttribute( "type", "radio" ); 4710 input.setAttribute( "checked", "checked" ); 4711 input.setAttribute( "name", "t" ); 4712 4713 div.appendChild( input ); 4714 4715 // Support: Android <=4.1 only 4716 // Older WebKit doesn't clone checked state correctly in fragments 4717 support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; 4718 4719 // Support: IE <=11 only 4720 // Make sure textarea (and checkbox) defaultValue is properly cloned 4721 div.innerHTML = "<textarea>x</textarea>"; 4722 support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; 4723 4724 // Support: IE <=9 only 4725 // IE <=9 replaces <option> tags with their contents when inserted outside of 4726 // the select element. 4727 div.innerHTML = "<option></option>"; 4728 support.option = !!div.lastChild; 4729} )(); 4730 4731 4732// We have to close these tags to support XHTML (trac-13200) 4733var wrapMap = { 4734 4735 // XHTML parsers do not magically insert elements in the 4736 // same way that tag soup parsers do. So we cannot shorten 4737 // this by omitting <tbody> or other required elements. 4738 thead: [ 1, "<table>", "</table>" ], 4739 col: [ 2, "<table><colgroup>", "</colgroup></table>" ], 4740 tr: [ 2, "<table><tbody>", "</tbody></table>" ], 4741 td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], 4742 4743 _default: [ 0, "", "" ] 4744}; 4745 4746wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; 4747wrapMap.th = wrapMap.td; 4748 4749// Support: IE <=9 only 4750if ( !support.option ) { 4751 wrapMap.optgroup = wrapMap.option = [ 1, "<select multiple='multiple'>", "</select>" ]; 4752} 4753 4754 4755function getAll( context, tag ) { 4756 4757 // Support: IE <=9 - 11 only 4758 // Use typeof to avoid zero-argument method invocation on host objects (trac-15151) 4759 var ret; 4760 4761 if ( typeof context.getElementsByTagName !== "undefined" ) { 4762 ret = context.getElementsByTagName( tag || "*" ); 4763 4764 } else if ( typeof context.querySelectorAll !== "undefined" ) { 4765 ret = context.querySelectorAll( tag || "*" ); 4766 4767 } else { 4768 ret = []; 4769 } 4770 4771 if ( tag === undefined || tag && nodeName( context, tag ) ) { 4772 return jQuery.merge( [ context ], ret ); 4773 } 4774 4775 return ret; 4776} 4777 4778 4779// Mark scripts as having already been evaluated 4780function setGlobalEval( elems, refElements ) { 4781 var i = 0, 4782 l = elems.length; 4783 4784 for ( ; i < l; i++ ) { 4785 dataPriv.set( 4786 elems[ i ], 4787 "globalEval", 4788 !refElements || dataPriv.get( refElements[ i ], "globalEval" ) 4789 ); 4790 } 4791} 4792 4793 4794var rhtml = /<|&#?\w+;/; 4795 4796function buildFragment( elems, context, scripts, selection, ignored ) { 4797 var elem, tmp, tag, wrap, attached, j, 4798 fragment = context.createDocumentFragment(), 4799 nodes = [], 4800 i = 0, 4801 l = elems.length; 4802 4803 for ( ; i < l; i++ ) { 4804 elem = elems[ i ]; 4805 4806 if ( elem || elem === 0 ) { 4807 4808 // Add nodes directly 4809 if ( toType( elem ) === "object" ) { 4810 4811 // Support: Android <=4.0 only, PhantomJS 1 only 4812 // push.apply(_, arraylike) throws on ancient WebKit 4813 jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); 4814 4815 // Convert non-html into a text node 4816 } else if ( !rhtml.test( elem ) ) { 4817 nodes.push( context.createTextNode( elem ) ); 4818 4819 // Convert html into DOM nodes 4820 } else { 4821 tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); 4822 4823 // Deserialize a standard representation 4824 tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); 4825 wrap = wrapMap[ tag ] || wrapMap._default; 4826 tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; 4827 4828 // Descend through wrappers to the right content 4829 j = wrap[ 0 ]; 4830 while ( j-- ) { 4831 tmp = tmp.lastChild; 4832 } 4833 4834 // Support: Android <=4.0 only, PhantomJS 1 only 4835 // push.apply(_, arraylike) throws on ancient WebKit 4836 jQuery.merge( nodes, tmp.childNodes ); 4837 4838 // Remember the top-level container 4839 tmp = fragment.firstChild; 4840 4841 // Ensure the created nodes are orphaned (trac-12392) 4842 tmp.textContent = ""; 4843 } 4844 } 4845 } 4846 4847 // Remove wrapper from fragment 4848 fragment.textContent = ""; 4849 4850 i = 0; 4851 while ( ( elem = nodes[ i++ ] ) ) { 4852 4853 // Skip elements already in the context collection (trac-4087) 4854 if ( selection && jQuery.inArray( elem, selection ) > -1 ) { 4855 if ( ignored ) { 4856 ignored.push( elem ); 4857 } 4858 continue; 4859 } 4860 4861 attached = isAttached( elem ); 4862 4863 // Append to fragment 4864 tmp = getAll( fragment.appendChild( elem ), "script" ); 4865 4866 // Preserve script evaluation history 4867 if ( attached ) { 4868 setGlobalEval( tmp ); 4869 } 4870 4871 // Capture executables 4872 if ( scripts ) { 4873 j = 0; 4874 while ( ( elem = tmp[ j++ ] ) ) { 4875 if ( rscriptType.test( elem.type || "" ) ) { 4876 scripts.push( elem ); 4877 } 4878 } 4879 } 4880 } 4881 4882 return fragment; 4883} 4884 4885 4886var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; 4887 4888function returnTrue() { 4889 return true; 4890} 4891 4892function returnFalse() { 4893 return false; 4894} 4895 4896function on( elem, types, selector, data, fn, one ) { 4897 var origFn, type; 4898 4899 // Types can be a map of types/handlers 4900 if ( typeof types === "object" ) { 4901 4902 // ( types-Object, selector, data ) 4903 if ( typeof selector !== "string" ) { 4904 4905 // ( types-Object, data ) 4906 data = data || selector; 4907 selector = undefined; 4908 } 4909 for ( type in types ) { 4910 on( elem, type, selector, data, types[ type ], one ); 4911 } 4912 return elem; 4913 } 4914 4915 if ( data == null && fn == null ) { 4916 4917 // ( types, fn ) 4918 fn = selector; 4919 data = selector = undefined; 4920 } else if ( fn == null ) { 4921 if ( typeof selector === "string" ) { 4922 4923 // ( types, selector, fn ) 4924 fn = data; 4925 data = undefined; 4926 } else { 4927 4928 // ( types, data, fn ) 4929 fn = data; 4930 data = selector; 4931 selector = undefined; 4932 } 4933 } 4934 if ( fn === false ) { 4935 fn = returnFalse; 4936 } else if ( !fn ) { 4937 return elem; 4938 } 4939 4940 if ( one === 1 ) { 4941 origFn = fn; 4942 fn = function( event ) { 4943 4944 // Can use an empty set, since event contains the info 4945 jQuery().off( event ); 4946 return origFn.apply( this, arguments ); 4947 }; 4948 4949 // Use same guid so caller can remove using origFn 4950 fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); 4951 } 4952 return elem.each( function() { 4953 jQuery.event.add( this, types, fn, data, selector ); 4954 } ); 4955} 4956 4957/* 4958 * Helper functions for managing events -- not part of the public interface. 4959 * Props to Dean Edwards' addEvent library for many of the ideas. 4960 */ 4961jQuery.event = { 4962 4963 global: {}, 4964 4965 add: function( elem, types, handler, data, selector ) { 4966 4967 var handleObjIn, eventHandle, tmp, 4968 events, t, handleObj, 4969 special, handlers, type, namespaces, origType, 4970 elemData = dataPriv.get( elem ); 4971 4972 // Only attach events to objects that accept data 4973 if ( !acceptData( elem ) ) { 4974 return; 4975 } 4976 4977 // Caller can pass in an object of custom data in lieu of the handler 4978 if ( handler.handler ) { 4979 handleObjIn = handler; 4980 handler = handleObjIn.handler; 4981 selector = handleObjIn.selector; 4982 } 4983 4984 // Ensure that invalid selectors throw exceptions at attach time 4985 // Evaluate against documentElement in case elem is a non-element node (e.g., document) 4986 if ( selector ) { 4987 jQuery.find.matchesSelector( documentElement, selector ); 4988 } 4989 4990 // Make sure that the handler has a unique ID, used to find/remove it later 4991 if ( !handler.guid ) { 4992 handler.guid = jQuery.guid++; 4993 } 4994 4995 // Init the element's event structure and main handler, if this is the first 4996 if ( !( events = elemData.events ) ) { 4997 events = elemData.events = Object.create( null ); 4998 } 4999 if ( !( eventHandle = elemData.handle ) ) { 5000 eventHandle = elemData.handle = function( e ) { 5001 5002 // Discard the second event of a jQuery.event.trigger() and 5003 // when an event is called after a page has unloaded 5004 return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? 5005 jQuery.event.dispatch.apply( elem, arguments ) : undefined; 5006 }; 5007 } 5008 5009 // Handle multiple events separated by a space 5010 types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; 5011 t = types.length; 5012 while ( t-- ) { 5013 tmp = rtypenamespace.exec( types[ t ] ) || []; 5014 type = origType = tmp[ 1 ]; 5015 namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); 5016 5017 // There *must* be a type, no attaching namespace-only handlers 5018 if ( !type ) { 5019 continue; 5020 } 5021 5022 // If event changes its type, use the special event handlers for the changed type 5023 special = jQuery.event.special[ type ] || {}; 5024 5025 // If selector defined, determine special event api type, otherwise given type 5026 type = ( selector ? special.delegateType : special.bindType ) || type; 5027 5028 // Update special based on newly reset type 5029 special = jQuery.event.special[ type ] || {}; 5030 5031 // handleObj is passed to all event handlers 5032 handleObj = jQuery.extend( { 5033 type: type, 5034 origType: origType, 5035 data: data, 5036 handler: handler, 5037 guid: handler.guid, 5038 selector: selector, 5039 needsContext: selector && jQuery.expr.match.needsContext.test( selector ), 5040 namespace: namespaces.join( "." ) 5041 }, handleObjIn ); 5042 5043 // Init the event handler queue if we're the first 5044 if ( !( handlers = events[ type ] ) ) { 5045 handlers = events[ type ] = []; 5046 handlers.delegateCount = 0; 5047 5048 // Only use addEventListener if the special events handler returns false 5049 if ( !special.setup || 5050 special.setup.call( elem, data, namespaces, eventHandle ) === false ) { 5051 5052 if ( elem.addEventListener ) { 5053 elem.addEventListener( type, eventHandle ); 5054 } 5055 } 5056 } 5057 5058 if ( special.add ) { 5059 special.add.call( elem, handleObj ); 5060 5061 if ( !handleObj.handler.guid ) { 5062 handleObj.handler.guid = handler.guid; 5063 } 5064 } 5065 5066 // Add to the element's handler list, delegates in front 5067 if ( selector ) { 5068 handlers.splice( handlers.delegateCount++, 0, handleObj ); 5069 } else { 5070 handlers.push( handleObj ); 5071 } 5072 5073 // Keep track of which events have ever been used, for event optimization 5074 jQuery.event.global[ type ] = true; 5075 } 5076 5077 }, 5078 5079 // Detach an event or set of events from an element 5080 remove: function( elem, types, handler, selector, mappedTypes ) { 5081 5082 var j, origCount, tmp, 5083 events, t, handleObj, 5084 special, handlers, type, namespaces, origType, 5085 elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); 5086 5087 if ( !elemData || !( events = elemData.events ) ) { 5088 return; 5089 } 5090
vendor: 4,197 bytes, lines 5091-5229
5091 // Once for each type.namespace in types; type may be omitted 5092 types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; 5093 t = types.length; 5094 while ( t-- ) { 5095 tmp = rtypenamespace.exec( types[ t ] ) || []; 5096 type = origType = tmp[ 1 ]; 5097 namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); 5098 5099 // Unbind all events (on this namespace, if provided) for the element 5100 if ( !type ) { 5101 for ( type in events ) { 5102 jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); 5103 } 5104 continue; 5105 } 5106 5107 special = jQuery.event.special[ type ] || {}; 5108 type = ( selector ? special.delegateType : special.bindType ) || type; 5109 handlers = events[ type ] || []; 5110 tmp = tmp[ 2 ] && 5111 new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); 5112 5113 // Remove matching events 5114 origCount = j = handlers.length; 5115 while ( j-- ) { 5116 handleObj = handlers[ j ]; 5117 5118 if ( ( mappedTypes || origType === handleObj.origType ) && 5119 ( !handler || handler.guid === handleObj.guid ) && 5120 ( !tmp || tmp.test( handleObj.namespace ) ) && 5121 ( !selector || selector === handleObj.selector || 5122 selector === "**" && handleObj.selector ) ) { 5123 handlers.splice( j, 1 ); 5124 5125 if ( handleObj.selector ) { 5126 handlers.delegateCount--; 5127 } 5128 if ( special.remove ) { 5129 special.remove.call( elem, handleObj ); 5130 } 5131 } 5132 } 5133 5134 // Remove generic event handler if we removed something and no more handlers exist 5135 // (avoids potential for endless recursion during removal of special event handlers) 5136 if ( origCount && !handlers.length ) { 5137 if ( !special.teardown || 5138 special.teardown.call( elem, namespaces, elemData.handle ) === false ) { 5139 5140 jQuery.removeEvent( elem, type, elemData.handle ); 5141 } 5142 5143 delete events[ type ]; 5144 } 5145 } 5146 5147 // Remove data and the expando if it's no longer used 5148 if ( jQuery.isEmptyObject( events ) ) { 5149 dataPriv.remove( elem, "handle events" ); 5150 } 5151 }, 5152 5153 dispatch: function( nativeEvent ) { 5154 5155 var i, j, ret, matched, handleObj, handlerQueue, 5156 args = new Array( arguments.length ), 5157 5158 // Make a writable jQuery.Event from the native event object 5159 event = jQuery.event.fix( nativeEvent ), 5160 5161 handlers = ( 5162 dataPriv.get( this, "events" ) || Object.create( null ) 5163 )[ event.type ] || [], 5164 special = jQuery.event.special[ event.type ] || {}; 5165 5166 // Use the fix-ed jQuery.Event rather than the (read-only) native event 5167 args[ 0 ] = event; 5168 5169 for ( i = 1; i < arguments.length; i++ ) { 5170 args[ i ] = arguments[ i ]; 5171 } 5172 5173 event.delegateTarget = this; 5174 5175 // Call the preDispatch hook for the mapped type, and let it bail if desired 5176 if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { 5177 return; 5178 } 5179 5180 // Determine handlers 5181 handlerQueue = jQuery.event.handlers.call( this, event, handlers ); 5182 5183 // Run delegates first; they may want to stop propagation beneath us 5184 i = 0; 5185 while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { 5186 event.currentTarget = matched.elem; 5187 5188 j = 0; 5189 while ( ( handleObj = matched.handlers[ j++ ] ) && 5190 !event.isImmediatePropagationStopped() ) { 5191 5192 // If the event is namespaced, then each handler is only invoked if it is 5193 // specially universal or its namespaces are a superset of the event's. 5194 if ( !event.rnamespace || handleObj.namespace === false || 5195 event.rnamespace.test( handleObj.namespace ) ) { 5196 5197 event.handleObj = handleObj; 5198 event.data = handleObj.data; 5199 5200 ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || 5201 handleObj.handler ).apply( matched.elem, args ); 5202 5203 if ( ret !== undefined ) { 5204 if ( ( event.result = ret ) === false ) { 5205 event.preventDefault(); 5206 event.stopPropagation(); 5207 } 5208 } 5209 } 5210 } 5211 } 5212 5213 // Call the postDispatch hook for the mapped type 5214 if ( special.postDispatch ) { 5215 special.postDispatch.call( this, event ); 5216 } 5217 5218 return event.result; 5219 }, 5220 5221 handlers: function( event, handlers ) { 5222 var i, handleObj, sel, matchedHandlers, matchedSelectors, 5223 handlerQueue = [], 5224 delegateCount = handlers.delegateCount, 5225 cur = event.target; 5226 5227 // Find delegate handlers 5228 if ( delegateCount && 5229
vendor: 19,034 bytes, lines 5230-5876
5230 // Support: IE <=9 5231 // Black-hole SVG <use> instance trees (trac-13180) 5232 cur.nodeType && 5233 5234 // Support: Firefox <=42 5235 // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) 5236 // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click 5237 // Support: IE 11 only 5238 // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) 5239 !( event.type === "click" && event.button >= 1 ) ) { 5240 5241 for ( ; cur !== this; cur = cur.parentNode || this ) { 5242 5243 // Don't check non-elements (trac-13208) 5244 // Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764) 5245 if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { 5246 matchedHandlers = []; 5247 matchedSelectors = {}; 5248 for ( i = 0; i < delegateCount; i++ ) { 5249 handleObj = handlers[ i ]; 5250 5251 // Don't conflict with Object.prototype properties (trac-13203) 5252 sel = handleObj.selector + " "; 5253 5254 if ( matchedSelectors[ sel ] === undefined ) { 5255 matchedSelectors[ sel ] = handleObj.needsContext ? 5256 jQuery( sel, this ).index( cur ) > -1 : 5257 jQuery.find( sel, this, null, [ cur ] ).length; 5258 } 5259 if ( matchedSelectors[ sel ] ) { 5260 matchedHandlers.push( handleObj ); 5261 } 5262 } 5263 if ( matchedHandlers.length ) { 5264 handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); 5265 } 5266 } 5267 } 5268 } 5269 5270 // Add the remaining (directly-bound) handlers 5271 cur = this; 5272 if ( delegateCount < handlers.length ) { 5273 handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); 5274 } 5275 5276 return handlerQueue; 5277 }, 5278 5279 addProp: function( name, hook ) { 5280 Object.defineProperty( jQuery.Event.prototype, name, { 5281 enumerable: true, 5282 configurable: true, 5283 5284 get: isFunction( hook ) ? 5285 function() { 5286 if ( this.originalEvent ) { 5287 return hook( this.originalEvent ); 5288 } 5289 } : 5290 function() { 5291 if ( this.originalEvent ) { 5292 return this.originalEvent[ name ]; 5293 } 5294 }, 5295 5296 set: function( value ) { 5297 Object.defineProperty( this, name, { 5298 enumerable: true, 5299 configurable: true, 5300 writable: true, 5301 value: value 5302 } ); 5303 } 5304 } ); 5305 }, 5306 5307 fix: function( originalEvent ) { 5308 return originalEvent[ jQuery.expando ] ? 5309 originalEvent : 5310 new jQuery.Event( originalEvent ); 5311 }, 5312 5313 special: { 5314 load: { 5315 5316 // Prevent triggered image.load events from bubbling to window.load 5317 noBubble: true 5318 }, 5319 click: { 5320 5321 // Utilize native event to ensure correct state for checkable inputs 5322 setup: function( data ) { 5323 5324 // For mutual compressibility with _default, replace `this` access with a local var. 5325 // `|| data` is dead code meant only to preserve the variable through minification. 5326 var el = this || data; 5327 5328 // Claim the first handler 5329 if ( rcheckableType.test( el.type ) && 5330 el.click && nodeName( el, "input" ) ) { 5331 5332 // dataPriv.set( el, "click", ... ) 5333 leverageNative( el, "click", true ); 5334 } 5335 5336 // Return false to allow normal processing in the caller 5337 return false; 5338 }, 5339 trigger: function( data ) { 5340 5341 // For mutual compressibility with _default, replace `this` access with a local var. 5342 // `|| data` is dead code meant only to preserve the variable through minification. 5343 var el = this || data; 5344 5345 // Force setup before triggering a click 5346 if ( rcheckableType.test( el.type ) && 5347 el.click && nodeName( el, "input" ) ) { 5348 5349 leverageNative( el, "click" ); 5350 } 5351 5352 // Return non-false to allow normal event-path propagation 5353 return true; 5354 }, 5355 5356 // For cross-browser consistency, suppress native .click() on links 5357 // Also prevent it if we're currently inside a leveraged native-event stack 5358 _default: function( event ) { 5359 var target = event.target; 5360 return rcheckableType.test( target.type ) && 5361 target.click && nodeName( target, "input" ) && 5362 dataPriv.get( target, "click" ) || 5363 nodeName( target, "a" ); 5364 } 5365 }, 5366 5367 beforeunload: { 5368 postDispatch: function( event ) { 5369 5370 // Support: Firefox 20+ 5371 // Firefox doesn't alert if the returnValue field is not set. 5372 if ( event.result !== undefined && event.originalEvent ) { 5373 event.originalEvent.returnValue = event.result; 5374 } 5375 } 5376 } 5377 } 5378}; 5379 5380// Ensure the presence of an event listener that handles manually-triggered 5381// synthetic events by interrupting progress until reinvoked in response to 5382// *native* events that it fires directly, ensuring that state changes have 5383// already occurred before other listeners are invoked. 5384function leverageNative( el, type, isSetup ) { 5385 5386 // Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add 5387 if ( !isSetup ) { 5388 if ( dataPriv.get( el, type ) === undefined ) { 5389 jQuery.event.add( el, type, returnTrue ); 5390 } 5391 return; 5392 } 5393 5394 // Register the controller as a special universal handler for all event namespaces 5395 dataPriv.set( el, type, false ); 5396 jQuery.event.add( el, type, { 5397 namespace: false, 5398 handler: function( event ) { 5399 var result, 5400 saved = dataPriv.get( this, type ); 5401 5402 if ( ( event.isTrigger & 1 ) && this[ type ] ) { 5403 5404 // Interrupt processing of the outer synthetic .trigger()ed event 5405 if ( !saved ) { 5406 5407 // Store arguments for use when handling the inner native event 5408 // There will always be at least one argument (an event object), so this array 5409 // will not be confused with a leftover capture object. 5410 saved = slice.call( arguments ); 5411 dataPriv.set( this, type, saved ); 5412 5413 // Trigger the native event and capture its result 5414 this[ type ](); 5415 result = dataPriv.get( this, type ); 5416 dataPriv.set( this, type, false ); 5417 5418 if ( saved !== result ) { 5419 5420 // Cancel the outer synthetic event 5421 event.stopImmediatePropagation(); 5422 event.preventDefault(); 5423 5424 return result; 5425 } 5426 5427 // If this is an inner synthetic event for an event with a bubbling surrogate 5428 // (focus or blur), assume that the surrogate already propagated from triggering 5429 // the native event and prevent that from happening again here. 5430 // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the 5431 // bubbling surrogate propagates *after* the non-bubbling base), but that seems 5432 // less bad than duplication. 5433 } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { 5434 event.stopPropagation(); 5435 } 5436 5437 // If this is a native event triggered above, everything is now in order 5438 // Fire an inner synthetic event with the original arguments 5439 } else if ( saved ) { 5440 5441 // ...and capture the result 5442 dataPriv.set( this, type, jQuery.event.trigger( 5443 saved[ 0 ], 5444 saved.slice( 1 ), 5445 this 5446 ) ); 5447 5448 // Abort handling of the native event by all jQuery handlers while allowing 5449 // native handlers on the same element to run. On target, this is achieved 5450 // by stopping immediate propagation just on the jQuery event. However, 5451 // the native event is re-wrapped by a jQuery one on each level of the 5452 // propagation so the only way to stop it for jQuery is to stop it for 5453 // everyone via native `stopPropagation()`. This is not a problem for 5454 // focus/blur which don't bubble, but it does also stop click on checkboxes 5455 // and radios. We accept this limitation. 5456 event.stopPropagation(); 5457 event.isImmediatePropagationStopped = returnTrue; 5458 } 5459 } 5460 } ); 5461} 5462 5463jQuery.removeEvent = function( elem, type, handle ) { 5464 5465 // This "if" is needed for plain objects 5466 if ( elem.removeEventListener ) { 5467 elem.removeEventListener( type, handle ); 5468 } 5469}; 5470 5471jQuery.Event = function( src, props ) { 5472 5473 // Allow instantiation without the 'new' keyword 5474 if ( !( this instanceof jQuery.Event ) ) { 5475 return new jQuery.Event( src, props ); 5476 } 5477 5478 // Event object 5479 if ( src && src.type ) { 5480 this.originalEvent = src; 5481 this.type = src.type; 5482 5483 // Events bubbling up the document may have been marked as prevented 5484 // by a handler lower down the tree; reflect the correct value. 5485 this.isDefaultPrevented = src.defaultPrevented || 5486 src.defaultPrevented === undefined && 5487 5488 // Support: Android <=2.3 only 5489 src.returnValue === false ? 5490 returnTrue : 5491 returnFalse; 5492 5493 // Create target properties 5494 // Support: Safari <=6 - 7 only 5495 // Target should not be a text node (trac-504, trac-13143) 5496 this.target = ( src.target && src.target.nodeType === 3 ) ? 5497 src.target.parentNode : 5498 src.target; 5499 5500 this.currentTarget = src.currentTarget; 5501 this.relatedTarget = src.relatedTarget; 5502 5503 // Event type 5504 } else { 5505 this.type = src; 5506 } 5507 5508 // Put explicitly provided properties onto the event object 5509 if ( props ) { 5510 jQuery.extend( this, props ); 5511 } 5512 5513 // Create a timestamp if incoming event doesn't have one 5514 this.timeStamp = src && src.timeStamp || Date.now(); 5515 5516 // Mark it as fixed 5517 this[ jQuery.expando ] = true; 5518}; 5519 5520// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding 5521// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html 5522jQuery.Event.prototype = { 5523 constructor: jQuery.Event, 5524 isDefaultPrevented: returnFalse, 5525 isPropagationStopped: returnFalse, 5526 isImmediatePropagationStopped: returnFalse, 5527 isSimulated: false, 5528 5529 preventDefault: function() { 5530 var e = this.originalEvent; 5531 5532 this.isDefaultPrevented = returnTrue; 5533 5534 if ( e && !this.isSimulated ) { 5535 e.preventDefault(); 5536 } 5537 }, 5538 stopPropagation: function() { 5539 var e = this.originalEvent; 5540 5541 this.isPropagationStopped = returnTrue; 5542 5543 if ( e && !this.isSimulated ) { 5544 e.stopPropagation(); 5545 } 5546 }, 5547 stopImmediatePropagation: function() { 5548 var e = this.originalEvent; 5549 5550 this.isImmediatePropagationStopped = returnTrue; 5551 5552 if ( e && !this.isSimulated ) { 5553 e.stopImmediatePropagation(); 5554 } 5555 5556 this.stopPropagation(); 5557 } 5558}; 5559 5560// Includes all common event props including KeyEvent and MouseEvent specific props 5561jQuery.each( { 5562 altKey: true, 5563 bubbles: true, 5564 cancelable: true, 5565 changedTouches: true, 5566 ctrlKey: true, 5567 detail: true, 5568 eventPhase: true, 5569 metaKey: true, 5570 pageX: true, 5571 pageY: true, 5572 shiftKey: true, 5573 view: true, 5574 "char": true, 5575 code: true, 5576 charCode: true, 5577 key: true, 5578 keyCode: true, 5579 button: true, 5580 buttons: true, 5581 clientX: true, 5582 clientY: true, 5583 offsetX: true, 5584 offsetY: true, 5585 pointerId: true, 5586 pointerType: true, 5587 screenX: true, 5588 screenY: true, 5589 targetTouches: true, 5590 toElement: true, 5591 touches: true, 5592 which: true 5593}, jQuery.event.addProp ); 5594 5595jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { 5596 5597 function focusMappedHandler( nativeEvent ) { 5598 if ( document.documentMode ) { 5599 5600 // Support: IE 11+ 5601 // Attach a single focusin/focusout handler on the document while someone wants 5602 // focus/blur. This is because the former are synchronous in IE while the latter 5603 // are async. In other browsers, all those handlers are invoked synchronously. 5604 5605 // `handle` from private data would already wrap the event, but we need 5606 // to change the `type` here. 5607 var handle = dataPriv.get( this, "handle" ), 5608 event = jQuery.event.fix( nativeEvent ); 5609 event.type = nativeEvent.type === "focusin" ? "focus" : "blur"; 5610 event.isSimulated = true; 5611 5612 // First, handle focusin/focusout 5613 handle( nativeEvent ); 5614 5615 // ...then, handle focus/blur 5616 // 5617 // focus/blur don't bubble while focusin/focusout do; simulate the former by only 5618 // invoking the handler at the lower level. 5619 if ( event.target === event.currentTarget ) { 5620 5621 // The setup part calls `leverageNative`, which, in turn, calls 5622 // `jQuery.event.add`, so event handle will already have been set 5623 // by this point. 5624 handle( event ); 5625 } 5626 } else { 5627 5628 // For non-IE browsers, attach a single capturing handler on the document 5629 // while someone wants focusin/focusout. 5630 jQuery.event.simulate( delegateType, nativeEvent.target, 5631 jQuery.event.fix( nativeEvent ) ); 5632 } 5633 } 5634 5635 jQuery.event.special[ type ] = { 5636 5637 // Utilize native event if possible so blur/focus sequence is correct 5638 setup: function() { 5639 5640 var attaches; 5641 5642 // Claim the first handler 5643 // dataPriv.set( this, "focus", ... ) 5644 // dataPriv.set( this, "blur", ... ) 5645 leverageNative( this, type, true ); 5646 5647 if ( document.documentMode ) { 5648 5649 // Support: IE 9 - 11+ 5650 // We use the same native handler for focusin & focus (and focusout & blur) 5651 // so we need to coordinate setup & teardown parts between those events. 5652 // Use `delegateType` as the key as `type` is already used by `leverageNative`. 5653 attaches = dataPriv.get( this, delegateType ); 5654 if ( !attaches ) { 5655 this.addEventListener( delegateType, focusMappedHandler ); 5656 } 5657 dataPriv.set( this, delegateType, ( attaches || 0 ) + 1 ); 5658 } else { 5659 5660 // Return false to allow normal processing in the caller 5661 return false; 5662 } 5663 }, 5664 trigger: function() { 5665 5666 // Force setup before trigger 5667 leverageNative( this, type ); 5668 5669 // Return non-false to allow normal event-path propagation 5670 return true; 5671 }, 5672 5673 teardown: function() { 5674 var attaches; 5675 5676 if ( document.documentMode ) { 5677 attaches = dataPriv.get( this, delegateType ) - 1; 5678 if ( !attaches ) { 5679 this.removeEventListener( delegateType, focusMappedHandler ); 5680 dataPriv.remove( this, delegateType ); 5681 } else { 5682 dataPriv.set( this, delegateType, attaches ); 5683 } 5684 } else { 5685 5686 // Return false to indicate standard teardown should be applied 5687 return false; 5688 } 5689 }, 5690 5691 // Suppress native focus or blur if we're currently inside 5692 // a leveraged native-event stack 5693 _default: function( event ) { 5694 return dataPriv.get( event.target, type ); 5695 }, 5696 5697 delegateType: delegateType 5698 }; 5699 5700 // Support: Firefox <=44 5701 // Firefox doesn't have focus(in | out) events 5702 // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 5703 // 5704 // Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 5705 // focus(in | out) events fire after focus & blur events, 5706 // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order 5707 // Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 5708 // 5709 // Support: IE 9 - 11+ 5710 // To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch, 5711 // attach a single handler for both events in IE. 5712 jQuery.event.special[ delegateType ] = { 5713 setup: function() { 5714 5715 // Handle: regular nodes (via `this.ownerDocument`), window 5716 // (via `this.document`) & document (via `this`). 5717 var doc = this.ownerDocument || this.document || this, 5718 dataHolder = document.documentMode ? this : doc, 5719 attaches = dataPriv.get( dataHolder, delegateType ); 5720 5721 // Support: IE 9 - 11+ 5722 // We use the same native handler for focusin & focus (and focusout & blur) 5723 // so we need to coordinate setup & teardown parts between those events. 5724 // Use `delegateType` as the key as `type` is already used by `leverageNative`. 5725 if ( !attaches ) { 5726 if ( document.documentMode ) { 5727 this.addEventListener( delegateType, focusMappedHandler ); 5728 } else { 5729 doc.addEventListener( type, focusMappedHandler, true ); 5730 } 5731 } 5732 dataPriv.set( dataHolder, delegateType, ( attaches || 0 ) + 1 ); 5733 }, 5734 teardown: function() { 5735 var doc = this.ownerDocument || this.document || this, 5736 dataHolder = document.documentMode ? this : doc, 5737 attaches = dataPriv.get( dataHolder, delegateType ) - 1; 5738 5739 if ( !attaches ) { 5740 if ( document.documentMode ) { 5741 this.removeEventListener( delegateType, focusMappedHandler ); 5742 } else { 5743 doc.removeEventListener( type, focusMappedHandler, true ); 5744 } 5745 dataPriv.remove( dataHolder, delegateType ); 5746 } else { 5747 dataPriv.set( dataHolder, delegateType, attaches ); 5748 } 5749 } 5750 }; 5751} ); 5752 5753// Create mouseenter/leave events using mouseover/out and event-time checks 5754// so that event delegation works in jQuery. 5755// Do the same for pointerenter/pointerleave and pointerover/pointerout 5756// 5757// Support: Safari 7 only 5758// Safari sends mouseenter too often; see: 5759// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 5760// for the description of the bug (it existed in older Chrome versions as well). 5761jQuery.each( { 5762 mouseenter: "mouseover", 5763 mouseleave: "mouseout", 5764 pointerenter: "pointerover", 5765 pointerleave: "pointerout" 5766}, function( orig, fix ) { 5767 jQuery.event.special[ orig ] = { 5768 delegateType: fix, 5769 bindType: fix, 5770 5771 handle: function( event ) { 5772 var ret, 5773 target = this, 5774 related = event.relatedTarget, 5775 handleObj = event.handleObj; 5776 5777 // For mouseenter/leave call the handler if related is outside the target. 5778 // NB: No relatedTarget if the mouse left/entered the browser window 5779 if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { 5780 event.type = handleObj.origType; 5781 ret = handleObj.handler.apply( this, arguments ); 5782 event.type = fix; 5783 } 5784 return ret; 5785 } 5786 }; 5787} ); 5788 5789jQuery.fn.extend( { 5790 5791 on: function( types, selector, data, fn ) { 5792 return on( this, types, selector, data, fn ); 5793 }, 5794 one: function( types, selector, data, fn ) { 5795 return on( this, types, selector, data, fn, 1 ); 5796 }, 5797 off: function( types, selector, fn ) { 5798 var handleObj, type; 5799 if ( types && types.preventDefault && types.handleObj ) { 5800 5801 // ( event ) dispatched jQuery.Event 5802 handleObj = types.handleObj; 5803 jQuery( types.delegateTarget ).off( 5804 handleObj.namespace ? 5805 handleObj.origType + "." + handleObj.namespace : 5806 handleObj.origType, 5807 handleObj.selector, 5808 handleObj.handler 5809 ); 5810 return this; 5811 } 5812 if ( typeof types === "object" ) { 5813 5814 // ( types-object [, selector] ) 5815 for ( type in types ) { 5816 this.off( type, selector, types[ type ] ); 5817 } 5818 return this; 5819 } 5820 if ( selector === false || typeof selector === "function" ) { 5821 5822 // ( types [, fn] ) 5823 fn = selector; 5824 selector = undefined; 5825 } 5826 if ( fn === false ) { 5827 fn = returnFalse; 5828 } 5829 return this.each( function() { 5830 jQuery.event.remove( this, types, fn, selector ); 5831 } ); 5832 } 5833} ); 5834 5835 5836var 5837 5838 // Support: IE <=10 - 11, Edge 12 - 13 only 5839 // In IE/Edge using regex groups here causes severe slowdowns. 5840 // See https://connect.microsoft.com/IE/feedback/details/1736512/ 5841 rnoInnerhtml = /<script|<style|<link/i, 5842 5843 // checked="checked" or checked 5844 rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, 5845 5846 rcleanScript = /^\s*<!\[CDATA\[|\]\]>\s*$/g; 5847 5848// Prefer a tbody over its parent table for containing new rows 5849function manipulationTarget( elem, content ) { 5850 if ( nodeName( elem, "table" ) && 5851 nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { 5852 5853 return jQuery( elem ).children( "tbody" )[ 0 ] || elem; 5854 } 5855 5856 return elem; 5857} 5858 5859// Replace/restore the type attribute of script elements for safe DOM manipulation 5860function disableScript( elem ) { 5861 elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; 5862 return elem; 5863} 5864function restoreScript( elem ) { 5865 if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { 5866 elem.type = elem.type.slice( 5 ); 5867 } else { 5868 elem.removeAttribute( "type" ); 5869 } 5870 5871 return elem; 5872} 5873 5874function cloneCopyEvent( src, dest ) { 5875 var i, l, type, pdataOld, udataOld, udataCur, events; 5876
vendor: 6,382 bytes, lines 5877-6106
5877 if ( dest.nodeType !== 1 ) { 5878 return; 5879 } 5880 5881 // 1. Copy private data: events, handlers, etc. 5882 if ( dataPriv.hasData( src ) ) { 5883 pdataOld = dataPriv.get( src ); 5884 events = pdataOld.events; 5885 5886 if ( events ) { 5887 dataPriv.remove( dest, "handle events" ); 5888 5889 for ( type in events ) { 5890 for ( i = 0, l = events[ type ].length; i < l; i++ ) { 5891 jQuery.event.add( dest, type, events[ type ][ i ] ); 5892 } 5893 } 5894 } 5895 } 5896 5897 // 2. Copy user data 5898 if ( dataUser.hasData( src ) ) { 5899 udataOld = dataUser.access( src ); 5900 udataCur = jQuery.extend( {}, udataOld ); 5901 5902 dataUser.set( dest, udataCur ); 5903 } 5904} 5905 5906// Fix IE bugs, see support tests 5907function fixInput( src, dest ) { 5908 var nodeName = dest.nodeName.toLowerCase(); 5909 5910 // Fails to persist the checked state of a cloned checkbox or radio button. 5911 if ( nodeName === "input" && rcheckableType.test( src.type ) ) { 5912 dest.checked = src.checked; 5913 5914 // Fails to return the selected option to the default selected state when cloning options 5915 } else if ( nodeName === "input" || nodeName === "textarea" ) { 5916 dest.defaultValue = src.defaultValue; 5917 } 5918} 5919 5920function domManip( collection, args, callback, ignored ) { 5921 5922 // Flatten any nested arrays 5923 args = flat( args ); 5924 5925 var fragment, first, scripts, hasScripts, node, doc, 5926 i = 0, 5927 l = collection.length, 5928 iNoClone = l - 1, 5929 value = args[ 0 ], 5930 valueIsFunction = isFunction( value ); 5931 5932 // We can't cloneNode fragments that contain checked, in WebKit 5933 if ( valueIsFunction || 5934 ( l > 1 && typeof value === "string" && 5935 !support.checkClone && rchecked.test( value ) ) ) { 5936 return collection.each( function( index ) { 5937 var self = collection.eq( index ); 5938 if ( valueIsFunction ) { 5939 args[ 0 ] = value.call( this, index, self.html() ); 5940 } 5941 domManip( self, args, callback, ignored ); 5942 } ); 5943 } 5944 5945 if ( l ) { 5946 fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); 5947 first = fragment.firstChild; 5948 5949 if ( fragment.childNodes.length === 1 ) { 5950 fragment = first; 5951 } 5952 5953 // Require either new content or an interest in ignored elements to invoke the callback 5954 if ( first || ignored ) { 5955 scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); 5956 hasScripts = scripts.length; 5957 5958 // Use the original fragment for the last item 5959 // instead of the first because it can end up 5960 // being emptied incorrectly in certain situations (trac-8070). 5961 for ( ; i < l; i++ ) { 5962 node = fragment; 5963 5964 if ( i !== iNoClone ) { 5965 node = jQuery.clone( node, true, true ); 5966 5967 // Keep references to cloned scripts for later restoration 5968 if ( hasScripts ) { 5969 5970 // Support: Android <=4.0 only, PhantomJS 1 only 5971 // push.apply(_, arraylike) throws on ancient WebKit 5972 jQuery.merge( scripts, getAll( node, "script" ) ); 5973 } 5974 } 5975 5976 callback.call( collection[ i ], node, i ); 5977 } 5978 5979 if ( hasScripts ) { 5980 doc = scripts[ scripts.length - 1 ].ownerDocument; 5981 5982 // Re-enable scripts 5983 jQuery.map( scripts, restoreScript ); 5984 5985 // Evaluate executable scripts on first document insertion 5986 for ( i = 0; i < hasScripts; i++ ) { 5987 node = scripts[ i ]; 5988 if ( rscriptType.test( node.type || "" ) && 5989 !dataPriv.access( node, "globalEval" ) && 5990 jQuery.contains( doc, node ) ) { 5991 5992 if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { 5993 5994 // Optional AJAX dependency, but won't run scripts if not present 5995 if ( jQuery._evalUrl && !node.noModule ) { 5996 jQuery._evalUrl( node.src, { 5997 nonce: node.nonce || node.getAttribute( "nonce" ) 5998 }, doc ); 5999 } 6000 } else { 6001 6002 // Unwrap a CDATA section containing script contents. This shouldn't be 6003 // needed as in XML documents they're already not visible when 6004 // inspecting element contents and in HTML documents they have no 6005 // meaning but we're preserving that logic for backwards compatibility. 6006 // This will be removed completely in 4.0. See gh-4904. 6007 DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); 6008 } 6009 } 6010 } 6011 } 6012 } 6013 } 6014 6015 return collection; 6016} 6017 6018function remove( elem, selector, keepData ) { 6019 var node, 6020 nodes = selector ? jQuery.filter( selector, elem ) : elem, 6021 i = 0; 6022 6023 for ( ; ( node = nodes[ i ] ) != null; i++ ) { 6024 if ( !keepData && node.nodeType === 1 ) { 6025 jQuery.cleanData( getAll( node ) ); 6026 } 6027 6028 if ( node.parentNode ) { 6029 if ( keepData && isAttached( node ) ) { 6030 setGlobalEval( getAll( node, "script" ) ); 6031 } 6032 node.parentNode.removeChild( node ); 6033 } 6034 } 6035 6036 return elem; 6037} 6038 6039jQuery.extend( { 6040 htmlPrefilter: function( html ) { 6041 return html; 6042 }, 6043 6044 clone: function( elem, dataAndEvents, deepDataAndEvents ) { 6045 var i, l, srcElements, destElements, 6046 clone = elem.cloneNode( true ), 6047 inPage = isAttached( elem ); 6048 6049 // Fix IE cloning issues 6050 if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && 6051 !jQuery.isXMLDoc( elem ) ) { 6052 6053 // We eschew jQuery#find here for performance reasons: 6054 // https://jsperf.com/getall-vs-sizzle/2 6055 destElements = getAll( clone ); 6056 srcElements = getAll( elem ); 6057 6058 for ( i = 0, l = srcElements.length; i < l; i++ ) { 6059 fixInput( srcElements[ i ], destElements[ i ] ); 6060 } 6061 } 6062 6063 // Copy the events from the original to the clone 6064 if ( dataAndEvents ) { 6065 if ( deepDataAndEvents ) { 6066 srcElements = srcElements || getAll( elem ); 6067 destElements = destElements || getAll( clone ); 6068 6069 for ( i = 0, l = srcElements.length; i < l; i++ ) { 6070 cloneCopyEvent( srcElements[ i ], destElements[ i ] ); 6071 } 6072 } else { 6073 cloneCopyEvent( elem, clone ); 6074 } 6075 } 6076 6077 // Preserve script evaluation history 6078 destElements = getAll( clone, "script" ); 6079 if ( destElements.length > 0 ) { 6080 setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); 6081 } 6082 6083 // Return the cloned set 6084 return clone; 6085 }, 6086 6087 cleanData: function( elems ) { 6088 var data, elem, type, 6089 special = jQuery.event.special, 6090 i = 0; 6091 6092 for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { 6093 if ( acceptData( elem ) ) { 6094 if ( ( data = elem[ dataPriv.expando ] ) ) { 6095 if ( data.events ) { 6096 for ( type in data.events ) { 6097 if ( special[ type ] ) { 6098 jQuery.event.remove( elem, type ); 6099 6100 // This is a shortcut to avoid jQuery.event.remove's overhead 6101 } else { 6102 jQuery.removeEvent( elem, type, data.handle ); 6103 } 6104 } 6105 } 6106
vendor: 1,119 bytes, lines 6107-6151
6107 // Support: Chrome <=35 - 45+ 6108 // Assign undefined instead of using delete, see Data#remove 6109 elem[ dataPriv.expando ] = undefined; 6110 } 6111 if ( elem[ dataUser.expando ] ) { 6112 6113 // Support: Chrome <=35 - 45+ 6114 // Assign undefined instead of using delete, see Data#remove 6115 elem[ dataUser.expando ] = undefined; 6116 } 6117 } 6118 } 6119 } 6120} ); 6121 6122jQuery.fn.extend( { 6123 detach: function( selector ) { 6124 return remove( this, selector, true ); 6125 }, 6126 6127 remove: function( selector ) { 6128 return remove( this, selector ); 6129 }, 6130 6131 text: function( value ) { 6132 return access( this, function( value ) { 6133 return value === undefined ? 6134 jQuery.text( this ) : 6135 this.empty().each( function() { 6136 if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { 6137 this.textContent = value; 6138 } 6139 } ); 6140 }, null, value, arguments.length ); 6141 }, 6142 6143 append: function() { 6144 return domManip( this, arguments, function( elem ) { 6145 if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { 6146 var target = manipulationTarget( this, elem ); 6147 target.appendChild( elem ); 6148 } 6149 } ); 6150 }, 6151
vendor: 4,514 bytes, lines 6152-6343
6152 prepend: function() { 6153 return domManip( this, arguments, function( elem ) { 6154 if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { 6155 var target = manipulationTarget( this, elem ); 6156 target.insertBefore( elem, target.firstChild ); 6157 } 6158 } ); 6159 }, 6160 6161 before: function() { 6162 return domManip( this, arguments, function( elem ) { 6163 if ( this.parentNode ) { 6164 this.parentNode.insertBefore( elem, this ); 6165 } 6166 } ); 6167 }, 6168 6169 after: function() { 6170 return domManip( this, arguments, function( elem ) { 6171 if ( this.parentNode ) { 6172 this.parentNode.insertBefore( elem, this.nextSibling ); 6173 } 6174 } ); 6175 }, 6176 6177 empty: function() { 6178 var elem, 6179 i = 0; 6180 6181 for ( ; ( elem = this[ i ] ) != null; i++ ) { 6182 if ( elem.nodeType === 1 ) { 6183 6184 // Prevent memory leaks 6185 jQuery.cleanData( getAll( elem, false ) ); 6186 6187 // Remove any remaining nodes 6188 elem.textContent = ""; 6189 } 6190 } 6191 6192 return this; 6193 }, 6194 6195 clone: function( dataAndEvents, deepDataAndEvents ) { 6196 dataAndEvents = dataAndEvents == null ? false : dataAndEvents; 6197 deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; 6198 6199 return this.map( function() { 6200 return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); 6201 } ); 6202 }, 6203 6204 html: function( value ) { 6205 return access( this, function( value ) { 6206 var elem = this[ 0 ] || {}, 6207 i = 0, 6208 l = this.length; 6209 6210 if ( value === undefined && elem.nodeType === 1 ) { 6211 return elem.innerHTML; 6212 } 6213 6214 // See if we can take a shortcut and just use innerHTML 6215 if ( typeof value === "string" && !rnoInnerhtml.test( value ) && 6216 !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { 6217 6218 value = jQuery.htmlPrefilter( value ); 6219 6220 try { 6221 for ( ; i < l; i++ ) { 6222 elem = this[ i ] || {}; 6223 6224 // Remove element nodes and prevent memory leaks 6225 if ( elem.nodeType === 1 ) { 6226 jQuery.cleanData( getAll( elem, false ) ); 6227 elem.innerHTML = value; 6228 } 6229 } 6230 6231 elem = 0; 6232 6233 // If using innerHTML throws an exception, use the fallback method 6234 } catch ( e ) {} 6235 } 6236 6237 if ( elem ) { 6238 this.empty().append( value ); 6239 } 6240 }, null, value, arguments.length ); 6241 }, 6242 6243 replaceWith: function() { 6244 var ignored = []; 6245 6246 // Make the changes, replacing each non-ignored context element with the new content 6247 return domManip( this, arguments, function( elem ) { 6248 var parent = this.parentNode; 6249 6250 if ( jQuery.inArray( this, ignored ) < 0 ) { 6251 jQuery.cleanData( getAll( this ) ); 6252 if ( parent ) { 6253 parent.replaceChild( elem, this ); 6254 } 6255 } 6256 6257 // Force callback invocation 6258 }, ignored ); 6259 } 6260} ); 6261 6262jQuery.each( { 6263 appendTo: "append", 6264 prependTo: "prepend", 6265 insertBefore: "before", 6266 insertAfter: "after", 6267 replaceAll: "replaceWith" 6268}, function( name, original ) { 6269 jQuery.fn[ name ] = function( selector ) { 6270 var elems, 6271 ret = [], 6272 insert = jQuery( selector ), 6273 last = insert.length - 1, 6274 i = 0; 6275 6276 for ( ; i <= last; i++ ) { 6277 elems = i === last ? this : this.clone( true ); 6278 jQuery( insert[ i ] )[ original ]( elems ); 6279 6280 // Support: Android <=4.0 only, PhantomJS 1 only 6281 // .get() because push.apply(_, arraylike) throws on ancient WebKit 6282 push.apply( ret, elems.get() ); 6283 } 6284 6285 return this.pushStack( ret ); 6286 }; 6287} ); 6288var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 6289 6290var rcustomProp = /^--/; 6291 6292 6293var getStyles = function( elem ) { 6294 6295 // Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150) 6296 // IE throws on elements created in popups 6297 // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" 6298 var view = elem.ownerDocument.defaultView; 6299 6300 if ( !view || !view.opener ) { 6301 view = window; 6302 } 6303 6304 return view.getComputedStyle( elem ); 6305 }; 6306 6307var swap = function( elem, options, callback ) { 6308 var ret, name, 6309 old = {}; 6310 6311 // Remember the old values, and insert the new ones 6312 for ( name in options ) { 6313 old[ name ] = elem.style[ name ]; 6314 elem.style[ name ] = options[ name ]; 6315 } 6316 6317 ret = callback.call( elem ); 6318 6319 // Revert the old values 6320 for ( name in options ) { 6321 elem.style[ name ] = old[ name ]; 6322 } 6323 6324 return ret; 6325}; 6326 6327 6328var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); 6329 6330 6331 6332( function() { 6333 6334 // Executing both pixelPosition & boxSizingReliable tests require only one layout 6335 // so they're executed at the same time to save the second computation. 6336 function computeStyleTests() { 6337 6338 // This is a singleton, we need to execute it only once 6339 if ( !div ) { 6340 return; 6341 } 6342 6343 container.style.cssText = "position:absolute;
vendor: 4,156 bytes, lines 6343-6462
6343left:-11111px;width:60px;" + 6344 "margin-top:1px;padding:0;border:0"; 6345 div.style.cssText = 6346 "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + 6347 "margin:auto;border:1px;padding:1px;" + 6348 "width:60%;top:1%"; 6349 documentElement.appendChild( container ).appendChild( div ); 6350 6351 var divStyle = window.getComputedStyle( div ); 6352 pixelPositionVal = divStyle.top !== "1%"; 6353 6354 // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 6355 reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; 6356 6357 // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 6358 // Some styles come back with percentage values, even though they shouldn't 6359 div.style.right = "60%"; 6360 pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; 6361 6362 // Support: IE 9 - 11 only 6363 // Detect misreporting of content dimensions for box-sizing:border-box elements 6364 boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; 6365 6366 // Support: IE 9 only 6367 // Detect overflow:scroll screwiness (gh-3699) 6368 // Support: Chrome <=64 6369 // Don't get tricked when zoom affects offsetWidth (gh-4029) 6370 div.style.position = "absolute"; 6371 scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; 6372 6373 documentElement.removeChild( container ); 6374 6375 // Nullify the div so it wouldn't be stored in the memory and 6376 // it will also be a sign that checks already performed 6377 div = null; 6378 } 6379 6380 function roundPixelMeasures( measure ) { 6381 return Math.round( parseFloat( measure ) ); 6382 } 6383 6384 var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, 6385 reliableTrDimensionsVal, reliableMarginLeftVal, 6386 container = document.createElement( "div" ), 6387 div = document.createElement( "div" ); 6388 6389 // Finish early in limited (non-browser) environments 6390 if ( !div.style ) { 6391 return; 6392 } 6393 6394 // Support: IE <=9 - 11 only 6395 // Style of cloned element affects source element cloned (trac-8908) 6396 div.style.backgroundClip = "content-box"; 6397 div.cloneNode( true ).style.backgroundClip = ""; 6398 support.clearCloneStyle = div.style.backgroundClip === "content-box"; 6399 6400 jQuery.extend( support, { 6401 boxSizingReliable: function() { 6402 computeStyleTests(); 6403 return boxSizingReliableVal; 6404 }, 6405 pixelBoxStyles: function() { 6406 computeStyleTests(); 6407 return pixelBoxStylesVal; 6408 }, 6409 pixelPosition: function() { 6410 computeStyleTests(); 6411 return pixelPositionVal; 6412 }, 6413 reliableMarginLeft: function() { 6414 computeStyleTests(); 6415 return reliableMarginLeftVal; 6416 }, 6417 scrollboxSize: function() { 6418 computeStyleTests(); 6419 return scrollboxSizeVal; 6420 }, 6421 6422 // Support: IE 9 - 11+, Edge 15 - 18+ 6423 // IE/Edge misreport `getComputedStyle` of table rows with width/height 6424 // set in CSS while `offset*` properties report correct values. 6425 // Behavior in IE 9 is more subtle than in newer versions & it passes 6426 // some versions of this test; make sure not to make it pass there! 6427 // 6428 // Support: Firefox 70+ 6429 // Only Firefox includes border widths 6430 // in computed dimensions. (gh-4529) 6431 reliableTrDimensions: function() { 6432 var table, tr, trChild, trStyle; 6433 if ( reliableTrDimensionsVal == null ) { 6434 table = document.createElement( "table" ); 6435 tr = document.createElement( "tr" ); 6436 trChild = document.createElement( "div" ); 6437 6438 table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; 6439 tr.style.cssText = "box-sizing:content-box;border:1px solid"; 6440 6441 // Support: Chrome 86+ 6442 // Height set through cssText does not get applied. 6443 // Computed height then comes back as 0. 6444 tr.style.height = "1px"; 6445 trChild.style.height = "9px"; 6446 6447 // Support: Android 8 Chrome 86+ 6448 // In our bodyBackground.html iframe, 6449 // display for all div elements is set to "inline", 6450 // which causes a problem only in Android 8 Chrome 86. 6451 // Ensuring the div is `display: block` 6452 // gets around this issue. 6453 trChild.style.display = "block"; 6454 6455 documentElement 6456 .appendChild( table ) 6457 .appendChild( tr ) 6458 .appendChild( trChild ); 6459 6460 trStyle = window.getComputedStyle( tr ); 6461 reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + 6462 parseInt( trStyle.borderTopWidth, 10 ) +
vendor: 12,879 bytes, lines 6463-6889
6463 parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; 6464 6465 documentElement.removeChild( table ); 6466 } 6467 return reliableTrDimensionsVal; 6468 } 6469 } ); 6470} )(); 6471 6472 6473function curCSS( elem, name, computed ) { 6474 var width, minWidth, maxWidth, ret, 6475 isCustomProp = rcustomProp.test( name ), 6476 6477 // Support: Firefox 51+ 6478 // Retrieving style before computed somehow 6479 // fixes an issue with getting wrong values 6480 // on detached elements 6481 style = elem.style; 6482 6483 computed = computed || getStyles( elem ); 6484 6485 // getPropertyValue is needed for: 6486 // .css('filter') (IE 9 only, trac-12537) 6487 // .css('--customProperty) (gh-3144) 6488 if ( computed ) { 6489 6490 // Support: IE <=9 - 11+ 6491 // IE only supports `"float"` in `getPropertyValue`; in computed styles 6492 // it's only available as `"cssFloat"`. We no longer modify properties 6493 // sent to `.css()` apart from camelCasing, so we need to check both. 6494 // Normally, this would create difference in behavior: if 6495 // `getPropertyValue` returns an empty string, the value returned 6496 // by `.css()` would be `undefined`. This is usually the case for 6497 // disconnected elements. However, in IE even disconnected elements 6498 // with no styles return `"none"` for `getPropertyValue( "float" )` 6499 ret = computed.getPropertyValue( name ) || computed[ name ]; 6500 6501 if ( isCustomProp && ret ) { 6502 6503 // Support: Firefox 105+, Chrome <=105+ 6504 // Spec requires trimming whitespace for custom properties (gh-4926). 6505 // Firefox only trims leading whitespace. Chrome just collapses 6506 // both leading & trailing whitespace to a single space. 6507 // 6508 // Fall back to `undefined` if empty string returned. 6509 // This collapses a missing definition with property defined 6510 // and set to an empty string but there's no standard API 6511 // allowing us to differentiate them without a performance penalty 6512 // and returning `undefined` aligns with older jQuery. 6513 // 6514 // rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED 6515 // as whitespace while CSS does not, but this is not a problem 6516 // because CSS preprocessing replaces them with U+000A LINE FEED 6517 // (which *is* CSS whitespace) 6518 // https://www.w3.org/TR/css-syntax-3/#input-preprocessing 6519 ret = ret.replace( rtrimCSS, "$1" ) || undefined; 6520 } 6521 6522 if ( ret === "" && !isAttached( elem ) ) { 6523 ret = jQuery.style( elem, name ); 6524 } 6525 6526 // A tribute to the "awesome hack by Dean Edwards" 6527 // Android Browser returns percentage for some values, 6528 // but width seems to be reliably pixels. 6529 // This is against the CSSOM draft spec: 6530 // https://drafts.csswg.org/cssom/#resolved-values 6531 if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { 6532 6533 // Remember the original values 6534 width = style.width; 6535 minWidth = style.minWidth; 6536 maxWidth = style.maxWidth; 6537 6538 // Put in the new values to get a computed value out 6539 style.minWidth = style.maxWidth = style.width = ret; 6540 ret = computed.width; 6541 6542 // Revert the changed values 6543 style.width = width; 6544 style.minWidth = minWidth; 6545 style.maxWidth = maxWidth; 6546 } 6547 } 6548 6549 return ret !== undefined ? 6550 6551 // Support: IE <=9 - 11 only 6552 // IE returns zIndex value as an integer. 6553 ret + "" : 6554 ret; 6555} 6556 6557 6558function addGetHookIf( conditionFn, hookFn ) { 6559 6560 // Define the hook, we'll check on the first run if it's really needed. 6561 return { 6562 get: function() { 6563 if ( conditionFn() ) { 6564 6565 // Hook not needed (or it's not possible to use it due 6566 // to missing dependency), remove it. 6567 delete this.get; 6568 return; 6569 } 6570 6571 // Hook needed; redefine it so that the support test is not executed again. 6572 return ( this.get = hookFn ).apply( this, arguments ); 6573 } 6574 }; 6575} 6576 6577 6578var cssPrefixes = [ "Webkit", "Moz", "ms" ], 6579 emptyStyle = document.createElement( "div" ).style, 6580 vendorProps = {}; 6581 6582// Return a vendor-prefixed property or undefined 6583function vendorPropName( name ) { 6584 6585 // Check for vendor prefixed names 6586 var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), 6587 i = cssPrefixes.length; 6588 6589 while ( i-- ) { 6590 name = cssPrefixes[ i ] + capName; 6591 if ( name in emptyStyle ) { 6592 return name; 6593 } 6594 } 6595} 6596 6597// Return a potentially-mapped jQuery.cssProps or vendor prefixed property 6598function finalPropName( name ) { 6599 var final = jQuery.cssProps[ name ] || vendorProps[ name ]; 6600 6601 if ( final ) { 6602 return final; 6603 } 6604 if ( name in emptyStyle ) { 6605 return name; 6606 } 6607 return vendorProps[ name ] = vendorPropName( name ) || name; 6608} 6609 6610 6611var 6612 6613 // Swappable if display is none or starts with table 6614 // except "table", "table-cell", or "table-caption" 6615 // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display 6616 rdisplayswap = /^(none|table(?!-c[ea]).+)/, 6617 cssShow = { position: "absolute", visibility: "hidden", display: "block" }, 6618 cssNormalTransform = { 6619 letterSpacing: "0", 6620 fontWeight: "400" 6621 }; 6622 6623function setPositiveNumber( _elem, value, subtract ) { 6624 6625 // Any relative (+/-) values have already been 6626 // normalized at this point 6627 var matches = rcssNum.exec( value ); 6628 return matches ? 6629 6630 // Guard against undefined "subtract", e.g., when used as in cssHooks 6631 Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : 6632 value; 6633} 6634 6635function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { 6636 var i = dimension === "width" ? 1 : 0, 6637 extra = 0, 6638 delta = 0, 6639 marginDelta = 0; 6640 6641 // Adjustment may not be necessary 6642 if ( box === ( isBorderBox ? "border" : "content" ) ) { 6643 return 0; 6644 } 6645 6646 for ( ; i < 4; i += 2 ) { 6647 6648 // Both box models exclude margin 6649 // Count margin delta separately to only add it after scroll gutter adjustment. 6650 // This is needed to make negative margins work with `outerHeight( true )` (gh-3982). 6651 if ( box === "margin" ) { 6652 marginDelta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); 6653 } 6654 6655 // If we get here with a content-box, we're seeking "padding" or "border" or "margin" 6656 if ( !isBorderBox ) { 6657 6658 // Add padding 6659 delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); 6660 6661 // For "border" or "margin", add border 6662 if ( box !== "padding" ) { 6663 delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); 6664 6665 // But still keep track of it otherwise 6666 } else { 6667 extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); 6668 } 6669 6670 // If we get here with a border-box (content + padding + border), we're seeking "content" or 6671 // "padding" or "margin" 6672 } else { 6673 6674 // For "content", subtract padding 6675 if ( box === "content" ) { 6676 delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); 6677 } 6678 6679 // For "content" or "padding", subtract border 6680 if ( box !== "margin" ) { 6681 delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); 6682 } 6683 } 6684 } 6685 6686 // Account for positive content-box scroll gutter when requested by providing computedVal 6687 if ( !isBorderBox && computedVal >= 0 ) { 6688 6689 // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border 6690 // Assuming integer scroll gutter, subtract the rest and round down 6691 delta += Math.max( 0, Math.ceil( 6692 elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - 6693 computedVal - 6694 delta - 6695 extra - 6696 0.5 6697 6698 // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter 6699 // Use an explicit zero to avoid NaN (gh-3964) 6700 ) ) || 0; 6701 } 6702 6703 return delta + marginDelta; 6704} 6705 6706function getWidthOrHeight( elem, dimension, extra ) { 6707 6708 // Start with computed style 6709 var styles = getStyles( elem ), 6710 6711 // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). 6712 // Fake content-box until we know it's needed to know the true value. 6713 boxSizingNeeded = !support.boxSizingReliable() || extra, 6714 isBorderBox = boxSizingNeeded && 6715 jQuery.css( elem, "boxSizing", false, styles ) === "border-box", 6716 valueIsBorderBox = isBorderBox, 6717 6718 val = curCSS( elem, dimension, styles ), 6719 offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); 6720 6721 // Support: Firefox <=54 6722 // Return a confounding non-pixel value or feign ignorance, as appropriate. 6723 if ( rnumnonpx.test( val ) ) { 6724 if ( !extra ) { 6725 return val; 6726 } 6727 val = "auto"; 6728 } 6729 6730 6731 // Support: IE 9 - 11 only 6732 // Use offsetWidth/offsetHeight for when box sizing is unreliable. 6733 // In those cases, the computed value can be trusted to be border-box. 6734 if ( ( !support.boxSizingReliable() && isBorderBox || 6735 6736 // Support: IE 10 - 11+, Edge 15 - 18+ 6737 // IE/Edge misreport `getComputedStyle` of table rows with width/height 6738 // set in CSS while `offset*` properties report correct values. 6739 // Interestingly, in some cases IE 9 doesn't suffer from this issue. 6740 !support.reliableTrDimensions() && nodeName( elem, "tr" ) || 6741 6742 // Fall back to offsetWidth/offsetHeight when value is "auto" 6743 // This happens for inline elements with no explicit setting (gh-3571) 6744 val === "auto" || 6745 6746 // Support: Android <=4.1 - 4.3 only 6747 // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) 6748 !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && 6749 6750 // Make sure the element is visible & connected 6751 elem.getClientRects().length ) { 6752 6753 isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; 6754 6755 // Where available, offsetWidth/offsetHeight approximate border box dimensions. 6756 // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the 6757 // retrieved value as a content box dimension. 6758 valueIsBorderBox = offsetProp in elem; 6759 if ( valueIsBorderBox ) { 6760 val = elem[ offsetProp ]; 6761 } 6762 } 6763 6764 // Normalize "" and auto 6765 val = parseFloat( val ) || 0; 6766 6767 // Adjust for the element's box model 6768 return ( val + 6769 boxModelAdjustment( 6770 elem, 6771 dimension, 6772 extra || ( isBorderBox ? "border" : "content" ), 6773 valueIsBorderBox, 6774 styles, 6775 6776 // Provide the current computed size to request scroll gutter calculation (gh-3589) 6777 val 6778 ) 6779 ) + "px"; 6780} 6781 6782jQuery.extend( { 6783 6784 // Add in style property hooks for overriding the default 6785 // behavior of getting and setting a style property 6786 cssHooks: { 6787 opacity: { 6788 get: function( elem, computed ) { 6789 if ( computed ) { 6790 6791 // We should always get a number back from opacity 6792 var ret = curCSS( elem, "opacity" ); 6793 return ret === "" ? "1" : ret; 6794 } 6795 } 6796 } 6797 }, 6798 6799 // Don't automatically add "px" to these possibly-unitless properties 6800 cssNumber: { 6801 animationIterationCount: true, 6802 aspectRatio: true, 6803 borderImageSlice: true, 6804 columnCount: true, 6805 flexGrow: true, 6806 flexShrink: true, 6807 fontWeight: true, 6808 gridArea: true, 6809 gridColumn: true, 6810 gridColumnEnd: true, 6811 gridColumnStart: true, 6812 gridRow: true, 6813 gridRowEnd: true, 6814 gridRowStart: true, 6815 lineHeight: true, 6816 opacity: true, 6817 order: true, 6818 orphans: true, 6819 scale: true, 6820 widows: true, 6821 zIndex: true, 6822 zoom: true, 6823 6824 // SVG-related 6825 fillOpacity: true, 6826 floodOpacity: true, 6827 stopOpacity: true, 6828 strokeMiterlimit: true, 6829 strokeOpacity: true 6830 }, 6831 6832 // Add in properties whose names you wish to fix before 6833 // setting or getting the value 6834 cssProps: {}, 6835 6836 // Get and set the style property on a DOM Node 6837 style: function( elem, name, value, extra ) { 6838 6839 // Don't set styles on text and comment nodes 6840 if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { 6841 return; 6842 } 6843 6844 // Make sure that we're working with the right name 6845 var ret, type, hooks, 6846 origName = camelCase( name ), 6847 isCustomProp = rcustomProp.test( name ), 6848 style = elem.style; 6849 6850 // Make sure that we're working with the right name. We don't 6851 // want to query the value if it is a CSS custom property 6852 // since they are user-defined. 6853 if ( !isCustomProp ) { 6854 name = finalPropName( origName ); 6855 } 6856 6857 // Gets hook for the prefixed version, then unprefixed version 6858 hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; 6859 6860 // Check if we're setting a value 6861 if ( value !== undefined ) { 6862 type = typeof value; 6863 6864 // Convert "+=" or "-=" to relative numbers (trac-7345) 6865 if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { 6866 value = adjustCSS( elem, name, ret ); 6867 6868 // Fixes bug trac-9237 6869 type = "number"; 6870 } 6871 6872 // Make sure that null and NaN values aren't set (trac-7116) 6873 if ( value == null || value !== value ) { 6874 return; 6875 } 6876 6877 // If a number was passed in, add the unit (except for certain CSS properties) 6878 // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append 6879 // "px" to a few hardcoded values. 6880 if ( type === "number" && !isCustomProp ) { 6881 value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); 6882 } 6883 6884 // background-* props affect original clone's values 6885 if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { 6886 style[ name ] = "inherit"; 6887 } 6888 6889 // If a hook was provided, use that value, otherwise just set the specified value
vendor: 16,052 bytes, lines 6890-7494
6890 if ( !hooks || !( "set" in hooks ) || 6891 ( value = hooks.set( elem, value, extra ) ) !== undefined ) { 6892 6893 if ( isCustomProp ) { 6894 style.setProperty( name, value ); 6895 } else { 6896 style[ name ] = value; 6897 } 6898 } 6899 6900 } else { 6901 6902 // If a hook was provided get the non-computed value from there 6903 if ( hooks && "get" in hooks && 6904 ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { 6905 6906 return ret; 6907 } 6908 6909 // Otherwise just get the value from the style object 6910 return style[ name ]; 6911 } 6912 }, 6913 6914 css: function( elem, name, extra, styles ) { 6915 var val, num, hooks, 6916 origName = camelCase( name ), 6917 isCustomProp = rcustomProp.test( name ); 6918 6919 // Make sure that we're working with the right name. We don't 6920 // want to modify the value if it is a CSS custom property 6921 // since they are user-defined. 6922 if ( !isCustomProp ) { 6923 name = finalPropName( origName ); 6924 } 6925 6926 // Try prefixed name followed by the unprefixed name 6927 hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; 6928 6929 // If a hook was provided get the computed value from there 6930 if ( hooks && "get" in hooks ) { 6931 val = hooks.get( elem, true, extra ); 6932 } 6933 6934 // Otherwise, if a way to get the computed value exists, use that 6935 if ( val === undefined ) { 6936 val = curCSS( elem, name, styles ); 6937 } 6938 6939 // Convert "normal" to computed value 6940 if ( val === "normal" && name in cssNormalTransform ) { 6941 val = cssNormalTransform[ name ]; 6942 } 6943 6944 // Make numeric if forced or a qualifier was provided and val looks numeric 6945 if ( extra === "" || extra ) { 6946 num = parseFloat( val ); 6947 return extra === true || isFinite( num ) ? num || 0 : val; 6948 } 6949 6950 return val; 6951 } 6952} ); 6953 6954jQuery.each( [ "height", "width" ], function( _i, dimension ) { 6955 jQuery.cssHooks[ dimension ] = { 6956 get: function( elem, computed, extra ) { 6957 if ( computed ) { 6958 6959 // Certain elements can have dimension info if we invisibly show them 6960 // but it must have a current display style that would benefit 6961 return rdisplayswap.test( jQuery.css( elem, "display" ) ) && 6962 6963 // Support: Safari 8+ 6964 // Table columns in Safari have non-zero offsetWidth & zero 6965 // getBoundingClientRect().width unless display is changed. 6966 // Support: IE <=11 only 6967 // Running getBoundingClientRect on a disconnected node 6968 // in IE throws an error. 6969 ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? 6970 swap( elem, cssShow, function() { 6971 return getWidthOrHeight( elem, dimension, extra ); 6972 } ) : 6973 getWidthOrHeight( elem, dimension, extra ); 6974 } 6975 }, 6976 6977 set: function( elem, value, extra ) { 6978 var matches, 6979 styles = getStyles( elem ), 6980 6981 // Only read styles.position if the test has a chance to fail 6982 // to avoid forcing a reflow. 6983 scrollboxSizeBuggy = !support.scrollboxSize() && 6984 styles.position === "absolute", 6985 6986 // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) 6987 boxSizingNeeded = scrollboxSizeBuggy || extra, 6988 isBorderBox = boxSizingNeeded && 6989 jQuery.css( elem, "boxSizing", false, styles ) === "border-box", 6990 subtract = extra ? 6991 boxModelAdjustment( 6992 elem, 6993 dimension, 6994 extra, 6995 isBorderBox, 6996 styles 6997 ) : 6998 0; 6999 7000 // Account for unreliable border-box dimensions by comparing offset* to computed and 7001 // faking a content-box to get border and padding (gh-3699) 7002 if ( isBorderBox && scrollboxSizeBuggy ) { 7003 subtract -= Math.ceil( 7004 elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - 7005 parseFloat( styles[ dimension ] ) - 7006 boxModelAdjustment( elem, dimension, "border", false, styles ) - 7007 0.5 7008 ); 7009 } 7010 7011 // Convert to pixels if value adjustment is needed 7012 if ( subtract && ( matches = rcssNum.exec( value ) ) && 7013 ( matches[ 3 ] || "px" ) !== "px" ) { 7014 7015 elem.style[ dimension ] = value; 7016 value = jQuery.css( elem, dimension ); 7017 } 7018 7019 return setPositiveNumber( elem, value, subtract ); 7020 } 7021 }; 7022} ); 7023 7024jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, 7025 function( elem, computed ) { 7026 if ( computed ) { 7027 return ( parseFloat( curCSS( elem, "marginLeft" ) ) || 7028 elem.getBoundingClientRect().left - 7029 swap( elem, { marginLeft: 0 }, function() { 7030 return elem.getBoundingClientRect().left; 7031 } ) 7032 ) + "px"; 7033 } 7034 } 7035); 7036 7037// These hooks are used by animate to expand properties 7038jQuery.each( { 7039 margin: "", 7040 padding: "", 7041 border: "Width" 7042}, function( prefix, suffix ) { 7043 jQuery.cssHooks[ prefix + suffix ] = { 7044 expand: function( value ) { 7045 var i = 0, 7046 expanded = {}, 7047 7048 // Assumes a single number if not a string 7049 parts = typeof value === "string" ? value.split( " " ) : [ value ]; 7050 7051 for ( ; i < 4; i++ ) { 7052 expanded[ prefix + cssExpand[ i ] + suffix ] = 7053 parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; 7054 } 7055 7056 return expanded; 7057 } 7058 }; 7059 7060 if ( prefix !== "margin" ) { 7061 jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; 7062 } 7063} ); 7064 7065jQuery.fn.extend( { 7066 css: function( name, value ) { 7067 return access( this, function( elem, name, value ) { 7068 var styles, len, 7069 map = {}, 7070 i = 0; 7071 7072 if ( Array.isArray( name ) ) { 7073 styles = getStyles( elem ); 7074 len = name.length; 7075 7076 for ( ; i < len; i++ ) { 7077 map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); 7078 } 7079 7080 return map; 7081 } 7082 7083 return value !== undefined ? 7084 jQuery.style( elem, name, value ) : 7085 jQuery.css( elem, name ); 7086 }, name, value, arguments.length > 1 ); 7087 } 7088} ); 7089 7090 7091function Tween( elem, options, prop, end, easing ) { 7092 return new Tween.prototype.init( elem, options, prop, end, easing ); 7093} 7094jQuery.Tween = Tween; 7095 7096Tween.prototype = { 7097 constructor: Tween, 7098 init: function( elem, options, prop, end, easing, unit ) { 7099 this.elem = elem; 7100 this.prop = prop; 7101 this.easing = easing || jQuery.easing._default; 7102 this.options = options; 7103 this.start = this.now = this.cur(); 7104 this.end = end; 7105 this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); 7106 }, 7107 cur: function() { 7108 var hooks = Tween.propHooks[ this.prop ]; 7109 7110 return hooks && hooks.get ? 7111 hooks.get( this ) : 7112 Tween.propHooks._default.get( this ); 7113 }, 7114 run: function( percent ) { 7115 var eased, 7116 hooks = Tween.propHooks[ this.prop ]; 7117 7118 if ( this.options.duration ) { 7119 this.pos = eased = jQuery.easing[ this.easing ]( 7120 percent, this.options.duration * percent, 0, 1, this.options.duration 7121 ); 7122 } else { 7123 this.pos = eased = percent; 7124 } 7125 this.now = ( this.end - this.start ) * eased + this.start; 7126 7127 if ( this.options.step ) { 7128 this.options.step.call( this.elem, this.now, this ); 7129 } 7130 7131 if ( hooks && hooks.set ) { 7132 hooks.set( this ); 7133 } else { 7134 Tween.propHooks._default.set( this ); 7135 } 7136 return this; 7137 } 7138}; 7139 7140Tween.prototype.init.prototype = Tween.prototype; 7141 7142Tween.propHooks = { 7143 _default: { 7144 get: function( tween ) { 7145 var result; 7146 7147 // Use a property on the element directly when it is not a DOM element, 7148 // or when there is no matching style property that exists. 7149 if ( tween.elem.nodeType !== 1 || 7150 tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { 7151 return tween.elem[ tween.prop ]; 7152 } 7153 7154 // Passing an empty string as a 3rd parameter to .css will automatically 7155 // attempt a parseFloat and fallback to a string if the parse fails. 7156 // Simple values such as "10px" are parsed to Float; 7157 // complex values such as "rotate(1rad)" are returned as-is. 7158 result = jQuery.css( tween.elem, tween.prop, "" ); 7159 7160 // Empty strings, null, undefined and "auto" are converted to 0. 7161 return !result || result === "auto" ? 0 : result; 7162 }, 7163 set: function( tween ) { 7164 7165 // Use step hook for back compat. 7166 // Use cssHook if its there. 7167 // Use .style if available and use plain properties where available. 7168 if ( jQuery.fx.step[ tween.prop ] ) { 7169 jQuery.fx.step[ tween.prop ]( tween ); 7170 } else if ( tween.elem.nodeType === 1 && ( 7171 jQuery.cssHooks[ tween.prop ] || 7172 tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { 7173 jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); 7174 } else { 7175 tween.elem[ tween.prop ] = tween.now; 7176 } 7177 } 7178 } 7179}; 7180 7181// Support: IE <=9 only 7182// Panic based approach to setting things on disconnected nodes 7183Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { 7184 set: function( tween ) { 7185 if ( tween.elem.nodeType && tween.elem.parentNode ) { 7186 tween.elem[ tween.prop ] = tween.now; 7187 } 7188 } 7189}; 7190 7191jQuery.easing = { 7192 linear: function( p ) { 7193 return p; 7194 }, 7195 swing: function( p ) { 7196 return 0.5 - Math.cos( p * Math.PI ) / 2; 7197 }, 7198 _default: "swing" 7199}; 7200 7201jQuery.fx = Tween.prototype.init; 7202 7203// Back compat <1.8 extension point 7204jQuery.fx.step = {}; 7205 7206 7207 7208 7209var 7210 fxNow, inProgress, 7211 rfxtypes = /^(?:toggle|show|hide)$/, 7212 rrun = /queueHooks$/; 7213 7214function schedule() { 7215 if ( inProgress ) { 7216 if ( document.hidden === false && window.requestAnimationFrame ) { 7217 window.requestAnimationFrame( schedule ); 7218 } else { 7219 window.setTimeout( schedule, jQuery.fx.interval ); 7220 } 7221 7222 jQuery.fx.tick(); 7223 } 7224} 7225 7226// Animations created synchronously will run synchronously 7227function createFxNow() { 7228 window.setTimeout( function() { 7229 fxNow = undefined; 7230 } ); 7231 return ( fxNow = Date.now() ); 7232} 7233 7234// Generate parameters to create a standard animation 7235function genFx( type, includeWidth ) { 7236 var which, 7237 i = 0, 7238 attrs = { height: type }; 7239 7240 // If we include width, step value is 1 to do all cssExpand values, 7241 // otherwise step value is 2 to skip over Left and Right 7242 includeWidth = includeWidth ? 1 : 0; 7243 for ( ; i < 4; i += 2 - includeWidth ) { 7244 which = cssExpand[ i ]; 7245 attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; 7246 } 7247 7248 if ( includeWidth ) { 7249 attrs.opacity = attrs.width = type; 7250 } 7251 7252 return attrs; 7253} 7254 7255function createTween( value, prop, animation ) { 7256 var tween, 7257 collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), 7258 index = 0, 7259 length = collection.length; 7260 for ( ; index < length; index++ ) { 7261 if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { 7262 7263 // We're done with this property 7264 return tween; 7265 } 7266 } 7267} 7268 7269function defaultPrefilter( elem, props, opts ) { 7270 var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, 7271 isBox = "width" in props || "height" in props, 7272 anim = this, 7273 orig = {}, 7274 style = elem.style, 7275 hidden = elem.nodeType && isHiddenWithinTree( elem ), 7276 dataShow = dataPriv.get( elem, "fxshow" ); 7277 7278 // Queue-skipping animations hijack the fx hooks 7279 if ( !opts.queue ) { 7280 hooks = jQuery._queueHooks( elem, "fx" ); 7281 if ( hooks.unqueued == null ) { 7282 hooks.unqueued = 0; 7283 oldfire = hooks.empty.fire; 7284 hooks.empty.fire = function() { 7285 if ( !hooks.unqueued ) { 7286 oldfire(); 7287 } 7288 }; 7289 } 7290 hooks.unqueued++; 7291 7292 anim.always( function() { 7293 7294 // Ensure the complete handler is called before this completes 7295 anim.always( function() { 7296 hooks.unqueued--; 7297 if ( !jQuery.queue( elem, "fx" ).length ) { 7298 hooks.empty.fire(); 7299 } 7300 } ); 7301 } ); 7302 } 7303 7304 // Detect show/hide animations 7305 for ( prop in props ) { 7306 value = props[ prop ]; 7307 if ( rfxtypes.test( value ) ) { 7308 delete props[ prop ]; 7309 toggle = toggle || value === "toggle"; 7310 if ( value === ( hidden ? "hide" : "show" ) ) { 7311 7312 // Pretend to be hidden if this is a "show" and 7313 // there is still data from a stopped show/hide 7314 if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { 7315 hidden = true; 7316 7317 // Ignore all other no-op show/hide data 7318 } else { 7319 continue; 7320 } 7321 } 7322 orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); 7323 } 7324 } 7325 7326 // Bail out if this is a no-op like .hide().hide() 7327 propTween = !jQuery.isEmptyObject( props ); 7328 if ( !propTween && jQuery.isEmptyObject( orig ) ) { 7329 return; 7330 } 7331 7332 // Restrict "overflow" and "display" styles during box animations 7333 if ( isBox && elem.nodeType === 1 ) { 7334 7335 // Support: IE <=9 - 11, Edge 12 - 15 7336 // Record all 3 overflow attributes because IE does not infer the shorthand 7337 // from identically-valued overflowX and overflowY and Edge just mirrors 7338 // the overflowX value there. 7339 opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; 7340 7341 // Identify a display type, preferring old show/hide data over the CSS cascade 7342 restoreDisplay = dataShow && dataShow.display; 7343 if ( restoreDisplay == null ) { 7344 restoreDisplay = dataPriv.get( elem, "display" ); 7345 } 7346 display = jQuery.css( elem, "display" ); 7347 if ( display === "none" ) { 7348 if ( restoreDisplay ) { 7349 display = restoreDisplay; 7350 } else { 7351 7352 // Get nonempty value(s) by temporarily forcing visibility 7353 showHide( [ elem ], true ); 7354 restoreDisplay = elem.style.display || restoreDisplay; 7355 display = jQuery.css( elem, "display" ); 7356 showHide( [ elem ] ); 7357 } 7358 } 7359 7360 // Animate inline elements as inline-block 7361 if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { 7362 if ( jQuery.css( elem, "float" ) === "none" ) { 7363 7364 // Restore the original display value at the end of pure show/hide animations 7365 if ( !propTween ) { 7366 anim.done( function() { 7367 style.display = restoreDisplay; 7368 } ); 7369 if ( restoreDisplay == null ) { 7370 display = style.display; 7371 restoreDisplay = display === "none" ? "" : display; 7372 } 7373 } 7374 style.display = "inline-block"; 7375 } 7376 } 7377 } 7378 7379 if ( opts.overflow ) { 7380 style.overflow = "hidden"; 7381 anim.always( function() { 7382 style.overflow = opts.overflow[ 0 ]; 7383 style.overflowX = opts.overflow[ 1 ]; 7384 style.overflowY = opts.overflow[ 2 ]; 7385 } ); 7386 } 7387 7388 // Implement show/hide animations 7389 propTween = false; 7390 for ( prop in orig ) { 7391 7392 // General show/hide setup for this element animation 7393 if ( !propTween ) { 7394 if ( dataShow ) { 7395 if ( "hidden" in dataShow ) { 7396 hidden = dataShow.hidden; 7397 } 7398 } else { 7399 dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); 7400 } 7401 7402 // Store hidden/visible for toggle so `.stop().toggle()` "reverses" 7403 if ( toggle ) { 7404 dataShow.hidden = !hidden; 7405 } 7406 7407 // Show elements before animating them 7408 if ( hidden ) { 7409 showHide( [ elem ], true ); 7410 } 7411 7412 /* eslint-disable no-loop-func */ 7413 7414 anim.done( function() { 7415 7416 /* eslint-enable no-loop-func */ 7417 7418 // The final step of a "hide" animation is actually hiding the element 7419 if ( !hidden ) { 7420 showHide( [ elem ] ); 7421 } 7422 dataPriv.remove( elem, "fxshow" ); 7423 for ( prop in orig ) { 7424 jQuery.style( elem, prop, orig[ prop ] ); 7425 } 7426 } ); 7427 } 7428 7429 // Per-property setup 7430 propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); 7431 if ( !( prop in dataShow ) ) { 7432 dataShow[ prop ] = propTween.start; 7433 if ( hidden ) { 7434 propTween.end = propTween.start; 7435 propTween.start = 0; 7436 } 7437 } 7438 } 7439} 7440 7441function propFilter( props, specialEasing ) { 7442 var index, name, easing, value, hooks; 7443 7444 // camelCase, specialEasing and expand cssHook pass 7445 for ( index in props ) { 7446 name = camelCase( index ); 7447 easing = specialEasing[ name ]; 7448 value = props[ index ]; 7449 if ( Array.isArray( value ) ) { 7450 easing = value[ 1 ]; 7451 value = props[ index ] = value[ 0 ]; 7452 } 7453 7454 if ( index !== name ) { 7455 props[ name ] = value; 7456 delete props[ index ]; 7457 } 7458 7459 hooks = jQuery.cssHooks[ name ]; 7460 if ( hooks && "expand" in hooks ) { 7461 value = hooks.expand( value ); 7462 delete props[ name ]; 7463 7464 // Not quite $.extend, this won't overwrite existing keys. 7465 // Reusing 'index' because we have the correct "name" 7466 for ( index in value ) { 7467 if ( !( index in props ) ) { 7468 props[ index ] = value[ index ]; 7469 specialEasing[ index ] = easing; 7470 } 7471 } 7472 } else { 7473 specialEasing[ name ] = easing; 7474 } 7475 } 7476} 7477 7478function Animation( elem, properties, options ) { 7479 var result, 7480 stopped, 7481 index = 0, 7482 length = Animation.prefilters.length, 7483 deferred = jQuery.Deferred().always( function() { 7484 7485 // Don't match elem in the :animated selector 7486 delete tick.elem; 7487 } ), 7488 tick = function() { 7489 if ( stopped ) { 7490 return false; 7491 } 7492 var currentTime = fxNow || createFxNow(), 7493 remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), 7494
vendor: 9,542 bytes, lines 7495-7885
7495 // Support: Android 2.3 only 7496 // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (trac-12497) 7497 temp = remaining / animation.duration || 0, 7498 percent = 1 - temp, 7499 index = 0, 7500 length = animation.tweens.length; 7501 7502 for ( ; index < length; index++ ) { 7503 animation.tweens[ index ].run( percent ); 7504 } 7505 7506 deferred.notifyWith( elem, [ animation, percent, remaining ] ); 7507 7508 // If there's more to do, yield 7509 if ( percent < 1 && length ) { 7510 return remaining; 7511 } 7512 7513 // If this was an empty animation, synthesize a final progress notification 7514 if ( !length ) { 7515 deferred.notifyWith( elem, [ animation, 1, 0 ] ); 7516 } 7517 7518 // Resolve the animation and report its conclusion 7519 deferred.resolveWith( elem, [ animation ] ); 7520 return false; 7521 }, 7522 animation = deferred.promise( { 7523 elem: elem, 7524 props: jQuery.extend( {}, properties ), 7525 opts: jQuery.extend( true, { 7526 specialEasing: {}, 7527 easing: jQuery.easing._default 7528 }, options ), 7529 originalProperties: properties, 7530 originalOptions: options, 7531 startTime: fxNow || createFxNow(), 7532 duration: options.duration, 7533 tweens: [], 7534 createTween: function( prop, end ) { 7535 var tween = jQuery.Tween( elem, animation.opts, prop, end, 7536 animation.opts.specialEasing[ prop ] || animation.opts.easing ); 7537 animation.tweens.push( tween ); 7538 return tween; 7539 }, 7540 stop: function( gotoEnd ) { 7541 var index = 0, 7542 7543 // If we are going to the end, we want to run all the tweens 7544 // otherwise we skip this part 7545 length = gotoEnd ? animation.tweens.length : 0; 7546 if ( stopped ) { 7547 return this; 7548 } 7549 stopped = true; 7550 for ( ; index < length; index++ ) { 7551 animation.tweens[ index ].run( 1 ); 7552 } 7553 7554 // Resolve when we played the last frame; otherwise, reject 7555 if ( gotoEnd ) { 7556 deferred.notifyWith( elem, [ animation, 1, 0 ] ); 7557 deferred.resolveWith( elem, [ animation, gotoEnd ] ); 7558 } else { 7559 deferred.rejectWith( elem, [ animation, gotoEnd ] ); 7560 } 7561 return this; 7562 } 7563 } ), 7564 props = animation.props; 7565 7566 propFilter( props, animation.opts.specialEasing ); 7567 7568 for ( ; index < length; index++ ) { 7569 result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); 7570 if ( result ) { 7571 if ( isFunction( result.stop ) ) { 7572 jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = 7573 result.stop.bind( result ); 7574 } 7575 return result; 7576 } 7577 } 7578 7579 jQuery.map( props, createTween, animation ); 7580 7581 if ( isFunction( animation.opts.start ) ) { 7582 animation.opts.start.call( elem, animation ); 7583 } 7584 7585 // Attach callbacks from options 7586 animation 7587 .progress( animation.opts.progress ) 7588 .done( animation.opts.done, animation.opts.complete ) 7589 .fail( animation.opts.fail ) 7590 .always( animation.opts.always ); 7591 7592 jQuery.fx.timer( 7593 jQuery.extend( tick, { 7594 elem: elem, 7595 anim: animation, 7596 queue: animation.opts.queue 7597 } ) 7598 ); 7599 7600 return animation; 7601} 7602 7603jQuery.Animation = jQuery.extend( Animation, { 7604 7605 tweeners: { 7606 "*": [ function( prop, value ) { 7607 var tween = this.createTween( prop, value ); 7608 adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); 7609 return tween; 7610 } ] 7611 }, 7612 7613 tweener: function( props, callback ) { 7614 if ( isFunction( props ) ) { 7615 callback = props; 7616 props = [ "*" ]; 7617 } else { 7618 props = props.match( rnothtmlwhite ); 7619 } 7620 7621 var prop, 7622 index = 0, 7623 length = props.length; 7624 7625 for ( ; index < length; index++ ) { 7626 prop = props[ index ]; 7627 Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; 7628 Animation.tweeners[ prop ].unshift( callback ); 7629 } 7630 }, 7631 7632 prefilters: [ defaultPrefilter ], 7633 7634 prefilter: function( callback, prepend ) { 7635 if ( prepend ) { 7636 Animation.prefilters.unshift( callback ); 7637 } else { 7638 Animation.prefilters.push( callback ); 7639 } 7640 } 7641} ); 7642 7643jQuery.speed = function( speed, easing, fn ) { 7644 var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { 7645 complete: fn || !fn && easing || 7646 isFunction( speed ) && speed, 7647 duration: speed, 7648 easing: fn && easing || easing && !isFunction( easing ) && easing 7649 }; 7650 7651 // Go to the end state if fx are off 7652 if ( jQuery.fx.off ) { 7653 opt.duration = 0; 7654 7655 } else { 7656 if ( typeof opt.duration !== "number" ) { 7657 if ( opt.duration in jQuery.fx.speeds ) { 7658 opt.duration = jQuery.fx.speeds[ opt.duration ]; 7659 7660 } else { 7661 opt.duration = jQuery.fx.speeds._default; 7662 } 7663 } 7664 } 7665 7666 // Normalize opt.queue - true/undefined/null -> "fx" 7667 if ( opt.queue == null || opt.queue === true ) { 7668 opt.queue = "fx"; 7669 } 7670 7671 // Queueing 7672 opt.old = opt.complete; 7673 7674 opt.complete = function() { 7675 if ( isFunction( opt.old ) ) { 7676 opt.old.call( this ); 7677 } 7678 7679 if ( opt.queue ) { 7680 jQuery.dequeue( this, opt.queue ); 7681 } 7682 }; 7683 7684 return opt; 7685}; 7686 7687jQuery.fn.extend( { 7688 fadeTo: function( speed, to, easing, callback ) { 7689 7690 // Show any hidden elements after setting opacity to 0 7691 return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() 7692 7693 // Animate to the value specified 7694 .end().animate( { opacity: to }, speed, easing, callback ); 7695 }, 7696 animate: function( prop, speed, easing, callback ) { 7697 var empty = jQuery.isEmptyObject( prop ), 7698 optall = jQuery.speed( speed, easing, callback ), 7699 doAnimation = function() { 7700 7701 // Operate on a copy of prop so per-property easing won't be lost 7702 var anim = Animation( this, jQuery.extend( {}, prop ), optall ); 7703 7704 // Empty animations, or finishing resolves immediately 7705 if ( empty || dataPriv.get( this, "finish" ) ) { 7706 anim.stop( true ); 7707 } 7708 }; 7709 7710 doAnimation.finish = doAnimation; 7711 7712 return empty || optall.queue === false ? 7713 this.each( doAnimation ) : 7714 this.queue( optall.queue, doAnimation ); 7715 }, 7716 stop: function( type, clearQueue, gotoEnd ) { 7717 var stopQueue = function( hooks ) { 7718 var stop = hooks.stop; 7719 delete hooks.stop; 7720 stop( gotoEnd ); 7721 }; 7722 7723 if ( typeof type !== "string" ) { 7724 gotoEnd = clearQueue; 7725 clearQueue = type; 7726 type = undefined; 7727 } 7728 if ( clearQueue ) { 7729 this.queue( type || "fx", [] ); 7730 } 7731 7732 return this.each( function() { 7733 var dequeue = true, 7734 index = type != null && type + "queueHooks", 7735 timers = jQuery.timers, 7736 data = dataPriv.get( this ); 7737 7738 if ( index ) { 7739 if ( data[ index ] && data[ index ].stop ) { 7740 stopQueue( data[ index ] ); 7741 } 7742 } else { 7743 for ( index in data ) { 7744 if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { 7745 stopQueue( data[ index ] ); 7746 } 7747 } 7748 } 7749 7750 for ( index = timers.length; index--; ) { 7751 if ( timers[ index ].elem === this && 7752 ( type == null || timers[ index ].queue === type ) ) { 7753 7754 timers[ index ].anim.stop( gotoEnd ); 7755 dequeue = false; 7756 timers.splice( index, 1 ); 7757 } 7758 } 7759 7760 // Start the next in the queue if the last step wasn't forced. 7761 // Timers currently will call their complete callbacks, which 7762 // will dequeue but only if they were gotoEnd. 7763 if ( dequeue || !gotoEnd ) { 7764 jQuery.dequeue( this, type ); 7765 } 7766 } ); 7767 }, 7768 finish: function( type ) { 7769 if ( type !== false ) { 7770 type = type || "fx"; 7771 } 7772 return this.each( function() { 7773 var index, 7774 data = dataPriv.get( this ), 7775 queue = data[ type + "queue" ], 7776 hooks = data[ type + "queueHooks" ], 7777 timers = jQuery.timers, 7778 length = queue ? queue.length : 0; 7779 7780 // Enable finishing flag on private data 7781 data.finish = true; 7782 7783 // Empty the queue first 7784 jQuery.queue( this, type, [] ); 7785 7786 if ( hooks && hooks.stop ) { 7787 hooks.stop.call( this, true ); 7788 } 7789 7790 // Look for any active animations, and finish them 7791 for ( index = timers.length; index--; ) { 7792 if ( timers[ index ].elem === this && timers[ index ].queue === type ) { 7793 timers[ index ].anim.stop( true ); 7794 timers.splice( index, 1 ); 7795 } 7796 } 7797 7798 // Look for any animations in the old queue and finish them 7799 for ( index = 0; index < length; index++ ) { 7800 if ( queue[ index ] && queue[ index ].finish ) { 7801 queue[ index ].finish.call( this ); 7802 } 7803 } 7804 7805 // Turn off finishing flag 7806 delete data.finish; 7807 } ); 7808 } 7809} ); 7810 7811jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { 7812 var cssFn = jQuery.fn[ name ]; 7813 jQuery.fn[ name ] = function( speed, easing, callback ) { 7814 return speed == null || typeof speed === "boolean" ? 7815 cssFn.apply( this, arguments ) : 7816 this.animate( genFx( name, true ), speed, easing, callback ); 7817 }; 7818} ); 7819 7820// Generate shortcuts for custom animations 7821jQuery.each( { 7822 slideDown: genFx( "show" ), 7823 slideUp: genFx( "hide" ), 7824 slideToggle: genFx( "toggle" ), 7825 fadeIn: { opacity: "show" }, 7826 fadeOut: { opacity: "hide" }, 7827 fadeToggle: { opacity: "toggle" } 7828}, function( name, props ) { 7829 jQuery.fn[ name ] = function( speed, easing, callback ) { 7830 return this.animate( props, speed, easing, callback ); 7831 }; 7832} ); 7833 7834jQuery.timers = []; 7835jQuery.fx.tick = function() { 7836 var timer, 7837 i = 0, 7838 timers = jQuery.timers; 7839 7840 fxNow = Date.now(); 7841 7842 for ( ; i < timers.length; i++ ) { 7843 timer = timers[ i ]; 7844 7845 // Run the timer and safely remove it when done (allowing for external removal) 7846 if ( !timer() && timers[ i ] === timer ) { 7847 timers.splice( i--, 1 ); 7848 } 7849 } 7850 7851 if ( !timers.length ) { 7852 jQuery.fx.stop(); 7853 } 7854 fxNow = undefined; 7855}; 7856 7857jQuery.fx.timer = function( timer ) { 7858 jQuery.timers.push( timer ); 7859 jQuery.fx.start(); 7860}; 7861 7862jQuery.fx.interval = 13; 7863jQuery.fx.start = function() { 7864 if ( inProgress ) { 7865 return; 7866 } 7867 7868 inProgress = true; 7869 schedule(); 7870}; 7871 7872jQuery.fx.stop = function() { 7873 inProgress = null; 7874}; 7875 7876jQuery.fx.speeds = { 7877 slow: 600, 7878 fast: 200, 7879 7880 // Default speed 7881 _default: 400 7882}; 7883 7884 7885// Based off of the plugin by Clint Helfers, with permission.
vendor: 5,177 bytes, lines 7886-8106
7886jQuery.fn.delay = function( time, type ) { 7887 time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; 7888 type = type || "fx"; 7889 7890 return this.queue( type, function( next, hooks ) { 7891 var timeout = window.setTimeout( next, time ); 7892 hooks.stop = function() { 7893 window.clearTimeout( timeout ); 7894 }; 7895 } ); 7896}; 7897 7898 7899( function() { 7900 var input = document.createElement( "input" ), 7901 select = document.createElement( "select" ), 7902 opt = select.appendChild( document.createElement( "option" ) ); 7903 7904 input.type = "checkbox"; 7905 7906 // Support: Android <=4.3 only 7907 // Default value for a checkbox should be "on" 7908 support.checkOn = input.value !== ""; 7909 7910 // Support: IE <=11 only 7911 // Must access selectedIndex to make default options select 7912 support.optSelected = opt.selected; 7913 7914 // Support: IE <=11 only 7915 // An input loses its value after becoming a radio 7916 input = document.createElement( "input" ); 7917 input.value = "t"; 7918 input.type = "radio"; 7919 support.radioValue = input.value === "t"; 7920} )(); 7921 7922 7923var boolHook, 7924 attrHandle = jQuery.expr.attrHandle; 7925 7926jQuery.fn.extend( { 7927 attr: function( name, value ) { 7928 return access( this, jQuery.attr, name, value, arguments.length > 1 ); 7929 }, 7930 7931 removeAttr: function( name ) { 7932 return this.each( function() { 7933 jQuery.removeAttr( this, name ); 7934 } ); 7935 } 7936} ); 7937 7938jQuery.extend( { 7939 attr: function( elem, name, value ) { 7940 var ret, hooks, 7941 nType = elem.nodeType; 7942 7943 // Don't get/set attributes on text, comment and attribute nodes 7944 if ( nType === 3 || nType === 8 || nType === 2 ) { 7945 return; 7946 } 7947 7948 // Fallback to prop when attributes are not supported 7949 if ( typeof elem.getAttribute === "undefined" ) { 7950 return jQuery.prop( elem, name, value ); 7951 } 7952 7953 // Attribute hooks are determined by the lowercase version 7954 // Grab necessary hook if one is defined 7955 if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { 7956 hooks = jQuery.attrHooks[ name.toLowerCase() ] || 7957 ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); 7958 } 7959 7960 if ( value !== undefined ) { 7961 if ( value === null ) { 7962 jQuery.removeAttr( elem, name ); 7963 return; 7964 } 7965 7966 if ( hooks && "set" in hooks && 7967 ( ret = hooks.set( elem, value, name ) ) !== undefined ) { 7968 return ret; 7969 } 7970 7971 elem.setAttribute( name, value + "" ); 7972 return value; 7973 } 7974 7975 if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { 7976 return ret; 7977 } 7978 7979 ret = jQuery.find.attr( elem, name ); 7980 7981 // Non-existent attributes return null, we normalize to undefined 7982 return ret == null ? undefined : ret; 7983 }, 7984 7985 attrHooks: { 7986 type: { 7987 set: function( elem, value ) { 7988 if ( !support.radioValue && value === "radio" && 7989 nodeName( elem, "input" ) ) { 7990 var val = elem.value; 7991 elem.setAttribute( "type", value ); 7992 if ( val ) { 7993 elem.value = val; 7994 } 7995 return value; 7996 } 7997 } 7998 } 7999 }, 8000 8001 removeAttr: function( elem, value ) { 8002 var name, 8003 i = 0, 8004 8005 // Attribute names can contain non-HTML whitespace characters 8006 // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 8007 attrNames = value && value.match( rnothtmlwhite ); 8008 8009 if ( attrNames && elem.nodeType === 1 ) { 8010 while ( ( name = attrNames[ i++ ] ) ) { 8011 elem.removeAttribute( name ); 8012 } 8013 } 8014 } 8015} ); 8016 8017// Hooks for boolean attributes 8018boolHook = { 8019 set: function( elem, value, name ) { 8020 if ( value === false ) { 8021 8022 // Remove boolean attributes when set to false 8023 jQuery.removeAttr( elem, name ); 8024 } else { 8025 elem.setAttribute( name, name ); 8026 } 8027 return name; 8028 } 8029}; 8030 8031jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { 8032 var getter = attrHandle[ name ] || jQuery.find.attr; 8033 8034 attrHandle[ name ] = function( elem, name, isXML ) { 8035 var ret, handle, 8036 lowercaseName = name.toLowerCase(); 8037 8038 if ( !isXML ) { 8039 8040 // Avoid an infinite loop by temporarily removing this function from the getter 8041 handle = attrHandle[ lowercaseName ]; 8042 attrHandle[ lowercaseName ] = ret; 8043 ret = getter( elem, name, isXML ) != null ? 8044 lowercaseName : 8045 null; 8046 attrHandle[ lowercaseName ] = handle; 8047 } 8048 return ret; 8049 }; 8050} ); 8051 8052 8053 8054 8055var rfocusable = /^(?:input|select|textarea|button)$/i, 8056 rclickable = /^(?:a|area)$/i; 8057 8058jQuery.fn.extend( { 8059 prop: function( name, value ) { 8060 return access( this, jQuery.prop, name, value, arguments.length > 1 ); 8061 }, 8062 8063 removeProp: function( name ) { 8064 return this.each( function() { 8065 delete this[ jQuery.propFix[ name ] || name ]; 8066 } ); 8067 } 8068} ); 8069 8070jQuery.extend( { 8071 prop: function( elem, name, value ) { 8072 var ret, hooks, 8073 nType = elem.nodeType; 8074 8075 // Don't get/set properties on text, comment and attribute nodes 8076 if ( nType === 3 || nType === 8 || nType === 2 ) { 8077 return; 8078 } 8079 8080 if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { 8081 8082 // Fix name and attach hooks 8083 name = jQuery.propFix[ name ] || name; 8084 hooks = jQuery.propHooks[ name ]; 8085 } 8086 8087 if ( value !== undefined ) { 8088 if ( hooks && "set" in hooks && 8089 ( ret = hooks.set( elem, value, name ) ) !== undefined ) { 8090 return ret; 8091 } 8092 8093 return ( elem[ name ] = value ); 8094 } 8095 8096 if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { 8097 return ret; 8098 } 8099 8100 return elem[ name ]; 8101 }, 8102 8103 propHooks: { 8104 tabIndex: { 8105 get: function( elem ) { 8106
vendor: 6,126 bytes, lines 8107-8366
8107 // Support: IE <=9 - 11 only 8108 // elem.tabIndex doesn't always return the 8109 // correct value when it hasn't been explicitly set 8110 // Use proper attribute retrieval (trac-12072) 8111 var tabindex = jQuery.find.attr( elem, "tabindex" ); 8112 8113 if ( tabindex ) { 8114 return parseInt( tabindex, 10 ); 8115 } 8116 8117 if ( 8118 rfocusable.test( elem.nodeName ) || 8119 rclickable.test( elem.nodeName ) && 8120 elem.href 8121 ) { 8122 return 0; 8123 } 8124 8125 return -1; 8126 } 8127 } 8128 }, 8129 8130 propFix: { 8131 "for": "htmlFor", 8132 "class": "className" 8133 } 8134} ); 8135 8136// Support: IE <=11 only 8137// Accessing the selectedIndex property 8138// forces the browser to respect setting selected 8139// on the option 8140// The getter ensures a default option is selected 8141// when in an optgroup 8142// eslint rule "no-unused-expressions" is disabled for this code 8143// since it considers such accessions noop 8144if ( !support.optSelected ) { 8145 jQuery.propHooks.selected = { 8146 get: function( elem ) { 8147 8148 /* eslint no-unused-expressions: "off" */ 8149 8150 var parent = elem.parentNode; 8151 if ( parent && parent.parentNode ) { 8152 parent.parentNode.selectedIndex; 8153 } 8154 return null; 8155 }, 8156 set: function( elem ) { 8157 8158 /* eslint no-unused-expressions: "off" */ 8159 8160 var parent = elem.parentNode; 8161 if ( parent ) { 8162 parent.selectedIndex; 8163 8164 if ( parent.parentNode ) { 8165 parent.parentNode.selectedIndex; 8166 } 8167 } 8168 } 8169 }; 8170} 8171 8172jQuery.each( [ 8173 "tabIndex", 8174 "readOnly", 8175 "maxLength", 8176 "cellSpacing", 8177 "cellPadding", 8178 "rowSpan", 8179 "colSpan", 8180 "useMap", 8181 "frameBorder", 8182 "contentEditable" 8183], function() { 8184 jQuery.propFix[ this.toLowerCase() ] = this; 8185} ); 8186 8187 8188 8189 8190 // Strip and collapse whitespace according to HTML spec 8191 // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace 8192 function stripAndCollapse( value ) { 8193 var tokens = value.match( rnothtmlwhite ) || []; 8194 return tokens.join( " " ); 8195 } 8196 8197 8198function getClass( elem ) { 8199 return elem.getAttribute && elem.getAttribute( "class" ) || ""; 8200} 8201 8202function classesToArray( value ) { 8203 if ( Array.isArray( value ) ) { 8204 return value; 8205 } 8206 if ( typeof value === "string" ) { 8207 return value.match( rnothtmlwhite ) || []; 8208 } 8209 return []; 8210} 8211 8212jQuery.fn.extend( { 8213 addClass: function( value ) { 8214 var classNames, cur, curValue, className, i, finalValue; 8215 8216 if ( isFunction( value ) ) { 8217 return this.each( function( j ) { 8218 jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); 8219 } ); 8220 } 8221 8222 classNames = classesToArray( value ); 8223 8224 if ( classNames.length ) { 8225 return this.each( function() { 8226 curValue = getClass( this ); 8227 cur = this.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); 8228 8229 if ( cur ) { 8230 for ( i = 0; i < classNames.length; i++ ) { 8231 className = classNames[ i ]; 8232 if ( cur.indexOf( " " + className + " " ) < 0 ) { 8233 cur += className + " "; 8234 } 8235 } 8236 8237 // Only assign if different to avoid unneeded rendering. 8238 finalValue = stripAndCollapse( cur ); 8239 if ( curValue !== finalValue ) { 8240 this.setAttribute( "class", finalValue ); 8241 } 8242 } 8243 } ); 8244 } 8245 8246 return this; 8247 }, 8248 8249 removeClass: function( value ) { 8250 var classNames, cur, curValue, className, i, finalValue; 8251 8252 if ( isFunction( value ) ) { 8253 return this.each( function( j ) { 8254 jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); 8255 } ); 8256 } 8257 8258 if ( !arguments.length ) { 8259 return this.attr( "class", "" ); 8260 } 8261 8262 classNames = classesToArray( value ); 8263 8264 if ( classNames.length ) { 8265 return this.each( function() { 8266 curValue = getClass( this ); 8267 8268 // This expression is here for better compressibility (see addClass) 8269 cur = this.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); 8270 8271 if ( cur ) { 8272 for ( i = 0; i < classNames.length; i++ ) { 8273 className = classNames[ i ]; 8274 8275 // Remove *all* instances 8276 while ( cur.indexOf( " " + className + " " ) > -1 ) { 8277 cur = cur.replace( " " + className + " ", " " ); 8278 } 8279 } 8280 8281 // Only assign if different to avoid unneeded rendering. 8282 finalValue = stripAndCollapse( cur ); 8283 if ( curValue !== finalValue ) { 8284 this.setAttribute( "class", finalValue ); 8285 } 8286 } 8287 } ); 8288 } 8289 8290 return this; 8291 }, 8292 8293 toggleClass: function( value, stateVal ) { 8294 var classNames, className, i, self, 8295 type = typeof value, 8296 isValidValue = type === "string" || Array.isArray( value ); 8297 8298 if ( isFunction( value ) ) { 8299 return this.each( function( i ) { 8300 jQuery( this ).toggleClass( 8301 value.call( this, i, getClass( this ), stateVal ), 8302 stateVal 8303 ); 8304 } ); 8305 } 8306 8307 if ( typeof stateVal === "boolean" && isValidValue ) { 8308 return stateVal ? this.addClass( value ) : this.removeClass( value ); 8309 } 8310 8311 classNames = classesToArray( value ); 8312 8313 return this.each( function() { 8314 if ( isValidValue ) { 8315 8316 // Toggle individual class names 8317 self = jQuery( this ); 8318 8319 for ( i = 0; i < classNames.length; i++ ) { 8320 className = classNames[ i ]; 8321 8322 // Check each className given, space separated list 8323 if ( self.hasClass( className ) ) { 8324 self.removeClass( className ); 8325 } else { 8326 self.addClass( className ); 8327 } 8328 } 8329 8330 // Toggle whole class name 8331 } else if ( value === undefined || type === "boolean" ) { 8332 className = getClass( this ); 8333 if ( className ) { 8334 8335 // Store className if set 8336 dataPriv.set( this, "__className__", className ); 8337 } 8338 8339 // If the element has a class name or if we're passed `false`, 8340 // then remove the whole classname (if there was one, the above saved it). 8341 // Otherwise bring back whatever was previously saved (if anything), 8342 // falling back to the empty string if nothing was stored. 8343 if ( this.setAttribute ) { 8344 this.setAttribute( "class", 8345 className || value === false ? 8346 "" : 8347 dataPriv.get( this, "__className__" ) || "" 8348 ); 8349 } 8350 } 8351 } ); 8352 }, 8353 8354 hasClass: function( selector ) { 8355 var className, elem, 8356 i = 0; 8357 8358 className = " " + selector + " "; 8359 while ( ( elem = this[ i++ ] ) ) { 8360 if ( elem.nodeType === 1 && 8361 ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { 8362 return true; 8363 } 8364 } 8365 8366 return false;
vendor: 1,385 bytes, lines 8367-8436
8367 } 8368} ); 8369 8370 8371 8372 8373var rreturn = /\r/g; 8374 8375jQuery.fn.extend( { 8376 val: function( value ) { 8377 var hooks, ret, valueIsFunction, 8378 elem = this[ 0 ]; 8379 8380 if ( !arguments.length ) { 8381 if ( elem ) { 8382 hooks = jQuery.valHooks[ elem.type ] || 8383 jQuery.valHooks[ elem.nodeName.toLowerCase() ]; 8384 8385 if ( hooks && 8386 "get" in hooks && 8387 ( ret = hooks.get( elem, "value" ) ) !== undefined 8388 ) { 8389 return ret; 8390 } 8391 8392 ret = elem.value; 8393 8394 // Handle most common string cases 8395 if ( typeof ret === "string" ) { 8396 return ret.replace( rreturn, "" ); 8397 } 8398 8399 // Handle cases where value is null/undef or number 8400 return ret == null ? "" : ret; 8401 } 8402 8403 return; 8404 } 8405 8406 valueIsFunction = isFunction( value ); 8407 8408 return this.each( function( i ) { 8409 var val; 8410 8411 if ( this.nodeType !== 1 ) { 8412 return; 8413 } 8414 8415 if ( valueIsFunction ) { 8416 val = value.call( this, i, jQuery( this ).val() ); 8417 } else { 8418 val = value; 8419 } 8420 8421 // Treat null/undefined as ""; convert numbers to string 8422 if ( val == null ) { 8423 val = ""; 8424 8425 } else if ( typeof val === "number" ) { 8426 val += ""; 8427 8428 } else if ( Array.isArray( val ) ) { 8429 val = jQuery.map( val, function( value ) { 8430 return value == null ? "" : value + ""; 8431 } ); 8432 } 8433 8434 hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; 8435 8436 // If set returns undefined, fall back to normal setting
vendor: 4,458 bytes, lines 8437-8622
8437 if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { 8438 this.value = val; 8439 } 8440 } ); 8441 } 8442} ); 8443 8444jQuery.extend( { 8445 valHooks: { 8446 option: { 8447 get: function( elem ) { 8448 8449 var val = jQuery.find.attr( elem, "value" ); 8450 return val != null ? 8451 val : 8452 8453 // Support: IE <=10 - 11 only 8454 // option.text throws exceptions (trac-14686, trac-14858) 8455 // Strip and collapse whitespace 8456 // https://html.spec.whatwg.org/#strip-and-collapse-whitespace 8457 stripAndCollapse( jQuery.text( elem ) ); 8458 } 8459 }, 8460 select: { 8461 get: function( elem ) { 8462 var value, option, i, 8463 options = elem.options, 8464 index = elem.selectedIndex, 8465 one = elem.type === "select-one", 8466 values = one ? null : [], 8467 max = one ? index + 1 : options.length; 8468 8469 if ( index < 0 ) { 8470 i = max; 8471 8472 } else { 8473 i = one ? index : 0; 8474 } 8475 8476 // Loop through all the selected options 8477 for ( ; i < max; i++ ) { 8478 option = options[ i ]; 8479 8480 // Support: IE <=9 only 8481 // IE8-9 doesn't update selected after form reset (trac-2551) 8482 if ( ( option.selected || i === index ) && 8483 8484 // Don't return options that are disabled or in a disabled optgroup 8485 !option.disabled && 8486 ( !option.parentNode.disabled || 8487 !nodeName( option.parentNode, "optgroup" ) ) ) { 8488 8489 // Get the specific value for the option 8490 value = jQuery( option ).val(); 8491 8492 // We don't need an array for one selects 8493 if ( one ) { 8494 return value; 8495 } 8496 8497 // Multi-Selects return an array 8498 values.push( value ); 8499 } 8500 } 8501 8502 return values; 8503 }, 8504 8505 set: function( elem, value ) { 8506 var optionSet, option, 8507 options = elem.options, 8508 values = jQuery.makeArray( value ), 8509 i = options.length; 8510 8511 while ( i-- ) { 8512 option = options[ i ]; 8513 8514 /* eslint-disable no-cond-assign */ 8515 8516 if ( option.selected = 8517 jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 8518 ) { 8519 optionSet = true; 8520 } 8521 8522 /* eslint-enable no-cond-assign */ 8523 } 8524 8525 // Force browsers to behave consistently when non-matching value is set 8526 if ( !optionSet ) { 8527 elem.selectedIndex = -1; 8528 } 8529 return values; 8530 } 8531 } 8532 } 8533} ); 8534 8535// Radios and checkboxes getter/setter 8536jQuery.each( [ "radio", "checkbox" ], function() { 8537 jQuery.valHooks[ this ] = { 8538 set: function( elem, value ) { 8539 if ( Array.isArray( value ) ) { 8540 return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); 8541 } 8542 } 8543 }; 8544 if ( !support.checkOn ) { 8545 jQuery.valHooks[ this ].get = function( elem ) { 8546 return elem.getAttribute( "value" ) === null ? "on" : elem.value; 8547 }; 8548 } 8549} ); 8550 8551 8552 8553 8554// Return jQuery for attributes-only inclusion 8555var location = window.location; 8556 8557var nonce = { guid: Date.now() }; 8558 8559var rquery = ( /\?/ ); 8560 8561 8562 8563// Cross-browser xml parsing 8564jQuery.parseXML = function( data ) { 8565 var xml, parserErrorElem; 8566 if ( !data || typeof data !== "string" ) { 8567 return null; 8568 } 8569 8570 // Support: IE 9 - 11 only 8571 // IE throws on parseFromString with invalid input. 8572 try { 8573 xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); 8574 } catch ( e ) {} 8575 8576 parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; 8577 if ( !xml || parserErrorElem ) { 8578 jQuery.error( "Invalid XML: " + ( 8579 parserErrorElem ? 8580 jQuery.map( parserErrorElem.childNodes, function( el ) { 8581 return el.textContent; 8582 } ).join( "\n" ) : 8583 data 8584 ) ); 8585 } 8586 return xml; 8587}; 8588 8589 8590var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, 8591 stopPropagationCallback = function( e ) { 8592 e.stopPropagation(); 8593 }; 8594 8595jQuery.extend( jQuery.event, { 8596 8597 trigger: function( event, data, elem, onlyHandlers ) { 8598 8599 var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, 8600 eventPath = [ elem || document ], 8601 type = hasOwn.call( event, "type" ) ? event.type : event, 8602 namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; 8603 8604 cur = lastElement = tmp = elem = elem || document; 8605 8606 // Don't do events on text and comment nodes 8607 if ( elem.nodeType === 3 || elem.nodeType === 8 ) { 8608 return; 8609 } 8610 8611 // focus/blur morphs to focusin/out; ensure we're not firing them right now 8612 if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { 8613 return; 8614 } 8615 8616 if ( type.indexOf( "." ) > -1 ) { 8617 8618 // Namespaced trigger; create a regexp to match event type in handle() 8619 namespaces = type.split( "." ); 8620 type = namespaces.shift(); 8621 namespaces.sort(); 8622 }
vendor: 6,524 bytes, lines 8623-8872
8623 ontype = type.indexOf( ":" ) < 0 && "on" + type; 8624 8625 // Caller can pass in a jQuery.Event object, Object, or just an event type string 8626 event = event[ jQuery.expando ] ? 8627 event : 8628 new jQuery.Event( type, typeof event === "object" && event ); 8629 8630 // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) 8631 event.isTrigger = onlyHandlers ? 2 : 3; 8632 event.namespace = namespaces.join( "." ); 8633 event.rnamespace = event.namespace ? 8634 new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : 8635 null; 8636 8637 // Clean up the event in case it is being reused 8638 event.result = undefined; 8639 if ( !event.target ) { 8640 event.target = elem; 8641 } 8642 8643 // Clone any incoming data and prepend the event, creating the handler arg list 8644 data = data == null ? 8645 [ event ] : 8646 jQuery.makeArray( data, [ event ] ); 8647 8648 // Allow special events to draw outside the lines 8649 special = jQuery.event.special[ type ] || {}; 8650 if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { 8651 return; 8652 } 8653 8654 // Determine event propagation path in advance, per W3C events spec (trac-9951) 8655 // Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724) 8656 if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { 8657 8658 bubbleType = special.delegateType || type; 8659 if ( !rfocusMorph.test( bubbleType + type ) ) { 8660 cur = cur.parentNode; 8661 } 8662 for ( ; cur; cur = cur.parentNode ) { 8663 eventPath.push( cur ); 8664 tmp = cur; 8665 } 8666 8667 // Only add window if we got to document (e.g., not plain obj or detached DOM) 8668 if ( tmp === ( elem.ownerDocument || document ) ) { 8669 eventPath.push( tmp.defaultView || tmp.parentWindow || window ); 8670 } 8671 } 8672 8673 // Fire handlers on the event path 8674 i = 0; 8675 while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { 8676 lastElement = cur; 8677 event.type = i > 1 ? 8678 bubbleType : 8679 special.bindType || type; 8680 8681 // jQuery handler 8682 handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && 8683 dataPriv.get( cur, "handle" ); 8684 if ( handle ) { 8685 handle.apply( cur, data ); 8686 } 8687 8688 // Native handler 8689 handle = ontype && cur[ ontype ]; 8690 if ( handle && handle.apply && acceptData( cur ) ) { 8691 event.result = handle.apply( cur, data ); 8692 if ( event.result === false ) { 8693 event.preventDefault(); 8694 } 8695 } 8696 } 8697 event.type = type; 8698 8699 // If nobody prevented the default action, do it now 8700 if ( !onlyHandlers && !event.isDefaultPrevented() ) { 8701 8702 if ( ( !special._default || 8703 special._default.apply( eventPath.pop(), data ) === false ) && 8704 acceptData( elem ) ) { 8705 8706 // Call a native DOM method on the target with the same name as the event. 8707 // Don't do default actions on window, that's where global variables be (trac-6170) 8708 if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { 8709 8710 // Don't re-trigger an onFOO event when we call its FOO() method 8711 tmp = elem[ ontype ]; 8712 8713 if ( tmp ) { 8714 elem[ ontype ] = null; 8715 } 8716 8717 // Prevent re-triggering of the same event, since we already bubbled it above 8718 jQuery.event.triggered = type; 8719 8720 if ( event.isPropagationStopped() ) { 8721 lastElement.addEventListener( type, stopPropagationCallback ); 8722 } 8723 8724 elem[ type ](); 8725 8726 if ( event.isPropagationStopped() ) { 8727 lastElement.removeEventListener( type, stopPropagationCallback ); 8728 } 8729 8730 jQuery.event.triggered = undefined; 8731 8732 if ( tmp ) { 8733 elem[ ontype ] = tmp; 8734 } 8735 } 8736 } 8737 } 8738 8739 return event.result; 8740 }, 8741 8742 // Piggyback on a donor event to simulate a different one 8743 // Used only for `focus(in | out)` events 8744 simulate: function( type, elem, event ) { 8745 var e = jQuery.extend( 8746 new jQuery.Event(), 8747 event, 8748 { 8749 type: type, 8750 isSimulated: true 8751 } 8752 ); 8753 8754 jQuery.event.trigger( e, null, elem ); 8755 } 8756 8757} ); 8758 8759jQuery.fn.extend( { 8760 8761 trigger: function( type, data ) { 8762 return this.each( function() { 8763 jQuery.event.trigger( type, data, this ); 8764 } ); 8765 }, 8766 triggerHandler: function( type, data ) { 8767 var elem = this[ 0 ]; 8768 if ( elem ) { 8769 return jQuery.event.trigger( type, data, elem, true ); 8770 } 8771 } 8772} ); 8773 8774 8775var 8776 rbracket = /\[\]$/, 8777 rCRLF = /\r?\n/g, 8778 rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, 8779 rsubmittable = /^(?:input|select|textarea|keygen)/i; 8780 8781function buildParams( prefix, obj, traditional, add ) { 8782 var name; 8783 8784 if ( Array.isArray( obj ) ) { 8785 8786 // Serialize array item. 8787 jQuery.each( obj, function( i, v ) { 8788 if ( traditional || rbracket.test( prefix ) ) { 8789 8790 // Treat each array item as a scalar. 8791 add( prefix, v ); 8792 8793 } else { 8794 8795 // Item is non-scalar (array or object), encode its numeric index. 8796 buildParams( 8797 prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", 8798 v, 8799 traditional, 8800 add 8801 ); 8802 } 8803 } ); 8804 8805 } else if ( !traditional && toType( obj ) === "object" ) { 8806 8807 // Serialize object item. 8808 for ( name in obj ) { 8809 buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); 8810 } 8811 8812 } else { 8813 8814 // Serialize scalar item. 8815 add( prefix, obj ); 8816 } 8817} 8818 8819// Serialize an array of form elements or a set of 8820// key/values into a query string 8821jQuery.param = function( a, traditional ) { 8822 var prefix, 8823 s = [], 8824 add = function( key, valueOrFunction ) { 8825 8826 // If value is a function, invoke it and use its return value 8827 var value = isFunction( valueOrFunction ) ? 8828 valueOrFunction() : 8829 valueOrFunction; 8830 8831 s[ s.length ] = encodeURIComponent( key ) + "=" + 8832 encodeURIComponent( value == null ? "" : value ); 8833 }; 8834 8835 if ( a == null ) { 8836 return ""; 8837 } 8838 8839 // If an array was passed in, assume that it is an array of form elements. 8840 if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { 8841 8842 // Serialize the form elements 8843 jQuery.each( a, function() { 8844 add( this.name, this.value ); 8845 } ); 8846 8847 } else { 8848 8849 // If traditional, encode the "old" way (the way 1.3.2 or older 8850 // did it), otherwise encode params recursively. 8851 for ( prefix in a ) { 8852 buildParams( prefix, a[ prefix ], traditional, add ); 8853 } 8854 } 8855 8856 // Return the resulting serialization 8857 return s.join( "&" ); 8858}; 8859 8860jQuery.fn.extend( { 8861 serialize: function() { 8862 return jQuery.param( this.serializeArray() ); 8863 }, 8864 serializeArray: function() { 8865 return this.map( function() { 8866 8867 // Can add propHook for "elements" to filter or add form elements 8868 var elements = jQuery.prop( this, "elements" ); 8869 return elements ? jQuery.makeArray( elements ) : this; 8870 } ).filter( function() { 8871 var type = this.type; 8872
vendor: 9,174 bytes, lines 8873-9231
8873 // Use .is( ":disabled" ) so that fieldset[disabled] works 8874 return this.name && !jQuery( this ).is( ":disabled" ) && 8875 rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && 8876 ( this.checked || !rcheckableType.test( type ) ); 8877 } ).map( function( _i, elem ) { 8878 var val = jQuery( this ).val(); 8879 8880 if ( val == null ) { 8881 return null; 8882 } 8883 8884 if ( Array.isArray( val ) ) { 8885 return jQuery.map( val, function( val ) { 8886 return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; 8887 } ); 8888 } 8889 8890 return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; 8891 } ).get(); 8892 } 8893} ); 8894 8895 8896var 8897 r20 = /%20/g, 8898 rhash = /#.*$/, 8899 rantiCache = /([?&])_=[^&]*/, 8900 rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, 8901 8902 // trac-7653, trac-8125, trac-8152: local protocol detection 8903 rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, 8904 rnoContent = /^(?:GET|HEAD)$/, 8905 rprotocol = /^\/\//, 8906 8907 /* Prefilters 8908 * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) 8909 * 2) These are called: 8910 * - BEFORE asking for a transport 8911 * - AFTER param serialization (s.data is a string if s.processData is true) 8912 * 3) key is the dataType 8913 * 4) the catchall symbol "*" can be used 8914 * 5) execution will start with transport dataType and THEN continue down to "*" if needed 8915 */ 8916 prefilters = {}, 8917 8918 /* Transports bindings 8919 * 1) key is the dataType 8920 * 2) the catchall symbol "*" can be used 8921 * 3) selection will start with transport dataType and THEN go to "*" if needed 8922 */ 8923 transports = {}, 8924 8925 // Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression 8926 allTypes = "*/".concat( "*" ), 8927 8928 // Anchor tag for parsing the document origin 8929 originAnchor = document.createElement( "a" ); 8930 8931originAnchor.href = location.href; 8932 8933// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport 8934function addToPrefiltersOrTransports( structure ) { 8935 8936 // dataTypeExpression is optional and defaults to "*" 8937 return function( dataTypeExpression, func ) { 8938 8939 if ( typeof dataTypeExpression !== "string" ) { 8940 func = dataTypeExpression; 8941 dataTypeExpression = "*"; 8942 } 8943 8944 var dataType, 8945 i = 0, 8946 dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; 8947 8948 if ( isFunction( func ) ) { 8949 8950 // For each dataType in the dataTypeExpression 8951 while ( ( dataType = dataTypes[ i++ ] ) ) { 8952 8953 // Prepend if requested 8954 if ( dataType[ 0 ] === "+" ) { 8955 dataType = dataType.slice( 1 ) || "*"; 8956 ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); 8957 8958 // Otherwise append 8959 } else { 8960 ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); 8961 } 8962 } 8963 } 8964 }; 8965} 8966 8967// Base inspection function for prefilters and transports 8968function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { 8969 8970 var inspected = {}, 8971 seekingTransport = ( structure === transports ); 8972 8973 function inspect( dataType ) { 8974 var selected; 8975 inspected[ dataType ] = true; 8976 jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { 8977 var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); 8978 if ( typeof dataTypeOrTransport === "string" && 8979 !seekingTransport && !inspected[ dataTypeOrTransport ] ) { 8980 8981 options.dataTypes.unshift( dataTypeOrTransport ); 8982 inspect( dataTypeOrTransport ); 8983 return false; 8984 } else if ( seekingTransport ) { 8985 return !( selected = dataTypeOrTransport ); 8986 } 8987 } ); 8988 return selected; 8989 } 8990 8991 return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); 8992} 8993 8994// A special extend for ajax options 8995// that takes "flat" options (not to be deep extended) 8996// Fixes trac-9887 8997function ajaxExtend( target, src ) { 8998 var key, deep, 8999 flatOptions = jQuery.ajaxSettings.flatOptions || {}; 9000 9001 for ( key in src ) { 9002 if ( src[ key ] !== undefined ) { 9003 ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; 9004 } 9005 } 9006 if ( deep ) { 9007 jQuery.extend( true, target, deep ); 9008 } 9009 9010 return target; 9011} 9012 9013/* Handles responses to an ajax request: 9014 * - finds the right dataType (mediates between content-type and expected dataType) 9015 * - returns the corresponding response 9016 */ 9017function ajaxHandleResponses( s, jqXHR, responses ) { 9018 9019 var ct, type, finalDataType, firstDataType, 9020 contents = s.contents, 9021 dataTypes = s.dataTypes; 9022 9023 // Remove auto dataType and get content-type in the process 9024 while ( dataTypes[ 0 ] === "*" ) { 9025 dataTypes.shift(); 9026 if ( ct === undefined ) { 9027 ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); 9028 } 9029 } 9030 9031 // Check if we're dealing with a known content-type 9032 if ( ct ) { 9033 for ( type in contents ) { 9034 if ( contents[ type ] && contents[ type ].test( ct ) ) { 9035 dataTypes.unshift( type ); 9036 break; 9037 } 9038 } 9039 } 9040 9041 // Check to see if we have a response for the expected dataType 9042 if ( dataTypes[ 0 ] in responses ) { 9043 finalDataType = dataTypes[ 0 ]; 9044 } else { 9045 9046 // Try convertible dataTypes 9047 for ( type in responses ) { 9048 if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { 9049 finalDataType = type; 9050 break; 9051 } 9052 if ( !firstDataType ) { 9053 firstDataType = type; 9054 } 9055 } 9056 9057 // Or just use first one 9058 finalDataType = finalDataType || firstDataType; 9059 } 9060 9061 // If we found a dataType 9062 // We add the dataType to the list if needed 9063 // and return the corresponding response 9064 if ( finalDataType ) { 9065 if ( finalDataType !== dataTypes[ 0 ] ) { 9066 dataTypes.unshift( finalDataType ); 9067 } 9068 return responses[ finalDataType ]; 9069 } 9070} 9071 9072/* Chain conversions given the request and the original response 9073 * Also sets the responseXXX fields on the jqXHR instance 9074 */ 9075function ajaxConvert( s, response, jqXHR, isSuccess ) { 9076 var conv2, current, conv, tmp, prev, 9077 converters = {}, 9078 9079 // Work with a copy of dataTypes in case we need to modify it for conversion 9080 dataTypes = s.dataTypes.slice(); 9081 9082 // Create converters map with lowercased keys 9083 if ( dataTypes[ 1 ] ) { 9084 for ( conv in s.converters ) { 9085 converters[ conv.toLowerCase() ] = s.converters[ conv ]; 9086 } 9087 } 9088 9089 current = dataTypes.shift(); 9090 9091 // Convert to each sequential dataType 9092 while ( current ) { 9093 9094 if ( s.responseFields[ current ] ) { 9095 jqXHR[ s.responseFields[ current ] ] = response; 9096 } 9097 9098 // Apply the dataFilter if provided 9099 if ( !prev && isSuccess && s.dataFilter ) { 9100 response = s.dataFilter( response, s.dataType ); 9101 } 9102 9103 prev = current; 9104 current = dataTypes.shift(); 9105 9106 if ( current ) { 9107 9108 // There's only work to do if current dataType is non-auto 9109 if ( current === "*" ) { 9110 9111 current = prev; 9112 9113 // Convert response if prev dataType is non-auto and differs from current 9114 } else if ( prev !== "*" && prev !== current ) { 9115 9116 // Seek a direct converter 9117 conv = converters[ prev + " " + current ] || converters[ "* " + current ]; 9118 9119 // If none found, seek a pair 9120 if ( !conv ) { 9121 for ( conv2 in converters ) { 9122 9123 // If conv2 outputs current 9124 tmp = conv2.split( " " ); 9125 if ( tmp[ 1 ] === current ) { 9126 9127 // If prev can be converted to accepted input 9128 conv = converters[ prev + " " + tmp[ 0 ] ] || 9129 converters[ "* " + tmp[ 0 ] ]; 9130 if ( conv ) { 9131 9132 // Condense equivalence converters 9133 if ( conv === true ) { 9134 conv = converters[ conv2 ]; 9135 9136 // Otherwise, insert the intermediate dataType 9137 } else if ( converters[ conv2 ] !== true ) { 9138 current = tmp[ 0 ]; 9139 dataTypes.unshift( tmp[ 1 ] ); 9140 } 9141 break; 9142 } 9143 } 9144 } 9145 } 9146 9147 // Apply converter (if not an equivalence) 9148 if ( conv !== true ) { 9149 9150 // Unless errors are allowed to bubble, catch and return them 9151 if ( conv && s.throws ) { 9152 response = conv( response ); 9153 } else { 9154 try { 9155 response = conv( response ); 9156 } catch ( e ) { 9157 return { 9158 state: "parsererror", 9159 error: conv ? e : "No conversion from " + prev + " to " + current 9160 }; 9161 } 9162 } 9163 } 9164 } 9165 } 9166 } 9167 9168 return { state: "success", data: response }; 9169} 9170 9171jQuery.extend( { 9172 9173 // Counter for holding the number of active queries 9174 active: 0, 9175 9176 // Last-Modified header cache for next request 9177 lastModified: {}, 9178 etag: {}, 9179 9180 ajaxSettings: { 9181 url: location.href, 9182 type: "GET", 9183 isLocal: rlocalProtocol.test( location.protocol ), 9184 global: true, 9185 processData: true, 9186 async: true, 9187 contentType: "application/x-www-form-urlencoded; charset=UTF-8", 9188 9189 /* 9190 timeout: 0, 9191 data: null, 9192 dataType: null, 9193 username: null, 9194 password: null, 9195 cache: null, 9196 throws: false, 9197 traditional: false, 9198 headers: {}, 9199 */ 9200 9201 accepts: { 9202 "*": allTypes, 9203 text: "text/plain", 9204 html: "text/html", 9205 xml: "application/xml, text/xml", 9206 json: "application/json, text/javascript" 9207 }, 9208 9209 contents: { 9210 xml: /\bxml\b/, 9211 html: /\bhtml/, 9212 json: /\bjson\b/ 9213 }, 9214 9215 responseFields: { 9216 xml: "responseXML", 9217 text: "responseText", 9218 json: "responseJSON" 9219 }, 9220 9221 // Data converters 9222 // Keys separate source (or catchall "*") and destination types with a single space 9223 converters: { 9224 9225 // Convert anything to text 9226 "* text": String, 9227 9228 // Text to html (true = no transformation) 9229 "text html": true, 9230 9231 /
9231** 9232 * BEGIN MODIFIED BY ATLASSIAN 9233 * With this modification any ajax requests with the dataType option set to json 9234 * or any requests that return a response with a json content type but have an 9235 * empty (invalid) json payload, the ajax data will come back as null. 9236 * This brings back partial jQuery v1.4.1 behaviour and is required by Jira 9237 * for jQuery v2 and jQuery v3 compatibility. 9238 */ 9239 // Evaluate text as a json expression 9240 "text json": function ( data ) { 9241 if (data === '' || typeof data === 'undefined') { 9242 data = 'null'; 9243 } 9244 return JSON.parse(data); 9245 }, 9246 /* END MODIFIED BY ATLASSIAN */
vendor: 23,199 bytes, lines 9246-10140
9246 9247 9248 // Parse text as xml 9249 "text xml": jQuery.parseXML 9250 }, 9251 9252 // For options that shouldn't be deep extended: 9253 // you can add your own custom options here if 9254 // and when you create one that shouldn't be 9255 // deep extended (see ajaxExtend) 9256 flatOptions: { 9257 url: true, 9258 context: true 9259 } 9260 }, 9261 9262 // Creates a full fledged settings object into target 9263 // with both ajaxSettings and settings fields. 9264 // If target is omitted, writes into ajaxSettings. 9265 ajaxSetup: function( target, settings ) { 9266 return settings ? 9267 9268 // Building a settings object 9269 ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : 9270 9271 // Extending ajaxSettings 9272 ajaxExtend( jQuery.ajaxSettings, target ); 9273 }, 9274 9275 ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), 9276 ajaxTransport: addToPrefiltersOrTransports( transports ), 9277 9278 // Main method 9279 ajax: function( url, options ) { 9280 9281 // If url is an object, simulate pre-1.5 signature 9282 if ( typeof url === "object" ) { 9283 options = url; 9284 url = undefined; 9285 } 9286 9287 // Force options to be an object 9288 options = options || {}; 9289 9290 var transport, 9291 9292 // URL without anti-cache param 9293 cacheURL, 9294 9295 // Response headers 9296 responseHeadersString, 9297 responseHeaders, 9298 9299 // timeout handle 9300 timeoutTimer, 9301 9302 // Url cleanup var 9303 urlAnchor, 9304 9305 // Request state (becomes false upon send and true upon completion) 9306 completed, 9307 9308 // To know if global events are to be dispatched 9309 fireGlobals, 9310 9311 // Loop variable 9312 i, 9313 9314 // uncached part of the url 9315 uncached, 9316 9317 // Create the final options object 9318 s = jQuery.ajaxSetup( {}, options ), 9319 9320 // Callbacks context 9321 callbackContext = s.context || s, 9322 9323 // Context for global events is callbackContext if it is a DOM node or jQuery collection 9324 globalEventContext = s.context && 9325 ( callbackContext.nodeType || callbackContext.jquery ) ? 9326 jQuery( callbackContext ) : 9327 jQuery.event, 9328 9329 // Deferreds 9330 deferred = jQuery.Deferred(), 9331 completeDeferred = jQuery.Callbacks( "once memory" ), 9332 9333 // Status-dependent callbacks 9334 statusCode = s.statusCode || {}, 9335 9336 // Headers (they are sent all at once) 9337 requestHeaders = {}, 9338 requestHeadersNames = {}, 9339 9340 // Default abort message 9341 strAbort = "canceled", 9342 9343 // Fake xhr 9344 jqXHR = { 9345 readyState: 0, 9346 9347 // Builds headers hashtable if needed 9348 getResponseHeader: function( key ) { 9349 var match; 9350 if ( completed ) { 9351 if ( !responseHeaders ) { 9352 responseHeaders = {}; 9353 while ( ( match = rheaders.exec( responseHeadersString ) ) ) { 9354 responseHeaders[ match[ 1 ].toLowerCase() + " " ] = 9355 ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) 9356 .concat( match[ 2 ] ); 9357 } 9358 } 9359 match = responseHeaders[ key.toLowerCase() + " " ]; 9360 } 9361 return match == null ? null : match.join( ", " ); 9362 }, 9363 9364 // Raw string 9365 getAllResponseHeaders: function() { 9366 return completed ? responseHeadersString : null; 9367 }, 9368 9369 // Caches the header 9370 setRequestHeader: function( name, value ) { 9371 if ( completed == null ) { 9372 name = requestHeadersNames[ name.toLowerCase() ] = 9373 requestHeadersNames[ name.toLowerCase() ] || name; 9374 requestHeaders[ name ] = value; 9375 } 9376 return this; 9377 }, 9378 9379 // Overrides response content-type header 9380 overrideMimeType: function( type ) { 9381 if ( completed == null ) { 9382 s.mimeType = type; 9383 } 9384 return this; 9385 }, 9386 9387 // Status-dependent callbacks 9388 statusCode: function( map ) { 9389 var code; 9390 if ( map ) { 9391 if ( completed ) { 9392 9393 // Execute the appropriate callbacks 9394 jqXHR.always( map[ jqXHR.status ] ); 9395 } else { 9396 9397 // Lazy-add the new callbacks in a way that preserves old ones 9398 for ( code in map ) { 9399 statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; 9400 } 9401 } 9402 } 9403 return this; 9404 }, 9405 9406 // Cancel the request 9407 abort: function( statusText ) { 9408 var finalText = statusText || strAbort; 9409 if ( transport ) { 9410 transport.abort( finalText ); 9411 } 9412 done( 0, finalText ); 9413 return this; 9414 } 9415 }; 9416 9417 // Attach deferreds 9418 deferred.promise( jqXHR ); 9419 9420 // Add protocol if not provided (prefilters might expect it) 9421 // Handle falsy url in the settings object (trac-10093: consistency with old signature) 9422 // We also use the url parameter if available 9423 s.url = ( ( url || s.url || location.href ) + "" ) 9424 .replace( rprotocol, location.protocol + "//" ); 9425 9426 // Alias method option to type as per ticket trac-12004 9427 s.type = options.method || options.type || s.method || s.type; 9428 9429 // Extract dataTypes list 9430 s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; 9431 9432 // A cross-domain request is in order when the origin doesn't match the current origin. 9433 if ( s.crossDomain == null ) { 9434 urlAnchor = document.createElement( "a" ); 9435 9436 // Support: IE <=8 - 11, Edge 12 - 15 9437 // IE throws exception on accessing the href property if url is malformed, 9438 // e.g. http://example.com:80x/ 9439 try { 9440 urlAnchor.href = s.url; 9441 9442 // Support: IE <=8 - 11 only 9443 // Anchor's host property isn't correctly set when s.url is relative 9444 urlAnchor.href = urlAnchor.href; 9445 s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== 9446 urlAnchor.protocol + "//" + urlAnchor.host; 9447 } catch ( e ) { 9448 9449 // If there is an error parsing the URL, assume it is crossDomain, 9450 // it can be rejected by the transport if it is invalid 9451 s.crossDomain = true; 9452 } 9453 } 9454 9455 // Convert data if not already a string 9456 if ( s.data && s.processData && typeof s.data !== "string" ) { 9457 s.data = jQuery.param( s.data, s.traditional ); 9458 } 9459 9460 // Apply prefilters 9461 inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); 9462 9463 // If request was aborted inside a prefilter, stop there 9464 if ( completed ) { 9465 return jqXHR; 9466 } 9467 9468 // We can fire global events as of now if asked to 9469 // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118) 9470 fireGlobals = jQuery.event && s.global; 9471 9472 // Watch for a new set of requests 9473 if ( fireGlobals && jQuery.active++ === 0 ) { 9474 jQuery.event.trigger( "ajaxStart" ); 9475 } 9476 9477 // Uppercase the type 9478 s.type = s.type.toUpperCase(); 9479 9480 // Determine if request has content 9481 s.hasContent = !rnoContent.test( s.type ); 9482 9483 // Save the URL in case we're toying with the If-Modified-Since 9484 // and/or If-None-Match header later on 9485 // Remove hash to simplify url manipulation 9486 cacheURL = s.url.replace( rhash, "" ); 9487 9488 // More options handling for requests with no content 9489 if ( !s.hasContent ) { 9490 9491 // Remember the hash so we can put it back 9492 uncached = s.url.slice( cacheURL.length ); 9493 9494 // If data is available and should be processed, append data to url 9495 if ( s.data && ( s.processData || typeof s.data === "string" ) ) { 9496 cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; 9497 9498 // trac-9682: remove data so that it's not used in an eventual retry 9499 delete s.data; 9500 } 9501 9502 // Add or update anti-cache param if needed 9503 if ( s.cache === false ) { 9504 cacheURL = cacheURL.replace( rantiCache, "$1" ); 9505 uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + 9506 uncached; 9507 } 9508 9509 // Put hash and anti-cache on the URL that will be requested (gh-1732) 9510 s.url = cacheURL + uncached; 9511 9512 // Change '%20' to '+' if this is encoded form body content (gh-2658) 9513 } else if ( s.data && s.processData && 9514 ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { 9515 s.data = s.data.replace( r20, "+" ); 9516 } 9517 9518 // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. 9519 if ( s.ifModified ) { 9520 if ( jQuery.lastModified[ cacheURL ] ) { 9521 jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); 9522 } 9523 if ( jQuery.etag[ cacheURL ] ) { 9524 jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); 9525 } 9526 } 9527 9528 // Set the correct header, if data is being sent 9529 if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { 9530 jqXHR.setRequestHeader( "Content-Type", s.contentType ); 9531 } 9532 9533 // Set the Accepts header for the server, depending on the dataType 9534 jqXHR.setRequestHeader( 9535 "Accept", 9536 s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? 9537 s.accepts[ s.dataTypes[ 0 ] ] + 9538 ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : 9539 s.accepts[ "*" ] 9540 ); 9541 9542 // Check for headers option 9543 for ( i in s.headers ) { 9544 jqXHR.setRequestHeader( i, s.headers[ i ] ); 9545 } 9546 9547 // Allow custom headers/mimetypes and early abort 9548 if ( s.beforeSend && 9549 ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { 9550 9551 // Abort if not done already and return 9552 return jqXHR.abort(); 9553 } 9554 9555 // Aborting is no longer a cancellation 9556 strAbort = "abort"; 9557 9558 // Install callbacks on deferreds 9559 completeDeferred.add( s.complete ); 9560 jqXHR.done( s.success ); 9561 jqXHR.fail( s.error ); 9562 9563 // Get transport 9564 transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); 9565 9566 // If no transport, we auto-abort 9567 if ( !transport ) { 9568 done( -1, "No Transport" ); 9569 } else { 9570 jqXHR.readyState = 1; 9571 9572 // Send global event 9573 if ( fireGlobals ) { 9574 globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); 9575 } 9576 9577 // If request was aborted inside ajaxSend, stop there 9578 if ( completed ) { 9579 return jqXHR; 9580 } 9581 9582 // Timeout 9583 if ( s.async && s.timeout > 0 ) { 9584 timeoutTimer = window.setTimeout( function() { 9585 jqXHR.abort( "timeout" ); 9586 }, s.timeout ); 9587 } 9588 9589 try { 9590 completed = false; 9591 transport.send( requestHeaders, done ); 9592 } catch ( e ) { 9593 9594 // Rethrow post-completion exceptions 9595 if ( completed ) { 9596 throw e; 9597 } 9598 9599 // Propagate others as results 9600 done( -1, e ); 9601 } 9602 } 9603 9604 // Callback for when everything is done 9605 function done( status, nativeStatusText, responses, headers ) { 9606 var isSuccess, success, error, response, modified, 9607 statusText = nativeStatusText; 9608 9609 // Ignore repeat invocations 9610 if ( completed ) { 9611 return; 9612 } 9613 9614 completed = true; 9615 9616 // Clear timeout if it exists 9617 if ( timeoutTimer ) { 9618 window.clearTimeout( timeoutTimer ); 9619 } 9620 9621 // Dereference transport for early garbage collection 9622 // (no matter how long the jqXHR object will be used) 9623 transport = undefined; 9624 9625 // Cache response headers 9626 responseHeadersString = headers || ""; 9627 9628 // Set readyState 9629 jqXHR.readyState = status > 0 ? 4 : 0; 9630 9631 // Determine if successful 9632 isSuccess = status >= 200 && status < 300 || status === 304; 9633 9634 // Get response data 9635 if ( responses ) { 9636 response = ajaxHandleResponses( s, jqXHR, responses ); 9637 } 9638 9639 // Use a noop converter for missing script but not if jsonp 9640 if ( !isSuccess && 9641 jQuery.inArray( "script", s.dataTypes ) > -1 && 9642 jQuery.inArray( "json", s.dataTypes ) < 0 ) { 9643 s.converters[ "text script" ] = function() {}; 9644 } 9645 9646 // Convert no matter what (that way responseXXX fields are always set) 9647 response = ajaxConvert( s, response, jqXHR, isSuccess ); 9648 9649 // If successful, handle type chaining 9650 if ( isSuccess ) { 9651 9652 // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. 9653 if ( s.ifModified ) { 9654 modified = jqXHR.getResponseHeader( "Last-Modified" ); 9655 if ( modified ) { 9656 jQuery.lastModified[ cacheURL ] = modified; 9657 } 9658 modified = jqXHR.getResponseHeader( "etag" ); 9659 if ( modified ) { 9660 jQuery.etag[ cacheURL ] = modified; 9661 } 9662 } 9663 9664 // if no content 9665 if ( status === 204 || s.type === "HEAD" ) { 9666 statusText = "nocontent"; 9667 9668 // if not modified 9669 } else if ( status === 304 ) { 9670 statusText = "notmodified"; 9671 9672 // If we have data, let's convert it 9673 } else { 9674 statusText = response.state; 9675 success = response.data; 9676 error = response.error; 9677 isSuccess = !error; 9678 } 9679 } else { 9680 9681 // Extract error from statusText and normalize for non-aborts 9682 error = statusText; 9683 if ( status || !statusText ) { 9684 statusText = "error"; 9685 if ( status < 0 ) { 9686 status = 0; 9687 } 9688 } 9689 } 9690 9691 // Set data for the fake xhr object 9692 jqXHR.status = status; 9693 jqXHR.statusText = ( nativeStatusText || statusText ) + ""; 9694 9695 // Success/Error 9696 if ( isSuccess ) { 9697 deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); 9698 } else { 9699 deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); 9700 } 9701 9702 // Status-dependent callbacks 9703 jqXHR.statusCode( statusCode ); 9704 statusCode = undefined; 9705 9706 if ( fireGlobals ) { 9707 globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", 9708 [ jqXHR, s, isSuccess ? success : error ] ); 9709 } 9710 9711 // Complete 9712 completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); 9713 9714 if ( fireGlobals ) { 9715 globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); 9716 9717 // Handle the global AJAX counter 9718 if ( !( --jQuery.active ) ) { 9719 jQuery.event.trigger( "ajaxStop" ); 9720 } 9721 } 9722 } 9723 9724 return jqXHR; 9725 }, 9726 9727 getJSON: function( url, data, callback ) { 9728 return jQuery.get( url, data, callback, "json" ); 9729 }, 9730 9731 getScript: function( url, callback ) { 9732 return jQuery.get( url, undefined, callback, "script" ); 9733 } 9734} ); 9735 9736jQuery.each( [ "get", "post" ], function( _i, method ) { 9737 jQuery[ method ] = function( url, data, callback, type ) { 9738 9739 // Shift arguments if data argument was omitted 9740 if ( isFunction( data ) ) { 9741 type = type || callback; 9742 callback = data; 9743 data = undefined; 9744 } 9745 9746 // The url can be an options object (which then must have .url) 9747 return jQuery.ajax( jQuery.extend( { 9748 url: url, 9749 type: method, 9750 dataType: type, 9751 data: data, 9752 success: callback 9753 }, jQuery.isPlainObject( url ) && url ) ); 9754 }; 9755} ); 9756 9757jQuery.ajaxPrefilter( function( s ) { 9758 var i; 9759 for ( i in s.headers ) { 9760 if ( i.toLowerCase() === "content-type" ) { 9761 s.contentType = s.headers[ i ] || ""; 9762 } 9763 } 9764} ); 9765 9766 9767jQuery._evalUrl = function( url, options, doc ) { 9768 return jQuery.ajax( { 9769 url: url, 9770 9771 // Make this explicit, since user can override this through ajaxSetup (trac-11264) 9772 type: "GET", 9773 dataType: "script", 9774 cache: true, 9775 async: false, 9776 global: false, 9777 9778 // Only evaluate the response if it is successful (gh-4126) 9779 // dataFilter is not invoked for failure responses, so using it instead 9780 // of the default converter is kludgy but it works. 9781 converters: { 9782 "text script": function() {} 9783 }, 9784 dataFilter: function( response ) { 9785 jQuery.globalEval( response, options, doc ); 9786 } 9787 } ); 9788}; 9789 9790 9791jQuery.fn.extend( { 9792 wrapAll: function( html ) { 9793 var wrap; 9794 9795 if ( this[ 0 ] ) { 9796 if ( isFunction( html ) ) { 9797 html = html.call( this[ 0 ] ); 9798 } 9799 9800 // The elements to wrap the target around 9801 wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); 9802 9803 if ( this[ 0 ].parentNode ) { 9804 wrap.insertBefore( this[ 0 ] ); 9805 } 9806 9807 wrap.map( function() { 9808 var elem = this; 9809 9810 while ( elem.firstElementChild ) { 9811 elem = elem.firstElementChild; 9812 } 9813 9814 return elem; 9815 } ).append( this ); 9816 } 9817 9818 return this; 9819 }, 9820 9821 wrapInner: function( html ) { 9822 if ( isFunction( html ) ) { 9823 return this.each( function( i ) { 9824 jQuery( this ).wrapInner( html.call( this, i ) ); 9825 } ); 9826 } 9827 9828 return this.each( function() { 9829 var self = jQuery( this ), 9830 contents = self.contents(); 9831 9832 if ( contents.length ) { 9833 contents.wrapAll( html ); 9834 9835 } else { 9836 self.append( html ); 9837 } 9838 } ); 9839 }, 9840 9841 wrap: function( html ) { 9842 var htmlIsFunction = isFunction( html ); 9843 9844 return this.each( function( i ) { 9845 jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); 9846 } ); 9847 }, 9848 9849 unwrap: function( selector ) { 9850 this.parent( selector ).not( "body" ).each( function() { 9851 jQuery( this ).replaceWith( this.childNodes ); 9852 } ); 9853 return this; 9854 } 9855} ); 9856 9857 9858jQuery.expr.pseudos.hidden = function( elem ) { 9859 return !jQuery.expr.pseudos.visible( elem ); 9860}; 9861jQuery.expr.pseudos.visible = function( elem ) { 9862 return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); 9863}; 9864 9865 9866 9867 9868jQuery.ajaxSettings.xhr = function() { 9869 try { 9870 return new window.XMLHttpRequest(); 9871 } catch ( e ) {} 9872}; 9873 9874var xhrSuccessStatus = { 9875 9876 // File protocol always yields status code 0, assume 200 9877 0: 200, 9878 9879 // Support: IE <=9 only 9880 // trac-1450: sometimes IE returns 1223 when it should be 204 9881 1223: 204 9882 }, 9883 xhrSupported = jQuery.ajaxSettings.xhr(); 9884 9885support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); 9886support.ajax = xhrSupported = !!xhrSupported; 9887 9888jQuery.ajaxTransport( function( options ) { 9889 var callback, errorCallback; 9890 9891 // Cross domain only allowed if supported through XMLHttpRequest 9892 if ( support.cors || xhrSupported && !options.crossDomain ) { 9893 return { 9894 send: function( headers, complete ) { 9895 var i, 9896 xhr = options.xhr(); 9897 9898 xhr.open( 9899 options.type, 9900 options.url, 9901 options.async, 9902 options.username, 9903 options.password 9904 ); 9905 9906 // Apply custom fields if provided 9907 if ( options.xhrFields ) { 9908 for ( i in options.xhrFields ) { 9909 xhr[ i ] = options.xhrFields[ i ]; 9910 } 9911 } 9912 9913 // Override mime type if needed 9914 if ( options.mimeType && xhr.overrideMimeType ) { 9915 xhr.overrideMimeType( options.mimeType ); 9916 } 9917 9918 // X-Requested-With header 9919 // For cross-domain requests, seeing as conditions for a preflight are 9920 // akin to a jigsaw puzzle, we simply never set it to be sure. 9921 // (it can always be set on a per-request basis or even using ajaxSetup) 9922 // For same-domain requests, won't change header if already provided. 9923 if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { 9924 headers[ "X-Requested-With" ] = "XMLHttpRequest"; 9925 } 9926 9927 // Set headers 9928 for ( i in headers ) { 9929 xhr.setRequestHeader( i, headers[ i ] ); 9930 } 9931 9932 // Callback 9933 callback = function( type ) { 9934 return function() { 9935 if ( callback ) { 9936 callback = errorCallback = xhr.onload = 9937 xhr.onerror = xhr.onabort = xhr.ontimeout = 9938 xhr.onreadystatechange = null; 9939 9940 if ( type === "abort" ) { 9941 xhr.abort(); 9942 } else if ( type === "error" ) { 9943 9944 // Support: IE <=9 only 9945 // On a manual native abort, IE9 throws 9946 // errors on any property access that is not readyState 9947 if ( typeof xhr.status !== "number" ) { 9948 complete( 0, "error" ); 9949 } else { 9950 complete( 9951 9952 // File: protocol always yields status 0; see trac-8605, trac-14207 9953 xhr.status, 9954 xhr.statusText 9955 ); 9956 } 9957 } else { 9958 complete( 9959 xhrSuccessStatus[ xhr.status ] || xhr.status, 9960 xhr.statusText, 9961 9962 // Support: IE <=9 only 9963 // IE9 has no XHR2 but throws on binary (trac-11426) 9964 // For XHR2 non-text, let the caller handle it (gh-2498) 9965 ( xhr.responseType || "text" ) !== "text" || 9966 typeof xhr.responseText !== "string" ? 9967 { binary: xhr.response } : 9968 { text: xhr.responseText }, 9969 xhr.getAllResponseHeaders() 9970 ); 9971 } 9972 } 9973 }; 9974 }; 9975 9976 // Listen to events 9977 xhr.onload = callback(); 9978 errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); 9979 9980 // Support: IE 9 only 9981 // Use onreadystatechange to replace onabort 9982 // to handle uncaught aborts 9983 if ( xhr.onabort !== undefined ) { 9984 xhr.onabort = errorCallback; 9985 } else { 9986 xhr.onreadystatechange = function() { 9987 9988 // Check readyState before timeout as it changes 9989 if ( xhr.readyState === 4 ) { 9990 9991 // Allow onerror to be called first, 9992 // but that will not handle a native abort 9993 // Also, save errorCallback to a variable 9994 // as xhr.onerror cannot be accessed 9995 window.setTimeout( function() { 9996 if ( callback ) { 9997 errorCallback(); 9998 } 9999 } ); 10000 } 10001 }; 10002 } 10003 10004 // Create the abort callback 10005 callback = callback( "abort" ); 10006 10007 try { 10008 10009 // Do send the request (this may raise an exception) 10010 xhr.send( options.hasContent && options.data || null ); 10011 } catch ( e ) { 10012 10013 // trac-14683: Only rethrow if this hasn't been notified as an error yet 10014 if ( callback ) { 10015 throw e; 10016 } 10017 } 10018 }, 10019 10020 abort: function() { 10021 if ( callback ) { 10022 callback(); 10023 } 10024 } 10025 }; 10026 } 10027} ); 10028 10029 10030 10031 10032// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) 10033jQuery.ajaxPrefilter( function( s ) { 10034 if ( s.crossDomain ) { 10035 s.contents.script = false; 10036 } 10037} ); 10038 10039// Install script dataType 10040jQuery.ajaxSetup( { 10041 accepts: { 10042 script: "text/javascript, application/javascript, " + 10043 "application/ecmascript, application/x-ecmascript" 10044 }, 10045 contents: { 10046 script: /\b(?:java|ecma)script\b/ 10047 }, 10048 converters: { 10049 "text script": function( text ) { 10050 jQuery.globalEval( text ); 10051 return text; 10052 } 10053 } 10054} ); 10055 10056// Handle cache's special case and crossDomain 10057jQuery.ajaxPrefilter( "script", function( s ) { 10058 if ( s.cache === undefined ) { 10059 s.cache = false; 10060 } 10061 if ( s.crossDomain ) { 10062 s.type = "GET"; 10063 } 10064} ); 10065 10066// Bind script tag hack transport 10067jQuery.ajaxTransport( "script", function( s ) { 10068 10069 // This transport only deals with cross domain or forced-by-attrs requests 10070 if ( s.crossDomain || s.scriptAttrs ) { 10071 var script, callback; 10072 return { 10073 send: function( _, complete ) { 10074 script = jQuery( "<script>" ) 10075 .attr( s.scriptAttrs || {} ) 10076 .prop( { charset: s.scriptCharset, src: s.url } ) 10077 .on( "load error", callback = function( evt ) { 10078 script.remove(); 10079 callback = null; 10080 if ( evt ) { 10081 complete( evt.type === "error" ? 404 : 200, evt.type ); 10082 } 10083 } ); 10084 10085 // Use native DOM manipulation to avoid our domManip AJAX trickery 10086 document.head.appendChild( script[ 0 ] ); 10087 }, 10088 abort: function() { 10089 if ( callback ) { 10090 callback(); 10091 } 10092 } 10093 }; 10094 } 10095} ); 10096 10097 10098 10099 10100var oldCallbacks = [], 10101 rjsonp = /(=)\?(?=&|$)|\?\?/; 10102 10103// Default jsonp settings 10104jQuery.ajaxSetup( { 10105 jsonp: "callback", 10106 jsonpCallback: function() { 10107 var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce.guid++ ) ); 10108 this[ callback ] = true; 10109 return callback; 10110 } 10111} ); 10112 10113// Detect, normalize options and install callbacks for jsonp requests 10114jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { 10115 10116 var callbackName, overwritten, responseContainer, 10117 jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? 10118 "url" : 10119 typeof s.data === "string" && 10120 ( s.contentType || "" ) 10121 .indexOf( "application/x-www-form-urlencoded" ) === 0 && 10122 rjsonp.test( s.data ) && "data" 10123 ); 10124 10125 // Handle iff the expected data type is "jsonp" or we have a parameter to set 10126 if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { 10127 10128 // Get callback name, remembering preexisting value associated with it 10129 callbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ? 10130 s.jsonpCallback() : 10131 s.jsonpCallback; 10132 10133 // Insert callback into url or form data 10134 if ( jsonProp ) { 10135 s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); 10136 } else if ( s.jsonp !== false ) { 10137 s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; 10138 } 10139 10140 // Use data converter to retrieve json after script execution
vendor: 8,362 bytes, lines 10141-10452
10141 s.converters[ "script json" ] = function() { 10142 if ( !responseContainer ) { 10143 jQuery.error( callbackName + " was not called" ); 10144 } 10145 return responseContainer[ 0 ]; 10146 }; 10147 10148 // Force json dataType 10149 s.dataTypes[ 0 ] = "json"; 10150 10151 // Install callback 10152 overwritten = window[ callbackName ]; 10153 window[ callbackName ] = function() { 10154 responseContainer = arguments; 10155 }; 10156 10157 // Clean-up function (fires after converters) 10158 jqXHR.always( function() { 10159 10160 // If previous value didn't exist - remove it 10161 if ( overwritten === undefined ) { 10162 jQuery( window ).removeProp( callbackName ); 10163 10164 // Otherwise restore preexisting value 10165 } else { 10166 window[ callbackName ] = overwritten; 10167 } 10168 10169 // Save back as free 10170 if ( s[ callbackName ] ) { 10171 10172 // Make sure that re-using the options doesn't screw things around 10173 s.jsonpCallback = originalSettings.jsonpCallback; 10174 10175 // Save the callback name for future use 10176 oldCallbacks.push( callbackName ); 10177 } 10178 10179 // Call if it was a function and we have a response 10180 if ( responseContainer && isFunction( overwritten ) ) { 10181 overwritten( responseContainer[ 0 ] ); 10182 } 10183 10184 responseContainer = overwritten = undefined; 10185 } ); 10186 10187 // Delegate to script 10188 return "script"; 10189 } 10190} ); 10191 10192 10193 10194 10195// Support: Safari 8 only 10196// In Safari 8 documents created via document.implementation.createHTMLDocument 10197// collapse sibling forms: the second one becomes a child of the first one. 10198// Because of that, this security measure has to be disabled in Safari 8. 10199// https://bugs.webkit.org/show_bug.cgi?id=137337 10200support.createHTMLDocument = ( function() { 10201 var body = document.implementation.createHTMLDocument( "" ).body; 10202 body.innerHTML = "<form></form><form></form>"; 10203 return body.childNodes.length === 2; 10204} )(); 10205 10206 10207// Argument "data" should be string of html 10208// context (optional): If specified, the fragment will be created in this context, 10209// defaults to document 10210// keepScripts (optional): If true, will include scripts passed in the html string 10211jQuery.parseHTML = function( data, context, keepScripts ) { 10212 if ( typeof data !== "string" ) { 10213 return []; 10214 } 10215 if ( typeof context === "boolean" ) { 10216 keepScripts = context; 10217 context = false; 10218 } 10219 10220 var base, parsed, scripts; 10221 10222 if ( !context ) { 10223 10224 // Stop scripts or inline event handlers from being executed immediately 10225 // by using document.implementation 10226 if ( support.createHTMLDocument ) { 10227 context = document.implementation.createHTMLDocument( "" ); 10228 10229 // Set the base href for the created document 10230 // so any parsed elements with URLs 10231 // are based on the document's URL (gh-2965) 10232 base = context.createElement( "base" ); 10233 base.href = document.location.href; 10234 context.head.appendChild( base ); 10235 } else { 10236 context = document; 10237 } 10238 } 10239 10240 parsed = rsingleTag.exec( data ); 10241 scripts = !keepScripts && []; 10242 10243 // Single tag 10244 if ( parsed ) { 10245 return [ context.createElement( parsed[ 1 ] ) ]; 10246 } 10247 10248 parsed = buildFragment( [ data ], context, scripts ); 10249 10250 if ( scripts && scripts.length ) { 10251 jQuery( scripts ).remove(); 10252 } 10253 10254 return jQuery.merge( [], parsed.childNodes ); 10255}; 10256 10257 10258/** 10259 * Load a url into a page 10260 */ 10261jQuery.fn.load = function( url, params, callback ) { 10262 var selector, type, response, 10263 self = this, 10264 off = url.indexOf( " " ); 10265 10266 if ( off > -1 ) { 10267 selector = stripAndCollapse( url.slice( off ) ); 10268 url = url.slice( 0, off ); 10269 } 10270 10271 // If it's a function 10272 if ( isFunction( params ) ) { 10273 10274 // We assume that it's the callback 10275 callback = params; 10276 params = undefined; 10277 10278 // Otherwise, build a param string 10279 } else if ( params && typeof params === "object" ) { 10280 type = "POST"; 10281 } 10282 10283 // If we have elements to modify, make the request 10284 if ( self.length > 0 ) { 10285 jQuery.ajax( { 10286 url: url, 10287 10288 // If "type" variable is undefined, then "GET" method will be used. 10289 // Make value of this field explicit since 10290 // user can override it through ajaxSetup method 10291 type: type || "GET", 10292 dataType: "html", 10293 data: params 10294 } ).done( function( responseText ) { 10295 10296 // Save response for use in complete callback 10297 response = arguments; 10298 10299 self.html( selector ? 10300 10301 // If a selector was specified, locate the right elements in a dummy div 10302 // Exclude scripts to avoid IE 'Permission Denied' errors 10303 jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) : 10304 10305 // Otherwise use the full result 10306 responseText ); 10307 10308 // If the request succeeds, this function gets "data", "status", "jqXHR" 10309 // but they are ignored because response was set above. 10310 // If it fails, this function gets "jqXHR", "status", "error" 10311 } ).always( callback && function( jqXHR, status ) { 10312 self.each( function() { 10313 callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] ); 10314 } ); 10315 } ); 10316 } 10317 10318 return this; 10319}; 10320 10321 10322 10323 10324jQuery.expr.pseudos.animated = function( elem ) { 10325 return jQuery.grep( jQuery.timers, function( fn ) { 10326 return elem === fn.elem; 10327 } ).length; 10328}; 10329 10330 10331 10332 10333jQuery.offset = { 10334 setOffset: function( elem, options, i ) { 10335 var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition, 10336 position = jQuery.css( elem, "position" ), 10337 curElem = jQuery( elem ), 10338 props = {}; 10339 10340 // Set position first, in-case top/left are set even on static elem 10341 if ( position === "static" ) { 10342 elem.style.position = "relative"; 10343 } 10344 10345 curOffset = curElem.offset(); 10346 curCSSTop = jQuery.css( elem, "top" ); 10347 curCSSLeft = jQuery.css( elem, "left" ); 10348 calculatePosition = ( position === "absolute" || position === "fixed" ) && 10349 ( curCSSTop + curCSSLeft ).indexOf( "auto" ) > -1; 10350 10351 // Need to be able to calculate position if either 10352 // top or left is auto and position is either absolute or fixed 10353 if ( calculatePosition ) { 10354 curPosition = curElem.position(); 10355 curTop = curPosition.top; 10356 curLeft = curPosition.left; 10357 10358 } else { 10359 curTop = parseFloat( curCSSTop ) || 0; 10360 curLeft = parseFloat( curCSSLeft ) || 0; 10361 } 10362 10363 if ( isFunction( options ) ) { 10364 10365 // Use jQuery.extend here to allow modification of coordinates argument (gh-1848) 10366 options = options.call( elem, i, jQuery.extend( {}, curOffset ) ); 10367 } 10368 10369 if ( options.top != null ) { 10370 props.top = ( options.top - curOffset.top ) + curTop; 10371 } 10372 if ( options.left != null ) { 10373 props.left = ( options.left - curOffset.left ) + curLeft; 10374 } 10375 10376 if ( "using" in options ) { 10377 options.using.call( elem, props ); 10378 10379 } else { 10380 curElem.css( props ); 10381 } 10382 } 10383}; 10384 10385jQuery.fn.extend( { 10386 10387 // offset() relates an element's border box to the document origin 10388 offset: function( options ) { 10389 10390 // Preserve chaining for setter 10391 if ( arguments.length ) { 10392 return options === undefined ? 10393 this : 10394 this.each( function( i ) { 10395 jQuery.offset.setOffset( this, options, i ); 10396 } ); 10397 } 10398 10399 var rect, win, 10400 elem = this[ 0 ]; 10401 10402 if ( !elem ) { 10403 return; 10404 } 10405 10406 // Return zeros for disconnected and hidden (display: none) elements (gh-2310) 10407 // Support: IE <=11 only 10408 // Running getBoundingClientRect on a 10409 // disconnected node in IE throws an error 10410 if ( !elem.getClientRects().length ) { 10411 return { top: 0, left: 0 }; 10412 } 10413 10414 // Get document-relative position by adding viewport scroll to viewport-relative gBCR 10415 rect = elem.getBoundingClientRect(); 10416 win = elem.ownerDocument.defaultView; 10417 return { 10418 top: rect.top + win.pageYOffset, 10419 left: rect.left + win.pageXOffset 10420 }; 10421 }, 10422 10423 // position() relates an element's margin box to its offset parent's padding box 10424 // This corresponds to the behavior of CSS absolute positioning 10425 position: function() { 10426 if ( !this[ 0 ] ) { 10427 return; 10428 } 10429 10430 var offsetParent, offset, doc, 10431 elem = this[ 0 ], 10432 parentOffset = { top: 0, left: 0 }; 10433 10434 // position:fixed elements are offset from the viewport, which itself always has zero offset 10435 if ( jQuery.css( elem, "position" ) === "fixed" ) { 10436 10437 // Assume position:fixed implies availability of getBoundingClientRect 10438 offset = elem.getBoundingClientRect(); 10439 10440 } else { 10441 offset = this.offset(); 10442 10443 // Account for the *real* offset parent, which can be the document or its root element 10444 // when a statically positioned element is identified 10445 doc = elem.ownerDocument; 10446 offsetParent = elem.offsetParent || doc.documentElement; 10447 while ( offsetParent && 10448 ( offsetParent === doc.body || offsetParent === doc.documentElement ) && 10449 jQuery.css( offsetParent, "position" ) === "static" ) { 10450 10451 offsetParent = offsetParent.parentNode; 10452 }
vendor: 8,812 bytes, lines 10453-10745
10453 if ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) { 10454 10455 // Incorporate borders into its offset, since they are outside its content origin 10456 parentOffset = jQuery( offsetParent ).offset(); 10457 parentOffset.top += jQuery.css( offsetParent, "borderTopWidth", true ); 10458 parentOffset.left += jQuery.css( offsetParent, "borderLeftWidth", true ); 10459 } 10460 } 10461 10462 // Subtract parent offsets and element margins 10463 return { 10464 top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), 10465 left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true ) 10466 }; 10467 }, 10468 10469 // This method will return documentElement in the following cases: 10470 // 1) For the element inside the iframe without offsetParent, this method will return 10471 // documentElement of the parent window 10472 // 2) For the hidden or detached element 10473 // 3) For body or html element, i.e. in case of the html node - it will return itself 10474 // 10475 // but those exceptions were never presented as a real life use-cases 10476 // and might be considered as more preferable results. 10477 // 10478 // This logic, however, is not guaranteed and can change at any point in the future 10479 offsetParent: function() { 10480 return this.map( function() { 10481 var offsetParent = this.offsetParent; 10482 10483 while ( offsetParent && jQuery.css( offsetParent, "position" ) === "static" ) { 10484 offsetParent = offsetParent.offsetParent; 10485 } 10486 10487 return offsetParent || documentElement; 10488 } ); 10489 } 10490} ); 10491 10492// Create scrollLeft and scrollTop methods 10493jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) { 10494 var top = "pageYOffset" === prop; 10495 10496 jQuery.fn[ method ] = function( val ) { 10497 return access( this, function( elem, method, val ) { 10498 10499 // Coalesce documents and windows 10500 var win; 10501 if ( isWindow( elem ) ) { 10502 win = elem; 10503 } else if ( elem.nodeType === 9 ) { 10504 win = elem.defaultView; 10505 } 10506 10507 if ( val === undefined ) { 10508 return win ? win[ prop ] : elem[ method ]; 10509 } 10510 10511 if ( win ) { 10512 win.scrollTo( 10513 !top ? val : win.pageXOffset, 10514 top ? val : win.pageYOffset 10515 ); 10516 10517 } else { 10518 elem[ method ] = val; 10519 } 10520 }, method, val, arguments.length ); 10521 }; 10522} ); 10523 10524// Support: Safari <=7 - 9.1, Chrome <=37 - 49 10525// Add the top/left cssHooks using jQuery.fn.position 10526// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 10527// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347 10528// getComputedStyle returns percent when specified for top/left/bottom/right; 10529// rather than make the css module depend on the offset module, just check for it here 10530jQuery.each( [ "top", "left" ], function( _i, prop ) { 10531 jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition, 10532 function( elem, computed ) { 10533 if ( computed ) { 10534 computed = curCSS( elem, prop ); 10535 10536 // If curCSS returns percentage, fallback to offset 10537 return rnumnonpx.test( computed ) ? 10538 jQuery( elem ).position()[ prop ] + "px" : 10539 computed; 10540 } 10541 } 10542 ); 10543} ); 10544 10545 10546// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods 10547jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { 10548 jQuery.each( { 10549 padding: "inner" + name, 10550 content: type, 10551 "": "outer" + name 10552 }, function( defaultExtra, funcName ) { 10553 10554 // Margin is only for outerHeight, outerWidth 10555 jQuery.fn[ funcName ] = function( margin, value ) { 10556 var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), 10557 extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); 10558 10559 return access( this, function( elem, type, value ) { 10560 var doc; 10561 10562 if ( isWindow( elem ) ) { 10563 10564 // $( window ).outerWidth/Height return w/h including scrollbars (gh-1729) 10565 return funcName.indexOf( "outer" ) === 0 ? 10566 elem[ "inner" + name ] : 10567 elem.document.documentElement[ "client" + name ]; 10568 } 10569 10570 // Get document width or height 10571 if ( elem.nodeType === 9 ) { 10572 doc = elem.documentElement; 10573 10574 // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], 10575 // whichever is greatest 10576 return Math.max( 10577 elem.body[ "scroll" + name ], doc[ "scroll" + name ], 10578 elem.body[ "offset" + name ], doc[ "offset" + name ], 10579 doc[ "client" + name ] 10580 ); 10581 } 10582 10583 return value === undefined ? 10584 10585 // Get width or height on the element, requesting but not forcing parseFloat 10586 jQuery.css( elem, type, extra ) : 10587 10588 // Set width or height on the element 10589 jQuery.style( elem, type, value, extra ); 10590 }, type, chainable ? margin : undefined, chainable ); 10591 }; 10592 } ); 10593} ); 10594 10595 10596jQuery.each( [ 10597 "ajaxStart", 10598 "ajaxStop", 10599 "ajaxComplete", 10600 "ajaxError", 10601 "ajaxSuccess", 10602 "ajaxSend" 10603], function( _i, type ) { 10604 jQuery.fn[ type ] = function( fn ) { 10605 return this.on( type, fn ); 10606 }; 10607} ); 10608 10609 10610 10611 10612jQuery.fn.extend( { 10613 10614 bind: function( types, data, fn ) { 10615 return this.on( types, null, data, fn ); 10616 }, 10617 unbind: function( types, fn ) { 10618 return this.off( types, null, fn ); 10619 }, 10620 10621 delegate: function( selector, types, data, fn ) { 10622 return this.on( types, selector, data, fn ); 10623 }, 10624 undelegate: function( selector, types, fn ) { 10625 10626 // ( namespace ) or ( selector, types [, fn] ) 10627 return arguments.length === 1 ? 10628 this.off( selector, "**" ) : 10629 this.off( types, selector || "**", fn ); 10630 }, 10631 10632 hover: function( fnOver, fnOut ) { 10633 return this 10634 .on( "mouseenter", fnOver ) 10635 .on( "mouseleave", fnOut || fnOver ); 10636 } 10637} ); 10638 10639jQuery.each( 10640 ( "blur focus focusin focusout resize scroll click dblclick " + 10641 "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 10642 "change select submit keydown keypress keyup contextmenu" ).split( " " ), 10643 function( _i, name ) { 10644 10645 // Handle event binding 10646 jQuery.fn[ name ] = function( data, fn ) { 10647 return arguments.length > 0 ? 10648 this.on( name, null, data, fn ) : 10649 this.trigger( name ); 10650 }; 10651 } 10652); 10653 10654 10655 10656 10657// Support: Android <=4.0 only 10658// Make sure we trim BOM and NBSP 10659// Require that the "whitespace run" starts from a non-whitespace 10660// to avoid O(N^2) behavior when the engine would try matching "\s+$" at each space position. 10661var rtrim = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g; 10662 10663// Bind a function to a context, optionally partially applying any 10664// arguments. 10665// jQuery.proxy is deprecated to promote standards (specifically Function#bind) 10666// However, it is not slated for removal any time soon 10667jQuery.proxy = function( fn, context ) { 10668 var tmp, args, proxy; 10669 10670 if ( typeof context === "string" ) { 10671 tmp = fn[ context ]; 10672 context = fn; 10673 fn = tmp; 10674 } 10675 10676 // Quick check to determine if target is callable, in the spec 10677 // this throws a TypeError, but we will just return undefined. 10678 if ( !isFunction( fn ) ) { 10679 return undefined; 10680 } 10681 10682 // Simulated bind 10683 args = slice.call( arguments, 2 ); 10684 proxy = function() { 10685 return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); 10686 }; 10687 10688 // Set the guid of unique handler to the same of original handler, so it can be removed 10689 proxy.guid = fn.guid = fn.guid || jQuery.guid++; 10690 10691 return proxy; 10692}; 10693 10694jQuery.holdReady = function( hold ) { 10695 if ( hold ) { 10696 jQuery.readyWait++; 10697 } else { 10698 jQuery.ready( true ); 10699 } 10700}; 10701jQuery.isArray = Array.isArray; 10702jQuery.parseJSON = JSON.parse; 10703jQuery.nodeName = nodeName; 10704jQuery.isFunction = isFunction; 10705jQuery.isWindow = isWindow; 10706jQuery.camelCase = camelCase; 10707jQuery.type = toType; 10708 10709jQuery.now = Date.now; 10710 10711jQuery.isNumeric = function( obj ) { 10712 10713 // As of jQuery 3.0, isNumeric is limited to 10714 // strings and numbers (primitives or objects) 10715 // that can be coerced to finite numbers (gh-2662) 10716 var type = jQuery.type( obj ); 10717 return ( type === "number" || type === "string" ) && 10718 10719 // parseFloat NaNs numeric-cast false positives ("") 10720 // ...but misinterprets leading-number strings, particularly hex literals ("0x...") 10721 // subtraction forces infinities to NaN 10722 !isNaN( obj - parseFloat( obj ) ); 10723}; 10724 10725jQuery.trim = function( text ) { 10726 return text == null ? 10727 "" : 10728 ( text + "" ).replace( rtrim, "$1" ); 10729}; 10730 10731 10732 10733// Register as a named AMD module, since jQuery can be concatenated with other 10734// files that may use define, but not via a proper concatenation script that 10735// understands anonymous AMD modules. A named AMD is safest and most robust 10736// way to register. Lowercase jquery is used because AMD module names are 10737// derived from file names, and jQuery is normally delivered in a lowercase 10738// file name. Do this after creating the global so that if an AMD module wants 10739// to call noConflict to hide this version of jQuery, it will work. 10740 10741// Note that for maximum portability, libraries that are not jQuery should 10742// declare themselves as anonymous modules, and avoid setting a global if an 10743// AMD loader is present. jQuery is a special case. For more information, see 10744// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon 10745
10746/** 10747 * BEGIN MODIFIED BY ATLASSIAN 10748 * We want jquery to define itself so that the platform web-resource works 10749 */ 10750if ( typeof define === "function" ) { 10751/* END MODIFIED BY ATLASSIAN */ 10752 define( "jquery", [], function() { 10753 return jQuery; 10754 } ); 10755} 10756 10757 10758 10759 10760var 10761 10762 // Map over jQuery in case of overwrite 10763 _jQuery = window.jQuery, 10764 10765 // Map over the $ in case of overwrite 10766 _$ = window.$; 10767 10768jQuery.noConflict = function( deep ) { 10769 if ( window.$ === jQuery ) { 10770 window.$ = _$; 10771 } 10772 10773 if ( deep && window.jQuery === jQuery ) { 10774 window.jQuery = _jQuery; 10775 } 10776 10777 return jQuery; 10778}; 10779 10780// Expose jQuery and $ identifiers, even in AMD 10781// (trac-7102#comment:10, https://github.com/jquery/jquery/pull/557) 10782// and CommonJS for browser emulators (trac-13566) 10783if ( typeof noGlobal === "undefined" ) { 10784 window.jQuery = window.$ = jQuery; 10785} 10786 10787 10788 10789 10790return jQuery; 10791} ); 10792 10793}catch(e){WRMCB(e)}; 10794; 10795try { 10796/* module-key = 'com.atlassian.plugins.jquery:jquery-browser', location = '/plugins/jquery.browser.js' */ 10797/*! 10798 * jQuery Browser Plugin 0.1.0 10799 * https://github.com/gabceb/jquery-browser-plugin 10800 * 10801 * Original jquery-browser code Copyright 2005, 2015 jQuery Foundation, Inc. and other contributors 10802 * http://jquery.org/license 10803 * 10804 * Modifications Copyright 2015 Gabriel Cebrian 10805 * https://github.com/gabceb 10806 * 10807 * Released under the MIT license 10808 * 10809 * Date: 05-07-2015 10810 */ 10811/*! THIS FILE HAS BEEN MODIFIED BY ATLASSIAN. Modified lines are marked below, search "ATLASSIAN" */ 10812/*global window: false */ 10813 10814(function (factory) { 10815 //! FOLLOWING REMOVED BY ATLASSIAN: definition of AMD module. It will always register to the global variable. 10816 factory(window.jQuery); 10817}(function(jQuery) { 10818 "use strict"; 10819 10820 function uaMatch( ua ) { 10821 // If an UA is not provided, default to the current browser UA. 10822 if ( ua === undefined ) { 10823 ua = window.navigator.userAgent; 10824 } 10825 ua = ua.toLowerCase(); 10826 10827 var match = /(edge)\/([\w.]+)/.exec( ua ) || 10828 /(opr)[\/]([\w.]+)/.exec( ua ) || 10829 /(chrome)[ \/]([\w.]+)/.exec( ua ) || 10830 /(iemobile)[\/]([\w.]+)/.exec( ua ) || 10831 /(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec( ua ) || 10832 /(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec( ua ) || 10833 /(webkit)[ \/]([\w.]+)/.exec( ua ) || 10834 /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || 10835 /(msie) ([\w.]+)/.exec( ua ) || 10836 ua.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec( ua ) || 10837 ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) || 10838 []; 10839 10840 var platform_match = /(ipad)/.exec( ua ) || 10841 /(ipod)/.exec( ua ) || 10842 /(windows phone)/.exec( ua ) || 10843 /(iphone)/.exec( ua ) || 10844 /(kindle)/.exec( ua ) || 10845 /(silk)/.exec( ua ) || 10846 /(android)/.exec( ua ) || 10847 /(win)/.exec( ua ) || 10848 /(mac)/.exec( ua ) || 10849 /(linux)/.exec( ua ) || 10850 /(cros)/.exec( ua ) || 10851 /(playbook)/.exec( ua ) || 10852 /(bb)/.exec( ua ) || 10853 /(blackberry)/.exec( ua ) || 10854 []; 10855 10856 var browser = {}, 10857 matched = { 10858 browser: match[ 5 ] || match[ 3 ] || match[ 1 ] || "", 10859 version: match[ 2 ] || match[ 4 ] || "0", 10860 versionNumber: match[ 4 ] || match[ 2 ] || "0", 10861 platform: platform_match[ 0 ] || "" 10862 }; 10863 10864 if ( matched.browser ) { 10865 browser[ matched.browser ] = true; 10866 browser.version = matched.version; 10867 browser.versionNumber = parseInt(matched.versionNumber, 10); 10868 } 10869 10870 if ( matched.platform ) { 10871 browser[ matched.platform ] = true; 10872 } 10873 10874 // These are all considered mobile platforms, meaning they run a mobile browser 10875 if ( browser.android || browser.bb || browser.blackberry || browser.ipad || browser.iphone || 10876 browser.ipod || browser.kindle || browser.playbook || browser.silk || browser[ "windows phone" ]) { 10877 browser.mobile = true; 10878 } 10879 10880 // These are all considered desktop platforms, meaning they run a desktop browser 10881 if ( browser.cros || browser.mac || browser.linux || browser.win ) { 10882 browser.desktop = true; 10883 } 10884 10885 // Chrome, Opera 15+ and Safari are webkit based browsers 10886 if ( browser.chrome || browser.opr || browser.safari ) { 10887 browser.webkit = true; 10888 } 10889 10890 // IE11 has a new token so we will assign it msie to avoid breaking changes 10891 if ( browser.rv || browser.iemobile) { 10892 var ie = "msie"; 10893 10894 matched.browser = ie; 10895 browser[ie] = true; 10896 } 10897 10898 // Edge is officially known as Microsoft Edge, so rewrite the key to match 10899 if ( browser.edge ) { 10900 delete browser.edge; 10901 var msedge = "msedge"; 10902 10903 matched.browser = msedge; 10904 browser[msedge] = true; 10905 } 10906 10907 // Blackberry browsers are marked as Safari on BlackBerry 10908 if ( browser.safari && browser.blackberry ) { 10909 var blackberry = "blackberry"; 10910 10911 matched.browser = blackberry; 10912 browser[blackberry] = true; 10913 } 10914 10915 // Playbook browsers are marked as Safari on Playbook 10916 if ( browser.safari && browser.playbook ) {
10917 var playbook = "playbook"; 10918 10919 matched.browser = playbook; 10920 browser[playbook] = true; 10921 } 10922 10923 // BB10 is a newer OS version of BlackBerry 10924 if ( browser.bb ) { 10925 var bb = "blackberry"; 10926 10927 matched.browser = bb; 10928 browser[bb] = true; 10929 } 10930 10931 // Opera 15+ are identified as opr 10932 if ( browser.opr ) { 10933 var opera = "opera"; 10934 10935 matched.browser = opera; 10936 browser[opera] = true; 10937 } 10938 10939 // Stock Android browsers are marked as Safari on Android. 10940 if ( browser.safari && browser.android ) { 10941 var android = "android"; 10942 10943 matched.browser = android; 10944 browser[android] = true; 10945 } 10946 10947 // Kindle browsers are marked as Safari on Kindle 10948 if ( browser.safari && browser.kindle ) { 10949 var kindle = "kindle"; 10950 10951 matched.browser = kindle; 10952 browser[kindle] = true; 10953 } 10954 10955 // Kindle Silk browsers are marked as Safari on Kindle 10956 if ( browser.safari && browser.silk ) { 10957 var silk = "silk"; 10958 10959 matched.browser = silk; 10960 browser[silk] = true; 10961 } 10962 10963 // Assign the name and platform variable 10964 browser.name = matched.browser; 10965 browser.platform = matched.platform; 10966 return browser; 10967 } 10968 10969 // Run the matching process, also assign the function to the returned object 10970 // for manual, jQuery-free use if desired 10971 //! FOLLOWING MODIFIED BY ATLASSIAN: definition of window.jQBrowser; it is only exposed on the jQuery object. 10972 var jQBrowser = uaMatch( window.navigator.userAgent ); 10973 jQBrowser.uaMatch = uaMatch; 10974 10975 // Only assign to jQuery.browser if jQuery is loaded 10976 if ( jQuery ) { 10977 jQuery.browser = window.jQBrowser; 10978 } 10979 10980 return jQBrowser; 10981 //! END MODIFIED BY ATLASSIAN 10982})); 10983 10984}catch(e){WRMCB(e)}; 10985; 10986try { 10987/* module-key = 'com.atlassian.plugins.jquery:jquery-migrate-lib', location = '/jquery-migrate.js' */ 10988/*! 10989 * jQuery Migrate - v3.6.0 - 2025-12-11T02:48Z 10990 * Copyright OpenJS Foundation and other contributors 10991 * Released under the MIT license 10992 * https://jquery.com/license/ 10993 */ 10994( function( factory ) { 10995 "use strict"; 10996 10997 if ( typeof define === "function" && define.amd ) { 10998 10999 // AMD. Register as an anonymous module. 11000 define( [ "jquery" ], function( jQuery ) { 11001 return factory( jQuery, window ); 11002 } ); 11003 } else if ( typeof module === "object" && module.exports ) { 11004 11005 // Node/CommonJS 11006 // eslint-disable-next-line no-undef 11007 module.exports = factory( require( "jquery" ), window ); 11008 } else { 11009 11010 // Browser globals 11011 factory( jQuery, window ); 11012 } 11013} )( function( jQuery, window ) { 11014"use strict"; 11015 11016jQuery.migrateVersion = "3.6.0"; 11017 11018// Returns 0 if v1 == v2, -1 if v1 < v2, 1 if v1 > v2 11019function compareVersions( v1, v2 ) { 11020 var i, 11021 rVersionParts = /^(\d+)\.(\d+)\.(\d+)/, 11022 v1p = rVersionParts.exec( v1 ) || [ ], 11023 v2p = rVersionParts.exec( v2 ) || [ ]; 11024 11025 for ( i = 1; i <= 3; i++ ) { 11026 if ( +v1p[ i ] > +v2p[ i ] ) { 11027 return 1; 11028 } 11029 if ( +v1p[ i ] < +v2p[ i ] ) { 11030 return -1; 11031 } 11032 } 11033 return 0; 11034} 11035 11036function jQueryVersionSince( version ) { 11037 return compareVersions( jQuery.fn.jquery, version ) >= 0; 11038} 11039 11040// A map from disabled patch codes to `true`. This should really 11041// be a `Set` but those are unsupported in IE. 11042var disabledPatches = Object.create( null ); 11043 11044// Don't apply patches for specified codes. Helpful for code bases 11045// where some Migrate warnings have been addressed, and it's desirable 11046// to avoid needless patches or false positives. 11047jQuery.migrateDisablePatches = function() { 11048 var i; 11049 for ( i = 0; i < arguments.length; i++ ) { 11050 disabledPatches[ arguments[ i ] ] = true; 11051 } 11052}; 11053 11054// Allow enabling patches disabled via `jQuery.migrateDisablePatches`. 11055// Helpful if you want to disable a patch only for some code that won't 11056// be updated soon to be able to focus on other warnings - and enable it 11057// immediately after such a call: 11058// ```js 11059// jQuery.migrateDisablePatches( "workaroundA" ); 11060// elem.pluginViolatingWarningA( "pluginMethod" ); 11061// jQuery.migrateEnablePatches( "workaroundA" ); 11062// ``` 11063jQuery.migrateEnablePatches = function() { 11064 var i; 11065 for ( i = 0; i < arguments.length; i++ ) { 11066 delete disabledPatches[ arguments[ i ] ]; 11067 } 11068}; 11069 11070jQuery.migrateIsPatchEnabled = function( patchCode ) { 11071 return !disabledPatches[ patchCode ]; 11072}; 11073 11074( function() { 11075 11076// Support: IE9 only 11077// IE9 only creates console object when dev tools are first opened 11078// IE9 console is a host object, callable but doesn't have .apply() 11079if ( !window.console || !window.console.log ) { 11080 return; 11081} 11082 11083// Need jQuery 3.x and no older Migrate loaded 11084if ( !jQuery || !jQueryVersionSince( "3.0.0" ) || 11085 jQueryVersionSince( "4.0.0" ) ) { 11086 window.console.log( "JQMIGRATE: jQuery 3.x REQUIRED" ); 11087} 11088if ( jQuery.migrateWarnings ) { 11089 window.console.log( "JQMIGRATE: Migrate plugin loaded multiple times" ); 11090} 11091 11092// Show a message on the console so devs know we're active 11093window.console.log( "JQMIGRATE: Migrate is installed" + 11094 ( jQuery.migrateMute ? "" : " with logging active" ) + 11095 ", version " + jQuery.migrateVersion ); 11096 11097} )(); 11098 11099var warnedAbout = {}; 11100 11101/** 11102 * BEGIN MODIFIED BY ATLASSIAN 11103 * Set to true to prevent console output; migrateWarnings still maintained 11104 */ 11105jQuery.migrateMute = true; 11106/* END MODIFIED BY ATLASSIAN */ 11107 11108// By default, each warning is only reported once. 11109jQuery.migrateDeduplicateWarnings = true; 11110 11111// List of warnings already given; public read only 11112jQuery.migrateWarnings = []; 11113 11114// Set to `false` to disable traces that appear with warnings 11115if ( jQuery.migrateTrace === undefined ) { 11116 jQuery.migrateTrace = true; 11117} 11118 11119// Forget any warnings we've already given; public 11120jQuery.migrateReset = function() { 11121 warnedAbout = {}; 11122 jQuery.migrateWarnings.length = 0; 11123}; 11124 11125function migrateWarn( code, msg ) { 11126 var console = window.console; 11127 if ( jQuery.migrateIsPatchEnabled( code ) && 11128 ( !jQuery.migrateDeduplicateWarnings || !warnedAbout[ msg ] ) ) { 11129 warnedAbout[ msg ] = true; 11130 jQuery.migrateWarnings.push( msg + " [" + code + "]" ); 11131 if ( console && console.warn && !jQuery.migrateMute ) { 11132 console.warn( "JQMIGRATE: " + msg ); 11133 if ( jQuery.migrateTrace && console.trace ) { 11134 console.trace(); 11135 } 11136 } 11137 } 11138} 11139 11140function migrateWarnProp( obj, prop, value, code, msg ) { 11141 Object.defineProperty( obj, prop, { 11142 configurable: true, 11143 enumerable: true, 11144 get: function() { 11145 migrateWarn( code, msg ); 11146 return value; 11147 }, 11148 set: function( newValue ) { 11149 migrateWarn( code, msg ); 11150 value = newValue; 11151 } 11152 } ); 11153} 11154 11155function migrateWarnFuncInternal( obj, prop, newFunc, code, msg ) { 11156 var finalFunc, 11157 origFunc = obj[ prop ]; 11158 11159 obj[ prop ] = function() { 11160 11161 // If `msg` not provided, do not warn; more sophisticated warnings 11162 // logic is most likely embedded in `newFunc`, in that case here 11163 // we just care about the logic choosing the proper implementation 11164 // based on whether the patch is disabled or not. 11165 if ( msg ) { 11166 migrateWarn( code, msg ); 11167 } 11168 11169 // Since patches can be disabled & enabled dynamically, we 11170 // need to decide which implementation to run on each invocation. 11171 finalFunc = jQuery.migrateIsPatchEnabled( code ) ? 11172 newFunc : 11173
11174 // The function may not have existed originally so we need a fallback. 11175 ( origFunc || jQuery.noop ); 11176 11177 return finalFunc.apply( this, arguments ); 11178 }; 11179} 11180 11181function migratePatchAndWarnFunc( obj, prop, newFunc, code, msg ) { 11182 if ( !msg ) { 11183 throw new Error( "No warning message provided" ); 11184 } 11185 return migrateWarnFuncInternal( obj, prop, newFunc, code, msg ); 11186} 11187 11188function migratePatchFunc( obj, prop, newFunc, code ) { 11189 return migrateWarnFuncInternal( obj, prop, newFunc, code ); 11190} 11191 11192if ( window.document.compatMode === "BackCompat" ) { 11193 11194 // jQuery has never supported or tested Quirks Mode 11195 migrateWarn( "quirks", "jQuery is not compatible with Quirks Mode" ); 11196} 11197 11198var arr = [], 11199 push = arr.push, 11200 sort = arr.sort, 11201 splice = arr.splice, 11202 class2type = {}, 11203 11204 // Require that the "whitespace run" starts from a non-whitespace 11205 // to avoid O(N^2) behavior when the engine would try matching "\s+$" at each space position. 11206 rtrim = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g; 11207 11208function isFunction( obj ) { 11209 11210 // Support: Chrome <=57, Firefox <=52 11211 // In some browsers, typeof returns "function" for HTML <object> elements 11212 // (i.e., `typeof document.createElement( "object" ) === "function"`). 11213 // We don't want to classify *any* DOM node as a function. 11214 // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 11215 // Plus for old WebKit, typeof returns "function" for HTML collections 11216 // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) 11217 return typeof obj === "function" && typeof obj.nodeType !== "number" && 11218 typeof obj.item !== "function"; 11219} 11220 11221// The number of elements contained in the matched element set 11222migratePatchAndWarnFunc( jQuery.fn, "size", function() { 11223 return this.length; 11224}, "size", 11225"jQuery.fn.size() is deprecated and removed; use the .length property" ); 11226 11227migratePatchAndWarnFunc( jQuery, "parseJSON", function() { 11228 return JSON.parse.apply( null, arguments ); 11229}, "parseJSON", 11230"jQuery.parseJSON is deprecated; use JSON.parse" ); 11231 11232migratePatchAndWarnFunc( jQuery, "holdReady", jQuery.holdReady, 11233 "holdReady", "jQuery.holdReady is deprecated" ); 11234 11235migratePatchAndWarnFunc( jQuery, "unique", jQuery.uniqueSort, 11236 "unique", "jQuery.unique is deprecated; use jQuery.uniqueSort" ); 11237 11238// Prior to jQuery 3.1.1 there were internal refs so we don't warn there 11239if ( jQueryVersionSince( "3.1.1" ) ) { 11240 migratePatchAndWarnFunc( jQuery, "trim", function( text ) { 11241 return text == null ? 11242 "" : 11243 ( text + "" ).replace( rtrim, "$1" ); 11244 }, "trim", 11245 "jQuery.trim is deprecated; use String.prototype.trim" ); 11246} 11247 11248// Prior to jQuery 3.2 there were internal refs so we don't warn there 11249if ( jQueryVersionSince( "3.2.0" ) ) { 11250 migratePatchAndWarnFunc( jQuery, "nodeName", function( elem, name ) { 11251 return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); 11252 }, "nodeName", 11253 "jQuery.nodeName is deprecated" ); 11254 11255 migratePatchAndWarnFunc( jQuery, "isArray", Array.isArray, "isArray", 11256 "jQuery.isArray is deprecated; use Array.isArray" 11257 ); 11258} 11259 11260if ( jQueryVersionSince( "3.3.0" ) ) { 11261 11262 migratePatchAndWarnFunc( jQuery, "isNumeric", 11263 function( obj ) { 11264 11265 // As of jQuery 3.0, isNumeric is limited to 11266 // strings and numbers (primitives or objects) 11267 // that can be coerced to finite numbers (gh-2662) 11268 var type = typeof obj; 11269 return ( type === "number" || type === "string" ) && 11270 11271 // parseFloat NaNs numeric-cast false positives ("") 11272 // ...but misinterprets leading-number strings, e.g. hex literals ("0x...") 11273 // subtraction forces infinities to NaN 11274 !isNaN( obj - parseFloat( obj ) ); 11275 }, "isNumeric", 11276 "jQuery.isNumeric() is deprecated" 11277 ); 11278 11279 // Populate the class2type map 11280 jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol". 11281 split( " " ), 11282 function( _, name ) { 11283 class2type[ "[object " + name + "]" ] = name.toLowerCase(); 11284 } ); 11285 11286 migratePatchAndWarnFunc( jQuery, "type", function( obj ) { 11287 if ( obj == null ) { 11288 return obj + ""; 11289 } 11290 11291 // Support: Android <=2.3 only (functionish RegExp) 11292 return typeof obj === "object" || typeof obj === "function" ? 11293 class2type[ Object.prototype.toString.call( obj ) ] || "object" : 11294 typeof obj; 11295 }, "type", 11296 "jQuery.type is deprecated" ); 11297 11298 migratePatchAndWarnFunc( jQuery, "isFunction", function( obj ) { 11299 return isFunction( obj ); 11300 }, "isFunction", 11301 "jQuery.isFunction() is deprecated" ); 11302 11303 migratePatchAndWarnFunc( jQuery, "isWindow", 11304 function( obj ) { 11305 return obj != null && obj === obj.window; 11306 }, "isWindow", 11307 "jQuery.isWindow() is deprecated" 11308 ); 11309 11310 migratePatchAndWarnFunc( jQuery, "now", Date.now, "now", 11311 "jQuery.now() is deprecated; use Date.now()" 11312 ); 11313 11314 migratePatchAndWarnFunc( jQuery, "camelCase", jQuery.camelCase, "camelCase", 11315 "jQuery.camelCase() is deprecated" 11316 ); 11317 11318 // Bind a function to a context, optionally partially applying any 11319 // arguments. 11320 // jQuery.proxy is deprecated to promote standards (specifically Function#bind) 11321 // However, it is not slated for removal any time soon 11322 migratePatchAndWarnFunc( jQuery, "proxy", jQuery.proxy, 11323 "proxy", "DEPRECATED: jQuery.proxy()" ); 11324 11325} 11326 11327if ( jQueryVersionSince( "3.7.0" ) ) { 11328 migratePatchAndWarnFunc( jQuery.fn, "push", push, "push", 11329 "jQuery.fn.push() is deprecated; use .add() or convert to an array" ); 11330 migratePatchAndWarnFunc( jQuery.fn, "sort", sort, "sort", 11331 "jQuery.fn.sort() is deprecated; convert to an array before sorting" ); 11332 migratePatchAndWarnFunc( jQuery.fn, "splice", splice, "splice", 11333 "jQuery.fn.splice() is deprecated; use .slice() or .not() with .eq()" ); 11334} 11335 11336var findProp, 11337 oldInit = jQuery.fn.init, 11338 oldFind = jQuery.find, 11339 11340 rattrHashTest = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/, 11341 rattrHashGlob = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g; 11342 11343migratePatchFunc( jQuery.fn, "init", function( arg1 ) { 11344 var args = Array.prototype.slice.call( arguments ); 11345 11346 if ( jQuery.migrateIsPatchEnabled( "selector-empty-id" ) && 11347 typeof arg1 === "string" && arg1 === "#" ) { 11348 11349 // JQuery( "#" ) is a bogus ID selector, but it returned an empty set 11350 // before jQuery 3.0 11351 migrateWarn( "selector-empty-id", "jQuery( '#' ) is not a valid selector" ); 11352 args[ 0 ] = []; 11353 } 11354 11355 return oldInit.apply( this, args ); 11356}, "selector-empty-id" ); 11357 11358// This is already done in Core but the above patch will lose this assignment 11359// so we need to redo it. It doesn't matter whether the patch is enabled or not 11360// as the method is always going to be a Migrate-created wrapper. 11361jQuery.fn.init.prototype = jQuery.fn; 11362 11363migratePatchFunc( jQuery, "find", function( selector ) { 11364 var args = Array.prototype.slice.call( arguments ); 11365 11366 // Support: PhantomJS 1.x 11367 // String#match fails to match when used with a //g RegExp, only on some strings 11368 if ( typeof selector === "string" && rattrHashTest.test( selector ) ) { 11369 11370 // The nonstandard and undocumented unquoted-hash was removed in jQuery 1.12.0 11371 // First see if qS thinks it's a valid selector, if so avoid a false positive 11372 try { 11373 window.document.querySelector( selector ); 11374 } catch ( err1 ) { 11375 11376 // Didn't *look* valid to qSA, warn and try quoting what we think is the value 11377 selector = selector.replace( rattrHashGlob, function( _, attr, op, value ) { 11378 return "[" + attr + op + "\"" + value + "\"]"; 11379 } ); 11380
11381 // If the regexp *may* have created an invalid selector, don't update it 11382 // Note that there may be false alarms if selector uses jQuery extensions 11383 try { 11384 window.document.querySelector( selector ); 11385 migrateWarn( "selector-hash", 11386 "Attribute selector with '#' must be quoted: " + args[ 0 ] ); 11387 args[ 0 ] = selector; 11388 } catch ( err2 ) { 11389 migrateWarn( "selector-hash", 11390 "Attribute selector with '#' was not fixed: " + args[ 0 ] ); 11391 } 11392 } 11393 } 11394 11395 return oldFind.apply( this, args ); 11396}, "selector-hash" ); 11397 11398// Copy properties attached to original jQuery.find method (e.g. .attr, .isXML) 11399for ( findProp in oldFind ) { 11400 if ( Object.prototype.hasOwnProperty.call( oldFind, findProp ) ) { 11401 jQuery.find[ findProp ] = oldFind[ findProp ]; 11402 } 11403} 11404 11405// Now jQuery.expr.pseudos is the standard incantation 11406migrateWarnProp( jQuery.expr, "filters", jQuery.expr.pseudos, "expr-pre-pseudos", 11407 "jQuery.expr.filters is deprecated; use jQuery.expr.pseudos" ); 11408migrateWarnProp( jQuery.expr, ":", jQuery.expr.pseudos, "expr-pre-pseudos", 11409 "jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos" ); 11410 11411function markFunction( fn ) { 11412 fn[ jQuery.expando ] = true; 11413 return fn; 11414} 11415 11416// jQuery older than 3.7.0 used Sizzle which has its own private expando 11417// variable that we cannot access. This makes thi patch impossible in those 11418// jQuery versions. 11419if ( jQueryVersionSince( "3.7.0" ) ) { 11420 migratePatchFunc( jQuery.expr.filter, "PSEUDO", function( pseudo, argument ) { 11421 11422 // pseudo-class names are case-insensitive 11423 // https://www.w3.org/TR/selectors/#pseudo-classes 11424 // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters 11425 // Remember that setFilters inherits from pseudos 11426 var args, 11427 fn = jQuery.expr.pseudos[ pseudo ] || 11428 jQuery.expr.setFilters[ pseudo.toLowerCase() ] || 11429 jQuery.error( 11430 "Syntax error, unrecognized expression: unsupported pseudo: " + 11431 pseudo ); 11432 11433 // The user may use createPseudo to indicate that 11434 // arguments are needed to create the filter function 11435 // just as jQuery does 11436 if ( fn[ jQuery.expando ] ) { 11437 return fn( argument ); 11438 } 11439 11440 // But maintain support for old signatures 11441 if ( fn.length > 1 ) { 11442 migrateWarn( "legacy-custom-pseudos", 11443 "Pseudos with multiple arguments are deprecated; " + 11444 "use jQuery.expr.createPseudo()" ); 11445 args = [ pseudo, pseudo, "", argument ]; 11446 return jQuery.expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? 11447 markFunction( function( seed, matches ) { 11448 var idx, 11449 matched = fn( seed, argument ), 11450 i = matched.length; 11451 while ( i-- ) { 11452 idx = Array.prototype.indexOf.call( seed, matched[ i ] ); 11453 seed[ idx ] = !( matches[ idx ] = matched[ i ] ); 11454 } 11455 } ) : 11456 function( elem ) { 11457 return fn( elem, 0, args ); 11458 }; 11459 } 11460 11461 return fn; 11462 }, "legacy-custom-pseudos" ); 11463 11464 if ( typeof Proxy !== "undefined" ) { 11465 jQuery.each( [ "pseudos", "setFilters" ], function( _, api ) { 11466 jQuery.expr[ api ] = new Proxy( jQuery.expr[ api ], { 11467 set: function( _target, _prop, fn ) { 11468 if ( typeof fn === "function" && !fn[ jQuery.expando ] && fn.length > 1 ) { 11469 migrateWarn( "legacy-custom-pseudos", 11470 "Pseudos with multiple arguments are deprecated; " + 11471 "use jQuery.expr.createPseudo()" ); 11472 } 11473 return Reflect.set.apply( this, arguments ); 11474 } 11475 } ); 11476 } ); 11477 } 11478} 11479 11480// Support jQuery slim which excludes the ajax module 11481if ( jQuery.ajax ) { 11482 11483var oldAjax = jQuery.ajax, 11484 oldCallbacks = [], 11485 guid = "migrate-" + Date.now(), 11486 origJsonpCallback = jQuery.ajaxSettings.jsonpCallback, 11487 rjsonp = /(=)\?(?=&|$)|\?\?/; 11488 11489migratePatchFunc( jQuery, "ajax", function() { 11490 var jQXHR = oldAjax.apply( this, arguments ); 11491 11492 // Be sure we got a jQXHR (e.g., not sync) 11493 if ( jQXHR.promise ) { 11494 migratePatchAndWarnFunc( jQXHR, "success", jQXHR.done, "jqXHR-methods", 11495 "jQXHR.success is deprecated and removed" ); 11496 migratePatchAndWarnFunc( jQXHR, "error", jQXHR.fail, "jqXHR-methods", 11497 "jQXHR.error is deprecated and removed" ); 11498 migratePatchAndWarnFunc( jQXHR, "complete", jQXHR.always, "jqXHR-methods", 11499 "jQXHR.complete is deprecated and removed" ); 11500 } 11501 11502 return jQXHR; 11503}, "jqXHR-methods" ); 11504 11505jQuery.ajaxSetup( { 11506 jsonpCallback: function() { 11507 11508 // Source is virtually the same as in Core, but we need to duplicate 11509 // to maintain a proper `oldCallbacks` reference. 11510 if ( jQuery.migrateIsPatchEnabled( "jsonp-promotion" ) ) { 11511 var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( guid++ ) ); 11512 this[ callback ] = true; 11513 return callback; 11514 } else { 11515 return origJsonpCallback.apply( this, arguments ); 11516 } 11517 } 11518} ); 11519 11520// Register this prefilter before the jQuery one. Otherwise, a promoted 11521// request is transformed into one with the script dataType, and we can't 11522// catch it anymore. 11523// jQuery <4 already contains this prefilter; don't duplicate the whole logic, 11524// but only enough to know when to warn. 11525jQuery.ajaxPrefilter( "+json", function( s ) { 11526 11527 if ( !jQuery.migrateIsPatchEnabled( "jsonp-promotion" ) ) { 11528 return; 11529 } 11530 11531 // Warn if JSON-to-JSONP auto-promotion happens. 11532 if ( s.jsonp !== false && ( rjsonp.test( s.url ) || 11533 typeof s.data === "string" && 11534 ( s.contentType || "" ) 11535 .indexOf( "application/x-www-form-urlencoded" ) === 0 && 11536 rjsonp.test( s.data ) 11537 ) ) { 11538 migrateWarn( "jsonp-promotion", "JSON-to-JSONP auto-promotion is deprecated" ); 11539 } 11540} ); 11541 11542} 11543 11544var oldRemoveAttr = jQuery.fn.removeAttr, 11545 oldJQueryAttr = jQuery.attr, 11546 oldToggleClass = jQuery.fn.toggleClass, 11547 booleans = "checked|selected|async|autofocus|autoplay|controls|defer|" + 11548 "disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", 11549 rbooleans = new RegExp( "^(?:" + booleans + ")$", "i" ), 11550 rmatchNonSpace = /\S+/g, 11551 11552 // Some formerly boolean attributes gained new values with special meaning. 11553 // Skip the old boolean attr logic for those values. 11554 extraBoolAttrValues = { 11555 hidden: [ "until-found" ] 11556 }; 11557 11558// HTML boolean attributes have special behavior: 11559// we consider the lowercase name to be the only valid value, so 11560// getting (if the attribute is present) normalizes to that, as does 11561// setting to any non-`false` value (and setting to `false` removes the attribute). 11562// See https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes 11563jQuery.each( booleans.split( "|" ), function( _i, name ) {
11564 var origAttrHooks = jQuery.attrHooks[ name ] || {}; 11565 jQuery.attrHooks[ name ] = { 11566 get: origAttrHooks.get || function( elem ) { 11567 var attrValue; 11568 11569 if ( jQuery.migrateIsPatchEnabled( "boolean-attributes" ) ) { 11570 attrValue = elem.getAttribute( name ); 11571 11572 if ( attrValue !== name && attrValue != null && 11573 ( extraBoolAttrValues[ name ] || [] ) 11574 .indexOf( String( attrValue ).toLowerCase() ) === -1 11575 ) { 11576 migrateWarn( "boolean-attributes", 11577 "Boolean attribute '" + name + 11578 "' value is different from its lowercased name" ); 11579 } 11580 } 11581 11582 return null; 11583 }, 11584 11585 set: origAttrHooks.set || function( elem, value, name ) { 11586 if ( jQuery.migrateIsPatchEnabled( "boolean-attributes" ) ) { 11587 if ( value !== name && 11588 ( extraBoolAttrValues[ name ] || [] ) 11589 .indexOf( String( value ).toLowerCase() ) === -1 11590 ) { 11591 if ( value !== false ) { 11592 migrateWarn( "boolean-attributes", 11593 "Boolean attribute '" + name + 11594 "' is not set to its lowercased name" ); 11595 } 11596 11597 if ( value === false ) { 11598 11599 // Remove boolean attributes when set to false 11600 jQuery.removeAttr( elem, name ); 11601 } else { 11602 elem.setAttribute( name, name ); 11603 } 11604 return name; 11605 } 11606 } else { 11607 11608 // jQuery <4 uses a private `boolHook` for the boolean attribute 11609 // setter. It's only activated if `attrHook` is not set, but we set 11610 // it here in Migrate so jQuery would not use it. Since we cannot 11611 // access it, let's just repeat its contents here. 11612 if ( value === false ) { 11613 11614 // Remove boolean attributes when set to false 11615 jQuery.removeAttr( elem, name ); 11616 } else { 11617 elem.setAttribute( name, name ); 11618 } 11619 return name; 11620 } 11621 } 11622 }; 11623} ); 11624 11625migratePatchFunc( jQuery, "attr", function( elem, name, value ) { 11626 var nType = elem.nodeType; 11627 11628 // Fallback to the original method on text, comment and attribute nodes 11629 // and when attributes are not supported. 11630 if ( nType === 3 || nType === 8 || nType === 2 || 11631 typeof elem.getAttribute === "undefined" ) { 11632 return oldJQueryAttr.apply( this, arguments ); 11633 } 11634 11635 if ( value === false && name.toLowerCase().indexOf( "aria-" ) !== 0 && 11636 !rbooleans.test( name ) ) { 11637 migrateWarn( "attr-false", 11638 "Setting the non-ARIA non-boolean attribute '" + name + 11639 "' to false" ); 11640 11641 jQuery.attr( elem, name, "false" ); 11642 return; 11643 } 11644 11645 return oldJQueryAttr.apply( this, arguments ); 11646}, "attr-false" ); 11647 11648migratePatchFunc( jQuery.fn, "removeAttr", function( name ) { 11649 var self = this, 11650 patchNeeded = false; 11651 11652 jQuery.each( name.match( rmatchNonSpace ), function( _i, attr ) { 11653 if ( rbooleans.test( attr ) ) { 11654 11655 // Only warn if at least a single node had the property set to 11656 // something else than `false`. Otherwise, this Migrate patch 11657 // doesn't influence the behavior and there's no need to set or warn. 11658 self.each( function() { 11659 if ( jQuery( this ).prop( attr ) !== false ) { 11660 patchNeeded = true; 11661 return false; 11662 } 11663 } ); 11664 } 11665 11666 if ( patchNeeded ) { 11667 migrateWarn( "removeAttr-bool", 11668 "jQuery.fn.removeAttr no longer sets boolean properties: " + attr ); 11669 self.prop( attr, false ); 11670 } 11671 } ); 11672 11673 return oldRemoveAttr.apply( this, arguments ); 11674}, "removeAttr-bool" ); 11675 11676migratePatchFunc( jQuery.fn, "toggleClass", function( state ) { 11677 11678 // Only deprecating no-args or single boolean arg 11679 if ( state !== undefined && typeof state !== "boolean" ) { 11680 11681 return oldToggleClass.apply( this, arguments ); 11682 } 11683 11684 migrateWarn( "toggleClass-bool", "jQuery.fn.toggleClass( boolean ) is deprecated" ); 11685 11686 // Toggle entire class name of each element 11687 return this.each( function() { 11688 var className = this.getAttribute && this.getAttribute( "class" ) || ""; 11689 11690 if ( className ) { 11691 jQuery.data( this, "__className__", className ); 11692 } 11693 11694 // If the element has a class name or if we're passed `false`, 11695 // then remove the whole classname (if there was one, the above saved it). 11696 // Otherwise, bring back whatever was previously saved (if anything), 11697 // falling back to the empty string if nothing was stored. 11698 if ( this.setAttribute ) { 11699 this.setAttribute( "class", 11700 className || state === false ? 11701 "" : 11702 jQuery.data( this, "__className__" ) || "" 11703 ); 11704 } 11705 } ); 11706}, "toggleClass-bool" ); 11707 11708function camelCase( string ) { 11709 return string.replace( /-([a-z])/g, function( _, letter ) { 11710 return letter.toUpperCase(); 11711 } ); 11712} 11713 11714// Make `object` inherit from `Object.prototype` via an additional object 11715// in between; that intermediate object proxies properties 11716// to `Object.prototype`, warning about their usage first. 11717function patchProto( object, options ) { 11718 11719 // Support: IE 9 - 10 only, iOS 7 - 8 only 11720 // Older IE doesn't have a way to change an existing prototype. 11721 // Just return the original method there.
11722 // Older WebKit supports `__proto__` but not `Object.setPrototypeOf`. 11723 // To avoid complicating code, don't patch the API there either. 11724 if ( !Object.setPrototypeOf ) { 11725 return object; 11726 } 11727 11728 var i, 11729 warningId = options.warningId, 11730 apiName = options.apiName, 11731 11732 // `Object.prototype` keys are not enumerable so list the 11733 // official ones here. An alternative would be wrapping 11734 // objects with a Proxy but that creates additional issues 11735 // like breaking object identity on subsequent calls. 11736 objProtoKeys = [ 11737 "__proto__", 11738 "__defineGetter__", 11739 "__defineSetter__", 11740 "__lookupGetter__", 11741 "__lookupSetter__", 11742 "hasOwnProperty", 11743 "isPrototypeOf", 11744 "propertyIsEnumerable", 11745 "toLocaleString", 11746 "toString", 11747 "valueOf" 11748 ], 11749 11750 // Use a null prototype at the beginning so that we can define our 11751 // `__proto__` getter & setter. We'll reset the prototype afterward. 11752 intermediateObj = Object.create( null ); 11753 11754 for ( i = 0; i < objProtoKeys.length; i++ ) { 11755 ( function( key ) { 11756 Object.defineProperty( intermediateObj, key, { 11757 get: function() { 11758 migrateWarn( warningId, 11759 "Accessing properties from " + apiName + 11760 " inherited from Object.prototype is deprecated" ); 11761 return ( key + "__cache" ) in intermediateObj ? 11762 intermediateObj[ key + "__cache" ] : 11763 Object.prototype[ key ]; 11764 }, 11765 set: function( value ) { 11766 migrateWarn( warningId, 11767 "Setting properties from " + apiName + 11768 " inherited from Object.prototype is deprecated" ); 11769 intermediateObj[ key + "__cache" ] = value; 11770 } 11771 } ); 11772 } )( objProtoKeys[ i ] ); 11773 } 11774 11775 Object.setPrototypeOf( intermediateObj, Object.prototype ); 11776 Object.setPrototypeOf( object, intermediateObj ); 11777 11778 return object; 11779} 11780 11781var origFnCss, 11782 internalSwapCall = false, 11783 ralphaStart = /^[a-z]/, 11784 11785 // The regex visualized: 11786 // 11787 // /----------\ 11788 // | | /-------\ 11789 // | / Top \ | | | 11790 // /--- Border ---+-| Right |-+---+- Width -+---\ 11791 // | | Bottom | | 11792 // | \ Left / | 11793 // | | 11794 // | /----------\ | 11795 // | /-------------\ | | |- END 11796 // | | | | / Top \ | | 11797 // | | / Margin \ | | | Right | | | 11798 // |---------+-| |-+---+-| Bottom |-+----| 11799 // | \ Padding / \ Left / | 11800 // BEGIN -| | 11801 // | /---------\ | 11802 // | | | | 11803 // | | / Min \ | / Width \ | 11804 // \--------------+-| |-+---| |---/ 11805 // \ Max / \ Height / 11806 rautoPx = /^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/; 11807 11808// If this version of jQuery has .swap(), don't false-alarm on internal uses 11809if ( jQuery.swap ) { 11810 jQuery.each( [ "height", "width", "reliableMarginRight" ], function( _, name ) { 11811 var oldHook = jQuery.cssHooks[ name ] && jQuery.cssHooks[ name ].get; 11812 11813 if ( oldHook ) { 11814 jQuery.cssHooks[ name ].get = function() { 11815 var ret; 11816 11817 internalSwapCall = true; 11818 ret = oldHook.apply( this, arguments ); 11819 internalSwapCall = false; 11820 return ret; 11821 }; 11822 } 11823 } ); 11824} 11825 11826migratePatchFunc( jQuery, "swap", function( elem, options, callback, args ) { 11827 var ret, name, 11828 old = {}; 11829 11830 if ( !internalSwapCall ) { 11831 migrateWarn( "swap", "jQuery.swap() is undocumented and deprecated" ); 11832 } 11833 11834 // Remember the old values, and insert the new ones 11835 for ( name in options ) { 11836 old[ name ] = elem.style[ name ]; 11837 elem.style[ name ] = options[ name ]; 11838 } 11839 11840 ret = callback.apply( elem, args || [] ); 11841 11842 // Revert the old values 11843 for ( name in options ) { 11844 elem.style[ name ] = old[ name ]; 11845 } 11846 11847 return ret; 11848}, "swap" ); 11849 11850if ( jQueryVersionSince( "3.4.0" ) && typeof Proxy !== "undefined" ) { 11851 jQuery.cssProps = new Proxy( jQuery.cssProps || {}, { 11852 set: function() { 11853 migrateWarn( "cssProps", "jQuery.cssProps is deprecated" ); 11854 return Reflect.set.apply( this, arguments ); 11855 } 11856 } ); 11857} 11858 11859function isAutoPx( prop ) { 11860 11861 // The first test is used to ensure that: 11862 // 1. The prop starts with a lowercase letter (as we uppercase it for the second regex). 11863 // 2. The prop is not empty. 11864 return ralphaStart.test( prop ) && 11865 rautoPx.test( prop[ 0 ].toUpperCase() + prop.slice( 1 ) ); 11866} 11867 11868origFnCss = jQuery.fn.css; 11869 11870migratePatchFunc( jQuery.fn, "css", function( name, value ) { 11871 var camelName, 11872 origThis = this; 11873 11874 if ( name && typeof name === "object" && !Array.isArray( name ) ) { 11875 jQuery.each( name, function( n, v ) { 11876 jQuery.fn.css.call( origThis, n, v ); 11877 } ); 11878 return this; 11879 } 11880 11881 if ( typeof value === "number" ) { 11882 camelName = camelCase( name ); 11883 11884 if ( !isAutoPx( camelName ) && !jQuery.cssNumber[ camelName ] ) { 11885 migrateWarn( "css-number", 11886 "Number-typed values are deprecated for jQuery.fn.css( \"" + 11887 name + "\", value )" ); 11888 } 11889 } 11890 11891 return origFnCss.apply( this, arguments ); 11892}, "css-number" ); 11893 11894var rmultiDash = /[A-Z]/g, 11895 rnothtmlwhite = /[^\x20\t\r\n\f]+/g, 11896 origJQueryData = jQuery.data, 11897 origJQueryPrivateData = jQuery._data; 11898 11899function unCamelCase( str ) { 11900 return str.replace( rmultiDash, "-$&" ).toLowerCase(); 11901} 11902 11903function patchDataCamelCase( origData, options ) { 11904 var apiName = options.apiName, 11905 isPrivateData = options.isPrivateData, 11906 isInstanceMethod = options.isInstanceMethod, 11907 origJQueryStaticData = isPrivateData ? origJQueryPrivateData : origJQueryData; 11908 11909 function objectSetter( elem, obj ) { 11910 var curData, key; 11911 11912 // Name can be an object, and each entry in the object is meant 11913 // to be set as data. 11914 // Let the original method handle the case of a missing elem. 11915 if ( elem ) { 11916 11917 // Don't use the instance method here to avoid `data-*` attributes 11918 // detection this early. 11919 curData = origJQueryStaticData( elem ); 11920 11921 for ( key in obj ) { 11922 if ( key !== camelCase( key ) ) { 11923 migrateWarn( "data-camelCase", 11924 apiName + " always sets/gets camelCased names: " + 11925 key ); 11926 curData[ key ] = obj[ key ]; 11927 } 11928 } 11929 11930 // Pass the keys handled above to the original API as well 11931 // so that both the camelCase & initial keys are saved. 11932 if ( isInstanceMethod ) { 11933 origData.call( this, obj ); 11934 } else { 11935 origData.call( this, elem, obj ); 11936 } 11937 11938 return obj; 11939 } 11940 } 11941 11942 function singleSetter( elem, name, value ) { 11943 var curData; 11944 11945 // If the name is transformed, look for the un-transformed name 11946 // in the data object. 11947 // Let the original method handle the case of a missing elem. 11948 if ( elem ) { 11949 11950 // Don't use the instance method here to avoid `data-*` attributes 11951 // detection this early. 11952 curData = origJQueryStaticData( elem ); 11953 11954 if ( curData && name in curData ) { 11955 migrateWarn( "data-camelCase", 11956 apiName + " always sets/gets camelCased names: " + 11957 name ); 11958 11959 curData[ name ] = value; 11960 } 11961 11962 origJQueryStaticData( elem, name, value ); 11963
11964 // Since the "set" path can have two possible entry points 11965 // return the expected data based on which path was taken. 11966 return value !== undefined ? value : name; 11967 } 11968 } 11969 11970 return function jQueryDataPatched( elem, name, value ) { 11971 var curData, 11972 that = this, 11973 11974 // Support: IE 9 only 11975 // IE 9 doesn't support strict mode and later modifications of 11976 // parameters also modify the arguments object in sloppy mode. 11977 // We need the original arguments so save them here. 11978 args = Array.prototype.slice.call( arguments ), 11979 11980 adjustedArgsLength = args.length; 11981 11982 if ( isInstanceMethod ) { 11983 value = name; 11984 name = elem; 11985 elem = that[ 0 ]; 11986 adjustedArgsLength++; 11987 } 11988 11989 if ( name && typeof name === "object" && adjustedArgsLength === 2 ) { 11990 if ( isInstanceMethod ) { 11991 return that.each( function() { 11992 objectSetter.call( that, this, name ); 11993 } ); 11994 } else { 11995 return objectSetter.call( that, elem, name ); 11996 } 11997 } 11998 11999 // If the name is transformed, look for the un-transformed name 12000 // in the data object. 12001 // Let the original method handle the case of a missing elem. 12002 if ( name && typeof name === "string" && name !== camelCase( name ) &&
12003 adjustedArgsLength > 2 ) { 12004 12005 if ( isInstanceMethod ) { 12006 return that.each( function() { 12007 singleSetter.call( that, this, name, value ); 12008 } ); 12009 } else { 12010 return singleSetter.call( that, elem, name, value ); 12011 } 12012 } 12013 12014 if ( elem && name && typeof name === "string" && 12015 name !== camelCase( name ) && 12016 adjustedArgsLength === 2 ) { 12017 12018 // Don't use the instance method here to avoid `data-*` attributes 12019 // detection this early. 12020 curData = origJQueryStaticData( elem ); 12021 12022 if ( curData && name in curData ) { 12023 migrateWarn( "data-camelCase", 12024 apiName + " always sets/gets camelCased names: " + 12025 name ); 12026 return curData[ name ]; 12027 } 12028 } 12029 12030 return origData.apply( this, args ); 12031 }; 12032} 12033 12034function patchRemoveDataCamelCase( origRemoveData, options ) { 12035 var isPrivateData = options.isPrivateData, 12036 isInstanceMethod = options.isInstanceMethod, 12037 origJQueryStaticData = isPrivateData ? origJQueryPrivateData : origJQueryData; 12038 12039 function remove( elem, keys ) { 12040 var i, singleKey, unCamelCasedKeys, 12041 curData = origJQueryStaticData( elem ); 12042 12043 if ( keys === undefined ) { 12044 origRemoveData( elem ); 12045 return; 12046 } 12047 12048 // Support array or space separated string of keys 12049 if ( !Array.isArray( keys ) ) { 12050 12051 // If a key with the spaces exists, use it. 12052 // Otherwise, create an array by matching non-whitespace 12053 keys = keys in curData ? 12054 [ keys ] : 12055 ( keys.match( rnothtmlwhite ) || [] ); 12056 } 12057 12058 // Remove: 12059 // * the original keys as passed 12060 // * their "unCamelCased" version 12061 // * their camelCase version 12062 // These may be three distinct values for each key! 12063 // jQuery 3.x only removes camelCase versions by default. However, in this patch 12064 // we set the original keys in the mass-setter case and if the key already exists 12065 // so without removing the "unCamelCased" versions the following would be broken: 12066 // ```js 12067 // elem.data( { "a-a": 1 } ).removeData( "aA" ); 12068 // ``` 12069 // Unfortunately, we'll still hit this issue for partially camelCased keys, e.g.: 12070 // ```js 12071 // elem.data( { "a-aA": 1 } ).removeData( "aAA" ); 12072 // ``` 12073 // won't work with this patch. We consider this an edge case, but to make sure that 12074 // at least piggybacking works: 12075 // ```js 12076 // elem.data( { "a-aA": 1 } ).removeData( "a-aA" ); 12077 // ``` 12078 // we also remove the original key. Hence, all three are needed. 12079 // The original API already removes the camelCase versions, though, so let's defer 12080 // to it. 12081 unCamelCasedKeys = keys.map( unCamelCase ); 12082 12083 i = keys.length; 12084 while ( i-- ) { 12085 singleKey = keys[ i ]; 12086 if ( singleKey !== camelCase( singleKey ) && singleKey in curData ) { 12087 migrateWarn( "data-camelCase", 12088 "jQuery" + ( isInstanceMethod ? ".fn" : "" ) + 12089 ".data() always sets/gets camelCased names: " + 12090 singleKey ); 12091 } 12092 delete curData[ singleKey ]; 12093 } 12094 12095 // Don't warn when removing "unCamelCased" keys; we're already printing 12096 // a warning when setting them and the fix is needed there, not in 12097 // the `.removeData()` call. 12098 i = unCamelCasedKeys.length; 12099 while ( i-- ) { 12100 delete curData[ unCamelCasedKeys[ i ] ]; 12101 } 12102 12103 origRemoveData( elem, keys ); 12104 } 12105 12106 return function jQueryRemoveDataPatched( elem, key ) { 12107 if ( isInstanceMethod ) { 12108 key = elem; 12109 return this.each( function() { 12110 remove( this, key ); 12111 } ); 12112 } else { 12113 remove( elem, key ); 12114 } 12115 }; 12116} 12117 12118migratePatchFunc( jQuery, "data", 12119 patchDataCamelCase( jQuery.data, { 12120 apiName: "jQuery.data()", 12121 isPrivateData: false, 12122 isInstanceMethod: false 12123 } ), 12124 "data-camelCase" ); 12125migratePatchFunc( jQuery, "_data", 12126 patchDataCamelCase( jQuery._data, { 12127 apiName: "jQuery._data()", 12128 isPrivateData: true, 12129 isInstanceMethod: false 12130 } ), 12131 "data-camelCase" ); 12132migratePatchFunc( jQuery.fn, "data", 12133 patchDataCamelCase( jQuery.fn.data, { 12134 apiName: "jQuery.fn.data()", 12135 isPrivateData: false, 12136 isInstanceMethod: true 12137 } ), 12138 "data-camelCase" ); 12139 12140migratePatchFunc( jQuery, "removeData", 12141 patchRemoveDataCamelCase( jQuery.removeData, { 12142 isPrivateData: false, 12143 isInstanceMethod: false 12144 } ), 12145 "data-camelCase" ); 12146migratePatchFunc( jQuery, "_removeData", 12147 patchRemoveDataCamelCase( jQuery._removeData, { 12148 isPrivateData: true, 12149 isInstanceMethod: false 12150 } ), 12151 "data-camelCase" ); 12152migratePatchFunc( jQuery.fn, "removeData", 12153 12154 // No, it's not a typo - we're intentionally passing 12155 // the static method here as we need something working on 12156 // a single element. 12157 patchRemoveDataCamelCase( jQuery.removeData, { 12158 isPrivateData: false, 12159 isInstanceMethod: true 12160 } ), 12161 "data-camelCase" ); 12162 12163function patchDataProto( original, options ) { 12164 var warningId = options.warningId, 12165 apiName = options.apiName, 12166 isInstanceMethod = options.isInstanceMethod; 12167 12168 return function apiWithProtoPatched() { 12169 var result = original.apply( this, arguments ); 12170 12171 if ( arguments.length !== ( isInstanceMethod ? 0 : 1 ) || result === undefined ) { 12172 return result; 12173 } 12174 12175 patchProto( result, { 12176 warningId: warningId, 12177 apiName: apiName 12178 } ); 12179 12180 return result; 12181 }; 12182} 12183 12184// Yes, we are patching jQuery.data twice; here & above. This is necessary 12185// so that each of the two patches can be independently disabled. 12186migratePatchFunc( jQuery, "data", 12187 patchDataProto( jQuery.data, { 12188 warningId: "data-null-proto", 12189 apiName: "jQuery.data()", 12190 isInstanceMethod: false 12191 } ), 12192 "data-null-proto" ); 12193migratePatchFunc( jQuery, "_data", 12194 patchDataProto( jQuery._data, { 12195 warningId: "data-null-proto", 12196 apiName: "jQuery._data()", 12197 isInstanceMethod: false 12198 } ), 12199 "data-null-proto" ); 12200migratePatchFunc( jQuery.fn, "data", 12201 patchDataProto( jQuery.fn.data, { 12202 warningId: "data-null-proto", 12203 apiName: "jQuery.fn.data()", 12204 isInstanceMethod: true 12205 } ), 12206 "data-null-proto" ); 12207 12208// Support jQuery slim which excludes the effects module 12209if ( jQuery.fx ) { 12210 12211var intervalValue, intervalMsg, 12212 oldTweenRun = jQuery.Tween.prototype.run, 12213 linearEasing = function( pct ) { 12214 return pct; 12215 }; 12216 12217migratePatchFunc( jQuery.Tween.prototype, "run", function( ) { 12218 if ( jQuery.easing[ this.easing ].length > 1 ) { 12219 migrateWarn( 12220 "easing-one-arg", 12221 "'jQuery.easing." + this.easing.toString() + "' should use only one argument" 12222 ); 12223 12224 jQuery.easing[ this.easing ] = linearEasing; 12225 } 12226 12227 oldTweenRun.apply( this, arguments ); 12228}, "easing-one-arg" ); 12229 12230intervalValue = jQuery.fx.interval; 12231intervalMsg = "jQuery.fx.interval is deprecated"; 12232 12233// Support: IE9, Android <=4.4 12234// Avoid false positives on browsers that lack rAF 12235// Don't warn if document is hidden, jQuery uses setTimeout (#292) 12236if ( window.requestAnimationFrame ) { 12237 Object.defineProperty( jQuery.fx, "interval", { 12238 configurable: true, 12239 enumerable: true, 12240 get: function() { 12241 if ( !window.document.hidden ) { 12242 migrateWarn( "fx-interval", intervalMsg ); 12243 } 12244 12245 // Only fallback to the default if patch is enabled 12246 if ( !jQuery.migrateIsPatchEnabled( "fx-interval" ) ) { 12247 return intervalValue; 12248 } 12249 return intervalValue === undefined ? 13 : intervalValue; 12250 }, 12251 set: function( newValue ) { 12252 migrateWarn( "fx-interval", intervalMsg ); 12253 intervalValue = newValue; 12254 } 12255 } ); 12256} 12257 12258} 12259 12260var oldLoad = jQuery.fn.load, 12261 oldEventAdd = jQuery.event.add, 12262 originalFix = jQuery.event.fix; 12263 12264jQuery.event.props = []; 12265jQuery.event.fixHooks = {}; 12266 12267migrateWarnProp( jQuery.event.props, "concat", jQuery.event.props.concat,
12268 "event-old-patch", 12269 "jQuery.event.props.concat() is deprecated and removed" ); 12270 12271migratePatchFunc( jQuery.event, "fix", function( originalEvent ) { 12272 var event, 12273 type = originalEvent.type, 12274 fixHook = this.fixHooks[ type ], 12275 props = jQuery.event.props; 12276 12277 if ( props.length ) { 12278 migrateWarn( "event-old-patch", 12279 "jQuery.event.props are deprecated and removed: " + props.join() ); 12280 while ( props.length ) { 12281 jQuery.event.addProp( props.pop() ); 12282 } 12283 } 12284 12285 if ( fixHook && !fixHook._migrated_ ) { 12286 fixHook._migrated_ = true; 12287 migrateWarn( "event-old-patch", 12288 "jQuery.event.fixHooks are deprecated and removed: " + type ); 12289 if ( ( props = fixHook.props ) && props.length ) { 12290 while ( props.length ) { 12291 jQuery.event.addProp( props.pop() ); 12292 } 12293 } 12294 } 12295 12296 event = originalFix.call( this, originalEvent ); 12297 12298 return fixHook && fixHook.filter ? 12299 fixHook.filter( event, originalEvent ) : 12300 event; 12301}, "event-old-patch" ); 12302 12303migratePatchFunc( jQuery.event, "add", function( elem, types ) { 12304 12305 // This misses the multiple-types case but that seems awfully rare 12306 if ( elem === window && types === "load" && window.document.readyState === "complete" ) { 12307 migrateWarn( "load-after-event", 12308 "jQuery(window).on('load'...) called after load event occurred" ); 12309 } 12310 return oldEventAdd.apply( this, arguments ); 12311}, "load-after-event" ); 12312 12313jQuery.each( [ "load", "unload", "error" ], function( _, name ) { 12314 12315 migratePatchFunc( jQuery.fn, name, function() { 12316 var args = Array.prototype.slice.call( arguments, 0 ); 12317 12318 // If this is an ajax load() the first arg should be the string URL; 12319 // technically this could also be the "Anything" arg of the event .load() 12320 // which just goes to show why this dumb signature has been deprecated! 12321 // jQuery custom builds that exclude the Ajax module justifiably die here. 12322 if ( name === "load" && typeof args[ 0 ] === "string" ) { 12323 return oldLoad.apply( this, args ); 12324 } 12325 12326 migrateWarn( "shorthand-removed-v3", 12327 "jQuery.fn." + name + "() is deprecated" ); 12328 12329 args.splice( 0, 0, name ); 12330 if ( arguments.length ) { 12331 return this.on.apply( this, args ); 12332 } 12333 12334 // Use .triggerHandler here because: 12335 // - load and unload events don't need to bubble, only applied to window or image 12336 // - error event should not bubble to window, although it does pre-1.7 12337 // See http://bugs.jquery.com/ticket/11820 12338 this.triggerHandler.apply( this, args ); 12339 return this; 12340 }, "shorthand-removed-v3" ); 12341 12342} ); 12343 12344jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " + 12345 "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + 12346 "change select submit keydown keypress keyup contextmenu" ).split( " " ), 12347function( _i, name ) { 12348 12349 // Handle event binding 12350 migratePatchAndWarnFunc( jQuery.fn, name, jQuery.fn[ name ], "shorthand-deprecated-v3", 12351 "DEPRECATED: jQuery.fn." + name + "() event shorthand" ); 12352 12353} ); 12354 12355// Trigger "ready" event only once, on document ready 12356jQuery( function() { 12357 jQuery( window.document ).triggerHandler( "ready" ); 12358} ); 12359 12360jQuery.event.special.ready = { 12361 setup: function() { 12362 if ( this === window.document ) { 12363 migrateWarn( "ready-event", "'ready' event is deprecated" ); 12364 } 12365 } 12366}; 12367 12368// Support: jQuery <3.2.0 only 12369// jQuery 3.0.x & 3.1.x used to not include the deprecated module in the slim build. 12370// To maintain compatibility with those versions, we need to reimplement APIs 12371// deprecated in them. 12372// See https://github.com/jquery/jquery/blob/3.1.1/src/deprecated.js 12373migratePatchAndWarnFunc( jQuery.fn, "bind", function( types, data, fn ) { 12374 return this.on( types, null, data, fn ); 12375}, "pre-on-methods", "jQuery.fn.bind() is deprecated" ); 12376migratePatchAndWarnFunc( jQuery.fn, "unbind", function( types, fn ) { 12377 return this.off( types, null, fn ); 12378}, "pre-on-methods", "jQuery.fn.unbind() is deprecated" ); 12379migratePatchAndWarnFunc( jQuery.fn, "delegate", function( selector, types, data, fn ) { 12380 return this.on( types, selector, data, fn ); 12381}, "pre-on-methods", "jQuery.fn.delegate() is deprecated" ); 12382migratePatchAndWarnFunc( jQuery.fn, "undelegate", function( selector, types, fn ) { 12383 return arguments.length === 1 ? 12384 this.off( selector, "**" ) : 12385 this.off( types, selector || "**", fn ); 12386}, "pre-on-methods", "jQuery.fn.undelegate() is deprecated" ); 12387migratePatchAndWarnFunc( jQuery.fn, "hover", function( fnOver, fnOut ) { 12388 return this.on( "mouseenter", fnOver ).on( "mouseleave", fnOut || fnOver ); 12389}, "pre-on-methods", "jQuery.fn.hover() is deprecated" ); 12390 12391// We can apply the patch unconditionally here as in the `3.x` line the API 12392// inherits from `Object.prototype` even without a patch and `migrateWarn` 12393// inside `patchProto` will already silence warnings if the patch gets disabled. 12394patchProto( jQuery.event.special, { 12395 warningId: "event-special-null-proto", 12396 apiName: "jQuery.event.special" 12397} ); 12398 12399var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, 12400 makeMarkup = function( html ) { 12401 var doc = window.document.implementation.createHTMLDocument( "" ); 12402 doc.body.innerHTML = html; 12403 return doc.body && doc.body.innerHTML; 12404 }, 12405 warnIfChanged = function( html ) { 12406 var changed = html.replace( rxhtmlTag, "<$1></$2>" ); 12407 if ( changed !== html && makeMarkup( html ) !== makeMarkup( changed ) ) { 12408 migrateWarn( "self-closed-tags", 12409 "HTML tags must be properly nested and closed: " + html ); 12410 } 12411 }; 12412 12413/**
12414 * Deprecated, please use `jQuery.migrateDisablePatches( "self-closed-tags" )` instead. 12415 * @deprecated 12416 */ 12417migratePatchAndWarnFunc( jQuery, "UNSAFE_restoreLegacyHtmlPrefilter", function() { 12418 jQuery.migrateEnablePatches( "self-closed-tags" ); 12419}, "legacy-self-closed-tags", 12420"jQuery.UNSAFE_restoreLegacyHtmlPrefilter deprecated; use " + 12421 "`jQuery.migrateEnablePatches( \"self-closed-tags\" )`" ); 12422 12423migratePatchFunc( jQuery, "htmlPrefilter", function( html ) { 12424 warnIfChanged( html ); 12425 return html.replace( rxhtmlTag, "<$1></$2>" ); 12426}, "self-closed-tags" ); 12427 12428// This patch needs to be disabled by default as it re-introduces 12429// security issues (CVE-2020-11022, CVE-2020-11023). 12430jQuery.migrateDisablePatches( "self-closed-tags" ); 12431 12432var origOffset = jQuery.fn.offset; 12433 12434migratePatchFunc( jQuery.fn, "offset", function() { 12435 var elem = this[ 0 ]; 12436 12437 if ( elem && ( !elem.nodeType || !elem.getBoundingClientRect ) ) { 12438 migrateWarn( "offset-valid-elem", "jQuery.fn.offset() requires a valid DOM element" ); 12439 return arguments.length ? this : undefined; 12440 } 12441 12442 return origOffset.apply( this, arguments ); 12443}, "offset-valid-elem" ); 12444 12445// Support jQuery slim which excludes the ajax module 12446// The jQuery.param patch is about respecting `jQuery.ajaxSettings.traditional` 12447// so it doesn't make sense for the slim build. 12448if ( jQuery.ajax ) { 12449 12450var origParam = jQuery.param; 12451 12452migratePatchFunc( jQuery, "param", function( data, traditional ) { 12453 var ajaxTraditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; 12454 12455 if ( traditional === undefined && ajaxTraditional ) { 12456 12457 migrateWarn( "param-ajax-traditional", 12458 "jQuery.param() no longer uses jQuery.ajaxSettings.traditional" ); 12459 traditional = ajaxTraditional; 12460 } 12461 12462 return origParam.call( this, data, traditional ); 12463}, "param-ajax-traditional" ); 12464 12465} 12466 12467migratePatchAndWarnFunc( jQuery.fn, "andSelf", jQuery.fn.addBack, "andSelf", 12468 "jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()" ); 12469 12470// Support jQuery slim which excludes the deferred module in jQuery 4.0+ 12471if ( jQuery.Deferred ) { 12472 12473var unpatchedGetStackHookValue, 12474 oldDeferred = jQuery.Deferred, 12475 tuples = [ 12476 12477 // Action, add listener, callbacks, .then handlers, final state 12478 [ "resolve", "done", jQuery.Callbacks( "once memory" ), 12479 jQuery.Callbacks( "once memory" ), "resolved" ], 12480 [ "reject", "fail", jQuery.Callbacks( "once memory" ), 12481 jQuery.Callbacks( "once memory" ), "rejected" ], 12482 [ "notify", "progress", jQuery.Callbacks( "memory" ), 12483 jQuery.Callbacks( "memory" ) ] 12484 ]; 12485 12486migratePatchFunc( jQuery, "Deferred", function( func ) { 12487 var deferred = oldDeferred(), 12488 promise = deferred.promise(); 12489 12490 function newDeferredPipe( /* fnDone, fnFail, fnProgress */ ) { 12491 var fns = arguments; 12492 12493 return jQuery.Deferred( function( newDefer ) { 12494 jQuery.each( tuples, function( i, tuple ) { 12495 var fn = typeof fns[ i ] === "function" && fns[ i ]; 12496 12497 // Deferred.done(function() { bind to newDefer or newDefer.resolve }) 12498 // deferred.fail(function() { bind to newDefer or newDefer.reject }) 12499 // deferred.progress(function() { bind to newDefer or newDefer.notify }) 12500 deferred[ tuple[ 1 ] ]( function() { 12501 var returned = fn && fn.apply( this, arguments ); 12502 if ( returned && typeof returned.promise === "function" ) { 12503 returned.promise() 12504 .done( newDefer.resolve ) 12505 .fail( newDefer.reject ) 12506 .progress( newDefer.notify ); 12507 } else { 12508 newDefer[ tuple[ 0 ] + "With" ]( 12509 this === promise ? newDefer.promise() : this, 12510 fn ? [ returned ] : arguments 12511 ); 12512 } 12513 } ); 12514 } ); 12515 fns = null; 12516 } ).promise(); 12517 } 12518 12519 migratePatchAndWarnFunc( deferred, "pipe", newDeferredPipe, "deferred-pipe", 12520 "deferred.pipe() is deprecated" ); 12521 migratePatchAndWarnFunc( promise, "pipe", newDeferredPipe, "deferred-pipe", 12522 "deferred.pipe() is deprecated" ); 12523 12524 if ( func ) { 12525 func.call( deferred, deferred ); 12526 } 12527 12528 return deferred; 12529}, "deferred-pipe" ); 12530 12531// Preserve handler of uncaught exceptions in promise chains 12532jQuery.Deferred.exceptionHook = oldDeferred.exceptionHook; 12533 12534// Preserve the optional hook to record the error, if defined 12535jQuery.Deferred.getErrorHook = oldDeferred.getErrorHook; 12536 12537// We want to mirror jQuery.Deferred.getErrorHook here, so we cannot use 12538// existing Migrate utils. 12539Object.defineProperty( jQuery.Deferred, "getStackHook", { 12540 configurable: true, 12541 enumerable: true, 12542 get: function() { 12543 if ( jQuery.migrateIsPatchEnabled( "deferred-getStackHook" ) ) { 12544 12545 // jQuery 3.x checks `getStackHook` if `getErrorHook` is missing, 12546 // so don't warn on the getter. 12547 return jQuery.Deferred.getErrorHook; 12548 } else { 12549 return unpatchedGetStackHookValue; 12550 } 12551 }, 12552 set: function( newValue ) { 12553 if ( jQuery.migrateIsPatchEnabled( "deferred-getStackHook" ) ) { 12554 12555 // Only warn if `getErrorHook` wasn't set to the same value first. 12556 if ( jQuery.Deferred.getErrorHook !== newValue ) { 12557 migrateWarn( "deferred-getStackHook", 12558 "jQuery.Deferred.getStackHook is deprecated; " + 12559 "use jQuery.Deferred.getErrorHook" ); 12560 jQuery.Deferred.getErrorHook = newValue; 12561 } 12562 } else { 12563 unpatchedGetStackHookValue = newValue; 12564 } 12565 } 12566} ); 12567 12568} 12569 12570return jQuery; 12571} ); 12572 12573}catch(e){WRMCB(e)}; 12574; 12575try { 12576/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_vendors-node_modules_almond_almond_js', location = 'vendors-node_modules_almond_almond_js.js' */ 12577(globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a||[]).push([["vendors-node_modules_almond_almond_js"],{5188(e,n){var r,i,o;!function(){var e,n,t,u,l={},f={},c={},s={},p=Object.prototype.hasOwnProperty,a=[].slice,d=/\.js$/;function g(e,n){return p.call(e,n)}function h(e,n){var r,i,o,t,u,l,f,s,p,a,g,h=n&&n.split("/"),m=c.map,v=m&&m["*"]||{};if(e){for(u=(e=e.split("/")).length-1,c.nodeIdCompat&&d.test(e[u])&&(e[u]=e[u].replace(d,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),p=0;p<e.length;p++)if("."===(g=e[p]))e.splice(p,1),p-=1;else if(".."===g)if(0===p||1===p&&".."===e[2]||".."===e[p-1])continue;else p>0&&(e.splice(p-1,2),p-=2);e=e.join("/")}if((h||v)&&m){for(p=(r=e.split("/")).length;p>0;p-=1){if(i=r.slice(0,p).join("/"),h){for(a=h.length;a>0;a-=1)if((o=m[h.slice(0,a).join("/")])&&(o=o[i])){t=o,l=p;break}}if(t)break;!f&&v&&v[i]&&(f=v[i],s=p)}!t&&f&&(t=f,l=s),t&&(r.splice(0,l,t),e=r.join("/"))}return e}function m(e,r){return function(){var i=a.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),n.apply(void 0,i.concat([e,r]))}}function v(n){if(g(f,n)){var r=f[n];delete f[n],s[n]=!0,e.apply(void 0,r)}if(!g(l,n)&&!g(s,n))throw Error("No "+n);return l[n]}function b(e){var n,r=e?e.indexOf("!"):-1;return r>-1&&(n=e.substring(0,r),e=e.substring(r+1,e.length)),[n,e]}t=function(e,n){var r,i=b(e),o=i[0],t=n[1];return(e=i[1],o&&(r=v(o=h(o,t))),o)?e=r&&r.normalize?r.normalize(e,function(e){return h(e,t)}):h(e,t):(o=(i=b(e=h(e,t)))[0],e=i[1],o&&(r=v(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:r}},u={require:function(e){return m(e)},exports:function(e){var n=l[e];return void 0!==n?n:l[e]={}},module:function(e){return{id:e,uri:"",exports:l[e],config:function(){return c&&c.config&&c.config[e]||{}}}}},e=function(e,n,r,i){var o,c,p,a,d,h,y,x,j=[],k=typeof r;if(y=(o=i=i||e)?b(o):[],"undefined"===k||"function"===k){for(h=0,n=!n.length&&r.length?["require","exports","module"]:n;h<n.length;h+=1)if("require"===(p=(d=t(n[h],y)).f))j[h]=u.require(e);else if("exports"===p)j[h]=u.exports(e),x=!0;else if("module"===p)c=j[h]=u.module(e);else if(g(l,p)||g(f,p)||g(s,p))j[h]=v(p);else if(d.p)d.p.load(d.n,m(i,!0),function(e){return function(n){l[e]=n}}(p),{}),j[h]=l[p];else throw Error(e+" missing "+p);a=r?r.apply(l[e],j):void 0,e&&(c&&void 0!==c.exports&&c.exports!==l[e]?l[e]=c.exports:void 0===a&&x||(l[e]=a))}else e&&(l[e]=r)},r=i=n=function(r,i,o,l,f){if("string"==typeof r){var s;return u[r]?u[r](i):v(t(r,(s=i)?b(s):[]).f)}if(!r.splice){if((c=r).deps&&n(c.deps,c.callback),!i)return;
12577i.splice?(r=i,i=o,o=null):r=void 0}return i=i||function(){},"function"==typeof o&&(o=l,l=f),l?e(void 0,r,i,o):setTimeout(function(){e(void 0,r,i,o)},4),n},n.config=function(e){return n(e)},r._defined=l,(o=function(e,n,r){if("string"!=typeof e)throw Error("See almond README: incorrect module build, no module name");n.splice||(r=n,n=[]),g(l,e)||g(f,e)||(f[e]=[e,n,r])}).amd={jQuery:!0}}(),n.define=o,n.require=i}}]); 12578//# sourceMappingURL=vendors-node_modules_almond_almond_js.js.map 12579}catch(e){WRMCB(e)}; 12580; 12581try { 12582/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_vendors-node_modules_window-or-global_lib_index_js', location = 'vendors-node_modules_window-or-global_lib_index_js.js' */ 12583"use strict";(globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a||[]).push([["vendors-node_modules_window-or-global_lib_index_js"],{3269(e,l,s){e.exports="object"==typeof self&&self.self===self&&self||"object"==typeof s.g&&s.g.global===s.g&&s.g||this}}]); 12584//# sourceMappingURL=vendors-node_modules_window-or-global_lib_index_js.js.map 12585}catch(e){WRMCB(e)}; 12586; 12587try { 12588/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_packages_amd_api_ts', location = 'packages_amd_api_ts.js' */ 12589"use strict";(globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a||[]).push([["packages_amd_api_ts"],{2259(e,a,d){d.d(a,{I:()=>i,y:()=>b});var s=d(5188);let b=s.define,i=s.require}}]); 12590//# sourceMappingURL=packages_amd_api_ts.js.map 12591}catch(e){WRMCB(e)}; 12592; 12593try { 12594/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_amd', location = 'amd.js' */ 12595"use strict";(globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a||[]).push([["amd"],{9400(e,r,a){var d=a(3269),n=a.n(d),o=a(2259);try{delete o.y.amd}catch(e){console.error("Failed to delete `window.define.amd`, libraries may export as AMD modules now.")}void 0===n().define?n().define=o.y:console.error("`window.define` already defined externally, Confluence API will not be available."),void 0===n().require?n().require=o.I:console.error("`window.require` already defined externally, Confluence API will not be available."),(0,o.y)("wrm/context-path",()=>n().AJS.contextPath),(0,o.y)("wrm/data",()=>n().WRM.data),(0,o.y)("wrm/format",()=>n().WRM.format),(0,o.y)("wrm/i18n",()=>n().WRM.I18n),(0,o.y)("wrm/require",()=>n().WRM.require),(0,o.y)("wrm/require-lazily",()=>n().WRM.requireLazily)}},function(e){e.O(0,["packages_amd_api_ts","vendors-node_modules_almond_almond_js","vendors-node_modules_window-or-global_lib_index_js"],function(){return e(e.s=9400)}),e.O()}]); 12596//# sourceMappingURL=amd.js.map 12597}catch(e){WRMCB(e)}; 12598; 12599try { 12600/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:window', location = '/includes/js/amd/shim/window-amd.js' */ 12601define("window",function(){return window}); 12602}catch(e){WRMCB(e)}; 12603; 12604try { 12605/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:document', location = '/includes/js/amd/shim/document-amd.js' */ 12606define("document",["window"],function(a){return a.document}); 12607}catch(e){WRMCB(e)}; 12608; 12609try { 12610/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:underscore', location = '/includes/js/amd/shim/underscore-amd.js' */ 12611define("underscore",function(){return _}); 12612}catch(e){WRMCB(e)}; 12613; 12614try { 12615/* module-key = 'com.atlassian.auiplugin:common-runtime', location = 'aui.chunk.c44acafb76bfee50--5e5812dc1810686a.js' */ 12616(()=>{"use strict";var e,r,t,o,a={},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return a[e].call(t.exports,t,t.exports,i),t.exports}i.m=a,"u">typeof AJS&&(i.p=AJS.contextPath()+"/s/65609d31-3a1a-4792-9ae5-95388d4ff495/_/download/resources/com.atlassian.auiplugin:assets-65609d31-3a1a-4792-9ae5-95388d4ff495/"),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=(()=>
12616{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,a)=>{if(t){a=a||0;for(var n=e.length;n>0&&e[n-1][2]>a;n--)e[n]=e[n-1];e[n]=[t,o,a];return}for(var u=1/0,n=0;n<e.length;n++){for(var[t,o,a]=e[n],l=!0,s=0;s<t.length;s++)(!1&a||u>=a)&&Object.keys(i.O).every(e=>i.O[e](t[s]))?t.splice(s--,1):(l=!1,a<u&&(u=a));if(l){e.splice(n--,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,a,[n,u,l]=t,s=0;if(n.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<n.length;s++)a=n[s],i.o(r,a)&&r[a]&&r[a][0](),r[a]=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]"})(); 12617}catch(e){WRMCB(e)}; 12618; 12619try { 12620/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--fa85ea364a', location = 'aui.chunk.cb04a43bd9960856--d4fb79274e83fb1e.js' */ 12621(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)))),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}
vendor: 7,009 bytes, line 12621
12621function 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}}var 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>
vendor: 4,124 bytes, line 12621
12621=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&&(o=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;
vendor: 4,658 bytes, line 12621
12621if(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
12621h: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)._}}]); 12622}catch(e){WRMCB(e)}; 12623; 12624try { 12625/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.fa85ea364a', location = 'aui.chunk.a3ce9b671719d8ad--6e13abef073bbeb5.js' */ 12626(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)}}]); 12627}catch(e){WRMCB(e)}; 12628; 12629try { 12630/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.vendor.underscore', location = 'aui.chunk.682109fc15295e22--701b5635b9092a96.js' */ 12631"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()}]); 12632}catch(e){WRMCB(e)}; 12633; 12634try { 12635/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_vendors-node_modules_backbone_backbone_js', location = 'vendors-node_modules_backbone_backbone_js.js' */ 12636(globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73||[]).push([["vendors-node_modules_backbone_backbone_js"],{9179(t,e,i){(function(){(function(){var t=this,s=t.Backbone,n=[],r=n.push,a=n.slice,h=n.splice;e.VERSION="1.0.0";var o=t._;o||(o=i(1246)),e.$=t.jQuery||t.Zepto||t.ender||t.$,e.noConflict=function(){return t.Backbone=s,this},e.emulateHTTP=!1,e.emulateJSON=!1;var u=e.Events={on:function(t,e,i){return l(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},once:function(t,e,i){if(!l(this,"once",t,[e,i])||!e)return this;var s=this,n=o.once(function(){s.off(t,n),e.apply(this,arguments)});return n._callback=e,this.on(t,n,i)}
12636,off:function(t,e,i){var s,n,r,a,h,u,c,d;if(!this._events||!l(this,"off",t,[e,i]))return this;if(!t&&!e&&!i)return this._events={},this;for(h=0,u=(a=t?[t]:o.keys(this._events)).length;h<u;h++)if(t=a[h],r=this._events[t]){if(this._events[t]=s=[],e||i)for(c=0,d=r.length;c<d;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=a.call(arguments,1);if(!l(this,"trigger",t,e))return this;var i=this._events[t],s=this._events.all;return i&&d(i,e),s&&d(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}},c=/\s+/,l=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(c.test(i)){for(var r=i.split(c),a=0,h=r.length;a<h;a++)t[e].apply(t,[r[a]].concat(s));return!1}return!0},d=function(t,e){var i,s=-1,n=t.length,r=e[0],a=e[1],h=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,h);return;default:for(;++s<n;)(i=t[s]).callback.apply(i.ctx,e)}};o.each({listenTo:"on",listenToOnce:"once"},function(t,e){u[e]=function(e,i,s){return(this._listeners||(this._listeners={}))[e._listenerId||(e._listenerId=o.uniqueId("l"))]=e,"object"==typeof i&&(s=this),e[t](i,s,this),this}}),u.bind=u.on,u.unbind=u.off,o.extend(e,u);var f=e.Model=function(t,e){var i,s=t||{};e||(e={}),this.cid=o.uniqueId("c"),this.attributes={},o.extend(this,o.pick(e,p)),e.parse&&(s=this.parse(s,e)||{}),(i=o.result(this,"defaults"))&&(s=o.defaults({},s,i)),this.set(s,e),this.changed={},this.initialize.apply(this,arguments)},p=["url","urlRoot","collection"];o.extend(f.prototype,u,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return o.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return o.escape(this.get(t))},has:function(t){return null!=this.get(t)},set:function(t,e,i){var s,n,r,a,h,u,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,h=i.silent,a=[],u=this._changing,this._changing=!0,u||(this._previousAttributes=o.clone(this.attributes),this.changed={}),l=this.attributes,c=this._previousAttributes,this.idAttribute in n&&(this.id=n[this.idAttribute]),n)e=n[s],o.isEqual(l[s],e)||a.push(s),o.isEqual(c[s],e)?delete this.changed[s]:this.changed[s]=e,r?delete l[s]:l[s]=e;if(!h){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(u)return this;if(!h)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,o.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,o.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!o.isEmpty(this.changed):o.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&o.clone(this.changed);var e,i=!1,s=this._changing?this._previousAttributes:this.attributes;for(var n in t)o.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 o.clone(this._previousAttributes)},fetch:function(t){void 0===(t=t?o.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)},O(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)||(i=o.extend({validate:!0}
12636,i),!this._validate(s,i)))return!1;s&&i.wait&&(this.attributes=o.extend({},a,s)),void 0===i.parse&&(i.parse=!0);var h=this,u=i.success;return i.success=function(t){h.attributes=a;var e=h.parse(t,i);if(i.wait&&(e=o.extend(s||{},e)),o.isObject(e)&&!h.set(e,i))return!1;u&&u(h,t,i),h.trigger("sync",h,t,i)},O(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?o.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;O(this,t);var n=this.sync("delete",this,t);return t.wait||s(),n},url:function(){var t=o.result(this,"urlRoot")||o.result(this.collection,"url")||P();return 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({},o.extend(t||{},{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=o.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;return!i||(this.trigger("invalid",this,i,o.extend(e||{},{validationError:i})),!1)}}),o.each(["keys","values","pairs","invert","pick","omit"],function(t){f.prototype[t]=function(){var e=a.call(arguments);return e.unshift(this.attributes),o[t].apply(o,e)}});var g=e.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,o.extend({silent:!0},e))},v={add:!0,remove:!0,merge:!0},m={add:!0,merge:!1,remove:!1};o.extend(g.prototype,u,{model:f,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,o.defaults(e||{},m))},remove:function(t,e){var i,s,n,r;for(t=o.isArray(t)?t.slice():[t],e||(e={}),i=0,s=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){(e=o.defaults(e||{},v)).parse&&(t=this.parse(t,e)),o.isArray(t)||(t=t?[t]:[]);var i,s,n,a,u,c=e.at,l=this.comparator&&null==c&&!1!==e.sort,d=o.isString(this.comparator)?this.comparator:null,f=[],p=[],g={};for(i=0,s=t.length;i<s;i++)(n=this._prepareModel(t[i],e))&&((a=this.get(n))?(e.remove&&(g[a.cid]=!0),e.merge&&(a.set(n.attributes,e),l&&!u&&a.hasChanged(d)&&(u=!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&&(u=!0),this.length+=f.length,null!=c?h.apply(this.models,[c,0].concat(f)):r.apply(this.models,f)),u&&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 u&&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,o.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,o.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,o.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 o.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 Error("Cannot sort a set without a comparator");return t||(t={}),o.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(o.bind(this.comparator,this)),t.silent||this.trigger("sort",this,t),this}
12636,sortedIndex:function(t,e,i){e||(e=this.comparator);var s=o.isFunction(e)?e:function(t){return t.get(e)};return o.sortedIndex(this.models,t,s,i)},pluck:function(t){return o.invoke(this.models,"get",t)},fetch:function(t){void 0===(t=t?o.clone(t):{}).parse&&(t.parse=!0);var e=t.success,i=this;return t.success=function(s){i[t.reset?"reset":"set"](s,t),e&&e(i,s,t),i.trigger("sync",i,s,t)},O(this,t),this.sync("read",this,t)},create:function(t,e){if(e=e?o.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 f)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)},_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))}}),o.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){g.prototype[t]=function(){var e=a.call(arguments);return e.unshift(this.models),o[t].apply(o,e)}}),o.each(["groupBy","countBy","sortBy"],function(t){g.prototype[t]=function(e,i){var s=o.isFunction(e)?e:function(t){return t.get(e)};return o[t](this.models,s,i)}});var _=e.View=function(t){this.cid=o.uniqueId("view"),this._configure(t||{}),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},y=/^(\S+)\s*(.*)$/,b=["model","collection","el","id","attributes","className","tagName","events"];o.extend(_.prototype,u,{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(t,i){return this.$el&&this.undelegateEvents(),this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0],!1!==i&&this.delegateEvents(),this},delegateEvents:function(t){if(!(t||(t=o.result(this,"events"))))return this;for(var e in this.undelegateEvents(),t){var i=t[e];if(o.isFunction(i)||(i=this[t[e]]),i){var s=e.match(y),n=s[1],r=s[2];i=o.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=o.extend({},o.result(this,"options"),t)),o.extend(this,o.pick(t,b)),this.options=t},_ensureElement:function(){if(this.el)this.setElement(o.result(this,"el"),!1);else{var t=o.extend({},o.result(this,"attributes"));this.id&&(t.id=o.result(this,"id")),this.className&&(t.class=o.result(this,"className"));var i=e.$("<"+o.result(this,"tagName")+">").attr(t);this.setElement(i,!1)}}}),e.sync=function(t,i,s){var n=w[t];o.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var r={type:n,dataType:"json"};if(s.url||(r.url=o.result(i,"url")||P()),null==s.data&&i&&("create"===t||"update"===t||"patch"===t)&&(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 h=s.xhr=e.ajax(o.extend(r,s));return i.trigger("request",i,h,s),h};var w={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var x=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},E=/\((.*?)\)/g,k=/(\(\?)?:\w+/g,S=/\*\w+/g,T=/[\-{}\[\]+?.,\\\^$|#\s]/g;o.extend(x.prototype,u,{initialize:function(){},route:function(t,i,s){o.isRegExp(t)||(t=this._routeToRegExp(t)),o.isFunction(i)&&(s=i,i=""),s||(s=this[i]);var n=this;return e.history.route(t,function(r){var a=n._extractParameters(t,r);s&&s.apply(n,a),n.trigger.apply(n,["route:"+i].concat(a)),n.trigger("route",i,a),e.history.trigger("route",n,i,a)}),this},navigate:function(t,i){return e.history.navigate(t,i),this},_bindRoutes:function(){if(this.routes){this.routes=o.result(this,"routes");for(var t,e=o.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return RegExp("^"+(t=t.replace(T,"\\$&").replace(E,"(?:$1)?").replace(k,function(t,e){return e?t:"([^/]+)"}).replace(S,"(.*?)"))+"$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return o.map(i,function(t){return t?decodeURIComponent(t):null})}});var $=e.History=function(){this.handlers=[],o.bindAll(this,"checkUrl"),"u">typeof window&&(this.location=window.location,this.history=window.history)},H=/^[#\/]|\s+$/g,A=/^\/+|\/+$/g,I=/msie [\w.]+/,N=/\/$/;$.started=!1,o.extend($.prototype,u,{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(N,"");t.indexOf(i)||(t=t.substr(i.length))}else t=this.getHash();return t.replace(H,"")},start:function(t){if($.started)throw Error("Backbone.history has already been started");$.started=!0,this.options=o.extend({},{root:"/"},this.options,t),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=I.exec(navigator.userAgent.toLowerCase())&&(!s||s<=7);this.root=("/"+this.root+"/").replace(A,"/"),n&&this._wantsHashChange&&(this.iframe=e.$('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,this.navigate(i)),this._hasPushState?e.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!n?e.$(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(H,""),this.history.replaceState({},document.title,this.root+this.fragment+r.search)),this.options.silent)?void 0:this.loadUrl()},stop:function(){e.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),clearInterval(this._checkUrlInterval),$.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 o.any(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0})},navigate:function(t,e){if(!$.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)}}
12636,_updateHash:function(t,e,i){if(i){var s=t.href.replace(/(javascript:|#).*$/,"");t.replace(s+"#"+e)}else t.hash="#"+e}}),e.history=new $,f.extend=g.extend=x.extend=_.extend=$.extend=function(t,e){var i,s=this;i=t&&o.has(t,"constructor")?t.constructor:function(){return s.apply(this,arguments)},o.extend(i,s,e);var n=function(){this.constructor=i};return n.prototype=s.prototype,i.prototype=new n,t&&o.extend(i.prototype,t),i.__super__=s.prototype,i};var P=function(){throw Error('A "url" property or function must be specified')},O=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)}}]); 12637}catch(e){WRMCB(e)}; 12638; 12639try { 12640/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_backbone', location = 'backbone.js' */ 12641"use strict";(globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73||[]).push([["backbone"],{2084(e,n,o){var c=o(9179),a=o.n(c);window.Backbone=a().noConflict()},1246(e){e.exports=require("underscore")}},function(e){e.O(0,["vendors-node_modules_backbone_backbone_js"],function(){return e(e.s=2084)}),e.O()}]); 12642//# sourceMappingURL=backbone.js.map 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 = 'js/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 = '
12669js/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){o
12727pt_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||
12801(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:INTERNAL-react-library-production', location = 'modules/react-library-production.amd.js' */ 14772define("atlassian/libs/react",[],function(){return(()=>{"use strict";var e,t={287(e,t){var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,_={};function h(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||d}function b(){}function m(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||d}h.prototype.isReactComponent={},h.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")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=h.prototype;var S=m.prototype=new b;S.constructor=m,v(S,h.prototype),S.isPureReactComponent=!0;var E=Array.isArray,w=Object.prototype.hasOwnProperty,$={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};
vendor: 5,886 bytes, lines 14772-14777
14772function k(e,t,n){var o,u={},a=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,o)&&!R.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var f=Array(i),s=0;s<i;s++)f[s]=arguments[s+2];u.children=f}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===u[o]&&(u[o]=i[o]);return{$$typeof:r,type:e,key:a,ref:c,props:u,_owner:$.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var j=/\/+/g;function g(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function x(e,t,o){if(null==e)return e;var u=[],a=0;return!function e(t,o,u,a,c){var i,f,s,l=typeof t;("undefined"===l||"boolean"===l)&&(t=null);var p=!1;if(null===t)p=!0;else switch(l){case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case r:case n:p=!0}}if(p)return c=c(p=t),t=""===a?"."+g(p,0):a,E(c)?(u="",null!=t&&(u=t.replace(j,"$&/")+"/"),e(c,o,u,"",function(e){return e})):null!=c&&(C(c)&&(i=c,f=u+(!c.key||p&&p.key===c.key?"":(""+c.key).replace(j,"$&/")+"/")+t,c={$$typeof:r,type:i.type,key:f,ref:i.ref,props:i.props,_owner:i._owner}),o.push(c)),1;if(p=0,a=""===a?".":a+":",E(t))for(var d=0;d<t.length;d++){var v=a+g(l=t[d],d);p+=e(l,o,u,v,c)}else if("function"==typeof(v=null===(s=t)||"object"!=typeof s?null:"function"==typeof(s=y&&s[y]||s["@@iterator"])?s:null))for(t=v.call(t),d=0;!(l=t.next()).done;)v=a+g(l=l.value,d++),p+=e(l,o,u,v,c);else if("object"===l)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return p}(e,u,"","",function(e){return t.call(o,e,a++)}),u}function O(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}var P={current:null},I={transition:null};function T(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:x,forEach:function(e,t,r){x(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return x(e,function(){t++}),t},toArray:function(e){return x(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=h,t.Fragment=o,t.Profiler=a,t.PureComponent=m,t.StrictMode=u,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:I,ReactCurrentOwner:$},t.act=T,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=v({},e.props),u=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=$.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(f in t)w.call(t,f)&&!R.hasOwnProperty(f)&&(o[f]=void 0===t[f]&&void 0!==i?i[f]:t[f])}var f=arguments.length-2;if(1===f)o.children=n;else if(1<f){i=Array(f);for(var s=0;s<f;s++)i[s]=arguments[s+2];o.children=i}return{$$typeof:r,type:e.type,key:u,ref:a,props:o,_owner:c}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=T,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,r){return P.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,r){return P.current.useReducer(e,t,r)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return P.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},540(e,t,r){e.exports=r(287)}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var u=r[e]={exports:{}};return t[e](u,u.exports,n),u.exports}n.d=(e,t,r)=>{var o=(t,r)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,[r]:t[o]})};o(t,"get"),o(r,"value")},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};return e=n(540),n.d(o,{},{default:e}),o=o.default})()}); 14773}catch(e){WRMCB(e)}; 14774; 14775try { 14776/* module-key = 'com.atlassian.plugins.react:INTERNAL-react-jsx-runtime-production', location = 'modules/react-jsx-runtime-production.amd.js' */ 14777define("atlassian/libs/react/jsx-runtime",["atlassian/libs/react"],function(r){return(()=>{"use strict";var e,t={20(r,e,t){var o=t(679),a=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,f=o.__SECRET_INT
14777ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function i(r,e,t){var o,n={},i=null,u=null;for(o in void 0!==t&&(i=""+t),void 0!==e.key&&(i=""+e.key),void 0!==e.ref&&(u=e.ref),e)s.call(e,o)&&!l.hasOwnProperty(o)&&(n[o]=e[o]);if(r&&r.defaultProps)for(o in e=r.defaultProps)void 0===n[o]&&(n[o]=e[o]);return{$$typeof:a,type:r,key:i,ref:u,props:n,_owner:f.current}}e.Fragment=n,e.jsx=i,e.jsxs=i},848(r,e,t){r.exports=t(20)},679(e){e.exports=r}},o={};function a(r){var e=o[r];if(void 0!==e)return e.exports;var n=o[r]={exports:{}};return t[r](n,n.exports,a),n.exports}a.d=(r,e,t)=>{var o=(e,t)=>{for(var o in e)a.o(e,o)&&!a.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,[t]:e[o]})};o(e,"get"),o(t,"value")},a.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);var n={};return e=a(848),a.d(n,{},{default:e}),n=n.default})()}); 14778}catch(e){WRMCB(e)}; 14779; 14780try { 14781/* module-key = 'com.atlassian.plugins.react:INTERNAL-react-dom-production', location = 'modules/react-dom-production.amd.js' */ 14782define("atlassian/libs/react-dom",["atlassian/libs/react"],function(e){return(()=>{"use strict";var n,t={551(e,n,t){var r,l,a,u,o,i,s=t(679),c=t(982);function f(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."}var d=new Set,p={};function m(e,n){h(e,n),h(e+"Capture",n)}function h(e,n){for(p[e]=n,e=0;e<n.length;e++)d.add(n[e])}var g="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,v=Object.prototype.hasOwnProperty,y=/^[: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]*$/,b={},k={};function w(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}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new w(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];S[n]=new w(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new w(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new w(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){S[e]=new w(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new w(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new w(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new w(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new w(e,5,!1,e.toLowerCase(),null,!1,!1)});var x=/[\-:]([a-z])/g;function E(e){return e[1].toUpperCase()}function C(e,n,t,r){var l,a=S.hasOwnProperty(n)?S[n]:null;(null!==a?0!==a.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":if(r)return!1;if(null!==t)return!t.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,n,t,r))return!0;
vendor: 3,862 bytes, line 14782
14782if(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,a,r)&&(t=null),r||null===a?(l=n,(v.call(k,l)||!v.call(b,l)&&(y.test(l)?k[l]=!0:(b[l]=!0,!1)))&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t))):a.mustUseProperty?e[a.propertyName]=null===t?3!==a.type&&"":t:(n=a.attributeName,r=a.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(a=a.type)||4===a&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"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(x,E);S[n]=new w(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(x,E);S[n]=new w(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(x,E);S[n]=new w(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!0,!0)});var _=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,z=Symbol.for("react.element"),N=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),F=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),U=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var V=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var A=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=A&&e[A]||e["@@iterator"])?e:null}var H,W=Object.assign;function Q(e){if(void 0===H)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);H=n&&n[1]||""}return"\n"+H+e}var j=!1;function $(e,n){if(!e||j)return"";j=!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)}else{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--,o--,0>
vendor: 6,827 bytes, line 14782
14782o||l[u]!==a[o]){var i="\n"+l[u].replace(" at new "," at ");return e.displayName&&i.includes("<anonymous>")&&(i=i.replace("<anonymous>",e.displayName)),i}while(1<=u&&0<=o);break}}}finally{j=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Q(e):""}function K(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var n=q(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 X(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function G(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function Z(e,n){var t=n.checked;return W({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function J(e,n){var t=null==n.defaultValue?"":n.defaultValue;e._wrapperState={initialChecked:null!=n.checked?n.checked:n.defaultChecked,initialValue:t=K(null!=n.value?n.value:t),controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function ee(e,n){null!=(n=n.checked)&&C(e,"checked",n,!1)}function en(e,n){ee(e,n);var t=K(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")?er(e,n.type,t):n.hasOwnProperty("defaultValue")&&er(e,n.type,K(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function et(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 er(e,n,t){("number"!==n||G(e.ownerDocument)!==e)&&(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var el=Array.isArray;function ea(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=""+K(t),n=null,l=0;l<e.length;l++){if(e[l].value===t){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}null!==n||e[l].disabled||(n=e[l])}null!==n&&(n.selected=!0)}}function eu(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(f(91));return W({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function eo(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(f(92));if(el(t)){if(1<t.length)throw Error(f(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:K(t)}}function ei(e,n){var t=K(n.value),r=K(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 es(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function ec(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 ef(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?ec(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var ed,ep,em=(ed=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((ep=ep||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ep.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"u">typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction(function(){return ed(e,n)})}:ed);function eh(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType){t.nodeValue=n;return}}e.textContent=n}var eg={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},ev=["Webkit","ms","Moz","O"];function ey(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||eg.hasOwnProperty(e)&&eg[e]?(""+n).trim():n+"px"}function eb(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),l=ey(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}Object.keys(eg).forEach(function(e){ev.forEach(function(n){eg[n=n+e.charAt(0).toUpperCase()+e.substring(1)]=eg[e]})});var ek=W({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});function ew(e,n){if(n){if(ek[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(f(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(f(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(f(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(f(62))}}function eS(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}}var ex=null;function eE(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eC=null,e_=null,ez=null;function eN(e){if(e=r
vendor: 7,815 bytes, line 14782
14782R(e)){if("function"!=typeof eC)throw Error(f(280));var n=e.stateNode;n&&(n=rU(n),eC(e.stateNode,e.type,n))}}function eP(e){e_?ez?ez.push(e):ez=[e]:e_=e}function eT(){if(e_){var e=e_,n=ez;if(ez=e_=null,eN(e),n)for(e=0;e<n.length;e++)eN(n[e])}}function eL(e,n){return e(n)}function eM(){}var eF=!1;function eD(e,n,t){if(eF)return e(n,t);eF=!0;try{return eL(e,n,t)}finally{eF=!1,(null!==e_||null!==ez)&&(eM(),eT())}}function eO(e,n){var t=e.stateNode;if(null===t)return null;var r=rU(t);if(null===r)return null;switch(t=r[n],n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(t&&"function"!=typeof t)throw Error(f(231,n,typeof t));return t}var eR=!1;if(g)try{var eI={};Object.defineProperty(eI,"passive",{get:function(){eR=!0}}),window.addEventListener("test",eI,eI),window.removeEventListener("test",eI,eI)}catch(e){eR=!1}function eU(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)}}var eV=!1,eA=null,eB=!1,eH=null,eW={onError:function(e){eV=!0,eA=e}};function eQ(e,n,t,r,l,a,u,o,i){eV=!1,eA=null,eU.apply(eW,arguments)}function ej(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do 0!=(4098&(n=e).flags)&&(t=n.return),e=n.return;while(e)}return 3===n.tag?t:null}function e$(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 eK(e){if(ej(e)!==e)throw Error(f(188))}function eq(e){return null!==(e=function(e){var n=e.alternate;if(!n){if(null===(n=ej(e)))throw Error(f(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(null===l)break;var a=l.alternate;if(null===a){if(null!==(r=l.return)){t=r;continue}break}if(l.child===a.child){for(a=l.child;a;){if(a===t)return eK(l),e;if(a===r)return eK(l),n;a=a.sibling}throw Error(f(188))}if(t.return!==r.return)t=l,r=a;else{for(var u=!1,o=l.child;o;){if(o===t){u=!0,t=l,r=a;break}if(o===r){u=!0,r=l,t=a;break}o=o.sibling}if(!u){for(o=a.child;o;){if(o===t){u=!0,t=a,r=l;break}if(o===r){u=!0,r=a,t=l;break}o=o.sibling}if(!u)throw Error(f(189))}}if(t.alternate!==r)throw Error(f(190))}if(3!==t.tag)throw Error(f(188));return t.stateNode.current===t?e:n}(e))?function e(n){if(5===n.tag||6===n.tag)return n;for(n=n.child;null!==n;){var t=e(n);if(null!==t)return t;n=n.sibling}return null}(e):null}var eY=c.unstable_scheduleCallback,eX=c.unstable_cancelCallback,eG=c.unstable_shouldYield,eZ=c.unstable_requestPaint,eJ=c.unstable_now,e0=c.unstable_getCurrentPriorityLevel,e1=c.unstable_ImmediatePriority,e2=c.unstable_UserBlockingPriority,e3=c.unstable_NormalPriority,e4=c.unstable_LowPriority,e8=c.unstable_IdlePriority,e6=null,e5=null,e9=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e7(e)/ne|0)|0},e7=Math.log,ne=Math.LN2,nn=64,nt=4194304;function nr(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 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function nl(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes,u=0xfffffff&t;if(0!==u){var o=u&~l;0!==o?r=nr(o):0!=(a&=u)&&(r=nr(a))}else 0!=(u=t&~l)?r=nr(u):0!==a&&(r=nr(a));if(0===r)return 0;if(0!==n&&n!==r&&0==(n&l)&&((l=r&-r)>=(a=n&-n)||16===l&&0!=(4194240&a)))return n;if(0!=(4&r)&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)l=1<<(t=31-e9(n)),r|=e[t],n&=~l;return r}function na(e){return 0!=(e=-0x40000001&e.pendingLanes)?e:0x40000000&e?0x40000000:0}function nu(){var e=nn;return 0==(4194240&(nn<<=1))&&(nn=64),e}function no(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function ni(e,n,t){e.pendingLanes|=n,0x20000000!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-e9(n)]=t}function ns(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-e9(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var nc=0;function nf(e){return 1<(e&=-e)?4<e?0!=(0xfffffff&e)?16:0x20000000:4:1}var nd,np,nm,nh,ng,nv=!1,ny=[],nb=null,nk=null,nw=null,nS=new Map,nx=new Map,nE=[],nC="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(" ");function n_(e,n){switch(e){case"focusin":case"focusout":nb=null;break;case"dragenter":case"dragleave":nk=null;break;case"mouseover":case"mouseout":nw=null;break;case"pointerover":case"pointerout":nS.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":nx.delete(n.pointerId)}}function nz(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=rR(n))&&np(n)):(e.eventSystemFlags|=r,n=e.targetContainers,null!==l&&-1===n.indexOf(l)&&n.push(l)),e}function nN(e){var n=rO(e.target);if(null!==n){var t=ej(n);if(null!==t){if(13===(n=t.tag)){if(null!==(n=e$(t))){e.blockedOn=n,ng(e.priority,function(){nm(t)});return}}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===t.tag?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function nP(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=nA(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=rR(t))&&np(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);ex=r,t.target.dispatchEvent(r),ex=null,n.shift()}return!0}function nT(e,n,t){nP(e)&&t.delete(n)}function nL(){nv=!1,null!==nb&&nP(nb)&&(nb=null),null!==nk&&nP(nk)&&(nk=null),null!==nw&&nP(nw)&&(nw=null),nS.forEach(nT),nx.forEach(nT)}function nM(e,n){e.blockedOn===n&&(e.blockedOn=null,nv||(nv=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,nL)))}function nF(e){function n(n){return nM(n,e)}if(0<ny.length){nM(ny[0],e);for(var t=1;t<ny.length;t++){var r=ny[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==nb&&nM(nb,e),null!==nk&&nM(nk,e),null!==nw&&nM(nw,e),nS.forEach(n),nx.forEach(n),t=0;t<nE.length;t++)(r=nE[t]).blockedOn===e&&(r.blockedOn=null);for(;0<nE.length&&null===(t=nE[0]).blockedOn;)nN(t),null===t.blockedOn&&nE.shift()}var nD=_.ReactCurrentBatchConfig,nO=!0;function nR(e,n,t,r){var l=nc,a=nD.transition;nD.transition=null;try{nc=1,nU(e,n,t,r)}finally{nc=l,nD.transition=a}}function nI(e,n,t,r){var l=nc,a=nD.transition;nD.transition=null;try{nc=4,nU(e,n,t,r)}finally{nc=l,nD.transition=a}}function nU(e,n,t,r){if(nO){var l=nA(e,n,t,r);if(null===l)ro(e,n,r,nV,t),n_(e,r);else if(function(e,n,t,r,l){switch(n){case"focusin":return nb=nz(nb,e,n,t,r,l),!0;case"dragenter":return nk=nz(nk,e,n,t,r,l),!0;case"mouseover":return nw=nz(nw,e,n,t,r,l),!0;case"pointerover":var a=l.pointerId;return nS.set(a,nz(nS.get(a)||null,e,n,t,r,l)),!0;case"gotpointercapture":return a=l.pointerId,nx.set(a,nz(nx.get(a)||null,e,n,t,r,l)),!0}return!1}(l,e,n,t,r))r.stopPropagation();else if(n_(e,r),4&n&&-1<nC.indexOf(e)){for(;null!==l;){var a=rR(l);if(null!==a&&nd(a),null===(a=nA(e,n,t,r))&&ro(e,n,r,nV,t),a===l)break;l=a}null!==l&&r.stopPropagation()}else ro(e,n,r,null,t)}}var nV=null;function nA(e,n,t,r){if(nV=null,null!==(e=rO
vendor: 6,961 bytes, line 14782
14782(e=eE(r))))if(null===(n=ej(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=e$(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 nV=e,null}function nB(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(e0()){case e1:return 1;case e2:return 4;case e3:case e4:return 16;case e8:return 0x20000000;default:return 16}default:return 16}}var nH=null,nW=null,nQ=null;function nj(){if(nQ)return nQ;var e,n,t=nW,r=t.length,l="value"in nH?nH.value:nH.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 nQ=l.slice(e,1<n?1-n:void 0)}function n$(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 nK(){return!0}function nq(){return!1}function nY(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)?nK:nq,this.isPropagationStopped=nq,this}return W(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=nK)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nK)},persist:function(){},isPersistent:nK}),n}var nX,nG,nZ,nJ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},n0=nY(nJ),n1=W({},nJ,{view:0,detail:0}),n2=nY(n1),n3=W({},n1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tl,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!==nZ&&(nZ&&"mousemove"===e.type?(nX=e.screenX-nZ.screenX,nG=e.screenY-nZ.screenY):nG=nX=0,nZ=e),nX)},movementY:function(e){return"movementY"in e?e.movementY:nG}}),n4=nY(n3),n8=nY(W({},n3,{dataTransfer:0})),n6=nY(W({},n1,{relatedTarget:0})),n5=nY(W({},nJ,{animationName:0,elapsedTime:0,pseudoElement:0})),n9=nY(W({},nJ,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),n7=nY(W({},nJ,{data:0})),te={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tn={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"},tt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tr(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=tt[e])&&!!n[e]}function tl(){return tr}var ta=nY(W({},n1,{key:function(e){if(e.key){var n=te[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=n$(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?tn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tl,charCode:function(e){return"keypress"===e.type?n$(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?n$(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),tu=nY(W({},n3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),to=nY(W({},n1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tl})),ti=nY(W({},nJ,{propertyName:0,elapsedTime:0,pseudoElement:0})),ts=nY(W({},n3,{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})),tc=[9,13,27,32],tf=g&&"CompositionEvent"in window,td=null;g&&"documentMode"in document&&(td=document.documentMode);var tp=g&&"TextEvent"in window&&!td,tm=g&&(!tf||td&&8<td&&11>=td),th=!1;function tg(e,n){switch(e){case"keyup":return -1!==tc.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tv(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ty=!1,tb={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};function tk(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!tb[e.type]:"textarea"===n}function tw(e,n,t,r){eP(r),0<(n=rs(n,"onChange")).length&&(t=new n0("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var tS=null,tx=null;function tE(e){rn(e,0)}function tC(e){if(X(rI(e)))return e}function t_(e,n){if("change"===e)return n}var tz=!1;if(g){if(g){var tN="oninput"in document;if(!tN){var tP=document.createElement("div");tP.setAttribute("oninput","return;"),tN="function"==typeof tP.oninput}r=tN}else r=!1;tz=r&&(!document.documentMode||9<document.documentMode)}function tT(){tS&&(tS.detachEvent("onpropertychange",tL),tx=tS=null)}function tL(e){if("value"===e.propertyName&&tC(tx)){var n=[];tw(n,tx,e,eE(e)),e
vendor: 4,068 bytes, line 14782
14782D(tE,n)}}function tM(e,n,t){"focusin"===e?(tT(),tS=n,tx=t,tS.attachEvent("onpropertychange",tL)):"focusout"===e&&tT()}function tF(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return tC(tx)}function tD(e,n){if("click"===e)return tC(n)}function tO(e,n){if("input"===e||"change"===e)return tC(n)}var tR="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n};function tI(e,n){if(tR(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(!v.call(n,l)||!tR(e[l],n[l]))return!1}return!0}function tU(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tV(e,n){var t,r=tU(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=tU(r)}}function tA(){for(var e=window,n=G();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(t)e=n.contentWindow;else break;n=G(e.document)}return n}function tB(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)}var tH=g&&"documentMode"in document&&11>=document.documentMode,tW=null,tQ=null,tj=null,t$=!1;function tK(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;t$||null==tW||tW!==G(r)||(r="selectionStart"in(r=tW)&&tB(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},tj&&tI(tj,r)||(tj=r,0<(r=rs(tQ,"onSelect")).length&&(n=new n0("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=tW)))}function tq(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var tY={animationend:tq("Animation","AnimationEnd"),animationiteration:tq("Animation","AnimationIteration"),animationstart:tq("Animation","AnimationStart"),transitionend:tq("Transition","TransitionEnd")},tX={},tG={};function tZ(e){if(tX[e])return tX[e];if(!tY[e])return e;var n,t=tY[e];for(n in t)if(t.hasOwnProperty(n)&&n in tG)return tX[e]=t[n];return e}g&&(tG=document.createElement("div").style,"AnimationEvent"in window||(delete tY.animationend.animation,delete tY.animationiteration.animation,delete tY.animationstart.animation),"TransitionEvent"in window||delete tY.transitionend.transition);var tJ=tZ("animationend"),t0=tZ("animationiteration"),t1=tZ("animationstart"),t2=tZ("transitionend"),t3=new Map,t4="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 t8(e,n){t3.set(e,n),m(n,[e])}for(var t6=0;t6<t4.length;t6++){var t5=t4[t6];t8(t5.toLowerCase(),"on"+(t5[0].toUpperCase()+t5.slice(1)))}t8(tJ,"onAnimationEnd"),t8(t0,"onAnimationIteration"),t8(t1,"onAnimationStart"),t8("dblclick","onDoubleClick"),t8("focusin","onFocus"),t8("focusout","onBlur"),t8(t2,"onTransitionEnd"),h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),m("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),m("onSelect","focusout contextmenu dragend focu
14782sin keydown keyup mousedown mouseup selectionchange".split(" ")),m("onBeforeInput",["compositionend","keypress","textInput","paste"]),m("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var t9="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(" "),t7=new Set("cancel close invalid load scroll toggle".split(" ").concat(t9));function re(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,l,a,u,o,i){if(eQ.apply(this,arguments),eV){if(eV){var s=eA;eV=!1,eA=null}else throw Error(f(198));eB||(eB=!0,eH=s)}}(r,n,void 0,e),e.currentTarget=null}function rn(e,n){n=0!=(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;re(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;re(l,o,s),a=i}}}if(eB)throw e=eH,eB=!1,eH=null,e}function rt(e,n){var t=n[rM];void 0===t&&(t=n[rM]=new Set);var r=e+"__bubble";t.has(r)||(ru(n,e,2,!1),t.add(r))}function rr(e,n,t){var r=0;n&&(r|=4),ru(t,e,r,n)}var rl="_reactListening"+Math.random().toString(36).slice(2);function ra(e){if(!e[rl]){e[rl]=!0,d.forEach(function(n){"selectionchange"!==n&&(t7.has(n)||rr(n,!1,e),rr(n,!0,e))});var n=9===e.nodeType?e:e.ownerDocument;null===n||n[rl]||(n[rl]=!0,rr("selectionchange",!1,n))}}function ru(e,n,t,r){switch(nB(n)){case 1:var l=nR;break;case 4:l=nI;break;default:l=nU}t=l.bind(null,n,t,e),l=void 0,eR&&("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 ro(e,n,t,r,l){var a=r;if(0==(1&n)&&0==(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=rO(o)))return;if(5===(i=u.tag)||6===i){r=a=u;continue e}o=o.parentNode}}r=r.return}eD(function(){var r=a,l=eE(t),u=[];e:{var o=t3.get(e);if(void 0!==o){var i=n0,s=e;switch(e){case"keypress":if(0===n$(t))break e;case"keydown":case"keyup":i=ta;break;case"focusin":s="focus",i=n6;break;case"focusout":s="blur",i=n6;break;case"beforeblur":case"afterblur":i=n6;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=n4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":i=n8;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":i=to;break;case tJ:case t0:case t1:i=n5;break;case t2:i=ti;break;case"scroll":i=n2;break;case"wheel":i=ts;break;case"copy":case"cut":case"paste":i=n9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":i=tu}var c=0!=(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=eO(m,d))&&c.push(ri(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(0==(7&n)){if((o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e,!(o&&t!==ex&&(s=t.relatedTarget||t.fromElement)&&(rO(s)||s[rL])))&&(i||o)&&(o=l.window===l?l:(o=l.ownerDocument)?o.defaultView||o.parentWindow:window,i?(s=t.relatedTarget||t.toElement,i=r,null!==(s=s?rO(s):null)&&(f=ej(s),s!==f||5!==s.tag&&6!==s.tag)&&(s=null)):(i=null,s=r),i!==s)){if(c=n4,h="onMouseLeave",d="onMouseEnter",m="mou
14782se",("pointerout"===e||"pointerover"===e)&&(c=tu,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==i?o:rI(i),p=null==s?o:rI(s),(o=new c(h,m+"leave",i,t,l)).target=f,o.relatedTarget=p,h=null,rO(l)===r&&((c=new c(d,m+"enter",s,t,l)).target=p,c.relatedTarget=f,h=c),f=h,i&&s)n:{for(c=i,d=s,m=0,p=c;p;p=rc(p))m++;for(p=0,h=d;h;h=rc(h))p++;for(;0<m-p;)c=rc(c),m--;for(;0<p-m;)d=rc(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break n;c=rc(c),d=rc(d)}c=null}else c=null;null!==i&&rf(u,o,i,c,!1),null!==s&&null!==f&&rf(u,f,s,c,!0)}e:{if("select"===(i=(o=r?rI(r):window).nodeName&&o.nodeName.toLowerCase())||"input"===i&&"file"===o.type)var g,v=t_;else if(tk(o))if(tz)v=tO;else{v=tF;var y=tM}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(v=tD);if(v&&(v=v(e,r))){tw(u,v,t,l);break e}y&&y(e,o,r),"focusout"===e&&(y=o._wrapperState)&&y.controlled&&"number"===o.type&&er(o,"number",o.value)}switch(y=r?rI(r):window,e){case"focusin":(tk(y)||"true"===y.contentEditable)&&(tW=y,tQ=r,tj=null);break;case"focusout":tj=tQ=tW=null;break;case"mousedown":t$=!0;break;case"contextmenu":case"mouseup":case"dragend":t$=!1,tK(u,t,l);break;case"selectionchange":if(tH)break;case"keydown":case"keyup":tK(u,t,l)}if(tf)n:{switch(e){case"compositionstart":var b="onCompositionStart";break n;case"compositionend":b="onCompositionEnd";break n;case"compositionupdate":b="onCompositionUpdate";break n}b=void 0}else ty?tg(e,t)&&(b="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(b="onCompositionStart");b&&(tm&&"ko"!==t.locale&&(ty||"onCompositionStart"!==b?"onCompositionEnd"===b&&ty&&(g=nj()):(nW="value"in(nH=l)?nH.value:nH.textContent,ty=!0)),0<(y=rs(r,b)).length&&(b=new n7(b,e,null,t,l),u.push({event:b,listeners:y}),g?b.data=g:null!==(g=tv(t))&&(b.data=g))),(g=tp?function(e,n){switch(e){case"compositionend":return tv(n);case"keypress":if(32!==n.which)return null;return th=!0," ";case"textInput":return" "===(e=n.data)&&th?null:e;default:return null}}(e,t):function(e,n){if(ty)return"compositionend"===e||!tf&&tg(e,n)?(e=nj(),nQ=nW=nH=null,ty=!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 tm&&"ko"!==n.locale?null:n.data}}(e,t))&&0<(r=rs(r,"onBeforeInput")).length&&(l=new n7("onBeforeInput","beforeinput",null,t,l),u.push({event:l,listeners:r}),l.data=g)}rn(u,n)})}function ri(e,n,t){return{instance:e,listener:n,currentTarget:t}}function rs(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=eO(e,t))&&r.unshift(ri(e,a,l)),null!=(a=eO(e,n))&&r.push(ri(e,a,l))),e=e.return}return r}function rc(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function rf(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=eO(t,a))&&u.unshift(ri(t,i,o)):l||null!=(i=eO(t,a))&&u.push(ri(t,i,o))),t=t.return}0!==u.length&&e.push({event:n,listeners:u})}var rd=/\r\n?/g,rp=/\u0000|\uFFFD/g;function rm(e){return("string"==typeof e?e:""+e).replace(rd,"\n").replace(rp,"")}function rh(e,n,t){if(n=rm(n),rm(e)!==n&&t)throw Error(f(425))}function rg(){}var rv=null,ry=null;function rb(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}var rk="function"==typeof setTimeout?setTimeout:void 0,rw="function"==typeof clearTimeout?clearTimeout:void 0,rS="function"==typeof Promise?Promise:void 0,rx="function"==typeof queueMicrotask?queueMicrotask:void 0!==rS?function(e){return rS.resolve(null).then(e).catch(rE)}:rk;function rE(e){setTimeout(function(){throw e})}function rC(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&8===l.nodeType)if("/$"===(t=l.data)){if(0===r){e.removeChild(l),nF(n);return}r--}else"$"!==t&&"$?"!==t&&"$!"!==t||r++;t=l}while(t);nF(n)}function r_(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 rz(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}var rN=Math.random().toString(36).slice(2),rP="__reactFiber$"+rN,rT="__reactProps$"+rN,rL="__reactContainer$"+rN,rM="__reactEvents$"+rN,rF="__reactListeners$"+rN,rD="__reactHandles$"+rN;function rO(e){var n=e[rP];if(n)return n;for(var t=e.parentNode;t;){if(n=t[rL]||t[rP]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=rz(e);null!==e;){if(t=e[rP])return t;e=rz(e)}return n}t=(e=t).parentNode}return null}function rR(e){return(e=e[rP]||e[rL])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function rI(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(f(33))}function rU(e){return e[rT]||null}var rV=[],rA=-1;function rB(e){return{current:e}}function rH(e){0>rA||(e.current=rV[rA],rV[rA]=null,rA--)}function rW(e,n){rV[++rA]=e.current,e.current=n}var rQ={},rj=rB(rQ),r$=rB(!1),rK=rQ;function rq(e,n){var t=e.type.contextTypes;if(!t)return rQ;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
vendor: 82,762 bytes, line 14782
14782),a}function rY(e){return null!=(e=e.childContextTypes)}function rX(){rH(r$),rH(rj)}function rG(e,n,t){if(rj.current!==rQ)throw Error(f(168));rW(rj,n),rW(r$,t)}function rZ(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var l in r=r.getChildContext())if(!(l in n))throw Error(f(108,function(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 function e(n){if(null==n)return null;if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n;switch(n){case P:return"Fragment";case N:return"Portal";case L:return"Profiler";case T:return"StrictMode";case O:return"Suspense";case R:return"SuspenseList"}if("object"==typeof n)switch(n.$$typeof){case F:return(n.displayName||"Context")+".Consumer";case M:return(n._context.displayName||"Context")+".Provider";case D:var t=n.render;return(n=n.displayName)||(n=""!==(n=t.displayName||t.name||"")?"ForwardRef("+n+")":"ForwardRef"),n;case I:return null!==(t=n.displayName||null)?t:e(n.type)||"Memo";case U:t=n._payload,n=n._init;try{return e(n(t))}catch(e){}}return null}(n);case 8:return n===T?"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}(e)||"Unknown",l));return W({},t,r)}function rJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rQ,rK=rj.current,rW(rj,e),rW(r$,r$.current),!0}function r0(e,n,t){var r=e.stateNode;if(!r)throw Error(f(169));t?(r.__reactInternalMemoizedMergedChildContext=e=rZ(e,n,rK),rH(r$),rH(rj),rW(rj,e)):rH(r$),rW(r$,t)}var r1=null,r2=!1,r3=!1;function r4(e){null===r1?r1=[e]:r1.push(e)}function r8(){if(!r3&&null!==r1){r3=!0;var e=0,n=nc;try{var t=r1;for(nc=1;e<t.length;e++){var r=t[e];do r=r(!0);while(null!==r)}r1=null,r2=!1}catch(n){throw null!==r1&&(r1=r1.slice(e+1)),eY(e1,r8),n}finally{nc=n,r3=!1}}return null}var r6=[],r5=0,r9=null,r7=0,le=[],ln=0,lt=null,lr=1,ll="";function la(e,n){r6[r5++]=r7,r6[r5++]=r9,r9=e,r7=n}function lu(e,n,t){le[ln++]=lr,le[ln++]=ll,le[ln++]=lt,lt=e;var r=lr;e=ll;var l=32-e9(r)-1;r&=~(1<<l),t+=1;var a=32-e9(n)+l;if(30<a){var u=l-l%5;a=(r&(1<<u)-1).toString(32),r>>=u,l-=u,lr=1<<32-e9(n)+l|t<<l|r,ll=a+e}else lr=1<<a|t<<l|r,ll=e}function lo(e){null!==e.return&&(la(e,1),lu(e,1,0))}function li(e){for(;e===r9;)r9=r6[--r5],r6[r5]=null,r7=r6[--r5],r6[r5]=null;for(;e===lt;)lt=le[--ln],le[ln]=null,ll=le[--ln],le[ln]=null,lr=le[--ln],le[ln]=null}var ls=null,lc=null,lf=!1,ld=null;function lp(e,n){var t=o$(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 lm(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,ls=e,lc=r_(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,ls=e,lc=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(e.memoizedState={dehydrated:n,treeContext:t=null!==lt?{id:lr,overflow:ll}:null,retryLane:0x40000000},(t=o$(18,null,null,0)).stateNode=n,t.return=e,e.child=t,ls=e,lc=null,!0);default:return!1}}function lh(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function lg(e){if(lf){var n=lc;if(n){var t=n;if(!lm(e,n)){if(lh(e))throw Error(f(418));n=r_(t.nextSibling);var r=ls;n&&lm(e,n)?lp(r,t):(e.flags=-4097&e.flags|2,lf=!1,ls=e)}}else{if(lh(e))throw Error(f(418));e.flags=-4097&e.flags|2,lf=!1,ls=e}}}function lv(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ls=e}function ly(e){if(e!==ls)return!1;if(!lf)return lv(e),lf=!0,!1;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!rb(e.type,e.memoizedProps)),n&&(n=lc)){if(lh(e))throw lb(),Error(f(418));for(;n;)lp(e,n),n=r_(n.nextSibling)}if(lv(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(f(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var n,t=e.data;if("/$"===t){if(0===n){lc=r_(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}lc=null}}else lc=ls?r_(e.stateNode.nextSibling):null;return!0}function lb(){for(var e=lc;e;)e=r_(e.nextSibling)}function lk(){lc=ls=null,lf=!1}function lw(e){null===ld?ld=[e]:ld.push(e)}var lS=_.ReactCurrentBatchConfig;function lx(e,n,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(f(309));var r=t.stateNode}if(!r)throw Error(f(147,e));var l=r,a=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===a?n.ref:((n=function(e){var n=l.refs;null===e?delete n[a]:n[a]=e})._stringRef=a,n)}if("string"!=typeof e)throw Error(f(284));if(!t._owner)throw Error(f(290,e))}return e}function lE(e,n){throw Error(f(31,"[object Object]"===(e=Object.prototype.toString.call(n))?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function lC(e){return(0,e._init)(e._payload)}function l_(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t)}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(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 l(e,n){return(e=oq(e,n)).index=0,e.sibling=null,e}function a(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 u(n){return e&&null===n.alternate&&(n.flags|=2),n}function o(e,n,t,r){return null===n||6!==n.tag?(n=oZ(t,e.mode,r)).return=e:(n=l(n,t)).return=e,n}function i(e,n,t,r){var a=t.type;return a===P?c(e,n,t.props.children,r,t.key):(null!==n&&(n.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===U&&lC(a)===n.type)?(r=l(n,t.props)).ref=lx(e,n,t):(r=oY(t.type,t.key,t.props,null,e.mode,r)).ref=lx(e,n,t),r.return=e,r)}function s(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?(n=oJ(t,e.mode,r)).return=e:(n=l(n,t.children||[])).return=e,n}function c(e,n,t,r,a){return null===n||7!==n.tag?(n=oX(t,e.mode,r,a)).return=e:(n=l(n,t)).return=e,n}function d(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n)return(n=oZ(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case z:return(t=oY(n.type,n.key,n.props,null,e.mode,t)).ref=lx(e,null,n),t.return=e,t;case N:return(n=oJ(n,e.mode,t)).return=e,n;case U:return d(e,(0,n._init)(n._payload),t)}if(el(n)||B(n))return(n=oX(n,e.mode,t,null)).return=e,n;lE(e,n)}return null}function p(e,n,t,r){var l=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==l?null:o(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case z:return t.key===l?i(e,n,t,r):null;case N:return t.key===l?s(e,n,t,r):null;case U:return p(e,n,(l=t._init)(t._payload),r)}if(el(t)||B(t))return null!==l?null:c(e,n,t,r,null);lE(e,t)}return null}function m(e,n,t,r,l){if("string"==typeof r&&""!==r||"number"==typeof r)return o(n,e=e.get(t)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case z:return i(n,e=e.get(null===r.key?t:r.key)||null,r,l);case N:return s(n,e=e.get(null===r.key?t:r.key)||null,r,l);case U:return m(e,n,t,(0,r._init)(r._payload),l)}if(el(r)||B(r))return c(n,e=e.get(t)||null,r,l,null);lE(n,r)}return null}return function o(i,s,c,h){if("object"==typeof c&&null!==c&&c.type===P&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case z:e:{for(var g=c.key,v=s;null!==v;){if(v.key===g){if((g=c.type)===P){if(7===v.tag){t(i,v.sibling),(s=l(v,c.props.children)).return=i,i=s;break e}}else if(v.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===U&&lC(g)===v.type){t(i,v.sibling),(s=l(v,c.props)).ref=lx(i,v,c),s.return=i,i=s;break e}t(i,v);break}n(i,v),v=v.sibling}c.type===P?((s=oX(c.props.children,i.mode,h,c.key)).return=i,i=s):((h=oY(c.type,c.key,c.props,null,i.mode,h)).ref=lx(i,s,c),h.return=i,i=h)}return u(i);case N:e:{for(v=c.key;null!==s;){if(s.key===v)if(4===s.tag&&s.stateNode.containerInfo===c.containerInfo&&s.stateNode.implementation===c.implementation){t(i,s.sibling),(s=l(s,c.children||[])).return=i,i=s;break e}else{t(i,s);break}n(i,s),s=s.sibling}(s=oJ(c,i.mode,h)).return=i,i=s}return u(i);case U:return o(i,s,(v=c._init)(c._payload),h)}if(el(c))return function(l,u,o,i){for(var s=null,c=null,f=u,h=u=0,g=null;null!==f&&h<o.length;h++){f.index>h?(g=f,f=null):g=f.sibling;var v=p(l,f,o[h],i);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&n(l,f),u=a(v,u,h),null===c?s=v:c.sibling=v,c=v,f=g}if(h===o.length)return t(l,f),lf&&la(l,h),s;if(null===f){for(;h<o.length;h++)null!==(f=d(l,o[h],i))&&(u=a(f,u,h),null===c?s=f:c.sibling=f,c=f);return lf&&la(l,h),s}for(f=r(l,f);h<o.length;h++)null!==(g=m(f,l,h,o[h],i))&&(e&&null!==g.alternate&&f.delete(null===g.key?h:g.key),u=a(g,u,h),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach(function(e){return n(l,e)}),lf&&la(l,h),s}(i,s,c,h);if(B(c))return function(l,u,o,i){var s=B(o);if("function"!=typeof s)throw Error(f(150));if(null==(o=s.call(o)))throw Error(f(151));for(var c=s=null,h=u,g=u=0,v=null,y=o.next();null!==h&&!y.done;g++,y=o.next()){h.index>g?(v=h,h=null):v=h.sibling;var b=p(l,h,y.value,i);if(null===b){null===h&&(h=v);break}e&&h&&null===b.alternate&&n(l,h),u=a(b,u,g),null===c?s=b:c.sibling=b,c=b,h=v}if(y.done)return t(l,h),lf&&la(l,g),s;if(null===h){for(;!y.done;g++,y=o.next())null!==(y=d(l,y.value,i))&&(u=a(y,u,g),null===c?s=y:c.sibling=y,c=y);return lf&&la(l,g),s}for(h=r(l,h);!y.done;g++,y=o.next())null!==(y=m(h,l,g,y.value,i))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),u=a(y,u,g),null===c?s=y:c.sibling=y,c=y);return e&&h.forEach(function(e){return n(l,e)}),lf&&la(l,g),s}(i,s,c,h);lE(i,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==s&&6===s.tag?(t(i,s.sibling),(s=l(s,c)).return=i):(t(i,s),(s=oZ(c,i.mode,h)).return=i),u(i=s)):t(i,s)}}var lz=l_(!0),lN=l_(!1),lP=rB(null),lT=null,lL=null,lM=null;function lF(){lM=lL=lT=null}function lD(e){var n=lP.current;rH(lP),e._currentValue=n}function lO(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 lR(e,n){lT=e,lM=lL=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&n)&&(ua=!0),e.firstContext=null)}function lI(e){var n=e._currentValue;if(lM!==e)if(e={context:e,memoizedValue:n,next:null},null===lL){if(null===lT)throw Error(f(308));lL=e,lT.dependencies={lanes:0,firstContext:e}}else lL=lL.next=e;return n}var lU=null;function lV(e){null===lU?lU=[e]:lU.push(e)}function lA(e,n,t,r){var l=n.interleaved;return null===l?(t.next=t,lV(n)):(t.next=l.next,l.next=t),n.interleaved=t,lB(e,r)}function lB(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}var lH=!1;function lW(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lQ(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 lj(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function l$(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&u2)){var l=r.pending;return null===l?n.next=n:(n.next=l.next,l.next=n),r.pending=n,lB(e,t)}return null===(l=r.interleaved)?(n.next=n,lV(r)):(n.next=l.next,l.next=n),r.interleaved=n,lB(e,t)}function lK(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194240&t))){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,ns(e,t)}}function lq(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}while(null!==t);null===a?l=a=n:a=a.next=n}else l=a=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=t;return}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function lY(e,n,t,r){var l=e.updateQueue;lH=!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=W({},f,d);break e;case 2:lH=!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;else 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);oe|=u,e.lanes=u,e.memoizedState=f}}function lX(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(null!==l){if(r.callback=null,r=t,"function"!=typeof l)throw Error(f(191,l));l.call(r)}}}var lG={},lZ=rB(lG),lJ=rB(lG),l0=rB(lG);function l1(e){if(e===lG)throw Error(f(174));return e}function l2(e,n){switch(rW(l0,n),rW(lJ,e),rW(lZ,lG),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ef(null,"");break;default:n=ef(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}rH(lZ),rW(lZ,n)}function l3(){rH(lZ),rH(lJ),rH(l0)}function l4(e){l1(l0.current);var n=l1(lZ.current),t=ef(n,e.type);n!==t&&(rW(lJ,e),rW(lZ,t))}function l8(e){lJ.current===e&&(rH(lZ),rH(lJ))}var l6=rB(0);function l5(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(0!=(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}var l9=[];function l7(){for(var e=0;e<l9.length;e++)l9[e]._workInProgressVersionPrimary=null;l9.length=0}var ae=_.ReactCurrentDispatcher,an=_.ReactCurrentBatchConfig,at=0,ar=null,al=null,aa=null,au=!1,ao=!1,ai=0,as=0;function ac(){throw Error(f(321))}function af(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!tR(e[t],n[t]))return!1;return!0}function ad(e,n,t,r,l,a){if(at=a,ar=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,ae.current=null===e||null===e.memoizedState?aY:aX,e=t(r,l),ao){a=0;do{if(ao=!1,ai=0,25<=a)throw Error(f(301));a+=1,aa=al=null,n.updateQueue=null,ae.current=aG,e=t(r,l)}while(ao)}if(ae.current=aq,n=null!==al&&null!==al.next,at=0,aa=al=ar=null,au=!1,n)throw Error(f(300));return e}function ap(){var e=0!==ai;return ai=0,e}function am(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aa?ar.memoizedState=aa=e:aa=aa.next=e,aa}function ah(){if(null===al){var e=ar.alternate;e=null!==e?e.memoizedState:null}else e=al.next;var n=null===aa?ar.memoizedState:aa.next;if(null!==n)aa=n,al=e;else{if(null===e)throw Error(f(310));e={memoizedState:(al=e).memoizedState,baseState:al.baseState,baseQueue:al.baseQueue,queue:al.queue,next:null},null===aa?ar.memoizedState=aa=e:aa=aa.next=e}return aa}function ag(e,n){return"function"==typeof n?n(e):n}function av(e){var n=ah(),t=n.queue;if(null===t)throw Error(f(311));t.lastRenderedReducer=e;var r=al,l=r.baseQueue,a=t.pending;if(null!==a){if(null!==l){var u=l.next;l.next=a.next,a.next=u}r.baseQueue=l=a,t.pending=null}if(null!==l){a=l.next,r=r.baseState;var o=u=null,i=null,s=a;do{var c=s.lane;if((at&c)===c)null!==i&&(i=i.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var d={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===i?(o=i=d,u=r):i=i.next=d,ar.lanes|=c,oe|=c}s=s.next}while(null!==s&&s!==a);null===i?u=r:i.next=o,tR(r,n.memoizedState)||(ua=!0),n.memoizedState=r,n.baseState=u,n.baseQueue=i,t.lastRenderedState=r}if(null!==(e=t.interleaved)){l=e;do a=l.lane,ar.lanes|=a,oe|=a,l=l.next;while(l!==e)}else null===l&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function ay(e){var n=ah(),t=n.queue;if(null===t)throw Error(f(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,a=n.memoizedState;if(null!==l){t.pending=null;var u=l=l.next;do a=e(a,u.action),u=u.next;while(u!==l);tR(a,n.memoizedState)||(ua=!0),n.memoizedState=a,null===n.baseQueue&&(n.baseState=a),t.lastRenderedState=a}return[a,r]}function ab(){}function ak(e,n){var t=ar,r=ah(),l=n(),a=!tR(r.memoizedState,l);if(a&&(r.memoizedState=l,ua=!0),r=r.queue,aM(ax.bind(null,t,r,e),[e]),r.getSnapshot!==n||a||null!==aa&&1&aa.memoizedState.tag){if(t.flags|=2048,az(9,aS.bind(null,t,r,l,n),void 0,null),null===u3)throw Error(f(349));0!=(30&at)||aw(t,n,l)}return l}function aw(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=ar.updateQueue)?(n={lastEffect:null,stores:null},ar.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function aS(e,n,t,r){n.value=t,n.getSnapshot=r,aE(n)&&aC(e)}function ax(e,n,t){return t(function(){aE(n)&&aC(e)})}function aE(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!tR(e,t)}catch(e){return!0}}function aC(e){var n=lB(e,1);null!==n&&ok(n,e,1,-1)}function a_(e){var n=am();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,n.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ag,lastRenderedState:e},e=e.dispatch=aQ.bind(null,ar,e),[n.memoizedState,e]}function az(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=ar.updateQueue)?(n={lastEffect:null,stores:null},ar.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 aN(){return ah().memoizedState}function aP(e,n,t,r){var l=am();ar.flags|=e,l.memoizedState=az(1|n,t,void 0,void 0===r?null:r)}function aT(e,n,t,r){var l=ah();r=void 0===r?null:r;var a=void 0;if(null!==al){var u=al.memoizedState;if(a=u.destroy,null!==r&&af(r,u.deps)){l.memoizedState=az(n,t,a,r);return}}ar.flags|=e,l.memoizedState=az(1|n,t,a,r)}function aL(e,n){return aP(8390656,8,e,n)}function aM(e,n){return aT(2048,8,e,n)}function aF(e,n){return aT(4,2,e,n)}function aD(e,n){return aT(4,4,e,n)}function aO(e,n){return"function"==typeof n?(n(e=e()),function(){n(null)}):null!=n?(n.current=e=e(),function(){n.current=null}):void 0}function aR(e,n,t){return t=null!=t?t.concat([e]):null,aT(4,4,aO.bind(null,n,e),t)}function aI(){}function aU(e,n){var t=ah();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&af(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function aV(e,n){var t=ah();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&af(n,r[1])?r[0]:(t.memoizedState=[e=e(),n],e)}function aA(e,n,t){return 0==(21&at)?(e.baseState&&(e.baseState=!1,ua=!0),e.memoizedState=t):(tR(t,n)||(t=nu(),ar.lanes|=t,oe|=t,e.baseState=!0),n)}function aB(e,n){var t=nc;nc=0!==t&&4>t?t:4,e(!0);var r=an.transition;an.transition={};try{e(!1),n()}finally{nc=t,an.transition=r}}function aH(){return ah().memoizedState}function aW(e,n,t){var r=ob(e);t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},aj(e)?a$(n,t):null!==(t=lA(e,n,t,r))&&(ok(t,e,r,oy()),aK(t,n,r))}function aQ(e,n,t){var r=ob(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(aj(e))a$(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,tR(o,u)){var i=n.interleaved;null===i?(l.next=l,lV(n)):(l.next=i.next,i.next=l),n.interleaved=l;return}}catch(e){}finally{}null!==(t=lA(e,n,l,r))&&(ok(t,e,r,l=oy()),aK(t,n,r))}}function aj(e){var n=e.alternate;return e===ar||null!==n&&n===ar}function a$(e,n){ao=au=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function aK(e,n,t){if(0!=(4194240&t)){var r=n.lanes;r&=e.pendingLanes,n.lanes=t|=r,ns(e,t)}}var aq={readContext:lI,useCallback:ac,useContext:ac,useEffect:ac,useImperativeHandle:ac,useInsertionEffect:ac,useLayoutEffect:ac,useMemo:ac,useReducer:ac,useRef:ac,useState:ac,useDebugValue:ac,useDeferredValue:ac,useTransition:ac,useMutableSource:ac,useSyncExternalStore:ac,useId:ac,unstable_isNewReconciler:!1},aY={readContext:lI,useCallback:function(e,n){return am().memoizedState=[e,void 0===n?null:n],e},useContext:lI,useEffect:aL,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,aP(4194308,4,aO.bind(null,n,e),t)},useLayoutEffect:function(e,n){return aP(4194308,4,e,n)},useInsertionEffect:function(e,n){return aP(4,2,e,n)},useMemo:function(e,n){return n=void 0===n?null:n,am().memoizedState=[e=e(),n],e},useReducer:function(e,n,t){var r=am();return r.memoizedState=r.baseState=n=void 0!==t?t(n):n,r.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},e=e.dispatch=aW.bind(null,ar,e),[r.memoizedState,e]},useRef:function(e){return am().memoizedState={current:e}},useState:a_,useDebugValue:aI,useDeferredValue:function(e){return am().memoizedState=e},useTransition:function(){var e=a_(!1),n=e[0];return e=aB.bind(null,e[1]),am().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=ar,l=am();if(lf){if(void 0===t)throw Error(f(407));t=t()}else{if(t=n(),null===u3)throw Error(f(349));0!=(30&at)||aw(r,n,t)}l.memoizedState=t;var a={value:t,getSnapshot:n};return l.queue=a,aL(ax.bind(null,r,a,e),[e]),r.flags|=2048,az(9,aS.bind(null,r,a,t,n),void 0,null),t},useId:function(){var e=am(),n=u3.identifierPrefix;if(lf){var t=ll,r=lr;n=":"+n+"R"+(t=(r&~(1<<32-e9(r)-1)).toString(32)+t),0<(t=ai++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=as++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},aX={readContext:lI,useCallback:aU,useContext:lI,useEffect:aM,useImperativeHandle:aR,useInsertionEffect:aF,useLayoutEffect:aD,useMemo:aV,useReducer:av,useRef:aN,useState:function(){return av(ag)},useDebugValue:aI,useDeferredValue:function(e){return aA(ah(),al.memoizedState,e)},useTransition:function(){return[av(ag)[0],ah().memoizedState]},useMutableSource:ab,useSyncExternalStore:ak,useId:aH,unstable_isNewReconciler:!1},aG={readContext:lI,useCallback:aU,useContext:lI,useEffect:aM,useImperativeHandle:aR,useInsertionEffect:aF,useLayoutEffect:aD,useMemo:aV,useReducer:ay,useRef:aN,useState:function(){return ay(ag)},useDebugValue:aI,useDeferredValue:function(e){var n=ah();return null===al?n.memoizedState=e:aA(n,al.memoizedState,e)},useTransition:function(){return[ay(ag)[0],ah().memoizedState]},useMutableSource:ab,useSyncExternalStore:ak,useId:aH,unstable_isNewReconciler:!1};function aZ(e,n){if(e&&e.defaultProps)for(var t in n=W({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}function aJ(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:W({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var a0={isMounted:function(e){return!!(e=e._reactInternals)&&ej(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=oy(),l=ob(e),a=lj(r,l);a.payload=n,null!=t&&(a.callback=t),null!==(n=l$(e,a,l))&&(ok(n,e,l,r),lK(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=oy(),l=ob(e),a=lj(r,l);a.tag=1,a.payload=n,null!=t&&(a.callback=t),null!==(n=l$(e,a,l))&&(ok(n,e,l,r),lK(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=oy(),r=ob(e),l=lj(t,r);l.tag=2,null!=n&&(l.callback=n),null!==(n=l$(e,l,r))&&(ok(n,e,r,t),lK(n,e,r))}};function a1(e,n,t,r,l,a,u){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,u):!n.prototype||!n.prototype.isPureReactComponent||!tI(t,r)||!tI(l,a)}function a2(e,n,t){var r=!1,l=rQ,a=n.contextType;return"object"==typeof a&&null!==a?a=lI(a):(l=rY(n)?rK:rj.current,a=(r=null!=(r=n.contextTypes))?rq(e,l):rQ),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=a0,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),n}function a3(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&&a0.enqueueReplaceState(n,n.state,null)}function a4(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs={},lW(e);var a=n.contextType;"object"==typeof a&&null!==a?l.context=lI(a):l.context=rq(e,a=rY(n)?rK:rj.current),l.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(aJ(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&&a0.enqueueReplaceState(l,l.state,null),lY(e,t,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.flags|=4194308)}function a8(e,n){try{var t="",r=n;do t+=function(e){switch(e.tag){case 5:return Q(e.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return $(e.type,!1);case 11:return $(e.type.render,!1);case 1:return $(e.type,!0);default:return""}}(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 a6(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function a5(e,n){try{console.error(n.value)}catch(e){setTimeout(function(){throw e})}}var a9="function"==typeof WeakMap?WeakMap:Map;function a7(e,n,t){(t=lj(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){oi||(oi=!0,os=r),a5(e,n)},t}function ue(e,n,t){(t=lj(-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(){a5(e,n)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){a5(e,n),"function"!=typeof r&&(null===oc?oc=new Set([this]):oc.add(this));var t=n.stack;this.componentDidCatch(n.value,{componentStack:null!==t?t:""})}),t}function un(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new a9;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=oB.bind(null,e,n,t),n.then(e,e))}function ut(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 ur(e,n,t,r,l){return 0==(1&e.mode)?e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=lj(-1,1)).tag=2,l$(t,n,1))),t.lanes|=1):(e.flags|=65536,e.lanes=l),e}var ul=_.ReactCurrentOwner,ua=!1;function uu(e,n,t,r){n.child=null===e?lN(n,null,t,r):lz(n,e.child,t,r)}function uo(e,n,t,r,l){t=t.render;var a=n.ref;return(lR(n,l),r=ad(e,n,t,r,a,l),t=ap(),null===e||ua)?(lf&&t&&lo(n),n.flags|=1,uu(e,n,r,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,u_(e,n,l))}function ui(e,n,t,r,l){if(null===e){var a=t.type;return"function"!=typeof a||oK(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=oY(t.type,null,r,n,n.mode,l)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,us(e,n,a,r,l))}if(a=e.child,0==(e.lanes&l)){var u=a.memoizedProps;if((t=null!==(t=t.compare)?t:tI)(u,r)&&e.ref===n.ref)return u_(e,n,l)}return n.flags|=1,(e=oq(a,r)).ref=n.ref,e.return=n,n.child=e}function us(e,n,t,r,l){if(null!==e){var a=e.memoizedProps;if(tI(a,r)&&e.ref===n.ref)if(ua=!1,n.pendingProps=r=a,0==(e.lanes&l))return n.lanes=e.lanes,u_(e,n,l);else 0!=(131072&e.flags)&&(ua=!0)}return ud(e,n,t,r,l)}function uc(e,n,t){var r=n.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&n.mode))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},rW(u5,u6),u6|=t;else{if(0==(0x40000000&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=0x40000000,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,rW(u5,u6),u6|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,rW(u5,u6),u6|=r}else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,rW(u5,u6),u6|=r;return uu(e,n,l,t),n.child}function uf(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function ud(e,n,t,r,l){var a=rY(t)?rK:rj.current;return(a=rq(n,a),lR(n,l),t=ad(e,n,t,r,a,l),r=ap(),null===e||ua)?(lf&&r&&lo(n),n.flags|=1,uu(e,n,t,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,u_(e,n,l))}function up(e,n,t,r,l){if(rY(t)){var a=!0;rJ(n)}else a=!1;if(lR(n,l),null===n.stateNode)uC(e,n),a2(n,t,r),a4(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?lI(s):rq(n,s=rY(t)?rK:rj.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)&&a3(n,u,r,s),lH=!1;var d=n.memoizedState;u.state=d,lY(n,r,u,l),i=n.memoizedState,o!==r||d!==i||r$.current||lH?("function"==typeof c&&(aJ(n,t,c,r),i=n.memoizedState),(o=lH||a1(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,lQ(e,n),o=n.memoizedProps,s=n.type===n.elementType?o:aZ(n.type,o),u.props=s,f=n.pendingProps,d=u.context,i="object"==typeof(i=t.contextType)&&null!==i?lI(i):rq(n,i=rY(t)?rK:rj.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)&&a3(n,u,r,i),lH=!1,d=n.memoizedState,u.state=d,lY(n,r,u,l);var m=n.memoizedState;o!==f||d!==m||r$.current||lH?("function"==typeof p&&(aJ(n,t,p,r),m=n.memoizedState),(s=lH||a1(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 um(e,n,t,r,a,l)}function um(e,n,t,r,l,a){uf(e,n);var u=0!=(128&n.flags);if(!r&&!u)return l&&r0(n,t,!1),u_(e,n,a);r=n.stateNode,ul.current=n;var o=u&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&u?(n.child=lz(n,e.child,null,a),n.child=lz(n,null,o,a)):uu(e,n,o,a),n.memoizedState=r.state,l&&r0(n,t,!0),n.child}function uh(e){var n=e.stateNode;n.pendingContext?rG(e,n.pendingContext,n.pendingContext!==n.context):n.context&&rG(e,n.context,!1),l2(e,n.containerInfo)}function ug(e,n,t,r,l){return lk(),lw(l),n.flags|=256,uu(e,n,t,r),n.child}var uv={dehydrated:null,treeContext:null,retryLane:0};function uy(e){return{baseLanes:e,cachePool:null,transitions:null}}function ub(e,n,t){var r,l=n.pendingProps,a=l6.current,u=!1,o=0!=(128&n.flags);if((r=o)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(u=!0,n.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),rW(l6,1&a),null===e)return(lg(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&n.mode)?n.lanes=1:"$!"===e.data?n.lanes=8:n.lanes=0x40000000,null):(o=l.children,e=l.fallback,u?(l=n.mode,u=n.child,o={mode:"hidden",children:o},0==(1&l)&&null!==u?(u.childLanes=0,u.pendingProps=o):u=oG(o,l,0,null),e=oX(e,l,t,null),u.return=n,e.return=n,u.sibling=e,n.child=u,n.child.memoizedState=uy(t),n.memoizedState=uv,e):uk(n,o));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated)){var i=e,s=n,c=o,d=l,p=r,m=a,h=t;if(c)return 256&s.flags?(s.flags&=-257,uw(i,s,h,d=a6(Error(f(422))))):null!==s.memoizedState?(s.child=i.child,s.flags|=128,null):(m=d.fallback,p=s.mode,d=oG({mode:"visible",children:d.children},p,0,null),m=oX(m,p,h,null),m.flags|=2,d.return=s,m.return=s,d.sibling=m,s.child=d,0!=(1&s.mode)&&lz(s,i.child,null,h),s.child.memoizedState=uy(h),s.memoizedState=uv,m);if(0==(1&s.mode))return uw(i,s,h,null);if("$!"===p.data){if(d=p.nextSibling&&p.nextSibling.dataset)var g=d.dgst;return d=g,uw(i,s,h,d=a6(m=Error(f(419)),d,void 0))}if(g=0!=(h&i.childLanes),ua||g){if(null!==(d=u3)){switch(h&-h){case 4:p=2;break;case 16:p=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 0x1000000:case 0x2000000:case 0x4000000:p=32;break;case 0x20000000:p=0x10000000;break;default:p=0}0!==(p=0!=(p&(d.suspendedLanes|h))?0:p)&&p!==m.retryLane&&(m.retryLane=p,lB(i,p),ok(d,i,p,-1))}return oF(),uw(i,s,h,d=a6(Error(f(421))))}return"$?"===p.data?(s.flags|=128,s.child=i.child,s=oW.bind(null,i),p._reactRetry=s,null):(i=m.treeContext,lc=r_(p.nextSibling),ls=s,lf=!0,ld=null,null!==i&&(le[ln++]=lr,le[ln++]=ll,le[ln++]=lt,lr=i.id,ll=i.overflow,lt=s),s=uk(s,d.children),s.flags|=4096,s)}if(u){u=l.fallback,o=n.mode,r=(a=e.child).sibling;var v={mode:"hidden",children:l.children};return 0==(1&o)&&n.child!==a?((l=n.child).childLanes=0,l.pendingProps=v,n.deletions=null):(l=oq(a,v)).subtreeFlags=0xe00000&a.subtreeFlags,null!==r?u=oq(r,u):(u=oX(u,o,t,null),u.flags|=2),u.return=n,l.return=n,l.sibling=u,n.child=l,l=u,u=n.child,o=null===(o=e.child.memoizedState)?uy(t):{baseLanes:o.baseLanes|t,cachePool:null,transitions:o.transitions},u.memoizedState=o,u.childLanes=e.childLanes&~t,n.memoizedState=uv,l}return e=(u=e.child).sibling,l=oq(u,{mode:"visible",children:l.children}),0==(1&n.mode)&&(l.lanes=t),l.return=n,l.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=l,n.memoizedState=null,l}function uk(e,n){return(n=oG({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function uw(e,n,t,r){return null!==r&&lw(r),lz(n,e.child,null,t),e=uk(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function uS(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),lO(e.return,n,t)}function ux(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 uE(e,n,t){var r=n.pendingProps,l=r.revealOrder,a=r.tail;if(uu(e,n,r.children,t),0!=(2&(r=l6.current)))r=1&r|2,n.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&uS(e,t,n);else if(19===e.tag)uS(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break;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(rW(l6,r),0==(1&n.mode))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;null!==t;)null!==(e=t.alternate)&&null===l5(e)&&(l=t),t=t.sibling;null===(t=l)?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),ux(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===l5(e)){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}ux(n,!0,t,null,a);break;case"together":ux(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function uC(e,n){0==(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function u_(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),oe|=n.lanes,0==(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(f(153));if(null!==n.child){for(t=oq(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=oq(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function uz(e,n){if(!lf)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 uN(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|=0xe00000&l.subtreeFlags,r|=0xe00000&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}l=function(e,n){for(var 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}},a=function(){},u=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,l1(lZ.current);var a,u=null;switch(t){case"input":l=Z(e,l),r=Z(e,r),u=[];break;case"select":l=W({},l,{value:void 0}),r=W({},r,{value:void 0}),u=[];break;case"textarea":l=eu(e,l),r=eu(e,r),u=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(e.onclick=rg)}for(s in ew(t,r),t=null,l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&null!=l[s])if("style"===s){var o=l[s];for(a in o)o.hasOwnProperty(a)&&(t||(t={}),t[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?u||(u=[]):(u=u||[]).push(s,null));for(s in r){var i=r[s];if(o=null!=l?l[s]:void 0,r.hasOwnProperty(s)&&i!==o&&(null!=i||null!=o))if("style"===s)if(o){for(a in o)!o.hasOwnProperty(a)||i&&i.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in i)i.hasOwnProperty(a)&&o[a]!==i[a]&&(t||(t={}),t[a]=i[a])}else t||(u||(u=[]),u.push(s,t)),t=i;else"dangerouslySetInnerHTML"===s?(i=i?i.__html:void 0,o=o?o.__html:void 0,null!=i&&o!==i&&(u=u||[]).push(s,i)):"children"===s?"string"!=typeof i&&"number"!=typeof i||(u=u||[]).push(s,""+i):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(p.hasOwnProperty(s)?(null!=i&&"onScroll"===s&&rt("scroll",e),u||o===i||(u=[])):(u=u||[]).push(s,i))}t&&(u=u||[]).push("style",t);var s=u;(n.updateQueue=s)&&(n.flags|=4)}},o=function(e,n,t,r){t!==r&&(n.flags|=4)};var uP=!1,uT=!1,uL="function"==typeof WeakSet?WeakSet:Set,uM=null;function uF(e,n){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){oA(e,n,t)}else t.current=null}function uD(e,n,t){try{t()}catch(t){oA(e,n,t)}}var uO=!1;function uR(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&&uD(n,t,a)}l=l.next}while(l!==r)}}function uI(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}while(t!==n)}}function uU(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 uV(e){return 5===e.tag||3===e.tag||4===e.tag}function uA(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||uV(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||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var uB=null,uH=!1;function uW(e,n,t){for(t=t.child;null!==t;)uQ(e,n,t),t=t.sibling}function uQ(e,n,t){if(e5&&"function"==typeof e5.onCommitFiberUnmount)try{e5.onCommitFiberUnmount(e6,t)}catch(e){}switch(t.tag){case 5:uT||uF(t,n);case 6:var r=uB,l=uH;uB=null,uW(e,n,t),uB=r,uH=l,null!==uB&&(uH?(e=uB,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):uB.removeChild(t.stateNode));break;case 18:null!==uB&&(uH?(e=uB,t=t.stateNode,8===e.nodeType?rC(e.parentNode,t):1===e.nodeType&&rC(e,t),nF(e)):rC(uB,t.stateNode));break;case 4:r=uB,l=uH,uB=t.stateNode.containerInfo,uH=!0,uW(e,n,t),uB=r,uH=l;break;case 0:case 11:case 14:case 15:if(!uT&&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&&(0!=(2&a)?uD(t,n,u):0!=(4&a)&&uD(t,n,u)),l=l.next}while(l!==r)}uW(e,n,t);break;case 1:if(!uT&&(uF(t,n),"function"==typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(e){oA(t,n,e)}uW(e,n,t);break;case 21:default:uW(e,n,t);break;case 22:1&t.mode?(uT=(r=uT)||null!==t.memoizedState,uW(e,n,t),uT=r):uW(e,n,t)}}function uj(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new uL),n.forEach(function(n){var r=oQ.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})}}function u$(e,n){var t=n.deletions;if(null!==t)for(var r=0;r<t.length;r++){var l=t[r];try{var a=n,u=a;e:for(;null!==u;){switch(u.tag){case 5:uB=u.stateNode,uH=!1;break e;case 3:case 4:uB=u.stateNode.containerInfo,uH=!0;break e}u=u.return}if(null===uB)throw Error(f(160));uQ(e,a,l),uB=null,uH=!1;var o=l.alternate;null!==o&&(o.return=null),l.return=null}catch(e){oA(l,n,e)}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)uK(n,e),n=n.sibling}function uK(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(u$(n,e),uq(e),4&r){try{uR(3,e,e.return),uI(3,e)}catch(n){oA(e,e.return,n)}try{uR(5,e,e.return)}catch(n){oA(e,e.return,n)}}break;case 1:u$(n,e),uq(e),512&r&&null!==t&&uF(t,t.return);break;case 5:if(u$(n,e),uq(e),512&r&&null!==t&&uF(t,t.return),32&e.flags){var l=e.stateNode;try{eh(l,"")}catch(n){oA(e,e.return,n)}}if(4&r&&null!=(l=e.stateNode)){var a=e.memoizedProps,u=null!==t?t.memoizedProps:a,o=e.type,i=e.updateQueue;if(e.updateQueue=null,null!==i)try{"input"===o&&"radio"===a.type&&null!=a.name&&ee(l,a),eS(o,u);var s=eS(o,a);for(u=0;u<i.length;u+=2){var c=i[u],d=i[u+1];"style"===c?eb(l,d):"dangerouslySetInnerHTML"===c?em(l,d):"children"===c?eh(l,d):C(l,c,d,s)}switch(o){case"input":en(l,a);break;case"textarea":ei(l,a);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!a.multiple;var m=a.value;null!=m?ea(l,!!a.multiple,m,!1):p!==!!a.multiple&&(null!=a.defaultValue?ea(l,!!a.multiple,a.defaultValue,!0):ea(l,!!a.multiple,a.multiple?[]:"",!1))}l[rT]=a}catch(n){oA(e,e.return,n)}}break;case 6:if(u$(n,e),uq(e),4&r){if(null===e.stateNode)throw Error(f(162));l=e.stateNode,a=e.memoizedProps;try{l.nodeValue=a}catch(n){oA(e,e.return,n)}}break;case 3:if(u$(n,e),uq(e),4&r&&null!==t&&t.memoizedState.isDehydrated)try{nF(n.containerInfo)}catch(n){oA(e,e.return,n)}break;case 4:default:u$(n,e),uq(e);break;case 13:u$(n,e),uq(e),8192&(l=e.child).flags&&(a=null!==l.memoizedState,l.stateNode.isHidden=a,a&&(null===l.alternate||null===l.alternate.memoizedState)&&(oa=eJ())),4&r&&uj(e);break;case 22:if(c=null!==t&&null!==t.memoizedState,1&e.mode?(uT=(s=uT)||c,u$(n,e),uT=s):u$(n,e),uq(e),8192&r){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&0!=(1&e.mode))for(uM=e,c=e.child;null!==c;){for(d=uM=c;null!==uM;){switch(m=(p=uM).child,p.tag){case 0:case 11:case 14:case 15:uR(4,p,p.return);break;case 1:uF(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,t=p.return;try{h.props=(n=r).memoizedProps,h.state=n.memoizedState,h.componentWillUnmount()}catch(e){oA(r,t,e)}}break;case 5:uF(p,p.return);break;case 22:if(null!==p.memoizedState){uX(d);continue}}null!==m?(m.return=p,uM=m):uX(d)}c=c.sibling}e:for(c=null,d=e;;){if(5===d.tag){if(null===c){c=d;try{l=d.stateNode,s?(a=l.style,"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"):(o=d.stateNode,u=null!=(i=d.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=ey("display",u))}catch(n){oA(e,e.return,n)}}}else if(6===d.tag){if(null===c)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(n){oA(e,e.return,n)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:u$(n,e),uq(e),4&r&&uj(e);case 21:}}function uq(e){var n=e.flags;if(2&n){try{e:{for(var t=e.return;null!==t;){if(uV(t)){var r=t;break e}t=t.return}throw Error(f(160))}switch(r.tag){case 5:var l=r.stateNode;32&r.flags&&(eh(l,""),r.flags&=-33);var a=uA(e);!function e(n,t,r){var l=n.tag;if(5===l||6===l)n=n.stateNode,t?r.insertBefore(n,t):r.appendChild(n);else if(4!==l&&null!==(n=n.child))for(e(n,t,r),n=n.sibling;null!==n;)e(n,t,r),n=n.sibling}(e,a,l);break;case 3:case 4:var u=r.stateNode.containerInfo,o=uA(e);!function e(n,t,r){var l=n.tag;if(5===l||6===l)n=n.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(n,t):r.insertBefore(n,t):(8===r.nodeType?(t=r.parentNode).insertBefore(n,r):(t=r).appendChild(n),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=rg));else if(4!==l&&null!==(n=n.child))for(e(n,t,r),n=n.sibling;null!==n;)e(n,t,r),n=n.sibling}(e,o,u);break;default:throw Error(f(161))}}catch(n){oA(e,e.return,n)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function uY(e){for(;null!==uM;){var n=uM;if(0!=(8772&n.flags)){var t=n.alternate;try{if(0!=(8772&n.flags))switch(n.tag){case 0:case 11:case 15:uT||uI(5,n);break;case 1:var r=n.stateNode;if(4&n.flags&&!uT)if(null===t)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:aZ(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=n.updateQueue;null!==a&&lX(n,a,r);break;case 3:var u=n.updateQueue;if(null!==u){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode}lX(n,u,t)}break;case 5:var o=n.stateNode;if(null===t&&4&n.flags){t=o;var i=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":i.autoFocus&&t.focus();break;case"img":i.src&&(t.src=i.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 s=n.alternate;if(null!==s){var c=s.memoizedState;if(null!==c){var d=c.dehydrated;null!==d&&nF(d)}}}break;default:throw Error(f(163))}uT||512&n.flags&&uU(n)}catch(e){oA(n,n.return,e)}}if(n===e){uM=null;break}if(null!==(t=n.sibling)){t.return=n.return,uM=t;break}uM=n.return}}function uX(e){for(;null!==uM;){var n=uM;if(n===e){uM=null;break}var t=n.sibling;if(null!==t){t.return=n.return,uM=t;break}uM=n.return}}function uG(e){for(;null!==uM;){var n=uM;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{uI(4,n)}catch(e){oA(n,t,e)}break;case 1:var r=n.stateNode;if("function"==typeof r.componentDidMount){var l=n.return;try{r.componentDidMount()}catch(e){oA(n,l,e)}}var a=n.return;try{uU(n)}catch(e){oA(n,a,e)}break;case 5:var u=n.return;try{uU(n)}catch(e){oA(n,u,e)}}}catch(e){oA(n,n.return,e)}if(n===e){uM=null;break}var o=n.sibling;if(null!==o){o.return=n.return,uM=o;break}uM=n.return}}var uZ=Math.ceil,uJ=_.ReactCurrentDispatcher,u0=_.ReactCurrentOwner,u1=_.ReactCurrentBatchConfig,u2=0,u3=null,u4=null,u8=0,u6=0,u5=rB(0),u9=0,u7=null,oe=0,on=0,ot=0,or=null,ol=null,oa=0,ou=1/0,oo=null,oi=!1,os=null,oc=null,of=!1,od=null,op=0,om=0,oh=null,og=-1,ov=0;function oy(){return 0!=(6&u2)?eJ():-1!==og?og:og=eJ()}function ob(e){return 0==(1&e.mode)?1:0!=(2&u2)&&0!==u8?u8&-u8:null!==lS.transition?(0===ov&&(ov=nu()),ov):0!==(e=nc)?e:e=void 0===(e=window.event)?16:nB(e.type)}function ok(e,n,t,r){if(50<om)throw om=0,oh=null,Error(f(185));ni(e,t,r),(0==(2&u2)||e!==u3)&&(e===u3&&(0==(2&u2)&&(on|=t),4===u9&&oC(e,u8)),ow(e,r),1===t&&0===u2&&0==(1&n.mode)&&(ou=eJ()+500,r2&&r8()))}function ow(e,n){var t,r=e.callbackNode;!function(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=e.pendingLanes;0<a;){var u=31-e9(a),o=1<<u,i=l[u];-1===i?(0==(o&t)||0!=(o&r))&&(l[u]=function(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}}(o,n)):i<=n&&(e.expiredLanes|=o),a&=~o}}(e,n);var l=nl(e,e===u3?u8:0);if(0===l)null!==r&&eX(r),e.callbackNode=null,e.callbackPriority=0;else if(n=l&-l,e.callbackPriority!==n){if(null!=r&&eX(r),1===n)0===e.tag?(t=o_.bind(null,e),r2=!0,r4(t)):r4(o_.bind(null,e)),rx(function(){0==(6&u2)&&r8()}),r=null;else{switch(nf(l)){case 1:r=e1;break;case 4:r=e2;break;case 16:default:r=e3;break;case 0x20000000:r=e8}r=eY(r,oS.bind(null,e))}e.callbackPriority=n,e.callbackNode=r}}function oS(e,n){if(og=-1,ov=0,0!=(6&u2))throw Error(f(327));var t=e.callbackNode;if(oU()&&e.callbackNode!==t)return null;var r=nl(e,e===u3?u8:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||n)n=oD(e,r);else{n=r;var l=u2;u2|=2;var a=oM();for((u3!==e||u8!==n)&&(oo=null,ou=eJ()+500,oT(e,n));;)try{for(;null!==u4&&!eG();)oO(u4);break}catch(n){oL(e,n)}lF(),uJ.current=a,u2=l,null!==u4?n=0:(u3=null,u8=0,n=u9)}if(0!==n){if(2===n&&0!==(l=na(e))&&(r=l,n=ox(e,l)),1===n)throw t=u7,oT(e,0),oC(e,r),ow(e,eJ()),t;if(6===n)oC(e,r);else{if(l=e.current.alternate,0==(30&r)&&!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(!tR(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}(l)&&(2===(n=oD(e,r))&&0!==(a=na(e))&&(r=a,n=ox(e,a)),1===n))throw t=u7,oT(e,0),oC(e,r),ow(e,eJ()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(f(345));case 2:case 5:oI(e,ol,oo);break;case 3:if(oC(e,r),(0x7c00000&r)===r&&10<(n=oa+500-eJ())){if(0!==nl(e,0))break;if(((l=e.suspendedLanes)&r)!==r){oy(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=rk(oI.bind(null,e,ol,oo),n);break}oI(e,ol,oo);break;case 4:if(oC(e,r),(4194240&r)===r)break;for(n=e.eventTimes,l=-1;0<r;){var u=31-e9(r);a=1<<u,(u=n[u])>l&&(l=u),r&=~a}if(r=l,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*uZ(r/1960))-r)){e.timeoutHandle=rk(oI.bind(null,e,ol,oo),r);break}oI(e,ol,oo);break;default:throw Error(f(329))}}}return ow(e,eJ()),e.callbackNode===t?oS.bind(null,e):null}function ox(e,n){var t=or;return e.current.memoizedState.isDehydrated&&(oT(e,n).flags|=256),2!==(e=oD(e,n))&&(n=ol,ol=t,null!==n&&oE(n)),e}function oE(e){null===ol?ol=e:ol.push.apply(ol,e)}function oC(e,n){for(n&=~ot,n&=~on,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-e9(n),r=1<<t;e[t]=-1,n&=~r}}function o_(e){if(0!=(6&u2))throw Error(f(327));oU();var n=nl(e,0);if(0==(1&n))return ow(e,eJ()),null;var t=oD(e,n);if(0!==e.tag&&2===t){var r=na(e);0!==r&&(n=r,t=ox(e,r))}if(1===t)throw t=u7,oT(e,0),oC(e,n),ow(e,eJ()),t;if(6===t)throw Error(f(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,oI(e,ol,oo),ow(e,eJ()),null}function oz(e,n){var t=u2;u2|=1;try{return e(n)}finally{0===(u2=t)&&(ou=eJ()+500,r2&&r8())}}function oN(e){null!==od&&0===od.tag&&0==(6&u2)&&oU();var n=u2;u2|=1;var t=u1.transition,r=nc;try{if(u1.transition=null,nc=1,e)return e()}finally{nc=r,u1.transition=t,0==(6&(u2=n))&&r8()}}function oP(){u6=u5.current,rH(u5)}function oT(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,rw(t)),null!==u4)for(t=u4.return;null!==t;){var r=t;switch(li(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&rX();break;case 3:l3(),rH(r$),rH(rj),l7();break;case 5:l8(r);break;case 4:l3();break;case 13:case 19:rH(l6);break;case 10:lD(r.type._context);break;case 22:case 23:oP()}t=t.return}if(u3=e,u4=e=oq(e.current,null),u8=u6=n,u9=0,u7=null,ot=on=oe=0,ol=or=null,null!==lU){for(n=0;n<lU.length;n++)if(null!==(r=(t=lU[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}lU=null}return e}function oL(e,n){for(;;){var t=u4;try{if(lF(),ae.current=aq,au){for(var r=ar.memoizedState;null!==r;){var l=r.queue;null!==l&&(l.pending=null),r=r.next}au=!1}if(at=0,aa=al=ar=null,ao=!1,ai=0,u0.current=null,null===t||null===t.return){u9=1,u7=n,u4=null;break}e:{var a=e,u=t.return,o=t,i=n;if(n=u8,o.flags|=32768,null!==i&&"object"==typeof i&&"function"==typeof i.then){var s=i,c=o,d=c.tag;if(0==(1&c.mode)&&(0===d||11===d||15===d)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var m=ut(u);if(null!==m){m.flags&=-257,ur(m,u,o,a,n),1&m.mode&&un(a,s,n),n=m,i=s;var h=n.updateQueue;if(null===h){var g=new Set;g.add(i),n.updateQueue=g}else h.add(i);break e}if(0==(1&n)){un(a,s,n),oF();break e}i=Error(f(426))}else if(lf&&1&o.mode){var v=ut(u);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),ur(v,u,o,a,n),lw(a8(i,o));break e}}a=i=a8(i,o),4!==u9&&(u9=2),null===or?or=[a]:or.push(a),a=u;do{switch(a.tag){case 3:a.flags|=65536,n&=-n,a.lanes|=n;var y=a7(a,i,n);lq(a,y);break e;case 1:o=i;var b=a.type,k=a.stateNode;if(0==(128&a.flags)&&("function"==typeof b.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===oc||!oc.has(k)))){a.flags|=65536,n&=-n,a.lanes|=n;var w=ue(a,o,n);lq(a,w);break e}}a=a.return}while(null!==a)}oR(t)}catch(e){n=e,u4===t&&null!==t&&(u4=t=t.return);continue}break}}function oM(){var e=uJ.current;return uJ.current=aq,null===e?aq:e}function oF(){(0===u9||3===u9||2===u9)&&(u9=4),null===u3||0==(0xfffffff&oe)&&0==(0xfffffff&on)||oC(u3,u8)}function oD(e,n){var t=u2;u2|=2;var r=oM();for((u3!==e||u8!==n)&&(oo=null,oT(e,n));;)try{for(;null!==u4;)oO(u4);break}catch(n){oL(e,n)}if(lF(),u2=t,uJ.current=r,null!==u4)throw Error(f(261));return u3=null,u8=0,u9}function oO(e){var n=i(e.alternate,e,u6);e.memoizedProps=e.pendingProps,null===n?oR(e):u4=n,u0.current=null}function oR(e){var n=e;do{var t=n.alternate;if(e=n.return,0==(32768&n.flags)){if(null!==(t=function(e,n,t){var r=n.pendingProps;switch(li(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return uN(n),null;case 1:case 17:return rY(n.type)&&rX(),uN(n),null;case 3:return r=n.stateNode,l3(),rH(r$),rH(rj),l7(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(ly(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&n.flags)||(n.flags|=1024,null!==ld&&(oE(ld),ld=null))),a(),uN(n),null;case 5:l8(n);var i=l1(l0.current);if(t=n.type,null!==e&&null!=n.stateNode)u(e,n,t,r),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(null===n.stateNode)throw Error(f(166));return uN(n),null}if(e=l1(lZ.current),ly(n)){r=n.stateNode,t=n.type;var s=n.memoizedProps;switch(r[rP]=n,r[rT]=s,e=0!=(1&n.mode),t){case"dialog":rt("cancel",r),rt("close",r);break;case"iframe":case"object":case"embed":rt("load",r);break;case"video":case"audio":for(i=0;i<t9.length;i++)rt(t9[i],r);break;case"source":rt("error",r);break;case"img":case"image":case"link":rt("error",r),rt("load",r);break;case"details":rt("toggle",r);break;case"input":J(r,s),rt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},rt("invalid",r);break;case"textarea":eo(r,s),rt("invalid",r)}for(var c in ew(t,s),i=null,s)if(s.hasOwnProperty(c)){var d=s[c];"children"===c?"string"==typeof d?r.textContent!==d&&(!0!==s.suppressHydrationWarning&&rh(r.textContent,d,e),i=["children",d]):"number"==typeof d&&r.textContent!==""+d&&(!0!==s.suppressHydrationWarning&&rh(r.textContent,d,e),i=["children",""+d]):p.hasOwnProperty(c)&&null!=d&&"onScroll"===c&&rt("scroll",r)}switch(t){case"input":Y(r),et(r,s,!0);break;case"textarea":Y(r),es(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=rg)}r=i,n.updateQueue=r,null!==r&&(n.flags|=4)}else{c=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ec(t)),"http://www.w3.org/1999/xhtml"===e?"script"===t?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(t,{is:r.is}):(e=c.createElement(t),"select"===t&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,t),e[rP]=n,e[rT]=r,l(e,n),n.stateNode=e;e:{switch(c=eS(t,r),t){case"dialog":rt("cancel",e),rt("close",e),i=r;break;case"iframe":case"object":case"embed":rt("load",e),i=r;break;case"video":case"audio":for(i=0;i<t9.length;i++)rt(t9[i],e);i=r;break;case"source":rt("error",e),i=r;break;case"img":case"image":case"link":rt("error",e),rt("load",e),i=r;break;case"details":rt("toggle",e),i=r;break;case"input":J(e,r),i=Z(e,r),rt("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=W({},r,{value:void 0}),rt("invalid",e);break;case"textarea":eo(e,r),i=eu(e,r),rt("invalid",e)}for(s in ew(t,i),d=i)if(d.hasOwnProperty(s)){var m=d[s];"style"===s?eb(e,m):"dangerouslySetInnerHTML"===s?null!=(m=m?m.__html:void 0)&&em(e,m):"children"===s?"string"==typeof m?("textarea"!==t||""!==m)&&eh(e,m):"number"==typeof m&&eh(e,""+m):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?null!=m&&"onScroll"===s&&rt("scroll",e):null!=m&&C(e,s,m,c))}switch(t){case"input":Y(e),et(e,r,!1);break;case"textarea":Y(e),es(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ea(e,!!r.multiple,s,!1):null!=r.defaultValue&&ea(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=rg)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}return uN(n),null;case 6:if(e&&null!=n.stateNode)o(e,n,e.memoizedProps,r);else{if("string"!=typeof r&&null===n.stateNode)throw Error(f(166));if(t=l1(l0.current),l1(lZ.current),ly(n)){if(r=n.stateNode,t=n.memoizedProps,r[rP]=n,(s=r.nodeValue!==t)&&null!==(e=ls))switch(e.tag){case 3:rh(r.nodeValue,t,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&rh(r.nodeValue,t,0!=(1&e.mode))}s&&(n.flags|=4)}else(r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[rP]=n,n.stateNode=r}return uN(n),null;case 13:if(rH(l6),r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(lf&&null!==lc&&0!=(1&n.mode)&&0==(128&n.flags))lb(),lk(),n.flags|=98560,s=!1;else if(s=ly(n),null!==r&&null!==r.dehydrated){if(null===e){if(!s)throw Error(f(318));if(!(s=null!==(s=n.memoizedState)?s.dehydrated:null))throw Error(f(317));s[rP]=n}else lk(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;uN(n),s=!1}else null!==ld&&(oE(ld),ld=null),s=!0;if(!s)return 65536&n.flags?n:null}if(0!=(128&n.flags))return n.lanes=t,n;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(n.child.flags|=8192,0!=(1&n.mode)&&(null===e||0!=(1&l6.current)?0===u9&&(u9=3):oF())),null!==n.updateQueue&&(n.flags|=4),uN(n),null;case 4:return l3(),a(),null===e&&ra(n.stateNode.containerInfo),uN(n),null;case 10:return lD(n.type._context),uN(n),null;case 19:if(rH(l6),null===(s=n.memoizedState))return uN(n),null;if(r=0!=(128&n.flags),null===(c=s.rendering))if(r)uz(s,!1);else{if(0!==u9||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(c=l5(e))){for(n.flags|=128,uz(s,!1),null!==(r=c.updateQueue)&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;null!==t;)s=t,e=r,s.flags&=0xe00002,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return rW(l6,1&l6.current|2),n.child}e=e.sibling}null!==s.tail&&eJ()>ou&&(n.flags|=128,r=!0,uz(s,!1),n.lanes=4194304)}else{if(!r)if(null!==(e=l5(c))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),uz(s,!0),null===s.tail&&"hidden"===s.tailMode&&!c.alternate&&!lf)return uN(n),null}else 2*eJ()-s.renderingStartTime>ou&&0x40000000!==t&&(n.flags|=128,r=!0,uz(s,!1),n.lanes=4194304);s.isBackwards?(c.sibling=n.child,n.child=c):(null!==(t=s.last)?t.sibling=c:n.child=c,s.last=c)}if(null!==s.tail)return n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=eJ(),n.sibling=null,t=l6.current,rW(l6,r?1&t|2:1&t),n;return uN(n),null;case 22:case 23:return oP(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&0!=(1&n.mode)?0!=(0x40000000&u6)&&(uN(n),6&n.subtreeFlags&&(n.flags|=8192)):uN(n),null;case 24:case 25:return null}throw Error(f(156,n.tag))}(t,n,u6))){u4=t;return}}else{if(null!==(t=function(e,n){switch(li(n),n.tag){case 1:return rY(n.type)&&rX(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return l3(),rH(r$),rH(rj),l7(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 5:return l8(n),null;case 13:if(rH(l6),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(f(340));lk()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return rH(l6),null;case 4:return l3(),null;case 10:return lD(n.type._context),null;case 22:case 23:return oP(),null;default:return null}}(t,n))){t.flags&=32767,u4=t;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{u9=6,u4=null;return}}if(null!==(n=n.sibling)){u4=n;return}u4=n=e}while(null!==n);0===u9&&(u9=5)}function oI(e,n,t){var r=nc,l=u1.transition;try{u1.transition=null,nc=1,function(e,n,t,r){do oU();while(null!==od);if(0!=(6&u2))throw Error(f(327));t=e.finishedWork;var l=e.finishedLanes;if(null!==t){if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(f(177));e.callbackNode=null,e.callbackPriority=0;var a=t.lanes|t.childLanes,u=e,o=a,i=u.pendingLanes&~o;u.pendingLanes=o,u.suspendedLanes=0,u.pingedLanes=0,u.expiredLanes&=o,u.mutableReadLanes&=o,u.entangledLanes&=o,o=u.entanglements;var s=u.eventTimes;for(u=u.expirationTimes;0<i;){var c=31-e9(i),d=1<<c;o[c]=0,s[c]=-1,u[c]=-1,i&=~d}if(e===u3&&(u4=u3=null,u8=0),0==(2064&t.subtreeFlags)&&0==(2064&t.flags)||of||(of=!0,function(e,n){eY(e,n)}(e3,function(){return oU(),null})),a=0!=(15990&t.flags),0!=(15990&t.subtreeFlags)||a){a=u1.transition,u1.transition=null;var p,m,h,g=nc;nc=1;var v=u2;u2|=4,u0.current=null,function(e,n){if(rv=nO,tB(e=tA())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var l,a=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{t.nodeType,u.nodeType}catch(e){t=null;break e}var o=0,i=-1,s=-1,c=0,d=0,p=e,m=null;n:for(;;){for(;p!==t||0!==a&&3!==p.nodeType||(i=o+a),p!==u||0!==r&&3!==p.nodeType||(s=o+r),3===p.nodeType&&(o+=p.nodeValue.length),null!==(l=p.firstChild);)m=p,p=l;for(;;){if(p===e)break n;if(m===t&&++c===a&&(i=o),m===u&&++d===r&&(s=o),null!==(l=p.nextSibling))break;m=(p=m).parentNode}p=l}t=-1===i||-1===s?null:{start:i,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ry={focusedElem:e,selectionRange:t},nO=!1,uM=n;null!==uM;)if(e=(n=uM).child,0!=(1028&n.subtreeFlags)&&null!==e)e.return=n,uM=e;else for(;null!==uM;){n=uM;try{var h=n.alternate;if(0!=(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:aZ(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(f(163))}}catch(e){oA(n,n.return,e)}if(null!==(e=n.sibling)){e.return=n.return,uM=e;break}uM=n.return}h=uO,uO=!1}(e,t),uK(t,e),function(e){var n=tA(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&function e(n,t){return!!n&&!!t&&(n===t||(!n||3!==n.nodeType)&&(t&&3===t.nodeType?e(n,t.parentNode):"contains"in n?n.contains(t):!!n.compareDocumentPosition&&!!(16&n.compareDocumentPosition(t))))}(t.ownerDocument.documentElement,t)){if(null!==r&&tB(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=tV(t,a);var u=tV(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}}(ry),nO=!!rv,ry=rv=null,e.current=t,p=t,m=e,h=l,uM=p,function e(n,t,r){for(var l=0!=(1&n.mode);null!==uM;){var a=uM,u=a.child;if(22===a.tag&&l){var o=null!==a.memoizedState||uP;if(!o){var i=a.alternate,s=null!==i&&null!==i.memoizedState||uT;i=uP;var c=uT;if(uP=o,(uT=s)&&!c)for(uM=a;null!==uM;)s=(o=uM).child,22===o.tag&&null!==o.memoizedState?uG(a):null!==s?(s.return=o,uM=s):uG(a);for(;null!==u;)uM=u,e(u,t,r),u=u.sibling;uM=a,uP=i,uT=c}uY(n)}else 0!=(8772&a.subtreeFlags)&&null!==u?(u.return=a,uM=u):uY(n)}}(p,m,h),eZ(),u2=v,nc=g,u1.transition=a}else e.current=t;of&&(of=!1,od=e,op=l),0===(a=e.pendingLanes)&&(oc=null);var y=t.stateNode;if(e5&&"function"==typeof e5.onCommitFiberRoot)try{e5.onCommitFiberRoot(e6,y,void 0,128==(128&y.current.flags))}catch(e){}if(ow(e,eJ()),null!==n)for(r=e.onRecoverableError,t=0;t<n.length;t++)r((l=n[t]).value,{componentStack:l.stack,digest:l.digest});if(oi)throw oi=!1,e=os,os=null,e;0!=(1&op)&&0!==e.tag&&oU(),0!=(1&(a=e.pendingLanes))?e===oh?om++:(om=0,oh=e):om=0,r8()}}(e,n,t,r)}finally{u1.transition=l,nc=r}return null}function oU(){if(null!==od){var e=nf(op),n=u1.transition,t=nc;try{if(u1.transition=null,nc=16>e?16:e,null===od)var r=!1;else{if(e=od,od=null,op=0,0!=(6&u2))throw Error(f(331));var l=u2;for(u2|=4,uM=e.current;null!==uM;){var a=uM,u=a.child;if(0!=(16&uM.flags)){var o=a.deletions;if(null!==o){for(var i=0;i<o.length;i++){var s=o[i];for(uM=s;null!==uM;){var c=uM;switch(c.tag){case 0:case 11:case 15:uR(8,c,a)}var d=c.child;if(null!==d)d.return=c,uM=d;else for(;null!==uM;){var p=(c=uM).sibling,m=c.return;if(!function e(n){var t=n.alternate;null!==t&&(n.alternate=null,e(t)),n.child=null,n.deletions=null,n.sibling=null,5===n.tag&&null!==(t=n.stateNode)&&(delete t[rP],delete t[rT],delete t[rM],delete t[rF],delete t[rD]),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}(c),c===s){uM=null;break}if(null!==p){p.return=m,uM=p;break}uM=m}}}var h=a.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)}}uM=a}}if(0!=(2064&a.subtreeFlags)&&null!==u)u.return=a,uM=u;else for(;null!==uM;){if(a=uM,0!=(2048&a.flags))switch(a.tag){case 0:case 11:case 15:uR(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,uM=y;break}uM=a.return}}var b=e.current;for(uM=b;null!==uM;){var k=(u=uM).child;if(0!=(2064&u.subtreeFlags)&&null!==k)k.return=u,uM=k;else for(u=b;null!==uM;){if(o=uM,0!=(2048&o.flags))try{switch(o.tag){case 0:case 11:case 15:uI(9,o)}}catch(e){oA(o,o.return,e)}if(o===u){uM=null;break}var w=o.sibling;if(null!==w){w.return=o.return,uM=w;break}uM=o.return}}if(u2=l,r8(),e5&&"function"==typeof e5.onPostCommitFiberRoot)try{e5.onPostCommitFiberRoot(e6,e)}catch(e){}r=!0}return r}finally{nc=t,u1.transition=n}}return!1}function oV(e,n,t){n=a7(e,n=a8(t,n),1),e=l$(e,n,1),n=oy(),null!==e&&(ni(e,1,n),ow(e,n))}function oA(e,n,t){if(3===e.tag)oV(e,e,t);else for(;null!==n;){if(3===n.tag){oV(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===oc||!oc.has(r))){e=ue(n,e=a8(t,e),1),n=l$(n,e,1),e=oy(),null!==n&&(ni(n,1,e),ow(n,e));break}}n=n.return}}function oB(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=oy(),e.pingedLanes|=e.suspendedLanes&t,u3===e&&(u8&t)===t&&(4===u9||3===u9&&(0x7c00000&u8)===u8&&500>eJ()-oa?oT(e,0):ot|=t),ow(e,n)}function oH(e,n){0===n&&(0==(1&e.mode)?n=1:(n=nt,0==(0x7c00000&(nt<<=1))&&(nt=4194304)));var t=oy();null!==(e=lB(e,n))&&(ni(e,n,t),ow(e,t))}function oW(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),oH(e,t)}function oQ(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(f(314))}null!==r&&r.delete(n),oH(e,t)}function oj(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 o$(e,n,t,r){return new oj(e,n,t,r)}function oK(e){return!(!(e=e.prototype)||!e.isReactComponent)}function oq(e,n){var t=e.alternate;return null===t?((t=o$(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=0xe00000&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 oY(e,n,t,r,l,a){var u=2;if(r=e,"function"==typeof e)oK(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case P:return oX(t.children,l,a,n);case T:u=8,l|=8;break;case L:return(e=o$(12,t,n,2|l)).elementType=L,e.lanes=a,e;case O:return(e=o$(13,t,n,l)).elementType=O,e.lanes=a,e;case R:return(e=o$(19,t,n,l)).elementType=R,e.lanes=a,e;case V:return oG(t,l,a,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case M:u=10;break e;case F:u=9;break e;case D:u=11;break e;case I:u=14;break e;case U:u=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(n=o$(u,t,n,l)).elementType=e,n.type=r,n.lanes=a,n}function oX(e,n,t,r){return(e=o$(7,e,r,n)).lanes=t,e}function oG(e,n,t,r){return(e=o$(22,e,r,n)).elementType=V,e.lanes=t,e.stateNode={isHidden:!1},e}function oZ(e,n,t){return(e=o$(6,e,null,n)).lanes=t,e}function oJ(e,n,t){return(n=o$(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function o0(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=no(0),this.expirationTimes=no(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=no(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function o1(e,n,t,r,l,a,u,o,i){return e=new o0(e,n,t,o,i),1===n?(n=1,!0===a&&(n|=8)):n=0,a=o$(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},lW(a),e}function o2(e){if(!e)return rQ;e=e._reactInternals;e:{if(ej(e)!==e||1!==e.tag)throw Error(f(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(rY(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(f(171))}if(1===e.tag){var t=e.type;if(rY(t))return rZ(e,t,n)}return n}function o3(e,n,t,r,l,a,u,o,i){return(e=o1(t,r,!0,e,l,a,u,o,i)).context=o2(null),t=e.current,(a=lj(r=oy(),l=ob(t))).callback=null!=n?n:null,l$(t,a,l),e.current.lanes=l,ni(e,l,r),ow(e,r),e}function o4(e,n,t,r){var l=n.current,a=oy(),u=ob(l);return t=o2(t),null===n.context?n.context=t:n.pendingContext=t,(n=lj(a,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=l$(l,n,u))&&(ok(e,l,u,a),lK(e,l,u)),u}function o8(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function o6(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function o5(e,n){o6(e,n),(e=e.alternate)&&o6(e,n)}i=function(e,n,t){if(null!==e)if(e.memoizedProps!==n.pendingProps||r$.current)ua=!0;else{if(0==(e.lanes&t)&&0==(128&n.flags))return ua=!1,function(e,n,t){switch(n.tag){case 3:uh(n),lk();break;case 5:l4(n);break;case 1:rY(n.type)&&rJ(n);break;case 4:l2(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;rW(lP,r._currentValue),r._currentValue=l;break;case 13:if(null!==(r=n.memoizedState)){if(null!==r.dehydrated)return rW(l6,1&l6.current),n.flags|=128,null;if(0!=(t&n.child.childLanes))return ub(e,n,t);return rW(l6,1&l6.current),null!==(e=u_(e,n,t))?e.sibling:null}rW(l6,1&l6.current);break;case 19:if(r=0!=(t&n.childLanes),0!=(128&e.flags)){if(r)return uE(e,n,t);n.flags|=128}if(null!==(l=n.memoizedState)&&(l.rendering=null,l.tail=null,l.lastEffect=null),rW(l6,l6.current),!r)return null;break;case 22:case 23:return n.lanes=0,uc(e,n,t)}return u_(e,n,t)}(e,n,t);ua=0!=(131072&e.flags)}else ua=!1,lf&&0!=(1048576&n.flags)&&lu(n,r7,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;uC(e,n),e=n.pendingProps;var l=rq(n,rj.current);lR(n,t),l=ad(null,n,r,e,l,t);var a=ap();return n.flags|=1,"object"==typeof l&&null!==l&&"function"==typeof l.render&&void 0===l.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,rY(r)?(a=!0,rJ(n)):a=!1,n.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,lW(n),l.updater=a0,n.stateNode=l,l._reactInternals=n,a4(n,r,e,t),n=um(null,n,r,!0,a,t)):(n.tag=0,lf&&a&&lo(n),uu(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(uC(e,n),e=n.pendingProps,r=(l=r._init)(r._payload),n.type=r,l=n.tag=function(e){if("function"==typeof e)return+!!oK(e);if(null!=e){if((e=e.$$typeof)===D)return 11;if(e===I)return 14}return 2}(r),e=aZ(r,e),l){case 0:n=ud(null,n,r,e,t);break e;case 1:n=up(null,n,r,e,t);break e;case 11:n=uo(null,n,r,e,t);break e;case 14:n=ui(null,n,r,aZ(r.type,e),t);break e}throw Error(f(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:aZ(r,l),ud(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:aZ(r,l),up(e,n,r,l,t);case 3:e:{if(uh(n),null===e)throw Error(f(387));r=n.pendingProps,l=(a=n.memoizedState).element,lQ(e,n),lY(n,r,null,t);var u=n.memoizedState;if(r=u.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=a,n.memoizedState=a,256&n.flags){l=a8(Error(f(423)),n),n=ug(e,n,r,t,l);break e}else if(r!==l){l=a8(Error(f(424)),n),n=ug(e,n,r,t,l);break e}else for(lc=r_(n.stateNode.containerInfo.firstChild),ls=n,lf=!0,ld=null,t=lN(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling;else{if(lk(),r===l){n=u_(e,n,t);break e}uu(e,n,r,t)}n=n.child}return n;case 5:return l4(n),null===e&&lg(n),r=n.type,l=n.pendingProps,a=null!==e?e.memoizedProps:null,u=l.children,rb(r,l)?u=null:null!==a&&rb(r,a)&&(n.flags|=32),uf(e,n),uu(e,n,u,t),n.child;case 6:return null===e&&lg(n),null;case 13:return ub(e,n,t);case 4:return l2(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=lz(n,null,r,t):uu(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:aZ(r,l),uo(e,n,r,l,t);case 7:return uu(e,n,n.pendingProps,t),n.child;case 8:case 12:return uu(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,a=n.memoizedProps,u=l.value,rW(lP,r._currentValue),r._currentValue=u,null!==a)if(tR(a.value,u)){if(a.children===l.children&&!r$.current){n=u_(e,n,t);break e}}else for(null!==(a=n.child)&&(a.return=n);null!==a;){var o=a.dependencies;if(null!==o){u=a.child;for(var i=o.firstContext;null!==i;){if(i.context===r){if(1===a.tag){(i=lj(-1,t&-t)).tag=2;var s=a.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?i.next=i:(i.next=c.next,c.next=i),s.pending=i}}a.lanes|=t,null!==(i=a.alternate)&&(i.lanes|=t),lO(a.return,t,n),o.lanes|=t;break}i=i.next}}else if(10===a.tag)u=a.type===n.type?null:a.child;else if(18===a.tag){if(null===(u=a.return))throw Error(f(341));u.lanes|=t,null!==(o=u.alternate)&&(o.lanes|=t),lO(u,t,n),u=a.sibling}else u=a.child;if(null!==u)u.return=a;else for(u=a;null!==u;){if(u===n){u=null;break}if(null!==(a=u.sibling)){a.return=u.return,u=a;break}u=u.return}a=u}uu(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,lR(n,t),r=r(l=lI(l)),n.flags|=1,uu(e,n,r,t),n.child;case 14:return l=aZ(r=n.type,n.pendingProps),l=aZ(r.type,l),ui(e,n,r,l,t);case 15:return us(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:aZ(r,l),uC(e,n),n.tag=1,rY(r)?(e=!0,rJ(n)):e=!1,lR(n,t),a2(n,r,l),a4(n,r,l,t),um(null,n,r,!0,e,t);case 19:return uE(e,n,t);case 22:return uc(e,n,t)}throw Error(f(156,n.tag))};var o9="function"==typeof reportError?reportError:function(e){console.error(e)};function o7(e){this._internalRoot=e}function ie(e){this._internalRoot=e}function it(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function ir(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function il(){}function ia(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=o8(u);o.call(e)}}o4(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=o8(u);a.call(e)}}var u=o3(n,r,e,0,null,!1,!1,"",il);return e._reactRootContainer=u,e[rL]=u.current,ra(8===e.nodeType?e.parentNode:e),oN(),u}for(;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var o=r;r=function(){var e=o8(i);o.call(e)}}var i=o1(e,0,!1,null,null,!1,!1,"",il);return e._reactRootContainer=i,e[rL]=i.current,ra(8===e.nodeType?e.parentNode:e),oN(function(){o4(n,i,t,r)}),i}(t,n,e,l,r);return o8(u)}ie.prototype.render=o7.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(f(409));o4(e,n,null,null)},ie.prototype.unmount=o7.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;oN(function(){o4(null,e,null,null)}),n[rL]=null}},ie.prototype.unstable_scheduleHydration=function(e){if(e){var n=nh();e={blockedOn:null,target:e,priority:n};for(var t=0;t<nE.length&&0!==n&&n<nE[t].priority;t++);nE.splice(t,0,e),0===t&&nN(e)}},nd=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=nr(n.pendingLanes);0!==t&&(ns(n,1|t),ow(n,eJ()),0==(6&u2)&&(ou=eJ()+500,r8()))}break;case 13:oN(function(){var n=lB(e,1);null!==n&&ok(n,e,1,oy())}),o5(e,1)}},np=function(e){if(13===e.tag){var n=lB(e,0x8000000);null!==n&&ok(n,e,0x8000000,oy()),o5(e,0x8000000)}},nm=function(e){if(13===e.tag){var n=ob(e),t=lB(e,n);null!==t&&ok(t,e,n,oy()),o5(e,n)}},nh=function(){return nc},ng=function(e,n){var t=nc;try{return nc=e,n()}finally{nc=t}},eC=function(e,n,t){switch(n){case"input":if(en(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=rU(r);
vendor: 13,986 bytes, lines 14782-14798
14782if(!l)throw Error(f(90));X(r),en(r,l)}}}break;case"textarea":ei(e,t);break;case"select":null!=(n=t.value)&&ea(e,!!t.multiple,n,!1)}},eL=oz,eM=oN;var iu={findFiberByHostInstance:rO,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},io={bundleType:iu.bundleType,version:iu.version,rendererPackageName:iu.rendererPackageName,rendererConfig:iu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eq(e))?null:e.stateNode},findFiberByHostInstance:iu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ii=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ii.isDisabled&&ii.supportsFiber)try{e6=ii.inject(io),e5=ii}catch(e){}}n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[rR,rI,rU,eP,eT,oz]},n.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!it(n))throw Error(f(200));return function(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:N,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}(e,n,null,t)},n.createRoot=function(e,n){if(!it(e))throw Error(f(299));var t=!1,r="",l=o9;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),n=o1(e,1,!1,null,null,t,!1,r,l),e[rL]=n.current,ra(8===e.nodeType?e.parentNode:e),new o7(n)},n.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(f(188));throw Error(f(268,e=Object.keys(e).join(",")))}return null===(e=eq(n))?null:e.stateNode},n.flushSync=function(e){return oN(e)},n.hydrate=function(e,n,t){if(!ir(n))throw Error(f(200));return ia(null,e,n,!0,t)},n.hydrateRoot=function(e,n,t){if(!it(e))throw Error(f(405));var r=null!=t&&t.hydratedSources||null,l=!1,a="",u=o9;if(null!=t&&(!0===t.unstable_strictMode&&(l=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(u=t.onRecoverableError)),n=o3(n,null,e,1,null!=t?t:null,l,!1,a,u),e[rL]=n.current,ra(e),r)for(e=0;e<r.length;e++)l=(l=(t=r[e])._getVersion)(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new ie(n)},n.render=function(e,n,t){if(!ir(n))throw Error(f(200));return ia(null,e,n,!1,t)},n.unmountComponentAtNode=function(e){if(!ir(e))throw Error(f(40));return!!e._reactRootContainer&&(oN(function(){ia(null,null,e,!1,function(){e._reactRootContainer=null,e[rL]=null})}),!0)},n.unstable_batchedUpdates=oz,n.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!ir(t))throw Error(f(200));if(null==e||void 0===e._reactInternals)throw Error(f(38));return ia(e,n,t,!1,r)},n.version="18.3.1-next-f1338f8080-20240426"},961(e,n,t){!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=t(551)},463(e,n){function t(e,n){var t=e.length;for(e.push(n);0<t;){var r=t-1>>>1,l=e[r];if(0<a(l,n))e[r]=n,e[t]=l,t=r;else break}}function r(e){return 0===e.length?null:e[0]}function l(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;for(var r=0,l=e.length,u=l>>>1;r<u;){var o=2*(r+1)-1,i=e[o],s=o+1,c=e[s];if(0>a(i,t))s<l&&0>a(c,i)?(e[r]=c,e[s]=t,r=s):(e[r]=i,e[o]=t,r=o);else if(s<l&&0>a(c,t))e[r]=c,e[s]=t,r=s;else break}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,o=performance;n.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();n.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,m=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,k="u">typeof setImmediate?setImmediate:null;function w(e){for(var n=r(f);null!==n;){if(null===n.callback)l(f);else if(n.startTime<=e)l(f),n.sortIndex=n.expirationTime,t(c,n);else break;n=r(f)}}function S(e){if(v=!1,w(e),!g)if(null!==r(c))g=!0,F(x);else{var n=r(f);null!==n&&D(S,n.startTime-e)}}function x(e,t){g=!1,v&&(v=!1,b(_),_=-1),h=!0;var a=m;try{for(w(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!P());){var u=p.callback;if("function"==typeof u){p.callback=null,m=p.priorityLevel;var o=u(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof o?p.callback=o:p===r(c)&&l(c),w(t)}else l(c);p=r(c)}if(null!==p)var i=!0;else{var s=r(f);null!==s&&D(S,s.startTime-t),i=!1}return i}finally{p=null,m=a,h=!1}}"u">typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,C=null,_=-1,z=5,N=-1;function P(){return!(n.unstable_now()-N<z)}function T(){if(null!==C){var e=n.unstable_now();N=e;var t=!0;try{t=C(!0,e)}finally{t?u():(E=!1,C=null)}}else E=!1}if("function"==typeof k)u=function(){k(T)};else if("u">typeof MessageChannel){var L=new MessageChannel,M=L.port2;L.port1.onmessage=T,u=function(){M.postMessage(null)}}else u=function(){y(T,0)};function F(e){C=e,E||(E=!0,u())}function D(e,t){_=y(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){g||h||(g=!0,F(x))},n.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"):z=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return m},n.unstable_getFirstCallbackNode=function(){return r(c)},n.unstable_next=function(e){switch(m){case 1:case 2:case 3:var n=3;break;default:n=m}var t=m;m=n;try{return e()}finally{m=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=m;m=e;try{return n()}finally{m=t}},n.unstable_scheduleCallback=function(e,l,a){var u=n.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?u+a:u,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=0x3fffffff;break;case 4:o=1e4;break;default:o=5e3}return o=a+o,e={id:d++,callback:l,priorityLevel:e,startTime:a,expirationTime:o,sortIndex:-1},a>u?(e.sortIndex=a,t(f,e),null===r(c)&&e===r(f)&&(v?(b(_),_=-1):v=!0,D(S,a-u))):(e.sortIndex=o,t(c,e),g||h||(g=!0,F(x))),e},n.unstable_shouldYield=P,n.unstable_wrapCallback=function(e){var n=m;return function(){var t=m;m=n;try{return e.apply(this,arguments)}finally{m=t}}}},982(e,n,t){e.exports=t(463)},679(n){n.exports=e}},r={};function l(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,l),a.exports}l.d=(e,n,t)=>{var r=(n,t)=>{for(var r in n)l.o(n,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,[t]:n[r]})};r(n,"get"),r(t,"value")},l.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var a={};return n=l(961),l.d(a,{},{default:n}),a=a.default})()}); 14783}catch(e){WRMCB(e)}; 14784; 14785try { 14786/* module-key = 'com.atlassian.plugins.react:INTERNAL-react-dom-client-production', location = 'modules/react-dom-client-production.amd.js' */ 14787define("atlassian/libs/react-dom/client",["atlassian/libs/react-dom"],function(e){return(()=>{"use strict";var t,r={338(e,t,r){var o=r(740);t.createRoot=o.createRoot,t.hydrateRoot=o.hydrateRoot},740(t){t.exports=e}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.d=(e,t,r)=>{var o=(t,r)=>{for(var o in t)a.o(t,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,[r]:t[o]})};o(t,"get"),o(r,"value")},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};return t=a(338),a.d(n,{},{default:t}),n=n.default})()}); 14788}catch(e){WRMCB(e)}; 14789; 14790try { 14791/* module-key = 'com.atlassian.ratelimiting.rate-limiting-plugin:split_compiled-css', location = 'compiled-css.d8dddaa51ff3904e316b.js' */ 14792(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){}])]); 14793}catch(e){WRMCB(e)}; 14794; 14795try { 14796/* module-key = 'com.atlassian.ratelimiting.rate-limiting-plugin:split_vendors', location = 'vendors.9cbc1c06496cfadee1a0.js' */ 14797/*! For license information please see vendors.9cbc1c06496cfadee1a0.js.LICENSE.txt */ 14798(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)}
14798e.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 14798
14798,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;
14798case 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
14798idRow: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];
14798if(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";
14798Object.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);
14798return 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=>
14798{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)}
14798(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
14798d.");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)};
14798t._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];
147980!==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)=>
14798(...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)}
14798,_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--;
14798)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;
14798if(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);
14798if(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;
14798Object.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)};
14798e?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];
14798var 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}
14798,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;
14798(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;
14798var 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 14798
14798ndingCompressionMode),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 14798
14798Object.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)}
14798(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;
14798n.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 14798
14798function 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}
14798,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;
14798return 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
14798de===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 14798
14798),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;
14798p.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 14798
14798ing: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 14798
14798if("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({}
14798,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 14798
14798StrictMode=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)}
14798(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)};
14798Object.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 14798
14798if(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
14798: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 14798
14798var 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)}}
14798),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 14798
14798var 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 14798
14798Object.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
14798cts.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)}
14798,[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 14798
14798case"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
14798ing 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)})}
14798else 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 14798
14798o)}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)});
14798return 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:{}}
14798,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}]]); 14799}catch(e){WRMCB(e)}; 14800; 14801try { 14802/* module-key = 'com.atlassian.ratelimiting.rate-limiting-plugin:entrypoint-rate-limiting-plugin-handler', location = 'rate-limiting-plugin-handler.0617bf3bd159dca1c208.js' */ 14803!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";
14803Object.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";
14803Object.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
148033D73)","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
1480303FA5)","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
14803653 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";
14803Object.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));
14803function 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]:{};
14803t%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
14803s=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]])}
14803)),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
14803h(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}
14803for(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]:{};
14803t%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
14803dCacheRefresh:!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
14803: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}
14803);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]:{};
14803t%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]:{};
14803t%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
14803sed: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);
14803c.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.
14803next=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]:{};
14803t%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]:{};
14803t%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-, )"}
14803var 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()}}
14803,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"}
14803,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]:{};
14803t%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
14803h(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
148036F)"}),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
14803o1r31 _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}
14803,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";
14803Object.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}}); 14804}catch(e){WRMCB(e)}; 14805; 14806try { 14807/* module-key = 'com.atlassian.auiplugin:split_aui.page.reset', location = 'aui.chunk.238d9c5be0fdb18f--f8e577553f9a8af9.js' */ 14808"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()}]); 14809}catch(e){WRMCB(e)}; 14810; 14811try { 14812/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--87c9c75be2', location = 'aui.chunk.f4c9dc8658d38621--390565e205fa2d85.js' */ 14813(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";
14813var 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];
14813if(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";
14813var 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)}}]); 14814}catch(e){WRMCB(e)}; 14815; 14816try { 14817/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.3fa959a172', location = 'aui.chunk.1193b2b9da5583aa--34b0c4a33bcbaeda.js' */ 14818"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}}}]); 14819}catch(e){WRMCB(e)}; 14820; 14821try { 14822/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.b403075dfd', location = 'aui.chunk.b534f3fab58d0041--2f015893f46afa5a.js' */ 14823"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()}}]); 14824}catch(e){WRMCB(e)}; 14825; 14826try { 14827/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.0511
148275a7a9d', location = 'aui.chunk.cc0099c3b09e63a0--e2117ce4bc127ed8.js' */ 14828"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})}}]); 14829}catch(e){WRMCB(e)}; 14830; 14831try { 14832/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.bc59447b88', location = 'aui.chunk.082af0ba9812b235--d613e0e3649d85a6.js' */ 14833"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()}}]); 14834}catch(e){WRMCB(e)}; 14835; 14836try { 14837/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.e20cd0588c', location = 'aui.chunk.03b10bda6e18dee4--ce53aa4c75579ced.js' */ 14838"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)}}]); 14839}catch(e){WRMCB(e)}; 14840; 14841try { 14842/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.b528c4705c', location = 'aui.chunk.0f5bf2a246d5aea2--97b1736e5d90b50a.js' */ 14843"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}}]); 14844}catch(e){WRMCB(e)}; 14845; 14846try { 14847/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ab5b4f09c4', location = 'aui.chunk.b5ae22bcf89f6cce--7f1728c59d0e7e2d.js' */ 14848"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})}}]); 14849}catch(e){WRMCB(e)}; 14850; 14851try { 14852/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.72a3d743a2', location = 'aui.chunk.573b998e77e81e21--35a99ee2ace3da96.js' */ 14853"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})}}]); 14854}catch(e){WRMCB(e)}; 14855; 14856try { 14857/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.3bc03c62d3', location = 'aui.chunk.ef8873172b070179--9098b4834d3012e2.js' */ 14858"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]}
14858p&&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}}]); 14859}catch(e){WRMCB(e)}; 14860; 14861try { 14862/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.d7aee9031c', location = 'aui.chunk.3471a9939d26faee--0306cba993bef479.js' */ 14863"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")}}]); 14864}catch(e){WRMCB(e)}; 14865; 14866try { 14867/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.c02ffc95af', location = 'aui.chunk.c2cb4c6b63cda6f6--7bc34b2b65ebeb12.js' */ 14868"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()."});
14868(0,a.default)("dim",n),(0,a.default)("undim",s)}}]); 14869}catch(e){WRMCB(e)}; 14870; 14871try { 14872/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.bc5119d637', location = 'aui.chunk.f5072699aa417a51--e5764cdcffcfea92.js' */ 14873"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}}]); 14874}catch(e){WRMCB(e)}; 14875; 14876try { 14877/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.f335f2a8e6', location = 'aui.chunk.7e062069a9c5c4b0--29caa180dbd1eae9.js' */ 14878"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}}}}]); 14879}catch(e){WRMCB(e)}; 14880; 14881try { 14882/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.4e025a8ed1', location = 'aui.chunk.399405393495164d--ef7e3a8164c90efb.js' */ 14883"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)>
14883-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);
14883return!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}}]); 14884}catch(e){WRMCB(e)}; 14885; 14886try { 14887/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.5a164cad31', location = 'aui.chunk.6cd214f362a199c8--5c2f07ba40cedb20.js' */ 14888"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)}}]); 14889}catch(e){WRMCB(e)}; 14890; 14891try { 14892/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.8ded971411', location = 'aui.chunk.35cb5728daf7dc40--d89b910b07c1d252.js' */ 14893"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["2726"],{959(u,i,a){a.r(i),a(6569)}}]); 14894}catch(e){WRMCB(e)}; 14895; 14896try { 14897/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.c97cfb4874', location = 'aui.chunk.947f6aec347b67a3--ee122a0f49568a77.js' */ 14898"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}}]); 14899}catch(e){WRMCB(e)}; 14900; 14901try { 14902/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.bf8135db29', location = 'aui.chunk.3544d2783f1ac944--acfc4795d8d360c9.js' */ 14903"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)}}]); 14904}catch(e){WRMCB(e)}; 14905; 14906try { 14907/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.4717e31b0f', location = 'aui.chunk.ac938902d4dcd63e--80393072efd46a44.js' */ 14908"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)}}]); 14909}catch(e){WRMCB(e)}; 14910; 14911try { 14912/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.175d337e8b', location = 'aui.chunk.636fc60f10fb15ca--eef40aa766026e58.js' */ 14913"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.4";(0,a.default)("version",n);let r=n}}]); 14914}catch(e){WRMCB(e)}; 14915; 14916try { 14917/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.4e3616a7eb', location = 'aui.chunk.647a7c1d1405bb0b--139661c0f5c5c6ec.js' */ 14918"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}}]); 14919}catch(e){WRMCB(e)}; 14920; 14921try { 14922/* module-key = 'com.atlassian.auiplugin:split_aui.side-effects', location = 'aui.chunk.1e4906c4d70fc4d4--0a70a74588601662.js' */ 14923"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({}
14923,{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()}]); 14924}catch(e){WRMCB(e)}; 14925; 14926try { 14927/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.b2c271b1c6', location = 'aui.chunk.a33dd5604fe6473a--cbb8cb741465da61.js' */ 14928"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>. 14929Use CSS flexbox or grid to vertically align it. 14930See 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)}}})}}]); 14931}catch(e){WRMCB(e)}; 14932; 14933try { 14934/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.16d1263174', location = 'aui.chunk.c7ef89ea87045e17--02a83c4db2a10292.js' */ 14935"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:"
14935<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>"})}}]); 14936}catch(e){WRMCB(e)}; 14937; 14938try { 14939/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.behaviour.jquery-spin', location = 'aui.chunk.68ab3442dce35e47--e7621990632270a5.js' */ 14940"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()}]); 14941}catch(e){WRMCB(e)}; 14942; 14943try { 14944/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.a07d2669ba', location = 'aui.chunk.16d3892693139289--b90603f6843f5622.js' */ 14945"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)}
14945,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}
14945,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)}}]); 14946}catch(e){WRMCB(e)}; 14947; 14948try { 14949/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.component.dialog1', location = 'aui.chunk.ed00164aa1bc4160--a084422f476b68c6.js' */ 14950"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()}]); 14951}catch(e){WRMCB(e)}; 14952; 14953try { 14954/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_src_exp
14954ort-as-amd_ts', location = 'src_export-as-amd_ts.js' */ 14955"use strict";(globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73||[]).push([["src_export-as-amd_ts"],{6772(e,a,d){d.d(a,{A:()=>i});function i(e,a){if(window.define)window.define(e,a);else throw Error(`AMD not available, unable to define('${e}')`)}}}]); 14956//# sourceMappingURL=src_export-as-amd_ts.js.map 14957}catch(e){WRMCB(e)}; 14958; 14959try { 14960/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_deprecated-dialog', location = 'deprecated-dialog.js' */ 14961"use strict";(globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73||[]).push([["deprecated-dialog"],{7063(e,t,a){let n,i,r,o;var l=a(6772),d=a(5150),u=a.n(d);let s="next",c="prev";function p(e){e.children[0].focus()}function b(e,t){let a=n.indexOf(e);t===s?a=a===n.length-1?0:a+1:t===c&&(a=0===a?n.length-1:a-1),p(n[a])}function g(e,t,a){let n=e.children[0];a?(n.setAttribute("aria-selected",!0),n.removeAttribute("tabindex")):(n.setAttribute("aria-selected",!1),n.tabIndex=-1)}function f(e){for(let t=0;t<n.length;t+=1){let a=n[t];g(a,t,e&&e===a)}}function h(e){let t=e.currentTarget;function a(t){t(),e.stopPropagation()}switch(e.key){case"ArrowUp":a(()=>b(t,c));break;case"ArrowDown":a(()=>b(t,s));break;case"Home":a(()=>p(r));break;case"End":a(()=>p(o));break;case"Enter":case" ":a(()=>f(t))}}function m(e){f(e.currentTarget)}let y=/\{([^}]+)}/g,A=null,v=e=>{if("Tab"!==e.key)return;let t=A.find(`button, 14962 input:not([type="hidden"]), 14963 select, 14964 textarea, 14965 [href]:not([tabindex="-1"]), 14966 [role="button"], 14967 [tabindex]:not([tabindex="-1"])`).filter(":visible"),a=u()(e.target);e.shiftKey?(a.is(A)||a.is(t.first()))&&(e.preventDefault(),t.last().focus()):a.is(t.last())&&(e.preventDefault(),t.first().focus())};function k(){AJS.bind("show.dialog",(e,t)=>{let a,n=AJS.Meta.get("page-id"),i=AJS.Meta.get("space-key"),r=AJS.Meta.get("editor-mode"),o=AJS.Meta.get("new-page");AJS.EventQueue=AJS.EventQueue||[],AJS.EventQueue.push({name:t.dialog.id,properties:(a={},n&&(a.pageid=n),i&&(a.spacekey=i),r&&(a.editormode=r),o&&(a.newpage=o),a)});let l=t.dialog.popup.element;if(!l)return;let{dialog:d}=t;if(!(null!=d&&d.page.length))return;d.page.forEach((e,t)=>{var a,n;let i=e.element,r=null!=(a=null==i?void 0:i.attr("id"))?a:`${d.id||"dialog-title"}-${t}`;r=`${r}-label`,null==(n=e.header)||n.attr("id",r)});let u=d.page[d.curpage],s=u.header.attr("id");s&&l.attr("aria-labelledby",s),l.attr("role","dialog"),l.attr("aria-modal",!0),l.attr("aria-hidden",!1),(A=u.element).attr("tabindex","0"),A.find("input[type=hidden]").attr("tabindex","-1"),A.find(".hidden").attr("tabindex","-1"),l.find(".button-panel-cancel-link").attr("role","button").attr("tabindex","0"),l[0].addEventListener("keydown",v)});let e=function(e){let t,a=u()(e);if(a.attr("data-lasttab-override"))return;a.attr("data-tab-default")&&(t=a.attr("data-tab-default"));let n=Confluence.storageManager(a.attr("id")),i=n.getItem("last-tab"),r=null!=i?i:t;r&&u()(`.page-menu-item:visible:eq(${r}) button`,a).click(),a.attr("data-lasttab-bound")||(u()(".page-menu-item",a).each((e,t)=>{u()(t).click(()=>{n.setItem("last-tab",e)})}),a.attr("data-lasttab-bound","true"))};u()(document).bind("showLayer",(t,a,n)=>{Confluence.runBinderComponents(),"popup"===a&&n&&e(n.element)}),AJS.Dialog.prototype.overrideLastTab=function(){u()(this.popup.element).attr("data-lasttab-override","true")},AJS.Dialog.prototype.addHelpText=function(e,t){let a;if(!e)return;let n=(a=e,t&&(a=e.replace(y,(e,a)=>t[a]?AJS.escapeHtml(t[a]):e)),a),i=this.page[this.curpage];i.buttonpanel||i.addButtonPanel();let r=u()("<div class='dialog-tip'></div>").html(n);i.buttonpanel.append(r),u()("a",r).click(function(){let e=window.open(this.href,"_blank");return e.focus(),e.opener=null,!1})},AJS.Dialog.prototype.getTitle=function(){return u()(`#${this.id} .dialog-components:visible h2`).text()},AJS.Dialog.prototype.isVisible=function(){return u()(`#${this.id}`).is(":visible")}}function w(e,...t){let i;return"object"!=typeof(e=e||{})||(e=u().extend({},{keypressListener(t){27===t.keyCode?(a(1634).debug("dialog.js: escape keydown caught"),u()(".aui-dropdown",i.popup.element).is(":visible")||("function"==typeof e.onCancel?e.onCancel():i.hide())):13===t.keyCode&&(a(1634).debug("dialog.js: enter keydown caught"),!u()(".aui-dropdown",i.popup.element).is(":visible"))&&(["a","button","textarea"].includes(t.target.nodeName&&t.target.nodeName.toLowerCase())||"function"!=typeof e.onSubmit||setTimeout(e.onSubmit))},width:865,height:530},e)),i=new AJS.Dialog(e,...t),u()(document).bind("hideLayer",(t,a,r)=>{"popup"===a&&r===i&&"function"==typeof e.onCancel&&(e.onCancel(),n.forEac
14967h(e=>{e.removeEventListener("keydown",h),e.removeEventListener("click",m)}))}),i}function S(e,...t){let l=w(e,...t);return setTimeout(()=>{k();let e=l.popup.element,t=e&&e[0].querySelector(".dialog-page-menu");t&&(a(1634).debug("bind tablist events",t),n=Array.prototype.slice.call(t.querySelectorAll(".page-menu-item")),i=Array.prototype.slice.call(e[0].querySelectorAll(".dialog-panel-body")),[r]=n,o=n[n.length-1],t.setAttribute("role","tablist"),t.setAttribute("aria-orientation","vertical"),n.forEach((e,t)=>{let a=e.querySelector("button"),n=i[t],r=a.id||"dialog-tab-"+t,o=n.id||"dialog-tabpanel-"+t;a.setAttribute("id",r),a.setAttribute("role","tab"),a.setAttribute("aria-controls",o),n.setAttribute("id",o),n.setAttribute("role","tabpanel"),n.setAttribute("aria-labelledby",r),g(e,t,e.classList.contains("selected"))}),n.forEach(e=>{e.addEventListener("keydown",h),e.addEventListener("click",m)}))},0),l}(0,l.A)("confluence/dialog",()=>({component:w,confluenceDialog:S,initialiser:k}))},1634(e){e.exports=require("confluence/api/logger")},5150(e){e.exports=require("jquery")}},function(e){e.O(0,["src_export-as-amd_ts"],function(){return e(e.s=7063)}),e.O()}]); 14968//# sourceMappingURL=deprecated-dialog.js.map 14969}catch(e){WRMCB(e)}; 14970; 14971try { 14972/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:aui-dialog1-deprecated', location = '/includes/js/dialog.js' */ 14973require("confluence/module-exporter").safeRequire("confluence/dialog",function(a){AJS.ConfluenceDialog=a.component;AJS.toInit(a.initialiser)}); 14974}catch(e){WRMCB(e)}; 14975; 14976try { 14977/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:confluence-dropdown', location = '/includes/js/deprecated/dropdown.js' */ 14978define("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= 14979a("\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", 14980n.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= 14981function(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(); 14982switch(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")}, 14983C=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= 14984a.extend(c,{$:r,links:a(f.item||"li:has(a)",b),cleanActive:function(){b.focused+1&&c.links.length&&a(c.links[b.focu
14984sed]).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")}, 14985fade: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&& 14986this.$.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); 14987y.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= 14988a(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"); 14989return(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()); 14990v.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= 14991a(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}); 14992}catch(e){WRMCB(e)}; 14993; 14994try { 14995/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ebfbe3d045', location = 'aui.chunk.785a197c63127363--0bf07a3aef652c4c.js' */ 14996"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["9496"],{6615(t,e,n){n.r(e),n.d(e,{needsLayeringShim:()=>
14996p,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}}}]); 14997}catch(e){WRMCB(e)}; 14998; 14999try { 15000/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.component.inline-dialog1', location = 'aui.chunk.c3b1c8487e3c0d2c--ef2ddcad9a628478.js' */ 15001"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)}
15001,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}}
15001,function(t){t.O(0,["1103","3692","4694","7402","9274","9496","9809"],function(){return t(t.s=1610)}),t.O()}]); 15002}catch(e){WRMCB(e)}; 15003; 15004try { 15005/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--e64bd944a3', location = 'aui.chunk.61807eefec008e9d--9a20a40201a4e4c0.js' */ 15006"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["4497"],{6081(u,i){i.module={}}}]); 15007}catch(e){WRMCB(e)}; 15008; 15009try { 15010/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--1a017b24f0', location = 'aui.chunk.05461bb497b18bf4--120505336bf1fec1.js' */ 15011(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}})}}]); 15012}catch(e){WRMCB(e)}; 15013; 15014try { 15015/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.cac3fdcde7', location = 'aui.chunk.47cda2c7ed0f5c8d--3fd3404a9076f1e2.js' */ 15016"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
15016ch":"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}})}}]); 15017}catch(e){WRMCB(e)}; 15018; 15019try { 15020/* module-key = 'com.atlassian.auiplugin:split_aui.behaviour.keyboard-shortcuts', location = 'aui.chunk.e33b80b4af2ca2e4--a4629f8eded6bf75.js' */ 15021(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||{}
15021).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
15021ing 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()}]); 15022}catch(e){WRMCB(e)}; 15023; 15024try { 15025/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:regexes', location = '/includes/js/api/regexes.js' */ 15026define("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, 15027URL:/^([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}}); 15028}catch(e){WRMCB(e)}; 15029; 15030try { 15031/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.a092119004', location = 'aui.chunk.4594558b327df598--85a4a2d0a0d33507.js' */ 15032"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"}">`}}]); 15033}catch(e){WRMCB(e)}; 15034; 15035try { 15036/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.08ea57a952', location = 'aui.chunk.24119c235f1b204d--24dc51d572c7f937.js' */ 15037"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]))}
15037,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)}}]); 15038}catch(e){WRMCB(e)}; 15039; 15040try { 15041/* module-key = 'com.atlassian.auiplugin:split_aui.component.flag', location = 'aui.chunk.6f88b4359207f483--d023641b811a0cc2.js' */ 15042"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)}
15042),e.O()}]); 15043}catch(e){WRMCB(e)}; 15044; 15045try { 15046/* module-key = 'com.atlassian.auiplugin:split_aui.component.message', location = 'aui.chunk.f9e733eece17c414--a3fe4e8b966ad315.js' */ 15047"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()}]); 15048}catch(e){WRMCB(e)}; 15049; 15050try { 15051/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:type-helpers', location = '/includes/js/api/type-helpers.js' */ 15052define("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)}); 15053}catch(e){WRMCB(e)}; 15054; 15055try { 15056/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:meta', location = '/includes/js/meta.js' */ 15057define("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)]= 15058b.getAttribute("content")});return Object.assign(a,c)}}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/meta","AJS.Meta"); 15059}catch(e){WRMCB(e)}; 15060; 15061try { 15062/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:meta', location = '/includes/js/page-links.js' */ 15063define("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"); 15064}catch(e){WRMCB(e)}; 15065; 15066try { 15067/* module-key = 'confluence.aui.staging:dark-features', location = 'js/dark-features.js' */ 15068define("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}}}); 15069require("confluence/module-exporter").exportModuleAsGlobal("confluence/dark-features","AJS.DarkFeatures"); 15070}catch(e){WRMCB(e)}; 15071; 15072try { 15073/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:logger', location = '/includes/js/api/logger.js' */ 15074define("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)}}}); 15075}catch(e){WRMCB(e)}; 15076; 15077try { 15078/* module-key = 'confluence.aui.staging:storage-manager', location = 'js/storage-manager.js' */ 15079define("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}, 15080getItem: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)}}}}); 15081require("confluence/module-exporter").exportModuleAsGlobal("confluence/storage-manager","AJS.storageManager"); 15082}catch(e){WRMCB(e)}; 15083; 15084try { 15085/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:ajs', location = '/includes/js/aui-overrides.js' */
15086define("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", 15087!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, 15088l);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)}); 15089}catch(e){WRMCB(e)}; 15090; 15091try { 15092/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:ajs', location = '/includes/js/aui-draft.js' */ 15093define("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, 15094a[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)}; 15095g.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"+ 15096b));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()}, 15097success: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}); 15098require("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}); 15099}catch(e){WRMCB(e)}; 15100; 15101try { 15102/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:ajs', location = '/includes/js/message-handler.js' */ 15103define("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, 15104f){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;
15104d.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, 15105"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"); 15106}catch(e){WRMCB(e)}; 15107; 15108try { 15109/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_vendors-node_modules_jquery_browser_dist_jquery_browser_js', location = 'vendors-node_modules_jquery_browser_dist_jquery_browser_js.js' */ 15110(globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a||[]).push([["vendors-node_modules_jquery_browser_dist_jquery_browser_js"],{9698(e,r,o){var i,a;a=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)||0>e.indexOf("compatible")&&/(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){var s="msie";a.browser=s,i[s]=!0}if(i.edge){delete i.edge;var w="msedge";a.browser=w,i[w]=!0}if(i.safari&&i.blackberry){var n="blackberry";a.browser=n,i[n]=!0}if(i.safari&&i.playbook){var b="playbook";a.browser=b,i[b]=!0}if(i.bb){var d="blackberry";a.browser=d,i[d]=!0}if(i.opr){var c="opera";a.browser=c,i[c]=!0}if(i.safari&&i.android){var l="android";a.browser=l,i[l]=!0}if(i.safari&&i.kindle){var p="kindle";a.browser=p,i[p]=!0}if(i.safari&&i.silk){var t="silk";a.browser=t,i[t]=!0}return 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},void 0===(i=(function(e){return a(e)}).apply(r,[o(5150)]))||(e.exports=i)}}]); 15111//# sourceMappingURL=vendors-node_modules_jquery_browser_dist_jquery_browser_js.js.map 15112}catch(e){WRMCB(e)}; 15113; 15114try { 15115/* module-key = 'com.atlassian.confluence.plugins.confluence-super-batch:split_jquery-browser-plugin', location = 'jquery-browser-plugin.js' */ 15116"use strict";(globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a=globalThis.webpackChunkWrm72e8e6db7d5e073657900987d0037a3a||[]).push([["jquery-browser-plugin"],{8006(e,r,s){s(9698)},5150(e){e.exports=require("jquery")}},function(e){e.O(0,["vendors-node_modules_jquery_browser_dist_jquery_browser_js"],function(){return e(e.s=8006)}),e.O()}]); 15117}catch(e){WRMCB(e)}; 15118; 15119try { 15120/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ce4a1e45e0', location = 'aui.chunk.9c9f922fd81fced5--46f13c2371b418f2.js' */ 15121"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)}}]); 15122}catch(e){WRMCB(e)}; 15123; 15124try { 15125/* module-key = 'com.atlassian.auiplugin:split_aui.component.spinner', location = 'aui.chunk.ffab40ecaca41cb3--ca1a121da768c79b.js' */ 15126"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()}]); 15127}catch(e){WRMCB(e)}; 15128; 15129try { 15130/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:raphael', location = '/includes/js/third-party/raphael-spinner.js' */ 15131var 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"}); 15132}catch(e){WRMCB(e)}; 15133; 15134try { 15135/* module-key = 'com.atlassian.confluence.restplugin:confluence-rest', location = '
15135js/confluence-rest.js' */ 15136define("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)), 15137name: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]; 15138if(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= 15139b&&(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= 15140b.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)}); 15141}catch(e){WRMCB(e)}; 15142; 15143try { 15144/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:upload-form', location = '/includes/js/upload-form.js' */ 15145define("confluence/upload-form",["jquery"],function(l){function k(d,e){Object.keys(e).forEach(function(a){var c=e[a];d.append(a,"function"===typeof c?c():c)})}return function(d,e){var a=e||{};d.on("submit",function(c){function f(){a.error&&a.error(b)}if(!c.isDefaultPrevented()&&(c.preventDefault(),!a.beforeSubmit||!1!==a.beforeSubmit())){var g=d[0];c=new FormData(g);k(c,a.data||{});var b=new XMLHttpRequest;b.open(g.getAttribute("method")||"POST",g.action);b.setRequestHeader("X-Atlassian-Token","no-check"); 15146a.timeout&&(b.timeout=a.timeout);b.onload=function(){a.resetForm&&g.reset();if("json"!==a.dataType)var h=b.responseText;else try{h=JSON.parse(b.responseText)}catch(m){h=void 0}void 0===h?f():a.success&&a.success(h,b)};b.onerror=f;b.ontimeout=f;b.onabort=f;b.send(c)}})}}); 15147}catch(e){WRMCB(e)}; 15148; 15149try { 15150/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:confluence', location = '/includes/js/confluence-root.js' */ 15151define("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 '"+ 15152a+"': "+c.message)}},placeFocus:function(){h.Binder.placeFocus()},unescapeEntities:function(a){var c={amp:"\x26",lt:"\x3c",gt:"\x3e","#39":"'",quot:'"'};
15152return 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 - "+ 15153b);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, 15154c=-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)}}; 15155return h});require("confluence/module-exporter").exportModuleAsGlobal("confluence/root","Confluence",function(d){var k=require("ajs");k.toInit(function(){d.runBinderComponents()});k.Confluence=d}); 15156}catch(e){WRMCB(e)}; 15157; 15158try { 15159/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:defaults', location = '/includes/js/defaults.js' */ 15160define("confluence/defaults",[],function(){return{maxResults:50}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/defaults","Confluence.Defaults"); 15161}catch(e){WRMCB(e)}; 15162; 15163try { 15164/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:event', location = '/includes/js/api/event.js' */ 15165define("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)}}}); 15166}catch(e){WRMCB(e)}; 15167; 15168try { 15169/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--1e652ae4e0', location = 'aui.chunk.a9c2d6bb2c6d468b--54af29e3a81318d4.js' */ 15170"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);var 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.visualVie
vendor: 17,527 bytes, lines 15170-15175
15170wport||[],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})}}]); 15171}catch(e){WRMCB(e)}; 15172; 15173try { 15174/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.94a6b7c92b', location = 'aui.chunk.6e593669e180d80e--4fb056a6c7ba7553.js' */ 15175"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"
15175:"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}}]); 15176}catch(e){WRMCB(e)}; 15177; 15178try { 15179/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.ae2ebdffe7', location = 'aui.chunk.387974cef5ef1722--e36350b28a70297c.js' */ 15180"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)}}]); 15181}catch(e){WRMCB(e)}; 15182; 15183try { 15184/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.f15ec11892', location = 'aui.chunk.d314abe0ede4925e--7e06c63163a78a72.js' */ 15185"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()}}}]); 15186}catch(e){WRMCB(e)}; 15187; 15188try { 15189/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.2b8638947e', location = 'aui.chunk.aaabfb04bdf51d4b--79238ec6bedc661d.js' */ 15190"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["6452"],{538(u,i,a){a.r(i),a(4645)}}]); 15191}catch(e){WRMCB(e)}; 15192; 15193try { 15194/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.7386883120', location = 'aui.chunk.dc6933727222453a--f537042268dbc006.js' */ 15195"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
15195s:function(){return r("aria-controls")},ariaOwns:function(){return r("aria-owns")}}}}}]); 15196}catch(e){WRMCB(e)}; 15197; 15198try { 15199/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.480d8aa1d1', location = 'aui.chunk.7c6ba2968e66d261--35beaebbadb35e5c.js' */ 15200"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}}}]); 15201}catch(e){WRMCB(e)}; 15202; 15203try { 15204/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.e13f04fa37', location = 'aui.chunk.00e1a118a9745adc--cc862bb84c4796c9.js' */ 15205"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
15205)).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}}]); 15206}catch(e){WRMCB(e)}; 15207; 15208try { 15209/* module-key = 'com.atlassian.auiplugin:split_aui.component.inline-dialog2', location = 'aui.chunk.6af6bb998a09d9c3--9b1542c2c843fdff.js' */ 15210"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()}]); 15211}catch(e){WRMCB(e)}; 15212; 15213try { 15214/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:user-dialog', location = '/includes/js/confluence-user-dialog.js' */ 15215define("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)})}); 15216const 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()}), 15217c(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= 15218p()[0];clearTimeout(D.hideDelayTimer)}).mouseout(function(){u()}
15218));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|| 15219clearTimeout(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= 15220!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(), 15221g.stopImmediatePropagation(),l=c(` 15222 <aui-inline-dialog id="dialog-${b}" 15223 class="dialog-content-container" 15224 aui-focus-trap="true" 15225 alignment="bottom left" 15226 > 15227 <div class="contents"></div> 15228 </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")? 15229"/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"); 15230if(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"); 15231d.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}); 15232}catch(e){WRMCB(e)}; 15233; 15234try { 15235/* module-key = 'confluence.aui.staging:confluence-flags', location = 'flag/confluence-flag.soy' */ 15236// This file was automatically generated from confluence-flag.soy. 15237// Please don't edit this file by hand. 15238 15239/** 15240 * @fileoverview Templates in namespace Confluence.Templates.AuiStaging. 15241 */ 15242 15243if (typeof Confluence == 'undefined') { var Confluence = {}; } 15244if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15245if (typeof Confluence.Templates.AuiStaging == 'undefined') { Confluence.Templates.AuiStaging = {}; } 15246 15247 15248Confluence.Templates.AuiStaging.flag = function(opt_data, opt_ignored) { 15249 var output = ''; 15250 var messageTypeClasses__soy3 = 'aui-message-' + opt_data.type + ' ' + opt_data.type; 15251 var messageCloseableClass__soy4 = opt_data.closeable ? 'closeable' : '';
15252 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>'; 15253 return output; 15254}; 15255if (goog.DEBUG) { 15256 Confluence.Templates.AuiStaging.flag.soyTemplateName = 'Confluence.Templates.AuiStaging.flag'; 15257} 15258 15259}catch(e){WRMCB(e)}; 15260; 15261try { 15262/* module-key = 'confluence.aui.staging:confluence-flags', location = 'flag/confluence-flag.js' */ 15263define("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&& 15264(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"!== 15265a.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|| 15266(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}}); 15267}catch(e){WRMCB(e)}; 15268; 15269try { 15270/* module-key = 'confluence.aui.staging:confluence-flags', location = 'flag/confluence-flag-scroll.js' */ 15271define("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"=== 15272k.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)}); 15273}catch(e){WRMCB(e)}; 15274; 15275try { 15276/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/highlighter.js' */ 15277define("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}
15277,safeHighlight:function(a){if(!a)return a;if(d&&f){var b=f.split("$1"),p=b[0];b=b[1]; 15278a=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"); 15279}catch(e){WRMCB(e)}; 15280; 15281try { 15282/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/position.js' */ 15283define("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"); 15284}catch(e){WRMCB(e)}; 15285; 15286try { 15287/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/object-cache.js' */ 15288define("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> 15289this.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"); 15290}catch(e){WRMCB(e)}; 15291; 15292try { 15293/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/localstorage-cache.js' */ 15294define("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, 15295JSON.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"); 15296}catch(e){WRMCB(e)}; 15297; 15298try { 15299/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/confluence-storage-manager.js' */ 15300define("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"); 15301}catch(e){WRMCB(e)}; 15302; 15303try { 15304/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/input-driven-dropdown.js' */ 15305define("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)", 15306a.$).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), 15307this.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}, 15308[]);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>`))}); 15309return b},B=(a,c)=>{if(a.$inputEl){var b=a.$inputEl.attr("id");if(!b){b="input-dropdown1-autocomplete";
15309const 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= 15310function(...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= 15311b.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, 15312h);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"); 15313"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, 15314arguments);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}, 15315this.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)})}); 15316}catch(e){WRMCB(e)}; 15317; 15318try { 15319/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/quicksearchdropdown.js' */ 15320define("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"=== 15321typeof 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}); 15322r.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); 15323c.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"); 15324}catch(e){WRMCB(e)}; 15325; 15326try { 15327/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/placeholder.js' */ 15328define("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", 15329function(g,h){h.element.closest("form").bind("submit",function(){h.element.hasClass("placeholded")&&h.element.val("")}
15329)});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)})}}); 15330require("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}); 15331}catch(e){WRMCB(e)}; 15332; 15333try { 15334/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/components/binders/autocomplete-user.js' */ 15335define("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"]', 15336l).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()+ 15337"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"); 15338c&&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= 15339c.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(){}}); 15340}catch(e){WRMCB(e)}; 15341; 15342try { 15343/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/autocomplete-content.js' */ 15344define("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")|| 15345"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, 15346pageSize: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
15346sh([{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"); 15347if(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", 15348"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", 15349a).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}); 15350require("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}); 15351}catch(e){WRMCB(e)}; 15352; 15353try { 15354/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/attachment-uploader.js' */ 15355define("confluence/attachment-uploader",["ajs","jquery","confluence/aui-overrides","confluence/upload-form"],function(d,g,k,l){var m=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(); 15356b&&c.html(f||this.getDefaultUploadingMessage());k.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\u2026"},getContentId:function(){return d.Meta.get("attachment-source-content-id")}},h&&h(e))};return function(e, 15357h){var a=m(e,h);var b=a.getMessageHandler();var f=a.getForm();d.Meta.getBoolean("can-attach-files")?(l(f,{dataType:"json",timeout:36E5,data:{contentId:a.getContentId(),responseFormat:"json"},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()); 15358d.logError("Response from server was: "+c.responseText)}}),f.find("input:file").change(function(){f.submit()})):f.remove();return a}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/attachment-uploader","Confluence.AttachmentUploader"); 15359}catch(e){WRMCB(e)}; 15360; 15361try { 15362/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/message-controller.js' */
15363define("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")}); 15364return 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("#"+ 15365b,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.": 15366void 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.")}}, 15367hasErrors: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", 15368a);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}}); 15369}catch(e){WRMCB(e)}; 15370; 15371try { 15372/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/favourites.js' */ 15373define("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"); 15374c.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", 15375"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", 15376!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}); 15377}catch(e){WRMCB(e)}; 15378; 15379try { 15380/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/js/watches.js' */
15381define("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"), 15382m={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": 15383".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]= 15384!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}); 15385}catch(e){WRMCB(e)}; 15386; 15387try { 15388/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:core', location = '/includes/soy/dialog.soy' */ 15389// This file was automatically generated from dialog.soy. 15390// Please don't edit this file by hand. 15391 15392/** 15393 * @fileoverview Templates in namespace Confluence.Templates.Dialog. 15394 */ 15395 15396if (typeof Confluence == 'undefined') { var Confluence = {}; } 15397if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15398if (typeof Confluence.Templates.Dialog == 'undefined') { Confluence.Templates.Dialog = {}; } 15399 15400 15401Confluence.Templates.Dialog.helpLink = function(opt_data, opt_ignored) { 15402 return '' + Confluence.Templates.Dialog.customHelpLink({href: opt_data.href, text: '' + soy.$$escapeHtml('Help')}); 15403}; 15404if (goog.DEBUG) { 15405 Confluence.Templates.Dialog.helpLink.soyTemplateName = 'Confluence.Templates.Dialog.helpLink'; 15406} 15407 15408 15409Confluence.Templates.Dialog.customHelpLink = function(opt_data, opt_ignored) { 15410 return '<div class="dialog-help-link"><a href="' + soy.$$escapeHtml(opt_data.href) + '" target="_blank">' + soy.$$escapeHtml(opt_data.text) + '</a></div>'; 15411}; 15412if (goog.DEBUG) { 15413 Confluence.Templates.Dialog.customHelpLink.soyTemplateName = 'Confluence.Templates.Dialog.customHelpLink'; 15414} 15415 15416}catch(e){WRMCB(e)}; 15417; 15418try { 15419/* 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' */ 15420"use strict";(globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73||[]).push([["vendors-node_modules_window-or-global_lib_index_js"],{1657(e,l,s){e.exports="object"==typeof self&&self.self===self&&self||"object"==typeof s.g&&s.g.global===s.g&&s.g||this}}]); 15421//# sourceMappingURL=vendors-node_modules_window-or-global_lib_index_js.js.map 15422}catch(e){WRMCB(e)}; 15423; 15424try { 15425/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_form-state-control', location = 'form-state-control.js' */ 15426"use strict";(globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73||[]).push([["form-state-control"],{4135(e,t,a){var s=a(6772),l=a(1657),o=a.n(l);function r(e){let t=[];return e&&e.length?t=Array.from(e):e instanceof o().HTMLElement&&t.push(e),t}
15426function n(e){r(e).forEach(e=>{"A"===e.tagName.toUpperCase()&&(e.style["pointer-events"]="none"),e.disabled=!0,e.setAttribute("aria-disabled",!0),e.classList.add("disabled");let t=e.getAttribute("id"),a=e.parentNode;if(t&&"object"==typeof a){let e=a.querySelector(`label[for="${t}"]`);e&&e.classList.add("disabled")}})}function d(e){r(e).forEach(e=>{"A"===e.tagName.toUpperCase()&&(e.style["pointer-events"]=""),e.disabled=!1,e.setAttribute("aria-disabled",!1),e.classList.remove("disabled");let t=e.getAttribute("id"),a=e.parentNode;if(t&&"object"==typeof a){let e=a.querySelector(`label[for="${t}"]`);e&&e.classList.remove("disabled")}})}(0,s.A)("confluence/form-state-control",()=>({enableElement:d,disableElement:n}))}},function(e){e.O(0,["src_export-as-amd_ts","vendors-node_modules_window-or-global_lib_index_js"],function(){return e(e.s=4135)}),e.O()}]); 15427//# sourceMappingURL=form-state-control.js.map 15428}catch(e){WRMCB(e)}; 15429; 15430try { 15431/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:property-panel-js', location = '/includes/js/property-panel.js' */ 15432define("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), 15433f=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, 15434current: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"); 15435!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(" ")); 15436g.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"); 15437var 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",
15438function(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), 15439d(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); 15440d.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"); 15441}catch(e){WRMCB(e)}; 15442; 15443try { 15444/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:split_table-styles-view', location = 'table-styles-view.js' */ 15445"use strict";(globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73=globalThis.webpackChunkWrme19a4f58490c3d96a3072d1e47cd0e73||[]).push([["table-styles-view"],{8990(){}},function(e){e(e.s=8990)}]); 15446}catch(e){WRMCB(e)}; 15447; 15448try { 15449/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--3dfaea08cd', location = 'aui.chunk.1c4b3a8fcb0630c9--4af496c484fcdf04.js' */ 15450(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}
15450,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}()}}]); 15451}catch(e){WRMCB(e)}; 15452; 15453try { 15454/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.93d7cb91a3', location = 'aui.chunk.f8da03c5475834a0--6d2e44504e6b4384.js' */ 15455"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;
15455function 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}}]); 15456}catch(e){WRMCB(e)}; 15457; 15458try { 15459/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.778837af2c', location = 'aui.chunk.171f6e015659f777--1035cfa8dad9ad4d.js' */ 15460"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=` 15461 <div class="aui-message aui-message-error aui-dropdown-error"> 15462 <p>${"Error loading dropdown"}</p> 15463 </div> 15464 `}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=` 15465 <div class="aui-dropdown-loading"> 15466 <aui-spinner size="small"></aui-spinner> ${"Loading dropdown"} 15467 </div> 15468 `,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")} 15469 ${t("checked")} ${t("disabled")} ${t("hidden")} ${i("data-value")} ${i("item-id")}> 15470 ${(0,m.default)(e.content)} 15471 </${a}>`}).join("");function i(t){return e[t]?`${t}="${e[t]}"`:""}return`<aui-section ${i("label")} ${i("aria-label")}> 15472 ${t} 15473 </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
15473=>{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
15473IfTrigger)(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()(`
15474 <span aria-hidden="true" class="aui-dropdown2-heading"></span> 15475 <div class="aui-dropdown2-item-group" role="group"> 15476 <content></content> 15477 </div> 15478 `),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
15478se").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")}}}))}}]); 15479}catch(e){WRMCB(e)}; 15480; 15481try { 15482/* module-key = 'com.atlassian.auiplugin:split_aui.component.async-header', location = 'aui.chunk.73d1349c53980c05--cc05fb48030d539d.js' */ 15483"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()}]); 15484}catch(e){WRMCB(e)}; 15485; 15486try { 15487/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:jquery-autocomplete', location = '/includes/js/autocomplete.js' */
15488define("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== 15489m[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+ 15490")\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&& 15491p()}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"); 15492this.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"): 15493d("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"); 15494}catch(e){WRMCB(e)}; 15495; 15496try { 15497/* module-key = 'confluence.macros.advanced:get-more-helper', location = 'com/atlassian/confluence/plugins/macros/advanced/js/get-more-helper.js' */ 15498(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()}); 15499e.stopPropagation();return!1}})(AJS.$); 15500}catch(e){WRMCB(e)}; 15501; 15502try { 15503/* module-key = 'confluence.macros.advanced:get-more', location = 'com/atlassian/confluence/plugins/macros/advanced/js/get-more.js' */ 15504AJS.toInit(function(a){a(".results-container").on("click",".more-link",AJS.moreLinkClickHandler)}); 15505}catch(e){WRMCB(e)}; 15506; 15507try { 15508/* module-key = 'confluence.macros.advanced:get-more', location = 'com/atlassian/confluence/plugins/macros/advanced/js/filter-control.js' */ 15509AJS.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)})})}); 15510}catch(e){WRMCB(e)}; 15511; 15512try { 15513/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:profile-macro-styles', location = '/includes/js/personal-sidebar.js' */ 15514define("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)}}}); 15515require("confluence/module-exporter").safeRequire("confluence/personal-sidebar",function(a){require("ajs").toInit(a.initialize)}); 15516}catch(e){WRMCB(e)}; 15517; 15518try { 15519/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--9ce5195911', location = 'aui.chunk.f5cb98438340ee36--6304aebac99ddbaa.js' */ 15520(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: ski
15520pping submit process - no element selected"),this;var u,c,l,f,p=this;"function"==typeof t?t={success:t}:"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
15520all(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&&(
15520o=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
15520ype;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)}}]); 15521}catch(e){WRMCB(e)}; 15522; 15523try { 15524/* module-key = 'com.atlassian.auiplugin:split_aui.deprecated.behaviour.jquery-form', location = 'aui.chunk.83a0bc857fcf85a8--d61aa6896d2481a4.js' */ 15525"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()}]); 15526}catch(e){WRMCB(e)}; 15527; 15528try { 15529/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:constants', location = '/includes/js/api/constants.js' */ 15530define("confluence/api/constants",["ajs"],function(b){var a={};a.CONTEXT_PATH=b.contextPath();return a}); 15531}catch(e){WRMCB(e)}; 15532; 15533try { 15534/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:floating-scrollbar', location = '/includes/js/third-party/jquery.floatingScrollbar.js' */ 15535/*! 15536 * jQuery Floating Scrollbar - v0.4 - 02/28/2011 15537 * http://benalman.com/ 15538 * 15539 * Copyright (c) 2011 "Cowboy" Ben Alman 15540 * Dual licensed under the MIT and GPL licenses. 15541 * http://benalman.com/about/license/ 15542 * 15543 * Modified by Atlassian 15544 */ 15545!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); 15546}catch(e){WRMCB(e)}; 15547; 15548try { 15549/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:floating-scrollbar', location = '/includes/js/table-floating-scrollbar.js' */ 15550define("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)}); 15551}catch(e){WRMCB(e)}; 15552; 15553try { 15554/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:page-metadata-internal', location = '/includes/js/page-metadata.js' */ 15555define("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)}); 15556}catch(e){WRMCB(e)}; 15557; 15558try { 15559/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:view-content', location = '/includes/js/manage-watchers.js' */ 15560define("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)}, 15561error: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\u2026")},dataType:"json",error:function(d,k){console.error("Failed to add watcher: "+ 15562k)},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, 15563id:"manage-watchers-dialog",onCancel:function(){m.hide().remove()}});m.addHeader("Manage Watchers");
15563m.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", 15564function(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", 15565a).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})); 15566b.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", 15567{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)}); 15568}catch(e){WRMCB(e)}; 15569; 15570try { 15571/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:view-content', location = '/includes/soy/manage-watchers.soy' */ 15572// This file was automatically generated from manage-watchers.soy. 15573// Please don't edit this file by hand. 15574 15575/** 15576 * @fileoverview Templates in namespace Confluence.Templates.ManageWatchers. 15577 */ 15578 15579if (typeof Confluence == 'undefined') { var Confluence = {}; } 15580if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15581if (typeof Confluence.Templates.ManageWatchers == 'undefined') { Confluence.Templates.ManageWatchers = {}; } 15582 15583 15584Confluence.Templates.ManageWatchers.dialogContent = function(opt_data, opt_ignored) { 15585 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\u2026') + '</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\u2026') + '</li><li class="no-users hidden">' + soy.$$escapeHtml('No space watchers') + '</li></ul></div></div>'; 15586}; 15587if (goog.DEBUG) { 15588 Confluence.Templates.ManageWatchers.dialogContent.soyTemplateName = 'Confluence.Templates.ManageWatchers.dialogContent'; 15589} 15590 15591 15592Confluence.Templates.ManageWatchers.userItem = function(opt_data, opt_ignored) { 15593 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>'; 15594}; 15595if (goog.DEBUG) { 15596 Confluence.Templates.ManageWatchers.userItem.soyTemplateName = 'Confluence.Templates.ManageWatchers.userItem'; 15597} 15598 15599 15600Confluence.Templates.ManageWatchers.helpLink = function(opt_data, opt_ignored) { 15601 return '' + Confluence.Templates.Dialog.helpLink({href: "https://docs.atlassian.com/confluence/docs-102/Manage+Watchers"}); 15602}; 15603if (goog.DEBUG) { 15604 Confluence.Templates.ManageWatchers.helpLink.soyTemplateName = 'Confluence.Templates.ManageWatchers.helpLink'; 15605} 15606 15607 15608Confluence.Templates.ManageWatchers.addWatcherForm = function(opt_data, opt_ignored) { 15609 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>'; 15610}; 15611if (goog.DEBUG) { 15612 Confluence.Templates.ManageWatchers.addWatcherForm.soyTemplateName = 'Confluence.Templates.ManageWatchers.addWatcherForm'; 15613} 15614 15615}catch(e){WRMCB(e)}; 15616; 15617try { 15618/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:view-content', location = '/includes/js/page-children.js' */ 15619define("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+ 15620':\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+ 15621"/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, 15622f,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")); 15623b.stopPropagation();return!1})})}});require("confluence/module-exporter").safeRequire("confluence/page-children",function(a){require("ajs").toInit(a)}); 15624}catch(e){WRMCB(e)}; 15625; 15626try { 15627/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:jquery-json', location = '/includes/js/third-party/jquery.json-2.3.js' */ 15628(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
15628(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); 15629}catch(e){WRMCB(e)}; 15630; 15631try { 15632/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:safe-ajax', location = '/includes/js/api/ajax.js' */ 15633define("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, 15634d,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)}}); 15635}catch(e){WRMCB(e)}; 15636; 15637try { 15638/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:search-results-grid', location = '/includes/js/search-results-grid.js' */ 15639define("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: 15640"",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"+ 15641d+"\x3c/div\x3e")}});require("confluence/module-exporter").safeRequire("confluence/search-results-grid",function(f){require("jquery").fn.searchResultsGrid=f}); 15642}catch(e){WRMCB(e)}; 15643; 15644try { 15645/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:atlassian-effects', location = '/includes/js/effects.js' */ 15646define("confluence/effects",["document"],function(b){return{setCookie:function(a,f,c,g,h,d,e,k){a=a+"\x3d"+escape(f);c&&(a+=";
15646 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"})}}}); 15647require("confluence/module-exporter").safeRequire("confluence/effects",function(b){window.setCookie=b.setCookie;window.getCookie=b.getCookie;window.highlight=b.highlight}); 15648}catch(e){WRMCB(e)}; 15649; 15650try { 15651/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/master.js' */ 15652define("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"); 15653k.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}}}); 15654require("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}); 15655}catch(e){WRMCB(e)}; 15656; 15657try { 15658/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/template-renderer.js' */ 15659define("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= 15660arguments;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)|| 15661(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()}}}); 15662require("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)}); 15663}catch(e){WRMCB(e)}; 15664; 15665try { 15666/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/menu.js' */ 15667define("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= 15668a(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"); 156690===a(h.parentNode).find(".opened").length&&y(h);var b=a("a",this);a(this).toggleClass("assistive");this.hidden=!0;
15669a(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)}, 156701);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"), 15671d.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; 15672case 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}; 15673var 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, 15674(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"!== 15675b.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"+ 15676")";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."); 15677break;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- 15678m.outerWidth(!0)-1}
15678,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", 15679data:{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)}); 15680}catch(e){WRMCB(e)}; 15681; 15682try { 15683/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/third-party/jquery.simpleScrollTo-1.0.js' */ 15684jQuery.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}; 15685}catch(e){WRMCB(e)}; 15686; 15687try { 15688/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/websudo.js' */ 15689define("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)}); 15690}catch(e){WRMCB(e)}; 15691; 15692try { 15693/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:master-scripts', location = '/includes/js/third-party/jquery.cookie.js' */ 15694jQuery.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("")}; 15695}catch(e){WRMCB(e)}; 15696; 15697try { 15698/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:breadcrumbs', location = '/includes/js/breadcrumbs.js' */ 15699define("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", 15700data:{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)}); 15701}catch(e){WRMCB(e)}; 15702; 15703try { 15704/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:breadcrumbs', location = '/includes/soy/breadcrumbs.soy' */ 15705// This file was automatically generated from breadcrumbs.soy. 15706// Please don't edit this file by hand. 15707 15708/** 15709 * @fileoverview Templates in namespace Confluence.Templates.Breadcrumbs. 15710 */ 15711 15712if (typeof Confluence == 'undefined') { var Confluence = {}; } 15713if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15714if (typeof Confluence.Templates.Breadcrumbs == 'undefined') { Confluence.Templates.Breadcrumbs = {}; } 15715 15716 15717Confluence.Templates.Breadcrumbs.render = function(opt_data, opt_ignored) { 15718 var output = ''; 15719 var breadcrumbList3 = opt_data.breadcrumbs; 15720 var breadcrumbListLen3 = breadcrumbList3.length; 15721 for (var breadcrumbIndex3 = 0; breadcrumbIndex3 < breadcrumbListLen3; breadcrumbIndex3++) { 15722 var breadcrumbData3 = breadcrumbList3[breadcrumbIndex3]; 15723 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>'; 15724 } 15725 return output; 15726}; 15727if (goog.DEBUG) { 15728 Confluence.Templates.Breadcrumbs.render.soyTemplateName = 'Confluence.Templates.Breadcrumbs.render'; 15729} 15730 15731}catch(e){WRMCB(e)}; 15732; 15733try { 15734/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:contentnamesearch', location = '/includes/js/contentnamesearch.js' */ 15735define("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}}
15735))});a("#quick-search").on("submit",function(){var b={name:"quicknav-hit-enter", 15736data:{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(); 1573713!==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)}); 15738}catch(e){WRMCB(e)}; 15739; 15740try { 15741/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.label', location = 'aui.chunk.6de04e7034fa0f93--ddec972bf1ce5e5a.js' */ 15742"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()}]); 15743}catch(e){WRMCB(e)}; 15744; 15745try { 15746/* module-key = 'com.atlassian.confluence.plugins.confluence-labels:labels-resources', location = 'com/atlassian/confluence/plugins/labels/labels.js' */ 15747define("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= 15748d.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", 15749idAttribute:"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)+ 15750b+"/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"); 15751var 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", 15752function(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"): 15753d.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)=== 15754-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++})}
15754t(j);m.updateDialogLabelList(a);j=d.Meta.get("space-key"); 15755var 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); 15756p(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("["+ 15757k.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= 15758false;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|| 15759a.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= 15760m.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|| 15761f===""||f===null?h:f+":"+h))},setLabelsInputField:t,getLabelsInputField:u}});require("confluence/module-exporter").exportModuleAsGlobal("confluence-labels/labels/labels","AJS.Labels"); 15762}catch(e){WRMCB(e)}; 15763; 15764try { 15765/* module-key = 'com.atlassian.confluence.plugins.confluence-labels:labels-editor', location = 'com/atlassian/confluence/plugins/labels/dialog/labels-dialog.soy' */ 15766// This file was automatically generated from labels-dialog.soy. 15767// Please don't edit this file by hand. 15768 15769/** 15770 * @fileoverview Templates in namespace Confluence.Templates.Labels. 15771 */ 15772 15773if (typeof Confluence == 'undefined') { var Confluence = {}; } 15774if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15775if (typeof Confluence.Templates.Labels == 'undefined') { Confluence.Templates.Labels = {}; } 15776 15777 15778Confluence.Templates.Labels.helpLink = function(opt_data, opt_ignored) { 15779 return '' + Confluence.Templates.Dialog.helpLink({href: "https://docs.atlassian.com/confluence/docs-102/Add%2C+Remove+and+Search+for+Labels"}); 15780}; 15781if (goog.DEBUG) { 15782 Confluence.Templates.Labels.helpLink.soyTemplateName = 'Confluence.Templates.Labels.helpLink'; 15783} 15784 15785 15786Confluence.Templates.Labels.dialog = function(opt_data, opt_ignored) { 15787 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>'; 15788}; 15789if (goog.DEBUG) { 15790 Confluence.Templates.Labels.dialog.soyTemplateName = 'Confluence.Templates.Labels.dialog'; 15791} 15792 15793 15794Confluence.Templates.Labels.nolabels = function(opt_data, opt_ignored) { 15795 return '<li class="no-labels-message">' + soy.$$escapeHtml('No labels') + '</li>'; 15796}; 15797if (goog.DEBUG) { 15798 Confluence.Templates.Labels.nolabels.soyTemplateName = 'Confluence.Templates.Labels.nolabels'; 15799} 15800 15801 15802Confluence.Templates.Labels.dialogLabelList = function(opt_data, opt_ignored) { 15803 return '<ul class="label-list editable">' + Confluence.Templates.Labels.dialogLabels(opt_data) + '</ul>'; 15804}; 15805if (goog.DEBUG) { 15806 Confluence.Templates.Labels.dialogLabelList.soyTemplateName = 'Confluence.Templates.Labels.dialogLabelList'; 15807} 15808 15809 15810Confluence.Templates.Labels.dialogLabels = function(opt_data, opt_ignored) { 15811 var output = ''; 15812 var labelList20 = opt_data.labels; 15813 var labelListLen20 = labelList20.length; 15814 for (var labelIndex20 = 0; labelIndex20 < labelListLen20; labelIndex20++) { 15815 var labelData20 = labelList20[labelIndex20]; 15816 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>'; 15817 } 15818 return output; 15819}; 15820if (goog.DEBUG) { 15821 Confluence.Templates.Labels.dialogLabels.soyTemplateName = 'Confluence.Templates.Labels.dialogLabels'; 15822} 15823 15824}catch(e){WRMCB(e)}; 15825; 15826try { 15827/* module-key = 'com.atlassian.confluence.plugins.confluence-labels:labels-editor', location = 'com/atlassian/confluence/plugins/labels/dialog/labels-dialog.js' */ 15828define("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(); 15829a=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");
15829f.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= 15830b("#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, 15831a);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)}); 15832e.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}}); 15833require("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)})})}); 15834}catch(e){WRMCB(e)}; 15835; 15836try { 15837/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:dom-filter-field', location = '/includes/js/dom-filter-field.js' */ 15838define("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")}, 15839postSearch: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(); 15840return!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= 15841e.trim(a);c.val(a).keyup();a&&c.removeClass("blank-search");c.focus()}}}});require("confluence/module-exporter").exportModuleAsGlobal("confluence/dom-filter-field","Confluence.DomFilterField"); 15842}catch(e){WRMCB(e)}; 15843; 15844try { 15845/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:dom-filter-field', location = '/includes/soy/dom-filter-field.soy' */ 15846// This file was automatically generated from dom-filter-field.soy. 15847// Please don't edit this file by hand. 15848 15849/** 15850 * @fileoverview Templates in namespace Confluence.Templates.DomFilterField. 15851 */ 15852 15853if (typeof Confluence == 'undefined') { var Confluence = {}; } 15854if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15855if (typeof Confluence.Templates.DomFilterField == 'undefined') { Confluence.Templates.DomFilterField = {}; } 15856 15857 15858Confluence.Templates.DomFilterField.form = function(opt_data, opt_ignored) { 15859 return '<form class="aui dom-filter-field-form"><input type="text" class="text"/></form>'; 15860}; 15861if (goog.DEBUG) { 15862 Confluence.Templates.DomFilterField.form.soyTemplateName = 'Confluence.Templates.DomFilterField.form'; 15863} 15864 15865}catch(e){WRMCB(e)}; 15866; 15867try { 15868/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.323af25294', location = 'aui.chunk.77532ea3e4ec8489--187a26d3d54ad0db.js' */ 15869"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
15869id 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")}}]); 15870}catch(e){WRMCB(e)}; 15871; 15872try { 15873/* module-key = 'com.atlassian.auiplugin:split_aui.component.button', location = 'aui.chunk.9691abed573bb043--c7d9707e7b977d4c.js' */ 15874"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()}]); 15875}catch(e){WRMCB(e)}; 15876; 15877try { 15878/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/loader.js' */ 15879AJS.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= 15880new 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()+ 15881"/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(); 15882k&&(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
15882s[0]).id).done(function(){e.resolve()}).fail(function(q){e.resolve(q)})}).fail(function(d){e.resolve(d)}); 15883AJS.$.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()}; 15884var 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&& 158852==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"}); 15886return!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"})}); 15887c("#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"})}); 15888c("#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"})})}))}())}); 15889}catch(e){WRMCB(e)}; 15890; 15891try { 15892/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/create-dialog-launcher.js' */ 15893(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} 15894AJS.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== 15895c: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})}})}); 15896AJS.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; 15897c&&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: "+ 15898window.location.search)}}})})(); 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-base.js' */ 15903Confluence.Dialogs=Confluence.Dialogs||{}; 15904(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}
15904function F(a){var c=a.data("content-blueprint-id"),b=a.data("template-id"); 15905return(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, 15906h)}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; 15907case 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+ 15908'"]');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")): 15909null)||[],(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, 15910!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"); 15911a.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())}})} 15912function 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); 15913d&&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&& 15914(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(): 1591513===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);
15915h.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, 15916{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}); 15917h.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"); 15918a.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"=== 15919typeof d&&d(p,t,q)}})},requestSpaces:function(a){var c=this;return AJS.$.getJSON(Confluence.getContextPath()+"/rest/create-dialog/1.0/spaces",{promotedSpaceKey:AJS.params.spaceKey,promotedSpacesLimit:10,otherSpacesLimit:10,space:a||""}).done(function(b){a||(c.loadedSpaces=b,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&& 15920(d=n);d=Confluence.Templates.Blueprints.templates({webItems:d,spaceKey: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", 15921"");e(this).closest("li").remove();A()})}}var q=f.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}, 15922setDialogError:function(a){AJS.messages.error(".create-dialog-body",{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"; 15923}catch(e){WRMCB(e)}; 15924; 15925try { 15926/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/space-blueprint.js' */ 15927define("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')"}); 15928}catch(e){WRMCB(e)}; 15929; 15930try { 15931/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/space-dialog.js' */ 15932AJS.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, 15933showStepOne:!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], 15934_.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&& 15935(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()+ 15936'/spaces/createspace-start.action"]').unbind("click"),h.click(function(b){Confluence.SpaceBlueprint.Dialog.launch();return!1}),Confluence.SpaceBlueprint.loaded.resolve())}); 15937}catch(e){WRMCB(e)}; 15938; 15939try { 15940/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/soy/initial-templates.soy' */ 15941// This file was automatically generated from initial-templates.soy. 15942// Please don't edit this file by hand. 15943 15944/** 15945 * @fileoverview Templates in namespace Confluence.Templates.Blueprints. 15946 */ 15947 15948if (typeof Confluence == 'undefined') { var Confluence = {}; } 15949if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 15950if (typeof Confluence.Templates.Blueprints == 'undefined') { Confluence.Templates.Blueprints = {}; } 15951 15952 15953Confluence.Templates.Blueprints.createDialogBody = function(opt_data, opt_ignored) { 15954 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>'; 15955}; 15956if (goog.DEBUG) { 15957 Confluence.Templates.Blueprints.createDialogBody.soyTemplateName = 'Confluence.Templates.Blueprints.createDialogBody'; 15958} 15959 15960 15961Confluence.Templates.Blueprints.waitContainer = function(opt_data, opt_ignored) { 15962 return '<div class="wait-container">' + Confluence.Templates.Blueprints.waitIcon(null) + '</div>'; 15963}; 15964if (goog.DEBUG) { 15965 Confluence.Templates.Blueprints.waitContainer.soyTemplateName = 'Confluence.Templates.Blueprints.waitContainer'; 15966} 15967 15968 15969Confluence.Templates.Blueprints.waitIcon = function(opt_data, opt_ignored) { 15970 return '<div class="wait-icon"></div>'; 15971}; 15972if (goog.DEBUG) { 15973 Confluence.Templates.Blueprints.waitIcon.soyTemplateName = 'Confluence.Templates.Blueprints.waitIcon'; 15974} 15975 15976 15977Confluence.Templates.Blueprints.helpLink = function(opt_data, opt_ignored) { 15978 return '' + Confluence.Templates.Dialog.helpLink({href: "https:\/\/docs.atlassian.com\/confluence\/docs-102\/Pages+and+Blogs"}); 15979}; 15980if (goog.DEBUG) { 15981 Confluence.Templates.Blueprints.helpLink.soyTemplateName = 'Confluence.Templates.Blueprints.helpLink'; 15982} 15983 15984 15985Confluence.Templates.Blueprints.spaceHelpLink = function(opt_data, opt_ignored) { 15986 return '' + Confluence.Templates.Dialog.helpLink({href: "https:\/\/docs.atlassian.com\/confluence\/docs-102\/Create+a+Space"}); 15987}; 15988if (goog.DEBUG) { 15989 Confluence.Templates.Blueprints.spaceHelpLink.soyTemplateName = 'Confluence.Templates.Blueprints.spaceHelpLink'; 15990} 15991 15992}catch(e){WRMCB(e)}; 15993; 15994try { 15995/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/blueprint-object.js' */ 15996(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"; 15997break 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'), 15998h=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|| 15999"";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};
15999a.context=b;return a}function z(b,a,c){a= 16000a||{};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", 16001JSON.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."; 16002e?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= 16003m({});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, 16004d);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, 16005p).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"+ 16006encodeURIComponent(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= 16007function(){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); 16008}catch(e){WRMCB(e)}; 16009; 16010try { 16011/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/js/create-dialog-blueprint-selector.js' */ 16012(function(c){var b=[];Confluence.Blueprint.Selector={registerSelector:function(a){a&&"function"===typeof a&&b.push(a)},getSelectors:function(){return b}}})(AJS.$); 16013}catch(e){WRMCB(e)}; 16014; 16015try { 16016/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:resources', location = 'com/atlassian/confluence/plugins/createcontent/soy/discovery-tooltip.soy' */ 16017// This file was automatically generated from discovery-tooltip.soy. 16018// Please don't edit this file by hand. 16019 16020/** 16021 * @fileoverview Templates in namespace Confluence.Quick.Create. 16022 */ 16023 16024if (typeof Confluence == 'undefined') { var Confluence = {}; } 16025if (typeof Confluence.Quick == 'undefined') { Confluence.Quick = {}; } 16026if (typeof Confluence.Quick.Create == 'undefined') { Confluence.Quick.Create = {}; } 16027 16028 16029Confluence.Quick.Create.discoveryTooltip = function(opt_data, opt_ignored) { 16030 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>'; 16031}; 16032if (goog.DEBUG) { 16033 Confluence.Quick.Create.discoveryTooltip.soyTemplateName = 'Confluence.Quick.Create.discoveryTooltip'; 16034} 16035 16036}catch(e){WRMCB(e)}; 16037; 16038try { 16039/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:tooltip', location = '/includes/js/ajs/tooltip.js' */ 16040define("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);
16040f.css({width:b.width}); 16041b.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"); 16042}catch(e){WRMCB(e)}; 16043; 16044try { 16045/* module-key = 'com.atlassian.confluence.plugins.confluence-frontend:keygen', location = '/includes/js/ajs/jquery.keygen.js' */ 16046(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]= 16047"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; 16048b=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= 16049u.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, 16050charBlacklistRegex: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&& 16051g.css("text-transform","uppercase");document.activeElement&&document.activeElement===m[0]&&c({target:m[0]});m.focus(c);m.blur(f)})();return this}})(window,jQuery); 16052}catch(e){WRMCB(e)}; 16053; 16054try { 16055/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:space-blueprints', location = 'com/atlassian/confluence/plugins/createcontent/js/space-welcome-dialog.js' */ 16056Confluence.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", 16057closeOnOutsideClick:!1});var b="What is a space?";a.addHeader(b);b=Confluence.Templates.Blueprints.CreateSpace.welcome();
16057a.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", 16058e);a.show()}}}(AJS.$); 16059}catch(e){WRMCB(e)}; 16060; 16061try { 16062/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:space-blueprints', location = 'com/atlassian/confluence/plugins/createcontent/soy/space-dialog-wizard-common.soy' */ 16063// This file was automatically generated from space-dialog-wizard-common.soy. 16064// Please don't edit this file by hand. 16065 16066/** 16067 * @fileoverview Templates in namespace Confluence.Templates.Blueprints.CreateSpace. 16068 */ 16069 16070if (typeof Confluence == 'undefined') { var Confluence = {}; } 16071if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 16072if (typeof Confluence.Templates.Blueprints == 'undefined') { Confluence.Templates.Blueprints = {}; } 16073if (typeof Confluence.Templates.Blueprints.CreateSpace == 'undefined') { Confluence.Templates.Blueprints.CreateSpace = {}; } 16074 16075 16076Confluence.Templates.Blueprints.CreateSpace.createSpaceForm = function(opt_data, opt_ignored) { 16077 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>'; 16078}; 16079if (goog.DEBUG) { 16080 Confluence.Templates.Blueprints.CreateSpace.createSpaceForm.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.createSpaceForm'; 16081} 16082 16083 16084Confluence.Templates.Blueprints.CreateSpace.createSpaceFormFields = function(opt_data, opt_ignored) { 16085 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) + '"' : '') + '/>'; 16086 if (opt_data.fieldErrors && opt_data.fieldErrors['name']) { 16087 var errorList29 = opt_data.fieldErrors['name']; 16088 var errorListLen29 = errorList29.length; 16089 for (var errorIndex29 = 0; errorIndex29 < errorListLen29; errorIndex29++) { 16090 var errorData29 = errorList29[errorIndex29]; 16091 output += '<div class="error">' + soy.$$escapeHtml(errorData29) + '</div>'; 16092 } 16093 } else { 16094 output += '<div class="error hidden"></div>'; 16095 } 16096 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>'; 16097 if (opt_data.fieldErrors && opt_data.fieldErrors['spaceKey']) { 16098 var errorList52 = opt_data.fieldErrors['spaceKey']; 16099 var errorListLen52 = errorList52.length; 16100 for (var errorIndex52 = 0; errorIndex52 < errorListLen52; errorIndex52++) { 16101 var errorData52 = errorList52[errorIndex52]; 16102 output += '<div class="error">' + soy.$$escapeHtml(errorData52) + '</div>'; 16103 } 16104 } else { 16105 output += '<div class="error hidden"></div>'; 16106 } 16107 output += '</div></fieldset>' + ((opt_data.showSpacePermission) ? Confluence.Templates.Blueprints.CreateSpace.spaceFormPermissions(opt_data) : ''); 16108 return output; 16109}; 16110if (goog.DEBUG) { 16111 Confluence.Templates.Blueprints.CreateSpace.createSpaceFormFields.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.createSpaceFormFields'; 16112} 16113 16114 16115Confluence.Templates.Blueprints.CreateSpace.createPersonalSpaceForm = function(opt_data, opt_ignored) { 16116 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 organised') + '</h3><p>' + soy.$$escapeHtml('Keep your notes, task lists, files and other personal content organised.') + '</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('Customise your personal homepage and introduce yourself to the team.') + '</p></li></ol></form>'; 16117}; 16118if (goog.DEBUG) { 16119 Confluence.Templates.Blueprints.CreateSpace.createPersonalSpaceForm.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.createPersonalSpaceForm';
16120} 16121 16122 16123Confluence.Templates.Blueprints.CreateSpace.spaceFormPermissions = function(opt_data, opt_ignored) { 16124 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>'; 16125}; 16126if (goog.DEBUG) { 16127 Confluence.Templates.Blueprints.CreateSpace.spaceFormPermissions.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.spaceFormPermissions'; 16128} 16129 16130 16131Confluence.Templates.Blueprints.CreateSpace.welcome = function(opt_data, opt_ignored) { 16132 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 organised in a hierarchy.') + '</p></li><li>' + soy.$$escapeHtml('Use the blog on your space to share news and make announcements.') + '</p></li></ul></div>'; 16133}; 16134if (goog.DEBUG) { 16135 Confluence.Templates.Blueprints.CreateSpace.welcome.soyTemplateName = 'Confluence.Templates.Blueprints.CreateSpace.welcome'; 16136} 16137 16138}catch(e){WRMCB(e)}; 16139; 16140try { 16141/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:space-blueprints', location = 'com/atlassian/confluence/plugins/createcontent/js/space-dialog-wizard-common.js' */ 16142AJS.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)})} 16143n(!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= 16144f.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= 16145a,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", 16146title: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, 16147arguments);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}}}); 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/blank-space-dialog-wizard.js' */
16152AJS.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)})}); 16153}catch(e){WRMCB(e)}; 16154; 16155try { 16156/* module-key = 'com.atlassian.confluence.plugins.confluence-create-content-plugin:space-blueprints', location = 'com/atlassian/confluence/plugins/createcontent/js/create-personal-space-listener.js' */ 16157AJS.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"}})}); 16158}catch(e){WRMCB(e)}; 16159; 16160try { 16161/* module-key = 'com.atlassian.plugins.shortcuts.atlassian-shortcuts-plugin:shortcuts', location = '/js/keycommands.js' */ 16162AJS.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)})}); 16163}catch(e){WRMCB(e)}; 16164; 16165try { 16166/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'js/confluence-keyboard-shortcuts.js' */ 16167define("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, 16168"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", 16169a);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)}); 16170f.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"); 16171var g=require("tinymce"),j=g.activeEditor,k=c("#rte").closest("form");a.KeyboardShortcuts.shortcuts.filter(function(a){return a.context.
16171indexOf("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== 16172"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"); 16173a.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)}); 16174}catch(e){WRMCB(e)}; 16175; 16176try { 16177/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'js/shortcut-dialog.js' */ 16178define("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, 16179v=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}, 16180w=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"); 16181a.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, 16182description:""})),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");
16182c.addPanel("General",function(){var b= 16183e(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", 16184function(){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"); 16185c.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"): 16186d.trigger("remove-bindings.keyboardshortcuts")})});return p}}});require("confluence/module-exporter").safeRequire("confluence-keyboard-shortcuts/shortcut-dialog",function(n){require("ajs").toInit(n)}); 16187}catch(e){WRMCB(e)}; 16188; 16189try { 16190/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'js/shortcut-dialog-tab-autoformat.js' */ 16191define("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", 16192description: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"}, 16193{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"]}, 16194{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:"(/)"}, 16195{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"]}, 16196{context:"autoformat.lists",description:b.inlineTaskListDescription(),action:"[] task"},{context:"autoformat.autocomplete",description:"Image/Media",action:"!"},{context:"autoformat.autocomplete",description:"Link",action:"["},{context:"autoformat.autocomplete", 16197description:"Macro",action:"{"},{context:"autoformat.autocomplete",description:"Macro",action:"/"},{context:"autoformat.autocomplete",description:"Mentions",action:"@"}, 16198{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)? 16199a.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", 16200"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")); 16201e.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}}}); 16202require("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
16202("Editor Autoformatting",g())})})}); 16203}catch(e){WRMCB(e)}; 16204; 16205try { 16206/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'templates/shortcut-dialog-tab-autoformat.soy' */ 16207// This file was automatically generated from shortcut-dialog-tab-autoformat.soy. 16208// Please don't edit this file by hand. 16209 16210/** 16211 * @fileoverview Templates in namespace Confluence.Templates.KeyboardShortcutsDialog.Autoformat. 16212 */ 16213 16214if (typeof Confluence == 'undefined') { var Confluence = {}; } 16215if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 16216if (typeof Confluence.Templates.KeyboardShortcutsDialog == 'undefined') { Confluence.Templates.KeyboardShortcutsDialog = {}; } 16217if (typeof Confluence.Templates.KeyboardShortcutsDialog.Autoformat == 'undefined') { Confluence.Templates.KeyboardShortcutsDialog.Autoformat = {}; } 16218 16219 16220Confluence.Templates.KeyboardShortcutsDialog.Autoformat.configureAutocomplete = function(opt_data, opt_ignored) { 16221 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>'; 16222}; 16223if (goog.DEBUG) { 16224 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.configureAutocomplete.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.configureAutocomplete'; 16225} 16226 16227 16228Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem = function(opt_data, opt_ignored) { 16229 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>'; 16230}; 16231if (goog.DEBUG) { 16232 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem'; 16233} 16234 16235 16236Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type = function(opt_data, opt_ignored) { 16237 var output = '<code>' + soy.$$escapeHtml(opt_data.type) + '</code>'; 16238 if (opt_data.multiple) { 16239 var itemList24 = opt_data.multiple; 16240 var itemListLen24 = itemList24.length; 16241 for (var itemIndex24 = 0; itemIndex24 < itemListLen24; itemIndex24++) { 16242 var itemData24 = itemList24[itemIndex24]; 16243 output += '<span class="key-separator">' + soy.$$escapeHtml('or') + '</span><code>' + soy.$$escapeHtml(itemData24) + '</code>'; 16244 } 16245 } 16246 return output; 16247}; 16248if (goog.DEBUG) { 16249 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type'; 16250} 16251 16252 16253Confluence.Templates.KeyboardShortcutsDialog.Autoformat.simpleHelpItem = function(opt_data, opt_ignored) { 16254 return '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem({output: opt_data.output, type: '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type(opt_data), actionClass: ''}); 16255}; 16256if (goog.DEBUG) { 16257 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.simpleHelpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.simpleHelpItem'; 16258} 16259 16260 16261Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableHelpItem = function(opt_data, opt_ignored) { 16262 return '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem({output: opt_data.output, type: '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type(opt_data), actionClass: 'table-action'}); 16263}; 16264if (goog.DEBUG) { 16265 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableHelpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableHelpItem'; 16266} 16267 16268 16269Confluence.Templates.KeyboardShortcutsDialog.Autoformat.styleHelpItem = function(opt_data, opt_ignored) { 16270 return '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem({output: opt_data.output, type: '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.type(opt_data), actionClass: 'style-action'}); 16271}; 16272if (goog.DEBUG) { 16273 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.styleHelpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.styleHelpItem'; 16274} 16275 16276 16277Confluence.Templates.KeyboardShortcutsDialog.Autoformat.keyboardShortcutItem = function(opt_data, opt_ignored) { 16278 return '' + Confluence.Templates.KeyboardShortcutsDialog.Autoformat.helpItem({output: '' + soy.$$escapeHtml(opt_data.output), type: '<kbd class="regular-key">' + soy.$$escapeHtml(opt_data.type) + '</kbd>', actionClass: ''}); 16279}; 16280if (goog.DEBUG) { 16281 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.keyboardShortcutItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.keyboardShortcutItem'; 16282} 16283 16284 16285Confluence.Templates.KeyboardShortcutsDialog.Autoformat.emoticonHelpItem = function(opt_data, opt_ignored) { 16286 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}); 16287}; 16288if (goog.DEBUG) { 16289 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.emoticonHelpItem.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.emoticonHelpItem'; 16290} 16291 16292 16293Confluence.Templates.KeyboardShortcutsDialog.Autoformat.boldDescription = function(opt_data, opt_ignored) { 16294 return '<b>' + soy.$$escapeHtml('Bold') + '</b> ' + soy.$$escapeHtml('text'); 16295}; 16296if (goog.DEBUG) { 16297 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.boldDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.boldDescription'; 16298} 16299 16300 16301Confluence.Templates.KeyboardShortcutsDialog.Autoformat.underlineDescription = function(opt_data, opt_ignored) { 16302 return '<span style="text-decoration: underline;">' + soy.$$escapeHtml('Underline') + '</span> ' + soy.$$escapeHtml('text'); 16303}; 16304if (goog.DEBUG) { 16305 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.underlineDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.underlineDescription'; 16306} 16307 16308 16309Confluence.Templates.KeyboardShortcutsDialog.Autoformat.italicDescription = function(opt_data, opt_ignored) { 16310 return '<em>' + soy.$$escapeHtml('Italic') + '</em> ' + soy.$$escapeHtml('text'); 16311}; 16312if (goog.DEBUG) { 16313 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.italicDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.italicDescription'; 16314} 16315 16316 16317Confluence.Templates.KeyboardShortcutsDialog.Autoformat.monospaceDescription = function(opt_data, opt_ignored) { 16318 return '<code>' + soy.$$escapeHtml('Monospace') + '</code> ' + soy.$$escapeHtml('text'); 16319}; 16320if (goog.DEBUG) { 16321 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.monospaceDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.monospaceDescription'; 16322} 16323 16324 16325Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableDescription = function(opt_data, opt_ignored) { 16326 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>'; 16327}; 16328if (goog.DEBUG) { 16329 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableDescription'; 16330} 16331 16332 16333Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableWithHeadingsDiscriptions = function(opt_data, opt_ignored) { 16334 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>'; 16335}; 16336if (goog.DEBUG) { 16337 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableWithHeadingsDiscriptions.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.tableWithHeadingsDiscriptions'; 16338} 16339 16340 16341Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h1Description = function(opt_data, opt_ignored) { 16342 return '<h1>' + soy.$$escapeHtml('Heading') + '</h1>'; 16343}; 16344if (goog.DEBUG) { 16345 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h1Description.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h1Description'; 16346} 16347 16348 16349Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h3Description = function(opt_data, opt_ignored) { 16350 return '<h3>' + soy.$$escapeHtml('Heading') + '</h3>'; 16351}; 16352if (goog.DEBUG) { 16353 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h3Description.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.h3Description'; 16354} 16355 16356 16357Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bqDescription = function(opt_data, opt_ignored) { 16358 return '<blockquote>' + soy.$$escapeHtml('Quote') + '</blockquote>'; 16359}; 16360if (goog.DEBUG) { 16361 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bqDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bqDescription'; 16362} 16363 16364 16365Confluence.Templates.KeyboardShortcutsDialog.Autoformat.numberedListDescription = function(opt_data, opt_ignored) { 16366 return '<ol><li>' + soy.$$escapeHtml('list') + '</li></ol>'; 16367}; 16368if (goog.DEBUG) { 16369 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.numberedListDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.numberedListDescription'; 16370} 16371 16372 16373Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bulletedListDescription = function(opt_data, opt_ignored) { 16374 return '<ul><li>' + soy.$$escapeHtml('bullets') + '</li></ul>'; 16375}; 16376if (goog.DEBUG) { 16377 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bulletedListDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.bulletedListDescription'; 16378} 16379 16380 16381Confluence.Templates.KeyboardShortcutsDialog.Autoformat.inlineTaskListDescription = function(opt_data, opt_ignored) { 16382 return '<ul class="inline-task-list"><li>' + soy.$$escapeHtml('task') + '</li></ul>'; 16383}; 16384if (goog.DEBUG) { 16385 Confluence.Templates.KeyboardShortcutsDialog.Autoformat.inlineTaskListDescription.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.Autoformat.inlineTaskListDescription'; 16386} 16387 16388}catch(e){WRMCB(e)}; 16389; 16390try { 16391/* module-key = 'com.atlassian.confluence.keyboardshortcuts:confluence-keyboard-shortcuts', location = 'templates/help-dialog.soy' */ 16392// This file was automatically generated from help-dialog.soy. 16393// Please don't edit this file by hand. 16394 16395/** 16396 * @fileoverview Templates in namespace Confluence.Templates.KeyboardShortcutsDialog. 16397 */ 16398 16399if (typeof Confluence == 'undefined') { var Confluence = {}; } 16400if (typeof Confluence.Templates == 'undefined') { Confluence.Templates = {}; } 16401if (typeof Confluence.Templates.KeyboardShortcutsDialog == 'undefined') { Confluence.Templates.KeyboardShortcutsDialog = {}; } 16402 16403 16404Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutModule = function(opt_data, opt_ignored) { 16405 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>'; 16406}; 16407if (goog.DEBUG) { 16408 Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutModule.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutModule'; 16409} 16410 16411 16412Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutEnabledCheckbox = function(opt_data, opt_ignored) {
16413 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>'; 16414}; 16415if (goog.DEBUG) { 16416 Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutEnabledCheckbox.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutEnabledCheckbox'; 16417} 16418 16419 16420Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutPanel = function(opt_data, opt_ignored) { 16421 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>'; 16422}; 16423if (goog.DEBUG) { 16424 Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutPanel.soyTemplateName = 'Confluence.Templates.KeyboardShortcutsDialog.keyboardShortcutPanel'; 16425} 16426 16427}catch(e){WRMCB(e)}; 16428; 16429try { 16430/* module-key = 'com.atlassian.auiplugin:split_aui.page.typography', location = 'aui.chunk.28a37a58b45e563d--6c6ad6c437580dc7.js' */ 16431"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()}]); 16432}catch(e){WRMCB(e)}; 16433; 16434try { 16435/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.page-layout', location = 'aui.chunk.fc05402240fe836f--7b0970e238d21048.js' */ 16436"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()}]); 16437}catch(e){WRMCB(e)}; 16438; 16439try { 16440/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.d3ca746d44', location = 'aui.chunk.8200a8ec18080744--7da37217f3323485.js' */ 16441"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}}]); 16442}catch(e){WRMCB(e)}; 16443; 16444try { 16445/* module-key = 'com.atlassian.auiplugin:split_aui.component.nav', location = 'aui.chunk.c368f03b6efddc8d--44e5e3aeb03055e6.js' */ 16446"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()}]); 16447}catch(e){WRMCB(e)}; 16448; 16449try { 16450/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.toolbar2', location = 'aui.chunk.af4939c30a165380--f6167faa8e9b69b1.js' */ 16451"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()}]); 16452}catch(e){WRMCB(e)}; 16453; 16454try { 16455/* module-key = 'com.atlassian.auiplugin:split_aui.component.dropdown2', location = 'aui.chunk.3f4655e8c302e729--0d7c2c15e5f23d46.js' */ 16456"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()}]); 16457}catch(e){WRMCB(e)}; 16458; 16459try { 16460/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--2a44ce3699', location = 'aui.chunk.dc74c6f906a4a20e--e7dcd8c13788dada.js' */ 16461(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"})}}]); 16462}catch(e){WRMCB(e)}; 16463; 16464try { 16465/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--919950bf68', location = 'aui.chunk.6f98643c54d46b61--2bea759863360e58.js' */ 16466(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 16466-16491
16466,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})}}]); 16467}catch(e){WRMCB(e)}; 16468; 16469try { 16470/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--177522ba92', location = 'aui.chunk.7950bdf5f6ce4c89--109acd37dde302da.js' */ 16471(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}})})}}]); 16472}catch(e){WRMCB(e)}; 16473; 16474try { 16475/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--e78b1959c2', location = 'aui.chunk.c3feb80658f3360d--c68916470e3e12d7.js' */ 16476(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)}})}}]); 16477}catch(e){WRMCB(e)}; 16478; 16479try { 16480/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--4ce6273df1', location = 'aui.chunk.e7a17f0520c5f058--979f4b5830bfa461.js' */ 16481(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)}}})}}]); 16482}catch(e){WRMCB(e)}; 16483; 16484try { 16485/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--45b9bd6d27', location = 'aui.chunk.7648e45bd18e1cc8--312038fbd0dc2f18.js' */ 16486(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)}})})})}}]); 16487}catch(e){WRMCB(e)}; 16488; 16489try { 16490/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--f25bba9dea', location = 'aui.chunk.e774127bb4d10752--fb5b6bb885eaa8b6.js' */ 16491(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["8006"],{6973(t,e,i){var n,s,r,o;
vendor: 4,336 bytes, line 16491
16491r=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 16491
16491),!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 16491
16491var 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)}}
16491,_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)}}]); 16492}catch(e){WRMCB(e)}; 16493; 16494try { 16495/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--6951252c72', location = 'aui.chunk.decaf4d49301e72a--aa5addeec1330277.js' */ 16496(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 16496-16501
16496),"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})}}]); 16497}catch(e){WRMCB(e)}; 16498; 16499try { 16500/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--252a940369', location = 'aui.chunk.9c42905f7769ea4f--d7308ed6afb61241.js' */ 16501(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;
16501i--)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}}})})}}]); 16502}catch(e){WRMCB(e)}; 16503; 16504try { 16505/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--32141df649', location = 'aui.chunk.1cffd6f106acd06f--ad1a3549f385d139.js' */ 16506(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}}}]); 16507}catch(e){WRMCB(e)}; 16508; 16509try { 16510/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.f25bba9dea', location = 'aui.chunk.1e8620323baee4c7--cd860bec4fbf2490.js' */ 16511(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)}}]); 16512}catch(e){WRMCB(e)}; 16513; 16514try { 16515/* module-key = 'com.atlassian.auiplugin:split_aui.component.restful-table', location = 'aui.chunk.7008e327b993a23b--0498f0a8ae858d3b.js' */ 16516"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");
16516let 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
16516sedRow.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]),
16516C(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()}
16516).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()}]); 16517}catch(e){WRMCB(e)}; 16518; 16519try { 16520/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.vendors--471c66030f', location = 'aui.chunk.790848744c475b74--1f1a6fff63c08ce2.js' */ 16521"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:()=>ed});let o=Object.entries,i=Object.setPrototypeOf,a=Object.isFrozen,l=Object.getPrototypeOf,c=Object.getOwnPropertyDescriptor,u=Object.freeze,s=Object.seal,f=Object.create,p="u">typeof Reflect&&Reflect,m=p.apply,d=p.construct;u||(u=function(e){return e}),s||(s=function(e){return e}),m||(m=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),S=Array.isArray,E=M(String.prototype.toLowerCase),A=M(String.prototype.toString),_=M(String.prototype.match),N=M(String.prototype.replace),w=M(String.prototype.indexOf),O=M(String.prototype.trim),v=M(Number.prototype.toString),R=M(Boolean.prototype.toString),D="u"<typeof BigInt?null:M(BigInt.prototype.toString),C="u"<typeof Symbol?null:M(Symbol.prototype.toString),k=M(Object.prototype.hasOwnProperty),I=M(Object.prototype.toString),x=M(RegExp.prototype.test),L=(em=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d(em,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 m(e,t,r)}}function P(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;if(i&&i(e,null),!S(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 z(e){let t=f(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}}
16521(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];k(e,o)&&(S(a)?t[o]=function(e){for(let t=0;t<e.length;t++)k(e,t)||(e[t]=null);return e}(a):a&&"object"==typeof a&&a.constructor===Object?t[o]=z(a):t[o]=a)}return t}function U(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 F=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"]),j=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"]),B=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"]),G=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"]),q=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"]),X=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","dominant-baseline","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-orientation","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","
16521subscriptshift","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=s(/<[/\w!]/g),el=s(/<[/\w]/g),ec=s(/<\/no(script|embed|frames)/i),eu=s(/\/>/i),es=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}},ef=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ep=function(e,t,n,r){return k(e,t)&&S(e[t])?P(r.base?z(r.base):{},e[t],r.transform):n};var em,ed=function e(){let t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u"<typeof window?null:window,i=t=>e(t);if(i.version="3.4.13",i.removed=[],!r||!r.document||9!==r.document.nodeType||!r.Element)return i.isSupported=!1,i;let a=r.document,l=a,c=l.currentScript;r.DocumentFragment;let p=r.HTMLTemplateElement,m=r.Node,d=r.Element,M=r.NodeFilter;void 0===r.NamedNodeMap&&(r.NamedNodeMap||r.MozNamedAttrMap),r.HTMLFormElement;let em=r.DOMParser,ed=r.trustedTypes,eh=d.prototype,eg=U(eh,"cloneNode"),ey=U(eh,"remove"),eT=U(eh,"nextSibling"),eb=U(eh,"childNodes"),eS=U(eh,"parentNode"),eE=U(eh,"shadowRoot"),eA=U(eh,"attributes"),e_=m&&m.prototype?U(m.prototype,"nodeType"):null,eN=m&&m.prototype?U(m.prototype,"nodeName"):null,ew=m&&m.prototype?U(m.prototype,"ownerDocument"):null;if("function"==typeof p){let e=a.createElement("template");e.content&&e.content.ownerDocument&&(a=e.content.ownerDocument)}let eO="",ev=!1,eR=0,eD=function(){if(eR>0)throw L('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},eC=function(e){eD(),eR++;try{return t.createHTML(e)}finally{eR--}},ek=function(e){eD(),eR++;try{return t.createScriptURL(e)}finally{eR--}},eI=a,ex=eI.implementation,eL=eI.createNodeIterator,eM=eI.createDocumentFragment,eP=eI.getElementsByTagName,ez=l.importNode,eU=ef();i.isSupported="function"==typeof o&&"function"==typeof eS&&ex&&void 0!==ex.createHTMLDocument;let eF=et,eH=null,ej=P({},[...F,...H,...j,...G,...Y]),eB=null,eG=P({},[...q,...X,...$,...K]),eW=Object.seal(f(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}})),eY=null,eq=null,eX=Object.seal(f(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),e$=!0,eK=!0,eV=!1,eZ=!0,eJ=!1,eQ=!0,e0=!1,e1=!1,e2=null,e3=null,e9=!1,e8=!1,e4=!1,e5=!1,e6=!0,e7=!1,te="user-content-",tt=!0,tn=!1,tr={},to=null,ti=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),ta=null,tl=P({},["audio","video","img","source","image","track"]),tc=null,tu=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ts="http://www.w3.org/1998/Math/MathML",tf="http://www.w3.org/2000/svg",tp="http://www.w3.org/1999/xhtml",tm=tp,td=!1,th=null,tg=P({},[ts,tf,tp],A),ty=u(["mi","mo","mn","ms","mtext"]),tT=P({},ty),tb=u(["annotation-xml"]),tS=P({},tb),tE=P({},["title","style","font","a","script"]),tA=null,t_=["application/xhtml+xml","text/html"],tN=null,tw=null,tO=a.createElement("form"),tv=function(e){return e instanceof RegExp||e instanceof Function},tR=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(tw&&tw===e)return;e&&"object"==typeof e||(e={}),e=z(e),tN="application/xhtml+xml"===(tA=-1===t_.indexOf(e.PARSER_MEDIA_TYPE
16521)?"text/html":e.PARSER_MEDIA_TYPE)?A:E,eH=ep(e,"ALLOWED_TAGS",ej,{transform:tN}),eB=ep(e,"ALLOWED_ATTR",eG,{transform:tN}),th=ep(e,"ALLOWED_NAMESPACES",tg,{transform:A}),tc=ep(e,"ADD_URI_SAFE_ATTR",tu,{transform:tN,base:tu}),ta=ep(e,"ADD_DATA_URI_TAGS",tl,{transform:tN,base:tl}),to=ep(e,"FORBID_CONTENTS",ti,{transform:tN}),eY=ep(e,"FORBID_TAGS",z({}),{transform:tN}),eq=ep(e,"FORBID_ATTR",z({}),{transform:tN}),tr=!!k(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?z(e.USE_PROFILES):e.USE_PROFILES),e$=!1!==e.ALLOW_ARIA_ATTR,eK=!1!==e.ALLOW_DATA_ATTR,eV=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eZ=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eJ=e.SAFE_FOR_TEMPLATES||!1,eQ=!1!==e.SAFE_FOR_XML,e0=e.WHOLE_DOCUMENT||!1,e8=e.RETURN_DOM||!1,e4=e.RETURN_DOM_FRAGMENT||!1,e5=e.RETURN_TRUSTED_TYPE||!1,e9=e.FORCE_BODY||!1,e6=!1!==e.SANITIZE_DOM,e7=e.SANITIZE_NAMED_PROPS||!1,tt=!1!==e.KEEP_CONTENT,tn=e.IN_PLACE||!1,eF=!function(e){try{return x(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?et:e.ALLOWED_URI_REGEXP,tm="string"==typeof e.NAMESPACE?e.NAMESPACE:tp,tT=k(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?z(e.MATHML_TEXT_INTEGRATION_POINTS):P({},ty),tS=k(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?z(e.HTML_INTEGRATION_POINTS):P({},tb);let r=k(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?z(e.CUSTOM_ELEMENT_HANDLING):f(null);if(eW=f(null),k(r,"tagNameCheck")&&tv(r.tagNameCheck)&&(eW.tagNameCheck=r.tagNameCheck),k(r,"attributeNameCheck")&&tv(r.attributeNameCheck)&&(eW.attributeNameCheck=r.attributeNameCheck),k(r,"allowCustomizedBuiltInElements")&&"boolean"==typeof r.allowCustomizedBuiltInElements&&(eW.allowCustomizedBuiltInElements=r.allowCustomizedBuiltInElements),s(eW),eJ&&(eK=!1),e4&&(e8=!0),tr&&(eH=P({},Y),eB=f(null),!0===tr.html&&(P(eH,F),P(eB,q)),!0===tr.svg&&(P(eH,H),P(eB,X),P(eB,K)),!0===tr.svgFilters&&(P(eH,j),P(eB,X),P(eB,K)),!0===tr.mathMl&&(P(eH,G),P(eB,$),P(eB,K))),eX.tagCheck=null,eX.attributeCheck=null,k(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?eX.tagCheck=e.ADD_TAGS:S(e.ADD_TAGS)&&(eH===ej&&(eH=z(eH)),P(eH,e.ADD_TAGS,tN))),k(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?eX.attributeCheck=e.ADD_ATTR:S(e.ADD_ATTR)&&(eB===eG&&(eB=z(eB)),P(eB,e.ADD_ATTR,tN))),k(e,"ADD_URI_SAFE_ATTR")&&S(e.ADD_URI_SAFE_ATTR)&&P(tc,e.ADD_URI_SAFE_ATTR,tN),k(e,"FORBID_CONTENTS")&&S(e.FORBID_CONTENTS)&&(to===ti&&(to=z(to)),P(to,e.FORBID_CONTENTS,tN)),k(e,"ADD_FORBID_CONTENTS")&&S(e.ADD_FORBID_CONTENTS)&&(to===ti&&(to=z(to)),P(to,e.ADD_FORBID_CONTENTS,tN)),tt&&(eH["#text"]=!0),e0&&P(eH,["html","head","body"]),eH.table&&(P(eH,["tbody"]),delete eY.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.');let n=t;t=e.TRUSTED_TYPES_POLICY;try{eO=eC("")}catch(e){throw t=n,e}}else null===e.TRUSTED_TYPES_POLICY?(t=void 0,eO=""):(void 0===t&&(ev||(n=es(ed,c),ev=!0),t=n),t&&"string"==typeof eO&&(eO=eC("")));u&&u(e),tw=e},tD=P({},[...H,...j,...B]),tC=P({},[...G,...W]),tk=function(e){var t,n,r;let o=eS(e);o&&o.tagName||(o={namespaceURI:tm,tagName:"template"});let i=E(e.tagName),a=E(o.tagName);return!!th[e.namespaceURI]&&(e.namespaceURI===tf?(t=o).namespaceURI===tp?"svg"===i:t.namespaceURI===ts?"svg"===i&&("annotation-xml"===a||tT[a]):!!tD[i]:e.namespaceURI===ts?(n=o).namespaceURI===tp?"math"===i:n.namespaceURI===tf?"math"===i&&tS[a]:!!tC[i]:e.namespaceURI===tp?((r=o).namespaceURI!==tf||!!tS[a])&&(r.namespaceURI!==ts||!!tT[a])&&!tC[i]&&(tE[i]||!tD[i]):"application/xhtml+xml"===tA&&!!th[e.namespaceURI])},tI=function(e){T(i.removed,{element:e});try{eS(e).removeChild(e)}catch(t){if(ey(e),!eS(e))throw L("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},tx=function(e){tP(e);let t=eb(e);if(t){let e=[];h(t,t=>{T(e,t)}),h(e,e=>{try{ey(e)}catch(e){}})}let n=eA(e);
16521if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],o=r&&r.name;if("string"==typeof o)try{e.removeAttribute(o)}catch(e){}}},tL=function(e,t){try{T(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){T(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(e8||e4)try{tI(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tM=function(e){let t=eA(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],o=r&&r.name;if("string"==typeof o&&!eB[tN(o)])try{e.removeAttribute(o)}catch(e){}}},tP=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(e_?e_(e):e.nodeType)===1&&tM(e);let n=eb(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},tz=function(e){if(!eQ)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=e_?e_(e):e.nodeType;if(7===n||8===n&&x(el,e.data)){try{ey(e)}catch(e){}continue}if(1===n){let t=tN(eN?eN(e):e.nodeName);try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&"label"!==t&&"output"!==t&&e.removeAttribute("for")}catch(e){}}let r=eb(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},tU=function(e){let n=null,r=null;if(e9)e="<remove></remove>"+e;else{let t=_(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===tA&&tm===tp&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let o=t?eC(e):e;if(tm===tp)try{n=new em().parseFromString(o,tA)}catch(e){}if(!n||!n.documentElement){n=ex.createDocument(tm,"template",null);try{n.documentElement.innerHTML=td?eO:o}catch(e){}}let i=n.body||n.documentElement;return(e&&r&&i.insertBefore(a.createTextNode(r),i.childNodes[0]||null),tm===tp)?eP.call(n,e0?"html":"body")[0]:e0?n.documentElement:i},tF=function(e){let t=ew?ew(e):e.ownerDocument;return eL.call(t||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT|M.SHOW_PROCESSING_INSTRUCTION|M.SHOW_CDATA_SECTION,null)},tH=function(e){return e=N(e,V," "),e=N(e,Z," "),e=N(e,J," ")},tj=function(e){var t;e.normalize();let n=ew?ew(e):e.ownerDocument,r=eL.call(n||e,e,M.SHOW_TEXT|M.SHOW_COMMENT|M.SHOW_CDATA_SECTION|M.SHOW_PROCESSING_INSTRUCTION,null),o=r.nextNode();for(;o;)o.data=tH(o.data),o=r.nextNode();let i=null==(t=e.querySelectorAll)?void 0:t.call(e,"template");i&&h(i,e=>{tG(e.content)&&tj(e.content)})},tB=function(e){let t=eN?eN(e):null;return"string"==typeof t&&"form"===tN(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==eA(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==e_(e)||e.childNodes!==eb(e))},tG=function(e){if(!e_||"object"!=typeof e||null===e)return!1;try{return 11===e_(e)}catch(e){return!1}},tW=function(e){if(!e_||"object"!=typeof e||null===e)return!1;try{return"number"==typeof e_(e)}catch(e){return!1}};function tY(e,t,n){0!==e.length&&h(e,e=>{e.call(i,t,n,tw)})}let tq=function(e,t,n){if(!eY[t]&&tZ(t)&&(eW.tagNameCheck instanceof RegExp&&x(eW.tagNameCheck,t)||eW.tagNameCheck instanceof Function&&eW.tagNameCheck(t)))return!1;if(tt&&!to[t]){let t=eS(e),r=eb(e);if(r&&t){let o=r.length;for(let i=o-1;i>=0;--i){let o=e===n?eg(r[i],!0):r[i];t.insertBefore(o,eT(e))}}}return tI(e),!0},tX=function(e,t,n,r){return 0===e.length?t:t===n||t===r?z(t):t},t$=function(e,t){if(tY(eU.beforeSanitizeElements,e,null),e!==t&&null===eS(e))return tn&&tP(e),!0;if(tB(e))return tI(e),!0;let n=tN(eN?eN(e):e.nodeName);if(eH=tX(eU.uponSanitizeElement,eH,ej,e2),tY(eU.uponSanitizeElement,e,{tagName:n,allowedTags:eH}),e!==t&&null===eS(e))return tn&&tP(e),!0;if(eQ&&e.hasChildNodes()&&!tW(e.firstElementChild)&&x(ea,e.textContent)&&x(ea,e.innerHTML)||eQ&&e.namespaceURI===tp&&"style"===n&&tW(e.firstElementChild)||7===e.nodeType||eQ&&8===e.nodeType&&x(el,e.data))return tI(e),!0;if(eY[n]||!(eX.tagCheck instanceof Function&&eX.tagCheck(n))&&!eH[n]){let r=tq(e,n,t);return!1===r&&tY(eU.afterSanitizeElements,e,null),r}if((e_?e_(e):e.nodeType)===1&&!tk(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&x(ec,e.innerHTML))return tI(e),!0;
16521if(eJ&&3===e.nodeType){let t=tH(e.textContent);e.textContent!==t&&(T(i.removed,{element:e.cloneNode()}),e.textContent=t)}return tY(eU.afterSanitizeElements,e,null),!1},tK=function(e,t,n){if(eq[t]||eQ&&"patchsrc"===t||eQ&&"for"===t&&"label"!==e&&"output"!==e||e6&&("id"===t||"name"===t)&&(n in a||n in tO))return!1;let r=eB[t]||eX.attributeCheck instanceof Function&&eX.attributeCheck(t,e);if(eK&&x(Q,t));else if(e$&&x(ee,t));else if(r){if(tc[t]);else if(x(eF,N(n,er,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===w(n,"data:")&&ta[e]);else if(eV&&!x(en,N(n,er,"")));else if(n)return!1}else if(!(tZ(e)&&(eW.tagNameCheck instanceof RegExp&&x(eW.tagNameCheck,e)||eW.tagNameCheck instanceof Function&&eW.tagNameCheck(e))&&(eW.attributeNameCheck instanceof RegExp&&x(eW.attributeNameCheck,t)||eW.attributeNameCheck instanceof Function&&eW.attributeNameCheck(t,e))||"is"===t&&eW.allowCustomizedBuiltInElements&&(eW.tagNameCheck instanceof RegExp&&x(eW.tagNameCheck,n)||eW.tagNameCheck instanceof Function&&eW.tagNameCheck(n))))return!1;return!0},tV=P({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),tZ=function(e){return!tV[E(e)]&&x(ei,e)},tJ=function(e,n,r,o){if(t&&"object"==typeof ed&&"function"==typeof ed.getAttributeType&&!r)switch(ed.getAttributeType(e,n)){case"TrustedHTML":return eC(o);case"TrustedScriptURL":return ek(o)}return o},tQ=function(e,t,n,r){try{n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),tB(e)?tI(e):y(i.removed)}catch(n){tL(t,e)}},t0=function(e){tY(eU.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||tB(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eB=tX(eU.uponSanitizeAttribute,eB,eG,e3),forceKeepAttr:void 0},r=t.length,o=tN(e.nodeName);for(;r--;){let i=t[r],a=i.name,l=i.namespaceURI,c=i.value,u=tN(a),s="value"===a?c:O(c);if(n.attrName=u,n.attrValue=s,n.keepAttr=!0,n.forceKeepAttr=void 0,tY(eU.uponSanitizeAttribute,e,n),s=n.attrValue,e7&&("id"===u||"name"===u)&&0!==w(s,te)&&(tL(a,e),s=te+s),eQ&&x(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,s)||"attributename"===u&&_(s,"href")){tL(a,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr||!eZ&&x(eu,s)||(eJ&&(s=tH(s)),!tK(o,u,s))){tL(a,e);continue}(s=tJ(o,u,l,s))!==c&&tQ(e,a,l,s)}}tY(eU.afterSanitizeAttributes,e,null)},t1=function(e){let t=null,n=tF(e);for(tY(eU.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(tY(eU.uponSanitizeShadowNode,t,null),t$(t,e),t0(t),tG(t.content)&&t1(t.content),(e_?e_(t):t.nodeType)===1){let e=eE(t);tG(e)&&(t2(e),t1(e))}tY(eU.afterSanitizeShadowDOM,e,null)},t2=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){t1(e.shadow);continue}let n=e.node,r=(e_?e_(n):n.nodeType)===1,o=eb(n);if(o)for(let e=o.length-1;e>=0;--e)t.push({node:o[e],shadow:null});if(r){let e=eN?eN(n):null;if("string"==typeof e&&"template"===tN(e)){let e=n.content;tG(e)&&t.push({node:e,shadow:null})}}if(r){let e=eE(n);tG(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return i.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,c=null;if((td=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!tW(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return v(e);case"boolean":return R(e);case"bigint":return D?D(e):"0";case"symbol":return C?C(e):"Symbol()";case"undefined":default:return I(e);case"function":case"object":{if(null===e)return I(e);let t=U(e,"toString");if("function"==typeof t){let n=t(e);return"string"==typeof n?n:I(n)}return I(e)}}}(e)))throw L("dirty is not a string, aborting");if(!i.isSupported)return e;e1?(eH=e2,eB=e3):tR(n),(eU.uponSanitizeElement.length>0||eU.uponSanitizeAttribute.length>0)&&(eH=z(eH)),eU.uponSanitizeAttribute.length>0&&(eB=z(eB)),i.removed=[];let u=tn&&"string"!=typeof e&&tW(e);if(u){tz(e);let t=eN?eN(e):e.nodeName;if("string"==typeof t){let n=tN(t);if(!eH[n]||eY[n])throw tx(e),L("root node is forbidden and cannot be sanitized in-place")}if(tB(e))throw tx(e),L("root node is clobbered and cannot be sanitized in-place");try{t2(e)}catch(t){throw tx(e),t}}else if(tW(e))1===(o=(r=tU("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o),t2(o);else{if(!e8&&!eJ&&!e0&&-1===e.indexOf("<"))return t&&e5?eC(e):e;if(!(r=tU(e)))return e8?null:e5?eO:""}r&&e9&&tI(r.firstChild);let s=u?e:r;try{let e=tF(s);for(;a=e.nextNode();)t$(a,s),t0(a),tG(a.content)&&t1(a.content)}catch(t){throw u&&(tx(e),h(i.removed,e=>{e.element&&tP(e.element)})),t}if(u)return h(i.removed,e=>{e.element&&tP(e.element)}),eJ&&tj(e),e;if(e8){if(eJ&&tj(r),e4)for(c=eM.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(eB.shadowroot||eB.shadowrootmode)&&(c=ez.call(l,c,!0)),c}let f=e0?r.outerHTML:r.innerHTML;return e0&&eH["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&x(eo,r.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+f),eJ&&(f=tH(f)),t&&e5?eC(f):f},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tR(e),e1=!0,e2=eH,e3=eB},i.clearConfig=function(){tw=null,e1=!1,e2=null,e3=null,t=n,eO=""},i.isValidAttribute=function(e,t,n){return tw||tR({}),tK(tN(e),tN(t),n)},i.addHook=function(e,t){"function"!=typeof t||k(eU,e)&&T(eU[e],t)},i.removeHook=function(e,t){if(k(eU,e)){if(void 0!==t){let n=g(eU[e],t);return -1===n?void 0:b(eU[e],n,1)[0]}return y(eU[e])}},i.removeHooks=function(e){k(eU,e)&&(eU[e]=[])},i.removeAllHooks=function(){eU=ef()},i}()}}]); 16522}catch(e){WRMCB(e)}; 16523; 16524try { 16525/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.471c66030f', location = 'aui.chunk.1284271534be0d2f--dea296a57e672f0b.js' */ 16526"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>
165260&&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}}]); 16527}catch(e){WRMCB(e)}; 16528; 16529try { 16530/* module-key = 'com.atlassian.auiplugin:split_aui.splitchunk.fc7962e097', location = 'aui.chunk.1487c90a14f67c97--6282970be72e5d25.js' */ 16531"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["5030"],{9105(u,i,a){a.r(i),a(3946)}}]); 16532}catch(e){WRMCB(e)}; 16533; 16534try { 16535/* module-key = 'com.atlassian.auiplugin:split_aui.component.tooltip', location = 'aui.chunk.eff1e7a9d4de86d2--dcdc85f99cab3ed2.js' */ 16536"use strict";(globalThis.webpackChunk_auiRuntime=globalThis.webpackChunk_auiRuntime||[]).push([["1155"],{9976(u){u.exports=jQuery}},function(u){u.O(0,["5","5030","6594","8181","8976","9284","9809"],function(){return u(u.s=9105)}),u.O()}]); 16537}catch(e){WRMCB(e)}; 16538; 16539try { 16540/* module-key = 'com.atlassian.auiplugin:split_aui.pattern.lozenge', location = 'aui.chunk.4b1242abde8734dc--bfeed2d6622f1d4e.js' */ 16541"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()}]); 16542}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.