/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/node-match-path@0.6.3/lib/cjs.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const pathToRegExp=e=>{const p=e.replace(/\./g,"\\.").replace(/\//g,"/").replace(/\?/g,"\\?").replace(/\/+$/,"").replace(/\*+/g,".*").replace(/:([^\d|^\/][a-zA-Z0-9_]*(?=(?:\/|\\.)|$))/g,((e,p)=>`(?<${p}>[^/]+?)`)).concat("(\\/|$)");return new RegExp(p,"gi")},match=(e,p)=>{const t=(e instanceof RegExp?e:pathToRegExp(e)).exec(p)||!1,a=e instanceof RegExp?!!t:!!t&&t[0]===t.input;return{matches:a,params:t&&a&&t.groups||null}};exports.match=match,exports.pathToRegExp=pathToRegExp;
//# sourceMappingURL=/sm/2596763f6891b82827c92094cad1071aff1a73c7d48797c7d0c503528930f6ac.map