"use strict";var h=(c,s,t)=>new Promise((a,o)=>{var l=e=>{try{r(t.next(e))}catch(i){o(i)}},d=e=>{try{r(t.throw(e))}catch(i){o(i)}},r=e=>e.done?a(e.value):Promise.resolve(e.value).then(l,d);r((t=t.apply(c,s)).next())});const n=require("code-inspector-core");function u(c,s,t){return h(this,null,function*(){this.async(),this.cacheable&&this.cacheable(!0);const a=n.normalizePath(this.resourcePath),o=this.query;c=yield n.getCodeWithWebComponent({options:o,file:a,code:c,record:o.record}),this.callback(null,c,s,t)})}module.exports=u;
