/* regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE EventEmitter2 https://github.com/hij1nx/EventEmitter2 Copyright (c) 2013 hij1nx Licensed under the MIT license. Copyright 2021 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ var AP=function(){function M(d){if(void 0===d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function R(d,c){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,b){return a.__proto__=b,a},R(d,c)}function W(d,c){d.prototype=Object.create(c.prototype);d.prototype.constructor=d;R(d,c)}function Y(){var d={};window.connectHost&&window.connectHost.getBooleanFeatureFlag&&Td.forEach(function(c){return d[c]=window.connectHost.getBooleanFeatureFlag(c)}); return d}function Q(){try{var d=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(c){}return(Q=function(){return!!d})()}function aa(d,c,a){if(Q())return Reflect.construct.apply(null,arguments);var b=[null];b.push.apply(b,c);b=new (d.bind.apply(d,b));return a&&R(b,a.prototype),b}function G(){return G=Object.assign?Object.assign.bind():function(d){for(var c=1;cd.length)&&(c=d.length); for(var a=0,b=Array(c);a>>0)}function Ub(d){if(null==d)return null;var c={};Object.keys(d).sort().forEach(function(a){var b=d[a];b instanceof Object&&(b=Ub(b));c[a]=b});return c}function Nc(){return"undefined"!==typeof performance&&performance?performance.now()|0:Date.now()}function Oc(d,c){var a=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);c&&(b=b.filter(function(e){return Object.getOwnPropertyDescriptor(d, e).enumerable}));a.push.apply(a,b)}return a}function Aa(d){for(var c=1;c>16&255,b=c>>8&255;c&=255;9===d.length?(d=parseInt(d.slice(7,9),16)/255,d=Number(parseFloat(d.toString()).toFixed(2))):d=1;return[a,b,c,d]}function wb(d){if(!db(d))throw Error("Invalid HEX"); d=d.substring(1).split("");3===d.length&&(d=[d[0],d[0],d[1],d[1],d[2],d[2]]);d="0x"+d.join("");return[d>>16&255,d>>8&255,d&255]}function ae(d){if(!db(d))throw Error("Invalid HEX");var c=0,a=0,b=0;4===d.length?(c="0x"+d[1]+d[1],a="0x"+d[2]+d[2],b="0x"+d[3]+d[3]):7===d.length&&(c="0x"+d[1]+d[2],a="0x"+d[3]+d[4],b="0x"+d[5]+d[6]);c/=255;a/=255;b/=255;var e=Math.min(c,a,b),g=Math.max(c,a,b);d=g-e;c=Math.round(60*(0===d?0:g===c?(a-b)/d%6:g===a?(b-c)/d+2:(c-a)/d+4));0>c&&(c+=360);a=(g+e)/2;d=0===d?0:d/ (1-Math.abs(2*a-1));d=+(100*d).toFixed(1);a=+(100*a).toFixed(1);return[c,d,a]}function be(d,c,a){a/=100;var b=c/100*Math.min(a,1-a);c=function(e){return a-b*Math.max(-1,Math.min((e+d/30)%12-3,Math.min(9-(e+d/30)%12,1)))};return[255*c(0),255*c(8),255*c(4)]}function Xb(d,c,a){d/=255;c/=255;a/=255;return.2126*(.03928>=d?d/12.92:Math.pow((d+.055)/1.055,2.4))+.7152*(.03928>=c?c/12.92:Math.pow((c+.055)/1.055,2.4))+.0722*(.03928>=a?a/12.92:Math.pow((a+.055)/1.055,2.4))}function Yb(d,c){if(!db(d)||!db(c))throw Error("Invalid HEX"); d=wb(d);c=wb(c);d=Xb(d[0],d[1],d[2]);c=Xb(c[0],c[1],c[2]);return(Math.max(d,c)+.05)/(Math.min(d,c)+.05)}function Vc(d){var c=d[0]/255,a=d[1]/255,b=d[2]/255;c=.04045=d.length?{done:!0}:{done:!1,value:d[b++]}},e:function(h){throw h;},f:c}}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 e,g=!0,f=!1;return{s:function(){a=a.call(d)},n:function(){var h=a.next();return g=h.done,h},e:function(h){f=!0;e=h},f:function(){try{g||null==a.return||a.return()}finally{if(f)throw e;}}}}function le(d,c){if(d){if("string"== typeof d)return ad(d,c);var a={}.toString.call(d).slice(8,-1);return"Object"===a&&d.constructor&&(a=d.constructor.name),"Map"===a||"Set"===a?Array.from(d):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?ad(d,c):void 0}}function ad(d,c){(null==c||c>d.length)&&(c=d.length);for(var a=0,b=Array(c);ad?-1:0===d?0:1}function dc(d,c){return[d[0]*c[0][0]+d[1]*c[0][1]+d[2]*c[0][2],d[0]*c[1][0]+d[1]*c[1][1]+d[2]*c[1][2],d[0]*c[2][0]+d[1]*c[2][1]+d[2]*c[2][2]]}function fd(d){var c=Ma(d[0]),a=Ma(d[1]);d=Ma(d[2]);return(-16777216|(c&255)<<16|(a&255)<<8|d&255)>>>0}function gd(d){var c=Ua(d>>16&255);var a=Ua(d>>8&255);d=Ua(d&255);c=dc([c,a,d],qe);return 116*Ab(c[1]/100)- 16}function Ba(d){d=(d+16)/116;var c=d*d*d;return 100*(c>216/24389?c:(116*d-16)/(24389/27))}function Ua(d){d/=255;return.040449936>=d?d/12.92*100:100*Math.pow((d+.055)/1.055,2.4)}function Ma(d){d/=100;d=Math.round(255*(.0031308>=d?12.92*d:1.055*Math.pow(d,1/2.4)-.055));return 0>d?0:255d?0:255216/24389?Math.pow(d,1/3):(24389/27*d+16)/116}function hd(d, c){var a=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);c&&(b=b.filter(function(e){return Object.getOwnPropertyDescriptor(d,e).enumerable}));a.push.apply(a,b)}return a}function id(d){for(var c=1;cc&&(b=e,d.apply(a,arguments))}},each:function(d,c){var a;if(d){var b=d.length;if(null!=b&&"function"!==typeof d)for(a=0;a=e?b:b.concat(Array(e-b.length))};a._verifyAPI=function(b,e){function g(k,m){Object.getOwnPropertyNames(m).forEach(function(n){"object"===typeof m[n]&&k[n]?g(k[n],m[n]):"parent"===m[n]&&k[n]&&(l=!0)})}var f=b.data.targets;if(f){var h=this.getApiSpec(),l=!1;g(h,f);b.source&&b.source.postMessage?b.source.postMessage({type:"api_tamper",tampered:l},e.extension.url): console.warn("_verifyAPI postMessage skipped as event source missing.")}};a._handleInit=function(b,e){b.source&&b.source.postMessage?b.source.postMessage({type:"init_received"},e.extension.url):console.warn("_handleInit postMessage skipped as event source missing.");this._registeredExtensions[e.extension_id].source=b.source;e.initCallback&&(e.initCallback(b.data.eid),delete e.initCallback);b.data.targets&&this._verifyAPI(b,e)};a._getHostOffset=function(b,e){var g=b.source,f=null;e=e||window;e===e.top&& "function"===typeof e.getHostOffsetFunctionOverride&&(f=e.getHostOffsetFunctionOverride(g));if("number"!==typeof f)for(f=0;!this._hasSameOrigin(g);)f++,g=g.parent;b.source&&b.source.postMessage?b.source.postMessage({hostFrameOffset:f},b.origin):console.warn("_getHostOffset postMessage skipped as event source missing.")};a._hasSameOrigin=function(b){if(b===b.top)return!0;try{var e="test_var_"+Math.random().toString(16).substr(2);b[e]=!0;return b[e]}catch(g){}return!1};a._handleResponse=function(b){b= b.data;var e=this._pendingCallbacks[b.mid];e&&(delete this._pendingCallbacks[b.mid],e.apply(window,b.args))};a.registerRequestNotifier=function(b){this._registeredRequestNotifier=b};a._handleRequest=function(b,e){function g(){var t=N.sanitizeStructuredClone(N.argumentsToArray(arguments));b.source&&b.source.postMessage?b.source.postMessage({mid:b.data.mid,type:"resp",forPlugin:!0,args:t},e.extension.url):console.warn("_handleRequest postMessage skipped as event source missing.")}var f=b.data,h=this._registeredAPIModules[f.mod], l=this.getRegisteredExtensions(e.extension)[0];if(h){var k=f.fn;if(f._cls){var m=h[f._cls],n=f.mod+"-"+f._cls+"-";g._id=f._id;"constructor"===k?(m._construct||(m.constructor.prototype._destroy=function(){delete this._context._proxies[n+this._id]},m._construct=function(){for(var t=arguments.length,u=Array(t),v=0;v=e-b._pendingEvents[g].time||delete b._pendingEvents[g]})};a._handleEventQuery=function(b,e){var g=this,f={},h=(new Date).getTime();Object.keys(this._pendingEvents).forEach(function(l){var k= g._pendingEvents[l],m=3E4>=h-k.time,n=!k.targetSpec||0!==g._findRegistrations(k.targetSpec).length;n&&k.targetSpec.key&&(n=k.targetSpec.addon_key===e.extension.addon_key&&k.targetSpec.key===e.extension.key);m&&n?(f[l]=k,k.targetSpec=k.targetSpec||{},g.dispatch(k.type,k.targetSpec,k.event,k.callback,b.source)):m||delete g._pendingEvents[l]});this._registeredExtensions[e.extension_id].registered_events=b.data.args;return f};a._handleUnload=function(b,e){e&&(e.extension_id&&this._registeredExtensions[e.extension_id]&& delete this._registeredExtensions[e.extension_id].source,e.unloadCallback&&e.unloadCallback(b.data.eid))};a.dispatch=function(b,e,g,f,h){function l(k,m){if(k.source&&k.source.postMessage){if(f){var n=N.randomString();this._pendingCallbacks[n]=f}k.source.postMessage({type:"evt",mid:n,etyp:b,evnt:m},k.extension.url)}}this._findRegistrations(e||{}).forEach(function(k){h&&!k.source&&(k.source=h);k.source&&N._bind(this,l)(k,g)},this)};a._findRegistrations=function(b){var e=this;if(0===this._registeredExtensions.length)return N.error("no registered extensions", this._registeredExtensions),[];var g=Object.getOwnPropertyNames(b),f=Object.getOwnPropertyNames(this._registeredExtensions).map(function(h){return e._registeredExtensions[h]});return b instanceof Function?f.filter(b):f.filter(function(h){return g.every(function(l){return h.extension[l]===b[l]})})};a.registerExtension=function(b,e){e._proxies={};e.extension_id=b;this._registeredExtensions[b]=e};a._keycodeKey=function(b,e,g){var f=b;e&&("string"===typeof e&&(e=[e]),e.sort(),e.forEach(function(h){f+= "$$"+h},this));return f+"__"+g};a.registerKeyListener=function(b,e,g,f){"string"===typeof g&&(g=[g]);var h=this._registeredExtensions[b];b=this._keycodeKey(e,g,b);this._keycodeCallbacks[b]||(this._keycodeCallbacks[b]=[],h.source.postMessage({type:"key_listen",keycode:e,modifiers:g,action:"add"},h.extension.url));this._keycodeCallbacks[b].push(f)};a.unregisterKeyListener=function(b,e,g,f){var h=this._keycodeKey(e,g,b),l=this._keycodeCallbacks[h];b=this._registeredExtensions[b];l&&(f?(f=l.indexOf(f), this._keycodeCallbacks[h].splice(f,1)):delete this._keycodeCallbacks[h],b.source&&b.source.postMessage&&b.source.postMessage({type:"key_listen",keycode:e,modifiers:g,action:"remove"},b.extension.url))};a.registerClickHandler=function(b){if("function"!==typeof b)throw Error("callback must be a function");this._clickHandlers.push(b)};a._handleAddonClick=function(b,e){for(b=0;bl?0:l;return 50l?0:l;return 50Math.min(a.clientHeight,document.documentElement.clientHeight)?d+b():d;f="number"===typeof f&&a.scrollWidth>a.clientWidth?f+e():f;return{w:d,h:f}},ve=function(){function d(a){this.resizeError=N.throttle(function(b){console.info(b)},1E3);this.dimensionStores={width:[],height:[]};this.callback=a}var c=d.prototype;c._setVal=function(a,b,e){this.dimensionStores[b]=this.dimensionStores[b].filter(function(g){return 400> e-g.setAt});this.dimensionStores[b].push({val:parseInt(a,10),setAt:e})};c._isFlicker=function(a,b){return 5<=this.dimensionStores[b].length};c.triggered=function(a){a=a||fc();var b=Date.now();this._setVal(a.w,"width",b);this._setVal(a.h,"height",b);var e=this._isFlicker(a.w,"width",b);b=this._isFlicker(a.h,"height",b);e&&(a.w="100%",this.resizeError("SIMPLE XDM: auto resize flickering width detected, setting to 100%"));b&&(e=this.dimensionStores.height.map(function(g){return g.val}),a.h=Math.max.apply(null, e)+"px",this.resizeError("SIMPLE XDM: auto resize flickering height detected, setting to: "+a.h));this.callback(a.w,a.h)};return d}(),Na=new (function(){function d(){}var c=d.prototype;c._elementExists=function(a){return a&&1===a.length};c._elementOptions=function(a){return a.attr("data-options")};c._getConsumerOptions=function(){var a={},b=I("#ac-iframe-options"),e=I("script[src*='/atlassian-connect/all']"),g=I("script[src*='/connect-cdn.atl-paas.net/all']"),f=I("script[src*='/connect-alljs-cdn-bifrost.frontend.cdn.atlassian-us-gov-mod.com/assets/all']"); this._elementExists(b)&&this._elementOptions(b)||(this._elementExists(e)?b=e:this._elementExists(g)?b=g:this._elementExists(f)&&(b=f));this._elementExists(b)&&(b=this._elementOptions(b))&&b.split(";").forEach(function(h){if(h=h.trim()){var l=h.split(":");h=l[0].trim();l=l[1].trim();h&&null!=l&&(a[h]="true"===l||"false"===l?"true"===l:l)}});return a};c._flush=function(){delete this._options};c.get=function(a){this._options||(this._options=this._getConsumerOptions());return a?this._options[a]:this._options}; return d}()),we={add:function(d){var c=A();w(c,d)},remove:function(){var d=A();d.resizeSensor&&(d.resizeObserver.disconnect(),d.removeChild(d.resizeSensor),delete d.resizeSensor,delete d.resizedAttached)}},xe=["ctrl","shift","alt","meta"],ye=function(d){function c(b,e){void 0===e&&(e=!0);var g=d.call(this)||this;eb.set(b);g._data=g._parseInitData();eb.set(g._data.options);g._data.options=g._data.options||{};g._hostOrigin=g._data.options.hostOrigin||"*";g._top=window.top;g._host=window.parent||window; g._topHost=g._getHostFrame(g._data.options.hostFrameOffset);g._topHost!==g._top&&g._verifyHostFrameOffset();g._initTimeout=5E3;g._initReceived=!1;g._initCheck=e;g._isKeyDownBound=!1;g._hostModules={};g._eventHandlers={};g._pendingCallbacks={};g._keyListeners=[];g._version="5.3.203";g._apiTampered=void 0;g._isSubIframe=g._topHost!==window.parent;g._onConfirmedFns=[];g._promise=Promise;g._data.api&&(g._setupAPI(g._data.api),g._setupAPIWithoutRequire(g._data.api));g._messageHandlers={init_received:g._handleInitReceived, resp:g._handleResponse,evt:g._handleEvent,key_listen:g._handleKeyListen,api_tamper:g._handleApiTamper};g._data.origin&&(g._sendInit(g._host,g._data.origin),g._isSubIframe&&g._sendInit(g._topHost,g._hostOrigin));g._registerOnUnload();g.resize=N._bind(M(g),function(f,h){if(A()){var l=fc();f||(f=l.w);h||(h=l.h);g._hostModules.env&&g._hostModules.env.resize&&g._hostModules.env.resize(f,h)}else N.warn("resize called before container or body appeared, ignoring")});I(N._bind(M(g),g._autoResizer));g.container= A;g.size=fc;window.addEventListener("click",function(f){g._host.postMessage({eid:g._data.extension_id,type:"addon_clicked"},g._hostOrigin)});return g}W(c,d);var a=c.prototype;a._getHostFrame=function(b){if(b&&"number"===typeof b){for(var e=window,g=0;gpa&&dapa||fa[0]>ma||ma>Va)&&(fa[4]=pa,fa[5]=ma,na.n=Va,T=0))}if(va||1T?l:ia)||!wa;){Z||(T?3>T?(1T&&(T=0)}else 1===T&&(p=Z["return"])&&p.call(Z),2>T&&(ia=TypeError("The iterator does not provide a '"+pa+"' method"),T=1);Z=l}else if((p=(wa=0>na.n)?ia:J.call(K,na))!==q)break}catch(fa){Z=l,T=1,ia=fa}finally{Oa=1}}return{value:p,done:wa}}}(t, v,x),!0),u}function e(){}function g(){}function f(){}function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,a(t,n,"GeneratorFunction")),t.prototype=Object.create(r),t}var l,k="function"==typeof Symbol?Symbol:{},m=k.iterator||"@@iterator",n=k.toStringTag||"@@toStringTag",q={};var p=Object.getPrototypeOf;k=[][m]?p(p([][m]())):(a(p={},m,function(){return this}),p);var r=f.prototype=e.prototype=Object.create(k);return g.prototype=f,a(r,"constructor",f),a(f,"constructor", g),g.displayName="GeneratorFunction",a(f,n,"GeneratorFunction"),a(r),a(r,n,"Generator"),a(r,m,function(){return this}),a(r,"toString",function(){return"[object Generator]"}),(d.exports=c=function(){return{w:b,m:h}},d.exports.__esModule=!0,d.exports["default"]=d.exports)()}var a=kc.exports;d.exports=c;d.exports.__esModule=!0;d.exports["default"]=d.exports})(jc);var rd={exports:{}},lc={exports:{}},mc={exports:{}};(function(d){function c(e,g){function f(l,k,m,n){try{var q=e[l](k),p=q.value;return p instanceof a?g.resolve(p.v).then(function(r){f("next",r,m,n)},function(r){f("throw",r,m,n)}):g.resolve(p).then(function(r){q.value=r;m(q)},function(r){return f("throw",r,m,n)})}catch(r){n(r)}}var h;this.next||(b(c.prototype),b(c.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this}));b(this,"_invoke",function(l,k,m){function n(){return new g(function(q,p){f(l,m,q,p)})}return h=h?h.then(n,n):n()},!0)}var a=ic.exports,b=kc.exports;d.exports=c;d.exports.__esModule= !0;d.exports["default"]=d.exports})(mc);(function(d){var c=jc.exports,a=mc.exports;d.exports=function(b,e,g,f,h){return new a(c().w(b,e,g,f),h||Promise)};d.exports.__esModule=!0;d.exports["default"]=d.exports})(lc);(function(d){var c=lc.exports;d.exports=function(a,b,e,g,f){var h=c(a,b,e,g,f);return h.next().then(function(l){return l.done?l.value:h.next()})};d.exports.__esModule=!0;d.exports["default"]=d.exports})(rd);var sd={exports:{}};(function(d){d.exports=function(c){var a=Object(c),b=[],e;for(e in a)b.unshift(e); return function f(){for(;b.length;)if((e=b.pop())in a)return f.value=e,f.done=!1,f;return f.done=!0,f}};d.exports.__esModule=!0;d.exports["default"]=d.exports})(sd);var td={exports:{}},ud={exports:{}};(function(d){function c(a){"@babel/helpers - typeof";return d.exports=c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(b){return typeof b}:function(b){return b&&"function"==typeof Symbol&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},d.exports.__esModule=!0,d.exports["default"]= d.exports,c(a)}d.exports=c;d.exports.__esModule=!0;d.exports["default"]=d.exports})(ud);(function(d){var c=ud.exports["default"];d.exports=function(a){if(null!=a){var b=a["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],e=0;if(b)return b.call(a);if("function"==typeof a.next)return a;if(!isNaN(a.length))return{next:function(){return a&&e>=a.length&&(a=void 0),{value:a&&a[e++],done:!a}}}}throw new TypeError(c(a)+" is not iterable");};d.exports.__esModule=!0;d.exports["default"]=d.exports})(td); (function(d){function c(){function k(t){t="function"==typeof t&&t.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))}function m(t){var u,v;return function(x){u||(u={stop:function(){return v(x.a,2)},"catch":function(){return x.v},abrupt:function(J,K){return v(x.a,r[J],K)},delegateYield:function(J,K,V){return u.resultName=K,v(x.d,l(J),V)},finish:function(J){return v(x.f,J)}},v=function(J,K,V){x.p=u.prev;x.n=u.next;try{return J(K,V)}finally{u.next=x.n}});u.resultName&&(u[u.resultName]= x.v,u.resultName=void 0);u.sent=x.v;u.next=x.n;try{return t.call(this,u)}finally{x.p=u.prev,x.n=u.next}}}var n=b(),q=n.m(c),p=(Object.getPrototypeOf?Object.getPrototypeOf(q):q.__proto__).constructor,r={"throw":1,"return":2,"break":3,"continue":3};return(d.exports=c=function(){return{wrap:function(t,u,v,x){return n.w(m(t),u,v,x&&x.reverse())},isGeneratorFunction:k,mark:n.m,awrap:function(t,u){return new a(t,u)},AsyncIterator:f,async:function(t,u,v,x,J){return(k(u)?g:e)(m(t),u,v,x,J)},keys:h,values:l}}, d.exports.__esModule=!0,d.exports["default"]=d.exports)()}var a=ic.exports,b=jc.exports,e=rd.exports,g=lc.exports,f=mc.exports,h=sd.exports,l=td.exports;d.exports=c;d.exports.__esModule=!0;d.exports["default"]=d.exports})(qd);var Db=qd.exports(),F=Db;try{regeneratorRuntime=Db}catch(d){"object"===typeof globalThis?globalThis.regeneratorRuntime=Db:Function("r","regeneratorRuntime = r")(Db)}var Ca={},ja={};(function(d){var c=H&&H.__extends||function(){var e=function(g,f){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var k in l)Object.prototype.hasOwnProperty.call(l,k)&&(h[k]=l[k])};return e(g,f)};return function(g,f){function h(){this.constructor=g}if("function"!==typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");e(g,f);g.prototype=null===f?Object.create(f):(h.prototype=f.prototype,new h)}}();Object.defineProperty(d,"__esModule",{value:!0});d.StatsigSDKKeyMismatchError=d.StatsigInvalidArgumentError=d.StatsigUninitializedError= d.StatsigErrorMessage=void 0;var a;(function(e){e.REQUIRE_ASYNC_INITIALIZE="Call initialize() first.";e.REQUIRE_SYNC_INITIALIZE="Call and wait for initialize() to finish first.";e.REQUIRE_INITIALIZE_FOR_LOG_EVENT="Must initialize() before logging events."})(a=d.StatsigErrorMessage||(d.StatsigErrorMessage={}));var b=function(e){function g(f){f=e.call(this,null!==f&&void 0!==f?f:a.REQUIRE_SYNC_INITIALIZE)||this;Object.setPrototypeOf(f,g.prototype);return f}c(g,e);return g}(Error);d.StatsigUninitializedError= b;b=function(e){function g(f){f=e.call(this,f)||this;Object.setPrototypeOf(f,g.prototype);return f}c(g,e);return g}(Error);d.StatsigInvalidArgumentError=b;b=function(e){function g(f){f=e.call(this,f)||this;Object.setPrototypeOf(f,g.prototype);return f}c(g,e);return g}(Error);d.StatsigSDKKeyMismatchError=b})(ja);var nc={},gb={};Object.defineProperty(gb,"__esModule",{value:!0});var Ee=function(){function d(c,a,b,e,g,f,h){void 0===g&&(g=[]);void 0===f&&(f="");void 0===h&&(h=null);this._onDefaultValueFallback= null;this.value=JSON.parse(JSON.stringify(null!==a&&void 0!==a?a:{}));this._name=c;this._ruleID=null!==b&&void 0!==b?b:"";this._secondaryExposures=g;this._allocatedExperimentName=f;this._evaluationDetails=e;this._onDefaultValueFallback=h}d.prototype.get=function(c,a,b){var e,g,f=this.getValue(c,a);if(null==f)return a;var h=Array.isArray(a)?"array":typeof a,l=Array.isArray(f)?"array":typeof f;if(b){if(b(f))return f;null===(e=this._onDefaultValueFallback)||void 0===e?void 0:e.call(this,this,c,h,l); return a}if(null==a||h===l)return f;null===(g=this._onDefaultValueFallback)||void 0===g?void 0:g.call(this,this,c,h,l);return a};d.prototype.getValue=function(c,a){if(null==c)return this.value;null==a&&(a=null);return null==this.value[c]?a:this.value[c]};return d}();gb.default=Ee;var vd={};(function(d){var c=H&&H.__awaiter||function(e,g,f,h){function l(k){return k instanceof f?k:new f(function(m){m(k)})}return new (f||(f=Promise))(function(k,m){function n(r){try{p(h.next(r))}catch(t){m(t)}}function q(r){try{p(h["throw"](r))}catch(t){m(t)}} function p(r){r.done?k(r.value):l(r.value).then(n,q)}p((h=h.apply(e,g||[])).next())})},a=H&&H.__generator||function(e,g){function f(p){return function(r){return h([p,r])}}function h(p){if(k)throw new TypeError("Generator is already executing.");for(;q&&(q=0,p[0]&&(l=0)),l;)try{if(k=1,m&&(n=p[0]&2?m["return"]:p[0]?m["throw"]||((n=m["return"])&&n.call(m),0):m.next)&&!(n=n.call(m,p[1])).done)return n;if(m=0,n)p=[p[0]&2,n.value];switch(p[0]){case 0:case 1:n=p;break;case 4:return l.label++,{value:p[1], done:!1};case 5:l.label++;m=p[1];p=[0];continue;case 7:p=l.ops.pop();l.trys.pop();continue;default:if(!(n=l.trys,n=0n[0]&&p[1]a;a++){if(8===a||12===a||16===a||20===a)c+="-";var b=16*Math.random()|0;c=12===a?c+"4":16===a?c+(b&3|8).toString(16):c+b.toString(16)}return c};return d}();oc.default=Ie;var pc={},Fb={},qc=H&&H.__assign||function(){qc=Object.assign||function(d){for(var c,a=1,b=arguments.length;aq[0]&&r[1]h[0]&&k[1]=this._options.loggingBufferMaxSize&&this.flush()}};d.prototype.resetDedupeKeys=function(){this._exposureDedupeKeys={}};d.prototype.logGateExposure=function(c,a,b,e,g,f,h,l){this._shouldLogExposure(a+String(b)+e+f.reason)&&(a={gate:a,gateValue:String(b),ruleID:e,reason:f.reason,time:f.time},h&&(a.isManualExposure="true"),null!=l&&(a.bootstrapMetadata=l),c=(0,Hb.default)("statsig::gate_exposure",c,this._identity._statsigMetadata,null,a,g),this.log(c))};d.prototype.logConfigExposure= function(c,a,b,e,g,f,h){this._shouldLogExposure(a+b+g.reason)&&(a={config:a,ruleID:b,reason:g.reason,time:g.time},f&&(a.isManualExposure="true"),null!=h&&(a.bootstrapMetadata=h),c=(0,Hb.default)("statsig::config_exposure",c,this._identity._statsigMetadata,null,a,e),this.log(c))};d.prototype.logLayerExposure=function(c,a,b,e,g,f,h,l,k,m){var n=[a,b,g,f,String(h),l.reason].join("|");this._shouldLogExposure(n)&&(a={config:a,ruleID:b,allocatedExperiment:g,parameterName:f,isExplicitParameter:String(h), reason:l.reason,time:l.time},k&&(a.isManualExposure="true"),null!=m&&(a.bootstrapMetadata=m),c=(0,Hb.default)("statsig::layer_exposure",c,this._identity._statsigMetadata,null,a,e),this.log(c))};d.prototype.shutdown=function(){this._flushInterval&&(clearInterval(this._flushInterval),this._flushInterval=null);this.flush(!0)};d.prototype.flush=function(c){var a=this;void 0===c&&(c=!1);if(0!==this._queue.length){var b=this._identity._statsigMetadata,e=this._queue;this._queue=[];if(c&&!this._network.supportsKeepalive()&& "undefined"!==typeof navigator&&null!=navigator&&navigator.sendBeacon)this._network.sendLogBeacon({events:e,statsigMetadata:b})||(this._queue=e.concat(this._queue),0=b-6E5)return!1;this._exposureDedupeKeys[c]=b;return!0};d.prototype._saveFailedRequests=function(){return ib(this,void 0,void 0,function(){var c; return jb(this,function(a){if(0u[0]&&x[1]h[0]&&k[1]p[0]&&t[1]this._maxListeners&&(n._listeners.warned=!0,g.call(this, n._listeners.length,q))):n._listeners=m;break a}q=k.shift()}}return this}this._events[k]?("function"===typeof this._events[k]&&(this._events[k]=[this._events[k]]),n?this._events[k].unshift(m):this._events[k].push(m),!this._events[k].warned&&0this._maxListeners&&(this._events[k].warned=!0,g.call(this,this._events[k].length,k))):this._events[k]=m;return this};f.prototype.off=function(k,m){function n(J){if(J!==a){var K=Object.keys(J),V;for(V in K){var ha=K[V], Z=J[ha];Z instanceof Function||"object"!==typeof Z||null===Z||(0u)continue;this.wildcard?t._listeners.splice(u,1):this._events[k].splice(u,1);0===p.length&&(this.wildcard?delete t._listeners:delete this._events[k]);this.emit("removeListener",k,m);return this}if(p===m||p.listener&&p.listener===m||p._origin&&p._origin===m)this.wildcard?delete t._listeners:delete this._events[k],this.emit("removeListener",k,m)}n(this.listenerTree);return this}; f.prototype.offAny=function(k){var m;if(k&&this._all&&0a[1]?"poor":f>a[0]?"needs-improvement":"good",d(c))}},Ac=function(d){requestAnimationFrame(function(){return requestAnimationFrame(function(){return d()})})}, Bc=function(d){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&d()})},Cc=function(d){var c=!1;return function(){c||(d(),c=!0)}},bb=-1,Qb=function(d){"hidden"===document.visibilityState&&-1 bb&&(bb="hidden"!==document.visibilityState||document.prerendering?1/0:0,Id(),rb(function(){setTimeout(function(){bb="hidden"!==document.visibilityState||document.prerendering?1/0:0;Id()},0)})),{get firstHiddenTime(){return bb}}},Dc=function(d){document.prerendering?addEventListener("prerenderingchange",function(){return d()},!0):d()},Kd=[1800,3E3],Ld=function(d,c){c=c||{};Dc(function(){var a,b=Jd(),e=Ga("FCP"),g=zc("paint",function(f){f.forEach(function(h){"first-contentful-paint"===h.name&&(g.disconnect(), h.startTimek.startTime-n.startTime&&5E3>k.startTime-m.startTime?(e+=k.value,g.push(k)): (e=k.value,g=[k])}});e>b.value&&(b.value=e,b.entries=g,a())},h=zc("layout-shift",f);h&&(a=Ha(d,b,Md,c.reportAllChanges),Bc(function(){f(h.takeRecords());a(!0)}),rb(function(){e=0;b=Ga("CLS",0);a=Ha(d,b,Md,c.reportAllChanges);Ac(function(){return a()})}),setTimeout(a,0))}))},Nd=[2500,4E3],Ec={},Ff=function(d,c){c=c||{};Dc(function(){var a=Jd(),b=Ga("LCP"),e=function(l){c.reportAllChanges||(l=l.slice(-1));l.forEach(function(k){k.startTime>>0}},{key:"xyzInViewingConditions",value:function(a){var b=Math.pow((0===this.chroma||0===this.j?0:this.chroma/Math.sqrt(this.j/100))/Math.pow(1.64-Math.pow(.29,a.n),.73),1/.9),e=this.hue*Math.PI/180, g=a.aw*Math.pow(this.j/100,1/a.c/a.z)/a.nbb,f=Math.sin(e),h=Math.cos(e);b=23*(g+.305)*b/(5E4/13*(Math.cos(e+2)+3.8)*5.75*a.nc*a.ncb+11*b*h+108*b*f);h*=b;e=b*f;b=(460*g+451*h+288*e)/1403;f=(460*g-891*h-261*e)/1403;g=(460*g-220*h-6300*e)/1403;h=Math.max(0,27.13*Math.abs(b)/(400-Math.abs(b)));h=qa(b)*(100/a.fl)*Math.pow(h,1/.42);b=Math.max(0,27.13*Math.abs(f)/(400-Math.abs(f)));f=qa(f)*(100/a.fl)*Math.pow(b,1/.42);b=Math.max(0,27.13*Math.abs(g)/(400-Math.abs(g)));g=qa(g)*(100/a.fl)*Math.pow(b,1/.42); h/=a.rgbD[0];f/=a.rgbD[1];a=g/a.rgbD[2];return[1.86206786*h-1.01125463*f+.14918677*a,.38752654*h+.62144744*f-.00897398*a,-.0158415*h-.03412294*f+1.04996444*a]}}],[{key:"fromInt",value:function(a){return c.fromIntInViewingConditions(a,Ja.DEFAULT)}},{key:"fromIntInViewingConditions",value:function(a,b){var e=(a&65280)>>8,g=a&255;a=Ua((a&16711680)>>16);e=Ua(e);var f=Ua(g);g=.41233895*a+.35762064*e+.18051042*f;var h=.2126*a+.7152*e+.0722*f;f=.01932141*a+.11916382*e+.95034478*f;a=b.rgbD[0]*(.401288*g+ .650173*h-.051461*f);e=b.rgbD[1]*(-.250268*g+1.204414*h+.045854*f);g=b.rgbD[2]*(-.002079*g+.048952*h+.953127*f);var l=Math.pow(b.fl*Math.abs(a)/100,.42);f=Math.pow(b.fl*Math.abs(e)/100,.42);h=Math.pow(b.fl*Math.abs(g)/100,.42);a=400*qa(a)*l/(l+27.13);f=400*qa(e)*f/(f+27.13);l=400*qa(g)*h/(h+27.13);var k=(11*a+-12*f+l)/11,m=(a+f-2*l)/9;e=180*Math.atan2(m,k)/Math.PI;e=0>e?e+360:360<=e?e-360:e;g=e*Math.PI/180;h=100*Math.pow((40*a+20*f+l)/20*b.nbb/b.aw,b.c*b.z);a=Math.pow(5E4/13*.25*(Math.cos((20.14> e?e+360:e)*Math.PI/180+2)+3.8)*b.nc*b.ncb*Math.sqrt(k*k+m*m)/((20*a+20*f+21*l)/20+.305),.9)*Math.pow(1.64-Math.pow(.29,b.n),.73);f=a*Math.sqrt(h/100);l=f*b.fLRoot;k=1/.0228*Math.log(1+.0228*l);return new c(e,f,h,4/b.c*Math.sqrt(h/100)*(b.aw+4)*b.fLRoot,l,50*Math.sqrt(a*b.c/(b.aw+4)),(1+100*.007)*h/(1+.007*h),k*Math.cos(g),k*Math.sin(g))}},{key:"fromJch",value:function(a,b,e){return c.fromJchInViewingConditions(a,b,e,Ja.DEFAULT)}},{key:"fromJchInViewingConditions",value:function(a,b,e,g){var f=b*g.fLRoot, h=e*Math.PI/180,l=1/.0228*Math.log(1+.0228*f);return new c(e,b,a,4/g.c*Math.sqrt(a/100)*(g.aw+4)*g.fLRoot,f,50*Math.sqrt(b/Math.sqrt(a/100)*g.c/(g.aw+4)),(1+100*.007)*a/(1+.007*a),l*Math.cos(h),l*Math.sin(h))}},{key:"fromUcs",value:function(a,b,e){return c.fromUcsInViewingConditions(a,b,e,Ja.DEFAULT)}},{key:"fromUcsInViewingConditions",value:function(a,b,e,g){var f=(Math.exp(.0228*Math.sqrt(b*b+e*e))-1)/.0228/g.fLRoot;b=180/Math.PI*Math.atan2(e,b);0>b&&(b+=360);return c.fromJchInViewingConditions(a/ (1-.007*(a-100)),f,b,g)}},{key:"fromXyzInViewingConditions",value:function(a,b,e,g){var f=g.rgbD[0]*(.401288*a+.650173*b-.051461*e),h=g.rgbD[1]*(-.250268*a+1.204414*b+.045854*e);a=g.rgbD[2]*(-.002079*a+.048952*b+.953127*e);var l=Math.pow(g.fl*Math.abs(f)/100,.42);e=Math.pow(g.fl*Math.abs(h)/100,.42);b=Math.pow(g.fl*Math.abs(a)/100,.42);f=400*qa(f)*l/(l+27.13);e=400*qa(h)*e/(e+27.13);l=400*qa(a)*b/(b+27.13);var k=(11*f+-12*e+l)/11,m=(f+e-2*l)/9;h=180*Math.atan2(m,k)/Math.PI;h=0>h?h+360:360<=h?h-360: h;a=h*Math.PI/180;b=100*Math.pow((40*f+20*e+l)/20*g.nbb/g.aw,g.c*g.z);f=Math.pow(5E4/13*.25*(Math.cos((20.14>h?h+360:h)*Math.PI/180+2)+3.8)*g.nc*g.ncb*Math.sqrt(k*k+m*m)/((20*f+20*e+21*l)/20+.305),.9)*Math.pow(1.64-Math.pow(.29,g.n),.73);e=f*Math.sqrt(b/100);l=e*g.fLRoot;k=Math.log(1+.0228*l)/.0228;return new c(h,e,b,4/g.c*Math.sqrt(b/100)*(g.aw+4)*g.fLRoot,l,50*Math.sqrt(f*g.c/(g.aw+4)),(1+100*.007)*b/(1+.007*b),k*Math.cos(a),k*Math.sin(a))}}])}(),Ia=function(){function c(){sa(this,c)}return ta(c, null,[{key:"sanitizeRadians",value:function(a){return(a+8*Math.PI)%(2*Math.PI)}},{key:"trueDelinearized",value:function(a){a/=100;return 255*(.0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055)}},{key:"chromaticAdaptation",value:function(a){var b=Math.pow(Math.abs(a),.42);return 400*qa(a)*b/(b+27.13)}},{key:"hueOf",value:function(a){var b=dc(a,c.SCALED_DISCOUNT_FROM_LINRGB);a=c.chromaticAdaptation(b[0]);var e=c.chromaticAdaptation(b[1]);b=c.chromaticAdaptation(b[2]);return Math.atan2((a+e-2*b)/9,(11* a+-12*e+b)/11)}},{key:"areInCyclicOrder",value:function(a,b,e){b=c.sanitizeRadians(b-a);a=c.sanitizeRadians(e-a);return b=a}},{key:"nthVertex",value:function(a,b){var e=c.Y_FROM_LINRGB[0], g=c.Y_FROM_LINRGB[1],f=c.Y_FROM_LINRGB[2],h=1>=b%4?0:100,l=0===b%2?0:100;if(4>b)return a=(a-h*g-l*f)/e,c.isBounded(a)?[a,h,l]:[-1,-1,-1];if(8>b)return a=(a-l*e-h*f)/g,c.isBounded(a)?[l,a,h]:[-1,-1,-1];a=(a-h*e-l*g)/f;return c.isBounded(a)?[h,l,a]:[-1,-1,-1]}},{key:"bisectToSegment",value:function(a,b){for(var e=[-1,-1,-1],g=e,f=0,h=0,l=!1,k=!0,m=0;12>m;m++){var n=c.nthVertex(a,m);if(!(0>n[0])){var q=c.hueOf(n);if(!l)g=e=n,h=f=q,l=!0;else if(k||c.areInCyclicOrder(f,q,h))k=!1,c.areInCyclicOrder(f,b, q)?(g=n,h=q):(e=n,f=q)}}return[e,g]}},{key:"midpoint",value:function(a,b){return[(a[0]+b[0])/2,(a[1]+b[1])/2,(a[2]+b[2])/2]}},{key:"criticalPlaneBelow",value:function(a){return Math.floor(a-.5)}},{key:"criticalPlaneAbove",value:function(a){return Math.ceil(a-.5)}},{key:"bisectToLimit",value:function(a,b){var e=c.bisectToSegment(a,b);a=e[0];var g=c.hueOf(a);e=e[1];for(var f=0;3>f;f++)if(a[f]!==e[f]){if(a[f]k&&!(1>=Math.abs(l-h));k++){var m=Math.floor((h+l)/2),n=c.setCoordinate(a,c.CRITICAL_PLANES[m],e,f),q=c.hueOf(n);c.areInCyclicOrder(g,b,q)?(e=n,l=m):(a=n,g=q,h=m)}}return c.midpoint(a,e)}},{key:"inverseChromaticAdaptation",value:function(a){var b=Math.abs(a);b=Math.max(0,27.13*b/(400-b));return qa(a)*Math.pow(b,1/.42)}},{key:"findResultByJ",value:function(a,b,e){var g=11*Math.sqrt(e),f=Ja.DEFAULT, h=1/Math.pow(1.64-Math.pow(.29,f.n),.73),l=5E4/13*(Math.cos(a+2)+3.8)*.25*f.nc*f.ncb,k=Math.sin(a);a=Math.cos(a);for(var m=0;5>m;m++){var n=g/100,q=Math.pow((0===b||0===g?0:b/Math.sqrt(n))*h,1/.9);n=f.aw*Math.pow(n,1/f.c/f.z)/f.nbb;q=23*(n+.305)*q/(23*l+11*q*a+108*q*k);var p=q*a,r=q*k,t=(460*n-891*p-261*r)/1403;q=(460*n-220*p-6300*r)/1403;n=c.inverseChromaticAdaptation((460*n+451*p+288*r)/1403);p=c.inverseChromaticAdaptation(t);q=c.inverseChromaticAdaptation(q);n=dc([n,p,q],c.LINRGB_FROM_SCALED_DISCOUNT); if(0>n[0]||0>n[1]||0>n[2])break;q=c.Y_FROM_LINRGB[0]*n[0]+c.Y_FROM_LINRGB[1]*n[1]+c.Y_FROM_LINRGB[2]*n[2];if(0>=q)break;if(4===m||.002>Math.abs(q-e)){if(100.01b||1E-4>e||99.9999>>0;a%=360;0>a&&(a+=360);a=a/180*Math.PI;e=Ba(e);b=c.findResultByJ(a,b,e);if(0!==b)return b;b=c.bisectToLimit(e,a);return fd(b)}}, {key:"solveToCam",value:function(a,b,e){return sb.fromInt(c.solveToInt(a,b,e))}}])}();E(Ia,"SCALED_DISCOUNT_FROM_LINRGB",[[.001200833568784504,.002389694492170889,2.795742885861124E-4],[5.891086651375999E-4,.0029785502573438758,3.270666104008398E-4],[1.0146692491640572E-4,5.364214359186694E-4,.0032979401770712076]]);E(Ia,"LINRGB_FROM_SCALED_DISCOUNT",[[1373.2198709594231,-1100.4251190754821,-7.278681089101213],[-271.815969077903,559.6580465940733,-32.46047482791194],[1.9622899599665666,-57.173814538844006, 308.7233197812385]]);E(Ia,"Y_FROM_LINRGB",[.2126,.7152,.0722]);E(Ia,"CRITICAL_PLANES",[.015176349177441876,.045529047532325624,.07588174588720938,.10623444424209313,.13658714259697685,.16693984095186062,.19729253930674434,.2276452376616281,.2579979360165119,.28835063437139563,.3188300904430532,.350925934958123,.3848314933096426,.42057480301049466,.458183274052838,.4976837250274023,.5391024159806381,.5824650784040898,.6277969426914107,.6751227633498623,.7244668422128921,.775853049866786,.829304845476233, .8848452951698498,.942497089126609,1.0022825574869039,1.0642236851973577,1.1283421258858297,1.1946592148522128,1.2631959812511864,1.3339731595349034,1.407011200216447,1.4823302800086415,1.5599503113873272,1.6398909516233677,1.7221716113234105,1.8068114625156377,1.8938294463134073,1.9832442801866852,2.075074464868551,2.1693382909216234,2.2660538449872063,2.36523901573795,2.4669114995532007,2.5710888059345764,2.6777882626779785,2.7870270208169257,2.898822059350997,3.0131901897720907,3.1301480604002863, 3.2497121605402226,3.3718988244681087,3.4967242352587946,3.624204428461639,3.754355295633311,3.887192587735158,4.022731918402185,4.160988767090289,4.301978482107941,4.445716283538092,4.592217266055746,4.741496401646282,4.893568542229298,5.048448422192488,5.20615066083972,5.3666897647573375,5.5300801301023865,5.696336044816294,5.865471690767354,6.037501145825082,6.212438385869475,6.390297286737924,6.571091626112461,6.7548350853498045,6.941541251256611,7.131223617812143,7.323895587840543,7.5195704746346665, 7.7182615035334345,7.919981813454504,8.124744458384042,8.332562408825165,8.543448553206703,8.757415699253682,8.974476575321063,9.194643831691977,9.417930041841839,9.644347703669503,9.873909240696694,10.106627003236781,10.342513269534024,10.58158024687427,10.8238400726681,11.069304815507364,11.317986476196008,11.569896988756009,11.825048221409341,12.083451977536606,12.345119996613247,12.610063955123938,12.878295467455942,13.149826086772048,13.42466730586372,13.702830557985108,13.984327217668513,14.269168601521828, 14.55736596900856,14.848930523210871,15.143873411576273,15.44220572664832,15.743938506781891,16.04908273684337,16.35764934889634,16.66964922287304,16.985093187232053,17.30399201960269,17.62635644741625,17.95219714852476,18.281524751807332,18.614349837764564,18.95068293910138,19.290534541298456,19.633915083172692,19.98083495742689,20.331304511189067,20.685334046541502,21.042933821039977,21.404114048223256,21.76888489811322,22.137256497705877,22.50923893145328,22.884842241736916,23.264076429332462, 23.6469514538663,24.033477234264016,24.42366364919083,24.817520537484558,25.21505769858089,25.61628489293138,26.021211842414342,26.429848230738664,26.842203703840827,27.258287870275353,27.678110301598522,28.10168053274597,28.529008062403893,28.96010235337422,29.39497283293396,29.83362889318845,30.276079891419332,30.722335150426627,31.172403958865512,31.62629557157785,32.08401920991837,32.54558406207592,33.010999283389665,33.4802739966603,33.953417292456834,34.430438229418264,34.911345834551085,35.39614910352207, 35.88485700094671,36.37747846067349,36.87402238606382,37.37449765026789,37.87891309649659,38.38727753828926,38.89959975977785,39.41588851594697,39.93615253289054,40.460400508064545,40.98864111053629,41.520882981230194,42.05713473317016,42.597404951718396,43.141702194811224,43.6900349931913,44.24241185063697,44.798841244188324,45.35933162437017,45.92389141541209,46.49252901546552,47.065252796817916,47.64207110610409,48.22299226451468,48.808024568002054,49.3971762874833,49.9904556690408,50.587870934119984, 51.189430279724725,51.79514187861014,52.40501387947288,53.0190544071392,53.637271562750364,54.259673423945976,54.88626804504493,55.517063457223934,56.15206766869424,56.79128866487574,57.43473440856916,58.08241284012621,58.734331877617365,59.39049941699807,60.05092333227251,60.715611475655585,61.38457167773311,62.057811747619894,62.7353394731159,63.417162620860914,64.10328893648692,64.79372614476921,65.48848194977529,66.18756403501224,66.89098006357258,67.59873767827808,68.31084450182222,69.02730813691093, 69.74813616640164,70.47333615344107,71.20291564160104,71.93688215501312,72.67524319850172,73.41800625771542,74.16517879925733,74.9167682708136,75.67278210128072,76.43322770089146,77.1981124613393,77.96744375590167,78.74122893956174,79.51947534912904,80.30219030335869,81.08938110306934,81.88105503125999,82.67721935322541,83.4778813166706,84.28304815182372,85.09272707154808,85.90692527145302,86.72564993000343,87.54890820862819,88.3767072518277,89.2090541872801,90.04595612594655,90.88742016217518,91.73345337380438, 92.58406282226491,93.43925555268066,94.29903859396902,95.16341895893969,96.03240364439274,96.9059996312159,97.78421388448044,98.6670533535366,99.55452497210776]);var Ja=function(){function c(a,b,e,g,f,h,l,k,m,n){sa(this,c);this.n=a;this.aw=b;this.nbb=e;this.ncb=g;this.c=f;this.nc=h;this.rgbD=l;this.fl=k;this.fLRoot=m;this.z=n}return ta(c,null,[{key:"make",value:function(){var a=0g?0:g;g=[100/f*g+1-g,100/h*g+1-g,100/l*g+1-g];var n= 1/(5*b+1);n*=n*n*n;var q=1-n;b=n*b+.1*q*q*Math.cbrt(5*b);a=Ba(e)/a[1];e=.725/Math.pow(a,.2);f=[Math.pow(b*g[0]*f/100,.42),Math.pow(b*g[1]*h/100,.42),Math.pow(b*g[2]*l/100,.42)];f=[400*f[0]/(f[0]+27.13),400*f[1]/(f[1]+27.13),400*f[2]/(f[2]+27.13)];return new c(a,(2*f[0]+f[1]+.05*f[2])*e,e,e,m,k,g,b,Math.pow(b,.25),1.48+Math.sqrt(a))}}])}();E(Ja,"DEFAULT",Ja.make());var Mf=function(){function c(){sa(this,c)}return ta(c,null,[{key:"ratioOfTones",value:function(a,b){b=0>b?0:100 a?0:100b?a:b;return(e+5)/((e===b?a:b)+5)}},{key:"lighter",value:function(a,b){if(0>a||100b||100a||100b||100a?100:a}},{key:"darkerUnsafe",value:function(a,b){a=c.darker(a,b);return 0>a?0:a}}])}(),Nf=[1.12,1.33,2.03,2.73,3.33,4.27,5.2,6.62,12.46,14.25],Of=[1.08,1.24,1.55,1.99,2.45,3.34,4.64,6.1,10.19,12.6],Sd=function(c,a){var b=0,e=null;c.forEach(function(g,f){g=wb(g);var h=wb(a);g=Vc(g);var l=Vc(h);h=g[0]-l[0];var k=g[1]-l[1],m=g[2]-l[2];g=Math.sqrt(g[1]*g[1]+g[2]*g[2]);l=g-Math.sqrt(l[1]*l[1]+l[2]*l[2]);k=k*k+m*m-l*l;k=0>k?0:Math.sqrt(k);h/=1;m=l/(1+.045* g);g=k/(1+.015*g);g=h*h+m*m+g*g;g=0>g?0:Math.sqrt(g);if(null===e||gXb(a[0],a[1],a[2])?Nf:Of;var b=$d(c),e=Rd.fromInt(re({r:b[0],g:b[1],b:b[2],a:b[3]}));a=a.map(function(f){f=Rd.from(e.hue,e.chroma,Mf.darker(100,f)+.25).toInt();return"#"+(16777216+((f>>16&255)<<16)+((f>>8&255)<<8)+(f&255)).toString(16).slice(1)});b=Sd(a,c);var g=zb(a);g[b]=c;return{ramp:g,replacedColor:a[b]}},Pf=function(c,a,b){var e=ec(c),g=e.ramp;e=e.replacedColor; g=b||g;var f=Sd(g,c),h={},l={};b=Yb(c,"#FFFFFF");if(4.5<=b){e=jd(f,2,g);h=oa(e,2);e=h[0];h=h[1];var k=f;5.4>b&&4.8<=b&&6===f&&(k=f+1);g=jd(k,1,g);g=oa(g,1)[0];h={"color.text.brand":k,"color.icon.brand":f,"color.background.brand.subtlest":0,"color.background.brand.subtlest.hovered":1,"color.background.brand.subtlest.pressed":2,"color.background.brand.bold":f,"color.background.brand.bold.hovered":e,"color.background.brand.bold.pressed":h,"color.background.brand.boldest":9,"color.background.brand.boldest.hovered":8, "color.background.brand.boldest.pressed":7,"color.border.brand":f,"color.text.selected":k,"color.icon.selected":f,"color.background.selected.bold":f,"color.background.selected.bold.hovered":e,"color.background.selected.bold.pressed":h,"color.border.selected":f,"color.link":k,"color.link.pressed":g,"color.chart.brand":5,"color.chart.brand.hovered":6,"color.background.selected":0,"color.background.selected.hovered":1,"color.background.selected.pressed":2}}else g=6,4.5>b&&4<=b&&6===f&&(g=e),h={"color.background.brand.subtlest":0, "color.background.brand.subtlest.hovered":1,"color.background.brand.subtlest.pressed":2,"color.background.brand.bold":g,"color.background.brand.bold.hovered":7,"color.background.brand.bold.pressed":8,"color.background.brand.boldest":9,"color.background.brand.boldest.hovered":8,"color.background.brand.boldest.pressed":7,"color.border.brand":6,"color.background.selected.bold":g,"color.background.selected.bold.hovered":7,"color.background.selected.bold.pressed":8,"color.text.brand":6,"color.icon.brand":6, "color.chart.brand":5,"color.chart.brand.hovered":6,"color.text.selected":6,"color.icon.selected":6,"color.border.selected":6,"color.background.selected":0,"color.background.selected.hovered":1,"color.background.selected.pressed":2,"color.link":6,"color.link.pressed":7};if("light"===a)return{light:h};Object.entries(h).forEach(function(m){m=oa(m,2);var n=m[1];l[m[0]]=9-("string"===typeof n?f:n)});4.5>b&&4.5<=Yb(Fc["color.text.inverse"],c)&&2<=f&&(l["color.background.brand.bold"]=f,l["color.background.brand.bold.hovered"]= f-1,l["color.background.brand.bold.pressed"]=f-2);return"dark"===a?{dark:l}:{light:h,dark:l}},se=function(c,a,b){var e=b||ec(c).ramp;c=Pf(c,a,e);var g={};Object.entries(c).forEach(function(f){var h=oa(f,2);f=h[0];h=h[1];if("light"===f||"dark"===f)g[f]=id(id({},h),Kf({customThemeTokenMap:h,mode:f,themeRamp:e}))});return g},Cf=Object.freeze({__proto__:null,CUSTOM_STYLE_ELEMENTS_SIZE_THRESHOLD:10,getCustomThemeStyles:kd,loadAndAppendCustomThemeCss:function(c){c=kd(c);he(10);c.map(function(a){var b=document.createElement("style"); document.head.appendChild(b);b.dataset.theme=a.attrs["data-theme"];b.dataset.customTheme=a.attrs["data-custom-theme"];b.textContent=a.css})}});return B}();(function(){function M(w){if("string"===typeof w&&1"+z+"\x3c/script>"); D.close()}function W(w,z){if("number"!==typeof w)return window.top;z=z||window;for(var D=0;D{w[L]&&(D[L]=w[L])});return Object.assign({},D,z)}function G(w,z){var D=document.getElementById(z.containerId);window._AP.addonAttemptCounter[z.containerId]++;if(D)if(delete window._AP.addonAttemptCounter[z.containerId], window._AP.isSubHost)D.appendChild(w),R(w,z);else{var L=D.querySelector(".ap-iframe-container");L&&(L.parentNode.removeChild(L),AJS.log&&AJS.log("AJS: duplicate iframe removed",z,D));w.appendTo(D);w.data("addon-key",z.addon_key);w.data("key",z.key)}else 10>=window._AP.addonAttemptCounter[z.containerId]&&I(function(){G(w,z)})}var I=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(w){window.setTimeout(w,50)}}(),X=function(w, z){return w.getExtensions(z).filter(function(D){return!!document.getElementById(D.extension_id)})},A=function(w,z,D){try{var L=require(w);z(L)}catch(C){0>=D?(console.error("Unable to load module: "+w),z(null)):setTimeout(function(){A(w,z,D-1)},500)}},P=function(w,z,D,L,C){"undefined"===typeof L&&(L=20);C=C||500;!w.isModuleDefined||0>=L?D():w.isModuleDefined(z)?D(!0):setTimeout(function(){P(w,z,D,L-1,C)},C)};window._AP=window._AP||{};window._AP.addonAttemptCounter=window._AP.addonAttemptCounter||{}; window._AP._convertConnectOptions=function(w){var z={url:w.url,ns:w.uniqueKey,addon_key:w.addon_key,key:w.key,containerId:"embedded-"+w.uniqueKey,options:{history:{state:""},uniqueKey:w.uniqueKey,origin:w.origin,hostOrigin:w.hostOrigin,moduleType:w.moduleType,moduleLocation:w.moduleLocation,isFullPage:"1"===w.general,autoresize:!0,user:{timeZone:w.timeZone,fullName:w.fullName,uid:w.uid,ukey:w.ukey},productContext:M(w.productCtx),structuredContext:M(w.structuredContext),contextJwt:w.contextJwt,contextPath:w.cp, width:w.w||w.width,height:w.h||w.height,sandbox:w.sandbox,pearApp:w.pearApp,noSub:w.noSub,allowPathTraversal:w.allowPathTraversal,targets:{env:{resize:"both"}}}};"string"===typeof w.contentClassifier&&(z.options.contentClassifier=w.contentClassifier);"number"===typeof w.hostFrameOffset&&(z.options.hostFrameOffset=w.hostFrameOffset+1);window._AP.isSubHost||(z.options.history.state=window.location.hash?window.location.hash.substr(2):"");return z};window._AP._createSub=function(w){var z=document.createElement("iframe"), D=(window.connectHost||window.AP).subCreate(w);D.width=w.options.width||"";D.height=w.options.height||"";D.style="border:0;";D["class"]="ap-iframe";D["data-addon-key"]=w.addon_key;D["data-key"]=w.key;delete D.src;Object.getOwnPropertyNames(D).forEach(function(L){z.setAttribute(L,D[L])});return z};window._AP.appendConnectAddon=function(w){var z=!1;try{window.top.karma&&(z=!0)}catch(L){}"undefined"===typeof w.hostFrameOffset&&"undefined"!==typeof window.connectHostFrameOffset&&(w.hostFrameOffset=window.connectHostFrameOffset); window.AJS&&window.AJS.Confluence?-1!==window.name.indexOf("embedded-confluence-iframe")&&(w.hostFrameOffset=0):window.connectHost&&!window.AP&&(w.hostFrameOffset=0);if(window===window.top||z||"undefined"!==typeof w.hostFrameOffset)/^com\.atlassian\.(jira|confluence)\.emcee($|\.local|\.staging|\.development\..*)/g.test(w.addon_key)?A("ac/marketplace",function(L){L&&Y("connectHost",function(C){C.defineModule("marketplace",L)});Q(w)},20):"com.addonengine.analytics"===w.addon_key?Y("connectHost",function(L){P(L, "analytics",function(){Q(w)})}):Q(w);else{var D=function(L){L.source===window.top&&L.data&&void 0!==L.data.hostFrameOffset&&(window.removeEventListener("message",D),w.hostFrameOffset=L.data.hostFrameOffset,Q(w))};window.addEventListener("message",D);window.top.postMessage({type:"get_host_offset"},"*")}}})();function _defineProperty(M,R,W){return R in M?Object.defineProperty(M,R,{value:W,enumerable:!0,configurable:!0,writable:!0}):M[R]=W,M} !function(){function M(C,O){for(var ba=0,ra=C.length;ba{"string"===typeof G&&("object"===typeof I?(I.url=G,G=I):G={url:G});if(G.success){const {success:P}=G;delete G.success;const w=G.error||function(){};delete G.error;I=function(z,D,L){!1===z?P(L,"success",Y(D)):w(Y(D),"error",z)}}else"function"!==typeof I&&(I=function(P,w, z){!1===P?X({body:z,xhr:Y(w)}):A({xhr:Y(w),err:P})});"multipart/form-data"===G.contentType&&Object.keys(G.data).forEach(function(P){const w=G.data[P];Array.isArray(w)?w.forEach(function(z,D){G.data[P][D]=W(z)}):G.data[P]=W(w)});aa(G,I)})}if(AP._hostModules&&AP._hostModules._globals&&AP._hostModules._globals.request){try{new File([],"")}catch(G){File=function(I,X,A){I=new Blob(I,A);I.name=X;I.lastModifiedDate=new Date;return I}}var aa=AP._hostModules._globals.request.bind({});AP._hostModules._globals.request= Q;AP.request=Q}})();AP._hostModules.user&&AP._hostModules.env&&Object.getOwnPropertyNames(AP._hostModules.user).forEach(function(M){AP[M]=AP.env[M]=AP._hostModules.env[M]=AP._hostModules.user[M]});AP.env&&(AP.getLocation=AP._hostModules._globals.getLocation=AP._hostModules.env.getLocation,AP.sizeToParent=AP._hostModules._globals.sizeToParent=AP._hostModules.env.sizeToParent); if(AP._hostModules.dialog&&AP._hostModules.Dialog){function M(R){R(!AP._data.options.preventDialogCloseOnEscape)}AP._hostModules.dialog.isCloseOnEscape=AP._hostModules.Dialog.isCloseOnEscape=M;AP.dialog.isCloseOnEscape=AP.Dialog.isCloseOnEscape=M};if(AP._hostModules.confluence){var original_onMacroPropertyPanelEvent=AP._hostModules.confluence.onMacroPropertyPanelEvent.bind({});AP.confluence.onMacroPropertyPanelEvent=AP._hostModules.confluence.onMacroPropertyPanelEvent=function(M){AP.register(M);original_onMacroPropertyPanelEvent()}};