"use strict";var n=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var M=Object.prototype.hasOwnProperty;var S=(a,e)=>{for(var r in e)n(a,r,{get:e[r],enumerable:!0})},z=(a,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of x(e))!M.call(a,i)&&i!==r&&n(a,i,{get:()=>e[i],enumerable:!(s=d(e,i))||s.enumerable});return a};var C=a=>z(n({},"__esModule",{value:!0}),a);var N={};S(N,{resolveStrategies:()=>F});module.exports=C(N);var F=(a,{rules:e,matcher:r})=>{var l,c,p;let s=(l=e.exact[a])!=null?l:[],i=(p=e.exactFields[(c=a.split(".").pop())!=null?c:""])!=null?p:[],g=Object.entries(e.patterns).filter(([t])=>r.isMatch(a,[t])).flatMap(([,t])=>t),o=[...s.flatMap(t=>t.strategies),...i.flatMap(t=>t.strategies),...g.flatMap(t=>t.strategies),...e.default],f=o.filter(t=>t.important),m=o.filter(t=>!t.important);return[...f,...m].map(t=>t.name)};0&&(module.exports={resolveStrategies});
