Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{115:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(163),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.since,c=t.version,i=t.alternative,u=t.plugin,a=t.link,s=t.hint,l=u?" from ".concat(u):"",f=n?" since version ".concat(n):"",d=c?" and will be removed".concat(l," in version ").concat(c):"",p=i?" Please use ".concat(i," instead."):"",b=a?" See: ".concat(a):"",v=s?" Note: ".concat(s):"",h="".concat(e," is deprecated").concat(f).concat(d,".").concat(p).concat(b).concat(v);h in o||(Object(r.b)("deprecated",e,t,h),console.warn(h),o[h]=!0)}},116:function(e,t,n){"use strict";(function(e){var r=n(2),o=(n(426),Object(r.createContext)({slots:{},fills:{},registerSlot:function(){"undefined"!==typeof e&&e.env},updateSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}}));t.a=o}).call(this,n(86))},118:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var r=n(16),o=n(40),c=n(0),i=n(117);function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e||(e=window);var t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(c.includes)(["iPad","iPhone"],t)}var a=9,s=27,l="alt",f="ctrl",d="meta",p="shift",b={primary:function(e){return e()?[d]:[f]},primaryShift:function(e){return e()?[p,d]:[f,p]},primaryAlt:function(e){return e()?[l,d]:[f,l]},secondary:function(e){return e()?[p,l,d]:[f,p,l]},access:function(e){return e()?[f,l]:[p,l]},ctrl:function(){return[f]},alt:function(){return[l]},ctrlShift:function(){return[f,p]},shift:function(){return[p]},shiftAlt:function(){return[p,l]}},v=(Object(c.mapValues)(b,function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;return[].concat(Object(o.a)(e(n)),[t.toLowerCase()]).join("+")}}),Object(c.mapValues)(b,function(e){return function(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,a=i(),s=(n={},Object(r.a)(n,l,a?"\u2325":"Alt"),Object(r.a)(n,f,a?"\u2303":"Ctrl"),Object(r.a)(n,d,"\u2318"),Object(r.a)(n,p,a?"\u21e7":"Shift"),n),b=e(i).reduce(function(e,t){var n=Object(c.get)(s,t,t);return[].concat(Object(o.a)(e),a?[n]:[n,"+"])},[]),v=Object(c.capitalize)(t);return[].concat(Object(o.a)(b),[v])}}));Object(c.mapValues)(v,function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;return e(t,n).join("")}}),Object(c.mapValues)(b,function(e){return function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,s=a(),b=(n={},Object(r.a)(n,p,"Shift"),Object(r.a)(n,d,s?"Command":"Control"),Object(r.a)(n,f,"Control"),Object(r.a)(n,l,s?"Option":"Alt"),Object(r.a)(n,",",Object(i.a)("Comma")),Object(r.a)(n,".",Object(i.a)("Period")),Object(r.a)(n,"`",Object(i.a)("Backtick")),n);return[].concat(Object(o.a)(e(a)),[t]).map(function(e){return Object(c.capitalize)(Object(c.get)(b,e,e))}).join(s?" ":" + ")}});Object(c.mapValues)(b,function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,o=e(r),i=function(e){return[l,f,d,p].filter(function(t){return e["".concat(t,"Key")]})}(t);return!Object(c.xor)(o,i).length&&(n?t.key===n:Object(c.includes)(o,t.key.toLowerCase()))}})},126:function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return o})},132:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r={};n.r(r),n.d(r,"find",function(){return u});var o={};n.r(o),n.d(o,"isTabbableIndex",function(){return l}),n.d(o,"find",function(){return v}),n.d(o,"findPrevious",function(){return h}),n.d(o,"findNext",function(){return O});var c=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function i(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function u(e){var t=e.querySelectorAll(c);return Array.from(t).filter(function(e){return!(!i(e)||function(e){return"iframe"===e.nodeName.toLowerCase()&&"-1"===e.getAttribute("tabindex")}(e))&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=e.ownerDocument.querySelector('img[usemap="#'+t.name+'"]');return!!n&&i(n)}(e))})}var a=n(0);function s(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function l(e){return-1!==s(e)}function f(e,t){return{element:e,index:t}}function d(e){return e.element}function p(e,t){var n=s(e.element),r=s(t.element);return n===r?e.index-t.index:n-r}function b(e){return e.filter(l).map(f).sort(p).map(d).reduce(function(){var e={};return function(t,n){var r=n.nodeName,o=n.type,c=n.checked,i=n.name;if("INPUT"!==r||"radio"!==o||!i)return t.concat(n);var u=e.hasOwnProperty(i);if(!c&&u)return t;if(u){var s=e[i];t=Object(a.without)(t,s)}return e[i]=n,t.concat(n)}}(),[])}function v(e){return b(u(e))}function h(e){var t=u(e.ownerDocument.body),n=t.indexOf(e);return t.length=n,Object(a.last)(b(t))}function O(e){var t=u(e.ownerDocument.body),n=t.indexOf(e),r=t.slice(n+1).filter(function(t){return!e.contains(t)});return Object(a.first)(b(r))}var m={focusable:r,tabbable:o}},15:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return r})},157:function(e,t,n){"use strict";var r=n(12),o=n(23),c=n(2);function i(e){e.stopPropagation()}t.a=Object(c.forwardRef)(function(e,t){var n=e.children,u=Object(o.a)(e,["children"]);return Object(c.createElement)("div",Object(r.a)({},u,{ref:t,onMouseDown:i}),n)})},158:function(e,t,n){"use strict";var r=n(25),o=n(29),c=n(17),i=n(31),u=n(30),a=n(15),s=n(2),l=n(180),f=n(118),d=n(132);function p(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(a.a)(e);if(t){var o=Object(a.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var b=Object(l.a)(function(e){return function(t){Object(i.a)(u,t);var n=p(u);function u(){var e;return Object(r.a)(this,u),(e=n.apply(this,arguments)).focusContainRef=Object(s.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(c.a)(e)),e}return Object(o.a)(u,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===f.b){var t=d.a.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(s.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(s.createElement)(e,this.props))}}]),u}(s.Component)},"withConstrainedTabbing");t.a=b},159:function(e,t,n){"use strict";var r=n(12),o=n(25),c=n(29),i=n(17),u=n(31),a=n(30),s=n(15),l=n(2),f=n(0),d=n(180);function p(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(s.a)(e);if(t){var o=Object(s.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(a.a)(this,n)}}var b=["button","submit"];t.a=Object(d.a)(function(e){return function(t){Object(u.a)(a,t);var n=p(a);function a(){var e;return Object(o.a)(this,a),(e=n.apply(this,arguments)).bindNode=e.bindNode.bind(Object(i.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(i.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(i.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(i.a)(e)),e}return Object(c.a)(a,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout(function(){document.hasFocus()?"function"===typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()},0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(f.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(f.includes)(b,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(l.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(l.createElement)(e,Object(r.a)({ref:this.bindNode},this.props)))}}]),a}(l.Component)},"withFocusOutside")},160:function(e,t,n){"use strict";var r=n(12),o=n(23),c=n(2),i=n(32),u=n.n(i),a=n(0),s=n(115),l=n(430),f=n(431);function d(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,i=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw c}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=":"min-width","<":"max-width"},v={">=":function(e,t){return t>=e},"<":function(e,t){return t1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(i.useContext)(h),r=function(e){var t=o(Object(i.useState)(function(){return!(!e||!window.matchMedia(e).matches)}),2),n=t[0],r=t[1];return Object(i.useEffect)(function(){if(e){var t=function(){return r(window.matchMedia(e).matches)};t();var n=window.matchMedia(e);return n.addListener(t),function(){n.removeListener(t)}}},[e]),e&&n}(!n&&"(".concat(b[t],": ").concat(p[e],"px)"));return n?v[t](p[e],n):r};O.__experimentalWidthProvider=h.Provider;var m=O,y=n(427),j=n.n(y).a,g=n(671),w=n(16);function E(e){if(e){if(e.scrollHeight>e.clientHeight){var t=(s((n=e).ownerDocument.defaultView),n.ownerDocument.defaultView.getComputedStyle(n)).overflowY;if(/(auto|scroll)/.test(t))return e}var n;return E(e.parentNode)}}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,c=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,u=arguments.length>6?arguments[6]:void 0,a=o(n.split(" "),3),s=a[0],l=a[1],f=void 0===l?"center":l,d=a[2],p=function(e,t,n,r,o,c,i){var u=t.height;if(o){var a=(E(c)||document.body).getBoundingClientRect().top+u-i;if(e.top<=a)return{yAxis:n,popoverTop:Math.min(e.bottom,a)}}var s=e.top+e.height/2;"bottom"===r?s=e.bottom:"top"===r&&(s=e.top);var l={popoverTop:s,contentHeight:(s-u/2>0?u/2:s)+(s+u/2>window.innerHeight?window.innerHeight-s:u/2)},f={popoverTop:e.top,contentHeight:e.top-C-u>0?u:e.top-C},d={popoverTop:e.bottom,contentHeight:e.bottom+C+u>window.innerHeight?window.innerHeight-C-e.bottom:u},p=n,b=null;if(!o)if("middle"===n&&l.contentHeight===u)p="middle";else if("top"===n&&f.contentHeight===u)p="top";else if("bottom"===n&&d.contentHeight===u)p="bottom";else{var v="top"===(p=f.contentHeight>d.contentHeight?"top":"bottom")?f.contentHeight:d.contentHeight;b=v!==u?v:null}return{yAxis:p,popoverTop:"middle"===p?l.popoverTop:"top"===p?f.popoverTop:d.popoverTop,contentHeight:b}}(e,t,s,d,r,c,i);return P(P({},function(e,t,n,r,o,c,i){var u=t.width,a="rtl"===document.documentElement.dir;"left"===n&&a?n="right":"right"===n&&a&&(n="left"),"left"===r&&a?r="right":"right"===r&&a&&(r="left");var s=Math.round(e.left+e.width/2),l={popoverLeft:s,contentWidth:(s-u/2>0?u/2:s)+(s+u/2>window.innerWidth?window.innerWidth-s:u/2)},f=e.left;"right"===r?f=e.right:"middle"!==c&&(f=s);var d=e.right;"left"===r?d=e.left:"middle"!==c&&(d=s);var p,b={popoverLeft:f,contentWidth:f-u>0?u:f},v={popoverLeft:d,contentWidth:d+u>window.innerWidth?window.innerWidth-d:u},h=n,O=null;if(!o)if("center"===n&&l.contentWidth===u)h="center";else if("left"===n&&b.contentWidth===u)h="left";else if("right"===n&&v.contentWidth===u)h="right";else{var m="left"===(h=b.contentWidth>v.contentWidth?"left":"right")?b.contentWidth:v.contentWidth;O=m!==u?m:null}if(p="center"===h?l.popoverLeft:"left"===h?b.popoverLeft:v.popoverLeft,i){var y=i.getBoundingClientRect();p=Math.min(p,y.right-u)}return{xAxis:h,popoverLeft:p,contentWidth:O}}(e,t,f,d,r,p.yAxis,u)),p)}var k=n(164),D=n(158),x=n(25),F=n(29),N=n(31),T=n(30),B=n(15),A=n(159);function M(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(B.a)(e);if(t){var o=Object(B.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(T.a)(this,n)}}var _=function(e){Object(N.a)(n,e);var t=M(n);function n(){return Object(x.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),n}(i.Component),I=Object(A.a)(_),L=n(160);function W(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(B.a)(e);if(t){var o=Object(B.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(T.a)(this,n)}}var z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,c=0,u=0;function a(e){var t=n.scrollingElement||n.body;e&&(u=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=u)}return function(e){Object(N.a)(n,e);var t=W(n);function n(){return Object(x.a)(this,n),t.apply(this,arguments)}return Object(F.a)(n,[{key:"componentDidMount",value:function(){0===c&&a(!0),++c}},{key:"componentWillUnmount",value:function(){1===c&&a(!1),--c}},{key:"render",value:function(){return null}}]),n}(i.Component)}(),H=n(157),U=n(116);function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function q(e){for(var t=1;t3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!r||!window.Range||!window.Element||!window.DOMRect)return;if(r instanceof window.Range)return function(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer,n=t.ownerDocument;if("BR"===t.nodeName){var r=t.parentNode;s();var o=Array.from(r.childNodes).indexOf(t);s(),(e=n.createRange()).setStart(r,o),e.setEnd(r,o)}var c=e.getClientRects()[0];if(!c){s();var i=n.createTextNode("\u200b");(e=e.cloneRange()).insertNode(i),c=e.getClientRects()[0],s(i.parentNode),i.parentNode.removeChild(i)}return c}(r);if(r instanceof window.Element){var c=r.getBoundingClientRect();return o?c:ke(c,r)}var i=r.top,u=r.bottom,a=i.getBoundingClientRect(),l=u.getBoundingClientRect(),f=new window.DOMRect(a.left,a.top,a.width,l.bottom-a.top);return o?f:ke(f,r)}if(e.current){var d=e.current.parentNode,p=d.getBoundingClientRect();return o?p:ke(p,d)}}function ke(e,t){var n,r=(n=t).ownerDocument.defaultView.getComputedStyle(n),o=r.paddingTop,c=r.paddingBottom,i=r.paddingLeft,u=r.paddingRight,a=o?parseInt(o,10):0,s=c?parseInt(c,10):0,l=i?parseInt(i,10):0,f=u?parseInt(u,10):0;return{x:e.left+l,y:e.top+a,width:e.width-l-f,height:e.height-a-s,left:e.left+l,right:e.right-f,top:e.top+a,bottom:e.bottom-s}}function De(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function xe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function Fe(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var Ne=function(e){var t=e.headerTitle,n=e.onClose,u=e.onKeyDown,s=e.children,p=e.className,b=e.noArrow,v=void 0===b||b,h=e.isAlternate,O=e.position,y=void 0===O?"bottom right":O,w=(e.range,e.focusOnMount),E=void 0===w?"firstElement":w,S=e.anchorRef,P=e.shouldAnchorIncludePadding,C=e.anchorRect,k=e.getAnchorRect,D=e.expandOnMobile,x=e.animate,F=void 0===x||x,N=e.onClickOutside,T=e.onFocusOutside,B=e.__unstableSticky,A=e.__unstableSlotName,M=void 0===A?"Popover":A,_=e.__unstableObserveElement,W=e.__unstableBoundaryParent,U=Object(c.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableObserveElement","__unstableBoundaryParent"]),V=Object(i.useRef)(null),q=Object(i.useRef)(null),J=Object(i.useRef)(),Y=m("medium","<"),$=o(Object(i.useState)(),2),G=$[0],Q=$[1],X=K(M),Z=D&&Y,ee=o(j(),2),te=ee[0],ne=ee[1];v=Z||v,Object(i.useLayoutEffect)(function(){if(Z)return Fe(J.current,"is-without-arrow",v),Fe(J.current,"is-alternate",h),De(J.current,"data-x-axis"),De(J.current,"data-y-axis"),xe(J.current,"top"),xe(J.current,"left"),xe(q.current,"maxHeight"),void xe(q.current,"maxWidth");var e=function(){if(J.current&&q.current){var e=Re(V,C,k,S,P);if(e){var t,n,r=J.current,o=r.offsetParent,c=r.ownerDocument,i=0;if(o&&o!==c.body){var u=o.getBoundingClientRect();i=u.top,e=new window.DOMRect(e.left-u.left,e.top-u.top,e.width,e.height)}W&&(t=null===(n=J.current.closest(".popover-slot"))||void 0===n?void 0:n.parentNode);var a=R(e,ne.height?ne:q.current.getBoundingClientRect(),y,B,J.current,i,t),s=a.popoverTop,l=a.popoverLeft,f=a.xAxis,d=a.yAxis,p=a.contentHeight,b=a.contentWidth;"number"===typeof s&&"number"===typeof l&&(xe(J.current,"top",s+"px"),xe(J.current,"left",l+"px")),Fe(J.current,"is-without-arrow",v||"center"===f&&"middle"===d),Fe(J.current,"is-alternate",h),De(J.current,"data-x-axis",f),De(J.current,"data-y-axis",d),xe(q.current,"maxHeight","number"===typeof p?p+"px":""),xe(q.current,"maxWidth","number"===typeof b?b+"px":""),Q(({left:"right",right:"left"}[f]||"center")+" "+({top:"bottom",bottom:"top"}[d]||"middle"))}}};e();var t,n,r=window.setInterval(e,500),o=function(){window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e)};return window.addEventListener("click",o),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),_&&(n=new window.MutationObserver(e)).observe(_,{attributes:!0}),function(){window.clearInterval(r),window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0),window.removeEventListener("click",o),window.cancelAnimationFrame(t),n&&n.disconnect()}},[Z,C,k,S,P,y,ne,B,_,W]),function(e,t){Object(i.useEffect)(function(){var n=setTimeout(function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=l.a.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}},0);return function(){return clearTimeout(n)}},[])}(E,q);var re=function(e){e.keyCode===f.a&&n&&(e.stopPropagation(),n()),u&&u(e)};var oe=Object(i.createElement)(I,{onFocusOutside:function(e){if(T)T(e);else if(N){var t;try{t=new window.MouseEvent("click")}catch(r){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Object(d.a)("Popover onClickOutside prop",{alternative:"onFocusOutside"}),N(t)}else n&&n()}},Object(i.createElement)(Pe,{type:F&&G?"appear":null,options:{origin:G}},function(e){var o=e.className;return Object(i.createElement)(H.a,Object(r.a)({className:a()("components-popover",p,o,{"is-expanded":Z,"is-without-arrow":v,"is-alternate":h})},U,{onKeyDown:re,ref:J}),Z&&Object(i.createElement)(z,null),Z&&Object(i.createElement)("div",{className:"components-popover__header"},Object(i.createElement)("span",{className:"components-popover__header-title"},t),Object(i.createElement)(L.a,{className:"components-popover__close",icon:g.a,onClick:n})),Object(i.createElement)("div",{ref:q,className:"components-popover__content",tabIndex:"-1"},Object(i.createElement)("div",{style:{position:"relative"}},te,s)))}));return E&&(oe=Object(i.createElement)(Ce,null,oe)),X.ref&&(oe=Object(i.createElement)(ge,{name:M},oe)),S||C?oe:Object(i.createElement)("span",{ref:V},oe)};Ne.Slot=function(e){var t=e.name,n=void 0===t?"Popover":t;return Object(i.createElement)(je,{bubblesVirtually:!0,name:n,className:"popover-slot"})};t.a=Ne},430:function(e,t,n){"use strict";var r=n(25),o=n(29),c=n(31),i=n(30),u=n(15),a=n(2),s=n(0);n(16),n(23);function l(){for(var e=arguments.length,t=new Array(e),n=0;n