@patternfly/patternfly-doc-core 1.8.3 → 1.9.1
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/.github/workflows/add-new-issues-to-project.yml +38 -0
- package/cli/cli.ts +9 -1
- package/cli/convertToMDX.ts +32 -0
- package/dist/cli/cli.js +7 -0
- package/dist/cli/convertToMDX.js +20 -0
- package/dist/cli/tsconfig.tsbuildinfo +1 -1
- package/dist/client/_astro/Button.BQCwQ5pE.js +9 -0
- package/dist/client/_astro/CSSTable.DC79W1Ct.js +1 -0
- package/dist/client/_astro/{Content.Dv9vgAns.js → Content.B4M2qzJY.js} +1 -1
- package/dist/client/_astro/DropdownList.cxp03sS4.js +1 -0
- package/dist/client/_astro/LiveExample.CxJsMvEq.css +1 -0
- package/dist/client/_astro/LiveExample.DZkxbJA_.js +259 -0
- package/dist/client/_astro/Navigation.kbLxctIo.js +1 -0
- package/dist/client/_astro/{PageContext.ipir86Hm.js → PageContext.miTsIqVo.js} +1 -1
- package/dist/client/_astro/PageSidebarBody.B0AJe8Hg.js +1 -0
- package/dist/client/_astro/PageToggle.CMZ3C1v1.js +1 -0
- package/dist/client/_astro/SearchInput.DhHo7yPx.js +1 -0
- package/dist/client/_astro/SectionGallery.3ABpQwE4.js +1 -0
- package/dist/client/_astro/Toolbar.CroDQcyv.js +1 -0
- package/dist/client/_astro/{ToolbarContent.Cd-kqxku.js → ToolbarContent.UH3ZRlHp.js} +1 -1
- package/dist/client/_astro/{angle-left-icon.C3MzYN3k.js → angle-left-icon.teo8GC0v.js} +1 -1
- package/dist/client/_astro/bars-icon.Dk6ua1rr.js +1 -0
- package/dist/client/_astro/{divider.O4WEhuBq.js → divider.tlrBPkzg.js} +1 -1
- package/dist/client/_astro/github-icon.ByC5XEPt.js +1 -0
- package/dist/client/_astro/{index.BkswdOFP.js → index.DYVB4vTo.js} +12 -12
- package/dist/client/_astro/{CSSTable.V4xaGXjj.js → link-icon.BNHnRn73.js} +30 -23
- package/dist/client/components/accordion/index.html +14 -14
- package/dist/client/components/accordion/react/index.html +14 -14
- package/dist/client/components/all-components/index.html +9 -9
- package/dist/client/design-foundations/typography/index.html +10 -10
- package/dist/client/design-foundations/usage-and-behavior/index.html +10 -10
- package/dist/client/get-started/contribute/index.html +10 -10
- package/dist/client/index.html +2 -2
- package/dist/server/entry.mjs +1 -1
- package/dist/server/{manifest_DQIsYSvX.mjs → manifest_DxJLmW-j.mjs} +1 -1
- package/package.json +5 -1
- package/src/components/LiveExample.tsx +23 -4
- package/src/components/NavEntry.tsx +8 -9
- package/src/components/NavSection.tsx +1 -2
- package/src/components/Toolbar.tsx +34 -34
- package/src/components/toolbar/{ToogleThemeSwitcher.tsx → ToggleThemeSwitcher.tsx} +12 -12
- package/src/content.ts +1 -1
- package/src/layouts/Main.astro +23 -9
- package/src/pages/[section]/[...page].astro +58 -15
- package/src/pages/[section]/[page]/[...tab].astro +1 -1
- package/src/utils/case.ts +16 -0
- package/src/utils/index.ts +1 -0
- package/dist/client/_astro/Button.IBWho7ny.js +0 -9
- package/dist/client/_astro/DropdownGroup.DmTizX-Q.js +0 -1
- package/dist/client/_astro/DropdownList.BUcpBUVP.js +0 -1
- package/dist/client/_astro/LiveExample.B7IM_dLQ.css +0 -1
- package/dist/client/_astro/LiveExample.CiM2pGMB.js +0 -18
- package/dist/client/_astro/Navigation.zYUnVsp7.js +0 -1
- package/dist/client/_astro/PageSidebarBody.vGxFk_DU.js +0 -1
- package/dist/client/_astro/PageToggle.C6_rp-Bm.js +0 -1
- package/dist/client/_astro/PageToggleButton.CagcouJB.js +0 -1
- package/dist/client/_astro/SearchInput.BwWsXfyf.js +0 -1
- package/dist/client/_astro/SectionGallery.DqD5bUWQ.js +0 -1
- package/dist/client/_astro/Toolbar.BmilfRHR.js +0 -1
- package/dist/client/_astro/help-icon.Du6t7nyh.js +0 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as ae,n as De,O as vt,a as Ce,j as Pt,c as Te}from"./Button.IBWho7ny.js";import{r as g}from"./index.eCxJ45ll.js";import{r as Xe}from"./index.BQFV5hT1.js";/* empty css */var Re=Xe();function ut(t){const e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function W(t){if(t.toString()!=="[object Window]"){const e=t.ownerDocument;return e?e.defaultView:window}return t}function Xt(t){const e=W(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function dt(t){const e=W(t).Element;return t instanceof e||t instanceof Element}function V(t){const e=W(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Ne(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function ze(t){return t===W(t)||!V(t)?Xt(t):Ne(t)}function z(t){return t?(t.nodeName||"").toLowerCase():null}function U(t){return(dt(t)?t.ownerDocument:t.document).documentElement}function Rt(t){return ut(U(t)).left+Xt(t).scrollLeft}function H(t){return W(t).getComputedStyle(t)}function Nt(t){const{overflow:e,overflowX:n,overflowY:s}=H(t);return/auto|scroll|overlay|hidden/.test(e+s+n)}function Fe(t,e,n=!1){const s=U(e),i=ut(t),r=V(e);let c={scrollLeft:0,scrollTop:0},o={x:0,y:0};return(r||!r&&!n)&&((z(e)!=="body"||Nt(s))&&(c=ze(e)),V(e)?(o=ut(e),o.x+=e.clientLeft,o.y+=e.clientTop):s&&(o.x=Rt(s))),{x:i.left+c.scrollLeft-o.x,y:i.top+c.scrollTop-o.y,width:i.width,height:i.height}}function zt(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function jt(t){return z(t)==="html"?t:t.assignedSlot||t.parentNode||t.host||U(t)}function fe(t){return["html","body","#document"].indexOf(z(t))>=0?t.ownerDocument.body:V(t)&&Nt(t)?t:fe(jt(t))}function pt(t,e=[]){const n=fe(t),s=z(n)==="body",i=W(n),r=s?[i].concat(i.visualViewport||[],Nt(n)?n:[]):n,c=e.concat(r);return s?c:c.concat(pt(jt(r)))}function Ie(t){return["table","td","th"].indexOf(z(t))>=0}function Zt(t){if(!V(t)||H(t).position==="fixed")return null;const e=t.offsetParent;if(e){const n=U(e);if(z(e)==="body"&&H(e).position==="static"&&H(n).position!=="static")return n}return e}function Ve(t){let e=jt(t);for(;V(e)&&["html","body"].indexOf(z(e))<0;){const n=H(e);if(n.transform!=="none"||n.perspective!=="none"||n.willChange&&n.willChange!=="auto")return e;e=e.parentNode}return null}function ht(t){const e=W(t);let n=Zt(t);for(;n&&Ie(n)&&H(n).position==="static";)n=Zt(n);return n&&z(n)==="body"&&H(n).position==="static"?e:n||Ve(t)||e}const D="top",R="bottom",N="right",C="left",Ft="auto",bt=[D,R,N,C],K="start",It="end",We="clippingParents",pe="viewport",ft="popper",qe="reference",Kt=bt.reduce((t,e)=>t.concat([`${e}-${K}`,`${e}-${It}`]),[]),ue=[...bt,Ft].reduce((t,e)=>t.concat([e,`${e}-${K}`,`${e}-${It}`]),[]),Be="beforeRead",He="read",Ue="afterRead",Ye="beforeMain",Je="main",Ge="afterMain",Qe="beforeWrite",Ze="write",Ke="afterWrite",tn=[Be,He,Ue,Ye,Je,Ge,Qe,Ze,Ke];function en(t){const e=new Map,n=new Set,s=[];t.forEach(r=>{e.set(r.name,r)});function i(r){n.add(r.name),[...r.requires||[],...r.requiresIfExists||[]].forEach(o=>{if(!n.has(o)){const l=e.get(o);l&&i(l)}}),s.push(r)}return t.forEach(r=>{n.has(r.name)||i(r)}),s}function nn(t){const e=en(t);return tn.reduce((n,s)=>n.concat(e.filter(i=>i.phase===s)),[])}function sn(t){let e;return()=>(e||(e=new Promise(n=>{Promise.resolve().then(()=>{e=void 0,n(t())})})),e)}function I(t){return t.split("-")[0]}function on(t){const e=t.reduce((n,s)=>{const i=n[s.name];return n[s.name]=i?Object.assign(Object.assign(Object.assign({},i),s),{options:Object.assign(Object.assign({},i.options),s.options),data:Object.assign(Object.assign({},i.data),s.data)}):s,n},{});return Object.keys(e).map(n=>e[n])}function rn(t){const e=W(t),n=U(t),s=e.visualViewport;let i=n.clientWidth,r=n.clientHeight,c=0,o=0;return s&&(i=s.width,r=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=s.offsetLeft,o=s.offsetTop)),{width:i,height:r,x:c+Rt(t),y:o}}function cn(t){const e=U(t),n=Xt(t),s=t.ownerDocument.body,i=Math.max(e.scrollWidth,e.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Math.max(e.scrollHeight,e.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let c=-n.scrollLeft+Rt(t);const o=-n.scrollTop;return H(s||e).direction==="rtl"&&(c+=Math.max(e.clientWidth,s?s.clientWidth:0)-i),{width:i,height:r,x:c,y:o}}function de(t,e){const n=!!(e.getRootNode&&e.getRootNode().host);if(t.contains(e))return!0;if(n){let s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Tt(t){return Object.assign(Object.assign({},t),{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ln(t){const e=ut(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function te(t,e){return e===pe?Tt(rn(t)):V(e)?ln(e):Tt(cn(U(t)))}function an(t){const e=pt(jt(t)),s=["absolute","fixed"].indexOf(H(t).position)>=0&&V(t)?ht(t):t;return dt(s)?e.filter(i=>dt(i)&&de(i,s)&&z(i)!=="body"):[]}function fn(t,e,n){const i=[...e==="clippingParents"?an(t):[].concat(e),n],r=i[0],c=i.reduce((o,l)=>{const a=te(t,l);return o.top=Math.max(a.top,o.top),o.right=Math.min(a.right,o.right),o.bottom=Math.min(a.bottom,o.bottom),o.left=Math.max(a.left,o.left),o},te(t,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function mt(t){return t.split("-")[1]}function Vt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function me({reference:t,element:e,placement:n}){const s=n?I(n):null,i=n?mt(n):null,r=t.x+t.width/2-e.width/2,c=t.y+t.height/2-e.height/2;let o;switch(s){case D:o={x:r,y:t.y-e.height};break;case R:o={x:r,y:t.y+t.height};break;case N:o={x:t.x+t.width,y:c};break;case C:o={x:t.x-e.width,y:c};break;default:o={x:t.x,y:t.y}}const l=s?Vt(s):null;if(l!=null){const a=l==="y"?"height":"width";switch(i){case K:o[l]=Math.floor(o[l])-Math.floor(t[a]/2-e[a]/2);break;case It:o[l]=Math.floor(o[l])+Math.ceil(t[a]/2-e[a]/2);break}}return o}function ge(){return{top:0,right:0,bottom:0,left:0}}function he(t){return Object.assign(Object.assign({},ge()),t)}function be(t,e){return e.reduce((n,s)=>(n[s]=t,n),{})}function gt(t,e={}){const{placement:n=t.placement,boundary:s=We,rootBoundary:i=pe,elementContext:r=ft,altBoundary:c=!1,padding:o=0}=e,l=he(typeof o!="number"?o:be(o,bt)),a=r===ft?qe:ft,f=t.elements.reference,h=t.rects.popper,d=t.elements[c?a:r],m=fn(dt(d)?d:d.contextElement||U(t.elements.popper),s,i),O=ut(f),p=me({reference:O,element:h,placement:n}),P=Tt(Object.assign(Object.assign({},h),p)),b=r===ft?P:O,E={top:m.top-b.top+l.top,bottom:b.bottom-m.bottom+l.bottom,left:m.left-b.left+l.left,right:b.right-m.right+l.right},L=t.modifiersData.offset;if(r===ft&&L){const k=L[n];Object.keys(E).forEach(M=>{const S=[N,R].indexOf(M)>=0?1:-1,x=[D,R].indexOf(M)>=0?"y":"x";E[M]+=k[x]*S})}return E}const ee={placement:"bottom",modifiers:[],strategy:"absolute"};function ne(...t){return!t.some(e=>!(e&&typeof e.getBoundingClientRect=="function"))}function Oe(t={}){const{defaultModifiers:e=[],defaultOptions:n=ee}=t;return function(i,r,c=n){let o={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},ee),n),modifiersData:{},elements:{reference:i,popper:r},attributes:{},styles:{}},l=[],a=!1;const f={state:o,setOptions(m){d(),o.options=Object.assign(Object.assign(Object.assign({},n),o.options),m),o.scrollParents={reference:dt(i)?pt(i):i.contextElement?pt(i.contextElement):[],popper:pt(r)};const O=nn(on([...e,...o.options.modifiers]));return o.orderedModifiers=O.filter(p=>p.enabled),h(),f.update()},forceUpdate(){if(a)return;const{reference:m,popper:O}=o.elements;if(ne(m,O)){o.rects={reference:Fe(m,ht(O),o.options.strategy==="fixed"),popper:zt(O)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(p=>o.modifiersData[p.name]=Object.assign({},p.data));for(let p=0;p<o.orderedModifiers.length;p++){if(o.reset===!0){o.reset=!1,p=-1;continue}const{fn:P,options:b={},name:E}=o.orderedModifiers[p];typeof P=="function"&&(o=P({state:o,options:b,name:E,instance:f})||o)}}},update:sn(()=>new Promise(m=>{f.forceUpdate(),m(o)})),destroy(){d(),a=!0}};if(!ne(i,r))return f;f.setOptions(c).then(m=>{!a&&c.onFirstUpdate&&c.onFirstUpdate(m)});function h(){o.orderedModifiers.forEach(({name:m,options:O={},effect:p})=>{if(typeof p=="function"){const P=p({state:o,name:m,instance:f,options:O}),b=()=>{};l.push(P||b)}})}function d(){l.forEach(m=>m()),l=[]}return f}}Oe();const Et={passive:!0};function pn({state:t,instance:e,options:n}){const{scroll:s=!0,resize:i=!0}=n,r=W(t.elements.popper),c=[...t.scrollParents.reference,...t.scrollParents.popper];return s&&c.forEach(o=>{o.addEventListener("scroll",e.update,Et)}),i&&r.addEventListener("resize",e.update,Et),()=>{s&&c.forEach(o=>{o.removeEventListener("scroll",e.update,Et)}),i&&r.removeEventListener("resize",e.update,Et)}}const un={name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:pn,data:{}};function dn({state:t,name:e}){t.modifiersData[e]=me({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const mn={name:"popperOffsets",enabled:!0,phase:"read",fn:dn,data:{}},gn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function hn({x:t,y:e}){const s=window.devicePixelRatio||1;return{x:Math.round(t*s)/s||0,y:Math.round(e*s)/s||0}}function se({popper:t,popperRect:e,placement:n,offsets:s,position:i,gpuAcceleration:r,adaptive:c}){let{x:o,y:l}=hn(s);const a=s.hasOwnProperty("x"),f=s.hasOwnProperty("y");let h=C,d=D;const m=window;if(c){let p=ht(t);p===W(t)&&(p=U(t)),n===D&&(d=R,l-=p.clientHeight-e.height,l*=r?1:-1),n===C&&(h=N,o-=p.clientWidth-e.width,o*=r?1:-1)}const O=Object.assign({position:i},c&&gn);return r?Object.assign(Object.assign({},O),{[d]:f?"0":"",[h]:a?"0":"",transform:(m.devicePixelRatio||1)<2?`translate(${o}px, ${l}px)`:`translate3d(${o}px, ${l}px, 0)`}):Object.assign(Object.assign({},O),{[d]:f?`${l}px`:"",[h]:a?`${o}px`:"",transform:""})}function bn({state:t,options:e}){const{gpuAcceleration:n=!0,adaptive:s=!0}=e,i={placement:I(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),se(Object.assign(Object.assign({},i),{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),se(Object.assign(Object.assign({},i),{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{"data-popper-placement":t.placement})}const On={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:bn,data:{}};function xn({state:t}){Object.keys(t.elements).forEach(e=>{const n=t.styles[e]||{},s=t.attributes[e]||{},i=t.elements[e];!V(i)||!z(i)||(Object.assign(i.style,n),Object.keys(s).forEach(r=>{const c=s[r];c===!1?i.removeAttribute(r):i.setAttribute(r,c===!0?"":c)}))})}function yn({state:t}){const e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),()=>{Object.keys(t.elements).forEach(n=>{const s=t.elements[n],i=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:e[n]).reduce((o,l)=>(o[l]="",o),{});!V(s)||!z(s)||(Object.assign(s.style,c),Object.keys(i).forEach(o=>{s.removeAttribute(o)}))})}}const wn={name:"applyStyles",enabled:!0,phase:"write",fn:xn,effect:yn,requires:["computeStyles"]};function vn(t,e,n){const s=I(t),i=[C,D].indexOf(s)>=0?-1:1;let[r,c]=typeof n=="function"?n(Object.assign(Object.assign({},e),{placement:t})):n;return r=r||0,c=(c||0)*i,[C,N].indexOf(s)>=0?{x:c,y:r}:{x:r,y:c}}function Pn({state:t,options:e,name:n}){const{offset:s=[0,0]}=e,i=ue.reduce((o,l)=>(o[l]=vn(l,t.rects,s),o),{}),{x:r,y:c}=i[t.placement];t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=r,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=i}const En={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Pn},Mn={left:"right",right:"left",bottom:"top",top:"bottom"};function Mt(t){return t.replace(/left|right|bottom|top/g,e=>Mn[e])}const Sn={start:"end",end:"start"};function oe(t){return t.replace(/start|end/g,e=>Sn[e])}function jn(t,e={}){const{placement:n,boundary:s,rootBoundary:i,padding:r,flipVariations:c,allowedAutoPlacements:o=ue}=e,l=mt(n),a=l?c?Kt:Kt.filter(d=>mt(d)===l):bt;let f=a.filter(d=>o.indexOf(d)>=0);f.length===0&&(f=a);const h=f.reduce((d,m)=>(d[m]=gt(t,{placement:m,boundary:s,rootBoundary:i,padding:r})[I(m)],d),{});return Object.keys(h).sort((d,m)=>h[d]-h[m])}function Ln(t){if(I(t)===Ft)return[];const e=Mt(t);return[oe(t),e,oe(e)]}function kn({state:t,options:e,name:n}){if(t.modifiersData[n]._skip)return;const{mainAxis:s=!0,altAxis:i=!0,fallbackPlacements:r,padding:c,boundary:o,rootBoundary:l,altBoundary:a,flipVariations:f=!0,allowedAutoPlacements:h}=e,d=t.options.placement,O=I(d)===d,p=r||(O||!f?[Mt(d)]:Ln(d)),P=[d,...p].reduce((S,x)=>S.concat(I(x)===Ft?jn(t,{placement:x,boundary:o,rootBoundary:l,padding:c,flipVariations:f,allowedAutoPlacements:h}):x),[]),b=t.rects.reference,E=t.rects.popper,L=new Map;let k=!0,M=P[0];for(let S=0;S<P.length;S++){const x=P[S],y=I(x),A=mt(x)===K,w=[D,R].indexOf(y)>=0,j=w?"width":"height",F=gt(t,{placement:x,boundary:o,rootBoundary:l,altBoundary:a,padding:c});let Y=w?A?N:C:A?R:D;b[j]>E[j]&&(Y=Mt(Y));const q=Mt(Y),B=[];if(s&&B.push(F[y]<=0),i&&B.push(F[Y]<=0,F[q]<=0),B.every(tt=>tt)){M=x,k=!1;break}L.set(x,B)}if(k){const S=f?3:1;for(let x=S;x>0;x--){const y=P.find(A=>{const w=L.get(A);if(w)return w.slice(0,x).every(j=>j)});if(y){M=y;break}}}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}const $n={name:"flip",enabled:!0,phase:"main",fn:kn,requiresIfExists:["offset"],data:{_skip:!1}};function _n(t){return t==="x"?"y":"x"}function St(t,e,n){return Math.max(t,Math.min(e,n))}function An({state:t,options:e,name:n}){const{mainAxis:s=!0,altAxis:i=!1,boundary:r,rootBoundary:c,altBoundary:o,padding:l,tether:a=!0,tetherOffset:f=0}=e,h=gt(t,{boundary:r,rootBoundary:c,padding:l,altBoundary:o}),d=I(t.placement),m=mt(t.placement),O=!m,p=Vt(d),P=_n(p),b=t.modifiersData.popperOffsets,E=t.rects.reference,L=t.rects.popper,k=typeof f=="function"?f(Object.assign(Object.assign({},t.rects),{placement:t.placement})):f,M={x:0,y:0};if(b){if(s){const S=p==="y"?D:C,x=p==="y"?R:N,y=p==="y"?"height":"width",A=b[p],w=b[p]+h[S],j=b[p]-h[x],F=a?-L[y]/2:0,Y=m===K?E[y]:L[y],q=m===K?-L[y]:-E[y],B=t.elements.arrow,tt=a&&B?zt(B):{width:0,height:0},Ot=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ge(),xt=Ot[S],yt=Ot[x],Q=St(0,E[y],tt[y]),et=O?E[y]/2-F-Q-xt-k:Y-Q-xt-k,Z=O?-E[y]/2+F+Q+yt+k:q+Q+yt+k,nt=t.elements.arrow&&ht(t.elements.arrow),st=nt?p==="y"?nt.clientTop||0:nt.clientLeft||0:0,ot=t.modifiersData.offset?t.modifiersData.offset[t.placement][p]:0,$=b[p]+et-ot-st,it=b[p]+Z-ot,rt=St(a?Math.min(w,$):w,A,a?Math.max(j,it):j);b[p]=rt,M[p]=rt-A}if(i){const S=p==="x"?D:C,x=p==="x"?R:N,y=b[P],A=y+h[S],w=y-h[x],j=St(A,y,w);b[P]=j,M[P]=j-y}t.modifiersData[n]=M}}const Dn={name:"preventOverflow",enabled:!0,phase:"main",fn:An,requiresIfExists:["offset"]};function Cn({state:t,name:e}){const n=t.elements.arrow,s=t.modifiersData.popperOffsets,i=I(t.placement),r=Vt(i),o=[C,N].indexOf(i)>=0?"height":"width";if(!n||!s)return;const l=t.modifiersData[`${e}#persistent`].padding,a=zt(n),f=r==="y"?D:C,h=r==="y"?R:N,d=t.rects.reference[o]+t.rects.reference[r]-s[r]-t.rects.popper[o],m=s[r]-t.rects.reference[r],O=ht(n),p=O?r==="y"?O.clientHeight||0:O.clientWidth||0:0,P=d/2-m/2,b=l[f],E=p-a[o]-l[h],L=p/2-a[o]/2+P,k=St(b,L,E),M=r;t.modifiersData[e]={[M]:k,centerOffset:k-L}}function Tn({state:t,options:e,name:n}){let{element:s="[data-popper-arrow]",padding:i=0}=e;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||de(t.elements.popper,s)&&(t.elements.arrow=s,t.modifiersData[`${n}#persistent`]={padding:he(typeof i!="number"?i:be(i,bt))}))}const Xn={name:"arrow",enabled:!0,phase:"main",fn:Cn,effect:Tn,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ie(t,e,n={x:0,y:0}){return{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function re(t){return[D,N,R,C].some(e=>t[e]>=0)}function Rn({state:t,name:e}){const n=t.rects.reference,s=t.rects.popper,i=t.modifiersData.preventOverflow,r=gt(t,{elementContext:"reference"}),c=gt(t,{altBoundary:!0}),o=ie(r,n),l=ie(c,s,i),a=re(o),f=re(l);t.modifiersData[e]={referenceClippingOffsets:o,popperEscapeOffsets:l,isReferenceHidden:a,hasPopperEscaped:f},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{"data-popper-reference-hidden":a,"data-popper-escaped":f})}const Nn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Rn},zn=[un,mn,On,wn,En,$n,Dn,Xn,Nn],Fn=Oe({defaultModifiers:zn}),ce=ae?g.useLayoutEffect:g.useEffect,In=(t,e)=>JSON.stringify(t)===JSON.stringify(e),le=t=>t.reduce((e,[n,s])=>(e[n]=s,e),{}),Vn=[],Wn=(t,e,n={})=>{const s=g.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Vn},[r,c]=g.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"}},attributes:{}}),o=g.useMemo(()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:f})=>{const h=Object.keys(f.elements);c({styles:le(h.map(d=>[d,f.styles[d]||{}])),attributes:le(h.map(d=>[d,f.attributes[d]]))})},requires:["computeStyles"]}),[]),l=g.useMemo(()=>{const f={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[...i.modifiers,o,{name:"applyStyles",enabled:!1}]};return In(s.current,f)?s.current||f:(s.current=f,f)},[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,o]),a=g.useRef(void 0);return ce(()=>{a&&a.current&&a.current.setOptions(l)},[l]),ce(()=>{if(t==null||e==null)return;const h=(n.createPopper||Fn)(t,e,l);return a.current=h,()=>{h.destroy(),a.current=null}},[t,e,n.createPopper]),{state:a.current?a.current.state:null,styles:r.styles,attributes:r.attributes,update:a.current?a.current.update:null,forceUpdate:a.current?a.current.forceUpdate:null}},qn={left:"right",right:"left",bottom:"top",top:"bottom","top-start":"bottom-end","top-end":"bottom-start","bottom-start":"top-end","bottom-end":"top-start","left-start":"right-end","left-end":"right-start","right-start":"left-end","right-end":"left-start"},Bn=t=>t.replace(/left|right|bottom|top|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end/g,e=>qn[e]),Hn=t=>`opacity ${t}ms cubic-bezier(.54, 1.5, .38, 1.11)`,Un=({trigger:t,popper:e,direction:n="down",position:s="start",placement:i,width:r,minWidth:c="trigger",maxWidth:o,appendTo:l=()=>document.body,zIndex:a=9999,isVisible:f=!0,positionModifiers:h,distance:d=0,onMouseEnter:m,onMouseLeave:O,onFocus:p,onBlur:P,onDocumentClick:b,onTriggerClick:E,onTriggerEnter:L,onPopperClick:k,onPopperMouseEnter:M,onPopperMouseLeave:S,onDocumentKeyDown:x,enableFlip:y=!0,flipBehavior:A="flip",triggerRef:w,popperRef:j,animationDuration:F=0,entryDelay:Y=0,exitDelay:q=0,onHidden:B=()=>{},onHide:tt=()=>{},onMount:Ot=()=>{},onShow:xt=()=>{},onShown:yt=()=>{},preventOverflow:Q=!1})=>{var et;const[Z,nt]=g.useState(null),[st,ot]=g.useState(null),[$,it]=g.useState(null),[rt,xe]=g.useState(null),[ye,we]=g.useState(!1),[ve,Wt]=g.useState(0),[Pe,Lt]=g.useState(f),ct=g.useRef(null),kt=g.useRef(null),lt=g.useRef(null),qt=g.useRef(void 0),_=st||Z,$t=f||Pe,Ee=(et=w?.current||Z)===null||et===void 0?void 0:et.parentElement,Bt=De(Ee),wt=g.useMemo(()=>{const u={left:"left",right:"right",center:"center"};return{ltr:Object.assign({start:"left",end:"right"},u),rtl:Object.assign({start:"right",end:"left"},u)}[Bt][s]},[s,Bt]),Ht=g.useCallback(u=>b(u,_,$),[$t,Z,st,$,b]);g.useEffect(()=>{we(!0),Ot()},[]),g.useEffect(()=>()=>{vt([ct,lt,kt])},[]),g.useEffect(()=>{w&&(w.current?ot(w.current):typeof w=="function"&&ot(w()))},[w,t]),g.useEffect(()=>{j&&(j.current?it(j.current):typeof j=="function"&&it(j()))},[$t,j]),g.useEffect(()=>{const u=new MutationObserver(()=>{Jt&&Jt()});return $&&u.observe($,{attributes:!0,childList:!0,subtree:!0}),()=>{u.disconnect()}},[$]);const T=(u,v,J,G=!1)=>{u&&v&&v.addEventListener(J,u,{capture:G})},X=(u,v,J,G=!1)=>{u&&v&&v.removeEventListener(J,u,{capture:G})};g.useEffect(()=>(T(m,_,"mouseenter"),T(O,_,"mouseleave"),T(p,_,"focus"),T(P,_,"blur"),T(E,_,"click"),T(L,_,"keydown"),T(k,$,"click"),T(M,$,"mouseenter"),T(S,$,"mouseleave"),b&&T(Ht,document,"click",!0),T(x,document,"keydown",!0),()=>{X(m,_,"mouseenter"),X(O,_,"mouseleave"),X(p,_,"focus"),X(P,_,"blur"),X(E,_,"click"),X(L,_,"keydown"),X(k,$,"click"),X(M,$,"mouseenter"),X(S,$,"mouseleave"),b&&X(Ht,document,"click",!0),X(x,document,"keydown",!0)}),[Z,$,m,O,p,P,E,L,k,M,S,b,x,st]);const Ut=()=>{if(i)return i;let u=n==="up"?"top":"bottom";return wt!=="center"&&(u=`${u}-${wt==="right"?"end":"start"}`),u},Yt=g.useMemo(Ut,[n,wt,i]),Me=g.useMemo(()=>Bn(Ut()),[n,wt,i]),Se=g.useMemo(()=>({name:"widthMods",enabled:r!==void 0||c!==void 0||o!==void 0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:u})=>{const v=u.rects.reference.width;r&&(u.styles.popper.width=r==="trigger"?`${v}px`:r),c&&(u.styles.popper.minWidth=c==="trigger"?`${v}px`:c),o&&(u.styles.popper.maxWidth=o==="trigger"?`${v}px`:o)},effect:({state:u})=>{const v=u.elements.reference.offsetWidth;return r&&(u.elements.popper.style.width=r==="trigger"?`${v}px`:r),c&&(u.elements.popper.style.minWidth=c==="trigger"?`${v}px`:c),o&&(u.elements.popper.style.maxWidth=o==="trigger"?`${v}px`:o),()=>{}}}),[r,c,o]),{styles:je,attributes:at,update:Jt,forceUpdate:Gt}=Wn(_,$,{placement:Yt,modifiers:[{name:"offset",options:{offset:[0,d]}},{name:"preventOverflow",enabled:Q},{name:"hide",enabled:!0},{name:"flip",enabled:Yt.startsWith("auto")||y,options:{fallbackPlacements:A==="flip"?[Me]:A}},Se]});g.useEffect(()=>{var u,v,J,G,_t,At,Dt;const Ct=((G=(J=(v=(u=e?.props)===null||u===void 0?void 0:u.children)===null||v===void 0?void 0:v[1])===null||J===void 0?void 0:J.props)===null||G===void 0?void 0:G.children)||((Dt=(At=(_t=e?.props)===null||_t===void 0?void 0:_t.children)===null||At===void 0?void 0:At.props)===null||Dt===void 0?void 0:Dt.children);xe(Ct),Ct&&rt&&Ct!==rt&&Gt&&Gt()},[e]),g.useEffect(()=>{qt.current<q&&(vt([ct,lt]),lt.current=setTimeout(()=>{ct.current=setTimeout(()=>{Lt(!1)},F)},q)),qt.current=q},[q]);const Le=()=>{xt(),vt([ct,lt]),kt.current=setTimeout(()=>{Lt(!0),Wt(1),yt()},Y)},ke=()=>{tt(),vt([kt]),lt.current=setTimeout(()=>{Wt(0),ct.current=setTimeout(()=>{Lt(!1),B()},F)},q)};g.useEffect(()=>{f?Le():ke()},[f]);const $e=()=>{if(at&&at.popper&&at.popper["data-popper-placement"]){const u=at.popper["data-popper-placement"];return h[u]}return h.top},_e=Object.assign({className:Ce(e.props&&e.props.className,h&&$e()),style:Object.assign(Object.assign(Object.assign({},e.props&&e.props.style||{}),je.popper),{zIndex:a,opacity:ve,transition:Hn(F)})},at.popper),Qt=()=>{const u=g.cloneElement(e,_e);return j?u:Pt.jsx("div",{style:{display:"contents"},ref:v=>{it(v?.firstElementChild)},children:u})},Ae=()=>{if(l==="inline")return Qt();{const u=typeof l=="function"?l():l;return Re.createPortal(Qt(),u)}};return Pt.jsxs(Pt.Fragment,{children:[!w&&t&&g.isValidElement(t)&&Pt.jsx("div",{style:{display:"contents"},ref:u=>{nt(u?.firstElementChild)},children:t}),w&&t&&g.isValidElement(t)&&t,ye&&$t&&Ae()]})};Un.displayName="Popper";const Kn=(t,e,n)=>{let s;if(ae){const{ResizeObserver:i}=window;if(t&&i){const r=new i(c=>{n?window.requestAnimationFrame(()=>{Array.isArray(c)&&c.length>0}):Array.isArray(c)&&c.length>0&&e()});r.observe(t),s=()=>r.unobserve(t)}else window.addEventListener("resize",e),s=()=>window.removeEventListener("resize",e)}return()=>{s&&s()}},Yn={name:"AngleRightIcon",height:512,width:256,svgPath:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z",yOffset:0,xOffset:0},ts=Te(Yn),es={divider:"pf-v6-c-divider",modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",horizontal:"pf-m-horizontal",vertical:"pf-m-vertical",insetNone:"pf-m-inset-none",insetXs:"pf-m-inset-xs",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",inset_3xl:"pf-m-inset-3xl",horizontalOnSm:"pf-m-horizontal-on-sm",verticalOnSm:"pf-m-vertical-on-sm",insetNoneOnSm:"pf-m-inset-none-on-sm",insetXsOnSm:"pf-m-inset-xs-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",inset_3xlOnSm:"pf-m-inset-3xl-on-sm",horizontalOnMd:"pf-m-horizontal-on-md",verticalOnMd:"pf-m-vertical-on-md",insetNoneOnMd:"pf-m-inset-none-on-md",insetXsOnMd:"pf-m-inset-xs-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",inset_3xlOnMd:"pf-m-inset-3xl-on-md",horizontalOnLg:"pf-m-horizontal-on-lg",verticalOnLg:"pf-m-vertical-on-lg",insetNoneOnLg:"pf-m-inset-none-on-lg",insetXsOnLg:"pf-m-inset-xs-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",inset_3xlOnLg:"pf-m-inset-3xl-on-lg",horizontalOnXl:"pf-m-horizontal-on-xl",verticalOnXl:"pf-m-vertical-on-xl",insetNoneOnXl:"pf-m-inset-none-on-xl",insetXsOnXl:"pf-m-inset-xs-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",inset_3xlOnXl:"pf-m-inset-3xl-on-xl",horizontalOn_2xl:"pf-m-horizontal-on-2xl",verticalOn_2xl:"pf-m-vertical-on-2xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetXsOn_2xl:"pf-m-inset-xs-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl",inset_3xlOn_2xl:"pf-m-inset-3xl-on-2xl"}};export{ts as A,Un as P,Hn as a,es as d,Kn as g,Re as r,ce as u};
|
|
1
|
+
import{b as ae,n as De,O as vt,c as Ce,j as Pt,l as Te}from"./Button.BQCwQ5pE.js";import{r as g}from"./index.eCxJ45ll.js";import{r as Xe}from"./index.BQFV5hT1.js";/* empty css */var Re=Xe();function ut(t){const e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function W(t){if(t.toString()!=="[object Window]"){const e=t.ownerDocument;return e?e.defaultView:window}return t}function Xt(t){const e=W(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function dt(t){const e=W(t).Element;return t instanceof e||t instanceof Element}function V(t){const e=W(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Ne(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function ze(t){return t===W(t)||!V(t)?Xt(t):Ne(t)}function z(t){return t?(t.nodeName||"").toLowerCase():null}function U(t){return(dt(t)?t.ownerDocument:t.document).documentElement}function Rt(t){return ut(U(t)).left+Xt(t).scrollLeft}function H(t){return W(t).getComputedStyle(t)}function Nt(t){const{overflow:e,overflowX:n,overflowY:s}=H(t);return/auto|scroll|overlay|hidden/.test(e+s+n)}function Fe(t,e,n=!1){const s=U(e),i=ut(t),r=V(e);let c={scrollLeft:0,scrollTop:0},o={x:0,y:0};return(r||!r&&!n)&&((z(e)!=="body"||Nt(s))&&(c=ze(e)),V(e)?(o=ut(e),o.x+=e.clientLeft,o.y+=e.clientTop):s&&(o.x=Rt(s))),{x:i.left+c.scrollLeft-o.x,y:i.top+c.scrollTop-o.y,width:i.width,height:i.height}}function zt(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function jt(t){return z(t)==="html"?t:t.assignedSlot||t.parentNode||t.host||U(t)}function fe(t){return["html","body","#document"].indexOf(z(t))>=0?t.ownerDocument.body:V(t)&&Nt(t)?t:fe(jt(t))}function pt(t,e=[]){const n=fe(t),s=z(n)==="body",i=W(n),r=s?[i].concat(i.visualViewport||[],Nt(n)?n:[]):n,c=e.concat(r);return s?c:c.concat(pt(jt(r)))}function Ie(t){return["table","td","th"].indexOf(z(t))>=0}function Zt(t){if(!V(t)||H(t).position==="fixed")return null;const e=t.offsetParent;if(e){const n=U(e);if(z(e)==="body"&&H(e).position==="static"&&H(n).position!=="static")return n}return e}function Ve(t){let e=jt(t);for(;V(e)&&["html","body"].indexOf(z(e))<0;){const n=H(e);if(n.transform!=="none"||n.perspective!=="none"||n.willChange&&n.willChange!=="auto")return e;e=e.parentNode}return null}function ht(t){const e=W(t);let n=Zt(t);for(;n&&Ie(n)&&H(n).position==="static";)n=Zt(n);return n&&z(n)==="body"&&H(n).position==="static"?e:n||Ve(t)||e}const D="top",R="bottom",N="right",C="left",Ft="auto",bt=[D,R,N,C],K="start",It="end",We="clippingParents",pe="viewport",ft="popper",qe="reference",Kt=bt.reduce((t,e)=>t.concat([`${e}-${K}`,`${e}-${It}`]),[]),ue=[...bt,Ft].reduce((t,e)=>t.concat([e,`${e}-${K}`,`${e}-${It}`]),[]),Be="beforeRead",He="read",Ue="afterRead",Ye="beforeMain",Je="main",Ge="afterMain",Qe="beforeWrite",Ze="write",Ke="afterWrite",tn=[Be,He,Ue,Ye,Je,Ge,Qe,Ze,Ke];function en(t){const e=new Map,n=new Set,s=[];t.forEach(r=>{e.set(r.name,r)});function i(r){n.add(r.name),[...r.requires||[],...r.requiresIfExists||[]].forEach(o=>{if(!n.has(o)){const l=e.get(o);l&&i(l)}}),s.push(r)}return t.forEach(r=>{n.has(r.name)||i(r)}),s}function nn(t){const e=en(t);return tn.reduce((n,s)=>n.concat(e.filter(i=>i.phase===s)),[])}function sn(t){let e;return()=>(e||(e=new Promise(n=>{Promise.resolve().then(()=>{e=void 0,n(t())})})),e)}function I(t){return t.split("-")[0]}function on(t){const e=t.reduce((n,s)=>{const i=n[s.name];return n[s.name]=i?Object.assign(Object.assign(Object.assign({},i),s),{options:Object.assign(Object.assign({},i.options),s.options),data:Object.assign(Object.assign({},i.data),s.data)}):s,n},{});return Object.keys(e).map(n=>e[n])}function rn(t){const e=W(t),n=U(t),s=e.visualViewport;let i=n.clientWidth,r=n.clientHeight,c=0,o=0;return s&&(i=s.width,r=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=s.offsetLeft,o=s.offsetTop)),{width:i,height:r,x:c+Rt(t),y:o}}function cn(t){const e=U(t),n=Xt(t),s=t.ownerDocument.body,i=Math.max(e.scrollWidth,e.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Math.max(e.scrollHeight,e.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let c=-n.scrollLeft+Rt(t);const o=-n.scrollTop;return H(s||e).direction==="rtl"&&(c+=Math.max(e.clientWidth,s?s.clientWidth:0)-i),{width:i,height:r,x:c,y:o}}function de(t,e){const n=!!(e.getRootNode&&e.getRootNode().host);if(t.contains(e))return!0;if(n){let s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Tt(t){return Object.assign(Object.assign({},t),{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ln(t){const e=ut(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function te(t,e){return e===pe?Tt(rn(t)):V(e)?ln(e):Tt(cn(U(t)))}function an(t){const e=pt(jt(t)),s=["absolute","fixed"].indexOf(H(t).position)>=0&&V(t)?ht(t):t;return dt(s)?e.filter(i=>dt(i)&&de(i,s)&&z(i)!=="body"):[]}function fn(t,e,n){const i=[...e==="clippingParents"?an(t):[].concat(e),n],r=i[0],c=i.reduce((o,l)=>{const a=te(t,l);return o.top=Math.max(a.top,o.top),o.right=Math.min(a.right,o.right),o.bottom=Math.min(a.bottom,o.bottom),o.left=Math.max(a.left,o.left),o},te(t,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function mt(t){return t.split("-")[1]}function Vt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function me({reference:t,element:e,placement:n}){const s=n?I(n):null,i=n?mt(n):null,r=t.x+t.width/2-e.width/2,c=t.y+t.height/2-e.height/2;let o;switch(s){case D:o={x:r,y:t.y-e.height};break;case R:o={x:r,y:t.y+t.height};break;case N:o={x:t.x+t.width,y:c};break;case C:o={x:t.x-e.width,y:c};break;default:o={x:t.x,y:t.y}}const l=s?Vt(s):null;if(l!=null){const a=l==="y"?"height":"width";switch(i){case K:o[l]=Math.floor(o[l])-Math.floor(t[a]/2-e[a]/2);break;case It:o[l]=Math.floor(o[l])+Math.ceil(t[a]/2-e[a]/2);break}}return o}function ge(){return{top:0,right:0,bottom:0,left:0}}function he(t){return Object.assign(Object.assign({},ge()),t)}function be(t,e){return e.reduce((n,s)=>(n[s]=t,n),{})}function gt(t,e={}){const{placement:n=t.placement,boundary:s=We,rootBoundary:i=pe,elementContext:r=ft,altBoundary:c=!1,padding:o=0}=e,l=he(typeof o!="number"?o:be(o,bt)),a=r===ft?qe:ft,f=t.elements.reference,h=t.rects.popper,d=t.elements[c?a:r],m=fn(dt(d)?d:d.contextElement||U(t.elements.popper),s,i),O=ut(f),p=me({reference:O,element:h,placement:n}),P=Tt(Object.assign(Object.assign({},h),p)),b=r===ft?P:O,E={top:m.top-b.top+l.top,bottom:b.bottom-m.bottom+l.bottom,left:m.left-b.left+l.left,right:b.right-m.right+l.right},L=t.modifiersData.offset;if(r===ft&&L){const k=L[n];Object.keys(E).forEach(M=>{const S=[N,R].indexOf(M)>=0?1:-1,x=[D,R].indexOf(M)>=0?"y":"x";E[M]+=k[x]*S})}return E}const ee={placement:"bottom",modifiers:[],strategy:"absolute"};function ne(...t){return!t.some(e=>!(e&&typeof e.getBoundingClientRect=="function"))}function Oe(t={}){const{defaultModifiers:e=[],defaultOptions:n=ee}=t;return function(i,r,c=n){let o={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},ee),n),modifiersData:{},elements:{reference:i,popper:r},attributes:{},styles:{}},l=[],a=!1;const f={state:o,setOptions(m){d(),o.options=Object.assign(Object.assign(Object.assign({},n),o.options),m),o.scrollParents={reference:dt(i)?pt(i):i.contextElement?pt(i.contextElement):[],popper:pt(r)};const O=nn(on([...e,...o.options.modifiers]));return o.orderedModifiers=O.filter(p=>p.enabled),h(),f.update()},forceUpdate(){if(a)return;const{reference:m,popper:O}=o.elements;if(ne(m,O)){o.rects={reference:Fe(m,ht(O),o.options.strategy==="fixed"),popper:zt(O)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(p=>o.modifiersData[p.name]=Object.assign({},p.data));for(let p=0;p<o.orderedModifiers.length;p++){if(o.reset===!0){o.reset=!1,p=-1;continue}const{fn:P,options:b={},name:E}=o.orderedModifiers[p];typeof P=="function"&&(o=P({state:o,options:b,name:E,instance:f})||o)}}},update:sn(()=>new Promise(m=>{f.forceUpdate(),m(o)})),destroy(){d(),a=!0}};if(!ne(i,r))return f;f.setOptions(c).then(m=>{!a&&c.onFirstUpdate&&c.onFirstUpdate(m)});function h(){o.orderedModifiers.forEach(({name:m,options:O={},effect:p})=>{if(typeof p=="function"){const P=p({state:o,name:m,instance:f,options:O}),b=()=>{};l.push(P||b)}})}function d(){l.forEach(m=>m()),l=[]}return f}}Oe();const Et={passive:!0};function pn({state:t,instance:e,options:n}){const{scroll:s=!0,resize:i=!0}=n,r=W(t.elements.popper),c=[...t.scrollParents.reference,...t.scrollParents.popper];return s&&c.forEach(o=>{o.addEventListener("scroll",e.update,Et)}),i&&r.addEventListener("resize",e.update,Et),()=>{s&&c.forEach(o=>{o.removeEventListener("scroll",e.update,Et)}),i&&r.removeEventListener("resize",e.update,Et)}}const un={name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:pn,data:{}};function dn({state:t,name:e}){t.modifiersData[e]=me({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const mn={name:"popperOffsets",enabled:!0,phase:"read",fn:dn,data:{}},gn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function hn({x:t,y:e}){const s=window.devicePixelRatio||1;return{x:Math.round(t*s)/s||0,y:Math.round(e*s)/s||0}}function se({popper:t,popperRect:e,placement:n,offsets:s,position:i,gpuAcceleration:r,adaptive:c}){let{x:o,y:l}=hn(s);const a=s.hasOwnProperty("x"),f=s.hasOwnProperty("y");let h=C,d=D;const m=window;if(c){let p=ht(t);p===W(t)&&(p=U(t)),n===D&&(d=R,l-=p.clientHeight-e.height,l*=r?1:-1),n===C&&(h=N,o-=p.clientWidth-e.width,o*=r?1:-1)}const O=Object.assign({position:i},c&&gn);return r?Object.assign(Object.assign({},O),{[d]:f?"0":"",[h]:a?"0":"",transform:(m.devicePixelRatio||1)<2?`translate(${o}px, ${l}px)`:`translate3d(${o}px, ${l}px, 0)`}):Object.assign(Object.assign({},O),{[d]:f?`${l}px`:"",[h]:a?`${o}px`:"",transform:""})}function bn({state:t,options:e}){const{gpuAcceleration:n=!0,adaptive:s=!0}=e,i={placement:I(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),se(Object.assign(Object.assign({},i),{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),se(Object.assign(Object.assign({},i),{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{"data-popper-placement":t.placement})}const On={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:bn,data:{}};function xn({state:t}){Object.keys(t.elements).forEach(e=>{const n=t.styles[e]||{},s=t.attributes[e]||{},i=t.elements[e];!V(i)||!z(i)||(Object.assign(i.style,n),Object.keys(s).forEach(r=>{const c=s[r];c===!1?i.removeAttribute(r):i.setAttribute(r,c===!0?"":c)}))})}function yn({state:t}){const e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),()=>{Object.keys(t.elements).forEach(n=>{const s=t.elements[n],i=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:e[n]).reduce((o,l)=>(o[l]="",o),{});!V(s)||!z(s)||(Object.assign(s.style,c),Object.keys(i).forEach(o=>{s.removeAttribute(o)}))})}}const wn={name:"applyStyles",enabled:!0,phase:"write",fn:xn,effect:yn,requires:["computeStyles"]};function vn(t,e,n){const s=I(t),i=[C,D].indexOf(s)>=0?-1:1;let[r,c]=typeof n=="function"?n(Object.assign(Object.assign({},e),{placement:t})):n;return r=r||0,c=(c||0)*i,[C,N].indexOf(s)>=0?{x:c,y:r}:{x:r,y:c}}function Pn({state:t,options:e,name:n}){const{offset:s=[0,0]}=e,i=ue.reduce((o,l)=>(o[l]=vn(l,t.rects,s),o),{}),{x:r,y:c}=i[t.placement];t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=r,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=i}const En={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Pn},Mn={left:"right",right:"left",bottom:"top",top:"bottom"};function Mt(t){return t.replace(/left|right|bottom|top/g,e=>Mn[e])}const Sn={start:"end",end:"start"};function oe(t){return t.replace(/start|end/g,e=>Sn[e])}function jn(t,e={}){const{placement:n,boundary:s,rootBoundary:i,padding:r,flipVariations:c,allowedAutoPlacements:o=ue}=e,l=mt(n),a=l?c?Kt:Kt.filter(d=>mt(d)===l):bt;let f=a.filter(d=>o.indexOf(d)>=0);f.length===0&&(f=a);const h=f.reduce((d,m)=>(d[m]=gt(t,{placement:m,boundary:s,rootBoundary:i,padding:r})[I(m)],d),{});return Object.keys(h).sort((d,m)=>h[d]-h[m])}function Ln(t){if(I(t)===Ft)return[];const e=Mt(t);return[oe(t),e,oe(e)]}function kn({state:t,options:e,name:n}){if(t.modifiersData[n]._skip)return;const{mainAxis:s=!0,altAxis:i=!0,fallbackPlacements:r,padding:c,boundary:o,rootBoundary:l,altBoundary:a,flipVariations:f=!0,allowedAutoPlacements:h}=e,d=t.options.placement,O=I(d)===d,p=r||(O||!f?[Mt(d)]:Ln(d)),P=[d,...p].reduce((S,x)=>S.concat(I(x)===Ft?jn(t,{placement:x,boundary:o,rootBoundary:l,padding:c,flipVariations:f,allowedAutoPlacements:h}):x),[]),b=t.rects.reference,E=t.rects.popper,L=new Map;let k=!0,M=P[0];for(let S=0;S<P.length;S++){const x=P[S],y=I(x),A=mt(x)===K,w=[D,R].indexOf(y)>=0,j=w?"width":"height",F=gt(t,{placement:x,boundary:o,rootBoundary:l,altBoundary:a,padding:c});let Y=w?A?N:C:A?R:D;b[j]>E[j]&&(Y=Mt(Y));const q=Mt(Y),B=[];if(s&&B.push(F[y]<=0),i&&B.push(F[Y]<=0,F[q]<=0),B.every(tt=>tt)){M=x,k=!1;break}L.set(x,B)}if(k){const S=f?3:1;for(let x=S;x>0;x--){const y=P.find(A=>{const w=L.get(A);if(w)return w.slice(0,x).every(j=>j)});if(y){M=y;break}}}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}const $n={name:"flip",enabled:!0,phase:"main",fn:kn,requiresIfExists:["offset"],data:{_skip:!1}};function _n(t){return t==="x"?"y":"x"}function St(t,e,n){return Math.max(t,Math.min(e,n))}function An({state:t,options:e,name:n}){const{mainAxis:s=!0,altAxis:i=!1,boundary:r,rootBoundary:c,altBoundary:o,padding:l,tether:a=!0,tetherOffset:f=0}=e,h=gt(t,{boundary:r,rootBoundary:c,padding:l,altBoundary:o}),d=I(t.placement),m=mt(t.placement),O=!m,p=Vt(d),P=_n(p),b=t.modifiersData.popperOffsets,E=t.rects.reference,L=t.rects.popper,k=typeof f=="function"?f(Object.assign(Object.assign({},t.rects),{placement:t.placement})):f,M={x:0,y:0};if(b){if(s){const S=p==="y"?D:C,x=p==="y"?R:N,y=p==="y"?"height":"width",A=b[p],w=b[p]+h[S],j=b[p]-h[x],F=a?-L[y]/2:0,Y=m===K?E[y]:L[y],q=m===K?-L[y]:-E[y],B=t.elements.arrow,tt=a&&B?zt(B):{width:0,height:0},Ot=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ge(),xt=Ot[S],yt=Ot[x],Q=St(0,E[y],tt[y]),et=O?E[y]/2-F-Q-xt-k:Y-Q-xt-k,Z=O?-E[y]/2+F+Q+yt+k:q+Q+yt+k,nt=t.elements.arrow&&ht(t.elements.arrow),st=nt?p==="y"?nt.clientTop||0:nt.clientLeft||0:0,ot=t.modifiersData.offset?t.modifiersData.offset[t.placement][p]:0,$=b[p]+et-ot-st,it=b[p]+Z-ot,rt=St(a?Math.min(w,$):w,A,a?Math.max(j,it):j);b[p]=rt,M[p]=rt-A}if(i){const S=p==="x"?D:C,x=p==="x"?R:N,y=b[P],A=y+h[S],w=y-h[x],j=St(A,y,w);b[P]=j,M[P]=j-y}t.modifiersData[n]=M}}const Dn={name:"preventOverflow",enabled:!0,phase:"main",fn:An,requiresIfExists:["offset"]};function Cn({state:t,name:e}){const n=t.elements.arrow,s=t.modifiersData.popperOffsets,i=I(t.placement),r=Vt(i),o=[C,N].indexOf(i)>=0?"height":"width";if(!n||!s)return;const l=t.modifiersData[`${e}#persistent`].padding,a=zt(n),f=r==="y"?D:C,h=r==="y"?R:N,d=t.rects.reference[o]+t.rects.reference[r]-s[r]-t.rects.popper[o],m=s[r]-t.rects.reference[r],O=ht(n),p=O?r==="y"?O.clientHeight||0:O.clientWidth||0:0,P=d/2-m/2,b=l[f],E=p-a[o]-l[h],L=p/2-a[o]/2+P,k=St(b,L,E),M=r;t.modifiersData[e]={[M]:k,centerOffset:k-L}}function Tn({state:t,options:e,name:n}){let{element:s="[data-popper-arrow]",padding:i=0}=e;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||de(t.elements.popper,s)&&(t.elements.arrow=s,t.modifiersData[`${n}#persistent`]={padding:he(typeof i!="number"?i:be(i,bt))}))}const Xn={name:"arrow",enabled:!0,phase:"main",fn:Cn,effect:Tn,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ie(t,e,n={x:0,y:0}){return{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function re(t){return[D,N,R,C].some(e=>t[e]>=0)}function Rn({state:t,name:e}){const n=t.rects.reference,s=t.rects.popper,i=t.modifiersData.preventOverflow,r=gt(t,{elementContext:"reference"}),c=gt(t,{altBoundary:!0}),o=ie(r,n),l=ie(c,s,i),a=re(o),f=re(l);t.modifiersData[e]={referenceClippingOffsets:o,popperEscapeOffsets:l,isReferenceHidden:a,hasPopperEscaped:f},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{"data-popper-reference-hidden":a,"data-popper-escaped":f})}const Nn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Rn},zn=[un,mn,On,wn,En,$n,Dn,Xn,Nn],Fn=Oe({defaultModifiers:zn}),ce=ae?g.useLayoutEffect:g.useEffect,In=(t,e)=>JSON.stringify(t)===JSON.stringify(e),le=t=>t.reduce((e,[n,s])=>(e[n]=s,e),{}),Vn=[],Wn=(t,e,n={})=>{const s=g.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Vn},[r,c]=g.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"}},attributes:{}}),o=g.useMemo(()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:f})=>{const h=Object.keys(f.elements);c({styles:le(h.map(d=>[d,f.styles[d]||{}])),attributes:le(h.map(d=>[d,f.attributes[d]]))})},requires:["computeStyles"]}),[]),l=g.useMemo(()=>{const f={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[...i.modifiers,o,{name:"applyStyles",enabled:!1}]};return In(s.current,f)?s.current||f:(s.current=f,f)},[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,o]),a=g.useRef(void 0);return ce(()=>{a&&a.current&&a.current.setOptions(l)},[l]),ce(()=>{if(t==null||e==null)return;const h=(n.createPopper||Fn)(t,e,l);return a.current=h,()=>{h.destroy(),a.current=null}},[t,e,n.createPopper]),{state:a.current?a.current.state:null,styles:r.styles,attributes:r.attributes,update:a.current?a.current.update:null,forceUpdate:a.current?a.current.forceUpdate:null}},qn={left:"right",right:"left",bottom:"top",top:"bottom","top-start":"bottom-end","top-end":"bottom-start","bottom-start":"top-end","bottom-end":"top-start","left-start":"right-end","left-end":"right-start","right-start":"left-end","right-end":"left-start"},Bn=t=>t.replace(/left|right|bottom|top|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end/g,e=>qn[e]),Hn=t=>`opacity ${t}ms cubic-bezier(.54, 1.5, .38, 1.11)`,Un=({trigger:t,popper:e,direction:n="down",position:s="start",placement:i,width:r,minWidth:c="trigger",maxWidth:o,appendTo:l=()=>document.body,zIndex:a=9999,isVisible:f=!0,positionModifiers:h,distance:d=0,onMouseEnter:m,onMouseLeave:O,onFocus:p,onBlur:P,onDocumentClick:b,onTriggerClick:E,onTriggerEnter:L,onPopperClick:k,onPopperMouseEnter:M,onPopperMouseLeave:S,onDocumentKeyDown:x,enableFlip:y=!0,flipBehavior:A="flip",triggerRef:w,popperRef:j,animationDuration:F=0,entryDelay:Y=0,exitDelay:q=0,onHidden:B=()=>{},onHide:tt=()=>{},onMount:Ot=()=>{},onShow:xt=()=>{},onShown:yt=()=>{},preventOverflow:Q=!1})=>{var et;const[Z,nt]=g.useState(null),[st,ot]=g.useState(null),[$,it]=g.useState(null),[rt,xe]=g.useState(null),[ye,we]=g.useState(!1),[ve,Wt]=g.useState(0),[Pe,Lt]=g.useState(f),ct=g.useRef(null),kt=g.useRef(null),lt=g.useRef(null),qt=g.useRef(void 0),_=st||Z,$t=f||Pe,Ee=(et=w?.current||Z)===null||et===void 0?void 0:et.parentElement,Bt=De(Ee),wt=g.useMemo(()=>{const u={left:"left",right:"right",center:"center"};return{ltr:Object.assign({start:"left",end:"right"},u),rtl:Object.assign({start:"right",end:"left"},u)}[Bt][s]},[s,Bt]),Ht=g.useCallback(u=>b(u,_,$),[$t,Z,st,$,b]);g.useEffect(()=>{we(!0),Ot()},[]),g.useEffect(()=>()=>{vt([ct,lt,kt])},[]),g.useEffect(()=>{w&&(w.current?ot(w.current):typeof w=="function"&&ot(w()))},[w,t]),g.useEffect(()=>{j&&(j.current?it(j.current):typeof j=="function"&&it(j()))},[$t,j]),g.useEffect(()=>{const u=new MutationObserver(()=>{Jt&&Jt()});return $&&u.observe($,{attributes:!0,childList:!0,subtree:!0}),()=>{u.disconnect()}},[$]);const T=(u,v,J,G=!1)=>{u&&v&&v.addEventListener(J,u,{capture:G})},X=(u,v,J,G=!1)=>{u&&v&&v.removeEventListener(J,u,{capture:G})};g.useEffect(()=>(T(m,_,"mouseenter"),T(O,_,"mouseleave"),T(p,_,"focus"),T(P,_,"blur"),T(E,_,"click"),T(L,_,"keydown"),T(k,$,"click"),T(M,$,"mouseenter"),T(S,$,"mouseleave"),b&&T(Ht,document,"click",!0),T(x,document,"keydown",!0),()=>{X(m,_,"mouseenter"),X(O,_,"mouseleave"),X(p,_,"focus"),X(P,_,"blur"),X(E,_,"click"),X(L,_,"keydown"),X(k,$,"click"),X(M,$,"mouseenter"),X(S,$,"mouseleave"),b&&X(Ht,document,"click",!0),X(x,document,"keydown",!0)}),[Z,$,m,O,p,P,E,L,k,M,S,b,x,st]);const Ut=()=>{if(i)return i;let u=n==="up"?"top":"bottom";return wt!=="center"&&(u=`${u}-${wt==="right"?"end":"start"}`),u},Yt=g.useMemo(Ut,[n,wt,i]),Me=g.useMemo(()=>Bn(Ut()),[n,wt,i]),Se=g.useMemo(()=>({name:"widthMods",enabled:r!==void 0||c!==void 0||o!==void 0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:u})=>{const v=u.rects.reference.width;r&&(u.styles.popper.width=r==="trigger"?`${v}px`:r),c&&(u.styles.popper.minWidth=c==="trigger"?`${v}px`:c),o&&(u.styles.popper.maxWidth=o==="trigger"?`${v}px`:o)},effect:({state:u})=>{const v=u.elements.reference.offsetWidth;return r&&(u.elements.popper.style.width=r==="trigger"?`${v}px`:r),c&&(u.elements.popper.style.minWidth=c==="trigger"?`${v}px`:c),o&&(u.elements.popper.style.maxWidth=o==="trigger"?`${v}px`:o),()=>{}}}),[r,c,o]),{styles:je,attributes:at,update:Jt,forceUpdate:Gt}=Wn(_,$,{placement:Yt,modifiers:[{name:"offset",options:{offset:[0,d]}},{name:"preventOverflow",enabled:Q},{name:"hide",enabled:!0},{name:"flip",enabled:Yt.startsWith("auto")||y,options:{fallbackPlacements:A==="flip"?[Me]:A}},Se]});g.useEffect(()=>{var u,v,J,G,_t,At,Dt;const Ct=((G=(J=(v=(u=e?.props)===null||u===void 0?void 0:u.children)===null||v===void 0?void 0:v[1])===null||J===void 0?void 0:J.props)===null||G===void 0?void 0:G.children)||((Dt=(At=(_t=e?.props)===null||_t===void 0?void 0:_t.children)===null||At===void 0?void 0:At.props)===null||Dt===void 0?void 0:Dt.children);xe(Ct),Ct&&rt&&Ct!==rt&&Gt&&Gt()},[e]),g.useEffect(()=>{qt.current<q&&(vt([ct,lt]),lt.current=setTimeout(()=>{ct.current=setTimeout(()=>{Lt(!1)},F)},q)),qt.current=q},[q]);const Le=()=>{xt(),vt([ct,lt]),kt.current=setTimeout(()=>{Lt(!0),Wt(1),yt()},Y)},ke=()=>{tt(),vt([kt]),lt.current=setTimeout(()=>{Wt(0),ct.current=setTimeout(()=>{Lt(!1),B()},F)},q)};g.useEffect(()=>{f?Le():ke()},[f]);const $e=()=>{if(at&&at.popper&&at.popper["data-popper-placement"]){const u=at.popper["data-popper-placement"];return h[u]}return h.top},_e=Object.assign({className:Ce(e.props&&e.props.className,h&&$e()),style:Object.assign(Object.assign(Object.assign({},e.props&&e.props.style||{}),je.popper),{zIndex:a,opacity:ve,transition:Hn(F)})},at.popper),Qt=()=>{const u=g.cloneElement(e,_e);return j?u:Pt.jsx("div",{style:{display:"contents"},ref:v=>{it(v?.firstElementChild)},children:u})},Ae=()=>{if(l==="inline")return Qt();{const u=typeof l=="function"?l():l;return Re.createPortal(Qt(),u)}};return Pt.jsxs(Pt.Fragment,{children:[!w&&t&&g.isValidElement(t)&&Pt.jsx("div",{style:{display:"contents"},ref:u=>{nt(u?.firstElementChild)},children:t}),w&&t&&g.isValidElement(t)&&t,ye&&$t&&Ae()]})};Un.displayName="Popper";const Kn=(t,e,n)=>{let s;if(ae){const{ResizeObserver:i}=window;if(t&&i){const r=new i(c=>{n?window.requestAnimationFrame(()=>{Array.isArray(c)&&c.length>0}):Array.isArray(c)&&c.length>0&&e()});r.observe(t),s=()=>r.unobserve(t)}else window.addEventListener("resize",e),s=()=>window.removeEventListener("resize",e)}return()=>{s&&s()}},Yn={name:"AngleRightIcon",height:512,width:256,svgPath:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z",yOffset:0,xOffset:0},ts=Te(Yn),es={divider:"pf-v6-c-divider",modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",horizontal:"pf-m-horizontal",vertical:"pf-m-vertical",insetNone:"pf-m-inset-none",insetXs:"pf-m-inset-xs",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",inset_3xl:"pf-m-inset-3xl",horizontalOnSm:"pf-m-horizontal-on-sm",verticalOnSm:"pf-m-vertical-on-sm",insetNoneOnSm:"pf-m-inset-none-on-sm",insetXsOnSm:"pf-m-inset-xs-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",inset_3xlOnSm:"pf-m-inset-3xl-on-sm",horizontalOnMd:"pf-m-horizontal-on-md",verticalOnMd:"pf-m-vertical-on-md",insetNoneOnMd:"pf-m-inset-none-on-md",insetXsOnMd:"pf-m-inset-xs-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",inset_3xlOnMd:"pf-m-inset-3xl-on-md",horizontalOnLg:"pf-m-horizontal-on-lg",verticalOnLg:"pf-m-vertical-on-lg",insetNoneOnLg:"pf-m-inset-none-on-lg",insetXsOnLg:"pf-m-inset-xs-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",inset_3xlOnLg:"pf-m-inset-3xl-on-lg",horizontalOnXl:"pf-m-horizontal-on-xl",verticalOnXl:"pf-m-vertical-on-xl",insetNoneOnXl:"pf-m-inset-none-on-xl",insetXsOnXl:"pf-m-inset-xs-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",inset_3xlOnXl:"pf-m-inset-3xl-on-xl",horizontalOn_2xl:"pf-m-horizontal-on-2xl",verticalOn_2xl:"pf-m-vertical-on-2xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetXsOn_2xl:"pf-m-inset-xs-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl",inset_3xlOn_2xl:"pf-m-inset-3xl-on-2xl"}};export{ts as A,Un as P,Hn as a,Yn as b,es as d,Kn as g,Re as r,ce as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as n,_ as m,c as t,l as r}from"./Button.BQCwQ5pE.js";import{r as u}from"./index.eCxJ45ll.js";import{m as i}from"./angle-left-icon.teo8GC0v.js";const g=e=>{var{children:c,className:a="",label:s="",titleId:l,innerRef:o,labelHeadingLevel:d="h1"}=e,h=m(e,["children","className","label","titleId","innerRef","labelHeadingLevel"]);const p=typeof s=="function"?s:d;return n.jsx("section",Object.assign({},h,{className:t(i.menuGroup,a),ref:o,children:n.jsxs(n.Fragment,{children:[["function","string"].includes(typeof s)?n.jsx(p,{className:t(i.menuGroupTitle),id:l,children:s}):s,c]})}))},f=u.forwardRef((e,c)=>n.jsx(g,Object.assign({},e,{innerRef:c})));f.displayName="MenuGroup";const b=e=>{var{children:c,className:a,label:s,labelHeadingLevel:l="h1"}=e,o=m(e,["children","className","label","labelHeadingLevel"]);return n.jsx(f,Object.assign({className:t(a),label:s,labelHeadingLevel:l},o,{children:c}))};b.displayName="DropdownGroup";const x={name:"MoonIcon",height:512,width:512,svgPath:"M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z",yOffset:0,xOffset:0},j=r(x),z={name:"SunIcon",height:512,width:512,svgPath:"M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z",yOffset:0,xOffset:0},N=r(z),I={name:"GithubIcon",height:512,width:496,svgPath:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z",yOffset:0,xOffset:0},O=r(I);export{b as D,O as G,j as M,N as S,f as a,I as b,x as c,z as d};
|