123 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d2934c8e"],{2909:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function o(t){if(Array.isArray(t))return n(t)}r.d(e,"a",(function(){return u}));r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),r("a630");function i(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r("fb6a"),r("25f0"),r("b0c0"),r("ac1f"),r("00b4");function a(t,e){if(t){if("string"===typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}r("d9e2");function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t){return o(t)||i(t)||a(t)||c()}},7037:function(t,e,r){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,n(e)}r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),t.exports=n,t.exports.__esModule=!0,t.exports["default"]=t.exports},bb6f:function(t,e,r){t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="fb15")}({"00b4":function(t,e,r){"use strict";r("ac1f");var n=r("23e7"),o=r("c65b"),i=r("1626"),a=r("825a"),c=r("577e"),u=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),s=/./.test;n({target:"RegExp",proto:!0,forced:!u},{test:function(t){var e=a(this),r=c(t),n=e.exec;if(!i(n))return o(s,e,r);var u=o(n,e,r);return null!==u&&(a(u),!0)}})},"00ee":function(t,e,r){"use strict";var n=r("b622"),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"01b4":function(t,e,r){"use strict";var n=function(){this.head=null,this.tail=null};n.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t){var e=this.head=t.next;return null===e&&(this.tail=null),t.item}}},t.exports=n},"0366":function(t,e,r){"use strict";var n=r("4625"),o=r("59ed"),i=r("40d5"),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},"04f8":function(t,e,r){"use strict";var n=r("2d00"),o=r("d039"),i=r("da84"),a=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"0538":function(t,e,r){"use strict";var n=r("e330"),o=r("59ed"),i=r("861d"),a=r("1a2d"),c=r("f36a"),u=r("40d5"),s=Function,f=n([].concat),l=n([].join),d={},p=function(t,e,r){if(!a(d,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";d[e]=s("C,a","return new C("+l(n,",")+")")}return d[e](t,r)};t.exports=u?s.bind:function(t){var e=o(this),r=e.prototype,n=c(arguments,1),a=function(){var r=f(n,c(arguments));return this instanceof a?p(e,r.length,r):e.apply(t,r)};return i(r)&&(a.prototype=r),a}},"057f":function(t,e,r){"use strict";var n=r("c6b6"),o=r("fc6a"),i=r("241c").f,a=r("f36a"),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return i(t)}catch(e){return a(c)}};t.exports.f=function(t){return c&&"Window"===n(t)?u(t):i(o(t))}},"06c5":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("a630"),r("fb6a"),r("b0c0"),r("d3b7"),r("ac1f"),r("00b4"),r("25f0"),r("3ca3");var n=r("6b75");function o(t,e){if(t){if("string"===typeof t)return Object(n["a"])(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n["a"])(t,e):void 0}}},"06cf":function(t,e,r){"use strict";var n=r("83ab"),o=r("c65b"),i=r("d1e7"),a=r("5c6c"),c=r("fc6a"),u=r("a04b"),s=r("1a2d"),f=r("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=c(t),e=u(e),f)try{return l(t,e)}catch(r){}if(s(t,e))return a(!o(i.f,t,e),t[e])}},"07fa":function(t,e,r){"use strict";var n=r("50c4");t.exports=function(t){return n(t.length)}},"083a":function(t,e,r){"use strict";var n=r("0d51"),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw new o("Cannot delete property "+n(e)+" of "+n(t))}},"0b42":function(t,e,r){"use strict";var n=r("e8b5"),o=r("68ee"),i=r("861d"),a=r("b622"),c=a("species"),u=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,o(e)&&(e===u||n(e.prototype))?e=void 0:i(e)&&(e=e[c],null===e&&(e=void 0))),void 0===e?u:e}},"0b43":function(t,e,r){"use strict";var n=r("04f8");t.exports=n&&!!Symbol["for"]&&!!Symbol.keyFor},"0c47":function(t,e,r){"use strict";var n=r("da84"),o=r("d44e");o(n.JSON,"JSON",!0)},"0cfb":function(t,e,r){"use strict";var n=r("83ab"),o=r("d039"),i=r("cc12");t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d0e":function(t,e,r){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"qrcode-stream-wrapper"},[e("video",{ref:"video",staticClass:"qrcode-stream-camera",class:{"qrcode-stream-camera--hidden":!t.shouldScan},attrs:{autoplay:"",muted:"",playsinline:""},domProps:{muted:!0}}),e("canvas",{directives:[{name:"show",rawName:"v-show",value:!t.shouldScan,expression:"!shouldScan"}],ref:"pauseFrame",staticClass:"qrcode-stream-camera"}),e("canvas",{ref:"trackingLayer",staticClass:"qrcode-stream-overlay"}),e("div",{staticClass:"qrcode-stream-overlay"},[t._t("default")],2)])},o=[],i=(r("a4d3"),r("4de4"),r("14d9"),r("e439"),r("dbb4"),r("b64b"),r("d3b7"),r("159b"),r("a38e"));function a(t,e,r){return e=Object(i["a"])(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s=r("c7eb"),f=r("1da1"),l=(r("caad"),r("d81d"),r("e6cf"),r("a180")),d=r("3835"),p=r("d4ec"),h=r("bee2"),v=(r("e260"),r("2532"),r("3ca3"),r("ddb0"),r("2b3d"),r("bf19"),r("9861"),r("88a7"),r("271a"),r("5494"),r("1cc0")),b=r("c036"),m=r("53ca"),y=(r("99af"),r("7db0"),r("fb6a"),r("b0c0"),r("e9c4"),r("0eb6"),r("b7ef"),r("8bd4"),r("d9e2"),r("13d5"),r("4ec9"),r("cca6"),r("ac1f"),r("25f0"),r("8a79"),r("466d"),!0),g=!0;function w(t,e,r){var n=t.match(e);return n&&n.length>=r&&parseInt(n[r],10)}function x(){if("object"===("undefined"===typeof window?"undefined":Object(m["a"])(window))){if(y)return;"undefined"!==typeof console&&"function"===typeof console.log&&console.log.apply(console,arguments)}}function O(t,e){g&&console.warn(t+" is deprecated, please use "+e+" instead.")}function S(t){var e={browser:null,version:null};if("undefined"===typeof t||!t.navigator)return e.browser="Not a browser.",e;var r=t.navigator;if(r.mozGetUserMedia)e.browser="firefox",e.version=w(r.userAgent,/Firefox\/(\d+)\./,1);else if(r.webkitGetUserMedia||!1===t.isSecureContext&&t.webkitRTCPeerConnection&&!t.RTCIceGatherer)e.browser="chrome",e.version=w(r.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(r.mediaDevices&&r.userAgent.match(/Edge\/(\d+).(\d+)$/))e.browser="edge",e.version=w(r.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!t.RTCPeerConnection||!r.userAgent.match(/AppleWebKit\/(\d+)\./))return e.browser="Not a supported browser.",e;e.browser="safari",e.version=w(r.userAgent,/AppleWebKit\/(\d+)\./,1),e.supportsUnifiedPlan=t.RTCRtpTransceiver&&"currentDirection"in t.RTCRtpTransceiver.prototype}return e}function E(t){return"[object Object]"===Object.prototype.toString.call(t)}function j(t){return E(t)?Object.keys(t).reduce((function(e,r){var n=E(t[r]),o=n?j(t[r]):t[r],i=n&&!Object.keys(o).length;return void 0===o||i?e:Object.assign(e,a({},r,o))}),{}):t}var C=x;function T(t){var e=t&&t.navigator;if(e.mediaDevices){var r=S(t),n=function(t){if("object"!==Object(m["a"])(t)||t.mandatory||t.optional)return t;var e={};return Object.keys(t).forEach((function(r){if("require"!==r&&"advanced"!==r&&"mediaSource"!==r){var n="object"===Object(m["a"])(t[r])?t[r]:{ideal:t[r]};void 0!==n.exact&&"number"===typeof n.exact&&(n.min=n.max=n.exact);var o=function(t,e){return t?t+e.charAt(0).toUpperCase()+e.slice(1):"deviceId"===e?"sourceId":e};if(void 0!==n.ideal){e.optional=e.optional||[];var i={};"number"===typeof n.ideal?(i[o("min",r)]=n.ideal,e.optional.push(i),i={},i[o("max",r)]=n.ideal,e.optional.push(i)):(i[o("",r)]=n.ideal,e.optional.push(i))}void 0!==n.exact&&"number"!==typeof n.exact?(e.mandatory=e.mandatory||{},e.mandatory[o("",r)]=n.exact):["min","max"].forEach((function(t){void 0!==n[t]&&(e.mandatory=e.mandatory||{},e.mandatory[o(t,r)]=n[t])}))}})),t.advanced&&(e.optional=(e.optional||[]).concat(t.advanced)),e},o=function(t,o){if(r.version>=61)return o(t);if(t=JSON.parse(JSON.stringify(t)),t&&"object"===Object(m["a"])(t.audio)){var i=function(t,e,r){e in t&&!(r in t)&&(t[r]=t[e],delete t[e])};t=JSON.parse(JSON.stringify(t)),i(t.audio,"autoGainControl","googAutoGainControl"),i(t.audio,"noiseSuppression","googNoiseSuppression"),t.audio=n(t.audio)}if(t&&"object"===Object(m["a"])(t.video)){var a=t.video.facingMode;a=a&&("object"===Object(m["a"])(a)?a:{ideal:a});var c,u=r.version<66;if(a&&("user"===a.exact||"environment"===a.exact||"user"===a.ideal||"environment"===a.ideal)&&(!e.mediaDevices.getSupportedConstraints||!e.mediaDevices.getSupportedConstraints().facingMode||u))if(delete t.video.facingMode,"environment"===a.exact||"environment"===a.ideal?c=["back","rear"]:"user"!==a.exact&&"user"!==a.ideal||(c=["front"]),c)return e.mediaDevices.enumerateDevices().then((function(e){e=e.filter((function(t){return"videoinput"===t.kind}));var r=e.find((function(t){return c.some((function(e){return t.label.toLowerCase().includes(e)}))}));return!r&&e.length&&c.includes("back")&&(r=e[e.length-1]),r&&(t.video.deviceId=a.exact?{exact:r.deviceId}:{ideal:r.deviceId}),t.video=n(t.video),C("chrome: "+JSON.stringify(t)),o(t)}));t.video=n(t.video)}return C("chrome: "+JSON.stringify(t)),o(t)},i=function(t){return r.version>=64?t:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[t.name]||t.name,message:t.message,constraint:t.constraint||t.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}},a=function(t,r,n){o(t,(function(t){e.webkitGetUserMedia(t,r,(function(t){n&&n(i(t))}))}))};if(e.getUserMedia=a.bind(e),e.mediaDevices.getUserMedia){var c=e.mediaDevices.getUserMedia.bind(e.mediaDevices);e.mediaDevices.getUserMedia=function(t){return o(t,(function(t){return c(t).then((function(e){if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach((function(t){t.stop()})),new DOMException("","NotFoundError");return e}),(function(t){return Promise.reject(i(t))}))}))}}}}function P(t){var e=t&&t.navigator,r=function(t){return{name:{PermissionDeniedError:"NotAllowedError"}[t.name]||t.name,message:t.message,constraint:t.constraint,toString:function(){return this.name}}},n=e.mediaDevices.getUserMedia.bind(e.mediaDevices);e.mediaDevices.getUserMedia=function(t){return n(t).catch((function(t){return Promise.reject(r(t))}))}}function _(t){var e=S(t),r=t&&t.navigator,n=t&&t.MediaStreamTrack;if(r.getUserMedia=function(t,e,n){O("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),r.mediaDevices.getUserMedia(t).then(e,n)},!(e.version>55&&"autoGainControl"in r.mediaDevices.getSupportedConstraints())){var o=function(t,e,r){e in t&&!(r in t)&&(t[r]=t[e],delete t[e])},i=r.mediaDevices.getUserMedia.bind(r.mediaDevices);if(r.mediaDevices.getUserMedia=function(t){return"object"===Object(m["a"])(t)&&"object"===Object(m["a"])(t.audio)&&(t=JSON.parse(JSON.stringify(t)),o(t.audio,"autoGainControl","mozAutoGainControl"),o(t.audio,"noiseSuppression","mozNoiseSuppression")),i(t)},n&&n.prototype.getSettings){var a=n.prototype.getSettings;n.prototype.getSettings=function(){var t=a.apply(this,arguments);return o(t,"mozAutoGainControl","autoGainControl"),o(t,"mozNoiseSuppression","noiseSuppression"),t}}if(n&&n.prototype.applyConstraints){var c=n.prototype.applyConstraints;n.prototype.applyConstraints=function(t){return"audio"===this.kind&&"object"===Object(m["a"])(t)&&(t=JSON.parse(JSON.stringify(t)),o(t,"autoGainControl","mozAutoGainControl"),o(t,"noiseSuppression","mozNoiseSuppression")),c.apply(this,[t])}}}}r("a434");function A(t){var e=t&&t.navigator;if(e.mediaDevices&&e.mediaDevices.getUserMedia){var r=e.mediaDevices,n=r.getUserMedia.bind(r);e.mediaDevices.getUserMedia=function(t){return n(R(t))}}!e.getUserMedia&&e.mediaDevices&&e.mediaDevices.getUserMedia&&(e.getUserMedia=function(t,r,n){e.mediaDevices.getUserMedia(t).then(r,n)}.bind(e))}function R(t){return t&&void 0!==t.video?Object.assign({},t,{video:j(t.video)}):t}var $=function(t){var e=!1,r=void 0;return function(){return e||(r=t.apply(void 0,arguments),e=!0),r}},k=$((function(){var t=S(window),e=t.browser;switch(e){case"chrome":T(window);break;case"firefox":_(window);break;case"edge":P(window);break;case"safari":A(window);break;default:throw new v["c"]}})),I=function(){function t(e,r){Object(p["a"])(this,t),this.videoEl=e,this.stream=r}return Object(h["a"])(t,[{key:"stop",value:function(){var t=this;this.videoEl.srcObject=null,this.stream.getTracks().forEach((function(e){t.stream.removeTrack(e),e.stop()}))}},{key:"getCapabilities",value:function(){var t,e,r=this.stream.getVideoTracks(),n=Object(d["a"])(r,1),o=n[0];return null!==(t=null===o||void 0===o||null===(e=o.getCapabilities)||void 0===e?void 0:e.call(o))&&void 0!==t?t:{}}}])}(),D=function(){var t=Object(f["a"])(Object(s["a"])().mark((function t(e){var r,n,o,i;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=["OBS Virtual Camera","OBS-Camera","Desk View Camera","Schreibtischansicht-Kamera","Caméra Desk View","Fotocamera di Panoramica Scrivania","Rückseitige Ultra-Weitwinkelkamera","Rückseitige Telefotokamera","Rückseitige Dual-Weitwinkelkamera","Rückseitige Triple-Kamera","Back Dual Wide Camera","Back Triple Camera","Back Ultra Wide Camera","Zadní ultra širokoúhlý fotoaparát","Stolní kamera"],t.next=3,navigator.mediaDevices.enumerateDevices();case 3:if(n=t.sent.filter((function(t){var e=t.kind;return"videoinput"===e})).filter((function(t){var e=t.label;return!r.includes(e)})).filter((function(t){var e=t.label;return!e.includes("infrared")})),!(n.length>2)){t.next=16;break}o=n[0],i=n[n.length-1],t.t0=e,t.next="auto"===t.t0?10:"rear"===t.t0?11:"front"===t.t0?12:13;break;case 10:return t.abrupt("return",{deviceId:{exact:i.deviceId}});case 11:return t.abrupt("return",{deviceId:{exact:i.deviceId}});case 12:return t.abrupt("return",{deviceId:{exact:o.deviceId}});case 13:return t.abrupt("return",void 0);case 14:t.next=23;break;case 16:t.t1=e,t.next="auto"===t.t1?19:"rear"===t.t1?20:"front"===t.t1?21:22;break;case 19:return t.abrupt("return",{facingMode:{ideal:"environment"}});case 20:return t.abrupt("return",{facingMode:{exact:"environment"}});case 21:return t.abrupt("return",{facingMode:{exact:"user"}});case 22:return t.abrupt("return",void 0);case 23:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),M=function(t,e){return L.apply(this,arguments)};function L(){return L=Object(f["a"])(Object(s["a"])().mark((function t(e,r){var n,o,i,a,c,f,l,p,h;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(o=r.camera,i=r.torch,!0===window.isSecureContext){t.next=3;break}throw new v["b"];case 3:if(void 0!==(null===(n=navigator)||void 0===n||null===(n=n.mediaDevices)||void 0===n?void 0:n.getUserMedia)){t.next=5;break}throw new v["c"];case 5:return t.next=7,k();case 7:return t.t0=u,t.t1={width:{min:360,ideal:640,max:1920},height:{min:240,ideal:480,max:1080}},t.next=11,D(o);case 11:return t.t2=t.sent,t.t3=(0,t.t0)(t.t1,t.t2),a={audio:!1,video:t.t3},t.next=16,navigator.mediaDevices.getUserMedia(a);case 16:return c=t.sent,void 0!==e.srcObject?e.srcObject=c:void 0!==e.mozSrcObject?e.mozSrcObject=c:window.URL.createObjectURL?e.src=window.URL.createObjectURL(c):window.webkitURL?e.src=window.webkitURL.createObjectURL(c):e.src=c,t.next=20,Object(b["a"])(e,"loadeddata");case 20:return t.next=22,Object(b["b"])(500);case 22:return i&&(f=c.getVideoTracks(),l=Object(d["a"])(f,1),p=l[0],h=p.getCapabilities(),h.torch?p.applyConstraints({advanced:[{torch:!0}]}):console.warn("device does not support torch capability")),t.abrupt("return",new I(e,c));case 24:case"end":return t.stop()}}),t)}))),L.apply(this,arguments)}var U=r("b3af"),F={name:"qrcode-stream",mixins:[U["a"]],props:{camera:{type:String,default:"auto",validator:function(t){return["auto","rear","front","off"].includes(t)}},torch:{type:Boolean,default:!1},track:{type:Function},formats:{type:Array,default:function(){return["qr_code"]}}},data:function(){return{cameraInstance:null,destroyed:!1}},computed:{shouldStream:function(){return!1===this.destroyed&&"off"!==this.camera},shouldScan:function(){return!0===this.shouldStream&&null!==this.cameraInstance},scanInterval:function(){return void 0===this.track?500:40}},watch:{shouldStream:function(t){if(!t){var e=this.$refs.pauseFrame,r=e.getContext("2d"),n=this.$refs.video;e.width=n.videoWidth,e.height=n.videoHeight,r.drawImage(n,0,0,n.videoWidth,n.videoHeight)}},shouldScan:function(t){t&&(this.clearCanvas(this.$refs.pauseFrame),this.clearCanvas(this.$refs.trackingLayer),this.startScanning())},torch:function(){this.init()},camera:function(){this.init()}},mounted:function(){this.init()},beforeDestroy:function(){this.beforeResetCamera(),this.destroyed=!0},methods:{init:function(){var t=this,e=Object(f["a"])(Object(s["a"])().mark((function e(){var r;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.beforeResetCamera(),"off"!==t.camera){e.next=6;break}return t.cameraInstance=null,e.abrupt("return",{capabilities:{}});case 6:return e.next=8,M(t.$refs.video,{camera:t.camera,torch:t.torch});case 8:return t.cameraInstance=e.sent,r=t.cameraInstance.getCapabilities(),t.destroyed&&t.cameraInstance.stop(),e.abrupt("return",{capabilities:r});case 12:case"end":return e.stop()}}),e)})))();this.$emit("init",e)},startScanning:function(){var t=this,e=function(e){t.onDetect(Promise.resolve(e))};Object(l["a"])(this.$refs.video,{detectHandler:e,locateHandler:this.onLocate,minDelay:this.scanInterval,formats:this.formats})},beforeResetCamera:function(){null!==this.cameraInstance&&(this.cameraInstance.stop(),this.cameraInstance=null)},onLocate:function(t){var e=this.$refs.trackingLayer,r=this.$refs.video;if(void 0!==e)if(t.length>0&&void 0!==this.track&&void 0!==r){var n=r.offsetWidth,o=r.offsetHeight,i=r.videoWidth,a=r.videoHeight,c=Math.max(n/i,o/a),s=i*c,f=a*c,l=s/i,d=f/a,p=(n-s)/2,h=(o-f)/2,v=function(t){var e=t.x,r=t.y;return{x:Math.floor(e*l),y:Math.floor(r*d)}},b=function(t){var e=t.x,r=t.y;return{x:Math.floor(e+p),y:Math.floor(r+h)}},m=t.map((function(t){var e=t.boundingBox,r=t.cornerPoints,n=b(v({x:e.x,y:e.y})),o=n.x,i=n.y,a=v({x:e.width,y:e.height}),c=a.x,s=a.y;return u(u({},t),{},{cornerPoints:r.map((function(t){return b(v(t))})),boundingBox:DOMRectReadOnly.fromRect({x:o,y:i,width:c,height:s})})}));e.width=r.offsetWidth,e.height=r.offsetHeight;var y=e.getContext("2d");this.track(m,y)}else this.clearCanvas(e)},repaintTrackingLayer:function(t,e,r){var n=this,o=e.getContext("2d");window.requestAnimationFrame((function(){e.width=displayWidth,e.height=displayHeight,n.trackRepaintFunction(coordinatesAdjusted,o)}))},clearCanvas:function(t){var e=t.getContext("2d");e.clearRect(0,0,t.width,t.height)}}},N=F,B=(r("e848"),r("2877")),W=Object(B["a"])(N,n,o,!1,null,"0ee88866",null);e["a"]=W.exports},"0d26":function(t,e,r){"use strict";var n=r("e330"),o=Error,i=n("".replace),a=function(t){return String(new o(t).stack)}("zxcasd"),c=/\n\s*at [^:]*:[^\n]*/,u=c.test(a);t.exports=function(t,e){if(u&&"string"==typeof t&&!o.prepareStackTrace)while(e--)t=i(t,c,"");return t}},"0d51":function(t,e,r){"use strict";var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"0eb6":function(t,e,r){"use strict";var n=r("23e7"),o=r("7c37"),i=r("d066"),a=r("d039"),c=r("7c73"),u=r("5c6c"),s=r("9bf2").f,f=r("cb2d"),l=r("edd0"),d=r("1a2d"),p=r("19aa"),h=r("825a"),v=r("aa1f"),b=r("e391"),m=r("cf98"),y=r("0d26"),g=r("69f3"),w=r("83ab"),x=r("c430"),O="DOMException",S="DATA_CLONE_ERR",E=i("Error"),j=i(O)||function(){try{var t=i("MessageChannel")||o("worker_threads").MessageChannel;(new t).port1.postMessage(new WeakMap)}catch(e){if(e.name===S&&25===e.code)return e.constructor}}(),C=j&&j.prototype,T=E.prototype,P=g.set,_=g.getterFor(O),A="stack"in new E(O),R=function(t){return d(m,t)&&m[t].m?m[t].c:0},$=function(){p(this,k);var t=arguments.length,e=b(t<1?void 0:arguments[0]),r=b(t<2?void 0:arguments[1],"Error"),n=R(r);if(P(this,{type:O,name:r,message:e,code:n}),w||(this.name=r,this.message=e,this.code=n),A){var o=new E(e);o.name=O,s(this,"stack",u(1,y(o.stack,1)))}},k=$.prototype=c(T),I=function(t){return{enumerable:!0,configurable:!0,get:t}},D=function(t){return I((function(){return _(this)[t]}))};w&&(l(k,"code",D("code")),l(k,"message",D("message")),l(k,"name",D("name"))),s(k,"constructor",u(1,$));var M=a((function(){return!(new j instanceof E)})),L=M||a((function(){return T.toString!==v||"2: 1"!==String(new j(1,2))})),U=M||a((function(){return 25!==new j(1,"DataCloneError").code})),F=M||25!==j[S]||25!==C[S],N=x?L||U||F:M;n({global:!0,constructor:!0,forced:N},{DOMException:N?$:j});var B=i(O),W=B.prototype;for(var H in L&&(x||j===B)&&f(W,"toString",v),U&&w&&j===B&&l(W,"code",I((function(){return R(h(this).name)}))),m)if(d(m,H)){var z=m[H],q=z.s,V=u(6,z.c);d(B,q)||s(B,q,V),d(W,q)||s(W,q,V)}},"107c":function(t,e,r){"use strict";var n=r("d039"),o=r("da84"),i=o.RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},"131a":function(t,e,r){"use strict";var n=r("23e7"),o=r("d2bb");n({target:"Object",stat:!0},{setPrototypeOf:o})},"13d2":function(t,e,r){"use strict";var n=r("e330"),o=r("d039"),i=r("1626"),a=r("1a2d"),c=r("83ab"),u=r("5e77").CONFIGURABLE,s=r("8925"),f=r("69f3"),l=f.enforce,d=f.get,p=String,h=Object.defineProperty,v=n("".slice),b=n("".replace),m=n([].join),y=c&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),g=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===v(p(e),0,7)&&(e="["+b(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(c?h(t,"name",{value:e,configurable:!0}):t.name=e),y&&r&&a(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?c&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=l(t);return a(n,"source")||(n.source=m(g,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&d(this).source||s(this)}),"toString")},"13d5":function(t,e,r){"use strict";var n=r("23e7"),o=r("d58f").left,i=r("a640"),a=r("2d00"),c=r("605d"),u=!c&&a>79&&a<83,s=u||!i("reduce");n({target:"Array",proto:!0,forced:s},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},"14c3":function(t,e,r){"use strict";var n=r("c65b"),o=r("825a"),i=r("1626"),a=r("c6b6"),c=r("9263"),u=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var s=n(r,t,e);return null!==s&&o(s),s}if("RegExp"===a(t))return n(c,t,e);throw new u("RegExp#exec called on incompatible receiver")}},"14d9":function(t,e,r){"use strict";var n=r("23e7"),o=r("7b0b"),i=r("07fa"),a=r("3a34"),c=r("3511"),u=r("d039"),s=u((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},l=s||!f();n({target:"Array",proto:!0,arity:1,forced:l},{push:function(t){var e=o(this),r=i(e),n=arguments.length;c(r+n);for(var u=0;u<n;u++)e[r]=arguments[u],r++;return a(e,r),r}})},"14e5":function(t,e,r){"use strict";var n=r("23e7"),o=r("c65b"),i=r("59ed"),a=r("f069"),c=r("e667"),u=r("2266"),s=r("5eed");n({target:"Promise",stat:!0,forced:s},{all:function(t){var e=this,r=a.f(e),n=r.resolve,s=r.reject,f=c((function(){var r=i(e.resolve),a=[],c=0,f=1;u(t,(function(t){var i=c++,u=!1;f++,o(r,e,t).then((function(t){u||(u=!0,a[i]=t,--f||n(a))}),s)})),--f||n(a)}));return f.error&&s(f.value),r.promise}})},"157a":function(t,e,r){"use strict";var n=r("da84"),o=r("83ab"),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!o)return n[t];var e=i(n,t);return e&&e.value}},"159b":function(t,e,r){"use strict";var n=r("da84"),o=r("fdbc"),i=r("785a"),a=r("17c2"),c=r("9112"),u=function(t){if(t&&t.forEach!==a)try{c(t,"forEach",a)}catch(e){t.forEach=a}};for(var s in o)o[s]&&u(n[s]&&n[s].prototype);u(i)},1626:function(t,e,r){"use strict";var n="object"==typeof document&&document.all;t.exports="undefined"==typeof n&&void 0!==n?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},1787:function(t,e,r){"use strict";var n=r("861d");t.exports=function(t){return n(t)||null===t}},"17c2":function(t,e,r){"use strict";var n=r("b727").forEach,o=r("a640"),i=o("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,e,r){"use strict";var n=r("3a9b"),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},"1a2d":function(t,e,r){"use strict";var n=r("e330"),o=r("7b0b"),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},"1be4":function(t,e,r){"use strict";var n=r("d066");t.exports=n("document","documentElement")},"1c7e":function(t,e,r){"use strict";var n=r("b622"),o=n("iterator"),i=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){i=!0}};c[o]=function(){return this},Array.from(c,(function(){throw 2}))}catch(u){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(u){return!1}var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(u){}return r}},"1cc0":function(t,e,r){"use strict";r.d(e,"a",(function(){return b})),r.d(e,"c",(function(){return m})),r.d(e,"b",(function(){return y}));var n=r("bee2"),o=r("d4ec");r("4ae1"),r("3410"),r("1f68"),r("131a");function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(a=function(){return!!t})()}r("d9e2");var c=r("53ca");function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e){if(e&&("object"===Object(c["a"])(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return u(t)}function f(t,e,r){return e=i(e),s(t,a()?Reflect.construct(e,r||[],i(t).constructor):e.apply(t,r))}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}r("e260"),r("4ec9"),r("d3b7"),r("3ca3"),r("ddb0"),r("25f0");function p(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"===typeof t}}r("14d9");function h(t,e,r){if(a())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&l(o,r.prototype),o}function v(t){var e="function"===typeof Map?new Map:void 0;return v=function(t){if(null===t||!p(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return h(t,arguments,i(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,t)},v(t)}r("b0c0");var b=function(t){function e(){var t;return Object(o["a"])(this,e),t=f(this,e,["can't process cross-origin image"]),t.name="DropImageFetchError",t}return d(e,t),Object(n["a"])(e)}(v(Error)),m=function(t){function e(){var t;return Object(o["a"])(this,e),t=f(this,e,["this browser has no Stream API support"]),t.name="StreamApiNotSupportedError",t}return d(e,t),Object(n["a"])(e)}(v(Error)),y=function(t){function e(){var t;return Object(o["a"])(this,e),t=f(this,e,["camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP."]),t.name="InsecureContextError",t}return d(e,t),Object(n["a"])(e)}(v(Error))},"1cdc":function(t,e,r){"use strict";var n=r("342f");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},"1d80":function(t,e,r){"use strict";var n=r("7234"),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},"1da1":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("d3b7"),r("e6cf");function n(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void r(s)}c.done?e(u):Promise.resolve(u).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,u,"next",t)}function u(t){n(a,o,i,c,u,"throw",t)}c(void 0)}))}}},"1dde":function(t,e,r){"use strict";var n=r("d039"),o=r("b622"),i=r("2d00"),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[],r=e.constructor={};return r[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1f68":function(t,e,r){"use strict";var n=r("83ab"),o=r("edd0"),i=r("861d"),a=r("1787"),c=r("7b0b"),u=r("1d80"),s=Object.getPrototypeOf,f=Object.setPrototypeOf,l=Object.prototype,d="__proto__";if(n&&s&&f&&!(d in l))try{o(l,d,{configurable:!0,get:function(){return s(c(this))},set:function(t){var e=u(this);a(t)&&i(e)&&f(e,t)}})}catch(p){}},2266:function(t,e,r){"use strict";var n=r("0366"),o=r("c65b"),i=r("825a"),a=r("0d51"),c=r("e95a"),u=r("07fa"),s=r("3a9b"),f=r("9a1f"),l=r("35a1"),d=r("2a62"),p=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var b,m,y,g,w,x,O,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),P=n(e,S),_=function(t){return b&&d(b,"normal",t),new h(!0,t)},A=function(t){return E?(i(t),T?P(t[0],t[1],_):P(t[0],t[1])):T?P(t,_):P(t)};if(j)b=t.iterator;else if(C)b=t;else{if(m=l(t),!m)throw new p(a(t)+" is not iterable");if(c(m)){for(y=0,g=u(t);g>y;y++)if(w=A(t[y]),w&&s(v,w))return w;return new h(!1)}b=f(t,m)}x=j?t.next:b.next;while(!(O=o(x,b)).done){try{w=A(O.value)}catch(R){d(b,"throw",R)}if("object"==typeof w&&w&&s(v,w))return w}return new h(!1)}},"23cb":function(t,e,r){"use strict";var n=r("5926"),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},"23dc":function(t,e,r){"use strict";var n=r("d44e");n(Math,"Math",!0)},"23e7":function(t,e,r){"use strict";var n=r("da84"),o=r("06cf").f,i=r("9112"),a=r("cb2d"),c=r("6374"),u=r("e893"),s=r("94ca");t.exports=function(t,e){var r,f,l,d,p,h,v=t.target,b=t.global,m=t.stat;if(f=b?n:m?n[v]||c(v,{}):n[v]&&n[v].prototype,f)for(l in e){if(p=e[l],t.dontCallGetSet?(h=o(f,l),d=h&&h.value):d=f[l],r=s(b?l:v+(m?".":"#")+l,t.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;u(p,d)}(t.sham||d&&d.sham)&&i(p,"sham",!0),a(f,l,p,t)}}},"241c":function(t,e,r){"use strict";var n=r("ca84"),o=r("7839"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},"24fb":function(t,e,r){"use strict";function n(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"===typeof btoa){var i=o(n),a=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}function o(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(r," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"===typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);n&&o[u[0]]||(r&&(u[2]?u[2]="".concat(r," and ").concat(u[2]):u[2]=r),e.push(u))}},e}},2532:function(t,e,r){"use strict";var n=r("23e7"),o=r("e330"),i=r("5a34"),a=r("1d80"),c=r("577e"),u=r("ab13"),s=o("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~s(c(a(this)),c(i(t)),arguments.length>1?arguments[1]:void 0)}})},"25f0":function(t,e,r){"use strict";var n=r("5e77").PROPER,o=r("cb2d"),i=r("825a"),a=r("577e"),c=r("d039"),u=r("90d8"),s="toString",f=RegExp.prototype,l=f[s],d=c((function(){return"/a/b"!==l.call({source:"a",flags:"b"})})),p=n&&l.name!==s;(d||p)&&o(f,s,(function(){var t=i(this),e=a(t.source),r=a(u(t));return"/"+e+"/"+r}),{unsafe:!0})},2626:function(t,e,r){"use strict";var n=r("d066"),o=r("edd0"),i=r("b622"),a=r("83ab"),c=i("species");t.exports=function(t){var e=n(t);a&&e&&!e[c]&&o(e,c,{configurable:!0,get:function(){return this}})}},"271a":function(t,e,r){"use strict";var n=r("cb2d"),o=r("e330"),i=r("577e"),a=r("d6d6"),c=URLSearchParams,u=c.prototype,s=o(u.getAll),f=o(u.has),l=new c("a=1");!l.has("a",2)&&l.has("a",void 0)||n(u,"has",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return f(this,t);var n=s(this,t);a(e,1);var o=i(r),c=0;while(c<n.length)if(n[c++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},2877:function(t,e,r){"use strict";function n(t,e,r,n,o,i,a,c){var u,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=r,s._compiled=!0),n&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=u):o&&(u=c?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(t,e){return u.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:s}}r.d(e,"a",(function(){return n}))},2909:function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r("6b75");function o(t){if(Array.isArray(t))return Object(n["a"])(t)}r("a4d3"),r("e01a"),r("d28b"),r("a630"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function i(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}var a=r("06c5");r("d9e2");function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t){return o(t)||i(t)||Object(a["a"])(t)||c()}},"2a62":function(t,e,r){"use strict";var n=r("c65b"),o=r("825a"),i=r("dc4a");t.exports=function(t,e,r){var a,c;o(t);try{if(a=i(t,"return"),!a){if("throw"===e)throw r;return r}a=n(a,t)}catch(u){c=!0,a=u}if("throw"===e)throw r;if(c)throw a;return o(a),r}},"2b3d":function(t,e,r){"use strict";r("4002")},"2ba4":function(t,e,r){"use strict";var n=r("40d5"),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},"2ca0":function(t,e,r){"use strict";var n=r("23e7"),o=r("4625"),i=r("06cf").f,a=r("50c4"),c=r("577e"),u=r("5a34"),s=r("1d80"),f=r("ab13"),l=r("c430"),d=o("".slice),p=Math.min,h=f("startsWith"),v=!l&&!h&&!!function(){var t=i(String.prototype,"startsWith");return t&&!t.writable}();n({target:"String",proto:!0,forced:!v&&!h},{startsWith:function(t){var e=c(s(this));u(t);var r=a(p(arguments.length>1?arguments[1]:void 0,e.length)),n=c(t);return d(e,r,r+n.length)===n}})},"2cf4":function(t,e,r){"use strict";var n,o,i,a,c=r("da84"),u=r("2ba4"),s=r("0366"),f=r("1626"),l=r("1a2d"),d=r("d039"),p=r("1be4"),h=r("f36a"),v=r("cc12"),b=r("d6d6"),m=r("1cdc"),y=r("605d"),g=c.setImmediate,w=c.clearImmediate,x=c.process,O=c.Dispatch,S=c.Function,E=c.MessageChannel,j=c.String,C=0,T={},P="onreadystatechange";d((function(){n=c.location}));var _=function(t){if(l(T,t)){var e=T[t];delete T[t],e()}},A=function(t){return function(){_(t)}},R=function(t){_(t.data)},$=function(t){c.postMessage(j(t),n.protocol+"//"+n.host)};g&&w||(g=function(t){b(arguments.length,1);var e=f(t)?t:S(t),r=h(arguments,1);return T[++C]=function(){u(e,void 0,r)},o(C),C},w=function(t){delete T[t]},y?o=function(t){x.nextTick(A(t))}:O&&O.now?o=function(t){O.now(A(t))}:E&&!m?(i=new E,a=i.port2,i.port1.onmessage=R,o=s(a.postMessage,a)):c.addEventListener&&f(c.postMessage)&&!c.importScripts&&n&&"file:"!==n.protocol&&!d($)?(o=$,c.addEventListener("message",R,!1)):o=P in v("script")?function(t){p.appendChild(v("script"))[P]=function(){p.removeChild(this),_(t)}}:function(t){setTimeout(A(t),0)}),t.exports={set:g,clear:w}},"2d00":function(t,e,r){"use strict";var n,o,i=r("da84"),a=r("342f"),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(n=f.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},3410:function(t,e,r){"use strict";var n=r("23e7"),o=r("d039"),i=r("7b0b"),a=r("e163"),c=r("e177"),u=o((function(){a(1)}));n({target:"Object",stat:!0,forced:u,sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},"342f":function(t,e,r){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3511:function(t,e,r){"use strict";var n=TypeError,o=9007199254740991;t.exports=function(t){if(t>o)throw n("Maximum allowed index exceeded");return t}},3529:function(t,e,r){"use strict";var n=r("23e7"),o=r("c65b"),i=r("59ed"),a=r("f069"),c=r("e667"),u=r("2266"),s=r("5eed");n({target:"Promise",stat:!0,forced:s},{race:function(t){var e=this,r=a.f(e),n=r.reject,s=c((function(){var a=i(e.resolve);u(t,(function(t){o(a,e,t).then(r.resolve,n)}))}));return s.error&&n(s.value),r.promise}})},"35a1":function(t,e,r){"use strict";var n=r("f5df"),o=r("dc4a"),i=r("7234"),a=r("3f8c"),c=r("b622"),u=c("iterator");t.exports=function(t){if(!i(t))return o(t,u)||o(t,"@@iterator")||a[n(t)]}},"37e8":function(t,e,r){"use strict";var n=r("83ab"),o=r("aed9"),i=r("9bf2"),a=r("825a"),c=r("fc6a"),u=r("df75");e.f=n&&!o?Object.defineProperties:function(t,e){a(t);var r,n=c(e),o=u(e),s=o.length,f=0;while(s>f)i.f(t,r=o[f++],n[r]);return t}},3835:function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,"a",(function(){return c}));r("a4d3"),r("e01a"),r("d28b"),r("e260"),r("14d9"),r("d3b7"),r("3ca3"),r("ddb0");function o(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r["return"]&&(a=r["return"](),Object(a)!==a))return}finally{if(s)throw o}}return c}}var i=r("06c5");r("d9e2");function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(t,e){return n(t)||o(t,e)||Object(i["a"])(t,e)||a()}},"3a34":function(t,e,r){"use strict";var n=r("83ab"),o=r("e8b5"),i=TypeError,a=Object.getOwnPropertyDescriptor,c=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"3a9b":function(t,e,r){"use strict";var n=r("e330");t.exports=n({}.isPrototypeOf)},"3bbe":function(t,e,r){"use strict";var n=r("1787"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},"3ca3":function(t,e,r){"use strict";var n=r("6547").charAt,o=r("577e"),i=r("69f3"),a=r("c6d2"),c=r("4754"),u="String Iterator",s=i.set,f=i.getterFor(u);a(String,"String",(function(t){s(this,{type:u,string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?c(void 0,!0):(t=n(r,o),e.index+=t.length,c(t,!1))}))},"3f8c":function(t,e,r){"use strict";t.exports={}},4002:function(t,e,r){"use strict";r("3ca3");var n,o=r("23e7"),i=r("83ab"),a=r("f354"),c=r("da84"),u=r("0366"),s=r("e330"),f=r("cb2d"),l=r("edd0"),d=r("19aa"),p=r("1a2d"),h=r("60da"),v=r("4df4"),b=r("f36a"),m=r("6547").codeAt,y=r("5fb2"),g=r("577e"),w=r("d44e"),x=r("d6d6"),O=r("5352"),S=r("69f3"),E=S.set,j=S.getterFor("URL"),C=O.URLSearchParams,T=O.getState,P=c.URL,_=c.TypeError,A=c.parseInt,R=Math.floor,$=Math.pow,k=s("".charAt),I=s(/./.exec),D=s([].join),M=s(1..toString),L=s([].pop),U=s([].push),F=s("".replace),N=s([].shift),B=s("".split),W=s("".slice),H=s("".toLowerCase),z=s([].unshift),q="Invalid authority",V="Invalid scheme",G="Invalid host",Y="Invalid port",J=/[a-z]/i,Q=/[\d+-.a-z]/i,X=/\d/,K=/^0x/i,Z=/^[0-7]+$/,tt=/^\d+$/,et=/^[\da-f]+$/i,rt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,nt=/[\0\t\n\r #/:<>?@[\\\]^|]/,ot=/^[\u0000-\u0020]+/,it=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,at=/[\t\n\r]/g,ct=function(t){var e,r,n,o,i,a,c,u=B(t,".");if(u.length&&""===u[u.length-1]&&u.length--,e=u.length,e>4)return t;for(r=[],n=0;n<e;n++){if(o=u[n],""===o)return t;if(i=10,o.length>1&&"0"===k(o,0)&&(i=I(K,o)?16:8,o=W(o,8===i?1:2)),""===o)a=0;else{if(!I(10===i?tt:8===i?Z:et,o))return t;a=A(o,i)}U(r,a)}for(n=0;n<e;n++)if(a=r[n],n===e-1){if(a>=$(256,5-e))return null}else if(a>255)return null;for(c=L(r),n=0;n<r.length;n++)c+=r[n]*$(256,3-n);return c},ut=function(t){var e,r,n,o,i,a,c,u=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,d=function(){return k(t,l)};if(":"===d()){if(":"!==k(t,1))return;l+=2,s++,f=s}while(d()){if(8===s)return;if(":"!==d()){e=r=0;while(r<4&&I(et,d()))e=16*e+A(d(),16),l++,r++;if("."===d()){if(0===r)return;if(l-=r,s>6)return;n=0;while(d()){if(o=null,n>0){if(!("."===d()&&n<4))return;l++}if(!I(X,d()))return;while(I(X,d())){if(i=A(d(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}u[s]=256*u[s]+o,n++,2!==n&&4!==n||s++}if(4!==n)return;break}if(":"===d()){if(l++,!d())return}else if(d())return;u[s++]=e}else{if(null!==f)return;l++,s++,f=s}}if(null!==f){a=s-f,s=7;while(0!==s&&a>0)c=u[s],u[s--]=u[f+a-1],u[f+--a]=c}else if(8!==s)return;return u},st=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e},ft=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)z(e,t%256),t=R(t/256);return D(e,".")}if("object"==typeof t){for(e="",n=st(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=M(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},lt={},dt=h({},lt,{" ":1,'"':1,"<":1,">":1,"`":1}),pt=h({},dt,{"#":1,"?":1,"{":1,"}":1}),ht=h({},pt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),vt=function(t,e){var r=m(t,0);return r>32&&r<127&&!p(e,t)?t:encodeURIComponent(t)},bt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},mt=function(t,e){var r;return 2===t.length&&I(J,k(t,0))&&(":"===(r=k(t,1))||!e&&"|"===r)},yt=function(t){var e;return t.length>1&&mt(W(t,0,2))&&(2===t.length||"/"===(e=k(t,2))||"\\"===e||"?"===e||"#"===e)},gt=function(t){return"."===t||"%2e"===H(t)},wt=function(t){return t=H(t),".."===t||"%2e."===t||".%2e"===t||"%2e%2e"===t},xt={},Ot={},St={},Et={},jt={},Ct={},Tt={},Pt={},_t={},At={},Rt={},$t={},kt={},It={},Dt={},Mt={},Lt={},Ut={},Ft={},Nt={},Bt={},Wt=function(t,e,r){var n,o,i,a=g(t);if(e){if(o=this.parse(a),o)throw new _(o);this.searchParams=null}else{if(void 0!==r&&(n=new Wt(r,!0)),o=this.parse(a,null,n),o)throw new _(o);i=T(new C),i.bindURL(this),this.searchParams=i}};Wt.prototype={type:"URL",parse:function(t,e,r){var o,i,a,c,u=this,s=e||xt,f=0,l="",d=!1,h=!1,m=!1;t=g(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=F(t,ot,""),t=F(t,it,"$1")),t=F(t,at,""),o=v(t);while(f<=o.length){switch(i=o[f],s){case xt:if(!i||!I(J,i)){if(e)return V;s=St;continue}l+=H(i),s=Ot;break;case Ot:if(i&&(I(Q,i)||"+"===i||"-"===i||"."===i))l+=H(i);else{if(":"!==i){if(e)return V;l="",s=St,f=0;continue}if(e&&(u.isSpecial()!==p(bt,l)||"file"===l&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=l,e)return void(u.isSpecial()&&bt[u.scheme]===u.port&&(u.port=null));l="","file"===u.scheme?s=It:u.isSpecial()&&r&&r.scheme===u.scheme?s=Et:u.isSpecial()?s=Pt:"/"===o[f+1]?(s=jt,f++):(u.cannotBeABaseURL=!0,U(u.path,""),s=Ft)}break;case St:if(!r||r.cannotBeABaseURL&&"#"!==i)return V;if(r.cannotBeABaseURL&&"#"===i){u.scheme=r.scheme,u.path=b(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,s=Bt;break}s="file"===r.scheme?It:Ct;continue;case Et:if("/"!==i||"/"!==o[f+1]){s=Ct;continue}s=_t,f++;break;case jt:if("/"===i){s=At;break}s=Ut;continue;case Ct:if(u.scheme=r.scheme,i===n)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=b(r.path),u.query=r.query;else if("/"===i||"\\"===i&&u.isSpecial())s=Tt;else if("?"===i)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=b(r.path),u.query="",s=Nt;else{if("#"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=b(r.path),u.path.length--,s=Ut;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=b(r.path),u.query=r.query,u.fragment="",s=Bt}break;case Tt:if(!u.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,s=Ut;continue}s=At}else s=_t;break;case Pt:if(s=_t,"/"!==i||"/"!==k(l,f+1))continue;f++;break;case _t:if("/"!==i&&"\\"!==i){s=At;continue}break;case At:if("@"===i){d&&(l="%40"+l),d=!0,a=v(l);for(var y=0;y<a.length;y++){var w=a[y];if(":"!==w||m){var x=vt(w,ht);m?u.password+=x:u.username+=x}else m=!0}l=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(d&&""===l)return q;f-=v(l).length+1,l="",s=Rt}else l+=i;break;case Rt:case $t:if(e&&"file"===u.scheme){s=Mt;continue}if(":"!==i||h){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(u.isSpecial()&&""===l)return G;if(e&&""===l&&(u.includesCredentials()||null!==u.port))return;if(c=u.parseHost(l),c)return c;if(l="",s=Lt,e)return;continue}"["===i?h=!0:"]"===i&&(h=!1),l+=i}else{if(""===l)return G;if(c=u.parseHost(l),c)return c;if(l="",s=kt,e===$t)return}break;case kt:if(!I(X,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()||e){if(""!==l){var O=A(l,10);if(O>65535)return Y;u.port=u.isSpecial()&&O===bt[u.scheme]?null:O,l=""}if(e)return;s=Lt;continue}return Y}l+=i;break;case It:if(u.scheme="file","/"===i||"\\"===i)s=Dt;else{if(!r||"file"!==r.scheme){s=Ut;continue}switch(i){case n:u.host=r.host,u.path=b(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=b(r.path),u.query="",s=Nt;break;case"#":u.host=r.host,u.path=b(r.path),u.query=r.query,u.fragment="",s=Bt;break;default:yt(D(b(o,f),""))||(u.host=r.host,u.path=b(r.path),u.shortenPath()),s=Ut;continue}}break;case Dt:if("/"===i||"\\"===i){s=Mt;break}r&&"file"===r.scheme&&!yt(D(b(o,f),""))&&(mt(r.path[0],!0)?U(u.path,r.path[0]):u.host=r.host),s=Ut;continue;case Mt:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!e&&mt(l))s=Ut;else if(""===l){if(u.host="",e)return;s=Lt}else{if(c=u.parseHost(l),c)return c;if("localhost"===u.host&&(u.host=""),e)return;l="",s=Lt}continue}l+=i;break;case Lt:if(u.isSpecial()){if(s=Ut,"/"!==i&&"\\"!==i)continue}else if(e||"?"!==i)if(e||"#"!==i){if(i!==n&&(s=Ut,"/"!==i))continue}else u.fragment="",s=Bt;else u.query="",s=Nt;break;case Ut:if(i===n||"/"===i||"\\"===i&&u.isSpecial()||!e&&("?"===i||"#"===i)){if(wt(l)?(u.shortenPath(),"/"===i||"\\"===i&&u.isSpecial()||U(u.path,"")):gt(l)?"/"===i||"\\"===i&&u.isSpecial()||U(u.path,""):("file"===u.scheme&&!u.path.length&&mt(l)&&(u.host&&(u.host=""),l=k(l,0)+":"),U(u.path,l)),l="","file"===u.scheme&&(i===n||"?"===i||"#"===i))while(u.path.length>1&&""===u.path[0])N(u.path);"?"===i?(u.query="",s=Nt):"#"===i&&(u.fragment="",s=Bt)}else l+=vt(i,pt);break;case Ft:"?"===i?(u.query="",s=Nt):"#"===i?(u.fragment="",s=Bt):i!==n&&(u.path[0]+=vt(i,lt));break;case Nt:e||"#"!==i?i!==n&&("'"===i&&u.isSpecial()?u.query+="%27":u.query+="#"===i?"%23":vt(i,lt)):(u.fragment="",s=Bt);break;case Bt:i!==n&&(u.fragment+=vt(i,dt));break}f++}},parseHost:function(t){var e,r,n;if("["===k(t,0)){if("]"!==k(t,t.length-1))return G;if(e=ut(W(t,1,-1)),!e)return G;this.host=e}else if(this.isSpecial()){if(t=y(t),I(rt,t))return G;if(e=ct(t),null===e)return G;this.host=e}else{if(I(nt,t))return G;for(e="",r=v(t),n=0;n<r.length;n++)e+=vt(r[n],lt);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return p(bt,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&mt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,c=t.query,u=t.fragment,s=e+":";return null!==o?(s+="//",t.includesCredentials()&&(s+=r+(n?":"+n:"")+"@"),s+=ft(o),null!==i&&(s+=":"+i)):"file"===e&&(s+="//"),s+=t.cannotBeABaseURL?a[0]:a.length?"/"+D(a,"/"):"",null!==c&&(s+="?"+c),null!==u&&(s+="#"+u),s},setHref:function(t){var e=this.parse(t);if(e)throw new _(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Ht(t.path[0]).origin}catch(r){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+ft(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(g(t)+":",xt)},getUsername:function(){return this.username},setUsername:function(t){var e=v(g(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=vt(e[r],ht)}},getPassword:function(){return this.password},setPassword:function(t){var e=v(g(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=vt(e[r],ht)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ft(t):ft(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Rt)},getHostname:function(){var t=this.host;return null===t?"":ft(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,$t)},getPort:function(){var t=this.port;return null===t?"":g(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(t=g(t),""===t?this.port=null:this.parse(t,kt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+D(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Lt))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){t=g(t),""===t?this.query=null:("?"===k(t,0)&&(t=W(t,1)),this.query="",this.parse(t,Nt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){t=g(t),""!==t?("#"===k(t,0)&&(t=W(t,1)),this.fragment="",this.parse(t,Bt)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ht=function(t){var e=d(this,zt),r=x(arguments.length,1)>1?arguments[1]:void 0,n=E(e,new Wt(t,!1,r));i||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},zt=Ht.prototype,qt=function(t,e){return{get:function(){return j(this)[t]()},set:e&&function(t){return j(this)[e](t)},configurable:!0,enumerable:!0}};if(i&&(l(zt,"href",qt("serialize","setHref")),l(zt,"origin",qt("getOrigin")),l(zt,"protocol",qt("getProtocol","setProtocol")),l(zt,"username",qt("getUsername","setUsername")),l(zt,"password",qt("getPassword","setPassword")),l(zt,"host",qt("getHost","setHost")),l(zt,"hostname",qt("getHostname","setHostname")),l(zt,"port",qt("getPort","setPort")),l(zt,"pathname",qt("getPathname","setPathname")),l(zt,"search",qt("getSearch","setSearch")),l(zt,"searchParams",qt("getSearchParams")),l(zt,"hash",qt("getHash","setHash"))),f(zt,"toJSON",(function(){return j(this).serialize()}),{enumerable:!0}),f(zt,"toString",(function(){return j(this).serialize()}),{enumerable:!0}),P){var Vt=P.createObjectURL,Gt=P.revokeObjectURL;Vt&&f(Ht,"createObjectURL",u(Vt,P)),Gt&&f(Ht,"revokeObjectURL",u(Gt,P))}w(Ht,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Ht})},"408a":function(t,e,r){"use strict";var n=r("e330");t.exports=n(1..valueOf)},"40d5":function(t,e,r){"use strict";var n=r("d039");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"428f":function(t,e,r){"use strict";var n=r("da84");t.exports=n},4362:function(t,e,r){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,n="/";e.cwd=function(){return n},e.chdir=function(e){t||(t=r("df7c")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"44ad":function(t,e,r){"use strict";var n=r("e330"),o=r("d039"),i=r("c6b6"),a=Object,c=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):a(t)}:a},"44d2":function(t,e,r){"use strict";var n=r("b622"),o=r("7c73"),i=r("9bf2").f,a=n("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},"44de":function(t,e,r){"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(r){}}},"44e7":function(t,e,r){"use strict";var n=r("861d"),o=r("c6b6"),i=r("b622"),a=i("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[a])?!!e:"RegExp"===o(t))}},4625:function(t,e,r){"use strict";var n=r("c6b6"),o=r("e330");t.exports=function(t){if("Function"===n(t))return o(t)}},"466d":function(t,e,r){"use strict";var n=r("c65b"),o=r("d784"),i=r("825a"),a=r("7234"),c=r("50c4"),u=r("577e"),s=r("1d80"),f=r("dc4a"),l=r("8aa5"),d=r("14c3");o("match",(function(t,e,r){return[function(e){var r=s(this),o=a(e)?void 0:f(e,t);return o?n(o,e,r):new RegExp(e)[t](u(r))},function(t){var n=i(this),o=u(t),a=r(e,n,o);if(a.done)return a.value;if(!n.global)return d(n,o);var s=n.unicode;n.lastIndex=0;var f,p=[],h=0;while(null!==(f=d(n,o))){var v=u(f[0]);p[h]=v,""===v&&(n.lastIndex=l(o,c(n.lastIndex),s)),h++}return 0===h?null:p}]}))},4738:function(t,e,r){"use strict";var n=r("da84"),o=r("d256"),i=r("1626"),a=r("94ca"),c=r("8925"),u=r("b622"),s=r("6069"),f=r("6c59"),l=r("c430"),d=r("2d00"),p=o&&o.prototype,h=u("species"),v=!1,b=i(n.PromiseRejectionEvent),m=a("Promise",(function(){var t=c(o),e=t!==String(o);if(!e&&66===d)return!0;if(l&&(!p["catch"]||!p["finally"]))return!0;if(!d||d<51||!/native code/.test(t)){var r=new o((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))},i=r.constructor={};if(i[h]=n,v=r.then((function(){}))instanceof n,!v)return!0}return!e&&(s||f)&&!b}));t.exports={CONSTRUCTOR:m,REJECTION_EVENT:b,SUBCLASSING:v}},4754:function(t,e,r){"use strict";t.exports=function(t,e){return{value:t,done:e}}},4840:function(t,e,r){"use strict";var n=r("825a"),o=r("5087"),i=r("7234"),a=r("b622"),c=a("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||i(r=n(a)[c])?e:o(r)}},"485a":function(t,e,r){"use strict";var n=r("c65b"),o=r("1626"),i=r("861d"),a=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&o(r=t.toString)&&!i(c=n(r,t)))return c;if(o(r=t.valueOf)&&!i(c=n(r,t)))return c;if("string"!==e&&o(r=t.toString)&&!i(c=n(r,t)))return c;throw new a("Can't convert object to primitive value")}},"499e":function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},o=0;o<e.length;o++){var i=e[o],a=i[0],c=i[1],u=i[2],s=i[3],f={id:t+":"+o,css:c,media:u,sourceMap:s};n[a]?n[a].parts.push(f):r.push(n[a]={id:a,parts:[f]})}return r}r.r(e),r.d(e,"default",(function(){return h}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,u=0,s=!1,f=function(){},l=null,d="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,r,o){s=r,l=o||{};var a=n(t,e);return v(a),function(e){for(var r=[],o=0;o<a.length;o++){var c=a[o],u=i[c.id];u.refs--,r.push(u)}e?(a=n(t,e),v(a)):a=[];for(o=0;o<r.length;o++){u=r[o];if(0===u.refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete i[u.id]}}}}function v(t){for(var e=0;e<t.length;e++){var r=t[e],n=i[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(m(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(o=0;o<r.parts.length;o++)a.push(m(r.parts[o]));i[r.id]={id:r.id,refs:1,parts:a}}}}function b(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function m(t){var e,r,n=document.querySelector("style["+d+'~="'+t.id+'"]');if(n){if(s)return f;n.parentNode.removeChild(n)}if(p){var o=u++;n=c||(c=b()),e=g.bind(null,n,o,!1),r=g.bind(null,n,o,!0)}else n=b(),e=w.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}var y=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}();function g(t,e,r,n){var o=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=y(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function w(t,e){var r=e.css,n=e.media,o=e.sourceMap;if(n&&t.setAttribute("media",n),l.ssrId&&t.setAttribute(d,e.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}},"4ae1":function(t,e,r){"use strict";var n=r("23e7"),o=r("d066"),i=r("2ba4"),a=r("0538"),c=r("5087"),u=r("825a"),s=r("861d"),f=r("7c73"),l=r("d039"),d=o("Reflect","construct"),p=Object.prototype,h=[].push,v=l((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),b=!l((function(){d((function(){}))})),m=v||b;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(t,e){c(t),u(e);var r=arguments.length<3?t:c(arguments[2]);if(b&&!v)return d(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return i(h,n,e),new(i(a,t,n))}var o=r.prototype,l=f(s(o)?o:p),m=i(t,l,e);return s(m)?m:l}})},"4d64":function(t,e,r){"use strict";var n=r("fc6a"),o=r("23cb"),i=r("07fa"),a=function(t){return function(e,r,a){var c=n(e),u=i(c);if(0===u)return!t&&-1;var s,f=o(a,u);if(t&&r!==r){while(u>f)if(s=c[f++],s!==s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,e,r){"use strict";var n=r("23e7"),o=r("b727").filter,i=r("1dde"),a=i("filter");n({target:"Array",proto:!0,forced:!a},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,r){"use strict";var n=r("0366"),o=r("c65b"),i=r("7b0b"),a=r("9bdd"),c=r("e95a"),u=r("68ee"),s=r("07fa"),f=r("8418"),l=r("9a1f"),d=r("35a1"),p=Array;t.exports=function(t){var e=i(t),r=u(this),h=arguments.length,v=h>1?arguments[1]:void 0,b=void 0!==v;b&&(v=n(v,h>2?arguments[2]:void 0));var m,y,g,w,x,O,S=d(e),E=0;if(!S||this===p&&c(S))for(m=s(e),y=r?new this(m):p(m);m>E;E++)O=b?v(e[E],E):e[E],f(y,E,O);else for(y=r?new this:[],w=l(e,S),x=w.next;!(g=o(x,w)).done;E++)O=b?a(w,v,[g.value,E],!0):g.value,f(y,E,O);return y.length=E,y}},"4ec9":function(t,e,r){"use strict";r("6f48")},"4fad":function(t,e,r){"use strict";var n=r("d039"),o=r("861d"),i=r("c6b6"),a=r("d86b"),c=Object.isExtensible,u=n((function(){c(1)}));t.exports=u||a?function(t){return!!o(t)&&((!a||"ArrayBuffer"!==i(t))&&(!c||c(t)))}:c},5087:function(t,e,r){"use strict";var n=r("68ee"),o=r("0d51"),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a constructor")}},"50c4":function(t,e,r){"use strict";var n=r("5926"),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},"51eb":function(t,e,r){"use strict";var n=r("825a"),o=r("485a"),i=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new i("Incorrect hint");return o(this,t)}},5352:function(t,e,r){"use strict";r("e260");var n=r("23e7"),o=r("da84"),i=r("157a"),a=r("c65b"),c=r("e330"),u=r("83ab"),s=r("f354"),f=r("cb2d"),l=r("edd0"),d=r("6964"),p=r("d44e"),h=r("dcc3"),v=r("69f3"),b=r("19aa"),m=r("1626"),y=r("1a2d"),g=r("0366"),w=r("f5df"),x=r("825a"),O=r("861d"),S=r("577e"),E=r("7c73"),j=r("5c6c"),C=r("9a1f"),T=r("35a1"),P=r("4754"),_=r("d6d6"),A=r("b622"),R=r("addb"),$=A("iterator"),k="URLSearchParams",I=k+"Iterator",D=v.set,M=v.getterFor(k),L=v.getterFor(I),U=i("fetch"),F=i("Request"),N=i("Headers"),B=F&&F.prototype,W=N&&N.prototype,H=o.RegExp,z=o.TypeError,q=o.decodeURIComponent,V=o.encodeURIComponent,G=c("".charAt),Y=c([].join),J=c([].push),Q=c("".replace),X=c([].shift),K=c([].splice),Z=c("".split),tt=c("".slice),et=/\+/g,rt=Array(4),nt=function(t){return rt[t-1]||(rt[t-1]=H("((?:%[\\da-f]{2}){"+t+"})","gi"))},ot=function(t){try{return q(t)}catch(e){return t}},it=function(t){var e=Q(t,et," "),r=4;try{return q(e)}catch(n){while(r)e=Q(e,nt(r--),ot);return e}},at=/[!'()~]|%20/g,ct={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ut=function(t){return ct[t]},st=function(t){return Q(V(t),at,ut)},ft=h((function(t,e){D(this,{type:I,target:M(t).entries,index:0,kind:e})}),k,(function(){var t=L(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,P(void 0,!0);var n=e[r];switch(t.kind){case"keys":return P(n.key,!1);case"values":return P(n.value,!1)}return P([n.key,n.value],!1)}),!0),lt=function(t){this.entries=[],this.url=null,void 0!==t&&(O(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===G(t,0)?tt(t,1):t:S(t)))};lt.prototype={type:k,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,c,u,s=this.entries,f=T(t);if(f){e=C(t,f),r=e.next;while(!(n=a(r,e)).done){if(o=C(x(n.value)),i=o.next,(c=a(i,o)).done||(u=a(i,o)).done||!a(i,o).done)throw new z("Expected sequence with length 2");J(s,{key:S(c.value),value:S(u.value)})}}else for(var l in t)y(t,l)&&J(s,{key:l,value:S(t[l])})},parseQuery:function(t){if(t){var e,r,n=this.entries,o=Z(t,"&"),i=0;while(i<o.length)e=o[i++],e.length&&(r=Z(e,"="),J(n,{key:it(X(r)),value:it(Y(r,"="))}))}},serialize:function(){var t,e=this.entries,r=[],n=0;while(n<e.length)t=e[n++],J(r,st(t.key)+"="+st(t.value));return Y(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var dt=function(){b(this,pt);var t=arguments.length>0?arguments[0]:void 0,e=D(this,new lt(t));u||(this.size=e.entries.length)},pt=dt.prototype;if(d(pt,{append:function(t,e){var r=M(this);_(arguments.length,2),J(r.entries,{key:S(t),value:S(e)}),u||this.length++,r.updateURL()},delete:function(t){var e=M(this),r=_(arguments.length,1),n=e.entries,o=S(t),i=r<2?void 0:arguments[1],a=void 0===i?i:S(i),c=0;while(c<n.length){var s=n[c];if(s.key!==o||void 0!==a&&s.value!==a)c++;else if(K(n,c,1),void 0!==a)break}u||(this.size=n.length),e.updateURL()},get:function(t){var e=M(this).entries;_(arguments.length,1);for(var r=S(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=M(this).entries;_(arguments.length,1);for(var r=S(t),n=[],o=0;o<e.length;o++)e[o].key===r&&J(n,e[o].value);return n},has:function(t){var e=M(this).entries,r=_(arguments.length,1),n=S(t),o=r<2?void 0:arguments[1],i=void 0===o?o:S(o),a=0;while(a<e.length){var c=e[a++];if(c.key===n&&(void 0===i||c.value===i))return!0}return!1},set:function(t,e){var r=M(this);_(arguments.length,1);for(var n,o=r.entries,i=!1,a=S(t),c=S(e),s=0;s<o.length;s++)n=o[s],n.key===a&&(i?K(o,s--,1):(i=!0,n.value=c));i||J(o,{key:a,value:c}),u||(this.size=o.length),r.updateURL()},sort:function(){var t=M(this);R(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){var e,r=M(this).entries,n=g(t,arguments.length>1?arguments[1]:void 0),o=0;while(o<r.length)e=r[o++],n(e.value,e.key,this)},keys:function(){return new ft(this,"keys")},values:function(){return new ft(this,"values")},entries:function(){return new ft(this,"entries")}},{enumerable:!0}),f(pt,$,pt.entries,{name:"entries"}),f(pt,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),u&&l(pt,"size",{get:function(){return M(this).entries.length},configurable:!0,enumerable:!0}),p(dt,k),n({global:!0,constructor:!0,forced:!s},{URLSearchParams:dt}),!s&&m(N)){var ht=c(W.has),vt=c(W.set),bt=function(t){if(O(t)){var e,r=t.body;if(w(r)===k)return e=t.headers?new N(t.headers):new N,ht(e,"content-type")||vt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(t,{body:j(0,S(r)),headers:j(0,e)})}return t};if(m(U)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return U(t,arguments.length>1?bt(arguments[1]):{})}}),m(F)){var mt=function(t){return b(this,B),new F(t,arguments.length>1?bt(arguments[1]):{})};B.constructor=mt,mt.prototype=B,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:mt})}}t.exports={URLSearchParams:dt,getState:M}},"53ca":function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r("a4d3"),r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}},5494:function(t,e,r){"use strict";var n=r("83ab"),o=r("e330"),i=r("edd0"),a=URLSearchParams.prototype,c=o(a.forEach);n&&!("size"in a)&&i(a,"size",{get:function(){var t=0;return c(this,(function(){t++})),t},configurable:!0,enumerable:!0})},5692:function(t,e,r){"use strict";var n=r("c6cd");t.exports=function(t,e){return n[t]||(n[t]=e||{})}},"56ef":function(t,e,r){"use strict";var n=r("d066"),o=r("e330"),i=r("241c"),a=r("7418"),c=r("825a"),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=a.f;return r?u(e,r(t)):e}},"577e":function(t,e,r){"use strict";var n=r("f5df"),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},"57b9":function(t,e,r){"use strict";var n=r("c65b"),o=r("d066"),i=r("b622"),a=r("cb2d");t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,c=i("toPrimitive");e&&!e[c]&&a(e,c,(function(t){return n(r,this)}),{arity:1})}},5899:function(t,e,r){"use strict";t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(t,e,r){"use strict";var n=r("e330"),o=r("1d80"),i=r("577e"),a=r("5899"),c=n("".replace),u=RegExp("^["+a+"]+"),s=RegExp("(^|[^"+a+"])["+a+"]+$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=c(r,u,"")),2&t&&(r=c(r,s,"$1")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},5926:function(t,e,r){"use strict";var n=r("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},"59ed":function(t,e,r){"use strict";var n=r("1626"),o=r("0d51"),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},"5a34":function(t,e,r){"use strict";var n=r("44e7"),o=TypeError;t.exports=function(t){if(n(t))throw new o("The method doesn't accept regular expressions");return t}},"5a47":function(t,e,r){"use strict";var n=r("23e7"),o=r("04f8"),i=r("d039"),a=r("7418"),c=r("7b0b"),u=!o||i((function(){a.f(1)}));n({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(c(t)):[]}})},"5c0b":function(t,e,r){"use strict";var n=function(){var t=this,e=t._self._c;return e("input",{attrs:{type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},on:{change:t.onChangeInput}})},o=[],i=r("2909"),a=(r("d81d"),r("d3b7"),r("159b"),r("a180")),c=r("b3af"),u={name:"qrcode-capture",props:{formats:{type:Array,default:function(){return["qr_code"]}}},mixins:[c["a"]],methods:{onChangeInput:function(t){var e=this,r=Object(i["a"])(t.target.files),n=r.map((function(t){return Object(a["b"])(t,e.formats)}));n.forEach(this.onDetect)}}},s=u,f=r("2877"),l=Object(f["a"])(s,n,o,!1,null,null,null);e["a"]=l.exports},"5c6c":function(t,e,r){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,r){"use strict";var n=r("83ab"),o=r("1a2d"),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},"5e7e":function(t,e,r){"use strict";var n,o,i,a,c=r("23e7"),u=r("c430"),s=r("605d"),f=r("da84"),l=r("c65b"),d=r("cb2d"),p=r("d2bb"),h=r("d44e"),v=r("2626"),b=r("59ed"),m=r("1626"),y=r("861d"),g=r("19aa"),w=r("4840"),x=r("2cf4").set,O=r("b575"),S=r("44de"),E=r("e667"),j=r("01b4"),C=r("69f3"),T=r("d256"),P=r("4738"),_=r("f069"),A="Promise",R=P.CONSTRUCTOR,$=P.REJECTION_EVENT,k=P.SUBCLASSING,I=C.getterFor(A),D=C.set,M=T&&T.prototype,L=T,U=M,F=f.TypeError,N=f.document,B=f.process,W=_.f,H=W,z=!!(N&&N.createEvent&&f.dispatchEvent),q="unhandledrejection",V="rejectionhandled",G=0,Y=1,J=2,Q=1,X=2,K=function(t){var e;return!(!y(t)||!m(e=t.then))&&e},Z=function(t,e){var r,n,o,i=e.value,a=e.state===Y,c=a?t.ok:t.fail,u=t.resolve,s=t.reject,f=t.domain;try{c?(a||(e.rejection===X&&ot(e),e.rejection=Q),!0===c?r=i:(f&&f.enter(),r=c(i),f&&(f.exit(),o=!0)),r===t.promise?s(new F("Promise-chain cycle")):(n=K(r))?l(n,r,u,s):u(r)):s(i)}catch(d){f&&!o&&f.exit(),s(d)}},tt=function(t,e){t.notified||(t.notified=!0,O((function(){var r,n=t.reactions;while(r=n.get())Z(r,t);t.notified=!1,e&&!t.rejection&&rt(t)})))},et=function(t,e,r){var n,o;z?(n=N.createEvent("Event"),n.promise=e,n.reason=r,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:e,reason:r},!$&&(o=f["on"+t])?o(n):t===q&&S("Unhandled promise rejection",r)},rt=function(t){l(x,f,(function(){var e,r=t.facade,n=t.value,o=nt(t);if(o&&(e=E((function(){s?B.emit("unhandledRejection",n,r):et(q,r,n)})),t.rejection=s||nt(t)?X:Q,e.error))throw e.value}))},nt=function(t){return t.rejection!==Q&&!t.parent},ot=function(t){l(x,f,(function(){var e=t.facade;s?B.emit("rejectionHandled",e):et(V,e,t.value)}))},it=function(t,e,r){return function(n){t(e,n,r)}},at=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=J,tt(t,!0))},ct=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new F("Promise can't be resolved itself");var n=K(e);n?O((function(){var r={done:!1};try{l(n,e,it(ct,r,t),it(at,r,t))}catch(o){at(r,o,t)}})):(t.value=e,t.state=Y,tt(t,!1))}catch(o){at({done:!1},o,t)}}};if(R&&(L=function(t){g(this,U),b(t),l(n,this);var e=I(this);try{t(it(ct,e),it(at,e))}catch(r){at(e,r)}},U=L.prototype,n=function(t){D(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new j,rejection:!1,state:G,value:void 0})},n.prototype=d(U,"then",(function(t,e){var r=I(this),n=W(w(this,L));return r.parent=!0,n.ok=!m(t)||t,n.fail=m(e)&&e,n.domain=s?B.domain:void 0,r.state===G?r.reactions.add(n):O((function(){Z(n,r)})),n.promise})),o=function(){var t=new n,e=I(t);this.promise=t,this.resolve=it(ct,e),this.reject=it(at,e)},_.f=W=function(t){return t===L||t===i?new o(t):H(t)},!u&&m(T)&&M!==Object.prototype)){a=M.then,k||d(M,"then",(function(t,e){var r=this;return new L((function(t,e){l(a,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete M.constructor}catch(ut){}p&&p(M,U)}c({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:L}),h(L,A,!1,!0),v(A)},"5eed":function(t,e,r){"use strict";var n=r("d256"),o=r("1c7e"),i=r("4738").CONSTRUCTOR;t.exports=i||!o((function(t){n.all(t).then(void 0,(function(){}))}))},"5fb2":function(t,e,r){"use strict";var n=r("e330"),o=2147483647,i=36,a=1,c=26,u=38,s=700,f=72,l=128,d="-",p=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,v="Overflow: input needs wider integers to process",b=i-a,m=RangeError,y=n(h.exec),g=Math.floor,w=String.fromCharCode,x=n("".charCodeAt),O=n([].join),S=n([].push),E=n("".replace),j=n("".split),C=n("".toLowerCase),T=function(t){var e=[],r=0,n=t.length;while(r<n){var o=x(t,r++);if(o>=55296&&o<=56319&&r<n){var i=x(t,r++);56320===(64512&i)?S(e,((1023&o)<<10)+(1023&i)+65536):(S(e,o),r--)}else S(e,o)}return e},P=function(t){return t+22+75*(t<26)},_=function(t,e,r){var n=0;t=r?g(t/s):t>>1,t+=g(t/e);while(t>b*c>>1)t=g(t/b),n+=i;return g(n+(b+1)*t/(t+u))},A=function(t){var e=[];t=T(t);var r,n,u=t.length,s=l,p=0,h=f;for(r=0;r<t.length;r++)n=t[r],n<128&&S(e,w(n));var b=e.length,y=b;b&&S(e,d);while(y<u){var x=o;for(r=0;r<t.length;r++)n=t[r],n>=s&&n<x&&(x=n);var E=y+1;if(x-s>g((o-p)/E))throw new m(v);for(p+=(x-s)*E,s=x,r=0;r<t.length;r++){if(n=t[r],n<s&&++p>o)throw new m(v);if(n===s){var j=p,C=i;while(1){var A=C<=h?a:C>=h+c?c:C-h;if(j<A)break;var R=j-A,$=i-A;S(e,w(P(A+R%$))),j=g(R/$),C+=i}S(e,w(P(j))),h=_(p,E,y===b),p=0,y++}}p++,s++}return O(e,"")};t.exports=function(t){var e,r,n=[],o=j(E(C(t),h,"."),".");for(e=0;e<o.length;e++)r=o[e],S(n,y(p,r)?"xn--"+A(r):r);return O(n,".")}},"605d":function(t,e,r){"use strict";var n=r("da84"),o=r("c6b6");t.exports="process"===o(n.process)},6069:function(t,e,r){"use strict";var n=r("6c59"),o=r("605d");t.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},"60da":function(t,e,r){"use strict";var n=r("83ab"),o=r("e330"),i=r("c65b"),a=r("d039"),c=r("df75"),u=r("7418"),s=r("d1e7"),f=r("7b0b"),l=r("44ad"),d=Object.assign,p=Object.defineProperty,h=o([].concat);t.exports=!d||a((function(){if(n&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!==d({},t)[r]||c(d({},e)).join("")!==o}))?function(t,e){var r=f(t),o=arguments.length,a=1,d=u.f,p=s.f;while(o>a){var v,b=l(arguments[a++]),m=d?h(c(b),d(b)):c(b),y=m.length,g=0;while(y>g)v=m[g++],n&&!i(p,b,v)||(r[v]=b[v])}return r}:d},6374:function(t,e,r){"use strict";var n=r("da84"),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},6547:function(t,e,r){"use strict";var n=r("e330"),o=r("5926"),i=r("577e"),a=r("1d80"),c=n("".charAt),u=n("".charCodeAt),s=n("".slice),f=function(t){return function(e,r){var n,f,l=i(a(e)),d=o(r),p=l.length;return d<0||d>=p?t?"":void 0:(n=u(l,d),n<55296||n>56319||d+1===p||(f=u(l,d+1))<56320||f>57343?t?c(l,d):n:t?s(l,d,d+2):f-56320+(n-55296<<10)+65536)}};t.exports={codeAt:f(!1),charAt:f(!0)}},6566:function(t,e,r){"use strict";var n=r("7c73"),o=r("edd0"),i=r("6964"),a=r("0366"),c=r("19aa"),u=r("7234"),s=r("2266"),f=r("c6d2"),l=r("4754"),d=r("2626"),p=r("83ab"),h=r("f183").fastKey,v=r("69f3"),b=v.set,m=v.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t((function(t,o){c(t,d),b(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),p||(t.size=0),u(o)||s(o,t[f],{that:t,AS_ENTRIES:r})})),d=l.prototype,v=m(e),y=function(t,e,r){var n,o,i=v(t),a=g(t,e);return a?a.value=r:(i.last=a={index:o=h(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),p?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},g=function(t,e){var r,n=v(t),o=h(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return i(d,{clear:function(){var t=this,e=v(t),r=e.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),r=r.next;e.first=e.last=void 0,e.index=n(null),p?e.size=0:t.size=0},delete:function(t){var e=this,r=v(e),n=g(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),p?r.size--:e.size--}return!!n},forEach:function(t){var e,r=v(this),n=a(t,arguments.length>1?arguments[1]:void 0);while(e=e?e.next:r.first){n(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!g(this,t)}}),i(d,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),p&&o(d,"size",{configurable:!0,get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",o=m(e),i=m(n);f(t,e,(function(t,e){b(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){var t=i(this),e=t.kind,r=t.last;while(r&&r.removed)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=void 0,l(void 0,!0))}),r?"entries":"values",!r,!0),d(e)}}},"65f0":function(t,e,r){"use strict";var n=r("0b42");t.exports=function(t,e){return new(n(t))(0===e?0:e)}},"68ee":function(t,e,r){"use strict";var n=r("e330"),o=r("d039"),i=r("1626"),a=r("f5df"),c=r("d066"),u=r("8925"),s=function(){},f=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,d=n(l.exec),p=!l.test(s),h=function(t){if(!i(t))return!1;try{return f(s,[],t),!0}catch(e){return!1}},v=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(l,u(t))}catch(e){return!0}};v.sham=!0,t.exports=!f||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?v:h},6964:function(t,e,r){"use strict";var n=r("cb2d");t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},"69f3":function(t,e,r){"use strict";var n,o,i,a=r("cdce"),c=r("da84"),u=r("861d"),s=r("9112"),f=r("1a2d"),l=r("c6cd"),d=r("f772"),p=r("d012"),h="Object already initialized",v=c.TypeError,b=c.WeakMap,m=function(t){return i(t)?o(t):n(t,{})},y=function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}};if(a||l.state){var g=l.state||(l.state=new b);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new v(h);return e.facade=t,g.set(t,e),e},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var w=d("state");p[w]=!0,n=function(t,e){if(f(t,w))throw new v(h);return e.facade=t,s(t,w,e),e},o=function(t){return f(t,w)?t[w]:{}},i=function(t){return f(t,w)}}t.exports={set:n,get:o,has:i,enforce:m,getterFor:y}},"6b75":function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},"6c59":function(t,e,r){"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},"6d61":function(t,e,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("e330"),a=r("94ca"),c=r("cb2d"),u=r("f183"),s=r("2266"),f=r("19aa"),l=r("1626"),d=r("7234"),p=r("861d"),h=r("d039"),v=r("1c7e"),b=r("d44e"),m=r("7156");t.exports=function(t,e,r){var y=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),w=y?"set":"add",x=o[t],O=x&&x.prototype,S=x,E={},j=function(t){var e=i(O[t]);c(O,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(g&&!p(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return g&&!p(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(g&&!p(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})},C=a(t,!l(x)||!(g||O.forEach&&!h((function(){(new x).entries().next()}))));if(C)S=r.getConstructor(e,t,y,w),u.enable();else if(a(t,!0)){var T=new S,P=T[w](g?{}:-0,1)!==T,_=h((function(){T.has(1)})),A=v((function(t){new x(t)})),R=!g&&h((function(){var t=new x,e=5;while(e--)t[w](e,e);return!t.has(-0)}));A||(S=e((function(t,e){f(t,O);var r=m(new x,t,S);return d(e)||s(e,r[w],{that:r,AS_ENTRIES:y}),r})),S.prototype=O,O.constructor=S),(_||R)&&(j("delete"),j("has"),y&&j("get")),(R||P)&&j(w),g&&O.clear&&delete O.clear}return E[t]=S,n({global:!0,constructor:!0,forced:S!==x},E),b(S,t),g||r.setStrong(S,t,y),S}},"6f19":function(t,e,r){"use strict";var n=r("9112"),o=r("0d26"),i=r("b980"),a=Error.captureStackTrace;t.exports=function(t,e,r,c){i&&(a?a(t,e):n(t,"stack",o(r,c)))}},"6f48":function(t,e,r){"use strict";var n=r("6d61"),o=r("6566");n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},7149:function(t,e,r){"use strict";var n=r("23e7"),o=r("d066"),i=r("c430"),a=r("d256"),c=r("4738").CONSTRUCTOR,u=r("cdf9"),s=o("Promise"),f=i&&!c;n({target:"Promise",stat:!0,forced:i||c},{resolve:function(t){return u(f&&this===s?a:this,t)}})},7156:function(t,e,r){"use strict";var n=r("1626"),o=r("861d"),i=r("d2bb");t.exports=function(t,e,r){var a,c;return i&&n(a=e.constructor)&&a!==r&&o(c=a.prototype)&&c!==r.prototype&&i(t,c),t}},7234:function(t,e,r){"use strict";t.exports=function(t){return null===t||void 0===t}},7282:function(t,e,r){"use strict";var n=r("e330"),o=r("59ed");t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(i){}}},7418:function(t,e,r){"use strict";e.f=Object.getOwnPropertySymbols},7839:function(t,e,r){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(t,e,r){"use strict";var n=r("cc12"),o=n("span").classList,i=o&&o.constructor&&o.constructor.prototype;t.exports=i===Object.prototype?void 0:i},"7a23":function(t,e,r){"use strict";(function(t,n){r.d(e,"a",(function(){return rt}));var o=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},i=(t,e,r)=>(o(t,e,"read from private field"),r?r.call(t):e.get(t)),a=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},c=(t,e,r,n)=>(o(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);const u=["Aztec","Codabar","Code128","Code39","Code93","DataBar","DataBarExpanded","DataMatrix","DXFilmEdge","EAN-13","EAN-8","ITF","Linear-Codes","Matrix-Codes","MaxiCode","MicroQRCode","None","PDF417","QRCode","rMQRCode","UPC-A","UPC-E"];function s(t){return t.join("|")}function f(t){const e=l(t);let r=0,n=u.length-1;for(;r<=n;){const t=Math.floor((r+n)/2),o=u[t],i=l(o);if(i===e)return o;i<e?r=t+1:n=t-1}return"None"}function l(t){return t.toLowerCase().replace(/_-\[\]/g,"")}function d(t,e){return t.Binarizer[e]}function p(t,e){return t.CharacterSet[e]}const h=["Text","Binary","Mixed","GS1","ISO15434","UnknownECI"];function v(t){return h[t.value]}function b(t,e){return t.EanAddOnSymbol[e]}function m(t,e){return t.TextMode[e]}const y={formats:[],tryHarder:!0,tryRotate:!0,tryInvert:!0,tryDownscale:!0,binarizer:"LocalAverage",isPure:!1,downscaleFactor:3,downscaleThreshold:500,minLineCount:2,maxNumberOfSymbols:255,tryCode39ExtendedMode:!1,validateCode39CheckSum:!1,validateITFCheckSum:!1,returnCodabarStartEnd:!1,returnErrors:!1,eanAddOnSymbol:"Read",textMode:"Plain",characterSet:"Unknown"};function g(t,e){return{...e,formats:s(e.formats),binarizer:d(t,e.binarizer),eanAddOnSymbol:b(t,e.eanAddOnSymbol),textMode:m(t,e.textMode),characterSet:p(t,e.characterSet)}}function w(t){return{...t,format:f(t.format),eccLevel:t.eccLevel,contentType:v(t.contentType)}}const x={locateFile:(t,e)=>{const r=t.match(/_(.+?)\.wasm$/);return r?`https://fastly.jsdelivr.net/npm/zxing-wasm@1.2.4/dist/${r[1]}/${t}`:e+t}};let O=new WeakMap;function S(t,e){var r;const n=O.get(t);if(null!=n&&n.modulePromise&&(void 0===e||Object.is(e,n.moduleOverrides)))return n.modulePromise;const o=null!=(r=null!=e?e:null==n?void 0:n.moduleOverrides)?r:x,i=t({...o});return O.set(t,{moduleOverrides:o,modulePromise:i}),i}async function E(t,e,r=y){const n={...y,...r},o=await S(t),{size:i}=e,a=new Uint8Array(await e.arrayBuffer()),c=o._malloc(i);o.HEAPU8.set(a,c);const u=o.readBarcodesFromImage(c,i,g(o,n));o._free(c);const s=[];for(let f=0;f<u.size();++f)s.push(w(u.get(f)));return s}async function j(t,e,r=y){const n={...y,...r},o=await S(t),{data:i,width:a,height:c,data:{byteLength:u}}=e,s=o._malloc(u);o.HEAPU8.set(i,s);const f=o.readBarcodesFromPixmap(s,a,c,g(o,n));o._free(s);const l=[];for(let d=0;d<f.size();++d)l.push(w(f.get(d)));return l}y.formats;var C=(()=>{var e=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(r={}){var o,i,a=r;a.ready=new Promise((t,e)=>{o=t,i=e});var c=Object.assign({},a),u="./this.program",s="object"==typeof window,f=typeof Bun<"u",l="function"==typeof importScripts;"object"==typeof t&&"object"==typeof t.versions&&t.versions.node;var d,p="";function h(t){return a.locateFile?a.locateFile(t,p):p+t}(s||l||f)&&(l?p=self.location.href:typeof document<"u"&&document.currentScript&&(p=document.currentScript.src),e&&(p=e),p=p.startsWith("blob:")?"":p.substr(0,p.replace(/[?#].*/,"").lastIndexOf("/")+1),l&&(d=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}));var v,b=a.print||console.log.bind(console),m=a.printErr||console.error.bind(console);Object.assign(a,c),c=null,a.arguments&&a.arguments,a.thisProgram&&(u=a.thisProgram),a.quit&&a.quit,a.wasmBinary&&(v=a.wasmBinary),"object"!=typeof WebAssembly&&W("no native wasm support detected");var y,g,w,x,O,S,E,j,C,T=!1;function P(){var t=y.buffer;a.HEAP8=g=new Int8Array(t),a.HEAP16=x=new Int16Array(t),a.HEAPU8=w=new Uint8Array(t),a.HEAPU16=O=new Uint16Array(t),a.HEAP32=S=new Int32Array(t),a.HEAPU32=E=new Uint32Array(t),a.HEAPF32=j=new Float32Array(t),a.HEAPF64=C=new Float64Array(t)}var _=[],A=[],R=[];function $(){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)D(a.preRun.shift());X(_)}function k(){X(A)}function I(){if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)L(a.postRun.shift());X(R)}function D(t){_.unshift(t)}function M(t){A.unshift(t)}function L(t){R.unshift(t)}var U=0,F=null;function N(t){var e;U++,null===(e=a.monitorRunDependencies)||void 0===e||e.call(a,U)}function B(t){var e;if(U--,null===(e=a.monitorRunDependencies)||void 0===e||e.call(a,U),0==U&&F){var r=F;F=null,r()}}function W(t){var e;null===(e=a.onAbort)||void 0===e||e.call(a,t),t="Aborted("+t+")",m(t),T=!0,t+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(t);throw i(r),r}var H,z="data:application/octet-stream;base64,",q=t=>t.startsWith(z);function V(t){if(t==H&&v)return new Uint8Array(v);if(d)return d(t);throw"both async and sync fetching of the wasm failed"}function G(t){return!v&&(s||l||f)&&"function"==typeof fetch?fetch(t,{credentials:"same-origin"}).then(e=>{if(!e.ok)throw`failed to load wasm binary file at '${t}'`;return e.arrayBuffer()}).catch(()=>V(t)):Promise.resolve().then(()=>V(t))}function Y(t,e,r){return G(t).then(t=>WebAssembly.instantiate(t,e)).then(r,t=>{m("failed to asynchronously prepare wasm: "+t),W(t)})}function J(t,e,r,n){return t||"function"!=typeof WebAssembly.instantiateStreaming||q(e)||"function"!=typeof fetch?Y(e,r,n):fetch(e,{credentials:"same-origin"}).then(t=>{var o=WebAssembly.instantiateStreaming(t,r);return o.then(n,(function(t){return m("wasm streaming compile failed: "+t),m("falling back to ArrayBuffer instantiation"),Y(e,r,n)}))})}function Q(){var t={a:nn};function e(t,e){return on=t.exports,y=on.ma,P(),he=on.qa,M(on.na),B(),on}function r(t){e(t.instance)}if(N(),a.instantiateWasm)try{return a.instantiateWasm(t,e)}catch(n){m("Module.instantiateWasm callback failed with error: "+n),i(n)}return J(v,H,t,r).catch(i),{}}H="zxing_reader.wasm",q(H)||(H=h(H));var X=t=>{for(;t.length>0;)t.shift()(a)};a.noExitRuntime;var K=[],Z=0,tt=t=>{var e=new nt(t);return e.get_caught()||(e.set_caught(!0),Z--),e.set_rethrown(!1),K.push(e),hn(e.excPtr),e.get_exception_ptr()},et=0,rt=()=>{sn(0,0);var t=K.pop();pn(t.excPtr),et=0};class nt{constructor(t){this.excPtr=t,this.ptr=t-24}set_type(t){E[this.ptr+4>>2]=t}get_type(){return E[this.ptr+4>>2]}set_destructor(t){E[this.ptr+8>>2]=t}get_destructor(){return E[this.ptr+8>>2]}set_caught(t){t=t?1:0,g[this.ptr+12]=t}get_caught(){return 0!=g[this.ptr+12]}set_rethrown(t){t=t?1:0,g[this.ptr+13]=t}get_rethrown(){return 0!=g[this.ptr+13]}init(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e)}set_adjusted_ptr(t){E[this.ptr+16>>2]=t}get_adjusted_ptr(){return E[this.ptr+16>>2]}get_exception_ptr(){var t=bn(this.get_type());if(t)return E[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}var ot=t=>{throw et||(et=t),et},it=t=>{var e=et;if(!e)return fn(0),0;var r=new nt(e);r.set_adjusted_ptr(e);var n=r.get_type();if(!n)return fn(0),e;for(var o in t){var i=t[o];if(0===i||i===n)break;var a=r.ptr+16;if(vn(i,n,a))return fn(i),e}return fn(n),e},at=()=>it([]),ct=t=>it([t]),ut=(t,e)=>it([t,e]),st=()=>{var t=K.pop();t||W("no exception to throw");var e=t.excPtr;throw t.get_rethrown()||(K.push(t),t.set_rethrown(!0),t.set_caught(!1),Z++),et=e,et},ft=(t,e,r)=>{var n=new nt(t);throw n.init(e,r),et=t,Z++,et},lt=()=>Z,dt={},pt=t=>{for(;t.length;){var e=t.pop(),r=t.pop();r(e)}};function ht(t){return this.fromWireType(E[t>>2])}var vt,bt,mt,yt={},gt={},wt={},xt=t=>{throw new vt(t)},Ot=(t,e,r)=>{function n(e){var n=r(e);n.length!==t.length&&xt("Mismatched type converter count");for(var o=0;o<t.length;++o)_t(t[o],n[o])}t.forEach((function(t){wt[t]=e}));var o=new Array(e.length),i=[],a=0;e.forEach((t,e)=>{gt.hasOwnProperty(t)?o[e]=gt[t]:(i.push(t),yt.hasOwnProperty(t)||(yt[t]=[]),yt[t].push(()=>{o[e]=gt[t],++a,a===i.length&&n(o)}))}),0===i.length&&n(o)},St=t=>{var e=dt[t];delete dt[t];var r=e.rawConstructor,n=e.rawDestructor,o=e.fields,i=o.map(t=>t.getterReturnType).concat(o.map(t=>t.setterArgumentType));Ot([t],i,t=>{var i={};return o.forEach((e,r)=>{var n=e.fieldName,a=t[r],c=e.getter,u=e.getterContext,s=t[r+o.length],f=e.setter,l=e.setterContext;i[n]={read:t=>a.fromWireType(c(u,t)),write:(t,e)=>{var r=[];f(l,t,s.toWireType(r,e)),pt(r)}}}),[{name:e.name,fromWireType:t=>{var e={};for(var r in i)e[r]=i[r].read(t);return n(t),e},toWireType:(t,e)=>{for(var o in i)if(!(o in e))throw new TypeError(`Missing field: "${o}"`);var a=r();for(o in i)i[o].write(a,e[o]);return null!==t&&t.push(n,a),a},argPackAdvance:Rt,readValueFromPointer:ht,destructorFunction:n}]})},Et=(t,e,r,n,o)=>{},jt=()=>{for(var t=new Array(256),e=0;e<256;++e)t[e]=String.fromCharCode(e);bt=t},Ct=t=>{for(var e="",r=t;w[r];)e+=bt[w[r++]];return e},Tt=t=>{throw new mt(t)};function Pt(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n=e.name;if(t||Tt(`type "${n}" must have a positive integer typeid pointer`),gt.hasOwnProperty(t)){if(r.ignoreDuplicateRegistrations)return;Tt(`Cannot register type '${n}' twice`)}if(gt[t]=e,delete wt[t],yt.hasOwnProperty(t)){var o=yt[t];delete yt[t],o.forEach(t=>t())}}function _t(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");return Pt(t,e,r)}var At,Rt=8,$t=(t,e,r,n)=>{e=Ct(e),_t(t,{name:e,fromWireType:function(t){return!!t},toWireType:function(t,e){return e?r:n},argPackAdvance:Rt,readValueFromPointer:function(t){return this.fromWireType(w[t])},destructorFunction:null})},kt=t=>({count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType}),It=t=>{function e(t){return t.$$.ptrType.registeredClass.name}Tt(e(t)+" instance already deleted")},Dt=!1,Mt=t=>{},Lt=t=>{t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)},Ut=t=>{t.count.value-=1;var e=0===t.count.value;e&&Lt(t)},Ft=(t,e,r)=>{if(e===r)return t;if(void 0===r.baseClass)return null;var n=Ft(t,e,r.baseClass);return null===n?null:r.downcast(n)},Nt={},Bt=()=>Object.keys(Gt).length,Wt=()=>{var t=[];for(var e in Gt)Gt.hasOwnProperty(e)&&t.push(Gt[e]);return t},Ht=[],zt=()=>{for(;Ht.length;){var t=Ht.pop();t.$$.deleteScheduled=!1,t.delete()}},qt=t=>{At=t,Ht.length&&At&&At(zt)},Vt=()=>{a.getInheritedInstanceCount=Bt,a.getLiveInheritedInstances=Wt,a.flushPendingDeletes=zt,a.setDelayFunction=qt},Gt={},Yt=(t,e)=>{for(void 0===e&&Tt("ptr should not be undefined");t.baseClass;)e=t.upcast(e),t=t.baseClass;return e},Jt=(t,e)=>(e=Yt(t,e),Gt[e]),Qt=(t,e)=>{(!e.ptrType||!e.ptr)&&xt("makeClassHandle requires ptr and ptrType");var r=!!e.smartPtrType,n=!!e.smartPtr;return r!==n&&xt("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Kt(Object.create(t,{$$:{value:e,writable:!0}}))};function Xt(t){var e=this.getPointee(t);if(!e)return this.destructor(t),null;var r=Jt(this.registeredClass,e);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=e,r.$$.smartPtr=t,r.clone();var n=r.clone();return this.destructor(t),n}function o(){return this.isSmartPointer?Qt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:e,smartPtrType:this,smartPtr:t}):Qt(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var i,a=this.registeredClass.getActualType(e),c=Nt[a];if(!c)return o.call(this);i=this.isConst?c.constPointerType:c.pointerType;var u=Ft(e,this.registeredClass,i.registeredClass);return null===u?o.call(this):this.isSmartPointer?Qt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u,smartPtrType:this,smartPtr:t}):Qt(i.registeredClass.instancePrototype,{ptrType:i,ptr:u})}var Kt=t=>typeof FinalizationRegistry>"u"?(Kt=t=>t,t):(Dt=new FinalizationRegistry(t=>{Ut(t.$$)}),Kt=t=>{var e=t.$$,r=!!e.smartPtr;if(r){var n={$$:e};Dt.register(t,n,t)}return t},Mt=t=>Dt.unregister(t),Kt(t)),Zt=()=>{Object.assign(te.prototype,{isAliasOf(t){if(!(this instanceof te)||!(t instanceof te))return!1;var e=this.$$.ptrType.registeredClass,r=this.$$.ptr;t.$$=t.$$;for(var n=t.$$.ptrType.registeredClass,o=t.$$.ptr;e.baseClass;)r=e.upcast(r),e=e.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return e===n&&r===o},clone(){if(this.$$.ptr||It(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t=Kt(Object.create(Object.getPrototypeOf(this),{$$:{value:kt(this.$$)}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t},delete(){this.$$.ptr||It(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Tt("Object already scheduled for deletion"),Mt(this),Ut(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||It(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Tt("Object already scheduled for deletion"),Ht.push(this),1===Ht.length&&At&&At(zt),this.$$.deleteScheduled=!0,this}})};function te(){}var ee=(t,e)=>Object.defineProperty(e,"name",{value:t}),re=(t,e,r)=>{if(void 0===t[e].overloadTable){var n=t[e];t[e]=function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return t[e].overloadTable.hasOwnProperty(o.length)||Tt(`Function '${r}' called with an invalid number of arguments (${o.length}) - expects one of (${t[e].overloadTable})!`),t[e].overloadTable[o.length].apply(this,o)},t[e].overloadTable=[],t[e].overloadTable[n.argCount]=n}},ne=(t,e,r)=>{a.hasOwnProperty(t)?((void 0===r||void 0!==a[t].overloadTable&&void 0!==a[t].overloadTable[r])&&Tt(`Cannot register public name '${t}' twice`),re(a,t,t),a.hasOwnProperty(r)&&Tt(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`),a[t].overloadTable[r]=e):(a[t]=e,void 0!==r&&(a[t].numArguments=r))},oe=48,ie=57,ae=t=>{if(void 0===t)return"_unknown";t=t.replace(/[^a-zA-Z0-9_]/g,"$");var e=t.charCodeAt(0);return e>=oe&&e<=ie?"_"+t:t};function ce(t,e,r,n,o,i,a,c){this.name=t,this.constructor=e,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=c,this.pureVirtualFunctions=[]}var ue=(t,e,r)=>{for(;e!==r;)e.upcast||Tt(`Expected null or instance of ${r.name}, got an instance of ${e.name}`),t=e.upcast(t),e=e.baseClass;return t};function se(t,e){if(null===e)return this.isReference&&Tt("null is not a valid "+this.name),0;e.$$||Tt(`Cannot pass "${qe(e)}" as a ${this.name}`),e.$$.ptr||Tt("Cannot pass deleted object as a pointer of type "+this.name);var r=e.$$.ptrType.registeredClass,n=ue(e.$$.ptr,r,this.registeredClass);return n}function fe(t,e){var r;if(null===e)return this.isReference&&Tt("null is not a valid "+this.name),this.isSmartPointer?(r=this.rawConstructor(),null!==t&&t.push(this.rawDestructor,r),r):0;(!e||!e.$$)&&Tt(`Cannot pass "${qe(e)}" as a ${this.name}`),e.$$.ptr||Tt("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&e.$$.ptrType.isConst&&Tt(`Cannot convert argument of type ${e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name} to parameter type ${this.name}`);var n=e.$$.ptrType.registeredClass;if(r=ue(e.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===e.$$.smartPtr&&Tt("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:e.$$.smartPtrType===this?r=e.$$.smartPtr:Tt(`Cannot convert argument of type ${e.$$.smartPtrType?e.$$.smartPtrType.name:e.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=e.$$.smartPtr;break;case 2:if(e.$$.smartPtrType===this)r=e.$$.smartPtr;else{var o=e.clone();r=this.rawShare(r,Ue.toHandle(()=>o.delete())),null!==t&&t.push(this.rawDestructor,r)}break;default:Tt("Unsupporting sharing policy")}return r}function le(t,e){if(null===e)return this.isReference&&Tt("null is not a valid "+this.name),0;e.$$||Tt(`Cannot pass "${qe(e)}" as a ${this.name}`),e.$$.ptr||Tt("Cannot pass deleted object as a pointer of type "+this.name),e.$$.ptrType.isConst&&Tt(`Cannot convert argument of type ${e.$$.ptrType.name} to parameter type ${this.name}`);var r=e.$$.ptrType.registeredClass,n=ue(e.$$.ptr,r,this.registeredClass);return n}var de=()=>{Object.assign(pe.prototype,{getPointee(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t},destructor(t){var e;null===(e=this.rawDestructor)||void 0===e||e.call(this,t)},argPackAdvance:Rt,readValueFromPointer:ht,fromWireType:Xt})};function pe(t,e,r,n,o,i,a,c,u,s,f){this.name=t,this.registeredClass=e,this.isReference=r,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=c,this.rawConstructor=u,this.rawShare=s,this.rawDestructor=f,o||void 0!==e.baseClass?this.toWireType=fe:n?(this.toWireType=se,this.destructorFunction=null):(this.toWireType=le,this.destructorFunction=null)}var he,ve,be=(t,e,r)=>{a.hasOwnProperty(t)||xt("Replacing nonexistant public symbol"),void 0!==a[t].overloadTable&&void 0!==r?a[t].overloadTable[r]=e:(a[t]=e,a[t].argCount=r)},me=(t,e,r)=>{var n=a["dynCall_"+t];return n(e,...r)},ye=[],ge=t=>{var e=ye[t];return e||(t>=ye.length&&(ye.length=t+1),ye[t]=e=he.get(t)),e},we=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(t.includes("j"))return me(t,e,r);var n=ge(e)(...r);return n},xe=(t,e)=>function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return we(t,e,n)},Oe=(t,e)=>{function r(){return t.includes("j")?xe(t,e):ge(e)}t=Ct(t);var n=r();return"function"!=typeof n&&Tt(`unknown function pointer with signature ${t}: ${e}`),n},Se=(t,e)=>{var r=ee(e,(function(t){this.name=e,this.message=t;var r=new Error(t).stack;void 0!==r&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},r},Ee=t=>{var e=un(t),r=Ct(e);return an(e),r},je=(t,e)=>{var r=[],n={};function o(t){if(!n[t]&&!gt[t]){if(wt[t])return void wt[t].forEach(o);r.push(t),n[t]=!0}}throw e.forEach(o),new ve(t+": "+r.map(Ee).join([", "]))},Ce=(t,e,r,n,o,i,a,c,u,s,f,l,d)=>{f=Ct(f),i=Oe(o,i),c&&(c=Oe(a,c)),s&&(s=Oe(u,s)),d=Oe(l,d);var p=ae(f);ne(p,(function(){je(`Cannot construct ${f} due to unbound types`,[n])})),Ot([t,e,r],n?[n]:[],e=>{var r,o;e=e[0],n?(r=e.registeredClass,o=r.instancePrototype):o=te.prototype;var a=ee(f,(function(){if(Object.getPrototypeOf(this)!==u)throw new mt("Use 'new' to construct "+f);if(void 0===v.constructor_body)throw new mt(f+" has no accessible constructor");for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=v.constructor_body[e.length];if(void 0===n)throw new mt(`Tried to invoke ctor of ${f} with invalid number of parameters (${e.length}) - expected (${Object.keys(v.constructor_body).toString()}) parameters instead!`);return n.apply(this,e)})),u=Object.create(o,{constructor:{value:a}});a.prototype=u;var l,h,v=new ce(f,a,u,d,r,i,c,s);v.baseClass&&(null!==(h=(l=v.baseClass).__derivedClasses)&&void 0!==h||(l.__derivedClasses=[]),v.baseClass.__derivedClasses.push(v));var b=new pe(f,v,!0,!1,!1),m=new pe(f+"*",v,!1,!1,!1),y=new pe(f+" const*",v,!1,!0,!1);return Nt[t]={pointerType:m,constPointerType:y},be(p,a),[b,m,y]})},Te=(t,e)=>{for(var r=[],n=0;n<t;n++)r.push(E[e+4*n>>2]);return r};function Pe(t){for(var e=1;e<t.length;++e)if(null!==t[e]&&void 0===t[e].destructorFunction)return!0;return!1}function _e(t,e,r,n,o,i){var a=e.length;a<2&&Tt("argTypes array size mismatch! Must at least get return value and 'this' types!");var c=null!==e[1]&&null!==r,u=Pe(e),s="void"!==e[0].name,f=a-2,l=new Array(f),d=[],p=[],h=function(){var r;arguments.length!==f&&Tt(`function ${t} called with ${arguments.length} arguments, expected ${f}`),p.length=0,d.length=c?2:1,d[0]=o,c&&(r=e[1].toWireType(p,this),d[1]=r);for(var i=0;i<f;++i)l[i]=e[i+2].toWireType(p,i<0||arguments.length<=i?void 0:arguments[i]),d.push(l[i]);var a=n(...d);function h(t){if(u)pt(p);else for(var n=c?1:2;n<e.length;n++){var o=1===n?r:l[n-2];null!==e[n].destructorFunction&&e[n].destructorFunction(o)}if(s)return e[0].fromWireType(t)}return h(a)};return ee(t,h)}var Ae=(t,e,r,n,o,i)=>{var a=Te(e,r);o=Oe(n,o),Ot([],[t],t=>{t=t[0];var r="constructor "+t.name;if(void 0===t.registeredClass.constructor_body&&(t.registeredClass.constructor_body=[]),void 0!==t.registeredClass.constructor_body[e-1])throw new mt(`Cannot register multiple constructors with identical number of parameters (${e-1}) for class '${t.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return t.registeredClass.constructor_body[e-1]=()=>{je(`Cannot construct ${t.name} due to unbound types`,a)},Ot([],a,n=>(n.splice(1,0,null),t.registeredClass.constructor_body[e-1]=_e(r,n,null,o,i),[])),[]})},Re=t=>{t=t.trim();const e=t.indexOf("(");return-1!==e?t.substr(0,e):t},$e=(t,e,r,n,o,i,a,c,u)=>{var s=Te(r,n);e=Ct(e),e=Re(e),i=Oe(o,i),Ot([],[t],t=>{t=t[0];var n=`${t.name}.${e}`;function o(){je(`Cannot call ${n} due to unbound types`,s)}e.startsWith("@@")&&(e=Symbol[e.substring(2)]),c&&t.registeredClass.pureVirtualFunctions.push(e);var u=t.registeredClass.instancePrototype,f=u[e];return void 0===f||void 0===f.overloadTable&&f.className!==t.name&&f.argCount===r-2?(o.argCount=r-2,o.className=t.name,u[e]=o):(re(u,e,n),u[e].overloadTable[r-2]=o),Ot([],s,o=>{var c=_e(n,o,t,i,a);return void 0===u[e].overloadTable?(c.argCount=r-2,u[e]=c):u[e].overloadTable[r-2]=c,[]}),[]})},ke=[],Ie=[],De=t=>{t>9&&0===--Ie[t+1]&&(Ie[t]=void 0,ke.push(t))},Me=()=>Ie.length/2-5-ke.length,Le=()=>{Ie.push(0,1,void 0,1,null,1,!0,1,!1,1),a.count_emval_handles=Me},Ue={toValue:t=>(t||Tt("Cannot use deleted val. handle = "+t),Ie[t]),toHandle:t=>{switch(t){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=ke.pop()||Ie.length;return Ie[e]=t,Ie[e+1]=1,e}}}},Fe={name:"emscripten::val",fromWireType:t=>{var e=Ue.toValue(t);return De(t),e},toWireType:(t,e)=>Ue.toHandle(e),argPackAdvance:Rt,readValueFromPointer:ht,destructorFunction:null},Ne=t=>_t(t,Fe),Be=(t,e,r)=>{switch(e){case 1:return r?function(t){return this.fromWireType(g[t])}:function(t){return this.fromWireType(w[t])};case 2:return r?function(t){return this.fromWireType(x[t>>1])}:function(t){return this.fromWireType(O[t>>1])};case 4:return r?function(t){return this.fromWireType(S[t>>2])}:function(t){return this.fromWireType(E[t>>2])};default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},We=(t,e,r,n)=>{function o(){}e=Ct(e),o.values={},_t(t,{name:e,constructor:o,fromWireType:function(t){return this.constructor.values[t]},toWireType:(t,e)=>e.value,argPackAdvance:Rt,readValueFromPointer:Be(e,r,n),destructorFunction:null}),ne(e,o)},He=(t,e)=>{var r=gt[t];return void 0===r&&Tt(`${e} has unknown type ${Ee(t)}`),r},ze=(t,e,r)=>{var n=He(t,"enum");e=Ct(e);var o=n.constructor,i=Object.create(n.constructor.prototype,{value:{value:r},constructor:{value:ee(`${n.name}_${e}`,(function(){}))}});o.values[r]=i,o[e]=i},qe=t=>{if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t},Ve=(t,e)=>{switch(e){case 4:return function(t){return this.fromWireType(j[t>>2])};case 8:return function(t){return this.fromWireType(C[t>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},Ge=(t,e,r)=>{e=Ct(e),_t(t,{name:e,fromWireType:t=>t,toWireType:(t,e)=>e,argPackAdvance:Rt,readValueFromPointer:Ve(e,r),destructorFunction:null})},Ye=(t,e,r,n,o,i,a)=>{var c=Te(e,r);t=Ct(t),t=Re(t),o=Oe(n,o),ne(t,(function(){je(`Cannot call ${t} due to unbound types`,c)}),e-1),Ot([],c,r=>{var n=[r[0],null].concat(r.slice(1));return be(t,_e(t,n,null,o,i),e-1),[]})},Je=(t,e,r)=>{switch(e){case 1:return r?t=>g[t]:t=>w[t];case 2:return r?t=>x[t>>1]:t=>O[t>>1];case 4:return r?t=>S[t>>2]:t=>E[t>>2];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},Qe=(t,e,r,n,o)=>{e=Ct(e);var i=t=>t;if(0===n){var a=32-8*r;i=t=>t<<a>>>a}var c,u=e.includes("unsigned"),s=(t,e)=>{};c=u?function(t,e){return s(e,this.name),e>>>0}:function(t,e){return s(e,this.name),e},_t(t,{name:e,fromWireType:i,toWireType:c,argPackAdvance:Rt,readValueFromPointer:Je(e,r,0!==n),destructorFunction:null})},Xe=(t,e,r)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],o=n[e];function i(t){var e=E[t>>2],r=E[t+4>>2];return new o(g.buffer,r,e)}r=Ct(r),_t(t,{name:r,fromWireType:i,argPackAdvance:Rt,readValueFromPointer:i},{ignoreDuplicateRegistrations:!0})},Ke=(t,e)=>{Ne(t)},Ze=(t,e,r,n)=>{if(!(n>0))return 0;for(var o=r,i=r+n-1,a=0;a<t.length;++a){var c=t.charCodeAt(a);if(c>=55296&&c<=57343){var u=t.charCodeAt(++a);c=65536+((1023&c)<<10)|1023&u}if(c<=127){if(r>=i)break;e[r++]=c}else if(c<=2047){if(r+1>=i)break;e[r++]=192|c>>6,e[r++]=128|63&c}else if(c<=65535){if(r+2>=i)break;e[r++]=224|c>>12,e[r++]=128|c>>6&63,e[r++]=128|63&c}else{if(r+3>=i)break;e[r++]=240|c>>18,e[r++]=128|c>>12&63,e[r++]=128|c>>6&63,e[r++]=128|63&c}}return e[r]=0,r-o},tr=(t,e,r)=>Ze(t,w,e,r),er=t=>{for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++r):e+=3}return e},rr=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,nr=(t,e,r)=>{for(var n=e+r,o=e;t[o]&&!(o>=n);)++o;if(o-e>16&&t.buffer&&rr)return rr.decode(t.subarray(e,o));for(var i="";e<o;){var a=t[e++];if(128&a){var c=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if(a=224==(240&a)?(15&a)<<12|c<<6|u:(7&a)<<18|c<<12|u<<6|63&t[e++],a<65536)i+=String.fromCharCode(a);else{var s=a-65536;i+=String.fromCharCode(55296|s>>10,56320|1023&s)}}else i+=String.fromCharCode((31&a)<<6|c)}else i+=String.fromCharCode(a)}return i},or=(t,e)=>t?nr(w,t,e):"",ir=(t,e)=>{e=Ct(e);var r="std::string"===e;_t(t,{name:e,fromWireType(t){var e,n=E[t>>2],o=t+4;if(r)for(var i=o,a=0;a<=n;++a){var c=o+a;if(a==n||0==w[c]){var u=c-i,s=or(i,u);void 0===e?e=s:(e+="\0",e+=s),i=c+1}}else{var f=new Array(n);for(a=0;a<n;++a)f[a]=String.fromCharCode(w[o+a]);e=f.join("")}return an(t),e},toWireType(t,e){e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n,o="string"==typeof e;o||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||Tt("Cannot pass non-string to std::string"),n=r&&o?er(e):e.length;var i=cn(4+n+1),a=i+4;if(E[i>>2]=n,r&&o)tr(e,a,n+1);else if(o)for(var c=0;c<n;++c){var u=e.charCodeAt(c);u>255&&(an(a),Tt("String has UTF-16 code units that do not fit in 8 bits")),w[a+c]=u}else for(c=0;c<n;++c)w[a+c]=e[c];return null!==t&&t.push(an,i),i},argPackAdvance:Rt,readValueFromPointer:ht,destructorFunction(t){an(t)}})},ar=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,cr=(t,e)=>{for(var r=t,n=r>>1,o=n+e/2;!(n>=o)&&O[n];)++n;if(r=n<<1,r-t>32&&ar)return ar.decode(w.subarray(t,r));for(var i="",a=0;!(a>=e/2);++a){var c=x[t+2*a>>1];if(0==c)break;i+=String.fromCharCode(c)}return i},ur=(t,e,r)=>{var n;if(null!==(n=r)&&void 0!==n||(r=2147483647),r<2)return 0;r-=2;for(var o=e,i=r<2*t.length?r/2:t.length,a=0;a<i;++a){var c=t.charCodeAt(a);x[e>>1]=c,e+=2}return x[e>>1]=0,e-o},sr=t=>2*t.length,fr=(t,e)=>{for(var r=0,n="";!(r>=e/4);){var o=S[t+4*r>>2];if(0==o)break;if(++r,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n},lr=(t,e,r)=>{var n;if(null!==(n=r)&&void 0!==n||(r=2147483647),r<4)return 0;for(var o=e,i=o+r-4,a=0;a<t.length;++a){var c=t.charCodeAt(a);if(c>=55296&&c<=57343){var u=t.charCodeAt(++a);c=65536+((1023&c)<<10)|1023&u}if(S[e>>2]=c,e+=4,e+4>i)break}return S[e>>2]=0,e-o},dr=t=>{for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&++r,e+=4}return e},pr=(t,e,r)=>{var n,o,i,a;r=Ct(r),2===e?(n=cr,o=ur,a=sr,i=t=>O[t>>1]):4===e&&(n=fr,o=lr,a=dr,i=t=>E[t>>2]),_t(t,{name:r,fromWireType:t=>{for(var r,o=E[t>>2],a=t+4,c=0;c<=o;++c){var u=t+4+c*e;if(c==o||0==i(u)){var s=u-a,f=n(a,s);void 0===r?r=f:(r+="\0",r+=f),a=u+e}}return an(t),r},toWireType:(t,n)=>{"string"!=typeof n&&Tt("Cannot pass non-string to C++ string type "+r);var i=a(n),c=cn(4+i+e);return E[c>>2]=i/e,o(n,c+4,i+e),null!==t&&t.push(an,c),c},argPackAdvance:Rt,readValueFromPointer:ht,destructorFunction(t){an(t)}})},hr=(t,e,r,n,o,i)=>{dt[t]={name:Ct(e),rawConstructor:Oe(r,n),rawDestructor:Oe(o,i),fields:[]}},vr=(t,e,r,n,o,i,a,c,u,s)=>{dt[t].fields.push({fieldName:Ct(e),getterReturnType:r,getter:Oe(n,o),getterContext:i,setterArgumentType:a,setter:Oe(c,u),setterContext:s})},br=(t,e)=>{e=Ct(e),_t(t,{isVoid:!0,name:e,argPackAdvance:0,fromWireType:()=>{},toWireType:(t,e)=>{}})},mr=[],yr=(t,e,r,n)=>(t=mr[t],e=Ue.toValue(e),t(null,e,r,n)),gr={},wr=t=>{var e=gr[t];return void 0===e?Ct(t):e},xr=()=>{if("object"==typeof globalThis)return globalThis;function t(t){t.$$$embind_global$$$=t;var e="object"==typeof $$$embind_global$$$&&t.$$$embind_global$$$==t;return e||delete t.$$$embind_global$$$,e}if("object"==typeof $$$embind_global$$$||("object"==typeof n&&t(n)?$$$embind_global$$$=n:"object"==typeof self&&t(self)&&($$$embind_global$$$=self),"object"==typeof $$$embind_global$$$))return $$$embind_global$$$;throw Error("unable to get global object.")},Or=t=>0===t?Ue.toHandle(xr()):(t=wr(t),Ue.toHandle(xr()[t])),Sr=t=>{var e=mr.length;return mr.push(t),e},Er=(t,e)=>{for(var r=new Array(t),n=0;n<t;++n)r[n]=He(E[e+4*n>>2],"parameter "+n);return r},jr=Reflect.construct,Cr=(t,e,r)=>{var n=[],o=t.toWireType(n,r);return n.length&&(E[e>>2]=Ue.toHandle(n)),o},Tr=(t,e,r)=>{var n=Er(t,e),o=n.shift();t--;var i=new Array(t),a=(e,a,c,u)=>{for(var s=0,f=0;f<t;++f)i[f]=n[f].readValueFromPointer(u+s),s+=n[f].argPackAdvance;var l=1===r?jr(a,i):a.apply(e,i);return Cr(o,c,l)},c=`methodCaller<(${n.map(t=>t.name).join(", ")}) => ${o.name}>`;return Sr(ee(c,a))},Pr=t=>{t>9&&(Ie[t+1]+=1)},_r=t=>{var e=Ue.toValue(t);pt(e),De(t)},Ar=(t,e)=>{t=He(t,"_emval_take_value");var r=t.readValueFromPointer(e);return Ue.toHandle(r)},Rr=()=>{W("")},$r=(t,e,r)=>w.copyWithin(t,e,e+r),kr=()=>2147483648,Ir=t=>{var e=y.buffer,r=(t-e.byteLength+65535)/65536;try{return y.grow(r),P(),1}catch{}},Dr=t=>{var e=w.length;t>>>=0;var r=kr();if(t>r)return!1;for(var n=(t,e)=>t+(e-t%e)%e,o=1;o<=4;o*=2){var i=e*(1+.2/o);i=Math.min(i,t+100663296);var a=Math.min(r,n(Math.max(t,i),65536)),c=Ir(a);if(c)return!0}return!1},Mr={},Lr=()=>u||"./this.program",Ur=()=>{if(!Ur.strings){var t=("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:t,_:Lr()};for(var r in Mr)void 0===Mr[r]?delete e[r]:e[r]=Mr[r];var n=[];for(var r in e)n.push(`${r}=${e[r]}`);Ur.strings=n}return Ur.strings},Fr=(t,e)=>{for(var r=0;r<t.length;++r)g[e++]=t.charCodeAt(r);g[e]=0},Nr=(t,e)=>{var r=0;return Ur().forEach((n,o)=>{var i=e+r;E[t+4*o>>2]=i,Fr(n,i),r+=n.length+1}),0},Br=(t,e)=>{var r=Ur();E[t>>2]=r.length;var n=0;return r.forEach(t=>n+=t.length+1),E[e>>2]=n,0},Wr=t=>52;function Hr(t,e,r,n,o){return 70}var zr=[null,[],[]],qr=(t,e)=>{var r=zr[t];0===e||10===e?((1===t?b:m)(nr(r,0)),r.length=0):r.push(e)},Vr=(t,e,r,n)=>{for(var o=0,i=0;i<r;i++){var a=E[e>>2],c=E[e+4>>2];e+=8;for(var u=0;u<c;u++)qr(t,w[a+u]);o+=c}return E[n>>2]=o,0},Gr=t=>t,Yr=t=>t%4===0&&(t%100!==0||t%400===0),Jr=(t,e)=>{for(var r=0,n=0;n<=e;r+=t[n++]);return r},Qr=[31,29,31,30,31,30,31,31,30,31,30,31],Xr=[31,28,31,30,31,30,31,31,30,31,30,31],Kr=(t,e)=>{for(var r=new Date(t.getTime());e>0;){var n=Yr(r.getFullYear()),o=r.getMonth(),i=(n?Qr:Xr)[o];if(!(e>i-r.getDate()))return r.setDate(r.getDate()+e),r;e-=i-r.getDate()+1,r.setDate(1),o<11?r.setMonth(o+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r};function Zr(t,e,r){var n=r>0?r:er(t)+1,o=new Array(n),i=Ze(t,o,0,o.length);return e&&(o.length=i),o}var tn=(t,e)=>{g.set(t,e)},en=(t,e,r,n)=>{var o=E[n+40>>2],i={tm_sec:S[n>>2],tm_min:S[n+4>>2],tm_hour:S[n+8>>2],tm_mday:S[n+12>>2],tm_mon:S[n+16>>2],tm_year:S[n+20>>2],tm_wday:S[n+24>>2],tm_yday:S[n+28>>2],tm_isdst:S[n+32>>2],tm_gmtoff:S[n+36>>2],tm_zone:o?or(o):""},a=or(r),c={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var u in c)a=a.replace(new RegExp(u,"g"),c[u]);var s=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],f=["January","February","March","April","May","June","July","August","September","October","November","December"];function l(t,e,r){for(var n="number"==typeof t?t.toString():t||"";n.length<e;)n=r[0]+n;return n}function d(t,e){return l(t,e,"0")}function p(t,e){function r(t){return t<0?-1:t>0?1:0}var n;return 0===(n=r(t.getFullYear()-e.getFullYear()))&&0===(n=r(t.getMonth()-e.getMonth()))&&(n=r(t.getDate()-e.getDate())),n}function h(t){switch(t.getDay()){case 0:return new Date(t.getFullYear()-1,11,29);case 1:return t;case 2:return new Date(t.getFullYear(),0,3);case 3:return new Date(t.getFullYear(),0,2);case 4:return new Date(t.getFullYear(),0,1);case 5:return new Date(t.getFullYear()-1,11,31);case 6:return new Date(t.getFullYear()-1,11,30)}}function v(t){var e=Kr(new Date(t.tm_year+1900,0,1),t.tm_yday),r=new Date(e.getFullYear(),0,4),n=new Date(e.getFullYear()+1,0,4),o=h(r),i=h(n);return p(o,e)<=0?p(i,e)<=0?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var b={"%a":t=>s[t.tm_wday].substring(0,3),"%A":t=>s[t.tm_wday],"%b":t=>f[t.tm_mon].substring(0,3),"%B":t=>f[t.tm_mon],"%C":t=>{var e=t.tm_year+1900;return d(e/100|0,2)},"%d":t=>d(t.tm_mday,2),"%e":t=>l(t.tm_mday,2," "),"%g":t=>v(t).toString().substring(2),"%G":v,"%H":t=>d(t.tm_hour,2),"%I":t=>{var e=t.tm_hour;return 0==e?e=12:e>12&&(e-=12),d(e,2)},"%j":t=>d(t.tm_mday+Jr(Yr(t.tm_year+1900)?Qr:Xr,t.tm_mon-1),3),"%m":t=>d(t.tm_mon+1,2),"%M":t=>d(t.tm_min,2),"%n":()=>"\n","%p":t=>t.tm_hour>=0&&t.tm_hour<12?"AM":"PM","%S":t=>d(t.tm_sec,2),"%t":()=>"\t","%u":t=>t.tm_wday||7,"%U":t=>{var e=t.tm_yday+7-t.tm_wday;return d(Math.floor(e/7),2)},"%V":t=>{var e=Math.floor((t.tm_yday+7-(t.tm_wday+6)%7)/7);if((t.tm_wday+371-t.tm_yday-2)%7<=2&&e++,e){if(53==e){var r=(t.tm_wday+371-t.tm_yday)%7;4!=r&&(3!=r||!Yr(t.tm_year))&&(e=1)}}else{e=52;var n=(t.tm_wday+7-t.tm_yday-1)%7;(4==n||5==n&&Yr(t.tm_year%400-1))&&e++}return d(e,2)},"%w":t=>t.tm_wday,"%W":t=>{var e=t.tm_yday+7-(t.tm_wday+6)%7;return d(Math.floor(e/7),2)},"%y":t=>(t.tm_year+1900).toString().substring(2),"%Y":t=>t.tm_year+1900,"%z":t=>{var e=t.tm_gmtoff,r=e>=0;return e=Math.abs(e)/60,e=e/60*100+e%60,(r?"+":"-")+("0000"+e).slice(-4)},"%Z":t=>t.tm_zone,"%%":()=>"%"};for(var u in a=a.replace(/%%/g,"\0\0"),b)a.includes(u)&&(a=a.replace(new RegExp(u,"g"),b[u](i)));a=a.replace(/\0\0/g,"%");var m=Zr(a,!1);return m.length>e?0:(tn(m,t),m.length-1)},rn=(t,e,r,n,o)=>en(t,e,r,n);vt=a.InternalError=class extends Error{constructor(t){super(t),this.name="InternalError"}},jt(),mt=a.BindingError=class extends Error{constructor(t){super(t),this.name="BindingError"}},Zt(),Vt(),de(),ve=a.UnboundTypeError=Se(Error,"UnboundTypeError"),Le();var nn={s:tt,u:rt,b:at,g:ct,q:ut,K:st,f:ft,Y:lt,d:ot,ha:St,U:Et,ba:$t,fa:Ce,ea:Ae,w:$e,aa:Ne,x:We,h:ze,O:Ge,P:Ye,t:Qe,o:Xe,ga:Ke,N:ir,C:pr,A:hr,ia:vr,ca:br,E:yr,ka:De,la:Or,M:Tr,Q:Pr,R:_r,da:Ar,B:Rr,$:$r,Z:Dr,W:Nr,X:Br,_:Wr,T:Hr,L:Vr,F:In,D:Sn,G:kn,m:Dn,a:gn,e:jn,p:On,k:$n,I:An,v:Pn,H:Rn,z:Ln,S:Fn,l:Cn,j:En,c:xn,n:wn,J:_n,r:Mn,i:Tn,y:Un,ja:Gr,V:rn},on=Q(),an=a._free=t=>(an=a._free=on.oa)(t),cn=a._malloc=t=>(cn=a._malloc=on.pa)(t),un=t=>(un=on.ra)(t),sn=(t,e)=>(sn=on.sa)(t,e),fn=t=>(fn=on.ta)(t),ln=()=>(ln=on.ua)(),dn=t=>(dn=on.va)(t),pn=t=>(pn=on.wa)(t),hn=t=>(hn=on.xa)(t),vn=(t,e,r)=>(vn=on.ya)(t,e,r),bn=t=>(bn=on.za)(t);a.dynCall_viijii=(t,e,r,n,o,i,c)=>(a.dynCall_viijii=on.Aa)(t,e,r,n,o,i,c),a.dynCall_jiji=(t,e,r,n,o)=>(a.dynCall_jiji=on.Ba)(t,e,r,n,o);var mn,yn=a.dynCall_jiiii=(t,e,r,n,o)=>(yn=a.dynCall_jiiii=on.Ca)(t,e,r,n,o);function gn(t,e){var r=ln();try{return ge(t)(e)}catch(n){if(dn(r),n!==n+0)throw n;sn(1,0)}}function wn(t,e,r,n){var o=ln();try{ge(t)(e,r,n)}catch(i){if(dn(o),i!==i+0)throw i;sn(1,0)}}function xn(t,e,r){var n=ln();try{ge(t)(e,r)}catch(o){if(dn(n),o!==o+0)throw o;sn(1,0)}}function On(t,e,r,n){var o=ln();try{return ge(t)(e,r,n)}catch(i){if(dn(o),i!==i+0)throw i;sn(1,0)}}function Sn(t,e,r,n,o){var i=ln();try{return ge(t)(e,r,n,o)}catch(a){if(dn(i),a!==a+0)throw a;sn(1,0)}}function En(t,e){var r=ln();try{ge(t)(e)}catch(n){if(dn(r),n!==n+0)throw n;sn(1,0)}}function jn(t,e,r){var n=ln();try{return ge(t)(e,r)}catch(o){if(dn(n),o!==o+0)throw o;sn(1,0)}}function Cn(t){var e=ln();try{ge(t)()}catch(r){if(dn(e),r!==r+0)throw r;sn(1,0)}}function Tn(t,e,r,n,o,i,a,c,u,s,f){var l=ln();try{ge(t)(e,r,n,o,i,a,c,u,s,f)}catch(d){if(dn(l),d!==d+0)throw d;sn(1,0)}}function Pn(t,e,r,n,o,i,a){var c=ln();try{return ge(t)(e,r,n,o,i,a)}catch(u){if(dn(c),u!==u+0)throw u;sn(1,0)}}function _n(t,e,r,n,o){var i=ln();try{ge(t)(e,r,n,o)}catch(a){if(dn(i),a!==a+0)throw a;sn(1,0)}}function An(t,e,r,n,o,i){var a=ln();try{return ge(t)(e,r,n,o,i)}catch(c){if(dn(a),c!==c+0)throw c;sn(1,0)}}function Rn(t,e,r,n,o,i,a,c){var u=ln();try{return ge(t)(e,r,n,o,i,a,c)}catch(s){if(dn(u),s!==s+0)throw s;sn(1,0)}}function $n(t,e,r,n,o){var i=ln();try{return ge(t)(e,r,n,o)}catch(a){if(dn(i),a!==a+0)throw a;sn(1,0)}}function kn(t,e,r,n){var o=ln();try{return ge(t)(e,r,n)}catch(i){if(dn(o),i!==i+0)throw i;sn(1,0)}}function In(t,e,r,n){var o=ln();try{return ge(t)(e,r,n)}catch(i){if(dn(o),i!==i+0)throw i;sn(1,0)}}function Dn(t){var e=ln();try{return ge(t)()}catch(r){if(dn(e),r!==r+0)throw r;sn(1,0)}}function Mn(t,e,r,n,o,i,a,c){var u=ln();try{ge(t)(e,r,n,o,i,a,c)}catch(s){if(dn(u),s!==s+0)throw s;sn(1,0)}}function Ln(t,e,r,n,o,i,a,c,u,s,f,l){var d=ln();try{return ge(t)(e,r,n,o,i,a,c,u,s,f,l)}catch(p){if(dn(d),p!==p+0)throw p;sn(1,0)}}function Un(t,e,r,n,o,i,a,c,u,s,f,l,d,p,h,v){var b=ln();try{ge(t)(e,r,n,o,i,a,c,u,s,f,l,d,p,h,v)}catch(m){if(dn(b),m!==m+0)throw m;sn(1,0)}}function Fn(t,e,r,n,o){var i=ln();try{return yn(t,e,r,n,o)}catch(a){if(dn(i),a!==a+0)throw a;sn(1,0)}}function Nn(){function t(){mn||(mn=!0,a.calledRun=!0,!T&&(k(),o(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),I()))}U>0||($(),U>0)||(a.setStatus?(a.setStatus("Running..."),setTimeout((function(){setTimeout((function(){a.setStatus("")}),1),t()}),1)):t())}if(a.dynCall_iiiiij=(t,e,r,n,o,i,c)=>(a.dynCall_iiiiij=on.Da)(t,e,r,n,o,i,c),a.dynCall_iiiiijj=(t,e,r,n,o,i,c,u,s)=>(a.dynCall_iiiiijj=on.Ea)(t,e,r,n,o,i,c,u,s),a.dynCall_iiiiiijj=(t,e,r,n,o,i,c,u,s,f)=>(a.dynCall_iiiiiijj=on.Fa)(t,e,r,n,o,i,c,u,s,f),F=function t(){mn||Nn(),mn||(F=t)},a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return Nn(),r.ready}})();function T(t){return S(C,t)}async function P(t,e){return E(C,t,e)}async function _(t,e){return j(C,t,e)}const A=[["aztec","Aztec"],["code_128","Code128"],["code_39","Code39"],["code_93","Code93"],["codabar","Codabar"],["databar","DataBar"],["databar_expanded","DataBarExpanded"],["data_matrix","DataMatrix"],["dx_film_edge","DXFilmEdge"],["ean_13","EAN-13"],["ean_8","EAN-8"],["itf","ITF"],["maxi_code","MaxiCode"],["micro_qr_code","MicroQRCode"],["pdf417","PDF417"],["qr_code","QRCode"],["rm_qr_code","rMQRCode"],["upc_a","UPC-A"],["upc_e","UPC-E"],["linear_codes","Linear-Codes"],["matrix_codes","Matrix-Codes"]],R=[...A,["unknown"]].map(t=>t[0]),$=new Map(A);function k(t){for(const[e,r]of $)if(t===r)return e;return"unknown"}function I(t){if(D(t))return{width:t.naturalWidth,height:t.naturalHeight};if(M(t))return{width:t.width.baseVal.value,height:t.height.baseVal.value};if(L(t))return{width:t.videoWidth,height:t.videoHeight};if(F(t))return{width:t.width,height:t.height};if(B(t))return{width:t.displayWidth,height:t.displayHeight};if(U(t))return{width:t.width,height:t.height};if(N(t))return{width:t.width,height:t.height};throw new TypeError("The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.")}function D(t){try{return t instanceof HTMLImageElement}catch{return!1}}function M(t){try{return t instanceof SVGImageElement}catch{return!1}}function L(t){try{return t instanceof HTMLVideoElement}catch{return!1}}function U(t){try{return t instanceof HTMLCanvasElement}catch{return!1}}function F(t){try{return t instanceof ImageBitmap}catch{return!1}}function N(t){try{return t instanceof OffscreenCanvas}catch{return!1}}function B(t){try{return t instanceof VideoFrame}catch{return!1}}function W(t){try{return t instanceof Blob}catch{return!1}}function H(t){try{return t instanceof ImageData}catch{return!1}}function z(t,e){try{const r=new OffscreenCanvas(t,e);if(r.getContext("2d")instanceof OffscreenCanvasRenderingContext2D)return r;throw void 0}catch{const r=document.createElement("canvas");return r.width=t,r.height=e,r}}async function q(t){if(D(t)&&!await J(t))throw new DOMException("Failed to load or decode HTMLImageElement.","InvalidStateError");if(M(t)&&!await Q(t))throw new DOMException("Failed to load or decode SVGImageElement.","InvalidStateError");if(B(t)&&X(t))throw new DOMException("VideoFrame is closed.","InvalidStateError");if(L(t)&&(0===t.readyState||1===t.readyState))throw new DOMException("Invalid element or state.","InvalidStateError");if(F(t)&&Z(t))throw new DOMException("The image source is detached.","InvalidStateError");const{width:e,height:r}=I(t);if(0===e||0===r)return null;const n=z(e,r).getContext("2d");n.drawImage(t,0,0);try{return n.getImageData(0,0,e,r)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function V(t){let e;try{if(globalThis.createImageBitmap)e=await createImageBitmap(t);else{if(!globalThis.Image)return t;{e=new Image;let r="";try{r=URL.createObjectURL(t),e.src=r,await e.decode()}finally{URL.revokeObjectURL(r)}}}}catch{throw new DOMException("Failed to load or decode Blob.","InvalidStateError")}return await q(e)}function G(t){const{width:e,height:r}=t;if(0===e||0===r)return null;const n=t.getContext("2d");try{return n.getImageData(0,0,e,r)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function Y(t){if(W(t))return await V(t);if(H(t)){if(K(t))throw new DOMException("The image data has been detached.","InvalidStateError");return t}return U(t)||N(t)?G(t):await q(t)}async function J(t){try{return await t.decode(),!0}catch{return!1}}async function Q(t){var e;try{return await(null==(e=t.decode)?void 0:e.call(t)),!0}catch{return!1}}function X(t){return null===t.format}function K(t){return 0===t.data.buffer.byteLength}function Z(t){return 0===t.width&&0===t.height}function tt(t,e){return t instanceof DOMException?new DOMException(`${e}: ${t.message}`,t.name):t instanceof Error?new t.constructor(`${e}: ${t.message}`):new Error(`${e}: ${t}`)}var et;class rt extends EventTarget{constructor(t={}){var e;super(),a(this,et,void 0);try{const r=null==(e=null==t?void 0:t.formats)?void 0:e.filter(t=>"unknown"!==t);if(0===(null==r?void 0:r.length))throw new TypeError("Hint option provided, but is empty.");for(const t of null!=r?r:[])if(!$.has(t))throw new TypeError(`Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${t}' is not a valid enum value of type BarcodeFormat.`);c(this,et,null!=r?r:[]),T().then(t=>{this.dispatchEvent(new CustomEvent("load",{detail:t}))}).catch(t=>{this.dispatchEvent(new CustomEvent("error",{detail:t}))})}catch(r){throw tt(r,"Failed to construct 'BarcodeDetector'")}}static async getSupportedFormats(){return R.filter(t=>"unknown"!==t)}async detect(t){try{const r=await Y(t);if(null===r)return[];let n;try{n=W(r)?await P(r,{tryHarder:!0,formats:i(this,et).map(t=>$.get(t))}):await _(r,{tryHarder:!0,formats:i(this,et).map(t=>$.get(t))})}catch(e){throw console.error(e),new DOMException("Barcode detection service unavailable.","NotSupportedError")}return n.map(t=>{const{topLeft:{x:e,y:r},topRight:{x:n,y:o},bottomLeft:{x:i,y:a},bottomRight:{x:c,y:u}}=t.position,s=Math.min(e,n,i,c),f=Math.min(r,o,a,u),l=Math.max(e,n,i,c),d=Math.max(r,o,a,u);return{boundingBox:new DOMRectReadOnly(s,f,l-s,d-f),rawValue:t.text,format:k(t.format),cornerPoints:[{x:e,y:r},{x:n,y:o},{x:c,y:u},{x:i,y:a}]}})}catch(r){throw tt(r,"Failed to execute 'detect' on 'BarcodeDetector'")}}}et=new WeakMap}).call(this,r("4362"),r("c8ba"))},"7b0b":function(t,e,r){"use strict";var n=r("1d80"),o=Object;t.exports=function(t){return o(n(t))}},"7c37":function(t,e,r){"use strict";var n=r("605d");t.exports=function(t){try{if(n)return Function('return require("'+t+'")')()}catch(e){}}},"7c73":function(t,e,r){"use strict";var n,o=r("825a"),i=r("37e8"),a=r("7839"),c=r("d012"),u=r("1be4"),s=r("cc12"),f=r("f772"),l=">",d="<",p="prototype",h="script",v=f("IE_PROTO"),b=function(){},m=function(t){return d+h+l+t+d+"/"+h+l},y=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){var t,e=s("iframe"),r="java"+h+":";return e.style.display="none",u.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},w=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}w="undefined"!=typeof document?document.domain&&n?y(n):g():y(n);var t=a.length;while(t--)delete w[p][a[t]];return w()};c[v]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(b[p]=o(t),r=new b,b[p]=null,r[v]=t):r=w(),void 0===e?r:i.f(r,e)}},"7db0":function(t,e,r){"use strict";var n=r("23e7"),o=r("b727").find,i=r("44d2"),a="find",c=!0;a in[]&&Array(1)[a]((function(){c=!1})),n({target:"Array",proto:!0,forced:c},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},8172:function(t,e,r){"use strict";var n=r("e065"),o=r("57b9");n("toPrimitive"),o()},"825a":function(t,e,r){"use strict";var n=r("861d"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},"83ab":function(t,e,r){"use strict";var n=r("d039");t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,r){"use strict";var n=r("83ab"),o=r("9bf2"),i=r("5c6c");t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},"861d":function(t,e,r){"use strict";var n=r("1626");t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},8875:function(t,e,r){var n,o,i;(function(r,a){o=[],n=a,i="function"===typeof n?n.apply(e,o):n,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,c=i.exec(p.stack)||a.exec(p.stack),u=c&&c[1]||!1,s=c&&c[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===f&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===u)return l[d];if(u===f&&l[d].innerHTML&&l[d].innerHTML.trim()===o)return l[d]}return null}}return t}))},"88a7":function(t,e,r){"use strict";var n=r("cb2d"),o=r("e330"),i=r("577e"),a=r("d6d6"),c=URLSearchParams,u=c.prototype,s=o(u.append),f=o(u["delete"]),l=o(u.forEach),d=o([].push),p=new c("a=1&a=2&b=3");p["delete"]("a",1),p["delete"]("b",void 0),p+""!=="a=2"&&n(u,"delete",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return f(this,t);var n=[];l(this,(function(t,e){d(n,{key:e,value:t})})),a(e,1);var o,c=i(t),u=i(r),p=0,h=0,v=!1,b=n.length;while(p<b)o=n[p++],v||o.key===c?(v=!0,f(this,o.key)):h++;while(h<b)o=n[h++],o.key===c&&o.value===u||s(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},8925:function(t,e,r){"use strict";var n=r("e330"),o=r("1626"),i=r("c6cd"),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},"89d0":function(t,e,r){"use strict";r.d(e,"a",(function(){return n["a"]}));var n=r("7a23");null!=globalThis.BarcodeDetector||(globalThis.BarcodeDetector=n["a"])},"8a79":function(t,e,r){"use strict";var n=r("23e7"),o=r("4625"),i=r("06cf").f,a=r("50c4"),c=r("577e"),u=r("5a34"),s=r("1d80"),f=r("ab13"),l=r("c430"),d=o("".slice),p=Math.min,h=f("endsWith"),v=!l&&!h&&!!function(){var t=i(String.prototype,"endsWith");return t&&!t.writable}();n({target:"String",proto:!0,forced:!v&&!h},{endsWith:function(t){var e=c(s(this));u(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:p(a(r),n),i=c(t);return d(e,o-i.length,o)===i}})},"8aa5":function(t,e,r){"use strict";var n=r("6547").charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},"8bd4":function(t,e,r){"use strict";var n=r("d066"),o=r("d44e"),i="DOMException";o(n(i),i)},"90d8":function(t,e,r){"use strict";var n=r("c65b"),o=r("1a2d"),i=r("3a9b"),a=r("ad6d"),c=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in c||o(t,"flags")||!i(c,t)?e:n(a,t)}},"90e3":function(t,e,r){"use strict";var n=r("e330"),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},9112:function(t,e,r){"use strict";var n=r("83ab"),o=r("9bf2"),i=r("5c6c");t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9263:function(t,e,r){"use strict";var n=r("c65b"),o=r("e330"),i=r("577e"),a=r("ad6d"),c=r("9f7f"),u=r("5692"),s=r("7c73"),f=r("69f3").get,l=r("fce3"),d=r("107c"),p=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,b=o("".charAt),m=o("".indexOf),y=o("".replace),g=o("".slice),w=function(){var t=/a/,e=/b*/g;return n(h,t,"a"),n(h,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),x=c.BROKEN_CARET,O=void 0!==/()??/.exec("")[1],S=w||O||x||l||d;S&&(v=function(t){var e,r,o,c,u,l,d,S=this,E=f(S),j=i(t),C=E.raw;if(C)return C.lastIndex=S.lastIndex,e=n(v,C,j),S.lastIndex=C.lastIndex,e;var T=E.groups,P=x&&S.sticky,_=n(a,S),A=S.source,R=0,$=j;if(P&&(_=y(_,"y",""),-1===m(_,"g")&&(_+="g"),$=g(j,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==b(j,S.lastIndex-1))&&(A="(?: "+A+")",$=" "+$,R++),r=new RegExp("^(?:"+A+")",_)),O&&(r=new RegExp("^"+A+"$(?!\\s)",_)),w&&(o=S.lastIndex),c=n(h,P?r:S,$),P?c?(c.input=g(c.input,R),c[0]=g(c[0],R),c.index=S.lastIndex,S.lastIndex+=c[0].length):S.lastIndex=0:w&&c&&(S.lastIndex=S.global?c.index+c[0].length:o),O&&c&&c.length>1&&n(p,c[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(c[u]=void 0)})),c&&T)for(c.groups=l=s(null),u=0;u<T.length;u++)d=T[u],l[d[0]]=c[d[1]];return c}),t.exports=v},9436:function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,".qrcode-stream-wrapper[data-v-0ee88866]{width:100%;height:100%;position:relative;z-index:0}.qrcode-stream-overlay[data-v-0ee88866]{width:100%;height:100%;position:absolute;top:0;left:0}.qrcode-stream-camera[data-v-0ee88866]{width:100%;height:100%;display:block;-o-object-fit:cover;object-fit:cover}.qrcode-stream-camera--hidden[data-v-0ee88866]{visibility:hidden;position:absolute}",""]),t.exports=e},"944a":function(t,e,r){"use strict";var n=r("d066"),o=r("e065"),i=r("d44e");o("toStringTag"),i(n("Symbol"),"Symbol")},9464:function(t,e,r){var n=r("9436");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("499e").default;o("f30ec7b0",n,!0,{sourceMap:!1,shadowMode:!1})},"94ca":function(t,e,r){"use strict";var n=r("d039"),o=r("1626"),i=/#|\.prototype\./,a=function(t,e){var r=u[c(t)];return r===f||r!==s&&(o(e)?n(e):!!e)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},9861:function(t,e,r){"use strict";r("5352")},"99af":function(t,e,r){"use strict";var n=r("23e7"),o=r("d039"),i=r("e8b5"),a=r("861d"),c=r("7b0b"),u=r("07fa"),s=r("3511"),f=r("8418"),l=r("65f0"),d=r("1dde"),p=r("b622"),h=r("2d00"),v=p("isConcatSpreadable"),b=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),m=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)},y=!b||!d("concat");n({target:"Array",proto:!0,arity:1,forced:y},{concat:function(t){var e,r,n,o,i,a=c(this),d=l(a,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(i=-1===e?a:arguments[e],m(i))for(o=u(i),s(p+o),r=0;r<o;r++,p++)r in i&&f(d,p,i[r]);else s(p+1),f(d,p++,i);return d.length=p,d}})},"9a1f":function(t,e,r){"use strict";var n=r("c65b"),o=r("59ed"),i=r("825a"),a=r("0d51"),c=r("35a1"),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?c(t):e;if(o(r))return i(n(r,t));throw new u(a(t)+" is not iterable")}},"9bdd":function(t,e,r){"use strict";var n=r("825a"),o=r("2a62");t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(a){o(t,"throw",a)}}},"9bf2":function(t,e,r){"use strict";var n=r("83ab"),o=r("0cfb"),i=r("aed9"),a=r("825a"),c=r("a04b"),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",d="configurable",p="writable";e.f=n?i?function(t,e,r){if(a(t),e=c(e),a(r),"function"===typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=f(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:l in r?r[l]:n[l],writable:!1})}return s(t,e,r)}:s:function(t,e,r){if(a(t),e=c(e),a(r),o)try{return s(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"9f7f":function(t,e,r){"use strict";var n=r("d039"),o=r("da84"),i=o.RegExp,a=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),c=a||n((function(){return!i("a","y").sticky})),u=a||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:c,UNSUPPORTED_Y:a}},a04b:function(t,e,r){"use strict";var n=r("c04e"),o=r("d9b5");t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},a180:function(t,e,r){"use strict";r.d(e,"a",(function(){return f})),r.d(e,"b",(function(){return d})),r.d(e,"c",(function(){return p}));var n=r("c7eb"),o=r("1da1"),i=r("3835"),a=(r("caad"),r("2532"),r("2ca0"),r("89d0")),c=r("1cc0"),u=r("c036"),s=function(t){if(t.length>0){var e=Object(i["a"])(t,1),r=e[0],n=Object(i["a"])(r.cornerPoints,4),o=n[0],a=n[1],c=n[2],u=n[3];return{content:r.rawValue,location:{topLeftCorner:o,topRightCorner:a,bottomRightCorner:c,bottomLeftCorner:u,topLeftFinderPattern:{},topRightFinderPattern:{},bottomLeftFinderPattern:{}},imageData:null}}return{content:null,location:null,imageData:null}},f=function(t,e){var r=e.detectHandler,i=e.locateHandler,c=e.minDelay,u=e.formats,f=new a["a"]({formats:u}),l=function e(a){return function(){var u=Object(o["a"])(Object(n["a"])().mark((function o(u){var l,d,p,h,v,b,m,y;return Object(n["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(t.readyState>1)){n.next=13;break}if(l=a.lastScanned,d=a.contentBefore,p=a.locationBefore,!(u-l>=c)){n.next=12;break}return n.next=5,f.detect(t);case 5:h=n.sent,v=s(h),b=v.content,m=v.location,y=v.imageData,null!==b&&b!==d&&r({content:b,location:m,imageData:y}),null===m&&null===p||i(h),window.requestAnimationFrame(e({lastScanned:u,contentBefore:null!==b&&void 0!==b?b:d,locationBefore:m})),n.next=13;break;case 12:window.requestAnimationFrame(e(a));case 13:case"end":return n.stop()}}),o)})));return function(t){return u.apply(this,arguments)}}()};l({contentBefore:null,locationBefore:null,lastScanned:performance.now()})()},l=function(){var t=Object(o["a"])(Object(n["a"])().mark((function t(e){var r;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.startsWith("http")||!1!==e.includes(location.host)){t.next=2;break}throw new c["a"];case 2:return r=document.createElement("img"),r.src=e,t.next=6,Object(u["a"])(r,"load");case 6:return t.abrupt("return",r);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(){var t=Object(o["a"])(Object(n["a"])().mark((function t(e,r){var o,i;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=new a["a"]({formats:r}),t.next=3,o.detect(e);case 3:return i=t.sent,t.abrupt("return",s(i));case 5:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),p=function(){var t=Object(o["a"])(Object(n["a"])().mark((function t(e,r){var o,i,c;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=new a["a"]({formats:r}),t.next=3,l(e);case 3:return i=t.sent,t.next=6,o.detect(i);case 6:return c=t.sent,t.abrupt("return",s(c));case 8:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},a38e:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("53ca");r("8172"),r("d9e2"),r("efec"),r("a9e3");function o(t,e){if("object"!=Object(n["a"])(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=Object(n["a"])(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function i(t){var e=o(t,"string");return"symbol"==Object(n["a"])(e)?e:e+""}},a434:function(t,e,r){"use strict";var n=r("23e7"),o=r("7b0b"),i=r("23cb"),a=r("5926"),c=r("07fa"),u=r("3a34"),s=r("3511"),f=r("65f0"),l=r("8418"),d=r("083a"),p=r("1dde"),h=p("splice"),v=Math.max,b=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var r,n,p,h,m,y,g=o(this),w=c(g),x=i(t,w),O=arguments.length;for(0===O?r=n=0:1===O?(r=0,n=w-x):(r=O-2,n=b(v(a(e),0),w-x)),s(w+r-n),p=f(g,n),h=0;h<n;h++)m=x+h,m in g&&l(p,h,g[m]);if(p.length=n,r<n){for(h=x;h<w-n;h++)m=h+n,y=h+r,m in g?g[y]=g[m]:d(g,y);for(h=w;h>w-n+r;h--)d(g,h-1)}else if(r>n)for(h=w-n;h>x;h--)m=h+n-1,y=h+r-1,m in g?g[y]=g[m]:d(g,y);for(h=0;h<r;h++)g[h+x]=arguments[h+2];return u(g,w-n+r),p}})},a4b4:function(t,e,r){"use strict";var n=r("342f");t.exports=/web0s(?!.*chrome)/i.test(n)},a4d3:function(t,e,r){"use strict";r("d9f5"),r("b4f8"),r("c513"),r("e9c4"),r("5a47")},a630:function(t,e,r){"use strict";var n=r("23e7"),o=r("4df4"),i=r("1c7e"),a=!i((function(t){Array.from(t)}));n({target:"Array",stat:!0,forced:a},{from:o})},a640:function(t,e,r){"use strict";var n=r("d039");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},a9e3:function(t,e,r){"use strict";var n=r("23e7"),o=r("c430"),i=r("83ab"),a=r("da84"),c=r("428f"),u=r("e330"),s=r("94ca"),f=r("1a2d"),l=r("7156"),d=r("3a9b"),p=r("d9b5"),h=r("c04e"),v=r("d039"),b=r("241c").f,m=r("06cf").f,y=r("9bf2").f,g=r("408a"),w=r("58a8").trim,x="Number",O=a[x],S=c[x],E=O.prototype,j=a.TypeError,C=u("".slice),T=u("".charCodeAt),P=function(t){var e=h(t,"number");return"bigint"==typeof e?e:_(e)},_=function(t){var e,r,n,o,i,a,c,u,s=h(t,"number");if(p(s))throw new j("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=w(s),e=T(s,0),43===e||45===e){if(r=T(s,2),88===r||120===r)return NaN}else if(48===e){switch(T(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(i=C(s,2),a=i.length,c=0;c<a;c++)if(u=T(i,c),u<48||u>o)return NaN;return parseInt(i,n)}return+s},A=s(x,!O(" 0o1")||!O("0b1")||O("+0x1")),R=function(t){return d(E,t)&&v((function(){g(t)}))},$=function(t){var e=arguments.length<1?0:O(P(t));return R(this)?l(Object(e),this,$):e};$.prototype=E,A&&!o&&(E.constructor=$),n({global:!0,constructor:!0,wrap:!0,forced:A},{Number:$});var k=function(t,e){for(var r,n=i?b(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)f(e,r=n[o])&&!f(t,r)&&y(t,r,m(e,r))};o&&S&&k(c[x],S),(A||o)&&k(c[x],O)},aa1f:function(t,e,r){"use strict";var n=r("83ab"),o=r("d039"),i=r("825a"),a=r("e391"),c=Error.prototype.toString,u=o((function(){if(n){var t=Object.create(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==c.call(t))return!0}return"2: 1"!==c.call({message:1,name:2})||"Error"!==c.call({})}));t.exports=u?function(){var t=i(this),e=a(t.name,"Error"),r=a(t.message);return e?r?e+": "+r:e:r}:c},ab13:function(t,e,r){"use strict";var n=r("b622"),o=n("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[o]=!1,"/./"[t](e)}catch(n){}}return!1}},ab36:function(t,e,r){"use strict";var n=r("861d"),o=r("9112");t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},ac1f:function(t,e,r){"use strict";var n=r("23e7"),o=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,r){"use strict";var n=r("825a");t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},addb:function(t,e,r){"use strict";var n=r("f36a"),o=Math.floor,i=function(t,e){var r=t.length;if(r<8){var a,c,u=1;while(u<r){c=u,a=t[u];while(c&&e(t[c-1],a)>0)t[c]=t[--c];c!==u++&&(t[c]=a)}}else{var s=o(r/2),f=i(n(t,0,s),e),l=i(n(t,s),e),d=f.length,p=l.length,h=0,v=0;while(h<d||v<p)t[h+v]=h<d&&v<p?e(f[h],l[v])<=0?f[h++]:l[v++]:h<d?f[h++]:l[v++]}return t};t.exports=i},ae93:function(t,e,r){"use strict";var n,o,i,a=r("d039"),c=r("1626"),u=r("861d"),s=r("7c73"),f=r("e163"),l=r("cb2d"),d=r("b622"),p=r("c430"),h=d("iterator"),v=!1;[].keys&&(i=[].keys(),"next"in i?(o=f(f(i)),o!==Object.prototype&&(n=o)):v=!0);var b=!u(n)||a((function(){var t={};return n[h].call(t)!==t}));b?n={}:p&&(n=s(n)),c(n[h])||l(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},aeb0:function(t,e,r){"use strict";var n=r("9bf2").f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},aed9:function(t,e,r){"use strict";var n=r("83ab"),o=r("d039");t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b041:function(t,e,r){"use strict";var n=r("00ee"),o=r("f5df");t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(t,e,r){"use strict";var n=r("83ab"),o=r("5e77").EXISTS,i=r("e330"),a=r("edd0"),c=Function.prototype,u=i(c.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=i(s.exec),l="name";n&&!o&&a(c,l,{configurable:!0,get:function(){try{return f(s,u(this))[1]}catch(t){return""}}})},b3af:function(t,e,r){"use strict";var n,o,i=r("c7eb"),a=r("1da1"),c=r("89d0"),u={beforeMount:function(){window.BarcodeDetector=c["default"]},methods:{onDetect:function(t){var e=this;return Object(a["a"])(Object(i["a"])().mark((function r(){var n,o;return Object(i["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return e.$emit("detect",t),r.prev=1,r.next=4,t;case 4:n=r.sent,o=n.content,null!==o&&e.$emit("decode",o),r.next=11;break;case 9:r.prev=9,r.t0=r["catch"](1);case 11:case"end":return r.stop()}}),r,null,[[1,9]])})))()}}},s=u,f=r("2877"),l=Object(f["a"])(s,n,o,!1,null,null,null);e["a"]=l.exports},b42e:function(t,e,r){"use strict";var n=Math.ceil,o=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?o:n)(e)}},b4f8:function(t,e,r){"use strict";var n=r("23e7"),o=r("d066"),i=r("1a2d"),a=r("577e"),c=r("5692"),u=r("0b43"),s=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(i(s,e))return s[e];var r=o("Symbol")(e);return s[e]=r,f[r]=e,r}})},b575:function(t,e,r){"use strict";var n,o,i,a,c,u=r("da84"),s=r("157a"),f=r("0366"),l=r("2cf4").set,d=r("01b4"),p=r("1cdc"),h=r("d4c3"),v=r("a4b4"),b=r("605d"),m=u.MutationObserver||u.WebKitMutationObserver,y=u.document,g=u.process,w=u.Promise,x=s("queueMicrotask");if(!x){var O=new d,S=function(){var t,e;b&&(t=g.domain)&&t.exit();while(e=O.get())try{e()}catch(r){throw O.head&&n(),r}t&&t.enter()};p||b||v||!m||!y?!h&&w&&w.resolve?(a=w.resolve(void 0),a.constructor=w,c=f(a.then,a),n=function(){c(S)}):b?n=function(){g.nextTick(S)}:(l=f(l,u),n=function(){l(S)}):(o=!0,i=y.createTextNode(""),new m(S).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),x=function(t){O.head||n(),O.add(t)}}t.exports=x},b622:function(t,e,r){"use strict";var n=r("da84"),o=r("5692"),i=r("1a2d"),a=r("90e3"),c=r("04f8"),u=r("fdbf"),s=n.Symbol,f=o("wks"),l=u?s["for"]||s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=c&&i(s,t)?s[t]:l("Symbol."+t)),f[t]}},b635:function(t,e,r){"use strict";(function(t){r.d(e,"e",(function(){return a}));var n=r("0d0e");r.d(e,"c",(function(){return n["a"]}));var o=r("5c0b");r.d(e,"a",(function(){return o["a"]}));var i=r("fe6b");function a(t){t.component("qrcode-stream",n["a"]),t.component("qrcode-capture",o["a"]),t.component("qrcode-drop-zone",i["a"])}r.d(e,"b",(function(){return i["a"]}));var c={install:a};e["d"]=c;var u=null;"undefined"!==typeof window?u=window.Vue:"undefined"!==typeof t&&(u=t.Vue),u&&u.use(c)}).call(this,r("c8ba"))},b636:function(t,e,r){"use strict";var n=r("e065");n("asyncIterator")},b64b:function(t,e,r){"use strict";var n=r("23e7"),o=r("7b0b"),i=r("df75"),a=r("d039"),c=a((function(){i(1)}));n({target:"Object",stat:!0,forced:c},{keys:function(t){return i(o(t))}})},b727:function(t,e,r){"use strict";var n=r("0366"),o=r("e330"),i=r("44ad"),a=r("7b0b"),c=r("07fa"),u=r("65f0"),s=o([].push),f=function(t){var e=1===t,r=2===t,o=3===t,f=4===t,l=6===t,d=7===t,p=5===t||l;return function(h,v,b,m){for(var y,g,w=a(h),x=i(w),O=c(x),S=n(v,b),E=0,j=m||u,C=e?j(h,O):r||d?j(h,0):void 0;O>E;E++)if((p||E in x)&&(y=x[E],g=S(y,E,w),t))if(e)C[E]=g;else if(g)switch(t){case 3:return!0;case 5:return y;case 6:return E;case 2:s(C,y)}else switch(t){case 4:return!1;case 7:s(C,y)}return l?-1:o||f?f:C}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},b7ef:function(t,e,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("d066"),a=r("5c6c"),c=r("9bf2").f,u=r("1a2d"),s=r("19aa"),f=r("7156"),l=r("e391"),d=r("cf98"),p=r("0d26"),h=r("83ab"),v=r("c430"),b="DOMException",m=i("Error"),y=i(b),g=function(){s(this,w);var t=arguments.length,e=l(t<1?void 0:arguments[0]),r=l(t<2?void 0:arguments[1],"Error"),n=new y(e,r),o=new m(e);return o.name=b,c(n,"stack",a(1,p(o.stack,1))),f(n,this,g),n},w=g.prototype=y.prototype,x="stack"in new m(b),O="stack"in new y(1,2),S=y&&h&&Object.getOwnPropertyDescriptor(o,b),E=!!S&&!(S.writable&&S.configurable),j=x&&!E&&!O;n({global:!0,constructor:!0,forced:v||j},{DOMException:j?g:y});var C=i(b),T=C.prototype;if(T.constructor!==C)for(var P in v||c(T,"constructor",a(1,C)),d)if(u(d,P)){var _=d[P],A=_.s;u(C,A)||c(C,A,a(6,_.c))}},b980:function(t,e,r){"use strict";var n=r("d039"),o=r("5c6c");t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},bb2f:function(t,e,r){"use strict";var n=r("d039");t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bee2:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("a38e");function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Object(n["a"])(o.key),o)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}},bf19:function(t,e,r){"use strict";var n=r("23e7"),o=r("c65b");n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},c036:function(t,e,r){"use strict";function n(t,e,r){var n,o;void 0===r&&(r="error");var i=new Promise((function(t,e){n=t,o=e}));return t.addEventListener(e,n),t.addEventListener(r,o),i.finally((function(){t.removeEventListener(e,n),t.removeEventListener(r,o)})),i}function o(t){return new Promise((function(e){return setTimeout(e,t)}))}r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o}))},c04e:function(t,e,r){"use strict";var n=r("c65b"),o=r("861d"),i=r("d9b5"),a=r("dc4a"),c=r("485a"),u=r("b622"),s=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=a(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw new s("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},c430:function(t,e,r){"use strict";t.exports=!1},c513:function(t,e,r){"use strict";var n=r("23e7"),o=r("1a2d"),i=r("d9b5"),a=r("0d51"),c=r("5692"),u=r("0b43"),s=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(a(t)+" is not a symbol");if(o(s,t))return s[t]}})},c65b:function(t,e,r){"use strict";var n=r("40d5"),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(t,e,r){"use strict";var n=r("e330"),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},c6cd:function(t,e,r){"use strict";var n=r("c430"),o=r("da84"),i=r("6374"),a="__core-js_shared__",c=t.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.36.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},c6d2:function(t,e,r){"use strict";var n=r("23e7"),o=r("c65b"),i=r("c430"),a=r("5e77"),c=r("1626"),u=r("dcc3"),s=r("e163"),f=r("d2bb"),l=r("d44e"),d=r("9112"),p=r("cb2d"),h=r("b622"),v=r("3f8c"),b=r("ae93"),m=a.PROPER,y=a.CONFIGURABLE,g=b.IteratorPrototype,w=b.BUGGY_SAFARI_ITERATORS,x=h("iterator"),O="keys",S="values",E="entries",j=function(){return this};t.exports=function(t,e,r,a,h,b,C){u(r,e,a);var T,P,_,A=function(t){if(t===h&&D)return D;if(!w&&t&&t in k)return k[t];switch(t){case O:return function(){return new r(this,t)};case S:return function(){return new r(this,t)};case E:return function(){return new r(this,t)}}return function(){return new r(this)}},R=e+" Iterator",$=!1,k=t.prototype,I=k[x]||k["@@iterator"]||h&&k[h],D=!w&&I||A(h),M="Array"===e&&k.entries||I;if(M&&(T=s(M.call(new t)),T!==Object.prototype&&T.next&&(i||s(T)===g||(f?f(T,g):c(T[x])||p(T,x,j)),l(T,R,!0,!0),i&&(v[R]=j))),m&&h===S&&I&&I.name!==S&&(!i&&y?d(k,"name",S):($=!0,D=function(){return o(I,this)})),h)if(P={values:A(S),keys:b?D:A(O),entries:A(E)},C)for(_ in P)(w||$||!(_ in k))&&p(k,_,P[_]);else n({target:e,proto:!0,forced:w||$},P);return i&&!C||k[x]===D||p(k,x,D,{name:h}),v[e]=D,P}},c7eb:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("a4d3"),r("e01a"),r("b636"),r("d28b"),r("944a"),r("d9e2"),r("e260"),r("14d9"),r("fb6a"),r("b0c0"),r("0c47"),r("23dc"),r("3410"),r("1f68"),r("131a"),r("d3b7"),r("e6cf"),r("3ca3"),r("159b"),r("ddb0");var n=r("53ca");function o(){
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
- o=function(){return e};var t,e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new $(n||[]);return a(i,"_invoke",{value:P(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var h="suspendedStart",v="suspendedYield",b="executing",m="completed",y={};function g(){}function w(){}function x(){}var O={};l(O,u,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(k([])));E&&E!==r&&i.call(E,u)&&(O=E);var j=x.prototype=g.prototype=Object.create(O);function C(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,a,c,u){var s=p(t[o],t,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==Object(n["a"])(l)&&i.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function P(e,r,n){var o=h;return function(i,a){if(o===b)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=b;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?m:v,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function $(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function k(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(i.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(Object(n["a"])(e)+" is not iterable")}return w.prototype=x,a(j,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:w,configurable:!0}),w.displayName=l(x,f,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,l(t,f,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},C(T.prototype),l(T.prototype,s,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new T(d(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},C(j),l(j,f,"Generator"),l(j,u,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=k,$.prototype={constructor:$,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}},c8ba:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},ca84:function(t,e,r){"use strict";var n=r("e330"),o=r("1a2d"),i=r("fc6a"),a=r("4d64").indexOf,c=r("d012"),u=n([].push);t.exports=function(t,e){var r,n=i(t),s=0,f=[];for(r in n)!o(c,r)&&o(n,r)&&u(f,r);while(e.length>s)o(n,r=e[s++])&&(~a(f,r)||u(f,r));return f}},caad:function(t,e,r){"use strict";var n=r("23e7"),o=r("4d64").includes,i=r("d039"),a=r("44d2"),c=i((function(){return!Array(1).includes()}));n({target:"Array",proto:!0,forced:c},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cb2d:function(t,e,r){"use strict";var n=r("1626"),o=r("9bf2"),i=r("13d2"),a=r("6374");t.exports=function(t,e,r,c){c||(c={});var u=c.enumerable,s=void 0!==c.name?c.name:e;if(n(r)&&i(r,s,c),c.global)u?t[e]=r:a(e,r);else{try{c.unsafe?t[e]&&(u=!0):delete t[e]}catch(f){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},cc12:function(t,e,r){"use strict";var n=r("da84"),o=r("861d"),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},cc98:function(t,e,r){"use strict";var n=r("23e7"),o=r("c430"),i=r("4738").CONSTRUCTOR,a=r("d256"),c=r("d066"),u=r("1626"),s=r("cb2d"),f=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&u(a)){var l=c("Promise").prototype["catch"];f["catch"]!==l&&s(f,"catch",l,{unsafe:!0})}},cca6:function(t,e,r){"use strict";var n=r("23e7"),o=r("60da");n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},cdce:function(t,e,r){"use strict";var n=r("da84"),o=r("1626"),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},cdf9:function(t,e,r){"use strict";var n=r("825a"),o=r("861d"),i=r("f069");t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t),a=r.resolve;return a(e),r.promise}},cf98:function(t,e,r){"use strict";t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},d012:function(t,e,r){"use strict";t.exports={}},d039:function(t,e,r){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,r){"use strict";var n=r("da84"),o=r("1626"),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},d1e7:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},d256:function(t,e,r){"use strict";var n=r("da84");t.exports=n.Promise},d28b:function(t,e,r){"use strict";var n=r("e065");n("iterator")},d2bb:function(t,e,r){"use strict";var n=r("7282"),o=r("861d"),i=r("1d80"),a=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=n(Object.prototype,"__proto__","set"),t(r,[]),e=r instanceof Array}catch(c){}return function(r,n){return i(r),a(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},d3b7:function(t,e,r){"use strict";var n=r("00ee"),o=r("cb2d"),i=r("b041");n||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(t,e,r){"use strict";var n=r("9bf2").f,o=r("1a2d"),i=r("b622"),a=i("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,a)&&n(t,a,{configurable:!0,value:e})}},d4c3:function(t,e,r){"use strict";var n=r("342f");t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},d4ec:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r("d9e2");function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},d58f:function(t,e,r){"use strict";var n=r("59ed"),o=r("7b0b"),i=r("44ad"),a=r("07fa"),c=TypeError,u="Reduce of empty array with no initial value",s=function(t){return function(e,r,s,f){var l=o(e),d=i(l),p=a(l);if(n(r),0===p&&s<2)throw new c(u);var h=t?p-1:0,v=t?-1:1;if(s<2)while(1){if(h in d){f=d[h],h+=v;break}if(h+=v,t?h<0:p<=h)throw new c(u)}for(;t?h>=0:p>h;h+=v)h in d&&(f=r(f,d[h],h,l));return f}};t.exports={left:s(!1),right:s(!0)}},d6d6:function(t,e,r){"use strict";var n=TypeError;t.exports=function(t,e){if(t<e)throw new n("Not enough arguments");return t}},d784:function(t,e,r){"use strict";r("ac1f");var n=r("c65b"),o=r("cb2d"),i=r("9263"),a=r("d039"),c=r("b622"),u=r("9112"),s=c("species"),f=RegExp.prototype;t.exports=function(t,e,r,l){var d=c(t),p=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),h=p&&!a((function(){var e=!1,r=/a/;return"split"===t&&(r={},r.constructor={},r.constructor[s]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!p||!h||r){var v=/./[d],b=e(d,""[t],(function(t,e,r,o,a){var c=e.exec;return c===i||c===f.exec?p&&!a?{done:!0,value:n(v,e,r,o)}:{done:!0,value:n(t,r,e,o)}:{done:!1}}));o(String.prototype,t,b[0]),o(f,d,b[1])}l&&u(f[d],"sham",!0)}},d81d:function(t,e,r){"use strict";var n=r("23e7"),o=r("b727").map,i=r("1dde"),a=i("map");n({target:"Array",proto:!0,forced:!a},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},d86b:function(t,e,r){"use strict";var n=r("d039");t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},d9b5:function(t,e,r){"use strict";var n=r("d066"),o=r("1626"),i=r("3a9b"),a=r("fdbf"),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,c(t))}},d9e2:function(t,e,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("2ba4"),a=r("e5cb"),c="WebAssembly",u=o[c],s=7!==new Error("e",{cause:7}).cause,f=function(t,e){var r={};r[t]=a(t,e,s),n({global:!0,constructor:!0,arity:1,forced:s},r)},l=function(t,e){if(u&&u[t]){var r={};r[t]=a(c+"."+t,e,s),n({target:c,stat:!0,constructor:!0,arity:1,forced:s},r)}};f("Error",(function(t){return function(e){return i(t,this,arguments)}})),f("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),f("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),f("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),f("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),f("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),f("URIError",(function(t){return function(e){return i(t,this,arguments)}})),l("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),l("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),l("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},d9f5:function(t,e,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("c65b"),a=r("e330"),c=r("c430"),u=r("83ab"),s=r("04f8"),f=r("d039"),l=r("1a2d"),d=r("3a9b"),p=r("825a"),h=r("fc6a"),v=r("a04b"),b=r("577e"),m=r("5c6c"),y=r("7c73"),g=r("df75"),w=r("241c"),x=r("057f"),O=r("7418"),S=r("06cf"),E=r("9bf2"),j=r("37e8"),C=r("d1e7"),T=r("cb2d"),P=r("edd0"),_=r("5692"),A=r("f772"),R=r("d012"),$=r("90e3"),k=r("b622"),I=r("e538"),D=r("e065"),M=r("57b9"),L=r("d44e"),U=r("69f3"),F=r("b727").forEach,N=A("hidden"),B="Symbol",W="prototype",H=U.set,z=U.getterFor(B),q=Object[W],V=o.Symbol,G=V&&V[W],Y=o.RangeError,J=o.TypeError,Q=o.QObject,X=S.f,K=E.f,Z=x.f,tt=C.f,et=a([].push),rt=_("symbols"),nt=_("op-symbols"),ot=_("wks"),it=!Q||!Q[W]||!Q[W].findChild,at=function(t,e,r){var n=X(q,e);n&&delete q[e],K(t,e,r),n&&t!==q&&K(q,e,n)},ct=u&&f((function(){return 7!==y(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?at:K,ut=function(t,e){var r=rt[t]=y(G);return H(r,{type:B,tag:t,description:e}),u||(r.description=e),r},st=function(t,e,r){t===q&&st(nt,e,r),p(t);var n=v(e);return p(r),l(rt,n)?(r.enumerable?(l(t,N)&&t[N][n]&&(t[N][n]=!1),r=y(r,{enumerable:m(0,!1)})):(l(t,N)||K(t,N,m(1,y(null))),t[N][n]=!0),ct(t,n,r)):K(t,n,r)},ft=function(t,e){p(t);var r=h(e),n=g(r).concat(vt(r));return F(n,(function(e){u&&!i(dt,r,e)||st(t,e,r[e])})),t},lt=function(t,e){return void 0===e?y(t):ft(y(t),e)},dt=function(t){var e=v(t),r=i(tt,this,e);return!(this===q&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,N)&&this[N][e])||r)},pt=function(t,e){var r=h(t),n=v(e);if(r!==q||!l(rt,n)||l(nt,n)){var o=X(r,n);return!o||!l(rt,n)||l(r,N)&&r[N][n]||(o.enumerable=!0),o}},ht=function(t){var e=Z(h(t)),r=[];return F(e,(function(t){l(rt,t)||l(R,t)||et(r,t)})),r},vt=function(t){var e=t===q,r=Z(e?nt:h(t)),n=[];return F(r,(function(t){!l(rt,t)||e&&!l(q,t)||et(n,rt[t])})),n};s||(V=function(){if(d(G,this))throw new J("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,e=$(t),r=function(t){var n=void 0===this?o:this;n===q&&i(r,nt,t),l(n,N)&&l(n[N],e)&&(n[N][e]=!1);var a=m(1,t);try{ct(n,e,a)}catch(c){if(!(c instanceof Y))throw c;at(n,e,a)}};return u&&it&&ct(q,e,{configurable:!0,set:r}),ut(e,t)},G=V[W],T(G,"toString",(function(){return z(this).tag})),T(V,"withoutSetter",(function(t){return ut($(t),t)})),C.f=dt,E.f=st,j.f=ft,S.f=pt,w.f=x.f=ht,O.f=vt,I.f=function(t){return ut(k(t),t)},u&&(P(G,"description",{configurable:!0,get:function(){return z(this).description}}),c||T(q,"propertyIsEnumerable",dt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:V}),F(g(ot),(function(t){D(t)})),n({target:B,stat:!0,forced:!s},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!u},{create:lt,defineProperty:st,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:ht}),M(),L(V,B),R[N]=!0},da84:function(t,e,r){"use strict";(function(e){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(t,e,r){"use strict";var n=r("23e7"),o=r("83ab"),i=r("56ef"),a=r("fc6a"),c=r("06cf"),u=r("8418");n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,r,n=a(t),o=c.f,s=i(n),f={},l=0;while(s.length>l)r=o(n,e=s[l++]),void 0!==r&&u(f,e,r);return f}})},dc4a:function(t,e,r){"use strict";var n=r("59ed"),o=r("7234");t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},dcc3:function(t,e,r){"use strict";var n=r("ae93").IteratorPrototype,o=r("7c73"),i=r("5c6c"),a=r("d44e"),c=r("3f8c"),u=function(){return this};t.exports=function(t,e,r,s){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!s,r)}),a(t,f,!1,!0),c[f]=u,t}},ddb0:function(t,e,r){"use strict";var n=r("da84"),o=r("fdbc"),i=r("785a"),a=r("e260"),c=r("9112"),u=r("d44e"),s=r("b622"),f=s("iterator"),l=a.values,d=function(t,e){if(t){if(t[f]!==l)try{c(t,f,l)}catch(n){t[f]=l}if(u(t,e,!0),o[e])for(var r in a)if(t[r]!==a[r])try{c(t,r,a[r])}catch(n){t[r]=a[r]}}};for(var p in o)d(n[p]&&n[p].prototype,p);d(i,"DOMTokenList")},df75:function(t,e,r){"use strict";var n=r("ca84"),o=r("7839");t.exports=Object.keys||function(t){return n(t,o)}},df7c:function(t,e,r){(function(t){function r(t,e){for(var r=0,n=t.length-1;n>=0;n--){var o=t[n];"."===o?t.splice(n,1):".."===o?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t){"string"!==typeof t&&(t+="");var e,r=0,n=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){r=e+1;break}}else-1===n&&(o=!1,n=e+1);return-1===n?"":t.slice(r,n)}function o(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}e.resolve=function(){for(var e="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,n="/"===a.charAt(0))}return e=r(o(e.split("/"),(function(t){return!!t})),!n).join("/"),(n?"/":"")+e||"."},e.normalize=function(t){var n=e.isAbsolute(t),a="/"===i(t,-1);return t=r(o(t.split("/"),(function(t){return!!t})),!n).join("/"),t||n||(t="."),t&&a&&(t+="/"),(n?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,r){function n(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var r=t.length-1;r>=0;r--)if(""!==t[r])break;return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var o=n(t.split("/")),i=n(r.split("/")),a=Math.min(o.length,i.length),c=a,u=0;u<a;u++)if(o[u]!==i[u]){c=u;break}var s=[];for(u=c;u<o.length;u++)s.push("..");return s=s.concat(i.slice(c)),s.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,n=-1,o=!0,i=t.length-1;i>=1;--i)if(e=t.charCodeAt(i),47===e){if(!o){n=i;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=n(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,r=0,n=-1,o=!0,i=0,a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(47!==c)-1===n&&(o=!1,n=a+1),46===c?-1===e?e=a:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){r=a+1;break}}return-1===e||-1===n||0===i||1===i&&e===n-1&&e===r+1?"":t.slice(e,n)};var i="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r("4362"))},e01a:function(t,e,r){"use strict";var n=r("23e7"),o=r("83ab"),i=r("da84"),a=r("e330"),c=r("1a2d"),u=r("1626"),s=r("3a9b"),f=r("577e"),l=r("edd0"),d=r("e893"),p=i.Symbol,h=p&&p.prototype;if(o&&u(p)&&(!("description"in h)||void 0!==p().description)){var v={},b=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=s(h,this)?new p(t):void 0===t?p():p(t);return""===t&&(v[e]=!0),e};d(b,p),b.prototype=h,h.constructor=b;var m="Symbol(description detection)"===String(p("description detection")),y=a(h.valueOf),g=a(h.toString),w=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),O=a("".slice);l(h,"description",{configurable:!0,get:function(){var t=y(this);if(c(v,t))return"";var e=g(t),r=m?O(e,7,-1):x(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:b})}},e065:function(t,e,r){"use strict";var n=r("428f"),o=r("1a2d"),i=r("e538"),a=r("9bf2").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},e163:function(t,e,r){"use strict";var n=r("1a2d"),o=r("1626"),i=r("7b0b"),a=r("f772"),c=r("e177"),u=a("IE_PROTO"),s=Object,f=s.prototype;t.exports=c?s.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof s?f:null}},e177:function(t,e,r){"use strict";var n=r("d039");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,r){"use strict";var n=r("fc6a"),o=r("44d2"),i=r("3f8c"),a=r("69f3"),c=r("9bf2").f,u=r("c6d2"),s=r("4754"),f=r("c430"),l=r("83ab"),d="Array Iterator",p=a.set,h=a.getterFor(d);t.exports=u(Array,"Array",(function(t,e){p(this,{type:d,target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,s(void 0,!0);switch(t.kind){case"keys":return s(r,!1);case"values":return s(e[r],!1)}return s([r,e[r]],!1)}),"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==v.name)try{c(v,"name",{value:"values"})}catch(b){}},e267:function(t,e,r){"use strict";var n=r("e330"),o=r("e8b5"),i=r("1626"),a=r("c6b6"),c=r("577e"),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var s=t[n];"string"==typeof s?u(r,s):"number"!=typeof s&&"Number"!==a(s)&&"String"!==a(s)||u(r,c(s))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},e330:function(t,e,r){"use strict";var n=r("40d5"),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},e391:function(t,e,r){"use strict";var n=r("577e");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},e439:function(t,e,r){"use strict";var n=r("23e7"),o=r("d039"),i=r("fc6a"),a=r("06cf").f,c=r("83ab"),u=!c||o((function(){a(1)}));n({target:"Object",stat:!0,forced:u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},e538:function(t,e,r){"use strict";var n=r("b622");e.f=n},e5cb:function(t,e,r){"use strict";var n=r("d066"),o=r("1a2d"),i=r("9112"),a=r("3a9b"),c=r("d2bb"),u=r("e893"),s=r("aeb0"),f=r("7156"),l=r("e391"),d=r("ab36"),p=r("6f19"),h=r("83ab"),v=r("c430");t.exports=function(t,e,r,b){var m="stackTraceLimit",y=b?2:1,g=t.split("."),w=g[g.length-1],x=n.apply(null,g);if(x){var O=x.prototype;if(!v&&o(O,"cause")&&delete O.cause,!r)return x;var S=n("Error"),E=e((function(t,e){var r=l(b?e:t,void 0),n=b?new x(t):new x;return void 0!==r&&i(n,"message",r),p(n,E,n.stack,2),this&&a(O,this)&&f(n,this,E),arguments.length>y&&d(n,arguments[y]),n}));if(E.prototype=O,"Error"!==w?c?c(E,S):u(E,S,{name:!0}):h&&m in x&&(s(E,x,m),s(E,x,"prepareStackTrace")),u(E,x),!v)try{O.name!==w&&i(O,"name",w),O.constructor=E}catch(j){}return E}}},e667:function(t,e,r){"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e6cf:function(t,e,r){"use strict";r("5e7e"),r("14e5"),r("cc98"),r("3529"),r("f22b"),r("7149")},e848:function(t,e,r){"use strict";r("9464")},e893:function(t,e,r){"use strict";var n=r("1a2d"),o=r("56ef"),i=r("06cf"),a=r("9bf2");t.exports=function(t,e,r){for(var c=o(e),u=a.f,s=i.f,f=0;f<c.length;f++){var l=c[f];n(t,l)||r&&n(r,l)||u(t,l,s(e,l))}}},e8b5:function(t,e,r){"use strict";var n=r("c6b6");t.exports=Array.isArray||function(t){return"Array"===n(t)}},e95a:function(t,e,r){"use strict";var n=r("b622"),o=r("3f8c"),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},e9c4:function(t,e,r){"use strict";var n=r("23e7"),o=r("d066"),i=r("2ba4"),a=r("c65b"),c=r("e330"),u=r("d039"),s=r("1626"),f=r("d9b5"),l=r("f36a"),d=r("e267"),p=r("04f8"),h=String,v=o("JSON","stringify"),b=c(/./.exec),m=c("".charAt),y=c("".charCodeAt),g=c("".replace),w=c(1..toString),x=/[\uD800-\uDFFF]/g,O=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!p||u((function(){var t=o("Symbol")("stringify detection");return"[null]"!==v([t])||"{}"!==v({a:t})||"{}"!==v(Object(t))})),j=u((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),C=function(t,e){var r=l(arguments),n=d(e);if(s(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(s(n)&&(e=a(n,this,h(t),e)),!f(e))return e},i(v,null,r)},T=function(t,e,r){var n=m(r,e-1),o=m(r,e+1);return b(O,t)&&!b(S,o)||b(S,t)&&!b(O,n)?"\\u"+w(y(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:E||j},{stringify:function(t,e,r){var n=l(arguments),o=i(E?C:v,null,n);return j&&"string"==typeof o?g(o,x,T):o}})},edd0:function(t,e,r){"use strict";var n=r("13d2"),o=r("9bf2");t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},efec:function(t,e,r){"use strict";var n=r("1a2d"),o=r("cb2d"),i=r("51eb"),a=r("b622"),c=a("toPrimitive"),u=Date.prototype;n(u,c)||o(u,c,i)},f069:function(t,e,r){"use strict";var n=r("59ed"),o=TypeError,i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new o("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},f183:function(t,e,r){"use strict";var n=r("23e7"),o=r("e330"),i=r("d012"),a=r("861d"),c=r("1a2d"),u=r("9bf2").f,s=r("241c"),f=r("057f"),l=r("4fad"),d=r("90e3"),p=r("bb2f"),h=!1,v=d("meta"),b=0,m=function(t){u(t,v,{value:{objectID:"O"+b++,weakData:{}}})},y=function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,v)){if(!l(t))return"F";if(!e)return"E";m(t)}return t[v].objectID},g=function(t,e){if(!c(t,v)){if(!l(t))return!0;if(!e)return!1;m(t)}return t[v].weakData},w=function(t){return p&&h&&l(t)&&!c(t,v)&&m(t),t},x=function(){O.enable=function(){},h=!0;var t=s.f,e=o([].splice),r={};r[v]=1,t(r).length&&(s.f=function(r){for(var n=t(r),o=0,i=n.length;o<i;o++)if(n[o]===v){e(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},O=t.exports={enable:x,fastKey:y,getWeakData:g,onFreeze:w};i[v]=!0},f22b:function(t,e,r){"use strict";var n=r("23e7"),o=r("f069"),i=r("4738").CONSTRUCTOR;n({target:"Promise",stat:!0,forced:i},{reject:function(t){var e=o.f(this),r=e.reject;return r(t),e.promise}})},f354:function(t,e,r){"use strict";var n=r("d039"),o=r("b622"),i=r("83ab"),a=r("c430"),c=o("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e["delete"]("b"),n+=r+t})),r["delete"]("a",2),r["delete"]("b",void 0),a&&(!t.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!e.size&&(a||!i)||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[c]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},f36a:function(t,e,r){"use strict";var n=r("e330");t.exports=n([].slice)},f5df:function(t,e,r){"use strict";var n=r("00ee"),o=r("1626"),i=r("c6b6"),a=r("b622"),c=a("toStringTag"),u=Object,s="Arguments"===i(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(r){}};t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=f(e=u(t),c))?r:s?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},f772:function(t,e,r){"use strict";var n=r("5692"),o=r("90e3"),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},fb15:function(t,e,r){"use strict";if(r.r(e),r.d(e,"install",(function(){return a["e"]})),r.d(e,"QrcodeStream",(function(){return a["c"]})),r.d(e,"QrcodeCapture",(function(){return a["a"]})),r.d(e,"QrcodeDropZone",(function(){return a["b"]})),"undefined"!==typeof window){var n=window.document.currentScript,o=r("8875");n=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("b635");e["default"]=a["d"]},fb6a:function(t,e,r){"use strict";var n=r("23e7"),o=r("e8b5"),i=r("68ee"),a=r("861d"),c=r("23cb"),u=r("07fa"),s=r("fc6a"),f=r("8418"),l=r("b622"),d=r("1dde"),p=r("f36a"),h=d("slice"),v=l("species"),b=Array,m=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(t,e){var r,n,l,d=s(this),h=u(d),y=c(t,h),g=c(void 0===e?h:e,h);if(o(d)&&(r=d.constructor,i(r)&&(r===b||o(r.prototype))?r=void 0:a(r)&&(r=r[v],null===r&&(r=void 0)),r===b||void 0===r))return p(d,y,g);for(n=new(void 0===r?b:r)(m(g-y,0)),l=0;y<g;y++,l++)y in d&&f(n,l,d[y]);return n.length=l,n}})},fc6a:function(t,e,r){"use strict";var n=r("44ad"),o=r("1d80");t.exports=function(t){return n(o(t))}},fce3:function(t,e,r){"use strict";var n=r("d039"),o=r("da84"),i=o.RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},fdbc:function(t,e,r){"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,r){"use strict";var n=r("04f8");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fe6b:function(t,e,r){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{on:{drop:function(e){return e.preventDefault(),e.stopPropagation(),t.onDrop.apply(null,arguments)},dragenter:function(e){return e.preventDefault(),e.stopPropagation(),t.onDragOver(!0)},dragleave:function(e){return e.preventDefault(),e.stopPropagation(),t.onDragOver(!1)},dragover:function(t){t.preventDefault(),t.stopPropagation()}}},[t._t("default")],2)},o=[],i=r("2909"),a=(r("d3b7"),r("159b"),r("a180")),c=r("b3af"),u={name:"qrcode-drop-zone",props:{formats:{type:Array,default:function(){return["qr_code"]}}},mixins:[c["a"]],methods:{onDragOver:function(t){this.$emit("dragover",t)},onDrop:function(t){var e=this,r=t.dataTransfer;this.onDragOver(!1);var n=Object(i["a"])(r.files),o=r.getData("text/uri-list");n.forEach((function(t){e.onDetect(Object(a["b"])(t,e.formats))})),""!==o&&this.onDetect(Object(a["c"])(o,this.formats))}}},s=u,f=r("2877"),l=Object(f["a"])(s,n,o,!1,null,null,null);e["a"]=l.exports}})}}]);
|