@patternfly/patternfly-doc-core 1.11.0 → 1.11.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/dist/_astro/{Button.BQCwQ5pE.js → Button.BVfR1y85.js} +1 -1
- package/dist/_astro/CSSTable.E6iSHjec.js +1 -0
- package/dist/_astro/{Content.B4M2qzJY.js → Content.CYLxURqU.js} +1 -1
- package/dist/_astro/{DropdownList.cxp03sS4.js → DropdownList.-xE7qrND.js} +1 -1
- package/dist/_astro/{LiveExample.DjPiO80i.js → LiveExample.CVVccYEB.js} +3 -3
- package/dist/_astro/{Navigation.kbLxctIo.js → Navigation.CONcolRR.js} +1 -1
- package/dist/_astro/{PageContext.miTsIqVo.js → PageContext.BUbWpNW2.js} +1 -1
- package/dist/_astro/{PageSidebarBody.B0AJe8Hg.js → PageSidebarBody.CDWZuFeK.js} +1 -1
- package/dist/_astro/{PageToggle.CMZ3C1v1.js → PageToggle.Dnbvoa7R.js} +1 -1
- package/dist/_astro/{SearchInput.DhHo7yPx.js → SearchInput.BNt7BTX_.js} +1 -1
- package/dist/_astro/{SectionGallery.3ABpQwE4.js → SectionGallery.Dwb-QA5z.js} +1 -1
- package/dist/_astro/{Toolbar.CroDQcyv.js → Toolbar.DNd68Ck-.js} +1 -1
- package/dist/_astro/{ToolbarContent.UH3ZRlHp.js → ToolbarContent.C58gpKLu.js} +1 -1
- package/dist/_astro/{angle-left-icon.teo8GC0v.js → angle-left-icon.CfKwuSCS.js} +1 -1
- package/dist/_astro/{bars-icon.Dk6ua1rr.js → bars-icon.wdJgEs3A.js} +1 -1
- package/dist/_astro/{divider.tlrBPkzg.js → divider.BLVh3KnH.js} +1 -1
- package/dist/_astro/{github-icon.ByC5XEPt.js → github-icon.DzpohUp_.js} +1 -1
- package/dist/_astro/{index.DYVB4vTo.js → index.jm6QVFFy.js} +1 -1
- package/dist/_astro/{link-icon.BNHnRn73.js → patternfly_charts.Dp3KzAU6.js} +24 -24
- package/dist/_worker.js/_@astrojs-ssr-adapter.mjs +1 -1
- package/dist/_worker.js/_astro-internal_middleware.mjs +3 -3
- package/dist/_worker.js/chunks/{AutoLinkHeader_xh_mBOfs.mjs → AutoLinkHeader_DLgn_YRm.mjs} +2 -2
- package/dist/_worker.js/chunks/{Button_ByndGYyw.mjs → Button_CBcC0ViE.mjs} +1 -1
- package/dist/_worker.js/chunks/{CSSTable_DAbso55e.mjs → CSSTable_C1dV02qV.mjs} +2 -2
- package/dist/_worker.js/chunks/DocsTables_Br4g5x5_.mjs +20 -0
- package/dist/_worker.js/chunks/{PropsTables_BZngJp47.mjs → PropsTables_Dcd7znAq.mjs} +5 -5
- package/dist/_worker.js/chunks/{_@astrojs-ssr-adapter_C9Nk07-M.mjs → _@astrojs-ssr-adapter_IMtcR503.mjs} +4 -4
- package/dist/_worker.js/chunks/{angle-down-icon_yt3z9cvI.mjs → angle-down-icon_VyCXUC7F.mjs} +2 -2
- package/dist/_worker.js/chunks/astro/{server_BpfPtTmt.mjs → server_YsSSp7Ny.mjs} +1 -1
- package/dist/_worker.js/chunks/{astro-designed-error-pages_4xWqsa9_.mjs → astro-designed-error-pages_MEt0E9xn.mjs} +1 -1
- package/dist/_worker.js/chunks/{index_DlGha6WC.mjs → index_BE2AHcwI.mjs} +2 -2
- package/dist/_worker.js/chunks/{index_Dc2aKkl4.mjs → index_CBCp_CJ0.mjs} +1 -1
- package/dist/_worker.js/chunks/{noop-middleware_Ct44Kk5Y.mjs → noop-middleware_CMUpAQ6F.mjs} +1 -1
- package/dist/_worker.js/index.js +5 -4
- package/dist/_worker.js/manifest_0KWZohUX.mjs +100 -0
- package/dist/_worker.js/renderers.mjs +2 -2
- package/dist/components/accordion/index.html +7 -7
- package/dist/components/accordion/react/index.html +7 -7
- package/dist/components/all-components/index.html +2 -2
- package/dist/design-foundations/typography/index.html +3 -3
- package/dist/design-foundations/usage-and-behavior/index.html +3 -3
- package/dist/get-started/contribute/index.html +3 -3
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/src/components/DocsTables.astro +28 -0
- package/src/pages/[section]/[...page].astro +7 -11
- package/src/pages/[section]/[page]/[...tab].astro +3 -11
- package/dist/_astro/CSSTable.DC79W1Ct.js +0 -1
- package/dist/_worker.js/manifest_DcBPbZXQ.mjs +0 -100
- /package/dist/_worker.js/chunks/{Accordion_BNafbla6.mjs → Accordion_CQUal4ef.mjs} +0 -0
- /package/dist/_worker.js/chunks/{Accordion_CZsuyu9E.mjs → Accordion_R7bP3pwr.mjs} +0 -0
- /package/dist/_worker.js/chunks/{AllComponents_BrL9IHSc.mjs → AllComponents_BDKlE-WJ.mjs} +0 -0
- /package/dist/_worker.js/chunks/{AllComponents_CI7S6uwA.mjs → AllComponents_DWDph25H.mjs} +0 -0
- /package/dist/_worker.js/chunks/{_astro_assets_vBCb4v6U.mjs → _astro_assets_CfTVyruF.mjs} +0 -0
- /package/dist/_worker.js/chunks/{content-modules_CKq2j9RQ.mjs → content-modules_BbCqcGJp.mjs} +0 -0
- /package/dist/_worker.js/chunks/{sharp_CNjr3bU4.mjs → sharp_MEdXG7Td.mjs} +0 -0
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
import{b as ae,m as De,O as vt,c as Ce,j as Pt,k as Te}from"./Button.BVfR1y85.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as n,_ as m,c as t,
|
|
1
|
+
import{j as n,_ as m,c as t,k as r}from"./Button.BVfR1y85.js";import{r as u}from"./index.eCxJ45ll.js";import{m as i}from"./angle-left-icon.CfKwuSCS.js";const g=e=>{var{children:c,className:a="",label:s="",titleId:o,innerRef:l,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:l,children:n.jsxs(n.Fragment,{children:[["function","string"].includes(typeof s)?n.jsx(p,{className:t(i.menuGroupTitle),id:o,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:o="h1"}=e,l=m(e,["children","className","label","labelHeadingLevel"]);return n.jsx(f,Object.assign({className:t(a),label:s,labelHeadingLevel:o},l,{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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as ue,u as Yi,j as V,c as J,a as Zi,g as $i,B as ci,K as Yt,f as es,I as ts,h as is,E as ss,C as rs,l as pi}from"./Button.BQCwQ5pE.js";import{r as te}from"./index.eCxJ45ll.js";/* empty css */import{A as as,u as ns}from"./divider.tlrBPkzg.js";import{G as os,C as us,T as bt,a as ls}from"./SearchInput.DhHo7yPx.js";const $={card:"pf-v6-c-card",cardActions:"pf-v6-c-card__actions",cardBody:"pf-v6-c-card__body",cardExpandableContent:"pf-v6-c-card__expandable-content",cardFooter:"pf-v6-c-card__footer",cardHeader:"pf-v6-c-card__header",cardHeaderMain:"pf-v6-c-card__header-main",cardHeaderToggle:"pf-v6-c-card__header-toggle",cardHeaderToggleIcon:"pf-v6-c-card__header-toggle-icon",cardSelectableActions:"pf-v6-c-card__selectable-actions",cardTitle:"pf-v6-c-card__title",cardTitleText:"pf-v6-c-card__title-text",modifiers:{selectable:"pf-m-selectable",clickable:"pf-m-clickable",current:"pf-m-current",selected:"pf-m-selected",disabled:"pf-m-disabled",compact:"pf-m-compact",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",plain:"pf-m-plain",expanded:"pf-m-expanded",fullHeight:"pf-m-full-height",toggleRight:"pf-m-toggle-right",wrap:"pf-m-wrap",noOffset:"pf-m-no-offset",noFill:"pf-m-no-fill"}},St=te.createContext({cardId:"",isExpanded:!1,isClickable:!1,isSelectable:!1,isSelected:!1,isClicked:!1,isDisabled:!1}),fi=E=>{var{children:l,id:w="",className:C,component:m="div",isCompact:b=!1,isSelectable:S=!1,isClickable:k=!1,isDisabled:c=!1,isSelected:o=!1,isClicked:h=!1,isExpanded:d=!1,isLarge:T=!1,isFullHeight:I=!1,isPlain:B=!1,variant:F="default",ouiaId:L,ouiaSafe:M=!0}=E,H=ue(E,["children","id","className","component","isCompact","isSelectable","isClickable","isDisabled","isSelected","isClicked","isExpanded","isLarge","isFullHeight","isPlain","variant","ouiaId","ouiaSafe"]);const W=m,re=Yi(fi.displayName,L,M);b&&T&&(console.warn("Card: Cannot use isCompact with isLarge. Defaulting to isCompact"),T=!1);const v=()=>S&&k?J($.modifiers.selectable,$.modifiers.clickable,(o||h)&&$.modifiers.current):S?J($.modifiers.selectable,o&&$.modifiers.selected):k?J($.modifiers.clickable,h&&$.modifiers.current):"";return V.jsx(St.Provider,{value:{cardId:w,isExpanded:d,isClickable:k,isSelectable:S,isSelected:o,isClicked:h,isDisabled:c},children:V.jsx(W,Object.assign({id:w,className:J($.card,b&&$.modifiers.compact,d&&$.modifiers.expanded,T&&$.modifiers.displayLg,I&&$.modifiers.fullHeight,B&&$.modifiers.plain,F==="secondary"&&$.modifiers.secondary,v(),c&&$.modifiers.disabled,C)},H,re,{children:l}))})};fi.displayName="Card";const hs=E=>{var{children:l,className:w,component:C="div",isFilled:m=!0}=E,b=ue(E,["children","className","component","isFilled"]);const S=C;return V.jsx(S,Object.assign({className:J($.cardBody,!m&&$.modifiers.noFill,w)},b,{children:l}))};hs.displayName="CardBody";const cs=E=>{var{children:l,className:w,component:C="div"}=E,m=ue(E,["children","className","component"]);const b=C;return V.jsx(b,Object.assign({className:J($.cardFooter,w)},m,{children:l}))};cs.displayName="CardFooter";const ps=E=>{var{children:l,className:w,component:C="div"}=E,m=ue(E,["children","className","component"]);const{cardId:b}=te.useContext(St),S=C,k=b?`${b}-title`:"";return V.jsx("div",{className:J($.cardTitle),children:V.jsx(S,Object.assign({className:J($.cardTitleText,w),id:k||void 0},m,{children:l}))})};ps.displayName="CardTitle";const di=E=>{var{children:l,className:w}=E,C=ue(E,["children","className"]);return V.jsx("div",Object.assign({className:J($.cardHeaderMain,w)},C,{children:l}))};di.displayName="CardHeaderMain";const mi=E=>{var{children:l,className:w,hasNoOffset:C=!1}=E,m=ue(E,["children","className","hasNoOffset"]);return V.jsx("div",Object.assign({className:J($.cardActions,C&&$.modifiers.noOffset,w)},m,{children:l}))};mi.displayName="CardActions";const xi=E=>{var{children:l,className:w}=E,C=ue(E,["children","className"]);return V.jsx("div",Object.assign({className:J($.cardSelectableActions,w)},C,{children:l}))};xi.displayName="CardSelectableActions";const Pe={modifiers:{standalone:"pf-m-standalone",disabled:"pf-m-disabled"},radio:"pf-v6-c-radio",radioBody:"pf-v6-c-radio__body",radioDescription:"pf-v6-c-radio__description",radioInput:"pf-v6-c-radio__input",radioLabel:"pf-v6-c-radio__label"};class qe extends te.Component{constructor(l){super(l),this.handleChange=w=>{this.props.onChange(w,w.currentTarget.checked)},!l.label&&!l["aria-label"]&&console.error("Radio:","Radio requires an aria-label to be specified"),this.state={ouiaStateId:Zi(qe.displayName)}}render(){const l=this.props,{"aria-label":w,checked:C,className:m,inputClassName:b,defaultChecked:S,isLabelWrapped:k,labelPosition:c="end",isChecked:o,isDisabled:h,isValid:d,label:T,onChange:I,description:B,body:F,ouiaId:L,ouiaSafe:M=!0,component:H}=l,W=ue(l,["aria-label","checked","className","inputClassName","defaultChecked","isLabelWrapped","labelPosition","isChecked","isDisabled","isValid","label","onChange","description","body","ouiaId","ouiaSafe","component"]);W.id||console.error("Radio:","id is required to make input accessible");const re=V.jsx("input",Object.assign({},W,{className:J(Pe.radioInput,b),type:"radio",onChange:this.handleChange,"aria-invalid":!d,disabled:h,checked:C||o},C===void 0&&{defaultChecked:S},!T&&{"aria-label":w},$i(qe.displayName,L!==void 0?L:this.state.ouiaStateId,M))),v=k&&!H||H==="label",n=v?"span":"label",P=T?V.jsx(n,{className:J(Pe.radioLabel,h&&Pe.modifiers.disabled),htmlFor:v?void 0:W.id,children:T}):null,j=H??(v?"label":"div");return V.jsxs(j,{className:J(Pe.radio,!T&&Pe.modifiers.standalone,m),htmlFor:v?W.id:void 0,children:[c==="start"?V.jsxs(V.Fragment,{children:[P,re]}):V.jsxs(V.Fragment,{children:[re,P]}),B&&V.jsx("span",{className:J(Pe.radioDescription),children:B}),F&&V.jsx("span",{className:J(Pe.radioBody),children:F})]})}}qe.displayName="Radio";qe.defaultProps={className:"",isDisabled:!1,isValid:!0,onChange:()=>{}};const fs=E=>{var{children:l,className:w,actions:C,selectableActions:m,id:b,onExpand:S,toggleButtonProps:k,isToggleRightAligned:c,hasWrap:o}=E,h=ue(E,["children","className","actions","selectableActions","id","onExpand","toggleButtonProps","isToggleRightAligned","hasWrap"]);return V.jsx(os,{children:d=>V.jsx(St.Consumer,{children:({cardId:T,isClickable:I,isSelectable:B,isSelected:F,isDisabled:L})=>{const M=V.jsx("div",{className:J($.cardHeaderToggle),children:V.jsx(ci,Object.assign({variant:"plain",type:"button",onClick:y=>{S(y,T)}},k,{icon:V.jsx("span",{className:J($.cardHeaderToggleIcon),children:V.jsx(as,{})})}))}),H=I&&!B||B&&!I;C?.actions&&H&&console.error(`Card: ${I?"Clickable":"Selectable"} only cards should not contain any other actions. If you wish to include additional actions, use a clickable and selectable card.`);const W=I&&!B;(W||B)&&!m?.selectableActionAriaLabel&&!m?.selectableActionAriaLabelledby&&console.error(`Card: ${W?"Clickable-only cards":"Cards with a selectable input"} must have either the selectableActions.selectableActionAriaLabel or selectableActions.selectableActionAriaLabelledby prop passed in order to provide an accessible name to the clickable element.`);const re=m?.variant==="single"?qe:us,v=()=>{var y,r;return Object.assign({className:J("pf-m-standalone"),inputClassName:J(m?.isHidden&&"pf-v6-screen-reader"),label:V.jsx(V.Fragment,{}),"aria-label":m.selectableActionAriaLabel,"aria-labelledby":m.selectableActionAriaLabelledby,id:(y=m.selectableActionId)!==null&&y!==void 0?y:`card-selectable-${d}`,name:m.name,isDisabled:L,onChange:m.onChange,isChecked:(r=m.isChecked)!==null&&r!==void 0?r:F},m.selectableActionProps)},n=m?.to!==void 0,P=n?"a":"button",j=()=>{const r=Object.assign({className:J("pf-v6-c-card__clickable-action",L&&n&&$.modifiers.disabled,m?.isHidden&&"pf-v6-screen-reader"),id:m.selectableActionId,"aria-label":m.selectableActionAriaLabel,"aria-labelledby":m.selectableActionAriaLabelledby},m.selectableActionProps);return n?Object.assign(Object.assign(Object.assign(Object.assign({},r),{href:m.to}),L&&{tabIndex:-1,"aria-disabled":!0}),m.isExternalLink&&{target:"_blank"}):Object.assign(Object.assign({},r),{type:"button",disabled:L,onClick:m.onClickAction})};return V.jsxs("div",Object.assign({className:J($.cardHeader,c&&$.modifiers.toggleRight,o&&$.modifiers.wrap,w),id:b},h,{children:[S&&!c&&M,(C||m&&(I||B))&&V.jsxs(mi,{className:C?.className,hasNoOffset:C?.hasNoOffset||m?.hasNoOffset,children:[C?.actions,m&&(I||B)&&V.jsxs(xi,{className:m?.className,children:[B&&V.jsx(re,Object.assign({},v())),W&&V.jsx(P,Object.assign({},j()))]})]}),l&&V.jsx(di,{children:l}),S&&c&&M]}))}})})};fs.displayName="CardHeader";const ae={dataList:"pf-v6-c-data-list",dataListCell:"pf-v6-c-data-list__cell",dataListCheck:"pf-v6-c-data-list__check",dataListExpandableContent:"pf-v6-c-data-list__expandable-content",dataListExpandableContentBody:"pf-v6-c-data-list__expandable-content-body",dataListItem:"pf-v6-c-data-list__item",dataListItemAction:"pf-v6-c-data-list__item-action",dataListItemContent:"pf-v6-c-data-list__item-content",dataListItemControl:"pf-v6-c-data-list__item-control",dataListItemDraggableButton:"pf-v6-c-data-list__item-draggable-button",dataListItemDraggableIcon:"pf-v6-c-data-list__item-draggable-icon",dataListItemRow:"pf-v6-c-data-list__item-row",dataListText:"pf-v6-c-data-list__text",dataListToggle:"pf-v6-c-data-list__toggle",dataListToggleIcon:"pf-v6-c-data-list__toggle-icon",modifiers:{icon:"pf-m-icon",alignRight:"pf-m-align-right",noFill:"pf-m-no-fill",flex_2:"pf-m-flex-2",flex_3:"pf-m-flex-3",flex_4:"pf-m-flex-4",flex_5:"pf-m-flex-5",gridNone:"pf-m-grid-none",gridSm:"pf-m-grid-sm",gridMd:"pf-m-grid-md",gridLg:"pf-m-grid-lg",gridXl:"pf-m-grid-xl",grid_2xl:"pf-m-grid-2xl",compact:"pf-m-compact",dragOver:"pf-m-drag-over",truncate:"pf-m-truncate",breakWord:"pf-m-break-word",nowrap:"pf-m-nowrap",clickable:"pf-m-clickable",selected:"pf-m-selected",ghostRow:"pf-m-ghost-row",expanded:"pf-m-expanded",disabled:"pf-m-disabled",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",noPadding:"pf-m-no-padding"}},ds={none:ae.modifiers.gridNone,always:"pf-m-grid",sm:ae.modifiers.gridSm,md:ae.modifiers.gridMd,lg:ae.modifiers.gridLg,xl:ae.modifiers.gridXl,"2xl":ae.modifiers.grid_2xl};var Zt;(function(E){E.nowrap="nowrap",E.truncate="truncate",E.breakWord="breakWord"})(Zt||(Zt={}));const yi=te.createContext({isSelectable:!1}),vi=E=>{var{children:l=null,className:w="","aria-label":C,onSelectDataListItem:m,selectedDataListItemId:b="",isCompact:S=!1,gridBreakpoint:k="md",wrapModifier:c=null,onSelectableRowChange:o,innerRef:h}=E,d=ue(E,["children","className","aria-label","onSelectDataListItem","selectedDataListItemId","isCompact","gridBreakpoint","wrapModifier","onSelectableRowChange","innerRef"]);const T=m!==void 0,I=(B,F)=>{m(B,F)};return V.jsx(yi.Provider,{value:{isSelectable:T,selectedDataListItemId:b,updateSelectedDataListItem:I,onSelectableRowChange:o},children:V.jsx("ul",Object.assign({className:J(ae.dataList,S&&ae.modifiers.compact,ds[k],c&&ae.modifiers[c],w),style:d.style,role:"list","aria-label":C,ref:h},d,{children:l}))})};vi.displayName="DataListBase";const ms=te.forwardRef((E,l)=>V.jsx(vi,Object.assign({innerRef:l},E)));ms.displayName="DataList";const xs=E=>{var{children:l=null,className:w="",width:C=1,isFilled:m=!0,alignRight:b=!1,isIcon:S=!1,wrapModifier:k=null}=E,c=ue(E,["children","className","width","isFilled","alignRight","isIcon","wrapModifier"]);const o=te.useRef(null),[h,d]=te.useState(!1);return te.useEffect(()=>{if(!o.current||k!=="truncate")return;const T=o.current&&o.current.offsetWidth<o.current.scrollWidth;h!==T&&d(T)},[o,k,h]),V.jsxs("div",Object.assign({className:J(ae.dataListCell,C>1&&ae.modifiers[`flex_${C}`],!m&&ae.modifiers.noFill,b&&ae.modifiers.alignRight,S&&ae.modifiers.icon,w,k&&ae.modifiers[k])},h&&{tabIndex:0},{ref:o},c,{children:[l,h&&V.jsx(bt,{content:l,triggerRef:o})]}))};xs.displayName="DataListCell";class gi extends te.Component{render(){const l=this.props,{children:w,isExpanded:C,className:m,id:b,"aria-labelledby":S,selectableInputAriaLabel:k}=l,c=ue(l,["children","isExpanded","className","id","aria-labelledby","selectableInputAriaLabel"]);return V.jsx(yi.Consumer,{children:({isSelectable:o,selectedDataListItemId:h,updateSelectedDataListItem:d,onSelectableRowChange:T})=>{const I=M=>{let H=M.target;for(;M.currentTarget!==H;){if("onclick"in H&&H.onclick||H.parentNode.classList.contains(ae.dataListItemAction)||H.parentNode.classList.contains(ae.dataListItemControl))return;H=H.parentNode}d(M,b)},B=M=>{[Yt.Enter,Yt.Space].includes(M.key)&&(M.preventDefault(),d(M,b))},F=h===b,L=k?{"aria-label":k}:{"aria-labelledby":S};return V.jsxs("li",Object.assign({id:b,className:J(ae.dataListItem,C&&ae.modifiers.expanded,o&&ae.modifiers.clickable,h&&F&&ae.modifiers.selected,m)},o&&{tabIndex:0,onClick:I,onKeyDown:B},c,{children:[T&&V.jsx("input",Object.assign({className:"pf-v6-screen-reader",type:"radio",checked:F,onChange:M=>T(M,b),tabIndex:-1},L)),te.Children.map(w,M=>te.isValidElement(M)&&te.cloneElement(M,{rowid:S}))]}))}})}}gi.displayName="DataListItem";gi.defaultProps={isExpanded:!1,className:"",id:"",children:null,"aria-labelledby":""};const ys=E=>{var{className:l="",dataListCells:w,rowid:C=""}=E,m=ue(E,["className","dataListCells","rowid"]);return V.jsx("div",Object.assign({className:J(ae.dataListItemContent,l)},m,{children:w}))};ys.displayName="DataListItemCells";const vs=E=>{var{children:l,className:w="",rowid:C="",wrapModifier:m=null}=E,b=ue(E,["children","className","rowid","wrapModifier"]);return V.jsx("div",Object.assign({className:J(ae.dataListItemRow,w,m&&ae.modifiers[m])},b,{children:te.Children.map(l,S=>te.isValidElement(S)&&te.cloneElement(S,{rowid:C}))}))};vs.displayName="DataListItemRow";const se={label:"pf-v6-c-label",labelActions:"pf-v6-c-label__actions",labelContent:"pf-v6-c-label__content",labelIcon:"pf-v6-c-label__icon",labelText:"pf-v6-c-label__text",modifiers:{blue:"pf-m-blue",red:"pf-m-red",orange:"pf-m-orange",orangered:"pf-m-orangered",yellow:"pf-m-yellow",green:"pf-m-green",teal:"pf-m-teal",purple:"pf-m-purple",success:"pf-m-success",warning:"pf-m-warning",danger:"pf-m-danger",info:"pf-m-info",custom:"pf-m-custom",compact:"pf-m-compact",filled:"pf-m-filled",outline:"pf-m-outline",editable:"pf-m-editable",editableActive:"pf-m-editable-active",overflow:"pf-m-overflow",add:"pf-m-add",clickable:"pf-m-clickable",disabled:"pf-m-disabled"}},gs={labelGroup:"pf-v6-c-label-group",labelGroupClose:"pf-v6-c-label-group__close",labelGroupLabel:"pf-v6-c-label-group__label",labelGroupList:"pf-v6-c-label-group__list",labelGroupListItem:"pf-v6-c-label-group__list-item",labelGroupMain:"pf-v6-c-label-group__main",labelGroupTextarea:"pf-v6-c-label-group__textarea",modifiers:{category:"pf-m-category",vertical:"pf-m-vertical",editable:"pf-m-editable",textarea:"pf-m-textarea"}},bs={name:"--pf-v6-c-label__text--MaxWidth",value:"100%",var:"var(--pf-v6-c-label__text--MaxWidth)"},Ss={blue:se.modifiers.blue,teal:se.modifiers.teal,green:se.modifiers.green,orange:se.modifiers.orange,purple:se.modifiers.purple,red:se.modifiers.red,orangered:se.modifiers.orangered,yellow:se.modifiers.yellow,grey:""},ws={success:V.jsx(rs,{}),warning:V.jsx(ss,{}),danger:V.jsx(is,{}),info:V.jsx(ts,{}),custom:V.jsx(es,{})},Cs=E=>{var{children:l,className:w="",color:C="grey",variant:m="filled",status:b,isCompact:S=!1,isDisabled:k=!1,isEditable:c=!1,isClickable:o=!1,editableProps:h,textMaxWidth:d,tooltipPosition:T,icon:I,onClose:B,onClick:F,onEditCancel:L,onEditComplete:M,closeBtn:H,closeBtnAriaLabel:W,closeBtnProps:re,href:v,render:n}=E,P=ue(E,["children","className","color","variant","status","isCompact","isDisabled","isEditable","isClickable","editableProps","textMaxWidth","tooltipPosition","icon","onClose","onClick","onEditCancel","onEditComplete","closeBtn","closeBtnAriaLabel","closeBtnProps","href","render"]);const[j,y]=te.useState(!1),[r,s]=te.useState(l),p=te.useRef(void 0),g=te.useRef(void 0),N=m==="overflow",O=m==="add",X=o||F&&!N&&!O||v;let Q;b&&(Q=ws[b]),I&&(Q=I),te.useEffect(()=>(document.addEventListener("mousedown",Y),document.addEventListener("keydown",Z),()=>{document.removeEventListener("mousedown",Y),document.removeEventListener("keydown",Z)})),te.useEffect(()=>{F&&v?console.warn("Link labels cannot have onClick passed, this results in invalid HTML. Please remove either the href or onClick prop."):F&&c&&console.warn("Editable labels cannot have onClick passed, clicking starts the label edit process. Please remove either the isEditable or onClick prop.")},[F,v,c]);const Y=ee=>{j&&g&&g.current&&!g.current.contains(ee.target)&&(g.current.value&&M&&M(ee,g.current.value),y(!1))},Z=ee=>{var Ve,xe;const ge=ee.key;if(!(!j&&(!p||!p.current||!p.current.contains(ee.target))||j&&(!g||!g.current||!g.current.contains(ee.target)))&&(j&&(ge==="Enter"||ge==="Tab")&&(ee.preventDefault(),ee.stopImmediatePropagation(),g.current.value&&M&&M(ee,g.current.value),y(!1),(Ve=p?.current)===null||Ve===void 0||Ve.focus()),j&&ge==="Escape"&&(ee.preventDefault(),ee.stopImmediatePropagation(),g.current.value&&(g.current.value=l,L&&L(ee,l)),y(!1),(xe=p?.current)===null||xe===void 0||xe.focus()),!j&&ge==="Enter")){ee.preventDefault(),ee.stopImmediatePropagation(),y(!0);const De=ee.target,Ae=document.createRange(),Ne=window.getSelection();Ae.selectNodeContents(De),Ae.collapse(!1),Ne.removeAllRanges(),Ne.addRange(Ae)}},K=(v||F)&&k,Oe=V.jsx(ci,Object.assign({type:"button",variant:"plain",hasNoPadding:!0,onClick:B,"aria-label":W||`Close ${l}`},K&&{isDisabled:!0},re,{icon:V.jsx(ls,{})})),ye=V.jsx("span",{className:J(se.labelActions),children:H||Oe}),he=te.createRef(),me=te.useRef(void 0),[Te,Ke]=te.useState(!1);ns(()=>{const ee=c?p:he;j||Ke(ee.current&&ee.current.offsetWidth<ee.current.scrollWidth)},[j]);const Qe=V.jsxs(te.Fragment,{children:[Q&&V.jsx("span",{className:J(se.labelIcon),children:Q}),V.jsx("span",Object.assign({ref:he,className:J(se.labelText)},d&&{style:{[bs.name]:d}},{children:l}))]});te.useEffect(()=>{j&&g&&g.current&&g.current.focus()},[g,j]);const at=()=>{s(g.current.value)};let ve="span";v?ve="a":(c||F&&!N&&!O)&&(ve="button");const _e={type:"button",onClick:F},Re=ve==="button",Ye=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({className:J(se.labelContent,X&&se.modifiers.clickable)},Te&&{tabIndex:0}),v&&{href:v}),v&&k&&{onClick:ee=>ee.preventDefault()}),Re&&_e),c&&Object.assign({ref:p,onClick:ee=>{y(!0),ee.stopPropagation()}},h)),K&&Re&&{disabled:!0}),K&&v&&{tabIndex:-1,"aria-disabled":!0});let ke=V.jsx(ve,Object.assign({},Ye,{children:Qe}));n?ke=V.jsxs(te.Fragment,{children:[Te&&V.jsx(bt,{triggerRef:me,content:l,position:T}),n({className:se.labelContent,content:Qe,componentRef:me})]}):Te&&(ke=V.jsx(bt,{content:l,position:T,children:ke}));const Ue=N?"button":"span";return V.jsxs(Ue,Object.assign({},P,{className:J(se.label,K&&se.modifiers.disabled,Ss[C],m==="filled"&&se.modifiers.filled,m==="outline"&&se.modifiers.outline,b&&se.modifiers[b],N&&se.modifiers.overflow,S&&se.modifiers.compact,c&&gs.modifiers.editable,j&&se.modifiers.editableActive,X&&se.modifiers.clickable,O&&se.modifiers.add,w),onClick:N||O?F:void 0},Ue==="button"&&{type:"button"},{children:[!j&&ke,!j&&B&&ye,j&&V.jsx("input",Object.assign({className:J(se.labelContent),type:"text",id:"editable-input",ref:g,value:r,onChange:at},h))]}))};Cs.displayName="Label";const $t={gallery:"pf-v6-l-gallery",modifiers:{gutter:"pf-m-gutter"}},Ts={name:"--pf-v6-l-gallery--GridTemplateColumns--min",value:"250px",var:"var(--pf-v6-l-gallery--GridTemplateColumns--min)"},_s={name:"--pf-v6-l-gallery--GridTemplateColumns--max",value:"1fr",var:"var(--pf-v6-l-gallery--GridTemplateColumns--max)"},ks=E=>{var{children:l=null,className:w="",component:C="div",hasGutter:m=!1,minWidths:b,maxWidths:S}=E,k=ue(E,["children","className","component","hasGutter","minWidths","maxWidths"]);const c={},o=C;b&&Object.entries(b||{}).map(([T,I])=>c[`${Ts.name}${T!=="default"?`-on-${T}`:""}`]=I);const h={};S&&Object.entries(S||{}).map(([T,I])=>h[`${_s.name}${T!=="default"?`-on-${T}`:""}`]=I);const d=Object.assign(Object.assign({},c),h);return V.jsx(o,Object.assign({className:J($t.gallery,m&&$t.modifiers.gutter,w)},k,(b||S)&&{style:Object.assign(Object.assign({},d),k.style)},{children:l}))};ks.displayName="Gallery";const Es=E=>{var{children:l=null,component:w="div"}=E,C=ue(E,["children","component"]);const m=w;return V.jsx(m,Object.assign({},C,{children:l}))};Es.displayName="GalleryItem";const Je={modifiers:{wrap:"pf-m-wrap",fill:"pf-m-fill",gutter:"pf-m-gutter"},split:"pf-v6-l-split",splitItem:"pf-v6-l-split__item"},As=E=>{var{hasGutter:l=!1,isWrappable:w=!1,className:C="",children:m=null,component:b="div"}=E,S=ue(E,["hasGutter","isWrappable","className","children","component"]);const k=b;return V.jsx(k,Object.assign({},S,{className:J(Je.split,l&&Je.modifiers.gutter,w&&Je.modifiers.wrap,C),children:m}))};As.displayName="Split";const Ns=E=>{var{isFilled:l=!1,className:w="",children:C=null,component:m="div"}=E,b=ue(E,["isFilled","className","children","component"]);const S=m;return V.jsx(S,Object.assign({},b,{className:J(Je.splitItem,l&&Je.modifiers.fill,w),children:C}))};Ns.displayName="SplitItem";const Is={name:"ListIcon",height:512,width:512,svgPath:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z",yOffset:0,xOffset:0},Xs=pi(Is),Ps={name:"ThIcon",height:512,width:512,svgPath:"M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zm181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24zm-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zM181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24z",yOffset:0,xOffset:0},zs=pi(Ps);var ze={exports:{}},Ls=ze.exports,ei;function Le(){return ei||(ei=1,function(E,l){(function(w,C){C(l)})(Ls,function(w){var C=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],m=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],b="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",k={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},c="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:c,"5module":c+" export import",6:c+" const class extends export import super"},h=/^in(stanceof)?$/,d=new RegExp("["+S+"]"),T=new RegExp("["+S+b+"]");function I(e,t){for(var i=65536,a=0;a<t.length;a+=2){if(i+=t[a],i>e)return!1;if(i+=t[a+1],i>=e)return!0}return!1}function B(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&d.test(String.fromCharCode(e)):t===!1?!1:I(e,m)}function F(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&T.test(String.fromCharCode(e)):t===!1?!1:I(e,m)||I(e,C)}var L=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function M(e,t){return new L(e,{beforeExpr:!0,binop:t})}var H={beforeExpr:!0},W={startsExpr:!0},re={};function v(e,t){return t===void 0&&(t={}),t.keyword=e,re[e]=new L(e,t)}var n={num:new L("num",W),regexp:new L("regexp",W),string:new L("string",W),name:new L("name",W),privateId:new L("privateId",W),eof:new L("eof"),bracketL:new L("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new L("]"),braceL:new L("{",{beforeExpr:!0,startsExpr:!0}),braceR:new L("}"),parenL:new L("(",{beforeExpr:!0,startsExpr:!0}),parenR:new L(")"),comma:new L(",",H),semi:new L(";",H),colon:new L(":",H),dot:new L("."),question:new L("?",H),questionDot:new L("?."),arrow:new L("=>",H),template:new L("template"),invalidTemplate:new L("invalidTemplate"),ellipsis:new L("...",H),backQuote:new L("`",W),dollarBraceL:new L("${",{beforeExpr:!0,startsExpr:!0}),eq:new L("=",{beforeExpr:!0,isAssign:!0}),assign:new L("_=",{beforeExpr:!0,isAssign:!0}),incDec:new L("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new L("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:M("||",1),logicalAND:M("&&",2),bitwiseOR:M("|",3),bitwiseXOR:M("^",4),bitwiseAND:M("&",5),equality:M("==/!=/===/!==",6),relational:M("</>/<=/>=",7),bitShift:M("<</>>/>>>",8),plusMin:new L("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:M("%",10),star:M("*",10),slash:M("/",10),starstar:new L("**",{beforeExpr:!0}),coalesce:M("??",1),_break:v("break"),_case:v("case",H),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",H),_do:v("do",{isLoop:!0,beforeExpr:!0}),_else:v("else",H),_finally:v("finally"),_for:v("for",{isLoop:!0}),_function:v("function",W),_if:v("if"),_return:v("return",H),_switch:v("switch"),_throw:v("throw",H),_try:v("try"),_var:v("var"),_const:v("const"),_while:v("while",{isLoop:!0}),_with:v("with"),_new:v("new",{beforeExpr:!0,startsExpr:!0}),_this:v("this",W),_super:v("super",W),_class:v("class",W),_extends:v("extends",H),_export:v("export"),_import:v("import",W),_null:v("null",W),_true:v("true",W),_false:v("false",W),_in:v("in",{beforeExpr:!0,binop:7}),_instanceof:v("instanceof",{beforeExpr:!0,binop:7}),_typeof:v("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},P=/\r\n?|\n|\u2028|\u2029/,j=new RegExp(P.source,"g");function y(e){return e===10||e===13||e===8232||e===8233}function r(e,t,i){i===void 0&&(i=e.length);for(var a=t;a<i;a++){var u=e.charCodeAt(a);if(y(u))return a<i-1&&u===13&&e.charCodeAt(a+1)===10?a+2:a+1}return-1}var s=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,p=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,g=Object.prototype,N=g.hasOwnProperty,O=g.toString,X=Object.hasOwn||function(e,t){return N.call(e,t)},Q=Array.isArray||function(e){return O.call(e)==="[object Array]"},Y=Object.create(null);function Z(e){return Y[e]||(Y[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function K(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var Oe=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ye=function(t,i){this.line=t,this.column=i};ye.prototype.offset=function(t){return new ye(this.line,this.column+t)};var he=function(t,i,a){this.start=i,this.end=a,t.sourceFile!==null&&(this.source=t.sourceFile)};function me(e,t){for(var i=1,a=0;;){var u=r(e,a,t);if(u<0)return new ye(i,t-a);++i,a=u}}var Te={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Ke=!1;function Qe(e){var t={};for(var i in Te)t[i]=e&&X(e,i)?e[i]:Te[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!Ke&&typeof console=="object"&&console.warn&&(Ke=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
1
|
+
import{_ as ue,u as Yi,j as V,c as J,a as Zi,g as $i,B as ci,K as Yt,e as es,I as ts,f as is,E as ss,C as rs,k as pi}from"./Button.BVfR1y85.js";import{r as te}from"./index.eCxJ45ll.js";/* empty css */import{A as as,u as ns}from"./divider.BLVh3KnH.js";import{G as os,C as us,a as bt,T as ls}from"./SearchInput.BNt7BTX_.js";const $={card:"pf-v6-c-card",cardActions:"pf-v6-c-card__actions",cardBody:"pf-v6-c-card__body",cardExpandableContent:"pf-v6-c-card__expandable-content",cardFooter:"pf-v6-c-card__footer",cardHeader:"pf-v6-c-card__header",cardHeaderMain:"pf-v6-c-card__header-main",cardHeaderToggle:"pf-v6-c-card__header-toggle",cardHeaderToggleIcon:"pf-v6-c-card__header-toggle-icon",cardSelectableActions:"pf-v6-c-card__selectable-actions",cardTitle:"pf-v6-c-card__title",cardTitleText:"pf-v6-c-card__title-text",modifiers:{selectable:"pf-m-selectable",clickable:"pf-m-clickable",current:"pf-m-current",selected:"pf-m-selected",disabled:"pf-m-disabled",compact:"pf-m-compact",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",plain:"pf-m-plain",expanded:"pf-m-expanded",fullHeight:"pf-m-full-height",toggleRight:"pf-m-toggle-right",wrap:"pf-m-wrap",noOffset:"pf-m-no-offset",noFill:"pf-m-no-fill"}},St=te.createContext({cardId:"",isExpanded:!1,isClickable:!1,isSelectable:!1,isSelected:!1,isClicked:!1,isDisabled:!1}),fi=E=>{var{children:l,id:w="",className:C,component:m="div",isCompact:b=!1,isSelectable:S=!1,isClickable:k=!1,isDisabled:c=!1,isSelected:o=!1,isClicked:h=!1,isExpanded:d=!1,isLarge:T=!1,isFullHeight:I=!1,isPlain:B=!1,variant:F="default",ouiaId:L,ouiaSafe:M=!0}=E,H=ue(E,["children","id","className","component","isCompact","isSelectable","isClickable","isDisabled","isSelected","isClicked","isExpanded","isLarge","isFullHeight","isPlain","variant","ouiaId","ouiaSafe"]);const W=m,re=Yi(fi.displayName,L,M);b&&T&&(console.warn("Card: Cannot use isCompact with isLarge. Defaulting to isCompact"),T=!1);const v=()=>S&&k?J($.modifiers.selectable,$.modifiers.clickable,(o||h)&&$.modifiers.current):S?J($.modifiers.selectable,o&&$.modifiers.selected):k?J($.modifiers.clickable,h&&$.modifiers.current):"";return V.jsx(St.Provider,{value:{cardId:w,isExpanded:d,isClickable:k,isSelectable:S,isSelected:o,isClicked:h,isDisabled:c},children:V.jsx(W,Object.assign({id:w,className:J($.card,b&&$.modifiers.compact,d&&$.modifiers.expanded,T&&$.modifiers.displayLg,I&&$.modifiers.fullHeight,B&&$.modifiers.plain,F==="secondary"&&$.modifiers.secondary,v(),c&&$.modifiers.disabled,C)},H,re,{children:l}))})};fi.displayName="Card";const hs=E=>{var{children:l,className:w,component:C="div",isFilled:m=!0}=E,b=ue(E,["children","className","component","isFilled"]);const S=C;return V.jsx(S,Object.assign({className:J($.cardBody,!m&&$.modifiers.noFill,w)},b,{children:l}))};hs.displayName="CardBody";const cs=E=>{var{children:l,className:w,component:C="div"}=E,m=ue(E,["children","className","component"]);const b=C;return V.jsx(b,Object.assign({className:J($.cardFooter,w)},m,{children:l}))};cs.displayName="CardFooter";const ps=E=>{var{children:l,className:w,component:C="div"}=E,m=ue(E,["children","className","component"]);const{cardId:b}=te.useContext(St),S=C,k=b?`${b}-title`:"";return V.jsx("div",{className:J($.cardTitle),children:V.jsx(S,Object.assign({className:J($.cardTitleText,w),id:k||void 0},m,{children:l}))})};ps.displayName="CardTitle";const di=E=>{var{children:l,className:w}=E,C=ue(E,["children","className"]);return V.jsx("div",Object.assign({className:J($.cardHeaderMain,w)},C,{children:l}))};di.displayName="CardHeaderMain";const mi=E=>{var{children:l,className:w,hasNoOffset:C=!1}=E,m=ue(E,["children","className","hasNoOffset"]);return V.jsx("div",Object.assign({className:J($.cardActions,C&&$.modifiers.noOffset,w)},m,{children:l}))};mi.displayName="CardActions";const xi=E=>{var{children:l,className:w}=E,C=ue(E,["children","className"]);return V.jsx("div",Object.assign({className:J($.cardSelectableActions,w)},C,{children:l}))};xi.displayName="CardSelectableActions";const Pe={modifiers:{standalone:"pf-m-standalone",disabled:"pf-m-disabled"},radio:"pf-v6-c-radio",radioBody:"pf-v6-c-radio__body",radioDescription:"pf-v6-c-radio__description",radioInput:"pf-v6-c-radio__input",radioLabel:"pf-v6-c-radio__label"};class qe extends te.Component{constructor(l){super(l),this.handleChange=w=>{this.props.onChange(w,w.currentTarget.checked)},!l.label&&!l["aria-label"]&&console.error("Radio:","Radio requires an aria-label to be specified"),this.state={ouiaStateId:Zi(qe.displayName)}}render(){const l=this.props,{"aria-label":w,checked:C,className:m,inputClassName:b,defaultChecked:S,isLabelWrapped:k,labelPosition:c="end",isChecked:o,isDisabled:h,isValid:d,label:T,onChange:I,description:B,body:F,ouiaId:L,ouiaSafe:M=!0,component:H}=l,W=ue(l,["aria-label","checked","className","inputClassName","defaultChecked","isLabelWrapped","labelPosition","isChecked","isDisabled","isValid","label","onChange","description","body","ouiaId","ouiaSafe","component"]);W.id||console.error("Radio:","id is required to make input accessible");const re=V.jsx("input",Object.assign({},W,{className:J(Pe.radioInput,b),type:"radio",onChange:this.handleChange,"aria-invalid":!d,disabled:h,checked:C||o},C===void 0&&{defaultChecked:S},!T&&{"aria-label":w},$i(qe.displayName,L!==void 0?L:this.state.ouiaStateId,M))),v=k&&!H||H==="label",n=v?"span":"label",P=T?V.jsx(n,{className:J(Pe.radioLabel,h&&Pe.modifiers.disabled),htmlFor:v?void 0:W.id,children:T}):null,j=H??(v?"label":"div");return V.jsxs(j,{className:J(Pe.radio,!T&&Pe.modifiers.standalone,m),htmlFor:v?W.id:void 0,children:[c==="start"?V.jsxs(V.Fragment,{children:[P,re]}):V.jsxs(V.Fragment,{children:[re,P]}),B&&V.jsx("span",{className:J(Pe.radioDescription),children:B}),F&&V.jsx("span",{className:J(Pe.radioBody),children:F})]})}}qe.displayName="Radio";qe.defaultProps={className:"",isDisabled:!1,isValid:!0,onChange:()=>{}};const fs=E=>{var{children:l,className:w,actions:C,selectableActions:m,id:b,onExpand:S,toggleButtonProps:k,isToggleRightAligned:c,hasWrap:o}=E,h=ue(E,["children","className","actions","selectableActions","id","onExpand","toggleButtonProps","isToggleRightAligned","hasWrap"]);return V.jsx(os,{children:d=>V.jsx(St.Consumer,{children:({cardId:T,isClickable:I,isSelectable:B,isSelected:F,isDisabled:L})=>{const M=V.jsx("div",{className:J($.cardHeaderToggle),children:V.jsx(ci,Object.assign({variant:"plain",type:"button",onClick:y=>{S(y,T)}},k,{icon:V.jsx("span",{className:J($.cardHeaderToggleIcon),children:V.jsx(as,{})})}))}),H=I&&!B||B&&!I;C?.actions&&H&&console.error(`Card: ${I?"Clickable":"Selectable"} only cards should not contain any other actions. If you wish to include additional actions, use a clickable and selectable card.`);const W=I&&!B;(W||B)&&!m?.selectableActionAriaLabel&&!m?.selectableActionAriaLabelledby&&console.error(`Card: ${W?"Clickable-only cards":"Cards with a selectable input"} must have either the selectableActions.selectableActionAriaLabel or selectableActions.selectableActionAriaLabelledby prop passed in order to provide an accessible name to the clickable element.`);const re=m?.variant==="single"?qe:us,v=()=>{var y,r;return Object.assign({className:J("pf-m-standalone"),inputClassName:J(m?.isHidden&&"pf-v6-screen-reader"),label:V.jsx(V.Fragment,{}),"aria-label":m.selectableActionAriaLabel,"aria-labelledby":m.selectableActionAriaLabelledby,id:(y=m.selectableActionId)!==null&&y!==void 0?y:`card-selectable-${d}`,name:m.name,isDisabled:L,onChange:m.onChange,isChecked:(r=m.isChecked)!==null&&r!==void 0?r:F},m.selectableActionProps)},n=m?.to!==void 0,P=n?"a":"button",j=()=>{const r=Object.assign({className:J("pf-v6-c-card__clickable-action",L&&n&&$.modifiers.disabled,m?.isHidden&&"pf-v6-screen-reader"),id:m.selectableActionId,"aria-label":m.selectableActionAriaLabel,"aria-labelledby":m.selectableActionAriaLabelledby},m.selectableActionProps);return n?Object.assign(Object.assign(Object.assign(Object.assign({},r),{href:m.to}),L&&{tabIndex:-1,"aria-disabled":!0}),m.isExternalLink&&{target:"_blank"}):Object.assign(Object.assign({},r),{type:"button",disabled:L,onClick:m.onClickAction})};return V.jsxs("div",Object.assign({className:J($.cardHeader,c&&$.modifiers.toggleRight,o&&$.modifiers.wrap,w),id:b},h,{children:[S&&!c&&M,(C||m&&(I||B))&&V.jsxs(mi,{className:C?.className,hasNoOffset:C?.hasNoOffset||m?.hasNoOffset,children:[C?.actions,m&&(I||B)&&V.jsxs(xi,{className:m?.className,children:[B&&V.jsx(re,Object.assign({},v())),W&&V.jsx(P,Object.assign({},j()))]})]}),l&&V.jsx(di,{children:l}),S&&c&&M]}))}})})};fs.displayName="CardHeader";const ae={dataList:"pf-v6-c-data-list",dataListCell:"pf-v6-c-data-list__cell",dataListCheck:"pf-v6-c-data-list__check",dataListExpandableContent:"pf-v6-c-data-list__expandable-content",dataListExpandableContentBody:"pf-v6-c-data-list__expandable-content-body",dataListItem:"pf-v6-c-data-list__item",dataListItemAction:"pf-v6-c-data-list__item-action",dataListItemContent:"pf-v6-c-data-list__item-content",dataListItemControl:"pf-v6-c-data-list__item-control",dataListItemDraggableButton:"pf-v6-c-data-list__item-draggable-button",dataListItemDraggableIcon:"pf-v6-c-data-list__item-draggable-icon",dataListItemRow:"pf-v6-c-data-list__item-row",dataListText:"pf-v6-c-data-list__text",dataListToggle:"pf-v6-c-data-list__toggle",dataListToggleIcon:"pf-v6-c-data-list__toggle-icon",modifiers:{icon:"pf-m-icon",alignRight:"pf-m-align-right",noFill:"pf-m-no-fill",flex_2:"pf-m-flex-2",flex_3:"pf-m-flex-3",flex_4:"pf-m-flex-4",flex_5:"pf-m-flex-5",gridNone:"pf-m-grid-none",gridSm:"pf-m-grid-sm",gridMd:"pf-m-grid-md",gridLg:"pf-m-grid-lg",gridXl:"pf-m-grid-xl",grid_2xl:"pf-m-grid-2xl",compact:"pf-m-compact",dragOver:"pf-m-drag-over",truncate:"pf-m-truncate",breakWord:"pf-m-break-word",nowrap:"pf-m-nowrap",clickable:"pf-m-clickable",selected:"pf-m-selected",ghostRow:"pf-m-ghost-row",expanded:"pf-m-expanded",disabled:"pf-m-disabled",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",noPadding:"pf-m-no-padding"}},ds={none:ae.modifiers.gridNone,always:"pf-m-grid",sm:ae.modifiers.gridSm,md:ae.modifiers.gridMd,lg:ae.modifiers.gridLg,xl:ae.modifiers.gridXl,"2xl":ae.modifiers.grid_2xl};var Zt;(function(E){E.nowrap="nowrap",E.truncate="truncate",E.breakWord="breakWord"})(Zt||(Zt={}));const yi=te.createContext({isSelectable:!1}),vi=E=>{var{children:l=null,className:w="","aria-label":C,onSelectDataListItem:m,selectedDataListItemId:b="",isCompact:S=!1,gridBreakpoint:k="md",wrapModifier:c=null,onSelectableRowChange:o,innerRef:h}=E,d=ue(E,["children","className","aria-label","onSelectDataListItem","selectedDataListItemId","isCompact","gridBreakpoint","wrapModifier","onSelectableRowChange","innerRef"]);const T=m!==void 0,I=(B,F)=>{m(B,F)};return V.jsx(yi.Provider,{value:{isSelectable:T,selectedDataListItemId:b,updateSelectedDataListItem:I,onSelectableRowChange:o},children:V.jsx("ul",Object.assign({className:J(ae.dataList,S&&ae.modifiers.compact,ds[k],c&&ae.modifiers[c],w),style:d.style,role:"list","aria-label":C,ref:h},d,{children:l}))})};vi.displayName="DataListBase";const ms=te.forwardRef((E,l)=>V.jsx(vi,Object.assign({innerRef:l},E)));ms.displayName="DataList";const xs=E=>{var{children:l=null,className:w="",width:C=1,isFilled:m=!0,alignRight:b=!1,isIcon:S=!1,wrapModifier:k=null}=E,c=ue(E,["children","className","width","isFilled","alignRight","isIcon","wrapModifier"]);const o=te.useRef(null),[h,d]=te.useState(!1);return te.useEffect(()=>{if(!o.current||k!=="truncate")return;const T=o.current&&o.current.offsetWidth<o.current.scrollWidth;h!==T&&d(T)},[o,k,h]),V.jsxs("div",Object.assign({className:J(ae.dataListCell,C>1&&ae.modifiers[`flex_${C}`],!m&&ae.modifiers.noFill,b&&ae.modifiers.alignRight,S&&ae.modifiers.icon,w,k&&ae.modifiers[k])},h&&{tabIndex:0},{ref:o},c,{children:[l,h&&V.jsx(bt,{content:l,triggerRef:o})]}))};xs.displayName="DataListCell";class gi extends te.Component{render(){const l=this.props,{children:w,isExpanded:C,className:m,id:b,"aria-labelledby":S,selectableInputAriaLabel:k}=l,c=ue(l,["children","isExpanded","className","id","aria-labelledby","selectableInputAriaLabel"]);return V.jsx(yi.Consumer,{children:({isSelectable:o,selectedDataListItemId:h,updateSelectedDataListItem:d,onSelectableRowChange:T})=>{const I=M=>{let H=M.target;for(;M.currentTarget!==H;){if("onclick"in H&&H.onclick||H.parentNode.classList.contains(ae.dataListItemAction)||H.parentNode.classList.contains(ae.dataListItemControl))return;H=H.parentNode}d(M,b)},B=M=>{[Yt.Enter,Yt.Space].includes(M.key)&&(M.preventDefault(),d(M,b))},F=h===b,L=k?{"aria-label":k}:{"aria-labelledby":S};return V.jsxs("li",Object.assign({id:b,className:J(ae.dataListItem,C&&ae.modifiers.expanded,o&&ae.modifiers.clickable,h&&F&&ae.modifiers.selected,m)},o&&{tabIndex:0,onClick:I,onKeyDown:B},c,{children:[T&&V.jsx("input",Object.assign({className:"pf-v6-screen-reader",type:"radio",checked:F,onChange:M=>T(M,b),tabIndex:-1},L)),te.Children.map(w,M=>te.isValidElement(M)&&te.cloneElement(M,{rowid:S}))]}))}})}}gi.displayName="DataListItem";gi.defaultProps={isExpanded:!1,className:"",id:"",children:null,"aria-labelledby":""};const ys=E=>{var{className:l="",dataListCells:w,rowid:C=""}=E,m=ue(E,["className","dataListCells","rowid"]);return V.jsx("div",Object.assign({className:J(ae.dataListItemContent,l)},m,{children:w}))};ys.displayName="DataListItemCells";const vs=E=>{var{children:l,className:w="",rowid:C="",wrapModifier:m=null}=E,b=ue(E,["children","className","rowid","wrapModifier"]);return V.jsx("div",Object.assign({className:J(ae.dataListItemRow,w,m&&ae.modifiers[m])},b,{children:te.Children.map(l,S=>te.isValidElement(S)&&te.cloneElement(S,{rowid:C}))}))};vs.displayName="DataListItemRow";const se={label:"pf-v6-c-label",labelActions:"pf-v6-c-label__actions",labelContent:"pf-v6-c-label__content",labelIcon:"pf-v6-c-label__icon",labelText:"pf-v6-c-label__text",modifiers:{blue:"pf-m-blue",red:"pf-m-red",orange:"pf-m-orange",orangered:"pf-m-orangered",yellow:"pf-m-yellow",green:"pf-m-green",teal:"pf-m-teal",purple:"pf-m-purple",success:"pf-m-success",warning:"pf-m-warning",danger:"pf-m-danger",info:"pf-m-info",custom:"pf-m-custom",compact:"pf-m-compact",filled:"pf-m-filled",outline:"pf-m-outline",editable:"pf-m-editable",editableActive:"pf-m-editable-active",overflow:"pf-m-overflow",add:"pf-m-add",clickable:"pf-m-clickable",disabled:"pf-m-disabled"}},gs={labelGroup:"pf-v6-c-label-group",labelGroupClose:"pf-v6-c-label-group__close",labelGroupLabel:"pf-v6-c-label-group__label",labelGroupList:"pf-v6-c-label-group__list",labelGroupListItem:"pf-v6-c-label-group__list-item",labelGroupMain:"pf-v6-c-label-group__main",labelGroupTextarea:"pf-v6-c-label-group__textarea",modifiers:{category:"pf-m-category",vertical:"pf-m-vertical",editable:"pf-m-editable",textarea:"pf-m-textarea"}},bs={name:"--pf-v6-c-label__text--MaxWidth",value:"100%",var:"var(--pf-v6-c-label__text--MaxWidth)"},Ss={blue:se.modifiers.blue,teal:se.modifiers.teal,green:se.modifiers.green,orange:se.modifiers.orange,purple:se.modifiers.purple,red:se.modifiers.red,orangered:se.modifiers.orangered,yellow:se.modifiers.yellow,grey:""},ws={success:V.jsx(rs,{}),warning:V.jsx(ss,{}),danger:V.jsx(is,{}),info:V.jsx(ts,{}),custom:V.jsx(es,{})},Cs=E=>{var{children:l,className:w="",color:C="grey",variant:m="filled",status:b,isCompact:S=!1,isDisabled:k=!1,isEditable:c=!1,isClickable:o=!1,editableProps:h,textMaxWidth:d,tooltipPosition:T,icon:I,onClose:B,onClick:F,onEditCancel:L,onEditComplete:M,closeBtn:H,closeBtnAriaLabel:W,closeBtnProps:re,href:v,render:n}=E,P=ue(E,["children","className","color","variant","status","isCompact","isDisabled","isEditable","isClickable","editableProps","textMaxWidth","tooltipPosition","icon","onClose","onClick","onEditCancel","onEditComplete","closeBtn","closeBtnAriaLabel","closeBtnProps","href","render"]);const[j,y]=te.useState(!1),[r,s]=te.useState(l),p=te.useRef(void 0),g=te.useRef(void 0),N=m==="overflow",O=m==="add",X=o||F&&!N&&!O||v;let Q;b&&(Q=ws[b]),I&&(Q=I),te.useEffect(()=>(document.addEventListener("mousedown",Y),document.addEventListener("keydown",Z),()=>{document.removeEventListener("mousedown",Y),document.removeEventListener("keydown",Z)})),te.useEffect(()=>{F&&v?console.warn("Link labels cannot have onClick passed, this results in invalid HTML. Please remove either the href or onClick prop."):F&&c&&console.warn("Editable labels cannot have onClick passed, clicking starts the label edit process. Please remove either the isEditable or onClick prop.")},[F,v,c]);const Y=ee=>{j&&g&&g.current&&!g.current.contains(ee.target)&&(g.current.value&&M&&M(ee,g.current.value),y(!1))},Z=ee=>{var Ve,xe;const ge=ee.key;if(!(!j&&(!p||!p.current||!p.current.contains(ee.target))||j&&(!g||!g.current||!g.current.contains(ee.target)))&&(j&&(ge==="Enter"||ge==="Tab")&&(ee.preventDefault(),ee.stopImmediatePropagation(),g.current.value&&M&&M(ee,g.current.value),y(!1),(Ve=p?.current)===null||Ve===void 0||Ve.focus()),j&&ge==="Escape"&&(ee.preventDefault(),ee.stopImmediatePropagation(),g.current.value&&(g.current.value=l,L&&L(ee,l)),y(!1),(xe=p?.current)===null||xe===void 0||xe.focus()),!j&&ge==="Enter")){ee.preventDefault(),ee.stopImmediatePropagation(),y(!0);const De=ee.target,Ae=document.createRange(),Ne=window.getSelection();Ae.selectNodeContents(De),Ae.collapse(!1),Ne.removeAllRanges(),Ne.addRange(Ae)}},K=(v||F)&&k,Oe=V.jsx(ci,Object.assign({type:"button",variant:"plain",hasNoPadding:!0,onClick:B,"aria-label":W||`Close ${l}`},K&&{isDisabled:!0},re,{icon:V.jsx(ls,{})})),ye=V.jsx("span",{className:J(se.labelActions),children:H||Oe}),he=te.createRef(),me=te.useRef(void 0),[Te,Ke]=te.useState(!1);ns(()=>{const ee=c?p:he;j||Ke(ee.current&&ee.current.offsetWidth<ee.current.scrollWidth)},[j]);const Qe=V.jsxs(te.Fragment,{children:[Q&&V.jsx("span",{className:J(se.labelIcon),children:Q}),V.jsx("span",Object.assign({ref:he,className:J(se.labelText)},d&&{style:{[bs.name]:d}},{children:l}))]});te.useEffect(()=>{j&&g&&g.current&&g.current.focus()},[g,j]);const at=()=>{s(g.current.value)};let ve="span";v?ve="a":(c||F&&!N&&!O)&&(ve="button");const _e={type:"button",onClick:F},Re=ve==="button",Ye=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({className:J(se.labelContent,X&&se.modifiers.clickable)},Te&&{tabIndex:0}),v&&{href:v}),v&&k&&{onClick:ee=>ee.preventDefault()}),Re&&_e),c&&Object.assign({ref:p,onClick:ee=>{y(!0),ee.stopPropagation()}},h)),K&&Re&&{disabled:!0}),K&&v&&{tabIndex:-1,"aria-disabled":!0});let ke=V.jsx(ve,Object.assign({},Ye,{children:Qe}));n?ke=V.jsxs(te.Fragment,{children:[Te&&V.jsx(bt,{triggerRef:me,content:l,position:T}),n({className:se.labelContent,content:Qe,componentRef:me})]}):Te&&(ke=V.jsx(bt,{content:l,position:T,children:ke}));const Ue=N?"button":"span";return V.jsxs(Ue,Object.assign({},P,{className:J(se.label,K&&se.modifiers.disabled,Ss[C],m==="filled"&&se.modifiers.filled,m==="outline"&&se.modifiers.outline,b&&se.modifiers[b],N&&se.modifiers.overflow,S&&se.modifiers.compact,c&&gs.modifiers.editable,j&&se.modifiers.editableActive,X&&se.modifiers.clickable,O&&se.modifiers.add,w),onClick:N||O?F:void 0},Ue==="button"&&{type:"button"},{children:[!j&&ke,!j&&B&&ye,j&&V.jsx("input",Object.assign({className:J(se.labelContent),type:"text",id:"editable-input",ref:g,value:r,onChange:at},h))]}))};Cs.displayName="Label";const $t={gallery:"pf-v6-l-gallery",modifiers:{gutter:"pf-m-gutter"}},Ts={name:"--pf-v6-l-gallery--GridTemplateColumns--min",value:"250px",var:"var(--pf-v6-l-gallery--GridTemplateColumns--min)"},_s={name:"--pf-v6-l-gallery--GridTemplateColumns--max",value:"1fr",var:"var(--pf-v6-l-gallery--GridTemplateColumns--max)"},ks=E=>{var{children:l=null,className:w="",component:C="div",hasGutter:m=!1,minWidths:b,maxWidths:S}=E,k=ue(E,["children","className","component","hasGutter","minWidths","maxWidths"]);const c={},o=C;b&&Object.entries(b||{}).map(([T,I])=>c[`${Ts.name}${T!=="default"?`-on-${T}`:""}`]=I);const h={};S&&Object.entries(S||{}).map(([T,I])=>h[`${_s.name}${T!=="default"?`-on-${T}`:""}`]=I);const d=Object.assign(Object.assign({},c),h);return V.jsx(o,Object.assign({className:J($t.gallery,m&&$t.modifiers.gutter,w)},k,(b||S)&&{style:Object.assign(Object.assign({},d),k.style)},{children:l}))};ks.displayName="Gallery";const Es=E=>{var{children:l=null,component:w="div"}=E,C=ue(E,["children","component"]);const m=w;return V.jsx(m,Object.assign({},C,{children:l}))};Es.displayName="GalleryItem";const Je={modifiers:{wrap:"pf-m-wrap",fill:"pf-m-fill",gutter:"pf-m-gutter"},split:"pf-v6-l-split",splitItem:"pf-v6-l-split__item"},As=E=>{var{hasGutter:l=!1,isWrappable:w=!1,className:C="",children:m=null,component:b="div"}=E,S=ue(E,["hasGutter","isWrappable","className","children","component"]);const k=b;return V.jsx(k,Object.assign({},S,{className:J(Je.split,l&&Je.modifiers.gutter,w&&Je.modifiers.wrap,C),children:m}))};As.displayName="Split";const Ns=E=>{var{isFilled:l=!1,className:w="",children:C=null,component:m="div"}=E,b=ue(E,["isFilled","className","children","component"]);const S=m;return V.jsx(S,Object.assign({},b,{className:J(Je.splitItem,l&&Je.modifiers.fill,w),children:C}))};Ns.displayName="SplitItem";const Is={name:"ListIcon",height:512,width:512,svgPath:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z",yOffset:0,xOffset:0},Xs=pi(Is),Ps={name:"ThIcon",height:512,width:512,svgPath:"M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zm181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24zm-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zM181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24z",yOffset:0,xOffset:0},zs=pi(Ps);var ze={exports:{}},Ls=ze.exports,ei;function Le(){return ei||(ei=1,function(E,l){(function(w,C){C(l)})(Ls,function(w){var C=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],m=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],b="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",k={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},c="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:c,"5module":c+" export import",6:c+" const class extends export import super"},h=/^in(stanceof)?$/,d=new RegExp("["+S+"]"),T=new RegExp("["+S+b+"]");function I(e,t){for(var i=65536,a=0;a<t.length;a+=2){if(i+=t[a],i>e)return!1;if(i+=t[a+1],i>=e)return!0}return!1}function B(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&d.test(String.fromCharCode(e)):t===!1?!1:I(e,m)}function F(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&T.test(String.fromCharCode(e)):t===!1?!1:I(e,m)||I(e,C)}var L=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function M(e,t){return new L(e,{beforeExpr:!0,binop:t})}var H={beforeExpr:!0},W={startsExpr:!0},re={};function v(e,t){return t===void 0&&(t={}),t.keyword=e,re[e]=new L(e,t)}var n={num:new L("num",W),regexp:new L("regexp",W),string:new L("string",W),name:new L("name",W),privateId:new L("privateId",W),eof:new L("eof"),bracketL:new L("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new L("]"),braceL:new L("{",{beforeExpr:!0,startsExpr:!0}),braceR:new L("}"),parenL:new L("(",{beforeExpr:!0,startsExpr:!0}),parenR:new L(")"),comma:new L(",",H),semi:new L(";",H),colon:new L(":",H),dot:new L("."),question:new L("?",H),questionDot:new L("?."),arrow:new L("=>",H),template:new L("template"),invalidTemplate:new L("invalidTemplate"),ellipsis:new L("...",H),backQuote:new L("`",W),dollarBraceL:new L("${",{beforeExpr:!0,startsExpr:!0}),eq:new L("=",{beforeExpr:!0,isAssign:!0}),assign:new L("_=",{beforeExpr:!0,isAssign:!0}),incDec:new L("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new L("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:M("||",1),logicalAND:M("&&",2),bitwiseOR:M("|",3),bitwiseXOR:M("^",4),bitwiseAND:M("&",5),equality:M("==/!=/===/!==",6),relational:M("</>/<=/>=",7),bitShift:M("<</>>/>>>",8),plusMin:new L("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:M("%",10),star:M("*",10),slash:M("/",10),starstar:new L("**",{beforeExpr:!0}),coalesce:M("??",1),_break:v("break"),_case:v("case",H),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",H),_do:v("do",{isLoop:!0,beforeExpr:!0}),_else:v("else",H),_finally:v("finally"),_for:v("for",{isLoop:!0}),_function:v("function",W),_if:v("if"),_return:v("return",H),_switch:v("switch"),_throw:v("throw",H),_try:v("try"),_var:v("var"),_const:v("const"),_while:v("while",{isLoop:!0}),_with:v("with"),_new:v("new",{beforeExpr:!0,startsExpr:!0}),_this:v("this",W),_super:v("super",W),_class:v("class",W),_extends:v("extends",H),_export:v("export"),_import:v("import",W),_null:v("null",W),_true:v("true",W),_false:v("false",W),_in:v("in",{beforeExpr:!0,binop:7}),_instanceof:v("instanceof",{beforeExpr:!0,binop:7}),_typeof:v("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},P=/\r\n?|\n|\u2028|\u2029/,j=new RegExp(P.source,"g");function y(e){return e===10||e===13||e===8232||e===8233}function r(e,t,i){i===void 0&&(i=e.length);for(var a=t;a<i;a++){var u=e.charCodeAt(a);if(y(u))return a<i-1&&u===13&&e.charCodeAt(a+1)===10?a+2:a+1}return-1}var s=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,p=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,g=Object.prototype,N=g.hasOwnProperty,O=g.toString,X=Object.hasOwn||function(e,t){return N.call(e,t)},Q=Array.isArray||function(e){return O.call(e)==="[object Array]"},Y=Object.create(null);function Z(e){return Y[e]||(Y[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function K(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var Oe=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ye=function(t,i){this.line=t,this.column=i};ye.prototype.offset=function(t){return new ye(this.line,this.column+t)};var he=function(t,i,a){this.start=i,this.end=a,t.sourceFile!==null&&(this.source=t.sourceFile)};function me(e,t){for(var i=1,a=0;;){var u=r(e,a,t);if(u<0)return new ye(i,t-a);++i,a=u}}var Te={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Ke=!1;function Qe(e){var t={};for(var i in Te)t[i]=e&&X(e,i)?e[i]:Te[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!Ke&&typeof console=="object"&&console.warn&&(Ke=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
2
2
|
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Q(t.onToken)){var a=t.onToken;t.onToken=function(u){return a.push(u)}}return Q(t.onComment)&&(t.onComment=at(t,t.onComment)),t}function at(e,t){return function(i,a,u,f,x,_){var A={type:i?"Block":"Line",value:a,start:u,end:f};e.locations&&(A.loc=new he(this,x,_)),e.ranges&&(A.range=[u,f]),t.push(A)}}var ve=1,_e=2,Re=4,Ye=8,ke=16,Ue=32,ee=64,Ve=128,xe=256,ge=512,De=ve|_e|xe;function Ae(e,t){return _e|(e?Re:0)|(t?Ye:0)}var Ne=0,nt=1,we=2,wt=3,Ct=4,Tt=5,ne=function(t,i,a){this.options=t=Qe(t),this.sourceFile=t.sourceFile,this.keywords=Z(o[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var u="";t.allowReserved!==!0&&(u=k[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(u+=" await")),this.reservedWords=Z(u);var f=(u?u+" ":"")+k.strict;this.reservedWordsStrict=Z(f),this.reservedWordsStrictBind=Z(f+" "+k.strictBind),this.input=String(i),this.containsEsc=!1,a?(this.pos=a,this.lineStart=this.input.lastIndexOf(`
|
|
3
3
|
`,a-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(P).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=n.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ve),this.regexpState=null,this.privateNameStack=[]},be={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};ne.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},be.inFunction.get=function(){return(this.currentVarScope().flags&_e)>0},be.inGenerator.get=function(){return(this.currentVarScope().flags&Ye)>0},be.inAsync.get=function(){return(this.currentVarScope().flags&Re)>0},be.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(xe|ge))return!1;if(i&_e)return(i&Re)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},be.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&ee)>0||this.options.allowSuperOutsideMethod},be.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ve)>0},be.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},be.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(xe|ge)||i&_e&&!(i&ke))return!0}return!1},be.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&xe)>0},ne.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var a=this,u=0;u<t.length;u++)a=t[u](a);return a},ne.parse=function(t,i){return new this(i,t).parse()},ne.parseExpressionAt=function(t,i,a){var u=new this(a,t,i);return u.nextToken(),u.parseExpression()},ne.tokenizer=function(t,i){return new this(i,t)},Object.defineProperties(ne.prototype,be);var le=ne.prototype,wi=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;le.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){p.lastIndex=e,e+=p.exec(this.input)[0].length;var t=wi.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){p.lastIndex=e+t[0].length;var i=p.exec(this.input),a=i.index+i[0].length,u=this.input.charAt(a);return u===";"||u==="}"||P.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(u)||u==="!"&&this.input.charAt(a+1)==="=")}e+=t[0].length,p.lastIndex=e,e+=p.exec(this.input)[0].length,this.input[e]===";"&&e++}},le.eat=function(e){return this.type===e?(this.next(),!0):!1},le.isContextual=function(e){return this.type===n.name&&this.value===e&&!this.containsEsc},le.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},le.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},le.canInsertSemicolon=function(){return this.type===n.eof||this.type===n.braceR||P.test(this.input.slice(this.lastTokEnd,this.start))},le.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},le.semicolon=function(){!this.eat(n.semi)&&!this.insertSemicolon()&&this.unexpected()},le.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},le.expect=function(e){this.eat(e)||this.unexpected()},le.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Ze=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};le.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}},le.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,a=e.doubleProto;if(!t)return i>=0||a>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),a>=0&&this.raiseRecoverable(a,"Redefinition of __proto__ property")},le.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},le.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var D=ne.prototype;D.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==n.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var a=0,u=Object.keys(this.undefinedExports);a<u.length;a+=1){var f=u[a];this.raiseRecoverable(this.undefinedExports[f].start,"Export '"+f+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var ot={kind:"loop"},Ci={kind:"switch"};D.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;p.lastIndex=this.pos;var t=p.exec(this.input),i=this.pos+t[0].length,a=this.input.charCodeAt(i);if(a===91||a===92)return!0;if(e)return!1;if(a===123||a>55295&&a<56320)return!0;if(B(a,!0)){for(var u=i+1;F(a=this.input.charCodeAt(u),!0);)++u;if(a===92||a>55295&&a<56320)return!0;var f=this.input.slice(i,u);if(!h.test(f))return!0}return!1},D.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;p.lastIndex=this.pos;var e=p.exec(this.input),t=this.pos+e[0].length,i;return!P.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(F(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))},D.parseStatement=function(e,t,i){var a=this.type,u=this.startNode(),f;switch(this.isLet(e)&&(a=n._var,f="let"),a){case n._break:case n._continue:return this.parseBreakContinueStatement(u,a.keyword);case n._debugger:return this.parseDebuggerStatement(u);case n._do:return this.parseDoStatement(u);case n._for:return this.parseForStatement(u);case n._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(u,!1,!e);case n._class:return e&&this.unexpected(),this.parseClass(u,!0);case n._if:return this.parseIfStatement(u);case n._return:return this.parseReturnStatement(u);case n._switch:return this.parseSwitchStatement(u);case n._throw:return this.parseThrowStatement(u);case n._try:return this.parseTryStatement(u);case n._const:case n._var:return f=f||this.value,e&&f!=="var"&&this.unexpected(),this.parseVarStatement(u,f);case n._while:return this.parseWhileStatement(u);case n._with:return this.parseWithStatement(u);case n.braceL:return this.parseBlock(!0,u);case n.semi:return this.parseEmptyStatement(u);case n._export:case n._import:if(this.options.ecmaVersion>10&&a===n._import){p.lastIndex=this.pos;var x=p.exec(this.input),_=this.pos+x[0].length,A=this.input.charCodeAt(_);if(A===40||A===46)return this.parseExpressionStatement(u,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),a===n._import?this.parseImport(u):this.parseExport(u,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(u,!0,!e);var G=this.value,U=this.parseExpression();return a===n.name&&U.type==="Identifier"&&this.eat(n.colon)?this.parseLabeledStatement(u,G,U,e):this.parseExpressionStatement(u,U)}},D.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(n.semi)||this.insertSemicolon()?e.label=null:this.type!==n.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var a=0;a<this.labels.length;++a){var u=this.labels[a];if((e.label==null||u.name===e.label.name)&&(u.kind!=null&&(i||u.kind==="loop")||e.label&&i))break}return a===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")},D.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},D.parseDoStatement=function(e){return this.next(),this.labels.push(ot),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(n._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(n.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},D.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ot),this.enterScope(0),this.expect(n.parenL),this.type===n.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===n._var||this.type===n._const||i){var a=this.startNode(),u=i?"let":this.value;return this.next(),this.parseVar(a,!0,u),this.finishNode(a,"VariableDeclaration"),(this.type===n._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&a.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===n._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,a)):(t>-1&&this.unexpected(t),this.parseFor(e,a))}var f=this.isContextual("let"),x=!1,_=this.containsEsc,A=new Ze,G=this.start,U=t>-1?this.parseExprSubscripts(A,"await"):this.parseExpression(!0,A);return this.type===n._in||(x=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===n._in&&this.unexpected(t),e.await=!0):x&&this.options.ecmaVersion>=8&&(U.start===G&&!_&&U.type==="Identifier"&&U.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),f&&x&&this.raise(U.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(U,!1,A),this.checkLValPattern(U),this.parseForIn(e,U)):(this.checkExpressionErrors(A,!0),t>-1&&this.unexpected(t),this.parseFor(e,U))},D.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,He|(i?0:ut),!1,t)},D.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(n._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},D.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(n.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},D.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(n.braceL),this.labels.push(Ci),this.enterScope(0);for(var t,i=!1;this.type!==n.braceR;)if(this.type===n._case||this.type===n._default){var a=this.type===n._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),a?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(n.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},D.parseThrowStatement=function(e){return this.next(),P.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Ti=[];D.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?Ue:0),this.checkLValPattern(e,t?Ct:we),this.expect(n.parenR),e},D.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===n._catch){var t=this.startNode();this.next(),this.eat(n.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(n._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},D.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")},D.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(ot),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},D.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},D.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},D.parseLabeledStatement=function(e,t,i,a){for(var u=0,f=this.labels;u<f.length;u+=1){var x=f[u];x.name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var _=this.type.isLoop?"loop":this.type===n._switch?"switch":null,A=this.labels.length-1;A>=0;A--){var G=this.labels[A];if(G.statementStart===e.start)G.statementStart=this.start,G.kind=_;else break}return this.labels.push({name:t,kind:_,statementStart:this.start}),e.body=this.parseStatement(a?a.indexOf("label")===-1?a+"label":a:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")},D.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},D.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(n.braceL),e&&this.enterScope(0);this.type!==n.braceR;){var a=this.parseStatement(null);t.body.push(a)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},D.parseFor=function(e,t){return e.init=t,this.expect(n.semi),e.test=this.type===n.semi?null:this.parseExpression(),this.expect(n.semi),e.update=this.type===n.parenR?null:this.parseExpression(),this.expect(n.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},D.parseForIn=function(e,t){var i=this.type===n._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(n.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")},D.parseVar=function(e,t,i,a){for(e.declarations=[],e.kind=i;;){var u=this.startNode();if(this.parseVarId(u,i),this.eat(n.eq)?u.init=this.parseMaybeAssign(t):!a&&i==="const"&&!(this.type===n._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!a&&u.id.type!=="Identifier"&&!(t&&(this.type===n._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):u.init=null,e.declarations.push(this.finishNode(u,"VariableDeclarator")),!this.eat(n.comma))break}return e},D.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?nt:we,!1)};var He=1,ut=2,_t=4;D.parseFunction=function(e,t,i,a,u){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!a)&&(this.type===n.star&&t&ut&&this.unexpected(),e.generator=this.eat(n.star)),this.options.ecmaVersion>=8&&(e.async=!!a),t&He&&(e.id=t&_t&&this.type!==n.name?null:this.parseIdent(),e.id&&!(t&ut)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?nt:we:wt));var f=this.yieldPos,x=this.awaitPos,_=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ae(e.async,e.generator)),t&He||(e.id=this.type===n.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,u),this.yieldPos=f,this.awaitPos=x,this.awaitIdentPos=_,this.finishNode(e,t&He?"FunctionDeclaration":"FunctionExpression")},D.parseFunctionParams=function(e){this.expect(n.parenL),e.params=this.parseBindingList(n.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},D.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var a=this.enterClassBody(),u=this.startNode(),f=!1;for(u.body=[],this.expect(n.braceL);this.type!==n.braceR;){var x=this.parseClassElement(e.superClass!==null);x&&(u.body.push(x),x.type==="MethodDefinition"&&x.kind==="constructor"?(f&&this.raiseRecoverable(x.start,"Duplicate constructor in the same class"),f=!0):x.key&&x.key.type==="PrivateIdentifier"&&_i(a,x)&&this.raiseRecoverable(x.key.start,"Identifier '#"+x.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(u,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},D.parseClassElement=function(e){if(this.eat(n.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),a="",u=!1,f=!1,x="method",_=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(n.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===n.star?_=!0:a="static"}if(i.static=_,!a&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===n.star)&&!this.canInsertSemicolon()?f=!0:a="async"),!a&&(t>=9||!f)&&this.eat(n.star)&&(u=!0),!a&&!f&&!u){var A=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?x=A:a=A)}if(a?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=a,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===n.parenL||x!=="method"||u||f){var G=!i.static&&$e(i,"constructor"),U=G&&e;G&&x!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=G?"constructor":x,this.parseClassMethod(i,u,f,U)}else this.parseClassField(i);return i},D.isClassElementNameStart=function(){return this.type===n.name||this.type===n.privateId||this.type===n.num||this.type===n.string||this.type===n.bracketL||this.type.keyword},D.parseClassElementName=function(e){this.type===n.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},D.parseClassMethod=function(e,t,i,a){var u=e.key;e.kind==="constructor"?(t&&this.raise(u.start,"Constructor can't be a generator"),i&&this.raise(u.start,"Constructor can't be an async method")):e.static&&$e(e,"prototype")&&this.raise(u.start,"Classes may not have a static property named prototype");var f=e.value=this.parseMethod(t,i,a);return e.kind==="get"&&f.params.length!==0&&this.raiseRecoverable(f.start,"getter should have no params"),e.kind==="set"&&f.params.length!==1&&this.raiseRecoverable(f.start,"setter should have exactly one param"),e.kind==="set"&&f.params[0].type==="RestElement"&&this.raiseRecoverable(f.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},D.parseClassField=function(e){return $e(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&$e(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(n.eq)?(this.enterScope(ge|ee),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},D.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(xe|ee);this.type!==n.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},D.parseClassId=function(e,t){this.type===n.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,we,!1)):(t===!0&&this.unexpected(),e.id=null)},D.parseClassSuper=function(e){e.superClass=this.eat(n._extends)?this.parseExprSubscripts(null,!1):null},D.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},D.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var a=this.privateNameStack.length,u=a===0?null:this.privateNameStack[a-1],f=0;f<i.length;++f){var x=i[f];X(t,x.name)||(u?u.used.push(x):this.raiseRecoverable(x.start,"Private field '#"+x.name+"' must be declared in an enclosing class"))}};function _i(e,t){var i=t.key.name,a=e[i],u="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(u=(t.static?"s":"i")+t.kind),a==="iget"&&u==="iset"||a==="iset"&&u==="iget"||a==="sget"&&u==="sset"||a==="sset"&&u==="sget"?(e[i]="true",!1):a?!0:(e[i]=u,!1)}function $e(e,t){var i=e.computed,a=e.key;return!i&&(a.type==="Identifier"&&a.name===t||a.type==="Literal"&&a.value===t)}D.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==n.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},D.parseExport=function(e,t){if(this.next(),this.eat(n.star))return this.parseExportAllDeclaration(e,t);if(this.eat(n._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==n.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var i=0,a=e.specifiers;i<a.length;i+=1){var u=a[i];this.checkUnreserved(u.local),this.checkLocalExport(u.local),u.local.type==="Literal"&&this.raise(u.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},D.parseExportDeclaration=function(e){return this.parseStatement(null)},D.parseExportDefaultDeclaration=function(){var e;if(this.type===n._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,He|_t,!1,e)}else if(this.type===n._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var a=this.parseMaybeAssign();return this.semicolon(),a}},D.checkExport=function(e,t,i){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),X(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)},D.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier")this.checkExport(e,t,t.start);else if(i==="ObjectPattern")for(var a=0,u=t.properties;a<u.length;a+=1){var f=u[a];this.checkPatternExport(e,f)}else if(i==="ArrayPattern")for(var x=0,_=t.elements;x<_.length;x+=1){var A=_[x];A&&this.checkPatternExport(e,A)}else i==="Property"?this.checkPatternExport(e,t.value):i==="AssignmentPattern"?this.checkPatternExport(e,t.left):i==="RestElement"&&this.checkPatternExport(e,t.argument)},D.checkVariableExport=function(e,t){if(e)for(var i=0,a=t;i<a.length;i+=1){var u=a[i];this.checkPatternExport(e,u.id)}},D.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},D.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},D.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(n.braceL);!this.eat(n.braceR);){if(i)i=!1;else if(this.expect(n.comma),this.afterTrailingComma(n.braceR))break;t.push(this.parseExportSpecifier(e))}return t},D.parseImport=function(e){return this.next(),this.type===n.string?(e.specifiers=Ti,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===n.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},D.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,we),this.finishNode(e,"ImportSpecifier")},D.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,we),this.finishNode(e,"ImportDefaultSpecifier")},D.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,we),this.finishNode(e,"ImportNamespaceSpecifier")},D.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===n.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(n.comma)))return e;if(this.type===n.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(n.braceL);!this.eat(n.braceR);){if(t)t=!1;else if(this.expect(n.comma),this.afterTrailingComma(n.braceR))break;e.push(this.parseImportSpecifier())}return e},D.parseWithClause=function(){var e=[];if(!this.eat(n._with))return e;this.expect(n.braceL);for(var t={},i=!0;!this.eat(n.braceR);){if(i)i=!1;else if(this.expect(n.comma),this.afterTrailingComma(n.braceR))break;var a=this.parseImportAttribute(),u=a.key.type==="Identifier"?a.key.name:a.key.value;X(t,u)&&this.raiseRecoverable(a.key.start,"Duplicate attribute key '"+u+"'"),t[u]=!0,e.push(a)}return e},D.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===n.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(n.colon),this.type!==n.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},D.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===n.string){var e=this.parseLiteral(this.value);return Oe.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},D.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},D.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var ce=ne.prototype;ce.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var a=0,u=e.properties;a<u.length;a+=1){var f=u[a];this.toAssignable(f,t),f.type==="RestElement"&&(f.argument.type==="ArrayPattern"||f.argument.type==="ObjectPattern")&&this.raise(f.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return e},ce.toAssignableList=function(e,t){for(var i=e.length,a=0;a<i;a++){var u=e[a];u&&this.toAssignable(u,t)}if(i){var f=e[i-1];this.options.ecmaVersion===6&&t&&f&&f.type==="RestElement"&&f.argument.type!=="Identifier"&&this.unexpected(f.argument.start)}return e},ce.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},ce.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==n.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},ce.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case n.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(n.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case n.braceL:return this.parseObj(!0)}return this.parseIdent()},ce.parseBindingList=function(e,t,i,a){for(var u=[],f=!0;!this.eat(e);)if(f?f=!1:this.expect(n.comma),t&&this.type===n.comma)u.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===n.ellipsis){var x=this.parseRestBinding();this.parseBindingListItem(x),u.push(x),this.type===n.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else u.push(this.parseAssignableListItem(a))}return u},ce.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},ce.parseBindingListItem=function(e){return e},ce.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(n.eq))return i;var a=this.startNodeAt(e,t);return a.left=i,a.right=this.parseMaybeAssign(),this.finishNode(a,"AssignmentPattern")},ce.checkLValSimple=function(e,t,i){t===void 0&&(t=Ne);var a=t!==Ne;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(a?"Binding ":"Assigning to ")+e.name+" in strict mode"),a&&(t===we&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(X(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==Tt&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":a&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return a&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(a?"Binding":"Assigning to")+" rvalue")}},ce.checkLValPattern=function(e,t,i){switch(t===void 0&&(t=Ne),e.type){case"ObjectPattern":for(var a=0,u=e.properties;a<u.length;a+=1){var f=u[a];this.checkLValInnerPattern(f,t,i)}break;case"ArrayPattern":for(var x=0,_=e.elements;x<_.length;x+=1){var A=_[x];A&&this.checkLValInnerPattern(A,t,i)}break;default:this.checkLValSimple(e,t,i)}},ce.checkLValInnerPattern=function(e,t,i){switch(t===void 0&&(t=Ne),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var pe=function(t,i,a,u,f){this.token=t,this.isExpr=!!i,this.preserveSpace=!!a,this.override=u,this.generator=!!f},ie={b_stat:new pe("{",!1),b_expr:new pe("{",!0),b_tmpl:new pe("${",!1),p_stat:new pe("(",!1),p_expr:new pe("(",!0),q_tmpl:new pe("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new pe("function",!1),f_expr:new pe("function",!0),f_expr_gen:new pe("function",!0,!1,null,!0),f_gen:new pe("function",!1,!1,null,!0)},Be=ne.prototype;Be.initialContext=function(){return[ie.b_stat]},Be.curContext=function(){return this.context[this.context.length-1]},Be.braceIsBlock=function(e){var t=this.curContext();return t===ie.f_expr||t===ie.f_stat?!0:e===n.colon&&(t===ie.b_stat||t===ie.b_expr)?!t.isExpr:e===n._return||e===n.name&&this.exprAllowed?P.test(this.input.slice(this.lastTokEnd,this.start)):e===n._else||e===n.semi||e===n.eof||e===n.parenR||e===n.arrow?!0:e===n.braceL?t===ie.b_stat:e===n._var||e===n._const||e===n.name?!1:!this.exprAllowed},Be.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},Be.updateContext=function(e){var t,i=this.type;i.keyword&&e===n.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr},Be.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},n.parenR.updateContext=n.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ie.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},n.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},n.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},n.parenL.updateContext=function(e){var t=e===n._if||e===n._for||e===n._with||e===n._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},n.incDec.updateContext=function(){},n._function.updateContext=n._class.updateContext=function(e){e.beforeExpr&&e!==n._else&&!(e===n.semi&&this.curContext()!==ie.p_stat)&&!(e===n._return&&P.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===n.colon||e===n.braceL)&&this.curContext()===ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},n.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},n.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},n.star.updateContext=function(e){if(e===n._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},n.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==n.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var q=ne.prototype;q.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var a=e.key,u;switch(a.type){case"Identifier":u=a.name;break;case"Literal":u=String(a.value);break;default:return}var f=e.kind;if(this.options.ecmaVersion>=6){u==="__proto__"&&f==="init"&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=a.start):this.raiseRecoverable(a.start,"Redefinition of __proto__ property")),t.proto=!0);return}u="$"+u;var x=t[u];if(x){var _;f==="init"?_=this.strict&&x.init||x.get||x.set:_=x.init||x[f],_&&this.raiseRecoverable(a.start,"Redefinition of property")}else x=t[u]={init:!1,get:!1,set:!1};x[f]=!0}},q.parseExpression=function(e,t){var i=this.start,a=this.startLoc,u=this.parseMaybeAssign(e,t);if(this.type===n.comma){var f=this.startNodeAt(i,a);for(f.expressions=[u];this.eat(n.comma);)f.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(f,"SequenceExpression")}return u},q.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var a=!1,u=-1,f=-1,x=-1;t?(u=t.parenthesizedAssign,f=t.trailingComma,x=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Ze,a=!0);var _=this.start,A=this.startLoc;(this.type===n.parenL||this.type===n.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var G=this.parseMaybeConditional(e,t);if(i&&(G=i.call(this,G,_,A)),this.type.isAssign){var U=this.startNodeAt(_,A);return U.operator=this.value,this.type===n.eq&&(G=this.toAssignable(G,!1,t)),a||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=G.start&&(t.shorthandAssign=-1),this.type===n.eq?this.checkLValPattern(G):this.checkLValSimple(G),U.left=G,this.next(),U.right=this.parseMaybeAssign(e),x>-1&&(t.doubleProto=x),this.finishNode(U,"AssignmentExpression")}else a&&this.checkExpressionErrors(t,!0);return u>-1&&(t.parenthesizedAssign=u),f>-1&&(t.trailingComma=f),G},q.parseMaybeConditional=function(e,t){var i=this.start,a=this.startLoc,u=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return u;if(this.eat(n.question)){var f=this.startNodeAt(i,a);return f.test=u,f.consequent=this.parseMaybeAssign(),this.expect(n.colon),f.alternate=this.parseMaybeAssign(e),this.finishNode(f,"ConditionalExpression")}return u},q.parseExprOps=function(e,t){var i=this.start,a=this.startLoc,u=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||u.start===i&&u.type==="ArrowFunctionExpression"?u:this.parseExprOp(u,i,a,-1,e)},q.parseExprOp=function(e,t,i,a,u){var f=this.type.binop;if(f!=null&&(!u||this.type!==n._in)&&f>a){var x=this.type===n.logicalOR||this.type===n.logicalAND,_=this.type===n.coalesce;_&&(f=n.logicalAND.binop);var A=this.value;this.next();var G=this.start,U=this.startLoc,oe=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,u),G,U,f,u),Ie=this.buildBinary(t,i,e,oe,A,x||_);return(x&&this.type===n.coalesce||_&&(this.type===n.logicalOR||this.type===n.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Ie,t,i,a,u)}return e},q.buildBinary=function(e,t,i,a,u,f){a.type==="PrivateIdentifier"&&this.raise(a.start,"Private identifier can only be left side of binary expression");var x=this.startNodeAt(e,t);return x.left=i,x.operator=u,x.right=a,this.finishNode(x,f?"LogicalExpression":"BinaryExpression")},q.parseMaybeUnary=function(e,t,i,a){var u=this.start,f=this.startLoc,x;if(this.isContextual("await")&&this.canAwait)x=this.parseAwait(a),t=!0;else if(this.type.prefix){var _=this.startNode(),A=this.type===n.incDec;_.operator=this.value,_.prefix=!0,this.next(),_.argument=this.parseMaybeUnary(null,!0,A,a),this.checkExpressionErrors(e,!0),A?this.checkLValSimple(_.argument):this.strict&&_.operator==="delete"&&kt(_.argument)?this.raiseRecoverable(_.start,"Deleting local variable in strict mode"):_.operator==="delete"&<(_.argument)?this.raiseRecoverable(_.start,"Private fields can not be deleted"):t=!0,x=this.finishNode(_,A?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===n.privateId)(a||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),x=this.parsePrivateIdent(),this.type!==n._in&&this.unexpected();else{if(x=this.parseExprSubscripts(e,a),this.checkExpressionErrors(e))return x;for(;this.type.postfix&&!this.canInsertSemicolon();){var G=this.startNodeAt(u,f);G.operator=this.value,G.prefix=!1,G.argument=x,this.checkLValSimple(x),this.next(),x=this.finishNode(G,"UpdateExpression")}}if(!i&&this.eat(n.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(u,f,x,this.parseMaybeUnary(null,!1,!1,a),"**",!1);else return x};function kt(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&kt(e.expression)}function lt(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&<(e.expression)||e.type==="ParenthesizedExpression"&<(e.expression)}q.parseExprSubscripts=function(e,t){var i=this.start,a=this.startLoc,u=this.parseExprAtom(e,t);if(u.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return u;var f=this.parseSubscripts(u,i,a,!1,t);return e&&f.type==="MemberExpression"&&(e.parenthesizedAssign>=f.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=f.start&&(e.parenthesizedBind=-1),e.trailingComma>=f.start&&(e.trailingComma=-1)),f},q.parseSubscripts=function(e,t,i,a,u){for(var f=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,x=!1;;){var _=this.parseSubscript(e,t,i,a,f,x,u);if(_.optional&&(x=!0),_===e||_.type==="ArrowFunctionExpression"){if(x){var A=this.startNodeAt(t,i);A.expression=_,_=this.finishNode(A,"ChainExpression")}return _}e=_}},q.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(n.arrow)},q.parseSubscriptAsyncArrow=function(e,t,i,a){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,a)},q.parseSubscript=function(e,t,i,a,u,f,x){var _=this.options.ecmaVersion>=11,A=_&&this.eat(n.questionDot);a&&A&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var G=this.eat(n.bracketL);if(G||A&&this.type!==n.parenL&&this.type!==n.backQuote||this.eat(n.dot)){var U=this.startNodeAt(t,i);U.object=e,G?(U.property=this.parseExpression(),this.expect(n.bracketR)):this.type===n.privateId&&e.type!=="Super"?U.property=this.parsePrivateIdent():U.property=this.parseIdent(this.options.allowReserved!=="never"),U.computed=!!G,_&&(U.optional=A),e=this.finishNode(U,"MemberExpression")}else if(!a&&this.eat(n.parenL)){var oe=new Ze,Ie=this.yieldPos,Xe=this.awaitPos,je=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var rt=this.parseExprList(n.parenR,this.options.ecmaVersion>=8,!1,oe);if(u&&!A&&this.shouldParseAsyncArrow())return this.checkPatternErrors(oe,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Ie,this.awaitPos=Xe,this.awaitIdentPos=je,this.parseSubscriptAsyncArrow(t,i,rt,x);this.checkExpressionErrors(oe,!0),this.yieldPos=Ie||this.yieldPos,this.awaitPos=Xe||this.awaitPos,this.awaitIdentPos=je||this.awaitIdentPos;var Fe=this.startNodeAt(t,i);Fe.callee=e,Fe.arguments=rt,_&&(Fe.optional=A),e=this.finishNode(Fe,"CallExpression")}else if(this.type===n.backQuote){(A||f)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Me=this.startNodeAt(t,i);Me.tag=e,Me.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(Me,"TaggedTemplateExpression")}return e},q.parseExprAtom=function(e,t,i){this.type===n.slash&&this.readRegexp();var a,u=this.potentialArrowAt===this.start;switch(this.type){case n._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),a=this.startNode(),this.next(),this.type===n.parenL&&!this.allowDirectSuper&&this.raise(a.start,"super() call outside constructor of a subclass"),this.type!==n.dot&&this.type!==n.bracketL&&this.type!==n.parenL&&this.unexpected(),this.finishNode(a,"Super");case n._this:return a=this.startNode(),this.next(),this.finishNode(a,"ThisExpression");case n.name:var f=this.start,x=this.startLoc,_=this.containsEsc,A=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!_&&A.name==="async"&&!this.canInsertSemicolon()&&this.eat(n._function))return this.overrideContext(ie.f_expr),this.parseFunction(this.startNodeAt(f,x),0,!1,!0,t);if(u&&!this.canInsertSemicolon()){if(this.eat(n.arrow))return this.parseArrowExpression(this.startNodeAt(f,x),[A],!1,t);if(this.options.ecmaVersion>=8&&A.name==="async"&&this.type===n.name&&!_&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return A=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(n.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(f,x),[A],!0,t)}return A;case n.regexp:var G=this.value;return a=this.parseLiteral(G.value),a.regex={pattern:G.pattern,flags:G.flags},a;case n.num:case n.string:return this.parseLiteral(this.value);case n._null:case n._true:case n._false:return a=this.startNode(),a.value=this.type===n._null?null:this.type===n._true,a.raw=this.type.keyword,this.next(),this.finishNode(a,"Literal");case n.parenL:var U=this.start,oe=this.parseParenAndDistinguishExpression(u,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(oe)&&(e.parenthesizedAssign=U),e.parenthesizedBind<0&&(e.parenthesizedBind=U)),oe;case n.bracketL:return a=this.startNode(),this.next(),a.elements=this.parseExprList(n.bracketR,!0,!0,e),this.finishNode(a,"ArrayExpression");case n.braceL:return this.overrideContext(ie.b_expr),this.parseObj(!1,e);case n._function:return a=this.startNode(),this.next(),this.parseFunction(a,0);case n._class:return this.parseClass(this.startNode(),!1);case n._new:return this.parseNew();case n.backQuote:return this.parseTemplate();case n._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}},q.parseExprAtomDefault=function(){this.unexpected()},q.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===n.parenL&&!e)return this.parseDynamicImport(t);if(this.type===n.dot){var i=this.startNodeAt(t.start,t.loc&&t.loc.start);return i.name="import",t.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(t)}else this.unexpected()},q.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(n.parenR)?e.options=null:(this.expect(n.comma),this.afterTrailingComma(n.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(n.parenR)||(this.expect(n.comma),this.afterTrailingComma(n.parenR)||this.unexpected())));else if(!this.eat(n.parenR)){var t=this.start;this.eat(n.comma)&&this.eat(n.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},q.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},q.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},q.parseParenExpression=function(){this.expect(n.parenL);var e=this.parseExpression();return this.expect(n.parenR),e},q.shouldParseArrow=function(e){return!this.canInsertSemicolon()},q.parseParenAndDistinguishExpression=function(e,t){var i=this.start,a=this.startLoc,u,f=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var x=this.start,_=this.startLoc,A=[],G=!0,U=!1,oe=new Ze,Ie=this.yieldPos,Xe=this.awaitPos,je;for(this.yieldPos=0,this.awaitPos=0;this.type!==n.parenR;)if(G?G=!1:this.expect(n.comma),f&&this.afterTrailingComma(n.parenR,!0)){U=!0;break}else if(this.type===n.ellipsis){je=this.start,A.push(this.parseParenItem(this.parseRestBinding())),this.type===n.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else A.push(this.parseMaybeAssign(!1,oe,this.parseParenItem));var rt=this.lastTokEnd,Fe=this.lastTokEndLoc;if(this.expect(n.parenR),e&&this.shouldParseArrow(A)&&this.eat(n.arrow))return this.checkPatternErrors(oe,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Ie,this.awaitPos=Xe,this.parseParenArrowList(i,a,A,t);(!A.length||U)&&this.unexpected(this.lastTokStart),je&&this.unexpected(je),this.checkExpressionErrors(oe,!0),this.yieldPos=Ie||this.yieldPos,this.awaitPos=Xe||this.awaitPos,A.length>1?(u=this.startNodeAt(x,_),u.expressions=A,this.finishNodeAt(u,"SequenceExpression",rt,Fe)):u=A[0]}else u=this.parseParenExpression();if(this.options.preserveParens){var Me=this.startNodeAt(i,a);return Me.expression=u,this.finishNode(Me,"ParenthesizedExpression")}else return u},q.parseParenItem=function(e){return e},q.parseParenArrowList=function(e,t,i,a){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,a)};var ki=[];q.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===n.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var a=this.start,u=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),a,u,!0,!1),this.eat(n.parenL)?e.arguments=this.parseExprList(n.parenR,this.options.ecmaVersion>=8,!1):e.arguments=ki,this.finishNode(e,"NewExpression")},q.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===n.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,`
|
|
4
4
|
`),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|