import{u as e}from"./chunk-LFPYN7LY-PMGLV5Go.js";var t=`/avatar-overlay`,n=[t,`/global-dictation`,`/global-dictation/*`,`/hotkey-window`,`/hotkey-window/*`,...[]];function r(t){return t?n.some(n=>e({path:n,end:!0},t)!=null):!1}function i({pathname:e,initialRoute:t}){return r(e)||r(t)}function a(){return i(c())}function o({pathname:e,initialRoute:n}){return e===t||n===t}function s(){return o(c())}function c(){if(typeof window>`u`)return{pathname:``,initialRoute:null};let e=new URL(window.location.href);return{pathname:e.pathname,initialRoute:e.searchParams.get(`initialRoute`)}}export{a as n,r,s as t};
//# sourceMappingURL=is-compact-window-context-Br9Rbyks.js.map