@workday/canvas-kit-mcp 15.0.1 → 15.0.3
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/apps/action-bar.html +1 -1
- package/dist/apps/breadcrumbs.html +1 -1
- package/dist/apps/form-field.html +1 -1
- package/dist/apps/menu.html +1 -1
- package/dist/apps/modal.html +1 -1
- package/dist/apps/multiselect.html +1 -1
- package/dist/apps/select.html +1 -1
- package/dist/apps/tabs.html +1 -1
- package/dist/cli.js +1 -2
- package/dist/cli.js.map +2 -2
- package/dist/index.js +1 -2
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
|
@@ -295,7 +295,7 @@ ${s}
|
|
|
295
295
|
</svg>`,filename:"wd-icon-check-small.svg",category:"Notification",tags:["success","complete","check mark","check box"]},rne={name:"chevron-right-small",type:to.System,svg:`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" class="wd-icon wd-icon-chevron-right-small" viewBox="0 0 24 24" role="presentation" focusable="false"><path fill="oklch(0.3523 0 0 / 1)" d="M9.958 6.112a.5.5 0 0 1 .704.07l1.617 1.976.007.01 2.56 3.128a1 1 0 0 1 0 1.266l-4.184 5.113a.5.5 0 0 1-.704.071l-.775-.633a.5.5 0 0 1-.07-.704l3.666-4.48L9.92 8.437l.001-.001-.808-.988a.5.5 0 0 1 .07-.703z" class="wd-icon-fill"/>
|
|
296
296
|
</svg>`,filename:"wd-icon-chevron-right-small.svg",category:"Navigation",tags:["navigation","arrow"]},ane={name:"notifications",type:to.System,svg:`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" class="wd-icon wd-icon-notifications" viewBox="0 0 24 24" role="presentation" focusable="false"><path fill="transparent" d="M12 2a2 2 0 0 1 2 2c0 .161.093.312.245.363C16.447 5.104 18 6.9 18 9v2.307c0 1.898 1.13 3.573 2.593 4.781l.239.202a.5.5 0 0 1 .168.371v.839a.5.5 0 0 1-.5.5h-17a.5.5 0 0 1-.5-.5v-.839a.5.5 0 0 1 .168-.371q.118-.102.239-.202C4.87 14.88 6 13.205 6 11.307V9c0-2.1 1.553-3.896 3.754-4.637A.38.38 0 0 0 10 4a2 2 0 0 1 2-2" class="wd-icon-background"/><path fill="oklch(0.3523 0 0 / 1)" d="M16 19a4 4 0 0 1-8 0H3.5A1.5 1.5 0 0 1 2 17.5v-.839c0-.425.181-.839.514-1.127l.256-.217C4.105 14.214 5 12.795 5 11.307V9c0-2.49 1.73-4.511 4.031-5.436a3 3 0 0 1 5.937 0C17.269 4.488 19 6.51 19 9v2.307c0 1.488.895 2.907 2.23 4.01q.13.108.256.217c.333.288.514.702.514 1.127v.839a1.5 1.5 0 0 1-1.5 1.5zm-6 0a2 2 0 0 0 4 0zm2-16a1 1 0 0 0-1 1c0 .524-.309 1.102-.927 1.31C8.171 5.952 7 7.435 7 9v2.307c0 2.307-1.366 4.238-2.957 5.552L4 16.895V17h16v-.105l-.043-.036C18.366 15.545 17 13.614 17 11.307V9c0-1.566-1.17-3.049-3.073-3.69C13.304 5.102 13 4.52 13 4a1 1 0 0 0-1-1" class="wd-icon-fill"/>
|
|
297
297
|
</svg>`,filename:"wd-icon-notifications.svg",category:"Notification",tags:["notification","alert","bell"]},ine={name:"related-actions",type:to.System,svg:`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" class="wd-icon wd-icon-related-actions" viewBox="0 0 24 24" role="presentation" focusable="false"><path fill="oklch(0.3523 0 0 / 1)" d="M4 9.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5M12 9.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5M20 9.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5" class="wd-icon-fill"/>
|
|
298
|
-
</svg>`,filename:"wd-icon-related-actions.svg",category:"Core",tags:["three","dots","twinkie","more","kebob","menu","dropdown","select","meatballs"]},re=Ge({extends:Iz,vars:{color:"",accentColor:"",backgroundColor:""},base:({size:e,accentColor:t,backgroundColor:n,color:a})=>({"& svg":{width:B(e,gr.systemIcon.size.lg),height:B(e,gr.systemIcon.size.lg)},".wd-icon .wd-icon-fill":{fill:B(a,gr.systemIcon.color.fill)},".wd-icon .wd-icon-accent, & .wd-icon-accent2":{fill:B(t,B(a,gr.systemIcon.color.accent))},".wd-icon .wd-icon-background":{fill:B(n,"transparent")},"@media (prefers-contrast: more)":{".wd-icon .wd-icon-fill, .wd-icon .wd-icon-accent":{color:"currentColor",fill:"currentColor"}}}),modifiers:{}}),xw=He("span")({displayName:"SystemIcon",Component:({accent:e,background:t,color:n,icon:a,size:r,...i},o,s)=>T.jsx(ene,{as:s,src:a,type:to.System,ref:o,...In(i,re({size:Qte(r,gr.systemIcon.size),color:n,accentColor:e,backgroundColor:t}))})}),one=uX(pz.as("span"))({position:"relative",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}),sne=He("span")({displayName:"ButtonLabel",Component:({children:e,...t},n,a)=>T.jsx(one,{as:a,ref:n,...t,children:e})}),lne=Ge({base:{display:"inline-block"},modifiers:{size:{extraSmall:{[re.vars.size]:gr.systemIcon.size.xs},small:{[re.vars.size]:gr.systemIcon.size.md},medium:{[re.vars.size]:gr.systemIcon.size.md},large:{[re.vars.size]:gr.systemIcon.size.lg}}}}),une=He("span")({Component:({icon:e,size:t="medium",shouldMirrorIcon:n=!1,shouldMirrorIconInRTL:a=!1,...r},i,o)=>e===void 0?null:T.jsx(xw,{ref:i,as:o,icon:e,shouldMirror:n,shouldMirrorInRTL:a,...In(r,lne({size:t}))})}),X={default:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius"),focus:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius"),hover:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius"),active:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius"),disabled:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius")},z=Ge({vars:{background:"",border:"",boxShadowInner:"",boxShadowOuter:"",label:"",opacity:"",borderRadius:""},base:({background:e,border:t,boxShadowInner:n,boxShadowOuter:a,label:r,opacity:i,borderRadius:o})=>({fontFamily:et.default,fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,fontWeight:Ye.bold,backgroundColor:B(X.default.background,B(e,"transparent")),color:B(X.default.label,B(r,$.fg.strong)),borderWidth:We(1),borderStyle:"solid",gap:w.gap.sm,borderColor:B(X.default.border,B(t,"transparent")),cursor:"pointer",display:"inline-flex",boxShadow:"none",alignItems:"center",justifyContent:"center",outline:`${We(2)} transparent`,whiteSpace:"nowrap",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",borderRadius:B(X.default.borderRadius,B(o,w.shape.full)),position:"relative",verticalAlign:"middle",overflow:"hidden",[re.vars.color]:B(X.default.icon,$.fg.strong),transition:"box-shadow 120ms linear, border 120ms linear, background-color 120ms linear, color 120ms linear","&:disabled, &:disabled:active, &.disabled":{cursor:"default",boxShadow:"none",opacity:B(X.default.opacity,B(i,Bt.full))},"&:focus-visible, &.focus":{backgroundColor:B(X.focus.background,B(e,"transparent")),borderColor:B(X.focus.border,B(t,"transparent")),color:B(X.focus.label,B(r,$.fg.strong)),[re.vars.color]:B(X.focus.icon,$.fg.strong),outline:`${We(2)} solid transparent`,outlineOffset:We(2),boxShadow:`0 0 0 ${We(2)} ${B(X.focus.boxShadowInner,B(n,w.color.border.inverse.default))},0 0 0 ${We(4)} ${B(X.focus.boxShadowOuter,B(a,w.color.brand.focus.primary))}`},"&:hover, &.hover":{backgroundColor:B(X.hover.background,B(e,w.color.surface.contrast.strong)),borderColor:B(X.hover.border,B(t,"transparent")),color:B(X.hover.label,B(r,$.fg.stronger)),[re.vars.color]:B(X.hover.icon,$.fg.stronger)},"&:hover:active":{transitionDuration:"40ms"},"&:active, &.active":{backgroundColor:B(X.active.background,B(e,"transparent")),borderColor:B(X.active.border,B(t,"transparent")),color:B(X.active.label,B(r,$.fg.strong)),[re.vars.color]:B(X.active.icon,$.fg.strong)},"&:disabled, &.disabled":{backgroundColor:B(X.disabled.background,B(e,"transparent")),borderColor:B(X.disabled.border,B(t,"transparent")),color:B(X.disabled.label,B(r,$.fg.strong)),[re.vars.color]:B(X.disabled.icon,"currentColor")},"@media (prefers-contrast: more)":{'&[aria-pressed="true"]':{outline:`${We(2)} solid transparent`,outlineOffset:`-${We(1)}`},'&[aria-pressed="true"]:focus-visible, &[aria-pressed="true"].focus':{outline:`${We(4)} double transparent`,outlineOffset:0}},svg:{pointerEvents:"none"}}),modifiers:{size:{large:{fontSize:w.fontSize.body.sm,lineHeight:w.lineHeight.body.sm,letterSpacing:w.letterSpacing.body.sm,height:w.size.lg,paddingInline:w.padding.xxl,minWidth:lr.size1400},medium:{fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,minWidth:lr.size1200,paddingInline:w.padding.xl,height:w.size.md},small:{fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,height:w.size.sm,minWidth:lr.size1000,paddingInline:w.padding.md,gap:w.gap.xs},extraSmall:{fontSize:w.fontSize.subtext.md,lineHeight:w.lineHeight.subtext.md,letterSpacing:w.letterSpacing.subtext.md,height:w.size.xs,minWidth:"auto",paddingInline:w.padding.sm,gap:w.gap.xs}},grow:{true:{width:"100%",maxWidth:"100%"}},iconPosition:{only:{padding:0},start:{},end:{}}},compound:[{modifiers:{size:"large",iconPosition:"only"},styles:{minWidth:w.size.lg}},{modifiers:{size:"large",iconPosition:"start"},styles:{paddingInlineStart:w.padding.xl,paddingInlineEnd:w.padding.xxl}},{modifiers:{size:"large",iconPosition:"end"},styles:{paddingInlineStart:w.padding.xxl,paddingInlineEnd:w.padding.xl}},{modifiers:{size:"medium",iconPosition:"only"},styles:{minWidth:w.size.md}},{modifiers:{size:"medium",iconPosition:"start"},styles:{paddingInlineStart:w.padding.lg,paddingInlineEnd:w.padding.xl}},{modifiers:{size:"medium",iconPosition:"end"},styles:{paddingInlineStart:w.padding.xl,paddingInlineEnd:w.padding.lg}},{modifiers:{size:"small",iconPosition:"only"},styles:{minWidth:w.size.sm}},{modifiers:{size:"small",iconPosition:"start"},styles:{paddingInlineStart:w.padding.sm,paddingInlineEnd:w.padding.md}},{modifiers:{size:"small",iconPosition:"end"},styles:{paddingInlineStart:w.padding.md,paddingInlineEnd:w.padding.sm}},{modifiers:{size:"extraSmall",iconPosition:"only"},styles:{minWidth:w.size.xs}},{modifiers:{size:"extraSmall",iconPosition:"start"},styles:{paddingInlineStart:w.padding.xs,paddingInlineEnd:w.padding.sm}},{modifiers:{size:"extraSmall",iconPosition:"end"},styles:{paddingInlineStart:w.padding.sm,paddingInlineEnd:w.padding.xs}}]}),ti=He("button")({displayName:"BaseButton",Component:({children:e,size:t,fillIcon:n,grow:a,iconPosition:r,icon:i,colors:o,...s},l,u)=>T.jsx(u,{ref:l,type:"button",...Dt(s,[z({size:t,iconPosition:r,grow:a}),X.default((o==null?void 0:o.default)||{}),X.focus((o==null?void 0:o.focus)||{}),X.hover((o==null?void 0:o.hover)||{}),X.active((o==null?void 0:o.active)||{}),X.disabled((o==null?void 0:o.disabled)||{})]),children:e}),subComponents:{Icon:une,Label:sne}}),Rw=He("button")({displayName:"Button",Component:({children:e,icon:t,colors:n,iconPosition:a,shouldMirrorIcon:r,shouldMirrorIconInRTL:i,size:o="medium",...s},l,u)=>{const c=a||(t?e?"start":"only":void 0);return T.jsxs(ti,{as:u,ref:l,size:o,icon:t,colors:n,iconPosition:c,...s,children:[t&&c==="start"&&T.jsx(ti.Icon,{size:o,icon:t,shouldMirrorIcon:r,shouldMirrorIconInRTL:i}),e&&T.jsx(ti.Label,{children:e}),t&&c&&["only","end"].includes(c)&&T.jsx(ti.Icon,{size:o,icon:t,shouldMirrorIcon:r,shouldMirrorIconInRTL:i})]})}}),cne=Ge({extends:z,base:{[z.vars.background]:B(St.base,w.color.brand.accent.primary),[z.vars.borderRadius]:w.shape.full,[z.vars.label]:B(St.accent,$.fg.inverse),[re.vars.color]:B(X.default.icon,"currentColor"),"&:focus-visible, &.focus":{[z.vars.background]:B(St.base,w.color.brand.accent.primary),[z.vars.label]:B(St.accent,$.fg.inverse),[z.vars.boxShadowInner]:w.color.focus.inverse,[z.vars.boxShadowOuter]:w.color.brand.focus.primary,[re.vars.color]:B(X.focus.icon,"currentColor")},"&:hover, &.hover":{[z.vars.background]:mn.darken({color:B(St.base,w.color.brand.accent.primary),mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.hover}),[z.vars.label]:B(St.accent,$.fg.inverse),[re.vars.color]:B(X.hover.icon,"currentColor")},"&:active, &.active":{[z.vars.background]:mn.darken({color:B(St.base,w.color.brand.accent.primary),mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.pressed}),[z.vars.label]:B(St.accent,$.fg.inverse),[re.vars.color]:B(X.active.icon,"currentColor")},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:B(St.base,w.color.brand.accent.primary),[z.vars.label]:B(St.accent,$.fg.inverse),[re.vars.color]:B(X.default.icon,"currentColor")}},modifiers:{variant:{inverse:{[z.vars.background]:B(St.lightest,w.color.surface.inverse),[z.vars.borderRadius]:w.shape.full,[z.vars.label]:$.fg.strong,[re.vars.color]:B(X.default.icon,"currentColor"),"&:hover, &.hover":{[z.vars.background]:mn.darken({color:B(St.lightest,w.color.surface.inverse),mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.hover}),[z.vars.label]:$.fg.stronger,[re.vars.color]:B(X.hover.icon,"currentColor")},"&:focus-visible, &.focus":{[z.vars.background]:B(St.lightest,w.color.surface.inverse),[z.vars.label]:$.fg.strong,[z.vars.boxShadowInner]:$.border.contrast.default,[z.vars.boxShadowOuter]:w.color.focus.inverse,[re.vars.color]:B(X.focus.icon,"currentColor")},"&:active, &.active":{[z.vars.background]:mn.darken({color:B(St.lightest,w.color.surface.inverse),mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.pressed}),[z.vars.label]:$.fg.stronger,[re.vars.color]:B(X.active.icon,"currentColor")},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:B(St.lightest,w.color.surface.inverse),[z.vars.label]:$.fg.strong,[re.vars.color]:B(X.disabled.icon,"currentColor")}}}}}),Aw=He("button")({displayName:"PrimaryButton",Component:({children:e,variant:t,size:n,iconPosition:a,grow:r,cs:i,...o},s,l)=>T.jsx(Rw,{as:l,ref:s,iconPosition:a,size:n,grow:r,cs:[cne({variant:t,iconPosition:a,grow:r,size:n}),i],...o,children:e})}),dne=Ge({extends:z,base:{[z.vars.background]:w.color.surface.transparent,[z.vars.borderRadius]:w.shape.full,[z.vars.border]:$.border.input.default,[z.vars.label]:$.fg.default,[re.vars.color]:B(X.default.icon,"currentColor"),"&:focus-visible, &.focus":{[z.vars.background]:w.color.surface.default,[z.vars.label]:$.fg.strong,[z.vars.boxShadowInner]:w.color.focus.inverse,[z.vars.boxShadowOuter]:w.color.brand.focus.primary,[re.vars.color]:B(X.focus.icon,"currentColor")},"&:hover, &.hover":{[z.vars.background]:mn.darken({color:w.color.surface.transparent,mixinColor:w.color.surface.overlay.mixin,mixinValue:w.opacity.surface.hover}),[z.vars.label]:$.fg.strong,[z.vars.border]:w.color.border.input.hover,[re.vars.color]:B(X.hover.icon,"currentColor")},"&:active, &.active":{[z.vars.background]:mn.darken({color:w.color.surface.transparent,mixinColor:w.color.surface.overlay.mixin,mixinValue:w.opacity.surface.pressed}),[z.vars.label]:$.fg.strong,[z.vars.border]:w.color.border.input.hover,[re.vars.color]:B(X.active.icon,"currentColor")},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:w.color.surface.transparent,[z.vars.label]:$.fg.default,[re.vars.color]:B(X.default.icon,"currentColor")}},modifiers:{variant:{inverse:{[z.vars.background]:w.color.surface.transparent,[z.vars.border]:w.color.border.inverse.default,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.default.icon,"currentColor"),"&:hover, &.hover":{[z.vars.background]:mn.darken({color:w.color.surface.transparent,mixinColor:w.color.surface.overlay.mixin,mixinValue:w.opacity.surface.hover}),[z.vars.border]:w.color.border.inverse.default,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.hover.icon,"currentColor")},"&:focus-visible, &.focus":{[z.vars.background]:w.color.surface.inverse,[z.vars.border]:$.border.transparent,[z.vars.label]:$.fg.contrast.default,[z.vars.boxShadowInner]:$.border.contrast.default,[z.vars.boxShadowOuter]:w.color.focus.inverse,[re.vars.color]:B(X.focus.icon,"currentColor")},"&:active, &.active":{[z.vars.background]:mn.darken({color:w.color.surface.transparent,mixinColor:w.color.surface.overlay.mixin,mixinValue:w.opacity.surface.pressed}),[z.vars.border]:w.color.border.inverse.default,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.active.icon,"currentColor")},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:w.color.surface.transparent,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.default.icon,"currentColor")}}}}}),ip=He("button")({displayName:"SecondaryButton",Component:({children:e,variant:t,size:n,iconPosition:a,grow:r,cs:i,...o},s,l)=>T.jsx(Rw,{as:l,ref:s,iconPosition:a,size:n,grow:r,cs:[dne({variant:t,iconPosition:a,grow:r,size:n}),i],...o,children:e})}),pne=Ge({extends:z,base:{[z.vars.background]:w.color.brand.accent.critical,[z.vars.borderRadius]:w.shape.full,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.default.icon,$.fg.inverse),"&:focus-visible, &.focus":{[z.vars.background]:w.color.brand.accent.critical,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.focus.icon,$.fg.inverse),[z.vars.boxShadowInner]:w.color.focus.inverse,[z.vars.boxShadowOuter]:w.color.brand.focus.primary},"&:hover, &.hover":{[z.vars.background]:mn.darken({color:w.color.brand.accent.critical,mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.hover}),[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.hover.icon,$.fg.inverse)},"&:active, &.active":{[z.vars.background]:mn.darken({color:w.color.brand.accent.critical,mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.pressed}),[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.active.icon,$.fg.inverse)},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:w.color.brand.accent.critical,[re.vars.color]:B(X.disabled.icon,$.fg.inverse),[z.vars.label]:$.fg.inverse}}}),fne=He("button")({displayName:"DeleteButton",Component:({children:e,size:t,iconPosition:n,grow:a,cs:r,...i},o,s)=>T.jsx(Rw,{as:s,ref:o,size:t,grow:a,iconPosition:n,cs:[pne({size:t,iconPosition:n}),r],...i,children:e})});var Sn="top",Dn="bottom",Mn="right",En="left",Nw="auto",Tl=[Sn,Dn,Mn,En],Ni="start",Cw="end",mne="clippingParents",Tz="viewport",bo="popper",gne="reference",$N=Tl.reduce(function(e,t){return e.concat([t+"-"+Ni,t+"-"+Cw])},[]),xz=[].concat(Tl,[Nw]).reduce(function(e,t){return e.concat([t,t+"-"+Ni,t+"-"+Cw])},[]),hne="beforeRead",vne="read",bne="afterRead",yne="beforeMain",Sne="main",Ene="afterMain",_ne="beforeWrite",wne="write",kne="afterWrite",Ine=[hne,vne,bne,yne,Sne,Ene,_ne,wne,kne];function Un(e){return e?(e.nodeName||"").toLowerCase():null}function zn(e){if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ds(e){var t=zn(e).Element;return e instanceof t||e instanceof Element}function er(e){var t=zn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Tne(e){var t=zn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function xne(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var a=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!er(i)||!Un(i)||(Object.assign(i.style,a),Object.keys(r).forEach(function(o){var s=r[o];s===!1?i.removeAttribute(o):i.setAttribute(o,s===!0?"":s)}))})}function Rne(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(a){var r=t.elements[a],i=t.attributes[a]||{},o=Object.keys(t.styles.hasOwnProperty(a)?t.styles[a]:n[a]),s=o.reduce(function(l,u){return l[u]="",l},{});!er(r)||!Un(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(l){r.removeAttribute(l)}))})}}const Ane={name:"applyStyles",enabled:!0,phase:"write",fn:xne,effect:Rne,requires:["computeStyles"]};function Jn(e){return e.split("-")[0]}function Ow(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Rz(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Tne(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function vr(e){return zn(e).getComputedStyle(e)}function Nne(e){return["table","td","th"].indexOf(Un(e))>=0}function Rr(e){return((ds(e)?e.ownerDocument:e.document)||window.document).documentElement}function op(e){return Un(e)==="html"?e:e.assignedSlot||e.parentNode||e.host||Rr(e)}function LN(e){if(!er(e)||vr(e).position==="fixed")return null;var t=e.offsetParent;if(t){var n=Rr(t);if(Un(t)==="body"&&vr(t).position==="static"&&vr(n).position!=="static")return n}return t}function Cne(e){for(var t=op(e);er(t)&&["html","body"].indexOf(Un(t))<0;){var n=vr(t);if(n.transform!=="none"||n.perspective!=="none"||n.willChange&&n.willChange!=="auto")return t;t=t.parentNode}return null}function xl(e){for(var t=zn(e),n=LN(e);n&&Nne(n)&&vr(n).position==="static";)n=LN(n);return n&&Un(n)==="body"&&vr(n).position==="static"?t:n||Cne(e)||t}function $w(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Au(e,t,n){return Math.max(e,Math.min(t,n))}function Az(){return{top:0,right:0,bottom:0,left:0}}function Nz(e){return Object.assign(Object.assign({},Az()),e)}function Cz(e,t){return t.reduce(function(n,a){return n[a]=e,n},{})}function One(e){var t,n=e.state,a=e.name,r=n.elements.arrow,i=n.modifiersData.popperOffsets,o=Jn(n.placement),s=$w(o),l=[En,Mn].indexOf(o)>=0,u=l?"height":"width";if(!(!r||!i)){var c=n.modifiersData[a+"#persistent"].padding,d=Ow(r),p=s==="y"?Sn:En,g=s==="y"?Dn:Mn,v=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],y=i[s]-n.rects.reference[s],k=xl(r),h=k?s==="y"?k.clientHeight||0:k.clientWidth||0:0,f=v/2-y/2,m=c[p],b=h-d[u]-c[g],E=h/2-d[u]/2+f,_=Au(m,E,b),I=s;n.modifiersData[a]=(t={},t[I]=_,t.centerOffset=_-E,t)}}function $ne(e){var t=e.state,n=e.options,a=e.name,r=n.element,i=r===void 0?"[data-popper-arrow]":r,o=n.padding,s=o===void 0?0:o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Rz(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[a+"#persistent"]={padding:Nz(typeof s!="number"?s:Cz(s,Tl))}))}const Lne={name:"arrow",enabled:!0,phase:"main",fn:One,effect:$ne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};var Dne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mne(e){var t=e.x,n=e.y,a=window,r=a.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}function DN(e){var t,n=e.popper,a=e.popperRect,r=e.placement,i=e.offsets,o=e.position,s=e.gpuAcceleration,l=e.adaptive,u=Mne(i),c=u.x,d=u.y,p=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),v=En,y=Sn,k=window;if(l){var h=xl(n);h===zn(n)&&(h=Rr(n)),r===Sn&&(y=Dn,d-=h.clientHeight-a.height,d*=s?1:-1),r===En&&(v=Mn,c-=h.clientWidth-a.width,c*=s?1:-1)}var f=Object.assign({position:o},l&&Dne);if(s){var m;return Object.assign(Object.assign({},f),{},(m={},m[y]=g?"0":"",m[v]=p?"0":"",m.transform=(k.devicePixelRatio||1)<2?"translate("+c+"px, "+d+"px)":"translate3d("+c+"px, "+d+"px, 0)",m))}return Object.assign(Object.assign({},f),{},(t={},t[y]=g?d+"px":"",t[v]=p?c+"px":"",t.transform="",t))}function Pne(e){var t=e.state,n=e.options,a=n.gpuAcceleration,r=a===void 0?!0:a,i=n.adaptive,o=i===void 0?!0:i,s={placement:Jn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),DN(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),DN(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})}const Une={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Pne,data:{}};var uu={passive:!0};function zne(e){var t=e.state,n=e.instance,a=e.options,r=a.scroll,i=r===void 0?!0:r,o=a.resize,s=o===void 0?!0:o,l=zn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,uu)}),s&&l.addEventListener("resize",n.update,uu),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,uu)}),s&&l.removeEventListener("resize",n.update,uu)}}const Fne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:zne,data:{}};var Bne={left:"right",right:"left",bottom:"top",top:"bottom"};function Nu(e){return e.replace(/left|right|bottom|top/g,function(t){return Bne[t]})}var jne={start:"end",end:"start"};function MN(e){return e.replace(/start|end/g,function(t){return jne[t]})}function ps(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Lw(e){var t=zn(e),n=t.pageXOffset,a=t.pageYOffset;return{scrollLeft:n,scrollTop:a}}function Dw(e){return ps(Rr(e)).left+Lw(e).scrollLeft}function qne(e){var t=zn(e),n=Rr(e),a=t.visualViewport,r=n.clientWidth,i=n.clientHeight,o=0,s=0;return a&&(r=a.width,i=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=a.offsetLeft,s=a.offsetTop)),{width:r,height:i,x:o+Dw(e),y:s}}function Gne(e){var t=Rr(e),n=Lw(e),a=e.ownerDocument.body,r=Math.max(t.scrollWidth,t.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-n.scrollLeft+Dw(e),s=-n.scrollTop;return vr(a||t).direction==="rtl"&&(o+=Math.max(t.clientWidth,a?a.clientWidth:0)-r),{width:r,height:i,x:o,y:s}}function Mw(e){var t=vr(e),n=t.overflow,a=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+a)}function Oz(e){return["html","body","#document"].indexOf(Un(e))>=0?e.ownerDocument.body:er(e)&&Mw(e)?e:Oz(op(e))}function Uo(e,t){t===void 0&&(t=[]);var n=Oz(e),a=Un(n)==="body",r=zn(n),i=a?[r].concat(r.visualViewport||[],Mw(n)?n:[]):n,o=t.concat(i);return a?o:o.concat(Uo(op(i)))}function ey(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Hne(e){var t=ps(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function PN(e,t){return t===Tz?ey(qne(e)):er(t)?Hne(t):ey(Gne(Rr(e)))}function Vne(e){var t=Uo(op(e)),n=["absolute","fixed"].indexOf(vr(e).position)>=0,a=n&&er(e)?xl(e):e;return ds(a)?t.filter(function(r){return ds(r)&&Rz(r,a)&&Un(r)!=="body"}):[]}function Wne(e,t,n){var a=t==="clippingParents"?Vne(e):[].concat(t),r=[].concat(a,[n]),i=r[0],o=r.reduce(function(s,l){var u=PN(e,l);return s.top=Math.max(u.top,s.top),s.right=Math.min(u.right,s.right),s.bottom=Math.min(u.bottom,s.bottom),s.left=Math.max(u.left,s.left),s},PN(e,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function fs(e){return e.split("-")[1]}function $z(e){var t=e.reference,n=e.element,a=e.placement,r=a?Jn(a):null,i=a?fs(a):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(r){case Sn:l={x:o,y:t.y-n.height};break;case Dn:l={x:o,y:t.y+t.height};break;case Mn:l={x:t.x+t.width,y:s};break;case En:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=r?$w(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Ni:l[u]=Math.floor(l[u])-Math.floor(t[c]/2-n[c]/2);break;case Cw:l[u]=Math.floor(l[u])+Math.ceil(t[c]/2-n[c]/2);break}}return l}function Ci(e,t){t===void 0&&(t={});var n=t,a=n.placement,r=a===void 0?e.placement:a,i=n.boundary,o=i===void 0?mne:i,s=n.rootBoundary,l=s===void 0?Tz:s,u=n.elementContext,c=u===void 0?bo:u,d=n.altBoundary,p=d===void 0?!1:d,g=n.padding,v=g===void 0?0:g,y=Nz(typeof v!="number"?v:Cz(v,Tl)),k=c===bo?gne:bo,h=e.elements.reference,f=e.rects.popper,m=e.elements[p?k:c],b=Wne(ds(m)?m:m.contextElement||Rr(e.elements.popper),o,l),E=ps(h),_=$z({reference:E,element:f,placement:r}),I=ey(Object.assign(Object.assign({},f),_)),C=c===bo?I:E,O={top:b.top-C.top+y.top,bottom:C.bottom-b.bottom+y.bottom,left:b.left-C.left+y.left,right:C.right-b.right+y.right},M=e.modifiersData.offset;if(c===bo&&M){var W=M[r];Object.keys(O).forEach(function(te){var ne=[Mn,Dn].indexOf(te)>=0?1:-1,ye=[Sn,Dn].indexOf(te)>=0?"y":"x";O[te]+=W[ye]*ne})}return O}function Zne(e,t){t===void 0&&(t={});var n=t,a=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?xz:l,c=fs(a),d=c?s?$N:$N.filter(function(v){return fs(v)===c}):Tl,p=d.filter(function(v){return u.indexOf(v)>=0});p.length===0&&(p=d);var g=p.reduce(function(v,y){return v[y]=Ci(e,{placement:y,boundary:r,rootBoundary:i,padding:o})[Jn(y)],v},{});return Object.keys(g).sort(function(v,y){return g[v]-g[y]})}function Yne(e){if(Jn(e)===Nw)return[];var t=Nu(e);return[MN(e),t,MN(t)]}function Kne(e){var t=e.state,n=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,s=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,g=n.flipVariations,v=g===void 0?!0:g,y=n.allowedAutoPlacements,k=t.options.placement,h=Jn(k),f=h===k,m=l||(f||!v?[Nu(k)]:Yne(k)),b=[k].concat(m).reduce(function(ge,Oe){return ge.concat(Jn(Oe)===Nw?Zne(t,{placement:Oe,boundary:c,rootBoundary:d,padding:u,flipVariations:v,allowedAutoPlacements:y}):Oe)},[]),E=t.rects.reference,_=t.rects.popper,I=new Map,C=!0,O=b[0],M=0;M<b.length;M++){var W=b[M],te=Jn(W),ne=fs(W)===Ni,ye=[Sn,Dn].indexOf(te)>=0,we=ye?"width":"height",me=Ci(t,{placement:W,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),ke=ye?ne?Mn:En:ne?Dn:Sn;E[we]>_[we]&&(ke=Nu(ke));var D=Nu(ke),q=[];if(i&&q.push(me[te]<=0),s&&q.push(me[ke]<=0,me[D]<=0),q.every(function(ge){return ge})){O=W,C=!1;break}I.set(W,q)}if(C)for(var G=v?3:1,Z=function(Oe){var Le=b.find(function(Qe){var un=I.get(Qe);if(un)return un.slice(0,Oe).every(function(Na){return Na})});if(Le)return O=Le,"break"},K=G;K>0;K--){var Ve=Z(K);if(Ve==="break")break}t.placement!==O&&(t.modifiersData[a]._skip=!0,t.placement=O,t.reset=!0)}}const Xne={name:"flip",enabled:!0,phase:"main",fn:Kne,requiresIfExists:["offset"],data:{_skip:!1}};function UN(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function zN(e){return[Sn,Mn,Dn,En].some(function(t){return e[t]>=0})}function Jne(e){var t=e.state,n=e.name,a=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,o=Ci(t,{elementContext:"reference"}),s=Ci(t,{altBoundary:!0}),l=UN(o,a),u=UN(s,r,i),c=zN(l),d=zN(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const Qne={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Jne};function ere(e,t,n){var a=Jn(e),r=[En,Sn].indexOf(a)>=0?-1:1,i=typeof n=="function"?n(Object.assign(Object.assign({},t),{},{placement:e})):n,o=i[0],s=i[1];return o=o||0,s=(s||0)*r,[En,Mn].indexOf(a)>=0?{x:s,y:o}:{x:o,y:s}}function tre(e){var t=e.state,n=e.options,a=e.name,r=n.offset,i=r===void 0?[0,0]:r,o=xz.reduce(function(c,d){return c[d]=ere(d,t.rects,i),c},{}),s=o[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[a]=o}const nre={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tre};function rre(e){var t=e.state,n=e.name;t.modifiersData[n]=$z({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const are={name:"popperOffsets",enabled:!0,phase:"read",fn:rre,data:{}};function ire(e){return e==="x"?"y":"x"}function ore(e){var t=e.state,n=e.options,a=e.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,s=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,g=p===void 0?!0:p,v=n.tetherOffset,y=v===void 0?0:v,k=Ci(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),h=Jn(t.placement),f=fs(t.placement),m=!f,b=$w(h),E=ire(b),_=t.modifiersData.popperOffsets,I=t.rects.reference,C=t.rects.popper,O=typeof y=="function"?y(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):y,M={x:0,y:0};if(_){if(i){var W=b==="y"?Sn:En,te=b==="y"?Dn:Mn,ne=b==="y"?"height":"width",ye=_[b],we=_[b]+k[W],me=_[b]-k[te],ke=g?-C[ne]/2:0,D=f===Ni?I[ne]:C[ne],q=f===Ni?-C[ne]:-I[ne],G=t.elements.arrow,Z=g&&G?Ow(G):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Az(),Ve=K[W],ge=K[te],Oe=Au(0,I[ne],Z[ne]),Le=m?I[ne]/2-ke-Oe-Ve-O:D-Oe-Ve-O,Qe=m?-I[ne]/2+ke+Oe+ge+O:q+Oe+ge+O,un=t.elements.arrow&&xl(t.elements.arrow),Na=un?b==="y"?un.clientTop||0:un.clientLeft||0:0,Ca=t.modifiersData.offset?t.modifiersData.offset[t.placement][b]:0,Oa=_[b]+Le-Ca-Na,lp=_[b]+Qe-Ca,$a=Au(g?Math.min(we,Oa):we,ye,g?Math.max(me,lp):me);_[b]=$a,M[b]=$a-ye}if(s){var lF=b==="x"?Sn:En,uF=b==="x"?Dn:Mn,Nl=_[E],cF=Nl+k[lF],dF=Nl-k[uF],Fw=Au(cF,Nl,dF);_[E]=Fw,M[E]=Fw-Nl}t.modifiersData[a]=M}}const sre={name:"preventOverflow",enabled:!0,phase:"main",fn:ore,requiresIfExists:["offset"]};function lre(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ure(e){return e===zn(e)||!er(e)?Lw(e):lre(e)}function cre(e,t,n){n===void 0&&(n=!1);var a=Rr(t),r=ps(e),i=er(t),o={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(i||!i&&!n)&&((Un(t)!=="body"||Mw(a))&&(o=ure(t)),er(t)?(s=ps(t),s.x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Dw(a))),{x:r.left+o.scrollLeft-s.x,y:r.top+o.scrollTop-s.y,width:r.width,height:r.height}}function dre(e){var t=new Map,n=new Set,a=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&r(l)}}),a.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),a}function pre(e){var t=dre(e);return Ine.reduce(function(n,a){return n.concat(t.filter(function(r){return r.phase===a}))},[])}function fre(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function mre(e){var t=e.reduce(function(n,a){var r=n[a.name];return n[a.name]=r?Object.assign(Object.assign(Object.assign({},r),a),{},{options:Object.assign(Object.assign({},r.options),a.options),data:Object.assign(Object.assign({},r.data),a.data)}):a,n},{});return Object.keys(t).map(function(n){return t[n]})}var FN={placement:"bottom",modifiers:[],strategy:"absolute"};function BN(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function gre(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,a=n===void 0?[]:n,r=t.defaultOptions,i=r===void 0?FN:r;return function(s,l,u){u===void 0&&(u=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},FN),i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},d=[],p=!1,g={state:c,setOptions:function(h){y(),c.options=Object.assign(Object.assign(Object.assign({},i),c.options),h),c.scrollParents={reference:ds(s)?Uo(s):s.contextElement?Uo(s.contextElement):[],popper:Uo(l)};var f=pre(mre([].concat(a,c.options.modifiers)));return c.orderedModifiers=f.filter(function(m){return m.enabled}),v(),g.update()},forceUpdate:function(){if(!p){var h=c.elements,f=h.reference,m=h.popper;if(BN(f,m)){c.rects={reference:cre(f,xl(m),c.options.strategy==="fixed"),popper:Ow(m)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(M){return c.modifiersData[M.name]=Object.assign({},M.data)});for(var b=0;b<c.orderedModifiers.length;b++){if(c.reset===!0){c.reset=!1,b=-1;continue}var E=c.orderedModifiers[b],_=E.fn,I=E.options,C=I===void 0?{}:I,O=E.name;typeof _=="function"&&(c=_({state:c,options:C,name:O,instance:g})||c)}}}},update:fre(function(){return new Promise(function(k){g.forceUpdate(),k(c)})}),destroy:function(){y(),p=!0}};if(!BN(s,l))return g;g.setOptions(u).then(function(k){!p&&u.onFirstUpdate&&u.onFirstUpdate(k)});function v(){c.orderedModifiers.forEach(function(k){var h=k.name,f=k.options,m=f===void 0?{}:f,b=k.effect;if(typeof b=="function"){var E=b({state:c,name:h,instance:g,options:m}),_=function(){};d.push(E||_)}})}function y(){d.forEach(function(k){return k()}),d=[]}return g}}var hre=[Fne,are,Une,Ane,nre,Xne,sre,Lne,Qne],vre=gre({defaultModifiers:hre});const bre=["top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","auto","auto-start","auto-end"],yre=e=>{const[t,n]=e.split("-");let a;switch(t){case"top":a="bottom";break;case"bottom":a="top";break;case"left":a="right";break;case"right":a="left";break;default:a="auto"}return n&&(a=bre.find(r=>r.includes(`${a}-${n}`))??a),a},Lz=(e,t,n)=>{if(e.length===0||e[0].split("-")[0]==="auto")return n;const{reference:a,popper:r}=t.rects,i=Ci({...t,placement:e[0]}),o=/left|right/.test(e[0].split("-")[0])?"horizontal":"vertical",s=(i.top>0||i.bottom>0||i.left>0||i.right>0)&&(o==="horizontal"?r.height/2-i.top<a.height||r.height/2-i.bottom<a.height:r.width-i.left<a.width||r.width-i.right<a.width),l=e[0].split("-")[0];return!s&&i[l]<=0?e[0]:Lz(e.slice(1),t,n)},jN="fallbackModifier",qN={name:jN,enabled:!0,phase:"main",data:{_skip:!1},fn({state:e,options:t}){const n=e.options.placement,{fallbackPlacements:a}=t,r=[n,yre(n),...a||[]],i=Lz(r,e,n);e.placement!==i&&(e.modifiersData[jN]._skip=!0,e.placement=i,e.reset=!0)}},Pw=["top","right","bottom","left"],sp=V.forwardRef(({portal:e=!0,open:t=!0,...n},a)=>t?T.jsx(_re,{ref:a,portal:e,...n}):null),Sre=e=>{if(e!==null)return"current"in e?e.current||void 0:e},Ere={},_re=V.forwardRef(({anchorElement:e,getAnchorClientRect:t,popperOptions:n=Ere,placement:a="bottom",fallbackPlacements:r=Pw,onPlacementChange:i,children:o,portal:s,popperInstanceRef:l},u)=>{const c=V.useRef(!0),{localRef:d,elementRef:p}=ea(l),[g,v]=V.useState(a),y=Yte(u,e),k=V.useRef(a);k.current=g;const h=V.useMemo(()=>({name:"setPlacement",enabled:!0,phase:"afterWrite",fn({state:m}){v(m.placement),i==null||i(m.placement)}}),[v,i]);V.useLayoutEffect(()=>{const m=t?{getBoundingClientRect:t}:Sre(e??null);if(!m){console.warn("Popper: neither anchorElement or getAnchorClientRect was defined. A valid anchorElement or getAnchorClientRect callback must be provided to render a Popper");return}if(y.current){const b=vre(m,y.current,{placement:a,...n,modifiers:[h,{...qN,options:{fallbackPlacements:r}},...n.modifiers||[]]});return p(b),()=>{b==null||b.destroy()}}},[e,t,y]),V.useLayoutEffect(()=>{var m;c.current||(m=d.current)==null||m.setOptions({placement:a,...n,modifiers:[h,{...qN,options:{fallbackPlacements:r}},...n.modifiers||[]]}),c.current=!1},[n,a,r,h,d]);const f=T.jsx(T.Fragment,{children:wre(o)?o({placement:g}):o});return s?Yy.createPortal(f,y.current):f});function wre(e){return typeof e=="function"}const kt=Pn({defaultConfig:{...Wn.defaultConfig,...oa.defaultConfig,mode:"single",shouldVirtualize:!1},requiredConfig:{...Wn.requiredConfig,...oa.requiredConfig},contextOverride:oa.Context})(e=>{const t=Wn(Wn.mergeConfig(e,{selection:e.mode==="single"?WU:Oee})),n=oa(oa.mergeConfig(e,{id:t.state.id,onHide(){t.state.indexRef.current=0}}));Sz(n),Ez(n);const a={mode:e.mode,...t.state,...n.state},r={...t.events,...n.events};return{...t,...n,state:a,events:r,UNSTABLE_parentModel:e.UNSTABLE_parentModel}}),kre=Ge({vars:{minWidth:We(1),transformOriginVertical:"top",transformOriginHorizontal:"left",maxHeight:""},base:({transformOriginVertical:e,transformOriginHorizontal:t,minWidth:n,maxHeight:a})=>({fontFamily:et.default,fontWeight:Ye.normal,fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,color:$.fg.default,position:"relative",display:"flex",flexDirection:"column",transition:"transform ease-out 150ms",padding:w.padding.xxs,borderRadius:w.shape.xxl,maxWidth:Hn.subtract("100vw",w.size.sm),boxShadow:hw[3],minWidth:n,maxHeight:a,transformOrigin:`${e} ${t}`,".wd-no-animation &":{animation:"none"}})}),Ire=be()(()=>({})),Dz=lt("div")({displayName:"Menu.Card",modelHook:kt,elemPropsHook:Ire})(({minWidth:e,maxHeight:t,...n},a,r)=>{const i=V.useMemo(()=>Tw(r.state.placement||"bottom"),[r.state.placement]);return T.jsx(Bte,{as:a,...Dt(n,kre({minWidth:typeof e=="number"?We(e):e,maxHeight:typeof t=="number"?We(t):t,transformOriginVertical:i.vertical,transformOriginHorizontal:i.horizontal})),children:n.children})}),Tre=Ge({base:{display:"block",height:We(1),border:"none",borderTop:`${We(1)} solid ${w.color.border.default}`,margin:`${w.gap.sm} ${w.gap.md}`}}),Mz=He("hr")({displayName:"Menu.Divider",Component({...e},t,n){return T.jsx(n,{ref:t,...In(e,Tre())})}});var xre=function(e){return Object.prototype.hasOwnProperty.call(e,"props")},Rre=function(e,t){return e+ms(t)},ms=function(e){return e===null||typeof e=="boolean"||typeof e>"u"?"":typeof e=="number"?e.toString():typeof e=="string"?e:Array.isArray(e)?e.reduce(Rre,""):xre(e)&&Object.prototype.hasOwnProperty.call(e.props,"children")?ms(e.props.children):""};ms.default=ms;var Are=ms;const Nre=yc(Are),GN={vertical:"bottom",horizontal:"center"},ty=Ba("positionX","positionY"),Cre=EQ({"0%":{opacity:0,transform:`translate(${ty.positionX}, ${ty.positionY})`},"100%":{opacity:1,transform:"translate(0)"}}),Ore=Ge({vars:{tooltipTransformOriginHorizontal:"",tooltipTransformOriginVertical:""},base:({tooltipTransformOriginHorizontal:e,tooltipTransformOriginVertical:t})=>({fontFamily:et.default,fontWeight:Ye.normal,fontSize:w.fontSize.subtext.md,lineHeight:w.lineHeight.subtext.md,letterSpacing:w.letterSpacing.subtext.md,display:"inline-flex",position:"relative",padding:w.padding.sm,color:$.fg.inverse,animationName:Cre,animationDuration:"150ms",animationTimingFunction:"ease-out",transformOrigin:`${t} ${e}`,a:{color:$.fg.inverse,textDecoration:"underline"},"&:before":{content:'""',borderRadius:w.shape.md,outline:`${We(1)} solid transparent`,outlineOffset:`-${We(1)}`,zIndex:-1,margin:w.gap.xs,backgroundColor:w.color.surface.contrast.default,position:"absolute",top:0,left:0,right:0,bottom:0,boxShadow:hw[2]},"[data-popper-reference-hidden] &":{visibility:"hidden",pointerEvents:"none"},'[data-popper-placement="top-start"] &, [data-popper-placement="bottom-start"] &':{left:Hn.negate(lr.size50)},'[data-popper-placement="top-end"] &, [data-popper-placement="bottom-end"] &':{right:Hn.negate(lr.size50)},'[data-popper-placement="left-start"] &, [data-popper-placement="right-start"] &':{top:Hn.negate(lr.size50)},'[data-popper-placement="left-end"] &, [data-popper-placement="right-end"] &':{bottom:Hn.negate(lr.size50)}}),modifiers:{elementHasFocus:{true:{padding:Hn.subtract(w.padding.md,Hn.divide(w.padding.xxs,2)),"&:before":{margin:lr.size75}}}}}),Pz=He("div")({displayName:"TooltipContainer",Component:({children:e,transformOrigin:t=GN,elementHasFocus:n=!1,...a},r,i)=>{const o=BQ(t||GN,w.gap.sm);return T.jsx(i,{ref:r,...Dt(a,[Ore({tooltipTransformOriginHorizontal:t==null?void 0:t.horizontal,tooltipTransformOriginVertical:t==null?void 0:t.vertical,elementHasFocus:n}),ty({positionX:o.x,positionY:o.y})]),children:e})}}),HN=(e,t=0)=>{const n=V.useRef(),a=()=>{n.current=window.setTimeout(e,t)},r=()=>{window.clearTimeout(n.current),n.current=void 0};return V.useEffect(()=>()=>{window.clearTimeout(n.current)},[n]),{start:a,clear:r}},$re=e=>{const t=e.tagName.toLowerCase(),n=e.getAttribute("tabindex");switch(t){case"button":case"input":case"select":case"textarea":case"details":return!0;default:return n?Number(n)>=0:!1}};function Uz({type:e="label",titleText:t="",showDelay:n=300,hideDelay:a=100}={}){const r=V.useRef(!1),i=oa(),[o,s]=V.useState(null),l=tp(),u=HN(i.events.hide,a),c=HN(i.events.show,n),d=()=>{u.start(),c.clear()},p=()=>{c.start(),u.clear()},g=f=>{s(f.currentTarget),p()},v=f=>{r.current||g(f),r.current=!1},y=f=>{r.current=!0,$re(f.currentTarget)&&i.events.hide()};Ez(i),Sz(i),Hte(i),Vte(i);const k=i.state.visibility!=="hidden",h={"aria-describedby":e==="describe"&&k?l:void 0,"aria-description":e==="description"?t:void 0,"aria-label":e==="label"?t:void 0,onMouseEnter:g,onMouseLeave:d,onMouseDown:y,onFocus:v,onBlur:d};return h["aria-describedby"]===void 0&&delete h["aria-describedby"],{targetProps:h,popperProps:{open:k,anchorElement:o,ref:i.state.stackRef},tooltipProps:{id:e==="describe"&&k?l:void 0,role:"tooltip",onMouseEnter:p,onMouseLeave:d}}}function Lre(e,t,n=Object.keys(t)){return n.reduce((a,r)=>(typeof e[r]=="function"?a[r]=Sw(t[r],e[r]):a[r]=t[r],a),{})}const Dre=He("div")({displayName:"Tooltip",Component({type:e="label",placement:t="top",title:n,children:a,showDelay:r=300,hideDelay:i=100,fallbackPlacements:o=Pw,...s}){const l=Nre(n),{targetProps:u,popperProps:c,tooltipProps:d}=Uz({type:e,titleText:l,showDelay:r,hideDelay:i}),[p,g]=V.useState(!1),{localRef:v}=ea();return V.useEffect(()=>{const y=v.current;if(!y)return;const k=()=>{g(y.matches(":focus-visible")||y.classList.contains("focus"))};return k(),y.addEventListener("focus",k),y.addEventListener("blur",k),()=>{y.removeEventListener("focus",k),y.removeEventListener("blur",k)}},[v]),T.jsxs(V.Fragment,{children:[V.cloneElement(a,{...u,...Lre(a.props,u),.../^(muted|describe)$/.test(e)&&a.props["aria-label"]?{"aria-label":a.props["aria-label"]}:{}}),T.jsx(sp,{placement:t,fallbackPlacements:o,...c,children:({placement:y})=>{const k=Tw(y);return T.jsx(Pz,{transformOrigin:k,...In(s),...d,elementHasFocus:p,children:n})}})]})}}),zz=e=>{const t=getComputedStyle(e);if(t.overflow==="auto"||t.overflow==="scroll"||t.overflow==="clip"||t.overflow==="hidden")return e;if(e.children){for(let n=0;n<e.children.length;n++){const a=zz(e.children[n]);if(a)return a}return null}return null},Fz=e=>{const t=getComputedStyle(e);if(t.textOverflow==="ellipsis"||Number(t.webkitLineClamp)>0)return e;for(let n=0;n<e.children.length;n++){const a=Fz(e.children[n]);if(a)return a}return null},VN=e=>{const t=Fz(e)||zz(e);return t?t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight:!1};function Mre(e,t,n=Object.keys(t)){return n.reduce((a,r)=>(typeof e[r]=="function"?a[r]=Sw(t[r],e[r]):a[r]=t[r],a),{})}const Uw=({placement:e="top",fallbackPlacements:t=Pw,children:n,...a})=>{const[r,i]=V.useState(""),{targetProps:o,popperProps:s,tooltipProps:l}=Uz({type:"muted"}),u=d=>{const p=d.currentTarget;i(p instanceof HTMLElement?p.innerText:""),VN(p)&&o.onMouseEnter(d)},c=d=>{const p=d.currentTarget;i(p instanceof HTMLElement?p.innerText:""),VN(p)&&o.onFocus(d)};return T.jsxs(V.Fragment,{children:[V.cloneElement(n,{...o,onMouseEnter:u,onFocus:c,"aria-label":void 0,...Mre({...o,onMouseEnter:u,onFocus:c},n.props)}),T.jsx(sp,{placement:e,fallbackPlacements:t,...s,children:({placement:d})=>{const p=Tw(d);return T.jsx(Pz,{transformOrigin:p,...l,...a,children:r})}})]})},Bz=Pn({defaultConfig:{id:void 0},requiredConfig:{}})(e=>({state:{id:tp(e.id)},events:{}})),Pre=Ge({base:{fontFamily:et.default,fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,fontWeight:Ye.bold,display:"flex",alignItems:"center",width:"100%",gap:w.gap.md,padding:`${w.padding.xs} ${w.padding.md}`}}),Ure=be()(e=>({"data-type":"group",role:"group","aria-labelledby":e.state.id})),zre=be()(e=>({id:e.state.id})),WN=lt("div")({modelHook:Bz,elemPropsHook:zre})(({children:e,...t},n)=>T.jsx(Uw,{children:T.jsx(n,{...Dt(t,Pre()),children:e})})),jz=Ji("div")({displayName:"Menu.Group",modelHook:Bz,elemPropsHook:Ure,subComponents:{Heading:WN}})(({children:e,title:t,...n},a)=>T.jsxs(a,{...Dt(n),children:[t?T.jsx(WN,{children:t}):null,e]})),Rl=Ge({parts:{text:"menu-item-text",icon:"menu-item-icon",selected:"menu-item-selected"},base:({textPart:e,iconPart:t,selectedPart:n})=>({fontFamily:et.default,fontWeight:Ye.normal,fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,display:"flex",alignItems:"center",width:"100%",gap:w.gap.md,padding:`${w.padding.sm} ${w.padding.md}`,boxSizing:"border-box",cursor:"pointer",color:$.fg.default,borderWidth:0,borderRadius:w.shape.xxl,textAlign:"start",transition:"background-color 80ms, color 80ms",backgroundColor:"inherit",minHeight:w.size.md,overflowWrap:"anywhere",[re.vars.color]:"currentColor",[`& :where(${n})`]:{transition:"opacity 80ms linear",opacity:Bt.zero},"&:where(:has(span))":{display:"flex"},"&[aria-selected=true]":{color:w.color.brand.fg.primary.strong,backgroundColor:w.color.brand.surface.primary.strong,[`& :where(${n})`]:{opacity:Bt.full},"&:where(.focus, :focus-visible)":{[re.vars.color]:"currentColor",outline:"none",backgroundColor:w.color.brand.accent.primary,color:$.fg.inverse}},"&:is(.hover, :hover)":{color:$.fg.strong,backgroundColor:w.color.surface.overlay.hover.default},"&:is(.focus, :focus-visible)":{color:$.fg.inverse,backgroundColor:w.color.brand.accent.primary,outline:`${We(2)} solid transparent`,outlineOffset:`-${We(2)}`},"&:is(:disabled, [aria-disabled=true])":{cursor:"default",opacity:Bt.disabled,"&:where(.hover, :hover, [aria-selected=true])":{background:"none"},"&:where(.focus, :focus-visible)":{backgroundColor:w.color.brand.accent.primary,opacity:Bt.disabled}},[`& :where(${e})`]:{flexGrow:1,alignSelf:"center"},[`& :where(${t})`]:{alignSelf:"start"}})}),Fre=e=>T.jsx(xw,{...Rl.parts.icon,...e}),qz=He("span")({Component:({...e},t,n)=>T.jsx(n,{ref:t,...Rl.parts.text,...In(e)})}),Gz=He("button")({displayName:"MenuItem",Component:({children:e,isDisabled:t,...n},a,r)=>T.jsx(r,{ref:a,"aria-disabled":t,...Dt(n,Rl({})),children:typeof e=="string"?T.jsx(qz,{children:e}):e})}),Hz=be()(e=>({onKeyDown(t){const n=getComputedStyle(t.currentTarget);t.key==="ArrowLeft"&&n.direction==="ltr"&&e.UNSTABLE_parentModel&&e.events.hide(t)}})),Vz=be()((e,t,n={"data-id":""})=>{const{localRef:a,elementRef:r}=ea(t),i=n["data-id"];return V.useLayoutEffect(()=>{e.state.mode==="single"&&vc(e.state,i)&&requestAnimationFrame(()=>{var o;(o=a.current)==null||o.focus()})},[i,a,e.state.cursorId,e.state.mode]),{ref:r,className:vc(e.state,n["data-id"])?"focus":void 0}});function Wz(e){e.UNSTABLE_parentModel&&(e.UNSTABLE_parentModel.events.hide(),Wz(e.UNSTABLE_parentModel))}const Bre=xr(be()(e=>({role:"menuitem",onMouseDown(t){e.events.goTo({id:t.currentTarget.getAttribute("data-id")})},onClick:e.state.mode==="single"?t=>{t.currentTarget.getAttribute("aria-disabled")!=="true"&&(e.events.hide(t),Wz(e))}:void 0})),Vz,Hz,KU,YU,eo),Oi=lt("button")({displayName:"Menu.Item",modelHook:kt,elemPropsHook:Bre,subComponents:{Icon:Fre,Text:qz}})(({children:e,...t},n)=>T.jsx(Uw,{placement:"left",children:T.jsx(Gz,{as:n,...t,children:e})})),jre=xr(be()(e=>({role:"menu","aria-labelledby":e.state.id,"aria-orientation":e.state.orientation})),Jte,Wte),qre=Ge({base:{background:w.color.surface.popover,borderRadius:w.shape.xxl,padding:0,gap:w.gap.xs},modifiers:{orientation:{vertical:{flexDirection:"column"},horizontal:{flexDirection:"row"}}}}),Zz=lt("div")({displayName:"Menu.List",modelHook:kt,elemPropsHook:jre})(({children:e,...t},n,a)=>T.jsx(Lte,{as:n,model:a,marginY:w.gap.none,...In(t,qre({orientation:a.state.orientation})),children:e})),Yz=He("span")({Component:({...e},t,n)=>T.jsxs(T.Fragment,{children:[T.jsx(Oi.Text,{ref:t,as:n,...e}),T.jsx(xw,{...Rl.parts.selected,icon:nne})]})}),Gre=He("li")({displayName:"MenuOption",Component:({children:e,...t},n,a)=>T.jsx(a,{ref:n,...Dt(t,Rl()),children:typeof e=="string"?T.jsx(Yz,{children:e}):e})}),Hre=xr(be()((e,t,n={})=>{const a=n["data-id"]||"";return{role:"option","aria-selected":VU(a,e.state),onMouseDown:o=>{o.button===0&&o.currentTarget.getAttribute("aria-disabled")!=="true"&&(e.events.select({id:a}),e.state.mode==="single"&&e.events.hide(o)),o.preventDefault()}}}),Bee,eo),Kz=lt("li")({displayName:"Menu.Item",modelHook:kt,elemPropsHook:Hre,subComponents:{Icon:Oi.Icon,Text:Yz}})(({children:e,...t},n)=>T.jsx(Uw,{placement:"left",children:T.jsx(Gre,{as:n,...t,children:e})})),Xz=Zte,Jz={modifiers:[{name:"offset",options:{offset:()=>[0,4]}}]},Vre=lt("div")({modelHook:kt,elemPropsHook:Xz})(({children:e,...t})=>T.jsx(sp,{placement:"bottom-start",popperOptions:Jz,...t,children:e})),Qz=be()(e=>({id:e.state.id,"aria-haspopup":"true","aria-expanded":e.state.visibility==="visible",onKeyDown(t){switch(t.key){case"ArrowDown":case"ArrowUp":e.events.show(t)}}})),eF=xr(Qz,Kte),Wre=xr(Qz,Xte),Zre=lt(ip)({displayName:"Menu.Target",modelHook:kt,elemPropsHook:eF})(({children:e,...t},n)=>T.jsx(n,{...t,children:e})),Yre=lt(ip)({displayName:"Menu.Target",modelHook:kt,elemPropsHook:Wre})(({children:e,...t},n)=>T.jsx(n,{...t,children:e})),Kre=lt("div")({modelHook:kt,elemPropsHook:Xz})(({children:e,...t})=>T.jsx(sp,{placement:"right-start",popperOptions:Jz,...t,children:e})),Xre=(e,t=0)=>{const n=U.useRef(),a=()=>{n.current=window.setTimeout(e,t)},r=()=>{window.clearTimeout(n.current),n.current=void 0};return U.useEffect(()=>()=>{window.clearTimeout(n.current)},[n]),{start:a,clear:r}},Jre=xr(au(e=>e.UNSTABLE_parentModel,Vz),au(e=>e.UNSTABLE_parentModel,Hz),au(e=>e.UNSTABLE_parentModel,YU),be()((e,t)=>({ref:Qi(t,e.state.targetRef)})),au(e=>e.UNSTABLE_parentModel,eo),be()(e=>{const t=U.useRef(),n=Xre(()=>{e.UNSTABLE_parentModel.events.goTo({id:t.current||""}),e.events.show(event)},300);return{id:e.state.id,role:"menuitem","aria-haspopup":"true","aria-expanded":e.state.visibility==="visible",onMouseDown(a){e.UNSTABLE_parentModel.events.goTo({id:a.currentTarget.getAttribute("data-id")})},onMouseEnter(a){t.current=a.currentTarget.getAttribute("data-id"),n.start()},onMouseLeave(){n.clear()},onClick(a){e.state.targetRef.current instanceof Element||(e.state.targetRef.current=a.currentTarget),e.state.visibility!=="hidden"?e.events.hide(a):e.events.show(a)},"data-has-children":!0,onKeyDown(a){if(e.state.orientation==="vertical")switch(a.key){case"ArrowRight":case"Enter":case" ":e.events.show(a);break}}}})),Qre=lt("button")({modelHook:kt,elemPropsHook:Jre})(({children:e,...t},n)=>T.jsxs(Gz,{as:n,...t,children:[typeof e=="string"?T.jsx(Oi.Text,{children:e}):e,T.jsx(Oi.Icon,{icon:rne})]})),eae=lt()({modelHook:kt,subComponents:{Card:Dz,List:Zz,Item:Oi,TargetItem:Qre,Group:jz,Option:Kz,Divider:Mz,Popper:Kre}})(({children:e,model:t,...n},a,r)=>{const i=kt(kt.mergeConfig(n,{getId:r.getId,getTextValue:r.getTextValue,UNSTABLE_parentModel:r,mode:r.state.mode,orientation:r.state.orientation,onSelect(s){r.events.select(s)},onSelectAll(){r.events.selectAll()}})),o=kt.Context;return T.jsx(o.Provider,{value:i,children:e})}),ZN=Ji()({displayName:"Menu",modelHook:kt,subComponents:{Target:Zre,Card:Dz,List:Zz,Item:Oi,Group:jz,Option:Kz,Divider:Mz,TargetContext:Yre,Popper:Vre,Submenu:eae}})(({children:e})=>T.jsx(T.Fragment,{children:e})),Al=Pn({defaultConfig:{...su.defaultConfig,id:"",orientation:"horizontal",menuConfig:{},maximumVisible:3},requiredConfig:su.requiredConfig})(e=>{const t=e.getId||Po,n=e.items,a=su(su.mergeConfig(e,{orientation:e.orientation||"horizontal",items:n,shouldVirtualize:!1}));let r=a.state.hiddenIds,i=a.state.nonInteractiveIds;const o=a.state.items.length,s=!e.maximumVisible||e.maximumVisible<1?3:e.maximumVisible>o?o:e.maximumVisible;o-r.length>=s&&(r=n.slice(s,o).map(t)),o-r.length===0&&(r=n.slice(1,o).map(t)),i=r;const l={...a.state,hiddenIds:r,nonInteractiveIds:i,orientation:e.orientation||"horizontal"},u=U.useMemo(()=>n?n.filter(p=>l.hiddenIds.includes(t(p))):void 0,[l.hiddenIds,n]),c={...a.events},d=kt(kt.mergeConfig(e.menuConfig,{id:`act-bar-menu-${a.state.id}`,items:u,nonInteractiveIds:l.nonInteractiveIds.filter(p=>!l.hiddenIds.includes(p)),onSelect(){d.events.hide()},onShow(){d.events.goToFirst()}}));return{...a,state:l,events:c,menu:d}}),tae=xr(Dee,eo),nae=lt(ip)({displayName:"ActionBar.Item",modelHook:Al,elemPropsHook:tae})((e,t)=>T.jsx(t,{...e})),rae=Ge({base:{display:"flex",boxShadow:hw[2],gap:w.gap.md,background:w.color.surface.default,borderBlockStart:`solid ${We(1)} ${w.color.border.default}`,padding:`${w.padding.md} ${lr.size500} `,position:"fixed",insetBlockEnd:0,insetInline:0,"@media (max-width: 767.5px)":{padding:w.size.xxxs,"> *":{flex:1}}}}),aae=$ee,iae=lt("div")({displayName:"ActionBar.List",modelHook:Al,elemPropsHook:aae})(({children:e,overflowButton:t,...n},a,r)=>T.jsxs(a,{...Dt(n,rae()),children:[_w(r,e),t]})),oae=Ge({base:{flex:0}}),sae=xr(be()(()=>({"aria-haspopup":!0})),Pee,KQ()(e=>e.menu,eF)),lae=lt("button")({displayName:"ActionBar.OverflowButton",modelHook:Al,elemPropsHook:sae})((e,t)=>T.jsx(ip,{as:t,icon:ine,...Dt(e,oae())})),Te=Ji()({displayName:"ActionBar",modelHook:Al,subComponents:{List:iae,Item:nae,OverflowButton:lae,Menu:ZN}})(({children:e},t,n)=>T.jsx(ZN,{model:n.menu,children:e})),tF=()=>T.jsx(Te,{children:T.jsxs(Te.List,{position:"relative",as:"section","aria-label":"Action Bar",children:[T.jsx(Te.Item,{as:Aw,onClick:()=>console.log("first action"),children:"First Action"}),T.jsx(Te.Item,{children:"Second Action"})]})});tF.__RAW__=`import {ActionBar} from '@workday/canvas-kit-react/action-bar';
|
|
298
|
+
</svg>`,filename:"wd-icon-related-actions.svg",category:"Core",tags:["three","dots","twinkie","more","kebob","menu","dropdown","select","meatballs"]},re=Ge({extends:Iz,vars:{color:"",accentColor:"",backgroundColor:""},base:({size:e,accentColor:t,backgroundColor:n,color:a})=>({"& svg":{width:B(e,gr.systemIcon.size.lg),height:B(e,gr.systemIcon.size.lg)},".wd-icon .wd-icon-fill":{fill:B(a,gr.systemIcon.color.fill)},".wd-icon .wd-icon-accent, & .wd-icon-accent2":{fill:B(t,B(a,gr.systemIcon.color.accent))},".wd-icon .wd-icon-background":{fill:B(n,"transparent")},"@media (prefers-contrast: more)":{".wd-icon .wd-icon-fill, .wd-icon .wd-icon-accent":{color:"currentColor",fill:"currentColor"}}}),modifiers:{}}),xw=He("span")({displayName:"SystemIcon",Component:({accent:e,background:t,color:n,icon:a,size:r,...i},o,s)=>T.jsx(ene,{as:s,src:a,type:to.System,ref:o,...In(i,re({size:Qte(r,gr.systemIcon.size),color:n,accentColor:e,backgroundColor:t}))})}),one=uX(pz.as("span"))({position:"relative",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}),sne=He("span")({displayName:"ButtonLabel",Component:({children:e,...t},n,a)=>T.jsx(one,{as:a,ref:n,...t,children:e})}),lne=Ge({base:{display:"inline-block"},modifiers:{size:{extraSmall:{[re.vars.size]:gr.systemIcon.size.xs},small:{[re.vars.size]:gr.systemIcon.size.md},medium:{[re.vars.size]:gr.systemIcon.size.md},large:{[re.vars.size]:gr.systemIcon.size.lg}}}}),une=He("span")({Component:({icon:e,size:t="medium",shouldMirrorIcon:n=!1,shouldMirrorIconInRTL:a=!1,...r},i,o)=>e===void 0?null:T.jsx(xw,{ref:i,as:o,icon:e,shouldMirror:n,shouldMirrorInRTL:a,...In(r,lne({size:t}))})}),X={default:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius"),focus:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius"),hover:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius"),active:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius"),disabled:Ba("background","border","boxShadowInner","boxShadowOuter","icon","label","opacity","borderRadius")},z=Ge({vars:{background:"",border:"",boxShadowInner:"",boxShadowOuter:"",label:"",opacity:"",borderRadius:""},base:({background:e,border:t,boxShadowInner:n,boxShadowOuter:a,label:r,opacity:i,borderRadius:o})=>({fontFamily:et.default,fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,fontWeight:Ye.bold,backgroundColor:B(X.default.background,B(e,"transparent")),color:B(X.default.label,B(r,$.fg.strong)),borderWidth:We(1),borderStyle:"solid",gap:w.gap.sm,borderColor:B(X.default.border,B(t,"transparent")),cursor:"pointer",display:"inline-flex",boxShadow:"none",alignItems:"center",justifyContent:"center",outline:`${We(2)} transparent`,whiteSpace:"nowrap",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",borderRadius:B(X.default.borderRadius,B(o,w.shape.full)),position:"relative",verticalAlign:"middle",overflow:"hidden",[re.vars.color]:B(X.default.icon,$.fg.strong),transition:"box-shadow 120ms linear, border 120ms linear, background-color 120ms linear, color 120ms linear","&:disabled, &:disabled:active, &.disabled":{cursor:"default",boxShadow:"none",opacity:B(X.default.opacity,B(i,Bt.full))},"&:focus-visible, &.focus":{backgroundColor:B(X.focus.background,B(e,"transparent")),borderColor:B(X.focus.border,B(t,"transparent")),color:B(X.focus.label,B(r,$.fg.strong)),[re.vars.color]:B(X.focus.icon,$.fg.strong),outline:`${We(2)} solid transparent`,outlineOffset:We(2),boxShadow:`0 0 0 ${We(2)} ${B(X.focus.boxShadowInner,B(n,w.color.border.inverse.default))},0 0 0 ${We(4)} ${B(X.focus.boxShadowOuter,B(a,w.color.brand.focus.primary))}`},"&:hover, &.hover":{backgroundColor:B(X.hover.background,B(e,w.color.surface.contrast.strong)),borderColor:B(X.hover.border,B(t,"transparent")),color:B(X.hover.label,B(r,$.fg.stronger)),[re.vars.color]:B(X.hover.icon,$.fg.stronger)},"&:hover:active":{transitionDuration:"40ms"},"&:active, &.active":{backgroundColor:B(X.active.background,B(e,"transparent")),borderColor:B(X.active.border,B(t,"transparent")),color:B(X.active.label,B(r,$.fg.strong)),[re.vars.color]:B(X.active.icon,$.fg.strong)},"&:disabled, &.disabled":{backgroundColor:B(X.disabled.background,B(e,"transparent")),borderColor:B(X.disabled.border,B(t,"transparent")),color:B(X.disabled.label,B(r,$.fg.strong)),[re.vars.color]:B(X.disabled.icon,"currentColor")},"@media (prefers-contrast: more)":{'&[aria-pressed="true"]':{outline:`${We(2)} solid transparent`,outlineOffset:`-${We(1)}`},'&[aria-pressed="true"]:focus-visible, &[aria-pressed="true"].focus':{outline:`${We(4)} double transparent`,outlineOffset:0}},svg:{pointerEvents:"none"}}),modifiers:{size:{large:{fontSize:w.fontSize.body.sm,lineHeight:w.lineHeight.body.sm,letterSpacing:w.letterSpacing.body.sm,height:w.size.lg,paddingInline:w.padding.xxl,minWidth:lr.size1400},medium:{fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,minWidth:lr.size1200,paddingInline:w.padding.xl,height:w.size.md},small:{fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,height:w.size.sm,minWidth:lr.size1000,paddingInline:w.padding.md,gap:w.gap.xs},extraSmall:{fontSize:w.fontSize.subtext.md,lineHeight:w.lineHeight.subtext.md,letterSpacing:w.letterSpacing.subtext.md,height:w.size.xs,minWidth:"auto",paddingInline:w.padding.sm,gap:w.gap.xs}},grow:{true:{width:"100%",maxWidth:"100%"}},iconPosition:{only:{padding:0},start:{},end:{}}},compound:[{modifiers:{size:"large",iconPosition:"only"},styles:{minWidth:w.size.lg}},{modifiers:{size:"large",iconPosition:"start"},styles:{paddingInlineStart:w.padding.xl,paddingInlineEnd:w.padding.xxl}},{modifiers:{size:"large",iconPosition:"end"},styles:{paddingInlineStart:w.padding.xxl,paddingInlineEnd:w.padding.xl}},{modifiers:{size:"medium",iconPosition:"only"},styles:{minWidth:w.size.md}},{modifiers:{size:"medium",iconPosition:"start"},styles:{paddingInlineStart:w.padding.lg,paddingInlineEnd:w.padding.xl}},{modifiers:{size:"medium",iconPosition:"end"},styles:{paddingInlineStart:w.padding.xl,paddingInlineEnd:w.padding.lg}},{modifiers:{size:"small",iconPosition:"only"},styles:{minWidth:w.size.sm}},{modifiers:{size:"small",iconPosition:"start"},styles:{paddingInlineStart:w.padding.sm,paddingInlineEnd:w.padding.md}},{modifiers:{size:"small",iconPosition:"end"},styles:{paddingInlineStart:w.padding.md,paddingInlineEnd:w.padding.sm}},{modifiers:{size:"extraSmall",iconPosition:"only"},styles:{minWidth:w.size.xs}},{modifiers:{size:"extraSmall",iconPosition:"start"},styles:{paddingInlineStart:w.padding.xs,paddingInlineEnd:w.padding.sm}},{modifiers:{size:"extraSmall",iconPosition:"end"},styles:{paddingInlineStart:w.padding.sm,paddingInlineEnd:w.padding.xs}}]}),ti=He("button")({displayName:"BaseButton",Component:({children:e,size:t,fillIcon:n,grow:a,iconPosition:r,icon:i,colors:o,...s},l,u)=>T.jsx(u,{ref:l,type:"button",...Dt(s,[z({size:t,iconPosition:r,grow:a}),X.default((o==null?void 0:o.default)||{}),X.focus((o==null?void 0:o.focus)||{}),X.hover((o==null?void 0:o.hover)||{}),X.active((o==null?void 0:o.active)||{}),X.disabled((o==null?void 0:o.disabled)||{})]),children:e}),subComponents:{Icon:une,Label:sne}}),Rw=He("button")({displayName:"Button",Component:({children:e,icon:t,colors:n,iconPosition:a,shouldMirrorIcon:r,shouldMirrorIconInRTL:i,size:o="medium",...s},l,u)=>{const c=a||(t?e?"start":"only":void 0);return T.jsxs(ti,{as:u,ref:l,size:o,icon:t,colors:n,iconPosition:c,...s,children:[t&&c==="start"&&T.jsx(ti.Icon,{size:o,icon:t,shouldMirrorIcon:r,shouldMirrorIconInRTL:i}),e&&T.jsx(ti.Label,{children:e}),t&&c&&["only","end"].includes(c)&&T.jsx(ti.Icon,{size:o,icon:t,shouldMirrorIcon:r,shouldMirrorIconInRTL:i})]})}}),cne=Ge({extends:z,base:{[z.vars.background]:B(St.base,w.color.brand.accent.primary),[z.vars.borderRadius]:w.shape.full,[z.vars.label]:B(St.accent,$.fg.inverse),[re.vars.color]:B(X.default.icon,"currentColor"),"&:focus-visible, &.focus":{[z.vars.background]:B(St.base,w.color.brand.accent.primary),[z.vars.label]:B(St.accent,$.fg.inverse),[z.vars.boxShadowInner]:w.color.focus.inverse,[z.vars.boxShadowOuter]:w.color.brand.focus.primary,[re.vars.color]:B(X.focus.icon,"currentColor")},"&:hover, &.hover":{[z.vars.background]:mn.darken({color:B(St.base,w.color.brand.accent.primary),mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.hover}),[z.vars.label]:B(St.accent,$.fg.inverse),[re.vars.color]:B(X.hover.icon,"currentColor")},"&:active, &.active":{[z.vars.background]:mn.darken({color:B(St.base,w.color.brand.accent.primary),mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.pressed}),[z.vars.label]:B(St.accent,$.fg.inverse),[re.vars.color]:B(X.active.icon,"currentColor")},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:B(St.base,w.color.brand.accent.primary),[z.vars.label]:B(St.accent,$.fg.inverse),[re.vars.color]:B(X.default.icon,"currentColor")}},modifiers:{variant:{inverse:{[z.vars.background]:B(St.lightest,w.color.surface.inverse),[z.vars.borderRadius]:w.shape.full,[z.vars.label]:$.fg.strong,[re.vars.color]:B(X.default.icon,"currentColor"),"&:hover, &.hover":{[z.vars.background]:mn.darken({color:B(St.lightest,w.color.surface.inverse),mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.hover}),[z.vars.label]:$.fg.stronger,[re.vars.color]:B(X.hover.icon,"currentColor")},"&:focus-visible, &.focus":{[z.vars.background]:B(St.lightest,w.color.surface.inverse),[z.vars.label]:$.fg.strong,[z.vars.boxShadowInner]:$.border.contrast.default,[z.vars.boxShadowOuter]:w.color.focus.inverse,[re.vars.color]:B(X.focus.icon,"currentColor")},"&:active, &.active":{[z.vars.background]:mn.darken({color:B(St.lightest,w.color.surface.inverse),mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.pressed}),[z.vars.label]:$.fg.stronger,[re.vars.color]:B(X.active.icon,"currentColor")},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:B(St.lightest,w.color.surface.inverse),[z.vars.label]:$.fg.strong,[re.vars.color]:B(X.disabled.icon,"currentColor")}}}}}),Aw=He("button")({displayName:"PrimaryButton",Component:({children:e,variant:t,size:n,iconPosition:a,grow:r,cs:i,...o},s,l)=>T.jsx(Rw,{as:l,ref:s,iconPosition:a,size:n,grow:r,cs:[cne({variant:t,iconPosition:a,grow:r,size:n}),i],...o,children:e})}),dne=Ge({extends:z,base:{[z.vars.background]:w.color.surface.transparent,[z.vars.borderRadius]:w.shape.full,[z.vars.border]:$.border.input.default,[z.vars.label]:$.fg.default,[re.vars.color]:B(X.default.icon,"currentColor"),"&:focus-visible, &.focus":{[z.vars.background]:w.color.surface.default,[z.vars.label]:$.fg.strong,[z.vars.boxShadowInner]:w.color.focus.inverse,[z.vars.boxShadowOuter]:w.color.brand.focus.primary,[re.vars.color]:B(X.focus.icon,"currentColor")},"&:hover, &.hover":{[z.vars.background]:mn.darken({color:w.color.surface.transparent,mixinColor:w.color.surface.overlay.mixin,mixinValue:w.opacity.surface.hover}),[z.vars.label]:$.fg.strong,[z.vars.border]:w.color.border.input.hover,[re.vars.color]:B(X.hover.icon,"currentColor")},"&:active, &.active":{[z.vars.background]:mn.darken({color:w.color.surface.transparent,mixinColor:w.color.surface.overlay.mixin,mixinValue:w.opacity.surface.pressed}),[z.vars.label]:$.fg.strong,[z.vars.border]:w.color.border.input.hover,[re.vars.color]:B(X.active.icon,"currentColor")},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:w.color.surface.transparent,[z.vars.label]:$.fg.default,[re.vars.color]:B(X.default.icon,"currentColor")}},modifiers:{variant:{inverse:{[z.vars.background]:w.color.surface.transparent,[z.vars.border]:w.color.border.inverse.default,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.default.icon,"currentColor"),"&:hover, &.hover":{[z.vars.background]:mn.darken({color:w.color.surface.transparent,mixinColor:w.color.surface.overlay.mixin,mixinValue:w.opacity.surface.hover}),[z.vars.border]:w.color.border.inverse.default,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.hover.icon,"currentColor")},"&:focus-visible, &.focus":{[z.vars.background]:w.color.surface.inverse,[z.vars.border]:$.border.transparent,[z.vars.label]:$.fg.contrast.default,[z.vars.boxShadowInner]:$.border.contrast.default,[z.vars.boxShadowOuter]:w.color.focus.inverse,[re.vars.color]:B(X.focus.icon,"currentColor")},"&:active, &.active":{[z.vars.background]:mn.darken({color:w.color.surface.transparent,mixinColor:w.color.surface.overlay.mixin,mixinValue:w.opacity.surface.pressed}),[z.vars.border]:w.color.border.inverse.default,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.active.icon,"currentColor")},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:w.color.surface.transparent,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.default.icon,"currentColor")}}}}}),ip=He("button")({displayName:"SecondaryButton",Component:({children:e,variant:t,size:n,iconPosition:a,grow:r,cs:i,...o},s,l)=>T.jsx(Rw,{as:l,ref:s,iconPosition:a,size:n,grow:r,cs:[dne({variant:t,iconPosition:a,grow:r,size:n}),i],...o,children:e})}),pne=Ge({extends:z,base:{[z.vars.background]:w.color.brand.accent.critical,[z.vars.borderRadius]:w.shape.full,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.default.icon,$.fg.inverse),"&:focus-visible, &.focus":{[z.vars.background]:w.color.brand.accent.critical,[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.focus.icon,$.fg.inverse),[z.vars.boxShadowInner]:w.color.focus.inverse,[z.vars.boxShadowOuter]:w.color.brand.focus.primary},"&:hover, &.hover":{[z.vars.background]:mn.darken({color:w.color.brand.accent.critical,mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.hover}),[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.hover.icon,$.fg.inverse)},"&:active, &.active":{[z.vars.background]:mn.darken({color:w.color.brand.accent.critical,mixinColor:w.color.accent.overlay.mixin,mixinValue:w.opacity.accent.pressed}),[z.vars.label]:$.fg.inverse,[re.vars.color]:B(X.active.icon,$.fg.inverse)},"&:disabled, &.disabled":{[z.vars.opacity]:Bt.disabled,[z.vars.background]:w.color.brand.accent.critical,[re.vars.color]:B(X.disabled.icon,$.fg.inverse),[z.vars.label]:$.fg.inverse}}}),fne=He("button")({displayName:"DeleteButton",Component:({children:e,size:t,iconPosition:n,grow:a,cs:r,...i},o,s)=>T.jsx(Rw,{as:s,ref:o,size:t,grow:a,iconPosition:n,cs:[pne({size:t,iconPosition:n}),r],...i,children:e})});var Sn="top",Dn="bottom",Mn="right",En="left",Nw="auto",Tl=[Sn,Dn,Mn,En],Ni="start",Cw="end",mne="clippingParents",Tz="viewport",bo="popper",gne="reference",$N=Tl.reduce(function(e,t){return e.concat([t+"-"+Ni,t+"-"+Cw])},[]),xz=[].concat(Tl,[Nw]).reduce(function(e,t){return e.concat([t,t+"-"+Ni,t+"-"+Cw])},[]),hne="beforeRead",vne="read",bne="afterRead",yne="beforeMain",Sne="main",Ene="afterMain",_ne="beforeWrite",wne="write",kne="afterWrite",Ine=[hne,vne,bne,yne,Sne,Ene,_ne,wne,kne];function Un(e){return e?(e.nodeName||"").toLowerCase():null}function zn(e){if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ds(e){var t=zn(e).Element;return e instanceof t||e instanceof Element}function er(e){var t=zn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Tne(e){var t=zn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function xne(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var a=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!er(i)||!Un(i)||(Object.assign(i.style,a),Object.keys(r).forEach(function(o){var s=r[o];s===!1?i.removeAttribute(o):i.setAttribute(o,s===!0?"":s)}))})}function Rne(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(a){var r=t.elements[a],i=t.attributes[a]||{},o=Object.keys(t.styles.hasOwnProperty(a)?t.styles[a]:n[a]),s=o.reduce(function(l,u){return l[u]="",l},{});!er(r)||!Un(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(l){r.removeAttribute(l)}))})}}const Ane={name:"applyStyles",enabled:!0,phase:"write",fn:xne,effect:Rne,requires:["computeStyles"]};function Jn(e){return e.split("-")[0]}function Ow(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Rz(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Tne(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function vr(e){return zn(e).getComputedStyle(e)}function Nne(e){return["table","td","th"].indexOf(Un(e))>=0}function Rr(e){return((ds(e)?e.ownerDocument:e.document)||window.document).documentElement}function op(e){return Un(e)==="html"?e:e.assignedSlot||e.parentNode||e.host||Rr(e)}function LN(e){if(!er(e)||vr(e).position==="fixed")return null;var t=e.offsetParent;if(t){var n=Rr(t);if(Un(t)==="body"&&vr(t).position==="static"&&vr(n).position!=="static")return n}return t}function Cne(e){for(var t=op(e);er(t)&&["html","body"].indexOf(Un(t))<0;){var n=vr(t);if(n.transform!=="none"||n.perspective!=="none"||n.willChange&&n.willChange!=="auto")return t;t=t.parentNode}return null}function xl(e){for(var t=zn(e),n=LN(e);n&&Nne(n)&&vr(n).position==="static";)n=LN(n);return n&&Un(n)==="body"&&vr(n).position==="static"?t:n||Cne(e)||t}function $w(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Au(e,t,n){return Math.max(e,Math.min(t,n))}function Az(){return{top:0,right:0,bottom:0,left:0}}function Nz(e){return Object.assign(Object.assign({},Az()),e)}function Cz(e,t){return t.reduce(function(n,a){return n[a]=e,n},{})}function One(e){var t,n=e.state,a=e.name,r=n.elements.arrow,i=n.modifiersData.popperOffsets,o=Jn(n.placement),s=$w(o),l=[En,Mn].indexOf(o)>=0,u=l?"height":"width";if(!(!r||!i)){var c=n.modifiersData[a+"#persistent"].padding,d=Ow(r),p=s==="y"?Sn:En,g=s==="y"?Dn:Mn,v=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],y=i[s]-n.rects.reference[s],k=xl(r),h=k?s==="y"?k.clientHeight||0:k.clientWidth||0:0,f=v/2-y/2,m=c[p],b=h-d[u]-c[g],E=h/2-d[u]/2+f,_=Au(m,E,b),I=s;n.modifiersData[a]=(t={},t[I]=_,t.centerOffset=_-E,t)}}function $ne(e){var t=e.state,n=e.options,a=e.name,r=n.element,i=r===void 0?"[data-popper-arrow]":r,o=n.padding,s=o===void 0?0:o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Rz(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[a+"#persistent"]={padding:Nz(typeof s!="number"?s:Cz(s,Tl))}))}const Lne={name:"arrow",enabled:!0,phase:"main",fn:One,effect:$ne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};var Dne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mne(e){var t=e.x,n=e.y,a=window,r=a.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}function DN(e){var t,n=e.popper,a=e.popperRect,r=e.placement,i=e.offsets,o=e.position,s=e.gpuAcceleration,l=e.adaptive,u=Mne(i),c=u.x,d=u.y,p=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),v=En,y=Sn,k=window;if(l){var h=xl(n);h===zn(n)&&(h=Rr(n)),r===Sn&&(y=Dn,d-=h.clientHeight-a.height,d*=s?1:-1),r===En&&(v=Mn,c-=h.clientWidth-a.width,c*=s?1:-1)}var f=Object.assign({position:o},l&&Dne);if(s){var m;return Object.assign(Object.assign({},f),{},(m={},m[y]=g?"0":"",m[v]=p?"0":"",m.transform=(k.devicePixelRatio||1)<2?"translate("+c+"px, "+d+"px)":"translate3d("+c+"px, "+d+"px, 0)",m))}return Object.assign(Object.assign({},f),{},(t={},t[y]=g?d+"px":"",t[v]=p?c+"px":"",t.transform="",t))}function Pne(e){var t=e.state,n=e.options,a=n.gpuAcceleration,r=a===void 0?!0:a,i=n.adaptive,o=i===void 0?!0:i,s={placement:Jn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),DN(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),DN(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})}const Une={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Pne,data:{}};var uu={passive:!0};function zne(e){var t=e.state,n=e.instance,a=e.options,r=a.scroll,i=r===void 0?!0:r,o=a.resize,s=o===void 0?!0:o,l=zn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,uu)}),s&&l.addEventListener("resize",n.update,uu),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,uu)}),s&&l.removeEventListener("resize",n.update,uu)}}const Fne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:zne,data:{}};var Bne={left:"right",right:"left",bottom:"top",top:"bottom"};function Nu(e){return e.replace(/left|right|bottom|top/g,function(t){return Bne[t]})}var jne={start:"end",end:"start"};function MN(e){return e.replace(/start|end/g,function(t){return jne[t]})}function ps(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Lw(e){var t=zn(e),n=t.pageXOffset,a=t.pageYOffset;return{scrollLeft:n,scrollTop:a}}function Dw(e){return ps(Rr(e)).left+Lw(e).scrollLeft}function qne(e){var t=zn(e),n=Rr(e),a=t.visualViewport,r=n.clientWidth,i=n.clientHeight,o=0,s=0;return a&&(r=a.width,i=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=a.offsetLeft,s=a.offsetTop)),{width:r,height:i,x:o+Dw(e),y:s}}function Gne(e){var t=Rr(e),n=Lw(e),a=e.ownerDocument.body,r=Math.max(t.scrollWidth,t.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-n.scrollLeft+Dw(e),s=-n.scrollTop;return vr(a||t).direction==="rtl"&&(o+=Math.max(t.clientWidth,a?a.clientWidth:0)-r),{width:r,height:i,x:o,y:s}}function Mw(e){var t=vr(e),n=t.overflow,a=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+a)}function Oz(e){return["html","body","#document"].indexOf(Un(e))>=0?e.ownerDocument.body:er(e)&&Mw(e)?e:Oz(op(e))}function Uo(e,t){t===void 0&&(t=[]);var n=Oz(e),a=Un(n)==="body",r=zn(n),i=a?[r].concat(r.visualViewport||[],Mw(n)?n:[]):n,o=t.concat(i);return a?o:o.concat(Uo(op(i)))}function ey(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Hne(e){var t=ps(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function PN(e,t){return t===Tz?ey(qne(e)):er(t)?Hne(t):ey(Gne(Rr(e)))}function Vne(e){var t=Uo(op(e)),n=["absolute","fixed"].indexOf(vr(e).position)>=0,a=n&&er(e)?xl(e):e;return ds(a)?t.filter(function(r){return ds(r)&&Rz(r,a)&&Un(r)!=="body"}):[]}function Wne(e,t,n){var a=t==="clippingParents"?Vne(e):[].concat(t),r=[].concat(a,[n]),i=r[0],o=r.reduce(function(s,l){var u=PN(e,l);return s.top=Math.max(u.top,s.top),s.right=Math.min(u.right,s.right),s.bottom=Math.min(u.bottom,s.bottom),s.left=Math.max(u.left,s.left),s},PN(e,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function fs(e){return e.split("-")[1]}function $z(e){var t=e.reference,n=e.element,a=e.placement,r=a?Jn(a):null,i=a?fs(a):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(r){case Sn:l={x:o,y:t.y-n.height};break;case Dn:l={x:o,y:t.y+t.height};break;case Mn:l={x:t.x+t.width,y:s};break;case En:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=r?$w(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Ni:l[u]=Math.floor(l[u])-Math.floor(t[c]/2-n[c]/2);break;case Cw:l[u]=Math.floor(l[u])+Math.ceil(t[c]/2-n[c]/2);break}}return l}function Ci(e,t){t===void 0&&(t={});var n=t,a=n.placement,r=a===void 0?e.placement:a,i=n.boundary,o=i===void 0?mne:i,s=n.rootBoundary,l=s===void 0?Tz:s,u=n.elementContext,c=u===void 0?bo:u,d=n.altBoundary,p=d===void 0?!1:d,g=n.padding,v=g===void 0?0:g,y=Nz(typeof v!="number"?v:Cz(v,Tl)),k=c===bo?gne:bo,h=e.elements.reference,f=e.rects.popper,m=e.elements[p?k:c],b=Wne(ds(m)?m:m.contextElement||Rr(e.elements.popper),o,l),E=ps(h),_=$z({reference:E,element:f,placement:r}),I=ey(Object.assign(Object.assign({},f),_)),C=c===bo?I:E,O={top:b.top-C.top+y.top,bottom:C.bottom-b.bottom+y.bottom,left:b.left-C.left+y.left,right:C.right-b.right+y.right},M=e.modifiersData.offset;if(c===bo&&M){var W=M[r];Object.keys(O).forEach(function(te){var ne=[Mn,Dn].indexOf(te)>=0?1:-1,ye=[Sn,Dn].indexOf(te)>=0?"y":"x";O[te]+=W[ye]*ne})}return O}function Zne(e,t){t===void 0&&(t={});var n=t,a=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?xz:l,c=fs(a),d=c?s?$N:$N.filter(function(v){return fs(v)===c}):Tl,p=d.filter(function(v){return u.indexOf(v)>=0});p.length===0&&(p=d);var g=p.reduce(function(v,y){return v[y]=Ci(e,{placement:y,boundary:r,rootBoundary:i,padding:o})[Jn(y)],v},{});return Object.keys(g).sort(function(v,y){return g[v]-g[y]})}function Yne(e){if(Jn(e)===Nw)return[];var t=Nu(e);return[MN(e),t,MN(t)]}function Kne(e){var t=e.state,n=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,s=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,g=n.flipVariations,v=g===void 0?!0:g,y=n.allowedAutoPlacements,k=t.options.placement,h=Jn(k),f=h===k,m=l||(f||!v?[Nu(k)]:Yne(k)),b=[k].concat(m).reduce(function(ge,Oe){return ge.concat(Jn(Oe)===Nw?Zne(t,{placement:Oe,boundary:c,rootBoundary:d,padding:u,flipVariations:v,allowedAutoPlacements:y}):Oe)},[]),E=t.rects.reference,_=t.rects.popper,I=new Map,C=!0,O=b[0],M=0;M<b.length;M++){var W=b[M],te=Jn(W),ne=fs(W)===Ni,ye=[Sn,Dn].indexOf(te)>=0,we=ye?"width":"height",me=Ci(t,{placement:W,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),ke=ye?ne?Mn:En:ne?Dn:Sn;E[we]>_[we]&&(ke=Nu(ke));var D=Nu(ke),q=[];if(i&&q.push(me[te]<=0),s&&q.push(me[ke]<=0,me[D]<=0),q.every(function(ge){return ge})){O=W,C=!1;break}I.set(W,q)}if(C)for(var G=v?3:1,Z=function(Oe){var Le=b.find(function(Qe){var un=I.get(Qe);if(un)return un.slice(0,Oe).every(function(Na){return Na})});if(Le)return O=Le,"break"},K=G;K>0;K--){var Ve=Z(K);if(Ve==="break")break}t.placement!==O&&(t.modifiersData[a]._skip=!0,t.placement=O,t.reset=!0)}}const Xne={name:"flip",enabled:!0,phase:"main",fn:Kne,requiresIfExists:["offset"],data:{_skip:!1}};function UN(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function zN(e){return[Sn,Mn,Dn,En].some(function(t){return e[t]>=0})}function Jne(e){var t=e.state,n=e.name,a=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,o=Ci(t,{elementContext:"reference"}),s=Ci(t,{altBoundary:!0}),l=UN(o,a),u=UN(s,r,i),c=zN(l),d=zN(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const Qne={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Jne};function ere(e,t,n){var a=Jn(e),r=[En,Sn].indexOf(a)>=0?-1:1,i=typeof n=="function"?n(Object.assign(Object.assign({},t),{},{placement:e})):n,o=i[0],s=i[1];return o=o||0,s=(s||0)*r,[En,Mn].indexOf(a)>=0?{x:s,y:o}:{x:o,y:s}}function tre(e){var t=e.state,n=e.options,a=e.name,r=n.offset,i=r===void 0?[0,0]:r,o=xz.reduce(function(c,d){return c[d]=ere(d,t.rects,i),c},{}),s=o[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[a]=o}const nre={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tre};function rre(e){var t=e.state,n=e.name;t.modifiersData[n]=$z({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const are={name:"popperOffsets",enabled:!0,phase:"read",fn:rre,data:{}};function ire(e){return e==="x"?"y":"x"}function ore(e){var t=e.state,n=e.options,a=e.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,s=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,g=p===void 0?!0:p,v=n.tetherOffset,y=v===void 0?0:v,k=Ci(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),h=Jn(t.placement),f=fs(t.placement),m=!f,b=$w(h),E=ire(b),_=t.modifiersData.popperOffsets,I=t.rects.reference,C=t.rects.popper,O=typeof y=="function"?y(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):y,M={x:0,y:0};if(_){if(i){var W=b==="y"?Sn:En,te=b==="y"?Dn:Mn,ne=b==="y"?"height":"width",ye=_[b],we=_[b]+k[W],me=_[b]-k[te],ke=g?-C[ne]/2:0,D=f===Ni?I[ne]:C[ne],q=f===Ni?-C[ne]:-I[ne],G=t.elements.arrow,Z=g&&G?Ow(G):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Az(),Ve=K[W],ge=K[te],Oe=Au(0,I[ne],Z[ne]),Le=m?I[ne]/2-ke-Oe-Ve-O:D-Oe-Ve-O,Qe=m?-I[ne]/2+ke+Oe+ge+O:q+Oe+ge+O,un=t.elements.arrow&&xl(t.elements.arrow),Na=un?b==="y"?un.clientTop||0:un.clientLeft||0:0,Ca=t.modifiersData.offset?t.modifiersData.offset[t.placement][b]:0,Oa=_[b]+Le-Ca-Na,lp=_[b]+Qe-Ca,$a=Au(g?Math.min(we,Oa):we,ye,g?Math.max(me,lp):me);_[b]=$a,M[b]=$a-ye}if(s){var lF=b==="x"?Sn:En,uF=b==="x"?Dn:Mn,Nl=_[E],cF=Nl+k[lF],dF=Nl-k[uF],Fw=Au(cF,Nl,dF);_[E]=Fw,M[E]=Fw-Nl}t.modifiersData[a]=M}}const sre={name:"preventOverflow",enabled:!0,phase:"main",fn:ore,requiresIfExists:["offset"]};function lre(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ure(e){return e===zn(e)||!er(e)?Lw(e):lre(e)}function cre(e,t,n){n===void 0&&(n=!1);var a=Rr(t),r=ps(e),i=er(t),o={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(i||!i&&!n)&&((Un(t)!=="body"||Mw(a))&&(o=ure(t)),er(t)?(s=ps(t),s.x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Dw(a))),{x:r.left+o.scrollLeft-s.x,y:r.top+o.scrollTop-s.y,width:r.width,height:r.height}}function dre(e){var t=new Map,n=new Set,a=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&r(l)}}),a.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),a}function pre(e){var t=dre(e);return Ine.reduce(function(n,a){return n.concat(t.filter(function(r){return r.phase===a}))},[])}function fre(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function mre(e){var t=e.reduce(function(n,a){var r=n[a.name];return n[a.name]=r?Object.assign(Object.assign(Object.assign({},r),a),{},{options:Object.assign(Object.assign({},r.options),a.options),data:Object.assign(Object.assign({},r.data),a.data)}):a,n},{});return Object.keys(t).map(function(n){return t[n]})}var FN={placement:"bottom",modifiers:[],strategy:"absolute"};function BN(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function gre(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,a=n===void 0?[]:n,r=t.defaultOptions,i=r===void 0?FN:r;return function(s,l,u){u===void 0&&(u=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},FN),i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},d=[],p=!1,g={state:c,setOptions:function(h){y(),c.options=Object.assign(Object.assign(Object.assign({},i),c.options),h),c.scrollParents={reference:ds(s)?Uo(s):s.contextElement?Uo(s.contextElement):[],popper:Uo(l)};var f=pre(mre([].concat(a,c.options.modifiers)));return c.orderedModifiers=f.filter(function(m){return m.enabled}),v(),g.update()},forceUpdate:function(){if(!p){var h=c.elements,f=h.reference,m=h.popper;if(BN(f,m)){c.rects={reference:cre(f,xl(m),c.options.strategy==="fixed"),popper:Ow(m)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(M){return c.modifiersData[M.name]=Object.assign({},M.data)});for(var b=0;b<c.orderedModifiers.length;b++){if(c.reset===!0){c.reset=!1,b=-1;continue}var E=c.orderedModifiers[b],_=E.fn,I=E.options,C=I===void 0?{}:I,O=E.name;typeof _=="function"&&(c=_({state:c,options:C,name:O,instance:g})||c)}}}},update:fre(function(){return new Promise(function(k){g.forceUpdate(),k(c)})}),destroy:function(){y(),p=!0}};if(!BN(s,l))return g;g.setOptions(u).then(function(k){!p&&u.onFirstUpdate&&u.onFirstUpdate(k)});function v(){c.orderedModifiers.forEach(function(k){var h=k.name,f=k.options,m=f===void 0?{}:f,b=k.effect;if(typeof b=="function"){var E=b({state:c,name:h,instance:g,options:m}),_=function(){};d.push(E||_)}})}function y(){d.forEach(function(k){return k()}),d=[]}return g}}var hre=[Fne,are,Une,Ane,nre,Xne,sre,Lne,Qne],vre=gre({defaultModifiers:hre});const bre=["top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","auto","auto-start","auto-end"],yre=e=>{const[t,n]=e.split("-");let a;switch(t){case"top":a="bottom";break;case"bottom":a="top";break;case"left":a="right";break;case"right":a="left";break;default:a="auto"}return n&&(a=bre.find(r=>r.includes(`${a}-${n}`))??a),a},Lz=(e,t,n)=>{if(e.length===0||e[0].split("-")[0]==="auto")return n;const{reference:a,popper:r}=t.rects,i=Ci({...t,placement:e[0]}),o=/left|right/.test(e[0].split("-")[0])?"horizontal":"vertical",s=(i.top>0||i.bottom>0||i.left>0||i.right>0)&&(o==="horizontal"?r.height/2-i.top<a.height||r.height/2-i.bottom<a.height:r.width-i.left<a.width||r.width-i.right<a.width),l=e[0].split("-")[0];return!s&&i[l]<=0?e[0]:Lz(e.slice(1),t,n)},jN="fallbackModifier",qN={name:jN,enabled:!0,phase:"main",data:{_skip:!1},fn({state:e,options:t}){const n=e.options.placement,{fallbackPlacements:a}=t,r=[n,yre(n),...a||[]],i=Lz(r,e,n);e.placement!==i&&(e.modifiersData[jN]._skip=!0,e.placement=i,e.reset=!0)}},Pw=["top","right","bottom","left"],sp=V.forwardRef(({portal:e=!0,open:t=!0,...n},a)=>t?T.jsx(_re,{ref:a,portal:e,...n}):null),Sre=e=>{if(e!==null)return"current"in e?e.current||void 0:e},Ere={},_re=V.forwardRef(({anchorElement:e,getAnchorClientRect:t,popperOptions:n=Ere,placement:a="bottom",fallbackPlacements:r=Pw,onPlacementChange:i,children:o,portal:s,popperInstanceRef:l},u)=>{const c=V.useRef(!0),{localRef:d,elementRef:p}=ea(l),[g,v]=V.useState(a),y=Yte(u,e),k=V.useRef(a);k.current=g;const h=V.useMemo(()=>({name:"setPlacement",enabled:!0,phase:"afterWrite",fn({state:m}){v(m.placement),i==null||i(m.placement)}}),[v,i]);V.useLayoutEffect(()=>{const m=t?{getBoundingClientRect:t}:Sre(e??null);if(!m){console.warn("Popper: neither anchorElement or getAnchorClientRect was defined. A valid anchorElement or getAnchorClientRect callback must be provided to render a Popper");return}if(y.current){const b=vre(m,y.current,{placement:a,...n,modifiers:[h,{...qN,options:{fallbackPlacements:r}},...n.modifiers||[]]});return p(b),()=>{b==null||b.destroy()}}},[e,t,y]),V.useLayoutEffect(()=>{var m;c.current||(m=d.current)==null||m.setOptions({placement:a,...n,modifiers:[h,{...qN,options:{fallbackPlacements:r}},...n.modifiers||[]]}),c.current=!1},[n,a,r,h,d]);const f=T.jsx(T.Fragment,{children:wre(o)?o({placement:g}):o});return s?Yy.createPortal(f,y.current):f});function wre(e){return typeof e=="function"}const kt=Pn({defaultConfig:{...Wn.defaultConfig,...oa.defaultConfig,mode:"single",shouldVirtualize:!1},requiredConfig:{...Wn.requiredConfig,...oa.requiredConfig},contextOverride:oa.Context})(e=>{const t=Wn(Wn.mergeConfig(e,{selection:e.mode==="single"?WU:Oee})),n=oa(oa.mergeConfig(e,{id:t.state.id,onHide(){t.state.indexRef.current=0}}));Sz(n),Ez(n);const a={mode:e.mode,...t.state,...n.state},r={...t.events,...n.events};return{...t,...n,state:a,events:r,UNSTABLE_parentModel:e.UNSTABLE_parentModel}}),kre=Ge({vars:{minWidth:We(1),transformOriginVertical:"top",transformOriginHorizontal:"left",maxHeight:""},base:({transformOriginVertical:e,transformOriginHorizontal:t,minWidth:n,maxHeight:a})=>({fontFamily:et.default,fontWeight:Ye.normal,fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,color:$.fg.default,position:"relative",display:"flex",flexDirection:"column",transition:"transform ease-out 150ms",padding:w.padding.xxs,borderRadius:w.shape.xxl,maxWidth:Hn.subtract("100vw",w.size.sm),boxShadow:hw[3],minWidth:n,maxHeight:a,transformOrigin:`${e} ${t}`,".wd-no-animation &":{animation:"none"}})}),Ire=be()(()=>({})),Dz=lt("div")({displayName:"Menu.Card",modelHook:kt,elemPropsHook:Ire})(({minWidth:e,maxHeight:t,...n},a,r)=>{const i=V.useMemo(()=>Tw(r.state.placement||"bottom"),[r.state.placement]);return T.jsx(Bte,{as:a,...Dt(n,kre({minWidth:typeof e=="number"?We(e):e,maxHeight:typeof t=="number"?We(t):t,transformOriginVertical:i.vertical,transformOriginHorizontal:i.horizontal})),children:n.children})}),Tre=Ge({base:{display:"block",height:We(1),border:"none",borderTop:`${We(1)} solid ${w.color.border.default}`,margin:`${w.gap.sm} ${w.gap.md}`}}),Mz=He("hr")({displayName:"Menu.Divider",Component({...e},t,n){return T.jsx(n,{ref:t,...In(e,Tre())})}});var xre=function(e){return Object.prototype.hasOwnProperty.call(e,"props")},Rre=function(e,t){return e+ms(t)},ms=function(e){return e===null||typeof e=="boolean"||typeof e>"u"?"":typeof e=="number"?e.toString():typeof e=="string"?e:Array.isArray(e)?e.reduce(Rre,""):xre(e)&&Object.prototype.hasOwnProperty.call(e.props,"children")?ms(e.props.children):""};ms.default=ms;var Are=ms;const Nre=yc(Are),GN={vertical:"bottom",horizontal:"center"},ty=Ba("positionX","positionY"),Cre=EQ({"0%":{opacity:0,transform:`translate(${ty.positionX}, ${ty.positionY})`},"100%":{opacity:1,transform:"translate(0)"}}),Ore=Ge({vars:{tooltipTransformOriginHorizontal:"",tooltipTransformOriginVertical:""},base:({tooltipTransformOriginHorizontal:e,tooltipTransformOriginVertical:t})=>({fontFamily:et.default,fontWeight:Ye.normal,fontSize:w.fontSize.subtext.md,lineHeight:w.lineHeight.subtext.md,letterSpacing:w.letterSpacing.subtext.md,display:"inline-flex",position:"relative",padding:w.padding.sm,color:$.fg.inverse,animationName:Cre,animationDuration:"150ms",animationTimingFunction:"ease-out",transformOrigin:`${t} ${e}`,a:{color:$.fg.inverse,textDecoration:"underline"},"&:before":{content:'""',borderRadius:w.shape.md,outline:`${We(1)} solid transparent`,outlineOffset:`-${We(1)}`,zIndex:-1,margin:w.gap.xs,backgroundColor:w.color.surface.contrast.default,position:"absolute",top:0,left:0,right:0,bottom:0,boxShadow:hw[2]},"[data-popper-reference-hidden] &":{visibility:"hidden",pointerEvents:"none"},'[data-popper-placement="top-start"] &, [data-popper-placement="bottom-start"] &':{left:Hn.negate(lr.size50)},'[data-popper-placement="top-end"] &, [data-popper-placement="bottom-end"] &':{right:Hn.negate(lr.size50)},'[data-popper-placement="left-start"] &, [data-popper-placement="right-start"] &':{top:Hn.negate(lr.size50)},'[data-popper-placement="left-end"] &, [data-popper-placement="right-end"] &':{bottom:Hn.negate(lr.size50)}}),modifiers:{elementHasFocus:{true:{padding:Hn.subtract(w.padding.md,Hn.divide(w.padding.xxs,2)),"&:before":{margin:lr.size75}}}}}),Pz=He("div")({displayName:"TooltipContainer",Component:({children:e,transformOrigin:t=GN,elementHasFocus:n=!1,...a},r,i)=>{const o=BQ(t||GN,w.gap.sm);return T.jsx(i,{ref:r,...Dt(a,[Ore({tooltipTransformOriginHorizontal:t==null?void 0:t.horizontal,tooltipTransformOriginVertical:t==null?void 0:t.vertical,elementHasFocus:n}),ty({positionX:o.x,positionY:o.y})]),children:e})}}),HN=(e,t=0)=>{const n=V.useRef(),a=()=>{n.current=window.setTimeout(e,t)},r=()=>{window.clearTimeout(n.current),n.current=void 0};return V.useEffect(()=>()=>{window.clearTimeout(n.current)},[n]),{start:a,clear:r}},$re=e=>{const t=e.tagName.toLowerCase(),n=e.getAttribute("tabindex");switch(t){case"button":case"input":case"select":case"textarea":case"details":return!0;default:return n?Number(n)>=0:!1}};function Uz({type:e="label",titleText:t="",showDelay:n=300,hideDelay:a=100}={}){const r=V.useRef(!1),i=oa(),[o,s]=V.useState(null),l=tp(),u=HN(i.events.hide,a),c=HN(i.events.show,n),d=()=>{u.start(),c.clear()},p=()=>{c.start(),u.clear()},g=f=>{s(f.currentTarget),p()},v=f=>{r.current||g(f),r.current=!1},y=f=>{r.current=!0,$re(f.currentTarget)&&i.events.hide()};Ez(i),Sz(i),Hte(i),Vte(i);const k=i.state.visibility!=="hidden",h={"aria-describedby":e==="describe"&&k?l:void 0,"aria-description":e==="description"?t:void 0,"aria-label":e==="label"?t:void 0,onMouseEnter:g,onMouseLeave:d,onMouseDown:y,onFocus:v,onBlur:d};return h["aria-describedby"]===void 0&&delete h["aria-describedby"],{targetProps:h,popperProps:{open:k,anchorElement:o,ref:i.state.stackRef},tooltipProps:{id:e==="describe"&&k?l:void 0,role:"tooltip",onMouseEnter:p,onMouseLeave:d}}}function Lre(e,t,n=Object.keys(t)){return n.reduce((a,r)=>(typeof e[r]=="function"?a[r]=Sw(t[r],e[r]):a[r]=t[r],a),{})}const Dre=He("div")({displayName:"Tooltip",Component({type:e="label",placement:t="top",title:n,children:a,showDelay:r=300,hideDelay:i=100,fallbackPlacements:o=Pw,...s}){const l=Nre(n),{targetProps:u,popperProps:c,tooltipProps:d}=Uz({type:e,titleText:l,showDelay:r,hideDelay:i}),[p,g]=V.useState(!1),{localRef:v}=ea();return V.useEffect(()=>{const y=v.current;if(!y)return;const k=()=>{g(y.matches(":focus-visible")||y.classList.contains("focus"))};return k(),y.addEventListener("focus",k),y.addEventListener("blur",k),()=>{y.removeEventListener("focus",k),y.removeEventListener("blur",k)}},[v]),T.jsxs(V.Fragment,{children:[V.cloneElement(a,{...u,...Lre(a.props,u),.../^(muted|describe)$/.test(e)&&a.props["aria-label"]?{"aria-label":a.props["aria-label"]}:{}}),T.jsx(sp,{placement:t,fallbackPlacements:o,...c,children:({placement:y})=>{const k=Tw(y);return T.jsx(Pz,{transformOrigin:k,...In(s),...d,elementHasFocus:p,children:n})}})]})}}),zz=e=>{const t=getComputedStyle(e);if(t.overflow==="auto"||t.overflow==="scroll"||t.overflow==="clip"||t.overflow==="hidden")return e;if(e.children){for(let n=0;n<e.children.length;n++){const a=zz(e.children[n]);if(a)return a}return null}return null},Fz=e=>{const t=getComputedStyle(e);if(t.textOverflow==="ellipsis"||Number(t.webkitLineClamp)>0)return e;for(let n=0;n<e.children.length;n++){const a=Fz(e.children[n]);if(a)return a}return null},VN=e=>{const t=Fz(e)||zz(e);return t?t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight:!1};function Mre(e,t,n=Object.keys(t)){return n.reduce((a,r)=>(typeof e[r]=="function"?a[r]=Sw(t[r],e[r]):a[r]=t[r],a),{})}const Uw=({placement:e="top",fallbackPlacements:t=Pw,children:n,...a})=>{const[r,i]=V.useState(""),{targetProps:o,popperProps:s,tooltipProps:l}=Uz({type:"muted"}),u=d=>{const p=d.currentTarget;i(p instanceof HTMLElement?p.innerText:""),VN(p)&&o.onMouseEnter(d)},c=d=>{const p=d.currentTarget;i(p instanceof HTMLElement?p.innerText:""),VN(p)&&o.onFocus(d)};return T.jsxs(V.Fragment,{children:[V.cloneElement(n,{...o,onMouseEnter:u,onFocus:c,"aria-label":void 0,...Mre({...o,onMouseEnter:u,onFocus:c},n.props)}),T.jsx(sp,{placement:e,fallbackPlacements:t,...s,children:({placement:d})=>{const p=Tw(d);return T.jsx(Pz,{transformOrigin:p,...l,...a,children:r})}})]})},Bz=Pn({defaultConfig:{id:void 0},requiredConfig:{}})(e=>({state:{id:tp(e.id)},events:{}})),Pre=Ge({base:{fontFamily:et.default,fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,fontWeight:Ye.bold,display:"flex",alignItems:"center",width:"100%",gap:w.gap.md,padding:`${w.padding.xs} ${w.padding.md}`}}),Ure=be()(e=>({"data-type":"group",role:"group","aria-labelledby":e.state.id})),zre=be()(e=>({id:e.state.id})),WN=lt("div")({modelHook:Bz,elemPropsHook:zre})(({children:e,...t},n)=>T.jsx(Uw,{children:T.jsx(n,{...Dt(t,Pre()),children:e})})),jz=Ji("div")({displayName:"Menu.Group",modelHook:Bz,elemPropsHook:Ure,subComponents:{Heading:WN}})(({children:e,title:t,...n},a)=>T.jsxs(a,{...Dt(n),children:[t?T.jsx(WN,{children:t}):null,e]})),Rl=Ge({parts:{text:"menu-item-text",icon:"menu-item-icon",selected:"menu-item-selected"},base:({textPart:e,iconPart:t,selectedPart:n})=>({fontFamily:et.default,fontWeight:Ye.normal,fontSize:w.fontSize.subtext.lg,lineHeight:w.lineHeight.subtext.lg,letterSpacing:w.letterSpacing.subtext.lg,display:"flex",alignItems:"center",width:"100%",gap:w.gap.md,padding:`${w.padding.sm} ${w.padding.md}`,boxSizing:"border-box",cursor:"pointer",color:$.fg.default,borderWidth:0,borderRadius:w.shape.xxl,textAlign:"start",transition:"background-color 80ms, color 80ms",backgroundColor:"inherit",minHeight:w.size.md,overflowWrap:"anywhere",[re.vars.color]:"currentColor",[`& :where(${n})`]:{transition:"opacity 80ms linear",opacity:Bt.zero},"&:where(:has(span))":{display:"flex"},"&[aria-selected=true]":{color:w.color.brand.fg.primary.strong,backgroundColor:w.color.brand.surface.primary.strong,[`& :where(${n})`]:{opacity:Bt.full},"&:where(.focus, :focus-visible)":{[re.vars.color]:"currentColor",outline:"none",backgroundColor:w.color.brand.accent.primary,color:$.fg.inverse}},"&:is(.hover, :hover)":{color:$.fg.strong,backgroundColor:w.color.surface.overlay.hover.default},"&:is(.focus, :focus-visible)":{color:$.fg.inverse,backgroundColor:w.color.brand.accent.primary,outline:`${We(2)} solid transparent`,outlineOffset:`-${We(2)}`},"&:is(:disabled, [aria-disabled=true])":{cursor:"default",opacity:Bt.disabled,"&:where(.hover, :hover, [aria-selected=true])":{background:"none"},"&:where(.focus, :focus-visible)":{backgroundColor:w.color.brand.accent.primary,opacity:Bt.disabled}},[`& :where(${e})`]:{flexGrow:1,alignSelf:"center"},[`& :where(${t})`]:{alignSelf:"start"}})}),Fre=e=>T.jsx(xw,{...Rl.parts.icon,...e}),qz=He("span")({Component:({...e},t,n)=>T.jsx(n,{ref:t,...Rl.parts.text,...In(e)})}),Gz=He("button")({displayName:"MenuItem",Component:({children:e,isDisabled:t,...n},a,r)=>T.jsx(r,{ref:a,"aria-disabled":t,...Dt(n,Rl({})),children:typeof e=="string"?T.jsx(qz,{children:e}):e})}),Hz=be()(e=>({onKeyDown(t){const n=getComputedStyle(t.currentTarget);t.key==="ArrowLeft"&&n.direction==="ltr"&&e.UNSTABLE_parentModel&&e.events.hide(t)}})),Vz=be()((e,t,n={"data-id":""})=>{const{localRef:a,elementRef:r}=ea(t),i=n["data-id"];return V.useLayoutEffect(()=>{e.state.mode==="single"&&vc(e.state,i)&&requestAnimationFrame(()=>{var o;(o=a.current)==null||o.focus()})},[i,a,e.state.cursorId,e.state.mode]),{ref:r,className:vc(e.state,n["data-id"])?"focus":void 0}});function Wz(e){e.UNSTABLE_parentModel&&(e.UNSTABLE_parentModel.events.hide(),Wz(e.UNSTABLE_parentModel))}const Bre=xr(be()(e=>({role:"menuitem",onMouseDown(t){e.events.goTo({id:t.currentTarget.getAttribute("data-id")})},onClick:e.state.mode==="single"?t=>{t.currentTarget.getAttribute("aria-disabled")!=="true"&&(e.events.hide(t),Wz(e))}:void 0})),Vz,Hz,KU,YU,eo),Oi=lt("button")({displayName:"Menu.Item",modelHook:kt,elemPropsHook:Bre,subComponents:{Icon:Fre,Text:qz}})(({children:e,...t},n)=>T.jsx(Uw,{placement:"left",children:T.jsx(Gz,{as:n,...t,children:e})})),jre=xr(be()(e=>({role:"menu","aria-labelledby":e.state.id,"aria-orientation":e.state.orientation})),Jte,Wte),qre=Ge({base:{background:w.color.surface.popover,borderRadius:w.shape.xxl,padding:0,gap:w.gap.xs},modifiers:{orientation:{vertical:{flexDirection:"column"},horizontal:{flexDirection:"row"}}}}),Zz=lt("div")({displayName:"Menu.List",modelHook:kt,elemPropsHook:jre})(({children:e,...t},n,a)=>T.jsx(Lte,{as:n,model:a,marginY:w.gap.none,...In(t,qre({orientation:a.state.orientation})),children:e})),Yz=He("span")({Component:({...e},t,n)=>T.jsxs(T.Fragment,{children:[T.jsx(Oi.Text,{ref:t,as:n,...e}),T.jsx(xw,{...Rl.parts.selected,icon:nne})]})}),Gre=He("li")({displayName:"MenuOption",Component:({children:e,...t},n,a)=>T.jsx(a,{ref:n,...Dt(t,Rl()),children:typeof e=="string"?T.jsx(Yz,{children:e}):e})}),Hre=xr(be()((e,t,n={})=>{const a=n["data-id"]||"";return{role:"option","aria-selected":VU(a,e.state),onMouseDown:o=>{o.button===0&&o.currentTarget.getAttribute("aria-disabled")!=="true"&&(e.events.goTo({id:a}),e.events.select({id:a}),e.state.mode==="single"&&e.events.hide(o)),o.preventDefault()}}}),Bee,eo),Kz=lt("li")({displayName:"Menu.Item",modelHook:kt,elemPropsHook:Hre,subComponents:{Icon:Oi.Icon,Text:Yz}})(({children:e,...t},n)=>T.jsx(Uw,{placement:"left",children:T.jsx(Gre,{as:n,...t,children:e})})),Xz=Zte,Jz={modifiers:[{name:"offset",options:{offset:()=>[0,4]}}]},Vre=lt("div")({modelHook:kt,elemPropsHook:Xz})(({children:e,...t})=>T.jsx(sp,{placement:"bottom-start",popperOptions:Jz,...t,children:e})),Qz=be()(e=>({id:e.state.id,"aria-haspopup":"true","aria-expanded":e.state.visibility==="visible",onKeyDown(t){switch(t.key){case"ArrowDown":case"ArrowUp":e.events.show(t)}}})),eF=xr(Qz,Kte),Wre=xr(Qz,Xte),Zre=lt(ip)({displayName:"Menu.Target",modelHook:kt,elemPropsHook:eF})(({children:e,...t},n)=>T.jsx(n,{...t,children:e})),Yre=lt(ip)({displayName:"Menu.Target",modelHook:kt,elemPropsHook:Wre})(({children:e,...t},n)=>T.jsx(n,{...t,children:e})),Kre=lt("div")({modelHook:kt,elemPropsHook:Xz})(({children:e,...t})=>T.jsx(sp,{placement:"right-start",popperOptions:Jz,...t,children:e})),Xre=(e,t=0)=>{const n=U.useRef(),a=()=>{n.current=window.setTimeout(e,t)},r=()=>{window.clearTimeout(n.current),n.current=void 0};return U.useEffect(()=>()=>{window.clearTimeout(n.current)},[n]),{start:a,clear:r}},Jre=xr(au(e=>e.UNSTABLE_parentModel,Vz),au(e=>e.UNSTABLE_parentModel,Hz),au(e=>e.UNSTABLE_parentModel,YU),be()((e,t)=>({ref:Qi(t,e.state.targetRef)})),au(e=>e.UNSTABLE_parentModel,eo),be()(e=>{const t=U.useRef(),n=Xre(()=>{e.UNSTABLE_parentModel.events.goTo({id:t.current||""}),e.events.show(event)},300);return{id:e.state.id,role:"menuitem","aria-haspopup":"true","aria-expanded":e.state.visibility==="visible",onMouseDown(a){e.UNSTABLE_parentModel.events.goTo({id:a.currentTarget.getAttribute("data-id")})},onMouseEnter(a){t.current=a.currentTarget.getAttribute("data-id"),n.start()},onMouseLeave(){n.clear()},onClick(a){e.state.targetRef.current instanceof Element||(e.state.targetRef.current=a.currentTarget),e.state.visibility!=="hidden"?e.events.hide(a):e.events.show(a)},"data-has-children":!0,onKeyDown(a){if(e.state.orientation==="vertical")switch(a.key){case"ArrowRight":case"Enter":case" ":e.events.show(a);break}}}})),Qre=lt("button")({modelHook:kt,elemPropsHook:Jre})(({children:e,...t},n)=>T.jsxs(Gz,{as:n,...t,children:[typeof e=="string"?T.jsx(Oi.Text,{children:e}):e,T.jsx(Oi.Icon,{icon:rne})]})),eae=lt()({modelHook:kt,subComponents:{Card:Dz,List:Zz,Item:Oi,TargetItem:Qre,Group:jz,Option:Kz,Divider:Mz,Popper:Kre}})(({children:e,model:t,...n},a,r)=>{const i=kt(kt.mergeConfig(n,{getId:r.getId,getTextValue:r.getTextValue,UNSTABLE_parentModel:r,mode:r.state.mode,orientation:r.state.orientation,onSelect(s){r.events.select(s)},onSelectAll(){r.events.selectAll()}})),o=kt.Context;return T.jsx(o.Provider,{value:i,children:e})}),ZN=Ji()({displayName:"Menu",modelHook:kt,subComponents:{Target:Zre,Card:Dz,List:Zz,Item:Oi,Group:jz,Option:Kz,Divider:Mz,TargetContext:Yre,Popper:Vre,Submenu:eae}})(({children:e})=>T.jsx(T.Fragment,{children:e})),Al=Pn({defaultConfig:{...su.defaultConfig,id:"",orientation:"horizontal",menuConfig:{},maximumVisible:3},requiredConfig:su.requiredConfig})(e=>{const t=e.getId||Po,n=e.items,a=su(su.mergeConfig(e,{orientation:e.orientation||"horizontal",items:n,shouldVirtualize:!1}));let r=a.state.hiddenIds,i=a.state.nonInteractiveIds;const o=a.state.items.length,s=!e.maximumVisible||e.maximumVisible<1?3:e.maximumVisible>o?o:e.maximumVisible;o-r.length>=s&&(r=n.slice(s,o).map(t)),o-r.length===0&&(r=n.slice(1,o).map(t)),i=r;const l={...a.state,hiddenIds:r,nonInteractiveIds:i,orientation:e.orientation||"horizontal"},u=U.useMemo(()=>n?n.filter(p=>l.hiddenIds.includes(t(p))):void 0,[l.hiddenIds,n]),c={...a.events},d=kt(kt.mergeConfig(e.menuConfig,{id:`act-bar-menu-${a.state.id}`,items:u,nonInteractiveIds:l.nonInteractiveIds.filter(p=>!l.hiddenIds.includes(p)),onSelect(){d.events.hide()},onShow(){d.events.goToFirst()}}));return{...a,state:l,events:c,menu:d}}),tae=xr(Dee,eo),nae=lt(ip)({displayName:"ActionBar.Item",modelHook:Al,elemPropsHook:tae})((e,t)=>T.jsx(t,{...e})),rae=Ge({base:{display:"flex",boxShadow:hw[2],gap:w.gap.md,background:w.color.surface.default,borderBlockStart:`solid ${We(1)} ${w.color.border.default}`,padding:`${w.padding.md} ${lr.size500} `,position:"fixed",insetBlockEnd:0,insetInline:0,"@media (max-width: 767.5px)":{padding:w.size.xxxs,"> *":{flex:1}}}}),aae=$ee,iae=lt("div")({displayName:"ActionBar.List",modelHook:Al,elemPropsHook:aae})(({children:e,overflowButton:t,...n},a,r)=>T.jsxs(a,{...Dt(n,rae()),children:[_w(r,e),t]})),oae=Ge({base:{flex:0}}),sae=xr(be()(()=>({"aria-haspopup":!0})),Pee,KQ()(e=>e.menu,eF)),lae=lt("button")({displayName:"ActionBar.OverflowButton",modelHook:Al,elemPropsHook:sae})((e,t)=>T.jsx(ip,{as:t,icon:ine,...Dt(e,oae())})),Te=Ji()({displayName:"ActionBar",modelHook:Al,subComponents:{List:iae,Item:nae,OverflowButton:lae,Menu:ZN}})(({children:e},t,n)=>T.jsx(ZN,{model:n.menu,children:e})),tF=()=>T.jsx(Te,{children:T.jsxs(Te.List,{position:"relative",as:"section","aria-label":"Action Bar",children:[T.jsx(Te.Item,{as:Aw,onClick:()=>console.log("first action"),children:"First Action"}),T.jsx(Te.Item,{children:"Second Action"})]})});tF.__RAW__=`import {ActionBar} from '@workday/canvas-kit-react/action-bar';
|
|
299
299
|
import {PrimaryButton} from '@workday/canvas-kit-react/button';
|
|
300
300
|
|
|
301
301
|
export const Basic = () => {
|