import {a as a$2}from'./chunk-UDGNT475.js';import {a as a$1}from'./chunk-SYDG6PPD.js';import {a}from'./chunk-WX63L6GU.js';var o=class extends a{constructor(){super(...arguments);this.anchorRegexes=[];}setAnchorRegexes(e){return this.anchorRegexes=e,this.getThis()}setAnchorRegex(e){return this.anchorRegexes=[String(e)],this.getThis()}async build(e){let a=await a$1().workerCommand("labelCaptureBuildSerialNumberBarcode",{payload:{name:e,dataTypePatterns:this.anchorRegexes,hiddenProperties:this.hiddenProperties,isOptional:this._isOptional,patterns:this.valueRegexes,symbologies:this.symbologies}}),r=a$2.forHandle(a);return r._isOptional=this._isOptional,r._name=e,r._valueRegexes=this.valueRegexes,r._symbologies=this.symbologySettings,r}getThis(){return this}};export{o as a};