import{qasgo,rasEe,oasza,saswo,vasva,xasya,yasbo,fasSe,gasYe,hasZ,zas$o,Aas$a,BasNa,Cas_o,uasCo,basTo,dasPo,easga,iasfe,tasgt,masVe,paswa,DasSo,kasSa,lasEa,EasAa,FasOa,GasEo,HasAo,naska,UasDa,Iasja}from"./app-72c44b80.js";import{FasOo}from"./Form-d325991a.js";import{Sasko}from"./Spinner-0e4f49a2.js";import{_asDo}from"./QrContentDisplay-d6c6658b.js";import{uasjo}from"./bus-222e275f.js";/*! 2FAuth version 5.0.3 - Copyright (c) 2023 Bubka - https://github.com/Bubka/2FAuth */varBa=(i,c,o)=>{if(!c.has(i))throwTypeError("Cannot "+o)},xa=(i,c,o)=>(Ba(i,c,"read from private field"),o?o.call(i):c.get(i)),xo=(i,c,o)=>{if(c.has(i))throwTypeError("Cannot add the same private member more than once");cinstanceofWeakSet?c.add(i):c.set(i,o)},Mo=(i,c,o,h)=>(Ba(i,c,"write to private field"),h?h.call(i,o):c.set(i,o),o);constMa=["aztec","code_128","code_39","code_93","codabar","data_matrix","ean_13","ean_8","itf","pdf417","qr_code","upc_a","upc_e","unknown"];functionRo(i){if(Ya(i))return{width:i.naturalWidth,height:i.naturalHeight};if(Ga(i))return{width:i.width.baseVal.value,height:i.height.baseVal.value};if(qa(i))return{width:i.videoWidth,height:i.videoHeight};if(Xa(i))return{width:i.width,height:i.height};if(Qa(i))return{width:i.displayWidth,height:i.displayHeight};if(Ja(i))return{width:i.width,height:i.height};if(Za(i))return{width:i.width,height:i.height};thrownewTypeError("The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.")}functionYa(i){try{returniinstanceofHTMLImageElement}catch{return!1}}functionGa(i){try{returniinstanceofSVGImageElement}catch{return!1}}functionqa(i){try{returniinstanceofHTMLVideoElement}catch{return!1}}functionJa(i){try{returniinstanceofHTMLCanvasElement}catch{return!1}}functionXa(i){try{returniinstanceofImageBitmap}catch{return!1}}functionZa(i){try{returniinstanceofOffscreenCanvas}catch{return!1}}functionQa(i){try{returniinstanceofVideoFrame}catch{return!1}}functionKa(i){try{returniinstanceofBlob}catch{return!1}}functionFo(i){try{returniinstanceofImageData}catch{return!1}}functionWo(i,c){try{consto=newOffscreenCanvas(i,c);if(o.getContext("2d")instanceofOffscreenCanvasRenderingContext2D)returno;throwvoid0}catch{consth=document.createElement("canvas");returnh.width=i,h.height=c,h}}asyncfunctioneo(i){if(Ya(i)&&!awaitVo(i))thrownewDOMException("Failed to load or decode HTMLImageElement.","InvalidStateError");if(Ga(i)&&!awaitLo(i))thrownewDOMException("Failed to load or decode SVGImageElement.","InvalidStateError");if(Qa(i)&&zo(i))thrownewDOMException("VideoFrame is closed.","InvalidStateError");if(qa(i)&&(i.readyState===0||i.readyState===1))thrownewDOMException("Invalid element or state.","InvalidStateError");if(Xa(i)&&Bo(i))thrownewDOMException("The image source is detached.","InvalidStateError");const{width:c,height:o}=Ro(i);if(c===0||o===0)returnnull;consth=Wo(c,o).getContext("2d");h.drawImage(i,0,0);try{returnh.getImageData(0,0,c,o)}catch{thrownewDOMException("Source would taint origin.","SecurityError")}}asyncfunctionIo(i){letc;try{if(createImageBitmap)c=awaitcreateImageBitmap(i);elseif(Image){c=newImage;leto="";try{o=URL.createObjectURL(i),c.src=o,awaitc.decode()}finally{URL.revokeObjectURL(o)}}elsereturni}catch{thrownewDOMException("Failed to load or decode Blob.","InvalidStateError")}returnawaiteo(c)}functionUo(i){const{width:c,height:o}=i;if(c===0||o===0)returnnull;consth=i.getContext("2d");try{returnh.getImageData(0,0,c,o)}catch{thrownewDOMException("Source would taint origin.","SecurityError")}}asyncfunctionHo(i){if(Ka(i))returnawaitIo(i);if(Fo(i)){if(No(i))thrownewDOMException("The image data has been detached.","InvalidStateError");returni}returnJa(i)||Za(i)?Uo(i):awaiteo(i)}asyncfunctionVo(i){try{returnawaiti.decode(),!0}catch{return!1}}asyncfunctionLo(i){varc;try{returnawait((c=i.decode)==nu
`+a.replace(/^Error(:[^\n]*)?\n/,""))});return t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}:${this.message}`},t},Lt,zt=n=>{var e=tr(n),t=G(e);return ae(e),t},Ue=(n,e)=>{var t=[],r={};function a(s){if(!r[s]&&!le[s]){if(xe[s]){xe[s].forEach(a);return}t.push(s),r[s]=!0}}throw e.forEach(a),new Lt(`${n}:`+t.map(zt).join([", "]))},Xr=(n,e,t,r,a,s,u,l,d,f,m,w,C)=>{m=G(m),s=ee(a,s),l&&(l=ee(u,l)),f&&(f=ee(d,f)),C=ee(w,C);var S=Wt(m);ut(S,function(){Ue(`Cannotconstruct${m}duetounboundtypes`,[r])}),de([n,e,t],r?[r]:[],function(j){j=j[0];var H,V;r?(H=j.registeredClass,V=H.instancePrototype):V=Fe.prototype;var L=st(S,function(){if(Object.getPrototypeOf(this)!==g)throw new ve("Use 'new' to construct "+m);if(p.constructor_body===void 0)throw new ve(m+" has no accessible constructor");var ge=p.constructor_body[arguments.length];if(ge===void 0)throw new ve(`Triedtoinvokectorof${m}withinvalidnumberofparameters(${arguments.length})-expected(${Object.keys(p.constructor_body).toString()})parametersinstead!`);return ge.apply(this,arguments)}),g=Object.create(V,{constructor:{value:L}});L.prototype=g;var p=new Vr(m,L,g,C,H,s,l,f);p.baseClass&&(p.baseClass.__derivedClasses===void 0&&(p.baseClass.__derivedClasses=[]),p.baseClass.__derivedClasses.push(p));var T=new We(m,p,!0,!1,!1),N=new We(m+"*",p,!1,!1,!1),Q=new We(m+" const*",p,!1,!0,!1);return Ft[n]={pointerType:N,constPointerType:Q},Ht(S,L),[T,N,Q]})},lt=(n,e)=>{for(var t=[],r=0;r<n;r++)t.push(A[e+r*4>>2]);return t};function dt(n,e,t,r,a,s){var u=e.length;u<2&&D("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var l=e[1]!==null&&t!==null,d=!1,f=1;f<e.length;++f)if(e[f]!==null&&e[f].destructorFunction===void 0){d=!0;break}var m=e[0].name!=="void",w=u-2,C=new Array(w),S=[],j=[];return function(){arguments.length!==w&&D(`function${n}calledwith${arguments.length}arguments,expected${w}`),j.length=0;var H;S.length=l?2:1,S[0]=a,l&&(H=e[1].toWireType(j,this),S[1]=H);for(var V=0;V<w;++V)C[V]=e[V+2].toWireType(j,arguments[V]),S.push(C[V]);var L=r.apply(null,S);function g(p){if(d)kt(j);else for(var T=l?1:2;T<e.length;T++){var N=T===1?H:C[T-2];e[T].destructorFunction!==null&&e[T].destructorFunction(N)}if(m)return e[0].fromWireType(p)}return g(L)}}var Zr=(n,e,t,r,a,s)=>{var u=lt(e,t);a=ee(r,a),de([],[n],function(l){l=l[0];var d=`constructor${l.name}`;if(l.registeredClass.constructor_body===void 0&&(l.registeredClass.constructor_body=[]),l.registeredClass.constructor_body[e-1]!==void 0)throw new ve(`Cannotregistermultipleconstructorswithidenticalnumberofparameters(${e-1})forclass'${l.name}'!Overloadresolutioniscurrentlyonlyperformedusingtheparametercount,notactualtypeinfo!`);return l.registeredClass.constructor_body[e-1]=()=>{Ue(`Cannotconstruct${l.name}duetounboundtypes`,u)},de([],u,f=>(f.splice(1,0,null),l.registeredClass.constructor_body[e-1]=dt(d,f,null,a,s),[])),[]})},Nt=n=>{n=n.trim();const e=n.indexOf("(");return e!==-1?(oe(n[n.length-1]==")","Parentheses for argument names should match."),n.substr(0,e)):n},Qr=(n,e,t,r,a,s,u,l,d)=>{var f=lt(t,r);e=G(e),e=Nt(e),s=ee(a,s),de([],[n],function(m){m=m[0];var w=`${m.name}.${e}`;e.startsWith("@@")&&(e=Symbol[e.substring(2)]),l&&m.registeredClass.pureVirtualFunctions.push(e);function C(){Ue(`Cannotcall${w}duetounboundtypes`,f)}var S=m.registeredClass.instancePrototype,j=S[e];return j===void 0||j.overloadTable===void 0&&j.className!==m.name&&j.argCount===t-2?(C.argCount=t-2,C.className=m.name,S[e]=C):(It(S,e,w),S[e].overloadTable[t-2]=C),de([],f,function(H){var V=dt(w,H,m,s,u);return S[e].overloadTable===void 0?(V.argCount=t-2,S[e]=V):S[e].overloadTable[t-2]=V,[]}),[]})};function Kr(){Object.assign(Bt.prototype,{get(n){return this.allocated[n]},has(n){return this.allocated[n]!==void 0},allocate(n){var e=this.freelist.pop()||this.allocated.length;return this.allocated[e]=n,e},free(n){this.allocated[n]=void 0,this.freelist.push(n)}})}function Bt(){thi