@patternfly/react-table 4.61.14 → 4.61.18
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 +38 -0
- package/dist/umd/react-table.js +2 -1
- package/dist/umd/react-table.min.css +9272 -9272
- package/dist/umd/react-table.min.js +1 -1
- package/package.json +6 -6
|
@@ -37,7 +37,7 @@ var g,v=["input","select","textarea","a[href]","button","[tabindex]","audio[cont
|
|
|
37
37
|
* focus-trap 6.2.2
|
|
38
38
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
39
39
|
*/
|
|
40
|
-
function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(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}var D,j=(D=[],{activateTrap:function(e){if(D.length>0){var t=D[D.length-1];t!==e&&t.pause()}var n=D.indexOf(e);-1===n||D.splice(n,1),D.push(e)},deactivateTrap:function(e){var t=D.indexOf(e);-1!==t&&D.splice(t,1),D.length>0&&D[D.length-1].unpause()}}),P=function(e){return setTimeout(e,0)},L=function(e,t){var n,r=document,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){R(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),a={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},i=function(e){return a.containers.some((function(t){return t.contains(e)}))},s=function(e){var t=o[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=r.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},l=function(){var e;if(null!==s("initialFocus"))e=s("initialFocus");else if(i(r.activeElement))e=r.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},c=function(){if(a.tabbableGroups=a.containers.map((function(e){var t=T(e);if(t.length>0)return{firstTabbableNode:t[0],lastTabbableNode:t[t.length-1]}})).filter((function(e){return!!e})),a.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},p=function e(t){t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),a.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(l()))},d=function(e){i(e.target)||(o.clickOutsideDeactivates?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!_(e.target)}):o.allowOutsideClick&&("boolean"==typeof o.allowOutsideClick?o.allowOutsideClick:o.allowOutsideClick(e))||e.preventDefault())},u=function(e){var t=i(e.target);t||e.target instanceof Document?t&&(a.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),p(a.mostRecentlyFocusedNode||l()))},f=function(e){if(!1!==o.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){c();var t=null;if(a.tabbableGroups.length>0)if(e.shiftKey){var n=a.tabbableGroups.findIndex((function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var r=0===n?a.tabbableGroups.length-1:n-1;t=a.tabbableGroups[r].lastTabbableNode}}else{var o=a.tabbableGroups.findIndex((function(t){var n=t.lastTabbableNode;return e.target===n}));if(o>=0){var i=o===a.tabbableGroups.length-1?0:o+1;t=a.tabbableGroups[i].firstTabbableNode}}else t=s("fallbackFocus");t&&(e.preventDefault(),p(t))}(e)},m=function(e){o.clickOutsideDeactivates||i(e.target)||o.allowOutsideClick&&("boolean"==typeof o.allowOutsideClick?o.allowOutsideClick:o.allowOutsideClick(e))||(e.preventDefault(),e.stopImmediatePropagation())},h=function(){if(a.active)return j.activateTrap(n),g=o.delayInitialFocus?P((function(){p(l())})):p(l()),r.addEventListener("focusin",u,!0),r.addEventListener("mousedown",d,{capture:!0,passive:!1}),r.addEventListener("touchstart",d,{capture:!0,passive:!1}),r.addEventListener("click",m,{capture:!0,passive:!1}),r.addEventListener("keydown",f,{capture:!0,passive:!1}),n},b=function(){if(a.active)return r.removeEventListener("focusin",u,!0),r.removeEventListener("mousedown",d,!0),r.removeEventListener("touchstart",d,!0),r.removeEventListener("click",m,!0),r.removeEventListener("keydown",f,!0),n};return(n={activate:function(e){if(a.active)return this;c(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=r.activeElement;var t=e&&e.onActivate?e.onActivate:o.onActivate;return t&&t(),h(),this},deactivate:function(e){if(!a.active)return this;clearTimeout(g),b(),a.active=!1,a.paused=!1,j.deactivateTrap(n);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:o.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:o.returnFocusOnDeactivate)&&P((function(){var e;p((e=a.nodeFocusedBeforeActivation,s("setReturnFocus")||e))})),this},pause:function(){return a.paused||!a.active||(a.paused=!0,b()),this},unpause:function(){return a.paused&&a.active?(a.paused=!1,c(),h(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return a.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),a.active&&c(),this}}).updateContainerElements(e),n};class A extends o.Component{constructor(e){super(e),this.divRef=o.createRef(),"undefined"!=typeof document&&(this.previouslyFocusedElement=document.activeElement)}componentDidMount(){this.focusTrap=L(this.divRef.current,Object.assign(Object.assign({},this.props.focusTrapOptions),{returnFocusOnDeactivate:!1})),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()}componentDidUpdate(e){e.active&&!this.props.active?this.focusTrap.deactivate():!e.active&&this.props.active&&this.focusTrap.activate(),e.paused&&!this.props.paused?this.focusTrap.unpause():!e.paused&&this.props.paused&&this.focusTrap.pause()}componentWillUnmount(){this.focusTrap.deactivate(),!1!==this.props.focusTrapOptions.returnFocusOnDeactivate&&this.previouslyFocusedElement&&this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus({preventScroll:this.props.preventScrollOnDeactivate})}render(){const e=this.props,{children:t,className:n,focusTrapOptions:r,active:a,paused:i,preventScrollOnDeactivate:l}=e,c=s(e,["children","className","focusTrapOptions","active","paused","preventScrollOnDeactivate"]);return o.createElement("div",Object.assign({ref:this.divRef,className:n},c),t)}}A.displayName="FocusTrap",A.defaultProps={active:!0,paused:!1,focusTrapOptions:{},preventScrollOnDeactivate:!1};let F=0;class M extends o.Component{constructor(){super(...arguments),this.id=`${this.props.prefix}${F++}`}render(){return this.props.children(this.id)}}M.displayName="GenerateId",M.defaultProps={prefix:"pf-random-id-"};let B=0;const V="OUIA-Generated-",H={};function z(e,t,n=!0){return{"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":t}}const $=(e,t,n=!0,r)=>({"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":W(e,t,r)}),W=(e,n,r)=>void 0!==n?n:t.useMemo((()=>K(e,r)),[e,r]);function K(e,t){try{let n;return n="undefined"!=typeof window?`${window.location.href}-${e}-${t||""}`:`${e}-${t||""}`,H[n]||(H[n]=0),`${V}${e}-${t?`${t}-`:""}${++H[n]}`}catch(n){return`${V}${e}-${t?`${t}-`:""}${++B}`}}function G(e="pf"){return`${e}-${(new Date).getTime()+Math.random().toString(36).slice(2)}`}function U(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>e.apply(this,r)),t)}}function q(e,t,n,r,o,i=!1){if(!Array.isArray(o))return;const s=r.filter((e=>e))[0].constructor===Array;let l=e,c=t;if("up"===n?l=0===e?o.length-1:e-1:"down"===n?l=e===o.length-1?0:e+1:"left"===n?c=0===t?r[e].length-1:t-1:"right"===n&&(c=t===r[e].length-1?0:t+1),null===r[l]||void 0===r[l]||s&&(null===r[l][c]||void 0===r[l][c]))q(l,c,n,r,o,i);else if(i){r[l].focus&&r[l].focus();a.findDOMNode(r[l]).focus()}else"tab"!==n&&(s?r[l][c].focus():r[l].focus())}function X(e,t){const n=e.current.querySelectorAll(t);return Array.prototype.filter.call(n,(function(e){return e.tabIndex>="0"}))}function Y(e,t,n){let r;return r="up"===t?0===e?n.length-1:e-1:e===n.length-1?0:e+1,void 0===n[r]||null===n[r][0]?Y(r,t,n):r}const J=(e,t,n="",r)=>{if(!e)return"";if(r){if(r in e)return t.modifiers[Z(`${n}${e[r]}`)];const o=["2xl","xl","lg","md","sm","default"];for(let a=o.indexOf(r);a<o.length;a++)if(o[a]in e)return t.modifiers[Z(`${n}${e[o[a]]}`)];return""}return Object.entries(e||{}).map((([e,t])=>`${n}${t}${"default"!==e?`-on-${e}`:""}`)).map(Z).map((e=>e.replace(/-?(\dxl)/gi,((e,t)=>`_${t}`)))).map((e=>t.modifiers[e])).filter(Boolean).join(" ")},Q=e=>e.toUpperCase().replace("-","").replace("_",""),Z=e=>e.replace(/([-_][a-z])/gi,Q),ee=!("undefined"==typeof window||!window.document||!window.document.createElement),te=(e,t)=>{const n=getComputedStyle(t),r=document.createElement("canvas").getContext("2d");return r.font=n.font||(()=>{let e="";const t={"50%":"ultra-condensed","62.5%":"extra-condensed","75%":"condensed","87.5%":"semi-condensed","100%":"normal","112.5%":"semi-expanded","125%":"expanded","150%":"extra-expanded","200%":"ultra-expanded"};let r;return r=n.fontStretch in t?t[n.fontStretch]:"normal",e=n.fontStyle+" "+n.fontVariant+" "+n.fontWeight+" "+r+" "+n.fontSize+"/"+n.lineHeight+" "+n.fontFamily,e})(),r.measureText(e).width},ne=(e,t)=>{const n=(e=>{const t=getComputedStyle(e);let n=e.clientWidth,r=e.clientHeight;return r-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),{height:r,width:n}})(e).width;let r=t;if(te(t,e)>n){for(;te(`...${r}`,e)>n;)r=r.substring(1);e.value?e.value=`...${r}`:e.innerText=`...${r}`}else e.value?e.value=t:e.innerText=t};class re extends o.Component{componentDidMount(){const e=a.findDOMNode(this);this.props.onFoundRef(e)}render(){return this.props.children||null}}function oe(e){const 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 ae(e){if("[object Window]"!==e.toString()){const t=e.ownerDocument;return t?t.defaultView:window}return e}function ie(e){const t=ae(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function se(e){return e instanceof ae(e).Element||e instanceof Element}function le(e){return e instanceof ae(e).HTMLElement||e instanceof HTMLElement}function ce(e){return e?(e.nodeName||"").toLowerCase():null}function pe(e){return(se(e)?e.ownerDocument:e.document).documentElement}function de(e){return oe(pe(e)).left+ie(e).scrollLeft}function ue(e){return ae(e).getComputedStyle(e)}function fe(e){const{overflow:t,overflowX:n,overflowY:r}=ue(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function me(e,t,n=!1){const r=pe(t),o=oe(e),a=le(t);let i={scrollLeft:0,scrollTop:0},s={x:0,y:0};var l,c;return(a||!a&&!n)&&(("body"!==ce(t)||fe(r))&&(i=(l=t)!==ae(l)&&le(l)?{scrollLeft:(c=l).scrollLeft,scrollTop:c.scrollTop}:ie(l)),le(t)?(s=oe(t),s.x+=t.clientLeft,s.y+=t.clientTop):r&&(s.x=de(r))),{x:o.left+i.scrollLeft-s.x,y:o.top+i.scrollTop-s.y,width:o.width,height:o.height}}function he(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function be(e){return"html"===ce(e)?e:e.assignedSlot||e.parentNode||e.host||pe(e)}function ge(e){return["html","body","#document"].indexOf(ce(e))>=0?e.ownerDocument.body:le(e)&&fe(e)?e:ge(be(e))}function ve(e,t=[]){const n=ge(e),r="body"===ce(n),o=ae(n),a=r?[o].concat(o.visualViewport||[],fe(n)?n:[]):n,i=t.concat(a);return r?i:i.concat(ve(be(a)))}function ye(e){return["table","td","th"].indexOf(ce(e))>=0}function we(e){if(!le(e)||"fixed"===ue(e).position)return null;const t=e.offsetParent;if(t){const e=pe(t);if("body"===ce(t)&&"static"===ue(t).position&&"static"!==ue(e).position)return e}return t}function xe(e){const t=ae(e);let n=we(e);for(;n&&ye(n)&&"static"===ue(n).position;)n=we(n);return n&&"body"===ce(n)&&"static"===ue(n).position?t:n||function(e){let t=be(e);for(;le(t)&&["html","body"].indexOf(ce(t))<0;){const e=ue(t);if("none"!==e.transform||"none"!==e.perspective||e.willChange&&"auto"!==e.willChange)return t;t=t.parentNode}return null}(e)||t}re.displayName="FindRefWrapper";const Ce="top",Oe="bottom",Ee="right",Ne="left",ke="auto",Te=[Ce,Oe,Ee,Ne],Se="start",_e="end",Re="clippingParents",Ie="viewport",De="popper",je=Te.reduce(((e,t)=>e.concat([`${t}-start`,`${t}-end`])),[]),Pe=[...Te,ke].reduce(((e,t)=>e.concat([t,`${t}-start`,`${t}-end`])),[]),Le=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ae(e){const t=new Map,n=new Set,r=[];function o(e){n.add(e.name);[...e.requires||[],...e.requiresIfExists||[]].forEach((e=>{if(!n.has(e)){const n=t.get(e);n&&o(n)}})),r.push(e)}return e.forEach((e=>{t.set(e.name,e)})),e.forEach((e=>{n.has(e.name)||o(e)})),r}function Fe(e){let t;return()=>(t||(t=new Promise((n=>{Promise.resolve().then((()=>{t=void 0,n(e())}))}))),t)}function Me(e){return e.split("-")[0]}function Be(e,t){const n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){let n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ve(e){return Object.assign(Object.assign({},e),{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function He(e,t){return t===Ie?Ve(function(e){const t=ae(e),n=pe(e),r=t.visualViewport;let o=n.clientWidth,a=n.clientHeight,i=0,s=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:o,height:a,x:i+de(e),y:s}}(e)):le(t)?function(e){const t=oe(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):Ve(function(e){const t=pe(e),n=ie(e),r=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let i=-n.scrollLeft+de(e);const s=-n.scrollTop;return"rtl"===ue(r||t).direction&&(i+=Math.max(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:i,y:s}}(pe(e)))}function ze(e,t,n){const r="clippingParents"===t?function(e){const t=ve(be(e)),n=["absolute","fixed"].indexOf(ue(e).position)>=0&&le(e)?xe(e):e;return se(n)?t.filter((e=>se(e)&&Be(e,n)&&"body"!==ce(e))):[]}(e):[].concat(t),o=[...r,n],a=o[0],i=o.reduce(((t,n)=>{const r=He(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),He(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 $e(e){return e.split("-")[1]}function We(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ke({reference:e,element:t,placement:n}){const r=n?Me(n):null,o=n?$e(n):null,a=e.x+e.width/2-t.width/2,i=e.y+e.height/2-t.height/2;let s;switch(r){case Ce:s={x:a,y:e.y-t.height};break;case Oe:s={x:a,y:e.y+e.height};break;case Ee:s={x:e.x+e.width,y:i};break;case Ne:s={x:e.x-t.width,y:i};break;default:s={x:e.x,y:e.y}}const l=r?We(r):null;if(null!=l){const n="y"===l?"height":"width";switch(o){case Se:s[l]=Math.floor(s[l])-Math.floor(e[n]/2-t[n]/2);break;case _e:s[l]=Math.floor(s[l])+Math.ceil(e[n]/2-t[n]/2)}}return s}function Ge(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function Ue(e,t){return t.reduce(((t,n)=>(t[n]=e,t)),{})}function qe(e,t={}){const{placement:n=e.placement,boundary:r=Re,rootBoundary:o=Ie,elementContext:a=De,altBoundary:i=!1,padding:s=0}=t,l=Ge("number"!=typeof s?s:Ue(s,Te)),c=a===De?"reference":De,p=e.elements.reference,d=e.rects.popper,u=e.elements[i?c:a],f=ze(se(u)?u:u.contextElement||pe(e.elements.popper),r,o),m=oe(p),h=Ke({reference:m,element:d,strategy:"absolute",placement:n}),b=Ve(Object.assign(Object.assign({},d),h)),g=a===De?b:m,v={top:f.top-g.top+l.top,bottom:g.bottom-f.bottom+l.bottom,left:f.left-g.left+l.left,right:g.right-f.right+l.right},y=e.modifiersData.offset;if(a===De&&y){const e=y[n];Object.keys(v).forEach((t=>{const n=[Ee,Oe].indexOf(t)>=0?1:-1,r=[Ce,Oe].indexOf(t)>=0?"y":"x";v[t]+=e[r]*n}))}return v}const Xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Ye(...e){return!e.some((e=>!(e&&"function"==typeof e.getBoundingClientRect)))}const Je={passive:!0};const Qe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ze({popper:e,popperRect:t,placement:n,offsets:r,position:o,gpuAcceleration:a,adaptive:i}){let{x:s,y:l}=function({x:e,y:t}){const n=window.devicePixelRatio||1;return{x:Math.round(e*n)/n||0,y:Math.round(t*n)/n||0}}(r);const c=r.hasOwnProperty("x"),p=r.hasOwnProperty("y");let d=Ne,u=Ce;const f=window;if(i){let r=xe(e);r===ae(e)&&(r=pe(e)),n===Ce&&(u=Oe,l-=r.clientHeight-t.height,l*=a?1:-1),n===Ne&&(d=Ee,s-=r.clientWidth-t.width,s*=a?1:-1)}const m=Object.assign({position:o},i&&Qe);return a?Object.assign(Object.assign({},m),{[u]:p?"0":"",[d]:c?"0":"",transform:(f.devicePixelRatio||1)<2?`translate(${s}px, ${l}px)`:`translate3d(${s}px, ${l}px, 0)`}):Object.assign(Object.assign({},m),{[u]:p?`${l}px`:"",[d]:c?`${s}px`:"",transform:""})}var et={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function({state:e,options:t,name:n}){const{offset:r=[0,0]}=t,o=Pe.reduce(((t,n)=>(t[n]=function(e,t,n){const r=Me(e),o=[Ne,Ce].indexOf(r)>=0?-1:1;let[a,i]="function"==typeof n?n(Object.assign(Object.assign({},t),{placement:e})):n;return a=a||0,i=(i||0)*o,[Ne,Ee].indexOf(r)>=0?{x:i,y:a}:{x:a,y:i}}(n,e.rects,r),t)),{}),{x:a,y:i}=o[e.placement];null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=i),e.modifiersData[n]=o}};const tt={left:"right",right:"left",bottom:"top",top:"bottom"};function nt(e){return e.replace(/left|right|bottom|top/g,(e=>tt[e]))}const rt={start:"end",end:"start"};function ot(e){return e.replace(/start|end/g,(e=>rt[e]))}function at(e,t={}){const{placement:n,boundary:r,rootBoundary:o,padding:a,flipVariations:i,allowedAutoPlacements:s=Pe}=t,l=$e(n),c=l?i?je:je.filter((e=>$e(e)===l)):Te;let p=c.filter((e=>s.indexOf(e)>=0));0===p.length&&(p=c);const d=p.reduce(((t,n)=>(t[n]=qe(e,{placement:n,boundary:r,rootBoundary:o,padding:a})[Me(n)],t)),{});return Object.keys(d).sort(((e,t)=>d[e]-d[t]))}var it={name:"flip",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){if(e.modifiersData[n]._skip)return;const{mainAxis:r=!0,altAxis:o=!0,fallbackPlacements:a,padding:i,boundary:s,rootBoundary:l,altBoundary:c,flipVariations:p=!0,allowedAutoPlacements:d}=t,u=e.options.placement,f=Me(u),m=[u,...a||(f===u||!p?[nt(u)]:function(e){if(Me(e)===ke)return[];const t=nt(e);return[ot(e),t,ot(t)]}(u))].reduce(((t,n)=>t.concat(Me(n)===ke?at(e,{placement:n,boundary:s,rootBoundary:l,padding:i,flipVariations:p,allowedAutoPlacements:d}):n)),[]),h=e.rects.reference,b=e.rects.popper,g=new Map;let v=!0,y=m[0];for(let t=0;t<m.length;t++){const n=m[t],a=Me(n),p=$e(n)===Se,d=[Ce,Oe].indexOf(a)>=0,u=d?"width":"height",f=qe(e,{placement:n,boundary:s,rootBoundary:l,altBoundary:c,padding:i});let w=d?p?Ee:Ne:p?Oe:Ce;h[u]>b[u]&&(w=nt(w));const x=nt(w),C=[];if(r&&C.push(f[a]<=0),o&&C.push(f[w]<=0,f[x]<=0),C.every((e=>e))){y=n,v=!1;break}g.set(n,C)}if(v){for(let e=p?3:1;e>0;e--){const t=m.find((t=>{const n=g.get(t);if(n)return n.slice(0,e).every((e=>e))}));if(t){y=t;break}}}e.placement!==y&&(e.modifiersData[n]._skip=!0,e.placement=y,e.reset=!0)},requiresIfExists:["offset"],data:{_skip:!1}};function st(e,t,n){return Math.max(e,Math.min(t,n))}var lt={name:"preventOverflow",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){const{mainAxis:r=!0,altAxis:o=!1,boundary:a,rootBoundary:i,altBoundary:s,padding:l,tether:c=!0,tetherOffset:p=0}=t,d=qe(e,{boundary:a,rootBoundary:i,padding:l,altBoundary:s}),u=Me(e.placement),f=$e(e.placement),m=!f,h=We(u),b="x"===h?"y":"x",g=e.modifiersData.popperOffsets,v=e.rects.reference,y=e.rects.popper,w="function"==typeof p?p(Object.assign(Object.assign({},e.rects),{placement:e.placement})):p,x={x:0,y:0};if(g){if(r){const t="y"===h?Ce:Ne,n="y"===h?Oe:Ee,r="y"===h?"height":"width",o=g[h],a=g[h]+d[t],i=g[h]-d[n],s=c?-y[r]/2:0,l=f===Se?v[r]:y[r],p=f===Se?-y[r]:-v[r],u=e.elements.arrow,b=c&&u?he(u):{width:0,height:0},C=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},O=C[t],E=C[n],N=st(0,v[r],b[r]),k=m?v[r]/2-s-N-O-w:l-N-O-w,T=m?-v[r]/2+s+N+E+w:p+N+E+w,S=e.elements.arrow&&xe(e.elements.arrow),_=S?"y"===h?S.clientTop||0:S.clientLeft||0:0,R=e.modifiersData.offset?e.modifiersData.offset[e.placement][h]:0,I=g[h]+k-R-_,D=g[h]+T-R,j=st(c?Math.min(a,I):a,o,c?Math.max(i,D):i);g[h]=j,x[h]=j-o}if(o){const e="x"===h?Ce:Ne,t="x"===h?Oe:Ee,n=g[b],r=st(n+d[e],n,n-d[t]);g[b]=r,x[b]=r-n}e.modifiersData[n]=x}},requiresIfExists:["offset"]};var ct={name:"arrow",enabled:!0,phase:"main",fn:function({state:e,name:t}){const n=e.elements.arrow,r=e.modifiersData.popperOffsets,o=Me(e.placement),a=We(o),i=[Ne,Ee].indexOf(o)>=0?"height":"width";if(!n||!r)return;const s=e.modifiersData[`${t}#persistent`].padding,l=he(n),c="y"===a?Ce:Ne,p="y"===a?Oe:Ee,d=e.rects.reference[i]+e.rects.reference[a]-r[a]-e.rects.popper[i],u=r[a]-e.rects.reference[a],f=xe(n),m=f?"y"===a?f.clientHeight||0:f.clientWidth||0:0,h=d/2-u/2,b=s[c],g=m-l[i]-s[p],v=m/2-l[i]/2+h,y=st(b,v,g),w=a;e.modifiersData[t]={[w]:y,centerOffset:y-v}},effect:function({state:e,options:t,name:n}){let{element:r="[data-popper-arrow]",padding:o=0}=t;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r),r))&&Be(e.elements.popper,r)&&(e.elements.arrow=r,e.modifiersData[`${n}#persistent`]={padding:Ge("number"!=typeof o?o:Ue(o,Te))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pt(e,t,n={x:0,y:0}){return{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function dt(e){return[Ce,Ee,Oe,Ne].some((t=>e[t]>=0))}const ut=function(e={}){const{defaultModifiers:t=[],defaultOptions:n=Xe}=e;return function(e,r,o=n){let a={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},Xe),n),modifiersData:{},elements:{reference:e,popper:r},attributes:{},styles:{}},i=[],s=!1;const l={state:a,setOptions(o){c(),a.options=Object.assign(Object.assign(Object.assign({},n),a.options),o),a.scrollParents={reference:se(e)?ve(e):e.contextElement?ve(e.contextElement):[],popper:ve(r)};const s=function(e){const t=Ae(e);return Le.reduce(((e,n)=>e.concat(t.filter((e=>e.phase===n)))),[])}(function(e){const t=e.reduce(((e,t)=>{const n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((e=>t[e]))}([...t,...a.options.modifiers]));return a.orderedModifiers=s.filter((e=>e.enabled)),a.orderedModifiers.forEach((({name:e,options:t={},effect:n})=>{if("function"==typeof n){const r=n({state:a,name:e,instance:l,options:t}),o=()=>{};i.push(r||o)}})),l.update()},forceUpdate(){if(s)return;const{reference:e,popper:t}=a.elements;if(Ye(e,t)){a.rects={reference:me(e,xe(t),"fixed"===a.options.strategy),popper:he(t)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((e=>a.modifiersData[e.name]=Object.assign({},e.data)));for(let e=0;e<a.orderedModifiers.length;e++){if(!0===a.reset){a.reset=!1,e=-1;continue}const{fn:t,options:n={},name:r}=a.orderedModifiers[e];"function"==typeof t&&(a=t({state:a,options:n,name:r,instance:l})||a)}}},update:Fe((()=>new Promise((e=>{l.forceUpdate(),e(a)})))),destroy(){c(),s=!0}};if(!Ye(e,r))return l;function c(){i.forEach((e=>e())),i=[]}return l.setOptions(o).then((e=>{!s&&o.onFirstUpdate&&o.onFirstUpdate(e)})),l}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:function({state:e,instance:t,options:n}){const{scroll:r=!0,resize:o=!0}=n,a=ae(e.elements.popper),i=[...e.scrollParents.reference,...e.scrollParents.popper];return r&&i.forEach((e=>{e.addEventListener("scroll",t.update,Je)})),o&&a.addEventListener("resize",t.update,Je),()=>{r&&i.forEach((e=>{e.removeEventListener("scroll",t.update,Je)})),o&&a.removeEventListener("resize",t.update,Je)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function({state:e,name:t}){e.modifiersData[t]=Ke({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function({state:e,options:t}){const{gpuAcceleration:n=!0,adaptive:r=!0}=t,o={placement:Me(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),Ze(Object.assign(Object.assign({},o),{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),Ze(Object.assign(Object.assign({},o),{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function({state:e}){Object.keys(e.elements).forEach((t=>{const n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];le(o)&&ce(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((e=>{const t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function({state:e}){const t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),()=>{Object.keys(e.elements).forEach((n=>{const r=e.elements[n],o=e.attributes[n]||{},a=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]).reduce(((e,t)=>(e[t]="",e)),{});le(r)&&ce(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((e=>{r.removeAttribute(e)})))}))}},requires:["computeStyles"]},et,it,lt,ct,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function({state:e,name:t}){const n=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=qe(e,{elementContext:"reference"}),i=qe(e,{altBoundary:!0}),s=pt(a,n),l=pt(i,r,o),c=dt(s),p=dt(l);e.modifiersData[t]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:p},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-reference-hidden":c,"data-popper-escaped":p})}}]}),ft=ee?o.useLayoutEffect:o.useEffect,mt=e=>e.reduce(((e,[t,n])=>(e[t]=n,e)),{}),ht=[],bt=(e,t,n={})=>{const r=o.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ht},[i,s]=o.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"}},attributes:{}}),l=o.useMemo((()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=Object.keys(e.elements);s({styles:mt(t.map((t=>[t,e.styles[t]||{}]))),attributes:mt(t.map((t=>[t,e.attributes[t]])))})},requires:["computeStyles"]})),[]),c=o.useMemo((()=>{const e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[...a.modifiers,l,{name:"applyStyles",enabled:!1}]};return t=r.current,n=e,JSON.stringify(t)===JSON.stringify(n)?r.current||e:(r.current=e,e);var t,n}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,l]),p=o.useRef();return ft((()=>{p&&p.current&&p.current.setOptions(c)}),[c]),ft((()=>{if(null==e||null==t)return;const r=(n.createPopper||ut)(e,t,c);return p.current=r,()=>{r.destroy(),p.current=null}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:i.styles,attributes:i.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},gt={left:"right",right:"left",bottom:"top",top:"bottom"},vt=e=>`opacity ${e}ms cubic-bezier(.54, 1.5, .38, 1.11)`,yt=({trigger:e,popper:t,popperMatchesTriggerWidth:n=!0,direction:r="down",position:i="left",placement:s,appendTo:c=(()=>document.body),zIndex:p=9999,isVisible:d=!0,positionModifiers:u,distance:f=0,onMouseEnter:m,onMouseLeave:h,onFocus:b,onBlur:g,onDocumentClick:v,onTriggerClick:y,onTriggerEnter:w,onPopperClick:x,onDocumentKeyDown:C,enableFlip:O=!0,flipBehavior:E="flip",reference:N})=>{const[k,T]=o.useState(null),[S,_]=o.useState(null),[R,I]=o.useState(null),[D,j]=o.useState(!1),P=S||k,L=o.useCallback((e=>v(e,P,R)),[d,k,S,R,v]);o.useEffect((()=>{j(!0)}),[]),o.useEffect((()=>{N&&(N.current?_(N.current):"function"==typeof N&&_(N()))}),[N]);const A=(e,t,n)=>{e&&t&&t.addEventListener(n,e)},F=(e,t,n)=>{e&&t&&t.removeEventListener(n,e)};o.useEffect((()=>(A(m,P,"mouseenter"),A(h,P,"mouseleave"),A(b,P,"focus"),A(g,P,"blur"),A(y,P,"click"),A(w,P,"keydown"),A(x,R,"click"),v&&A(L,document,"click"),A(C,document,"keydown"),()=>{F(m,P,"mouseenter"),F(h,P,"mouseleave"),F(b,P,"focus"),F(g,P,"blur"),F(y,P,"click"),F(w,P,"keydown"),F(x,R,"click"),v&&F(L,document,"click"),F(C,document,"keydown")})),[k,R,m,h,b,g,y,w,x,v,C,S]);const M=()=>{if(s)return s;let e="up"===r?"top":"bottom";return"center"!==i&&(e=`${e}-${"right"===i?"end":"start"}`),e},B=o.useMemo(M,[r,i,s]),V=o.useMemo((()=>(e=>e.replace(/left|right|bottom|top/g,(e=>gt[e])))(M())),[r,i,s]),H=o.useMemo((()=>({name:"sameWidth",enabled:n,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>(e.elements.popper.style.width=`${e.elements.reference.offsetWidth}px`,()=>{})})),[n]),{styles:z,attributes:$,forceUpdate:W}=bt(P,R,{placement:B,modifiers:[{name:"offset",options:{offset:[0,f]}},{name:"preventOverflow",enabled:!1},{name:"hide",enabled:!0},{name:"flip",enabled:B.startsWith("auto")||O,options:{fallbackPlacements:"flip"===E?[V]:E}},H]});o.useEffect((()=>{W&&W()}),[t]);const K=o.cloneElement(t,Object.assign({className:l(t.props&&t.props.className,u&&(()=>{if($&&$.popper&&$.popper["data-popper-placement"]){const e=$.popper["data-popper-placement"];return u[e]}return u.top})()),style:Object.assign(Object.assign(Object.assign({},t.props&&t.props.style||{}),z.popper),{zIndex:p})},$.popper));return o.createElement(o.Fragment,null,!N&&e&&o.createElement(re,{onFoundRef:e=>T(e)},e),D&&d&&a.createPortal(o.createElement(re,{onFoundRef:e=>I(e)},K),"function"==typeof c?c():c))};yt.displayName="Popper";const wt=(e,t,n=(e=>document.activeElement.contains(e)),r=(e=>e),o=["A","BUTTON","INPUT"],a=!1,i=!1,s=!0,l=!0)=>{const c=document.activeElement,p=e.key;let d=null;if(!a&&["ArrowUp","ArrowDown"].includes(p)){e.preventDefault(),e.stopImmediatePropagation();let o=-1;t.forEach(((e,a)=>{if(n(e)){let e=0;for(;!d&&e<t.length&&-1*e<t.length;)"ArrowUp"===p?e--:e++,o=a+e,o>=t.length&&(o=0),o<0&&(o=t.length-1),d=r(t[o])}}))}if(!i&&["ArrowLeft","ArrowRight"].includes(p)){e.preventDefault(),e.stopImmediatePropagation();let r=-1;t.forEach(((a,i)=>{if(n(a)){const n=t[i].querySelectorAll(o.join(","));if(!n.length||l){let e=c;for(;e;)if(e="ArrowLeft"===p?e.previousElementSibling:e.nextElementSibling,e&&o.includes(e.tagName)){d=e;break}}else n.forEach(((t,o)=>{if(e.target===t){r=o+("ArrowLeft"===p?-1:1),r>=n.length&&(r=0),r<0&&(r=n.length-1),d=n[r]}}))}}))}d&&(s&&(c.tabIndex=-1,d.tabIndex=0),d.focus())};class xt extends o.Component{constructor(){super(...arguments),this.keyHandler=e=>{const{isEventFromContainer:t}=this.props;if(t?!t(e):!this._isEventFromContainer(e))return;const{isActiveElement:n,getFocusableElement:r,noVerticalArrowHandling:o,noHorizontalArrowHandling:a,noEnterHandling:i,noSpaceHandling:s,updateTabIndex:l,validSiblingTags:c,additionalKeyHandler:p,createNavigableElements:d}=this.props;p&&p(e);const u=d();if(!u)return void console.warn("No navigable elements have been passed to the KeyboardHandler. Keyboard navigation provided by this component will be ignored.");const f=e.key;i||"Enter"===f&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),s||" "===f&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),wt(e,u,n,r,c,o,a,l)},this._isEventFromContainer=e=>{const{containerRef:t}=this.props;return t.current&&t.current.contains(e.target)}}componentDidMount(){ee&&window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){ee&&window.removeEventListener("keydown",this.keyHandler)}render(){return null}}xt.displayName="KeyboardHandler",xt.defaultProps={containerRef:null,createNavigableElements:()=>null,isActiveElement:e=>document.activeElement===e,getFocusableElement:e=>e,validSiblingTags:["BUTTON","A"],updateTabIndex:!0,noHorizontalArrowHandling:!1,noVerticalArrowHandling:!1,noEnterHandling:!1,noSpaceHandling:!1};var Ct,Ot,Et="pf-l-bullseye",Nt={modifiers:{"4xl":"pf-m-4xl","3xl":"pf-m-3xl","2xl":"pf-m-2xl",xl:"pf-m-xl",lg:"pf-m-lg",md:"pf-m-md",overpassFont:"pf-m-overpass-font"},title:"pf-c-title"};!function(e){e.md="md",e.lg="lg",e.xl="xl",e["2xl"]="2xl",e["3xl"]="3xl",e["4xl"]="4xl"}(Ct||(Ct={})),function(e){e.h1="2xl",e.h2="xl",e.h3="lg",e.h4="md",e.h5="md",e.h6="md"}(Ot||(Ot={}));const kt=e=>{var{className:t="",children:n="",headingLevel:r,size:a=Ot[r],ouiaId:i,ouiaSafe:c=!0}=e,p=s(e,["className","children","headingLevel","size","ouiaId","ouiaSafe"]);const d=$(kt.displayName,i,c);return o.createElement(r,Object.assign({},d,p,{className:l(Nt.title,a&&Nt.modifiers[a],t)}),n)};kt.displayName="Title";var Tt,St={button:"pf-c-button",buttonIcon:"pf-c-button__icon",buttonProgress:"pf-c-button__progress",modifiers:{active:"pf-m-active",block:"pf-m-block",small:"pf-m-small",primary:"pf-m-primary",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",tertiary:"pf-m-tertiary",link:"pf-m-link",inline:"pf-m-inline",danger:"pf-m-danger",warning:"pf-m-warning",control:"pf-m-control",expanded:"pf-m-expanded",plain:"pf-m-plain",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",progress:"pf-m-progress",inProgress:"pf-m-in-progress",start:"pf-m-start",end:"pf-m-end",overpassFont:"pf-m-overpass-font"},spinner:"pf-c-spinner"},_t={modifiers:{sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",xl:"pf-m-xl"},spinner:"pf-c-spinner",spinnerClipper:"pf-c-spinner__clipper",spinnerLeadBall:"pf-c-spinner__lead-ball",spinnerPath:"pf-c-spinner__path",spinnerTailBall:"pf-c-spinner__tail-ball"};!function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(Tt||(Tt={}));const Rt=e=>{var{className:t="",size:n="xl","aria-valuetext":r="Loading...",isSVG:a=!1,diameter:i}=e,c=s(e,["className","size","aria-valuetext","isSVG","diameter"]);const p=a?"svg":"span";return o.createElement(p,Object.assign({className:l(_t.spinner,_t.modifiers[n],t),role:"progressbar","aria-valuetext":r},a&&{viewBox:"0 0 100 100"},i&&{style:{"--pf-c-spinner--diameter":i}},c),a?o.createElement("circle",{className:_t.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"}):o.createElement(o.Fragment,null,o.createElement("span",{className:l(_t.spinnerClipper)}),o.createElement("span",{className:l(_t.spinnerLeadBall)}),o.createElement("span",{className:l(_t.spinnerTailBall)})))};var It,Dt;Rt.displayName="Spinner",function(e){e.primary="primary",e.secondary="secondary",e.tertiary="tertiary",e.danger="danger",e.warning="warning",e.link="link",e.plain="plain",e.control="control"}(It||(It={})),function(e){e.button="button",e.submit="submit",e.reset="reset"}(Dt||(Dt={}));const jt=e=>{var{children:t=null,className:n="",component:r="button",isActive:a=!1,isBlock:i=!1,isDisabled:c=!1,isAriaDisabled:p=!1,isLoading:d=null,isDanger:u=!1,spinnerAriaValueText:f,isSmall:m=!1,isLarge:h=!1,inoperableEvents:b=["onClick","onKeyPress"],isInline:g=!1,type:v=Dt.button,variant:y=It.primary,iconPosition:w="left","aria-label":x=null,icon:C=null,ouiaId:O,ouiaSafe:E=!0,tabIndex:N=null,innerRef:k}=e,T=s(e,["children","className","component","isActive","isBlock","isDisabled","isAriaDisabled","isLoading","isDanger","spinnerAriaValueText","isSmall","isLarge","inoperableEvents","isInline","type","variant","iconPosition","aria-label","icon","ouiaId","ouiaSafe","tabIndex","innerRef"]);const S=$(Pt.displayName,O,E,y),_=r,R="button"===_,I=g&&"span"===_,D=b.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{});return o.createElement(_,Object.assign({},T,p?D:null,{"aria-disabled":c||p,"aria-label":x,className:l(St.button,St.modifiers[y],i&&St.modifiers.block,c&&St.modifiers.disabled,p&&St.modifiers.ariaDisabled,a&&St.modifiers.active,g&&y===It.link&&St.modifiers.inline,u&&(y===It.secondary||y===It.link)&&St.modifiers.danger,null!==d&&St.modifiers.progress,d&&St.modifiers.inProgress,m&&St.modifiers.small,h&&St.modifiers.displayLg,n),disabled:R?c:null,tabIndex:null!==N?N:c?R?null:-1:p?null:I?0:void 0,type:R||I?v:null,role:I?"button":null,ref:k},S),d&&o.createElement("span",{className:l(St.buttonProgress)},o.createElement(Rt,{size:Tt.md,"aria-valuetext":f})),y!==It.plain&&C&&"left"===w&&o.createElement("span",{className:l(St.buttonIcon,St.modifiers.start)},C),t,y!==It.plain&&C&&"right"===w&&o.createElement("span",{className:l(St.buttonIcon,St.modifiers.end)},C))},Pt=o.forwardRef(((e,t)=>o.createElement(jt,Object.assign({innerRef:t},e))));var Lt;Pt.displayName="Button",function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(Lt||(Lt={}));let At=0;function Ft({name:e,xOffset:t=0,yOffset:n=0,width:r,height:a,svgPath:i}){var s;return s=class extends o.Component{constructor(){super(...arguments),this.id="icon-title-"+At++}render(){const e=this.props,{size:s,color:l,title:c,noVerticalAlign:p}=e,d=
|
|
40
|
+
function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(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}var D,j=(D=[],{activateTrap:function(e){if(D.length>0){var t=D[D.length-1];t!==e&&t.pause()}var n=D.indexOf(e);-1===n||D.splice(n,1),D.push(e)},deactivateTrap:function(e){var t=D.indexOf(e);-1!==t&&D.splice(t,1),D.length>0&&D[D.length-1].unpause()}}),P=function(e){return setTimeout(e,0)},L=function(e,t){var n,r=document,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){R(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),a={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},i=function(e){return a.containers.some((function(t){return t.contains(e)}))},s=function(e){var t=o[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=r.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},l=function(){var e;if(null!==s("initialFocus"))e=s("initialFocus");else if(i(r.activeElement))e=r.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},c=function(){if(a.tabbableGroups=a.containers.map((function(e){var t=T(e);if(t.length>0)return{firstTabbableNode:t[0],lastTabbableNode:t[t.length-1]}})).filter((function(e){return!!e})),a.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},p=function e(t){t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),a.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(l()))},d=function(e){i(e.target)||(o.clickOutsideDeactivates?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!_(e.target)}):o.allowOutsideClick&&("boolean"==typeof o.allowOutsideClick?o.allowOutsideClick:o.allowOutsideClick(e))||e.preventDefault())},u=function(e){var t=i(e.target);t||e.target instanceof Document?t&&(a.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),p(a.mostRecentlyFocusedNode||l()))},f=function(e){if(!1!==o.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){c();var t=null;if(a.tabbableGroups.length>0)if(e.shiftKey){var n=a.tabbableGroups.findIndex((function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var r=0===n?a.tabbableGroups.length-1:n-1;t=a.tabbableGroups[r].lastTabbableNode}}else{var o=a.tabbableGroups.findIndex((function(t){var n=t.lastTabbableNode;return e.target===n}));if(o>=0){var i=o===a.tabbableGroups.length-1?0:o+1;t=a.tabbableGroups[i].firstTabbableNode}}else t=s("fallbackFocus");t&&(e.preventDefault(),p(t))}(e)},m=function(e){o.clickOutsideDeactivates||i(e.target)||o.allowOutsideClick&&("boolean"==typeof o.allowOutsideClick?o.allowOutsideClick:o.allowOutsideClick(e))||(e.preventDefault(),e.stopImmediatePropagation())},h=function(){if(a.active)return j.activateTrap(n),g=o.delayInitialFocus?P((function(){p(l())})):p(l()),r.addEventListener("focusin",u,!0),r.addEventListener("mousedown",d,{capture:!0,passive:!1}),r.addEventListener("touchstart",d,{capture:!0,passive:!1}),r.addEventListener("click",m,{capture:!0,passive:!1}),r.addEventListener("keydown",f,{capture:!0,passive:!1}),n},b=function(){if(a.active)return r.removeEventListener("focusin",u,!0),r.removeEventListener("mousedown",d,!0),r.removeEventListener("touchstart",d,!0),r.removeEventListener("click",m,!0),r.removeEventListener("keydown",f,!0),n};return(n={activate:function(e){if(a.active)return this;c(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=r.activeElement;var t=e&&e.onActivate?e.onActivate:o.onActivate;return t&&t(),h(),this},deactivate:function(e){if(!a.active)return this;clearTimeout(g),b(),a.active=!1,a.paused=!1,j.deactivateTrap(n);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:o.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:o.returnFocusOnDeactivate)&&P((function(){var e;p((e=a.nodeFocusedBeforeActivation,s("setReturnFocus")||e))})),this},pause:function(){return a.paused||!a.active||(a.paused=!0,b()),this},unpause:function(){return a.paused&&a.active?(a.paused=!1,c(),h(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return a.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),a.active&&c(),this}}).updateContainerElements(e),n};class A extends o.Component{constructor(e){super(e),this.divRef=o.createRef(),"undefined"!=typeof document&&(this.previouslyFocusedElement=document.activeElement)}componentDidMount(){this.focusTrap=L(this.divRef.current,Object.assign(Object.assign({},this.props.focusTrapOptions),{returnFocusOnDeactivate:!1})),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()}componentDidUpdate(e){e.active&&!this.props.active?this.focusTrap.deactivate():!e.active&&this.props.active&&this.focusTrap.activate(),e.paused&&!this.props.paused?this.focusTrap.unpause():!e.paused&&this.props.paused&&this.focusTrap.pause()}componentWillUnmount(){this.focusTrap.deactivate(),!1!==this.props.focusTrapOptions.returnFocusOnDeactivate&&this.previouslyFocusedElement&&this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus({preventScroll:this.props.preventScrollOnDeactivate})}render(){const e=this.props,{children:t,className:n,focusTrapOptions:r,active:a,paused:i,preventScrollOnDeactivate:l}=e,c=s(e,["children","className","focusTrapOptions","active","paused","preventScrollOnDeactivate"]);return o.createElement("div",Object.assign({ref:this.divRef,className:n},c),t)}}A.displayName="FocusTrap",A.defaultProps={active:!0,paused:!1,focusTrapOptions:{},preventScrollOnDeactivate:!1};let F=0;class M extends o.Component{constructor(){super(...arguments),this.id=`${this.props.prefix}${F++}`}render(){return this.props.children(this.id)}}M.displayName="GenerateId",M.defaultProps={prefix:"pf-random-id-"};let B=0;const V="OUIA-Generated-",H={};function z(e,t,n=!0){return{"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":t}}const $=(e,t,n=!0,r)=>({"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":W(e,t,r)}),W=(e,n,r)=>void 0!==n?n:t.useMemo((()=>K(e,r)),[e,r]);function K(e,t){try{let n;return n="undefined"!=typeof window?`${window.location.href}-${e}-${t||""}`:`${e}-${t||""}`,H[n]||(H[n]=0),`${V}${e}-${t?`${t}-`:""}${++H[n]}`}catch(n){return`${V}${e}-${t?`${t}-`:""}${++B}`}}function G(e="pf"){return`${e}-${(new Date).getTime()+Math.random().toString(36).slice(2)}`}function U(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>e.apply(this,r)),t)}}function q(e,t,n,r,o,i=!1){if(!Array.isArray(o))return;const s=r.filter((e=>e))[0].constructor===Array;let l=e,c=t;if("up"===n?l=0===e?o.length-1:e-1:"down"===n?l=e===o.length-1?0:e+1:"left"===n?c=0===t?r[e].length-1:t-1:"right"===n&&(c=t===r[e].length-1?0:t+1),null===r[l]||void 0===r[l]||s&&(null===r[l][c]||void 0===r[l][c]))q(l,c,n,r,o,i);else if(i){r[l].focus&&r[l].focus();a.findDOMNode(r[l]).focus()}else"tab"!==n&&(s?r[l][c].focus():r[l].focus())}function X(e,t){const n=e.current.querySelectorAll(t);return Array.prototype.filter.call(n,(function(e){return e.tabIndex>="0"}))}function Y(e,t,n){let r;return r="up"===t?0===e?n.length-1:e-1:e===n.length-1?0:e+1,void 0===n[r]||null===n[r][0]?Y(r,t,n):r}const J=(e,t,n="",r)=>{if(!e)return"";if(r){if(r in e)return t.modifiers[Z(`${n}${e[r]}`)];const o=["2xl","xl","lg","md","sm","default"];for(let a=o.indexOf(r);a<o.length;a++)if(o[a]in e)return t.modifiers[Z(`${n}${e[o[a]]}`)];return""}return Object.entries(e||{}).map((([e,t])=>`${n}${t}${"default"!==e?`-on-${e}`:""}`)).map(Z).map((e=>e.replace(/-?(\dxl)/gi,((e,t)=>`_${t}`)))).map((e=>t.modifiers[e])).filter(Boolean).join(" ")},Q=e=>e.toUpperCase().replace("-","").replace("_",""),Z=e=>e.replace(/([-_][a-z])/gi,Q),ee=!("undefined"==typeof window||!window.document||!window.document.createElement),te=(e,t)=>{const n=getComputedStyle(t),r=document.createElement("canvas").getContext("2d");return r.font=n.font||(()=>{let e="";const t={"50%":"ultra-condensed","62.5%":"extra-condensed","75%":"condensed","87.5%":"semi-condensed","100%":"normal","112.5%":"semi-expanded","125%":"expanded","150%":"extra-expanded","200%":"ultra-expanded"};let r;return r=n.fontStretch in t?t[n.fontStretch]:"normal",e=n.fontStyle+" "+n.fontVariant+" "+n.fontWeight+" "+r+" "+n.fontSize+"/"+n.lineHeight+" "+n.fontFamily,e})(),r.measureText(e).width},ne=(e,t)=>{const n=(e=>{const t=getComputedStyle(e);let n=e.clientWidth,r=e.clientHeight;return r-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),{height:r,width:n}})(e).width;let r=t;if(te(t,e)>n){for(;te(`...${r}`,e)>n;)r=r.substring(1);e.value?e.value=`...${r}`:e.innerText=`...${r}`}else e.value?e.value=t:e.innerText=t};class re extends o.Component{componentDidMount(){const e=a.findDOMNode(this);this.props.onFoundRef(e)}render(){return this.props.children||null}}function oe(e){const 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 ae(e){if("[object Window]"!==e.toString()){const t=e.ownerDocument;return t?t.defaultView:window}return e}function ie(e){const t=ae(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function se(e){return e instanceof ae(e).Element||e instanceof Element}function le(e){return e instanceof ae(e).HTMLElement||e instanceof HTMLElement}function ce(e){return e?(e.nodeName||"").toLowerCase():null}function pe(e){return(se(e)?e.ownerDocument:e.document).documentElement}function de(e){return oe(pe(e)).left+ie(e).scrollLeft}function ue(e){return ae(e).getComputedStyle(e)}function fe(e){const{overflow:t,overflowX:n,overflowY:r}=ue(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function me(e,t,n=!1){const r=pe(t),o=oe(e),a=le(t);let i={scrollLeft:0,scrollTop:0},s={x:0,y:0};var l,c;return(a||!a&&!n)&&(("body"!==ce(t)||fe(r))&&(i=(l=t)!==ae(l)&&le(l)?{scrollLeft:(c=l).scrollLeft,scrollTop:c.scrollTop}:ie(l)),le(t)?(s=oe(t),s.x+=t.clientLeft,s.y+=t.clientTop):r&&(s.x=de(r))),{x:o.left+i.scrollLeft-s.x,y:o.top+i.scrollTop-s.y,width:o.width,height:o.height}}function he(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function be(e){return"html"===ce(e)?e:e.assignedSlot||e.parentNode||e.host||pe(e)}function ge(e){return["html","body","#document"].indexOf(ce(e))>=0?e.ownerDocument.body:le(e)&&fe(e)?e:ge(be(e))}function ve(e,t=[]){const n=ge(e),r="body"===ce(n),o=ae(n),a=r?[o].concat(o.visualViewport||[],fe(n)?n:[]):n,i=t.concat(a);return r?i:i.concat(ve(be(a)))}function ye(e){return["table","td","th"].indexOf(ce(e))>=0}function we(e){if(!le(e)||"fixed"===ue(e).position)return null;const t=e.offsetParent;if(t){const e=pe(t);if("body"===ce(t)&&"static"===ue(t).position&&"static"!==ue(e).position)return e}return t}function xe(e){const t=ae(e);let n=we(e);for(;n&&ye(n)&&"static"===ue(n).position;)n=we(n);return n&&"body"===ce(n)&&"static"===ue(n).position?t:n||function(e){let t=be(e);for(;le(t)&&["html","body"].indexOf(ce(t))<0;){const e=ue(t);if("none"!==e.transform||"none"!==e.perspective||e.willChange&&"auto"!==e.willChange)return t;t=t.parentNode}return null}(e)||t}re.displayName="FindRefWrapper";const Ce="top",Oe="bottom",Ee="right",Ne="left",ke="auto",Te=[Ce,Oe,Ee,Ne],Se="start",_e="end",Re="clippingParents",Ie="viewport",De="popper",je=Te.reduce(((e,t)=>e.concat([`${t}-start`,`${t}-end`])),[]),Pe=[...Te,ke].reduce(((e,t)=>e.concat([t,`${t}-start`,`${t}-end`])),[]),Le=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ae(e){const t=new Map,n=new Set,r=[];function o(e){n.add(e.name);[...e.requires||[],...e.requiresIfExists||[]].forEach((e=>{if(!n.has(e)){const n=t.get(e);n&&o(n)}})),r.push(e)}return e.forEach((e=>{t.set(e.name,e)})),e.forEach((e=>{n.has(e.name)||o(e)})),r}function Fe(e){let t;return()=>(t||(t=new Promise((n=>{Promise.resolve().then((()=>{t=void 0,n(e())}))}))),t)}function Me(e){return e.split("-")[0]}function Be(e,t){const n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){let n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ve(e){return Object.assign(Object.assign({},e),{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function He(e,t){return t===Ie?Ve(function(e){const t=ae(e),n=pe(e),r=t.visualViewport;let o=n.clientWidth,a=n.clientHeight,i=0,s=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:o,height:a,x:i+de(e),y:s}}(e)):le(t)?function(e){const t=oe(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):Ve(function(e){const t=pe(e),n=ie(e),r=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let i=-n.scrollLeft+de(e);const s=-n.scrollTop;return"rtl"===ue(r||t).direction&&(i+=Math.max(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:i,y:s}}(pe(e)))}function ze(e,t,n){const r="clippingParents"===t?function(e){const t=ve(be(e)),n=["absolute","fixed"].indexOf(ue(e).position)>=0&&le(e)?xe(e):e;return se(n)?t.filter((e=>se(e)&&Be(e,n)&&"body"!==ce(e))):[]}(e):[].concat(t),o=[...r,n],a=o[0],i=o.reduce(((t,n)=>{const r=He(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),He(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 $e(e){return e.split("-")[1]}function We(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ke({reference:e,element:t,placement:n}){const r=n?Me(n):null,o=n?$e(n):null,a=e.x+e.width/2-t.width/2,i=e.y+e.height/2-t.height/2;let s;switch(r){case Ce:s={x:a,y:e.y-t.height};break;case Oe:s={x:a,y:e.y+e.height};break;case Ee:s={x:e.x+e.width,y:i};break;case Ne:s={x:e.x-t.width,y:i};break;default:s={x:e.x,y:e.y}}const l=r?We(r):null;if(null!=l){const n="y"===l?"height":"width";switch(o){case Se:s[l]=Math.floor(s[l])-Math.floor(e[n]/2-t[n]/2);break;case _e:s[l]=Math.floor(s[l])+Math.ceil(e[n]/2-t[n]/2)}}return s}function Ge(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function Ue(e,t){return t.reduce(((t,n)=>(t[n]=e,t)),{})}function qe(e,t={}){const{placement:n=e.placement,boundary:r=Re,rootBoundary:o=Ie,elementContext:a=De,altBoundary:i=!1,padding:s=0}=t,l=Ge("number"!=typeof s?s:Ue(s,Te)),c=a===De?"reference":De,p=e.elements.reference,d=e.rects.popper,u=e.elements[i?c:a],f=ze(se(u)?u:u.contextElement||pe(e.elements.popper),r,o),m=oe(p),h=Ke({reference:m,element:d,strategy:"absolute",placement:n}),b=Ve(Object.assign(Object.assign({},d),h)),g=a===De?b:m,v={top:f.top-g.top+l.top,bottom:g.bottom-f.bottom+l.bottom,left:f.left-g.left+l.left,right:g.right-f.right+l.right},y=e.modifiersData.offset;if(a===De&&y){const e=y[n];Object.keys(v).forEach((t=>{const n=[Ee,Oe].indexOf(t)>=0?1:-1,r=[Ce,Oe].indexOf(t)>=0?"y":"x";v[t]+=e[r]*n}))}return v}const Xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Ye(...e){return!e.some((e=>!(e&&"function"==typeof e.getBoundingClientRect)))}const Je={passive:!0};const Qe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ze({popper:e,popperRect:t,placement:n,offsets:r,position:o,gpuAcceleration:a,adaptive:i}){let{x:s,y:l}=function({x:e,y:t}){const n=window.devicePixelRatio||1;return{x:Math.round(e*n)/n||0,y:Math.round(t*n)/n||0}}(r);const c=r.hasOwnProperty("x"),p=r.hasOwnProperty("y");let d=Ne,u=Ce;const f=window;if(i){let r=xe(e);r===ae(e)&&(r=pe(e)),n===Ce&&(u=Oe,l-=r.clientHeight-t.height,l*=a?1:-1),n===Ne&&(d=Ee,s-=r.clientWidth-t.width,s*=a?1:-1)}const m=Object.assign({position:o},i&&Qe);return a?Object.assign(Object.assign({},m),{[u]:p?"0":"",[d]:c?"0":"",transform:(f.devicePixelRatio||1)<2?`translate(${s}px, ${l}px)`:`translate3d(${s}px, ${l}px, 0)`}):Object.assign(Object.assign({},m),{[u]:p?`${l}px`:"",[d]:c?`${s}px`:"",transform:""})}var et={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function({state:e,options:t,name:n}){const{offset:r=[0,0]}=t,o=Pe.reduce(((t,n)=>(t[n]=function(e,t,n){const r=Me(e),o=[Ne,Ce].indexOf(r)>=0?-1:1;let[a,i]="function"==typeof n?n(Object.assign(Object.assign({},t),{placement:e})):n;return a=a||0,i=(i||0)*o,[Ne,Ee].indexOf(r)>=0?{x:i,y:a}:{x:a,y:i}}(n,e.rects,r),t)),{}),{x:a,y:i}=o[e.placement];null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=i),e.modifiersData[n]=o}};const tt={left:"right",right:"left",bottom:"top",top:"bottom"};function nt(e){return e.replace(/left|right|bottom|top/g,(e=>tt[e]))}const rt={start:"end",end:"start"};function ot(e){return e.replace(/start|end/g,(e=>rt[e]))}function at(e,t={}){const{placement:n,boundary:r,rootBoundary:o,padding:a,flipVariations:i,allowedAutoPlacements:s=Pe}=t,l=$e(n),c=l?i?je:je.filter((e=>$e(e)===l)):Te;let p=c.filter((e=>s.indexOf(e)>=0));0===p.length&&(p=c);const d=p.reduce(((t,n)=>(t[n]=qe(e,{placement:n,boundary:r,rootBoundary:o,padding:a})[Me(n)],t)),{});return Object.keys(d).sort(((e,t)=>d[e]-d[t]))}var it={name:"flip",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){if(e.modifiersData[n]._skip)return;const{mainAxis:r=!0,altAxis:o=!0,fallbackPlacements:a,padding:i,boundary:s,rootBoundary:l,altBoundary:c,flipVariations:p=!0,allowedAutoPlacements:d}=t,u=e.options.placement,f=Me(u),m=[u,...a||(f===u||!p?[nt(u)]:function(e){if(Me(e)===ke)return[];const t=nt(e);return[ot(e),t,ot(t)]}(u))].reduce(((t,n)=>t.concat(Me(n)===ke?at(e,{placement:n,boundary:s,rootBoundary:l,padding:i,flipVariations:p,allowedAutoPlacements:d}):n)),[]),h=e.rects.reference,b=e.rects.popper,g=new Map;let v=!0,y=m[0];for(let t=0;t<m.length;t++){const n=m[t],a=Me(n),p=$e(n)===Se,d=[Ce,Oe].indexOf(a)>=0,u=d?"width":"height",f=qe(e,{placement:n,boundary:s,rootBoundary:l,altBoundary:c,padding:i});let w=d?p?Ee:Ne:p?Oe:Ce;h[u]>b[u]&&(w=nt(w));const x=nt(w),C=[];if(r&&C.push(f[a]<=0),o&&C.push(f[w]<=0,f[x]<=0),C.every((e=>e))){y=n,v=!1;break}g.set(n,C)}if(v){for(let e=p?3:1;e>0;e--){const t=m.find((t=>{const n=g.get(t);if(n)return n.slice(0,e).every((e=>e))}));if(t){y=t;break}}}e.placement!==y&&(e.modifiersData[n]._skip=!0,e.placement=y,e.reset=!0)},requiresIfExists:["offset"],data:{_skip:!1}};function st(e,t,n){return Math.max(e,Math.min(t,n))}var lt={name:"preventOverflow",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){const{mainAxis:r=!0,altAxis:o=!1,boundary:a,rootBoundary:i,altBoundary:s,padding:l,tether:c=!0,tetherOffset:p=0}=t,d=qe(e,{boundary:a,rootBoundary:i,padding:l,altBoundary:s}),u=Me(e.placement),f=$e(e.placement),m=!f,h=We(u),b="x"===h?"y":"x",g=e.modifiersData.popperOffsets,v=e.rects.reference,y=e.rects.popper,w="function"==typeof p?p(Object.assign(Object.assign({},e.rects),{placement:e.placement})):p,x={x:0,y:0};if(g){if(r){const t="y"===h?Ce:Ne,n="y"===h?Oe:Ee,r="y"===h?"height":"width",o=g[h],a=g[h]+d[t],i=g[h]-d[n],s=c?-y[r]/2:0,l=f===Se?v[r]:y[r],p=f===Se?-y[r]:-v[r],u=e.elements.arrow,b=c&&u?he(u):{width:0,height:0},C=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},O=C[t],E=C[n],N=st(0,v[r],b[r]),k=m?v[r]/2-s-N-O-w:l-N-O-w,T=m?-v[r]/2+s+N+E+w:p+N+E+w,S=e.elements.arrow&&xe(e.elements.arrow),_=S?"y"===h?S.clientTop||0:S.clientLeft||0:0,R=e.modifiersData.offset?e.modifiersData.offset[e.placement][h]:0,I=g[h]+k-R-_,D=g[h]+T-R,j=st(c?Math.min(a,I):a,o,c?Math.max(i,D):i);g[h]=j,x[h]=j-o}if(o){const e="x"===h?Ce:Ne,t="x"===h?Oe:Ee,n=g[b],r=st(n+d[e],n,n-d[t]);g[b]=r,x[b]=r-n}e.modifiersData[n]=x}},requiresIfExists:["offset"]};var ct={name:"arrow",enabled:!0,phase:"main",fn:function({state:e,name:t}){const n=e.elements.arrow,r=e.modifiersData.popperOffsets,o=Me(e.placement),a=We(o),i=[Ne,Ee].indexOf(o)>=0?"height":"width";if(!n||!r)return;const s=e.modifiersData[`${t}#persistent`].padding,l=he(n),c="y"===a?Ce:Ne,p="y"===a?Oe:Ee,d=e.rects.reference[i]+e.rects.reference[a]-r[a]-e.rects.popper[i],u=r[a]-e.rects.reference[a],f=xe(n),m=f?"y"===a?f.clientHeight||0:f.clientWidth||0:0,h=d/2-u/2,b=s[c],g=m-l[i]-s[p],v=m/2-l[i]/2+h,y=st(b,v,g),w=a;e.modifiersData[t]={[w]:y,centerOffset:y-v}},effect:function({state:e,options:t,name:n}){let{element:r="[data-popper-arrow]",padding:o=0}=t;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r),r))&&Be(e.elements.popper,r)&&(e.elements.arrow=r,e.modifiersData[`${n}#persistent`]={padding:Ge("number"!=typeof o?o:Ue(o,Te))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pt(e,t,n={x:0,y:0}){return{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function dt(e){return[Ce,Ee,Oe,Ne].some((t=>e[t]>=0))}const ut=function(e={}){const{defaultModifiers:t=[],defaultOptions:n=Xe}=e;return function(e,r,o=n){let a={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},Xe),n),modifiersData:{},elements:{reference:e,popper:r},attributes:{},styles:{}},i=[],s=!1;const l={state:a,setOptions(o){c(),a.options=Object.assign(Object.assign(Object.assign({},n),a.options),o),a.scrollParents={reference:se(e)?ve(e):e.contextElement?ve(e.contextElement):[],popper:ve(r)};const s=function(e){const t=Ae(e);return Le.reduce(((e,n)=>e.concat(t.filter((e=>e.phase===n)))),[])}(function(e){const t=e.reduce(((e,t)=>{const n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((e=>t[e]))}([...t,...a.options.modifiers]));return a.orderedModifiers=s.filter((e=>e.enabled)),a.orderedModifiers.forEach((({name:e,options:t={},effect:n})=>{if("function"==typeof n){const r=n({state:a,name:e,instance:l,options:t}),o=()=>{};i.push(r||o)}})),l.update()},forceUpdate(){if(s)return;const{reference:e,popper:t}=a.elements;if(Ye(e,t)){a.rects={reference:me(e,xe(t),"fixed"===a.options.strategy),popper:he(t)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((e=>a.modifiersData[e.name]=Object.assign({},e.data)));for(let e=0;e<a.orderedModifiers.length;e++){if(!0===a.reset){a.reset=!1,e=-1;continue}const{fn:t,options:n={},name:r}=a.orderedModifiers[e];"function"==typeof t&&(a=t({state:a,options:n,name:r,instance:l})||a)}}},update:Fe((()=>new Promise((e=>{l.forceUpdate(),e(a)})))),destroy(){c(),s=!0}};if(!Ye(e,r))return l;function c(){i.forEach((e=>e())),i=[]}return l.setOptions(o).then((e=>{!s&&o.onFirstUpdate&&o.onFirstUpdate(e)})),l}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:function({state:e,instance:t,options:n}){const{scroll:r=!0,resize:o=!0}=n,a=ae(e.elements.popper),i=[...e.scrollParents.reference,...e.scrollParents.popper];return r&&i.forEach((e=>{e.addEventListener("scroll",t.update,Je)})),o&&a.addEventListener("resize",t.update,Je),()=>{r&&i.forEach((e=>{e.removeEventListener("scroll",t.update,Je)})),o&&a.removeEventListener("resize",t.update,Je)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function({state:e,name:t}){e.modifiersData[t]=Ke({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function({state:e,options:t}){const{gpuAcceleration:n=!0,adaptive:r=!0}=t,o={placement:Me(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),Ze(Object.assign(Object.assign({},o),{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),Ze(Object.assign(Object.assign({},o),{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function({state:e}){Object.keys(e.elements).forEach((t=>{const n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];le(o)&&ce(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((e=>{const t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function({state:e}){const t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),()=>{Object.keys(e.elements).forEach((n=>{const r=e.elements[n],o=e.attributes[n]||{},a=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]).reduce(((e,t)=>(e[t]="",e)),{});le(r)&&ce(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((e=>{r.removeAttribute(e)})))}))}},requires:["computeStyles"]},et,it,lt,ct,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function({state:e,name:t}){const n=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=qe(e,{elementContext:"reference"}),i=qe(e,{altBoundary:!0}),s=pt(a,n),l=pt(i,r,o),c=dt(s),p=dt(l);e.modifiersData[t]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:p},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-reference-hidden":c,"data-popper-escaped":p})}}]}),ft=ee?o.useLayoutEffect:o.useEffect,mt=e=>e.reduce(((e,[t,n])=>(e[t]=n,e)),{}),ht=[],bt=(e,t,n={})=>{const r=o.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ht},[i,s]=o.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"}},attributes:{}}),l=o.useMemo((()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=Object.keys(e.elements);s({styles:mt(t.map((t=>[t,e.styles[t]||{}]))),attributes:mt(t.map((t=>[t,e.attributes[t]])))})},requires:["computeStyles"]})),[]),c=o.useMemo((()=>{const e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[...a.modifiers,l,{name:"applyStyles",enabled:!1}]};return t=r.current,n=e,JSON.stringify(t)===JSON.stringify(n)?r.current||e:(r.current=e,e);var t,n}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,l]),p=o.useRef();return ft((()=>{p&&p.current&&p.current.setOptions(c)}),[c]),ft((()=>{if(null==e||null==t)return;const r=(n.createPopper||ut)(e,t,c);return p.current=r,()=>{r.destroy(),p.current=null}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:i.styles,attributes:i.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},gt={left:"right",right:"left",bottom:"top",top:"bottom"},vt=e=>`opacity ${e}ms cubic-bezier(.54, 1.5, .38, 1.11)`,yt=({trigger:e,popper:t,popperMatchesTriggerWidth:n=!0,direction:r="down",position:i="left",placement:s,appendTo:c=(()=>document.body),zIndex:p=9999,isVisible:d=!0,positionModifiers:u,distance:f=0,onMouseEnter:m,onMouseLeave:h,onFocus:b,onBlur:g,onDocumentClick:v,onTriggerClick:y,onTriggerEnter:w,onPopperClick:x,onDocumentKeyDown:C,enableFlip:O=!0,flipBehavior:E="flip",reference:N})=>{const[k,T]=o.useState(null),[S,_]=o.useState(null),[R,I]=o.useState(null),[D,j]=o.useState(!1),P=S||k,L=o.useCallback((e=>v(e,P,R)),[d,k,S,R,v]);o.useEffect((()=>{j(!0)}),[]),o.useEffect((()=>{N&&(N.current?_(N.current):"function"==typeof N&&_(N()))}),[N]);const A=(e,t,n)=>{e&&t&&t.addEventListener(n,e)},F=(e,t,n)=>{e&&t&&t.removeEventListener(n,e)};o.useEffect((()=>(A(m,P,"mouseenter"),A(h,P,"mouseleave"),A(b,P,"focus"),A(g,P,"blur"),A(y,P,"click"),A(w,P,"keydown"),A(x,R,"click"),v&&A(L,document,"click"),A(C,document,"keydown"),()=>{F(m,P,"mouseenter"),F(h,P,"mouseleave"),F(b,P,"focus"),F(g,P,"blur"),F(y,P,"click"),F(w,P,"keydown"),F(x,R,"click"),v&&F(L,document,"click"),F(C,document,"keydown")})),[k,R,m,h,b,g,y,w,x,v,C,S]);const M=()=>{if(s)return s;let e="up"===r?"top":"bottom";return"center"!==i&&(e=`${e}-${"right"===i?"end":"start"}`),e},B=o.useMemo(M,[r,i,s]),V=o.useMemo((()=>(e=>e.replace(/left|right|bottom|top/g,(e=>gt[e])))(M())),[r,i,s]),H=o.useMemo((()=>({name:"sameWidth",enabled:n,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>(e.elements.popper.style.width=`${e.elements.reference.offsetWidth}px`,()=>{})})),[n]),{styles:z,attributes:$,forceUpdate:W}=bt(P,R,{placement:B,modifiers:[{name:"offset",options:{offset:[0,f]}},{name:"preventOverflow",enabled:!1},{name:"hide",enabled:!0},{name:"flip",enabled:B.startsWith("auto")||O,options:{fallbackPlacements:"flip"===E?[V]:E}},H]});o.useEffect((()=>{W&&W()}),[t]);const K=o.cloneElement(t,Object.assign({className:l(t.props&&t.props.className,u&&(()=>{if($&&$.popper&&$.popper["data-popper-placement"]){const e=$.popper["data-popper-placement"];return u[e]}return u.top})()),style:Object.assign(Object.assign(Object.assign({},t.props&&t.props.style||{}),z.popper),{zIndex:p})},$.popper));return o.createElement(o.Fragment,null,!N&&e&&o.createElement(re,{onFoundRef:e=>T(e)},e),D&&d&&a.createPortal(o.createElement(re,{onFoundRef:e=>I(e)},K),"function"==typeof c?c():c))};yt.displayName="Popper";const wt=(e,t,n=(e=>document.activeElement.contains(e)),r=(e=>e),o=["A","BUTTON","INPUT"],a=!1,i=!1,s=!0,l=!0)=>{const c=document.activeElement,p=e.key;let d=null;if(!a&&["ArrowUp","ArrowDown"].includes(p)){e.preventDefault(),e.stopImmediatePropagation();let o=-1;t.forEach(((e,a)=>{if(n(e)){let e=0;for(;!d&&e<t.length&&-1*e<t.length;)"ArrowUp"===p?e--:e++,o=a+e,o>=t.length&&(o=0),o<0&&(o=t.length-1),d=r(t[o])}}))}if(!i&&["ArrowLeft","ArrowRight"].includes(p)){e.preventDefault(),e.stopImmediatePropagation();let r=-1;t.forEach(((a,i)=>{if(n(a)){const n=t[i].querySelectorAll(o.join(","));if(!n.length||l){let e=c;for(;e;)if(e="ArrowLeft"===p?e.previousElementSibling:e.nextElementSibling,e&&o.includes(e.tagName)){d=e;break}}else n.forEach(((t,o)=>{if(e.target===t){r=o+("ArrowLeft"===p?-1:1),r>=n.length&&(r=0),r<0&&(r=n.length-1),d=n[r]}}))}}))}d&&(s&&(c.tabIndex=-1,d.tabIndex=0),d.focus())};class xt extends o.Component{constructor(){super(...arguments),this.keyHandler=e=>{const{isEventFromContainer:t}=this.props;if(t?!t(e):!this._isEventFromContainer(e))return;const{isActiveElement:n,getFocusableElement:r,noVerticalArrowHandling:o,noHorizontalArrowHandling:a,noEnterHandling:i,noSpaceHandling:s,updateTabIndex:l,validSiblingTags:c,additionalKeyHandler:p,createNavigableElements:d}=this.props;p&&p(e);const u=d();if(!u)return void console.warn("No navigable elements have been passed to the KeyboardHandler. Keyboard navigation provided by this component will be ignored.");const f=e.key;i||"Enter"===f&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),s||" "===f&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),wt(e,u,n,r,c,o,a,l)},this._isEventFromContainer=e=>{const{containerRef:t}=this.props;return t.current&&t.current.contains(e.target)}}componentDidMount(){ee&&window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){ee&&window.removeEventListener("keydown",this.keyHandler)}render(){return null}}xt.displayName="KeyboardHandler",xt.defaultProps={containerRef:null,createNavigableElements:()=>null,isActiveElement:e=>document.activeElement===e,getFocusableElement:e=>e,validSiblingTags:["BUTTON","A"],updateTabIndex:!0,noHorizontalArrowHandling:!1,noVerticalArrowHandling:!1,noEnterHandling:!1,noSpaceHandling:!1};var Ct,Ot,Et="pf-l-bullseye",Nt={modifiers:{"4xl":"pf-m-4xl","3xl":"pf-m-3xl","2xl":"pf-m-2xl",xl:"pf-m-xl",lg:"pf-m-lg",md:"pf-m-md",overpassFont:"pf-m-overpass-font"},title:"pf-c-title"};!function(e){e.md="md",e.lg="lg",e.xl="xl",e["2xl"]="2xl",e["3xl"]="3xl",e["4xl"]="4xl"}(Ct||(Ct={})),function(e){e.h1="2xl",e.h2="xl",e.h3="lg",e.h4="md",e.h5="md",e.h6="md"}(Ot||(Ot={}));const kt=e=>{var{className:t="",children:n="",headingLevel:r,size:a=Ot[r],ouiaId:i,ouiaSafe:c=!0}=e,p=s(e,["className","children","headingLevel","size","ouiaId","ouiaSafe"]);const d=$(kt.displayName,i,c);return o.createElement(r,Object.assign({},d,p,{className:l(Nt.title,a&&Nt.modifiers[a],t)}),n)};kt.displayName="Title";var Tt,St={button:"pf-c-button",buttonIcon:"pf-c-button__icon",buttonProgress:"pf-c-button__progress",modifiers:{active:"pf-m-active",block:"pf-m-block",small:"pf-m-small",primary:"pf-m-primary",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",tertiary:"pf-m-tertiary",link:"pf-m-link",inline:"pf-m-inline",danger:"pf-m-danger",warning:"pf-m-warning",control:"pf-m-control",expanded:"pf-m-expanded",plain:"pf-m-plain",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",progress:"pf-m-progress",inProgress:"pf-m-in-progress",start:"pf-m-start",end:"pf-m-end",overpassFont:"pf-m-overpass-font"},spinner:"pf-c-spinner"},_t={modifiers:{sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",xl:"pf-m-xl"},spinner:"pf-c-spinner",spinnerClipper:"pf-c-spinner__clipper",spinnerLeadBall:"pf-c-spinner__lead-ball",spinnerPath:"pf-c-spinner__path",spinnerTailBall:"pf-c-spinner__tail-ball"};!function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(Tt||(Tt={}));const Rt=e=>{var{className:t="",size:n="xl","aria-valuetext":r="Loading...",isSVG:a=!1,diameter:i}=e,c=s(e,["className","size","aria-valuetext","isSVG","diameter"]);const p=a?"svg":"span";return o.createElement(p,Object.assign({className:l(_t.spinner,_t.modifiers[n],t),role:"progressbar","aria-valuetext":r},a&&{viewBox:"0 0 100 100"},i&&{style:{"--pf-c-spinner--diameter":i}},c),a?o.createElement("circle",{className:_t.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"}):o.createElement(o.Fragment,null,o.createElement("span",{className:l(_t.spinnerClipper)}),o.createElement("span",{className:l(_t.spinnerLeadBall)}),o.createElement("span",{className:l(_t.spinnerTailBall)})))};var It,Dt;Rt.displayName="Spinner",function(e){e.primary="primary",e.secondary="secondary",e.tertiary="tertiary",e.danger="danger",e.warning="warning",e.link="link",e.plain="plain",e.control="control"}(It||(It={})),function(e){e.button="button",e.submit="submit",e.reset="reset"}(Dt||(Dt={}));const jt=e=>{var{children:t=null,className:n="",component:r="button",isActive:a=!1,isBlock:i=!1,isDisabled:c=!1,isAriaDisabled:p=!1,isLoading:d=null,isDanger:u=!1,spinnerAriaValueText:f,isSmall:m=!1,isLarge:h=!1,inoperableEvents:b=["onClick","onKeyPress"],isInline:g=!1,type:v=Dt.button,variant:y=It.primary,iconPosition:w="left","aria-label":x=null,icon:C=null,ouiaId:O,ouiaSafe:E=!0,tabIndex:N=null,innerRef:k}=e,T=s(e,["children","className","component","isActive","isBlock","isDisabled","isAriaDisabled","isLoading","isDanger","spinnerAriaValueText","isSmall","isLarge","inoperableEvents","isInline","type","variant","iconPosition","aria-label","icon","ouiaId","ouiaSafe","tabIndex","innerRef"]);const S=$(Pt.displayName,O,E,y),_=r,R="button"===_,I=g&&"span"===_,D=b.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{});return o.createElement(_,Object.assign({},T,p?D:null,{"aria-disabled":c||p,"aria-label":x,className:l(St.button,St.modifiers[y],i&&St.modifiers.block,c&&St.modifiers.disabled,p&&St.modifiers.ariaDisabled,a&&St.modifiers.active,g&&y===It.link&&St.modifiers.inline,u&&(y===It.secondary||y===It.link)&&St.modifiers.danger,null!==d&&null!==t&&St.modifiers.progress,d&&St.modifiers.inProgress,m&&St.modifiers.small,h&&St.modifiers.displayLg,n),disabled:R?c:null,tabIndex:null!==N?N:c?R?null:-1:p?null:I?0:void 0,type:R||I?v:null,role:I?"button":null,ref:k},S),d&&o.createElement("span",{className:l(St.buttonProgress)},o.createElement(Rt,{size:Tt.md,"aria-valuetext":f})),y===It.plain&&null===t&&C?C:null,y!==It.plain&&C&&"left"===w&&o.createElement("span",{className:l(St.buttonIcon,St.modifiers.start)},C),t,y!==It.plain&&C&&"right"===w&&o.createElement("span",{className:l(St.buttonIcon,St.modifiers.end)},C))},Pt=o.forwardRef(((e,t)=>o.createElement(jt,Object.assign({innerRef:t},e))));var Lt;Pt.displayName="Button",function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(Lt||(Lt={}));let At=0;function Ft({name:e,xOffset:t=0,yOffset:n=0,width:r,height:a,svgPath:i}){var s;return s=class extends o.Component{constructor(){super(...arguments),this.id="icon-title-"+At++}render(){const e=this.props,{size:s,color:l,title:c,noVerticalAlign:p}=e,d=
|
|
41
41
|
/*! *****************************************************************************
|
|
42
42
|
Copyright (c) Microsoft Corporation.
|
|
43
43
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-table",
|
|
3
|
-
"version": "4.61.
|
|
3
|
+
"version": "4.61.18",
|
|
4
4
|
"description": "This library provides a set of React table components for use with the PatternFly 4",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rimraf dist"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@patternfly/react-core": "^4.192.
|
|
35
|
-
"@patternfly/react-icons": "^4.43.
|
|
36
|
-
"@patternfly/react-styles": "^4.42.
|
|
37
|
-
"@patternfly/react-tokens": "^4.44.
|
|
34
|
+
"@patternfly/react-core": "^4.192.18",
|
|
35
|
+
"@patternfly/react-icons": "^4.43.18",
|
|
36
|
+
"@patternfly/react-styles": "^4.42.18",
|
|
37
|
+
"@patternfly/react-tokens": "^4.44.18",
|
|
38
38
|
"lodash": "^4.17.19",
|
|
39
39
|
"tslib": "^2.0.0"
|
|
40
40
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": "^16.8.0 || ^17.0.0",
|
|
47
47
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "2d02c33cb5709f4127f04d277e2349a4402b2753"
|
|
50
50
|
}
|