관리-도구
편집 파일: RequiresUpdate.b3dqi7l9.js
import{i as o}from"./index.lqcu3hi3.js";import{a}from"./addons.ds3c4v6r.js";import{R as m,a as d}from"./RequiresUpdate.jn7m0m8d.js";const A=()=>({getExcludedActivationTabs:(s,r)=>{var e;if(!o().isUnlicensed&&a.isActive(r)&&!a.requiresUpgrade(r))return[];const t=[];return(e=s==null?void 0:s.options)!=null&&e.routes&&s.options.routes.forEach(n=>{if(!n.meta||!n.meta.middleware)return;(Array.isArray(n.meta.middleware)?n.meta.middleware:[n.meta.middleware]).some(u=>u===m)&&t.push(n.name)}),t}}),_=()=>({getExcludedUpdateTabs:(s,r)=>{if(!o().isUnlicensed&&a.hasMinimumVersion(r)&&!a.requiresUpgrade(r))return[];const t=[];return s.options.routes.forEach(e=>{if(!e.meta||!e.meta.middleware)return;(Array.isArray(e.meta.middleware)?e.meta.middleware:[e.meta.middleware]).some(i=>i===d)&&t.push(e.name)}),t}});export{_ as a,A as u};