/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/ejs-tpl-loader@1.0.5/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";var _=require("lodash"),loaderUtils=require("loader-utils"),htmlLoader=require("html-loader");function inlineRequireStatements(e){return e.replace(/(("(?:[^\\"]|\\.)*")|(require)\([^\)]+\))\s*\+?\s*/g,(function(e,r,t,a){return"require"===a?"<%= "+r+" %>":JSON.parse(r)}))}module.exports=function(e){var r="module.exports = ",t=htmlLoader.apply(this,arguments);if(0!==t.indexOf(r))throw new Error("Invalid html-loader result");var a=inlineRequireStatements(t.substr(17).replace(/;$/,""));this.cacheable&&this.cacheable();var l=loaderUtils.parseQuery(this.query),i={};return["escape","evaluate","interpolate","variable"].forEach((function(e){i[e]=l[e]})),"module.exports = "+_.template(a,i)};
//# sourceMappingURL=/sm/573bdc136d31e26e8443ca6c90d63608684b347678838ebd7ac3c6b8b9c96407.map