@atlaskit/embedded-confluence 1.6.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/embedded-confluence
2
2
 
3
+ ## 1.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`df6307e601e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df6307e601e) - Revert "Powered by Confluence" footer display order change to fix a UI regression bug happening on Project Pages
8
+
3
9
  ## 1.6.1
4
10
 
5
11
  ### Patch Changes
@@ -56,4 +56,4 @@
56
56
  && {
57
57
  margin-top: 30px;
58
58
  }
59
- `,Ba={loginAriaLabel:{id:"embedded.confluence.login-page.login-button.aria-label",description:"The aria label for login button",defaultMessage:"Login Button"},loginText:{id:"embedded.confluence.login-page.login-text",description:"Text to display before login button",defaultMessage:"Log in to collaborate with your team"},loginButton:{id:"embedded.confluence.login-page.login-button",description:"The label for login button",defaultMessage:"Log in to Confluence"}},Ga=e=>{let{url:t}=e;const r=i.a.useMemo(()=>{var e,r;return`${t?new URL(t).origin:null===(e=window)||void 0===e||null===(r=e.location)||void 0===r?void 0:r.origin}/login?application=confluence&dest-url=${encodeURIComponent("/wiki/embed/login-confirmation")}`},[t]),{formatMessage:n}=hn();return i.a.createElement(Na,null,i.a.createElement(ya,{size:"large",appearance:"brand"}),i.a.createElement(Ia,null),i.a.createElement(Ra,null,n(Ba.loginText)),i.a.createElement(Ua,{"aria-label":n(Ba.loginAriaLabel),appearance:"primary",onClick:()=>function(e){window.open(e,"_blank","popup=yes,left=100,top=100,width=640,height=640")}(r)},n(Ba.loginButton)))};function za(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 Va(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?za(Object(r),!0).forEach((function(t){Za(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):za(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Ha,$a,Wa,qa;function Ka(e,t){switch(t.subject){case Ha.STORAGE_ACCESS:switch(t.status){case Wa.GRANTED:return Va(Va({},e),{},{iframeLoaded:!1,contentLoadStarted:!1,shouldAskStorageAccess:!1});case Wa.REJECTED:return Va(Va({},e),{},{iframeLoaded:!1,contentLoadStarted:!1,shouldAskStorageAccess:!1,shouldAskToLogin:!0});case Wa.NOT_SUPPORTED:return Va(Va({},e),{},{iframeLoaded:!1,contentLoadStarted:!1,shouldAskToLogin:!0,shouldAskStorageAccess:!1});case Wa.ERROR:return Va({},e)}break;case Ha.LOGIN_CONFIRMATION:switch(t.status){case qa.SUCCESS:return Va(Va({},e),{},{iframeLoaded:!1,contentLoadStarted:!1,shouldAskToLogin:!1})}break;case Ha.CONTENT_LOAD:switch(t.status){case $a.IFRAME_LOADED:return Va(Va({},e),{},{iframeLoaded:!0});case $a.CONTENT_LOAD_STARTED:return Va(Va({},e),{},{contentLoadStarted:!0})}}}!function(e){e.STORAGE_ACCESS="storage-access",e.LOGIN_CONFIRMATION="login-confirmation",e.CONTENT_LOAD="content-load"}(Ha||(Ha={})),function(e){e.IFRAME_LOADED="iframe-loaded",e.CONTENT_LOAD_STARTED="content-load-started"}($a||($a={})),function(e){e.GRANTED="granted",e.REJECTED="rejected",e.NOT_SUPPORTED="not-supported",e.ERROR="error"}(Wa||(Wa={})),function(e){e.SUCCESS="success"}(qa||(qa={}));function Xa(){return(Xa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const Ya=()=>{},Ja=e=>{const{standaloneConfluenceUrl:t,embeddedConfluenceUrl:r}=an(e);return!!r&&window.location.origin===new URL(r).origin?e.children({handleIframeOnLoad:Ya,handleContentLoadStarted:Ya}):i.a.createElement(Qa,Xa({key:r||e.contentId,standaloneConfluenceUrl:t,embeddedConfluenceUrl:r,allowedFeatures:e.allowedFeatures},e))},Qa=e=>{var t;let{children:r,standaloneConfluenceUrl:n,embeddedConfluenceUrl:o,allowedFeatures:c,parentProduct:s}=e;const l=Object(a.useRef)(null),{state:u,dispatch:d}=(()=>{const[e,t]=Object(a.useReducer)(Ka,{iframeLoaded:!1,contentLoadStarted:!1,shouldAskStorageAccess:!0,shouldAskToLogin:!0}),r=Object(a.useCallback)(e=>{var r;const{subject:n,result:o}=null!==(r=e.data)&&void 0!==r?r:{};if(n&&o)switch(n){case Ha.STORAGE_ACCESS:switch(o){case Wa.GRANTED:t({subject:Ha.STORAGE_ACCESS,status:Wa.GRANTED});break;case Wa.REJECTED:t({subject:Ha.STORAGE_ACCESS,status:Wa.REJECTED});break;case Wa.NOT_SUPPORTED:t({subject:Ha.STORAGE_ACCESS,status:Wa.NOT_SUPPORTED});break;case Wa.ERROR:t({subject:Ha.STORAGE_ACCESS,status:Wa.ERROR})}break;case Ha.LOGIN_CONFIRMATION:switch(o){case qa.SUCCESS:t({subject:Ha.LOGIN_CONFIRMATION,status:qa.SUCCESS})}}},[]);return Object(a.useEffect)(()=>(window.addEventListener("message",r),()=>window.removeEventListener("message",r)),[r]),{state:e,dispatch:t}})(),{iframeLoaded:f,contentLoadStarted:p,shouldAskStorageAccess:b,shouldAskToLogin:g}=u,h=null!==(t=null==c?void 0:c.includes("login-dev-only"))&&void 0!==t&&t,m=()=>{const e="/wiki/embed/storage-access?parentProduct="+s;return(o?new URL(o).origin:window.location.origin)+e};if(!(f&&!p))return r({handleIframeOnLoad:()=>{d({subject:Ha.CONTENT_LOAD,status:$a.IFRAME_LOADED})},handleContentLoadStarted:()=>{d({subject:Ha.CONTENT_LOAD,status:$a.CONTENT_LOAD_STARTED})}});if(h){if(b)return i.a.createElement(Yr,{src:m(),ref:l});if(g)return i.a.createElement(Ga,{url:o})}return i.a.createElement(Sa,{standaloneConfluenceUrl:n})};function ei(e){var t=hn(),r=t.formatMessage,n=t.textComponent,o=void 0===n?a.Fragment:n,i=e.id,c=e.description,s=e.defaultMessage,l=e.values,u=e.children,d=e.tagName,f=void 0===d?o:d,p=r({id:i,description:c,defaultMessage:s},l,{ignoreTag:e.ignoreTag});return"function"==typeof u?u(Array.isArray(p)?p:[p]):f?a.createElement(f,null,a.Children.toArray(p)):a.createElement(a.Fragment,null,p)}ei.displayName="FormattedMessage";var ti=a.memo(ei,(function(e,t){var r=e.values,n=u(e,["values"]),o=t.values,a=u(t,["values"]);return qe(o,r)&&qe(n,a)}));ti.displayName="MemoizedFormattedMessage";var ri=ti,ni=r(6);function oi(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 ai(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ii(e){let{fn:t,action:r,componentName:n,packageName:o,packageVersion:i,analyticsData:c}=e;const{createAnalyticsEvent:s}=Yt(),l=wn(c),u=wn(t);return Object(a.useCallback)(()=>{const e=s({action:r,actionSubject:n,attributes:{componentName:n,packageName:o,packageVersion:i}}),t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(r),!0).forEach((function(t){ai(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({componentName:n,packageName:o,packageVersion:i},l.current);e.context.push(t);const a=e.clone();a&&a.fire("atlaskit"),u.current(e)},[r,n,o,i,s,l,u])}const ci=()=>"undefined"!=typeof window&&"matchMedia"in window,si=()=>{if(!ci())return!1;const{matches:e}=window.matchMedia("(prefers-reduced-motion: reduce)");return e},li={appear:!0,isExiting:!1},ui=Object(a.createContext)(li),di=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:li;return i.a.createElement(ui.Provider,{key:e.key+"-provider",value:t},e)},fi=e=>e.reduce((e,t)=>(e[t.key]=t,e),{}),pi=Object(a.memo)(e=>{let{appear:t=!1,children:r,exitThenEnter:n}=e;const o=(e=>{const t=[];return a.Children.toArray(e).forEach(e=>{"boolean"!=typeof e&&Boolean(e)&&t.push(e)}),t})(r),i=fi(o),c=Object(a.useRef)([]),s=Object(a.useRef)([]),l=(()=>{const[,e]=Object(a.useState)({});return Object(a.useCallback)(()=>e({}),[])})(),u=Object(a.useRef)({}),d=Object(a.useRef)(t),f=Object(a.useMemo)(()=>({appear:d.current,isExiting:!1}),[d.current]);return si()?o:(d.current||(d.current=!0),c.current.length&&((e,t)=>{for(let r=0;r<t.length;r++){if(!e[t[r].key])return!0}return!1})(i,c.current)?((0===s.current.length||((e,t)=>{let r=!1;return t.forEach(t=>{e.current[t.key]&&(r=!0,delete e.current[t.key])}),r})(u,o))&&(s.current=c.current),c.current=o,(n?s.current:((e,t)=>{const r=t.concat([]),n=fi(t);for(let t=0;t<e.length;t++){const o=e[t];!n[o.key]&&r.splice(t+1,0,o)}return r})(o,s.current)).map(e=>{const t=i[e.key];return t?di(t,f):(u.current[e.key]=!0,di(e,{isExiting:!0,appear:!0,onFinish:()=>{delete u.current[e.key],0===Object.keys(u.current).length&&(c.current=[],s.current=[],l())}}))})):(c.current=o,o.map(e=>di(e,f))))});pi.displayName="ExitingPersistence";var bi=pi;const gi=700,hi=e=>{switch(e.cleanup){case"next-effect":return;case"unmount":default:return[]}},mi=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{cleanup:"unmount"};const t=Object(a.useRef)([]);return Object(a.useEffect)(()=>()=>{t.current.length&&(t.current.forEach(e=>clearTimeout(e)),t.current=[])},hi(e)),Object(a.useCallback)((function(e,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];const i=setTimeout(()=>{t.current=t.current.filter(e=>e!==i),e()},r,...o);t.current.push(i)}),[])};"undefined"==typeof window?a.useEffect:a.useLayoutEffect;const yi=Object(a.createContext)(()=>({isReady:!0,delay:0,ref:Ln})),vi=()=>{const e=function(){const e=Object(a.useRef)("");return e.current||(e.current="_"+(Number(String(Math.random()).slice(2))+Date.now()+Math.round(performance.now())).toString(36)),e.current}();return Object(a.useContext)(yi)(e)};function Oi(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 Ci(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oi(Object(r),!0).forEach((function(t){ki(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ki(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ei=e=>{let{children:t,animationTimingFunction:r,enteringAnimation:n,exitingAnimation:o,isPaused:c,onFinish:s,duration:l=gi}=e;const u=vi(),{isExiting:d,onFinish:f,appear:p}=Object(a.useContext)(ui),b=mi(),g=c||!u.isReady,h=d?0:u.delay,m=d?"exiting":"entering",[y,v]=Object(a.useState)(p);return Object(a.useEffect)(()=>{let e=!1;if(!g){if(p)return v(!0),b(()=>{"exiting"===m&&f&&f(),e||v(!1),s&&s(m)},d?.5*l:l+h),()=>{e=!0};s&&s(m)}},[f,m,d,l,h,g,b]),i.a.createElement(En.a,null,e=>{let{css:a}=e;return t({ref:u.ref,className:y?a(Ci(Ci({},{"@media (prefers-reduced-motion: reduce)":{animation:"none",transition:"none"}}),{},{animationDelay:h+"ms",animationDuration:(d?.5*l:l)+"ms",animationFillMode:d?"forwards":"backwards",animationName:""+Object(En.d)(d&&o||n),animationPlayState:g?"paused":"running",animationTimingFunction:r(m)})):""},m)})};function wi(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 xi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wi(Object(r),!0).forEach((function(t){ji(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ji(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _i={proportional:{bottom:"translate3d(0, calc(5% + 4px), 0)",left:"translate3d(calc(-5% - 4px), 0, 0)",right:"translate3d(calc(5% + 4px), 0, 0)",top:"translate3d(0, calc(-5% - 4px), 0)"},constant:{bottom:"translate3d(0, 4px, 0)",left:"translate3d(-4px, 0, 0)",right:"translate3d(4px, 0, 0)",top:"translate3d(0, -4px, 0)"}},Li={top:"bottom",bottom:"top",left:"right",right:"left"},Si=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"proportional";return{from:xi({opacity:0},void 0!==e&&{transform:_i[t][e]}),"50%":{opacity:1},to:{transform:void 0!==e?"none":void 0}}},Ai=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"proportional";return{from:{opacity:1,transform:void 0!==e?"translate3d(0, 0, 0)":void 0},to:xi({opacity:0},void 0!==e&&{transform:_i[t][e]})}};var Fi=e=>{let{children:t,duration:r=gi,entranceDirection:n,exitDirection:o,distance:a="proportional",onFinish:c,isPaused:s}=e;const l=n&&Li[n];return i.a.createElement(Ei,{duration:r,enteringAnimation:Si(n,a),exitingAnimation:Ai(o||l,a),animationTimingFunction:()=>"cubic-bezier(0.15,1,0.3,1)",onFinish:c,isPaused:s},t)},Pi=a.createContext();a.createContext();var Ti=function(e,t){if("function"==typeof e)return function(e){if("function"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.apply(void 0,r)}}(e,t);null!=e&&(e.current=t)},Mi=function(e){return e.reduce((function(e,t){var r=t[0],n=t[1];return e[r]=n,e}),{})},Di="undefined"!=typeof window&&window.document&&window.document.createElement?a.useLayoutEffect:a.useEffect;function Ni(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Ii(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ri(e){var t=Ii(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ui(e){return e instanceof Ii(e).Element||e instanceof Element}function Bi(e){return e instanceof Ii(e).HTMLElement||e instanceof HTMLElement}function Gi(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ii(e).ShadowRoot||e instanceof ShadowRoot)}function zi(e){return e?(e.nodeName||"").toLowerCase():null}function Vi(e){return((Ui(e)?e.ownerDocument:e.document)||window.document).documentElement}function Zi(e){return Ni(Vi(e)).left+Ri(e).scrollLeft}function Hi(e){return Ii(e).getComputedStyle(e)}function $i(e){var t=Hi(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Wi(e,t,r){void 0===r&&(r=!1);var n,o,a=Vi(t),i=Ni(e),c=Bi(t),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(c||!c&&!r)&&(("body"!==zi(t)||$i(a))&&(s=(n=t)!==Ii(n)&&Bi(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:Ri(n)),Bi(t)?((l=Ni(t)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Zi(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function qi(e){var t=Ni(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Ki(e){return"html"===zi(e)?e:e.assignedSlot||e.parentNode||(Gi(e)?e.host:null)||Vi(e)}function Xi(e,t){var r;void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(zi(t))>=0?t.ownerDocument.body:Bi(t)&&$i(t)?t:e(Ki(t))}(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=Ii(n),i=o?[a].concat(a.visualViewport||[],$i(n)?n:[]):n,c=t.concat(i);return o?c:c.concat(Xi(Ki(i)))}function Yi(e){return["table","td","th"].indexOf(zi(e))>=0}function Ji(e){return Bi(e)&&"fixed"!==Hi(e).position?e.offsetParent:null}function Qi(e){for(var t=Ii(e),r=Ji(e);r&&Yi(r)&&"static"===Hi(r).position;)r=Ji(r);return r&&("html"===zi(r)||"body"===zi(r)&&"static"===Hi(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Bi(e)&&"fixed"===Hi(e).position)return null;for(var r=Ki(e);Bi(r)&&["html","body"].indexOf(zi(r))<0;){var n=Hi(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var ec="top",tc="bottom",rc="right",nc="left",oc=[ec,tc,rc,nc],ac=oc.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),ic=[].concat(oc,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),cc=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function sc(e){var t=new Map,r=new Set,n=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||function e(o){r.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(n){if(!r.has(n)){var o=t.get(n);o&&e(o)}})),n.push(o)}(e)})),n}var lc={placement:"bottom",modifiers:[],strategy:"absolute"};function uc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function dc(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,a=void 0===o?lc:o;return function(e,t,r){void 0===r&&(r=a);var o,i,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},lc,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,u={state:c,setOptions:function(r){d(),c.options=Object.assign({},a,c.options,r),c.scrollParents={reference:Ui(e)?Xi(e):e.contextElement?Xi(e.contextElement):[],popper:Xi(t)};var o=function(e){var t=sc(e);return cc.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}(function(e){var t=e.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,c.options.modifiers)));return c.orderedModifiers=o.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var a=o({state:c,name:t,instance:u,options:n});s.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!l){var e=c.elements,t=e.reference,r=e.popper;if(uc(t,r)){c.rects={reference:Wi(t,Qi(r),"fixed"===c.options.strategy),popper:qi(r)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<c.orderedModifiers.length;n++)if(!0!==c.reset){var o=c.orderedModifiers[n],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(c=a({state:c,options:s,name:d,instance:u})||c)}else c.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(c)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),l=!0}};if(!uc(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(r).then((function(e){!l&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var fc={passive:!0};var pc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,c=void 0===i||i,s=Ii(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",r.update,fc)})),c&&s.addEventListener("resize",r.update,fc),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",r.update,fc)})),c&&s.removeEventListener("resize",r.update,fc)}},data:{}};function bc(e){return e.split("-")[0]}function gc(e){return e.split("-")[1]}function hc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function mc(e){var t,r=e.reference,n=e.element,o=e.placement,a=o?bc(o):null,i=o?gc(o):null,c=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2;switch(a){case ec:t={x:c,y:r.y-n.height};break;case tc:t={x:c,y:r.y+r.height};break;case rc:t={x:r.x+r.width,y:s};break;case nc:t={x:r.x-n.width,y:s};break;default:t={x:r.x,y:r.y}}var l=a?hc(a):null;if(null!=l){var u="y"===l?"height":"width";switch(i){case"start":t[l]=t[l]-(r[u]/2-n[u]/2);break;case"end":t[l]=t[l]+(r[u]/2-n[u]/2)}}return t}var yc={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=mc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},vc=Math.max,Oc=Math.min,Cc=Math.round,kc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ec(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.offsets,i=e.position,c=e.gpuAcceleration,s=e.adaptive,l=e.roundOffsets,u=!0===l?function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:Cc(Cc(t*n)/n)||0,y:Cc(Cc(r*n)/n)||0}}(a):"function"==typeof l?l(a):a,d=u.x,f=void 0===d?0:d,p=u.y,b=void 0===p?0:p,g=a.hasOwnProperty("x"),h=a.hasOwnProperty("y"),m=nc,y=ec,v=window;if(s){var O=Qi(r),C="clientHeight",k="clientWidth";O===Ii(r)&&"static"!==Hi(O=Vi(r)).position&&(C="scrollHeight",k="scrollWidth"),O=O,o===ec&&(y=tc,b-=O[C]-n.height,b*=c?1:-1),o===nc&&(m=rc,f-=O[k]-n.width,f*=c?1:-1)}var E,w=Object.assign({position:i},s&&kc);return c?Object.assign({},w,((E={})[y]=h?"0":"",E[m]=g?"0":"",E.transform=(v.devicePixelRatio||1)<2?"translate("+f+"px, "+b+"px)":"translate3d("+f+"px, "+b+"px, 0)",E)):Object.assign({},w,((t={})[y]=h?b+"px":"",t[m]=g?f+"px":"",t.transform="",t))}var wc={left:"right",right:"left",bottom:"top",top:"bottom"};function xc(e){return e.replace(/left|right|bottom|top/g,(function(e){return wc[e]}))}var jc={start:"end",end:"start"};function _c(e){return e.replace(/start|end/g,(function(e){return jc[e]}))}function Lc(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Gi(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Sc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ac(e,t){return"viewport"===t?Sc(function(e){var t=Ii(e),r=Vi(e),n=t.visualViewport,o=r.clientWidth,a=r.clientHeight,i=0,c=0;return n&&(o=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,c=n.offsetTop)),{width:o,height:a,x:i+Zi(e),y:c}}(e)):Bi(t)?function(e){var t=Ni(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Sc(function(e){var t,r=Vi(e),n=Ri(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=vc(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=vc(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-n.scrollLeft+Zi(e),s=-n.scrollTop;return"rtl"===Hi(o||r).direction&&(c+=vc(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:c,y:s}}(Vi(e)))}function Fc(e,t,r){var n="clippingParents"===t?function(e){var t=Xi(Ki(e)),r=["absolute","fixed"].indexOf(Hi(e).position)>=0&&Bi(e)?Qi(e):e;return Ui(r)?t.filter((function(e){return Ui(e)&&Lc(e,r)&&"body"!==zi(e)})):[]}(e):[].concat(t),o=[].concat(n,[r]),a=o[0],i=o.reduce((function(t,r){var n=Ac(e,r);return t.top=vc(n.top,t.top),t.right=Oc(n.right,t.right),t.bottom=Oc(n.bottom,t.bottom),t.left=vc(n.left,t.left),t}),Ac(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Pc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Tc(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function Mc(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,a=r.boundary,i=void 0===a?"clippingParents":a,c=r.rootBoundary,s=void 0===c?"viewport":c,l=r.elementContext,u=void 0===l?"popper":l,d=r.altBoundary,f=void 0!==d&&d,p=r.padding,b=void 0===p?0:p,g=Pc("number"!=typeof b?b:Tc(b,oc)),h="popper"===u?"reference":"popper",m=e.elements.reference,y=e.rects.popper,v=e.elements[f?h:u],O=Fc(Ui(v)?v:v.contextElement||Vi(e.elements.popper),i,s),C=Ni(m),k=mc({reference:C,element:y,strategy:"absolute",placement:o}),E=Sc(Object.assign({},y,k)),w="popper"===u?E:C,x={top:O.top-w.top+g.top,bottom:w.bottom-O.bottom+g.bottom,left:O.left-w.left+g.left,right:w.right-O.right+g.right},j=e.modifiersData.offset;if("popper"===u&&j){var _=j[o];Object.keys(x).forEach((function(e){var t=[rc,tc].indexOf(e)>=0?1:-1,r=[ec,tc].indexOf(e)>=0?"y":"x";x[e]+=_[r]*t}))}return x}function Dc(e,t,r){return vc(e,Oc(t,r))}function Nc(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ic(e){return[ec,rc,tc,nc].some((function(t){return e[t]>=0}))}var Rc,Uc,Bc,Gc,zc,Vc=dc({defaultModifiers:[pc,yc,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,a=r.adaptive,i=void 0===a||a,c=r.roundOffsets,s=void 0===c||c,l={placement:bc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ec(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ec(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),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 r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];Bi(o)&&zi(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});Bi(n)&&zi(n)&&(Object.assign(n.style,a),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=void 0===o?[0,0]:o,i=ic.reduce((function(e,r){return e[r]=function(e,t,r){var n=bc(e),o=[nc,ec].indexOf(n)>=0?-1:1,a="function"==typeof r?r(Object.assign({},t,{placement:e})):r,i=a[0],c=a[1];return i=i||0,c=(c||0)*o,[nc,rc].indexOf(n)>=0?{x:c,y:i}:{x:i,y:c}}(r,t.rects,a),e}),{}),c=i[t.placement],s=c.x,l=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=void 0===o||o,i=r.altAxis,c=void 0===i||i,s=r.fallbackPlacements,l=r.padding,u=r.boundary,d=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,b=void 0===p||p,g=r.allowedAutoPlacements,h=t.options.placement,m=bc(h),y=s||(m===h||!b?[xc(h)]:function(e){if("auto"===bc(e))return[];var t=xc(e);return[_c(e),t,_c(t)]}(h)),v=[h].concat(y).reduce((function(e,r){return e.concat("auto"===bc(r)?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,c=r.flipVariations,s=r.allowedAutoPlacements,l=void 0===s?ic:s,u=gc(n),d=u?c?ac:ac.filter((function(e){return gc(e)===u})):oc,f=d.filter((function(e){return l.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,r){return t[r]=Mc(e,{placement:r,boundary:o,rootBoundary:a,padding:i})[bc(r)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:r,boundary:u,rootBoundary:d,padding:l,flipVariations:b,allowedAutoPlacements:g}):r)}),[]),O=t.rects.reference,C=t.rects.popper,k=new Map,E=!0,w=v[0],x=0;x<v.length;x++){var j=v[x],_=bc(j),L="start"===gc(j),S=[ec,tc].indexOf(_)>=0,A=S?"width":"height",F=Mc(t,{placement:j,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),P=S?L?rc:nc:L?tc:ec;O[A]>C[A]&&(P=xc(P));var T=xc(P),M=[];if(a&&M.push(F[_]<=0),c&&M.push(F[P]<=0,F[T]<=0),M.every((function(e){return e}))){w=j,E=!1;break}k.set(j,M)}if(E)for(var D=function(e){var t=v.find((function(t){var r=k.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return w=t,"break"},N=b?3:1;N>0;N--){if("break"===D(N))break}t.placement!==w&&(t.modifiersData[n]._skip=!0,t.placement=w,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=void 0===o||o,i=r.altAxis,c=void 0!==i&&i,s=r.boundary,l=r.rootBoundary,u=r.altBoundary,d=r.padding,f=r.tether,p=void 0===f||f,b=r.tetherOffset,g=void 0===b?0:b,h=Mc(t,{boundary:s,rootBoundary:l,padding:d,altBoundary:u}),m=bc(t.placement),y=gc(t.placement),v=!y,O=hc(m),C="x"===O?"y":"x",k=t.modifiersData.popperOffsets,E=t.rects.reference,w=t.rects.popper,x="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,j={x:0,y:0};if(k){if(a||c){var _="y"===O?ec:nc,L="y"===O?tc:rc,S="y"===O?"height":"width",A=k[O],F=k[O]+h[_],P=k[O]-h[L],T=p?-w[S]/2:0,M="start"===y?E[S]:w[S],D="start"===y?-w[S]:-E[S],N=t.elements.arrow,I=p&&N?qi(N):{width:0,height:0},R=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=R[_],B=R[L],G=Dc(0,E[S],I[S]),z=v?E[S]/2-T-G-U-x:M-G-U-x,V=v?-E[S]/2+T+G+B+x:D+G+B+x,Z=t.elements.arrow&&Qi(t.elements.arrow),H=Z?"y"===O?Z.clientTop||0:Z.clientLeft||0:0,$=t.modifiersData.offset?t.modifiersData.offset[t.placement][O]:0,W=k[O]+z-$-H,q=k[O]+V-$;if(a){var K=Dc(p?Oc(F,W):F,A,p?vc(P,q):P);k[O]=K,j[O]=K-A}if(c){var X="x"===O?ec:nc,Y="x"===O?tc:rc,J=k[C],Q=J+h[X],ee=J-h[Y],te=Dc(p?Oc(Q,W):Q,J,p?vc(ee,q):ee);k[C]=te,j[C]=te-J}}t.modifiersData[n]=j}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,i=r.modifiersData.popperOffsets,c=bc(r.placement),s=hc(c),l=[nc,rc].indexOf(c)>=0?"height":"width";if(a&&i){var u=function(e,t){return Pc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Tc(e,oc))}(o.padding,r),d=qi(a),f="y"===s?ec:nc,p="y"===s?tc:rc,b=r.rects.reference[l]+r.rects.reference[s]-i[s]-r.rects.popper[l],g=i[s]-r.rects.reference[s],h=Qi(a),m=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,y=b/2-g/2,v=u[f],O=m-d[l]-u[p],C=m/2-d[l]/2+y,k=Dc(v,C,O),E=s;r.modifiersData[n]=((t={})[E]=k,t.centerOffset=k-C,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Lc(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Mc(t,{elementContext:"reference"}),c=Mc(t,{altBoundary:!0}),s=Nc(i,n),l=Nc(c,o,a),u=Ic(s),d=Ic(l);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Zc=r(47),Hc=r.n(Zc),$c=[],Wc=function(){},qc=function(){return Promise.resolve(null)},Kc=[];function Xc(e){var t=e.placement,r=void 0===t?"bottom":t,n=e.strategy,o=void 0===n?"absolute":n,i=e.modifiers,c=void 0===i?Kc:i,s=e.referenceElement,l=e.onFirstUpdate,u=e.innerRef,d=e.children,f=a.useContext(Pi),p=a.useState(null),b=p[0],g=p[1],h=a.useState(null),m=h[0],y=h[1];a.useEffect((function(){Ti(u,b)}),[u,b]);var v,O=a.useMemo((function(){return{placement:r,strategy:o,onFirstUpdate:l,modifiers:[].concat(c,[{name:"arrow",enabled:null!=m,options:{element:m}}])}}),[r,o,l,c,m]),C=function(e,t,r){void 0===r&&(r={});var n=a.useRef(null),o={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||$c},i=a.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),c=i[0],s=i[1],l=a.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,r=Object.keys(t.elements);s({styles:Mi(r.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Mi(r.map((function(e){return[e,t.attributes[e]]})))})},requires:["computeStyles"]}}),[]),u=a.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[l,{name:"applyStyles",enabled:!1}])};return Hc()(n.current,e)?n.current||e:(n.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,l]),d=a.useRef();return Di((function(){d.current&&d.current.setOptions(u)}),[u]),Di((function(){if(null!=e&&null!=t){var n=(r.createPopper||Vc)(e,t,u);return d.current=n,function(){n.destroy(),d.current=null}}}),[e,t,r.createPopper]),{state:d.current?d.current.state:null,styles:c.styles,attributes:c.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}(s||f,b,O),k=C.state,E=C.styles,w=C.forceUpdate,x=C.update,j=a.useMemo((function(){return{ref:g,style:E.popper,placement:k?k.placement:r,hasPopperEscaped:k&&k.modifiersData.hide?k.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:k&&k.modifiersData.hide?k.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:E.arrow,ref:y},forceUpdate:w||Wc,update:x||qc}}),[g,y,r,k,E,x,w]);return(v=d,Array.isArray(v)?v[0]:v)(j)}const Yc=!(null!==(Rc=void 0!==(null===globalThis||void 0===globalThis||null===(Uc=globalThis.process)||void 0===Uc||null===(Bc=Uc.env)||void 0===Bc?void 0:Bc.JEST_WORKER_ID))&&void 0!==Rc&&Rc)&&"production"!==(null===globalThis||void 0===globalThis||null===(Gc=globalThis.process)||void 0===Gc||null===(zc=Gc.env)||void 0===zc?void 0:zc.NODE_ENV),Jc=function(){Yc&&console.debug(...arguments)};var Qc,es,ts,rs,ns;const os="@atlaskit/platform-feature-flags",as=null!==(Qc="true"===(null===globalThis||void 0===globalThis||null===(es=globalThis.process)||void 0===es||null===(ts=es.env)||void 0===ts?void 0:ts.ENABLE_PLATFORM_FF)||"true"===(null===globalThis||void 0===globalThis||null===(rs=globalThis.process)||void 0===rs||null===(ns=rs.env)||void 0===ns?void 0:ns.STORYBOOK_ENABLE_PLATFORM_FF))&&void 0!==Qc&&Qc,is=["_isMockFunction"],cs=new Proxy({},{set:(e,t,r)=>"string"!=typeof t||"boolean"!=typeof r?(Jc('[%s]: Cannot set the feature flag "%s" to "%s". The registry only accepts string keys and boolean values.',os,t,r),!0):!1===e[t]?(Jc('[%s]: The feature flag "%s" was already disabled. The overrides are not allowed',os,t,r),!0):(e[t]=r,Jc('[%s]: Feature flag "%s" was set to "%s"',os,t,r),!0),get(e,t){if(as){if(Jc('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',os,t),is.includes(t))return;return!0}return e[t]}}),ss=globalThis.__AF_PLATFORM_FLAGS;globalThis.__AF_PLATFORM_FLAGS=cs,ss&&Object.assign(cs,ss);const ls=[{name:"flip",options:{flipVariations:!1,padding:5,boundary:"clippingParents",rootBoundary:"viewport"}},{name:"preventOverflow",options:{padding:5,rootBoundary:"document"}}];function us(){return null}const ds=[0,8];let fs=null;var ps,bs;function gs(e){let{children:t=us,offset:r=ds,placement:n="bottom-start",referenceElement:o,modifiers:c,strategy:s="fixed"}=e;const[l,u]=r,d=Object(a.useMemo)(()=>[...ls,{name:"offset",options:{offset:[l,u]}}],[l,u]),f=Object(a.useMemo)(()=>null==c?d:[...d,...c],[d,c]),p=Object(a.useCallback)(e=>i.a.createElement(a.Fragment,null,fs,t(e)),[t]);return i.a.createElement(Xc,{modifiers:f,placement:n,strategy:s,referenceElement:o},p)}ps="uip.popper.flex-team",null!==(bs=null==cs?void 0:cs[ps])&&void 0!==bs&&bs&&(fs=i.a.createElement("em",{hidden:!0,"data-flex":"Hello from UIP"}));var hs=r(46);const ms=()=>{const e=document.querySelector("body > .atlaskit-portal-container");if(!e){const e=document.createElement("div");return e.className="atlaskit-portal-container",e.style.display="flex",document.body.appendChild(e),e}return e};function ys(e){const{zIndex:t,children:r}=e,n=Object(a.useMemo)(()=>(e=>{const t=document.createElement("div");return t.className="atlaskit-portal",t.style.zIndex=""+e,t})(t),[t]);return(e=>{e.parentElement||ms().appendChild(e)})(n),Object(a.useEffect)(()=>()=>{(e=>{ms().removeChild(e)})(n)},[n]),Object(hs.createPortal)(r,n)}var vs=()=>{const[e,t]=Object(a.useState)(!1);return Object(a.useEffect)(()=>{t(!0)},[]),e};const Os={100:"card",200:"navigation",300:"dialog",400:"layer",500:"blanket",510:"modal",600:"flag",700:"spotlight",800:"tooltip"},Cs=e=>Os.hasOwnProperty(e)?Os[e]:null;function ks(e,t){const r=((e,t)=>{const r={layer:Cs(Number(t)),zIndex:t};return new CustomEvent(e,{detail:r})})(e,t);window.dispatchEvent(r)}var Es=e=>{const t=Number(e);Object(a.useEffect)(()=>(ks("akPortalMount",t),()=>{ks("akPortalUnmount",t)}),[t])};function ws(e){const{zIndex:t=0,children:r}=e,n=vs();return Es(t),n?i.a.createElement(ys,{zIndex:t},r):null}let xs=null;function js(){null!=xs&&(window.clearTimeout(xs),xs=null)}function _s(e,t){js(),xs=window.setTimeout(()=>{xs=null,e()},t)}let Ls=null;var Ss=function(e){return void 0===e&&(e=""),{value:1,prefix:e,uid:ca()}},As=Ss(),Fs=a.createContext(Ss()),Ps=(a.createContext(""),function(){return a.useState((e=a.useContext(Fs),{uid:n=((t=r=e||As)?t.prefix:"")+function(e){return e.value++}(r),gen:function(e){return n+r.uid(e)}}));var e,t,r,n});function Ts(e,t){const r=Ps()[0].gen;return t?""+r(e):void 0}function Ms(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 Ds(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ms(Object(r),!0).forEach((function(t){Ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ms(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ns(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Is=Object(En.b)({zindex:"var(tooltipPrimitiveZindex)",cursor:"default"}),Rs=Object(a.forwardRef)((function(e,t){let{style:r,className:n,children:o,placement:a,testId:i,onMouseOut:c,onMouseOver:s,id:l}=e;const u=Ds(Ds({},r),{},{tooltipPrimitiveZindex:Pn()});return Object(En.c)("div",{ref:t,style:u,"data-testid":i?i+"--wrapper":void 0},Object(En.c)("div",{role:"tooltip",className:n,onMouseOut:c,onMouseOver:s,css:Is,"data-placement":a,"data-testid":i,id:l},o))}));Rs.displayName="TooltipPrimitive";var Us=Rs;const Bs=Object(En.b)({boxSizing:"border-box",maxWidth:"240px",padding:`${Object(An.a)("spacing.scale.025","2px")} ${Object(An.a)("spacing.scale.075","6px")}`,top:0,left:0,borderRadius:"3px",fontSize:"12px",lineHeight:1.3,overflowWrap:"break-word",wordWrap:"break-word"}),Gs=Object(En.b)({maxWidth:"420px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),zs=Object(En.b)({backgroundColor:Object(An.a)("color.background.neutral.bold",Xn),color:Object(An.a)("color.text.inverse",Hn)}),Vs=Object(En.b)({backgroundColor:Object(An.a)("color.background.neutral.bold",ro),color:Object(An.a)("color.text.inverse","#B8C7E0")}),Zs=Object(a.forwardRef)((function(e,t){let{style:r,className:n,children:o,truncate:a,placement:i,testId:c,onMouseOut:s,onMouseOver:l,id:u}=e;return Object(En.c)(kn.a.Consumer,null,e=>{let{mode:d}=e;return Object(En.c)(Us,{ref:t,style:r,className:n,placement:i,testId:c,id:u,onMouseOut:s,onMouseOver:l,css:[Bs,a?Gs:null,"light"===d?zs:Vs]},o)})}));Zs.displayName="TooltipContainer";var Hs=Zs;function $s(e){const t=e||{top:0,left:0};return{getBoundingClientRect:()=>({top:t.top,left:t.left,bottom:t.top,right:t.left,width:0,height:0}),clientWidth:0,clientHeight:0}}function Ws(){return(Ws=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function qs(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 Ks(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qs(Object(r),!0).forEach((function(t){Xs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ys=Pn(),Js={componentName:"tooltip",packageName:Object({NODE_ENV:"production"})._PACKAGE_NAME_,packageVersion:Object({NODE_ENV:"production"})._PACKAGE_VERSION_},Qs={top:"bottom",bottom:"top",left:"right",right:"left"};function el(e){let{children:t,position:r="bottom",mousePosition:n="bottom",content:o,truncate:c=!1,component:s=Hs,tag:l="div",testId:u,delay:d=300,onShow:f=Ln,onHide:p=Ln,hideTooltipOnClick:b=!1,hideTooltipOnMouseDown:g=!1,analyticsContext:h,strategy:m="fixed"}=e;const y="mouse"===r?n:r,v=ii(Ks({fn:f,action:"displayed",analyticsData:h},Js)),O=ii(Ks({fn:p,action:"hidden",analyticsData:h},Js)),C=Object(a.useRef)(null),[k,E]=Object(a.useState)("hide"),w=Object(a.useRef)(null),x=Object(a.useRef)(null),j=Object(a.useCallback)(e=>{e&&("function"==typeof t?w.current=e:(x.current=e,w.current=e.firstChild))},[t]),_=Object(a.useRef)(k),L=Object(a.useRef)(d),S=Object(a.useRef)({onShowHandler:v,onHideHandler:O}),A=Object(a.useRef)(!1);Object(a.useEffect)(()=>{_.current=k,L.current=d,S.current={onShowHandler:v,onHideHandler:O}},[d,O,v,k]);const F=Object(a.useCallback)(e=>{C.current=e,A.current=!1},[]),P=Object(a.useCallback)(()=>{C.current&&(A.current&&S.current.onHideHandler(),C.current=null,A.current=!1,E("hide"))},[]),T=Object(a.useCallback)(()=>{C.current&&(C.current.abort(),A.current&&S.current.onHideHandler(),C.current=null)},[]);Object(a.useEffect)((function(){return function(){C.current&&T()}}),[T]);const M=Object(a.useCallback)(e=>{if(C.current&&!C.current.isActive()&&T(),C.current&&C.current.isActive())return void C.current.keep();const t=function(e){let t="waiting-to-show";function r(){return Boolean(Ls&&Ls.entry===e)}function n(){r()&&(js(),Ls=null)}function o(){r()&&e.done(),t="done",n()}function a(){r()&&e.hide({isImmediate:!0}),o()}function i(){return"shown"===t||"waiting-to-hide"===t||"hide-animating"===t}return function(){const r=Boolean(Ls&&Ls.isVisible());function n(){t="shown",e.show({isImmediate:r})}Ls&&(js(),Ls.entry.hide({isImmediate:!0}),Ls.entry.done(),Ls=null),Ls={entry:e,isVisible:i},r?n():(t="waiting-to-show",_s(n,e.delay))}(),{keep:function(){if(r())return"waiting-to-hide"===t?(t="shown",void js()):"hide-animating"===t?(t="shown",js(),void e.show({isImmediate:!1})):void 0},abort:n,isActive:r,requestHide:function(n){let{isImmediate:o}=n;r()&&("waiting-to-show"!==t?"waiting-to-hide"!==t&&(o?a():(t="waiting-to-hide",_s(()=>{t="hide-animating",e.hide({isImmediate:!1})},e.delay))):a())},finishHideAnimation:function(){r()&&"hide-animating"===t&&o()},mousePosition:"mouse"===e.source.type?e.source.mouse:null}}({source:e,delay:L.current,show:e=>{let{isImmediate:t}=e;A.current||(A.current=!0,S.current.onShowHandler()),E(t?"show-immediate":"fade-in")},hide:e=>{let{isImmediate:t}=e;E(t?"hide":"before-fade-out")},done:P});F(t)},[T,P,F]);!function(e){let{onClose:t,isDisabled:r}=e;const n=Object(a.useRef)(!1),o=Object(a.useCallback)(e=>{r||n.current||"Escape"!==e.key||(n.current=!0,t(e))},[t,r]),i=Object(a.useCallback)(()=>{n.current=!1},[]);Object(a.useEffect)(()=>Object(ni.bindAll)(document,[{type:"keydown",listener:o},{type:"keyup",listener:i}],{capture:!1}),[o,i])}({onClose:Object(a.useCallback)(()=>{var e;null===(e=C.current)||void 0===e||e.requestHide({isImmediate:!0})},[C]),isDisabled:"hide"===k||"fade-out"===k}),Object(a.useEffect)(()=>{if("hide"===k)return Ln;"before-fade-out"===k&&E("fade-out");return Object(ni.bind)(window,{type:"scroll",listener:()=>{C.current&&C.current.requestHide({isImmediate:!0})},options:{capture:!0,passive:!0,once:!0}})},[k]);const D=Object(a.useCallback)(()=>{g&&C.current&&C.current.requestHide({isImmediate:!0})},[g]),N=Object(a.useCallback)(()=>{b&&C.current&&C.current.requestHide({isImmediate:!0})},[b]),I=Object(a.useCallback)(e=>{if(x.current&&e.target===x.current)return;if(e.defaultPrevented)return;e.preventDefault();const t="mouse"===r?{type:"mouse",mouse:$s({left:e.clientX,top:e.clientY})}:{type:"keyboard"};M(t)},[r,M]),R=Object(a.useCallback)(e=>{x.current&&e.target===x.current||e.defaultPrevented||(e.preventDefault(),C.current&&C.current.requestHide({isImmediate:!1}))},[]),U="mouse"===r?e=>{var t;null!==(t=C.current)&&void 0!==t&&t.isActive()&&(C.current.mousePosition=$s({left:e.clientX,top:e.clientY}))}:void 0,B=Object(a.useCallback)(()=>{C.current&&C.current.isActive()&&C.current.keep()},[]),G=Object(a.useCallback)(()=>{M({type:"keyboard"})},[M]),z=Object(a.useCallback)(()=>{C.current&&C.current.requestHide({isImmediate:!1})},[]),V=Object(a.useCallback)(e=>{"exiting"===e&&"fade-out"===_.current&&C.current&&C.current.finishHideAnimation()},[]),Z=l,H="hide"!==k&&Boolean(o),$="hide"!==k&&"fade-out"!==k,W=Ts("tooltip",H),q={onMouseOver:I,onMouseOut:R,onMouseMove:U,onMouseDown:D,onClick:N,onFocus:G,onBlur:z,ref:j,"aria-describedby":W};return u&&(q["data-testid"]=u+"--container"),Object(En.c)(i.a.Fragment,null,"function"==typeof t?t(q):Object(En.c)(Z,Ws({},q,{role:"presentation"}),t),H?Object(En.c)(ws,{zIndex:Ys},Object(En.c)(gs,{placement:y,referenceElement:"mouse"===r&&null!==(K=C.current)&&void 0!==K&&K.mousePosition?null===(X=C.current)||void 0===X?void 0:X.mousePosition:w.current||void 0,strategy:m},e=>{let{ref:t,style:n,update:a,placement:i}=e;const l="mouse"===r?void 0:Qs[(e=>e.split("-")[0])(i)];return Object(En.c)(bi,{appear:!0},$&&Object(En.c)(Fi,{distance:"constant",entranceDirection:l,exitDirection:l,onFinish:V,duration:"show-immediate"===k?0:350},e=>{let{className:r}=e;return Object(En.c)(s,{ref:t,className:"Tooltip "+r,style:n,truncate:c,placement:y,testId:u,onMouseOut:R,onMouseOver:B,id:W},"function"==typeof o?o({update:a}):o)}))})):null);var K,X}el.displayName="Tooltip";var tl=el;const rl=Mr.div({fontSize:12,height:52,color:"#5E6C84",display:"flex",alignItems:"center",justifyContent:"center",borderTop:"2px solid "+Jn}),nl=Mr.div({height:16,display:"flex",justifyContent:"center",alignItems:"flex-end"}),ol=Mr.div({display:"flex",flexDirection:"column",justifyContent:"center",margin:"0px 0px 0px 8px"}),al=Mr.a({"&, &:focus, &:active, &:hover":{color:"inherit",outline:"none",boxShadow:"none",textDecoration:"none"}}),il=e=>{let{url:t}=e;return i.a.createElement(rl,{"data-testid":"footer-container"},t?i.a.createElement(sl,{tooltipText:i.a.createElement(ri,{id:"embedded.confluence.footer.hover.text",description:"Hover text on Confluence Footer Content",defaultMessage:"View in Confluence"}),href:t},e=>{let{isHovered:t}=e;return i.a.createElement(cl,{isHovered:t})}):i.a.createElement(cl,null))},cl=e=>{let{isHovered:t}=e;return i.a.createElement(nl,null,i.a.createElement(ri,{id:"embedded.confluence.footer.prefix",description:"Prefix label on Confluence Logo",defaultMessage:"Powered by"}),i.a.createElement(ol,null,i.a.createElement(ya,{size:"xsmall",iconColor:t?Vn:"#5E6C84",textColor:"#5E6C84"})))},sl=e=>{let{children:t,tooltipText:r,href:n}=e;const[o,c]=Object(a.useState)(!1),{createAnalyticsEvent:s}=Yt();return i.a.createElement(tl,{content:r},i.a.createElement(al,{href:n,target:"_blank",onMouseEnter:()=>{c(!0)},onMouseLeave:()=>{c(!1)},onClick:()=>{s({action:"clicked",actionSubject:"link",actionSubjectId:"confluenceFooter",source:"embeddedConfluenceViewPageScreen",eventType:"ui"}).fire("embeddedConfluence")},"data-testid":"link"},t({isHovered:o})))},ll=["className","contentId","hasFooterLogo","parentProduct","spaceKey"];function ul(){return(ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function dl(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 fl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(r),!0).forEach((function(t){pl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function pl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const gl=e=>{let{children:t,className:r="",isHeightSetFromContent:n=!1}=e;const{height:o}=(e=>{const[t,r]=Object(a.useState)(1e3);return Object(a.useEffect)(()=>{if(!e)return;const t=e=>{const t=e.data;"contentSize"===t.type&&t.height&&r(t.height)};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}},[e]),{height:t}})(n);return i.a.createElement(At,null,e=>{let{css:a,cx:c}=e;return i.a.createElement("div",{className:c(a({display:"flex",flexDirection:"column",height:n?o+"px":"100%"}),r)},t)})},hl=Qe(e=>{const{className:t,contentId:r,hasFooterLogo:n,parentProduct:o,spaceKey:c}=e,s=bl(e,ll),l=dr();pr({experienceTracker:l,contentId:r,spaceKey:c,experience:Jt.VIEW_PAGE,ccExperience:Jt.CC_VIEW_PAGE});const{standaloneConfluenceUrl:u,embeddedConfluenceUrl:d}=an(fl(fl({},e),{},{mode:on.VIEW_MODE})),f=!((o===bn||o===gn)&&!n);return i.a.createElement(Ft.Provider,{value:l},i.a.createElement(Tt,{name:Jt.VIEW_PAGE},i.a.createElement(Ja,ul({mode:on.VIEW_MODE},e),e=>{let{handleIframeOnLoad:r,handleContentLoadStarted:n}=e;return i.a.createElement(a.Fragment,null,i.a.createElement(gl,{className:t,isHeightSetFromContent:s.isHeightSetFromContent},d&&i.a.createElement(Jr,ul({parentProduct:o,src:d,onLoad:r,onContentLoadStarted:n},s))),f&&i.a.createElement(il,{url:u}))})))},{enforceContext:!1});function ml(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=l({timeZone:t},e[n]),r}),{})}function yl(e,t){return Object.keys(l(l({},e),t)).reduce((function(r,n){return r[n]=l(l({},e[n]||{}),t[n]||{}),r}),{})}function vl(e,t){if(!t)return e;var r=Me.formats;return l(l(l({},r),e),{date:yl(ml(r.date,t),ml(e.date||{},t)),time:yl(ml(r.time,t),ml(e.time||{},t))})}function Ol(e,t,r,n,o){var a=e.locale,i=e.formats,c=e.messages,s=e.defaultLocale,u=e.defaultFormats,d=e.fallbackOnEmptyString,f=e.onError,p=e.timeZone,b=e.defaultRichTextElements;void 0===r&&(r={id:""});var h=r.id,y=r.defaultMessage;m(!!h,"[@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 v=String(h),O=c&&Object.prototype.hasOwnProperty.call(c,v)&&c[v];if(Array.isArray(O)&&1===O.length&&O[0].type===g.literal)return O[0].value;if(!n&&O&&"string"==typeof O&&!b)return O.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=l(l({},b),n||{}),i=vl(i,p),u=vl(u,p),!O){if(!1===d&&""===O)return O;if((!y||a&&a.toLowerCase()!==s.toLowerCase())&&f(new Ge(r,a)),y)try{return t.getMessageFormat(y,s,u,o).format(n)}catch(e){return f(new Be('Error formatting default message for: "'+v+'", rendering default message verbatim',a,r,e)),"string"==typeof y?y:v}return v}try{return t.getMessageFormat(O,a,i,l({formatters:t},o||{})).format(n)}catch(e){f(new Be('Error formatting message: "'+v+'", using '+(y?"default message":"id")+" as fallback.",a,r,e))}if(y)try{return t.getMessageFormat(y,s,u,o).format(n)}catch(e){f(new Be('Error formatting the default message for: "'+v+'", rendering message verbatim',a,r,e))}return"string"==typeof O?O:"string"==typeof y?y:v}var Cl=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function kl(e,t,r){var n=e.locale,o=e.formats,a=e.onError;void 0===r&&(r={});var i=r.format,c=i&&He(o,"number",i,a)||{};return t(n,ze(r,Cl,c))}function El(e,t,r,n){void 0===n&&(n={});try{return kl(e,t,n).format(r)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting number.",t))}return String(r)}function wl(e,t,r,n){void 0===n&&(n={});try{return kl(e,t,n).formatToParts(r)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting number.",t))}return[]}var xl=["numeric","style"];function jl(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new xe('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Ce.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,o=e.formats,a=e.onError;void 0===r&&(r={});var i=r.format,c=!!i&&He(o,"relative",i,a)||{};return t(n,ze(r,xl,c))}(e,t,o).format(r,n)}catch(t){e.onError(new Ue("Error formatting relative time.",e.locale,t))}return String(r)}var _l=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function Ll(e,t,r,n){var o=e.locale,a=e.formats,i=e.onError,c=e.timeZone;void 0===n&&(n={});var s=n.format,u=l(l({},c&&{timeZone:c}),s&&He(a,t,s,i)),d=ze(n,_l,u);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=l(l({},d),{hour:"numeric",minute:"numeric"})),r(o,d)}function Sl(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,c="string"==typeof o?new Date(o||0):o;try{return Ll(e,"date",t,i).format(c)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting date.",t))}return String(c)}function Al(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,c="string"==typeof o?new Date(o||0):o;try{return Ll(e,"time",t,i).format(c)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting time.",t))}return String(c)}function Fl(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=r[2],c=void 0===i?{}:i,s=e.timeZone,l=e.locale,u=e.onError,d=ze(c,_l,s?{timeZone:s}:{});try{return t(l,d).formatRange(o,a)}catch(e){u(new De(Te.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function Pl(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,c="string"==typeof o?new Date(o||0):o;try{return Ll(e,"date",t,i).formatToParts(c)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting date.",t))}return[]}function Tl(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,c="string"==typeof o?new Date(o||0):o;try{return Ll(e,"time",t,i).formatToParts(c)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Ml=["localeMatcher","type"];function Dl(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new xe('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ce.MISSING_INTL_API));var i=ze(n,Ml);try{return t(o,i).select(r)}catch(e){a(new Ue("Error formatting plural.",o,e))}return"other"}var Nl=["localeMatcher","type","style"],Il=Date.now();function Rl(e,t,r,n){void 0===n&&(n={});var o=Ul(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===o.length?o[0]:o}function Ul(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new xe('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Ce.MISSING_INTL_API));var i=ze(n,Nl);try{var c={},s=r.map((function(e,t){if("object"==typeof e){var r=function(e){return Il+"_"+e+"_"+Il}(t);return c[r]=e,r}return String(e)}));return t(o,i).formatToParts(s).map((function(e){return"literal"===e.type?e:l(l({},e),{value:c[e.value]||e.value})}))}catch(e){a(new De(Te.FORMAT_ERROR,"Error formatting list.",e))}return r}var Bl=["localeMatcher","style","type","fallback"];function Gl(e,t,r,n){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new xe('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Ce.MISSING_INTL_API));var i=ze(n,Bl);try{return t(o,i).of(r)}catch(e){a(new De(Te.FORMAT_ERROR,"Error formatting display name.",e))}}function zl(e){var t;e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&console.warn('[@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 Vl(e,t){var r=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,o=be((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,d([void 0],t,!1)))}),{cache:Ze(e.dateTime),strategy:Ee.variadic}),a=be((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,d([void 0],t,!1)))}),{cache:Ze(e.number),strategy:Ee.variadic}),i=be((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,d([void 0],t,!1)))}),{cache:Ze(e.pluralRules),strategy:Ee.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:be((function(e,t,r,n){return new Me(e,t,r,l({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},n||{}))}),{cache:Ze(e.message),strategy:Ee.variadic}),getRelativeTimeFormat:be((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,d([void 0],e,!1)))}),{cache:Ze(e.relativeTime),strategy:Ee.variadic}),getPluralRules:i,getListFormat:be((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,d([void 0],e,!1)))}),{cache:Ze(e.list),strategy:Ee.variadic}),getDisplayNames:be((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,d([void 0],e,!1)))}),{cache:Ze(e.displayNames),strategy:Ee.variadic})}}(t),n=l(l({},Ve),e),o=n.locale,a=n.defaultLocale,i=n.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new Re('Missing locale data for locale: "'+o+'" in Intl.NumberFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new Re('Missing locale data for locale: "'+o+'" in Intl.DateTimeFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(i&&i(new Ie('"locale" was not configured, using "'+a+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),n.locale=n.defaultLocale||"en"),zl(n),l(l({},n),{formatters:r,formatNumber:El.bind(null,n,r.getNumberFormat),formatNumberToParts:wl.bind(null,n,r.getNumberFormat),formatRelativeTime:jl.bind(null,n,r.getRelativeTimeFormat),formatDate:Sl.bind(null,n,r.getDateTimeFormat),formatDateToParts:Pl.bind(null,n,r.getDateTimeFormat),formatTime:Al.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:Fl.bind(null,n,r.getDateTimeFormat),formatTimeToParts:Tl.bind(null,n,r.getDateTimeFormat),formatPlural:Dl.bind(null,n,r.getPluralRules),formatMessage:Ol.bind(null,n,r),formatList:Rl.bind(null,n,r.getListFormat),formatListToParts:Ul.bind(null,n,r.getListFormat),formatDisplayName:Gl.bind(null,n,r.getDisplayNames)})}function Zl(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,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Hl(e){return e?Object.keys(e).reduce((function(t,r){var n,o=e[r];return t[r]=Se(o)?(n=o,function(e){return n(a.Children.toArray(e))}):o,t}),{}):e}var $l=function(e,t,r,n){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var c=Hl(n),s=Ol.apply(void 0,d([e,t,r,c],o,!1));return Array.isArray(s)?a.Children.toArray(s):s},Wl=function(e,t){var r=e.defaultRichTextElements,n=u(e,["defaultRichTextElements"]),o=Hl(r),a=Vl(l(l(l({},We),n),{defaultRichTextElements:o}),t);return l(l({},a),{formatMessage:$l.bind(null,{locale:a.locale,timeZone:a.timeZone,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},ql=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Wl(Zl(t.props),t.cache),prevConfig:Zl(t.props)},t}return s(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=Zl(e);return qe(r,o)?null:{intl:Wl(o,n),prevConfig:o}},t.prototype.render=function(){return $e(this.state.intl),a.createElement(Ye,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=We,t}(a.PureComponent),Kl=r(18),Xl=r(19),Yl=r(20),Jl=r(21),Ql={"embedded.confluence.error-page.heading":"⁣⁢Unable to display page content⁠‍؜⁡‍‌‍⁣⁤","embedded.confluence.error-page.imgAltText":"⁣⁢Alt text describing the loading error icon⁡؜‍؜‌⁡‍⁡‌‌‌⁣⁤","embedded.confluence.error-page.message.viewLink":"⁣⁢You can still view this page in Confluence by clicking {confluencePageLink}.‌‍‌‌⁡؜‍‍⁠⁠‍؜⁠⁣⁤","embedded.confluence.footer.hover.text":"⁣⁢View in Confluence‌‍‍⁡⁠⁡⁡؜⁠⁠⁠‍‌⁠⁠⁠⁠⁣⁤","embedded.confluence.footer.prefix":"⁣⁢Powered by‌‌؜؜؜‌‌‌⁣⁤","embedded.confluence.login-page.login-button":"⁣⁢Log in to Confluence؜‌؜⁡؜‌‍؜‌⁡⁣⁤","embedded.confluence.login-page.login-button.aria-label":"⁣⁢Login Button؜‌؜⁠‍⁡‍؜‌⁣⁤","embedded.confluence.login-page.login-text":"⁣⁢Log in to collaborate with your team⁡‌⁡؜⁡؜⁠‍‍‌؜‌⁣⁤","embedded.confluence.no-storage-access.confluencePageLink":"⁣⁢here⁡‌⁡‌؜⁠‌؜⁣⁤"},eu=r(22),tu=r(23),ru=r(24),nu=r(25),ou=r(26),au=r(27),iu=r(28),cu=r(29),su=r(9),lu=r(30),uu=r(31),du=r(32),fu=r(33),pu=r(34),bu=r(35),gu=r(36),hu=r(37),mu=r(38),yu=r(39),vu=r(40);const Ou=o,Cu=Qe(e=>{const{language:t,locale:r,region:n}=tn(e),o=Ou[`${t}_${n}`]||Ou[t];return i.a.createElement(ql,{locale:r,messages:o,defaultLocale:"en-US"},e.children)},{enforceContext:!1}),ku=e=>i.a.createElement(Cu,{locale:e.locale},i.a.createElement(hl,e)),Eu=["spaceKey","contentId"];function wu(){return(wu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function xu(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 ju(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(r),!0).forEach((function(t){_u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Su=Qe(e=>{const{spaceKey:t,contentId:r}=e,n=Lu(e,Eu),o=dr();pr({experienceTracker:o,contentId:r,spaceKey:t,experience:Jt.EDIT_PAGE,ccExperience:Jt.CC_EDIT_PAGE_EMBED});const{allowedFeatures:a}=n,c="all"===a||(null==a?void 0:a.includes("template-browser")),{embeddedConfluenceUrl:s}=an(ju(ju({},e),{},{addTemplateBrowserQuery:c,mode:on.EDIT_MODE}));return i.a.createElement(Ft.Provider,{value:o},i.a.createElement(Tt,{name:Jt.EDIT_PAGE},i.a.createElement(Ja,wu({mode:on.EDIT_MODE},e),e=>{let{handleIframeOnLoad:t,handleContentLoadStarted:r}=e;return s?i.a.createElement(Jr,wu({src:s,onLoad:t,onContentLoadStarted:r},n)):null})))},{enforceContext:!1}),Au=e=>i.a.createElement(Cu,{locale:e.locale},i.a.createElement(Su,e))},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return E})),r.d(t,"Icon",(function(){return k}));var n=r(0),o=r(1),a=r(83),i=r(84);const c={light:Object(i.a)("elevation.surface","#FFFFFF"),dark:Object(i.a)("elevation.surface","#1B2638")},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return c[e]},l="16px",u="24px",d="32px",f="48px",p={small:{width:l,height:l},medium:{width:u,height:u},large:{width:d,height:d},xlarge:{width:f,height:f}};Object(o.b)(p.small),Object(o.b)(p.medium),Object(o.b)(p.large),Object(o.b)(p.xlarge);function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function g(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 h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=Object(o.b)({display:"inline-block",flexShrink:0,lineHeight:1,"> svg":h(h({},{overflow:"hidden",pointerEvents:"none",stop:{stopColor:"currentColor"}}),{},{maxWidth:"100%",maxHeight:"100%",color:"var(--icon-primary-color)",fill:"var(--icon-secondary-color)",verticalAlign:"bottom"})}),v=Object(o.b)({"@media screen and (forced-colors: active)":{"> svg":{filter:"grayscale(1)","--icon-primary-color":"CanvasText","--icon-secondary-color":"Canvas"}}}),O=Object(o.b)({"@media screen and (forced-colors: active)":{"> svg":{"--icon-primary-color":"Canvas"}}}),C=Object(o.b)({"@media screen and (forced-colors: active)":{"> svg":{"--icon-secondary-color":"transparent"}}}),k=Object(n.memo)((function(e){const{glyph:t,dangerouslySetGlyph:r,primaryColor:n="currentColor",secondaryColor:i,size:c,testId:l,label:u,width:d,height:f}=e,g=r?{dangerouslySetInnerHTML:{__html:r}}:{children:t?Object(o.c)(t,{role:"presentation"}):null},h=(e=>{let{width:t,height:r,size:n}=e;return t&&r?{width:t,height:r}:n?p[n]:void 0})({width:d,height:f,size:c}),{mode:m}=Object(a.b)();return Object(o.c)("span",b({"data-testid":l,role:u?"img":void 0,"aria-label":u||void 0,"aria-hidden":!u||void 0,style:{"--icon-primary-color":n,"--icon-secondary-color":i||s(m)}},g,{css:[y,v,n===i&&O,"transparent"===i&&C,h&&Object(o.b)({width:h.width,height:h.height,"> svg":h})]}))}));var E=k},,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"b",(function(){return i}));var n=r(44);const{Provider:o,Consumer:a,useTheme:i}=Object(n.a)(()=>({mode:"light"}));t.a={Provider:o,Consumer:a}},function(e,t,r){"use strict";var n={"space.0":"--ds-space-0","space.100":"--ds-space-100","space.150":"--ds-space-150","space.200":"--ds-space-200","space.250":"--ds-space-250","space.300":"--ds-space-300","space.400":"--ds-space-400","space.500":"--ds-space-500","space.600":"--ds-space-600","space.800":"--ds-space-800","space.1000":"--ds-space-1000","space.025":"--ds-space-025","space.050":"--ds-space-050","space.075":"--ds-space-075","spacing.scale.0":"--ds-scale-0","spacing.scale.100":"--ds-scale-100","spacing.scale.150":"--ds-scale-150","spacing.scale.200":"--ds-scale-200","spacing.scale.250":"--ds-scale-250","spacing.scale.300":"--ds-scale-300","spacing.scale.400":"--ds-scale-400","spacing.scale.500":"--ds-scale-500","spacing.scale.600":"--ds-scale-600","spacing.scale.800":"--ds-scale-800","spacing.scale.1000":"--ds-scale-1000","spacing.scale.025":"--ds-scale-025","spacing.scale.050":"--ds-scale-050","spacing.scale.075":"--ds-scale-075","spacing.scaleLinear.0":"--ds-scaleLinear-0","spacing.scaleLinear.100":"--ds-scaleLinear-100","spacing.scaleLinear.200":"--ds-scaleLinear-200","spacing.scaleLinear.300":"--ds-scaleLinear-300","spacing.scaleLinear.400":"--ds-scaleLinear-400","spacing.scaleLinear.500":"--ds-scaleLinear-500","spacing.scaleLinear.600":"--ds-scaleLinear-600","spacing.scaleLinear.700":"--ds-scaleLinear-700","spacing.scaleLinear.800":"--ds-scaleLinear-800","spacing.scaleLinear.900":"--ds-scaleLinear-900","spacing.scaleLinear.1000":"--ds-scaleLinear-1000","spacing.scaleLinear.1100":"--ds-scaleLinear-1100","spacing.size.none":"--ds-size-none","spacing.size.xxxxSmall":"--ds-size-xxxxSmall","spacing.size.xxxSmall":"--ds-size-xxxSmall","spacing.size.xxSmall":"--ds-size-xxSmall","spacing.size.xsmall":"--ds-size-xsmall","spacing.size.small":"--ds-size-small","spacing.size.medium":"--ds-size-medium","spacing.size.large":"--ds-size-large","spacing.size.xlarge":"--ds-size-xlarge","spacing.size.xxlarge":"--ds-size-xxlarge","spacing.size.xxxlarge":"--ds-size-xxxlarge","spacing.size.xxxxlarge":"--ds-size-xxxxlarge","spacing.ecl.element.2":"--ds-ecl-element-2","spacing.ecl.element.4":"--ds-ecl-element-4","spacing.ecl.element.6":"--ds-ecl-element-6","spacing.ecl.element.8":"--ds-ecl-element-8","spacing.ecl.container.12":"--ds-ecl-container-12","spacing.ecl.container.16":"--ds-ecl-container-16","spacing.ecl.container.20":"--ds-ecl-container-20","spacing.ecl.container.24":"--ds-ecl-container-24","spacing.ecl.layout.32":"--ds-ecl-layout-32","spacing.ecl.layout.40":"--ds-ecl-layout-40","spacing.ecl.layout.64":"--ds-ecl-layout-64","spacing.ccc.component.2":"--ds-ccc-component-2","spacing.ccc.component.4":"--ds-ccc-component-4","spacing.ccc.component.6":"--ds-ccc-component-6","spacing.ccc.component.8":"--ds-ccc-component-8","spacing.ccc.content.12":"--ds-ccc-content-12","spacing.ccc.content.16":"--ds-ccc-content-16","spacing.ccc.content.20":"--ds-ccc-content-20","spacing.ccc.content.24":"--ds-ccc-content-24","spacing.ccc.container.32":"--ds-ccc-container-32","spacing.ccc.container.40":"--ds-ccc-container-40","spacing.ccc.container.48":"--ds-ccc-container-48","spacing.gap.100":"--ds-gap-100","spacing.gap.200":"--ds-gap-200","spacing.gap.300":"--ds-gap-300","spacing.inset.100":"--ds-inset-100","spacing.inset.200":"--ds-inset-200","spacing.inset.300":"--ds-inset-300"};var o={"font.family.sans":"--ds-font-family-sans","font.family.monospace":"--ds-font-family-monospace","font.size.100":"--ds-font-size-100","font.size.200":"--ds-font-size-200","font.size.300":"--ds-font-size-300","font.size.400":"--ds-font-size-400","font.size.500":"--ds-font-size-500","font.size.600":"--ds-font-size-600","font.size.050":"--ds-font-size-050","font.size.075":"--ds-font-size-075","font.weight.regular":"--ds-font-weight-regular","font.weight.medium":"--ds-font-weight-medium","font.weight.semibold":"--ds-font-weight-semibold","font.weight.bold":"--ds-font-weight-bold","font.lineHeight.100":"--ds-font-lineHeight-100","font.lineHeight.200":"--ds-font-lineHeight-200","font.lineHeight.300":"--ds-font-lineHeight-300","font.lineHeight.400":"--ds-font-lineHeight-400","font.lineHeight.500":"--ds-font-lineHeight-500","font.lineHeight.600":"--ds-font-lineHeight-600"};function a(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?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=i(i(i({},{"color.text.accent.blue":"--ds-text-accent-blue","color.text.accent.blue.bolder":"--ds-text-accent-blue-bolder","color.text.accent.red":"--ds-text-accent-red","color.text.accent.red.bolder":"--ds-text-accent-red-bolder","color.text.accent.orange":"--ds-text-accent-orange","color.text.accent.orange.bolder":"--ds-text-accent-orange-bolder","color.text.accent.yellow":"--ds-text-accent-yellow","color.text.accent.yellow.bolder":"--ds-text-accent-yellow-bolder","color.text.accent.green":"--ds-text-accent-green","color.text.accent.green.bolder":"--ds-text-accent-green-bolder","color.text.accent.purple":"--ds-text-accent-purple","color.text.accent.purple.bolder":"--ds-text-accent-purple-bolder","color.text.accent.teal":"--ds-text-accent-teal","color.text.accent.teal.bolder":"--ds-text-accent-teal-bolder","color.text.accent.magenta":"--ds-text-accent-magenta","color.text.accent.magenta.bolder":"--ds-text-accent-magenta-bolder","color.text.accent.gray":"--ds-text-accent-gray","color.text.accent.gray.bolder":"--ds-text-accent-gray-bolder","color.text":"--ds-text","color.text.subtle":"--ds-text-subtle","color.text.subtlest":"--ds-text-subtlest","color.text.disabled":"--ds-text-disabled","color.text.inverse":"--ds-text-inverse","color.text.brand":"--ds-text-brand","color.text.selected":"--ds-text-selected","color.text.danger":"--ds-text-danger","color.text.warning":"--ds-text-warning","color.text.warning.inverse":"--ds-text-warning-inverse","color.text.success":"--ds-text-success","color.text.discovery":"--ds-text-discovery","color.text.information":"--ds-text-information","color.text.highEmphasis":"--ds-text-highEmphasis","color.text.link.pressed":"--ds-text-link-pressed","color.text.link.resting":"--ds-text-link-resting","color.text.lowEmphasis":"--ds-text-lowEmphasis","color.text.mediumEmphasis":"--ds-text-mediumEmphasis","color.text.onBold":"--ds-text-onBold","color.text.onBoldWarning":"--ds-text-onBoldWarning","color.icon.accent.blue":"--ds-icon-accent-blue","color.icon.accent.red":"--ds-icon-accent-red","color.icon.accent.orange":"--ds-icon-accent-orange","color.icon.accent.yellow":"--ds-icon-accent-yellow","color.icon.accent.green":"--ds-icon-accent-green","color.icon.accent.purple":"--ds-icon-accent-purple","color.icon.accent.teal":"--ds-icon-accent-teal","color.icon.accent.magenta":"--ds-icon-accent-magenta","color.icon.accent.gray":"--ds-icon-accent-gray","color.icon":"--ds-icon","color.icon.subtle":"--ds-icon-subtle","color.icon.inverse":"--ds-icon-inverse","color.icon.disabled":"--ds-icon-disabled","color.icon.brand":"--ds-icon-brand","color.icon.selected":"--ds-icon-selected","color.icon.danger":"--ds-icon-danger","color.icon.warning":"--ds-icon-warning","color.icon.warning.inverse":"--ds-icon-warning-inverse","color.icon.success":"--ds-icon-success","color.icon.discovery":"--ds-icon-discovery","color.icon.information":"--ds-icon-information","color.border.accent.blue":"--ds-border-accent-blue","color.border.accent.red":"--ds-border-accent-red","color.border.accent.orange":"--ds-border-accent-orange","color.border.accent.yellow":"--ds-border-accent-yellow","color.border.accent.green":"--ds-border-accent-green","color.border.accent.purple":"--ds-border-accent-purple","color.border.accent.teal":"--ds-border-accent-teal","color.border.accent.magenta":"--ds-border-accent-magenta","color.border.accent.gray":"--ds-border-accent-gray","color.border":"--ds-border","color.border.bold":"--ds-border-bold","color.border.inverse":"--ds-border-inverse","color.border.focused":"--ds-border-focused","color.border.input":"--ds-border-input","color.border.disabled":"--ds-border-disabled","color.border.brand":"--ds-border-brand","color.border.selected":"--ds-border-selected","color.border.danger":"--ds-border-danger","color.border.warning":"--ds-border-warning","color.border.success":"--ds-border-success","color.border.discovery":"--ds-border-discovery","color.border.information":"--ds-border-information","color.border.focus":"--ds-border-focus","color.border.neutral":"--ds-border-neutral","color.background.accent.blue.subtlest":"--ds-background-accent-blue-subtlest","color.background.accent.blue.subtler":"--ds-background-accent-blue-subtler","color.background.accent.blue.subtle":"--ds-background-accent-blue-subtle","color.background.accent.blue.bolder":"--ds-background-accent-blue-bolder","color.background.accent.blue":"--ds-background-accent-blue","color.background.accent.blue.bold":"--ds-background-accent-blue-bold","color.background.accent.red.subtlest":"--ds-background-accent-red-subtlest","color.background.accent.red.subtler":"--ds-background-accent-red-subtler","color.background.accent.red.subtle":"--ds-background-accent-red-subtle","color.background.accent.red.bolder":"--ds-background-accent-red-bolder","color.background.accent.red":"--ds-background-accent-red","color.background.accent.red.bold":"--ds-background-accent-red-bold","color.background.accent.orange.subtlest":"--ds-background-accent-orange-subtlest","color.background.accent.orange.subtler":"--ds-background-accent-orange-subtler","color.background.accent.orange.subtle":"--ds-background-accent-orange-subtle","color.background.accent.orange.bolder":"--ds-background-accent-orange-bolder","color.background.accent.orange":"--ds-background-accent-orange","color.background.accent.orange.bold":"--ds-background-accent-orange-bold","color.background.accent.yellow.subtlest":"--ds-background-accent-yellow-subtlest","color.background.accent.yellow.subtler":"--ds-background-accent-yellow-subtler","color.background.accent.yellow.subtle":"--ds-background-accent-yellow-subtle","color.background.accent.yellow.bolder":"--ds-background-accent-yellow-bolder","color.background.accent.yellow":"--ds-background-accent-yellow","color.background.accent.yellow.bold":"--ds-background-accent-yellow-bold","color.background.accent.green.subtlest":"--ds-background-accent-green-subtlest","color.background.accent.green.subtler":"--ds-background-accent-green-subtler","color.background.accent.green.subtle":"--ds-background-accent-green-subtle","color.background.accent.green.bolder":"--ds-background-accent-green-bolder","color.background.accent.green":"--ds-background-accent-green","color.background.accent.green.bold":"--ds-background-accent-green-bold","color.background.accent.teal.subtlest":"--ds-background-accent-teal-subtlest","color.background.accent.teal.subtler":"--ds-background-accent-teal-subtler","color.background.accent.teal.subtle":"--ds-background-accent-teal-subtle","color.background.accent.teal.bolder":"--ds-background-accent-teal-bolder","color.background.accent.teal":"--ds-background-accent-teal","color.background.accent.teal.bold":"--ds-background-accent-teal-bold","color.background.accent.purple.subtlest":"--ds-background-accent-purple-subtlest","color.background.accent.purple.subtler":"--ds-background-accent-purple-subtler","color.background.accent.purple.subtle":"--ds-background-accent-purple-subtle","color.background.accent.purple.bolder":"--ds-background-accent-purple-bolder","color.background.accent.purple":"--ds-background-accent-purple","color.background.accent.purple.bold":"--ds-background-accent-purple-bold","color.background.accent.magenta.subtlest":"--ds-background-accent-magenta-subtlest","color.background.accent.magenta.subtler":"--ds-background-accent-magenta-subtler","color.background.accent.magenta.subtle":"--ds-background-accent-magenta-subtle","color.background.accent.magenta.bolder":"--ds-background-accent-magenta-bolder","color.background.accent.magenta":"--ds-background-accent-magenta","color.background.accent.magenta.bold":"--ds-background-accent-magenta-bold","color.background.accent.gray.subtlest":"--ds-background-accent-gray-subtlest","color.background.accent.gray.subtler":"--ds-background-accent-gray-subtler","color.background.accent.gray.subtle":"--ds-background-accent-gray-subtle","color.background.accent.gray.bolder":"--ds-background-accent-gray-bolder","color.background.disabled":"--ds-background-disabled","color.background.inverse.subtle":"--ds-background-inverse-subtle","color.background.inverse.subtle.hovered":"--ds-background-inverse-subtle-hovered","color.background.inverse.subtle.pressed":"--ds-background-inverse-subtle-pressed","color.background.inverse":"--ds-background-inverse","color.background.input":"--ds-background-input","color.background.input.hovered":"--ds-background-input-hovered","color.background.input.pressed":"--ds-background-input-pressed","color.background.neutral":"--ds-background-neutral","color.background.neutral.hovered":"--ds-background-neutral-hovered","color.background.neutral.pressed":"--ds-background-neutral-pressed","color.background.neutral.subtle":"--ds-background-neutral-subtle","color.background.neutral.subtle.hovered":"--ds-background-neutral-subtle-hovered","color.background.neutral.subtle.pressed":"--ds-background-neutral-subtle-pressed","color.background.neutral.bold":"--ds-background-neutral-bold","color.background.neutral.bold.hovered":"--ds-background-neutral-bold-hovered","color.background.neutral.bold.pressed":"--ds-background-neutral-bold-pressed","color.background.brand.bold":"--ds-background-brand-bold","color.background.brand.bold.hovered":"--ds-background-brand-bold-hovered","color.background.brand.bold.pressed":"--ds-background-brand-bold-pressed","color.background.brand":"--ds-background-brand","color.background.brand.hovered":"--ds-background-brand-hovered","color.background.brand.pressed":"--ds-background-brand-pressed","color.background.selected":"--ds-background-selected","color.background.selected.hovered":"--ds-background-selected-hovered","color.background.selected.pressed":"--ds-background-selected-pressed","color.background.selected.bold":"--ds-background-selected-bold","color.background.selected.bold.hovered":"--ds-background-selected-bold-hovered","color.background.selected.bold.pressed":"--ds-background-selected-bold-pressed","color.background.selected.resting":"--ds-background-selected-resting","color.background.selected.hover":"--ds-background-selected-hover","color.background.danger":"--ds-background-danger","color.background.danger.hovered":"--ds-background-danger-hovered","color.background.danger.pressed":"--ds-background-danger-pressed","color.background.danger.bold":"--ds-background-danger-bold","color.background.danger.bold.hovered":"--ds-background-danger-bold-hovered","color.background.danger.bold.pressed":"--ds-background-danger-bold-pressed","color.background.warning":"--ds-background-warning","color.background.warning.hovered":"--ds-background-warning-hovered","color.background.warning.pressed":"--ds-background-warning-pressed","color.background.warning.bold":"--ds-background-warning-bold","color.background.warning.bold.hovered":"--ds-background-warning-bold-hovered","color.background.warning.bold.pressed":"--ds-background-warning-bold-pressed","color.background.success":"--ds-background-success","color.background.success.hovered":"--ds-background-success-hovered","color.background.success.pressed":"--ds-background-success-pressed","color.background.success.bold":"--ds-background-success-bold","color.background.success.bold.hovered":"--ds-background-success-bold-hovered","color.background.success.bold.pressed":"--ds-background-success-bold-pressed","color.background.discovery":"--ds-background-discovery","color.background.discovery.hovered":"--ds-background-discovery-hovered","color.background.discovery.pressed":"--ds-background-discovery-pressed","color.background.discovery.bold":"--ds-background-discovery-bold","color.background.discovery.bold.hovered":"--ds-background-discovery-bold-hovered","color.background.discovery.bold.pressed":"--ds-background-discovery-bold-pressed","color.background.information":"--ds-background-information","color.background.information.hovered":"--ds-background-information-hovered","color.background.information.pressed":"--ds-background-information-pressed","color.background.information.bold":"--ds-background-information-bold","color.background.information.bold.hovered":"--ds-background-information-bold-hovered","color.background.information.bold.pressed":"--ds-background-information-bold-pressed","color.background.blanket":"--ds-background-blanket","color.background.boldBrand.hover":"--ds-background-boldBrand-hover","color.background.boldBrand.pressed":"--ds-background-boldBrand-pressed","color.background.boldBrand.resting":"--ds-background-boldBrand-resting","color.background.boldDanger.hover":"--ds-background-boldDanger-hover","color.background.boldDanger.pressed":"--ds-background-boldDanger-pressed","color.background.boldDanger.resting":"--ds-background-boldDanger-resting","color.background.boldDiscovery.hover":"--ds-background-boldDiscovery-hover","color.background.boldDiscovery.pressed":"--ds-background-boldDiscovery-pressed","color.background.boldDiscovery.resting":"--ds-background-boldDiscovery-resting","color.background.boldNeutral.hover":"--ds-background-boldNeutral-hover","color.background.boldNeutral.pressed":"--ds-background-boldNeutral-pressed","color.background.boldNeutral.resting":"--ds-background-boldNeutral-resting","color.background.boldSuccess.hover":"--ds-background-boldSuccess-hover","color.background.boldSuccess.pressed":"--ds-background-boldSuccess-pressed","color.background.boldSuccess.resting":"--ds-background-boldSuccess-resting","color.background.boldWarning.hover":"--ds-background-boldWarning-hover","color.background.boldWarning.pressed":"--ds-background-boldWarning-pressed","color.background.boldWarning.resting":"--ds-background-boldWarning-resting","color.background.card":"--ds-background-card","color.background.default":"--ds-background-default","color.background.overlay":"--ds-background-overlay","color.background.subtleBorderedNeutral.pressed":"--ds-background-subtleBorderedNeutral-pressed","color.background.subtleBorderedNeutral.resting":"--ds-background-subtleBorderedNeutral-resting","color.background.subtleBrand.hover":"--ds-background-subtleBrand-hover","color.background.subtleBrand.pressed":"--ds-background-subtleBrand-pressed","color.background.subtleBrand.resting":"--ds-background-subtleBrand-resting","color.background.subtleDanger.hover":"--ds-background-subtleDanger-hover","color.background.subtleDanger.pressed":"--ds-background-subtleDanger-pressed","color.background.subtleDanger.resting":"--ds-background-subtleDanger-resting","color.background.subtleDiscovery.hover":"--ds-background-subtleDiscovery-hover","color.background.subtleDiscovery.pressed":"--ds-background-subtleDiscovery-pressed","color.background.subtleDiscovery.resting":"--ds-background-subtleDiscovery-resting","color.background.subtleNeutral.hover":"--ds-background-subtleNeutral-hover","color.background.subtleNeutral.pressed":"--ds-background-subtleNeutral-pressed","color.background.subtleNeutral.resting":"--ds-background-subtleNeutral-resting","color.background.subtleSuccess.hover":"--ds-background-subtleSuccess-hover","color.background.subtleSuccess.pressed":"--ds-background-subtleSuccess-pressed","color.background.subtleSuccess.resting":"--ds-background-subtleSuccess-resting","color.background.subtleWarning.hover":"--ds-background-subtleWarning-hover","color.background.subtleWarning.pressed":"--ds-background-subtleWarning-pressed","color.background.subtleWarning.resting":"--ds-background-subtleWarning-resting","color.background.sunken":"--ds-background-sunken","color.background.transparentNeutral.hover":"--ds-background-transparentNeutral-hover","color.background.transparentNeutral.pressed":"--ds-background-transparentNeutral-pressed","color.blanket":"--ds-blanket","color.blanket.selected":"--ds-blanket-selected","color.blanket.danger":"--ds-blanket-danger","color.interaction.hovered":"--ds-interaction-hovered","color.interaction.pressed":"--ds-interaction-pressed","color.interaction.inverse.hovered":"--ds-interaction-inverse-hovered","color.interaction.inverse.pressed":"--ds-interaction-inverse-pressed","color.skeleton":"--ds-skeleton","color.skeleton.subtle":"--ds-skeleton-subtle","color.link":"--ds-link","color.link.pressed":"--ds-link-pressed","color.accent.boldBlue":"--ds-accent-boldBlue","color.accent.boldGreen":"--ds-accent-boldGreen","color.accent.boldOrange":"--ds-accent-boldOrange","color.accent.boldPurple":"--ds-accent-boldPurple","color.accent.boldRed":"--ds-accent-boldRed","color.accent.boldTeal":"--ds-accent-boldTeal","color.accent.subtleBlue":"--ds-accent-subtleBlue","color.accent.subtleGreen":"--ds-accent-subtleGreen","color.accent.subtleMagenta":"--ds-accent-subtleMagenta","color.accent.subtleOrange":"--ds-accent-subtleOrange","color.accent.subtlePurple":"--ds-accent-subtlePurple","color.accent.subtleRed":"--ds-accent-subtleRed","color.accent.subtleTeal":"--ds-accent-subtleTeal","color.iconBorder.brand":"--ds-iconBorder-brand","color.iconBorder.danger":"--ds-iconBorder-danger","color.iconBorder.discovery":"--ds-iconBorder-discovery","color.iconBorder.success":"--ds-iconBorder-success","color.iconBorder.warning":"--ds-iconBorder-warning","color.overlay.hover":"--ds-overlay-hover","color.overlay.pressed":"--ds-overlay-pressed","shadow.card":"--ds-card","shadow.overlay":"--ds-overlay","elevation.shadow.raised":"--ds-shadow-raised","elevation.shadow.overflow":"--ds-shadow-overflow","elevation.shadow.overflow.spread":"--ds-shadow-overflow-spread","elevation.shadow.overflow.perimeter":"--ds-shadow-overflow-perimeter","elevation.shadow.overlay":"--ds-shadow-overlay","elevation.surface":"--ds-surface","elevation.surface.hovered":"--ds-surface-hovered","elevation.surface.pressed":"--ds-surface-pressed","elevation.surface.sunken":"--ds-surface-sunken","elevation.surface.raised":"--ds-surface-raised","elevation.surface.raised.hovered":"--ds-surface-raised-hovered","elevation.surface.raised.pressed":"--ds-surface-raised-pressed","elevation.surface.overlay":"--ds-surface-overlay","elevation.surface.overlay.hovered":"--ds-surface-overlay-hovered","elevation.surface.overlay.pressed":"--ds-surface-overlay-pressed","opacity.disabled":"--ds-opacity-disabled","opacity.loading":"--ds-opacity-loading","utility.UNSAFE_util.transparent":"--ds-UNSAFE_util-transparent","utility.UNSAFE_util.MISSING_TOKEN":"--ds-UNSAFE_util-MISSING_TOKEN"}),n),o);Object({NODE_ENV:"production"})._PACKAGE_NAME_,Object({NODE_ENV:"production"})._PACKAGE_VERSION_;t.a=function(e,t){let r=s[e];return r||(r="--ds-token-not-found"),t?`var(${r}, ${t})`:`var(${r})`}}])}));
59
+ `,Ba={loginAriaLabel:{id:"embedded.confluence.login-page.login-button.aria-label",description:"The aria label for login button",defaultMessage:"Login Button"},loginText:{id:"embedded.confluence.login-page.login-text",description:"Text to display before login button",defaultMessage:"Log in to collaborate with your team"},loginButton:{id:"embedded.confluence.login-page.login-button",description:"The label for login button",defaultMessage:"Log in to Confluence"}},Ga=e=>{let{url:t}=e;const r=i.a.useMemo(()=>{var e,r;return`${t?new URL(t).origin:null===(e=window)||void 0===e||null===(r=e.location)||void 0===r?void 0:r.origin}/login?application=confluence&dest-url=${encodeURIComponent("/wiki/embed/login-confirmation")}`},[t]),{formatMessage:n}=hn();return i.a.createElement(Na,null,i.a.createElement(ya,{size:"large",appearance:"brand"}),i.a.createElement(Ia,null),i.a.createElement(Ra,null,n(Ba.loginText)),i.a.createElement(Ua,{"aria-label":n(Ba.loginAriaLabel),appearance:"primary",onClick:()=>function(e){window.open(e,"_blank","popup=yes,left=100,top=100,width=640,height=640")}(r)},n(Ba.loginButton)))};function za(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 Va(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?za(Object(r),!0).forEach((function(t){Za(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):za(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Ha,$a,Wa,qa;function Ka(e,t){switch(t.subject){case Ha.STORAGE_ACCESS:switch(t.status){case Wa.GRANTED:return Va(Va({},e),{},{iframeLoaded:!1,contentLoadStarted:!1,shouldAskStorageAccess:!1});case Wa.REJECTED:return Va(Va({},e),{},{iframeLoaded:!1,contentLoadStarted:!1,shouldAskStorageAccess:!1,shouldAskToLogin:!0});case Wa.NOT_SUPPORTED:return Va(Va({},e),{},{iframeLoaded:!1,contentLoadStarted:!1,shouldAskToLogin:!0,shouldAskStorageAccess:!1});case Wa.ERROR:return Va({},e)}break;case Ha.LOGIN_CONFIRMATION:switch(t.status){case qa.SUCCESS:return Va(Va({},e),{},{iframeLoaded:!1,contentLoadStarted:!1,shouldAskToLogin:!1})}break;case Ha.CONTENT_LOAD:switch(t.status){case $a.IFRAME_LOADED:return Va(Va({},e),{},{iframeLoaded:!0});case $a.CONTENT_LOAD_STARTED:return Va(Va({},e),{},{contentLoadStarted:!0})}}}!function(e){e.STORAGE_ACCESS="storage-access",e.LOGIN_CONFIRMATION="login-confirmation",e.CONTENT_LOAD="content-load"}(Ha||(Ha={})),function(e){e.IFRAME_LOADED="iframe-loaded",e.CONTENT_LOAD_STARTED="content-load-started"}($a||($a={})),function(e){e.GRANTED="granted",e.REJECTED="rejected",e.NOT_SUPPORTED="not-supported",e.ERROR="error"}(Wa||(Wa={})),function(e){e.SUCCESS="success"}(qa||(qa={}));function Xa(){return(Xa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const Ya=()=>{},Ja=e=>{const{standaloneConfluenceUrl:t,embeddedConfluenceUrl:r}=an(e);return!!r&&window.location.origin===new URL(r).origin?e.children({handleIframeOnLoad:Ya,handleContentLoadStarted:Ya}):i.a.createElement(Qa,Xa({key:r||e.contentId,standaloneConfluenceUrl:t,embeddedConfluenceUrl:r,allowedFeatures:e.allowedFeatures},e))},Qa=e=>{var t;let{children:r,standaloneConfluenceUrl:n,embeddedConfluenceUrl:o,allowedFeatures:c,parentProduct:s}=e;const l=Object(a.useRef)(null),{state:u,dispatch:d}=(()=>{const[e,t]=Object(a.useReducer)(Ka,{iframeLoaded:!1,contentLoadStarted:!1,shouldAskStorageAccess:!0,shouldAskToLogin:!0}),r=Object(a.useCallback)(e=>{var r;const{subject:n,result:o}=null!==(r=e.data)&&void 0!==r?r:{};if(n&&o)switch(n){case Ha.STORAGE_ACCESS:switch(o){case Wa.GRANTED:t({subject:Ha.STORAGE_ACCESS,status:Wa.GRANTED});break;case Wa.REJECTED:t({subject:Ha.STORAGE_ACCESS,status:Wa.REJECTED});break;case Wa.NOT_SUPPORTED:t({subject:Ha.STORAGE_ACCESS,status:Wa.NOT_SUPPORTED});break;case Wa.ERROR:t({subject:Ha.STORAGE_ACCESS,status:Wa.ERROR})}break;case Ha.LOGIN_CONFIRMATION:switch(o){case qa.SUCCESS:t({subject:Ha.LOGIN_CONFIRMATION,status:qa.SUCCESS})}}},[]);return Object(a.useEffect)(()=>(window.addEventListener("message",r),()=>window.removeEventListener("message",r)),[r]),{state:e,dispatch:t}})(),{iframeLoaded:f,contentLoadStarted:p,shouldAskStorageAccess:b,shouldAskToLogin:g}=u,h=null!==(t=null==c?void 0:c.includes("login-dev-only"))&&void 0!==t&&t,m=()=>{const e="/wiki/embed/storage-access?parentProduct="+s;return(o?new URL(o).origin:window.location.origin)+e};if(!(f&&!p))return r({handleIframeOnLoad:()=>{d({subject:Ha.CONTENT_LOAD,status:$a.IFRAME_LOADED})},handleContentLoadStarted:()=>{d({subject:Ha.CONTENT_LOAD,status:$a.CONTENT_LOAD_STARTED})}});if(h){if(b)return i.a.createElement(Yr,{src:m(),ref:l});if(g)return i.a.createElement(Ga,{url:o})}return i.a.createElement(Sa,{standaloneConfluenceUrl:n})};function ei(e){var t=hn(),r=t.formatMessage,n=t.textComponent,o=void 0===n?a.Fragment:n,i=e.id,c=e.description,s=e.defaultMessage,l=e.values,u=e.children,d=e.tagName,f=void 0===d?o:d,p=r({id:i,description:c,defaultMessage:s},l,{ignoreTag:e.ignoreTag});return"function"==typeof u?u(Array.isArray(p)?p:[p]):f?a.createElement(f,null,a.Children.toArray(p)):a.createElement(a.Fragment,null,p)}ei.displayName="FormattedMessage";var ti=a.memo(ei,(function(e,t){var r=e.values,n=u(e,["values"]),o=t.values,a=u(t,["values"]);return qe(o,r)&&qe(n,a)}));ti.displayName="MemoizedFormattedMessage";var ri=ti,ni=r(6);function oi(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 ai(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ii(e){let{fn:t,action:r,componentName:n,packageName:o,packageVersion:i,analyticsData:c}=e;const{createAnalyticsEvent:s}=Yt(),l=wn(c),u=wn(t);return Object(a.useCallback)(()=>{const e=s({action:r,actionSubject:n,attributes:{componentName:n,packageName:o,packageVersion:i}}),t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(r),!0).forEach((function(t){ai(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({componentName:n,packageName:o,packageVersion:i},l.current);e.context.push(t);const a=e.clone();a&&a.fire("atlaskit"),u.current(e)},[r,n,o,i,s,l,u])}const ci=()=>"undefined"!=typeof window&&"matchMedia"in window,si=()=>{if(!ci())return!1;const{matches:e}=window.matchMedia("(prefers-reduced-motion: reduce)");return e},li={appear:!0,isExiting:!1},ui=Object(a.createContext)(li),di=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:li;return i.a.createElement(ui.Provider,{key:e.key+"-provider",value:t},e)},fi=e=>e.reduce((e,t)=>(e[t.key]=t,e),{}),pi=Object(a.memo)(e=>{let{appear:t=!1,children:r,exitThenEnter:n}=e;const o=(e=>{const t=[];return a.Children.toArray(e).forEach(e=>{"boolean"!=typeof e&&Boolean(e)&&t.push(e)}),t})(r),i=fi(o),c=Object(a.useRef)([]),s=Object(a.useRef)([]),l=(()=>{const[,e]=Object(a.useState)({});return Object(a.useCallback)(()=>e({}),[])})(),u=Object(a.useRef)({}),d=Object(a.useRef)(t),f=Object(a.useMemo)(()=>({appear:d.current,isExiting:!1}),[d.current]);return si()?o:(d.current||(d.current=!0),c.current.length&&((e,t)=>{for(let r=0;r<t.length;r++){if(!e[t[r].key])return!0}return!1})(i,c.current)?((0===s.current.length||((e,t)=>{let r=!1;return t.forEach(t=>{e.current[t.key]&&(r=!0,delete e.current[t.key])}),r})(u,o))&&(s.current=c.current),c.current=o,(n?s.current:((e,t)=>{const r=t.concat([]),n=fi(t);for(let t=0;t<e.length;t++){const o=e[t];!n[o.key]&&r.splice(t+1,0,o)}return r})(o,s.current)).map(e=>{const t=i[e.key];return t?di(t,f):(u.current[e.key]=!0,di(e,{isExiting:!0,appear:!0,onFinish:()=>{delete u.current[e.key],0===Object.keys(u.current).length&&(c.current=[],s.current=[],l())}}))})):(c.current=o,o.map(e=>di(e,f))))});pi.displayName="ExitingPersistence";var bi=pi;const gi=700,hi=e=>{switch(e.cleanup){case"next-effect":return;case"unmount":default:return[]}},mi=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{cleanup:"unmount"};const t=Object(a.useRef)([]);return Object(a.useEffect)(()=>()=>{t.current.length&&(t.current.forEach(e=>clearTimeout(e)),t.current=[])},hi(e)),Object(a.useCallback)((function(e,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];const i=setTimeout(()=>{t.current=t.current.filter(e=>e!==i),e()},r,...o);t.current.push(i)}),[])};"undefined"==typeof window?a.useEffect:a.useLayoutEffect;const yi=Object(a.createContext)(()=>({isReady:!0,delay:0,ref:Ln})),vi=()=>{const e=function(){const e=Object(a.useRef)("");return e.current||(e.current="_"+(Number(String(Math.random()).slice(2))+Date.now()+Math.round(performance.now())).toString(36)),e.current}();return Object(a.useContext)(yi)(e)};function Oi(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 Ci(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oi(Object(r),!0).forEach((function(t){ki(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ki(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ei=e=>{let{children:t,animationTimingFunction:r,enteringAnimation:n,exitingAnimation:o,isPaused:c,onFinish:s,duration:l=gi}=e;const u=vi(),{isExiting:d,onFinish:f,appear:p}=Object(a.useContext)(ui),b=mi(),g=c||!u.isReady,h=d?0:u.delay,m=d?"exiting":"entering",[y,v]=Object(a.useState)(p);return Object(a.useEffect)(()=>{let e=!1;if(!g){if(p)return v(!0),b(()=>{"exiting"===m&&f&&f(),e||v(!1),s&&s(m)},d?.5*l:l+h),()=>{e=!0};s&&s(m)}},[f,m,d,l,h,g,b]),i.a.createElement(En.a,null,e=>{let{css:a}=e;return t({ref:u.ref,className:y?a(Ci(Ci({},{"@media (prefers-reduced-motion: reduce)":{animation:"none",transition:"none"}}),{},{animationDelay:h+"ms",animationDuration:(d?.5*l:l)+"ms",animationFillMode:d?"forwards":"backwards",animationName:""+Object(En.d)(d&&o||n),animationPlayState:g?"paused":"running",animationTimingFunction:r(m)})):""},m)})};function wi(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 xi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wi(Object(r),!0).forEach((function(t){ji(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ji(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _i={proportional:{bottom:"translate3d(0, calc(5% + 4px), 0)",left:"translate3d(calc(-5% - 4px), 0, 0)",right:"translate3d(calc(5% + 4px), 0, 0)",top:"translate3d(0, calc(-5% - 4px), 0)"},constant:{bottom:"translate3d(0, 4px, 0)",left:"translate3d(-4px, 0, 0)",right:"translate3d(4px, 0, 0)",top:"translate3d(0, -4px, 0)"}},Li={top:"bottom",bottom:"top",left:"right",right:"left"},Si=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"proportional";return{from:xi({opacity:0},void 0!==e&&{transform:_i[t][e]}),"50%":{opacity:1},to:{transform:void 0!==e?"none":void 0}}},Ai=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"proportional";return{from:{opacity:1,transform:void 0!==e?"translate3d(0, 0, 0)":void 0},to:xi({opacity:0},void 0!==e&&{transform:_i[t][e]})}};var Fi=e=>{let{children:t,duration:r=gi,entranceDirection:n,exitDirection:o,distance:a="proportional",onFinish:c,isPaused:s}=e;const l=n&&Li[n];return i.a.createElement(Ei,{duration:r,enteringAnimation:Si(n,a),exitingAnimation:Ai(o||l,a),animationTimingFunction:()=>"cubic-bezier(0.15,1,0.3,1)",onFinish:c,isPaused:s},t)},Pi=a.createContext();a.createContext();var Ti=function(e,t){if("function"==typeof e)return function(e){if("function"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.apply(void 0,r)}}(e,t);null!=e&&(e.current=t)},Mi=function(e){return e.reduce((function(e,t){var r=t[0],n=t[1];return e[r]=n,e}),{})},Di="undefined"!=typeof window&&window.document&&window.document.createElement?a.useLayoutEffect:a.useEffect;function Ni(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Ii(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ri(e){var t=Ii(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ui(e){return e instanceof Ii(e).Element||e instanceof Element}function Bi(e){return e instanceof Ii(e).HTMLElement||e instanceof HTMLElement}function Gi(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ii(e).ShadowRoot||e instanceof ShadowRoot)}function zi(e){return e?(e.nodeName||"").toLowerCase():null}function Vi(e){return((Ui(e)?e.ownerDocument:e.document)||window.document).documentElement}function Zi(e){return Ni(Vi(e)).left+Ri(e).scrollLeft}function Hi(e){return Ii(e).getComputedStyle(e)}function $i(e){var t=Hi(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Wi(e,t,r){void 0===r&&(r=!1);var n,o,a=Vi(t),i=Ni(e),c=Bi(t),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(c||!c&&!r)&&(("body"!==zi(t)||$i(a))&&(s=(n=t)!==Ii(n)&&Bi(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:Ri(n)),Bi(t)?((l=Ni(t)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Zi(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function qi(e){var t=Ni(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Ki(e){return"html"===zi(e)?e:e.assignedSlot||e.parentNode||(Gi(e)?e.host:null)||Vi(e)}function Xi(e,t){var r;void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(zi(t))>=0?t.ownerDocument.body:Bi(t)&&$i(t)?t:e(Ki(t))}(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=Ii(n),i=o?[a].concat(a.visualViewport||[],$i(n)?n:[]):n,c=t.concat(i);return o?c:c.concat(Xi(Ki(i)))}function Yi(e){return["table","td","th"].indexOf(zi(e))>=0}function Ji(e){return Bi(e)&&"fixed"!==Hi(e).position?e.offsetParent:null}function Qi(e){for(var t=Ii(e),r=Ji(e);r&&Yi(r)&&"static"===Hi(r).position;)r=Ji(r);return r&&("html"===zi(r)||"body"===zi(r)&&"static"===Hi(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Bi(e)&&"fixed"===Hi(e).position)return null;for(var r=Ki(e);Bi(r)&&["html","body"].indexOf(zi(r))<0;){var n=Hi(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var ec="top",tc="bottom",rc="right",nc="left",oc=[ec,tc,rc,nc],ac=oc.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),ic=[].concat(oc,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),cc=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function sc(e){var t=new Map,r=new Set,n=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||function e(o){r.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(n){if(!r.has(n)){var o=t.get(n);o&&e(o)}})),n.push(o)}(e)})),n}var lc={placement:"bottom",modifiers:[],strategy:"absolute"};function uc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function dc(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,a=void 0===o?lc:o;return function(e,t,r){void 0===r&&(r=a);var o,i,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},lc,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,u={state:c,setOptions:function(r){d(),c.options=Object.assign({},a,c.options,r),c.scrollParents={reference:Ui(e)?Xi(e):e.contextElement?Xi(e.contextElement):[],popper:Xi(t)};var o=function(e){var t=sc(e);return cc.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}(function(e){var t=e.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,c.options.modifiers)));return c.orderedModifiers=o.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var a=o({state:c,name:t,instance:u,options:n});s.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!l){var e=c.elements,t=e.reference,r=e.popper;if(uc(t,r)){c.rects={reference:Wi(t,Qi(r),"fixed"===c.options.strategy),popper:qi(r)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<c.orderedModifiers.length;n++)if(!0!==c.reset){var o=c.orderedModifiers[n],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(c=a({state:c,options:s,name:d,instance:u})||c)}else c.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(c)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),l=!0}};if(!uc(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(r).then((function(e){!l&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var fc={passive:!0};var pc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,c=void 0===i||i,s=Ii(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",r.update,fc)})),c&&s.addEventListener("resize",r.update,fc),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",r.update,fc)})),c&&s.removeEventListener("resize",r.update,fc)}},data:{}};function bc(e){return e.split("-")[0]}function gc(e){return e.split("-")[1]}function hc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function mc(e){var t,r=e.reference,n=e.element,o=e.placement,a=o?bc(o):null,i=o?gc(o):null,c=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2;switch(a){case ec:t={x:c,y:r.y-n.height};break;case tc:t={x:c,y:r.y+r.height};break;case rc:t={x:r.x+r.width,y:s};break;case nc:t={x:r.x-n.width,y:s};break;default:t={x:r.x,y:r.y}}var l=a?hc(a):null;if(null!=l){var u="y"===l?"height":"width";switch(i){case"start":t[l]=t[l]-(r[u]/2-n[u]/2);break;case"end":t[l]=t[l]+(r[u]/2-n[u]/2)}}return t}var yc={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=mc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},vc=Math.max,Oc=Math.min,Cc=Math.round,kc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ec(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.offsets,i=e.position,c=e.gpuAcceleration,s=e.adaptive,l=e.roundOffsets,u=!0===l?function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:Cc(Cc(t*n)/n)||0,y:Cc(Cc(r*n)/n)||0}}(a):"function"==typeof l?l(a):a,d=u.x,f=void 0===d?0:d,p=u.y,b=void 0===p?0:p,g=a.hasOwnProperty("x"),h=a.hasOwnProperty("y"),m=nc,y=ec,v=window;if(s){var O=Qi(r),C="clientHeight",k="clientWidth";O===Ii(r)&&"static"!==Hi(O=Vi(r)).position&&(C="scrollHeight",k="scrollWidth"),O=O,o===ec&&(y=tc,b-=O[C]-n.height,b*=c?1:-1),o===nc&&(m=rc,f-=O[k]-n.width,f*=c?1:-1)}var E,w=Object.assign({position:i},s&&kc);return c?Object.assign({},w,((E={})[y]=h?"0":"",E[m]=g?"0":"",E.transform=(v.devicePixelRatio||1)<2?"translate("+f+"px, "+b+"px)":"translate3d("+f+"px, "+b+"px, 0)",E)):Object.assign({},w,((t={})[y]=h?b+"px":"",t[m]=g?f+"px":"",t.transform="",t))}var wc={left:"right",right:"left",bottom:"top",top:"bottom"};function xc(e){return e.replace(/left|right|bottom|top/g,(function(e){return wc[e]}))}var jc={start:"end",end:"start"};function _c(e){return e.replace(/start|end/g,(function(e){return jc[e]}))}function Lc(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Gi(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Sc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ac(e,t){return"viewport"===t?Sc(function(e){var t=Ii(e),r=Vi(e),n=t.visualViewport,o=r.clientWidth,a=r.clientHeight,i=0,c=0;return n&&(o=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,c=n.offsetTop)),{width:o,height:a,x:i+Zi(e),y:c}}(e)):Bi(t)?function(e){var t=Ni(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Sc(function(e){var t,r=Vi(e),n=Ri(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=vc(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=vc(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-n.scrollLeft+Zi(e),s=-n.scrollTop;return"rtl"===Hi(o||r).direction&&(c+=vc(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:c,y:s}}(Vi(e)))}function Fc(e,t,r){var n="clippingParents"===t?function(e){var t=Xi(Ki(e)),r=["absolute","fixed"].indexOf(Hi(e).position)>=0&&Bi(e)?Qi(e):e;return Ui(r)?t.filter((function(e){return Ui(e)&&Lc(e,r)&&"body"!==zi(e)})):[]}(e):[].concat(t),o=[].concat(n,[r]),a=o[0],i=o.reduce((function(t,r){var n=Ac(e,r);return t.top=vc(n.top,t.top),t.right=Oc(n.right,t.right),t.bottom=Oc(n.bottom,t.bottom),t.left=vc(n.left,t.left),t}),Ac(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Pc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Tc(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function Mc(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,a=r.boundary,i=void 0===a?"clippingParents":a,c=r.rootBoundary,s=void 0===c?"viewport":c,l=r.elementContext,u=void 0===l?"popper":l,d=r.altBoundary,f=void 0!==d&&d,p=r.padding,b=void 0===p?0:p,g=Pc("number"!=typeof b?b:Tc(b,oc)),h="popper"===u?"reference":"popper",m=e.elements.reference,y=e.rects.popper,v=e.elements[f?h:u],O=Fc(Ui(v)?v:v.contextElement||Vi(e.elements.popper),i,s),C=Ni(m),k=mc({reference:C,element:y,strategy:"absolute",placement:o}),E=Sc(Object.assign({},y,k)),w="popper"===u?E:C,x={top:O.top-w.top+g.top,bottom:w.bottom-O.bottom+g.bottom,left:O.left-w.left+g.left,right:w.right-O.right+g.right},j=e.modifiersData.offset;if("popper"===u&&j){var _=j[o];Object.keys(x).forEach((function(e){var t=[rc,tc].indexOf(e)>=0?1:-1,r=[ec,tc].indexOf(e)>=0?"y":"x";x[e]+=_[r]*t}))}return x}function Dc(e,t,r){return vc(e,Oc(t,r))}function Nc(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ic(e){return[ec,rc,tc,nc].some((function(t){return e[t]>=0}))}var Rc,Uc,Bc,Gc,zc,Vc=dc({defaultModifiers:[pc,yc,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,a=r.adaptive,i=void 0===a||a,c=r.roundOffsets,s=void 0===c||c,l={placement:bc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ec(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ec(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),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 r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];Bi(o)&&zi(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});Bi(n)&&zi(n)&&(Object.assign(n.style,a),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=void 0===o?[0,0]:o,i=ic.reduce((function(e,r){return e[r]=function(e,t,r){var n=bc(e),o=[nc,ec].indexOf(n)>=0?-1:1,a="function"==typeof r?r(Object.assign({},t,{placement:e})):r,i=a[0],c=a[1];return i=i||0,c=(c||0)*o,[nc,rc].indexOf(n)>=0?{x:c,y:i}:{x:i,y:c}}(r,t.rects,a),e}),{}),c=i[t.placement],s=c.x,l=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=void 0===o||o,i=r.altAxis,c=void 0===i||i,s=r.fallbackPlacements,l=r.padding,u=r.boundary,d=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,b=void 0===p||p,g=r.allowedAutoPlacements,h=t.options.placement,m=bc(h),y=s||(m===h||!b?[xc(h)]:function(e){if("auto"===bc(e))return[];var t=xc(e);return[_c(e),t,_c(t)]}(h)),v=[h].concat(y).reduce((function(e,r){return e.concat("auto"===bc(r)?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,c=r.flipVariations,s=r.allowedAutoPlacements,l=void 0===s?ic:s,u=gc(n),d=u?c?ac:ac.filter((function(e){return gc(e)===u})):oc,f=d.filter((function(e){return l.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,r){return t[r]=Mc(e,{placement:r,boundary:o,rootBoundary:a,padding:i})[bc(r)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:r,boundary:u,rootBoundary:d,padding:l,flipVariations:b,allowedAutoPlacements:g}):r)}),[]),O=t.rects.reference,C=t.rects.popper,k=new Map,E=!0,w=v[0],x=0;x<v.length;x++){var j=v[x],_=bc(j),L="start"===gc(j),S=[ec,tc].indexOf(_)>=0,A=S?"width":"height",F=Mc(t,{placement:j,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),P=S?L?rc:nc:L?tc:ec;O[A]>C[A]&&(P=xc(P));var T=xc(P),M=[];if(a&&M.push(F[_]<=0),c&&M.push(F[P]<=0,F[T]<=0),M.every((function(e){return e}))){w=j,E=!1;break}k.set(j,M)}if(E)for(var D=function(e){var t=v.find((function(t){var r=k.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return w=t,"break"},N=b?3:1;N>0;N--){if("break"===D(N))break}t.placement!==w&&(t.modifiersData[n]._skip=!0,t.placement=w,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=void 0===o||o,i=r.altAxis,c=void 0!==i&&i,s=r.boundary,l=r.rootBoundary,u=r.altBoundary,d=r.padding,f=r.tether,p=void 0===f||f,b=r.tetherOffset,g=void 0===b?0:b,h=Mc(t,{boundary:s,rootBoundary:l,padding:d,altBoundary:u}),m=bc(t.placement),y=gc(t.placement),v=!y,O=hc(m),C="x"===O?"y":"x",k=t.modifiersData.popperOffsets,E=t.rects.reference,w=t.rects.popper,x="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,j={x:0,y:0};if(k){if(a||c){var _="y"===O?ec:nc,L="y"===O?tc:rc,S="y"===O?"height":"width",A=k[O],F=k[O]+h[_],P=k[O]-h[L],T=p?-w[S]/2:0,M="start"===y?E[S]:w[S],D="start"===y?-w[S]:-E[S],N=t.elements.arrow,I=p&&N?qi(N):{width:0,height:0},R=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=R[_],B=R[L],G=Dc(0,E[S],I[S]),z=v?E[S]/2-T-G-U-x:M-G-U-x,V=v?-E[S]/2+T+G+B+x:D+G+B+x,Z=t.elements.arrow&&Qi(t.elements.arrow),H=Z?"y"===O?Z.clientTop||0:Z.clientLeft||0:0,$=t.modifiersData.offset?t.modifiersData.offset[t.placement][O]:0,W=k[O]+z-$-H,q=k[O]+V-$;if(a){var K=Dc(p?Oc(F,W):F,A,p?vc(P,q):P);k[O]=K,j[O]=K-A}if(c){var X="x"===O?ec:nc,Y="x"===O?tc:rc,J=k[C],Q=J+h[X],ee=J-h[Y],te=Dc(p?Oc(Q,W):Q,J,p?vc(ee,q):ee);k[C]=te,j[C]=te-J}}t.modifiersData[n]=j}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,i=r.modifiersData.popperOffsets,c=bc(r.placement),s=hc(c),l=[nc,rc].indexOf(c)>=0?"height":"width";if(a&&i){var u=function(e,t){return Pc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Tc(e,oc))}(o.padding,r),d=qi(a),f="y"===s?ec:nc,p="y"===s?tc:rc,b=r.rects.reference[l]+r.rects.reference[s]-i[s]-r.rects.popper[l],g=i[s]-r.rects.reference[s],h=Qi(a),m=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,y=b/2-g/2,v=u[f],O=m-d[l]-u[p],C=m/2-d[l]/2+y,k=Dc(v,C,O),E=s;r.modifiersData[n]=((t={})[E]=k,t.centerOffset=k-C,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Lc(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Mc(t,{elementContext:"reference"}),c=Mc(t,{altBoundary:!0}),s=Nc(i,n),l=Nc(c,o,a),u=Ic(s),d=Ic(l);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Zc=r(47),Hc=r.n(Zc),$c=[],Wc=function(){},qc=function(){return Promise.resolve(null)},Kc=[];function Xc(e){var t=e.placement,r=void 0===t?"bottom":t,n=e.strategy,o=void 0===n?"absolute":n,i=e.modifiers,c=void 0===i?Kc:i,s=e.referenceElement,l=e.onFirstUpdate,u=e.innerRef,d=e.children,f=a.useContext(Pi),p=a.useState(null),b=p[0],g=p[1],h=a.useState(null),m=h[0],y=h[1];a.useEffect((function(){Ti(u,b)}),[u,b]);var v,O=a.useMemo((function(){return{placement:r,strategy:o,onFirstUpdate:l,modifiers:[].concat(c,[{name:"arrow",enabled:null!=m,options:{element:m}}])}}),[r,o,l,c,m]),C=function(e,t,r){void 0===r&&(r={});var n=a.useRef(null),o={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||$c},i=a.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),c=i[0],s=i[1],l=a.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,r=Object.keys(t.elements);s({styles:Mi(r.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Mi(r.map((function(e){return[e,t.attributes[e]]})))})},requires:["computeStyles"]}}),[]),u=a.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[l,{name:"applyStyles",enabled:!1}])};return Hc()(n.current,e)?n.current||e:(n.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,l]),d=a.useRef();return Di((function(){d.current&&d.current.setOptions(u)}),[u]),Di((function(){if(null!=e&&null!=t){var n=(r.createPopper||Vc)(e,t,u);return d.current=n,function(){n.destroy(),d.current=null}}}),[e,t,r.createPopper]),{state:d.current?d.current.state:null,styles:c.styles,attributes:c.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}(s||f,b,O),k=C.state,E=C.styles,w=C.forceUpdate,x=C.update,j=a.useMemo((function(){return{ref:g,style:E.popper,placement:k?k.placement:r,hasPopperEscaped:k&&k.modifiersData.hide?k.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:k&&k.modifiersData.hide?k.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:E.arrow,ref:y},forceUpdate:w||Wc,update:x||qc}}),[g,y,r,k,E,x,w]);return(v=d,Array.isArray(v)?v[0]:v)(j)}const Yc=!(null!==(Rc=void 0!==(null===globalThis||void 0===globalThis||null===(Uc=globalThis.process)||void 0===Uc||null===(Bc=Uc.env)||void 0===Bc?void 0:Bc.JEST_WORKER_ID))&&void 0!==Rc&&Rc)&&"production"!==(null===globalThis||void 0===globalThis||null===(Gc=globalThis.process)||void 0===Gc||null===(zc=Gc.env)||void 0===zc?void 0:zc.NODE_ENV),Jc=function(){Yc&&console.debug(...arguments)};var Qc,es,ts,rs,ns;const os="@atlaskit/platform-feature-flags",as=null!==(Qc="true"===(null===globalThis||void 0===globalThis||null===(es=globalThis.process)||void 0===es||null===(ts=es.env)||void 0===ts?void 0:ts.ENABLE_PLATFORM_FF)||"true"===(null===globalThis||void 0===globalThis||null===(rs=globalThis.process)||void 0===rs||null===(ns=rs.env)||void 0===ns?void 0:ns.STORYBOOK_ENABLE_PLATFORM_FF))&&void 0!==Qc&&Qc,is=["_isMockFunction"],cs=new Proxy({},{set:(e,t,r)=>"string"!=typeof t||"boolean"!=typeof r?(Jc('[%s]: Cannot set the feature flag "%s" to "%s". The registry only accepts string keys and boolean values.',os,t,r),!0):!1===e[t]?(Jc('[%s]: The feature flag "%s" was already disabled. The overrides are not allowed',os,t,r),!0):(e[t]=r,Jc('[%s]: Feature flag "%s" was set to "%s"',os,t,r),!0),get(e,t){if(as){if(Jc('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',os,t),is.includes(t))return;return!0}return e[t]}}),ss=globalThis.__AF_PLATFORM_FLAGS;globalThis.__AF_PLATFORM_FLAGS=cs,ss&&Object.assign(cs,ss);const ls=[{name:"flip",options:{flipVariations:!1,padding:5,boundary:"clippingParents",rootBoundary:"viewport"}},{name:"preventOverflow",options:{padding:5,rootBoundary:"document"}}];function us(){return null}const ds=[0,8];let fs=null;var ps,bs;function gs(e){let{children:t=us,offset:r=ds,placement:n="bottom-start",referenceElement:o,modifiers:c,strategy:s="fixed"}=e;const[l,u]=r,d=Object(a.useMemo)(()=>[...ls,{name:"offset",options:{offset:[l,u]}}],[l,u]),f=Object(a.useMemo)(()=>null==c?d:[...d,...c],[d,c]),p=Object(a.useCallback)(e=>i.a.createElement(a.Fragment,null,fs,t(e)),[t]);return i.a.createElement(Xc,{modifiers:f,placement:n,strategy:s,referenceElement:o},p)}ps="uip.popper.flex-team",null!==(bs=null==cs?void 0:cs[ps])&&void 0!==bs&&bs&&(fs=i.a.createElement("em",{hidden:!0,"data-flex":"Hello from UIP"}));var hs=r(46);const ms=()=>{const e=document.querySelector("body > .atlaskit-portal-container");if(!e){const e=document.createElement("div");return e.className="atlaskit-portal-container",e.style.display="flex",document.body.appendChild(e),e}return e};function ys(e){const{zIndex:t,children:r}=e,n=Object(a.useMemo)(()=>(e=>{const t=document.createElement("div");return t.className="atlaskit-portal",t.style.zIndex=""+e,t})(t),[t]);return(e=>{e.parentElement||ms().appendChild(e)})(n),Object(a.useEffect)(()=>()=>{(e=>{ms().removeChild(e)})(n)},[n]),Object(hs.createPortal)(r,n)}var vs=()=>{const[e,t]=Object(a.useState)(!1);return Object(a.useEffect)(()=>{t(!0)},[]),e};const Os={100:"card",200:"navigation",300:"dialog",400:"layer",500:"blanket",510:"modal",600:"flag",700:"spotlight",800:"tooltip"},Cs=e=>Os.hasOwnProperty(e)?Os[e]:null;function ks(e,t){const r=((e,t)=>{const r={layer:Cs(Number(t)),zIndex:t};return new CustomEvent(e,{detail:r})})(e,t);window.dispatchEvent(r)}var Es=e=>{const t=Number(e);Object(a.useEffect)(()=>(ks("akPortalMount",t),()=>{ks("akPortalUnmount",t)}),[t])};function ws(e){const{zIndex:t=0,children:r}=e,n=vs();return Es(t),n?i.a.createElement(ys,{zIndex:t},r):null}let xs=null;function js(){null!=xs&&(window.clearTimeout(xs),xs=null)}function _s(e,t){js(),xs=window.setTimeout(()=>{xs=null,e()},t)}let Ls=null;var Ss=function(e){return void 0===e&&(e=""),{value:1,prefix:e,uid:ca()}},As=Ss(),Fs=a.createContext(Ss()),Ps=(a.createContext(""),function(){return a.useState((e=a.useContext(Fs),{uid:n=((t=r=e||As)?t.prefix:"")+function(e){return e.value++}(r),gen:function(e){return n+r.uid(e)}}));var e,t,r,n});function Ts(e,t){const r=Ps()[0].gen;return t?""+r(e):void 0}function Ms(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 Ds(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ms(Object(r),!0).forEach((function(t){Ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ms(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ns(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Is=Object(En.b)({zindex:"var(tooltipPrimitiveZindex)",cursor:"default"}),Rs=Object(a.forwardRef)((function(e,t){let{style:r,className:n,children:o,placement:a,testId:i,onMouseOut:c,onMouseOver:s,id:l}=e;const u=Ds(Ds({},r),{},{tooltipPrimitiveZindex:Pn()});return Object(En.c)("div",{ref:t,style:u,"data-testid":i?i+"--wrapper":void 0},Object(En.c)("div",{role:"tooltip",className:n,onMouseOut:c,onMouseOver:s,css:Is,"data-placement":a,"data-testid":i,id:l},o))}));Rs.displayName="TooltipPrimitive";var Us=Rs;const Bs=Object(En.b)({boxSizing:"border-box",maxWidth:"240px",padding:`${Object(An.a)("spacing.scale.025","2px")} ${Object(An.a)("spacing.scale.075","6px")}`,top:0,left:0,borderRadius:"3px",fontSize:"12px",lineHeight:1.3,overflowWrap:"break-word",wordWrap:"break-word"}),Gs=Object(En.b)({maxWidth:"420px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),zs=Object(En.b)({backgroundColor:Object(An.a)("color.background.neutral.bold",Xn),color:Object(An.a)("color.text.inverse",Hn)}),Vs=Object(En.b)({backgroundColor:Object(An.a)("color.background.neutral.bold",ro),color:Object(An.a)("color.text.inverse","#B8C7E0")}),Zs=Object(a.forwardRef)((function(e,t){let{style:r,className:n,children:o,truncate:a,placement:i,testId:c,onMouseOut:s,onMouseOver:l,id:u}=e;return Object(En.c)(kn.a.Consumer,null,e=>{let{mode:d}=e;return Object(En.c)(Us,{ref:t,style:r,className:n,placement:i,testId:c,id:u,onMouseOut:s,onMouseOver:l,css:[Bs,a?Gs:null,"light"===d?zs:Vs]},o)})}));Zs.displayName="TooltipContainer";var Hs=Zs;function $s(e){const t=e||{top:0,left:0};return{getBoundingClientRect:()=>({top:t.top,left:t.left,bottom:t.top,right:t.left,width:0,height:0}),clientWidth:0,clientHeight:0}}function Ws(){return(Ws=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function qs(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 Ks(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qs(Object(r),!0).forEach((function(t){Xs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ys=Pn(),Js={componentName:"tooltip",packageName:Object({NODE_ENV:"production"})._PACKAGE_NAME_,packageVersion:Object({NODE_ENV:"production"})._PACKAGE_VERSION_},Qs={top:"bottom",bottom:"top",left:"right",right:"left"};function el(e){let{children:t,position:r="bottom",mousePosition:n="bottom",content:o,truncate:c=!1,component:s=Hs,tag:l="div",testId:u,delay:d=300,onShow:f=Ln,onHide:p=Ln,hideTooltipOnClick:b=!1,hideTooltipOnMouseDown:g=!1,analyticsContext:h,strategy:m="fixed"}=e;const y="mouse"===r?n:r,v=ii(Ks({fn:f,action:"displayed",analyticsData:h},Js)),O=ii(Ks({fn:p,action:"hidden",analyticsData:h},Js)),C=Object(a.useRef)(null),[k,E]=Object(a.useState)("hide"),w=Object(a.useRef)(null),x=Object(a.useRef)(null),j=Object(a.useCallback)(e=>{e&&("function"==typeof t?w.current=e:(x.current=e,w.current=e.firstChild))},[t]),_=Object(a.useRef)(k),L=Object(a.useRef)(d),S=Object(a.useRef)({onShowHandler:v,onHideHandler:O}),A=Object(a.useRef)(!1);Object(a.useEffect)(()=>{_.current=k,L.current=d,S.current={onShowHandler:v,onHideHandler:O}},[d,O,v,k]);const F=Object(a.useCallback)(e=>{C.current=e,A.current=!1},[]),P=Object(a.useCallback)(()=>{C.current&&(A.current&&S.current.onHideHandler(),C.current=null,A.current=!1,E("hide"))},[]),T=Object(a.useCallback)(()=>{C.current&&(C.current.abort(),A.current&&S.current.onHideHandler(),C.current=null)},[]);Object(a.useEffect)((function(){return function(){C.current&&T()}}),[T]);const M=Object(a.useCallback)(e=>{if(C.current&&!C.current.isActive()&&T(),C.current&&C.current.isActive())return void C.current.keep();const t=function(e){let t="waiting-to-show";function r(){return Boolean(Ls&&Ls.entry===e)}function n(){r()&&(js(),Ls=null)}function o(){r()&&e.done(),t="done",n()}function a(){r()&&e.hide({isImmediate:!0}),o()}function i(){return"shown"===t||"waiting-to-hide"===t||"hide-animating"===t}return function(){const r=Boolean(Ls&&Ls.isVisible());function n(){t="shown",e.show({isImmediate:r})}Ls&&(js(),Ls.entry.hide({isImmediate:!0}),Ls.entry.done(),Ls=null),Ls={entry:e,isVisible:i},r?n():(t="waiting-to-show",_s(n,e.delay))}(),{keep:function(){if(r())return"waiting-to-hide"===t?(t="shown",void js()):"hide-animating"===t?(t="shown",js(),void e.show({isImmediate:!1})):void 0},abort:n,isActive:r,requestHide:function(n){let{isImmediate:o}=n;r()&&("waiting-to-show"!==t?"waiting-to-hide"!==t&&(o?a():(t="waiting-to-hide",_s(()=>{t="hide-animating",e.hide({isImmediate:!1})},e.delay))):a())},finishHideAnimation:function(){r()&&"hide-animating"===t&&o()},mousePosition:"mouse"===e.source.type?e.source.mouse:null}}({source:e,delay:L.current,show:e=>{let{isImmediate:t}=e;A.current||(A.current=!0,S.current.onShowHandler()),E(t?"show-immediate":"fade-in")},hide:e=>{let{isImmediate:t}=e;E(t?"hide":"before-fade-out")},done:P});F(t)},[T,P,F]);!function(e){let{onClose:t,isDisabled:r}=e;const n=Object(a.useRef)(!1),o=Object(a.useCallback)(e=>{r||n.current||"Escape"!==e.key||(n.current=!0,t(e))},[t,r]),i=Object(a.useCallback)(()=>{n.current=!1},[]);Object(a.useEffect)(()=>Object(ni.bindAll)(document,[{type:"keydown",listener:o},{type:"keyup",listener:i}],{capture:!1}),[o,i])}({onClose:Object(a.useCallback)(()=>{var e;null===(e=C.current)||void 0===e||e.requestHide({isImmediate:!0})},[C]),isDisabled:"hide"===k||"fade-out"===k}),Object(a.useEffect)(()=>{if("hide"===k)return Ln;"before-fade-out"===k&&E("fade-out");return Object(ni.bind)(window,{type:"scroll",listener:()=>{C.current&&C.current.requestHide({isImmediate:!0})},options:{capture:!0,passive:!0,once:!0}})},[k]);const D=Object(a.useCallback)(()=>{g&&C.current&&C.current.requestHide({isImmediate:!0})},[g]),N=Object(a.useCallback)(()=>{b&&C.current&&C.current.requestHide({isImmediate:!0})},[b]),I=Object(a.useCallback)(e=>{if(x.current&&e.target===x.current)return;if(e.defaultPrevented)return;e.preventDefault();const t="mouse"===r?{type:"mouse",mouse:$s({left:e.clientX,top:e.clientY})}:{type:"keyboard"};M(t)},[r,M]),R=Object(a.useCallback)(e=>{x.current&&e.target===x.current||e.defaultPrevented||(e.preventDefault(),C.current&&C.current.requestHide({isImmediate:!1}))},[]),U="mouse"===r?e=>{var t;null!==(t=C.current)&&void 0!==t&&t.isActive()&&(C.current.mousePosition=$s({left:e.clientX,top:e.clientY}))}:void 0,B=Object(a.useCallback)(()=>{C.current&&C.current.isActive()&&C.current.keep()},[]),G=Object(a.useCallback)(()=>{M({type:"keyboard"})},[M]),z=Object(a.useCallback)(()=>{C.current&&C.current.requestHide({isImmediate:!1})},[]),V=Object(a.useCallback)(e=>{"exiting"===e&&"fade-out"===_.current&&C.current&&C.current.finishHideAnimation()},[]),Z=l,H="hide"!==k&&Boolean(o),$="hide"!==k&&"fade-out"!==k,W=Ts("tooltip",H),q={onMouseOver:I,onMouseOut:R,onMouseMove:U,onMouseDown:D,onClick:N,onFocus:G,onBlur:z,ref:j,"aria-describedby":W};return u&&(q["data-testid"]=u+"--container"),Object(En.c)(i.a.Fragment,null,"function"==typeof t?t(q):Object(En.c)(Z,Ws({},q,{role:"presentation"}),t),H?Object(En.c)(ws,{zIndex:Ys},Object(En.c)(gs,{placement:y,referenceElement:"mouse"===r&&null!==(K=C.current)&&void 0!==K&&K.mousePosition?null===(X=C.current)||void 0===X?void 0:X.mousePosition:w.current||void 0,strategy:m},e=>{let{ref:t,style:n,update:a,placement:i}=e;const l="mouse"===r?void 0:Qs[(e=>e.split("-")[0])(i)];return Object(En.c)(bi,{appear:!0},$&&Object(En.c)(Fi,{distance:"constant",entranceDirection:l,exitDirection:l,onFinish:V,duration:"show-immediate"===k?0:350},e=>{let{className:r}=e;return Object(En.c)(s,{ref:t,className:"Tooltip "+r,style:n,truncate:c,placement:y,testId:u,onMouseOut:R,onMouseOver:B,id:W},"function"==typeof o?o({update:a}):o)}))})):null);var K,X}el.displayName="Tooltip";var tl=el;const rl=Mr.div({fontSize:12,height:52,color:"#5E6C84",display:"flex",alignItems:"center",justifyContent:"center",borderTop:"2px solid "+Jn}),nl=Mr.div({height:16,display:"flex",justifyContent:"center",alignItems:"flex-end"}),ol=Mr.div({display:"flex",flexDirection:"column",justifyContent:"center",margin:"0px 0px 0px 8px"}),al=Mr.a({"&, &:focus, &:active, &:hover":{color:"inherit",outline:"none",boxShadow:"none",textDecoration:"none"}}),il=e=>{let{url:t}=e;return i.a.createElement(rl,{"data-testid":"footer-container"},t?i.a.createElement(sl,{tooltipText:i.a.createElement(ri,{id:"embedded.confluence.footer.hover.text",description:"Hover text on Confluence Footer Content",defaultMessage:"View in Confluence"}),href:t},e=>{let{isHovered:t}=e;return i.a.createElement(cl,{isHovered:t})}):i.a.createElement(cl,null))},cl=e=>{let{isHovered:t}=e;return i.a.createElement(nl,null,i.a.createElement(ri,{id:"embedded.confluence.footer.prefix",description:"Prefix label on Confluence Logo",defaultMessage:"Powered by"}),i.a.createElement(ol,null,i.a.createElement(ya,{size:"xsmall",iconColor:t?Vn:"#5E6C84",textColor:"#5E6C84"})))},sl=e=>{let{children:t,tooltipText:r,href:n}=e;const[o,c]=Object(a.useState)(!1),{createAnalyticsEvent:s}=Yt();return i.a.createElement(tl,{content:r},i.a.createElement(al,{href:n,target:"_blank",onMouseEnter:()=>{c(!0)},onMouseLeave:()=>{c(!1)},onClick:()=>{s({action:"clicked",actionSubject:"link",actionSubjectId:"confluenceFooter",source:"embeddedConfluenceViewPageScreen",eventType:"ui"}).fire("embeddedConfluence")},"data-testid":"link"},t({isHovered:o})))},ll=["className","contentId","hasFooterLogo","parentProduct","spaceKey"];function ul(){return(ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function dl(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 fl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(r),!0).forEach((function(t){pl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function pl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const gl=e=>{let{children:t,className:r="",isHeightSetFromContent:n=!1}=e;const{height:o}=(e=>{const[t,r]=Object(a.useState)(1e3);return Object(a.useEffect)(()=>{if(!e)return;const t=e=>{const t=e.data;"contentSize"===t.type&&t.height&&r(t.height)};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}},[e]),{height:t}})(n);return i.a.createElement(At,null,e=>{let{css:a,cx:c}=e;return i.a.createElement("div",{className:c(a({display:"flex",flexDirection:"column",height:n?o+"px":"100%"}),r)},t)})},hl=Qe(e=>{const{className:t,contentId:r,hasFooterLogo:n,parentProduct:o,spaceKey:a}=e,c=bl(e,ll),s=dr();pr({experienceTracker:s,contentId:r,spaceKey:a,experience:Jt.VIEW_PAGE,ccExperience:Jt.CC_VIEW_PAGE});const{standaloneConfluenceUrl:l,embeddedConfluenceUrl:u}=an(fl(fl({},e),{},{mode:on.VIEW_MODE})),d=!((o===bn||o===gn)&&!n);return i.a.createElement(Ft.Provider,{value:s},i.a.createElement(Tt,{name:Jt.VIEW_PAGE},i.a.createElement(Ja,ul({mode:on.VIEW_MODE},e),e=>{let{handleIframeOnLoad:r,handleContentLoadStarted:n}=e;return i.a.createElement(gl,{className:t,isHeightSetFromContent:c.isHeightSetFromContent},u&&i.a.createElement(Jr,ul({parentProduct:o,src:u,onLoad:r,onContentLoadStarted:n},c)),d&&i.a.createElement(il,{url:l}))})))},{enforceContext:!1});function ml(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=l({timeZone:t},e[n]),r}),{})}function yl(e,t){return Object.keys(l(l({},e),t)).reduce((function(r,n){return r[n]=l(l({},e[n]||{}),t[n]||{}),r}),{})}function vl(e,t){if(!t)return e;var r=Me.formats;return l(l(l({},r),e),{date:yl(ml(r.date,t),ml(e.date||{},t)),time:yl(ml(r.time,t),ml(e.time||{},t))})}function Ol(e,t,r,n,o){var a=e.locale,i=e.formats,c=e.messages,s=e.defaultLocale,u=e.defaultFormats,d=e.fallbackOnEmptyString,f=e.onError,p=e.timeZone,b=e.defaultRichTextElements;void 0===r&&(r={id:""});var h=r.id,y=r.defaultMessage;m(!!h,"[@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 v=String(h),O=c&&Object.prototype.hasOwnProperty.call(c,v)&&c[v];if(Array.isArray(O)&&1===O.length&&O[0].type===g.literal)return O[0].value;if(!n&&O&&"string"==typeof O&&!b)return O.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=l(l({},b),n||{}),i=vl(i,p),u=vl(u,p),!O){if(!1===d&&""===O)return O;if((!y||a&&a.toLowerCase()!==s.toLowerCase())&&f(new Ge(r,a)),y)try{return t.getMessageFormat(y,s,u,o).format(n)}catch(e){return f(new Be('Error formatting default message for: "'+v+'", rendering default message verbatim',a,r,e)),"string"==typeof y?y:v}return v}try{return t.getMessageFormat(O,a,i,l({formatters:t},o||{})).format(n)}catch(e){f(new Be('Error formatting message: "'+v+'", using '+(y?"default message":"id")+" as fallback.",a,r,e))}if(y)try{return t.getMessageFormat(y,s,u,o).format(n)}catch(e){f(new Be('Error formatting the default message for: "'+v+'", rendering message verbatim',a,r,e))}return"string"==typeof O?O:"string"==typeof y?y:v}var Cl=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function kl(e,t,r){var n=e.locale,o=e.formats,a=e.onError;void 0===r&&(r={});var i=r.format,c=i&&He(o,"number",i,a)||{};return t(n,ze(r,Cl,c))}function El(e,t,r,n){void 0===n&&(n={});try{return kl(e,t,n).format(r)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting number.",t))}return String(r)}function wl(e,t,r,n){void 0===n&&(n={});try{return kl(e,t,n).formatToParts(r)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting number.",t))}return[]}var xl=["numeric","style"];function jl(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new xe('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Ce.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,o=e.formats,a=e.onError;void 0===r&&(r={});var i=r.format,c=!!i&&He(o,"relative",i,a)||{};return t(n,ze(r,xl,c))}(e,t,o).format(r,n)}catch(t){e.onError(new Ue("Error formatting relative time.",e.locale,t))}return String(r)}var _l=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function Ll(e,t,r,n){var o=e.locale,a=e.formats,i=e.onError,c=e.timeZone;void 0===n&&(n={});var s=n.format,u=l(l({},c&&{timeZone:c}),s&&He(a,t,s,i)),d=ze(n,_l,u);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=l(l({},d),{hour:"numeric",minute:"numeric"})),r(o,d)}function Sl(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,c="string"==typeof o?new Date(o||0):o;try{return Ll(e,"date",t,i).format(c)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting date.",t))}return String(c)}function Al(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,c="string"==typeof o?new Date(o||0):o;try{return Ll(e,"time",t,i).format(c)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting time.",t))}return String(c)}function Fl(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=r[2],c=void 0===i?{}:i,s=e.timeZone,l=e.locale,u=e.onError,d=ze(c,_l,s?{timeZone:s}:{});try{return t(l,d).formatRange(o,a)}catch(e){u(new De(Te.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function Pl(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,c="string"==typeof o?new Date(o||0):o;try{return Ll(e,"date",t,i).formatToParts(c)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting date.",t))}return[]}function Tl(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,c="string"==typeof o?new Date(o||0):o;try{return Ll(e,"time",t,i).formatToParts(c)}catch(t){e.onError(new De(Te.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Ml=["localeMatcher","type"];function Dl(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new xe('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ce.MISSING_INTL_API));var i=ze(n,Ml);try{return t(o,i).select(r)}catch(e){a(new Ue("Error formatting plural.",o,e))}return"other"}var Nl=["localeMatcher","type","style"],Il=Date.now();function Rl(e,t,r,n){void 0===n&&(n={});var o=Ul(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===o.length?o[0]:o}function Ul(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new xe('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Ce.MISSING_INTL_API));var i=ze(n,Nl);try{var c={},s=r.map((function(e,t){if("object"==typeof e){var r=function(e){return Il+"_"+e+"_"+Il}(t);return c[r]=e,r}return String(e)}));return t(o,i).formatToParts(s).map((function(e){return"literal"===e.type?e:l(l({},e),{value:c[e.value]||e.value})}))}catch(e){a(new De(Te.FORMAT_ERROR,"Error formatting list.",e))}return r}var Bl=["localeMatcher","style","type","fallback"];function Gl(e,t,r,n){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new xe('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Ce.MISSING_INTL_API));var i=ze(n,Bl);try{return t(o,i).of(r)}catch(e){a(new De(Te.FORMAT_ERROR,"Error formatting display name.",e))}}function zl(e){var t;e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&console.warn('[@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 Vl(e,t){var r=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,o=be((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,d([void 0],t,!1)))}),{cache:Ze(e.dateTime),strategy:Ee.variadic}),a=be((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,d([void 0],t,!1)))}),{cache:Ze(e.number),strategy:Ee.variadic}),i=be((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,d([void 0],t,!1)))}),{cache:Ze(e.pluralRules),strategy:Ee.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:be((function(e,t,r,n){return new Me(e,t,r,l({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},n||{}))}),{cache:Ze(e.message),strategy:Ee.variadic}),getRelativeTimeFormat:be((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,d([void 0],e,!1)))}),{cache:Ze(e.relativeTime),strategy:Ee.variadic}),getPluralRules:i,getListFormat:be((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,d([void 0],e,!1)))}),{cache:Ze(e.list),strategy:Ee.variadic}),getDisplayNames:be((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,d([void 0],e,!1)))}),{cache:Ze(e.displayNames),strategy:Ee.variadic})}}(t),n=l(l({},Ve),e),o=n.locale,a=n.defaultLocale,i=n.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new Re('Missing locale data for locale: "'+o+'" in Intl.NumberFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new Re('Missing locale data for locale: "'+o+'" in Intl.DateTimeFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(i&&i(new Ie('"locale" was not configured, using "'+a+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),n.locale=n.defaultLocale||"en"),zl(n),l(l({},n),{formatters:r,formatNumber:El.bind(null,n,r.getNumberFormat),formatNumberToParts:wl.bind(null,n,r.getNumberFormat),formatRelativeTime:jl.bind(null,n,r.getRelativeTimeFormat),formatDate:Sl.bind(null,n,r.getDateTimeFormat),formatDateToParts:Pl.bind(null,n,r.getDateTimeFormat),formatTime:Al.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:Fl.bind(null,n,r.getDateTimeFormat),formatTimeToParts:Tl.bind(null,n,r.getDateTimeFormat),formatPlural:Dl.bind(null,n,r.getPluralRules),formatMessage:Ol.bind(null,n,r),formatList:Rl.bind(null,n,r.getListFormat),formatListToParts:Ul.bind(null,n,r.getListFormat),formatDisplayName:Gl.bind(null,n,r.getDisplayNames)})}function Zl(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,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Hl(e){return e?Object.keys(e).reduce((function(t,r){var n,o=e[r];return t[r]=Se(o)?(n=o,function(e){return n(a.Children.toArray(e))}):o,t}),{}):e}var $l=function(e,t,r,n){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var c=Hl(n),s=Ol.apply(void 0,d([e,t,r,c],o,!1));return Array.isArray(s)?a.Children.toArray(s):s},Wl=function(e,t){var r=e.defaultRichTextElements,n=u(e,["defaultRichTextElements"]),o=Hl(r),a=Vl(l(l(l({},We),n),{defaultRichTextElements:o}),t);return l(l({},a),{formatMessage:$l.bind(null,{locale:a.locale,timeZone:a.timeZone,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},ql=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Wl(Zl(t.props),t.cache),prevConfig:Zl(t.props)},t}return s(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=Zl(e);return qe(r,o)?null:{intl:Wl(o,n),prevConfig:o}},t.prototype.render=function(){return $e(this.state.intl),a.createElement(Ye,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=We,t}(a.PureComponent),Kl=r(18),Xl=r(19),Yl=r(20),Jl=r(21),Ql={"embedded.confluence.error-page.heading":"⁣⁢Unable to display page content⁠‍؜⁡‍‌‍⁣⁤","embedded.confluence.error-page.imgAltText":"⁣⁢Alt text describing the loading error icon⁡؜‍؜‌⁡‍⁡‌‌‌⁣⁤","embedded.confluence.error-page.message.viewLink":"⁣⁢You can still view this page in Confluence by clicking {confluencePageLink}.‌‍‌‌⁡؜‍‍⁠⁠‍؜⁠⁣⁤","embedded.confluence.footer.hover.text":"⁣⁢View in Confluence‌‍‍⁡⁠⁡⁡؜⁠⁠⁠‍‌⁠⁠⁠⁠⁣⁤","embedded.confluence.footer.prefix":"⁣⁢Powered by‌‌؜؜؜‌‌‌⁣⁤","embedded.confluence.login-page.login-button":"⁣⁢Log in to Confluence؜‌؜⁡؜‌‍؜‌⁡⁣⁤","embedded.confluence.login-page.login-button.aria-label":"⁣⁢Login Button؜‌؜⁠‍⁡‍؜‌⁣⁤","embedded.confluence.login-page.login-text":"⁣⁢Log in to collaborate with your team⁡‌⁡؜⁡؜⁠‍‍‌؜‌⁣⁤","embedded.confluence.no-storage-access.confluencePageLink":"⁣⁢here⁡‌⁡‌؜⁠‌؜⁣⁤"},eu=r(22),tu=r(23),ru=r(24),nu=r(25),ou=r(26),au=r(27),iu=r(28),cu=r(29),su=r(9),lu=r(30),uu=r(31),du=r(32),fu=r(33),pu=r(34),bu=r(35),gu=r(36),hu=r(37),mu=r(38),yu=r(39),vu=r(40);const Ou=o,Cu=Qe(e=>{const{language:t,locale:r,region:n}=tn(e),o=Ou[`${t}_${n}`]||Ou[t];return i.a.createElement(ql,{locale:r,messages:o,defaultLocale:"en-US"},e.children)},{enforceContext:!1}),ku=e=>i.a.createElement(Cu,{locale:e.locale},i.a.createElement(hl,e)),Eu=["spaceKey","contentId"];function wu(){return(wu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function xu(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 ju(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(r),!0).forEach((function(t){_u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Su=Qe(e=>{const{spaceKey:t,contentId:r}=e,n=Lu(e,Eu),o=dr();pr({experienceTracker:o,contentId:r,spaceKey:t,experience:Jt.EDIT_PAGE,ccExperience:Jt.CC_EDIT_PAGE_EMBED});const{allowedFeatures:a}=n,c="all"===a||(null==a?void 0:a.includes("template-browser")),{embeddedConfluenceUrl:s}=an(ju(ju({},e),{},{addTemplateBrowserQuery:c,mode:on.EDIT_MODE}));return i.a.createElement(Ft.Provider,{value:o},i.a.createElement(Tt,{name:Jt.EDIT_PAGE},i.a.createElement(Ja,wu({mode:on.EDIT_MODE},e),e=>{let{handleIframeOnLoad:t,handleContentLoadStarted:r}=e;return s?i.a.createElement(Jr,wu({src:s,onLoad:t,onContentLoadStarted:r},n)):null})))},{enforceContext:!1}),Au=e=>i.a.createElement(Cu,{locale:e.locale},i.a.createElement(Su,e))},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return E})),r.d(t,"Icon",(function(){return k}));var n=r(0),o=r(1),a=r(83),i=r(84);const c={light:Object(i.a)("elevation.surface","#FFFFFF"),dark:Object(i.a)("elevation.surface","#1B2638")},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return c[e]},l="16px",u="24px",d="32px",f="48px",p={small:{width:l,height:l},medium:{width:u,height:u},large:{width:d,height:d},xlarge:{width:f,height:f}};Object(o.b)(p.small),Object(o.b)(p.medium),Object(o.b)(p.large),Object(o.b)(p.xlarge);function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function g(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 h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=Object(o.b)({display:"inline-block",flexShrink:0,lineHeight:1,"> svg":h(h({},{overflow:"hidden",pointerEvents:"none",stop:{stopColor:"currentColor"}}),{},{maxWidth:"100%",maxHeight:"100%",color:"var(--icon-primary-color)",fill:"var(--icon-secondary-color)",verticalAlign:"bottom"})}),v=Object(o.b)({"@media screen and (forced-colors: active)":{"> svg":{filter:"grayscale(1)","--icon-primary-color":"CanvasText","--icon-secondary-color":"Canvas"}}}),O=Object(o.b)({"@media screen and (forced-colors: active)":{"> svg":{"--icon-primary-color":"Canvas"}}}),C=Object(o.b)({"@media screen and (forced-colors: active)":{"> svg":{"--icon-secondary-color":"transparent"}}}),k=Object(n.memo)((function(e){const{glyph:t,dangerouslySetGlyph:r,primaryColor:n="currentColor",secondaryColor:i,size:c,testId:l,label:u,width:d,height:f}=e,g=r?{dangerouslySetInnerHTML:{__html:r}}:{children:t?Object(o.c)(t,{role:"presentation"}):null},h=(e=>{let{width:t,height:r,size:n}=e;return t&&r?{width:t,height:r}:n?p[n]:void 0})({width:d,height:f,size:c}),{mode:m}=Object(a.b)();return Object(o.c)("span",b({"data-testid":l,role:u?"img":void 0,"aria-label":u||void 0,"aria-hidden":!u||void 0,style:{"--icon-primary-color":n,"--icon-secondary-color":i||s(m)}},g,{css:[y,v,n===i&&O,"transparent"===i&&C,h&&Object(o.b)({width:h.width,height:h.height,"> svg":h})]}))}));var E=k},,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"b",(function(){return i}));var n=r(44);const{Provider:o,Consumer:a,useTheme:i}=Object(n.a)(()=>({mode:"light"}));t.a={Provider:o,Consumer:a}},function(e,t,r){"use strict";var n={"space.0":"--ds-space-0","space.100":"--ds-space-100","space.150":"--ds-space-150","space.200":"--ds-space-200","space.250":"--ds-space-250","space.300":"--ds-space-300","space.400":"--ds-space-400","space.500":"--ds-space-500","space.600":"--ds-space-600","space.800":"--ds-space-800","space.1000":"--ds-space-1000","space.025":"--ds-space-025","space.050":"--ds-space-050","space.075":"--ds-space-075","spacing.scale.0":"--ds-scale-0","spacing.scale.100":"--ds-scale-100","spacing.scale.150":"--ds-scale-150","spacing.scale.200":"--ds-scale-200","spacing.scale.250":"--ds-scale-250","spacing.scale.300":"--ds-scale-300","spacing.scale.400":"--ds-scale-400","spacing.scale.500":"--ds-scale-500","spacing.scale.600":"--ds-scale-600","spacing.scale.800":"--ds-scale-800","spacing.scale.1000":"--ds-scale-1000","spacing.scale.025":"--ds-scale-025","spacing.scale.050":"--ds-scale-050","spacing.scale.075":"--ds-scale-075","spacing.scaleLinear.0":"--ds-scaleLinear-0","spacing.scaleLinear.100":"--ds-scaleLinear-100","spacing.scaleLinear.200":"--ds-scaleLinear-200","spacing.scaleLinear.300":"--ds-scaleLinear-300","spacing.scaleLinear.400":"--ds-scaleLinear-400","spacing.scaleLinear.500":"--ds-scaleLinear-500","spacing.scaleLinear.600":"--ds-scaleLinear-600","spacing.scaleLinear.700":"--ds-scaleLinear-700","spacing.scaleLinear.800":"--ds-scaleLinear-800","spacing.scaleLinear.900":"--ds-scaleLinear-900","spacing.scaleLinear.1000":"--ds-scaleLinear-1000","spacing.scaleLinear.1100":"--ds-scaleLinear-1100","spacing.size.none":"--ds-size-none","spacing.size.xxxxSmall":"--ds-size-xxxxSmall","spacing.size.xxxSmall":"--ds-size-xxxSmall","spacing.size.xxSmall":"--ds-size-xxSmall","spacing.size.xsmall":"--ds-size-xsmall","spacing.size.small":"--ds-size-small","spacing.size.medium":"--ds-size-medium","spacing.size.large":"--ds-size-large","spacing.size.xlarge":"--ds-size-xlarge","spacing.size.xxlarge":"--ds-size-xxlarge","spacing.size.xxxlarge":"--ds-size-xxxlarge","spacing.size.xxxxlarge":"--ds-size-xxxxlarge","spacing.ecl.element.2":"--ds-ecl-element-2","spacing.ecl.element.4":"--ds-ecl-element-4","spacing.ecl.element.6":"--ds-ecl-element-6","spacing.ecl.element.8":"--ds-ecl-element-8","spacing.ecl.container.12":"--ds-ecl-container-12","spacing.ecl.container.16":"--ds-ecl-container-16","spacing.ecl.container.20":"--ds-ecl-container-20","spacing.ecl.container.24":"--ds-ecl-container-24","spacing.ecl.layout.32":"--ds-ecl-layout-32","spacing.ecl.layout.40":"--ds-ecl-layout-40","spacing.ecl.layout.64":"--ds-ecl-layout-64","spacing.ccc.component.2":"--ds-ccc-component-2","spacing.ccc.component.4":"--ds-ccc-component-4","spacing.ccc.component.6":"--ds-ccc-component-6","spacing.ccc.component.8":"--ds-ccc-component-8","spacing.ccc.content.12":"--ds-ccc-content-12","spacing.ccc.content.16":"--ds-ccc-content-16","spacing.ccc.content.20":"--ds-ccc-content-20","spacing.ccc.content.24":"--ds-ccc-content-24","spacing.ccc.container.32":"--ds-ccc-container-32","spacing.ccc.container.40":"--ds-ccc-container-40","spacing.ccc.container.48":"--ds-ccc-container-48","spacing.gap.100":"--ds-gap-100","spacing.gap.200":"--ds-gap-200","spacing.gap.300":"--ds-gap-300","spacing.inset.100":"--ds-inset-100","spacing.inset.200":"--ds-inset-200","spacing.inset.300":"--ds-inset-300"};var o={"font.family.sans":"--ds-font-family-sans","font.family.monospace":"--ds-font-family-monospace","font.size.100":"--ds-font-size-100","font.size.200":"--ds-font-size-200","font.size.300":"--ds-font-size-300","font.size.400":"--ds-font-size-400","font.size.500":"--ds-font-size-500","font.size.600":"--ds-font-size-600","font.size.050":"--ds-font-size-050","font.size.075":"--ds-font-size-075","font.weight.regular":"--ds-font-weight-regular","font.weight.medium":"--ds-font-weight-medium","font.weight.semibold":"--ds-font-weight-semibold","font.weight.bold":"--ds-font-weight-bold","font.lineHeight.100":"--ds-font-lineHeight-100","font.lineHeight.200":"--ds-font-lineHeight-200","font.lineHeight.300":"--ds-font-lineHeight-300","font.lineHeight.400":"--ds-font-lineHeight-400","font.lineHeight.500":"--ds-font-lineHeight-500","font.lineHeight.600":"--ds-font-lineHeight-600"};function a(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?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=i(i(i({},{"color.text.accent.blue":"--ds-text-accent-blue","color.text.accent.blue.bolder":"--ds-text-accent-blue-bolder","color.text.accent.red":"--ds-text-accent-red","color.text.accent.red.bolder":"--ds-text-accent-red-bolder","color.text.accent.orange":"--ds-text-accent-orange","color.text.accent.orange.bolder":"--ds-text-accent-orange-bolder","color.text.accent.yellow":"--ds-text-accent-yellow","color.text.accent.yellow.bolder":"--ds-text-accent-yellow-bolder","color.text.accent.green":"--ds-text-accent-green","color.text.accent.green.bolder":"--ds-text-accent-green-bolder","color.text.accent.purple":"--ds-text-accent-purple","color.text.accent.purple.bolder":"--ds-text-accent-purple-bolder","color.text.accent.teal":"--ds-text-accent-teal","color.text.accent.teal.bolder":"--ds-text-accent-teal-bolder","color.text.accent.magenta":"--ds-text-accent-magenta","color.text.accent.magenta.bolder":"--ds-text-accent-magenta-bolder","color.text.accent.gray":"--ds-text-accent-gray","color.text.accent.gray.bolder":"--ds-text-accent-gray-bolder","color.text":"--ds-text","color.text.subtle":"--ds-text-subtle","color.text.subtlest":"--ds-text-subtlest","color.text.disabled":"--ds-text-disabled","color.text.inverse":"--ds-text-inverse","color.text.brand":"--ds-text-brand","color.text.selected":"--ds-text-selected","color.text.danger":"--ds-text-danger","color.text.warning":"--ds-text-warning","color.text.warning.inverse":"--ds-text-warning-inverse","color.text.success":"--ds-text-success","color.text.discovery":"--ds-text-discovery","color.text.information":"--ds-text-information","color.text.highEmphasis":"--ds-text-highEmphasis","color.text.link.pressed":"--ds-text-link-pressed","color.text.link.resting":"--ds-text-link-resting","color.text.lowEmphasis":"--ds-text-lowEmphasis","color.text.mediumEmphasis":"--ds-text-mediumEmphasis","color.text.onBold":"--ds-text-onBold","color.text.onBoldWarning":"--ds-text-onBoldWarning","color.icon.accent.blue":"--ds-icon-accent-blue","color.icon.accent.red":"--ds-icon-accent-red","color.icon.accent.orange":"--ds-icon-accent-orange","color.icon.accent.yellow":"--ds-icon-accent-yellow","color.icon.accent.green":"--ds-icon-accent-green","color.icon.accent.purple":"--ds-icon-accent-purple","color.icon.accent.teal":"--ds-icon-accent-teal","color.icon.accent.magenta":"--ds-icon-accent-magenta","color.icon.accent.gray":"--ds-icon-accent-gray","color.icon":"--ds-icon","color.icon.subtle":"--ds-icon-subtle","color.icon.inverse":"--ds-icon-inverse","color.icon.disabled":"--ds-icon-disabled","color.icon.brand":"--ds-icon-brand","color.icon.selected":"--ds-icon-selected","color.icon.danger":"--ds-icon-danger","color.icon.warning":"--ds-icon-warning","color.icon.warning.inverse":"--ds-icon-warning-inverse","color.icon.success":"--ds-icon-success","color.icon.discovery":"--ds-icon-discovery","color.icon.information":"--ds-icon-information","color.border.accent.blue":"--ds-border-accent-blue","color.border.accent.red":"--ds-border-accent-red","color.border.accent.orange":"--ds-border-accent-orange","color.border.accent.yellow":"--ds-border-accent-yellow","color.border.accent.green":"--ds-border-accent-green","color.border.accent.purple":"--ds-border-accent-purple","color.border.accent.teal":"--ds-border-accent-teal","color.border.accent.magenta":"--ds-border-accent-magenta","color.border.accent.gray":"--ds-border-accent-gray","color.border":"--ds-border","color.border.bold":"--ds-border-bold","color.border.inverse":"--ds-border-inverse","color.border.focused":"--ds-border-focused","color.border.input":"--ds-border-input","color.border.disabled":"--ds-border-disabled","color.border.brand":"--ds-border-brand","color.border.selected":"--ds-border-selected","color.border.danger":"--ds-border-danger","color.border.warning":"--ds-border-warning","color.border.success":"--ds-border-success","color.border.discovery":"--ds-border-discovery","color.border.information":"--ds-border-information","color.border.focus":"--ds-border-focus","color.border.neutral":"--ds-border-neutral","color.background.accent.blue.subtlest":"--ds-background-accent-blue-subtlest","color.background.accent.blue.subtler":"--ds-background-accent-blue-subtler","color.background.accent.blue.subtle":"--ds-background-accent-blue-subtle","color.background.accent.blue.bolder":"--ds-background-accent-blue-bolder","color.background.accent.blue":"--ds-background-accent-blue","color.background.accent.blue.bold":"--ds-background-accent-blue-bold","color.background.accent.red.subtlest":"--ds-background-accent-red-subtlest","color.background.accent.red.subtler":"--ds-background-accent-red-subtler","color.background.accent.red.subtle":"--ds-background-accent-red-subtle","color.background.accent.red.bolder":"--ds-background-accent-red-bolder","color.background.accent.red":"--ds-background-accent-red","color.background.accent.red.bold":"--ds-background-accent-red-bold","color.background.accent.orange.subtlest":"--ds-background-accent-orange-subtlest","color.background.accent.orange.subtler":"--ds-background-accent-orange-subtler","color.background.accent.orange.subtle":"--ds-background-accent-orange-subtle","color.background.accent.orange.bolder":"--ds-background-accent-orange-bolder","color.background.accent.orange":"--ds-background-accent-orange","color.background.accent.orange.bold":"--ds-background-accent-orange-bold","color.background.accent.yellow.subtlest":"--ds-background-accent-yellow-subtlest","color.background.accent.yellow.subtler":"--ds-background-accent-yellow-subtler","color.background.accent.yellow.subtle":"--ds-background-accent-yellow-subtle","color.background.accent.yellow.bolder":"--ds-background-accent-yellow-bolder","color.background.accent.yellow":"--ds-background-accent-yellow","color.background.accent.yellow.bold":"--ds-background-accent-yellow-bold","color.background.accent.green.subtlest":"--ds-background-accent-green-subtlest","color.background.accent.green.subtler":"--ds-background-accent-green-subtler","color.background.accent.green.subtle":"--ds-background-accent-green-subtle","color.background.accent.green.bolder":"--ds-background-accent-green-bolder","color.background.accent.green":"--ds-background-accent-green","color.background.accent.green.bold":"--ds-background-accent-green-bold","color.background.accent.teal.subtlest":"--ds-background-accent-teal-subtlest","color.background.accent.teal.subtler":"--ds-background-accent-teal-subtler","color.background.accent.teal.subtle":"--ds-background-accent-teal-subtle","color.background.accent.teal.bolder":"--ds-background-accent-teal-bolder","color.background.accent.teal":"--ds-background-accent-teal","color.background.accent.teal.bold":"--ds-background-accent-teal-bold","color.background.accent.purple.subtlest":"--ds-background-accent-purple-subtlest","color.background.accent.purple.subtler":"--ds-background-accent-purple-subtler","color.background.accent.purple.subtle":"--ds-background-accent-purple-subtle","color.background.accent.purple.bolder":"--ds-background-accent-purple-bolder","color.background.accent.purple":"--ds-background-accent-purple","color.background.accent.purple.bold":"--ds-background-accent-purple-bold","color.background.accent.magenta.subtlest":"--ds-background-accent-magenta-subtlest","color.background.accent.magenta.subtler":"--ds-background-accent-magenta-subtler","color.background.accent.magenta.subtle":"--ds-background-accent-magenta-subtle","color.background.accent.magenta.bolder":"--ds-background-accent-magenta-bolder","color.background.accent.magenta":"--ds-background-accent-magenta","color.background.accent.magenta.bold":"--ds-background-accent-magenta-bold","color.background.accent.gray.subtlest":"--ds-background-accent-gray-subtlest","color.background.accent.gray.subtler":"--ds-background-accent-gray-subtler","color.background.accent.gray.subtle":"--ds-background-accent-gray-subtle","color.background.accent.gray.bolder":"--ds-background-accent-gray-bolder","color.background.disabled":"--ds-background-disabled","color.background.inverse.subtle":"--ds-background-inverse-subtle","color.background.inverse.subtle.hovered":"--ds-background-inverse-subtle-hovered","color.background.inverse.subtle.pressed":"--ds-background-inverse-subtle-pressed","color.background.inverse":"--ds-background-inverse","color.background.input":"--ds-background-input","color.background.input.hovered":"--ds-background-input-hovered","color.background.input.pressed":"--ds-background-input-pressed","color.background.neutral":"--ds-background-neutral","color.background.neutral.hovered":"--ds-background-neutral-hovered","color.background.neutral.pressed":"--ds-background-neutral-pressed","color.background.neutral.subtle":"--ds-background-neutral-subtle","color.background.neutral.subtle.hovered":"--ds-background-neutral-subtle-hovered","color.background.neutral.subtle.pressed":"--ds-background-neutral-subtle-pressed","color.background.neutral.bold":"--ds-background-neutral-bold","color.background.neutral.bold.hovered":"--ds-background-neutral-bold-hovered","color.background.neutral.bold.pressed":"--ds-background-neutral-bold-pressed","color.background.brand.bold":"--ds-background-brand-bold","color.background.brand.bold.hovered":"--ds-background-brand-bold-hovered","color.background.brand.bold.pressed":"--ds-background-brand-bold-pressed","color.background.brand":"--ds-background-brand","color.background.brand.hovered":"--ds-background-brand-hovered","color.background.brand.pressed":"--ds-background-brand-pressed","color.background.selected":"--ds-background-selected","color.background.selected.hovered":"--ds-background-selected-hovered","color.background.selected.pressed":"--ds-background-selected-pressed","color.background.selected.bold":"--ds-background-selected-bold","color.background.selected.bold.hovered":"--ds-background-selected-bold-hovered","color.background.selected.bold.pressed":"--ds-background-selected-bold-pressed","color.background.selected.resting":"--ds-background-selected-resting","color.background.selected.hover":"--ds-background-selected-hover","color.background.danger":"--ds-background-danger","color.background.danger.hovered":"--ds-background-danger-hovered","color.background.danger.pressed":"--ds-background-danger-pressed","color.background.danger.bold":"--ds-background-danger-bold","color.background.danger.bold.hovered":"--ds-background-danger-bold-hovered","color.background.danger.bold.pressed":"--ds-background-danger-bold-pressed","color.background.warning":"--ds-background-warning","color.background.warning.hovered":"--ds-background-warning-hovered","color.background.warning.pressed":"--ds-background-warning-pressed","color.background.warning.bold":"--ds-background-warning-bold","color.background.warning.bold.hovered":"--ds-background-warning-bold-hovered","color.background.warning.bold.pressed":"--ds-background-warning-bold-pressed","color.background.success":"--ds-background-success","color.background.success.hovered":"--ds-background-success-hovered","color.background.success.pressed":"--ds-background-success-pressed","color.background.success.bold":"--ds-background-success-bold","color.background.success.bold.hovered":"--ds-background-success-bold-hovered","color.background.success.bold.pressed":"--ds-background-success-bold-pressed","color.background.discovery":"--ds-background-discovery","color.background.discovery.hovered":"--ds-background-discovery-hovered","color.background.discovery.pressed":"--ds-background-discovery-pressed","color.background.discovery.bold":"--ds-background-discovery-bold","color.background.discovery.bold.hovered":"--ds-background-discovery-bold-hovered","color.background.discovery.bold.pressed":"--ds-background-discovery-bold-pressed","color.background.information":"--ds-background-information","color.background.information.hovered":"--ds-background-information-hovered","color.background.information.pressed":"--ds-background-information-pressed","color.background.information.bold":"--ds-background-information-bold","color.background.information.bold.hovered":"--ds-background-information-bold-hovered","color.background.information.bold.pressed":"--ds-background-information-bold-pressed","color.background.blanket":"--ds-background-blanket","color.background.boldBrand.hover":"--ds-background-boldBrand-hover","color.background.boldBrand.pressed":"--ds-background-boldBrand-pressed","color.background.boldBrand.resting":"--ds-background-boldBrand-resting","color.background.boldDanger.hover":"--ds-background-boldDanger-hover","color.background.boldDanger.pressed":"--ds-background-boldDanger-pressed","color.background.boldDanger.resting":"--ds-background-boldDanger-resting","color.background.boldDiscovery.hover":"--ds-background-boldDiscovery-hover","color.background.boldDiscovery.pressed":"--ds-background-boldDiscovery-pressed","color.background.boldDiscovery.resting":"--ds-background-boldDiscovery-resting","color.background.boldNeutral.hover":"--ds-background-boldNeutral-hover","color.background.boldNeutral.pressed":"--ds-background-boldNeutral-pressed","color.background.boldNeutral.resting":"--ds-background-boldNeutral-resting","color.background.boldSuccess.hover":"--ds-background-boldSuccess-hover","color.background.boldSuccess.pressed":"--ds-background-boldSuccess-pressed","color.background.boldSuccess.resting":"--ds-background-boldSuccess-resting","color.background.boldWarning.hover":"--ds-background-boldWarning-hover","color.background.boldWarning.pressed":"--ds-background-boldWarning-pressed","color.background.boldWarning.resting":"--ds-background-boldWarning-resting","color.background.card":"--ds-background-card","color.background.default":"--ds-background-default","color.background.overlay":"--ds-background-overlay","color.background.subtleBorderedNeutral.pressed":"--ds-background-subtleBorderedNeutral-pressed","color.background.subtleBorderedNeutral.resting":"--ds-background-subtleBorderedNeutral-resting","color.background.subtleBrand.hover":"--ds-background-subtleBrand-hover","color.background.subtleBrand.pressed":"--ds-background-subtleBrand-pressed","color.background.subtleBrand.resting":"--ds-background-subtleBrand-resting","color.background.subtleDanger.hover":"--ds-background-subtleDanger-hover","color.background.subtleDanger.pressed":"--ds-background-subtleDanger-pressed","color.background.subtleDanger.resting":"--ds-background-subtleDanger-resting","color.background.subtleDiscovery.hover":"--ds-background-subtleDiscovery-hover","color.background.subtleDiscovery.pressed":"--ds-background-subtleDiscovery-pressed","color.background.subtleDiscovery.resting":"--ds-background-subtleDiscovery-resting","color.background.subtleNeutral.hover":"--ds-background-subtleNeutral-hover","color.background.subtleNeutral.pressed":"--ds-background-subtleNeutral-pressed","color.background.subtleNeutral.resting":"--ds-background-subtleNeutral-resting","color.background.subtleSuccess.hover":"--ds-background-subtleSuccess-hover","color.background.subtleSuccess.pressed":"--ds-background-subtleSuccess-pressed","color.background.subtleSuccess.resting":"--ds-background-subtleSuccess-resting","color.background.subtleWarning.hover":"--ds-background-subtleWarning-hover","color.background.subtleWarning.pressed":"--ds-background-subtleWarning-pressed","color.background.subtleWarning.resting":"--ds-background-subtleWarning-resting","color.background.sunken":"--ds-background-sunken","color.background.transparentNeutral.hover":"--ds-background-transparentNeutral-hover","color.background.transparentNeutral.pressed":"--ds-background-transparentNeutral-pressed","color.blanket":"--ds-blanket","color.blanket.selected":"--ds-blanket-selected","color.blanket.danger":"--ds-blanket-danger","color.interaction.hovered":"--ds-interaction-hovered","color.interaction.pressed":"--ds-interaction-pressed","color.interaction.inverse.hovered":"--ds-interaction-inverse-hovered","color.interaction.inverse.pressed":"--ds-interaction-inverse-pressed","color.skeleton":"--ds-skeleton","color.skeleton.subtle":"--ds-skeleton-subtle","color.link":"--ds-link","color.link.pressed":"--ds-link-pressed","color.accent.boldBlue":"--ds-accent-boldBlue","color.accent.boldGreen":"--ds-accent-boldGreen","color.accent.boldOrange":"--ds-accent-boldOrange","color.accent.boldPurple":"--ds-accent-boldPurple","color.accent.boldRed":"--ds-accent-boldRed","color.accent.boldTeal":"--ds-accent-boldTeal","color.accent.subtleBlue":"--ds-accent-subtleBlue","color.accent.subtleGreen":"--ds-accent-subtleGreen","color.accent.subtleMagenta":"--ds-accent-subtleMagenta","color.accent.subtleOrange":"--ds-accent-subtleOrange","color.accent.subtlePurple":"--ds-accent-subtlePurple","color.accent.subtleRed":"--ds-accent-subtleRed","color.accent.subtleTeal":"--ds-accent-subtleTeal","color.iconBorder.brand":"--ds-iconBorder-brand","color.iconBorder.danger":"--ds-iconBorder-danger","color.iconBorder.discovery":"--ds-iconBorder-discovery","color.iconBorder.success":"--ds-iconBorder-success","color.iconBorder.warning":"--ds-iconBorder-warning","color.overlay.hover":"--ds-overlay-hover","color.overlay.pressed":"--ds-overlay-pressed","shadow.card":"--ds-card","shadow.overlay":"--ds-overlay","elevation.shadow.raised":"--ds-shadow-raised","elevation.shadow.overflow":"--ds-shadow-overflow","elevation.shadow.overflow.spread":"--ds-shadow-overflow-spread","elevation.shadow.overflow.perimeter":"--ds-shadow-overflow-perimeter","elevation.shadow.overlay":"--ds-shadow-overlay","elevation.surface":"--ds-surface","elevation.surface.hovered":"--ds-surface-hovered","elevation.surface.pressed":"--ds-surface-pressed","elevation.surface.sunken":"--ds-surface-sunken","elevation.surface.raised":"--ds-surface-raised","elevation.surface.raised.hovered":"--ds-surface-raised-hovered","elevation.surface.raised.pressed":"--ds-surface-raised-pressed","elevation.surface.overlay":"--ds-surface-overlay","elevation.surface.overlay.hovered":"--ds-surface-overlay-hovered","elevation.surface.overlay.pressed":"--ds-surface-overlay-pressed","opacity.disabled":"--ds-opacity-disabled","opacity.loading":"--ds-opacity-loading","utility.UNSAFE_util.transparent":"--ds-UNSAFE_util-transparent","utility.UNSAFE_util.MISSING_TOKEN":"--ds-UNSAFE_util-MISSING_TOKEN"}),n),o);Object({NODE_ENV:"production"})._PACKAGE_NAME_,Object({NODE_ENV:"production"})._PACKAGE_VERSION_;t.a=function(e,t){let r=s[e];return r||(r="--ds-token-not-found"),t?`var(${r}, ${t})`:`var(${r})`}}])}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/embedded-confluence",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Public release version of Embeddedable Pages for Confluence",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"