import {a as a$1}from'./chunk-7VGFHQT3.js';import {a}from'./chunk-SYDG6PPD.js';import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';var e=class e{constructor(a){this[nativeHandle]=a;}static async of(a$1){let i=await a().workerCommand("labelCaptureBuildLabelFieldLocation",{payload:{rect:a$1.toJSONObject()}});return new e(i)}static async topLeft(){return e.createWithType(a$1.TopLeft)}static async topRight(){return e.createWithType(a$1.TopRight)}static async bottomRight(){return e.createWithType(a$1.BottomRight)}static async bottomLeft(){return e.createWithType(a$1.BottomLeft)}static async top(){return e.createWithType(a$1.Top)}static async right(){return e.createWithType(a$1.Right)}static async bottom(){return e.createWithType(a$1.Bottom)}static async left(){return e.createWithType(a$1.Left)}static async center(){return e.createWithType(a$1.Center)}static async wholeLabel(){return e.createWithType(a$1.WholeLabel)}static async createWithType(a$1){let i=await a().workerCommand("labelCaptureBuildLabelFieldLocation",{payload:{locationType:a$1}});return new e(i)}},c=e;export{c as a};