%PDF-
%PDF-
Mini Shell
Mini Shell
/*! This file is auto-generated */
(function() {
var wp;(wp||={}).commands=(()=>{var _o=Object.create;var $e=Object.defineProperty;var Oo=Object.getOwnPropertyDescriptor;var Do=Object.getOwnPropertyNames;var Po=Object.getPrototypeOf,Lo=Object.prototype.hasOwnProperty;var J=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Te=(e,t)=>{for(var r in t)$e(e,r,{get:t[r],enumerable:!0})},br=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Do(t))!Lo.call(e,o)&&o!==r&&$e(e,o,{get:()=>t[o],enumerable:!(a=Oo(t,o))||a.enumerable});return e};var h=(e,t,r)=>(r=e!=null?_o(Po(e)):{},br(t||!e||!e.__esModule?$e(r,"default",{value:e,enumerable:!0}):r,e)),Ao=e=>br($e({},"__esModule",{value:!0}),e);var A=J((Qs,Sr)=>{Sr.exports=window.React});var ee=J((ai,Or)=>{Or.exports=window.ReactJSXRuntime});var Ct=J((fi,Nr)=>{Nr.exports=window.ReactDOM});var fe=J((du,Ya)=>{Ya.exports=window.wp.data});var Se=J((mu,qa)=>{qa.exports=window.wp.element});var Za=J((pu,Xa)=>{Xa.exports=window.wp.i18n});var Qa=J((vu,Ja)=>{Ja.exports=window.wp.components});var to=J((hu,eo)=>{eo.exports=window.wp.keyboardShortcuts});var Qt=J((yu,ro)=>{ro.exports=window.wp.primitives});var io=J((Du,so)=>{so.exports=window.wp.privateApis});var co=J((ku,fo)=>{fo.exports=window.wp.preferences});var Xs={};Te(Xs,{CommandMenu:()=>bo,privateApis:()=>dr,store:()=>M,useCommand:()=>wo,useCommandLoader:()=>xo,useCommands:()=>Eo});var Rr=1,No=.9,ko=.8,To=.17,yt=.1,bt=.999,Io=.9999,Mo=.99,Fo=/[\\\/_+.#"@\[\(\{&]/,jo=/[\\\/_+.#"@\[\(\{&]/g,Bo=/[\s-]/,Er=/[\s-]/g;function Rt(e,t,r,a,o,n,i){if(n===t.length)return o===e.length?Rr:Mo;var s=`${o},${n}`;if(i[s]!==void 0)return i[s];for(var u=a.charAt(n),l=r.indexOf(u,o),c=0,d,v,g,w;l>=0;)d=Rt(e,t,r,a,l+1,n+1,i),d>c&&(l===o?d*=Rr:Fo.test(e.charAt(l-1))?(d*=ko,g=e.slice(o,l-1).match(jo),g&&o>0&&(d*=Math.pow(bt,g.length))):Bo.test(e.charAt(l-1))?(d*=No,w=e.slice(o,l-1).match(Er),w&&o>0&&(d*=Math.pow(bt,w.length))):(d*=To,o>0&&(d*=Math.pow(bt,l-o))),e.charAt(l)!==t.charAt(n)&&(d*=Io)),(d<yt&&r.charAt(l-1)===a.charAt(n+1)||a.charAt(n+1)===a.charAt(n)&&r.charAt(l-1)!==a.charAt(n))&&(v=Rt(e,t,r,a,l+1,n+2,i),v*yt>d&&(d=v*yt)),d>c&&(c=d),l=r.indexOf(u,l+1);return i[s]=c,c}function wr(e){return e.toLowerCase().replace(Er," ")}function Cr(e,t,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,Rt(e,t,wr(e),wr(t),0,0,{})}var k=h(A(),1);var ei=!!(typeof window<"u"&&window.document&&window.document.createElement);function oe(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}var _r=h(A(),1);function xr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ie(...e){return t=>{let r=!1,a=e.map(o=>{let n=xr(o,t);return!r&&typeof n=="function"&&(r=!0),n});if(r)return()=>{for(let o=0;o<a.length;o++){let n=a[o];typeof n=="function"?n():xr(e[o],null)}}}}function Q(...e){return _r.useCallback(ie(...e),e)}var q=h(A(),1),wt=h(ee(),1);function Dr(e,t){let r=q.createContext(t),a=n=>{let{children:i,...s}=n,u=q.useMemo(()=>s,Object.values(s));return(0,wt.jsx)(r.Provider,{value:u,children:i})};a.displayName=e+"Provider";function o(n){let i=q.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${n}\` must be used within \`${e}\``)}return[a,o]}function Pr(e,t=[]){let r=[];function a(n,i){let s=q.createContext(i),u=r.length;r=[...r,i];let l=d=>{let{scope:v,children:g,...w}=d,m=v?.[e]?.[u]||s,y=q.useMemo(()=>w,Object.values(w));return(0,wt.jsx)(m.Provider,{value:y,children:g})};l.displayName=n+"Provider";function c(d,v){let g=v?.[e]?.[u]||s,w=q.useContext(g);if(w)return w;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${n}\``)}return[l,c]}let o=()=>{let n=r.map(i=>q.createContext(i));return function(s){let u=s?.[e]||n;return q.useMemo(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return o.scopeName=e,[a,Wo(o,...t)]}function Wo(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let a=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(n){let i=a.reduce((s,{useScope:u,scopeName:l})=>{let d=u(n)[`__scope${l}`];return{...s,...d}},{});return q.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var Et=h(A(),1);var Lr=h(A(),1),le=globalThis?.document?Lr.useLayoutEffect:()=>{};var Uo=Et[" useId ".trim().toString()]||(()=>{}),Vo=0;function te(e){let[t,r]=Et.useState(Uo());return le(()=>{e||r(a=>a??String(Vo++))},[e]),e||(t?`radix-${t}`:"")}var X=h(A(),1);var He=h(A(),1);var Go=X[" useInsertionEffect ".trim().toString()]||le;function Ar({prop:e,defaultProp:t,onChange:r=()=>{},caller:a}){let[o,n,i]=$o({defaultProp:t,onChange:r}),s=e!==void 0,u=s?e:o;{let c=X.useRef(e!==void 0);X.useEffect(()=>{let d=c.current;d!==s&&console.warn(`${a} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,a])}let l=X.useCallback(c=>{if(s){let d=Ho(c)?c(e):c;d!==e&&i.current?.(d)}else n(c)},[s,e,n,i]);return[u,l]}function $o({defaultProp:e,onChange:t}){let[r,a]=X.useState(e),o=X.useRef(r),n=X.useRef(t);return Go(()=>{n.current=t},[t]),X.useEffect(()=>{o.current!==r&&(n.current?.(r),o.current=r)},[r,o]),[r,a,n]}function Ho(e){return typeof e=="function"}var j=h(A(),1);var kr=h(A(),1),Tr=h(Ct(),1);var W=h(A(),1);var Ke=h(ee(),1);function ze(e){let t=Ko(e),r=W.forwardRef((a,o)=>{let{children:n,...i}=a,s=W.Children.toArray(n),u=s.find(Yo);if(u){let l=u.props.children,c=s.map(d=>d===u?W.Children.count(l)>1?W.Children.only(null):W.isValidElement(l)?l.props.children:null:d);return(0,Ke.jsx)(t,{...i,ref:o,children:W.isValidElement(l)?W.cloneElement(l,void 0,c):null})}return(0,Ke.jsx)(t,{...i,ref:o,children:n})});return r.displayName=`${e}.Slot`,r}function Ko(e){let t=W.forwardRef((r,a)=>{let{children:o,...n}=r;if(W.isValidElement(o)){let i=Xo(o),s=qo(n,o.props);return o.type!==W.Fragment&&(s.ref=a?ie(a,i):i),W.cloneElement(o,s)}return W.Children.count(o)>1?W.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var zo=Symbol("radix.slottable");function Yo(e){return W.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===zo}function qo(e,t){let r={...t};for(let a in t){let o=e[a],n=t[a];/^on[A-Z]/.test(a)?o&&n?r[a]=(...s)=>{let u=n(...s);return o(...s),u}:o&&(r[a]=o):a==="style"?r[a]={...o,...n}:a==="className"&&(r[a]=[o,n].filter(Boolean).join(" "))}return{...e,...r}}function Xo(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ir=h(ee(),1),Zo=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],B=Zo.reduce((e,t)=>{let r=ze(`Primitive.${t}`),a=kr.forwardRef((o,n)=>{let{asChild:i,...s}=o,u=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,Ir.jsx)(u,{...s,ref:n})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{});function Mr(e,t){e&&Tr.flushSync(()=>e.dispatchEvent(t))}var _e=h(A(),1);function me(e){let t=_e.useRef(e);return _e.useEffect(()=>{t.current=e}),_e.useMemo(()=>(...r)=>t.current?.(...r),[])}var Fr=h(A(),1);function jr(e,t=globalThis?.document){let r=me(e);Fr.useEffect(()=>{let a=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",a,{capture:!0}),()=>t.removeEventListener("keydown",a,{capture:!0})},[r,t])}var xt=h(ee(),1),Jo="DismissableLayer",St="dismissableLayer.update",Qo="dismissableLayer.pointerDownOutside",en="dismissableLayer.focusOutside",Br,Ur=j.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_t=j.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:n,onInteractOutside:i,onDismiss:s,...u}=e,l=j.useContext(Ur),[c,d]=j.useState(null),v=c?.ownerDocument??globalThis?.document,[,g]=j.useState({}),w=Q(t,R=>d(R)),m=Array.from(l.layers),[y]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),C=m.indexOf(y),_=c?m.indexOf(c):-1,N=l.layersWithOutsidePointerEventsDisabled.size>0,T=_>=C,D=an(R=>{let V=R.target,de=[...l.branches].some(ye=>ye.contains(V));!T||de||(o?.(R),i?.(R),R.defaultPrevented||s?.())},v),x=on(R=>{let V=R.target;[...l.branches].some(ye=>ye.contains(V))||(n?.(R),i?.(R),R.defaultPrevented||s?.())},v);return jr(R=>{_===l.layers.size-1&&(a?.(R),!R.defaultPrevented&&s&&(R.preventDefault(),s()))},v),j.useEffect(()=>{if(c)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Br=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),Wr(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Br)}},[c,v,r,l]),j.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),Wr())},[c,l]),j.useEffect(()=>{let R=()=>g({});return document.addEventListener(St,R),()=>document.removeEventListener(St,R)},[]),(0,xt.jsx)(B.div,{...u,ref:w,style:{pointerEvents:N?T?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,x.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,D.onPointerDownCapture)})});_t.displayName=Jo;var tn="DismissableLayerBranch",rn=j.forwardRef((e,t)=>{let r=j.useContext(Ur),a=j.useRef(null),o=Q(t,a);return j.useEffect(()=>{let n=a.current;if(n)return r.branches.add(n),()=>{r.branches.delete(n)}},[r.branches]),(0,xt.jsx)(B.div,{...e,ref:o})});rn.displayName=tn;function an(e,t=globalThis?.document){let r=me(e),a=j.useRef(!1),o=j.useRef(()=>{});return j.useEffect(()=>{let n=s=>{if(s.target&&!a.current){let l=function(){Vr(Qo,r,c,{discrete:!0})};var u=l;let c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);a.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",n)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",n),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>a.current=!0}}function on(e,t=globalThis?.document){let r=me(e),a=j.useRef(!1);return j.useEffect(()=>{let o=n=>{n.target&&!a.current&&Vr(en,r,{originalEvent:n},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function Wr(){let e=new CustomEvent(St);document.dispatchEvent(e)}function Vr(e,t,r,{discrete:a}){let o=r.originalEvent.target,n=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),a?Mr(o,n):o.dispatchEvent(n)}var Z=h(A(),1);var zr=h(ee(),1),Ot="focusScope.autoFocusOnMount",Dt="focusScope.autoFocusOnUnmount",Gr={bubbles:!1,cancelable:!0},nn="FocusScope",Pt=Z.forwardRef((e,t)=>{let{loop:r=!1,trapped:a=!1,onMountAutoFocus:o,onUnmountAutoFocus:n,...i}=e,[s,u]=Z.useState(null),l=me(o),c=me(n),d=Z.useRef(null),v=Q(t,m=>u(m)),g=Z.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Z.useEffect(()=>{if(a){let _=function(x){if(g.paused||!s)return;let R=x.target;s.contains(R)?d.current=R:pe(d.current,{select:!0})},N=function(x){if(g.paused||!s)return;let R=x.relatedTarget;R!==null&&(s.contains(R)||pe(d.current,{select:!0}))},T=function(x){if(document.activeElement===document.body)for(let V of x)V.removedNodes.length>0&&pe(s)};var m=_,y=N,C=T;document.addEventListener("focusin",_),document.addEventListener("focusout",N);let D=new MutationObserver(T);return s&&D.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",_),document.removeEventListener("focusout",N),D.disconnect()}}},[a,s,g.paused]),Z.useEffect(()=>{if(s){Hr.add(g);let m=document.activeElement;if(!s.contains(m)){let C=new CustomEvent(Ot,Gr);s.addEventListener(Ot,l),s.dispatchEvent(C),C.defaultPrevented||(sn(dn(Yr(s)),{select:!0}),document.activeElement===m&&pe(s))}return()=>{s.removeEventListener(Ot,l),setTimeout(()=>{let C=new CustomEvent(Dt,Gr);s.addEventListener(Dt,c),s.dispatchEvent(C),C.defaultPrevented||pe(m??document.body,{select:!0}),s.removeEventListener(Dt,c),Hr.remove(g)},0)}}},[s,l,c,g]);let w=Z.useCallback(m=>{if(!r&&!a||g.paused)return;let y=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,C=document.activeElement;if(y&&C){let _=m.currentTarget,[N,T]=ln(_);N&&T?!m.shiftKey&&C===T?(m.preventDefault(),r&&pe(N,{select:!0})):m.shiftKey&&C===N&&(m.preventDefault(),r&&pe(T,{select:!0})):C===_&&m.preventDefault()}},[r,a,g.paused]);return(0,zr.jsx)(B.div,{tabIndex:-1,...i,ref:v,onKeyDown:w})});Pt.displayName=nn;function sn(e,{select:t=!1}={}){let r=document.activeElement;for(let a of e)if(pe(a,{select:t}),document.activeElement!==r)return}function ln(e){let t=Yr(e),r=$r(t,e),a=$r(t.reverse(),e);return[r,a]}function Yr(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{let o=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||o?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function $r(e,t){for(let r of e)if(!un(r,{upTo:t}))return r}function un(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function fn(e){return e instanceof HTMLInputElement&&"select"in e}function pe(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&fn(e)&&t&&e.select()}}var Hr=cn();function cn(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),e=Kr(e,t),e.unshift(t)},remove(t){e=Kr(e,t),e[0]?.resume()}}}function Kr(e,t){let r=[...e],a=r.indexOf(t);return a!==-1&&r.splice(a,1),r}function dn(e){return e.filter(t=>t.tagName!=="A")}var Ye=h(A(),1),qr=h(Ct(),1);var Xr=h(ee(),1),mn="Portal",Lt=Ye.forwardRef((e,t)=>{let{container:r,...a}=e,[o,n]=Ye.useState(!1);le(()=>n(!0),[]);let i=r||o&&globalThis?.document?.body;return i?qr.default.createPortal((0,Xr.jsx)(B.div,{...a,ref:t}),i):null});Lt.displayName=mn;var H=h(A(),1);var Zr=h(A(),1);function pn(e,t){return Zr.useReducer((r,a)=>t[r][a]??r,e)}var Ie=e=>{let{present:t,children:r}=e,a=vn(t),o=typeof r=="function"?r({present:a.isPresent}):H.Children.only(r),n=Q(a.ref,hn(o));return typeof r=="function"||a.isPresent?H.cloneElement(o,{ref:n}):null};Ie.displayName="Presence";function vn(e){let[t,r]=H.useState(),a=H.useRef(null),o=H.useRef(e),n=H.useRef("none"),i=e?"mounted":"unmounted",[s,u]=pn(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H.useEffect(()=>{let l=qe(a.current);n.current=s==="mounted"?l:"none"},[s]),le(()=>{let l=a.current,c=o.current;if(c!==e){let v=n.current,g=qe(l);e?u("MOUNT"):g==="none"||l?.display==="none"?u("UNMOUNT"):u(c&&v!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),le(()=>{if(t){let l,c=t.ownerDocument.defaultView??window,d=g=>{let m=qe(a.current).includes(CSS.escape(g.animationName));if(g.target===t&&m&&(u("ANIMATION_END"),!o.current)){let y=t.style.animationFillMode;t.style.animationFillMode="forwards",l=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},v=g=>{g.target===t&&(n.current=qe(a.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(l),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:H.useCallback(l=>{a.current=l?getComputedStyle(l):null,r(l)},[])}}function qe(e){return e?.animationName||"none"}function hn(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Qr=h(A(),1),At=0;function ea(){Qr.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Jr()),document.body.insertAdjacentElement("beforeend",e[1]??Jr()),At++,()=>{At===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),At--}},[])}function Jr(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var K=function(){return K=Object.assign||function(t){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},K.apply(this,arguments)};function Xe(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r}function ta(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++)(n||!(a in t))&&(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}var tt=h(A());var U=h(A());var be="right-scroll-bar-position",Re="width-before-scroll-bar",Nt="with-scroll-bars-hidden",kt="--removed-body-scroll-bar-size";function Ze(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}var ra=h(A());function aa(e,t){var r=(0,ra.useState)(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(a){var o=r.value;o!==a&&(r.value=a,r.callback(a,o))}}}})[0];return r.callback=t,r.facade}var Je=h(A());var gn=typeof window<"u"?Je.useLayoutEffect:Je.useEffect,oa=new WeakMap;function Tt(e,t){var r=aa(t||null,function(a){return e.forEach(function(o){return Ze(o,a)})});return gn(function(){var a=oa.get(r);if(a){var o=new Set(a),n=new Set(e),i=r.current;o.forEach(function(s){n.has(s)||Ze(s,null)}),n.forEach(function(s){o.has(s)||Ze(s,i)})}oa.set(r,e)},[e]),r}function yn(e){return e}function bn(e,t){t===void 0&&(t=yn);var r=[],a=!1,o={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(n){var i=t(n,a);return r.push(i),function(){r=r.filter(function(s){return s!==i})}},assignSyncMedium:function(n){for(a=!0;r.length;){var i=r;r=[],i.forEach(n)}r={push:function(s){return n(s)},filter:function(){return r}}},assignMedium:function(n){a=!0;var i=[];if(r.length){var s=r;r=[],s.forEach(n),i=r}var u=function(){var c=i;i=[],c.forEach(n)},l=function(){return Promise.resolve().then(u)};l(),r={push:function(c){i.push(c),l()},filter:function(c){return i=i.filter(c),r}}}};return o}function It(e){e===void 0&&(e={});var t=bn(null);return t.options=K({async:!0,ssr:!1},e),t}var na=h(A()),sa=function(e){var t=e.sideCar,r=Xe(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw new Error("Sidecar medium not found");return na.createElement(a,K({},r))};sa.isSideCarExport=!0;function Mt(e,t){return e.useMedium(t),sa}var Qe=It();var Ft=function(){},Me=U.forwardRef(function(e,t){var r=U.useRef(null),a=U.useState({onScrollCapture:Ft,onWheelCapture:Ft,onTouchMoveCapture:Ft}),o=a[0],n=a[1],i=e.forwardProps,s=e.children,u=e.className,l=e.removeScrollBar,c=e.enabled,d=e.shards,v=e.sideCar,g=e.noRelative,w=e.noIsolation,m=e.inert,y=e.allowPinchZoom,C=e.as,_=C===void 0?"div":C,N=e.gapMode,T=Xe(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=v,x=Tt([r,t]),R=K(K({},T),o);return U.createElement(U.Fragment,null,c&&U.createElement(D,{sideCar:Qe,removeScrollBar:l,shards:d,noRelative:g,noIsolation:w,inert:m,setCallbacks:n,allowPinchZoom:!!y,lockRef:r,gapMode:N}),i?U.cloneElement(U.Children.only(s),K(K({},R),{ref:x})):U.createElement(_,K({},R,{className:u,ref:x}),s))});Me.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Me.classNames={fullWidth:Re,zeroRight:be};var I=h(A());var De=h(A());var ua=h(A());var ia;var la=function(){if(ia)return ia;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Rn(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=la();return t&&e.setAttribute("nonce",t),e}function wn(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function En(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var jt=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Rn())&&(wn(t,r),En(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var Bt=function(){var e=jt();return function(t,r){ua.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}};var Fe=function(){var e=Bt(),t=function(r){var a=r.styles,o=r.dynamic;return e(a,o),null};return t};var Cn={left:0,top:0,right:0,gap:0},Wt=function(e){return parseInt(e||"",10)||0},Sn=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],a=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Wt(r),Wt(a),Wt(o)]},Ut=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Cn;var t=Sn(e),r=document.documentElement.clientWidth,a=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,a-r+t[2]-t[0])}};var xn=Fe(),Oe="data-scroll-locked",_n=function(e,t,r,a){var o=e.left,n=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),`
.`.concat(Nt,` {
overflow: hidden `).concat(a,`;
padding-right: `).concat(s,"px ").concat(a,`;
}
body[`).concat(Oe,`] {
overflow: hidden `).concat(a,`;
overscroll-behavior: contain;
`).concat([t&&"position: relative ".concat(a,";"),r==="margin"&&`
padding-left: `.concat(o,`px;
padding-top: `).concat(n,`px;
padding-right: `).concat(i,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(s,"px ").concat(a,`;
`),r==="padding"&&"padding-right: ".concat(s,"px ").concat(a,";")].filter(Boolean).join(""),`
}
.`).concat(be,` {
right: `).concat(s,"px ").concat(a,`;
}
.`).concat(Re,` {
margin-right: `).concat(s,"px ").concat(a,`;
}
.`).concat(be," .").concat(be,` {
right: 0 `).concat(a,`;
}
.`).concat(Re," .").concat(Re,` {
margin-right: 0 `).concat(a,`;
}
body[`).concat(Oe,`] {
`).concat(kt,": ").concat(s,`px;
}
`)},fa=function(){var e=parseInt(document.body.getAttribute(Oe)||"0",10);return isFinite(e)?e:0},On=function(){De.useEffect(function(){return document.body.setAttribute(Oe,(fa()+1).toString()),function(){var e=fa()-1;e<=0?document.body.removeAttribute(Oe):document.body.setAttribute(Oe,e.toString())}},[])},Vt=function(e){var t=e.noRelative,r=e.noImportant,a=e.gapMode,o=a===void 0?"margin":a;On();var n=De.useMemo(function(){return Ut(o)},[o]);return De.createElement(xn,{styles:_n(n,!t,o,r?"":"!important")})};var Gt=!1;if(typeof window<"u")try{je=Object.defineProperty({},"passive",{get:function(){return Gt=!0,!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch{Gt=!1}var je,we=Gt?{passive:!1}:!1;var Dn=function(e){return e.tagName==="TEXTAREA"},ca=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Dn(e)&&r[t]==="visible")},Pn=function(e){return ca(e,"overflowY")},Ln=function(e){return ca(e,"overflowX")},$t=function(e,t){var r=t.ownerDocument,a=t;do{typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&(a=a.host);var o=da(e,a);if(o){var n=ma(e,a),i=n[1],s=n[2];if(i>s)return!0}a=a.parentNode}while(a&&a!==r.body);return!1},An=function(e){var t=e.scrollTop,r=e.scrollHeight,a=e.clientHeight;return[t,r,a]},Nn=function(e){var t=e.scrollLeft,r=e.scrollWidth,a=e.clientWidth;return[t,r,a]},da=function(e,t){return e==="v"?Pn(t):Ln(t)},ma=function(e,t){return e==="v"?An(t):Nn(t)},kn=function(e,t){return e==="h"&&t==="rtl"?-1:1},pa=function(e,t,r,a,o){var n=kn(e,window.getComputedStyle(t).direction),i=n*a,s=r.target,u=t.contains(s),l=!1,c=i>0,d=0,v=0;do{if(!s)break;var g=ma(e,s),w=g[0],m=g[1],y=g[2],C=m-y-n*w;(w||C)&&da(e,s)&&(d+=C,v+=w);var _=s.parentNode;s=_&&_.nodeType===Node.DOCUMENT_FRAGMENT_NODE?_.host:_}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(c&&(o&&Math.abs(d)<1||!o&&i>d)||!c&&(o&&Math.abs(v)<1||!o&&-i>v))&&(l=!0),l};var et=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},va=function(e){return[e.deltaX,e.deltaY]},ha=function(e){return e&&"current"in e?e.current:e},Tn=function(e,t){return e[0]===t[0]&&e[1]===t[1]},In=function(e){return`
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},Mn=0,Pe=[];function ga(e){var t=I.useRef([]),r=I.useRef([0,0]),a=I.useRef(),o=I.useState(Mn++)[0],n=I.useState(Fe)[0],i=I.useRef(e);I.useEffect(function(){i.current=e},[e]),I.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=ta([e.lockRef.current],(e.shards||[]).map(ha),!0).filter(Boolean);return m.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=I.useCallback(function(m,y){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!i.current.allowPinchZoom;var C=et(m),_=r.current,N="deltaX"in m?m.deltaX:_[0]-C[0],T="deltaY"in m?m.deltaY:_[1]-C[1],D,x=m.target,R=Math.abs(N)>Math.abs(T)?"h":"v";if("touches"in m&&R==="h"&&x.type==="range")return!1;var V=$t(R,x);if(!V)return!0;if(V?D=R:(D=R==="v"?"h":"v",V=$t(R,x)),!V)return!1;if(!a.current&&"changedTouches"in m&&(N||T)&&(a.current=D),!D)return!0;var de=a.current||D;return pa(de,y,m,de==="h"?N:T,!0)},[]),u=I.useCallback(function(m){var y=m;if(!(!Pe.length||Pe[Pe.length-1]!==n)){var C="deltaY"in y?va(y):et(y),_=t.current.filter(function(D){return D.name===y.type&&(D.target===y.target||y.target===D.shadowParent)&&Tn(D.delta,C)})[0];if(_&&_.should){y.cancelable&&y.preventDefault();return}if(!_){var N=(i.current.shards||[]).map(ha).filter(Boolean).filter(function(D){return D.contains(y.target)}),T=N.length>0?s(y,N[0]):!i.current.noIsolation;T&&y.cancelable&&y.preventDefault()}}},[]),l=I.useCallback(function(m,y,C,_){var N={name:m,delta:y,target:C,should:_,shadowParent:Fn(C)};t.current.push(N),setTimeout(function(){t.current=t.current.filter(function(T){return T!==N})},1)},[]),c=I.useCallback(function(m){r.current=et(m),a.current=void 0},[]),d=I.useCallback(function(m){l(m.type,va(m),m.target,s(m,e.lockRef.current))},[]),v=I.useCallback(function(m){l(m.type,et(m),m.target,s(m,e.lockRef.current))},[]);I.useEffect(function(){return Pe.push(n),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:v}),document.addEventListener("wheel",u,we),document.addEventListener("touchmove",u,we),document.addEventListener("touchstart",c,we),function(){Pe=Pe.filter(function(m){return m!==n}),document.removeEventListener("wheel",u,we),document.removeEventListener("touchmove",u,we),document.removeEventListener("touchstart",c,we)}},[]);var g=e.removeScrollBar,w=e.inert;return I.createElement(I.Fragment,null,w?I.createElement(n,{styles:In(o)}):null,g?I.createElement(Vt,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Fn(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var ya=Mt(Qe,ga);var ba=tt.forwardRef(function(e,t){return tt.createElement(Me,K({},e,{ref:t,sideCar:ya}))});ba.classNames=Me.classNames;var Ht=ba;var jn=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Le=new WeakMap,rt=new WeakMap,at={},Kt=0,Ra=function(e){return e&&(e.host||Ra(e.parentNode))},Bn=function(e,t){return t.map(function(r){if(e.contains(r))return r;var a=Ra(r);return a&&e.contains(a)?a:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Wn=function(e,t,r,a){var o=Bn(t,Array.isArray(e)?e:[e]);at[r]||(at[r]=new WeakMap);var n=at[r],i=[],s=new Set,u=new Set(o),l=function(d){!d||s.has(d)||(s.add(d),l(d.parentNode))};o.forEach(l);var c=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(v){if(s.has(v))c(v);else try{var g=v.getAttribute(a),w=g!==null&&g!=="false",m=(Le.get(v)||0)+1,y=(n.get(v)||0)+1;Le.set(v,m),n.set(v,y),i.push(v),m===1&&w&&rt.set(v,!0),y===1&&v.setAttribute(r,"true"),w||v.setAttribute(a,"true")}catch(C){console.error("aria-hidden: cannot operate on ",v,C)}})};return c(t),s.clear(),Kt++,function(){i.forEach(function(d){var v=Le.get(d)-1,g=n.get(d)-1;Le.set(d,v),n.set(d,g),v||(rt.has(d)||d.removeAttribute(a),rt.delete(d)),g||d.removeAttribute(r)}),Kt--,Kt||(Le=new WeakMap,Le=new WeakMap,rt=new WeakMap,at={})}},wa=function(e,t,r){r===void 0&&(r="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),o=t||jn(e);return o?(a.push.apply(a,Array.from(o.querySelectorAll("[aria-live], script"))),Wn(a,o,r,"aria-hidden")):function(){return null}};var P=h(ee(),1),nt="Dialog",[Ea,ou]=Pr(nt),[Un,re]=Ea(nt),Ca=e=>{let{__scopeDialog:t,children:r,open:a,defaultOpen:o,onOpenChange:n,modal:i=!0}=e,s=k.useRef(null),u=k.useRef(null),[l,c]=Ar({prop:a,defaultProp:o??!1,onChange:n,caller:nt});return(0,P.jsx)(Un,{scope:t,triggerRef:s,contentRef:u,contentId:te(),titleId:te(),descriptionId:te(),open:l,onOpenChange:c,onOpenToggle:k.useCallback(()=>c(d=>!d),[c]),modal:i,children:r})};Ca.displayName=nt;var Sa="DialogTrigger",Vn=k.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,o=re(Sa,r),n=Q(t,o.triggerRef);return(0,P.jsx)(B.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":qt(o.open),...a,ref:n,onClick:oe(e.onClick,o.onOpenToggle)})});Vn.displayName=Sa;var zt="DialogPortal",[Gn,xa]=Ea(zt,{forceMount:void 0}),_a=e=>{let{__scopeDialog:t,forceMount:r,children:a,container:o}=e,n=re(zt,t);return(0,P.jsx)(Gn,{scope:t,forceMount:r,children:k.Children.map(a,i=>(0,P.jsx)(Ie,{present:r||n.open,children:(0,P.jsx)(Lt,{asChild:!0,container:o,children:i})}))})};_a.displayName=zt;var ot="DialogOverlay",Oa=k.forwardRef((e,t)=>{let r=xa(ot,e.__scopeDialog),{forceMount:a=r.forceMount,...o}=e,n=re(ot,e.__scopeDialog);return n.modal?(0,P.jsx)(Ie,{present:a||n.open,children:(0,P.jsx)(Hn,{...o,ref:t})}):null});Oa.displayName=ot;var $n=ze("DialogOverlay.RemoveScroll"),Hn=k.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,o=re(ot,r);return(0,P.jsx)(Ht,{as:$n,allowPinchZoom:!0,shards:[o.contentRef],children:(0,P.jsx)(B.div,{"data-state":qt(o.open),...a,ref:t,style:{pointerEvents:"auto",...a.style}})})}),Ee="DialogContent",Da=k.forwardRef((e,t)=>{let r=xa(Ee,e.__scopeDialog),{forceMount:a=r.forceMount,...o}=e,n=re(Ee,e.__scopeDialog);return(0,P.jsx)(Ie,{present:a||n.open,children:n.modal?(0,P.jsx)(Kn,{...o,ref:t}):(0,P.jsx)(zn,{...o,ref:t})})});Da.displayName=Ee;var Kn=k.forwardRef((e,t)=>{let r=re(Ee,e.__scopeDialog),a=k.useRef(null),o=Q(t,r.contentRef,a);return k.useEffect(()=>{let n=a.current;if(n)return wa(n)},[]),(0,P.jsx)(Pa,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,n=>{n.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:oe(e.onPointerDownOutside,n=>{let i=n.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&n.preventDefault()}),onFocusOutside:oe(e.onFocusOutside,n=>n.preventDefault())})}),zn=k.forwardRef((e,t)=>{let r=re(Ee,e.__scopeDialog),a=k.useRef(!1),o=k.useRef(!1);return(0,P.jsx)(Pa,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:n=>{e.onCloseAutoFocus?.(n),n.defaultPrevented||(a.current||r.triggerRef.current?.focus(),n.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:n=>{e.onInteractOutside?.(n),n.defaultPrevented||(a.current=!0,n.detail.originalEvent.type==="pointerdown"&&(o.current=!0));let i=n.target;r.triggerRef.current?.contains(i)&&n.preventDefault(),n.detail.originalEvent.type==="focusin"&&o.current&&n.preventDefault()}})}),Pa=k.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:n,...i}=e,s=re(Ee,r),u=k.useRef(null),l=Q(t,u);return ea(),(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(Pt,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:o,onUnmountAutoFocus:n,children:(0,P.jsx)(_t,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":qt(s.open),...i,ref:l,onDismiss:()=>s.onOpenChange(!1)})}),(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(Zn,{titleId:s.titleId}),(0,P.jsx)(Qn,{contentRef:u,descriptionId:s.descriptionId})]})]})}),Yt="DialogTitle",Yn=k.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,o=re(Yt,r);return(0,P.jsx)(B.h2,{id:o.titleId,...a,ref:t})});Yn.displayName=Yt;var La="DialogDescription",qn=k.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,o=re(La,r);return(0,P.jsx)(B.p,{id:o.descriptionId,...a,ref:t})});qn.displayName=La;var Aa="DialogClose",Xn=k.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,o=re(Aa,r);return(0,P.jsx)(B.button,{type:"button",...a,ref:t,onClick:oe(e.onClick,()=>o.onOpenChange(!1))})});Xn.displayName=Aa;function qt(e){return e?"open":"closed"}var Na="DialogTitleWarning",[nu,ka]=Dr(Na,{contentName:Ee,titleName:Yt,docsSlug:"dialog"}),Zn=({titleId:e})=>{let t=ka(Na),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return k.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Jn="DialogDescriptionWarning",Qn=({contentRef:e,descriptionId:t})=>{let a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ka(Jn).contentName}}.`;return k.useEffect(()=>{let o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(a))},[a,e,t]),null},Ta=Ca;var Ia=_a,Ma=Oa,Fa=Da;var p=h(A(),1);var Be='[cmdk-group=""]',Xt='[cmdk-group-items=""]',ts='[cmdk-group-heading=""]',Ba='[cmdk-item=""]',ja=`${Ba}:not([aria-disabled="true"])`,Zt="cmdk-item-select",Ae="data-value",rs=(e,t,r)=>Cr(e,t,r),Wa=p.createContext(void 0),We=()=>p.useContext(Wa),Ua=p.createContext(void 0),Jt=()=>p.useContext(Ua),Va=p.createContext(void 0),Ga=p.forwardRef((e,t)=>{let r=Ne(()=>{var f,E;return{search:"",value:(E=(f=e.value)!=null?f:e.defaultValue)!=null?E:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),a=Ne(()=>new Set),o=Ne(()=>new Map),n=Ne(()=>new Map),i=Ne(()=>new Set),s=$a(e),{label:u,children:l,value:c,onValueChange:d,filter:v,shouldFilter:g,loop:w,disablePointerSelection:m=!1,vimBindings:y=!0,...C}=e,_=te(),N=te(),T=te(),D=p.useRef(null),x=ms();Ce(()=>{if(c!==void 0){let f=c.trim();r.current.value=f,R.emit()}},[c]),Ce(()=>{x(6,pr)},[]);let R=p.useMemo(()=>({subscribe:f=>(i.current.add(f),()=>i.current.delete(f)),snapshot:()=>r.current,setState:(f,E,O)=>{var b,L,F,Y;if(!Object.is(r.current[f],E)){if(r.current[f]=E,f==="search")vt(),ye(),x(1,pt);else if(f==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let G=document.getElementById(T);G?G.focus():(b=document.getElementById(_))==null||b.focus()}if(x(7,()=>{var G;r.current.selectedItemId=(G=xe())==null?void 0:G.id,R.emit()}),O||x(5,pr),((L=s.current)==null?void 0:L.value)!==void 0){let G=E??"";(Y=(F=s.current).onValueChange)==null||Y.call(F,G);return}}R.emit()}},emit:()=>{i.current.forEach(f=>f())}}),[]),V=p.useMemo(()=>({value:(f,E,O)=>{var b;E!==((b=n.current.get(f))==null?void 0:b.value)&&(n.current.set(f,{value:E,keywords:O}),r.current.filtered.items.set(f,de(E,O)),x(2,()=>{ye(),R.emit()}))},item:(f,E)=>(a.current.add(f),E&&(o.current.has(E)?o.current.get(E).add(f):o.current.set(E,new Set([f]))),x(3,()=>{vt(),ye(),r.current.value||pt(),R.emit()}),()=>{n.current.delete(f),a.current.delete(f),r.current.filtered.items.delete(f);let O=xe();x(4,()=>{vt(),O?.getAttribute("id")===f&&pt(),R.emit()})}),group:f=>(o.current.has(f)||o.current.set(f,new Set),()=>{n.current.delete(f),o.current.delete(f)}),filter:()=>s.current.shouldFilter,label:u||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:_,inputId:T,labelId:N,listInnerRef:D}),[]);function de(f,E){var O,b;let L=(b=(O=s.current)==null?void 0:O.filter)!=null?b:rs;return f?L(f,r.current.search,E):0}function ye(){if(!r.current.search||s.current.shouldFilter===!1)return;let f=r.current.filtered.items,E=[];r.current.filtered.groups.forEach(b=>{let L=o.current.get(b),F=0;L.forEach(Y=>{let G=f.get(Y);F=Math.max(G,F)}),E.push([b,F])});let O=D.current;ke().sort((b,L)=>{var F,Y;let G=b.getAttribute("id"),Ge=L.getAttribute("id");return((F=f.get(Ge))!=null?F:0)-((Y=f.get(G))!=null?Y:0)}).forEach(b=>{let L=b.closest(Xt);L?L.appendChild(b.parentElement===L?b:b.closest(`${Xt} > *`)):O.appendChild(b.parentElement===O?b:b.closest(`${Xt} > *`))}),E.sort((b,L)=>L[1]-b[1]).forEach(b=>{var L;let F=(L=D.current)==null?void 0:L.querySelector(`${Be}[${Ae}="${encodeURIComponent(b[0])}"]`);F?.parentElement.appendChild(F)})}function pt(){let f=ke().find(O=>O.getAttribute("aria-disabled")!=="true"),E=f?.getAttribute(Ae);R.setState("value",E||void 0)}function vt(){var f,E,O,b;if(!r.current.search||s.current.shouldFilter===!1){r.current.filtered.count=a.current.size;return}r.current.filtered.groups=new Set;let L=0;for(let F of a.current){let Y=(E=(f=n.current.get(F))==null?void 0:f.value)!=null?E:"",G=(b=(O=n.current.get(F))==null?void 0:O.keywords)!=null?b:[],Ge=de(Y,G);r.current.filtered.items.set(F,Ge),Ge>0&&L++}for(let[F,Y]of o.current)for(let G of Y)if(r.current.filtered.items.get(G)>0){r.current.filtered.groups.add(F);break}r.current.filtered.count=L}function pr(){var f,E,O;let b=xe();b&&(((f=b.parentElement)==null?void 0:f.firstChild)===b&&((O=(E=b.closest(Be))==null?void 0:E.querySelector(ts))==null||O.scrollIntoView({block:"nearest"})),b.scrollIntoView({block:"nearest"}))}function xe(){var f;return(f=D.current)==null?void 0:f.querySelector(`${Ba}[aria-selected="true"]`)}function ke(){var f;return Array.from(((f=D.current)==null?void 0:f.querySelectorAll(ja))||[])}function ht(f){let E=ke()[f];E&&R.setState("value",E.getAttribute(Ae))}function gt(f){var E;let O=xe(),b=ke(),L=b.findIndex(Y=>Y===O),F=b[L+f];(E=s.current)!=null&&E.loop&&(F=L+f<0?b[b.length-1]:L+f===b.length?b[0]:b[L+f]),F&&R.setState("value",F.getAttribute(Ae))}function vr(f){let E=xe(),O=E?.closest(Be),b;for(;O&&!b;)O=f>0?cs(O,Be):ds(O,Be),b=O?.querySelector(ja);b?R.setState("value",b.getAttribute(Ae)):gt(f)}let hr=()=>ht(ke().length-1),gr=f=>{f.preventDefault(),f.metaKey?hr():f.altKey?vr(1):gt(1)},yr=f=>{f.preventDefault(),f.metaKey?ht(0):f.altKey?vr(-1):gt(-1)};return p.createElement(B.div,{ref:t,tabIndex:-1,...C,"cmdk-root":"",onKeyDown:f=>{var E;(E=C.onKeyDown)==null||E.call(C,f);let O=f.nativeEvent.isComposing||f.keyCode===229;if(!(f.defaultPrevented||O))switch(f.key){case"n":case"j":{y&&f.ctrlKey&&gr(f);break}case"ArrowDown":{gr(f);break}case"p":case"k":{y&&f.ctrlKey&&yr(f);break}case"ArrowUp":{yr(f);break}case"Home":{f.preventDefault(),ht(0);break}case"End":{f.preventDefault(),hr();break}case"Enter":{f.preventDefault();let b=xe();if(b){let L=new Event(Zt);b.dispatchEvent(L)}}}}},p.createElement("label",{"cmdk-label":"",htmlFor:V.inputId,id:V.labelId,style:vs},u),st(e,f=>p.createElement(Ua.Provider,{value:R},p.createElement(Wa.Provider,{value:V},f))))}),as=p.forwardRef((e,t)=>{var r,a;let o=te(),n=p.useRef(null),i=p.useContext(Va),s=We(),u=$a(e),l=(a=(r=u.current)==null?void 0:r.forceMount)!=null?a:i?.forceMount;Ce(()=>{if(!l)return s.item(o,i?.id)},[l]);let c=Ha(o,n,[e.value,e.children,n],e.keywords),d=Jt(),v=ne(x=>x.value&&x.value===c.current),g=ne(x=>l||s.filter()===!1?!0:x.search?x.filtered.items.get(o)>0:!0);p.useEffect(()=>{let x=n.current;if(!(!x||e.disabled))return x.addEventListener(Zt,w),()=>x.removeEventListener(Zt,w)},[g,e.onSelect,e.disabled]);function w(){var x,R;m(),(R=(x=u.current).onSelect)==null||R.call(x,c.current)}function m(){d.setState("value",c.current,!0)}if(!g)return null;let{disabled:y,value:C,onSelect:_,forceMount:N,keywords:T,...D}=e;return p.createElement(B.div,{ref:ie(n,t),...D,id:o,"cmdk-item":"",role:"option","aria-disabled":!!y,"aria-selected":!!v,"data-disabled":!!y,"data-selected":!!v,onPointerMove:y||s.getDisablePointerSelection()?void 0:m,onClick:y?void 0:w},e.children)}),os=p.forwardRef((e,t)=>{let{heading:r,children:a,forceMount:o,...n}=e,i=te(),s=p.useRef(null),u=p.useRef(null),l=te(),c=We(),d=ne(g=>o||c.filter()===!1?!0:g.search?g.filtered.groups.has(i):!0);Ce(()=>c.group(i),[]),Ha(i,s,[e.value,e.heading,u]);let v=p.useMemo(()=>({id:i,forceMount:o}),[o]);return p.createElement(B.div,{ref:ie(s,t),...n,"cmdk-group":"",role:"presentation",hidden:d?void 0:!0},r&&p.createElement("div",{ref:u,"cmdk-group-heading":"","aria-hidden":!0,id:l},r),st(e,g=>p.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?l:void 0},p.createElement(Va.Provider,{value:v},g))))}),ns=p.forwardRef((e,t)=>{let{alwaysRender:r,...a}=e,o=p.useRef(null),n=ne(i=>!i.search);return!r&&!n?null:p.createElement(B.div,{ref:ie(o,t),...a,"cmdk-separator":"",role:"separator"})}),ss=p.forwardRef((e,t)=>{let{onValueChange:r,...a}=e,o=e.value!=null,n=Jt(),i=ne(l=>l.search),s=ne(l=>l.selectedItemId),u=We();return p.useEffect(()=>{e.value!=null&&n.setState("search",e.value)},[e.value]),p.createElement(B.input,{ref:t,...a,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":u.listId,"aria-labelledby":u.labelId,"aria-activedescendant":s,id:u.inputId,type:"text",value:o?e.value:i,onChange:l=>{o||n.setState("search",l.target.value),r?.(l.target.value)}})}),is=p.forwardRef((e,t)=>{let{children:r,label:a="Suggestions",...o}=e,n=p.useRef(null),i=p.useRef(null),s=ne(l=>l.selectedItemId),u=We();return p.useEffect(()=>{if(i.current&&n.current){let l=i.current,c=n.current,d,v=new ResizeObserver(()=>{d=requestAnimationFrame(()=>{let g=l.offsetHeight;c.style.setProperty("--cmdk-list-height",g.toFixed(1)+"px")})});return v.observe(l),()=>{cancelAnimationFrame(d),v.unobserve(l)}}},[]),p.createElement(B.div,{ref:ie(n,t),...o,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":s,"aria-label":a,id:u.listId},st(e,l=>p.createElement("div",{ref:ie(i,u.listInnerRef),"cmdk-list-sizer":""},l)))}),ls=p.forwardRef((e,t)=>{let{open:r,onOpenChange:a,overlayClassName:o,contentClassName:n,container:i,...s}=e;return p.createElement(Ta,{open:r,onOpenChange:a},p.createElement(Ia,{container:i},p.createElement(Ma,{"cmdk-overlay":"",className:o}),p.createElement(Fa,{"aria-label":e.label,"cmdk-dialog":"",className:n},p.createElement(Ga,{ref:t,...s}))))}),us=p.forwardRef((e,t)=>ne(r=>r.filtered.count===0)?p.createElement(B.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),fs=p.forwardRef((e,t)=>{let{progress:r,children:a,label:o="Loading...",...n}=e;return p.createElement(B.div,{ref:t,...n,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},st(e,i=>p.createElement("div",{"aria-hidden":!0},i)))}),ue=Object.assign(Ga,{List:is,Item:as,Input:ss,Group:os,Separator:ns,Dialog:ls,Empty:us,Loading:fs});function cs(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function ds(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function $a(e){let t=p.useRef(e);return Ce(()=>{t.current=e}),t}var Ce=typeof window>"u"?p.useEffect:p.useLayoutEffect;function Ne(e){let t=p.useRef();return t.current===void 0&&(t.current=e()),t}function ne(e){let t=Jt(),r=()=>e(t.snapshot());return p.useSyncExternalStore(t.subscribe,r,r)}function Ha(e,t,r,a=[]){let o=p.useRef(),n=We();return Ce(()=>{var i;let s=(()=>{var l;for(let c of r){if(typeof c=="string")return c.trim();if(typeof c=="object"&&"current"in c)return c.current?(l=c.current.textContent)==null?void 0:l.trim():o.current}})(),u=a.map(l=>l.trim());n.value(e,s,u),(i=t.current)==null||i.setAttribute(Ae,s),o.current=s}),o}var ms=()=>{let[e,t]=p.useState(),r=Ne(()=>new Map);return Ce(()=>{r.current.forEach(a=>a()),r.current=new Map},[e]),(a,o)=>{r.current.set(a,o),t({})}};function ps(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function st({asChild:e,children:t},r){return e&&p.isValidElement(t)?p.cloneElement(ps(t),{ref:t.ref},r(t.props.children)):r(t)}var vs={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function Ka(e){var t,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Ka(e[t]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function hs(){for(var e,t,r=0,a="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Ka(e))&&(a&&(a+=" "),a+=t);return a}var za=hs;var ce=h(fe(),1),$=h(Se(),1),z=h(Za(),1),he=h(Qa(),1),dt=h(to(),1);var it=h(Se(),1),Ue=(0,it.forwardRef)(({icon:e,size:t=24,...r},a)=>(0,it.cloneElement)(e,{width:t,height:t,...r,ref:a}));var lt=h(Qt(),1),er=h(ee(),1),tr=(0,er.jsx)(lt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,er.jsx)(lt.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})});var ut=h(Qt(),1),rr=h(ee(),1),ar=(0,rr.jsx)(ut.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,rr.jsx)(ut.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})});var ft=h(fe(),1);var ao=h(fe(),1);function gs(e={},t){switch(t.type){case"REGISTER_COMMAND":return{...e,[t.name]:{name:t.name,label:t.label,searchLabel:t.searchLabel,context:t.context,category:t.category,callback:t.callback,icon:t.icon,keywords:t.keywords}};case"UNREGISTER_COMMAND":{let{[t.name]:r,...a}=e;return a}}return e}function ys(e={},t){switch(t.type){case"REGISTER_COMMAND_LOADER":return{...e,[t.name]:{name:t.name,context:t.context,category:t.category,hook:t.hook}};case"UNREGISTER_COMMAND_LOADER":{let{[t.name]:r,...a}=e;return a}}return e}function bs(e=!1,t){switch(t.type){case"OPEN":return!0;case"CLOSE":return!1}return e}function Rs(e="root",t){return t.type==="SET_CONTEXT"?t.context:e}function ws(e={},t){return t.type==="SET_LOADER_LOADING"?{...e,[t.name]:t.isLoading}:e}var Es=(0,ao.combineReducers)({commands:gs,commandLoaders:ys,isOpen:bs,context:Rs,loaderStates:ws}),oo=Es;var or={};Te(or,{close:()=>Ds,open:()=>Os,registerCommand:()=>Cs,registerCommandLoader:()=>xs,unregisterCommand:()=>Ss,unregisterCommandLoader:()=>_s});var no=new Set(["command","view","edit","action"]);function Cs(e){let{category:t}=e;return(!t||!no.has(t))&&(t="action"),{type:"REGISTER_COMMAND",...e,category:t}}function Ss(e){return{type:"UNREGISTER_COMMAND",name:e}}function xs(e){let{category:t}=e;return(!t||!no.has(t))&&(t="action"),{type:"REGISTER_COMMAND_LOADER",...e,category:t}}function _s(e){return{type:"UNREGISTER_COMMAND_LOADER",name:e}}function Os(){return{type:"OPEN"}}function Ds(){return{type:"CLOSE"}}var sr={};Te(sr,{getCommandLoaders:()=>Ls,getCommands:()=>Ps,getContext:()=>Ns,isOpen:()=>As});var nr=h(fe(),1),Ps=(0,nr.createSelector)((e,t=!1)=>Object.values(e.commands).filter(r=>{let a=r.context&&r.context===e.context;return t?a:!a}),e=>[e.commands,e.context]),Ls=(0,nr.createSelector)((e,t=!1)=>Object.values(e.commandLoaders).filter(r=>{let a=r.context&&r.context===e.context;return t?a:!a}),e=>[e.commandLoaders,e.context]);function As(e){return e.isOpen}function Ns(e){return e.context}var ir={};Te(ir,{setContext:()=>ks,setLoaderLoading:()=>Ts});function ks(e){return{type:"SET_CONTEXT",context:e}}function Ts(e,t){return{type:"SET_LOADER_LOADING",name:e,isLoading:t}}var lr={};Te(lr,{isLoading:()=>Is});function Is(e){return Object.values(e.loaderStates).some(Boolean)}var lo=h(io(),1),{lock:uo,unlock:ae}=(0,lo.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/commands");var Ms="core/commands",M=(0,ft.createReduxStore)(Ms,{reducer:oo,actions:or,selectors:sr});(0,ft.register)(M);ae(M).registerPrivateActions(ir);ae(M).registerPrivateSelectors(lr);var ve=h(fe(),1),ct=h(co(),1),se=h(Se(),1);var Fs=30,js=5,Bs=[],Ws=new Set;function mo(e){let t=(0,ve.select)(ct.store).get("core/commands","recentlyUsed")??[],r=[e,...t.filter(a=>a!==e)].slice(0,Fs);(0,ve.dispatch)(ct.store).set("core/commands","recentlyUsed",r)}function po(e,t,r,a){let{setLoaderLoading:o}=ae((0,ve.useDispatch)(M)),{isLoading:n,commands:i=[]}=e({search:""})??{};(0,se.useEffect)(()=>{o(t,n)},[o,t,n]);let s=r?i.filter(u=>r.has(u.name)):i;(0,se.useEffect)(()=>{a(t,s)},[a,t,s]),(0,se.useEffect)(()=>()=>a(t,[]),[a,t])}function vo(){let{contextualCommands:e,staticCommands:t,contextualLoaders:r,staticLoaders:a,recentlyUsedNames:o=Bs}=(0,ve.useSelect)(w=>{let{getCommands:m,getCommandLoaders:y}=w(M);return{contextualCommands:m(!0),staticCommands:m(!1),contextualLoaders:y(!0),staticLoaders:y(!1),recentlyUsedNames:w(ct.store).get("core/commands","recentlyUsed")}},[]),[n,i]=(0,se.useState)(()=>new Map),s=(0,se.useCallback)((w,m)=>{i(y=>{let C=y.get(w);if(C&&C.length===m.length&&C.every((N,T)=>N.name===m[T].name))return y;let _=new Map(y);return _.set(w,m),_})},[]),{recentNames:u,recentSet:l}=(0,se.useMemo)(()=>{let w=o.slice(0,js);return{recentNames:w,recentSet:new Set(w)}},[o]);if(!o.length)return{commands:[],loaders:[],recentSet:Ws,onResolved:s};let c=[...e,...t],d=[...r,...a],v=new Map;c.forEach(w=>v.set(w.name,w));for(let w of n.values())w.forEach(m=>{v.has(m.name)||v.set(m.name,m)});return{commands:u.map(w=>v.get(w)).filter(Boolean),loaders:d,recentSet:l,onResolved:s}}var S=h(ee(),1),{withIgnoreIMEEvents:Us}=ae(he.privateApis),go="command-palette-item-",yo=(0,z.__)("Search commands and settings"),ur={view:tr},ho={command:(0,z.__)("Command"),view:(0,z.__)("View"),edit:(0,z.__)("Edit"),action:(0,z.__)("Action"),workflow:(0,z.__)("Workflow")};function Vs(e){return!!e&&(typeof e=="string"||(0,$.isValidElement)(e)||typeof e=="function"||e instanceof $.Component)}function cr({command:e,search:t,category:r,valuePrefix:a}){let{close:o}=(0,ce.useDispatch)(M),n=r??e.category,i=e.searchLabel??e.label,s=a?`${a}${e.name}`:i;return(0,S.jsx)(ue.Item,{id:`${go}${s.toLowerCase()}`,value:s,keywords:a?[...e.keywords??[],i]:e.keywords,onSelect:()=>{mo(e.name),e.callback({close:o})},children:(0,S.jsxs)(he.__experimentalHStack,{alignment:"left",className:za("commands-command-menu__item",{"has-icon":ur[n]||e.icon}),children:[ur[n]?(0,S.jsx)(Ue,{icon:ur[n]}):Vs(e.icon)&&(0,S.jsx)(Ue,{icon:e.icon}),(0,S.jsx)("span",{className:"commands-command-menu__item-label",children:(0,S.jsx)(he.TextHighlight,{text:e.label,highlight:t})}),ho[n]&&(0,S.jsx)("span",{className:"commands-command-menu__item-category",children:ho[n]})]})},e.name)}function Gs({name:e,search:t,hook:r,category:a,valuePrefix:o}){let{setLoaderLoading:n}=ae((0,ce.useDispatch)(M)),{isLoading:i,commands:s=[]}=r({search:t})??{};return(0,$.useEffect)(()=>{n(e,i)},[n,e,i]),s.length?(0,S.jsx)(S.Fragment,{children:s.map(u=>(0,S.jsx)(cr,{command:u,search:t,category:u.category??a,valuePrefix:o},u.name))}):null}function $s({hook:e,...t}){let r=(0,$.useRef)(e),[a,o]=(0,$.useState)(0);return(0,$.useEffect)(()=>{r.current!==e&&(r.current=e,o(n=>n+1))},[e]),(0,S.jsx)(Gs,{hook:r.current,...t},a)}function fr({search:e,commands:t,loaders:r,valuePrefix:a}){return(0,S.jsxs)(S.Fragment,{children:[t.map(o=>(0,S.jsx)(cr,{command:o,search:e,valuePrefix:a},o.name)),r.map(o=>(0,S.jsx)($s,{name:o.name,search:e,hook:o.hook,category:o.category,valuePrefix:a},o.name))]})}function Hs({hook:e,name:t,filterNames:r,onResolved:a}){return po(e,t,r,a),null}function Ks(){let{commands:e,loaders:t,recentSet:r,onResolved:a}=vo();return!e.length&&!t.length?null:(0,S.jsxs)(ue.Group,{heading:(0,z.__)("Recent"),children:[t.map(o=>(0,S.jsx)(Hs,{name:o.name,hook:o.hook,filterNames:r,onResolved:a},o.name)),e.map(o=>(0,S.jsx)(cr,{command:o,search:"",valuePrefix:"recent-"},o.name))]})}function zs(){let{commands:e,loaders:t}=(0,ce.useSelect)(r=>{let{getCommands:a,getCommandLoaders:o}=r(M);return{commands:a(!0),loaders:o(!0)}},[]);return(0,S.jsx)(ue.Group,{heading:(0,z.__)("Suggestions"),children:(0,S.jsx)(fr,{search:"",commands:e,loaders:t})})}function Ys({search:e}){let{commands:t,contextualCommands:r,loaders:a,contextualLoaders:o}=(0,ce.useSelect)(n=>{let{getCommands:i,getCommandLoaders:s}=n(M);return{commands:i(!1),contextualCommands:i(!0),loaders:s(!1),contextualLoaders:s(!0)}},[]);return(0,S.jsxs)(ue.Group,{heading:(0,z.__)("Results"),children:[(0,S.jsx)(fr,{search:e,commands:t,loaders:a}),(0,S.jsx)(fr,{search:e,commands:r,loaders:o})]})}function qs({search:e,setSearch:t}){let r=(0,$.useRef)(),a=ne(n=>n.value),o=a?`${go}${a}`:null;return(0,$.useEffect)(()=>{r.current.focus()},[]),(0,S.jsx)(ue.Input,{ref:r,value:e,onValueChange:t,placeholder:yo,"aria-activedescendant":o})}function bo(){let{registerShortcut:e}=(0,ce.useDispatch)(dt.store),[t,r]=(0,$.useState)(""),{isOpen:a,loadersLoading:o}=(0,ce.useSelect)(u=>({isOpen:u(M).isOpen(),loadersLoading:ae(u(M)).isLoading()}),[]),{open:n,close:i}=(0,ce.useDispatch)(M);(0,$.useEffect)(()=>{e({name:"core/commands",category:"global",description:(0,z.__)("Open the command palette."),keyCombination:{modifier:"primary",character:"k"}})},[e]),(0,dt.useShortcut)("core/commands",Us(u=>{u.defaultPrevented||(u.preventDefault(),a?i():n())}),{bindGlobal:!0});let s=()=>{r(""),i()};return a?(0,S.jsx)(he.Modal,{className:"commands-command-menu",overlayClassName:"commands-command-menu__overlay",onRequestClose:s,__experimentalHideHeader:!0,size:"medium",contentLabel:(0,z.__)("Command palette"),children:(0,S.jsx)("div",{className:"commands-command-menu__container",children:(0,S.jsxs)(ue,{label:yo,loop:!0,children:[(0,S.jsxs)("div",{className:"commands-command-menu__header",children:[(0,S.jsx)(Ue,{className:"commands-command-menu__header-search-icon",icon:ar}),(0,S.jsx)(qs,{search:t,setSearch:r})]}),(0,S.jsxs)(ue.List,{label:(0,z.__)("Command suggestions"),children:[t&&!o&&(0,S.jsx)(ue.Empty,{children:(0,z.__)("No results found.")}),!t&&(0,S.jsx)(Ks,{}),!t&&(0,S.jsx)(zs,{}),t&&(0,S.jsx)(Ys,{search:t})]})]})})}):!1}var Ve=h(Se(),1),mt=h(fe(),1);function Ro(e){let{getContext:t}=(0,mt.useSelect)(M),r=(0,Ve.useRef)(t()),{setContext:a}=ae((0,mt.useDispatch)(M));(0,Ve.useEffect)(()=>{a(e)},[e,a]),(0,Ve.useEffect)(()=>{let o=r.current;return()=>a(o)},[a])}var dr={};uo(dr,{useCommandContext:Ro});var ge=h(Se(),1),mr=h(fe(),1);function wo(e){let{registerCommand:t,unregisterCommand:r}=(0,mr.useDispatch)(M),a=(0,ge.useRef)(e.callback);(0,ge.useEffect)(()=>{a.current=e.callback},[e.callback]),(0,ge.useEffect)(()=>{if(!e.disabled)return t({name:e.name,context:e.context,category:e.category,label:e.label,searchLabel:e.searchLabel,icon:e.icon,keywords:e.keywords,callback:(...o)=>a.current(...o)}),()=>{r(e.name)}},[e.name,e.label,e.searchLabel,e.icon,e.context,e.category,e.keywords,e.disabled,t,r])}function Eo(e){let{registerCommand:t,unregisterCommand:r}=(0,mr.useDispatch)(M),a=(0,ge.useRef)({});(0,ge.useEffect)(()=>{e&&e.forEach(o=>{o.callback&&(a.current[o.name]=o.callback)})},[e]),(0,ge.useEffect)(()=>{if(e)return e.forEach(o=>{o.disabled||t({name:o.name,context:o.context,category:o.category,label:o.label,searchLabel:o.searchLabel,icon:o.icon,keywords:o.keywords,callback:(...n)=>{let i=a.current[o.name];i&&i(...n)}})}),()=>{e.forEach(o=>{r(o.name)})}},[e,t,r])}var Co=h(Se(),1),So=h(fe(),1);function xo(e){let{registerCommandLoader:t,unregisterCommandLoader:r}=(0,So.useDispatch)(M);(0,Co.useEffect)(()=>{if(!e.disabled)return t({name:e.name,hook:e.hook,context:e.context,category:e.category}),()=>{r(e.name)}},[e.name,e.hook,e.context,e.category,e.disabled,t,r])}return Ao(Xs);})();
(window.wp ||= {}).commands = wp.commands;
})();
Zerion Mini Shell 1.0
Custom Staffing Solutions | Beyond A Resume
Skip to content
Distinguish Your Business From The Rest With The People That Make Up Your Team
We go Beyond a Resume to find high value, committed people
ready, willing, and able to add true value toward your organization's mission.
The right people make or break your business
We focus on resolving two types of challenges surrounding staffing and recruiting at Beyond a Resume: The first challenge comes when a business continues to grow, but does not have the full-time, internal, talent acquisition resources to hire the right people or talent necessary to keep up with their rate of progression as a company.
The second is a business that has a dedicated internal Human Resources Team, but requires outsourced assistance when the volume of people and talent needed exceeds short term internal capacity, OR the position(s) they seek to fill demand a specific skill set that is difficult to find, requiring added bandwidth.
In nearly any line of business, growth is a challenge in and of itself. Yet, the real problems arise in managing growth to ensure your progress remains profitable, sustainable, and repeatable. The biggest factor in this equation is usually found in your people. When you have the right people, success is unlimited. On the other hand, when you don’t have the right people in place or are having trouble finding enough of the right people, failure or stagnation is imminent.
The frustration that comes with the process of “hiring” can bring you to new levels of stress as the time cost involved eats away at your production elsewhere. If you have experienced this in the past, or are currently struggling with this issue, you’re certainly not alone. You may simply need the right partner to take the worst parts of this process off your plate so you can concentrate on your responsibilities, while we work diligently to reduce the noise and deliver only the ideal candidates worth your time and attention.
People can make or break your business and we go Beyond a Resume to find high value, committed people ready, willing, and able to add true value.
Primary Industry Experience
Healthcare and Home Healthcare
Talent Acquisition Solutions
Statement of Work Projects
Scroll To Top