import {a}from'./chunk-LE3A5XAC.js';import {Logger}from'@scandit/web-datacapture-core';import {normalizeLibraryLocation}from'@scandit/web-datacapture-core/build/js/private/Helper.js';function L(r){return r!=null&&r.libraryLocation&&(r.libraryLocation=normalizeLibraryLocation(r.libraryLocation)),{moduleName:"Parser",load:async a$1=>{var i,t;let e=a$1,o=a.create({libraryLocation:(i=r==null?void 0:r.libraryLocation)!=null?i:e.libraryLocation,overrideSimdSupport:e.overrideSimdSupport,overrideThreadsSupport:e.overrideThreadsSupport,verifyResponseHash:true,referredOrigin:globalThis.location.origin});await o.setLogLevel((t=a$1.logLevel)!=null?t:Logger.Level.Debug),await o.load();}}}export{L as a};