(()=>{var __webpack_modules__={96302(e,t,i){var n=i(65606),r=function(){var t,r,a,s={},o=(()=>{var a="u">typeof document&&document.currentScript?document.currentScript.src:void 0;return a=a||"/index.js",function(o){if(o=o||{},d||(d=void 0!==o?o:{}),d.ready=new Promise(function(e,t){c=e,h=t}),"u">typeof window)f=function(e){window.crypto.getRandomValues(e)};else if(e.exports){var l=i(91565);f=function(e){var t=l.randomBytes(e.length);e.set(t)}}else throw Error("Cannot find global to attach library to");if("u">typeof OLM_OPTIONS)for(var u in OLM_OPTIONS)OLM_OPTIONS.hasOwnProperty(u)&&(d[u]=OLM_OPTIONS[u]);d.onRuntimeInitialized=function(){eD=d._olm_error(),s.PRIVATE_KEY_LENGTH=d._olm_pk_private_key_length(),t&&t()},d.onAbort=function(e){r&&r(e)};var d,c,h,f,m,g,p,_,b,y,F=Object.assign({},d),k="object"==typeof window,w="function"==typeof importScripts,C="object"==typeof n&&"object"==typeof n.versions&&"string"==typeof n.versions.node,A="";C?(A=w?i(57975).dirname(A)+"/":"//",y=()=>{b||(_=i(24972),b=i(57975))},m=function(e,t){return y(),e=b.normalize(e),_.readFileSync(e,t?void 0:"utf8")},p=e=>((e=m(e,!0)).buffer||(e=new Uint8Array(e)),e),g=(e,t,i)=>{y(),e=b.normalize(e),_.readFile(e,function(e,n){e?i(e):t(n.buffer)})},1typeof document&&document.currentScript&&(A=document.currentScript.src),a&&(A=a),A=0!==A.indexOf("blob:")?A.substr(0,A.replace(/[?#].*/,"").lastIndexOf("/")+1):"",m=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},w&&(p=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),g=(e,t,i)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):i()},n.onerror=i,n.send(null)}),d.print||console.log.bind(console);var E=d.printErr||console.warn.bind(console);Object.assign(d,F),F=null,d.wasmBinary&&(S=d.wasmBinary),d.noExitRuntime,"object"!=typeof WebAssembly&&H("no native wasm support detected");var S,x,D=!1,T="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function M(e,t){if(e){var i=ey,n=e+t;for(t=e;i[t]&&!(t>=n);)++t;if(16(r=224==(240&r)?(15&r)<<12|a<<6|s:(7&r)<<18|a<<12|s<<6|63&i[e++])?n+=String.fromCharCode(r):(r-=65536,n+=String.fromCharCode(55296|r>>10,56320|1023&r))}}else n+=String.fromCharCode(r)}e=n}}else e="";return e}function I(e,t,i,n){if(!(0=s&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),127>=s){if(i>=n)break;t[i++]=s}else{if(2047>=s){if(i+1>=n)break;t[i++]=192|s>>6}else{if(65535>=s){if(i+2>=n)break;t[i++]=224|s>>12}else{if(i+3>=n)break;t[i++]=240|s>>18,t[i++]=128|s>>12&63}t[i++]=128|s>>6&63}t[i++]=128|63&s}}return t[i]=0,i-r}function B(e,t,i){return I(e,ey,t,i)}function P(e){for(var t=0,i=0;i=n?t++:2047>=n?t+=2:55296<=n&&57343>=n?(t+=4,++i):t+=3}return t}function N(){var e=x.buffer;ev=e,d.HEAP8=eb=new Int8Array(e),d.HEAP16=eF=new Int16Array(e),d.HEAP32=ek=new Int32Array(e),d.HEAPU8=ey=new Uint8Array(e),d.HEAPU16=new Uint16Array(e),d.HEAPU32=ew=new Uint32Array(e),d.HEAPF32=eC=new Float32Array(e),d.HEAPF64=eA=new Float64Array(e)}var R=[],j=[],O=[];function z(){var e=d.preRun.shift();R.unshift(e)}var q=0,W=null,V=null;function H(e){throw d.onAbort&&d.onAbort(e),E(e="Aborted("+e+")"),D=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),h(e),e}function $(){return eE.startsWith("data:application/octet-stream;base64,")}if(eE="olm.wasm",!$()){var G=eE;eE=d.locateFile?d.locateFile(G,A):A+G}function X(){var e=eE;try{if(e==eE&&S)return new Uint8Array(S);if(p)return p(e);throw"both async and sync fetching of the wasm failed"}catch(e){H(e)}}function K(){if(!S&&(k||w)){if("function"==typeof fetch&&!eE.startsWith("file://"))return fetch(eE,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+eE+"'";return e.arrayBuffer()}).catch(function(){return X()});if(g)return new Promise(function(e,t){g(eE,function(t){e(new Uint8Array(t))},t)})}return Promise.resolve().then(function(){return X()})}function Y(e){for(;0>1];case"i32":case"i64":return ek[e>>2];case"float":return eC[e>>2];case"double":return eA[e>>3];case"*":return ew[e>>2];default:H("invalid type for getValue: "+t)}return null}function Z(e){var t="i8";switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":eb[0|e]=0;break;case"i16":eF[e>>1]=0;break;case"i32":ek[e>>2]=0;break;case"i64":eS=[0,0],ek[e>>2]=eS[0],ek[e+4>>2]=eS[1];break;case"float":eC[e>>2]=0;break;case"double":eA[e>>3]=0;break;case"*":ew[e>>2]=0;break;default:H("invalid type for setValue: "+t)}}function J(e,t,i){for(var n=0;n>>=0))return!1;for(var i=1;4>=i;i*=2){var n=t*(1+.2/i);n=Math.min(n,e+0x6000000);var r=Math;n=Math.max(e,n),r=r.min.call(r,0x80000000,n+(65536-n%65536)%65536);e:{try{x.grow(r-ev.byteLength+65535>>>16),N();var a=1;break e}catch(e){}a=void 0}if(a)return!0}return!1}};!function(){function e(e){d.asm=e.exports,x=d.asm.c,N(),j.unshift(d.asm.d),q--,d.monitorRunDependencies&&d.monitorRunDependencies(q),0==q&&(null!==W&&(clearInterval(W),W=null),V&&(e=V,V=null,e()))}function t(t){e(t.instance)}function i(e){return K().then(function(e){return WebAssembly.instantiate(e,n)}).then(function(e){return e}).then(e,function(e){E("failed to asynchronously prepare wasm: "+e),H(e)})}var n={a:et};if(q++,d.monitorRunDependencies&&d.monitorRunDependencies(q),d.instantiateWasm)try{return d.instantiateWasm(n,e)}catch(e){return E("Module.instantiateWasm callback failed with error: "+e),!1}(function(){return S||"function"!=typeof WebAssembly.instantiateStreaming||$()||eE.startsWith("file://")||C||"function"!=typeof fetch?i(t):fetch(eE,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,n).then(t,function(e){return E("wasm streaming compile failed: "+e),E("falling back to ArrayBuffer instantiation"),i(t)})})})().catch(h)}(),d.___wasm_call_ctors=function(){return(d.___wasm_call_ctors=d.asm.d).apply(null,arguments)},d._olm_get_library_version=function(){return(d._olm_get_library_version=d.asm.f).apply(null,arguments)},d._olm_error=function(){return(d._olm_error=d.asm.g).apply(null,arguments)},d._olm_account_last_error=function(){return(d._olm_account_last_error=d.asm.h).apply(null,arguments)},d.__olm_error_to_string=function(){return(d.__olm_error_to_string=d.asm.i).apply(null,arguments)},d._olm_account_last_error_code=function(){return(d._olm_account_last_error_code=d.asm.j).apply(null,arguments)},d._olm_session_last_error=function(){return(d._olm_session_last_error=d.asm.k).apply(null,arguments)},d._olm_session_last_error_code=function(){return(d._olm_session_last_error_code=d.asm.l).apply(null,arguments)},d._olm_utility_last_error=function(){return(d._olm_utility_last_error=d.asm.m).apply(null,arguments)},d._olm_utility_last_error_code=function(){return(d._olm_utility_last_error_code=d.asm.n).apply(null,arguments)},d._olm_account_size=function(){return(d._olm_account_size=d.asm.o).apply(null,arguments)},d._olm_session_size=function(){return(d._olm_session_size=d.asm.p).apply(null,arguments)},d._olm_utility_size=function(){return(d._olm_utility_size=d.asm.q).apply(null,arguments)},d._olm_account=function(){return(d._olm_account=d.asm.r).apply(null,arguments)},d._olm_session=function(){return(d._olm_session=d.asm.s).apply(null,arguments)},d._olm_utility=function(){return(d._olm_utility=d.asm.t).apply(null,arguments)},d._olm_clear_account=function(){return(d._olm_clear_account=d.asm.u).apply(null,arguments)},d._olm_clear_session=function(){return(d._olm_clear_session=d.asm.v).apply(null,arguments)},d._olm_clear_utility=function(){return(d._olm_clear_utility=d.asm.w).apply(null,arguments)},d._olm_pickle_account_length=function(){return(d._olm_pickle_account_length=d.asm.x).apply(null,arguments)},d._olm_pickle_session_length=function(){return(d._olm_pickle_session_length=d.asm.y).apply(null,arguments)},d._olm_pickle_account=function(){return(d._olm_pickle_account=d.asm.z).apply(null,arguments)},d._olm_pickle_session=function(){return(d._olm_pickle_session=d.asm.A).apply(null,arguments)},d._olm_unpickle_account=function(){return(d._olm_unpickle_account=d.asm.B).apply(null,arguments)},d._olm_unpickle_session=function(){return(d._olm_unpickle_session=d.asm.C).apply(null,arguments)},d._olm_create_account_random_length=function(){return(d._olm_create_account_random_length=d.asm.D).apply(null,arguments)},d._olm_create_account=function(){return(d._olm_create_account=d.asm.E).apply(null,arguments)},d._olm_account_identity_keys_length=function(){return(d._olm_account_identity_keys_length=d.asm.F).apply(null,arguments)},d._olm_account_identity_keys=function(){return(d._olm_account_identity_keys=d.asm.G).apply(null,arguments)},d._olm_account_signature_length=function(){return(d._olm_account_signature_length=d.asm.H).apply(null,arguments)},d._olm_account_sign=function(){return(d._olm_account_sign=d.asm.I).apply(null,arguments)},d._olm_account_one_time_keys_length=function(){return(d._olm_account_one_time_keys_length=d.asm.J).apply(null,arguments)},d._olm_account_one_time_keys=function(){return(d._olm_account_one_time_keys=d.asm.K).apply(null,arguments)},d._olm_account_mark_keys_as_published=function(){return(d._olm_account_mark_keys_as_published=d.asm.L).apply(null,arguments)},d._olm_account_max_number_of_one_time_keys=function(){return(d._olm_account_max_number_of_one_time_keys=d.asm.M).apply(null,arguments)},d._olm_account_generate_one_time_keys_random_length=function(){return(d._olm_account_generate_one_time_keys_random_length=d.asm.N).apply(null,arguments)},d._olm_account_generate_one_time_keys=function(){return(d._olm_account_generate_one_time_keys=d.asm.O).apply(null,arguments)},d._olm_account_generate_fallback_key_random_length=function(){return(d._olm_account_generate_fallback_key_random_length=d.asm.P).apply(null,arguments)},d._olm_account_generate_fallback_key=function(){return(d._olm_account_generate_fallback_key=d.asm.Q).apply(null,arguments)},d._olm_account_fallback_key_length=function(){return(d._olm_account_fallback_key_length=d.asm.R).apply(null,arguments)},d._olm_account_fallback_key=function(){return(d._olm_account_fallback_key=d.asm.S).apply(null,arguments)},d._olm_account_unpublished_fallback_key_length=function(){return(d._olm_account_unpublished_fallback_key_length=d.asm.T).apply(null,arguments)},d._olm_account_unpublished_fallback_key=function(){return(d._olm_account_unpublished_fallback_key=d.asm.U).apply(null,arguments)},d._olm_account_forget_old_fallback_key=function(){return(d._olm_account_forget_old_fallback_key=d.asm.V).apply(null,arguments)},d._olm_create_outbound_session_random_length=function(){return(d._olm_create_outbound_session_random_length=d.asm.W).apply(null,arguments)},d._olm_create_outbound_session=function(){return(d._olm_create_outbound_session=d.asm.X).apply(null,arguments)},d._olm_create_inbound_session=function(){return(d._olm_create_inbound_session=d.asm.Y).apply(null,arguments)},d._olm_create_inbound_session_from=function(){return(d._olm_create_inbound_session_from=d.asm.Z).apply(null,arguments)},d._olm_session_id_length=function(){return(d._olm_session_id_length=d.asm._).apply(null,arguments)},d._olm_session_id=function(){return(d._olm_session_id=d.asm.$).apply(null,arguments)},d._olm_session_has_received_message=function(){return(d._olm_session_has_received_message=d.asm.aa).apply(null,arguments)},d._olm_session_describe=function(){return(d._olm_session_describe=d.asm.ba).apply(null,arguments)},d._olm_matches_inbound_session=function(){return(d._olm_matches_inbound_session=d.asm.ca).apply(null,arguments)},d._olm_matches_inbound_session_from=function(){return(d._olm_matches_inbound_session_from=d.asm.da).apply(null,arguments)},d._olm_remove_one_time_keys=function(){return(d._olm_remove_one_time_keys=d.asm.ea).apply(null,arguments)},d._olm_encrypt_message_type=function(){return(d._olm_encrypt_message_type=d.asm.fa).apply(null,arguments)},d._olm_encrypt_random_length=function(){return(d._olm_encrypt_random_length=d.asm.ga).apply(null,arguments)},d._olm_encrypt_message_length=function(){return(d._olm_encrypt_message_length=d.asm.ha).apply(null,arguments)},d._olm_encrypt=function(){return(d._olm_encrypt=d.asm.ia).apply(null,arguments)},d._olm_decrypt_max_plaintext_length=function(){return(d._olm_decrypt_max_plaintext_length=d.asm.ja).apply(null,arguments)},d._olm_decrypt=function(){return(d._olm_decrypt=d.asm.ka).apply(null,arguments)},d._olm_sha256_length=function(){return(d._olm_sha256_length=d.asm.la).apply(null,arguments)},d._olm_sha256=function(){return(d._olm_sha256=d.asm.ma).apply(null,arguments)},d._olm_ed25519_verify=function(){return(d._olm_ed25519_verify=d.asm.na).apply(null,arguments)},d._olm_pk_encryption_last_error=function(){return(d._olm_pk_encryption_last_error=d.asm.oa).apply(null,arguments)},d._olm_pk_encryption_last_error_code=function(){return(d._olm_pk_encryption_last_error_code=d.asm.pa).apply(null,arguments)},d._olm_pk_encryption_size=function(){return(d._olm_pk_encryption_size=d.asm.qa).apply(null,arguments)},d._olm_pk_encryption=function(){return(d._olm_pk_encryption=d.asm.ra).apply(null,arguments)},d._olm_clear_pk_encryption=function(){return(d._olm_clear_pk_encryption=d.asm.sa).apply(null,arguments)},d._olm_pk_encryption_set_recipient_key=function(){return(d._olm_pk_encryption_set_recipient_key=d.asm.ta).apply(null,arguments)},d._olm_pk_key_length=function(){return(d._olm_pk_key_length=d.asm.ua).apply(null,arguments)},d._olm_pk_ciphertext_length=function(){return(d._olm_pk_ciphertext_length=d.asm.va).apply(null,arguments)},d._olm_pk_mac_length=function(){return(d._olm_pk_mac_length=d.asm.wa).apply(null,arguments)},d._olm_pk_encrypt_random_length=function(){return(d._olm_pk_encrypt_random_length=d.asm.xa).apply(null,arguments)},d._olm_pk_encrypt=function(){return(d._olm_pk_encrypt=d.asm.ya).apply(null,arguments)},d._olm_pk_decryption_last_error=function(){return(d._olm_pk_decryption_last_error=d.asm.za).apply(null,arguments)},d._olm_pk_decryption_last_error_code=function(){return(d._olm_pk_decryption_last_error_code=d.asm.Aa).apply(null,arguments)},d._olm_pk_decryption_size=function(){return(d._olm_pk_decryption_size=d.asm.Ba).apply(null,arguments)},d._olm_pk_decryption=function(){return(d._olm_pk_decryption=d.asm.Ca).apply(null,arguments)},d._olm_clear_pk_decryption=function(){return(d._olm_clear_pk_decryption=d.asm.Da).apply(null,arguments)},d._olm_pk_private_key_length=function(){return(d._olm_pk_private_key_length=d.asm.Ea).apply(null,arguments)},d._olm_pk_generate_key_random_length=function(){return(d._olm_pk_generate_key_random_length=d.asm.Fa).apply(null,arguments)},d._olm_pk_key_from_private=function(){return(d._olm_pk_key_from_private=d.asm.Ga).apply(null,arguments)},d._olm_pk_generate_key=function(){return(d._olm_pk_generate_key=d.asm.Ha).apply(null,arguments)},d._olm_pickle_pk_decryption_length=function(){return(d._olm_pickle_pk_decryption_length=d.asm.Ia).apply(null,arguments)},d._olm_pickle_pk_decryption=function(){return(d._olm_pickle_pk_decryption=d.asm.Ja).apply(null,arguments)},d._olm_unpickle_pk_decryption=function(){return(d._olm_unpickle_pk_decryption=d.asm.Ka).apply(null,arguments)},d._olm_pk_max_plaintext_length=function(){return(d._olm_pk_max_plaintext_length=d.asm.La).apply(null,arguments)},d._olm_pk_decrypt=function(){return(d._olm_pk_decrypt=d.asm.Ma).apply(null,arguments)},d._olm_pk_get_private_key=function(){return(d._olm_pk_get_private_key=d.asm.Na).apply(null,arguments)},d._olm_pk_signing_size=function(){return(d._olm_pk_signing_size=d.asm.Oa).apply(null,arguments)},d._olm_pk_signing=function(){return(d._olm_pk_signing=d.asm.Pa).apply(null,arguments)},d._olm_pk_signing_last_error=function(){return(d._olm_pk_signing_last_error=d.asm.Qa).apply(null,arguments)},d._olm_pk_signing_last_error_code=function(){return(d._olm_pk_signing_last_error_code=d.asm.Ra).apply(null,arguments)},d._olm_clear_pk_signing=function(){return(d._olm_clear_pk_signing=d.asm.Sa).apply(null,arguments)},d._olm_pk_signing_seed_length=function(){return(d._olm_pk_signing_seed_length=d.asm.Ta).apply(null,arguments)},d._olm_pk_signing_public_key_length=function(){return(d._olm_pk_signing_public_key_length=d.asm.Ua).apply(null,arguments)},d._olm_pk_signing_key_from_seed=function(){return(d._olm_pk_signing_key_from_seed=d.asm.Va).apply(null,arguments)},d._olm_pk_signature_length=function(){return(d._olm_pk_signature_length=d.asm.Wa).apply(null,arguments)},d._olm_pk_sign=function(){return(d._olm_pk_sign=d.asm.Xa).apply(null,arguments)},d._olm_inbound_group_session_size=function(){return(d._olm_inbound_group_session_size=d.asm.Ya).apply(null,arguments)},d._olm_inbound_group_session=function(){return(d._olm_inbound_group_session=d.asm.Za).apply(null,arguments)},d._olm_clear_inbound_group_session=function(){return(d._olm_clear_inbound_group_session=d.asm._a).apply(null,arguments)},d._olm_inbound_group_session_last_error=function(){return(d._olm_inbound_group_session_last_error=d.asm.$a).apply(null,arguments)},d._olm_inbound_group_session_last_error_code=function(){return(d._olm_inbound_group_session_last_error_code=d.asm.ab).apply(null,arguments)},d._olm_init_inbound_group_session=function(){return(d._olm_init_inbound_group_session=d.asm.bb).apply(null,arguments)},d._olm_import_inbound_group_session=function(){return(d._olm_import_inbound_group_session=d.asm.cb).apply(null,arguments)},d._olm_pickle_inbound_group_session_length=function(){return(d._olm_pickle_inbound_group_session_length=d.asm.db).apply(null,arguments)},d._olm_pickle_inbound_group_session=function(){return(d._olm_pickle_inbound_group_session=d.asm.eb).apply(null,arguments)},d._olm_unpickle_inbound_group_session=function(){return(d._olm_unpickle_inbound_group_session=d.asm.fb).apply(null,arguments)},d._olm_group_decrypt_max_plaintext_length=function(){return(d._olm_group_decrypt_max_plaintext_length=d.asm.gb).apply(null,arguments)},d._olm_group_decrypt=function(){return(d._olm_group_decrypt=d.asm.hb).apply(null,arguments)},d._olm_inbound_group_session_id_length=function(){return(d._olm_inbound_group_session_id_length=d.asm.ib).apply(null,arguments)},d._olm_inbound_group_session_id=function(){return(d._olm_inbound_group_session_id=d.asm.jb).apply(null,arguments)},d._olm_inbound_group_session_first_known_index=function(){return(d._olm_inbound_group_session_first_known_index=d.asm.kb).apply(null,arguments)},d._olm_inbound_group_session_is_verified=function(){return(d._olm_inbound_group_session_is_verified=d.asm.lb).apply(null,arguments)},d._olm_export_inbound_group_session_length=function(){return(d._olm_export_inbound_group_session_length=d.asm.mb).apply(null,arguments)},d._olm_export_inbound_group_session=function(){return(d._olm_export_inbound_group_session=d.asm.nb).apply(null,arguments)},d._olm_outbound_group_session_size=function(){return(d._olm_outbound_group_session_size=d.asm.ob).apply(null,arguments)},d._olm_outbound_group_session=function(){return(d._olm_outbound_group_session=d.asm.pb).apply(null,arguments)},d._olm_clear_outbound_group_session=function(){return(d._olm_clear_outbound_group_session=d.asm.qb).apply(null,arguments)},d._olm_outbound_group_session_last_error=function(){return(d._olm_outbound_group_session_last_error=d.asm.rb).apply(null,arguments)},d._olm_outbound_group_session_last_error_code=function(){return(d._olm_outbound_group_session_last_error_code=d.asm.sb).apply(null,arguments)},d._olm_pickle_outbound_group_session_length=function(){return(d._olm_pickle_outbound_group_session_length=d.asm.tb).apply(null,arguments)},d._olm_pickle_outbound_group_session=function(){return(d._olm_pickle_outbound_group_session=d.asm.ub).apply(null,arguments)},d._olm_unpickle_outbound_group_session=function(){return(d._olm_unpickle_outbound_group_session=d.asm.vb).apply(null,arguments)},d._olm_init_outbound_group_session_random_length=function(){return(d._olm_init_outbound_group_session_random_length=d.asm.wb).apply(null,arguments)},d._olm_init_outbound_group_session=function(){return(d._olm_init_outbound_group_session=d.asm.xb).apply(null,arguments)},d._olm_group_encrypt_message_length=function(){return(d._olm_group_encrypt_message_length=d.asm.yb).apply(null,arguments)},d._olm_group_encrypt=function(){return(d._olm_group_encrypt=d.asm.zb).apply(null,arguments)},d._olm_outbound_group_session_id_length=function(){return(d._olm_outbound_group_session_id_length=d.asm.Ab).apply(null,arguments)},d._olm_outbound_group_session_id=function(){return(d._olm_outbound_group_session_id=d.asm.Bb).apply(null,arguments)},d._olm_outbound_group_session_message_index=function(){return(d._olm_outbound_group_session_message_index=d.asm.Cb).apply(null,arguments)},d._olm_outbound_group_session_key_length=function(){return(d._olm_outbound_group_session_key_length=d.asm.Db).apply(null,arguments)},d._olm_outbound_group_session_key=function(){return(d._olm_outbound_group_session_key=d.asm.Eb).apply(null,arguments)},d._olm_sas_last_error=function(){return(d._olm_sas_last_error=d.asm.Fb).apply(null,arguments)},d._olm_sas_last_error_code=function(){return(d._olm_sas_last_error_code=d.asm.Gb).apply(null,arguments)},d._olm_sas_size=function(){return(d._olm_sas_size=d.asm.Hb).apply(null,arguments)},d._olm_sas=function(){return(d._olm_sas=d.asm.Ib).apply(null,arguments)},d._olm_clear_sas=function(){return(d._olm_clear_sas=d.asm.Jb).apply(null,arguments)},d._olm_create_sas_random_length=function(){return(d._olm_create_sas_random_length=d.asm.Kb).apply(null,arguments)},d._olm_create_sas=function(){return(d._olm_create_sas=d.asm.Lb).apply(null,arguments)},d._olm_sas_pubkey_length=function(){return(d._olm_sas_pubkey_length=d.asm.Mb).apply(null,arguments)},d._olm_sas_get_pubkey=function(){return(d._olm_sas_get_pubkey=d.asm.Nb).apply(null,arguments)},d._olm_sas_set_their_key=function(){return(d._olm_sas_set_their_key=d.asm.Ob).apply(null,arguments)},d._olm_sas_is_their_key_set=function(){return(d._olm_sas_is_their_key_set=d.asm.Pb).apply(null,arguments)},d._olm_sas_generate_bytes=function(){return(d._olm_sas_generate_bytes=d.asm.Qb).apply(null,arguments)},d._olm_sas_mac_length=function(){return(d._olm_sas_mac_length=d.asm.Rb).apply(null,arguments)},d._olm_sas_calculate_mac_fixed_base64=function(){return(d._olm_sas_calculate_mac_fixed_base64=d.asm.Sb).apply(null,arguments)},d._olm_sas_calculate_mac=function(){return(d._olm_sas_calculate_mac=d.asm.Tb).apply(null,arguments)},d._olm_sas_calculate_mac_long_kdf=function(){return(d._olm_sas_calculate_mac_long_kdf=d.asm.Ub).apply(null,arguments)},d._malloc=function(){return(d._malloc=d.asm.Vb).apply(null,arguments)},d._free=function(){return(d._free=d.asm.Wb).apply(null,arguments)};var ei=d.stackSave=function(){return(ei=d.stackSave=d.asm.Xb).apply(null,arguments)},en=d.stackRestore=function(){return(en=d.stackRestore=d.asm.Yb).apply(null,arguments)},er=d.stackAlloc=function(){return(er=d.stackAlloc=d.asm.Zb).apply(null,arguments)};function ea(){function e(){if(!ex&&(ex=!0,d.calledRun=!0,!D)){if(Y(j),c(d),d.onRuntimeInitialized&&d.onRuntimeInitialized(),d.postRun)for("function"==typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;){var e=d.postRun.shift();O.unshift(e)}Y(O)}}if(!(0typeof window&&(window.Olm=r),e.exports=r},3402(e,t,i){"use strict";let n,r,a,s,o,l,u,d,c,h,f,m,g,p,_,b,y;i.r(t),i.d(t,{version:()=>sc,createCommentVNode:()=>aU,BaseTransition:()=>iB,hydrateOnIdle:()=>i5,queuePostFlushCb:()=>tV,shallowRef:()=>e1,unref:()=>e6,vModelSelect:()=>oV,setTransitionHooks:()=>ij,callWithAsyncErrorHandling:()=>tT,createElementVNode:()=>aB,normalizeProps:()=>F.normalizeProps,createSlots:()=>nL,DeprecationTypes:()=>sb,Text:()=>ap,camelize:()=>F.camelize,renderSlot:()=>nN,initCustomFormatter:()=>sl,triggerRef:()=>e4,Teleport:()=>iw,warn:()=>sh,customRef:()=>te,isMemoSame:()=>sd,defineCustomElement:()=>ov,markRaw:()=>eY,mergeModels:()=>n2,onActivated:()=>nl,EffectScope:()=>k,onMounted:()=>n_,useId:()=>iU,h:()=>so,isShallow:()=>eG,withAsyncContext:()=>n4,nodeOps:()=>sE,compatUtils:()=>sv,TriggerOpTypes:()=>tu,normalizeStyle:()=>F.normalizeStyle,popScopeId:()=>t4,toValue:()=>e5,cloneVNode:()=>aR,defineExpose:()=>n$,ReactiveEffect:()=>S,useShadowRoot:()=>ow,getCurrentScope:()=>C,useCssModule:()=>oC,inject:()=>ie,onBeforeUnmount:()=>ny,useSlots:()=>nQ,watchEffect:()=>ia,TransitionGroup:()=>oD,mergeProps:()=>aH,createApp:()=>o7,onServerPrefetch:()=>nk,withModifiers:()=>o0,createElementBlock:()=>aE,createRenderer:()=>r1,createVNode:()=>aP,normalizeClass:()=>F.normalizeClass,openBlock:()=>aF,render:()=>o8,defineModel:()=>nK,hasInjectionContext:()=>it,hydrateOnVisible:()=>i9,useCssVars:()=>s0,useTransitionState:()=>ix,capitalize:()=>F.capitalize,VueElement:()=>oF,getCurrentWatcher:()=>th,Transition:()=>sI,hydrate:()=>o9,onBeforeUpdate:()=>nv,createHydrationRenderer:()=>r2,isRef:()=>eJ,vModelText:()=>oz,assertNumber:()=>tE,guardReactiveProps:()=>aN,vModelDynamic:()=>oX,toHandlers:()=>nj,isReadonly:()=>e$,defineAsyncComponent:()=>nn,effectScope:()=>w,isRuntimeOnly:()=>a5,toHandlerKey:()=>F.toHandlerKey,useSSRContext:()=>ir,BaseTransitionPropsValidators:()=>iT,withDirectives:()=>t8,toRaw:()=>eK,reactive:()=>ez,defineComponent:()=>iz,toRefs:()=>tt,withCtx:()=>t5,hydrateOnMediaQuery:()=>i7,Static:()=>av,pushScopeId:()=>t3,createPropsRestProxy:()=>n3,vShow:()=>sY,readonly:()=>eq,defineSSRCustomElement:()=>ob,TrackOpTypes:()=>tl,ErrorTypeStrings:()=>sf,ssrContextKey:()=>ii,onScopeDispose:()=>A,watchPostEffect:()=>is,registerRuntimeCompiler:()=>a6,handleError:()=>tM,resolveComponent:()=>nx,defineOptions:()=>nG,resolveDirective:()=>nM,onErrorCaptured:()=>nA,Fragment:()=>ag,patchProp:()=>og,toDisplayString:()=>F.toDisplayString,withScopeId:()=>t6,transformVNodeArgs:()=>aT,effect:()=>O,nextTick:()=>tz,ref:()=>e0,Comment:()=>a_,initDirectivesForSSR:()=>lr,createBlock:()=>aS,onRenderTracked:()=>nC,onUnmounted:()=>nF,resolveFilter:()=>s_,shallowReadonly:()=>eW,onWatcherCleanup:()=>tf,watchSyncEffect:()=>io,withMemo:()=>su,isVNode:()=>ax,onUpdated:()=>nb,setDevtoolsHook:()=>sg,vModelRadio:()=>oW,toRef:()=>tr,createStaticVNode:()=>az,defineEmits:()=>nH,ErrorCodes:()=>tS,proxyRefs:()=>e9,devtools:()=>sm,shallowReactive:()=>eU,withKeys:()=>o2,provide:()=>t7,setBlockTracking:()=>aC,onBeforeMount:()=>np,createSSRApp:()=>le,getCurrentInstance:()=>aQ,vModelCheckbox:()=>oU,useHost:()=>ok,callWithErrorHandling:()=>tD,createTextVNode:()=>aO,watch:()=>il,Suspense:()=>ar,resolveTransitionHooks:()=>iL,onDeactivated:()=>nu,ssrUtils:()=>sp,defineSlots:()=>nX,stop:()=>z,renderList:()=>nP,withDefaults:()=>nY,isReactive:()=>eH,useAttrs:()=>nZ,KeepAlive:()=>ns,useTemplateRef:()=>iW,hydrateOnInteraction:()=>ne,onRenderTriggered:()=>nw,isProxy:()=>eX,getTransitionRawChildren:()=>iO,mergeDefaults:()=>n1,resolveDynamicComponent:()=>nT,useModel:()=>rm,defineProps:()=>nV,computed:()=>ss});var F=i(90033);class k{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=n,!e&&n&&(this.index=(n.scopes||(n.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0&&0==--this._on&&(n=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,i;for(t=0,this._active=!1,i=this.effects.length;t0)){if(s){let e=s;for(s=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(;a;){let t=a;for(a=void 0;t;){let i=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=i}}if(e)throw e}}function I(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function B(e){let t,i=e.depsTail,n=i;for(;n;){let e=n.prevDep;-1===n.version?(n===i&&(i=e),R(n),j(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=e}e.deps=t,e.depsTail=i}function P(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(N(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function N(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===G)||(e.globalVersion=G,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!P(e))))return;e.flags|=2;let t=e.dep,i=r,n=q;r=e,q=!0;try{I(e);let i=e.fn(e._value);(0===t.version||(0,F.hasChanged)(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(e){throw t.version++,e}finally{r=i,q=n,B(e),e.flags&=-3}}function R(e,t=!1){let{dep:i,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),i.subs===e&&(i.subs=n,!n&&i.computed)){i.computed.flags&=-5;for(let e=i.computed.deps;e;e=e.nextDep)R(e,!0)}t||--i.sc||!i.map||i.map.delete(i.key)}function j(e){let{prevDep:t,nextDep:i}=e;t&&(t.nextDep=i,e.prevDep=void 0),i&&(i.prevDep=t,e.nextDep=void 0)}function O(e,t){e.effect instanceof S&&(e=e.effect.fn);let i=new S(e);t&&(0,F.extend)(i,t);try{i.run()}catch(e){throw i.stop(),e}let n=i.run.bind(i);return n.effect=i,n}function z(e){e.effect.stop()}let q=!0,W=[];function V(){W.push(q),q=!1}function H(){let e=W.pop();q=void 0===e||e}function $(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=r;r=void 0;try{t()}finally{r=e}}}let G=0;class X{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class K{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!r||!q||r===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==r)t=this.activeLink=new X(r,this),r.deps?(t.prevDep=r.depsTail,r.depsTail.nextDep=t,r.depsTail=t):r.deps=r.depsTail=t,Y(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=r.depsTail,t.nextDep=void 0,r.depsTail.nextDep=t,r.depsTail=t,r.deps===t&&(r.deps=e)}return t}trigger(e){this.version++,G++,this.notify(e)}notify(e){T();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{M()}}}function Y(e){if(e.dep.sc++,4&e.sub.flags){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Y(e)}let i=e.dep.subs;i!==e&&(e.prevSub=i,i&&(i.nextSub=e)),e.dep.subs=e}}let Q=new WeakMap,Z=Symbol(""),J=Symbol(""),ee=Symbol("");function et(e,t,i){if(q&&r){let t=Q.get(e);t||Q.set(e,t=new Map);let n=t.get(i);n||(t.set(i,n=new K),n.map=t,n.key=i),n.track()}}function ei(e,t,i,n,r,a){let s=Q.get(e);if(!s)return void G++;let o=e=>{e&&e.trigger()};if(T(),"clear"===t)s.forEach(o);else{let r=(0,F.isArray)(e),a=r&&(0,F.isIntegerKey)(i);if(r&&"length"===i){let e=Number(n);s.forEach((t,i)=>{("length"===i||i===ee||!(0,F.isSymbol)(i)&&i>=e)&&o(t)})}else switch((void 0!==i||s.has(void 0))&&o(s.get(i)),a&&o(s.get(ee)),t){case"add":r?a&&o(s.get("length")):(o(s.get(Z)),(0,F.isMap)(e)&&o(s.get(J)));break;case"delete":!r&&(o(s.get(Z)),(0,F.isMap)(e)&&o(s.get(J)));break;case"set":(0,F.isMap)(e)&&o(s.get(Z))}}M()}function en(e,t){let i=Q.get(e);return i&&i.get(t)}function er(e){let t=eK(e);return t===e?t:(et(t,"iterate",ee),eG(e)?t:t.map(eQ))}function ea(e){return et(e=eK(e),"iterate",ee),e}function es(e,t){return e$(e)?eH(e)?eZ(eQ(t)):eZ(t):eQ(t)}let eo={__proto__:null,[Symbol.iterator](){return el(this,Symbol.iterator,e=>es(this,e))},concat(...e){return er(this).concat(...e.map(e=>(0,F.isArray)(e)?er(e):e))},entries(){return el(this,"entries",e=>(e[1]=es(this,e[1]),e))},every(e,t){return ed(this,"every",e,t,void 0,arguments)},filter(e,t){return ed(this,"filter",e,t,e=>e.map(e=>es(this,e)),arguments)},find(e,t){return ed(this,"find",e,t,e=>es(this,e),arguments)},findIndex(e,t){return ed(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ed(this,"findLast",e,t,e=>es(this,e),arguments)},findLastIndex(e,t){return ed(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ed(this,"forEach",e,t,void 0,arguments)},includes(...e){return eh(this,"includes",e)},indexOf(...e){return eh(this,"indexOf",e)},join(e){return er(this).join(e)},lastIndexOf(...e){return eh(this,"lastIndexOf",e)},map(e,t){return ed(this,"map",e,t,void 0,arguments)},pop(){return ef(this,"pop")},push(...e){return ef(this,"push",e)},reduce(e,...t){return ec(this,"reduce",e,t)},reduceRight(e,...t){return ec(this,"reduceRight",e,t)},shift(){return ef(this,"shift")},some(e,t){return ed(this,"some",e,t,void 0,arguments)},splice(...e){return ef(this,"splice",e)},toReversed(){return er(this).toReversed()},toSorted(e){return er(this).toSorted(e)},toSpliced(...e){return er(this).toSpliced(...e)},unshift(...e){return ef(this,"unshift",e)},values(){return el(this,"values",e=>es(this,e))}};function el(e,t,i){let n=ea(e),r=n[t]();return n===e||eG(e)||(r._next=r.next,r.next=()=>{let e=r._next();return e.done||(e.value=i(e.value)),e}),r}let eu=Array.prototype;function ed(e,t,i,n,r,a){let s=ea(e),o=s!==e&&!eG(e),l=s[t];if(l!==eu[t]){let t=l.apply(e,a);return o?eQ(t):t}let u=i;s!==e&&(o?u=function(t,n){return i.call(this,es(e,t),n,e)}:i.length>2&&(u=function(t,n){return i.call(this,t,n,e)}));let d=l.call(s,u,n);return o&&r?r(d):d}function ec(e,t,i,n){let r=ea(e),a=i;return r!==e&&(eG(e)?i.length>3&&(a=function(t,n,r){return i.call(this,t,n,r,e)}):a=function(t,n,r){return i.call(this,t,es(e,n),r,e)}),r[t](a,...n)}function eh(e,t,i){let n=eK(e);et(n,"iterate",ee);let r=n[t](...i);return(-1===r||!1===r)&&eX(i[0])?(i[0]=eK(i[0]),n[t](...i)):r}function ef(e,t,i=[]){V(),T();let n=eK(e)[t].apply(e,i);return M(),H(),n}let em=(0,F.makeMap)("__proto__,__v_isRef,__isVue"),eg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(F.isSymbol));function ep(e){(0,F.isSymbol)(e)||(e=String(e));let t=eK(this);return et(t,"has",e),t.hasOwnProperty(e)}class e_{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,i){if("__v_skip"===t)return e.__v_skip;let n=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!n;if("__v_isReadonly"===t)return n;if("__v_isShallow"===t)return r;if("__v_raw"===t)return i===(n?r?eR:eN:r?eL:eP).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;let a=(0,F.isArray)(e);if(!n){let e;if(a&&(e=eo[t]))return e;if("hasOwnProperty"===t)return ep}let s=Reflect.get(e,t,eJ(e)?e:i);if(((0,F.isSymbol)(t)?eg.has(t):em(t))||(n||et(e,"get",t),r))return s;if(eJ(s)){let e=a&&(0,F.isIntegerKey)(t)?s:s.value;return n&&(0,F.isObject)(e)?eq(e):e}return(0,F.isObject)(s)?n?eq(s):ez(s):s}}class ev extends e_{constructor(e=!1){super(!1,e)}set(e,t,i,n){let r=e[t],a=(0,F.isArray)(e)&&(0,F.isIntegerKey)(t);if(!this._isShallow){let e=e$(r);if(eG(i)||e$(i)||(r=eK(r),i=eK(i)),!a&&eJ(r)&&!eJ(i))if(e)return!0;else return r.value=i,!0}let s=a?Number(t)e,eA=e=>Reflect.getPrototypeOf(e);function eE(e,t,i){return function(...n){let r=this.__v_raw,a=eK(r),s=(0,F.isMap)(a),o="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,u=r[e](...n),d=i?eC:t?eZ:eQ;return t||et(a,"iterate",l?J:Z),(0,F.extend)(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:o?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function eS(e){return function(){return"delete"!==e&&("clear"===e?void 0:this)}}function ex(e,t){let i={get(i){let n=this.__v_raw,r=eK(n),a=eK(i);e||((0,F.hasChanged)(i,a)&&et(r,"get",i),et(r,"get",a));let{has:s}=eA(r),o=t?eC:e?eZ:eQ;return s.call(r,i)?o(n.get(i)):s.call(r,a)?o(n.get(a)):void(n!==r&&n.get(i))},get size(){let t=this.__v_raw;return e||et(eK(t),"iterate",Z),t.size},has(t){let i=this.__v_raw,n=eK(i),r=eK(t);return e||((0,F.hasChanged)(t,r)&&et(n,"has",t),et(n,"has",r)),t===r?i.has(t):i.has(t)||i.has(r)},forEach(i,n){let r=this,a=r.__v_raw,s=eK(a),o=t?eC:e?eZ:eQ;return e||et(s,"iterate",Z),a.forEach((e,t)=>i.call(n,o(e),o(t),r))}};return(0,F.extend)(i,e?{add:eS("add"),set:eS("set"),delete:eS("delete"),clear:eS("clear")}:{add(e){t||eG(e)||e$(e)||(e=eK(e));let i=eK(this);return eA(i).has.call(i,e)||(i.add(e),ei(i,"add",e,e)),this},set(e,i){t||eG(i)||e$(i)||(i=eK(i));let n=eK(this),{has:r,get:a}=eA(n),s=r.call(n,e);s||(e=eK(e),s=r.call(n,e));let o=a.call(n,e);return n.set(e,i),s?(0,F.hasChanged)(i,o)&&ei(n,"set",e,i,o):ei(n,"add",e,i),this},delete(e){let t=eK(this),{has:i,get:n}=eA(t),r=i.call(t,e);r||(e=eK(e),r=i.call(t,e));let a=n?n.call(t,e):void 0,s=t.delete(e);return r&&ei(t,"delete",e,void 0,a),s},clear(){let e=eK(this),t=0!==e.size,i,n=e.clear();return t&&ei(e,"clear",void 0,void 0,i),n}}),["keys","values","entries",Symbol.iterator].forEach(n=>{i[n]=eE(n,e,t)}),i}function eD(e,t){let i=ex(e,t);return(t,n,r)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get((0,F.hasOwn)(i,n)&&n in t?i:t,n,r)}let eT={get:eD(!1,!1)},eM={get:eD(!1,!0)},eI={get:eD(!0,!1)},eB={get:eD(!0,!0)},eP=new WeakMap,eL=new WeakMap,eN=new WeakMap,eR=new WeakMap;function ej(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eO(e){return e.__v_skip||!Object.isExtensible(e)?0:ej((0,F.toRawType)(e))}function ez(e){return e$(e)?e:eV(e,!1,ey,eT,eP)}function eU(e){return eV(e,!1,ek,eM,eL)}function eq(e){return eV(e,!0,eF,eI,eN)}function eW(e){return eV(e,!0,ew,eB,eR)}function eV(e,t,i,n,r){if(!(0,F.isObject)(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let a=eO(e);if(0===a)return e;let s=r.get(e);if(s)return s;let o=new Proxy(e,2===a?n:i);return r.set(e,o),o}function eH(e){return e$(e)?eH(e.__v_raw):!!(e&&e.__v_isReactive)}function e$(e){return!!(e&&e.__v_isReadonly)}function eG(e){return!!(e&&e.__v_isShallow)}function eX(e){return!!e&&!!e.__v_raw}function eK(e){let t=e&&e.__v_raw;return t?eK(t):e}function eY(e){return!(0,F.hasOwn)(e,"__v_skip")&&Object.isExtensible(e)&&(0,F.def)(e,"__v_skip",!0),e}let eQ=e=>(0,F.isObject)(e)?ez(e):e,eZ=e=>(0,F.isObject)(e)?eq(e):e;function eJ(e){return!!e&&!0===e.__v_isRef}function e0(e){return e2(e,!1)}function e1(e){return e2(e,!0)}function e2(e,t){return eJ(e)?e:new e3(e,t)}class e3{constructor(e,t){this.dep=new K,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:eK(e),this._value=t?e:eQ(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,i=this.__v_isShallow||eG(e)||e$(e);e=i?e:eK(e),(0,F.hasChanged)(e,t)&&(this._rawValue=e,this._value=i?e:eQ(e),this.dep.trigger())}}function e4(e){e.dep&&e.dep.trigger()}function e6(e){return eJ(e)?e.value:e}function e5(e){return(0,F.isFunction)(e)?e():e6(e)}let e8={get:(e,t,i)=>"__v_raw"===t?e:e6(Reflect.get(e,t,i)),set:(e,t,i,n)=>{let r=e[t];return eJ(r)&&!eJ(i)?(r.value=i,!0):Reflect.set(e,t,i,n)}};function e9(e){return eH(e)?e:new Proxy(e,e8)}class e7{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new K,{get:i,set:n}=e(t.track.bind(t),t.trigger.bind(t));this._get=i,this._set=n}get value(){return this._value=this._get()}set value(e){this._set(e)}}function te(e){return new e7(e)}function tt(e){let t=(0,F.isArray)(e)?Array(e.length):{};for(let i in e)t[i]=ta(e,i);return t}class ti{constructor(e,t,i){this._object=e,this._key=t,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._raw=eK(e);let n=!0,r=e;if(!(0,F.isArray)(e)||!(0,F.isIntegerKey)(String(t)))do n=!eX(r)||eG(r);while(n&&(r=r.__v_raw));this._shallow=n}get value(){let e=this._object[this._key];return this._shallow&&(e=e6(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&eJ(this._raw[this._key])){let t=this._object[this._key];if(eJ(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return en(this._raw,this._key)}}class tn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function tr(e,t,i){return eJ(e)?e:(0,F.isFunction)(e)?new tn(e):(0,F.isObject)(e)&&arguments.length>1?ta(e,t,i):e0(e)}function ta(e,t,i){return new ti(e,t,i)}class ts{constructor(e,t,i){this.fn=e,this.setter=t,this._value=void 0,this.dep=new K(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=G-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=i}notify(){if(this.flags|=16,!(8&this.flags)&&r!==this)return D(this,!0),!0}get value(){let e=this.dep.track();return N(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function to(e,t,i=!1){let n,r;return(0,F.isFunction)(e)?n=e:(n=e.get,r=e.set),new ts(n,r,i)}let tl={GET:"get",HAS:"has",ITERATE:"iterate"},tu={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},td={},tc=new WeakMap;function th(){return p}function tf(e,t=!1,i=p){if(i){let t=tc.get(i);t||tc.set(i,t=[]),t.push(e)}}function tm(e,t,i=F.EMPTY_OBJ){let n,r,a,s,{immediate:o,deep:l,once:u,scheduler:d,augmentJob:c,call:h}=i,f=e=>l?e:eG(e)||!1===l||0===l?tg(e,1):tg(e),m=!1,g=!1;if(eJ(e)?(r=()=>e.value,m=eG(e)):eH(e)?(r=()=>f(e),m=!0):(0,F.isArray)(e)?(g=!0,m=e.some(e=>eH(e)||eG(e)),r=()=>e.map(e=>eJ(e)?e.value:eH(e)?f(e):(0,F.isFunction)(e)?h?h(e,2):e():void 0)):r=(0,F.isFunction)(e)?t?h?()=>h(e,2):e:()=>{if(a){V();try{a()}finally{H()}}let t=p;p=n;try{return h?h(e,3,[s]):e(s)}finally{p=t}}:F.NOOP,t&&l){let e=r,t=!0===l?1/0:l;r=()=>tg(e(),t)}let _=C(),b=()=>{n.stop(),_&&_.active&&(0,F.remove)(_.effects,n)};if(u&&t){let e=t;t=(...t)=>{e(...t),b()}}let y=g?Array(e.length).fill(td):td,k=e=>{if(1&n.flags&&(n.dirty||e))if(t){let e=n.run();if(l||m||(g?e.some((e,t)=>(0,F.hasChanged)(e,y[t])):(0,F.hasChanged)(e,y))){a&&a();let i=p;p=n;try{let i=[e,y===td?void 0:g&&y[0]===td?[]:y,s];y=e,h?h(t,3,i):t(...i)}finally{p=i}}}else n.run()};return c&&c(k),(n=new S(r)).scheduler=d?()=>d(k,!1):k,s=e=>tf(e,!1,n),a=n.onStop=()=>{let e=tc.get(n);if(e){if(h)h(e,4);else for(let t of e)t();tc.delete(n)}},t?o?k(!0):y=n.run():d?d(k.bind(null,!0),!0):n.run(),b.pause=n.pause.bind(n),b.resume=n.resume.bind(n),b.stop=b,b}function tg(e,t=1/0,i){if(t<=0||!(0,F.isObject)(e)||e.__v_skip||((i=i||new Map).get(e)||0)>=t)return e;if(i.set(e,t),t--,eJ(e))tg(e.value,t,i);else if((0,F.isArray)(e))for(let n=0;n{tg(e,t,i)});else if((0,F.isPlainObject)(e)){for(let n in e)tg(e[n],t,i);for(let n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&tg(e[n],t,i)}return e}let tp=[];function t_(e){tp.push(e)}function tv(){tp.pop()}let tb=!1;function ty(e,...t){if(tb)return;tb=!0,V();let i=tp.length?tp[tp.length-1].component:null,n=i&&i.appContext.config.warnHandler,r=tF();if(n)tD(n,i,11,[e+t.map(e=>{var t,i;return null!=(i=null==(t=e.toString)?void 0:t.call(e))?i:JSON.stringify(e)}).join(""),i&&i.proxy,r.map(({vnode:e})=>`at <${sr(i,e.type)}>`).join("\n"),r]);else{let i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(` `,...tk(r)),console.warn(...i)}H(),tb=!1}function tF(){let e=tp[tp.length-1];if(!e)return[];let t=[];for(;e;){let i=t[0];i&&i.vnode===e?i.recurseCount++:t.push({vnode:e,recurseCount:0});let n=e.component&&e.component.parent;e=n&&n.vnode}return t}function tk(e){let t=[];return e.forEach((e,i)=>{t.push(...0===i?[]:[` `],...tw(e))}),t}function tw({vnode:e,recurseCount:t}){let i=t>0?`... (${t} recursive calls)`:"",n=!!e.component&&null==e.component.parent,r=` at <${sr(e.component,e.type,n)}`,a=">"+i;return e.props?[r,...tC(e.props),a]:[r+a]}function tC(e){let t=[],i=Object.keys(e);return i.slice(0,3).forEach(i=>{t.push(...tA(i,e[i]))}),i.length>3&&t.push(" ..."),t}function tA(e,t,i){return(0,F.isString)(t)?(t=JSON.stringify(t),i?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?i?t:[`${e}=${t}`]:eJ(t)?(t=tA(e,eK(t.value),!0),i?t:[`${e}=Ref<`,t,">"]):(0,F.isFunction)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=eK(t),i?t:[`${e}=`,t])}function tE(e,t){}let tS={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},tx={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function tD(e,t,i,n){try{return n?e(...n):e()}catch(e){tM(e,t,i)}}function tT(e,t,i,n){if((0,F.isFunction)(e)){let r=tD(e,t,i,n);return r&&(0,F.isPromise)(r)&&r.catch(e=>{tM(e,t,i)}),r}if((0,F.isArray)(e)){let r=[];for(let a=0;a>>1,r=tB[n],a=tG(r);a=tG(i)?tB.push(e):tB.splice(tU(t),0,e),e.flags|=1,tW()}}function tW(){tO||(tO=tj.then(tX))}function tV(e){(0,F.isArray)(e)?tL.push(...e):tN&&-1===e.id?tN.splice(tR+1,0,e):1&e.flags||(tL.push(e),e.flags|=1),tW()}function tH(e,t,i=tP+1){for(;itG(e)-tG(t));if(tL.length=0,tN)return void tN.push(...e);for(tR=0,tN=e;tRnull==e.id?2&e.flags?-1:1/0:e.id;function tX(e){F.NOOP;try{for(tP=0;tPo.emit(e,...t)),tQ=[]):"u">typeof window&&window.HTMLElement&&!(null==(n=null==(i=window.navigator)?void 0:i.userAgent)?void 0:n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{tJ(e,t)}),setTimeout(()=>{o||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,tZ=!0,tQ=[])},3e3)):(tZ=!0,tQ=[])}let t0=null,t1=null;function t2(e){let t=t0;return t0=e,t1=e&&e.type.__scopeId||null,t}function t3(e){t1=e}function t4(){t1=null}let t6=e=>t5;function t5(e,t=t0,i){if(!t||e._n)return e;let n=(...i)=>{let r;n._d&&aC(-1);let a=t2(t);try{r=e(...i)}finally{t2(a),n._d&&aC(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function t8(e,t){if(null===t0)return e;let i=se(t0),n=e.dirs||(e.dirs=[]);for(let e=0;e1)return i&&(0,F.isFunction)(t)?t.call(n&&n.proxy):t}}function it(){return!!(aQ()||rf)}let ii=Symbol.for("v-scx"),ir=()=>ie(ii);function ia(e,t){return iu(e,null,t)}function is(e,t){return iu(e,null,{flush:"post"})}function io(e,t){return iu(e,null,{flush:"sync"})}function il(e,t,i){return iu(e,t,i)}function iu(e,t,i=F.EMPTY_OBJ){let n,{immediate:r,deep:a,flush:s,once:o}=i,l=(0,F.extend)({},i),u=t&&r||!t&&"post"!==s;if(a1){if("sync"===s){let e=ir();n=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){let e=()=>{};return e.stop=F.NOOP,e.resume=F.NOOP,e.pause=F.NOOP,e}}let d=aY;l.call=(e,t,i)=>tT(e,d,t,i);let c=!1;"post"===s?l.scheduler=e=>{r0(e,d&&d.suspense)}:"sync"!==s&&(c=!0,l.scheduler=(e,t)=>{t?e():tq(e)}),l.augmentJob=e=>{t&&(e.flags|=4),c&&(e.flags|=2,d&&(e.id=d.uid,e.i=d))};let h=tm(e,t,l);return a1&&(n?n.push(h):u&&h()),h}function id(e,t,i){let n,r=this.proxy,a=(0,F.isString)(e)?e.includes(".")?ic(r,e):()=>r[e]:e.bind(r,r);(0,F.isFunction)(t)?n=t:(n=t.handler,i=t);let s=aZ(this),o=iu(a,n.bind(r),i);return s(),o}function ic(e,t){let i=t.split(".");return()=>{let t=e;for(let e=0;ee.__isTeleport,ig=e=>e&&(e.disabled||""===e.disabled),ip=e=>e&&(e.defer||""===e.defer),i_=e=>"u">typeof SVGElement&&e instanceof SVGElement,iv=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,ib=(e,t)=>{let i=e&&e.to;return(0,F.isString)(i)?t?t(i):null:i},iy={name:"Teleport",__isTeleport:!0,process(e,t,i,n,r,a,s,o,l,u){let{mc:d,pc:c,pbc:h,o:{insert:f,querySelector:m,createText:g,createComment:p}}=u,_=ig(t.props),{shapeFlag:b,children:y,dynamicChildren:F}=t;if(null==e){let e=t.el=g(""),u=t.anchor=g("");f(e,i,n),f(u,i,n);let c=(e,t)=>{16&b&&d(y,e,t,r,a,s,o,l)},h=()=>{let e=t.target=ib(t.props,m),i=iA(e,t,g,f);e&&("svg"!==s&&i_(e)?s="svg":"mathml"!==s&&iv(e)&&(s="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(e),_||(c(e,i),iC(t,!1)))};_&&(c(i,u),iC(t,!0)),ip(t.props)?(t.el.__isMounted=!1,r0(()=>{h(),delete t.el.__isMounted},a)):h()}else{if(ip(t.props)&&!1===e.el.__isMounted)return void r0(()=>{iy.process(e,t,i,n,r,a,s,o,l,u)},a);t.el=e.el,t.targetStart=e.targetStart;let d=t.anchor=e.anchor,f=t.target=e.target,g=t.targetAnchor=e.targetAnchor,p=ig(e.props),b=p?i:f,y=p?d:g;if("svg"===s||i_(f)?s="svg":("mathml"===s||iv(f))&&(s="mathml"),F?(h(e.dynamicChildren,F,b,r,a,s,o),r8(e,t,!0)):l||c(e,t,b,y,r,a,s,o,!1),_)p?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):iF(t,i,d,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=ib(t.props,m);e&&iF(t,e,null,u,0)}else p&&iF(t,f,g,u,1);iC(t,_)}},remove(e,t,i,{um:n,o:{remove:r}},a){let{shapeFlag:s,children:o,anchor:l,targetStart:u,targetAnchor:d,target:c,props:h}=e;if(c&&(r(u),r(d)),a&&r(l),16&s){let e=a||!ig(h);for(let r=0;r{e.isMounted=!0}),ny(()=>{e.isUnmounting=!0}),e}let iD=[Function,Array],iT={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:iD,onEnter:iD,onAfterEnter:iD,onEnterCancelled:iD,onBeforeLeave:iD,onLeave:iD,onAfterLeave:iD,onLeaveCancelled:iD,onBeforeAppear:iD,onAppear:iD,onAfterAppear:iD,onAppearCancelled:iD},iM=e=>{let t=e.subTree;return t.component?iM(t.component):t};function iI(e){let t=e[0];if(e.length>1){let i=!1;for(let n of e)if(n.type!==a_){t=n,i=!0;break}}return t}let iB={name:"BaseTransition",props:iT,setup(e,{slots:t}){let i=aQ(),n=ix();return()=>{let r=t.default&&iO(t.default(),!0);if(!r||!r.length)return;let a=iI(r),s=eK(e),{mode:o}=s;if(n.isLeaving)return iN(a);let l=iR(a);if(!l)return iN(a);let u=iL(l,s,n,i,e=>u=e);l.type!==a_&&ij(l,u);let d=i.subTree&&iR(i.subTree);if(d&&d.type!==a_&&!aD(d,l)&&iM(i).type!==a_){let e=iL(d,s,n,i);if(ij(d,e),"out-in"===o&&l.type!==a_)return n.isLeaving=!0,e.afterLeave=()=>{n.isLeaving=!1,8&i.job.flags||i.update(),delete e.afterLeave,d=void 0},iN(a);"in-out"===o&&l.type!==a_?e.delayLeave=(e,t,i)=>{iP(n,d)[String(d.key)]=d,e[iE]=()=>{t(),e[iE]=void 0,delete u.delayedLeave,d=void 0},u.delayedLeave=()=>{i(),delete u.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return a}}};function iP(e,t){let{leavingVNodes:i}=e,n=i.get(t.type);return n||(n=Object.create(null),i.set(t.type,n)),n}function iL(e,t,i,n,r){let{appear:a,mode:s,persisted:o=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:d,onEnterCancelled:c,onBeforeLeave:h,onLeave:f,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:p,onAppear:_,onAfterAppear:b,onAppearCancelled:y}=t,k=String(e.key),w=iP(i,e),C=(e,t)=>{e&&tT(e,n,9,t)},A=(e,t)=>{let i=t[1];C(e,t),(0,F.isArray)(e)?e.every(e=>e.length<=1)&&i():e.length<=1&&i()},E={mode:s,persisted:o,beforeEnter(t){let n=l;if(!i.isMounted)if(!a)return;else n=p||l;t[iE]&&t[iE](!0);let r=w[k];r&&aD(e,r)&&r.el[iE]&&r.el[iE](),C(n,[t])},enter(e){let t=u,n=d,r=c;if(!i.isMounted)if(!a)return;else t=_||u,n=b||d,r=y||c;let s=!1;e[iS]=t=>{s||(s=!0,t?C(r,[e]):C(n,[e]),E.delayedLeave&&E.delayedLeave(),e[iS]=void 0)};let o=e[iS].bind(null,!1);t?A(t,[e,o]):o()},leave(t,n){let r=String(e.key);if(t[iS]&&t[iS](!0),i.isUnmounting)return n();C(h,[t]);let a=!1;t[iE]=i=>{a||(a=!0,n(),i?C(g,[t]):C(m,[t]),t[iE]=void 0,w[r]===e&&delete w[r])};let s=t[iE].bind(null,!1);w[r]=e,f?A(f,[t,s]):s()},clone(e){let a=iL(e,t,i,n,r);return r&&r(a),a}};return E}function iN(e){if(na(e))return(e=aR(e)).children=null,e}function iR(e){if(!na(e))return im(e.type)&&e.children?iI(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:i}=e;if(i){if(16&t)return i[0];if(32&t&&(0,F.isFunction)(i.default))return i.default()}}function ij(e,t){6&e.shapeFlag&&e.component?(e.transition=t,ij(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function iO(e,t=!1,i){let n=[],r=0;for(let a=0;a1)for(let e=0;ei.value,set:e=>i.value=e}),i}function iV(e,t){let i;return!!((i=Object.getOwnPropertyDescriptor(e,t))&&!i.configurable)}let iH=new WeakMap;function i$(e,t,i,n,r=!1){if((0,F.isArray)(e))return void e.forEach((e,a)=>i$(e,t&&((0,F.isArray)(t)?t[a]:t),i,n,r));if(ni(n)&&!r){512&n.shapeFlag&&n.type.__asyncResolved&&n.component.subTree.component&&i$(e,t,i,n.component.subTree);return}let a=4&n.shapeFlag?se(n.component):n.el,s=r?null:a,{i:o,r:l}=e,u=t&&t.r,d=o.refs===F.EMPTY_OBJ?o.refs={}:o.refs,c=o.setupState,h=eK(c),f=c===F.EMPTY_OBJ?F.NO:e=>!iV(d,e)&&(0,F.hasOwn)(h,e),m=(e,t)=>!(t&&iV(d,t));if(null!=u&&u!==l){if(iG(t),(0,F.isString)(u))d[u]=null,f(u)&&(c[u]=null);else if(eJ(u)){let e=t;m(u,e.k)&&(u.value=null),e.k&&(d[e.k]=null)}}if((0,F.isFunction)(l))tD(l,o,12,[s,d]);else{let t=(0,F.isString)(l),n=eJ(l);if(t||n){let o=()=>{if(e.f){let i=t?f(l)?c[l]:d[l]:m(l)||!e.k?l.value:d[e.k];if(r)(0,F.isArray)(i)&&(0,F.remove)(i,a);else if((0,F.isArray)(i))i.includes(a)||i.push(a);else if(t)d[l]=[a],f(l)&&(c[l]=d[l]);else{let t=[a];m(l,e.k)&&(l.value=t),e.k&&(d[e.k]=t)}}else t?(d[l]=s,f(l)&&(c[l]=s)):n&&(m(l,e.k)&&(l.value=s),e.k&&(d[e.k]=s))};if(s){let t=()=>{o(),iH.delete(e)};t.id=-1,iH.set(e,t),r0(t,i)}else iG(e),o()}}}function iG(e){let t=iH.get(e);t&&(t.flags|=8,iH.delete(e))}let iX=!1,iK=()=>{iX||(console.error("Hydration completed but contains mismatches."),iX=!0)},iY=e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName,iQ=e=>e.namespaceURI.includes("MathML"),iZ=e=>{if(1===e.nodeType){if(iY(e))return"svg";if(iQ(e))return"mathml"}},iJ=e=>8===e.nodeType;function i0(e){let{mt:t,p:i,o:{patchProp:n,createText:r,nextSibling:a,parentNode:s,remove:o,insert:l,createComment:u}}=e,d=(i,n,o,u,b,y=!1)=>{y=y||!!n.dynamicChildren;let F=iJ(i)&&"["===i.data,k=()=>m(i,n,o,u,b,F),{type:w,ref:C,shapeFlag:A,patchFlag:E}=n,S=i.nodeType;n.el=i,-2===E&&(y=!1,n.dynamicChildren=null);let x=null;switch(w){case ap:3!==S?""===n.children?(l(n.el=r(""),s(i),i),x=i):x=k():(i.data!==n.children&&(iK(),i.data=n.children),x=a(i));break;case a_:_(i)?(x=a(i),p(n.el=i.content.firstChild,i,o)):x=8!==S||F?k():a(i);break;case av:if(F&&(S=(i=a(i)).nodeType),1===S||3===S){x=i;let e=!n.children.length;for(let t=0;t{s=s||!!t.dynamicChildren;let{type:l,props:u,patchFlag:d,shapeFlag:c,dirs:f,transition:m}=t,g="input"===l||"option"===l;if(g||-1!==d){let l;f&&t9(t,null,i,"created");let b=!1;if(_(e)){b=r5(null,m)&&i&&i.vnode.props&&i.vnode.props.appear;let n=e.content.firstChild;if(b){let e=n.getAttribute("class");e&&(n.$cls=e),m.beforeEnter(n)}p(n,e,i),t.el=e=n}if(16&c&&!(u&&(u.innerHTML||u.textContent))){let n=h(e.firstChild,t,e,i,r,a,s);for(;n;){i3(e,1)||iK();let t=n;n=n.nextSibling,o(t)}}else if(8&c){let i=t.children;"\n"===i[0]&&("PRE"===e.tagName||"TEXTAREA"===e.tagName)&&(i=i.slice(1));let{textContent:n}=e;n!==i&&n!==i.replace(/\r\n|\r/g,"\n")&&(i3(e,0)||iK(),e.textContent=t.children)}if(u){if(g||!s||48&d){let t=e.tagName.includes("-");for(let r in u)(g&&(r.endsWith("value")||"indeterminate"===r)||(0,F.isOn)(r)&&!(0,F.isReservedProp)(r)||"."===r[0]||t&&!(0,F.isReservedProp)(r))&&n(e,r,null,u[r],void 0,i)}else if(u.onClick)n(e,"onClick",null,u.onClick,void 0,i);else if(4&d&&eH(u.style))for(let e in u.style)u.style[e]}(l=u&&u.onVnodeBeforeMount)&&a$(l,i,t),f&&t9(t,null,i,"beforeMount"),((l=u&&u.onVnodeMounted)||f||b)&&ah(()=>{l&&a$(l,i,t),b&&m.enter(e),f&&t9(t,null,i,"mounted")},r)}return e.nextSibling},h=(e,t,n,s,o,u,c)=>{c=c||!!t.dynamicChildren;let h=t.children,f=h.length;for(let t=0;t{let{slotScopeIds:d}=t;d&&(r=r?r.concat(d):d);let c=s(e),f=h(a(e),t,c,i,n,r,o);return f&&iJ(f)&&"]"===f.data?a(t.anchor=f):(iK(),l(t.anchor=u("]"),c,f),f)},m=(e,t,n,r,l,u)=>{if(i3(e.parentElement,1)||iK(),t.el=null,u){let t=g(e);for(;;){let i=a(e);if(i&&i!==t)o(i);else break}}let d=a(e),c=s(e);return o(e),i(null,t,c,d,n,r,iZ(c),l),n&&(n.vnode.el=t.el,rS(n,t.el)),d},g=(e,t="[",i="]")=>{let n=0;for(;e;)if((e=a(e))&&iJ(e)&&(e.data===t&&n++,e.data===i))if(0===n)return a(e);else n--;return e},p=(e,t,i)=>{let n=t.parentNode;n&&n.replaceChild(e,t);let r=i;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},_=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes()){i(null,e,t),t$(),t._vnode=e;return}d(t.firstChild,e,null,null,null),t$(),t._vnode=e},d]}let i1="data-allow-mismatch",i2={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function i3(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(i1);)e=e.parentElement;let i=e&&e.getAttribute(i1);if(null==i)return!1;{if(""===i)return!0;let e=i.split(",");return!!(0===t&&e.includes("children"))||e.includes(i2[t])}}let i4=(0,F.getGlobalThis)().requestIdleCallback||(e=>setTimeout(e,1)),i6=(0,F.getGlobalThis)().cancelIdleCallback||(e=>clearTimeout(e)),i5=(e=1e4)=>t=>{let i=i4(t,{timeout:e});return()=>i6(i)};function i8(e){let{top:t,left:i,bottom:n,right:r}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:s}=window;return(t>0&&t0&&n0&&i0&&r(t,i)=>{let n=new IntersectionObserver(e=>{for(let i of e)if(i.isIntersecting){n.disconnect(),t();break}},e);return i(e=>{if(e instanceof Element){if(i8(e))return t(),n.disconnect(),!1;n.observe(e)}}),()=>n.disconnect()},i7=e=>t=>{if(e){let i=matchMedia(e);if(!i.matches)return i.addEventListener("change",t,{once:!0}),()=>i.removeEventListener("change",t);t()}},ne=(e=[])=>(t,i)=>{(0,F.isString)(e)&&(e=[e]);let n=!1,r=e=>{n||(n=!0,a(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},a=()=>{i(t=>{for(let i of e)t.removeEventListener(i,r)})};return i(t=>{for(let i of e)t.addEventListener(i,r,{once:!0})}),a};function nt(e,t){if(iJ(e)&&"["===e.data){let i=1,n=e.nextSibling;for(;n;){if(1===n.nodeType){if(!1===t(n))break}else if(iJ(n))if("]"===n.data){if(0==--i)break}else"["===n.data&&i++;n=n.nextSibling}}else t(e)}let ni=e=>!!e.type.__asyncLoader;function nn(e){let t;(0,F.isFunction)(e)&&(e={loader:e});let{loader:i,loadingComponent:n,errorComponent:r,delay:a=200,hydrate:s,timeout:o,suspensible:l=!0,onError:u}=e,d=null,c=0,h=()=>(c++,d=null,f()),f=()=>{let e;return d||(e=d=i().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),u)return new Promise((t,i)=>{let n=()=>i(e);u(e,()=>t(h()),n,c+1)});throw e}).then(i=>e!==d&&d?d:(i&&(i.__esModule||"Module"===i[Symbol.toStringTag])&&(i=i.default),t=i,i)))};return iz({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(e,i,n){let r=!1;(i.bu||(i.bu=[])).push(()=>r=!0);let a=()=>{r||n()},o=s?()=>{let t=s(a,t=>nt(e,t));t&&(i.bum||(i.bum=[])).push(t)}:a;t?o():f().then(()=>!i.isUnmounted&&o())},get __asyncResolved(){return t},setup(){let e=aY;if(iq(e),t)return()=>nr(t,e);let i=t=>{d=null,tM(t,e,13,!r)};if(l&&e.suspense||a1)return f().then(t=>()=>nr(t,e)).catch(e=>(i(e),()=>r?aP(r,{error:e}):null));let s=e0(!1),u=e0(),c=e0(!!a);return a&&setTimeout(()=>{c.value=!1},a),null!=o&&setTimeout(()=>{if(!s.value&&!u.value){let e=Error(`Async component timed out after ${o}ms.`);i(e),u.value=e}},o),f().then(()=>{s.value=!0,e.parent&&na(e.parent.vnode)&&e.parent.update()}).catch(e=>{i(e),u.value=e}),()=>s.value&&t?nr(t,e):u.value&&r?aP(r,{error:u.value}):n&&!c.value?nr(n,e):void 0}})}function nr(e,t){let{ref:i,props:n,children:r,ce:a}=t.vnode,s=aP(e,n,r);return s.ref=i,s.ce=a,delete t.vnode.ce,s}let na=e=>e.type.__isKeepAlive,ns={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let i=aQ(),n=i.ctx;if(!n.renderer)return()=>{let e=t.default&&t.default();return e&&1===e.length?e[0]:e};let r=new Map,a=new Set,s=null,o=i.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:c}}}=n,h=c("div");function f(e){nh(e),d(e,i,o,!0)}function m(e){r.forEach((t,i)=>{let n=sn(ni(t)?t.type.__asyncResolved||{}:t.type);n&&!e(n)&&g(i)})}function g(e){let t=r.get(e);!t||s&&aD(t,s)?s&&nh(s):f(t),r.delete(e),a.delete(e)}n.activate=(e,t,i,n,r)=>{let a=e.component;u(e,t,i,0,o),l(a.vnode,e,t,i,a,o,n,e.slotScopeIds,r),r0(()=>{a.isDeactivated=!1,a.a&&(0,F.invokeArrayFns)(a.a);let t=e.props&&e.props.onVnodeMounted;t&&a$(t,a.parent,e)},o)},n.deactivate=e=>{let t=e.component;ae(t.m),ae(t.a),u(e,h,null,1,o),r0(()=>{t.da&&(0,F.invokeArrayFns)(t.da);let i=e.props&&e.props.onVnodeUnmounted;i&&a$(i,t.parent,e),t.isDeactivated=!0},o)},il(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>no(e,t)),t&&m(e=>!no(t,e))},{flush:"post",deep:!0});let p=null,_=()=>{null!=p&&(ai(i.subTree.type)?r0(()=>{r.set(p,nf(i.subTree))},i.subTree.suspense):r.set(p,nf(i.subTree)))};return n_(_),nb(_),ny(()=>{r.forEach(e=>{let{subTree:t,suspense:n}=i,r=nf(t);if(e.type===r.type&&e.key===r.key){nh(r);let e=r.component.da;e&&r0(e,n);return}f(e)})}),()=>{if(p=null,!t.default)return s=null;let i=t.default(),n=i[0];if(i.length>1)return s=null,i;if(!ax(n)||!(4&n.shapeFlag)&&!(128&n.shapeFlag))return s=null,n;let o=nf(n);if(o.type===a_)return s=null,o;let l=o.type,u=sn(ni(o)?o.type.__asyncResolved||{}:l),{include:d,exclude:c,max:h}=e;if(d&&(!u||!no(d,u))||c&&u&&no(c,u))return o.shapeFlag&=-257,s=o,n;let f=null==o.key?l:o.key,m=r.get(f);return o.el&&(o=aR(o),128&n.shapeFlag&&(n.ssContent=o)),p=f,m?(o.el=m.el,o.component=m.component,o.transition&&ij(o,o.transition),o.shapeFlag|=512,a.delete(f),a.add(f)):(a.add(f),h&&a.size>parseInt(h,10)&&g(a.values().next().value)),o.shapeFlag|=256,s=o,ai(n.type)?n:o}}};function no(e,t){return(0,F.isArray)(e)?e.some(e=>no(e,t)):(0,F.isString)(e)?e.split(",").includes(t):!!(0,F.isRegExp)(e)&&(e.lastIndex=0,e.test(t))}function nl(e,t){nd(e,"a",t)}function nu(e,t){nd(e,"da",t)}function nd(e,t,i=aY){let n=e.__wdc||(e.__wdc=()=>{let t=i;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(nm(t,n,i),i){let e=i.parent;for(;e&&e.parent;)na(e.parent.vnode)&&nc(n,t,i,e),e=e.parent}}function nc(e,t,i,n){let r=nm(t,e,n,!0);nF(()=>{(0,F.remove)(n[t],r)},i)}function nh(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function nf(e){return 128&e.shapeFlag?e.ssContent:e}function nm(e,t,i=aY,n=!1){if(i){let r=i[e]||(i[e]=[]),a=t.__weh||(t.__weh=(...n)=>{V();let r=aZ(i),a=tT(t,i,e,n);return r(),H(),a});return n?r.unshift(a):r.push(a),a}}let ng=e=>(t,i=aY)=>{a1&&"sp"!==e||nm(e,(...e)=>t(...e),i)},np=ng("bm"),n_=ng("m"),nv=ng("bu"),nb=ng("u"),ny=ng("bum"),nF=ng("um"),nk=ng("sp"),nw=ng("rtg"),nC=ng("rtc");function nA(e,t=aY){nm("ec",e,t)}let nE="components",nS="directives";function nx(e,t){return nI(nE,e,!0,t)||e}let nD=Symbol.for("v-ndc");function nT(e){return(0,F.isString)(e)?nI(nE,e,!1)||e:e||nD}function nM(e){return nI(nS,e)}function nI(e,t,i=!0,n=!1){let r=t0||aY;if(r){let i=r.type;if(e===nE){let e=sn(i,!1);if(e&&(e===t||e===(0,F.camelize)(t)||e===(0,F.capitalize)((0,F.camelize)(t))))return i}let a=nB(r[e]||i[e],t)||nB(r.appContext[e],t);return!a&&n?i:a}}function nB(e,t){return e&&(e[t]||e[(0,F.camelize)(t)]||e[(0,F.capitalize)((0,F.camelize)(t))])}function nP(e,t,i,n){let r,a=i&&i[n],s=(0,F.isArray)(e);if(s||(0,F.isString)(e)){let i=s&&eH(e),n=!1,o=!1;i&&(n=!eG(e),o=e$(e),e=ea(e)),r=Array(e.length);for(let i=0,s=e.length;it(e,i,void 0,a&&a[i]));else{let i=Object.keys(e);r=Array(i.length);for(let n=0,s=i.length;n{let t=n.fn(...e);return t&&(t.key=n.key),t}:n.fn)}return e}function nN(e,t,i={},n,r){if(t0.ce||t0.parent&&ni(t0.parent)&&t0.parent.ce){let e=Object.keys(i).length>0;return"default"!==t&&(i.name=t),aF(),aS(ag,null,[aP("slot",i,n&&n())],e?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),aF();let s=a&&nR(a(i)),o=i.key||s&&s.key,l=aS(ag,{key:(o&&!(0,F.isSymbol)(o)?o:`_${t}`)+(!s&&n?"_fb":"")},s||(n?n():[]),s&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function nR(e){return e.some(e=>!ax(e)||e.type!==a_&&(e.type!==ag||!!nR(e.children)))?e:null}function nj(e,t){let i={};for(let n in e)i[t&&/[A-Z]/.test(n)?`on:${n}`:(0,F.toHandlerKey)(n)]=e[n];return i}let nO=e=>e?a0(e)?se(e):nO(e.parent):null,nz=(0,F.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>nO(e.parent),$root:e=>nO(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>re(e),$forceUpdate:e=>e.f||(e.f=()=>{tq(e.update)}),$nextTick:e=>e.n||(e.n=tz.bind(e.proxy)),$watch:e=>id.bind(e)}),nU=(e,t)=>e!==F.EMPTY_OBJ&&!e.__isScriptSetup&&(0,F.hasOwn)(e,t),nq={get({_:e},t){let i,n;if("__v_skip"===t)return!0;let{ctx:r,setupState:a,data:s,props:o,accessCache:l,type:u,appContext:d}=e;if("$"!==t[0]){let e=l[t];if(void 0!==e)switch(e){case 1:return a[t];case 2:return s[t];case 4:return r[t];case 3:return o[t]}else{if(nU(a,t))return l[t]=1,a[t];if(s!==F.EMPTY_OBJ&&(0,F.hasOwn)(s,t))return l[t]=2,s[t];if((0,F.hasOwn)(o,t))return l[t]=3,o[t];if(r!==F.EMPTY_OBJ&&(0,F.hasOwn)(r,t))return l[t]=4,r[t];n6&&(l[t]=0)}}let c=nz[t];return c?("$attrs"===t&&et(e.attrs,"get",""),c(e)):(i=u.__cssModules)&&(i=i[t])?i:r!==F.EMPTY_OBJ&&(0,F.hasOwn)(r,t)?(l[t]=4,r[t]):(n=d.config.globalProperties,(0,F.hasOwn)(n,t))?n[t]:void 0},set({_:e},t,i){let{data:n,setupState:r,ctx:a}=e;return nU(r,t)?(r[t]=i,!0):n!==F.EMPTY_OBJ&&(0,F.hasOwn)(n,t)?(n[t]=i,!0):!(0,F.hasOwn)(e.props,t)&&!("$"===t[0]&&t.slice(1)in e)&&(a[t]=i,!0)},has({_:{data:e,setupState:t,accessCache:i,ctx:n,appContext:r,props:a,type:s}},o){let l;return!!(i[o]||e!==F.EMPTY_OBJ&&"$"!==o[0]&&(0,F.hasOwn)(e,o)||nU(t,o)||(0,F.hasOwn)(a,o)||(0,F.hasOwn)(n,o)||(0,F.hasOwn)(nz,o)||(0,F.hasOwn)(r.config.globalProperties,o)||(l=s.__cssModules)&&l[o])},defineProperty(e,t,i){return null!=i.get?e._.accessCache[t]=0:(0,F.hasOwn)(i,"value")&&this.set(e,t,i.value,null),Reflect.defineProperty(e,t,i)}},nW=(0,F.extend)({},nq,{get(e,t){if(t!==Symbol.unscopables)return nq.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!(0,F.isGloballyAllowed)(t)});function nV(){return null}function nH(){return null}function n$(e){}function nG(e){}function nX(){return null}function nK(){}function nY(e,t){return null}function nQ(){return nJ("useSlots").slots}function nZ(){return nJ("useAttrs").attrs}function nJ(e){let t=aQ();return t.setupContext||(t.setupContext=a7(t))}function n0(e){return(0,F.isArray)(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function n1(e,t){let i=n0(e);for(let e in t){if(e.startsWith("__skip"))continue;let n=i[e];n?(0,F.isArray)(n)||(0,F.isFunction)(n)?n=i[e]={type:n,default:t[e]}:n.default=t[e]:null===n&&(n=i[e]={default:t[e]}),n&&t[`__skip_${e}`]&&(n.skipFactory=!0)}return i}function n2(e,t){return e&&t?(0,F.isArray)(e)&&(0,F.isArray)(t)?e.concat(t):(0,F.extend)({},n0(e),n0(t)):e||t}function n3(e,t){let i={};for(let n in e)t.includes(n)||Object.defineProperty(i,n,{enumerable:!0,get:()=>e[n]});return i}function n4(e){let t=aQ(),i=e();return aJ(),(0,F.isPromise)(i)&&(i=i.catch(e=>{throw aZ(t),e})),[i,()=>aZ(t)]}let n6=!0;function n5(e){let t=re(e),i=e.proxy,n=e.ctx;n6=!1,t.beforeCreate&&n9(t.beforeCreate,e,"bc");let{data:r,computed:a,methods:s,watch:o,provide:l,inject:u,created:d,beforeMount:c,mounted:h,beforeUpdate:f,updated:m,activated:g,deactivated:p,beforeDestroy:_,beforeUnmount:b,destroyed:y,unmounted:k,render:w,renderTracked:C,renderTriggered:A,errorCaptured:E,serverPrefetch:S,expose:x,inheritAttrs:D,components:T,directives:M,filters:I}=t,B=null;if(u&&n8(u,n,B),s)for(let e in s){let t=s[e];(0,F.isFunction)(t)&&(n[e]=t.bind(i))}if(r){let t=r.call(i,i);(0,F.isObject)(t)&&(e.data=ez(t))}if(n6=!0,a)for(let e in a){let t=a[e],r=ss({get:(0,F.isFunction)(t)?t.bind(i,i):(0,F.isFunction)(t.get)?t.get.bind(i,i):F.NOOP,set:!(0,F.isFunction)(t)&&(0,F.isFunction)(t.set)?t.set.bind(i):F.NOOP});Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e})}if(o)for(let e in o)n7(o[e],n,i,e);if(l){let e=(0,F.isFunction)(l)?l.call(i):l;Reflect.ownKeys(e).forEach(t=>{t7(t,e[t])})}function P(e,t){(0,F.isArray)(t)?t.forEach(t=>e(t.bind(i))):t&&e(t.bind(i))}if(d&&n9(d,e,"c"),P(np,c),P(n_,h),P(nv,f),P(nb,m),P(nl,g),P(nu,p),P(nA,E),P(nC,C),P(nw,A),P(ny,b),P(nF,k),P(nk,S),(0,F.isArray)(x))if(x.length){let t=e.exposed||(e.exposed={});x.forEach(e=>{Object.defineProperty(t,e,{get:()=>i[e],set:t=>i[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});w&&e.render===F.NOOP&&(e.render=w),null!=D&&(e.inheritAttrs=D),T&&(e.components=T),M&&(e.directives=M),S&&iq(e)}function n8(e,t,i=F.NOOP){for(let i in(0,F.isArray)(e)&&(e=ra(e)),e){let n,r=e[i];eJ(n=(0,F.isObject)(r)?"default"in r?ie(r.from||i,r.default,!0):ie(r.from||i):ie(r))?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>n.value,set:e=>n.value=e}):t[i]=n}}function n9(e,t,i){tT((0,F.isArray)(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,i)}function n7(e,t,i,n){let r=n.includes(".")?ic(i,n):()=>i[n];if((0,F.isString)(e)){let i=t[e];(0,F.isFunction)(i)&&il(r,i)}else if((0,F.isFunction)(e))il(r,e.bind(i));else if((0,F.isObject)(e))if((0,F.isArray)(e))e.forEach(e=>n7(e,t,i,n));else{let n=(0,F.isFunction)(e.handler)?e.handler.bind(i):t[e.handler];(0,F.isFunction)(n)&&il(r,n,e)}}function re(e){let t,i=e.type,{mixins:n,extends:r}=i,{mixins:a,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,l=s.get(i);return l?t=l:a.length||n||r?(t={},a.length&&a.forEach(e=>rt(t,e,o,!0)),rt(t,i,o)):t=i,(0,F.isObject)(i)&&s.set(i,t),t}function rt(e,t,i,n=!1){let{mixins:r,extends:a}=t;for(let s in a&&rt(e,a,i,!0),r&&r.forEach(t=>rt(e,t,i,!0)),t)if(n&&"expose"===s);else{let n=ri[s]||i&&i[s];e[s]=n?n(e[s],t[s]):t[s]}return e}let ri={data:rn,props:rl,emits:rl,methods:ro,computed:ro,beforeCreate:rs,created:rs,beforeMount:rs,mounted:rs,beforeUpdate:rs,updated:rs,beforeDestroy:rs,beforeUnmount:rs,destroyed:rs,unmounted:rs,activated:rs,deactivated:rs,errorCaptured:rs,serverPrefetch:rs,components:ro,directives:ro,watch:ru,provide:rn,inject:rr};function rn(e,t){return t?e?function(){return(0,F.extend)((0,F.isFunction)(e)?e.call(this,this):e,(0,F.isFunction)(t)?t.call(this,this):t)}:t:e}function rr(e,t){return ro(ra(e),ra(t))}function ra(e){if((0,F.isArray)(e)){let t={};for(let i=0;i(a.has(e)||(e&&(0,F.isFunction)(e.install)?(a.add(e),e.install(l,...t)):(0,F.isFunction)(e)&&(a.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(a,s,u){if(o);else{let d=l._ceVNode||aP(i,n);return d.appContext=r,!0===u?u="svg":!1===u&&(u=void 0),s&&t?t(d,a):e(d,a,u),o=!0,l._container=a,a.__vue_app__=l,se(d.component)}},onUnmount(e){s.push(e)},unmount(){o&&(tT(s,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l),runWithContext(e){let t=rf;rf=l;try{return e()}finally{rf=t}}};return l}}let rf=null;function rm(e,t,i=F.EMPTY_OBJ){let n=aQ(),r=(0,F.camelize)(t),a=(0,F.hyphenate)(t),s=rg(e,r),o=te((s,o)=>{let l,u,d=F.EMPTY_OBJ;return io(()=>{let t=e[r];(0,F.hasChanged)(l,t)&&(l=t,o())}),{get:()=>(s(),i.get?i.get(l):l),set(e){let s=i.set?i.set(e):e;if(!(0,F.hasChanged)(s,l)&&!(d!==F.EMPTY_OBJ&&(0,F.hasChanged)(e,d)))return;let c=n.vnode.props;c&&(t in c||r in c||a in c)&&(`onUpdate:${t}`in c||`onUpdate:${r}`in c||`onUpdate:${a}`in c)||(l=e,o()),n.emit(`update:${t}`,s),(0,F.hasChanged)(e,s)&&(0,F.hasChanged)(e,d)&&!(0,F.hasChanged)(s,u)&&o(),d=e,u=s}}});return o[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?s||F.EMPTY_OBJ:o,done:!1}:{done:!0}}},o}let rg=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${(0,F.camelize)(t)}Modifiers`]||e[`${(0,F.hyphenate)(t)}Modifiers`];function rp(e,t,...i){let n;if(e.isUnmounted)return;let r=e.vnode.props||F.EMPTY_OBJ,a=i,s=t.startsWith("update:"),o=s&&rg(r,t.slice(7));o&&(o.trim&&(a=i.map(e=>(0,F.isString)(e)?e.trim():e)),o.number&&(a=i.map(F.looseToNumber)));let l=r[n=(0,F.toHandlerKey)(t)]||r[n=(0,F.toHandlerKey)((0,F.camelize)(t))];!l&&s&&(l=r[n=(0,F.toHandlerKey)((0,F.hyphenate)(t))]),l&&tT(l,e,6,a);let u=r[n+"Once"];if(u){if(e.emitted){if(e.emitted[n])return}else e.emitted={};e.emitted[n]=!0,tT(u,e,6,a)}}let r_=new WeakMap;function rv(e,t,i=!1){let n=i?r_:t.emitsCache,r=n.get(e);if(void 0!==r)return r;let a=e.emits,s={},o=!1;if(!(0,F.isFunction)(e)){let n=e=>{let i=rv(e,t,!0);i&&(o=!0,(0,F.extend)(s,i))};!i&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}return a||o?((0,F.isArray)(a)?a.forEach(e=>s[e]=null):(0,F.extend)(s,a),(0,F.isObject)(e)&&n.set(e,s),s):((0,F.isObject)(e)&&n.set(e,null),null)}function rb(e,t){return!!e&&!!(0,F.isOn)(t)&&(t=t.slice(2).replace(/Once$/,""),(0,F.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||(0,F.hasOwn)(e,(0,F.hyphenate)(t))||(0,F.hasOwn)(e,t))}function ry(e){let t,i,{type:n,vnode:r,proxy:a,withProxy:s,propsOptions:[o],slots:l,attrs:u,emit:d,render:c,renderCache:h,props:f,data:m,setupState:g,ctx:p,inheritAttrs:_}=e,b=t2(e);try{if(4&r.shapeFlag){let e=s||a,n=e;t=aq(c.call(n,e,h,f,g,m,p)),i=u}else{let e=n;t=aq(e.length>1?e(f,{attrs:u,slots:l,emit:d}):e(f,null)),i=n.props?u:rk(u)}}catch(i){ab.length=0,tM(i,e,1),t=aP(a_)}let y=t;if(i&&!1!==_){let e=Object.keys(i),{shapeFlag:t}=y;e.length&&7&t&&(o&&e.some(F.isModelListener)&&(i=rw(i,o)),y=aR(y,i,!1,!0))}return r.dirs&&((y=aR(y,null,!1,!0)).dirs=y.dirs?y.dirs.concat(r.dirs):r.dirs),r.transition&&ij(y,r.transition),t=y,t2(b),t}function rF(e,t=!0){let i;for(let t=0;t{let t;for(let i in e)("class"===i||"style"===i||(0,F.isOn)(i))&&((t||(t={}))[i]=e[i]);return t},rw=(e,t)=>{let i={};for(let n in e)(0,F.isModelListener)(n)&&n.slice(9)in t||(i[n]=e[n]);return i};function rC(e,t,i){let{props:n,children:r,component:a}=e,{props:s,children:o,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!i||!(l>=0))return(!!r||!!o)&&(!o||!o.$stable)||n!==s&&(n?!s||rA(n,s,u):!!s);if(1024&l)return!0;if(16&l)return n?rA(n,s,u):!!s;if(8&l){let e=t.dynamicProps;for(let t=0;tObject.create(rx),rT=e=>Object.getPrototypeOf(e)===rx;function rM(e,t,i,n=!1){let r={},a=rD();for(let i in e.propsDefaults=Object.create(null),rB(e,t,r,a),e.propsOptions[0])i in r||(r[i]=void 0);i?e.props=n?r:eU(r):e.type.props?e.props=r:e.props=a,e.attrs=a}function rI(e,t,i,n){let{props:r,attrs:a,vnode:{patchFlag:s}}=e,o=eK(r),[l]=e.propsOptions,u=!1;if((n||s>0)&&!(16&s)){if(8&s){let i=e.vnode.dynamicProps;for(let n=0;n{l=!0;let[i,n]=rN(e,t,!0);(0,F.extend)(s,i),n&&o.push(...n)};!i&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!a&&!l)return(0,F.isObject)(e)&&n.set(e,F.EMPTY_ARR),F.EMPTY_ARR;if((0,F.isArray)(a))for(let e=0;ee.toLowerCase()===t)}function rV(...e){return e.some(e=>"boolean"===e.toLowerCase())}let rH=e=>"_"===e||"_ctx"===e||"$stable"===e,r$=e=>(0,F.isArray)(e)?e.map(aq):[aq(e)],rG=(e,t,i)=>{if(t._n)return t;let n=t5((...e)=>r$(t(...e)),i);return n._c=!1,n},rX=(e,t,i)=>{let n=e._ctx;for(let i in e){if(rH(i))continue;let r=e[i];if((0,F.isFunction)(r))t[i]=rG(i,r,n);else if(null!=r){let e=r$(r);t[i]=()=>e}}},rK=(e,t)=>{let i=r$(t);e.slots.default=()=>i},rY=(e,t,i)=>{for(let n in t)(i||!rH(n))&&(e[n]=t[n])},rQ=(e,t,i)=>{let n=e.slots=rD();if(32&e.vnode.shapeFlag){let e=t._;e?(rY(n,t,i),i&&(0,F.def)(n,"_",e,!0)):rX(t,n)}else t&&rK(e,t)},rZ=(e,t,i)=>{let{vnode:n,slots:r}=e,a=!0,s=F.EMPTY_OBJ;if(32&n.shapeFlag){let e=t._;e?i&&1===e?a=!1:rY(r,t,i):(a=!t.$stable,rX(t,r)),s=t}else t&&(rK(e,t),s={default:1});if(a)for(let e in r)rH(e)||null!=s[e]||delete r[e]};function rJ(){}let r0=ah;function r1(e){return r3(e)}function r2(e){return r3(e,i0)}function r3(e,t){let i,n;(0,F.getGlobalThis)().__VUE__=!0;let{insert:r,remove:a,patchProp:s,createElement:o,createText:l,createComment:u,setText:d,setElementText:c,parentNode:h,nextSibling:f,setScopeId:m=F.NOOP,insertStaticContent:g}=e,p=(e,t,i,n=null,r=null,a=null,s,o=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!aD(e,t)&&(n=Q(e),$(e,r,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);let{type:u,ref:d,shapeFlag:c}=t;switch(u){case ap:_(e,t,i,n);break;case a_:b(e,t,i,n);break;case av:null==e&&y(t,i,n,s);break;case ag:I(e,t,i,n,r,a,s,o,l);break;default:1&c?C(e,t,i,n,r,a,s,o,l):6&c?B(e,t,i,n,r,a,s,o,l):(64&c||128&c)&&u.process(e,t,i,n,r,a,s,o,l,ee)}null!=d&&r?i$(d,e&&e.ref,a,t||e,!t):null==d&&e&&null!=e.ref&&i$(e.ref,null,a,e,!0)},_=(e,t,i,n)=>{if(null==e)r(t.el=l(t.children),i,n);else{let i=t.el=e.el;t.children!==e.children&&d(i,t.children)}},b=(e,t,i,n)=>{null==e?r(t.el=u(t.children||""),i,n):t.el=e.el},y=(e,t,i,n)=>{[e.el,e.anchor]=g(e.children,t,i,n,e.el,e.anchor)},k=({el:e,anchor:t},i,n)=>{let a;for(;e&&e!==t;)a=f(e),r(e,i,n),e=a;r(t,i,n)},w=({el:e,anchor:t})=>{let i;for(;e&&e!==t;)i=f(e),a(e),e=i;a(t)},C=(e,t,i,n,r,a,s,o,l)=>{if("svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e)A(t,i,n,r,a,s,o,l);else{let i=e.el&&e.el._isVueCE?e.el:null;try{i&&i._beginPatch(),D(e,t,r,a,s,o,l)}finally{i&&i._endPatch()}}},A=(e,t,i,n,a,l,u,d)=>{let h,f,{props:m,shapeFlag:g,transition:p,dirs:_}=e;if(h=e.el=o(e.type,l,m&&m.is,m),8&g?c(h,e.children):16&g&&x(e.children,h,null,n,a,r4(e,l),u,d),_&&t9(e,null,n,"created"),E(h,e,e.scopeId,u,n),m){for(let e in m)"value"===e||(0,F.isReservedProp)(e)||s(h,e,null,m[e],l,n);"value"in m&&s(h,"value",null,m.value,l),(f=m.onVnodeBeforeMount)&&a$(f,n,e)}_&&t9(e,null,n,"beforeMount");let b=r5(a,p);b&&p.beforeEnter(h),r(h,t,i),((f=m&&m.onVnodeMounted)||b||_)&&r0(()=>{f&&a$(f,n,e),b&&p.enter(h),_&&t9(e,null,n,"mounted")},a)},E=(e,t,i,n,r)=>{if(i&&m(e,i),n)for(let t=0;t{for(let u=l;u{let l,u=t.el=e.el,{patchFlag:d,dynamicChildren:h,dirs:f}=t;d|=16&e.patchFlag;let m=e.props||F.EMPTY_OBJ,g=t.props||F.EMPTY_OBJ;if(i&&r6(i,!1),(l=g.onVnodeBeforeUpdate)&&a$(l,i,t,e),f&&t9(t,e,i,"beforeUpdate"),i&&r6(i,!0),(m.innerHTML&&null==g.innerHTML||m.textContent&&null==g.textContent)&&c(u,""),h?T(e.dynamicChildren,h,u,i,n,r4(t,r),a):o||O(e,t,u,null,i,n,r4(t,r),a,!1),d>0){if(16&d)M(u,m,g,i,r);else if(2&d&&m.class!==g.class&&s(u,"class",null,g.class,r),4&d&&s(u,"style",m.style,g.style,r),8&d){let e=t.dynamicProps;for(let t=0;t{l&&a$(l,i,t,e),f&&t9(t,e,i,"updated")},n)},T=(e,t,i,n,r,a,s)=>{for(let o=0;o{if(t!==i){if(t!==F.EMPTY_OBJ)for(let a in t)(0,F.isReservedProp)(a)||a in i||s(e,a,t[a],null,r,n);for(let a in i){if((0,F.isReservedProp)(a))continue;let o=i[a],l=t[a];o!==l&&"value"!==a&&s(e,a,l,o,r,n)}"value"in i&&s(e,"value",t.value,i.value,r)}},I=(e,t,i,n,a,s,o,u,d)=>{let c=t.el=e?e.el:l(""),h=t.anchor=e?e.anchor:l(""),{patchFlag:f,dynamicChildren:m,slotScopeIds:g}=t;(g&&(u=u?u.concat(g):g),null==e)?(r(c,i,n),r(h,i,n),x(t.children||[],i,h,a,s,o,u,d)):f>0&&64&f&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(T(e.dynamicChildren,m,i,a,s,o,u),(null!=t.key||a&&t===a.subTree)&&r8(e,t,!0)):O(e,t,i,h,a,s,o,u,d)},B=(e,t,i,n,r,a,s,o,l)=>{t.slotScopeIds=o,null==e?512&t.shapeFlag?r.ctx.activate(t,i,n,s,l):P(t,i,n,r,a,s,l):N(e,t,l)},P=(e,t,i,n,r,a,s)=>{let o=e.component=aK(e,n,r);if(na(e)&&(o.ctx.renderer=ee),a2(o,!1,s),o.asyncDep){if(r&&r.registerDep(o,R,s),!e.el){let n=o.subTree=aP(a_);b(null,n,t,i),e.placeholder=n.el}}else R(o,e,t,i,r,a,s)},N=(e,t,i)=>{let n=t.component=e.component;if(rC(e,t,i))if(n.asyncDep&&!n.asyncResolved)return void j(n,t,i);else n.next=t,n.update();else t.el=e.el,n.vnode=t},R=(e,t,i,r,a,s,o)=>{let l=()=>{if(e.isMounted){let t,{next:i,bu:n,u:r,parent:l,vnode:u}=e;{let t=r7(e);if(t){i&&(i.el=u.el,j(e,i,o)),t.asyncDep.then(()=>{r0(()=>{e.isUnmounted||d()},a)});return}}let c=i;r6(e,!1),i?(i.el=u.el,j(e,i,o)):i=u,n&&(0,F.invokeArrayFns)(n),(t=i.props&&i.props.onVnodeBeforeUpdate)&&a$(t,l,i,u),r6(e,!0);let f=ry(e),m=e.subTree;e.subTree=f,p(m,f,h(m.el),Q(m),e,a,s),i.el=f.el,null===c&&rS(e,f.el),r&&r0(r,a),(t=i.props&&i.props.onVnodeUpdated)&&r0(()=>a$(t,l,i,u),a)}else{let o,{el:l,props:u}=t,{bm:d,m:c,parent:h,root:f,type:m}=e,g=ni(t);if(r6(e,!1),d&&(0,F.invokeArrayFns)(d),!g&&(o=u&&u.onVnodeBeforeMount)&&a$(o,h,t),r6(e,!0),l&&n){let t=()=>{e.subTree=ry(e),n(l,e.subTree,e,a,null)};g&&m.__asyncHydrate?m.__asyncHydrate(l,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(m);let n=e.subTree=ry(e);p(null,n,i,r,e,a,s),t.el=n.el}if(c&&r0(c,a),!g&&(o=u&&u.onVnodeMounted)){let e=t;r0(()=>a$(o,h,e),a)}(256&t.shapeFlag||h&&ni(h.vnode)&&256&h.vnode.shapeFlag)&&e.a&&r0(e.a,a),e.isMounted=!0,t=i=r=null}};e.scope.on();let u=e.effect=new S(l);e.scope.off();let d=e.update=u.run.bind(u),c=e.job=u.runIfDirty.bind(u);c.i=e,c.id=e.uid,u.scheduler=()=>tq(c),r6(e,!0),d()},j=(e,t,i)=>{t.component=e;let n=e.vnode.props;e.vnode=t,e.next=null,rI(e,t.props,n,i),rZ(e,t.children,i),V(),tH(e),H()},O=(e,t,i,n,r,a,s,o,l=!1)=>{let u=e&&e.children,d=e?e.shapeFlag:0,h=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(128&f)return void q(u,h,i,n,r,a,s,o,l);else if(256&f)return void z(u,h,i,n,r,a,s,o,l)}8&m?(16&d&&Y(u,r,a),h!==u&&c(i,h)):16&d?16&m?q(u,h,i,n,r,a,s,o,l):Y(u,r,a,!0):(8&d&&c(i,""),16&m&&x(h,i,n,r,a,s,o,l))},z=(e,t,i,n,r,a,s,o,l)=>{let u;e=e||F.EMPTY_ARR,t=t||F.EMPTY_ARR;let d=e.length,c=t.length,h=Math.min(d,c);for(u=0;uc?Y(e,r,a,!0,!1,h):x(t,i,n,r,a,s,o,l,h)},q=(e,t,i,n,r,a,s,o,l)=>{let u=0,d=t.length,c=e.length-1,h=d-1;for(;u<=c&&u<=h;){let n=e[u],d=t[u]=l?aW(t[u]):aq(t[u]);if(aD(n,d))p(n,d,i,null,r,a,s,o,l);else break;u++}for(;u<=c&&u<=h;){let n=e[c],u=t[h]=l?aW(t[h]):aq(t[h]);if(aD(n,u))p(n,u,i,null,r,a,s,o,l);else break;c--,h--}if(u>c){if(u<=h){let e=h+1,c=eh)for(;u<=c;)$(e[u],r,a,!0),u++;else{let f,m=u,g=u,_=new Map;for(u=g;u<=h;u++){let e=t[u]=l?aW(t[u]):aq(t[u]);null!=e.key&&_.set(e.key,u)}let b=0,y=h-g+1,k=!1,w=0,C=Array(y);for(u=0;u=y){$(d,r,a,!0);continue}if(null!=d.key)n=_.get(d.key);else for(f=g;f<=h;f++)if(0===C[f-g]&&aD(d,t[f])){n=f;break}void 0===n?$(d,r,a,!0):(C[n-g]=u+1,n>=w?w=n:k=!0,p(d,t[n],i,null,r,a,s,o,l),b++)}let A=k?r9(C):F.EMPTY_ARR;for(f=A.length-1,u=y-1;u>=0;u--){let e=g+u,c=t[e],h=t[e+1],m=e+1{let{el:o,type:l,transition:u,children:d,shapeFlag:c}=e;if(6&c)return void W(e.component.subTree,t,i,n);if(128&c)return void e.suspense.move(t,i,n);if(64&c)return void l.move(e,t,i,ee);if(l===ag){r(o,t,i);for(let e=0;eu.enter(o),s);else{let{leave:n,delayLeave:s,afterLeave:l}=u,d=()=>{e.ctx.isUnmounted?a(o):r(o,t,i)},c=()=>{o._isLeaving&&o[iE](!0),n(o,()=>{d(),l&&l()})};s?s(o,d,c):c()}else r(o,t,i)},$=(e,t,i,n=!1,r=!1)=>{let a,{type:s,props:o,ref:l,children:u,dynamicChildren:d,shapeFlag:c,patchFlag:h,dirs:f,cacheIndex:m}=e;if(-2===h&&(r=!1),null!=l&&(V(),i$(l,null,i,e,!0),H()),null!=m&&(t.renderCache[m]=void 0),256&c)return void t.ctx.deactivate(e);let g=1&c&&f,p=!ni(e);if(p&&(a=o&&o.onVnodeBeforeUnmount)&&a$(a,t,e),6&c)K(e.component,i,n);else{if(128&c)return void e.suspense.unmount(i,n);g&&t9(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,i,ee,n):d&&!d.hasOnce&&(s!==ag||h>0&&64&h)?Y(d,t,i,!1,!0):(s===ag&&384&h||!r&&16&c)&&Y(u,t,i),n&&G(e)}(p&&(a=o&&o.onVnodeUnmounted)||g)&&r0(()=>{a&&a$(a,t,e),g&&t9(e,null,t,"unmounted")},i)},G=e=>{let{type:t,el:i,anchor:n,transition:r}=e;if(t===ag)return void X(i,n);if(t===av)return void w(e);let s=()=>{a(i),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){let{leave:t,delayLeave:n}=r,a=()=>t(i,s);n?n(e.el,s,a):a()}else s()},X=(e,t)=>{let i;for(;e!==t;)i=f(e),a(e),e=i;a(t)},K=(e,t,i)=>{let{bum:n,scope:r,job:a,subTree:s,um:o,m:l,a:u}=e;ae(l),ae(u),n&&(0,F.invokeArrayFns)(n),r.stop(),a&&(a.flags|=8,$(s,e,t,i)),o&&r0(o,t),r0(()=>{e.isUnmounted=!0},t)},Y=(e,t,i,n=!1,r=!1,a=0)=>{for(let s=a;s{if(6&e.shapeFlag)return Q(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();let t=f(e.anchor||e.el),i=t&&t[ih];return i?f(i):t},Z=!1,J=(e,t,i)=>{let n;null==e?t._vnode&&($(t._vnode,null,null,!0),n=t._vnode.component):p(t._vnode||null,e,t,null,null,null,i),t._vnode=e,Z||(Z=!0,tH(n),t$(),Z=!1)},ee={p:p,um:$,m:W,r:G,mt:P,mc:x,pc:O,pbc:T,n:Q,o:e};return t&&([i,n]=t(ee)),{render:J,hydrate:i,createApp:rh(J,i)}}function r4({type:e,props:t},i){return"svg"===i&&"foreignObject"===e||"mathml"===i&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:i}function r6({effect:e,job:t},i){i?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function r5(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function r8(e,t,i=!1){let n=e.children,r=t.children;if((0,F.isArray)(n)&&(0,F.isArray)(r))for(let e=0;e>1]]0&&(s[t]=o[n-1]),o[n]=t)}}for(n=o.length,r=o[n-1];n-- >0;)o[n]=r,r=s[r];return o}function r7(e){let t=e.subTree.component;if(t)if(t.asyncDep&&!t.asyncResolved)return t;else return r7(t)}function ae(e){if(e)for(let t=0;te.__isSuspense,an=0,ar={name:"Suspense",__isSuspense:!0,process(e,t,i,n,r,a,s,o,l,u){if(null==e)as(t,i,n,r,a,s,o,l,u);else{if(a&&a.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ao(e,t,i,n,r,s,o,l,u)}},hydrate:au,normalize:ad};function aa(e,t){let i=e.props&&e.props[t];(0,F.isFunction)(i)&&i()}function as(e,t,i,n,r,a,s,o,l){let{p:u,o:{createElement:d}}=l,c=d("div"),h=e.suspense=al(e,r,n,t,c,i,a,s,o,l);u(null,h.pendingBranch=e.ssContent,c,null,n,h,a,s),h.deps>0?(aa(e,"onPending"),aa(e,"onFallback"),u(null,e.ssFallback,t,i,n,null,a,s),af(h,e.ssFallback)):h.resolve(!1,!0)}function ao(e,t,i,n,r,a,s,o,{p:l,um:u,o:{createElement:d}}){let c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;let h=t.ssContent,f=t.ssFallback,{activeBranch:m,pendingBranch:g,isInFallback:p,isHydrating:_}=c;if(g)c.pendingBranch=h,aD(g,h)?(l(g,h,c.hiddenContainer,null,r,c,a,s,o),c.deps<=0?c.resolve():p&&!_&&(l(m,f,i,n,r,null,a,s,o),af(c,f))):(c.pendingId=an++,_?(c.isHydrating=!1,c.activeBranch=g):u(g,r,c),c.deps=0,c.effects.length=0,c.hiddenContainer=d("div"),p?(l(null,h,c.hiddenContainer,null,r,c,a,s,o),c.deps<=0?c.resolve():(l(m,f,i,n,r,null,a,s,o),af(c,f))):m&&aD(m,h)?(l(m,h,i,n,r,c,a,s,o),c.resolve(!0)):(l(null,h,c.hiddenContainer,null,r,c,a,s,o),c.deps<=0&&c.resolve()));else if(m&&aD(m,h))l(m,h,i,n,r,c,a,s,o),af(c,h);else if(aa(t,"onPending"),c.pendingBranch=h,512&h.shapeFlag?c.pendingId=h.component.suspenseId:c.pendingId=an++,l(null,h,c.hiddenContainer,null,r,c,a,s,o),c.deps<=0)c.resolve();else{let{timeout:e,pendingId:t}=c;e>0?setTimeout(()=>{c.pendingId===t&&c.fallback(f)},e):0===e&&c.fallback(f)}}function al(e,t,i,n,r,a,s,o,l,u,d=!1){let c,{p:h,m:f,um:m,n:g,o:{parentNode:p,remove:_}}=u,b=am(e);b&&t&&t.pendingBranch&&(c=t.pendingId,t.deps++);let y=e.props?(0,F.toNumber)(e.props.timeout):void 0,k=a,w={vnode:e,parent:t,parentComponent:i,namespace:s,container:n,hiddenContainer:r,deps:0,pendingId:an++,timeout:"number"==typeof y?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,i=!1){let{vnode:n,activeBranch:r,pendingBranch:s,pendingId:o,effects:l,parentComponent:u,container:d,isInFallback:h}=w,_=!1;w.isHydrating?w.isHydrating=!1:!e&&((_=r&&s.transition&&"out-in"===s.transition.mode)&&(r.transition.afterLeave=()=>{o===w.pendingId&&(f(s,d,a===k?g(r):a,0),tV(l),h&&n.ssFallback&&(n.ssFallback.el=null))}),r&&(p(r.el)===d&&(a=g(r)),m(r,u,w,!0),!_&&h&&n.ssFallback&&r0(()=>n.ssFallback.el=null,w)),_||f(s,d,a,0)),af(w,s),w.pendingBranch=null,w.isInFallback=!1;let y=w.parent,F=!1;for(;y;){if(y.pendingBranch){y.effects.push(...l),F=!0;break}y=y.parent}F||_||tV(l),w.effects=[],b&&t&&t.pendingBranch&&c===t.pendingId&&(t.deps--,0!==t.deps||i||t.resolve()),aa(n,"onResolve")},fallback(e){if(!w.pendingBranch)return;let{vnode:t,activeBranch:i,parentComponent:n,container:r,namespace:a}=w;aa(t,"onFallback");let s=g(i),u=()=>{w.isInFallback&&(h(null,e,r,s,n,null,a,o,l),af(w,e))},d=e.transition&&"out-in"===e.transition.mode;d&&(i.transition.afterLeave=u),w.isInFallback=!0,m(i,n,null,!0),d||u()},move(e,t,i){w.activeBranch&&f(w.activeBranch,e,t,i),w.container=e},next:()=>w.activeBranch&&g(w.activeBranch),registerDep(e,t,i){let n=!!w.pendingBranch;n&&w.deps++;let r=e.vnode.el;e.asyncDep.catch(t=>{tM(t,e,0)}).then(a=>{if(e.isUnmounted||w.isUnmounted||w.pendingId!==e.suspenseId)return;e.asyncResolved=!0;let{vnode:o}=e;a4(e,a,!1),r&&(o.el=r);let l=!r&&e.subTree.el;t(e,o,p(r||e.subTree.el),r?null:g(e.subTree),w,s,i),l&&(o.placeholder=null,_(l)),rS(e,o.el),n&&0==--w.deps&&w.resolve()})},unmount(e,t){w.isUnmounted=!0,w.activeBranch&&m(w.activeBranch,i,e,t),w.pendingBranch&&m(w.pendingBranch,i,e,t)}};return w}function au(e,t,i,n,r,a,s,o,l){let u=t.suspense=al(t,n,i,e.parentNode,document.createElement("div"),null,r,a,s,o,!0),d=l(e,u.pendingBranch=t.ssContent,i,u,a,s);return 0===u.deps&&u.resolve(!1,!0),d}function ad(e){let{shapeFlag:t,children:i}=e,n=32&t;e.ssContent=ac(n?i.default:i),e.ssFallback=n?ac(i.fallback):aP(a_)}function ac(e){let t;if((0,F.isFunction)(e)){let i=aw&&e._c;i&&(e._d=!1,aF()),e=e(),i&&(e._d=!0,t=ay,ak())}return(0,F.isArray)(e)&&(e=rF(e)),e=aq(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function ah(e,t){t&&t.pendingBranch?(0,F.isArray)(e)?t.effects.push(...e):t.effects.push(e):tV(e)}function af(e,t){e.activeBranch=t;let{vnode:i,parentComponent:n}=e,r=t.el;for(;!r&&t.component;)r=(t=t.component.subTree).el;i.el=r,n&&n.subTree===i&&(n.vnode.el=r,rS(n,r))}function am(e){let t=e.props&&e.props.suspensible;return null!=t&&!1!==t}let ag=Symbol.for("v-fgt"),ap=Symbol.for("v-txt"),a_=Symbol.for("v-cmt"),av=Symbol.for("v-stc"),ab=[],ay=null;function aF(e=!1){ab.push(ay=e?null:[])}function ak(){ab.pop(),ay=ab[ab.length-1]||null}let aw=1;function aC(e,t=!1){aw+=e,e<0&&ay&&t&&(ay.hasOnce=!0)}function aA(e){return e.dynamicChildren=aw>0?ay||F.EMPTY_ARR:null,ak(),aw>0&&ay&&ay.push(e),e}function aE(e,t,i,n,r,a){return aA(aB(e,t,i,n,r,a,!0))}function aS(e,t,i,n,r){return aA(aP(e,t,i,n,r,!0))}function ax(e){return!!e&&!0===e.__v_isVNode}function aD(e,t){return e.type===t.type&&e.key===t.key}function aT(e){d=e}let aM=({key:e})=>null!=e?e:null,aI=({ref:e,ref_key:t,ref_for:i})=>("number"==typeof e&&(e=""+e),null!=e?(0,F.isString)(e)||eJ(e)||(0,F.isFunction)(e)?{i:t0,r:e,k:t,f:!!i}:e:null);function aB(e,t=null,i=null,n=0,r=null,a=+(e!==ag),s=!1,o=!1){let l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&aM(t),ref:t&&aI(t),scopeId:t1,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:t0};return o?(aV(l,i),128&a&&e.normalize(l)):i&&(l.shapeFlag|=(0,F.isString)(i)?8:16),aw>0&&!s&&ay&&(l.patchFlag>0||6&a)&&32!==l.patchFlag&&ay.push(l),l}let aP=aL;function aL(e,t=null,i=null,n=0,r=null,a=!1){if(e&&e!==nD||(e=a_),ax(e)){let n=aR(e,t,!0);return i&&aV(n,i),aw>0&&!a&&ay&&(6&n.shapeFlag?ay[ay.indexOf(e)]=n:ay.push(n)),n.patchFlag=-2,n}if(sa(e)&&(e=e.__vccOpts),t){let{class:e,style:i}=t=aN(t);e&&!(0,F.isString)(e)&&(t.class=(0,F.normalizeClass)(e)),(0,F.isObject)(i)&&(eX(i)&&!(0,F.isArray)(i)&&(i=(0,F.extend)({},i)),t.style=(0,F.normalizeStyle)(i))}let s=(0,F.isString)(e)?1:ai(e)?128:im(e)?64:(0,F.isObject)(e)?4:2*!!(0,F.isFunction)(e);return aB(e,t,i,n,r,s,a,!0)}function aN(e){return e?eX(e)||rT(e)?(0,F.extend)({},e):e:null}function aR(e,t,i=!1,n=!1){let{props:r,ref:a,patchFlag:s,children:o,transition:l}=e,u=t?aH(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&aM(u),ref:t&&t.ref?i&&a?(0,F.isArray)(a)?a.concat(aI(t)):[a,aI(t)]:aI(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ag?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&aR(e.ssContent),ssFallback:e.ssFallback&&aR(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&ij(d,l.clone(d)),d}function aj(e){let t=aR(e);return isArray(e.children)&&(t.children=e.children.map(aj)),t}function aO(e=" ",t=0){return aP(ap,null,e,t)}function az(e,t){let i=aP(av,null,e);return i.staticCount=t,i}function aU(e="",t=!1){return t?(aF(),aS(a_,null,e)):aP(a_,null,e)}function aq(e){return null==e||"boolean"==typeof e?aP(a_):(0,F.isArray)(e)?aP(ag,null,e.slice()):ax(e)?aW(e):aP(ap,null,String(e))}function aW(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:aR(e)}function aV(e,t){let i=0,{shapeFlag:n}=e;if(null==t)t=null;else if((0,F.isArray)(t))i=16;else if("object"==typeof t)if(65&n){let i=t.default;i&&(i._c&&(i._d=!1),aV(e,i()),i._c&&(i._d=!0));return}else{i=32;let n=t._;n||rT(t)?3===n&&t0&&(1===t0.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=t0}else(0,F.isFunction)(t)?(t={default:t,_ctx:t0},i=32):(t=String(t),64&n?(i=16,t=[aO(t)]):i=8);e.children=t,e.shapeFlag|=i}function aH(...e){let t={};for(let i=0;iaY||t0;{let e=(0,F.getGlobalThis)(),t=(t,i)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(i),e=>{n.length>1?n.forEach(t=>t(e)):n[0](e)}};c=t("__VUE_INSTANCE_SETTERS__",e=>aY=e),h=t("__VUE_SSR_SETTERS__",e=>a1=e)}let aZ=e=>{let t=aY;return c(e),e.scope.on(),()=>{e.scope.off(),c(t)}},aJ=()=>{aY&&aY.scope.off(),c(null)};function a0(e){return 4&e.vnode.shapeFlag}let a1=!1;function a2(e,t=!1,i=!1){t&&h(t);let{props:n,children:r}=e.vnode,a=a0(e);rM(e,n,a,t),rQ(e,r,i||t);let s=a?a3(e,t):void 0;return t&&h(!1),s}function a3(e,t){let i=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nq);let{setup:n}=i;if(n){V();let i=e.setupContext=n.length>1?a7(e):null,r=aZ(e),a=tD(n,e,0,[e.props,i]),s=(0,F.isPromise)(a);if(H(),r(),(s||e.sp)&&!ni(e)&&iq(e),s){if(a.then(aJ,aJ),t)return a.then(i=>{a4(e,i,t)}).catch(t=>{tM(t,e,0)});e.asyncDep=a}else a4(e,a,t)}else a8(e,t)}function a4(e,t,i){(0,F.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,F.isObject)(t)&&(e.setupState=e9(t)),a8(e,i)}function a6(e){f=e,m=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,nW))}}let a5=()=>!f;function a8(e,t,i){let n=e.type;if(!e.render){if(!t&&f&&!n.render){let t=n.template||re(e).template;if(t){let{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:s}=n,o=(0,F.extend)((0,F.extend)({isCustomElement:i,delimiters:a},r),s);n.render=f(t,o)}}e.render=n.render||F.NOOP,m&&m(e)}{let t=aZ(e);V();try{n5(e)}finally{H(),t()}}}let a9={get:(e,t)=>(et(e,"get",""),e[t])};function a7(e){let t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,a9),slots:e.slots,emit:e.emit,expose:t}}function se(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(e9(eY(e.exposed)),{get:(t,i)=>i in t?t[i]:i in nz?nz[i](e):void 0,has:(e,t)=>t in e||t in nz})):e.proxy}let st=/(?:^|[-_])\w/g,si=e=>e.replace(st,e=>e.toUpperCase()).replace(/[-_]/g,"");function sn(e,t=!0){return(0,F.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function sr(e,t,i=!1){let n=sn(t);if(!n&&t.__file){let e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(n=e[1])}if(!n&&e){let i=e=>{for(let i in e)if(e[i]===t)return i};n=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return n?si(n):i?"App":"Anonymous"}function sa(e){return(0,F.isFunction)(e)&&"__vccOpts"in e}let ss=(e,t)=>to(e,t,a1);function so(e,t,i){try{aC(-1);let n=arguments.length;if(2!==n)return n>3?i=Array.prototype.slice.call(arguments,2):3===n&&ax(i)&&(i=[i]),aP(e,t,i);if(!(0,F.isObject)(t)||(0,F.isArray)(t))return aP(e,null,t);if(ax(t))return aP(e,null,[t]);return aP(e,t)}finally{aC(1)}}function sl(){function e(t,i=!0){return"number"==typeof t?["span",numberStyle,t]:"string"==typeof t?["span",stringStyle,JSON.stringify(t)]:"boolean"==typeof t?["span",keywordStyle,t]:(0,F.isObject)(t)?["object",{object:i?eK(t):t}]:["span",stringStyle,String(t)]}function t(e,i,n){let r=e[n];if((0,F.isArray)(r)&&r.includes(i)||(0,F.isObject)(r)&&i in r||e.extends&&t(e.extends,i,n)||e.mixins&&e.mixins.some(e=>t(e,i,n)))return!0}}function su(e,t,i,n){let r=i[n];if(r&&sd(r,e))return r;let a=t();return a.memo=e.slice(),a.cacheIndex=n,i[n]=a}function sd(e,t){let i=e.memo;if(i.length!=t.length)return!1;for(let e=0;e0&&ay&&ay.push(e),!0}let sc="3.5.28",sh=F.NOOP,sf=tx,sm=o,sg=tJ,sp={createComponentInstance:aK,setupComponent:a2,renderComponentRoot:ry,setCurrentRenderingInstance:t2,isVNode:ax,normalizeVNode:aq,getComponentPublicInstance:se,ensureValidVNode:nR,pushWarningContext:t_,popWarningContext:tv},s_=null,sv=null,sb=null,sy="u">typeof window&&window.trustedTypes;if(sy)try{_=sy.createPolicy("vue",{createHTML:e=>e})}catch(e){}let sF=_?e=>_.createHTML(e):e=>e,sk="http://www.w3.org/2000/svg",sw="http://www.w3.org/1998/Math/MathML",sC="u">typeof document?document:null,sA=sC&&sC.createElement("template"),sE={insert:(e,t,i)=>{t.insertBefore(e,i||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,i,n)=>{let r="svg"===t?sC.createElementNS(sk,e):"mathml"===t?sC.createElementNS(sw,e):i?sC.createElement(e,{is:i}):sC.createElement(e);return"select"===e&&n&&null!=n.multiple&&r.setAttribute("multiple",n.multiple),r},createText:e=>sC.createTextNode(e),createComment:e=>sC.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sC.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,i,n,r,a){let s=i?i.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),i),r!==a&&(r=r.nextSibling););else{sA.innerHTML=sF("svg"===n?`${e}`:"mathml"===n?`${e}`:e);let r=sA.content;if("svg"===n||"mathml"===n){let e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,i)}return[s?s.nextSibling:t.firstChild,i?i.previousSibling:t.lastChild]}},sS="transition",sx="animation",sD=Symbol("_vtc"),sT={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},sM=(0,F.extend)({},iT,sT),sI=((b=(e,{slots:t})=>so(iB,sL(e),t)).displayName="Transition",b.props=sM,b),sB=(e,t=[])=>{(0,F.isArray)(e)?e.forEach(e=>e(...t)):e&&e(...t)},sP=e=>!!e&&((0,F.isArray)(e)?e.some(e=>e.length>1):e.length>1);function sL(e){let t={};for(let i in e)i in sT||(t[i]=e[i]);if(!1===e.css)return t;let{name:i="v",type:n,duration:r,enterFromClass:a=`${i}-enter-from`,enterActiveClass:s=`${i}-enter-active`,enterToClass:o=`${i}-enter-to`,appearFromClass:l=a,appearActiveClass:u=s,appearToClass:d=o,leaveFromClass:c=`${i}-leave-from`,leaveActiveClass:h=`${i}-leave-active`,leaveToClass:f=`${i}-leave-to`}=e,m=sN(r),g=m&&m[0],p=m&&m[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:y,onLeave:k,onLeaveCancelled:w,onBeforeAppear:C=_,onAppear:A=b,onAppearCancelled:E=y}=t,S=(e,t,i,n)=>{e._enterCancelled=n,sO(e,t?d:o),sO(e,t?u:s),i&&i()},x=(e,t)=>{e._isLeaving=!1,sO(e,c),sO(e,f),sO(e,h),t&&t()},D=e=>(t,i)=>{let r=e?A:b,s=()=>S(t,e,i);sB(r,[t,s]),sz(()=>{sO(t,e?l:a),sj(t,e?d:o),sP(r)||sq(t,n,g,s)})};return(0,F.extend)(t,{onBeforeEnter(e){sB(_,[e]),sj(e,a),sj(e,s)},onBeforeAppear(e){sB(C,[e]),sj(e,l),sj(e,u)},onEnter:D(!1),onAppear:D(!0),onLeave(e,t){e._isLeaving=!0;let i=()=>x(e,t);sj(e,c),e._enterCancelled?(sj(e,h),s$(e)):(s$(e),sj(e,h)),sz(()=>{e._isLeaving&&(sO(e,c),sj(e,f),sP(k)||sq(e,n,p,i))}),sB(k,[e,i])},onEnterCancelled(e){S(e,!1,void 0,!0),sB(y,[e])},onAppearCancelled(e){S(e,!0,void 0,!0),sB(E,[e])},onLeaveCancelled(e){x(e),sB(w,[e])}})}function sN(e){if(null==e)return null;{if((0,F.isObject)(e))return[sR(e.enter),sR(e.leave)];let t=sR(e);return[t,t]}}function sR(e){return(0,F.toNumber)(e)}function sj(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[sD]||(e[sD]=new Set)).add(t)}function sO(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let i=e[sD];i&&(i.delete(t),i.size||(e[sD]=void 0))}function sz(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let sU=0;function sq(e,t,i,n){let r=e._endId=++sU,a=()=>{r===e._endId&&n()};if(null!=i)return setTimeout(a,i);let{type:s,timeout:o,propCount:l}=sW(e,t);if(!s)return n();let u=s+"end",d=0,c=()=>{e.removeEventListener(u,h),a()},h=t=>{t.target===e&&++d>=l&&c()};setTimeout(()=>{d(i[e]||"").split(", "),r=n(`${sS}Delay`),a=n(`${sS}Duration`),s=sV(r,a),o=n(`${sx}Delay`),l=n(`${sx}Duration`),u=sV(o,l),d=null,c=0,h=0;t===sS?s>0&&(d=sS,c=s,h=a.length):t===sx?u>0&&(d=sx,c=u,h=l.length):h=(d=(c=Math.max(s,u))>0?s>u?sS:sx:null)?d===sS?a.length:l.length:0;let f=d===sS&&/\b(?:transform|all)(?:,|$)/.test(n(`${sS}Property`).toString());return{type:d,timeout:c,propCount:h,hasTransform:f}}function sV(e,t){for(;e.lengthsH(t)+sH(e[i])))}function sH(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function s$(e){return(e?e.ownerDocument:document).body.offsetHeight}function sG(e,t,i){let n=e[sD];n&&(t=(t?[t,...n]:[...n]).join(" ")),null==t?e.removeAttribute("class"):i?e.setAttribute("class",t):e.className=t}let sX=Symbol("_vod"),sK=Symbol("_vsh"),sY={name:"show",beforeMount(e,{value:t},{transition:i}){e[sX]="none"===e.style.display?"":e.style.display,i&&t?i.beforeEnter(e):sQ(e,t)},mounted(e,{value:t},{transition:i}){i&&t&&i.enter(e)},updated(e,{value:t,oldValue:i},{transition:n}){!t!=!i&&(n?t?(n.beforeEnter(e),sQ(e,!0),n.enter(e)):n.leave(e,()=>{sQ(e,!1)}):sQ(e,t))},beforeUnmount(e,{value:t}){sQ(e,t)}};function sQ(e,t){e.style.display=t?e[sX]:"none",e[sK]=!t}function sZ(){sY.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}let sJ=Symbol("");function s0(e){let t=aQ();if(!t)return;let i=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>s2(e,i))},n=()=>{let n=e(t.proxy);t.ce?s2(t.ce,n):s1(t.subTree,n),i(n)};nv(()=>{tV(n)}),n_(()=>{il(n,F.NOOP,{flush:"post"});let e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),nF(()=>e.disconnect())})}function s1(e,t){if(128&e.shapeFlag){let i=e.suspense;e=i.activeBranch,i.pendingBranch&&!i.isHydrating&&i.effects.push(()=>{s1(i.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)s2(e.el,t);else if(e.type===ag)e.children.forEach(e=>s1(e,t));else if(e.type===av){let{el:i,anchor:n}=e;for(;i&&(s2(i,t),i!==n);)i=i.nextSibling}}function s2(e,t){if(1===e.nodeType){let i=e.style,n="";for(let e in t){let r=(0,F.normalizeCssVarValue)(t[e]);i.setProperty(`--${e}`,r),n+=`--${e}: ${r};`}i[sJ]=n}}let s3=/(?:^|;)\s*display\s*:/;function s4(e,t,i){let n=e.style,r=(0,F.isString)(i),a=!1;if(i&&!r){if(t)if((0,F.isString)(t))for(let e of t.split(";")){let t=e.slice(0,e.indexOf(":")).trim();null==i[t]&&s5(n,t,"")}else for(let e in t)null==i[e]&&s5(n,e,"");for(let e in i)"display"===e&&(a=!0),s5(n,e,i[e])}else if(r){if(t!==i){let e=n[sJ];e&&(i+=";"+e),n.cssText=i,a=s3.test(i)}}else t&&e.removeAttribute("style");sX in e&&(e[sX]=a?n.display:"",e[sK]&&(n.display="none"))}let s6=/\s*!important$/;function s5(e,t,i){if((0,F.isArray)(i))i.forEach(i=>s5(e,t,i));else if(null==i&&(i=""),t.startsWith("--"))e.setProperty(t,i);else{let n=s7(e,t);s6.test(i)?e.setProperty((0,F.hyphenate)(n),i.replace(s6,""),"important"):e[n]=i}}let s8=["Webkit","Moz","ms"],s9={};function s7(e,t){let i=s9[t];if(i)return i;let n=(0,F.camelize)(t);if("filter"!==n&&n in e)return s9[t]=n;n=(0,F.capitalize)(n);for(let i=0;iou||(od.then(()=>ou=0),ou=Date.now());function oh(e,t){let i=e=>{if(e._vts){if(e._vts<=i.attached)return}else e._vts=Date.now();tT(of(e,i.value),t,5,[e])};return i.value=e,i.attached=oc(),i}function of(e,t){if(!(0,F.isArray)(t))return t;{let i=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{i.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}}let om=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&123>e.charCodeAt(2),og=(e,t,i,n,r,a)=>{let s="svg"===r;"class"===t?sG(e,n,s):"style"===t?s4(e,i,n):(0,F.isOn)(t)?(0,F.isModelListener)(t)||os(e,t,i,n,a):("."===t[0]?(t=t.slice(1),0):"^"===t[0]?(t=t.slice(1),1):!op(e,t,n,s))?e._isVueCE&&(/[A-Z]/.test(t)||!(0,F.isString)(n))?oi(e,(0,F.camelize)(t),n,a,t):("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),ot(e,t,n,s)):(oi(e,t,n),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||ot(e,t,n,s,a,"value"!==t))};function op(e,t,i,n){if(n)return!!("innerHTML"===t||"textContent"===t||t in e&&om(t)&&(0,F.isFunction)(i));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t||"sandbox"===t&&"IFRAME"===e.tagName||"form"===t||"list"===t&&"INPUT"===e.tagName||"type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){let t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return!(om(t)&&(0,F.isString)(i))&&t in e}let o_={};function ov(e,t,i){let n=iz(e,t);(0,F.isPlainObject)(n)&&(n=(0,F.extend)({},n,t));class r extends oF{constructor(e){super(n,e,i)}}return r.def=n,r}let ob=(e,t)=>ov(e,t,le),oy="u">typeof HTMLElement?HTMLElement:class{};class oF extends oy{constructor(e,t={},i=o7){super(),this._def=e,this._props=t,this._createApp=i,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&i!==o7?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow((0,F.extend)({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof oF){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,tz(()=>{!this._connected&&(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e{let i;this._resolved=!0,this._pendingResolve=void 0;let{props:n,styles:r}=e;if(n&&!(0,F.isArray)(n))for(let e in n){let t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=(0,F.toNumber)(this._props[e])),(i||(i=Object.create(null)))[(0,F.camelize)(e)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)(0,F.hasOwn)(this,e)||Object.defineProperty(this,e,{get:()=>e6(t[e])})}_resolveProps(e){let{props:t}=e,i=(0,F.isArray)(t)?t:Object.keys(t||{});for(let e of Object.keys(this))"_"!==e[0]&&i.includes(e)&&this._setProp(e,this[e]);for(let e of i.map(F.camelize))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;let t=this.hasAttribute(e),i=t?this.getAttribute(e):o_,n=(0,F.camelize)(e);t&&this._numberProps&&this._numberProps[n]&&(i=(0,F.toNumber)(i)),this._setProp(n,i,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,i=!0,n=!1){if(t!==this._props[e]&&(this._dirty=!0,t===o_?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),n&&this._instance&&this._update(),i)){let i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),!0===t?this.setAttribute((0,F.hyphenate)(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute((0,F.hyphenate)(e),t+""):t||this.removeAttribute((0,F.hyphenate)(e)),i&&i.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),o8(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=aP(this._def,(0,F.extend)(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,(0,F.isPlainObject)(t[0])?(0,F.extend)({detail:t},t[0]):{detail:t}))};e.emit=(e,...i)=>{t(e,i),(0,F.hyphenate)(e)!==e&&t((0,F.hyphenate)(e),i)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let i=this._nonce;for(let t=e.length-1;t>=0;t--){let n=document.createElement("style");i&&n.setAttribute("nonce",i),n.textContent=e[t],this.shadowRoot.prepend(n)}}_parseSlots(){let e,t=this._slots={};for(;e=this.firstChild;){let i=1===e.nodeType&&e.getAttribute("slot")||"default";(t[i]||(t[i]=[])).push(e),this.removeChild(e)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let i=0;i{if(!i.length)return;let t=e.moveClass||`${e.name||"v"}-move`;if(!oP(i[0].el,r.vnode.el,t)){i=[];return}i.forEach(oT),i.forEach(oM);let n=i.filter(oI);s$(r.vnode.el),n.forEach(e=>{let i=e.el,n=i.style;sj(i,t),n.transform=n.webkitTransform=n.transitionDuration="";let r=i[oS]=e=>{(!e||e.target===i)&&(!e||e.propertyName.endsWith("transform"))&&(i.removeEventListener("transitionend",r),i[oS]=null,sO(i,t))};i.addEventListener("transitionend",r)}),i=[]}),()=>{let s=eK(e),o=sL(s),l=s.tag||ag;if(i=[],n)for(let e=0;eMath.abs(s-1)&&(s=1),.01>Math.abs(o-1)&&(o=1),i.transform=i.webkitTransform=`translate(${n/s}px,${r/o}px)`,i.transitionDuration="0s",e}}function oB(e){let t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function oP(e,t,i){let n=e.cloneNode(),r=e[sD];r&&r.forEach(e=>{e.split(/\s+/).forEach(e=>e&&n.classList.remove(e))}),i.split(/\s+/).forEach(e=>e&&n.classList.add(e)),n.style.display="none";let a=1===t.nodeType?t:t.parentNode;a.appendChild(n);let{hasTransform:s}=sW(n);return a.removeChild(n),s}let oL=e=>{let t=e.props["onUpdate:modelValue"]||!1;return(0,F.isArray)(t)?e=>(0,F.invokeArrayFns)(t,e):t};function oN(e){e.target.composing=!0}function oR(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}let oj=Symbol("_assign");function oO(e,t,i){return t&&(e=e.trim()),i&&(e=(0,F.looseToNumber)(e)),e}let oz={created(e,{modifiers:{lazy:t,trim:i,number:n}},r){e[oj]=oL(r);let a=n||r.props&&"number"===r.props.type;on(e,t?"change":"input",t=>{t.target.composing||e[oj](oO(e.value,i,a))}),(i||a)&&on(e,"change",()=>{e.value=oO(e.value,i,a)}),t||(on(e,"compositionstart",oN),on(e,"compositionend",oR),on(e,"change",oR))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:i,modifiers:{lazy:n,trim:r,number:a}},s){if(e[oj]=oL(s),e.composing)return;let o=(a||"number"===e.type)&&!/^0\d/.test(e.value)?(0,F.looseToNumber)(e.value):e.value,l=null==t?"":t;if(o!==l){if(document.activeElement===e&&"range"!==e.type&&(n&&t===i||r&&e.value.trim()===l))return;e.value=l}}},oU={deep:!0,created(e,t,i){e[oj]=oL(i),on(e,"change",()=>{let t=e._modelValue,i=o$(e),n=e.checked,r=e[oj];if((0,F.isArray)(t)){let e=(0,F.looseIndexOf)(t,i),a=-1!==e;if(n&&!a)r(t.concat(i));else if(!n&&a){let i=[...t];i.splice(e,1),r(i)}}else if((0,F.isSet)(t)){let e=new Set(t);n?e.add(i):e.delete(i),r(e)}else r(oG(e,n))})},mounted:oq,beforeUpdate(e,t,i){e[oj]=oL(i),oq(e,t,i)}};function oq(e,{value:t,oldValue:i},n){let r;if(e._modelValue=t,(0,F.isArray)(t))r=(0,F.looseIndexOf)(t,n.props.value)>-1;else if((0,F.isSet)(t))r=t.has(n.props.value);else{if(t===i)return;r=(0,F.looseEqual)(t,oG(e,!0))}e.checked!==r&&(e.checked=r)}let oW={created(e,{value:t},i){e.checked=(0,F.looseEqual)(t,i.props.value),e[oj]=oL(i),on(e,"change",()=>{e[oj](o$(e))})},beforeUpdate(e,{value:t,oldValue:i},n){e[oj]=oL(n),t!==i&&(e.checked=(0,F.looseEqual)(t,n.props.value))}},oV={deep:!0,created(e,{value:t,modifiers:{number:i}},n){let r=(0,F.isSet)(t);on(e,"change",()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>i?(0,F.looseToNumber)(o$(e)):o$(e));e[oj](e.multiple?r?new Set(t):t:t[0]),e._assigning=!0,tz(()=>{e._assigning=!1})}),e[oj]=oL(n)},mounted(e,{value:t}){oH(e,t)},beforeUpdate(e,t,i){e[oj]=oL(i)},updated(e,{value:t}){e._assigning||oH(e,t)}};function oH(e,t){let i=e.multiple,n=(0,F.isArray)(t);if(!i||n||(0,F.isSet)(t)){for(let r=0,a=e.options.length;rString(e)===String(s)):a.selected=(0,F.looseIndexOf)(t,s)>-1}else a.selected=t.has(s);else if((0,F.looseEqual)(o$(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}i||-1===e.selectedIndex||(e.selectedIndex=-1)}}function o$(e){return"_value"in e?e._value:e.value}function oG(e,t){let i=t?"_trueValue":"_falseValue";return i in e?e[i]:t}let oX={created(e,t,i){oY(e,t,i,null,"created")},mounted(e,t,i){oY(e,t,i,null,"mounted")},beforeUpdate(e,t,i,n){oY(e,t,i,n,"beforeUpdate")},updated(e,t,i,n){oY(e,t,i,n,"updated")}};function oK(e,t){switch(e){case"SELECT":return oV;case"TEXTAREA":return oz;default:switch(t){case"checkbox":return oU;case"radio":return oW;default:return oz}}}function oY(e,t,i,n,r){let a=oK(e.tagName,i.props&&i.props.type)[r];a&&a(e,t,i,n)}function oQ(){oz.getSSRProps=({value:e})=>({value:e}),oW.getSSRProps=({value:e},t)=>{if(t.props&&(0,F.looseEqual)(t.props.value,e))return{checked:!0}},oU.getSSRProps=({value:e},t)=>{if((0,F.isArray)(e)){if(t.props&&(0,F.looseIndexOf)(e,t.props.value)>-1)return{checked:!0}}else if((0,F.isSet)(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},oX.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;let i=oK(t.type.toUpperCase(),t.props&&t.props.type);if(i.getSSRProps)return i.getSSRProps(e,t)}}let oZ=["ctrl","shift","alt","meta"],oJ={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>oZ.some(i=>e[`${i}Key`]&&!t.includes(i))},o0=(e,t)=>{if(!e)return e;let i=e._withMods||(e._withMods={}),n=t.join(".");return i[n]||(i[n]=(i,...n)=>{for(let e=0;e{let i=e._withKeys||(e._withKeys={}),n=t.join(".");return i[n]||(i[n]=i=>{if(!("key"in i))return;let n=(0,F.hyphenate)(i.key);if(t.some(e=>e===n||o1[e]===n))return e(i)})},o3=(0,F.extend)({patchProp:og},sE),o4=!1;function o6(){return g||(g=r1(o3))}function o5(){return g=o4?g:r2(o3),o4=!0,g}let o8=(...e)=>{o6().render(...e)},o9=(...e)=>{o5().hydrate(...e)},o7=(...e)=>{let t=o6().createApp(...e),{mount:i}=t;return t.mount=e=>{let n=li(e);if(!n)return;let r=t._component;(0,F.isFunction)(r)||r.render||r.template||(r.template=n.innerHTML),1===n.nodeType&&(n.textContent="");let a=i(n,!1,lt(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),a},t},le=(...e)=>{let t=o5().createApp(...e),{mount:i}=t;return t.mount=e=>{let t=li(e);if(t)return i(t,!0,lt(t))},t};function lt(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function li(e){return(0,F.isString)(e)?document.querySelector(e):e}let ln=!1,lr=()=>{ln||(ln=!0,oQ(),sZ())}},90033(e,t,i){"use strict";let n;function r(e){let t=Object.create(null);for(let i of e.split(","))t[i]=1;return e=>e in t}i.r(t),i.d(t,{EMPTY_ARR:()=>s,EMPTY_OBJ:()=>a,NO:()=>l,NOOP:()=>o,PatchFlagNames:()=>Z,PatchFlags:()=>Q,ShapeFlags:()=>J,SlotFlags:()=>ee,camelize:()=>N,capitalize:()=>O,cssVarNameEscapeSymbolsRE:()=>eR,def:()=>V,escapeHtml:()=>eP,escapeHtmlComment:()=>eN,extend:()=>c,genCacheKey:()=>Y,genPropsAccessExp:()=>K,generateCodeFrame:()=>ea,getEscapedCssVarName:()=>ej,getGlobalThis:()=>G,hasChanged:()=>q,hasOwn:()=>m,hyphenate:()=>j,includeBooleanAttr:()=>eC,invokeArrayFns:()=>W,isArray:()=>g,isBooleanAttr:()=>ew,isBuiltInDirective:()=>I,isDate:()=>b,isFunction:()=>F,isGloballyAllowed:()=>ei,isGloballyWhitelisted:()=>en,isHTMLTag:()=>e_,isIntegerKey:()=>T,isKnownHtmlAttr:()=>eD,isKnownMathMLAttr:()=>eM,isKnownSvgAttr:()=>eT,isMap:()=>p,isMathMLTag:()=>eb,isModelListener:()=>d,isObject:()=>C,isOn:()=>u,isPlainObject:()=>D,isPromise:()=>A,isRegExp:()=>y,isRenderableAttrValue:()=>eI,isReservedProp:()=>M,isSSRSafeAttrName:()=>eS,isSVGTag:()=>ev,isSet:()=>_,isSpecialBooleanAttr:()=>ek,isString:()=>k,isSymbol:()=>w,isVoidTag:()=>ey,looseEqual:()=>ez,looseIndexOf:()=>eU,looseToNumber:()=>H,makeMap:()=>r,normalizeClass:()=>eh,normalizeCssVarValue:()=>e$,normalizeProps:()=>ef,normalizeStyle:()=>es,objectToString:()=>E,parseStringStyle:()=>ed,propsToAttrMap:()=>ex,remove:()=>h,slotFlagsText:()=>et,stringifyStyle:()=>ec,toDisplayString:()=>eW,toHandlerKey:()=>z,toNumber:()=>$,toRawType:()=>x,toTypeString:()=>S});let a={},s=[],o=()=>{},l=()=>!1,u=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),d=e=>e.startsWith("onUpdate:"),c=Object.assign,h=(e,t)=>{let i=e.indexOf(t);i>-1&&e.splice(i,1)},f=Object.prototype.hasOwnProperty,m=(e,t)=>f.call(e,t),g=Array.isArray,p=e=>"[object Map]"===S(e),_=e=>"[object Set]"===S(e),b=e=>"[object Date]"===S(e),y=e=>"[object RegExp]"===S(e),F=e=>"function"==typeof e,k=e=>"string"==typeof e,w=e=>"symbol"==typeof e,C=e=>null!==e&&"object"==typeof e,A=e=>(C(e)||F(e))&&F(e.then)&&F(e.catch),E=Object.prototype.toString,S=e=>E.call(e),x=e=>S(e).slice(8,-1),D=e=>"[object Object]"===S(e),T=e=>k(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,M=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),I=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),B=e=>{let t=Object.create(null);return i=>t[i]||(t[i]=e(i))},P=/-\w/g,N=B(e=>e.replace(P,e=>e.slice(1).toUpperCase())),R=/\B([A-Z])/g,j=B(e=>e.replace(R,"-$1").toLowerCase()),O=B(e=>e.charAt(0).toUpperCase()+e.slice(1)),z=B(e=>e?`on${O(e)}`:""),q=(e,t)=>!Object.is(e,t),W=(e,...t)=>{for(let i=0;i{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:i})},H=e=>{let t=parseFloat(e);return isNaN(t)?e:t},$=e=>{let t=k(e)?Number(e):NaN;return isNaN(t)?e:t},G=()=>n||(n="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:void 0!==i.g?i.g:{}),X=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function K(e){return X.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function Y(e,t){return e+JSON.stringify(t,(e,t)=>"function"==typeof t?t.toString():t)}let Q={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},Z={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},J={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},ee={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},et={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},ei=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol"),en=ei,er=2;function ea(e,t=0,i=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(i=Math.max(0,Math.min(i,e.length))))return"";let n=e.split(/(\r?\n)/),r=n.filter((e,t)=>t%2==1);n=n.filter((e,t)=>t%2==0);let a=0,s=[];for(let e=0;e=t){for(let o=e-er;o<=e+er||i>a;o++){if(o<0||o>=n.length)continue;let l=o+1;s.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${n[o]}`);let u=n[o].length,d=r[o]&&r[o].length||0;if(o===e){let e=t-(a-(u+d)),n=Math.max(1,i>a?u-e:i-t);s.push(" | "+" ".repeat(e)+"^".repeat(n))}else if(o>e){if(i>a){let e=Math.max(Math.min(i-a,u),1);s.push(" | "+"^".repeat(e))}a+=u+d}}break}return s.join("\n")}function es(e){if(g(e)){let t={};for(let i=0;i{if(e){let i=e.split(el);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function ec(e){if(!e)return"";if(k(e))return e;let t="";for(let i in e){let n=e[i];if(k(n)||"number"==typeof n){let e=i.startsWith("--")?i:j(i);t+=`${e}:${n};`}}return t}function eh(e){let t="";if(k(e))t=e;else if(g(e))for(let i=0;i/="'\u0009\u000a\u000c\u0020]/,eE={};function eS(e){if(eE.hasOwnProperty(e))return eE[e];let t=eA.test(e);return t&&console.error(`unsafe attribute name: ${e}`),eE[e]=!t}let ex={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},eD=r("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),eT=r("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),eM=r("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function eI(e){if(null==e)return!1;let t=typeof e;return"string"===t||"number"===t||"boolean"===t}let eB=/["'&<>]/;function eP(e){let t,i,n=""+e,r=eB.exec(n);if(!r)return n;let a="",s=0;for(i=r.index;i||--!>|?@[\\\]^`{|}~]/g;function ej(e,t){return e.replace(eR,e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`)}function eO(e,t){if(e.length!==t.length)return!1;let i=!0;for(let n=0;i&&nez(e,t))}let eq=e=>!!(e&&!0===e.__v_isRef),eW=e=>k(e)?e:null==e?"":g(e)||C(e)&&(e.toString===E||!F(e.toString))?eq(e)?eW(e.value):JSON.stringify(e,eV,2):String(e),eV=(e,t)=>{if(eq(t))return eV(e,t.value);if(p(t))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,i],n)=>(e[eH(t,n)+" =>"]=i,e),{})};if(_(t))return{[`Set(${t.size})`]:[...t.values()].map(e=>eH(e))};if(w(t))return eH(t);if(C(t)&&!g(t)&&!D(t))return String(t);return t},eH=(e,t="")=>{var i;return w(e)?`Symbol(${null!=(i=e.description)?i:t})`:e};function e$(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:("number"!=typeof e||Number.isFinite(e),String(e))}},14375(e,t,i){var n=i(19853),r={ease:n(.25,.1,.25,1),easeIn:n(.42,0,1,1),easeOut:n(0,0,.58,1),easeInOut:n(.42,0,.58,1),linear:n(0,0,1,1)};function a(){}function s(e){if(!e)return"u">typeof window&&window.requestAnimationFrame?o():l();if("function"!=typeof e.next)throw Error("Scheduler is supposed to have next(cb) function");if("function"!=typeof e.cancel)throw Error("Scheduler is supposed to have cancel(handle) function");return e}function o(){return{next:window.requestAnimationFrame.bind(window),cancel:window.cancelAnimationFrame.bind(window)}}function l(){return{next:function(e){return setTimeout(e,1e3/60)},cancel:function(e){return clearTimeout(e)}}}function u(){var e=new Set,t=new Set,i=0;return{next:r,cancel:r,clearAll:n};function n(){e.clear(),t.clear(),cancelAnimationFrame(i),i=0}function r(e){t.add(e),a()}function a(){i||(i=requestAnimationFrame(s))}function s(){i=0;var n=t;t=e,(e=n).forEach(function(e){e()}),e.clear()}}e.exports=function e(e,t,i){var n,o=Object.create(null),l=Object.create(null),u="function"==typeof(i=i||{}).easing?i.easing:r[i.easing];u||(i.easing&&console.warn("Unknown easing function in amator: "+i.easing),u=r.ease);var d="function"==typeof i.step?i.step:a,c="function"==typeof i.done?i.done:a,h=s(i.scheduler),f=Object.keys(t);f.forEach(function(i){o[i]=e[i],l[i]=t[i]-e[i]});var m=Math.max(1,.06*("number"==typeof i.duration?i.duration:400)),g=0;return n=h.next(_),{cancel:p};function p(){h.cancel(n),n=0}function _(){var t=u(g/m);g+=1,b(t),g<=m?(n=h.next(_),d(e)):(n=0,setTimeout(function(){c(e)},0))}function b(t){f.forEach(function(i){e[i]=l[i]*t+o[i]})}},e.exports.makeAggregateRaf=u,e.exports.sharedScheduler=u()},87568(e,t,i){var n=t;n.bignum=i(72344),n.define=i(47363).define,n.base=i(9673),n.constants=i(22153),n.decoders=i(22853),n.encoders=i(24669)},47363(e,t,i){var n=i(87568),r=i(56698);function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){var t;try{t=i(68961).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return r(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},a.prototype.decode=function(e,t,i){return this._getDecoder(t).decode(e,i)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},a.prototype.encode=function(e,t,i){return this._getEncoder(t).encode(e,i)}},47227(e,t,i){var n=i(56698),r=i(9673).Reporter,a=i(48287).Buffer;function s(e,t){(r.call(this,t),a.isBuffer(e))?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function o(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof o||(e=new o(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=a.byteLength(e);else{if(!a.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(s,r),t.DecoderBuffer=s,s.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},s.prototype.restore=function(e){var t=new s(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},s.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var i=new s(this.base);return i._reporterState=this._reporterState,i.offset=this.offset,i.length=this.offset+e,this.offset+=e,i},s.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=o,o.prototype.join=function(e,t){return e||(e=new a(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(i){i.join(e,t),t+=i.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):a.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},9673(e,t,i){var n=t;n.Reporter=i(89220).Reporter,n.DecoderBuffer=i(47227).DecoderBuffer,n.EncoderBuffer=i(47227).EncoderBuffer,n.Node=i(90993)},90993(e,t,i){var n=i(9673).Reporter,r=i(9673).EncoderBuffer,a=i(9673).DecoderBuffer,s=i(43349),o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o),u=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function d(e,t){var i={};this._baseState=i,i.enc=e,i.parent=t||null,i.children=null,i.tag=null,i.args=null,i.reverseArgs=null,i.choice=null,i.optional=!1,i.any=!1,i.obj=!1,i.use=null,i.useDecoder=null,i.key=null,i.default=null,i.explicit=null,i.implicit=null,i.contains=null,i.parent||(i.children=[],this._wrap())}e.exports=d;var c=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];d.prototype.clone=function(){var e=this._baseState,t={};c.forEach(function(i){t[i]=e[i]});var i=new this.constructor(t.parent);return i._baseState=t,i},d.prototype._wrap=function(){var e=this._baseState;l.forEach(function(t){this[t]=function(){var i=new this.constructor(this);return e.children.push(i),i[t].apply(i,arguments)}},this)},d.prototype._init=function(e){var t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),s.equal(t.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(e){var t=this._baseState,i=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==i.length&&(s(null===t.children),t.children=i,i.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(i){i==(0|i)&&(i|=0),t[e[i]]=i}),t}))},u.forEach(function(e){d.prototype[e]=function(){throw Error(e+" not implemented for encoding: "+this._baseState.enc)}}),o.forEach(function(e){d.prototype[e]=function(){var t=this._baseState,i=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(i),this}}),d.prototype.use=function(e){s(e);var t=this._baseState;return s(null===t.use),t.use=e,this},d.prototype.optional=function(){return this._baseState.optional=!0,this},d.prototype.def=function(e){var t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},d.prototype.explicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},d.prototype.implicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},d.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},d.prototype.key=function(e){var t=this._baseState;return s(null===t.key),t.key=e,this},d.prototype.any=function(){return this._baseState.any=!0,this},d.prototype.choice=function(e){var t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},d.prototype.contains=function(e){var t=this._baseState;return s(null===t.use),t.contains=e,this},d.prototype._decode=function(e,t){var i,n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var r=n.default,s=!0,o=null;if(null!==n.key&&(o=e.enterKey(n.key)),n.optional){var l=null;if(null!==n.explicit?l=n.explicit:null!==n.implicit?l=n.implicit:null!==n.tag&&(l=n.tag),null!==l||n.any){if(s=this._peekTag(e,l,n.any),e.isError(s))return s}else{var u=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),s=!0}catch(e){s=!1}e.restore(u)}}if(n.obj&&s&&(i=e.enterObject()),s){if(null!==n.explicit){var d=this._decodeTag(e,n.explicit);if(e.isError(d))return d;e=d}var c=e.offset;if(null===n.use&&null===n.choice){if(n.any)var u=e.save();var h=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(h))return h;n.any?r=e.raw(u):e=h}if(t&&t.track&&null!==n.tag&&t.track(e.path(),c,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),n.any||(r=null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t)),e.isError(r))return r;if(n.any||null!==n.choice||null===n.children||n.children.forEach(function(i){i._decode(e,t)}),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var f=new a(r);r=this._getUse(n.contains,e._reporterState.obj)._decode(f,t)}}return n.obj&&s&&(r=e.leaveObject(i)),null!==n.key&&(null!==r||!0===s)?e.leaveKey(o,n.key,r):null!==o&&e.exitKey(o),r},d.prototype._decodeGeneric=function(e,t,i){var n=this._baseState;if("seq"===e||"set"===e)return null;if("seqof"===e||"setof"===e)return this._decodeList(t,e,n.args[0],i);if(/str$/.test(e))return this._decodeStr(t,e,i);if("objid"===e&&n.args)return this._decodeObjid(t,n.args[0],n.args[1],i);if("objid"===e)return this._decodeObjid(t,null,null,i);if("gentime"===e||"utctime"===e)return this._decodeTime(t,e,i);else if("null_"===e)return this._decodeNull(t,i);else if("bool"===e)return this._decodeBool(t,i);else if("objDesc"===e)return this._decodeStr(t,e,i);else if("int"===e||"enum"===e)return this._decodeInt(t,n.args&&n.args[0],i);return null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,i):t.error("unknown tag: "+e)},d.prototype._getUse=function(e,t){var i=this._baseState;return i.useDecoder=this._use(e,t),s(null===i.useDecoder._baseState.parent),i.useDecoder=i.useDecoder._baseState.children[0],i.implicit!==i.useDecoder._baseState.implicit&&(i.useDecoder=i.useDecoder.clone(),i.useDecoder._baseState.implicit=i.implicit),i.useDecoder},d.prototype._decodeChoice=function(e,t){var i=this._baseState,n=null,r=!1;return(Object.keys(i.choice).some(function(a){var s=e.save(),o=i.choice[a];try{var l=o._decode(e,t);if(e.isError(l))return!1;n={type:a,value:l},r=!0}catch(t){return e.restore(s),!1}return!0},this),r)?n:e.error("Choice not matched")},d.prototype._createEncoderBuffer=function(e){return new r(e,this.reporter)},d.prototype._encode=function(e,t,i){var n=this._baseState;if(null===n.default||n.default!==e){var r=this._encodeValue(e,t,i);if(void 0!==r&&!this._skipDefault(r,t,i))return r}},d.prototype._encodeValue=function(e,t,i){var r,a=this._baseState;if(null===a.parent)return a.children[0]._encode(e,t||new n);var r=null;if(this.reporter=t,a.optional&&void 0===e)if(null===a.default)return;else e=a.default;var s=null,o=!1;if(a.any)r=this._createEncoderBuffer(e);else if(a.choice)r=this._encodeChoice(e,t);else if(a.contains)s=this._getUse(a.contains,i)._encode(e,t),o=!0;else if(a.children)s=a.children.map(function(i){if("null_"===i._baseState.tag)return i._encode(null,t,e);if(null===i._baseState.key)return t.error("Child should have a key");var n=t.enterKey(i._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var r=i._encode(e[i._baseState.key],t,e);return t.leaveKey(n),r},this).filter(function(e){return e}),s=this._createEncoderBuffer(s);else if("seqof"===a.tag||"setof"===a.tag){if(!(a.args&&1===a.args.length))return t.error("Too many args for : "+a.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,s=this._createEncoderBuffer(e.map(function(i){var n=this._baseState;return this._getUse(n.args[0],e)._encode(i,t)},l))}else null!==a.use?r=this._getUse(a.use,i)._encode(e,t):(s=this._encodePrimitive(a.tag,e),o=!0);if(!a.any&&null===a.choice){var u=null!==a.implicit?a.implicit:a.tag,d=null===a.implicit?"universal":"context";null===u?null===a.use&&t.error("Tag could be omitted only for .use()"):null===a.use&&(r=this._encodeComposite(u,o,d,s))}return null!==a.explicit&&(r=this._encodeComposite(a.explicit,!1,"context",r)),r},d.prototype._encodeChoice=function(e,t){var i=this._baseState,n=i.choice[e.type];return n||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(i.choice))),n._encode(e.value,t)},d.prototype._encodePrimitive=function(e,t){var i=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&i.args)return this._encodeObjid(t,i.reverseArgs[0],i.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();else if("int"===e||"enum"===e)return this._encodeInt(t,i.args&&i.reverseArgs[0]);else if("bool"===e)return this._encodeBool(t);else if("objDesc"===e)return this._encodeStr(t,e);else throw Error("Unsupported tag: "+e)},d.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},d.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},89220(e,t,i){var n=i(56698);function r(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function a(e,t){this.path=e,this.rethrow(t)}t.Reporter=r,r.prototype.isError=function(e){return e instanceof a},r.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},r.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},r.prototype.enterKey=function(e){return this._reporterState.path.push(e)},r.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},r.prototype.leaveKey=function(e,t,i){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=i)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},r.prototype.leaveObject=function(e){var t=this._reporterState,i=t.obj;return t.obj=e,i},r.prototype.error=function(e){var t,i=this._reporterState,n=e instanceof a;if(t=n?e:new a(i.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!i.options.partial)throw t;return n||i.errors.push(t),t},r.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(a,Error),a.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw Error(this.message)}catch(e){this.stack=e.stack}return this}},74598(e,t,i){var n=i(22153);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n._reverse(t.tag)},22153(e,t,i){var n=t;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(i){(0|i)==i&&(i|=0),t[e[i]]=i}),t},n.der=i(74598)},62010(e,t,i){var n=i(56698),r=i(87568),a=r.base,s=r.bignum,o=r.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){a.Node.call(this,"der",e)}function d(e,t){var i=e.readUInt8(t);if(e.isError(i))return i;var n=o.tagClass[i>>6],r=(32&i)==0;if((31&i)==31){var a=i;for(i=0;(128&a)==128;){if(a=e.readUInt8(t),e.isError(a))return a;i<<=7,i|=127&a}}else i&=31;var s=o.tag[i];return{cls:n,primitive:r,tag:i,tagStr:s}}function c(e,t,i){var n=e.readUInt8(i);if(e.isError(n))return n;if(!t&&128===n)return null;if((128&n)==0)return n;var r=127&n;if(r>4)return e.error("length octect is too long");n=0;for(var a=0;a=31?n.error("Multi-octet tag encoding unsupported"):(t||(r|=32),r|=o.tagClassByName[i||"universal"]<<6)}e.exports=l,l.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(u,s.Node),u.prototype._encodeComposite=function(e,t,i,n){var a=c(e,t,i,this.reporter);if(n.length<128){var s=new r(2);return s[0]=a,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var o=1,l=n.length;l>=256;l>>=8)o++;var s=new r(2+o);s[0]=a,s[1]=128|o;for(var l=1+o,u=n.length;u>0;l--,u>>=8)s[l]=255&u;return this._createEncoderBuffer([s,n])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var i=new r(2*e.length),n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var a=0,n=0;n=128;s>>=7)a++}for(var o=new r(a),l=o.length-1,n=e.length-1;n>=0;n--){var s=e[n];for(o[l--]=127&s;(s>>=7)>0;)o[l--]=128|127&s}return this._createEncoderBuffer(o)},u.prototype._encodeTime=function(e,t){var i,n=new Date(e);return"gentime"===t?i=""+d(n.getFullYear())+d(n.getUTCMonth()+1)+d(n.getUTCDate())+d(n.getUTCHours())+d(n.getUTCMinutes())+d(n.getUTCSeconds())+"Z":"utctime"===t?i=""+d(n.getFullYear()%100)+d(n.getUTCMonth()+1)+d(n.getUTCDate())+d(n.getUTCHours())+d(n.getUTCMinutes())+d(n.getUTCSeconds())+"Z":this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(i,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!r.isBuffer(e)){var i=e.toArray();!e.sign&&128&i[0]&&i.unshift(0),e=new r(i)}if(r.isBuffer(e)){var n=e.length;0===e.length&&n++;var a=new r(n);return e.copy(a),0===e.length&&(a[0]=0),this._createEncoderBuffer(a)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var n=1,s=e;s>=256;s>>=8)n++;for(var a=Array(n),s=a.length-1;s>=0;s--)a[s]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new r(a))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(255*!!e)},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,i){var n,r=this._baseState;if(null===r.default)return!1;var a=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,i).join()),a.length!==r.defaultBuffer.length)return!1;for(n=0;ntypeof window&&void 0!==window.Buffer?window.Buffer:i(84709).Buffer}catch(e){}function s(e,t){var i=e.charCodeAt(t);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function o(e,t,i){var n=s(e,i);return i-1>=t&&(n|=s(e,i-1)<<4),n}function l(e,t,i,n){for(var r=0,a=Math.min(e.length,i),s=t;s=49?r+=o-49+10:o>=17?r+=o-17+10:r+=o}return r}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;s-=3)a=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=a<>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);else if("le"===i)for(s=0,r=0;s>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);return this.strip()},a.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r=0;r=t;r-=2)n=o(e,t,r)<=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;this.strip()},a.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=0x3ffffff;r*=t)n++;n--,r=r/t|0;for(var a=e.length-i,s=a%n,o=Math.min(a,a-s)+i,u=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?""};var u,d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];function f(e){for(var t=Array(e.bitLength()),i=0;i>>r}return t}function m(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],a=0|t.words[0],s=r*a,o=0x3ffffff&s,l=s/0x4000000|0;i.words[0]=o;for(var u=1;u>>26,c=0x3ffffff&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var m=u-f|0;d+=(s=(r=0|e.words[m])*(a=0|t.words[f])+c)/0x4000000|0,c=0x3ffffff&s}i.words[u]=0|c,l=0|d}return 0!==l?i.words[u]=0|l:i.length--,i.strip()}a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var i="",r=0,a=0,s=0;s>>24-r&0xffffff,(r+=2)>=26&&(r-=26,s--),i=0!==a||s!==this.length-1?d[6-l.length]+l+i:l+i}for(0!==a&&(i=a.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var u=c[e],f=h[e];i="";var m=this.clone();for(m.negative=0;!m.isZero();){var g=m.modn(f).toString(e);i=(m=m.idivn(f)).isZero()?g+i:d[u-g.length]+g+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n(void 0!==u),this.toArrayLike(u,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,i){var r,a,s=this.byteLength(),o=i||Math.max(1,s);n(s<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var l="le"===t,u=new e(o),d=this.clone();if(l){for(a=0;!d.isZero();a++)r=d.andln(255),d.iushrn(8),u[a]=r;for(;a=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return(8191&t)==0&&(i+=13,t>>>=13),(127&t)==0&&(i+=7,t>>>=7),(15&t)==0&&(i+=4,t>>>=4),(3&t)==0&&(i+=2,t>>>=2),(1&t)==0&&i++,i},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){this.length>e.length?(t=this,i=e):(t=e,i=this);for(var t,i,n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&0x3ffffff>>26-i),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),t?this.words[i]=this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var t,i,n,r=0,a=0;a>>26;for(;0!==r&&a>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,i,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,i=e):(t=e,i=this);for(var a=0,s=0;s>26,this.words[s]=0x3ffffff&n;for(;0!==a&&s>26,this.words[s]=0x3ffffff&n;if(0===a&&s>>13,f=0|s[1],m=8191&f,g=f>>>13,p=0|s[2],_=8191&p,b=p>>>13,y=0|s[3],F=8191&y,k=y>>>13,w=0|s[4],C=8191&w,A=w>>>13,E=0|s[5],S=8191&E,x=E>>>13,D=0|s[6],T=8191&D,M=D>>>13,I=0|s[7],B=8191&I,P=I>>>13,N=0|s[8],R=8191&N,j=N>>>13,O=0|s[9],z=8191&O,q=O>>>13,W=0|o[0],V=8191&W,H=W>>>13,$=0|o[1],G=8191&$,X=$>>>13,K=0|o[2],Y=8191&K,Q=K>>>13,Z=0|o[3],J=8191&Z,ee=Z>>>13,et=0|o[4],ei=8191&et,en=et>>>13,er=0|o[5],ea=8191&er,es=er>>>13,eo=0|o[6],el=8191&eo,eu=eo>>>13,ed=0|o[7],ec=8191&ed,eh=ed>>>13,ef=0|o[8],em=8191&ef,eg=ef>>>13,ep=0|o[9],e_=8191&ep,ev=ep>>>13;i.negative=e.negative^t.negative,i.length=19,n=Math.imul(c,V);var eb=(u+n|0)+((8191&(r=(r=Math.imul(c,H))+Math.imul(h,V)|0))<<13)|0;u=((a=Math.imul(h,H))+(r>>>13)|0)+(eb>>>26)|0,eb&=0x3ffffff,n=Math.imul(m,V),r=(r=Math.imul(m,H))+Math.imul(g,V)|0,a=Math.imul(g,H),n=n+Math.imul(c,G)|0;var ey=(u+n|0)+((8191&(r=(r=r+Math.imul(c,X)|0)+Math.imul(h,G)|0))<<13)|0;u=((a=a+Math.imul(h,X)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,n=Math.imul(_,V),r=(r=Math.imul(_,H))+Math.imul(b,V)|0,a=Math.imul(b,H),n=n+Math.imul(m,G)|0,r=(r=r+Math.imul(m,X)|0)+Math.imul(g,G)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(c,Y)|0;var eF=(u+n|0)+((8191&(r=(r=r+Math.imul(c,Q)|0)+Math.imul(h,Y)|0))<<13)|0;u=((a=a+Math.imul(h,Q)|0)+(r>>>13)|0)+(eF>>>26)|0,eF&=0x3ffffff,n=Math.imul(F,V),r=(r=Math.imul(F,H))+Math.imul(k,V)|0,a=Math.imul(k,H),n=n+Math.imul(_,G)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(b,G)|0,a=a+Math.imul(b,X)|0,n=n+Math.imul(m,Y)|0,r=(r=r+Math.imul(m,Q)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(c,J)|0;var ek=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ee)|0)+Math.imul(h,J)|0))<<13)|0;u=((a=a+Math.imul(h,ee)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,n=Math.imul(C,V),r=(r=Math.imul(C,H))+Math.imul(A,V)|0,a=Math.imul(A,H),n=n+Math.imul(F,G)|0,r=(r=r+Math.imul(F,X)|0)+Math.imul(k,G)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,Q)|0,n=n+Math.imul(m,J)|0,r=(r=r+Math.imul(m,ee)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,ee)|0,n=n+Math.imul(c,ei)|0;var ew=(u+n|0)+((8191&(r=(r=r+Math.imul(c,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((a=a+Math.imul(h,en)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,n=Math.imul(S,V),r=(r=Math.imul(S,H))+Math.imul(x,V)|0,a=Math.imul(x,H),n=n+Math.imul(C,G)|0,r=(r=r+Math.imul(C,X)|0)+Math.imul(A,G)|0,a=a+Math.imul(A,X)|0,n=n+Math.imul(F,Y)|0,r=(r=r+Math.imul(F,Q)|0)+Math.imul(k,Y)|0,a=a+Math.imul(k,Q)|0,n=n+Math.imul(_,J)|0,r=(r=r+Math.imul(_,ee)|0)+Math.imul(b,J)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(m,ei)|0,r=(r=r+Math.imul(m,en)|0)+Math.imul(g,ei)|0,a=a+Math.imul(g,en)|0,n=n+Math.imul(c,ea)|0;var eC=(u+n|0)+((8191&(r=(r=r+Math.imul(c,es)|0)+Math.imul(h,ea)|0))<<13)|0;u=((a=a+Math.imul(h,es)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,n=Math.imul(T,V),r=(r=Math.imul(T,H))+Math.imul(M,V)|0,a=Math.imul(M,H),n=n+Math.imul(S,G)|0,r=(r=r+Math.imul(S,X)|0)+Math.imul(x,G)|0,a=a+Math.imul(x,X)|0,n=n+Math.imul(C,Y)|0,r=(r=r+Math.imul(C,Q)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Q)|0,n=n+Math.imul(F,J)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(_,ei)|0,r=(r=r+Math.imul(_,en)|0)+Math.imul(b,ei)|0,a=a+Math.imul(b,en)|0,n=n+Math.imul(m,ea)|0,r=(r=r+Math.imul(m,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0,n=n+Math.imul(c,el)|0;var eA=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eu)|0)+Math.imul(h,el)|0))<<13)|0;u=((a=a+Math.imul(h,eu)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,n=Math.imul(B,V),r=(r=Math.imul(B,H))+Math.imul(P,V)|0,a=Math.imul(P,H),n=n+Math.imul(T,G)|0,r=(r=r+Math.imul(T,X)|0)+Math.imul(M,G)|0,a=a+Math.imul(M,X)|0,n=n+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Q)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(C,J)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(A,J)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(F,ei)|0,r=(r=r+Math.imul(F,en)|0)+Math.imul(k,ei)|0,a=a+Math.imul(k,en)|0,n=n+Math.imul(_,ea)|0,r=(r=r+Math.imul(_,es)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,es)|0,n=n+Math.imul(m,el)|0,r=(r=r+Math.imul(m,eu)|0)+Math.imul(g,el)|0,a=a+Math.imul(g,eu)|0,n=n+Math.imul(c,ec)|0;var eE=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eh)|0)+Math.imul(h,ec)|0))<<13)|0;u=((a=a+Math.imul(h,eh)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,n=Math.imul(R,V),r=(r=Math.imul(R,H))+Math.imul(j,V)|0,a=Math.imul(j,H),n=n+Math.imul(B,G)|0,r=(r=r+Math.imul(B,X)|0)+Math.imul(P,G)|0,a=a+Math.imul(P,X)|0,n=n+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Q)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,Q)|0,n=n+Math.imul(S,J)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(x,J)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(C,ei)|0,r=(r=r+Math.imul(C,en)|0)+Math.imul(A,ei)|0,a=a+Math.imul(A,en)|0,n=n+Math.imul(F,ea)|0,r=(r=r+Math.imul(F,es)|0)+Math.imul(k,ea)|0,a=a+Math.imul(k,es)|0,n=n+Math.imul(_,el)|0,r=(r=r+Math.imul(_,eu)|0)+Math.imul(b,el)|0,a=a+Math.imul(b,eu)|0,n=n+Math.imul(m,ec)|0,r=(r=r+Math.imul(m,eh)|0)+Math.imul(g,ec)|0,a=a+Math.imul(g,eh)|0,n=n+Math.imul(c,em)|0;var eS=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eg)|0)+Math.imul(h,em)|0))<<13)|0;u=((a=a+Math.imul(h,eg)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,n=Math.imul(z,V),r=(r=Math.imul(z,H))+Math.imul(q,V)|0,a=Math.imul(q,H),n=n+Math.imul(R,G)|0,r=(r=r+Math.imul(R,X)|0)+Math.imul(j,G)|0,a=a+Math.imul(j,X)|0,n=n+Math.imul(B,Y)|0,r=(r=r+Math.imul(B,Q)|0)+Math.imul(P,Y)|0,a=a+Math.imul(P,Q)|0,n=n+Math.imul(T,J)|0,r=(r=r+Math.imul(T,ee)|0)+Math.imul(M,J)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(S,ei)|0,r=(r=r+Math.imul(S,en)|0)+Math.imul(x,ei)|0,a=a+Math.imul(x,en)|0,n=n+Math.imul(C,ea)|0,r=(r=r+Math.imul(C,es)|0)+Math.imul(A,ea)|0,a=a+Math.imul(A,es)|0,n=n+Math.imul(F,el)|0,r=(r=r+Math.imul(F,eu)|0)+Math.imul(k,el)|0,a=a+Math.imul(k,eu)|0,n=n+Math.imul(_,ec)|0,r=(r=r+Math.imul(_,eh)|0)+Math.imul(b,ec)|0,a=a+Math.imul(b,eh)|0,n=n+Math.imul(m,em)|0,r=(r=r+Math.imul(m,eg)|0)+Math.imul(g,em)|0,a=a+Math.imul(g,eg)|0,n=n+Math.imul(c,e_)|0;var ex=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ev)|0)+Math.imul(h,e_)|0))<<13)|0;u=((a=a+Math.imul(h,ev)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,n=Math.imul(z,G),r=(r=Math.imul(z,X))+Math.imul(q,G)|0,a=Math.imul(q,X),n=n+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Q)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,Q)|0,n=n+Math.imul(B,J)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(P,J)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(T,ei)|0,r=(r=r+Math.imul(T,en)|0)+Math.imul(M,ei)|0,a=a+Math.imul(M,en)|0,n=n+Math.imul(S,ea)|0,r=(r=r+Math.imul(S,es)|0)+Math.imul(x,ea)|0,a=a+Math.imul(x,es)|0,n=n+Math.imul(C,el)|0,r=(r=r+Math.imul(C,eu)|0)+Math.imul(A,el)|0,a=a+Math.imul(A,eu)|0,n=n+Math.imul(F,ec)|0,r=(r=r+Math.imul(F,eh)|0)+Math.imul(k,ec)|0,a=a+Math.imul(k,eh)|0,n=n+Math.imul(_,em)|0,r=(r=r+Math.imul(_,eg)|0)+Math.imul(b,em)|0,a=a+Math.imul(b,eg)|0,n=n+Math.imul(m,e_)|0;var eD=(u+n|0)+((8191&(r=(r=r+Math.imul(m,ev)|0)+Math.imul(g,e_)|0))<<13)|0;u=((a=a+Math.imul(g,ev)|0)+(r>>>13)|0)+(eD>>>26)|0,eD&=0x3ffffff,n=Math.imul(z,Y),r=(r=Math.imul(z,Q))+Math.imul(q,Y)|0,a=Math.imul(q,Q),n=n+Math.imul(R,J)|0,r=(r=r+Math.imul(R,ee)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,ee)|0,n=n+Math.imul(B,ei)|0,r=(r=r+Math.imul(B,en)|0)+Math.imul(P,ei)|0,a=a+Math.imul(P,en)|0,n=n+Math.imul(T,ea)|0,r=(r=r+Math.imul(T,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,n=n+Math.imul(S,el)|0,r=(r=r+Math.imul(S,eu)|0)+Math.imul(x,el)|0,a=a+Math.imul(x,eu)|0,n=n+Math.imul(C,ec)|0,r=(r=r+Math.imul(C,eh)|0)+Math.imul(A,ec)|0,a=a+Math.imul(A,eh)|0,n=n+Math.imul(F,em)|0,r=(r=r+Math.imul(F,eg)|0)+Math.imul(k,em)|0,a=a+Math.imul(k,eg)|0,n=n+Math.imul(_,e_)|0;var eT=(u+n|0)+((8191&(r=(r=r+Math.imul(_,ev)|0)+Math.imul(b,e_)|0))<<13)|0;u=((a=a+Math.imul(b,ev)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,n=Math.imul(z,J),r=(r=Math.imul(z,ee))+Math.imul(q,J)|0,a=Math.imul(q,ee),n=n+Math.imul(R,ei)|0,r=(r=r+Math.imul(R,en)|0)+Math.imul(j,ei)|0,a=a+Math.imul(j,en)|0,n=n+Math.imul(B,ea)|0,r=(r=r+Math.imul(B,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,n=n+Math.imul(T,el)|0,r=(r=r+Math.imul(T,eu)|0)+Math.imul(M,el)|0,a=a+Math.imul(M,eu)|0,n=n+Math.imul(S,ec)|0,r=(r=r+Math.imul(S,eh)|0)+Math.imul(x,ec)|0,a=a+Math.imul(x,eh)|0,n=n+Math.imul(C,em)|0,r=(r=r+Math.imul(C,eg)|0)+Math.imul(A,em)|0,a=a+Math.imul(A,eg)|0,n=n+Math.imul(F,e_)|0;var eM=(u+n|0)+((8191&(r=(r=r+Math.imul(F,ev)|0)+Math.imul(k,e_)|0))<<13)|0;u=((a=a+Math.imul(k,ev)|0)+(r>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,n=Math.imul(z,ei),r=(r=Math.imul(z,en))+Math.imul(q,ei)|0,a=Math.imul(q,en),n=n+Math.imul(R,ea)|0,r=(r=r+Math.imul(R,es)|0)+Math.imul(j,ea)|0,a=a+Math.imul(j,es)|0,n=n+Math.imul(B,el)|0,r=(r=r+Math.imul(B,eu)|0)+Math.imul(P,el)|0,a=a+Math.imul(P,eu)|0,n=n+Math.imul(T,ec)|0,r=(r=r+Math.imul(T,eh)|0)+Math.imul(M,ec)|0,a=a+Math.imul(M,eh)|0,n=n+Math.imul(S,em)|0,r=(r=r+Math.imul(S,eg)|0)+Math.imul(x,em)|0,a=a+Math.imul(x,eg)|0,n=n+Math.imul(C,e_)|0;var eI=(u+n|0)+((8191&(r=(r=r+Math.imul(C,ev)|0)+Math.imul(A,e_)|0))<<13)|0;u=((a=a+Math.imul(A,ev)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,n=Math.imul(z,ea),r=(r=Math.imul(z,es))+Math.imul(q,ea)|0,a=Math.imul(q,es),n=n+Math.imul(R,el)|0,r=(r=r+Math.imul(R,eu)|0)+Math.imul(j,el)|0,a=a+Math.imul(j,eu)|0,n=n+Math.imul(B,ec)|0,r=(r=r+Math.imul(B,eh)|0)+Math.imul(P,ec)|0,a=a+Math.imul(P,eh)|0,n=n+Math.imul(T,em)|0,r=(r=r+Math.imul(T,eg)|0)+Math.imul(M,em)|0,a=a+Math.imul(M,eg)|0,n=n+Math.imul(S,e_)|0;var eB=(u+n|0)+((8191&(r=(r=r+Math.imul(S,ev)|0)+Math.imul(x,e_)|0))<<13)|0;u=((a=a+Math.imul(x,ev)|0)+(r>>>13)|0)+(eB>>>26)|0,eB&=0x3ffffff,n=Math.imul(z,el),r=(r=Math.imul(z,eu))+Math.imul(q,el)|0,a=Math.imul(q,eu),n=n+Math.imul(R,ec)|0,r=(r=r+Math.imul(R,eh)|0)+Math.imul(j,ec)|0,a=a+Math.imul(j,eh)|0,n=n+Math.imul(B,em)|0,r=(r=r+Math.imul(B,eg)|0)+Math.imul(P,em)|0,a=a+Math.imul(P,eg)|0,n=n+Math.imul(T,e_)|0;var eP=(u+n|0)+((8191&(r=(r=r+Math.imul(T,ev)|0)+Math.imul(M,e_)|0))<<13)|0;u=((a=a+Math.imul(M,ev)|0)+(r>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,n=Math.imul(z,ec),r=(r=Math.imul(z,eh))+Math.imul(q,ec)|0,a=Math.imul(q,eh),n=n+Math.imul(R,em)|0,r=(r=r+Math.imul(R,eg)|0)+Math.imul(j,em)|0,a=a+Math.imul(j,eg)|0,n=n+Math.imul(B,e_)|0;var eL=(u+n|0)+((8191&(r=(r=r+Math.imul(B,ev)|0)+Math.imul(P,e_)|0))<<13)|0;u=((a=a+Math.imul(P,ev)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,n=Math.imul(z,em),r=(r=Math.imul(z,eg))+Math.imul(q,em)|0,a=Math.imul(q,eg),n=n+Math.imul(R,e_)|0;var eN=(u+n|0)+((8191&(r=(r=r+Math.imul(R,ev)|0)+Math.imul(j,e_)|0))<<13)|0;u=((a=a+Math.imul(j,ev)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,n=Math.imul(z,e_);var eR=(u+n|0)+((8191&(r=(r=Math.imul(z,ev))+Math.imul(q,e_)|0))<<13)|0;return u=((a=Math.imul(q,ev))+(r>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,l[0]=eb,l[1]=ey,l[2]=eF,l[3]=ek,l[4]=ew,l[5]=eC,l[6]=eA,l[7]=eE,l[8]=eS,l[9]=ex,l[10]=eD,l[11]=eT,l[12]=eM,l[13]=eI,l[14]=eB,l[15]=eP,l[16]=eL,l[17]=eN,l[18]=eR,0!==u&&(l[19]=u,i.length++),i};function p(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,a=0;a>>26)|0)>>>26,s&=0x3ffffff}i.words[a]=o,n=s,s=r}return 0!==n?i.words[a]=n:i.length--,i.strip()}function _(e,t,i){return new b().mulp(e,t,i)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=m),a.prototype.mulTo=function(e,t){var i,n=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):n<63?m(this,e,t):n<1024?p(this,e,t):_(this,e,t)},b.prototype.makeRBT=function(e){for(var t=Array(e),i=a.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,i,n,r,a){for(var s=0;s>>=1)r++;return 1<>>=13,i[2*s+1]=8191&a,a>>>=13;for(s=2*t;s>=26,t+=(r/0x4000000|0)+(a>>>26),this.words[i]=0x3ffffff&a}return 0!==t&&(this.words[i]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=f(e);if(0===t.length)return new a(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,a=0x3ffffff>>>26-i<<26-i;if(0!==i){var s=0;for(t=0;t>>26-i}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0);var r=t?(t-t%26)/26:0,a=e%26,s=Math.min((e-a)/26,this.length),o=0x3ffffff^0x3ffffff>>>a<s)for(this.length-=s,u=0;u=0&&(0!==d||u>=r);u--){var c=0|this.words[u];this.words[u]=d<<26-a|c>>>a,d=c&o}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=0x3ffffff^0x3ffffff>>>t<=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"==typeof e),n(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/0x4000000|0),this.words[r+i]=0x3ffffff&a}for(;r>26,this.words[r+i]=0x3ffffff&a;if(0===o)return this.strip();for(n(-1===o),o=0,r=0;r>26,this.words[r]=0x3ffffff&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var i,n=this.length-e.length,r=this.clone(),s=e,o=0|s.words[s.length-1];0!=(n=26-this._countBits(o))&&(s=s.ushln(n),r.iushln(n),o=0|s.words[s.length-1]);var l=r.length-s.length;if("mod"!==t){(i=new a(null)).length=l+1,i.words=Array(i.length);for(var u=0;u=0;c--){var h=(0|r.words[s.length+c])*0x4000000+(0|r.words[s.length+c-1]);for(h=Math.min(h/o|0,0x3ffffff),r._ishlnsubmul(s,h,c);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,c),r.isZero()||(r.negative^=1);i&&(i.words[c]=h)}return i&&i.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:i||null,mod:r}},a.prototype.divmod=function(e,t,i){var r,s,o;return(n(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(r=o.div.neg()),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(r=o.div.neg()),{div:r,mod:o.mod}):(this.negative&e.negative)!=0?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.isub(e)),{div:o.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),a=i.cmp(n);return a<0||1===r&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=0x3ffffff);for(var t=0x4000000%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},a.prototype.idivn=function(e){n(e<=0x3ffffff);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+0x4000000*t;this.words[i]=r/e|0,t=r%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new a(1),s=new a(0),o=new a(0),l=new a(1),u=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++u;for(var d=i.clone(),c=t.clone();!t.isZero();){for(var h=0,f=1;(t.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(c)),r.iushrn(1),s.iushrn(1);for(var m=0,g=1;(i.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(d),l.isub(c)),o.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(o),s.isub(l)):(i.isub(t),o.isub(r),l.isub(s))}return{a:o,b:l,gcd:i.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,i=this,r=e.clone();i=0!==i.negative?i.umod(e):i.clone();for(var s=new a(1),o=new a(0),l=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,d=1;(i.words[0]&d)==0&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,h=1;(r.words[0]&h)==0&&c<26;++c,h<<=1);if(c>0)for(r.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);i.cmp(r)>=0?(i.isub(r),s.isub(o)):(r.isub(i),o.isub(s))}return 0>(t=0===i.cmpn(1)?s:o).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var a=t;t=i,i=a}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,o&=0x3ffffff,this.words[s]=o}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=0x3ffffff,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new E(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function F(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){F.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){F.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){F.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){F.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}F.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},F.prototype.ireduce=function(e){var t,i=e;do this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(t>this.n);var n=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},F.prototype.split=function(e,t){e.iushrn(this.n,0,t)},F.prototype.imulK=function(e){return e.imul(this.k)},r(k,F),k.prototype.split=function(e,t){for(var i=4194303,n=Math.min(e.length,9),r=0;r>>22,a=s}a>>>=22,e.words[r-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},k.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(y[e])return y[e];if("k256"===e)t=new k;else if("p224"===e)t=new w;else if("p192"===e)t=new C;else if("p25519"===e)t=new A;else throw Error("Unknown prime "+e);return y[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n((e.negative|t.negative)==0,"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},E.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new a(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);n(!r.isZero());var o=new a(1).toRed(this),l=o.redNeg(),u=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,u).cmp(l);)d.redIAdd(l);for(var c=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),m=s;0!==f.cmp(o);){for(var g=f,p=0;0!==g.cmp(o);p++)g=g.redSqr();n(p=0;r--){for(var d=t.words[r],c=u-1;c>=0;c--){var h=d>>c&1;if(s!==n[0]&&(s=this.sqr(s)),0===h&&0===o){l=0;continue}o<<=1,o|=h,(++l===i||0===r&&0===c)&&(s=this.mul(s,n[o]),l=0,o=0)}u=26}return s},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new S(e)},r(S,E),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):0>r.cmpn(0)&&(a=r.iadd(this.m)),a._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=i.nmd(e),this)},67526(e,t){"use strict";t.byteLength=u,t.toByteArray=c,t.fromByteArray=m;for(var i=[],n=[],r="u">typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,o=a.length;s0)throw Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");-1===i&&(i=t);var n=i===t?0:4-i%4;return[i,n]}function u(e){var t=l(e),i=t[0],n=t[1];return(i+n)*3/4-n}function d(e,t,i){return(t+i)*3/4-i}function c(e){var t,i,a=l(e),s=a[0],o=a[1],u=new r(d(e,s,o)),c=0,h=o>0?s-4:s;for(i=0;i>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===o&&(t=n[e.charCodeAt(i)]<<2|n[e.charCodeAt(i+1)]>>4,u[c++]=255&t),1===o&&(t=n[e.charCodeAt(i)]<<10|n[e.charCodeAt(i+1)]<<4|n[e.charCodeAt(i+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function h(e){return i[e>>18&63]+i[e>>12&63]+i[e>>6&63]+i[63&e]}function f(e,t,i){for(var n=[],r=t;rl?l:o+s));return 1===r?a.push(i[(t=e[n-1])>>2]+i[t<<4&63]+"=="):2===r&&a.push(i[(t=(e[n-2]<<8)+e[n-1])>>10]+i[t>>4&63]+i[t<<2&63]+"="),a.join("")}n[45]=62,n[95]=63},19853(e){var t=4,i=.001,n=1e-7,r=10,a=11,s=.1,o="function"==typeof Float32Array;function l(e,t){return 1-3*t+3*e}function u(e,t){return 3*t-6*e}function d(e){return 3*e}function c(e,t,i){return((l(t,i)*e+u(t,i))*e+d(t))*e}function h(e,t,i){return 3*l(t,i)*e*e+2*u(t,i)*e+d(t)}function f(e,t,i,a,s){var o,l,u=0;do(o=c(l=t+(i-t)/2,a,s)-e)>0?i=l:t=l;while(Math.abs(o)>n&&++u=i?m(t,d,e,n):0===c?d:f(t,r,r+s,e,n)}return function(e){return 0===e?0:1===e?1:c(d(e),t,r)}}},39404(e,t,i){!function(e,t){"use strict";function n(e,t){if(!e)throw Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function a(e,t,i){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(i=t,t=10),this._init(e||0,t||10,i||"be"))}"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{c="u">typeof window&&void 0!==window.Buffer?window.Buffer:i(10605).Buffer}catch(e){}function s(e,t){var i=e.charCodeAt(t);return i>=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:void n(!1,"Invalid character in "+e)}function o(e,t,i){var n=s(e,i);return i-1>=t&&(n|=s(e,i-1)<<4),n}function l(e,t,i,r){for(var a=0,s=0,o=Math.min(e.length,i),l=t;l=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;s-=3)a=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=a<>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);else if("le"===i)for(s=0,r=0;s>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);return this._strip()},a.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r=0;r=t;r-=2)n=o(e,t,r)<=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;this._strip()},a.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=0x3ffffff;r*=t)n++;n--,r=r/t|0;for(var a=e.length-i,s=a%n,o=Math.min(a,a-s)+i,u=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"u">typeof Symbol&&"function"==typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(e){a.prototype.inspect=d}else a.prototype.inspect=d;function d(){return(this.red?""}var c,h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],m=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var i="",r=0,a=0,s=0;s>>24-r&0xffffff,(r+=2)>=26&&(r-=26,s--),i=0!==a||s!==this.length-1?h[6-l.length]+l+i:l+i}for(0!==a&&(i=a.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var u=f[e],d=m[e];i="";var c=this.clone();for(c.negative=0;!c.isZero();){var g=c.modrn(d).toString(e);i=(c=c.idivn(d)).isZero()?g+i:h[u-g.length]+g+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16,2)},c&&(a.prototype.toBuffer=function(e,t){return this.toArrayLike(c,e,t)}),a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var g=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function p(e){for(var t=Array(e.bitLength()),i=0;i>>r&1}return t}function _(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],a=0|t.words[0],s=r*a,o=0x3ffffff&s,l=s/0x4000000|0;i.words[0]=o;for(var u=1;u>>26,c=0x3ffffff&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var m=u-f|0;d+=(s=(r=0|e.words[m])*(a=0|t.words[f])+c)/0x4000000|0,c=0x3ffffff&s}i.words[u]=0|c,l=0|d}return 0!==l?i.words[u]=0|l:i.length--,i._strip()}a.prototype.toArrayLike=function(e,t,i){this._strip();var r=this.byteLength(),a=i||Math.max(1,r);n(r<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0");var s=g(e,a);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,r),s},a.prototype._toArrayLikeLE=function(e,t){for(var i=0,n=0,r=0,a=0;r>8&255),i>16&255),6===a?(i>24&255),n=0,a=0):(n=s>>>24,a+=2)}if(i=0&&(e[i--]=s>>8&255),i>=0&&(e[i--]=s>>16&255),6===a?(i>=0&&(e[i--]=s>>24&255),n=0,a=0):(n=s>>>24,a+=2)}if(i>=0)for(e[i--]=n;i>=0;)e[i--]=0},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,i=0;return t>=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return(8191&t)==0&&(i+=13,t>>>=13),(127&t)==0&&(i+=7,t>>>=7),(15&t)==0&&(i+=4,t>>>=4),(3&t)==0&&(i+=2,t>>>=2),(1&t)==0&&i++,i},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){this.length>e.length?(t=this,i=e):(t=e,i=this);for(var t,i,n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&0x3ffffff>>26-i),this._strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),t?this.words[i]=this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var t,i,n,r=0,a=0;a>>26;for(;0!==r&&a>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,i,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,i=e):(t=e,i=this);for(var a=0,s=0;s>26,this.words[s]=0x3ffffff&n;for(;0!==a&&s>26,this.words[s]=0x3ffffff&n;if(0===a&&s>>13,f=0|s[1],m=8191&f,g=f>>>13,p=0|s[2],_=8191&p,b=p>>>13,y=0|s[3],F=8191&y,k=y>>>13,w=0|s[4],C=8191&w,A=w>>>13,E=0|s[5],S=8191&E,x=E>>>13,D=0|s[6],T=8191&D,M=D>>>13,I=0|s[7],B=8191&I,P=I>>>13,N=0|s[8],R=8191&N,j=N>>>13,O=0|s[9],z=8191&O,q=O>>>13,W=0|o[0],V=8191&W,H=W>>>13,$=0|o[1],G=8191&$,X=$>>>13,K=0|o[2],Y=8191&K,Q=K>>>13,Z=0|o[3],J=8191&Z,ee=Z>>>13,et=0|o[4],ei=8191&et,en=et>>>13,er=0|o[5],ea=8191&er,es=er>>>13,eo=0|o[6],el=8191&eo,eu=eo>>>13,ed=0|o[7],ec=8191&ed,eh=ed>>>13,ef=0|o[8],em=8191&ef,eg=ef>>>13,ep=0|o[9],e_=8191&ep,ev=ep>>>13;i.negative=e.negative^t.negative,i.length=19,n=Math.imul(c,V);var eb=(u+n|0)+((8191&(r=(r=Math.imul(c,H))+Math.imul(h,V)|0))<<13)|0;u=((a=Math.imul(h,H))+(r>>>13)|0)+(eb>>>26)|0,eb&=0x3ffffff,n=Math.imul(m,V),r=(r=Math.imul(m,H))+Math.imul(g,V)|0,a=Math.imul(g,H),n=n+Math.imul(c,G)|0;var ey=(u+n|0)+((8191&(r=(r=r+Math.imul(c,X)|0)+Math.imul(h,G)|0))<<13)|0;u=((a=a+Math.imul(h,X)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,n=Math.imul(_,V),r=(r=Math.imul(_,H))+Math.imul(b,V)|0,a=Math.imul(b,H),n=n+Math.imul(m,G)|0,r=(r=r+Math.imul(m,X)|0)+Math.imul(g,G)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(c,Y)|0;var eF=(u+n|0)+((8191&(r=(r=r+Math.imul(c,Q)|0)+Math.imul(h,Y)|0))<<13)|0;u=((a=a+Math.imul(h,Q)|0)+(r>>>13)|0)+(eF>>>26)|0,eF&=0x3ffffff,n=Math.imul(F,V),r=(r=Math.imul(F,H))+Math.imul(k,V)|0,a=Math.imul(k,H),n=n+Math.imul(_,G)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(b,G)|0,a=a+Math.imul(b,X)|0,n=n+Math.imul(m,Y)|0,r=(r=r+Math.imul(m,Q)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(c,J)|0;var ek=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ee)|0)+Math.imul(h,J)|0))<<13)|0;u=((a=a+Math.imul(h,ee)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,n=Math.imul(C,V),r=(r=Math.imul(C,H))+Math.imul(A,V)|0,a=Math.imul(A,H),n=n+Math.imul(F,G)|0,r=(r=r+Math.imul(F,X)|0)+Math.imul(k,G)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,Q)|0,n=n+Math.imul(m,J)|0,r=(r=r+Math.imul(m,ee)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,ee)|0,n=n+Math.imul(c,ei)|0;var ew=(u+n|0)+((8191&(r=(r=r+Math.imul(c,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((a=a+Math.imul(h,en)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,n=Math.imul(S,V),r=(r=Math.imul(S,H))+Math.imul(x,V)|0,a=Math.imul(x,H),n=n+Math.imul(C,G)|0,r=(r=r+Math.imul(C,X)|0)+Math.imul(A,G)|0,a=a+Math.imul(A,X)|0,n=n+Math.imul(F,Y)|0,r=(r=r+Math.imul(F,Q)|0)+Math.imul(k,Y)|0,a=a+Math.imul(k,Q)|0,n=n+Math.imul(_,J)|0,r=(r=r+Math.imul(_,ee)|0)+Math.imul(b,J)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(m,ei)|0,r=(r=r+Math.imul(m,en)|0)+Math.imul(g,ei)|0,a=a+Math.imul(g,en)|0,n=n+Math.imul(c,ea)|0;var eC=(u+n|0)+((8191&(r=(r=r+Math.imul(c,es)|0)+Math.imul(h,ea)|0))<<13)|0;u=((a=a+Math.imul(h,es)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,n=Math.imul(T,V),r=(r=Math.imul(T,H))+Math.imul(M,V)|0,a=Math.imul(M,H),n=n+Math.imul(S,G)|0,r=(r=r+Math.imul(S,X)|0)+Math.imul(x,G)|0,a=a+Math.imul(x,X)|0,n=n+Math.imul(C,Y)|0,r=(r=r+Math.imul(C,Q)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Q)|0,n=n+Math.imul(F,J)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(_,ei)|0,r=(r=r+Math.imul(_,en)|0)+Math.imul(b,ei)|0,a=a+Math.imul(b,en)|0,n=n+Math.imul(m,ea)|0,r=(r=r+Math.imul(m,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0,n=n+Math.imul(c,el)|0;var eA=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eu)|0)+Math.imul(h,el)|0))<<13)|0;u=((a=a+Math.imul(h,eu)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,n=Math.imul(B,V),r=(r=Math.imul(B,H))+Math.imul(P,V)|0,a=Math.imul(P,H),n=n+Math.imul(T,G)|0,r=(r=r+Math.imul(T,X)|0)+Math.imul(M,G)|0,a=a+Math.imul(M,X)|0,n=n+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Q)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(C,J)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(A,J)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(F,ei)|0,r=(r=r+Math.imul(F,en)|0)+Math.imul(k,ei)|0,a=a+Math.imul(k,en)|0,n=n+Math.imul(_,ea)|0,r=(r=r+Math.imul(_,es)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,es)|0,n=n+Math.imul(m,el)|0,r=(r=r+Math.imul(m,eu)|0)+Math.imul(g,el)|0,a=a+Math.imul(g,eu)|0,n=n+Math.imul(c,ec)|0;var eE=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eh)|0)+Math.imul(h,ec)|0))<<13)|0;u=((a=a+Math.imul(h,eh)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,n=Math.imul(R,V),r=(r=Math.imul(R,H))+Math.imul(j,V)|0,a=Math.imul(j,H),n=n+Math.imul(B,G)|0,r=(r=r+Math.imul(B,X)|0)+Math.imul(P,G)|0,a=a+Math.imul(P,X)|0,n=n+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Q)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,Q)|0,n=n+Math.imul(S,J)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(x,J)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(C,ei)|0,r=(r=r+Math.imul(C,en)|0)+Math.imul(A,ei)|0,a=a+Math.imul(A,en)|0,n=n+Math.imul(F,ea)|0,r=(r=r+Math.imul(F,es)|0)+Math.imul(k,ea)|0,a=a+Math.imul(k,es)|0,n=n+Math.imul(_,el)|0,r=(r=r+Math.imul(_,eu)|0)+Math.imul(b,el)|0,a=a+Math.imul(b,eu)|0,n=n+Math.imul(m,ec)|0,r=(r=r+Math.imul(m,eh)|0)+Math.imul(g,ec)|0,a=a+Math.imul(g,eh)|0,n=n+Math.imul(c,em)|0;var eS=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eg)|0)+Math.imul(h,em)|0))<<13)|0;u=((a=a+Math.imul(h,eg)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,n=Math.imul(z,V),r=(r=Math.imul(z,H))+Math.imul(q,V)|0,a=Math.imul(q,H),n=n+Math.imul(R,G)|0,r=(r=r+Math.imul(R,X)|0)+Math.imul(j,G)|0,a=a+Math.imul(j,X)|0,n=n+Math.imul(B,Y)|0,r=(r=r+Math.imul(B,Q)|0)+Math.imul(P,Y)|0,a=a+Math.imul(P,Q)|0,n=n+Math.imul(T,J)|0,r=(r=r+Math.imul(T,ee)|0)+Math.imul(M,J)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(S,ei)|0,r=(r=r+Math.imul(S,en)|0)+Math.imul(x,ei)|0,a=a+Math.imul(x,en)|0,n=n+Math.imul(C,ea)|0,r=(r=r+Math.imul(C,es)|0)+Math.imul(A,ea)|0,a=a+Math.imul(A,es)|0,n=n+Math.imul(F,el)|0,r=(r=r+Math.imul(F,eu)|0)+Math.imul(k,el)|0,a=a+Math.imul(k,eu)|0,n=n+Math.imul(_,ec)|0,r=(r=r+Math.imul(_,eh)|0)+Math.imul(b,ec)|0,a=a+Math.imul(b,eh)|0,n=n+Math.imul(m,em)|0,r=(r=r+Math.imul(m,eg)|0)+Math.imul(g,em)|0,a=a+Math.imul(g,eg)|0,n=n+Math.imul(c,e_)|0;var ex=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ev)|0)+Math.imul(h,e_)|0))<<13)|0;u=((a=a+Math.imul(h,ev)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,n=Math.imul(z,G),r=(r=Math.imul(z,X))+Math.imul(q,G)|0,a=Math.imul(q,X),n=n+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Q)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,Q)|0,n=n+Math.imul(B,J)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(P,J)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(T,ei)|0,r=(r=r+Math.imul(T,en)|0)+Math.imul(M,ei)|0,a=a+Math.imul(M,en)|0,n=n+Math.imul(S,ea)|0,r=(r=r+Math.imul(S,es)|0)+Math.imul(x,ea)|0,a=a+Math.imul(x,es)|0,n=n+Math.imul(C,el)|0,r=(r=r+Math.imul(C,eu)|0)+Math.imul(A,el)|0,a=a+Math.imul(A,eu)|0,n=n+Math.imul(F,ec)|0,r=(r=r+Math.imul(F,eh)|0)+Math.imul(k,ec)|0,a=a+Math.imul(k,eh)|0,n=n+Math.imul(_,em)|0,r=(r=r+Math.imul(_,eg)|0)+Math.imul(b,em)|0,a=a+Math.imul(b,eg)|0,n=n+Math.imul(m,e_)|0;var eD=(u+n|0)+((8191&(r=(r=r+Math.imul(m,ev)|0)+Math.imul(g,e_)|0))<<13)|0;u=((a=a+Math.imul(g,ev)|0)+(r>>>13)|0)+(eD>>>26)|0,eD&=0x3ffffff,n=Math.imul(z,Y),r=(r=Math.imul(z,Q))+Math.imul(q,Y)|0,a=Math.imul(q,Q),n=n+Math.imul(R,J)|0,r=(r=r+Math.imul(R,ee)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,ee)|0,n=n+Math.imul(B,ei)|0,r=(r=r+Math.imul(B,en)|0)+Math.imul(P,ei)|0,a=a+Math.imul(P,en)|0,n=n+Math.imul(T,ea)|0,r=(r=r+Math.imul(T,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,n=n+Math.imul(S,el)|0,r=(r=r+Math.imul(S,eu)|0)+Math.imul(x,el)|0,a=a+Math.imul(x,eu)|0,n=n+Math.imul(C,ec)|0,r=(r=r+Math.imul(C,eh)|0)+Math.imul(A,ec)|0,a=a+Math.imul(A,eh)|0,n=n+Math.imul(F,em)|0,r=(r=r+Math.imul(F,eg)|0)+Math.imul(k,em)|0,a=a+Math.imul(k,eg)|0,n=n+Math.imul(_,e_)|0;var eT=(u+n|0)+((8191&(r=(r=r+Math.imul(_,ev)|0)+Math.imul(b,e_)|0))<<13)|0;u=((a=a+Math.imul(b,ev)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,n=Math.imul(z,J),r=(r=Math.imul(z,ee))+Math.imul(q,J)|0,a=Math.imul(q,ee),n=n+Math.imul(R,ei)|0,r=(r=r+Math.imul(R,en)|0)+Math.imul(j,ei)|0,a=a+Math.imul(j,en)|0,n=n+Math.imul(B,ea)|0,r=(r=r+Math.imul(B,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,n=n+Math.imul(T,el)|0,r=(r=r+Math.imul(T,eu)|0)+Math.imul(M,el)|0,a=a+Math.imul(M,eu)|0,n=n+Math.imul(S,ec)|0,r=(r=r+Math.imul(S,eh)|0)+Math.imul(x,ec)|0,a=a+Math.imul(x,eh)|0,n=n+Math.imul(C,em)|0,r=(r=r+Math.imul(C,eg)|0)+Math.imul(A,em)|0,a=a+Math.imul(A,eg)|0,n=n+Math.imul(F,e_)|0;var eM=(u+n|0)+((8191&(r=(r=r+Math.imul(F,ev)|0)+Math.imul(k,e_)|0))<<13)|0;u=((a=a+Math.imul(k,ev)|0)+(r>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,n=Math.imul(z,ei),r=(r=Math.imul(z,en))+Math.imul(q,ei)|0,a=Math.imul(q,en),n=n+Math.imul(R,ea)|0,r=(r=r+Math.imul(R,es)|0)+Math.imul(j,ea)|0,a=a+Math.imul(j,es)|0,n=n+Math.imul(B,el)|0,r=(r=r+Math.imul(B,eu)|0)+Math.imul(P,el)|0,a=a+Math.imul(P,eu)|0,n=n+Math.imul(T,ec)|0,r=(r=r+Math.imul(T,eh)|0)+Math.imul(M,ec)|0,a=a+Math.imul(M,eh)|0,n=n+Math.imul(S,em)|0,r=(r=r+Math.imul(S,eg)|0)+Math.imul(x,em)|0,a=a+Math.imul(x,eg)|0,n=n+Math.imul(C,e_)|0;var eI=(u+n|0)+((8191&(r=(r=r+Math.imul(C,ev)|0)+Math.imul(A,e_)|0))<<13)|0;u=((a=a+Math.imul(A,ev)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,n=Math.imul(z,ea),r=(r=Math.imul(z,es))+Math.imul(q,ea)|0,a=Math.imul(q,es),n=n+Math.imul(R,el)|0,r=(r=r+Math.imul(R,eu)|0)+Math.imul(j,el)|0,a=a+Math.imul(j,eu)|0,n=n+Math.imul(B,ec)|0,r=(r=r+Math.imul(B,eh)|0)+Math.imul(P,ec)|0,a=a+Math.imul(P,eh)|0,n=n+Math.imul(T,em)|0,r=(r=r+Math.imul(T,eg)|0)+Math.imul(M,em)|0,a=a+Math.imul(M,eg)|0,n=n+Math.imul(S,e_)|0;var eB=(u+n|0)+((8191&(r=(r=r+Math.imul(S,ev)|0)+Math.imul(x,e_)|0))<<13)|0;u=((a=a+Math.imul(x,ev)|0)+(r>>>13)|0)+(eB>>>26)|0,eB&=0x3ffffff,n=Math.imul(z,el),r=(r=Math.imul(z,eu))+Math.imul(q,el)|0,a=Math.imul(q,eu),n=n+Math.imul(R,ec)|0,r=(r=r+Math.imul(R,eh)|0)+Math.imul(j,ec)|0,a=a+Math.imul(j,eh)|0,n=n+Math.imul(B,em)|0,r=(r=r+Math.imul(B,eg)|0)+Math.imul(P,em)|0,a=a+Math.imul(P,eg)|0,n=n+Math.imul(T,e_)|0;var eP=(u+n|0)+((8191&(r=(r=r+Math.imul(T,ev)|0)+Math.imul(M,e_)|0))<<13)|0;u=((a=a+Math.imul(M,ev)|0)+(r>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,n=Math.imul(z,ec),r=(r=Math.imul(z,eh))+Math.imul(q,ec)|0,a=Math.imul(q,eh),n=n+Math.imul(R,em)|0,r=(r=r+Math.imul(R,eg)|0)+Math.imul(j,em)|0,a=a+Math.imul(j,eg)|0,n=n+Math.imul(B,e_)|0;var eL=(u+n|0)+((8191&(r=(r=r+Math.imul(B,ev)|0)+Math.imul(P,e_)|0))<<13)|0;u=((a=a+Math.imul(P,ev)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,n=Math.imul(z,em),r=(r=Math.imul(z,eg))+Math.imul(q,em)|0,a=Math.imul(q,eg),n=n+Math.imul(R,e_)|0;var eN=(u+n|0)+((8191&(r=(r=r+Math.imul(R,ev)|0)+Math.imul(j,e_)|0))<<13)|0;u=((a=a+Math.imul(j,ev)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,n=Math.imul(z,e_);var eR=(u+n|0)+((8191&(r=(r=Math.imul(z,ev))+Math.imul(q,e_)|0))<<13)|0;return u=((a=Math.imul(q,ev))+(r>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,l[0]=eb,l[1]=ey,l[2]=eF,l[3]=ek,l[4]=ew,l[5]=eC,l[6]=eA,l[7]=eE,l[8]=eS,l[9]=ex,l[10]=eD,l[11]=eT,l[12]=eM,l[13]=eI,l[14]=eB,l[15]=eP,l[16]=eL,l[17]=eN,l[18]=eR,0!==u&&(l[19]=u,i.length++),i};function y(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,a=0;a>>26)|0)>>>26,s&=0x3ffffff}i.words[a]=o,n=s,s=r}return 0!==n?i.words[a]=n:i.length--,i._strip()}function F(e,t,i){return y(e,t,i)}function k(e,t){this.x=e,this.y=t}Math.imul||(b=_),a.prototype.mulTo=function(e,t){var i,n=this.length+e.length;return 10===this.length&&10===e.length?b(this,e,t):n<63?_(this,e,t):n<1024?y(this,e,t):F(this,e,t)},k.prototype.makeRBT=function(e){for(var t=Array(e),i=a.prototype._countBits(e)-1,n=0;n>=1;return n},k.prototype.permute=function(e,t,i,n,r,a){for(var s=0;s>>=1)r++;return 1<>>=13,i[2*s+1]=8191&a,a>>>=13;for(s=2*t;s>=26,i+=(a/0x4000000|0)+(s>>>26),this.words[r]=0x3ffffff&s}return 0!==i&&(this.words[r]=i,this.length++),t?this.ineg():this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=p(e);if(0===t.length)return new a(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,a=0x3ffffff>>>26-i<<26-i;if(0!==i){var s=0;for(t=0;t>>26-i}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0);var r=t?(t-t%26)/26:0,a=e%26,s=Math.min((e-a)/26,this.length),o=0x3ffffff^0x3ffffff>>>a<s)for(this.length-=s,u=0;u=0&&(0!==d||u>=r);u--){var c=0|this.words[u];this.words[u]=d<<26-a|c>>>a,d=c&o}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=0x3ffffff^0x3ffffff>>>t<=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"==typeof e),n(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/0x4000000|0),this.words[r+i]=0x3ffffff&a}for(;r>26,this.words[r+i]=0x3ffffff&a;if(0===o)return this._strip();for(n(-1===o),o=0,r=0;r>26,this.words[r]=0x3ffffff&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(e,t){var i,n=this.length-e.length,r=this.clone(),s=e,o=0|s.words[s.length-1];0!=(n=26-this._countBits(o))&&(s=s.ushln(n),r.iushln(n),o=0|s.words[s.length-1]);var l=r.length-s.length;if("mod"!==t){(i=new a(null)).length=l+1,i.words=Array(i.length);for(var u=0;u=0;c--){var h=(0|r.words[s.length+c])*0x4000000+(0|r.words[s.length+c-1]);for(h=Math.min(h/o|0,0x3ffffff),r._ishlnsubmul(s,h,c);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,c),r.isZero()||(r.negative^=1);i&&(i.words[c]=h)}return i&&i._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:i||null,mod:r}},a.prototype.divmod=function(e,t,i){var r,s,o;return(n(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(r=o.div.neg()),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(r=o.div.neg()),{div:r,mod:o.mod}):(this.negative&e.negative)!=0?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.isub(e)),{div:o.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modrn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),a=i.cmp(n);return a<0||1===r&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=0x3ffffff);for(var i=0x4000000%e,r=0,a=this.length-1;a>=0;a--)r=(i*r+(0|this.words[a]))%e;return t?-r:r},a.prototype.modn=function(e){return this.modrn(e)},a.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=0x3ffffff);for(var i=0,r=this.length-1;r>=0;r--){var a=(0|this.words[r])+0x4000000*i;this.words[r]=a/e|0,i=a%e}return this._strip(),t?this.ineg():this},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new a(1),s=new a(0),o=new a(0),l=new a(1),u=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++u;for(var d=i.clone(),c=t.clone();!t.isZero();){for(var h=0,f=1;(t.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(c)),r.iushrn(1),s.iushrn(1);for(var m=0,g=1;(i.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(d),l.isub(c)),o.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(o),s.isub(l)):(i.isub(t),o.isub(r),l.isub(s))}return{a:o,b:l,gcd:i.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,i=this,r=e.clone();i=0!==i.negative?i.umod(e):i.clone();for(var s=new a(1),o=new a(0),l=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,d=1;(i.words[0]&d)==0&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,h=1;(r.words[0]&h)==0&&c<26;++c,h<<=1);if(c>0)for(r.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);i.cmp(r)>=0?(i.isub(r),s.isub(o)):(r.isub(i),o.isub(s))}return 0>(t=0===i.cmpn(1)?s:o).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var a=t;t=i,i=a}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,o&=0x3ffffff,this.words[s]=o}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this._strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=0x3ffffff,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new D(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var w={k256:null,p224:null,p192:null,p25519:null};function C(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function A(){C.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){C.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){C.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){C.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){D.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}C.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},C.prototype.ireduce=function(e){var t,i=e;do this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(t>this.n);var n=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},C.prototype.split=function(e,t){e.iushrn(this.n,0,t)},C.prototype.imulK=function(e){return e.imul(this.k)},r(A,C),A.prototype.split=function(e,t){for(var i=4194303,n=Math.min(e.length,9),r=0;r>>22,a=s}a>>>=22,e.words[r-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},A.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(w[e])return w[e];if("k256"===e)t=new A;else if("p224"===e)t=new E;else if("p192"===e)t=new S;else if("p25519"===e)t=new x;else throw Error("Unknown prime "+e);return w[e]=t,t},D.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},D.prototype._verify2=function(e,t){n((e.negative|t.negative)==0,"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},D.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},D.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},D.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},D.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},D.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},D.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i},D.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},D.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},D.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},D.prototype.isqr=function(e){return this.imul(e,e.clone())},D.prototype.sqr=function(e){return this.mul(e,e)},D.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new a(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);n(!r.isZero());var o=new a(1).toRed(this),l=o.redNeg(),u=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,u).cmp(l);)d.redIAdd(l);for(var c=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),m=s;0!==f.cmp(o);){for(var g=f,p=0;0!==g.cmp(o);p++)g=g.redSqr();n(p=0;r--){for(var d=t.words[r],c=u-1;c>=0;c--){var h=d>>c&1;if(s!==n[0]&&(s=this.sqr(s)),0===h&&0===o){l=0;continue}o<<=1,o|=h,(++l===i||0===r&&0===c)&&(s=this.mul(s,n[o]),l=0,o=0)}u=26}return s},D.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},D.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new T(e)},r(T,D),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):0>r.cmpn(0)&&(a=r.iadd(this.m)),a._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=i.nmd(e),this)},15037(e,t,i){var n;function r(e){this.rand=e}if(e.exports=function(e){return n||(n=new r(null)),n.generate(e)},e.exports.Rand=r,r.prototype.generate=function(e){return this._rand(e)},r.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),i=0;i>>24]^d[m>>>16&255]^c[g>>>8&255]^h[255&p]^t[_++],s=u[m>>>24]^d[g>>>16&255]^c[p>>>8&255]^h[255&f]^t[_++],o=u[g>>>24]^d[p>>>16&255]^c[f>>>8&255]^h[255&m]^t[_++],l=u[p>>>24]^d[f>>>16&255]^c[m>>>8&255]^h[255&g]^t[_++],f=a,m=s,g=o,p=l;return a=(n[f>>>24]<<24|n[m>>>16&255]<<16|n[g>>>8&255]<<8|n[255&p])^t[_++],s=(n[m>>>24]<<24|n[g>>>16&255]<<16|n[p>>>8&255]<<8|n[255&f])^t[_++],o=(n[g>>>24]<<24|n[p>>>16&255]<<16|n[f>>>8&255]<<8|n[255&m])^t[_++],[a>>>=0,s>>>=0,o>>>=0,l=((n[p>>>24]<<24|n[f>>>16&255]<<16|n[m>>>8&255]<<8|n[255&g])^t[_++])>>>0]}var o=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=Array(256),t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var i=[],n=[],r=[[],[],[],[]],a=[[],[],[],[]],s=0,o=0,l=0;l<256;++l){var u=o^o<<1^o<<2^o<<3^o<<4;u=u>>>8^255&u^99,i[s]=u,n[u]=s;var d=e[s],c=e[d],h=e[c],f=257*e[u]^0x1010100*u;r[0][s]=f<<24|f>>>8,r[1][s]=f<<16|f>>>16,r[2][s]=f<<8|f>>>24,r[3][s]=f,f=0x1010101*h^65537*c^257*d^0x1010100*s,a[0][u]=f<<24|f>>>8,a[1][u]=f<<16|f>>>16,a[2][u]=f<<8|f>>>24,a[3][u]=f,0===s?s=o=1:(s=d^e[e[e[h^d]]],o^=e[e[o]])}return{SBOX:i,INV_SBOX:n,SUB_MIX:r,INV_SUB_MIX:a}}();function u(e){this._key=r(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,i=t+6,n=(i+1)*4,r=[],a=0;a>>24,s=(l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s])^o[a/t|0]<<24):t>6&&a%t==4&&(s=l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s]),r[a]=r[a-t]^s}for(var u=[],d=0;d>>24]]^l.INV_SUB_MIX[1][l.SBOX[h>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[h>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&h]]}this._nRounds=i,this._keySchedule=r,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return s(e=r(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),i=n.allocUnsafe(16);return i.writeUInt32BE(t[0],0),i.writeUInt32BE(t[1],4),i.writeUInt32BE(t[2],8),i.writeUInt32BE(t[3],12),i},u.prototype.decryptBlock=function(e){var t=(e=r(e))[1];e[1]=e[3],e[3]=t;var i=s(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),a=n.allocUnsafe(16);return a.writeUInt32BE(i[0],0),a.writeUInt32BE(i[3],4),a.writeUInt32BE(i[2],8),a.writeUInt32BE(i[1],12),a},u.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=u},92356(e,t,i){var n=i(50462),r=i(92861).Buffer,a=i(56168),s=i(56698),o=i(25892),l=i(30295),u=i(45122);function d(e,t){var i=0;e.length!==t.length&&i++;for(var n=Math.min(e.length,t.length),r=0;r16)throw Error("unable to decrypt data");for(var i=-1;++i16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},c.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var i=a[e.toLowerCase()];if(!i)throw TypeError("invalid suite type");var n=u(t,!1,i.key,i.iv);return f(e,n.key,n.iv)},t.createDecipheriv=f},25799(e,t,i){var n=i(530),r=i(92356),a=i(92861).Buffer,s=i(50650),o=i(56168),l=i(50462),u=i(68078);function d(e,t,i){o.call(this),this._cache=new h,this._cipher=new l.AES(t),this._prev=a.from(i),this._mode=e,this._autopadding=!0}i(56698)(d,o),d.prototype._update=function(e){this._cache.add(e);for(var t,i,n=[];t=this._cache.get();)i=this._mode.encrypt(this,t),n.push(i);return a.concat(n)};var c=a.alloc(16,16);function h(){this.cache=a.allocUnsafe(0)}function f(e,t,i){var o=n[e.toLowerCase()];if(!o)throw TypeError("invalid suite type");if("string"==typeof t&&(t=a.from(t)),t.length!==o.key/8)throw TypeError("invalid key length "+t.length);if("string"==typeof i&&(i=a.from(i)),"GCM"!==o.mode&&i.length!==o.iv)throw TypeError("invalid iv length "+i.length);return"stream"===o.type?new s(o.module,t,i):"auth"===o.type?new r(o.module,t,i):new d(o.module,t,i)}function m(e,t){var i=n[e.toLowerCase()];if(!i)throw TypeError("invalid suite type");var r=u(t,!1,i.key,i.iv);return f(e,r.key,r.iv)}d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(c))throw this._cipher.scrub(),Error("data not multiple of block length")},d.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=a.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=a.allocUnsafe(e),i=-1;++i>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}o.prototype.ghash=function(e){for(var t=-1;++t0;e--)i[e]=i[e]>>>1|(1&i[e-1])<<31;i[0]=i[0]>>>1,t&&(i[0]=-0x1f000000^i[0])}this.state=s(n)},o.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,r],16)),this.ghash(s([0,e,0,t])),this.state},e.exports=o},45122(e){e.exports=function(e){for(var t,i=e.length;i--;)if(255===(t=e.readUInt8(i)))e.writeUInt8(0,i);else{t++,e.writeUInt8(t,i);break}}},92884(e,t,i){var n=i(30295);t.encrypt=function(e,t){var i=n(t,e._prev);return e._prev=e._cipher.encryptBlock(i),e._prev},t.decrypt=function(e,t){var i=e._prev;return e._prev=t,n(e._cipher.decryptBlock(t),i)}},46383(e,t,i){var n=i(92861).Buffer,r=i(30295);function a(e,t,i){var a=t.length,s=r(t,e._cache);return e._cache=e._cache.slice(a),e._prev=n.concat([e._prev,i?t:s]),s}t.encrypt=function(e,t,i){for(var r,s=n.allocUnsafe(0);t.length;)if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),e._cache.length<=t.length)r=e._cache.length,s=n.concat([s,a(e,t.slice(0,r),i)]),t=t.slice(r);else{s=n.concat([s,a(e,t,i)]);break}return s}},55264(e,t,i){var n=i(92861).Buffer;function r(e,t,i){for(var n,r,s,o=-1,l=8,u=0;++o>o%8,e._prev=a(e._prev,i?r:s);return u}function a(e,t){var i=e.length,r=-1,a=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++r>7;return a}t.encrypt=function(e,t,i){for(var a=t.length,s=n.allocUnsafe(a),o=-1;++o=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function l(e,t){var i=s(t),a=t.modulus.byteLength(),o=new r(e).mul(i.blinder).umod(t.modulus),l=o.toRed(r.mont(t.prime1)),u=o.toRed(r.mont(t.prime2)),d=t.coefficient,c=t.prime1,h=t.prime2,f=l.redPow(t.exponent1).fromRed(),m=u.redPow(t.exponent2).fromRed(),g=f.isub(m).imul(d).umod(c).imul(h);return m.iadd(g).imul(i.unblinder).umod(t.modulus).toArrayLike(n,"be",a)}l.getr=o,e.exports=l},55715(e,t,i){"use strict";e.exports=i(62951)},20(e,t,i){"use strict";var n=i(48223).Buffer,r=i(47108),a=i(46737),s=i(56698),o=i(35359),l=i(74847),u=i(62951);function d(e){a.Writable.call(this);var t=u[e];if(!t)throw Error("Unknown message digest");this._hashType=t.hash,this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function c(e){a.Writable.call(this);var t=u[e];if(!t)throw Error("Unknown message digest");this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){return new d(e)}function f(e){return new c(e)}Object.keys(u).forEach(function(e){u[e].id=n.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]}),s(d,a.Writable),d.prototype._write=function(e,t,i){this._hash.update(e),i()},d.prototype.update=function(e,t){return this._hash.update("string"==typeof e?n.from(e,t):e),this},d.prototype.sign=function(e,t){this.end();var i=o(this._hash.digest(),e,this._hashType,this._signType,this._tag);return t?i.toString(t):i},s(c,a.Writable),c.prototype._write=function(e,t,i){this._hash.update(e),i()},c.prototype.update=function(e,t){return this._hash.update("string"==typeof e?n.from(e,t):e),this},c.prototype.verify=function(e,t,i){var r="string"==typeof t?n.from(t,i):t;return this.end(),l(r,this._hash.digest(),e,this._signType,this._tag)},e.exports={Sign:h,Verify:f,createSign:h,createVerify:f}},35359(e,t,i){"use strict";var n=i(48223).Buffer,r=i(83507),a=i(67332),s=i(86729).ec,o=i(39404),l=i(78170),u=i(64589),d=1;function c(e,t){var i=u[t.curve.join(".")];if(!i)throw Error("unknown curve "+t.curve.join("."));var r=new s(i).keyFromPrivate(t.privateKey).sign(e);return n.from(r.toDER())}function h(e,t,i){for(var n,r=t.params.priv_key,a=t.params.p,s=t.params.q,l=t.params.g,u=new o(0),d=g(e,s).mod(s),c=!1,h=m(r,s,e,i);!1===c;)u=b(l,n=_(s,h,i),a,s),0===(c=n.invm(s).imul(d.add(r.mul(u))).mod(s)).cmpn(0)&&(c=!1,u=new o(0));return f(u,c)}function f(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var i=[48,e.length+t.length+4,2,e.length];return i=i.concat(e,[2,t.length],t),n.from(i)}function m(e,t,i,a){if((e=n.from(e.toArray())).length0&&i.ishrn(n),i}function p(e,t){e=(e=g(e,t)).mod(t);var i=n.from(e.toArray());if(i.length=e.cmpn(0)||e.cmp(t)>=0)throw Error("invalid sig")}e.exports=function(e,t,i,a,o){var d=s(i);if("ec"===d.type){if("ecdsa"!==a&&"ecdsa/rsa"!==a)throw Error("wrong public key type");return l(e,t,d)}if("dsa"===d.type){if("dsa"!==a)throw Error("wrong public key type");return u(e,t,d)}if("rsa"!==a&&"ecdsa/rsa"!==a)throw Error("wrong public key type");t=n.concat([o,t]);for(var c=d.modulus.byteLength(),h=[1],f=0;t.length+h.length+2typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){};function h(e){return d.from(e)}function f(e){return d.isBuffer(e)||e instanceof c}var m=Object.create(i(15622));m.inherits=i(56698);var g=i(99623),p=void 0;p=g&&g.debuglog?g.debuglog("stream"):function(){};var _=i(20672),b=i(36278);m.inherits(w,u);var y=["error","close","destroy","pause","resume"];function F(e,t,i){if("function"==typeof e.prependListener)return e.prependListener(t,i);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(i):e._events[t]=[i,e._events[t]]:e.on(t,i)}function k(e,t){n=n||i(26248),e=e||{};var a=t instanceof n;this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var s=e.highWaterMark,o=e.readableHighWaterMark,l=this.objectMode?16:16384;s||0===s?this.highWaterMark=s:a&&(o||0===o)?this.highWaterMark=o:this.highWaterMark=l,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new _,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(r||(r=i(6427).StringDecoder),this.decoder=new r(e.encoding),this.encoding=e.encoding)}function w(e){if(n=n||i(26248),!(this instanceof w))return new w(e);this._readableState=new k(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function C(e,t,i,n,r){var a,s=e._readableState;return null===t?(s.reading=!1,M(e,s)):(r||(a=E(s,t)),a?e.emit("error",a):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===d.prototype||(t=h(t)),n?s.endEmitted?e.emit("error",Error("stream.unshift() after end event")):A(e,s,t,!0):s.ended?e.emit("error",Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!i?(t=s.decoder.write(t),s.objectMode||0!==t.length?A(e,s,t,!1):P(e,s)):A(e,s,t,!1))):n||(s.reading=!1)),S(s)}function A(e,t,i,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",i),e.read(0)):(t.length+=t.objectMode?1:i.length,n?t.buffer.unshift(i):t.buffer.push(i),t.needReadable&&I(e)),P(e,t)}function E(e,t){var i;return f(t)||"string"==typeof t||void 0===t||e.objectMode||(i=TypeError("Invalid non-string/buffer chunk")),i}function S(e){return!e.ended&&(e.needReadable||e.length=x?e=x:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function T(e,t){if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&(t.highWaterMark=D(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function M(e,t){if(!t.ended){if(t.decoder){var i=t.decoder.end();i&&i.length&&(t.buffer.push(i),t.length+=t.objectMode?1:i.length)}t.ended=!0,I(e)}}function I(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?s.nextTick(B,e):B(e))}function B(e){p("emit readable"),e.emit("readable"),q(e)}function P(e,t){t.readingMore||(t.readingMore=!0,s.nextTick(N,e,t))}function N(e,t){for(var i=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(i=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):i=V(e,t.buffer,t.decoder),i)}function V(e,t,i){var n;return ea.length?a.length:e;if(s===a.length?r+=a:r+=a.slice(0,e),0==(e-=s)){s===a.length?(++n,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=a.slice(s));break}++n}return t.length-=n,r}function $(e,t){var i=d.allocUnsafe(e),n=t.head,r=1;for(n.data.copy(i),e-=n.data.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(a.copy(i,i.length-e,0,s),0==(e-=s)){s===a.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++r}return t.length-=r,i}function G(e){var t=e._readableState;if(t.length>0)throw Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,s.nextTick(X,t,e))}function X(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function K(e,t){for(var i=0,n=e.length;i=i.highWaterMark||i.ended))return p("read: emitReadable",i.length,i.ended),0===i.length&&i.ended?G(this):I(this),null;if(0===(e=T(e,i))&&i.ended)return 0===i.length&&G(this),null;var r=i.needReadable;return p("need readable",r),(0===i.length||i.length-e0?W(e,i):null)?(i.needReadable=!0,e=0):i.length-=e,0===i.length&&(i.ended||(i.needReadable=!0),n!==e&&i.ended&&G(this)),null!==t&&this.emit("data",t),t},w.prototype._read=function(e){this.emit("error",Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var i=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,p("pipe count=%d opts=%j",n.pipesCount,t);var r=t&&!1===t.end||e===a.stdout||e===a.stderr?y:u;function o(e,t){p("onunpipe"),e===i&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,h())}function u(){p("onend"),e.end()}n.endEmitted?s.nextTick(r):i.once("end",r),e.on("unpipe",o);var d=R(i);e.on("drain",d);var c=!1;function h(){p("cleanup"),e.removeListener("close",_),e.removeListener("finish",b),e.removeListener("drain",d),e.removeListener("error",g),e.removeListener("unpipe",o),i.removeListener("end",u),i.removeListener("end",y),i.removeListener("data",m),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&d()}var f=!1;function m(t){p("ondata"),f=!1,!1!==e.write(t)||f||((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==K(n.pipes,e))&&!c&&(p("false write response, pause",n.awaitDrain),n.awaitDrain++,f=!0),i.pause())}function g(t){p("onerror",t),y(),e.removeListener("error",g),0===l(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",b),y()}function b(){p("onfinish"),e.removeListener("close",_),y()}function y(){p("unpipe"),i.unpipe(e)}return i.on("data",m),F(e,"error",g),e.once("close",_),e.once("finish",b),e.emit("pipe",i),n.flowing||(p("pipe resume"),i.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,i={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,i)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a-1?setImmediate:s.nextTick;y.WritableState=b;var u=Object.create(i(15622));u.inherits=i(56698);var d={deprecate:i(94643)},c=i(5567),h=i(24116).Buffer,f=(void 0!==i.g?i.g:"u">typeof window?window:"u">typeof self?self:{}).Uint8Array||function(){};function m(e){return h.from(e)}function g(e){return h.isBuffer(e)||e instanceof f}var p=i(36278);function _(){}function b(e,t){n=n||i(26248),e=e||{};var r=t instanceof n;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var a=e.highWaterMark,s=e.writableHighWaterMark,l=this.objectMode?16:16384;a||0===a?this.highWaterMark=a:r&&(s||0===s)?this.highWaterMark=s:this.highWaterMark=l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===e.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){x(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function y(e){if(n=n||i(26248),!r.call(y,this)&&!(this instanceof n))return new y(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function F(e,t){var i=Error("write after end");e.emit("error",i),s.nextTick(t,i)}function k(e,t,i,n){var r=!0,a=!1;return null===i?a=TypeError("May not write null values to stream"):"string"==typeof i||void 0===i||t.objectMode||(a=TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),s.nextTick(n,a),r=!1),r}function w(e,t,i){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=h.from(t,i)),t}function C(e,t,i,n,r,a){if(!i){var s=w(t,n,r);n!==s&&(i=!0,r="buffer",n=s)}var o=t.objectMode?1:n.length;t.length+=o;var l=t.length-1))throw TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,i){i(Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,i){var n=this._writableState;"function"==typeof e?(i=e,e=null,t=null):"function"==typeof t&&(i=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||R(this,n,i)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=p.destroy,y.prototype._undestroy=p.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}},20672(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var r=i(24116).Buffer,a=i(37717);function s(e,t,i){e.copy(t,i)}e.exports=function(){function e(){n(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,i=""+t.data;t=t.next;)i+=e+t.data;return i},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);for(var t=r.allocUnsafe(e>>>0),i=this.head,n=0;i;)s(i.data,t,n),n+=i.data.length,i=i.next;return t},e}(),a&&a.inspect&&a.inspect.custom&&(e.exports.prototype[a.inspect.custom]=function(){var e=a.inspect({length:this.length});return this.constructor.name+" "+e})},36278(e,t,i){"use strict";var n=i(33225);function r(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var i=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(r,this,e)):n.nextTick(r,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?i._writableState?i._writableState.errorEmitted||(i._writableState.errorEmitted=!0,n.nextTick(r,i,e)):n.nextTick(r,i,e):t&&t(e)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},5567(e,t,i){e.exports=i(37007).EventEmitter},24116(e,t,i){var n=i(48287),r=n.Buffer;function a(e,t){for(var i in e)t[i]=e[i]}function s(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),a(r,s),s.from=function(e,t,i){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,i)},s.alloc=function(e,t,i){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},46737(e,t,i){(t=e.exports=i(30206)).Stream=t,t.Readable=t,t.Writable=i(7314),t.Duplex=i(26248),t.Transform=i(81816),t.PassThrough=i(75242)},48223(e,t,i){var n=i(48287),r=n.Buffer;function a(e,t){for(var i in e)t[i]=e[i]}function s(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),s.prototype=Object.create(r.prototype),a(r,s),s.from=function(e,t,i){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,i)},s.alloc=function(e,t,i){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},6427(e,t,i){"use strict";var n=i(88393).Buffer,r=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function s(e){var t=a(e);if("string"!=typeof t&&(n.isEncoding===r||!r(e)))throw Error("Unknown encoding: "+e);return t||e}function o(e){var t;switch(this.encoding=s(e),this.encoding){case"utf16le":this.text=m,this.end=g,t=4;break;case"utf8":this.fillLast=c,t=4;break;case"base64":this.text=p,this.end=_,t=3;break;default:this.write=b,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function u(e,t,i){var n=t.length-1;if(n=0?(r>0&&(e.lastNeed=r-1),r):--n=0?(r>0&&(e.lastNeed=r-2),r):--n=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}function d(e,t,i){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function c(e){var t=this.lastTotal-this.lastNeed,i=d(this,e,t);return void 0!==i?i:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function h(e,t){var i=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var n=e.length-(i-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function m(e,t){if((e.length-t)%2==0){var i=e.toString("utf16le",t);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function g(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,i)}return t}function p(e,t){var i=(e.length-t)%3;return 0===i?e.toString("base64",t):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-i))}function _(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function b(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){var t,i;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return is)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,i){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return f(e)}return d(e,t,i)}function d(e,t,i){if("string"==typeof e)return m(e,t);if(ArrayBuffer.isView(e))return p(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(eu(e,ArrayBuffer)||e&&eu(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(eu(e,SharedArrayBuffer)||e&&eu(e.buffer,SharedArrayBuffer)))return _(e,t,i);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,i);let r=b(e);if(r)return r;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function h(e,t,i){return(c(e),e<=0)?l(e):void 0!==t?"string"==typeof i?l(e).fill(t,i):l(e).fill(t):l(e)}function f(e){return c(e),l(e<0?0:0|y(e))}function m(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!u.isEncoding(t))throw TypeError("Unknown encoding: "+t);let i=0|k(e,t),n=l(i),r=n.write(e,t);return r!==i&&(n=n.slice(0,r)),n}function g(e){let t=e.length<0?0:0|y(e.length),i=l(t);for(let n=0;n=s)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function F(e){return+e!=e&&(e=0),u.alloc(+e)}function k(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||eu(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let i=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===i)return 0;let r=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return er(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return eo(e).length;default:if(r)return n?-1:er(e).length;t=(""+t).toLowerCase(),r=!0}}function w(e,t,i){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,i);case"utf8":case"utf-8":return B(this,t,i);case"ascii":return R(this,t,i);case"latin1":case"binary":return j(this,t,i);case"base64":return I(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,i);default:if(n)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function C(e,t,i){let n=e[t];e[t]=e[i],e[i]=n}function A(e,t,i,n,r){if(0===e.length)return -1;if("string"==typeof i?(n=i,i=0):i>0x7fffffff?i=0x7fffffff:i<-0x80000000&&(i=-0x80000000),ed(i*=1)&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length)if(r)return -1;else i=e.length-1;else if(i<0)if(!r)return -1;else i=0;if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:E(e,t,i,n,r);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(r)return Uint8Array.prototype.indexOf.call(e,t,i);else return Uint8Array.prototype.lastIndexOf.call(e,t,i);return E(e,[t],i,n,r)}throw TypeError("val must be string, number or Buffer")}function E(e,t,i,n,r){let a,s=1,o=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,o/=2,l/=2,i/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){let n=-1;for(a=i;ao&&(i=o-l),a=i;a>=0;a--){let i=!0;for(let n=0;na&&(n=a):n=a;let s=t.length;for(n>s/2&&(n=s/2),r=0;r239?4:t>223?3:t>191?2:1;if(r+s<=i){let i,n,o,l;switch(s){case 1:t<128&&(a=t);break;case 2:(192&(i=e[r+1]))==128&&(l=(31&t)<<6|63&i)>127&&(a=l);break;case 3:i=e[r+1],n=e[r+2],(192&i)==128&&(192&n)==128&&(l=(15&t)<<12|(63&i)<<6|63&n)>2047&&(l<55296||l>57343)&&(a=l);break;case 4:i=e[r+1],n=e[r+2],o=e[r+3],(192&i)==128&&(192&n)==128&&(192&o)==128&&(l=(15&t)<<18|(63&i)<<12|(63&n)<<6|63&o)>65535&&l<1114112&&(a=l)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),r+=s}return N(n)}t.kMaxLength=0x7fffffff,u.TYPED_ARRAY_SUPPORT=o(),!u.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,i){return d(e,t,i)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,i){return h(e,t,i)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(eu(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),eu(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let i=e.length,n=t.length;for(let r=0,a=Math.min(i,n);rn.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,r)):Uint8Array.prototype.set.call(n,t,r);else if(u.isBuffer(t))t.copy(n,r);else throw TypeError('"list" argument must be an Array of Buffers');r+=t.length}return n},u.byteLength=k,u.prototype._isBuffer=!0,u.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;ti&&(e+=" ... "),""},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(e,t,i,n,r){if(eu(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||i>e.length||n<0||r>this.length)throw RangeError("out of range index");if(n>=r&&t>=i)return 0;if(n>=r)return -1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,r>>>=0,this===e)return 0;let a=r-n,s=i-t,o=Math.min(a,s),l=this.slice(n,r),d=e.slice(t,i);for(let e=0;e>>=0,isFinite(i)?(i>>>=0,void 0===n&&(n="utf8")):(n=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let r=this.length-t;if((void 0===i||i>r)&&(i=r),e.length>0&&(i<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let a=!1;for(;;)switch(n){case"hex":return S(this,e,t,i);case"utf8":case"utf-8":return x(this,e,t,i);case"ascii":case"latin1":case"binary":return D(this,e,t,i);case"base64":return T(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,i);default:if(a)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let P=4096;function N(e){let t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);let i="",n=0;for(;nn)&&(i=n);let r="";for(let n=t;ni)throw RangeError("Trying to access beyond buffer length")}function W(e,t,i,n,r,a){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw RangeError("Index out of range")}function V(e,t,i,n,r){J(t,n,r,e,i,7);let a=Number(t&BigInt(0xffffffff));e[i++]=a,a>>=8,e[i++]=a,a>>=8,e[i++]=a,a>>=8,e[i++]=a;let s=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[i++]=s,s>>=8,e[i++]=s,s>>=8,e[i++]=s,s>>=8,e[i++]=s,i}function H(e,t,i,n,r){J(t,n,r,e,i,7);let a=Number(t&BigInt(0xffffffff));e[i+7]=a,a>>=8,e[i+6]=a,a>>=8,e[i+5]=a,a>>=8,e[i+4]=a;let s=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[i+3]=s,s>>=8,e[i+2]=s,s>>=8,e[i+1]=s,s>>=8,e[i]=s,i+8}function $(e,t,i,n,r,a){if(i+n>e.length||i<0)throw RangeError("Index out of range")}function G(e,t,i,n,a){return t*=1,i>>>=0,a||$(e,t,i,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,i,n,23,4),i+4}function X(e,t,i,n,a){return t*=1,i>>>=0,a||$(e,t,i,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,i,n,52,8),i+8}u.prototype.slice=function(e,t){let i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t>>=0,t>>>=0,i||q(e,t,this.length);let n=this[e],r=1,a=0;for(;++a>>=0,t>>>=0,i||q(e,t,this.length);let n=this[e+--t],r=1;for(;t>0&&(r*=256);)n+=this[e+--t]*r;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||q(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||q(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||q(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||q(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||q(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=eh(function(e){ee(e>>>=0,"offset");let t=this[e],i=this[e+7];(void 0===t||void 0===i)&&et(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],r=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*i;return BigInt(n)+(BigInt(r)<>>=0,"offset");let t=this[e],i=this[e+7];(void 0===t||void 0===i)&&et(e,this.length-8);let n=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],r=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+i;return(BigInt(n)<>>=0,t>>>=0,i||q(e,t,this.length);let n=this[e],r=1,a=0;for(;++a=(r*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,i){e>>>=0,t>>>=0,i||q(e,t,this.length);let n=t,r=1,a=this[e+--n];for(;n>0&&(r*=256);)a+=this[e+--n]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return(e>>>=0,t||q(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||q(e,2,this.length);let i=this[e]|this[e+1]<<8;return 32768&i?0xffff0000|i:i},u.prototype.readInt16BE=function(e,t){e>>>=0,t||q(e,2,this.length);let i=this[e+1]|this[e]<<8;return 32768&i?0xffff0000|i:i},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||q(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||q(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=eh(function(e){ee(e>>>=0,"offset");let t=this[e],i=this[e+7];return(void 0===t||void 0===i)&&et(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(i<<24))<>>=0,"offset");let t=this[e],i=this[e+7];return(void 0===t||void 0===i)&&et(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||q(e,4,this.length),r.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||q(e,4,this.length),r.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||q(e,8,this.length),r.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||q(e,8,this.length),r.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,i,n){if(e*=1,t>>>=0,i>>>=0,!n){let n=Math.pow(2,8*i)-1;W(this,e,t,i,n,0)}let r=1,a=0;for(this[t]=255&e;++a>>=0,i>>>=0,!n){let n=Math.pow(2,8*i)-1;W(this,e,t,i,n,0)}let r=i-1,a=1;for(this[t+r]=255&e;--r>=0&&(a*=256);)this[t+r]=e/a&255;return t+i},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=eh(function(e,t=0){return V(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=eh(function(e,t=0){return H(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,i,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*i-1);W(this,e,t,i,n-1,-n)}let r=0,a=1,s=0;for(this[t]=255&e;++r>>=0,!n){let n=Math.pow(2,8*i-1);W(this,e,t,i,n-1,-n)}let r=i-1,a=1,s=0;for(this[t+r]=255&e;--r>=0&&(a*=256);)e<0&&0===s&&0!==this[t+r+1]&&(s=1),this[t+r]=(e/a|0)-s&255;return t+i},u.prototype.writeInt8=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,i){return e*=1,t>>>=0,i||W(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=eh(function(e,t=0){return V(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=eh(function(e,t=0){return H(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,i){return G(this,e,t,!0,i)},u.prototype.writeFloatBE=function(e,t,i){return G(this,e,t,!1,i)},u.prototype.writeDoubleLE=function(e,t,i){return X(this,e,t,!0,i)},u.prototype.writeDoubleBE=function(e,t,i){return X(this,e,t,!1,i)},u.prototype.copy=function(e,t,i,n){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(r=t;r=n+4;i-=3)t=`_${e.slice(i-3,i)}${t}`;return`${e.slice(0,i)}${t}`}function Z(e,t,i){ee(t,"offset"),(void 0===e[t]||void 0===e[t+i])&&et(t,e.length-(i+1))}function J(e,t,i,n,r,a){if(e>i||e3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${(a+1)*8}${r}`:`>= -(2${r} ** ${(a+1)*8-1}${r}) and < 2 ** ${(a+1)*8-1}${r}`:`>= ${t}${r} and <= ${i}${r}`,new K.ERR_OUT_OF_RANGE("value",n,e)}Z(n,r,a)}function ee(e,t){if("number"!=typeof e)throw new K.ERR_INVALID_ARG_TYPE(t,"number",e)}function et(e,t,i){if(Math.floor(e)!==e)throw ee(e,i),new K.ERR_OUT_OF_RANGE(i||"offset","an integer",e);if(t<0)throw new K.ERR_BUFFER_OUT_OF_BOUNDS;throw new K.ERR_OUT_OF_RANGE(i||"offset",`>= ${+!!i} and <= ${t}`,e)}Y("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Y("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),Y("ERR_OUT_OF_RANGE",function(e,t,i){let n=`The value of "${e}" is out of range.`,r=i;return Number.isInteger(i)&&Math.abs(i)>0x100000000?r=Q(String(i)):"bigint"==typeof i&&(r=String(i),(i>BigInt(2)**BigInt(32)||i<-(BigInt(2)**BigInt(32)))&&(r=Q(r)),r+="n"),n+=` It must be ${t}. Received ${r}`},RangeError);let ei=/[^+/0-9A-Za-z-_]/g;function en(e){if((e=(e=e.split("=")[0]).trim().replace(ei,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function er(e,t){let i;t=t||1/0;let n=e.length,r=null,a=[];for(let s=0;s55295&&i<57344){if(!r){if(i>56319||s+1===n){(t-=3)>-1&&a.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&a.push(239,191,189),r=i;continue}i=(r-55296<<10|i-56320)+65536}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;a.push(i)}else if(i<2048){if((t-=2)<0)break;a.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;a.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((t-=4)<0)break;a.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return a}function ea(e){let t=[];for(let i=0;i>8,r.push(i%256),r.push(n);return r}function eo(e){return n.toByteArray(en(e))}function el(e,t,i,n){let r;for(r=0;r=t.length)&&!(r>=e.length);++r)t[r+i]=e[r];return r}function eu(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function ed(e){return e!=e}let ec=function(){let e="0123456789abcdef",t=Array(256);for(let i=0;i<16;++i){let n=16*i;for(let r=0;r<16;++r)t[n+r]=e[i]+e[r]}return t}();function eh(e){return"u"typeof Reflect&&Reflect&&Reflect.apply},10487(e,t,i){"use strict";var n=i(96897),r=i(30655),a=i(73126),s=i(12205);e.exports=function(e){var t=a(arguments),i=e.length-(arguments.length-1);return n(t,1+(i>0?i:0),!0)},r?r(e.exports,"apply",{value:s}):e.exports.apply=s},36556(e,t,i){"use strict";var n=i(70453),r=i(73126),a=r([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var i=n(e,!!t);return"function"==typeof i&&a(e,".prototype.")>-1?r([i]):i}},36117(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e,i){"function"==typeof define&&define.amd?define(["exports"],i):i(t)}("u">typeof globalThis?globalThis:"u">typeof self&&self,function(e){"use strict";function t(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function r(e){var t=o();return function(){var i,n=l(e);return i=t?Reflect.construct(n,arguments,l(this).constructor):n.apply(this,arguments),a(this,i)}}function a(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(){if("u"typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=d(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==i.return||i.return()}finally{if(o)throw a}}}}function d(e,t){if(e){if("string"==typeof e)return c(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return c(e,t)}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);itypeof Symbol?Symbol.toStringTag:"@@toStringTag",A=new WeakMap,E=new WeakMap,S=function(){function e(t){var i=t.executor,n=void 0===i?function(){}:i,r=t.internals,a=void 0===r?P():r,s=t.promise,o=void 0===s?new Promise(function(e,t){return n(e,t,function(e){a.onCancelList.push(e)})}):s;h(this,e),p(this,A,{writable:!0,value:void 0}),p(this,E,{writable:!0,value:void 0}),g(this,C,"CancelablePromise"),this.cancel=this.cancel.bind(this),F(this,A,a),F(this,E,o||new Promise(function(e,t){return n(e,t,function(e){a.onCancelList.push(e)})}))}return m(e,[{key:"then",value:function(e,t){return I(b(this,E).then(M(e,b(this,A)),M(t,b(this,A))),b(this,A))}},{key:"catch",value:function(e){return I(b(this,E).catch(M(e,b(this,A))),b(this,A))}},{key:"finally",value:function(e,t){var i=this;return t&&b(this,A).onCancelList.push(e),I(b(this,E).finally(M(function(){if(e)return t&&(b(i,A).onCancelList=b(i,A).onCancelList.filter(function(t){return t!==e})),e()},b(this,A))),b(this,A))}},{key:"cancel",value:function(){b(this,A).isCanceled=!0;var e=b(this,A).onCancelList;b(this,A).onCancelList=[];var t,i=u(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;if("function"==typeof n)try{n()}catch(e){console.error(e)}}}catch(e){i.e(e)}finally{i.f()}}},{key:"isCanceled",value:function(){return!0===b(this,A).isCanceled}}]),e}(),x=function(e){t(n,e);var i=r(n);function n(e){return h(this,n),i.call(this,{executor:e})}return m(n)}(S);function D(e){return I(e,P())}function T(e){return e instanceof x||e instanceof S}function M(e,t){if(e)return function(i){if(!t.isCanceled){var n=e(i);return T(n)&&t.onCancelList.push(n.cancel),n}return i}}function I(e,t){return new S({internals:t,promise:e})}function B(e,t){var i=P();return i.onCancelList.push(function(){var t,i=u(e);try{for(i.s();!(t=i.n()).done;){var n=t.value;T(n)&&n.cancel()}}catch(e){i.e(e)}finally{i.f()}}),new S({internals:i,promise:t})}function P(){return{isCanceled:!1,onCancelList:[]}}e.CancelablePromise=x,g(x,"all",function(e){return B(e,Promise.all(e))}),g(x,"allSettled",function(e){return B(e,Promise.allSettled(e))}),g(x,"any",function(e){return B(e,Promise.any(e))}),g(x,"race",function(e){return B(e,Promise.race(e))}),g(x,"resolve",function(e){return D(Promise.resolve(e))}),g(x,"reject",function(e){return D(Promise.reject(e))}),g(x,"isCancelable",T),e.default=x})},56168(e,t,i){"use strict";var n=i(57714).Buffer,r=i(88310).Transform,a=i(83141).StringDecoder;function s(e){r.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}i(56698)(s,r);var o="u">typeof Uint8Array,l="u">typeof ArrayBuffer&&"u">typeof Uint8Array&&ArrayBuffer.isView&&(n.prototype instanceof Uint8Array||n.TYPED_ARRAY_SUPPORT);function u(e,t){if(e instanceof n)return e;if("string"==typeof e)return n.from(e,t);if(l&&ArrayBuffer.isView(e)){if(0===e.byteLength)return n.alloc(0);var i=n.from(e.buffer,e.byteOffset,e.byteLength);if(i.byteLength===e.byteLength)return i}if(o&&e instanceof Uint8Array||n.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return n.from(e);throw TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}s.prototype.update=function(e,t,i){var n=u(e,t),r=this._update(n);return this.hashMode?this:(i&&(r=this._toString(r,i)),r)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,i){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{i(n)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,i){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw Error("can’t switch encodings");var n=this._decoder.write(e);return i&&(n+=this._decoder.end()),n},e.exports=s},57714(e,t,i){var n=i(48287),r=n.Buffer;function a(e,t){for(var i in e)t[i]=e[i]}function s(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),s.prototype=Object.create(r.prototype),a(r,s),s.from=function(e,t,i){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,i)},s.alloc=function(e,t,i){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},15622(e,t,i){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=i(48287).Buffer.isBuffer},61324(e,t,i){var n=i(48287).Buffer,r=i(86729),a=i(92801);e.exports=function(e){return new o(e)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function l(e,t,i){Array.isArray(e)||(e=e.toArray());var r=new n(e);if(i&&r.lengthtypeof window&&void 0!==window.Buffer?window.Buffer:i(15950).Buffer}catch(e){}function s(e,t){var i=e.charCodeAt(t);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function o(e,t,i){var n=s(e,i);return i-1>=t&&(n|=s(e,i-1)<<4),n}function l(e,t,i,n){for(var r=0,a=Math.min(e.length,i),s=t;s=49?r+=o-49+10:o>=17?r+=o-17+10:r+=o}return r}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;s-=3)a=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=a<>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);else if("le"===i)for(s=0,r=0;s>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);return this.strip()},a.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r=0;r=t;r-=2)n=o(e,t,r)<=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;this.strip()},a.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=0x3ffffff;r*=t)n++;n--,r=r/t|0;for(var a=e.length-i,s=a%n,o=Math.min(a,a-s)+i,u=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?""};var u,d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];function f(e){for(var t=Array(e.bitLength()),i=0;i>>r}return t}function m(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],a=0|t.words[0],s=r*a,o=0x3ffffff&s,l=s/0x4000000|0;i.words[0]=o;for(var u=1;u>>26,c=0x3ffffff&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var m=u-f|0;d+=(s=(r=0|e.words[m])*(a=0|t.words[f])+c)/0x4000000|0,c=0x3ffffff&s}i.words[u]=0|c,l=0|d}return 0!==l?i.words[u]=0|l:i.length--,i.strip()}a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var i="",r=0,a=0,s=0;s>>24-r&0xffffff)||s!==this.length-1?d[6-l.length]+l+i:l+i,(r+=2)>=26&&(r-=26,s--)}for(0!==a&&(i=a.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var u=c[e],f=h[e];i="";var m=this.clone();for(m.negative=0;!m.isZero();){var g=m.modn(f).toString(e);i=(m=m.idivn(f)).isZero()?g+i:d[u-g.length]+g+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n(void 0!==u),this.toArrayLike(u,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,i){var r,a,s=this.byteLength(),o=i||Math.max(1,s);n(s<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var l="le"===t,u=new e(o),d=this.clone();if(l){for(a=0;!d.isZero();a++)r=d.andln(255),d.iushrn(8),u[a]=r;for(;a=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return(8191&t)==0&&(i+=13,t>>>=13),(127&t)==0&&(i+=7,t>>>=7),(15&t)==0&&(i+=4,t>>>=4),(3&t)==0&&(i+=2,t>>>=2),(1&t)==0&&i++,i},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){this.length>e.length?(t=this,i=e):(t=e,i=this);for(var t,i,n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&0x3ffffff>>26-i),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),t?this.words[i]=this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var t,i,n,r=0,a=0;a>>26;for(;0!==r&&a>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,i,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,i=e):(t=e,i=this);for(var a=0,s=0;s>26,this.words[s]=0x3ffffff&n;for(;0!==a&&s>26,this.words[s]=0x3ffffff&n;if(0===a&&s>>13,f=0|s[1],m=8191&f,g=f>>>13,p=0|s[2],_=8191&p,b=p>>>13,y=0|s[3],F=8191&y,k=y>>>13,w=0|s[4],C=8191&w,A=w>>>13,E=0|s[5],S=8191&E,x=E>>>13,D=0|s[6],T=8191&D,M=D>>>13,I=0|s[7],B=8191&I,P=I>>>13,N=0|s[8],R=8191&N,j=N>>>13,O=0|s[9],z=8191&O,q=O>>>13,W=0|o[0],V=8191&W,H=W>>>13,$=0|o[1],G=8191&$,X=$>>>13,K=0|o[2],Y=8191&K,Q=K>>>13,Z=0|o[3],J=8191&Z,ee=Z>>>13,et=0|o[4],ei=8191&et,en=et>>>13,er=0|o[5],ea=8191&er,es=er>>>13,eo=0|o[6],el=8191&eo,eu=eo>>>13,ed=0|o[7],ec=8191&ed,eh=ed>>>13,ef=0|o[8],em=8191&ef,eg=ef>>>13,ep=0|o[9],e_=8191&ep,ev=ep>>>13;i.negative=e.negative^t.negative,i.length=19,n=Math.imul(c,V);var eb=(u+n|0)+((8191&(r=(r=Math.imul(c,H))+Math.imul(h,V)|0))<<13)|0;u=((a=Math.imul(h,H))+(r>>>13)|0)+(eb>>>26)|0,eb&=0x3ffffff,n=Math.imul(m,V),r=(r=Math.imul(m,H))+Math.imul(g,V)|0,a=Math.imul(g,H),n=n+Math.imul(c,G)|0;var ey=(u+n|0)+((8191&(r=(r=r+Math.imul(c,X)|0)+Math.imul(h,G)|0))<<13)|0;u=((a=a+Math.imul(h,X)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,n=Math.imul(_,V),r=(r=Math.imul(_,H))+Math.imul(b,V)|0,a=Math.imul(b,H),n=n+Math.imul(m,G)|0,r=(r=r+Math.imul(m,X)|0)+Math.imul(g,G)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(c,Y)|0;var eF=(u+n|0)+((8191&(r=(r=r+Math.imul(c,Q)|0)+Math.imul(h,Y)|0))<<13)|0;u=((a=a+Math.imul(h,Q)|0)+(r>>>13)|0)+(eF>>>26)|0,eF&=0x3ffffff,n=Math.imul(F,V),r=(r=Math.imul(F,H))+Math.imul(k,V)|0,a=Math.imul(k,H),n=n+Math.imul(_,G)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(b,G)|0,a=a+Math.imul(b,X)|0,n=n+Math.imul(m,Y)|0,r=(r=r+Math.imul(m,Q)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(c,J)|0;var ek=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ee)|0)+Math.imul(h,J)|0))<<13)|0;u=((a=a+Math.imul(h,ee)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,n=Math.imul(C,V),r=(r=Math.imul(C,H))+Math.imul(A,V)|0,a=Math.imul(A,H),n=n+Math.imul(F,G)|0,r=(r=r+Math.imul(F,X)|0)+Math.imul(k,G)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,Q)|0,n=n+Math.imul(m,J)|0,r=(r=r+Math.imul(m,ee)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,ee)|0,n=n+Math.imul(c,ei)|0;var ew=(u+n|0)+((8191&(r=(r=r+Math.imul(c,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((a=a+Math.imul(h,en)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,n=Math.imul(S,V),r=(r=Math.imul(S,H))+Math.imul(x,V)|0,a=Math.imul(x,H),n=n+Math.imul(C,G)|0,r=(r=r+Math.imul(C,X)|0)+Math.imul(A,G)|0,a=a+Math.imul(A,X)|0,n=n+Math.imul(F,Y)|0,r=(r=r+Math.imul(F,Q)|0)+Math.imul(k,Y)|0,a=a+Math.imul(k,Q)|0,n=n+Math.imul(_,J)|0,r=(r=r+Math.imul(_,ee)|0)+Math.imul(b,J)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(m,ei)|0,r=(r=r+Math.imul(m,en)|0)+Math.imul(g,ei)|0,a=a+Math.imul(g,en)|0,n=n+Math.imul(c,ea)|0;var eC=(u+n|0)+((8191&(r=(r=r+Math.imul(c,es)|0)+Math.imul(h,ea)|0))<<13)|0;u=((a=a+Math.imul(h,es)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,n=Math.imul(T,V),r=(r=Math.imul(T,H))+Math.imul(M,V)|0,a=Math.imul(M,H),n=n+Math.imul(S,G)|0,r=(r=r+Math.imul(S,X)|0)+Math.imul(x,G)|0,a=a+Math.imul(x,X)|0,n=n+Math.imul(C,Y)|0,r=(r=r+Math.imul(C,Q)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Q)|0,n=n+Math.imul(F,J)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(_,ei)|0,r=(r=r+Math.imul(_,en)|0)+Math.imul(b,ei)|0,a=a+Math.imul(b,en)|0,n=n+Math.imul(m,ea)|0,r=(r=r+Math.imul(m,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0,n=n+Math.imul(c,el)|0;var eA=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eu)|0)+Math.imul(h,el)|0))<<13)|0;u=((a=a+Math.imul(h,eu)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,n=Math.imul(B,V),r=(r=Math.imul(B,H))+Math.imul(P,V)|0,a=Math.imul(P,H),n=n+Math.imul(T,G)|0,r=(r=r+Math.imul(T,X)|0)+Math.imul(M,G)|0,a=a+Math.imul(M,X)|0,n=n+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Q)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(C,J)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(A,J)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(F,ei)|0,r=(r=r+Math.imul(F,en)|0)+Math.imul(k,ei)|0,a=a+Math.imul(k,en)|0,n=n+Math.imul(_,ea)|0,r=(r=r+Math.imul(_,es)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,es)|0,n=n+Math.imul(m,el)|0,r=(r=r+Math.imul(m,eu)|0)+Math.imul(g,el)|0,a=a+Math.imul(g,eu)|0,n=n+Math.imul(c,ec)|0;var eE=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eh)|0)+Math.imul(h,ec)|0))<<13)|0;u=((a=a+Math.imul(h,eh)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,n=Math.imul(R,V),r=(r=Math.imul(R,H))+Math.imul(j,V)|0,a=Math.imul(j,H),n=n+Math.imul(B,G)|0,r=(r=r+Math.imul(B,X)|0)+Math.imul(P,G)|0,a=a+Math.imul(P,X)|0,n=n+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Q)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,Q)|0,n=n+Math.imul(S,J)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(x,J)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(C,ei)|0,r=(r=r+Math.imul(C,en)|0)+Math.imul(A,ei)|0,a=a+Math.imul(A,en)|0,n=n+Math.imul(F,ea)|0,r=(r=r+Math.imul(F,es)|0)+Math.imul(k,ea)|0,a=a+Math.imul(k,es)|0,n=n+Math.imul(_,el)|0,r=(r=r+Math.imul(_,eu)|0)+Math.imul(b,el)|0,a=a+Math.imul(b,eu)|0,n=n+Math.imul(m,ec)|0,r=(r=r+Math.imul(m,eh)|0)+Math.imul(g,ec)|0,a=a+Math.imul(g,eh)|0,n=n+Math.imul(c,em)|0;var eS=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eg)|0)+Math.imul(h,em)|0))<<13)|0;u=((a=a+Math.imul(h,eg)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,n=Math.imul(z,V),r=(r=Math.imul(z,H))+Math.imul(q,V)|0,a=Math.imul(q,H),n=n+Math.imul(R,G)|0,r=(r=r+Math.imul(R,X)|0)+Math.imul(j,G)|0,a=a+Math.imul(j,X)|0,n=n+Math.imul(B,Y)|0,r=(r=r+Math.imul(B,Q)|0)+Math.imul(P,Y)|0,a=a+Math.imul(P,Q)|0,n=n+Math.imul(T,J)|0,r=(r=r+Math.imul(T,ee)|0)+Math.imul(M,J)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(S,ei)|0,r=(r=r+Math.imul(S,en)|0)+Math.imul(x,ei)|0,a=a+Math.imul(x,en)|0,n=n+Math.imul(C,ea)|0,r=(r=r+Math.imul(C,es)|0)+Math.imul(A,ea)|0,a=a+Math.imul(A,es)|0,n=n+Math.imul(F,el)|0,r=(r=r+Math.imul(F,eu)|0)+Math.imul(k,el)|0,a=a+Math.imul(k,eu)|0,n=n+Math.imul(_,ec)|0,r=(r=r+Math.imul(_,eh)|0)+Math.imul(b,ec)|0,a=a+Math.imul(b,eh)|0,n=n+Math.imul(m,em)|0,r=(r=r+Math.imul(m,eg)|0)+Math.imul(g,em)|0,a=a+Math.imul(g,eg)|0,n=n+Math.imul(c,e_)|0;var ex=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ev)|0)+Math.imul(h,e_)|0))<<13)|0;u=((a=a+Math.imul(h,ev)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,n=Math.imul(z,G),r=(r=Math.imul(z,X))+Math.imul(q,G)|0,a=Math.imul(q,X),n=n+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Q)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,Q)|0,n=n+Math.imul(B,J)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(P,J)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(T,ei)|0,r=(r=r+Math.imul(T,en)|0)+Math.imul(M,ei)|0,a=a+Math.imul(M,en)|0,n=n+Math.imul(S,ea)|0,r=(r=r+Math.imul(S,es)|0)+Math.imul(x,ea)|0,a=a+Math.imul(x,es)|0,n=n+Math.imul(C,el)|0,r=(r=r+Math.imul(C,eu)|0)+Math.imul(A,el)|0,a=a+Math.imul(A,eu)|0,n=n+Math.imul(F,ec)|0,r=(r=r+Math.imul(F,eh)|0)+Math.imul(k,ec)|0,a=a+Math.imul(k,eh)|0,n=n+Math.imul(_,em)|0,r=(r=r+Math.imul(_,eg)|0)+Math.imul(b,em)|0,a=a+Math.imul(b,eg)|0,n=n+Math.imul(m,e_)|0;var eD=(u+n|0)+((8191&(r=(r=r+Math.imul(m,ev)|0)+Math.imul(g,e_)|0))<<13)|0;u=((a=a+Math.imul(g,ev)|0)+(r>>>13)|0)+(eD>>>26)|0,eD&=0x3ffffff,n=Math.imul(z,Y),r=(r=Math.imul(z,Q))+Math.imul(q,Y)|0,a=Math.imul(q,Q),n=n+Math.imul(R,J)|0,r=(r=r+Math.imul(R,ee)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,ee)|0,n=n+Math.imul(B,ei)|0,r=(r=r+Math.imul(B,en)|0)+Math.imul(P,ei)|0,a=a+Math.imul(P,en)|0,n=n+Math.imul(T,ea)|0,r=(r=r+Math.imul(T,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,n=n+Math.imul(S,el)|0,r=(r=r+Math.imul(S,eu)|0)+Math.imul(x,el)|0,a=a+Math.imul(x,eu)|0,n=n+Math.imul(C,ec)|0,r=(r=r+Math.imul(C,eh)|0)+Math.imul(A,ec)|0,a=a+Math.imul(A,eh)|0,n=n+Math.imul(F,em)|0,r=(r=r+Math.imul(F,eg)|0)+Math.imul(k,em)|0,a=a+Math.imul(k,eg)|0,n=n+Math.imul(_,e_)|0;var eT=(u+n|0)+((8191&(r=(r=r+Math.imul(_,ev)|0)+Math.imul(b,e_)|0))<<13)|0;u=((a=a+Math.imul(b,ev)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,n=Math.imul(z,J),r=(r=Math.imul(z,ee))+Math.imul(q,J)|0,a=Math.imul(q,ee),n=n+Math.imul(R,ei)|0,r=(r=r+Math.imul(R,en)|0)+Math.imul(j,ei)|0,a=a+Math.imul(j,en)|0,n=n+Math.imul(B,ea)|0,r=(r=r+Math.imul(B,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,n=n+Math.imul(T,el)|0,r=(r=r+Math.imul(T,eu)|0)+Math.imul(M,el)|0,a=a+Math.imul(M,eu)|0,n=n+Math.imul(S,ec)|0,r=(r=r+Math.imul(S,eh)|0)+Math.imul(x,ec)|0,a=a+Math.imul(x,eh)|0,n=n+Math.imul(C,em)|0,r=(r=r+Math.imul(C,eg)|0)+Math.imul(A,em)|0,a=a+Math.imul(A,eg)|0,n=n+Math.imul(F,e_)|0;var eM=(u+n|0)+((8191&(r=(r=r+Math.imul(F,ev)|0)+Math.imul(k,e_)|0))<<13)|0;u=((a=a+Math.imul(k,ev)|0)+(r>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,n=Math.imul(z,ei),r=(r=Math.imul(z,en))+Math.imul(q,ei)|0,a=Math.imul(q,en),n=n+Math.imul(R,ea)|0,r=(r=r+Math.imul(R,es)|0)+Math.imul(j,ea)|0,a=a+Math.imul(j,es)|0,n=n+Math.imul(B,el)|0,r=(r=r+Math.imul(B,eu)|0)+Math.imul(P,el)|0,a=a+Math.imul(P,eu)|0,n=n+Math.imul(T,ec)|0,r=(r=r+Math.imul(T,eh)|0)+Math.imul(M,ec)|0,a=a+Math.imul(M,eh)|0,n=n+Math.imul(S,em)|0,r=(r=r+Math.imul(S,eg)|0)+Math.imul(x,em)|0,a=a+Math.imul(x,eg)|0,n=n+Math.imul(C,e_)|0;var eI=(u+n|0)+((8191&(r=(r=r+Math.imul(C,ev)|0)+Math.imul(A,e_)|0))<<13)|0;u=((a=a+Math.imul(A,ev)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,n=Math.imul(z,ea),r=(r=Math.imul(z,es))+Math.imul(q,ea)|0,a=Math.imul(q,es),n=n+Math.imul(R,el)|0,r=(r=r+Math.imul(R,eu)|0)+Math.imul(j,el)|0,a=a+Math.imul(j,eu)|0,n=n+Math.imul(B,ec)|0,r=(r=r+Math.imul(B,eh)|0)+Math.imul(P,ec)|0,a=a+Math.imul(P,eh)|0,n=n+Math.imul(T,em)|0,r=(r=r+Math.imul(T,eg)|0)+Math.imul(M,em)|0,a=a+Math.imul(M,eg)|0,n=n+Math.imul(S,e_)|0;var eB=(u+n|0)+((8191&(r=(r=r+Math.imul(S,ev)|0)+Math.imul(x,e_)|0))<<13)|0;u=((a=a+Math.imul(x,ev)|0)+(r>>>13)|0)+(eB>>>26)|0,eB&=0x3ffffff,n=Math.imul(z,el),r=(r=Math.imul(z,eu))+Math.imul(q,el)|0,a=Math.imul(q,eu),n=n+Math.imul(R,ec)|0,r=(r=r+Math.imul(R,eh)|0)+Math.imul(j,ec)|0,a=a+Math.imul(j,eh)|0,n=n+Math.imul(B,em)|0,r=(r=r+Math.imul(B,eg)|0)+Math.imul(P,em)|0,a=a+Math.imul(P,eg)|0,n=n+Math.imul(T,e_)|0;var eP=(u+n|0)+((8191&(r=(r=r+Math.imul(T,ev)|0)+Math.imul(M,e_)|0))<<13)|0;u=((a=a+Math.imul(M,ev)|0)+(r>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,n=Math.imul(z,ec),r=(r=Math.imul(z,eh))+Math.imul(q,ec)|0,a=Math.imul(q,eh),n=n+Math.imul(R,em)|0,r=(r=r+Math.imul(R,eg)|0)+Math.imul(j,em)|0,a=a+Math.imul(j,eg)|0,n=n+Math.imul(B,e_)|0;var eL=(u+n|0)+((8191&(r=(r=r+Math.imul(B,ev)|0)+Math.imul(P,e_)|0))<<13)|0;u=((a=a+Math.imul(P,ev)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,n=Math.imul(z,em),r=(r=Math.imul(z,eg))+Math.imul(q,em)|0,a=Math.imul(q,eg),n=n+Math.imul(R,e_)|0;var eN=(u+n|0)+((8191&(r=(r=r+Math.imul(R,ev)|0)+Math.imul(j,e_)|0))<<13)|0;u=((a=a+Math.imul(j,ev)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,n=Math.imul(z,e_);var eR=(u+n|0)+((8191&(r=(r=Math.imul(z,ev))+Math.imul(q,e_)|0))<<13)|0;return u=((a=Math.imul(q,ev))+(r>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,l[0]=eb,l[1]=ey,l[2]=eF,l[3]=ek,l[4]=ew,l[5]=eC,l[6]=eA,l[7]=eE,l[8]=eS,l[9]=ex,l[10]=eD,l[11]=eT,l[12]=eM,l[13]=eI,l[14]=eB,l[15]=eP,l[16]=eL,l[17]=eN,l[18]=eR,0!==u&&(l[19]=u,i.length++),i};function p(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,a=0;a>>26)|0)>>>26,s&=0x3ffffff}i.words[a]=o,n=s,s=r}return 0!==n?i.words[a]=n:i.length--,i.strip()}function _(e,t,i){return new b().mulp(e,t,i)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=m),a.prototype.mulTo=function(e,t){var i,n=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):n<63?m(this,e,t):n<1024?p(this,e,t):_(this,e,t)},b.prototype.makeRBT=function(e){for(var t=Array(e),i=a.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,i,n,r,a){for(var s=0;s>>=1)r++;return 1<>>=13,i[2*s+1]=8191&a,a>>>=13;for(s=2*t;s>=26,t+=(r/0x4000000|0)+(a>>>26),this.words[i]=0x3ffffff&a}return 0!==t&&(this.words[i]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=f(e);if(0===t.length)return new a(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,a=0x3ffffff>>>26-i<<26-i;if(0!==i){var s=0;for(t=0;t>>26-i}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0);var r=t?(t-t%26)/26:0,a=e%26,s=Math.min((e-a)/26,this.length),o=0x3ffffff^0x3ffffff>>>a<s)for(this.length-=s,u=0;u=0&&(0!==d||u>=r);u--){var c=0|this.words[u];this.words[u]=d<<26-a|c>>>a,d=c&o}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=0x3ffffff^0x3ffffff>>>t<=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"==typeof e),n(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/0x4000000|0),this.words[r+i]=0x3ffffff&a}for(;r>26,this.words[r+i]=0x3ffffff&a;if(0===o)return this.strip();for(n(-1===o),o=0,r=0;r>26,this.words[r]=0x3ffffff&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var i,n=this.length-e.length,r=this.clone(),s=e,o=0|s.words[s.length-1];0!=(n=26-this._countBits(o))&&(s=s.ushln(n),r.iushln(n),o=0|s.words[s.length-1]);var l=r.length-s.length;if("mod"!==t){(i=new a(null)).length=l+1,i.words=Array(i.length);for(var u=0;u=0;c--){var h=(0|r.words[s.length+c])*0x4000000+(0|r.words[s.length+c-1]);for(h=Math.min(h/o|0,0x3ffffff),r._ishlnsubmul(s,h,c);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,c),r.isZero()||(r.negative^=1);i&&(i.words[c]=h)}return i&&i.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:i||null,mod:r}},a.prototype.divmod=function(e,t,i){var r,s,o;return(n(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(r=o.div.neg()),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(r=o.div.neg()),{div:r,mod:o.mod}):(this.negative&e.negative)!=0?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.isub(e)),{div:o.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),a=i.cmp(n);return a<0||1===r&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=0x3ffffff);for(var t=0x4000000%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},a.prototype.idivn=function(e){n(e<=0x3ffffff);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+0x4000000*t;this.words[i]=r/e|0,t=r%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new a(1),s=new a(0),o=new a(0),l=new a(1),u=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++u;for(var d=i.clone(),c=t.clone();!t.isZero();){for(var h=0,f=1;(t.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(c)),r.iushrn(1),s.iushrn(1);for(var m=0,g=1;(i.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(d),l.isub(c)),o.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(o),s.isub(l)):(i.isub(t),o.isub(r),l.isub(s))}return{a:o,b:l,gcd:i.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,i=this,r=e.clone();i=0!==i.negative?i.umod(e):i.clone();for(var s=new a(1),o=new a(0),l=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,d=1;(i.words[0]&d)==0&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,h=1;(r.words[0]&h)==0&&c<26;++c,h<<=1);if(c>0)for(r.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);i.cmp(r)>=0?(i.isub(r),s.isub(o)):(r.isub(i),o.isub(s))}return 0>(t=0===i.cmpn(1)?s:o).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var a=t;t=i,i=a}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,o&=0x3ffffff,this.words[s]=o}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=0x3ffffff,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new E(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function F(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){F.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){F.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){F.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){F.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}F.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},F.prototype.ireduce=function(e){var t,i=e;do this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(t>this.n);var n=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},F.prototype.split=function(e,t){e.iushrn(this.n,0,t)},F.prototype.imulK=function(e){return e.imul(this.k)},r(k,F),k.prototype.split=function(e,t){for(var i=4194303,n=Math.min(e.length,9),r=0;r>>22,a=s}a>>>=22,e.words[r-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},k.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(y[e])return y[e];if("k256"===e)t=new k;else if("p224"===e)t=new w;else if("p192"===e)t=new C;else if("p25519"===e)t=new A;else throw Error("Unknown prime "+e);return y[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n((e.negative|t.negative)==0,"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},E.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new a(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);n(!r.isZero());var o=new a(1).toRed(this),l=o.redNeg(),u=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,u).cmp(l);)d.redIAdd(l);for(var c=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),m=s;0!==f.cmp(o);){for(var g=f,p=0;0!==g.cmp(o);p++)g=g.redSqr();n(p=0;r--){for(var d=t.words[r],c=u-1;c>=0;c--){var h=d>>c&1;if(s!==n[0]&&(s=this.sqr(s)),0===h&&0===o){l=0;continue}o<<=1,o|=h,(++l===i||0===r&&0===c)&&(s=this.mul(s,n[o]),l=0,o=0)}u=26}return s},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new S(e)},r(S,E),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):0>r.cmpn(0)&&(a=r.iadd(this.m)),a._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=i.nmd(e),this)},47108(e,t,i){"use strict";var n=i(56698),r=i(88276),a=i(66011),s=i(62802),o=i(56168);function l(e){o.call(this,"digest"),this._hash=e}n(l,o),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new r:"rmd160"===e||"ripemd160"===e?new a:new l(s(e))}},20320(e,t,i){var n=i(88276);e.exports=function(e){return new n().update(e).digest()}},83507(e,t,i){"use strict";var n=i(56698),r=i(41800),a=i(56168),s=i(92861).Buffer,o=i(20320),l=i(66011),u=i(62802),d=s.alloc(128);function c(e,t){a.call(this,"digest"),"string"==typeof t&&(t=s.from(t));var i="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>i?t=("rmd160"===e?new l:u(e)).update(t).digest():t.lengtho?t=e(t):t.lengthtypeof window&&window.crypto&&(n=window.crypto),"u">typeof self&&self.crypto&&(n=self.crypto),"u">typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"u">typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==i.g&&i.g.crypto&&(n=i.g.crypto),!n)try{n=i(12298)}catch(e){}var n,r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function e(){}return function(t){var i;return e.prototype=t,i=new e,e.prototype=null,i}}(),s={},o=s.lib={},l=o.Base=function(){return{extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=o.WordArray=l.extend({init:function(e,i){e=this.words=e||[],t!=i?this.sigBytes=i:this.sigBytes=4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,i=e.words,n=this.sigBytes,r=e.sigBytes;if(this.clamp(),n%4)for(var a=0;a>>2]>>>24-a%4*8&255;t[n+a>>>2]|=s<<24-(n+a)%4*8}else for(var o=0;o>>2]=i[o>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,i=this.sigBytes;t[i>>>2]&=0xffffffff<<32-i%4*8,t.length=e.ceil(i/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],i=0;i>>2]>>>24-r%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new u.init(i,t/2)}},h=d.Latin1={stringify:function(e){for(var t=e.words,i=e.sigBytes,n=[],r=0;r>>2]>>>24-r%4*8&255;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new u.init(i,t)}},f=d.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},m=o.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var i,n=this._data,r=n.words,a=n.sigBytes,s=this.blockSize,o=a/(4*s),l=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*s,d=e.min(4*l,a);if(l){for(var c=0;c>>31}var c=(n<<5|n>>>27)+l+s[u];u<20?c+=(r&a|~r&o)+0x5a827999:u<40?c+=(r^a^o)+0x6ed9eba1:u<60?c+=(r&a|r&o|a&o)-0x70e44324:c+=(r^a^o)-0x359d3e2a,l=o,o=a,a=r<<30|r>>>2,r=n,n=c}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+a|0,i[3]=i[3]+o|0,i[4]=i[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=Math.floor(i/0x100000000),t[(n+64>>>9<<4)+15]=i,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=r._createHelper(o),t.HmacSHA1=r._createHmacHelper(o)}(),e.SHA1})},63009(e,t,i){!function(n,r){e.exports=t=r(i(19021))}(0,function(e){return!function(t){var i=e,n=i.lib,r=n.WordArray,a=n.Hasher,s=i.algo,o=[],l=[];!function(){function e(e){for(var i=t.sqrt(e),n=2;n<=i;n++)if(!(e%n))return!1;return!0}function i(e){return(e-(0|e))*0x100000000|0}for(var n=2,r=0;r<64;)e(n)&&(r<8&&(o[r]=i(t.pow(n,.5))),l[r]=i(t.pow(n,1/3)),r++),n++}();var u=[],d=s.SHA256=a.extend({_doReset:function(){this._hash=new r.init(o.slice(0))},_doProcessBlock:function(e,t){for(var i=this._hash.words,n=i[0],r=i[1],a=i[2],s=i[3],o=i[4],d=i[5],c=i[6],h=i[7],f=0;f<64;f++){if(f<16)u[f]=0|e[t+f];else{var m=u[f-15],g=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,p=u[f-2],_=(p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10;u[f]=g+u[f-7]+_+u[f-16]}var b=o&d^~o&c,y=n&r^n&a^r&a,F=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),k=h+((o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25))+b+l[f]+u[f],w=F+y;h=c,c=d,d=o,o=s+k|0,s=a,a=r,r=n,n=k+w|0}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+a|0,i[3]=i[3]+s|0,i[4]=i[4]+o|0,i[5]=i[5]+d|0,i[6]=i[6]+c|0,i[7]=i[7]+h|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return i[r>>>5]|=128<<24-r%32,i[(r+64>>>9<<4)+14]=t.floor(n/0x100000000),i[(r+64>>>9<<4)+15]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});i.SHA256=a._createHelper(d),i.HmacSHA256=a._createHmacHelper(d)}(Math),e.SHA256})},30041(e,t,i){"use strict";var n=i(30655),r=i(58068),a=i(69675),s=i(75795);e.exports=function(e,t,i){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],c=!!s&&s(e,t);if(n)n(e,t,{configurable:null===u&&c?c.configurable:!u,enumerable:null===o&&c?c.enumerable:!o,value:i,writable:null===l&&c?c.writable:!l});else if(!d&&(o||l||u))throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=i}},29560(e,t,i){"use strict";t.utils=i(87626),t.Cipher=i(82808),t.DES=i(82211),t.CBC=i(3389),t.EDE=i(65279)},3389(e,t,i){"use strict";var n=i(43349),r=i(56698),a={};function s(e){n.equal(e.length,8,"Invalid IV length"),this.iv=Array(8);for(var t=0;t0;n--)t+=this._buffer(e,t),i+=this._flushBuffer(r,i);return t+=this._buffer(e,t),r},r.prototype.final=function(e){var t,i;return(e&&(t=this.update(e)),i="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t)?t.concat(i):i},r.prototype._pad=function(e,t){if(0===t)return!1;for(;t>>1];i=a.r28shl(i,o),r=a.r28shl(r,o),a.pc2(i,r,e.keys,s)}},l.prototype._update=function(e,t,i,n){var r=this._desState,s=a.readUInt32BE(e,t),o=a.readUInt32BE(e,t+4);a.ip(s,o,r.tmp,0),s=r.tmp[0],o=r.tmp[1],"encrypt"===this.type?this._encrypt(r,s,o,r.tmp,0):this._decrypt(r,s,o,r.tmp,0),s=r.tmp[0],o=r.tmp[1],a.writeUInt32BE(i,s,n),a.writeUInt32BE(i,o,n+4)},l.prototype._pad=function(e,t){for(var i=e.length-t,n=t;n>>0,s=f}a.rip(o,s,n,r)},l.prototype._decrypt=function(e,t,i,n,r){for(var s=i,o=t,l=e.keys.length-2;l>=0;l-=2){var u=e.keys[l],d=e.keys[l+1];a.expand(s,e.tmp,0),u^=e.tmp[0],d^=e.tmp[1];var c=a.substitute(u,d),h=a.permute(c),f=s;s=(o^h)>>>0,o=f}a.rip(s,o,n,r)}},65279(e,t,i){"use strict";var n=i(43349),r=i(56698),a=i(82808),s=i(82211);function o(e,t){n.equal(t.length,24,"Invalid key length");var i=t.slice(0,8),r=t.slice(8,16),a=t.slice(16,24);"encrypt"===e?this.ciphers=[s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:r}),s.create({type:"encrypt",key:a})]:this.ciphers=[s.create({type:"decrypt",key:a}),s.create({type:"encrypt",key:r}),s.create({type:"decrypt",key:i})]}function l(e){a.call(this,e);var t=new o(this.type,this.options.key);this._edeState=t}r(l,a),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,i,n){var r=this._edeState;r.ciphers[0]._update(e,t,i,n),r.ciphers[1]._update(i,n,i,n),r.ciphers[2]._update(i,n,i,n)},l.prototype._pad=s.prototype._pad,l.prototype._unpad=s.prototype._unpad},87626(e,t){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,i){e[0+i]=t>>>24,e[1+i]=t>>>16&255,e[2+i]=t>>>8&255,e[3+i]=255&t},t.ip=function(e,t,i,n){for(var r=0,a=0,s=6;s>=0;s-=2){for(var o=0;o<=24;o+=8)r<<=1,r|=t>>>o+s&1;for(var o=0;o<=24;o+=8)r<<=1,r|=e>>>o+s&1}for(var s=6;s>=0;s-=2){for(var o=1;o<=25;o+=8)a<<=1,a|=t>>>o+s&1;for(var o=1;o<=25;o+=8)a<<=1,a|=e>>>o+s&1}i[n+0]=r>>>0,i[n+1]=a>>>0},t.rip=function(e,t,i,n){for(var r=0,a=0,s=0;s<4;s++)for(var o=24;o>=0;o-=8)r<<=1,r|=t>>>o+s&1,r<<=1,r|=e>>>o+s&1;for(var s=4;s<8;s++)for(var o=24;o>=0;o-=8)a<<=1,a|=t>>>o+s&1,a<<=1,a|=e>>>o+s&1;i[n+0]=r>>>0,i[n+1]=a>>>0},t.pc1=function(e,t,i,n){for(var r=0,a=0,s=7;s>=5;s--){for(var o=0;o<=24;o+=8)r<<=1,r|=t>>o+s&1;for(var o=0;o<=24;o+=8)r<<=1,r|=e>>o+s&1}for(var o=0;o<=24;o+=8)r<<=1,r|=t>>o+s&1;for(var s=1;s<=3;s++){for(var o=0;o<=24;o+=8)a<<=1,a|=t>>o+s&1;for(var o=0;o<=24;o+=8)a<<=1,a|=e>>o+s&1}for(var o=0;o<=24;o+=8)a<<=1,a|=e>>o+s&1;i[n+0]=r>>>0,i[n+1]=a>>>0},t.r28shl=function(e,t){return e<>>28-t};var i=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,n,r){for(var a=0,s=0,o=i.length>>>1,l=0;l>>i[l]&1;for(var l=o;l>>i[l]&1;n[r+0]=a>>>0,n[r+1]=s>>>0},t.expand=function(e,t,i){var n=0,r=0;n=(1&e)<<5|e>>>27;for(var a=23;a>=15;a-=4)n<<=6,n|=e>>>a&63;for(var a=11;a>=3;a-=4)r|=e>>>a&63,r<<=6;r|=(31&e)<<1|e>>>31,t[i+0]=n>>>0,t[i+1]=r>>>0};var n=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var i=0,r=0;r<4;r++){var a=e>>>18-6*r&63,s=n[64*r+a];i<<=4,i|=s}for(var r=0;r<4;r++){var a=t>>>18-6*r&63,s=n[256+64*r+a];i<<=4,i|=s}return i>>>0};var r=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,i=0;i>>r[i]&1;return t>>>0},t.padSplit=function(e,t,i){for(var n=e.toString(2);n.lengthe;)i.ishrn(1);if(i.isEven()&&i.iadd(o),i.testn(1)||i.iadd(l),t.cmp(l)){if(!t.cmp(u))for(;i.mod(d).cmp(c);)i.iadd(f)}else for(;i.mod(a).cmp(h);)i.iadd(f);if(p(m=i.shrn(1))&&p(i)&&_(m)&&_(i)&&s.test(m)&&s.test(i))return i}}},66473(e,t,i){!function(e,t){"use strict";function n(e,t){if(!e)throw Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function a(e,t,i){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(i=t,t=10),this._init(e||0,t||10,i||"be"))}"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{u="u">typeof window&&void 0!==window.Buffer?window.Buffer:i(56746).Buffer}catch(e){}function s(e,t){var i=e.charCodeAt(t);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function o(e,t,i){var n=s(e,i);return i-1>=t&&(n|=s(e,i-1)<<4),n}function l(e,t,i,n){for(var r=0,a=Math.min(e.length,i),s=t;s=49?r+=o-49+10:o>=17?r+=o-17+10:r+=o}return r}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;s-=3)a=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=a<>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);else if("le"===i)for(s=0,r=0;s>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);return this.strip()},a.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r=0;r=t;r-=2)n=o(e,t,r)<=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;this.strip()},a.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=0x3ffffff;r*=t)n++;n--,r=r/t|0;for(var a=e.length-i,s=a%n,o=Math.min(a,a-s)+i,u=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?""};var u,d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];function f(e){for(var t=Array(e.bitLength()),i=0;i>>r}return t}function m(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],a=0|t.words[0],s=r*a,o=0x3ffffff&s,l=s/0x4000000|0;i.words[0]=o;for(var u=1;u>>26,c=0x3ffffff&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var m=u-f|0;d+=(s=(r=0|e.words[m])*(a=0|t.words[f])+c)/0x4000000|0,c=0x3ffffff&s}i.words[u]=0|c,l=0|d}return 0!==l?i.words[u]=0|l:i.length--,i.strip()}a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var i="",r=0,a=0,s=0;s>>24-r&0xffffff)||s!==this.length-1?d[6-l.length]+l+i:l+i,(r+=2)>=26&&(r-=26,s--)}for(0!==a&&(i=a.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var u=c[e],f=h[e];i="";var m=this.clone();for(m.negative=0;!m.isZero();){var g=m.modn(f).toString(e);i=(m=m.idivn(f)).isZero()?g+i:d[u-g.length]+g+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n(void 0!==u),this.toArrayLike(u,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,i){var r,a,s=this.byteLength(),o=i||Math.max(1,s);n(s<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var l="le"===t,u=new e(o),d=this.clone();if(l){for(a=0;!d.isZero();a++)r=d.andln(255),d.iushrn(8),u[a]=r;for(;a=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return(8191&t)==0&&(i+=13,t>>>=13),(127&t)==0&&(i+=7,t>>>=7),(15&t)==0&&(i+=4,t>>>=4),(3&t)==0&&(i+=2,t>>>=2),(1&t)==0&&i++,i},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){this.length>e.length?(t=this,i=e):(t=e,i=this);for(var t,i,n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&0x3ffffff>>26-i),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),t?this.words[i]=this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var t,i,n,r=0,a=0;a>>26;for(;0!==r&&a>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,i,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,i=e):(t=e,i=this);for(var a=0,s=0;s>26,this.words[s]=0x3ffffff&n;for(;0!==a&&s>26,this.words[s]=0x3ffffff&n;if(0===a&&s>>13,f=0|s[1],m=8191&f,g=f>>>13,p=0|s[2],_=8191&p,b=p>>>13,y=0|s[3],F=8191&y,k=y>>>13,w=0|s[4],C=8191&w,A=w>>>13,E=0|s[5],S=8191&E,x=E>>>13,D=0|s[6],T=8191&D,M=D>>>13,I=0|s[7],B=8191&I,P=I>>>13,N=0|s[8],R=8191&N,j=N>>>13,O=0|s[9],z=8191&O,q=O>>>13,W=0|o[0],V=8191&W,H=W>>>13,$=0|o[1],G=8191&$,X=$>>>13,K=0|o[2],Y=8191&K,Q=K>>>13,Z=0|o[3],J=8191&Z,ee=Z>>>13,et=0|o[4],ei=8191&et,en=et>>>13,er=0|o[5],ea=8191&er,es=er>>>13,eo=0|o[6],el=8191&eo,eu=eo>>>13,ed=0|o[7],ec=8191&ed,eh=ed>>>13,ef=0|o[8],em=8191&ef,eg=ef>>>13,ep=0|o[9],e_=8191&ep,ev=ep>>>13;i.negative=e.negative^t.negative,i.length=19,n=Math.imul(c,V);var eb=(u+n|0)+((8191&(r=(r=Math.imul(c,H))+Math.imul(h,V)|0))<<13)|0;u=((a=Math.imul(h,H))+(r>>>13)|0)+(eb>>>26)|0,eb&=0x3ffffff,n=Math.imul(m,V),r=(r=Math.imul(m,H))+Math.imul(g,V)|0,a=Math.imul(g,H),n=n+Math.imul(c,G)|0;var ey=(u+n|0)+((8191&(r=(r=r+Math.imul(c,X)|0)+Math.imul(h,G)|0))<<13)|0;u=((a=a+Math.imul(h,X)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,n=Math.imul(_,V),r=(r=Math.imul(_,H))+Math.imul(b,V)|0,a=Math.imul(b,H),n=n+Math.imul(m,G)|0,r=(r=r+Math.imul(m,X)|0)+Math.imul(g,G)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(c,Y)|0;var eF=(u+n|0)+((8191&(r=(r=r+Math.imul(c,Q)|0)+Math.imul(h,Y)|0))<<13)|0;u=((a=a+Math.imul(h,Q)|0)+(r>>>13)|0)+(eF>>>26)|0,eF&=0x3ffffff,n=Math.imul(F,V),r=(r=Math.imul(F,H))+Math.imul(k,V)|0,a=Math.imul(k,H),n=n+Math.imul(_,G)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(b,G)|0,a=a+Math.imul(b,X)|0,n=n+Math.imul(m,Y)|0,r=(r=r+Math.imul(m,Q)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(c,J)|0;var ek=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ee)|0)+Math.imul(h,J)|0))<<13)|0;u=((a=a+Math.imul(h,ee)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,n=Math.imul(C,V),r=(r=Math.imul(C,H))+Math.imul(A,V)|0,a=Math.imul(A,H),n=n+Math.imul(F,G)|0,r=(r=r+Math.imul(F,X)|0)+Math.imul(k,G)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,Q)|0,n=n+Math.imul(m,J)|0,r=(r=r+Math.imul(m,ee)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,ee)|0,n=n+Math.imul(c,ei)|0;var ew=(u+n|0)+((8191&(r=(r=r+Math.imul(c,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((a=a+Math.imul(h,en)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,n=Math.imul(S,V),r=(r=Math.imul(S,H))+Math.imul(x,V)|0,a=Math.imul(x,H),n=n+Math.imul(C,G)|0,r=(r=r+Math.imul(C,X)|0)+Math.imul(A,G)|0,a=a+Math.imul(A,X)|0,n=n+Math.imul(F,Y)|0,r=(r=r+Math.imul(F,Q)|0)+Math.imul(k,Y)|0,a=a+Math.imul(k,Q)|0,n=n+Math.imul(_,J)|0,r=(r=r+Math.imul(_,ee)|0)+Math.imul(b,J)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(m,ei)|0,r=(r=r+Math.imul(m,en)|0)+Math.imul(g,ei)|0,a=a+Math.imul(g,en)|0,n=n+Math.imul(c,ea)|0;var eC=(u+n|0)+((8191&(r=(r=r+Math.imul(c,es)|0)+Math.imul(h,ea)|0))<<13)|0;u=((a=a+Math.imul(h,es)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,n=Math.imul(T,V),r=(r=Math.imul(T,H))+Math.imul(M,V)|0,a=Math.imul(M,H),n=n+Math.imul(S,G)|0,r=(r=r+Math.imul(S,X)|0)+Math.imul(x,G)|0,a=a+Math.imul(x,X)|0,n=n+Math.imul(C,Y)|0,r=(r=r+Math.imul(C,Q)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Q)|0,n=n+Math.imul(F,J)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(_,ei)|0,r=(r=r+Math.imul(_,en)|0)+Math.imul(b,ei)|0,a=a+Math.imul(b,en)|0,n=n+Math.imul(m,ea)|0,r=(r=r+Math.imul(m,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0,n=n+Math.imul(c,el)|0;var eA=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eu)|0)+Math.imul(h,el)|0))<<13)|0;u=((a=a+Math.imul(h,eu)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,n=Math.imul(B,V),r=(r=Math.imul(B,H))+Math.imul(P,V)|0,a=Math.imul(P,H),n=n+Math.imul(T,G)|0,r=(r=r+Math.imul(T,X)|0)+Math.imul(M,G)|0,a=a+Math.imul(M,X)|0,n=n+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Q)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(C,J)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(A,J)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(F,ei)|0,r=(r=r+Math.imul(F,en)|0)+Math.imul(k,ei)|0,a=a+Math.imul(k,en)|0,n=n+Math.imul(_,ea)|0,r=(r=r+Math.imul(_,es)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,es)|0,n=n+Math.imul(m,el)|0,r=(r=r+Math.imul(m,eu)|0)+Math.imul(g,el)|0,a=a+Math.imul(g,eu)|0,n=n+Math.imul(c,ec)|0;var eE=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eh)|0)+Math.imul(h,ec)|0))<<13)|0;u=((a=a+Math.imul(h,eh)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,n=Math.imul(R,V),r=(r=Math.imul(R,H))+Math.imul(j,V)|0,a=Math.imul(j,H),n=n+Math.imul(B,G)|0,r=(r=r+Math.imul(B,X)|0)+Math.imul(P,G)|0,a=a+Math.imul(P,X)|0,n=n+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Q)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,Q)|0,n=n+Math.imul(S,J)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(x,J)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(C,ei)|0,r=(r=r+Math.imul(C,en)|0)+Math.imul(A,ei)|0,a=a+Math.imul(A,en)|0,n=n+Math.imul(F,ea)|0,r=(r=r+Math.imul(F,es)|0)+Math.imul(k,ea)|0,a=a+Math.imul(k,es)|0,n=n+Math.imul(_,el)|0,r=(r=r+Math.imul(_,eu)|0)+Math.imul(b,el)|0,a=a+Math.imul(b,eu)|0,n=n+Math.imul(m,ec)|0,r=(r=r+Math.imul(m,eh)|0)+Math.imul(g,ec)|0,a=a+Math.imul(g,eh)|0,n=n+Math.imul(c,em)|0;var eS=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eg)|0)+Math.imul(h,em)|0))<<13)|0;u=((a=a+Math.imul(h,eg)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,n=Math.imul(z,V),r=(r=Math.imul(z,H))+Math.imul(q,V)|0,a=Math.imul(q,H),n=n+Math.imul(R,G)|0,r=(r=r+Math.imul(R,X)|0)+Math.imul(j,G)|0,a=a+Math.imul(j,X)|0,n=n+Math.imul(B,Y)|0,r=(r=r+Math.imul(B,Q)|0)+Math.imul(P,Y)|0,a=a+Math.imul(P,Q)|0,n=n+Math.imul(T,J)|0,r=(r=r+Math.imul(T,ee)|0)+Math.imul(M,J)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(S,ei)|0,r=(r=r+Math.imul(S,en)|0)+Math.imul(x,ei)|0,a=a+Math.imul(x,en)|0,n=n+Math.imul(C,ea)|0,r=(r=r+Math.imul(C,es)|0)+Math.imul(A,ea)|0,a=a+Math.imul(A,es)|0,n=n+Math.imul(F,el)|0,r=(r=r+Math.imul(F,eu)|0)+Math.imul(k,el)|0,a=a+Math.imul(k,eu)|0,n=n+Math.imul(_,ec)|0,r=(r=r+Math.imul(_,eh)|0)+Math.imul(b,ec)|0,a=a+Math.imul(b,eh)|0,n=n+Math.imul(m,em)|0,r=(r=r+Math.imul(m,eg)|0)+Math.imul(g,em)|0,a=a+Math.imul(g,eg)|0,n=n+Math.imul(c,e_)|0;var ex=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ev)|0)+Math.imul(h,e_)|0))<<13)|0;u=((a=a+Math.imul(h,ev)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,n=Math.imul(z,G),r=(r=Math.imul(z,X))+Math.imul(q,G)|0,a=Math.imul(q,X),n=n+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Q)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,Q)|0,n=n+Math.imul(B,J)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(P,J)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(T,ei)|0,r=(r=r+Math.imul(T,en)|0)+Math.imul(M,ei)|0,a=a+Math.imul(M,en)|0,n=n+Math.imul(S,ea)|0,r=(r=r+Math.imul(S,es)|0)+Math.imul(x,ea)|0,a=a+Math.imul(x,es)|0,n=n+Math.imul(C,el)|0,r=(r=r+Math.imul(C,eu)|0)+Math.imul(A,el)|0,a=a+Math.imul(A,eu)|0,n=n+Math.imul(F,ec)|0,r=(r=r+Math.imul(F,eh)|0)+Math.imul(k,ec)|0,a=a+Math.imul(k,eh)|0,n=n+Math.imul(_,em)|0,r=(r=r+Math.imul(_,eg)|0)+Math.imul(b,em)|0,a=a+Math.imul(b,eg)|0,n=n+Math.imul(m,e_)|0;var eD=(u+n|0)+((8191&(r=(r=r+Math.imul(m,ev)|0)+Math.imul(g,e_)|0))<<13)|0;u=((a=a+Math.imul(g,ev)|0)+(r>>>13)|0)+(eD>>>26)|0,eD&=0x3ffffff,n=Math.imul(z,Y),r=(r=Math.imul(z,Q))+Math.imul(q,Y)|0,a=Math.imul(q,Q),n=n+Math.imul(R,J)|0,r=(r=r+Math.imul(R,ee)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,ee)|0,n=n+Math.imul(B,ei)|0,r=(r=r+Math.imul(B,en)|0)+Math.imul(P,ei)|0,a=a+Math.imul(P,en)|0,n=n+Math.imul(T,ea)|0,r=(r=r+Math.imul(T,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,n=n+Math.imul(S,el)|0,r=(r=r+Math.imul(S,eu)|0)+Math.imul(x,el)|0,a=a+Math.imul(x,eu)|0,n=n+Math.imul(C,ec)|0,r=(r=r+Math.imul(C,eh)|0)+Math.imul(A,ec)|0,a=a+Math.imul(A,eh)|0,n=n+Math.imul(F,em)|0,r=(r=r+Math.imul(F,eg)|0)+Math.imul(k,em)|0,a=a+Math.imul(k,eg)|0,n=n+Math.imul(_,e_)|0;var eT=(u+n|0)+((8191&(r=(r=r+Math.imul(_,ev)|0)+Math.imul(b,e_)|0))<<13)|0;u=((a=a+Math.imul(b,ev)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,n=Math.imul(z,J),r=(r=Math.imul(z,ee))+Math.imul(q,J)|0,a=Math.imul(q,ee),n=n+Math.imul(R,ei)|0,r=(r=r+Math.imul(R,en)|0)+Math.imul(j,ei)|0,a=a+Math.imul(j,en)|0,n=n+Math.imul(B,ea)|0,r=(r=r+Math.imul(B,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,n=n+Math.imul(T,el)|0,r=(r=r+Math.imul(T,eu)|0)+Math.imul(M,el)|0,a=a+Math.imul(M,eu)|0,n=n+Math.imul(S,ec)|0,r=(r=r+Math.imul(S,eh)|0)+Math.imul(x,ec)|0,a=a+Math.imul(x,eh)|0,n=n+Math.imul(C,em)|0,r=(r=r+Math.imul(C,eg)|0)+Math.imul(A,em)|0,a=a+Math.imul(A,eg)|0,n=n+Math.imul(F,e_)|0;var eM=(u+n|0)+((8191&(r=(r=r+Math.imul(F,ev)|0)+Math.imul(k,e_)|0))<<13)|0;u=((a=a+Math.imul(k,ev)|0)+(r>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,n=Math.imul(z,ei),r=(r=Math.imul(z,en))+Math.imul(q,ei)|0,a=Math.imul(q,en),n=n+Math.imul(R,ea)|0,r=(r=r+Math.imul(R,es)|0)+Math.imul(j,ea)|0,a=a+Math.imul(j,es)|0,n=n+Math.imul(B,el)|0,r=(r=r+Math.imul(B,eu)|0)+Math.imul(P,el)|0,a=a+Math.imul(P,eu)|0,n=n+Math.imul(T,ec)|0,r=(r=r+Math.imul(T,eh)|0)+Math.imul(M,ec)|0,a=a+Math.imul(M,eh)|0,n=n+Math.imul(S,em)|0,r=(r=r+Math.imul(S,eg)|0)+Math.imul(x,em)|0,a=a+Math.imul(x,eg)|0,n=n+Math.imul(C,e_)|0;var eI=(u+n|0)+((8191&(r=(r=r+Math.imul(C,ev)|0)+Math.imul(A,e_)|0))<<13)|0;u=((a=a+Math.imul(A,ev)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,n=Math.imul(z,ea),r=(r=Math.imul(z,es))+Math.imul(q,ea)|0,a=Math.imul(q,es),n=n+Math.imul(R,el)|0,r=(r=r+Math.imul(R,eu)|0)+Math.imul(j,el)|0,a=a+Math.imul(j,eu)|0,n=n+Math.imul(B,ec)|0,r=(r=r+Math.imul(B,eh)|0)+Math.imul(P,ec)|0,a=a+Math.imul(P,eh)|0,n=n+Math.imul(T,em)|0,r=(r=r+Math.imul(T,eg)|0)+Math.imul(M,em)|0,a=a+Math.imul(M,eg)|0,n=n+Math.imul(S,e_)|0;var eB=(u+n|0)+((8191&(r=(r=r+Math.imul(S,ev)|0)+Math.imul(x,e_)|0))<<13)|0;u=((a=a+Math.imul(x,ev)|0)+(r>>>13)|0)+(eB>>>26)|0,eB&=0x3ffffff,n=Math.imul(z,el),r=(r=Math.imul(z,eu))+Math.imul(q,el)|0,a=Math.imul(q,eu),n=n+Math.imul(R,ec)|0,r=(r=r+Math.imul(R,eh)|0)+Math.imul(j,ec)|0,a=a+Math.imul(j,eh)|0,n=n+Math.imul(B,em)|0,r=(r=r+Math.imul(B,eg)|0)+Math.imul(P,em)|0,a=a+Math.imul(P,eg)|0,n=n+Math.imul(T,e_)|0;var eP=(u+n|0)+((8191&(r=(r=r+Math.imul(T,ev)|0)+Math.imul(M,e_)|0))<<13)|0;u=((a=a+Math.imul(M,ev)|0)+(r>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,n=Math.imul(z,ec),r=(r=Math.imul(z,eh))+Math.imul(q,ec)|0,a=Math.imul(q,eh),n=n+Math.imul(R,em)|0,r=(r=r+Math.imul(R,eg)|0)+Math.imul(j,em)|0,a=a+Math.imul(j,eg)|0,n=n+Math.imul(B,e_)|0;var eL=(u+n|0)+((8191&(r=(r=r+Math.imul(B,ev)|0)+Math.imul(P,e_)|0))<<13)|0;u=((a=a+Math.imul(P,ev)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,n=Math.imul(z,em),r=(r=Math.imul(z,eg))+Math.imul(q,em)|0,a=Math.imul(q,eg),n=n+Math.imul(R,e_)|0;var eN=(u+n|0)+((8191&(r=(r=r+Math.imul(R,ev)|0)+Math.imul(j,e_)|0))<<13)|0;u=((a=a+Math.imul(j,ev)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,n=Math.imul(z,e_);var eR=(u+n|0)+((8191&(r=(r=Math.imul(z,ev))+Math.imul(q,e_)|0))<<13)|0;return u=((a=Math.imul(q,ev))+(r>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,l[0]=eb,l[1]=ey,l[2]=eF,l[3]=ek,l[4]=ew,l[5]=eC,l[6]=eA,l[7]=eE,l[8]=eS,l[9]=ex,l[10]=eD,l[11]=eT,l[12]=eM,l[13]=eI,l[14]=eB,l[15]=eP,l[16]=eL,l[17]=eN,l[18]=eR,0!==u&&(l[19]=u,i.length++),i};function p(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,a=0;a>>26)|0)>>>26,s&=0x3ffffff}i.words[a]=o,n=s,s=r}return 0!==n?i.words[a]=n:i.length--,i.strip()}function _(e,t,i){return new b().mulp(e,t,i)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=m),a.prototype.mulTo=function(e,t){var i,n=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):n<63?m(this,e,t):n<1024?p(this,e,t):_(this,e,t)},b.prototype.makeRBT=function(e){for(var t=Array(e),i=a.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,i,n,r,a){for(var s=0;s>>=1)r++;return 1<>>=13,i[2*s+1]=8191&a,a>>>=13;for(s=2*t;s>=26,t+=(r/0x4000000|0)+(a>>>26),this.words[i]=0x3ffffff&a}return 0!==t&&(this.words[i]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=f(e);if(0===t.length)return new a(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,a=0x3ffffff>>>26-i<<26-i;if(0!==i){var s=0;for(t=0;t>>26-i}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0);var r=t?(t-t%26)/26:0,a=e%26,s=Math.min((e-a)/26,this.length),o=0x3ffffff^0x3ffffff>>>a<s)for(this.length-=s,u=0;u=0&&(0!==d||u>=r);u--){var c=0|this.words[u];this.words[u]=d<<26-a|c>>>a,d=c&o}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=0x3ffffff^0x3ffffff>>>t<=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"==typeof e),n(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/0x4000000|0),this.words[r+i]=0x3ffffff&a}for(;r>26,this.words[r+i]=0x3ffffff&a;if(0===o)return this.strip();for(n(-1===o),o=0,r=0;r>26,this.words[r]=0x3ffffff&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var i,n=this.length-e.length,r=this.clone(),s=e,o=0|s.words[s.length-1];0!=(n=26-this._countBits(o))&&(s=s.ushln(n),r.iushln(n),o=0|s.words[s.length-1]);var l=r.length-s.length;if("mod"!==t){(i=new a(null)).length=l+1,i.words=Array(i.length);for(var u=0;u=0;c--){var h=(0|r.words[s.length+c])*0x4000000+(0|r.words[s.length+c-1]);for(h=Math.min(h/o|0,0x3ffffff),r._ishlnsubmul(s,h,c);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,c),r.isZero()||(r.negative^=1);i&&(i.words[c]=h)}return i&&i.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:i||null,mod:r}},a.prototype.divmod=function(e,t,i){var r,s,o;return(n(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(r=o.div.neg()),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(r=o.div.neg()),{div:r,mod:o.mod}):(this.negative&e.negative)!=0?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.isub(e)),{div:o.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),a=i.cmp(n);return a<0||1===r&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=0x3ffffff);for(var t=0x4000000%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},a.prototype.idivn=function(e){n(e<=0x3ffffff);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+0x4000000*t;this.words[i]=r/e|0,t=r%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new a(1),s=new a(0),o=new a(0),l=new a(1),u=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++u;for(var d=i.clone(),c=t.clone();!t.isZero();){for(var h=0,f=1;(t.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(c)),r.iushrn(1),s.iushrn(1);for(var m=0,g=1;(i.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(d),l.isub(c)),o.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(o),s.isub(l)):(i.isub(t),o.isub(r),l.isub(s))}return{a:o,b:l,gcd:i.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,i=this,r=e.clone();i=0!==i.negative?i.umod(e):i.clone();for(var s=new a(1),o=new a(0),l=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,d=1;(i.words[0]&d)==0&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,h=1;(r.words[0]&h)==0&&c<26;++c,h<<=1);if(c>0)for(r.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);i.cmp(r)>=0?(i.isub(r),s.isub(o)):(r.isub(i),o.isub(s))}return 0>(t=0===i.cmpn(1)?s:o).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var a=t;t=i,i=a}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,o&=0x3ffffff,this.words[s]=o}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=0x3ffffff,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new E(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function F(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){F.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){F.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){F.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){F.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}F.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},F.prototype.ireduce=function(e){var t,i=e;do this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(t>this.n);var n=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},F.prototype.split=function(e,t){e.iushrn(this.n,0,t)},F.prototype.imulK=function(e){return e.imul(this.k)},r(k,F),k.prototype.split=function(e,t){for(var i=4194303,n=Math.min(e.length,9),r=0;r>>22,a=s}a>>>=22,e.words[r-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},k.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(y[e])return y[e];if("k256"===e)t=new k;else if("p224"===e)t=new w;else if("p192"===e)t=new C;else if("p25519"===e)t=new A;else throw Error("Unknown prime "+e);return y[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n((e.negative|t.negative)==0,"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},E.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new a(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);n(!r.isZero());var o=new a(1).toRed(this),l=o.redNeg(),u=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,u).cmp(l);)d.redIAdd(l);for(var c=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),m=s;0!==f.cmp(o);){for(var g=f,p=0;0!==g.cmp(o);p++)g=g.redSqr();n(p=0;r--){for(var d=t.words[r],c=u-1;c>=0;c--){var h=d>>c&1;if(s!==n[0]&&(s=this.sqr(s)),0===h&&0===o){l=0;continue}o<<=1,o|=h,(++l===i||0===r&&0===c)&&(s=this.mul(s,n[o]),l=0,o=0)}u=26}return s},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new S(e)},r(S,E),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):0>r.cmpn(0)&&(a=r.iadd(this.m)),a._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=i.nmd(e),this)},7176(e,t,i){"use strict";var n,r=i(73126),a=i(75795);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var s=!!n&&a&&a(Object.prototype,"__proto__"),o=Object,l=o.getPrototypeOf;e.exports=s&&"function"==typeof s.get?r([s.get]):"function"==typeof l&&function(e){return l(null==e?e:o(e))}},86729(e,t,i){"use strict";var n=t;n.version=i(1636).rE,n.utils=i(47011),n.rand=i(15037),n.curve=i(894),n.curves=i(60480),n.ec=i(57447),n.eddsa=i(8650)},36677(e,t,i){"use strict";var n=i(28490),r=i(47011),a=r.getNAF,s=r.getJSF,o=r.assert;function l(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var i=this.n&&this.p.div(this.n);!i||i.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw Error("Not implemented")},l.prototype.validate=function(){throw Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){o(e.precomputed);var i,n,r=e._getDoubles(),s=a(t,1,this._bitLength),l=(1<=i;d--)n=(n<<1)+s[d];u.push(n)}for(var c=this.jpoint(null,null,null),h=this.jpoint(null,null,null),f=l;f>0;f--){for(i=0;i=0;u--){for(var d=0;u>=0&&0===s[u];u--)d++;if(u>=0&&d++,l=l.dblp(d),u<0)break;var c=s[u];o(0!==c),l="affine"===e.type?c>0?l.mixedAdd(r[c-1>>1]):l.mixedAdd(r[-c-1>>1].neg()):c>0?l.add(r[c-1>>1]):l.add(r[-c-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,i,n,r){var o,l,u,d=this._wnafT1,c=this._wnafT2,h=this._wnafT3,f=0;for(o=0;o=1;o-=2){var g=o-1,p=o;if(1!==d[g]||1!==d[p]){h[g]=a(i[g],d[g],this._bitLength),h[p]=a(i[p],d[p],this._bitLength),f=Math.max(h[g].length,f),f=Math.max(h[p].length,f);continue}var _=[t[g],null,null,t[p]];0===t[g].y.cmp(t[p].y)?(_[1]=t[g].add(t[p]),_[2]=t[g].toJ().mixedAdd(t[p].neg())):0===t[g].y.cmp(t[p].y.redNeg())?(_[1]=t[g].toJ().mixedAdd(t[p]),_[2]=t[g].add(t[p].neg())):(_[1]=t[g].toJ().mixedAdd(t[p]),_[2]=t[g].toJ().mixedAdd(t[p].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=s(i[g],i[p]);for(l=0,f=Math.max(y[0].length,f),h[g]=Array(f),h[p]=Array(f);l=0;o--){for(var A=0;o>=0;){var E=!0;for(l=0;l=0&&A++,w=w.dblp(A),o<0)break;for(l=0;l0?u=c[l][S-1>>1]:S<0&&(u=c[l][-S-1>>1].neg()),w="affine"===u.type?w.mixedAdd(u):w.add(u))}}for(o=0;o=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],n=this,r=0;r":""},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),i=this.z.redSqr();i=i.redIAdd(i);var n=this.curve._mulA(e),r=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=n.redAdd(t),s=a.redSub(i),o=n.redSub(t),l=r.redMul(s),u=a.redMul(o),d=r.redMul(o),c=s.redMul(a);return this.curve.point(l,u,c,d)},u.prototype._projDbl=function(){var e,t,i,n,r,a,s=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){var u=(n=this.curve._mulA(o)).redAdd(l);this.zOne?(e=s.redSub(o).redSub(l).redMul(u.redSub(this.curve.two)),t=u.redMul(n.redSub(l)),i=u.redSqr().redSub(u).redSub(u)):(r=this.z.redSqr(),a=u.redSub(r).redISub(r),e=s.redSub(o).redISub(l).redMul(a),t=u.redMul(n.redSub(l)),i=u.redMul(a))}else n=o.redAdd(l),r=this.curve._mulC(this.z).redSqr(),a=n.redSub(r).redSub(r),e=this.curve._mulC(s.redISub(n)).redMul(a),t=this.curve._mulC(n).redMul(o.redISub(l)),i=n.redMul(a);return this.curve.point(e,t,i)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),i=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),r=this.z.redMul(e.z.redAdd(e.z)),a=i.redSub(t),s=r.redSub(n),o=r.redAdd(n),l=i.redAdd(t),u=a.redMul(s),d=o.redMul(l),c=a.redMul(l),h=s.redMul(o);return this.curve.point(u,d,h,c)},u.prototype._projAdd=function(e){var t,i,n=this.z.redMul(e.z),r=n.redSqr(),a=this.x.redMul(e.x),s=this.y.redMul(e.y),o=this.curve.d.redMul(a).redMul(s),l=r.redSub(o),u=r.redAdd(o),d=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(s),c=n.redMul(l).redMul(d);return this.curve.twisted?(t=n.redMul(u).redMul(s.redSub(this.curve._mulA(a))),i=l.redMul(u)):(t=n.redMul(u).redMul(s.redSub(a)),i=this.curve._mulC(l).redMul(u)),this.curve.point(c,t,i)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!1)},u.prototype.jmulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var i=e.clone(),n=this.curve.redN.redMul(this.z);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},894(e,t,i){"use strict";var n=t;n.base=i(36677),n.short=i(39188),n.mont=i(30370),n.edwards=i(31298)},30370(e,t,i){"use strict";var n=i(28490),r=i(56698),a=i(36677),s=i(47011);function o(e){a.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,i){a.BasePoint.call(this,e,"projective"),null===t&&null===i?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}r(o,a),e.exports=o,o.prototype.validate=function(e){var t=e.normalize().x,i=t.redSqr(),n=i.redMul(t).redAdd(i.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},r(l,a.BasePoint),o.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},o.prototype.point=function(e,t){return new l(this,e,t)},o.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),i=e.redSub(t),n=e.redMul(t),r=i.redMul(t.redAdd(this.curve.a24.redMul(i)));return this.curve.point(n,r)},l.prototype.add=function(){throw Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var i=this.x.redAdd(this.z),n=this.x.redSub(this.z),r=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(i),s=r.redMul(n),o=t.z.redMul(a.redAdd(s).redSqr()),l=t.x.redMul(a.redISub(s).redSqr());return this.curve.point(o,l)},l.prototype.mul=function(e){for(var t=e.clone(),i=this,n=this.curve.point(null,null),r=this,a=[];0!==t.cmpn(0);t.iushrn(1))a.push(t.andln(1));for(var s=a.length-1;s>=0;s--)0===a[s]?(i=i.diffAdd(n,r),n=n.dbl()):(n=i.diffAdd(n,r),i=i.dbl());return n},l.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},39188(e,t,i){"use strict";var n=i(47011),r=i(28490),a=i(56698),s=i(36677),o=n.assert;function l(e){s.call(this,"short",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function u(e,t,i,n){s.BasePoint.call(this,e,"affine"),null===t&&null===i?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(t,16),this.y=new r(i,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function d(e,t,i,n){s.BasePoint.call(this,e,"jacobian"),null===t&&null===i&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(t,16),this.y=new r(i,16),this.z=new r(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(l,s),e.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){if(e.beta)t=new r(e.beta,16).toRed(this.red);else{var t,i,n,a=this._getEndoRoots(this.p);t=(t=0>a[0].cmp(a[1])?a[0]:a[1]).toRed(this.red)}if(e.lambda)i=new r(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?i=s[0]:(i=s[1],o(0===this.g.mul(i).x.cmp(this.g.x.redMul(t))))}return n=e.basis?e.basis.map(function(e){return{a:new r(e.a,16),b:new r(e.b,16)}}):this._getEndoBasis(i),{beta:t,lambda:i,basis:n}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:r.mont(e),i=new r(2).toRed(t).redInvm(),n=i.redNeg(),a=new r(3).toRed(t).redNeg().redSqrt().redMul(i);return[n.redAdd(a).fromRed(),n.redSub(a).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,i,n,a,s,o,l,u,d,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,f=this.n.clone(),m=new r(1),g=new r(0),p=new r(0),_=new r(1),b=0;0!==h.cmpn(0);){var y=f.div(h);u=f.sub(y.mul(h)),d=p.sub(y.mul(m));var F=_.sub(y.mul(g));if(!n&&0>u.cmp(c))t=l.neg(),i=m,n=u.neg(),a=d;else if(n&&2==++b)break;l=u,f=h,h=u,p=m,m=d,_=g,g=F}s=u.neg(),o=d;var k=n.sqr().add(a.sqr());return s.sqr().add(o.sqr()).cmp(k)>=0&&(s=t,o=i),n.negative&&(n=n.neg(),a=a.neg()),s.negative&&(s=s.neg(),o=o.neg()),[{a:n,b:a},{a:s,b:o}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,i=t[0],n=t[1],r=n.b.mul(e).divRound(this.n),a=i.b.neg().mul(e).divRound(this.n),s=r.mul(i.a),o=a.mul(n.a),l=r.mul(i.b),u=a.mul(n.b);return{k1:e.sub(s).sub(o),k2:l.add(u).neg()}},l.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=i.redSqrt();if(0!==n.redSqr().redSub(i).cmp(this.zero))throw Error("invalid point");var a=n.fromRed().isOdd();return(t&&!a||!t&&a)&&(n=n.redNeg()),this.point(e,n)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,i=e.y,n=this.a.redMul(t),r=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===i.redSqr().redISub(r).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,i){for(var n=this._endoWnafT1,r=this._endoWnafT2,a=0;a":""},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e)||0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var i=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,i=this.x.redSqr(),n=e.redInvm(),r=i.redAdd(i).redIAdd(i).redIAdd(t).redMul(n),a=r.redSqr().redISub(this.x.redAdd(this.x)),s=r.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return(e=new r(e,16),this.isInfinity())?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,i){var n=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,r):this.curve._wnafMulAdd(1,n,r,2)},u.prototype.jmulAdd=function(e,t,i){var n=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,r,!0):this.curve._wnafMulAdd(1,n,r,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var i=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(n)},doubles:i.doubles&&{step:i.doubles.step,points:i.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(d,s.BasePoint),l.prototype.jpoint=function(e,t,i){return new d(this,e,t,i)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),i=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(i,n)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),i=this.z.redSqr(),n=this.x.redMul(t),r=e.x.redMul(i),a=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(i.redMul(this.z)),o=n.redSub(r),l=a.redSub(s);if(0===o.cmpn(0))if(0!==l.cmpn(0))return this.curve.jpoint(null,null,null);else return this.dbl();var u=o.redSqr(),d=u.redMul(o),c=n.redMul(u),h=l.redSqr().redIAdd(d).redISub(c).redISub(c),f=l.redMul(c.redISub(h)).redISub(a.redMul(d)),m=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(h,f,m)},d.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),i=this.x,n=e.x.redMul(t),r=this.y,a=e.y.redMul(t).redMul(this.z),s=i.redSub(n),o=r.redSub(a);if(0===s.cmpn(0))if(0!==o.cmpn(0))return this.curve.jpoint(null,null,null);else return this.dbl();var l=s.redSqr(),u=l.redMul(s),d=i.redMul(l),c=o.redSqr().redIAdd(u).redISub(d).redISub(d),h=o.redMul(d.redISub(c)).redISub(r.redMul(u)),f=this.z.redMul(s);return this.curve.jpoint(c,h,f)},d.prototype.dblp=function(e){if(0===e||this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){var t,i=this;for(t=0;t=0)return!1;if(i.redIAdd(r),0===this.x.cmp(i))return!0}},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},60480(e,t,i){"use strict";var n,r=t,a=i(77952),s=i(894),o=i(47011).assert;function l(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var i=new l(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:i}),i}})}r.PresetCurve=l,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=i(74011)}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},57447(e,t,i){"use strict";var n=i(28490),r=i(32723),a=i(47011),s=i(60480),o=i(15037),l=a.assert,u=i(61200),d=i(28545);function c(e){if(!(this instanceof c))return new c(e);"string"==typeof e&&(l(Object.prototype.hasOwnProperty.call(s,e),"Unknown curve "+e),e=s[e]),e instanceof s.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=c,c.prototype.keyPair=function(e){return new u(this,e)},c.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},c.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},c.prototype.genKeyPair=function(e){e||(e={});for(var t=new r({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||o(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),a=this.n.sub(new n(2));;){var s=new n(t.generate(i));if(!(s.cmp(a)>0))return s.iaddn(1),this.keyFromPrivate(s)}},c.prototype._truncateToN=function(e,t,i){if(n.isBN(e)||"number"==typeof e)r=(e=new n(e,16)).byteLength();else if("object"==typeof e)r=e.length,e=new n(e,16);else{var r,a=e.toString();r=a.length+1>>>1,e=new n(a,16)}"number"!=typeof i&&(i=8*r);var s=i-this.n.bitLength();return(s>0&&(e=e.ushrn(s)),!t&&e.cmp(this.n)>=0)?e.sub(this.n):e},c.prototype.sign=function(e,t,i,a){if("object"==typeof i&&(a=i,i=null),a||(a={}),"string"!=typeof e&&"number"!=typeof e&&!n.isBN(e)){l("object"==typeof e&&e&&"number"==typeof e.length,"Expected message to be an array-like, a hex string, or a BN instance"),l(e.length>>>0===e.length);for(var s=0;s=(g=this._truncateToN(g,!0)).cmpn(1)||g.cmp(f)>=0)continue;var p=this.g.mul(g);if(!p.isInfinity()){var _=p.getX(),b=_.umod(this.n);if(0!==b.cmpn(0)){var y=g.invm(this.n).mul(b.mul(t.getPrivate()).iadd(e));if(0!==(y=y.umod(this.n)).cmpn(0)){var F=!!p.getY().isOdd()|2*(0!==_.cmp(b));return a.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),F^=1),new d({r:b,s:y,recoveryParam:F})}}}}},c.prototype.verify=function(e,t,i,n,r){r||(r={}),e=this._truncateToN(e,!1,r.msgBitLength),i=this.keyFromPublic(i,n);var a,s=(t=new d(t,"hex")).r,o=t.s;if(0>s.cmpn(1)||s.cmp(this.n)>=0||0>o.cmpn(1)||o.cmp(this.n)>=0)return!1;var l=o.invm(this.n),u=l.mul(e).umod(this.n),c=l.mul(s).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,i.getPublic(),c)).isInfinity()&&a.eqXToP(s):!(a=this.g.mulAdd(u,i.getPublic(),c)).isInfinity()&&0===a.getX().umod(this.n).cmp(s)},c.prototype.recoverPubKey=function(e,t,i,r){l((3&i)===i,"The recovery param is more than two bits"),t=new d(t,r);var a=this.n,s=new n(e),o=t.r,u=t.s,c=1&i,h=i>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw Error("Unable to find sencond key candinate");o=h?this.curve.pointFromX(o.add(this.curve.n),c):this.curve.pointFromX(o,c);var f=t.r.invm(a),m=a.sub(s).mul(f).umod(a),g=u.mul(f).umod(a);return this.g.mulAdd(m,o,g)},c.prototype.getKeyRecoveryParam=function(e,t,i,n){if(null!==(t=new d(t,n)).recoveryParam)return t.recoveryParam;for(var r,a=0;a<4;a++){try{r=this.recoverPubKey(e,t,a)}catch(e){continue}if(r.eq(i))return a}throw Error("Unable to find valid recovery factor")}},61200(e,t,i){"use strict";var n=i(28490),r=i(47011).assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,i){return t instanceof a?t:new a(e,{pub:t,pubEnc:i})},a.fromPrivate=function(e,t,i){return t instanceof a?t:new a(e,{priv:t,privEnc:i})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(e,t){return("string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t)?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y){"mont"===this.ec.curve.type?r(e.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&r(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.validate()||r(e.validate(),"public point not validated"),e.mul(this.priv).getX()},a.prototype.sign=function(e,t,i){return this.ec.sign(e,this,t,i)},a.prototype.verify=function(e,t,i){return this.ec.verify(e,t,this,void 0,i)},a.prototype.inspect=function(){return""}},28545(e,t,i){"use strict";var n=i(28490),r=i(47011),a=r.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(a(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function o(){this.place=0}function l(e,t){var i=e[t.place++];if(!(128&i))return i;var n=15&i;if(0===n||n>4||0===e[t.place])return!1;for(var r=0,a=0,s=t.place;a>>=0;return!(r<=127)&&(t.place=s,r)}function u(e){for(var t=0,i=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|i);--i;)e.push(t>>>(i<<3)&255);e.push(t)}e.exports=s,s.prototype._importDER=function(e,t){e=r.toArray(e,t);var i=new o;if(48!==e[i.place++])return!1;var a=l(e,i);if(!1===a||a+i.place!==e.length||2!==e[i.place++])return!1;var s=l(e,i);if(!1===s||(128&e[i.place])!=0)return!1;var u=e.slice(i.place,s+i.place);if(i.place+=s,2!==e[i.place++])return!1;var d=l(e,i);if(!1===d||e.length!==d+i.place||(128&e[i.place])!=0)return!1;var c=e.slice(i.place,d+i.place);if(0===u[0])if(!(128&u[1]))return!1;else u=u.slice(1);if(0===c[0])if(!(128&c[1]))return!1;else c=c.slice(1);return this.r=new n(u),this.s=new n(c),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),i=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&i[0]&&(i=[0].concat(i)),t=u(t),i=u(i);!i[0]&&!(128&i[1]);)i=i.slice(1);var n=[2];d(n,t.length),(n=n.concat(t)).push(2),d(n,i.length);var a=n.concat(i),s=[48];return d(s,a.length),s=s.concat(a),r.encode(s,e)}},8650(e,t,i){"use strict";var n=i(77952),r=i(60480),a=i(47011),s=a.assert,o=a.parseBytes,l=i(46661),u=i(90220);function d(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof d))return new d(e);e=r[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=d,d.prototype.sign=function(e,t){e=o(e);var i=this.keyFromSecret(t),n=this.hashInt(i.messagePrefix(),e),r=this.g.mul(n),a=this.encodePoint(r),s=this.hashInt(a,i.pubBytes(),e).mul(i.priv()),l=n.add(s).umod(this.curve.n);return this.makeSignature({R:r,S:l,Rencoded:a})},d.prototype.verify=function(e,t,i){if(e=o(e),(t=this.makeSignature(t)).S().gte(t.eddsa.curve.n)||t.S().isNeg())return!1;var n=this.keyFromPublic(i),r=this.hashInt(t.Rencoded(),n.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(n.pub().mul(r)).eq(a)},d.prototype.hashInt=function(){for(var e=this.hash(),t=0;t(r>>1)-1?(r>>1)-l:l,a.isubn(o)):o=0,n[s]=o,a.iushrn(1)}return n},n.getJSF=function(e,t){var i=[[],[]];e=e.clone(),t=t.clone();for(var n=0,r=0;e.cmpn(-n)>0||t.cmpn(-r)>0;){var a,s,o,l=e.andln(3)+n&3,u=t.andln(3)+r&3;3===l&&(l=-1),3===u&&(u=-1),s=(1&l)==0?0:(3==(a=e.andln(7)+n&7)||5===a)&&2===u?-l:l,i[0].push(s),o=(1&u)==0?0:(3==(a=t.andln(7)+r&7)||5===a)&&2===l?-u:u,i[1].push(o),2*n===s+1&&(n=1-n),2*r===o+1&&(r=1-r),e.iushrn(1),t.iushrn(1)}return i},n.cachedProperty=function(e,t,i){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=i.call(this)}},n.parseBytes=o,n.intFromLE=function(e){return new r(e,"hex","le")}},28490(e,t,i){!function(e,t){"use strict";function n(e,t){if(!e)throw Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function a(e,t,i){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(i=t,t=10),this._init(e||0,t||10,i||"be"))}"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{u="u">typeof window&&void 0!==window.Buffer?window.Buffer:i(79667).Buffer}catch(e){}function s(e,t){var i=e.charCodeAt(t);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function o(e,t,i){var n=s(e,i);return i-1>=t&&(n|=s(e,i-1)<<4),n}function l(e,t,i,n){for(var r=0,a=Math.min(e.length,i),s=t;s=49?r+=o-49+10:o>=17?r+=o-17+10:r+=o}return r}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;s-=3)a=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=a<>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);else if("le"===i)for(s=0,r=0;s>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);return this.strip()},a.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r=0;r=t;r-=2)n=o(e,t,r)<=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;this.strip()},a.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=0x3ffffff;r*=t)n++;n--,r=r/t|0;for(var a=e.length-i,s=a%n,o=Math.min(a,a-s)+i,u=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?""};var u,d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];function f(e){for(var t=Array(e.bitLength()),i=0;i>>r}return t}function m(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],a=0|t.words[0],s=r*a,o=0x3ffffff&s,l=s/0x4000000|0;i.words[0]=o;for(var u=1;u>>26,c=0x3ffffff&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var m=u-f|0;d+=(s=(r=0|e.words[m])*(a=0|t.words[f])+c)/0x4000000|0,c=0x3ffffff&s}i.words[u]=0|c,l=0|d}return 0!==l?i.words[u]=0|l:i.length--,i.strip()}a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var i="",r=0,a=0,s=0;s>>24-r&0xffffff)||s!==this.length-1?d[6-l.length]+l+i:l+i,(r+=2)>=26&&(r-=26,s--)}for(0!==a&&(i=a.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var u=c[e],f=h[e];i="";var m=this.clone();for(m.negative=0;!m.isZero();){var g=m.modn(f).toString(e);i=(m=m.idivn(f)).isZero()?g+i:d[u-g.length]+g+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n(void 0!==u),this.toArrayLike(u,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,i){var r,a,s=this.byteLength(),o=i||Math.max(1,s);n(s<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var l="le"===t,u=new e(o),d=this.clone();if(l){for(a=0;!d.isZero();a++)r=d.andln(255),d.iushrn(8),u[a]=r;for(;a=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return(8191&t)==0&&(i+=13,t>>>=13),(127&t)==0&&(i+=7,t>>>=7),(15&t)==0&&(i+=4,t>>>=4),(3&t)==0&&(i+=2,t>>>=2),(1&t)==0&&i++,i},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){this.length>e.length?(t=this,i=e):(t=e,i=this);for(var t,i,n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&0x3ffffff>>26-i),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),t?this.words[i]=this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var t,i,n,r=0,a=0;a>>26;for(;0!==r&&a>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,i,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,i=e):(t=e,i=this);for(var a=0,s=0;s>26,this.words[s]=0x3ffffff&n;for(;0!==a&&s>26,this.words[s]=0x3ffffff&n;if(0===a&&s>>13,f=0|s[1],m=8191&f,g=f>>>13,p=0|s[2],_=8191&p,b=p>>>13,y=0|s[3],F=8191&y,k=y>>>13,w=0|s[4],C=8191&w,A=w>>>13,E=0|s[5],S=8191&E,x=E>>>13,D=0|s[6],T=8191&D,M=D>>>13,I=0|s[7],B=8191&I,P=I>>>13,N=0|s[8],R=8191&N,j=N>>>13,O=0|s[9],z=8191&O,q=O>>>13,W=0|o[0],V=8191&W,H=W>>>13,$=0|o[1],G=8191&$,X=$>>>13,K=0|o[2],Y=8191&K,Q=K>>>13,Z=0|o[3],J=8191&Z,ee=Z>>>13,et=0|o[4],ei=8191&et,en=et>>>13,er=0|o[5],ea=8191&er,es=er>>>13,eo=0|o[6],el=8191&eo,eu=eo>>>13,ed=0|o[7],ec=8191&ed,eh=ed>>>13,ef=0|o[8],em=8191&ef,eg=ef>>>13,ep=0|o[9],e_=8191&ep,ev=ep>>>13;i.negative=e.negative^t.negative,i.length=19,n=Math.imul(c,V);var eb=(u+n|0)+((8191&(r=(r=Math.imul(c,H))+Math.imul(h,V)|0))<<13)|0;u=((a=Math.imul(h,H))+(r>>>13)|0)+(eb>>>26)|0,eb&=0x3ffffff,n=Math.imul(m,V),r=(r=Math.imul(m,H))+Math.imul(g,V)|0,a=Math.imul(g,H),n=n+Math.imul(c,G)|0;var ey=(u+n|0)+((8191&(r=(r=r+Math.imul(c,X)|0)+Math.imul(h,G)|0))<<13)|0;u=((a=a+Math.imul(h,X)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,n=Math.imul(_,V),r=(r=Math.imul(_,H))+Math.imul(b,V)|0,a=Math.imul(b,H),n=n+Math.imul(m,G)|0,r=(r=r+Math.imul(m,X)|0)+Math.imul(g,G)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(c,Y)|0;var eF=(u+n|0)+((8191&(r=(r=r+Math.imul(c,Q)|0)+Math.imul(h,Y)|0))<<13)|0;u=((a=a+Math.imul(h,Q)|0)+(r>>>13)|0)+(eF>>>26)|0,eF&=0x3ffffff,n=Math.imul(F,V),r=(r=Math.imul(F,H))+Math.imul(k,V)|0,a=Math.imul(k,H),n=n+Math.imul(_,G)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(b,G)|0,a=a+Math.imul(b,X)|0,n=n+Math.imul(m,Y)|0,r=(r=r+Math.imul(m,Q)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(c,J)|0;var ek=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ee)|0)+Math.imul(h,J)|0))<<13)|0;u=((a=a+Math.imul(h,ee)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,n=Math.imul(C,V),r=(r=Math.imul(C,H))+Math.imul(A,V)|0,a=Math.imul(A,H),n=n+Math.imul(F,G)|0,r=(r=r+Math.imul(F,X)|0)+Math.imul(k,G)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,Q)|0,n=n+Math.imul(m,J)|0,r=(r=r+Math.imul(m,ee)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,ee)|0,n=n+Math.imul(c,ei)|0;var ew=(u+n|0)+((8191&(r=(r=r+Math.imul(c,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((a=a+Math.imul(h,en)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,n=Math.imul(S,V),r=(r=Math.imul(S,H))+Math.imul(x,V)|0,a=Math.imul(x,H),n=n+Math.imul(C,G)|0,r=(r=r+Math.imul(C,X)|0)+Math.imul(A,G)|0,a=a+Math.imul(A,X)|0,n=n+Math.imul(F,Y)|0,r=(r=r+Math.imul(F,Q)|0)+Math.imul(k,Y)|0,a=a+Math.imul(k,Q)|0,n=n+Math.imul(_,J)|0,r=(r=r+Math.imul(_,ee)|0)+Math.imul(b,J)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(m,ei)|0,r=(r=r+Math.imul(m,en)|0)+Math.imul(g,ei)|0,a=a+Math.imul(g,en)|0,n=n+Math.imul(c,ea)|0;var eC=(u+n|0)+((8191&(r=(r=r+Math.imul(c,es)|0)+Math.imul(h,ea)|0))<<13)|0;u=((a=a+Math.imul(h,es)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,n=Math.imul(T,V),r=(r=Math.imul(T,H))+Math.imul(M,V)|0,a=Math.imul(M,H),n=n+Math.imul(S,G)|0,r=(r=r+Math.imul(S,X)|0)+Math.imul(x,G)|0,a=a+Math.imul(x,X)|0,n=n+Math.imul(C,Y)|0,r=(r=r+Math.imul(C,Q)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Q)|0,n=n+Math.imul(F,J)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(_,ei)|0,r=(r=r+Math.imul(_,en)|0)+Math.imul(b,ei)|0,a=a+Math.imul(b,en)|0,n=n+Math.imul(m,ea)|0,r=(r=r+Math.imul(m,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0,n=n+Math.imul(c,el)|0;var eA=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eu)|0)+Math.imul(h,el)|0))<<13)|0;u=((a=a+Math.imul(h,eu)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,n=Math.imul(B,V),r=(r=Math.imul(B,H))+Math.imul(P,V)|0,a=Math.imul(P,H),n=n+Math.imul(T,G)|0,r=(r=r+Math.imul(T,X)|0)+Math.imul(M,G)|0,a=a+Math.imul(M,X)|0,n=n+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Q)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(C,J)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(A,J)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(F,ei)|0,r=(r=r+Math.imul(F,en)|0)+Math.imul(k,ei)|0,a=a+Math.imul(k,en)|0,n=n+Math.imul(_,ea)|0,r=(r=r+Math.imul(_,es)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,es)|0,n=n+Math.imul(m,el)|0,r=(r=r+Math.imul(m,eu)|0)+Math.imul(g,el)|0,a=a+Math.imul(g,eu)|0,n=n+Math.imul(c,ec)|0;var eE=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eh)|0)+Math.imul(h,ec)|0))<<13)|0;u=((a=a+Math.imul(h,eh)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,n=Math.imul(R,V),r=(r=Math.imul(R,H))+Math.imul(j,V)|0,a=Math.imul(j,H),n=n+Math.imul(B,G)|0,r=(r=r+Math.imul(B,X)|0)+Math.imul(P,G)|0,a=a+Math.imul(P,X)|0,n=n+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Q)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,Q)|0,n=n+Math.imul(S,J)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(x,J)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(C,ei)|0,r=(r=r+Math.imul(C,en)|0)+Math.imul(A,ei)|0,a=a+Math.imul(A,en)|0,n=n+Math.imul(F,ea)|0,r=(r=r+Math.imul(F,es)|0)+Math.imul(k,ea)|0,a=a+Math.imul(k,es)|0,n=n+Math.imul(_,el)|0,r=(r=r+Math.imul(_,eu)|0)+Math.imul(b,el)|0,a=a+Math.imul(b,eu)|0,n=n+Math.imul(m,ec)|0,r=(r=r+Math.imul(m,eh)|0)+Math.imul(g,ec)|0,a=a+Math.imul(g,eh)|0,n=n+Math.imul(c,em)|0;var eS=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eg)|0)+Math.imul(h,em)|0))<<13)|0;u=((a=a+Math.imul(h,eg)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,n=Math.imul(z,V),r=(r=Math.imul(z,H))+Math.imul(q,V)|0,a=Math.imul(q,H),n=n+Math.imul(R,G)|0,r=(r=r+Math.imul(R,X)|0)+Math.imul(j,G)|0,a=a+Math.imul(j,X)|0,n=n+Math.imul(B,Y)|0,r=(r=r+Math.imul(B,Q)|0)+Math.imul(P,Y)|0,a=a+Math.imul(P,Q)|0,n=n+Math.imul(T,J)|0,r=(r=r+Math.imul(T,ee)|0)+Math.imul(M,J)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(S,ei)|0,r=(r=r+Math.imul(S,en)|0)+Math.imul(x,ei)|0,a=a+Math.imul(x,en)|0,n=n+Math.imul(C,ea)|0,r=(r=r+Math.imul(C,es)|0)+Math.imul(A,ea)|0,a=a+Math.imul(A,es)|0,n=n+Math.imul(F,el)|0,r=(r=r+Math.imul(F,eu)|0)+Math.imul(k,el)|0,a=a+Math.imul(k,eu)|0,n=n+Math.imul(_,ec)|0,r=(r=r+Math.imul(_,eh)|0)+Math.imul(b,ec)|0,a=a+Math.imul(b,eh)|0,n=n+Math.imul(m,em)|0,r=(r=r+Math.imul(m,eg)|0)+Math.imul(g,em)|0,a=a+Math.imul(g,eg)|0,n=n+Math.imul(c,e_)|0;var ex=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ev)|0)+Math.imul(h,e_)|0))<<13)|0;u=((a=a+Math.imul(h,ev)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,n=Math.imul(z,G),r=(r=Math.imul(z,X))+Math.imul(q,G)|0,a=Math.imul(q,X),n=n+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Q)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,Q)|0,n=n+Math.imul(B,J)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(P,J)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(T,ei)|0,r=(r=r+Math.imul(T,en)|0)+Math.imul(M,ei)|0,a=a+Math.imul(M,en)|0,n=n+Math.imul(S,ea)|0,r=(r=r+Math.imul(S,es)|0)+Math.imul(x,ea)|0,a=a+Math.imul(x,es)|0,n=n+Math.imul(C,el)|0,r=(r=r+Math.imul(C,eu)|0)+Math.imul(A,el)|0,a=a+Math.imul(A,eu)|0,n=n+Math.imul(F,ec)|0,r=(r=r+Math.imul(F,eh)|0)+Math.imul(k,ec)|0,a=a+Math.imul(k,eh)|0,n=n+Math.imul(_,em)|0,r=(r=r+Math.imul(_,eg)|0)+Math.imul(b,em)|0,a=a+Math.imul(b,eg)|0,n=n+Math.imul(m,e_)|0;var eD=(u+n|0)+((8191&(r=(r=r+Math.imul(m,ev)|0)+Math.imul(g,e_)|0))<<13)|0;u=((a=a+Math.imul(g,ev)|0)+(r>>>13)|0)+(eD>>>26)|0,eD&=0x3ffffff,n=Math.imul(z,Y),r=(r=Math.imul(z,Q))+Math.imul(q,Y)|0,a=Math.imul(q,Q),n=n+Math.imul(R,J)|0,r=(r=r+Math.imul(R,ee)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,ee)|0,n=n+Math.imul(B,ei)|0,r=(r=r+Math.imul(B,en)|0)+Math.imul(P,ei)|0,a=a+Math.imul(P,en)|0,n=n+Math.imul(T,ea)|0,r=(r=r+Math.imul(T,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,n=n+Math.imul(S,el)|0,r=(r=r+Math.imul(S,eu)|0)+Math.imul(x,el)|0,a=a+Math.imul(x,eu)|0,n=n+Math.imul(C,ec)|0,r=(r=r+Math.imul(C,eh)|0)+Math.imul(A,ec)|0,a=a+Math.imul(A,eh)|0,n=n+Math.imul(F,em)|0,r=(r=r+Math.imul(F,eg)|0)+Math.imul(k,em)|0,a=a+Math.imul(k,eg)|0,n=n+Math.imul(_,e_)|0;var eT=(u+n|0)+((8191&(r=(r=r+Math.imul(_,ev)|0)+Math.imul(b,e_)|0))<<13)|0;u=((a=a+Math.imul(b,ev)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,n=Math.imul(z,J),r=(r=Math.imul(z,ee))+Math.imul(q,J)|0,a=Math.imul(q,ee),n=n+Math.imul(R,ei)|0,r=(r=r+Math.imul(R,en)|0)+Math.imul(j,ei)|0,a=a+Math.imul(j,en)|0,n=n+Math.imul(B,ea)|0,r=(r=r+Math.imul(B,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,n=n+Math.imul(T,el)|0,r=(r=r+Math.imul(T,eu)|0)+Math.imul(M,el)|0,a=a+Math.imul(M,eu)|0,n=n+Math.imul(S,ec)|0,r=(r=r+Math.imul(S,eh)|0)+Math.imul(x,ec)|0,a=a+Math.imul(x,eh)|0,n=n+Math.imul(C,em)|0,r=(r=r+Math.imul(C,eg)|0)+Math.imul(A,em)|0,a=a+Math.imul(A,eg)|0,n=n+Math.imul(F,e_)|0;var eM=(u+n|0)+((8191&(r=(r=r+Math.imul(F,ev)|0)+Math.imul(k,e_)|0))<<13)|0;u=((a=a+Math.imul(k,ev)|0)+(r>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,n=Math.imul(z,ei),r=(r=Math.imul(z,en))+Math.imul(q,ei)|0,a=Math.imul(q,en),n=n+Math.imul(R,ea)|0,r=(r=r+Math.imul(R,es)|0)+Math.imul(j,ea)|0,a=a+Math.imul(j,es)|0,n=n+Math.imul(B,el)|0,r=(r=r+Math.imul(B,eu)|0)+Math.imul(P,el)|0,a=a+Math.imul(P,eu)|0,n=n+Math.imul(T,ec)|0,r=(r=r+Math.imul(T,eh)|0)+Math.imul(M,ec)|0,a=a+Math.imul(M,eh)|0,n=n+Math.imul(S,em)|0,r=(r=r+Math.imul(S,eg)|0)+Math.imul(x,em)|0,a=a+Math.imul(x,eg)|0,n=n+Math.imul(C,e_)|0;var eI=(u+n|0)+((8191&(r=(r=r+Math.imul(C,ev)|0)+Math.imul(A,e_)|0))<<13)|0;u=((a=a+Math.imul(A,ev)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,n=Math.imul(z,ea),r=(r=Math.imul(z,es))+Math.imul(q,ea)|0,a=Math.imul(q,es),n=n+Math.imul(R,el)|0,r=(r=r+Math.imul(R,eu)|0)+Math.imul(j,el)|0,a=a+Math.imul(j,eu)|0,n=n+Math.imul(B,ec)|0,r=(r=r+Math.imul(B,eh)|0)+Math.imul(P,ec)|0,a=a+Math.imul(P,eh)|0,n=n+Math.imul(T,em)|0,r=(r=r+Math.imul(T,eg)|0)+Math.imul(M,em)|0,a=a+Math.imul(M,eg)|0,n=n+Math.imul(S,e_)|0;var eB=(u+n|0)+((8191&(r=(r=r+Math.imul(S,ev)|0)+Math.imul(x,e_)|0))<<13)|0;u=((a=a+Math.imul(x,ev)|0)+(r>>>13)|0)+(eB>>>26)|0,eB&=0x3ffffff,n=Math.imul(z,el),r=(r=Math.imul(z,eu))+Math.imul(q,el)|0,a=Math.imul(q,eu),n=n+Math.imul(R,ec)|0,r=(r=r+Math.imul(R,eh)|0)+Math.imul(j,ec)|0,a=a+Math.imul(j,eh)|0,n=n+Math.imul(B,em)|0,r=(r=r+Math.imul(B,eg)|0)+Math.imul(P,em)|0,a=a+Math.imul(P,eg)|0,n=n+Math.imul(T,e_)|0;var eP=(u+n|0)+((8191&(r=(r=r+Math.imul(T,ev)|0)+Math.imul(M,e_)|0))<<13)|0;u=((a=a+Math.imul(M,ev)|0)+(r>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,n=Math.imul(z,ec),r=(r=Math.imul(z,eh))+Math.imul(q,ec)|0,a=Math.imul(q,eh),n=n+Math.imul(R,em)|0,r=(r=r+Math.imul(R,eg)|0)+Math.imul(j,em)|0,a=a+Math.imul(j,eg)|0,n=n+Math.imul(B,e_)|0;var eL=(u+n|0)+((8191&(r=(r=r+Math.imul(B,ev)|0)+Math.imul(P,e_)|0))<<13)|0;u=((a=a+Math.imul(P,ev)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,n=Math.imul(z,em),r=(r=Math.imul(z,eg))+Math.imul(q,em)|0,a=Math.imul(q,eg),n=n+Math.imul(R,e_)|0;var eN=(u+n|0)+((8191&(r=(r=r+Math.imul(R,ev)|0)+Math.imul(j,e_)|0))<<13)|0;u=((a=a+Math.imul(j,ev)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,n=Math.imul(z,e_);var eR=(u+n|0)+((8191&(r=(r=Math.imul(z,ev))+Math.imul(q,e_)|0))<<13)|0;return u=((a=Math.imul(q,ev))+(r>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,l[0]=eb,l[1]=ey,l[2]=eF,l[3]=ek,l[4]=ew,l[5]=eC,l[6]=eA,l[7]=eE,l[8]=eS,l[9]=ex,l[10]=eD,l[11]=eT,l[12]=eM,l[13]=eI,l[14]=eB,l[15]=eP,l[16]=eL,l[17]=eN,l[18]=eR,0!==u&&(l[19]=u,i.length++),i};function p(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,a=0;a>>26)|0)>>>26,s&=0x3ffffff}i.words[a]=o,n=s,s=r}return 0!==n?i.words[a]=n:i.length--,i.strip()}function _(e,t,i){return new b().mulp(e,t,i)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=m),a.prototype.mulTo=function(e,t){var i,n=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):n<63?m(this,e,t):n<1024?p(this,e,t):_(this,e,t)},b.prototype.makeRBT=function(e){for(var t=Array(e),i=a.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,i,n,r,a){for(var s=0;s>>=1)r++;return 1<>>=13,i[2*s+1]=8191&a,a>>>=13;for(s=2*t;s>=26,t+=(r/0x4000000|0)+(a>>>26),this.words[i]=0x3ffffff&a}return 0!==t&&(this.words[i]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=f(e);if(0===t.length)return new a(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,a=0x3ffffff>>>26-i<<26-i;if(0!==i){var s=0;for(t=0;t>>26-i}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0);var r=t?(t-t%26)/26:0,a=e%26,s=Math.min((e-a)/26,this.length),o=0x3ffffff^0x3ffffff>>>a<s)for(this.length-=s,u=0;u=0&&(0!==d||u>=r);u--){var c=0|this.words[u];this.words[u]=d<<26-a|c>>>a,d=c&o}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=0x3ffffff^0x3ffffff>>>t<=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"==typeof e),n(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/0x4000000|0),this.words[r+i]=0x3ffffff&a}for(;r>26,this.words[r+i]=0x3ffffff&a;if(0===o)return this.strip();for(n(-1===o),o=0,r=0;r>26,this.words[r]=0x3ffffff&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var i,n=this.length-e.length,r=this.clone(),s=e,o=0|s.words[s.length-1];0!=(n=26-this._countBits(o))&&(s=s.ushln(n),r.iushln(n),o=0|s.words[s.length-1]);var l=r.length-s.length;if("mod"!==t){(i=new a(null)).length=l+1,i.words=Array(i.length);for(var u=0;u=0;c--){var h=(0|r.words[s.length+c])*0x4000000+(0|r.words[s.length+c-1]);for(h=Math.min(h/o|0,0x3ffffff),r._ishlnsubmul(s,h,c);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,c),r.isZero()||(r.negative^=1);i&&(i.words[c]=h)}return i&&i.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:i||null,mod:r}},a.prototype.divmod=function(e,t,i){var r,s,o;return(n(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(r=o.div.neg()),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(r=o.div.neg()),{div:r,mod:o.mod}):(this.negative&e.negative)!=0?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.isub(e)),{div:o.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),a=i.cmp(n);return a<0||1===r&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=0x3ffffff);for(var t=0x4000000%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},a.prototype.idivn=function(e){n(e<=0x3ffffff);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+0x4000000*t;this.words[i]=r/e|0,t=r%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new a(1),s=new a(0),o=new a(0),l=new a(1),u=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++u;for(var d=i.clone(),c=t.clone();!t.isZero();){for(var h=0,f=1;(t.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(c)),r.iushrn(1),s.iushrn(1);for(var m=0,g=1;(i.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(d),l.isub(c)),o.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(o),s.isub(l)):(i.isub(t),o.isub(r),l.isub(s))}return{a:o,b:l,gcd:i.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,i=this,r=e.clone();i=0!==i.negative?i.umod(e):i.clone();for(var s=new a(1),o=new a(0),l=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,d=1;(i.words[0]&d)==0&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,h=1;(r.words[0]&h)==0&&c<26;++c,h<<=1);if(c>0)for(r.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);i.cmp(r)>=0?(i.isub(r),s.isub(o)):(r.isub(i),o.isub(s))}return 0>(t=0===i.cmpn(1)?s:o).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var a=t;t=i,i=a}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,o&=0x3ffffff,this.words[s]=o}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=0x3ffffff,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new E(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function F(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){F.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){F.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){F.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){F.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}F.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},F.prototype.ireduce=function(e){var t,i=e;do this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(t>this.n);var n=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},F.prototype.split=function(e,t){e.iushrn(this.n,0,t)},F.prototype.imulK=function(e){return e.imul(this.k)},r(k,F),k.prototype.split=function(e,t){for(var i=4194303,n=Math.min(e.length,9),r=0;r>>22,a=s}a>>>=22,e.words[r-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},k.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(y[e])return y[e];if("k256"===e)t=new k;else if("p224"===e)t=new w;else if("p192"===e)t=new C;else if("p25519"===e)t=new A;else throw Error("Unknown prime "+e);return y[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n((e.negative|t.negative)==0,"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},E.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new a(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);n(!r.isZero());var o=new a(1).toRed(this),l=o.redNeg(),u=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,u).cmp(l);)d.redIAdd(l);for(var c=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),m=s;0!==f.cmp(o);){for(var g=f,p=0;0!==g.cmp(o);p++)g=g.redSqr();n(p=0;r--){for(var d=t.words[r],c=u-1;c>=0;c--){var h=d>>c&1;if(s!==n[0]&&(s=this.sqr(s)),0===h&&0===o){l=0;continue}o<<=1,o|=h,(++l===i||0===r&&0===c)&&(s=this.mul(s,n[o]),l=0,o=0)}u=26}return s},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new S(e)},r(S,E),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):0>r.cmpn(0)&&(a=r.iadd(this.m)),a._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=i.nmd(e),this)},43850(e){!function(t,i){e.exports=i()}("u">typeof self&&self,function(){return function(){var e={537:function(){"u">typeof window&&function(){for(var e=0,t=["ms","moz","webkit","o"],i=0;itypeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){"use strict";i.r(n),i.d(n,{Anchors:function(){return C},Category:function(){return K},Emoji:function(){return X},EmojiData:function(){return z},EmojiIndex:function(){return O},EmojiView:function(){return q},Picker:function(){return er},Preview:function(){return Q},Search:function(){return Z},Skins:function(){return Y},frequently:function(){return F},sanitize:function(){return W},store:function(){return l},uncompress:function(){return p}});var e,t,r="emoji-mart",a=JSON,s="u">typeof window&&"localStorage"in window;function o(e,i){if(t)t(e,i);else{if(!s)return;try{window.localStorage["".concat(r,".").concat(e)]=a.stringify(i)}catch(e){}}}var l={update:function(e){for(var t in e)o(t,e[t])},set:o,get:function(t){if(e)return e(t);if(s){try{var i=window.localStorage["".concat(r,".").concat(t)]}catch(e){return}return i?JSON.parse(i):void 0}},setNamespace:function(e){r=e},setHandlers:function(i){i||(i={}),e=i.getter,t=i.setter}};function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);itypeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return d(e,void 0);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?d(e,void 0):void 0}}(e))){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==i.return||i.return()}finally{if(o)throw a}}}}(Object.getOwnPropertyNames(e));try{for(i.s();!(t=i.n()).done;){var n=t.value,r=e[n];e[n]=r&&"object"===u(r)?f(r):r}}catch(e){i.e(e)}finally{i.f()}return Object.freeze(e)}var m,g,p=function(e){if(!e.compressed)return e;for(var t in e.compressed=!1,e.emojis){var i=e.emojis[t];for(var n in c)i[n]=i[c[n]],delete i[c[n]];i.short_names||(i.short_names=[]),i.short_names.unshift(t),i.sheet_x=i.sheet[0],i.sheet_y=i.sheet[1],delete i.sheet,i.text||(i.text=""),i.added_in||(i.added_in=6),i.added_in=i.added_in.toFixed(1),i.search=h(i)}return f(e)},_=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","hankey"],b={};function y(){g=!0,m=l.get("frequently")}var F={add:function(e){g||y();var t=e.id;m||(m=b),m[t]||(m[t]=0),m[t]+=1,l.set("last",t),l.set("frequently",m)},get:function(e){if(g||y(),!m){b={};for(var t=[],i=Math.min(e,_.length),n=0;n',custom:'',flags:'',foods:'',nature:'',objects:'',smileys:'',people:' ',places:'',recent:'',symbols:''};function w(e,t,i,n,r,a,s,o){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),s?u._ssrRegister=l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"u"1114111||Math.floor(s)!=s)throw RangeError("Invalid code point: "+s);s<=65535?i.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,i.push(e,t)),(n+1===r||i.length>16384)&&(a+=String.fromCharCode.apply(null,i),i.length=0)}return a};function T(e){var t=e.split("-").map(function(e){return"0x".concat(e)});return D.apply(null,t)}function M(e){return e.reduce(function(e,t){return -1===e.indexOf(t)&&e.push(t),e},[])}function I(e,t){var i=M(e),n=M(t);return i.filter(function(e){return n.indexOf(e)>=0})}function B(e,t){var i={};for(var n in e){var r=e[n],a=r;Object.prototype.hasOwnProperty.call(t,n)&&(a=t[n]),"object"===u(a)&&(a=B(r,a)),i[n]=a}return i}function P(e,t){var i="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return N(e,void 0);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?N(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==i.return||i.return()}finally{if(o)throw a}}}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i1&&void 0!==arguments[1]?arguments[1]:{},n=i.emojisToShowFilter,r=i.include,a=i.exclude,s=i.custom,o=i.recent,l=i.recentLength,u=void 0===l?20:l;A(this,e),this._data=p(t),this._emojisFilter=n||null,this._include=r||null,this._exclude=a||null,this._custom=s||[],this._recent=o||F.get(u),this._emojis={},this._nativeEmojis={},this._emoticons={},this._categories=[],this._recentCategory={id:"recent",name:"Recent",emojis:[]},this._customCategory={id:"custom",name:"Custom",emojis:[]},this._searchIndex={},this.buildIndex(),Object.freeze(this)},[{key:"buildIndex",value:function(){var e=this,t=this._data.categories;if(this._include&&(t=(t=t.filter(function(t){return e._include.includes(t.id)})).sort(function(t,i){var n=e._include.indexOf(t.id),r=e._include.indexOf(i.id);return nr)})),t.forEach(function(t){if(e.isCategoryNeeded(t.id)){var i={id:t.id,name:t.name,emojis:[]};t.emojis.forEach(function(t){var n=e.addEmoji(t);n&&i.emojis.push(n)}),i.emojis.length&&e._categories.push(i)}}),this.isCategoryNeeded("custom")){if(this._custom.length>0){var i,n=P(this._custom);try{for(n.s();!(i=n.n()).done;){var r=i.value;this.addCustomEmoji(r)}}catch(e){n.e(e)}finally{n.f()}}this._customCategory.emojis.length&&this._categories.push(this._customCategory)}this.isCategoryNeeded("recent")&&(this._recent.length&&this._recent.map(function(t){var i,n=P(e._customCategory.emojis);try{for(n.s();!(i=n.n()).done;){var r=i.value;if(r.id===t)return void e._recentCategory.emojis.push(r)}}catch(e){n.e(e)}finally{n.f()}e.hasEmoji(t)&&e._recentCategory.emojis.push(e.emoji(t))}),this._recentCategory.emojis.length&&this._categories.unshift(this._recentCategory))}},{key:"findEmoji",value:function(e,t){var i=e.match(R);if(i&&(e=i[1],i[2]&&(t=parseInt(i[2],10))),this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),this._emojis.hasOwnProperty(e)){var n=this._emojis[e];return t?n.getSkin(t):n}return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}},{key:"categories",value:function(){return this._categories}},{key:"emoji",value:function(e){this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]);var t=this._emojis[e];if(!t)throw Error("Can not find emoji by id: "+e);return t}},{key:"firstEmoji",value:function(){var e=this._emojis[Object.keys(this._emojis)[0]];if(!e)throw Error("Can not get first emoji");return e}},{key:"hasEmoji",value:function(e){return this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),!!this._emojis[e]}},{key:"nativeEmoji",value:function(e){return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}},{key:"search",value:function(e,t){var i=this;if(t||(t=75),!e.length)return null;if("-"==e||"-1"==e)return[this.emoji("-1")];var n,r=e.toLowerCase().split(/[\s|,|\-|_]+/);r.length>2&&(r=[r[0],r[1]]);var a=null;return(a=(n=r.map(function(e){for(var t=i._emojis,n=i._searchIndex,r=0,a=function(){var i=e[s];if(r++,n[i]||(n[i]={}),!(n=n[i]).results){var a={};for(var o in n.results=[],n.emojis={},t){var l=t[o],u=l._data.search,d=e.substr(0,r),c=u.indexOf(d);if(-1!=c){var h=c+1;d==o&&(h=0),n.results.push(l),n.emojis[o]=l,a[o]=h}}n.results.sort(function(e,t){return a[e.id]-a[t.id]})}t=n.emojis},s=0;s1?I.apply(null,n):n.length?n[0]:[])&&a.length>t&&(a=a.slice(0,t)),a}},{key:"addCustomEmoji",value:function(e){var t=Object.assign({},e,{id:e.short_names[0],custom:!0});t.search||(t.search=h(t));var i=new z(t);return this._emojis[i.id]=i,this._customCategory.emojis.push(i),i}},{key:"addEmoji",value:function(e){var t=this,i=this._data.emojis[e];if(!this.isEmojiNeeded(i))return!1;var n=new z(i);if(this._emojis[e]=n,n.native&&(this._nativeEmojis[n.native]=n),n._skins)for(var r in n._skins){var a=n._skins[r];a.native&&(this._nativeEmojis[a.native]=a)}return n.emoticons&&n.emoticons.forEach(function(i){t._emoticons[i]||(t._emoticons[i]=e)}),n}},{key:"isCategoryNeeded",value:function(e){var t=!this._include||!this._include.length||this._include.indexOf(e)>-1,i=!(!this._exclude||!this._exclude.length)&&this._exclude.indexOf(e)>-1;return!(!t||i)}},{key:"isEmojiNeeded",value:function(e){return!this._emojisFilter||this._emojisFilter(e)}}])}(),z=function(){return x(function e(t){if(A(this,e),this._data=Object.assign({},t),this._skins=null,this._data.skin_variations)for(var i in this._skins=[],j){var n=j[i],r=this._data.skin_variations[n],a=Object.assign({},t);for(var s in r)a[s]=r[s];delete a.skin_variations,a.skin_tone=parseInt(i)+1,this._skins.push(new e(a))}for(var o in this._sanitized=W(this._data),this._sanitized)this[o]=this._sanitized[o];this.short_names=this._data.short_names,this.short_name=this._data.short_names[0],Object.freeze(this)},[{key:"getSkin",value:function(e){return e&&"native"!=e&&this._skins?this._skins[e-1]:this}},{key:"getPosition",value:function(){var e=+(100/60*this._data.sheet_x).toFixed(2),t=+(100/60*this._data.sheet_y).toFixed(2);return"".concat(e,"% ").concat(t,"%")}},{key:"ariaLabel",value:function(){return[this.native].concat(this.short_names).filter(Boolean).join(", ")}}])}(),q=function(){return x(function e(t,i,n,r,a,s,o){A(this,e),this._emoji=t,this._native=r,this._skin=i,this._set=n,this._fallback=a,this.canRender=this._canRender(),this.cssClass=this._cssClass(),this.cssStyle=this._cssStyle(o),this.content=this._content(),this.title=!0===s?t.short_name:null,this.ariaLabel=t.ariaLabel(),Object.freeze(this)},[{key:"getEmoji",value:function(){return this._emoji.getSkin(this._skin)}},{key:"_canRender",value:function(){return this._isCustom()||this._isNative()||this._hasEmoji()||this._fallback}},{key:"_cssClass",value:function(){return["emoji-set-"+this._set,"emoji-type-"+this._emojiType()]}},{key:"_cssStyle",value:function(e){var t={};return this._isCustom()?t={backgroundImage:"url("+this.getEmoji()._data.imageUrl+")",backgroundSize:"100%",width:e+"px",height:e+"px"}:this._hasEmoji()&&!this._isNative()&&(t={backgroundPosition:this.getEmoji().getPosition()}),e&&(t=this._isNative()?Object.assign(t,{fontSize:Math.round(.95*e*10)/10+"px"}):Object.assign(t,{width:e+"px",height:e+"px"})),t}},{key:"_content",value:function(){return this._isCustom()?"":this._isNative()?this.getEmoji().native:this._hasEmoji()?"":this._fallback?this._fallback(this.getEmoji()):null}},{key:"_isNative",value:function(){return this._native}},{key:"_isCustom",value:function(){return this.getEmoji().custom}},{key:"_hasEmoji",value:function(){if(!this.getEmoji()._data)return!1;var e=this.getEmoji()._data["has_img_"+this._set];return void 0===e||e}},{key:"_emojiType",value:function(){return this._isCustom()?"custom":this._isNative()?"native":this._hasEmoji()?"image":"fallback"}}])}();function W(e){var t=e.name,i=e.short_names,n=e.skin_tone,r=e.skin_variations,a=e.emoticons,s=e.unified,o=e.custom,l=e.imageUrl,u=e.id||i[0],d=":".concat(u,":");return o?{id:u,name:t,colons:d,emoticons:a,custom:o,imageUrl:l}:(n&&(d+=":skin-tone-".concat(n,":")),{id:u,name:t,colons:d,emoticons:a,unified:s.toLowerCase(),skin:n||(r?1:null),native:T(s)})}function V(e,t,i){return(t=E(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var H={perLine:{type:Number,default:9},maxSearchResults:{type:Number,default:75},emojiSize:{type:Number,default:24},title:{type:String,default:"Emoji Mart™"},emoji:{type:String,default:"department_store"},color:{type:String,default:"#ae65c5"},set:{type:String,default:"apple"},skin:{type:Number,default:null},defaultSkin:{type:Number,default:1},native:{type:Boolean,default:!1},emojiTooltip:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},i18n:{type:Object,default:function(){return{}}},showPreview:{type:Boolean,default:!0},showSearch:{type:Boolean,default:!0},showCategories:{type:Boolean,default:!0},showSkinTones:{type:Boolean,default:!0},infiniteScroll:{type:Boolean,default:!0},pickerStyles:{type:Object,default:function(){return{}}}};function $(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function G(e){for(var t=1;t0},emojiObjects:function(){var e=this;return this.emojis.map(function(t){return{emojiObject:t,emojiView:new q(t,e.emojiProps.skin,e.emojiProps.set,e.emojiProps.native,e.emojiProps.fallback,e.emojiProps.emojiTooltip,e.emojiProps.emojiSize)}})}},components:{Emoji:X}},function(){var e=this,t=e._self._c;return e.isVisible&&(e.isSearch||e.hasResults)?t("section",{class:{"emoji-mart-category":!0,"emoji-mart-no-results":!e.hasResults},attrs:{"aria-label":e.i18n.categories[e.id]}},[t("div",{staticClass:"emoji-mart-category-label"},[t("h3",{staticClass:"emoji-mart-category-label"},[e._v(e._s(e.i18n.categories[e.id]))])]),e._v(" "),e._l(e.emojiObjects,function(i){var n=i.emojiObject,r=i.emojiView;return[r.canRender?t("button",{key:n.id,staticClass:"emoji-mart-emoji",class:e.activeClass(n),attrs:{"aria-label":r.ariaLabel,role:"option","aria-selected":"false","aria-posinset":"1","aria-setsize":"1812",type:"button","data-title":n.short_name,title:r.title},on:{mouseenter:function(t){e.emojiProps.onEnter(r.getEmoji())},mouseleave:function(t){e.emojiProps.onLeave(r.getEmoji())},click:function(t){e.emojiProps.onClick(r.getEmoji())}}},[t("span",{class:r.cssClass,style:r.cssStyle},[e._v(e._s(r.content))])]):e._e()]}),e._v(" "),e.hasResults?e._e():t("div",[t("emoji",{attrs:{data:e.data,emoji:"sleuth_or_spy",native:e.emojiProps.native,skin:e.emojiProps.skin,set:e.emojiProps.set}}),e._v(" "),t("div",{staticClass:"emoji-mart-no-results-label"},[e._v(e._s(e.i18n.notfound))])],1)],2):e._e()},[],!1,null,null,null).exports,Y=w({props:{skin:{type:Number,required:!0}},emits:["change"],data:function(){return{opened:!1}},methods:{onClick:function(e){this.opened&&e!=this.skin&&this.$emit("change",e),this.opened=!this.opened}}},function(){var e=this,t=e._self._c;return t("div",{class:{"emoji-mart-skin-swatches":!0,"emoji-mart-skin-swatches-opened":e.opened}},e._l(6,function(i){return t("span",{key:i,class:{"emoji-mart-skin-swatch":!0,"emoji-mart-skin-swatch-selected":e.skin==i}},[t("span",{class:"emoji-mart-skin emoji-mart-skin-tone-"+i,on:{click:function(t){return e.onClick(i)}}})])}),0)},[],!1,null,null,null).exports,Q=w({props:{data:{type:Object,required:!0},title:{type:String,required:!0},emoji:{type:[String,Object]},idleEmoji:{type:[String,Object],required:!0},showSkinTones:{type:Boolean,default:!0},emojiProps:{type:Object,required:!0},skinProps:{type:Object,required:!0},onSkinChange:{type:Function,required:!0}},computed:{emojiData:function(){return this.emoji?this.emoji:{}},emojiShortNames:function(){return this.emojiData.short_names},emojiEmoticons:function(){return this.emojiData.emoticons}},components:{Emoji:X,Skins:Y}},function(){var e=this,t=e._self._c;return t("div",{staticClass:"emoji-mart-preview"},[e.emoji?[t("div",{staticClass:"emoji-mart-preview-emoji"},[t("emoji",{attrs:{data:e.data,emoji:e.emoji,native:e.emojiProps.native,skin:e.emojiProps.skin,set:e.emojiProps.set}})],1),e._v(" "),t("div",{staticClass:"emoji-mart-preview-data"},[t("div",{staticClass:"emoji-mart-preview-name"},[e._v(e._s(e.emoji.name))]),e._v(" "),t("div",{staticClass:"emoji-mart-preview-shortnames"},e._l(e.emojiShortNames,function(i){return t("span",{key:i,staticClass:"emoji-mart-preview-shortname"},[e._v(":"+e._s(i)+":")])}),0),e._v(" "),t("div",{staticClass:"emoji-mart-preview-emoticons"},e._l(e.emojiEmoticons,function(i){return t("span",{key:i,staticClass:"emoji-mart-preview-emoticon"},[e._v(e._s(i))])}),0)])]:[t("div",{staticClass:"emoji-mart-preview-emoji"},[t("emoji",{attrs:{data:e.data,emoji:e.idleEmoji,native:e.emojiProps.native,skin:e.emojiProps.skin,set:e.emojiProps.set}})],1),e._v(" "),t("div",{staticClass:"emoji-mart-preview-data"},[t("span",{staticClass:"emoji-mart-title-label"},[e._v(e._s(e.title))])]),e._v(" "),e.showSkinTones?t("div",{staticClass:"emoji-mart-preview-skins"},[t("skins",{attrs:{skin:e.skinProps.skin},on:{change:function(t){return e.onSkinChange(t)}}})],1):e._e()]],2)},[],!1,null,null,null).exports,Z=w({props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},autoFocus:{type:Boolean,default:!1},onSearch:{type:Function,required:!0},onArrowLeft:{type:Function,required:!1},onArrowRight:{type:Function,required:!1},onArrowDown:{type:Function,required:!1},onArrowUp:{type:Function,required:!1},onEnter:{type:Function,required:!1}},emits:["search","enter","arrowUp","arrowDown","arrowRight","arrowLeft"],data:function(){return{value:""}},computed:{emojiIndex:function(){return this.data}},watch:{value:function(){this.$emit("search",this.value)}},methods:{clear:function(){this.value=""}},mounted:function(){var e=this.$el.querySelector("input");this.autoFocus&&e.focus()}},function(){var e=this,t=e._self._c;return t("div",{staticClass:"emoji-mart-search"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],attrs:{type:"text",placeholder:e.i18n.search,role:"textbox","aria-autocomplete":"list","aria-owns":"emoji-mart-list","aria-label":"Search for an emoji","aria-describedby":"emoji-mart-search-description"},domProps:{value:e.value},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(function(t){return e.$emit("arrowLeft",t)}).apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:(function(){return e.$emit("arrowRight")}).apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(function(){return e.$emit("arrowDown")}).apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(function(t){return e.$emit("arrowUp",t)}).apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(function(){return e.$emit("enter")}).apply(null,arguments)}],input:function(t){t.target.composing||(e.value=t.target.value)}}}),e._v(" "),t("span",{staticClass:"hidden",attrs:{id:"emoji-picker-search-description"}},[e._v("Use the left, right, up and down arrow keys to navigate the emoji search\n results.")])])},[],!1,null,null,null).exports;function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);itypeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return J(e,void 0);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?J(e,void 0):void 0}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),this._categories=this._categories.filter(function(e){return e.emojis.length>0}),this._categories[0].first=!0,Object.freeze(this._categories),this.activeCategory=this._categories[0],this.searchEmojis=null,this.previewEmoji=null,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=-1},[{key:"onScroll",value:function(){var e=this._vm.$refs.scroll;if(e){for(var t=e.scrollTop,i=this.filteredCategories[0],n=0,r=this.filteredCategories.length;nt)break;i=a}this.activeCategory=i}}},{key:"allCategories",get:function(){return this._categories}},{key:"filteredCategories",get:function(){return this.searchEmojis?[{id:"search",name:"Search",emojis:this.searchEmojis}]:this._categories.filter(function(e){return e.emojis.length>0})}},{key:"previewEmojiCategory",get:function(){return this.previewEmojiCategoryIdx>=0?this.filteredCategories[this.previewEmojiCategoryIdx]:null}},{key:"onAnchorClick",value:function(e){var t=this;if(!this.searchEmojis){var i=this.filteredCategories.indexOf(e),n=this._vm.getCategoryComponent(i);this._vm.infiniteScroll?function(){if(n){var i=n.$el.offsetTop;e.first&&(i=0),t._vm.$refs.scroll.scrollTop=i}}():this.activeCategory=this.filteredCategories[i]}}},{key:"onSearch",value:function(e){var t=this._data.search(e,this.maxSearchResults);this.searchEmojis=t,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=0,this.updatePreviewEmoji()}},{key:"onEmojiEnter",value:function(e){this.previewEmoji=e,this.previewEmojiIdx=-1,this.previewEmojiCategoryIdx=-1}},{key:"onEmojiLeave",value:function(e){this.previewEmoji=null}},{key:"onArrowLeft",value:function(){this.previewEmojiIdx>0?this.previewEmojiIdx-=1:(this.previewEmojiCategoryIdx-=1,this.previewEmojiCategoryIdx<0?this.previewEmojiCategoryIdx=0:this.previewEmojiIdx=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length-1),this.updatePreviewEmoji()}},{key:"onArrowRight",value:function(){this.previewEmojiIdx=this.filteredCategories.length?this.previewEmojiCategoryIdx=this.filteredCategories.length-1:this.previewEmojiIdx=0),this.updatePreviewEmoji()}},{key:"onArrowDown",value:function(){if(-1==this.previewEmojiIdx)return this.onArrowRight();var e=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length,t=this._perLine;this.previewEmojiIdx+t>e&&(t=e%this._perLine);for(var i=0;i0?this.filteredCategories[this.previewEmojiCategoryIdx-1].emojis.length%this._perLine:0);for(var t=0;tn+t.scrollTop&&(t.scrollTop+=i.offsetHeight),i&&i.offsetToptypeof window&&function(){for(var e=0,t=["ms","moz","webkit","o"],i=0;i]/;e.exports=function e(e){var i,n=""+e,r=t.exec(n);if(!r)return n;var a="",s=0,o=0;for(s=r.index;s0&&o.length>a&&!o.warned){o.warned=!0;var a,s,o,d=Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=o.length,r(d)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,i){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:i},r=c.bind(n);return r.listener=i,n.wrapFn=r,r}function f(e,t,i){var n=e._events;if(void 0===n)return[];var r=n[t];return void 0===r?[]:"function"==typeof r?i?[r.listener||r]:[r]:i?_(r):g(r,r.length)}function m(e){var t=this._events;if(void 0!==t){var i=t[e];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function g(e,t){for(var i=Array(t),n=0;n0&&(s=t[0]),s instanceof Error)throw s;var s,o=Error("Unhandled error."+(s?" ("+s.message+")":""));throw o.context=s,o}var l=a[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else for(var u=l.length,d=g(l,u),i=0;i=0;a--)if(i[a]===t||i[a].listener===t){s=i[a].listener,r=a;break}if(r<0)return this;0===r?i.shift():p(i,r),1===i.length&&(n[e]=i[0]),void 0!==n.removeListener&&this.emit("removeListener",e,s||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,i,n;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[e]),this;if(0==arguments.length){var r,a=Object.keys(i);for(n=0;n=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return f(this,e,!0)},s.prototype.rawListeners=function(e){return f(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},68078(e,t,i){var n=i(92861).Buffer,r=i(88276);e.exports=function(e,t,i,a){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw RangeError("salt should be Buffer with 8 byte length");for(var s=i/8,o=n.alloc(s),l=n.alloc(a||0),u=n.alloc(0);s>0||a>0;){var d=new r;d.update(u),d.update(e),t&&d.update(t),u=d.digest();var c=0;if(s>0){var h=o.length-s;c=Math.min(s,u.length),u.copy(o,h,0,c),s-=c}if(c0){var f=l.length-a,m=Math.min(a,u.length-c);u.copy(l,f,c,c+m),a-=m}}return u.fill(0),{key:o,iv:l}}},92849(e){"use strict";var t=Object.prototype.hasOwnProperty,i=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},s=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var n,r=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!a)return!1;for(n in e);return void 0===n||t.call(e,n)},o=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,i){if("__proto__"===i){if(!t.call(e,i))return;else if(r)return r(e,i).value}return e[i]};e.exports=function e(){var t,i,n,r,u,d,c=arguments[0],h=1,f=arguments.length,m=!1;for("boolean"==typeof c&&(m=c,c=arguments[1]||{},h=2),(null==c||"object"!=typeof c&&"function"!=typeof c)&&(c={});hM});var n=i(49054);function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);itypeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=y(e))||t){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==i.return||i.return()}finally{if(o)throw a}}}}function u(e,t,i){return(t=b(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function d(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function f(e){for(var t=1;t3?(r=m===n)&&(l=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=e):a[0]<=f&&((r=i<2&&fn||n>m)&&(a[4]=i,a[5]=n,h.n=m,o=0))}if(r||i>1)return s;throw c=!0,n}return function(r,d,m){if(u>1)throw TypeError("Generator is already running");for(c&&1===d&&f(d,m),o=d,l=m;(t=o<2?e:l)||!c;){a||(o?o<3?(o>1&&(h.n=-1),f(o,l)):h.n=l:h.v=l);try{if(u=2,a){if(o||(r="next"),t=a[r]){if(!(t=t.call(a,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,o<2&&(o=0)}else 1===o&&(t=a.return)&&t.call(a),o<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),o=1);a=e}else if((t=(c=h.n<0)?l:i.call(n,h))!==s)break}catch(t){a=e,o=1,l=t}finally{u=1}}return{value:t,done:c}}}(i,r,a),!0),l}var s={};function o(){}function l(){}function u(){}t=Object.getPrototypeOf;var d=u.prototype=o.prototype=Object.create([][n]?t(t([][n]())):(g(t={},n,function(){return this}),t));function c(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,g(e,r,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=u,g(d,"constructor",u),g(u,"constructor",l),l.displayName="GeneratorFunction",g(u,r,"GeneratorFunction"),g(d),g(d,r,"Generator"),g(d,n,function(){return this}),g(d,"toString",function(){return"[object Generator]"}),(m=function(){return{w:a,m:c}})()}function g(e,t,i,n){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}(g=function(e,t,i,n){function a(t,i){g(e,t,function(e){return this._invoke(t,i,e)})}t?r?r(e,t,{value:i,enumerable:!n,configurable:!n,writable:!n}):e[t]=i:(a("next",0),a("throw",1),a("return",2))})(e,t,i,n)}function p(e){return a(e)||d(e)||y(e)||c()}function _(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t);if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function b(e){var t=_(e,"string");return"symbol"==typeof t?t:t+""}function y(e,t){if(e){if("string"==typeof e)return r(e,t);var i=({}).toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(e,t):void 0}}var F={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){t!==F.getActiveTrap(e)&&F.pauseTrap(e);var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var i=e.indexOf(t);-1!==i&&e.splice(i,1),F.unpauseTrap(e)},pauseTrap:function(e){var t=F.getActiveTrap(e);null==t||t._setPausedState(!0)},unpauseTrap:function(e){var t=F.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},k=function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select},w=function(e){return(null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27},C=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},A=function(e){return C(e)&&!e.shiftKey},E=function(e){return C(e)&&e.shiftKey},S=function(e){return setTimeout(e,0)},x=function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n1&&void 0!==arguments[1]?arguments[1]:{},i=t.hasFallback,n=void 0!==i&&i,a=t.params,o=void 0===a?[]:a,l=s[e];if("function"==typeof l&&(l=l.apply(void 0,p(o))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var u=l;if("string"==typeof l){try{u=r.querySelector(l)}catch(t){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!u&&!n)throw Error("`".concat(e,"` as selector refers to no known node"))}return u},g=function(){var e=h("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,n.tp)(e,s.tabbableOptions))if(c(r.activeElement)>=0)e=r.activeElement;else{var t=u.tabbableGroups[0];e=t&&t.firstTabbableNode||h("fallbackFocus")}else null===e&&(e=h("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},_=function(){if(u.containerGroups=u.containers.map(function(e){var t=(0,n.Kr)(e,s.tabbableOptions),i=(0,n.nq)(e,s.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=i.find(function(e){return(0,n.AO)(e)}),l=i.slice().reverse().find(function(e){return(0,n.AO)(e)}),u=!!t.find(function(e){return(0,n.yT)(e)>0});return{container:e,tabbableNodes:t,focusableNodes:i,posTabIndexesFound:u,firstTabbableNode:r,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:l,nextTabbableNode:function(e){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=t.indexOf(e);return a<0?r?i.slice(i.indexOf(e)+1).find(function(e){return(0,n.AO)(e)}):i.slice(0,i.indexOf(e)).reverse().find(function(e){return(0,n.AO)(e)}):t[a+(r?1:-1)]}}}),u.tabbableGroups=u.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),u.tabbableGroups.length<=0&&!h("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(u.containerGroups.find(function(e){return e.posTabIndexesFound})&&u.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},b=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?b(t.shadowRoot):t},y=function(e){if(!1!==e&&e!==b(document)){if(!e||!e.focus)return void y(g());e.focus({preventScroll:!!s.preventScroll}),u.mostRecentlyFocusedNode=e,k(e)&&e.select()}},M=function(e){var t=h("setReturnFocus",{params:[e]});return t||!1!==t&&e},I=function(e){var t=e.target,i=e.event,r=e.isBackward,a=void 0!==r&&r;t=t||D(i),_();var o=null;if(u.tabbableGroups.length>0){var l=c(t,i),d=l>=0?u.containerGroups[l]:void 0;if(l<0)o=a?u.tabbableGroups[u.tabbableGroups.length-1].lastTabbableNode:u.tabbableGroups[0].firstTabbableNode;else if(a){var f=u.tabbableGroups.findIndex(function(e){var i=e.firstTabbableNode;return t===i});if(f<0&&(d.container===t||(0,n.tp)(t,s.tabbableOptions)&&!(0,n.AO)(t,s.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(f=l),f>=0){var m=0===f?u.tabbableGroups.length-1:f-1,g=u.tabbableGroups[m];o=(0,n.yT)(t)>=0?g.lastTabbableNode:g.lastDomTabbableNode}else C(i)||(o=d.nextTabbableNode(t,!1))}else{var p=u.tabbableGroups.findIndex(function(e){var i=e.lastTabbableNode;return t===i});if(p<0&&(d.container===t||(0,n.tp)(t,s.tabbableOptions)&&!(0,n.AO)(t,s.tabbableOptions)&&!d.nextTabbableNode(t))&&(p=l),p>=0){var b=p===u.tabbableGroups.length-1?0:p+1,y=u.tabbableGroups[b];o=(0,n.yT)(t)>=0?y.firstTabbableNode:y.firstDomTabbableNode}else C(i)||(o=d.nextTabbableNode(t))}}else o=h("fallbackFocus");return o},B=function(e){c(D(e),e)>=0||(x(s.clickOutsideDeactivates,e)?i.deactivate({returnFocus:s.returnFocusOnDeactivate}):x(s.allowOutsideClick,e)||e.preventDefault())},P=function(e){var t=D(e),i=c(t,e)>=0;if(i||t instanceof Document)i&&(u.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,a=!0;if(u.mostRecentlyFocusedNode)if((0,n.yT)(u.mostRecentlyFocusedNode)>0){var o=c(u.mostRecentlyFocusedNode),l=u.containerGroups[o].tabbableNodes;if(l.length>0){var d=l.findIndex(function(e){return e===u.mostRecentlyFocusedNode});d>=0&&(s.isKeyForward(u.recentNavEvent)?d+1=0&&(r=l[d-1],a=!1))}}else u.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,n.yT)(e)>0})})||(a=!1);else a=!1;a&&(r=I({target:u.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(u.recentNavEvent)})),r?y(r):y(u.mostRecentlyFocusedNode||g())}u.recentNavEvent=void 0},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u.recentNavEvent=e;var i=I({event:e,isBackward:t});i&&(C(e)&&e.preventDefault(),y(i))},R=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&N(e,s.isKeyBackward(e))},j=function(e){w(e)&&!1!==x(s.escapeDeactivates,e)&&(e.preventDefault(),i.deactivate())},O=function(e){c(D(e),e)>=0||x(s.clickOutsideDeactivates,e)||x(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},z=function(){var e;return u.active?(F.activateTrap(a,i),s.delayInitialFocus?e=new Promise(function(e){u.delayInitialFocusTimer=S(function(){y(g()),e()})}):(e=Promise.resolve(),y(g())),r.addEventListener("focusin",P,!0),r.addEventListener("mousedown",B,{capture:!0,passive:!1}),r.addEventListener("touchstart",B,{capture:!0,passive:!1}),r.addEventListener("click",O,{capture:!0,passive:!1}),r.addEventListener("keydown",R,{capture:!0,passive:!1}),r.addEventListener("keydown",j),e):Promise.resolve()},q=function(e){u.active&&!u.paused&&i._setSubtreeIsolation(!1),u.adjacentElements.clear(),u.alreadySilent.clear();var t,n=new Set,r=new Set,a=l(e);try{for(a.s();!(t=a.n()).done;){var s=t.value;n.add(s);for(var o="u">typeof ShadowRoot&&s.getRootNode()instanceof ShadowRoot,d=s;d;){n.add(d);var c=d.parentElement,h=[];c?h=c.children:!c&&o&&(h=d.getRootNode().children,c=d.getRootNode().host,o="u">typeof ShadowRoot&&c.getRootNode()instanceof ShadowRoot);var f,m=l(h);try{for(m.s();!(f=m.n()).done;){var g=f.value;r.add(g)}}catch(e){m.e(e)}finally{m.f()}d=c}}}catch(e){a.e(e)}finally{a.f()}n.forEach(function(e){r.delete(e)}),u.adjacentElements=r},W=function(){if(u.active)return r.removeEventListener("focusin",P,!0),r.removeEventListener("mousedown",B,!0),r.removeEventListener("touchstart",B,!0),r.removeEventListener("click",O,!0),r.removeEventListener("keydown",R,!0),r.removeEventListener("keydown",j),i},V=function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===u.mostRecentlyFocusedNode})})&&y(g())},H="u">typeof window&&"MutationObserver"in window?new MutationObserver(V):void 0,$=function(){H&&(H.disconnect(),u.active&&!u.paused&&u.containers.map(function(e){H.observe(e,{subtree:!0,childList:!0})}))};return Object.defineProperties(i={get active(){return u.active},get paused(){return u.paused},activate:function(e){if(u.active)return this;var t,n,s=d(e,"onActivate"),l=d(e,"onPostActivate"),c=d(e,"checkCanFocusTrap"),h=F.getActiveTrap(a),f=!1;h&&!h.paused&&(null==(t=h._setSubtreeIsolation)||t.call(h,!1),f=!0);try{c||_(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=b(r),null==s||s();var g=function(){var e=o(m().m(function e(){return m().w(function(e){for(;;)switch(e.n){case 0:return c&&_(),e.n=1,z();case 1:i._setSubtreeIsolation(!0),$(),null==l||l();case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}();if(c)return c(u.containers.concat()).then(g,g),this;g()}catch(e){throw h===F.getActiveTrap(a)&&f&&(null==(n=h._setSubtreeIsolation)||n.call(h,!0)),e}return this},deactivate:function(e){if(!u.active)return this;var t=f({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(u.delayInitialFocusTimer),u.delayInitialFocusTimer=void 0,u.paused||i._setSubtreeIsolation(!1),u.alreadySilent.clear(),W(),u.active=!1,u.paused=!1,$(),F.deactivateTrap(a,i);var n=d(t,"onDeactivate"),r=d(t,"onPostDeactivate"),o=d(t,"checkCanReturnFocus"),l=d(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var c=function(){S(function(){l&&y(M(u.nodeFocusedBeforeActivation)),null==r||r()})};return l&&o?o(M(u.nodeFocusedBeforeActivation)).then(c,c):c(),this},pause:function(e){return u.active?(u.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return u.active?(u.manuallyPaused=!1,a[a.length-1]!==this)?this:this._setPausedState(!1,e):this},updateContainerElements:function(e){return u.containers=[].concat(e).filter(Boolean).map(function(e){return"string"==typeof e?r.querySelector(e):e}),s.isolateSubtrees&&q(u.containers),u.active&&(_(),u.paused||i._setSubtreeIsolation(!0)),$(),this}},{_isManuallyPaused:{value:function(){return u.manuallyPaused}},_setPausedState:{value:function(e,t){if(u.paused===e)return this;if(u.paused=e,e){var n=d(t,"onPause"),r=d(t,"onPostPause");null==n||n(),W(),i._setSubtreeIsolation(!1),$(),null==r||r()}else{var a=d(t,"onUnpause"),s=d(t,"onPostUnpause");null==a||a(),(function(){var e=o(m().m(function e(){return m().w(function(e){for(;;)switch(e.n){case 0:return _(),e.n=1,z();case 1:i._setSubtreeIsolation(!0),$(),null==s||s();case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}})()()}return this}},_setSubtreeIsolation:{value:function(e){s.isolateSubtrees&&u.adjacentElements.forEach(function(t){var i;e?"aria-hidden"===s.isolateSubtrees?(("true"===t.ariaHidden||(null==(i=t.getAttribute("aria-hidden"))?void 0:i.toLowerCase())==="true")&&u.alreadySilent.add(t),t.setAttribute("aria-hidden","true")):((t.inert||t.hasAttribute("inert"))&&u.alreadySilent.add(t),t.setAttribute("inert",!0)):u.alreadySilent.has(t)||("aria-hidden"===s.isolateSubtrees?t.removeAttribute("aria-hidden"):t.removeAttribute("inert"))})}}}),i.updateContainerElements(e),i}},82682(e,t,i){"use strict";var n=i(69600),r=Object.prototype.toString,a=Object.prototype.hasOwnProperty,s=function(e,t,i){for(var n=0,r=e.length;n=3&&(r=i),u(e)?s(e,t,r):"string"==typeof e?o(e,t,r):l(e,t,r)}},89353(e){"use strict";var t="Function.prototype.bind called on incompatible ",i=Object.prototype.toString,n=Math.max,r="[object Function]",a=function(e,t){for(var i=[],n=0;ntypeof Uint8Array&&S?S(Uint8Array):n,P={__proto__:null,"%AggregateError%":"u"typeof Map&&E&&S?S(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":k,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"typeof Set&&E&&S?S(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"1&&"boolean"!=typeof t)throw new d('"allowMissing" argument must be a boolean');if(null===$(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=K(e),n=i.length>0?i[0]:"",r=Y("%"+n+"%",t),a=r.name,s=r.value,o=!1,l=r.alias;l&&(n=l[0],W(i,q([0,1],l)));for(var c=1,h=!0;c=i.length){var p=k(s,f);s=(h=!!p)&&"get"in p&&!("originalValue"in p.get)?p.get:s[f]}else h=z(s,f),s=s[f];h&&!o&&(P[a]=s)}}return s}},71064(e,t,i){"use strict";e.exports=i(79612).getPrototypeOf||null},48648(e){"use strict";e.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},93628(e,t,i){"use strict";var n=i(48648),r=i(71064),a=i(7176);e.exports=n?function(e){return n(e)}:r?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return r(e)}:a?function(e){return a(e)}:null},6549(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},75795(e,t,i){"use strict";var n=i(6549);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},66885(e,t,i){var n,r=i(88499);function a(e,t){var i=-1/0;e.getFloatFrequencyData(t);for(var n=4,r=t.length;ni&&t[n]<0&&(i=t[n]);return i}"u">typeof window&&(n=window.AudioContext||window.webkitAudioContext);var s=null;e.exports=function(e,t){var i,o,l,u=new r;if(!n)return u;var t=t||{},d=t.smoothing||.1,c=t.interval||50,h=t.threshold,f=t.play,m=t.history||10,g=!0;(l=(s=t.audioContext||s||new n).createAnalyser()).fftSize=512,l.smoothingTimeConstant=d,o=new Float32Array(l.frequencyBinCount),e.jquery&&(e=e[0]),e instanceof HTMLAudioElement||e instanceof HTMLVideoElement?(i=s.createMediaElementSource(e),void 0===f&&(f=!0)):i=s.createMediaStreamSource(e),h=h||-50,i.connect(l),f&&l.connect(s.destination),u.speaking=!1,u.suspend=function(){return s.suspend()},u.resume=function(){return s.resume()},Object.defineProperty(u,"state",{get:function(){return s.state}}),s.onstatechange=function(){u.emit("state_change",s.state)},u.setThreshold=function(e){h=e},u.setInterval=function(e){c=e},u.stop=function(){g=!1,u.emit("volume_change",-100,h),u.speaking&&(u.speaking=!1,u.emit("stopped_speaking")),l.disconnect(),i.disconnect()},u.speakingHistory=[];for(var p=0;ph&&!u.speaking){for(var i=u.speakingHistory.length-3;i=2&&(u.speaking=!0,u.emit("speaking"))}else if(eh)),_()}},c)};return _(),u}},30592(e,t,i){"use strict";var n=i(30655),r=function(){return!!n};r.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=r},64039(e,t,i){"use strict";var n="u">typeof Symbol&&Symbol,r=i(41333);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&r()}},41333(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),i=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(i))return!1;var n=42;for(var r in e[t]=n,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==n||!0!==s.enumerable)return!1}return!0}},49092(e,t,i){"use strict";var n=i(41333);e.exports=function(){return n()&&!!Symbol.toStringTag}},4729(e,t,i){"use strict";var n=i(17417).Buffer,r=i(28399).Transform;function a(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw TypeError(t+" must be a string or a buffer")}function s(e){r.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}i(56698)(s,r),s.prototype._transform=function(e,t,i){var n=null;try{this.update(e,t)}catch(e){n=e}i(n)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},s.prototype.update=function(e,t){if(a(e,"Data"),this._finalized)throw Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var i=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var s=this._blockOffset;s0;++o)this._length[o]+=l,(l=this._length[o]/0x100000000|0)>0&&(this._length[o]-=0x100000000*l);return this},s.prototype._update=function(){throw Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return t},s.prototype._digest=function(){throw Error("_digest is not implemented")},e.exports=s},17417(e,t,i){var n=i(48287),r=n.Buffer;function a(e,t){for(var i in e)t[i]=e[i]}function s(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),s.prototype=Object.create(r.prototype),a(r,s),s.from=function(e,t,i){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,i)},s.alloc=function(e,t,i){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},77952(e,t,i){var n=t;n.utils=i(67426),n.common=i(66166),n.sha=i(46229),n.ripemd=i(46784),n.hmac=i(28948),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},66166(e,t,i){"use strict";var n=i(67426),r=i(43349);function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var i=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-i,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-i,this.endian);for(var r=0;r>>24&255,n[r++]=e>>>16&255,n[r++]=e>>>8&255,n[r++]=255&e}else for(a=8,n[r++]=255&e,n[r++]=e>>>8&255,n[r++]=e>>>16&255,n[r++]=e>>>24&255,n[r++]=0,n[r++]=0,n[r++]=0,n[r++]=0;athis.blockSize&&(e=new this.Hash().update(e).digest()),r(e.length<=this.blockSize);for(var t=e.length;t>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},67426(e,t,i){"use strict";var n=i(43349);function r(e,t){return(64512&e.charCodeAt(t))==55296&&!(t<0)&&!(t+1>=e.length)&&(64512&e.charCodeAt(t+1))==56320}function a(e){return(e>>>24|e>>>8&65280|e<<8&0xff0000|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function o(e){if(7===e.length)return"0"+e;if(6===e.length)return"00"+e;if(5===e.length)return"000"+e;if(4===e.length)return"0000"+e;if(3===e.length)return"00000"+e;else if(2===e.length)return"000000"+e;else if(1===e.length)return"0000000"+e;else return e}t.inherits=i(56698),t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var i=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(e="0"+e),a=0;a>6|192:(r(e,a)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++a)),i[n++]=s>>18|240,i[n++]=s>>12&63|128):i[n++]=s>>12|224,i[n++]=s>>6&63|128),i[n++]=63&s|128)}else for(a=0;a>>0;return o},t.split32=function(e,t){for(var i=Array(4*e.length),n=0,r=0;n>>24,i[r+1]=a>>>16&255,i[r+2]=a>>>8&255,i[r+3]=255&a):(i[r+3]=a>>>24,i[r+2]=a>>>16&255,i[r+1]=a>>>8&255,i[r]=255&a)}return i},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,i){return e+t+i>>>0},t.sum32_4=function(e,t,i,n){return e+t+i+n>>>0},t.sum32_5=function(e,t,i,n,r){return e+t+i+n+r>>>0},t.sum64=function(e,t,i,n){var r=e[t],a=n+e[t+1]>>>0,s=+(a>>0,e[t+1]=a},t.sum64_hi=function(e,t,i,n){return+(t+n>>>0>>0},t.sum64_lo=function(e,t,i,n){return t+n>>>0},t.sum64_4_hi=function(e,t,i,n,r,a,s,o){var l,u=t;return e+i+r+s+(l=0+ +((u=u+n>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,i,n,r,a,s,o){return t+n+a+o>>>0},t.sum64_5_hi=function(e,t,i,n,r,a,s,o,l,u){var d,c=t;return e+i+r+s+l+(d=0+ +((c=c+n>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,i,n,r,a,s,o,l,u){return t+n+a+o+u>>>0},t.rotr64_hi=function(e,t,i){return(t<<32-i|e>>>i)>>>0},t.rotr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0},t.shr64_hi=function(e,t,i){return e>>>i},t.shr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0}},9957(e,t,i){"use strict";var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;e.exports=i(66743).call(n,r)},32723(e,t,i){"use strict";var n=i(77952),r=i(64367),a=i(43349);function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=r.toArray(e.entropy,e.entropyEnc||"hex"),i=r.toArray(e.nonce,e.nonceEnc||"hex"),n=r.toArray(e.pers,e.persEnc||"hex");a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,i,n)}e.exports=s,s.prototype._init=function(e,t,i){var n=e.concat(t).concat(i);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(i||[])),this._reseed=1},s.prototype.generate=function(e,t,i,n){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof t&&(n=i,i=t,t=null),i&&(i=r.toArray(i,n||"hex"),this._update(i));for(var a=[];a.length>1,d=-7,c=i?r-1:0,h=i?-1:1,f=e[t+c];for(c+=h,a=f&(1<<-d)-1,f>>=-d,d+=o;d>0;a=256*a+e[t+c],c+=h,d-=8);for(s=a&(1<<-d)-1,a>>=-d,d+=n;d>0;s=256*s+e[t+c],c+=h,d-=8);if(0===a)a=1-u;else{if(a===l)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),a-=u}return(f?-1:1)*s*Math.pow(2,a-n)},t.write=function(e,t,i,n,r,a){var s,o,l,u=8*a-r-1,d=(1<>1,h=5960464477539062e-23*(23===r),f=n?0:a-1,m=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(o=+!!isNaN(t),s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+c>=1?t+=h/l:t+=h*Math.pow(2,1-c),t*l>=2&&(s++,l/=2),s+c>=d?(o=0,s=d):s+c>=1?(o=(t*l-1)*Math.pow(2,r),s+=c):(o=t*Math.pow(2,c-1)*Math.pow(2,r),s=0));r>=8;e[i+f]=255&o,f+=m,o/=256,r-=8);for(s=s<0;e[i+f]=255&s,f+=m,s/=256,u-=8);e[i+f-m]|=128*g}},56698(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}},19788(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g,u="\n",d="/",c="*",h="",f="comment",m="declaration";function g(e){return e?e.replace(l,h):h}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var p=1,_=1;function b(e){var t=e.match(i);t&&(p+=t.length);var n=e.lastIndexOf(u);_=~n?e.length-n:_+e.length}function y(){var e={line:p,column:_};return function(t){return t.position=new F(e),A(),t}}function F(e){this.start=e,this.end={line:p,column:_},this.source=l.source}F.prototype.content=e;var k=[];function w(t){var i=Error(l.source+":"+p+":"+_+": "+t);if(i.reason=t,i.filename=l.source,i.line=p,i.column=_,i.source=e,l.silent)k.push(i);else throw i}function C(t){var i=t.exec(e);if(i){var n=i[0];return b(n),e=e.slice(n.length),i}}function A(){C(n)}function E(e){var t;for(e=e||[];t=S();)!1!==t&&e.push(t);return e}function S(){var t=y();if(d==e.charAt(0)&&c==e.charAt(1)){for(var i=2;h!=e.charAt(i)&&(c!=e.charAt(i)||d!=e.charAt(i+1));)++i;if(i+=2,h===e.charAt(i-1))return w("End of comment missing");var n=e.slice(2,i-2);return _+=2,b(n),e=e.slice(i),_+=2,t({type:f,comment:n})}}function x(){var e=y(),i=C(r);if(i){if(S(),!C(a))return w("property missing ':'");var n=C(s),l=e({type:m,property:g(i[0].replace(t,h)),value:n?g(n[0].replace(t,h)):h});return C(o),l}}function D(){var e,t=[];for(E(t);e=x();)!1!==e&&(t.push(e),E(t));return t}return A(),D()}},47244(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=Object.prototype.toString,n=function(e){return(!t||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===i.call(e)},r=function(e){return!!n(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i.call(e)&&"[object Function]"===i.call(e.callee)},a=function(){return n(arguments)}();n.isLegacyArguments=r,e.exports=a?n:r},69600(e){"use strict";var t,i,n=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw i}}),i={},r(function(){throw 42},null,t)}catch(e){e!==i&&(r=null)}else r=null;var a=/^\s*class\b/,s=function(e){try{var t=n.call(e);return a.test(t)}catch(e){return!1}},o=function(e){try{if(s(e))return!1;return n.call(e),!0}catch(e){return!1}},l=Object.prototype.toString,u="[object Object]",d="[object Function]",c="[object GeneratorFunction]",h="[object HTMLAllCollection]",f="[object HTML document.all class]",m="[object HTMLCollection]",g="function"==typeof Symbol&&!!Symbol.toStringTag,p=!(0 in[,]),_=function(){return!1};if("object"==typeof document){var b=document.all;l.call(b)===l.call(document.all)&&(_=function(e){if((p||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return(t===h||t===f||t===m||t===u)&&null==e("")}catch(e){}return!1})}e.exports=r?function(e){if(_(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{r(e,null,t)}catch(e){if(e!==i)return!1}return!s(e)&&o(e)}:function(e){if(_(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(g)return o(e);if(s(e))return!1;var t=l.call(e);return(t===d||t===c||!!/^\[object HTML/.test(t))&&o(e)}},48184(e){"use strict";var t,i=Object.prototype.toString,n=Function.prototype.toString,r=/^\s*(?:function)?\*/,a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,s=Object.getPrototypeOf,o=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!=typeof e)return!1;if(r.test(n.call(e)))return!0;if(!a)return"[object GeneratorFunction]"===i.call(e);if(!s)return!1;if(void 0===t){var l=o();t=!!l&&s(l)}return s(e)===t}},51111(e){"use strict";let t=new Set(["ENOTFOUND","ENETUNREACH","UNABLE_TO_GET_ISSUER_CERT","UNABLE_TO_GET_CRL","UNABLE_TO_DECRYPT_CERT_SIGNATURE","UNABLE_TO_DECRYPT_CRL_SIGNATURE","UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY","CERT_SIGNATURE_FAILURE","CRL_SIGNATURE_FAILURE","CERT_NOT_YET_VALID","CERT_HAS_EXPIRED","CRL_NOT_YET_VALID","CRL_HAS_EXPIRED","ERROR_IN_CERT_NOT_BEFORE_FIELD","ERROR_IN_CERT_NOT_AFTER_FIELD","ERROR_IN_CRL_LAST_UPDATE_FIELD","ERROR_IN_CRL_NEXT_UPDATE_FIELD","OUT_OF_MEM","DEPTH_ZERO_SELF_SIGNED_CERT","SELF_SIGNED_CERT_IN_CHAIN","UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","CERT_CHAIN_TOO_LONG","CERT_REVOKED","INVALID_CA","PATH_LENGTH_EXCEEDED","INVALID_PURPOSE","CERT_UNTRUSTED","CERT_REJECTED","HOSTNAME_MISMATCH"]);e.exports=e=>!t.has(e&&e.code)},35680(e,t,i){"use strict";var n=i(25767);e.exports=function(e){return!!n(e)}},64634(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},53481(e,t){!function(e,i){i(t)}(0,function(e){"use strict";var t,i,n,r,a,s,o="1.9.4";function l(e){var t,i,n,r;for(i=1,n=arguments.length;itypeof L&&L&&L.Mixin){e=C(e)?e:[e];for(var t=0;t0?Math.floor(e):Math.ceil(e)};function W(e,t,i){return e instanceof z?e:C(e)?new z(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new z(e.x,e.y):new z(e,t,i)}function V(e,t){if(e)for(var i=t?[e,t]:e,n=0,r=i.length;n=this.min.x&&i.x<=this.max.x&&t.y>=this.min.y&&i.y<=this.max.y},intersects:function(e){e=H(e);var t=this.min,i=this.max,n=e.min,r=e.max,a=r.x>=t.x&&n.x<=i.x,s=r.y>=t.y&&n.y<=i.y;return a&&s},overlaps:function(e){e=H(e);var t=this.min,i=this.max,n=e.min,r=e.max,a=r.x>t.x&&n.xt.y&&n.y=n.lat&&i.lat<=r.lat&&t.lng>=n.lng&&i.lng<=r.lng},intersects:function(e){e=G(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),r=e.getNorthEast(),a=r.lat>=t.lat&&n.lat<=i.lat,s=r.lng>=t.lng&&n.lng<=i.lng;return a&&s},overlaps:function(e){e=G(e);var t=this._southWest,i=this._northEast,n=e.getSouthWest(),r=e.getNorthEast(),a=r.lat>t.lat&&n.latt.lng&&n.lngtypeof orientation||eU("mobile"),eS=eE&&ed,ex=eE&&ew,eD=!window.PointerEvent&&window.MSPointerEvent,eT=!!(window.PointerEvent||eD),eM="ontouchstart"in window||!!window.TouchEvent,eI=!window.L_NO_TOUCH&&(eM||eT),eB=eE&&eg,eP=eE&&e_,eL=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,eN=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",g,t),window.removeEventListener("testPassiveEventSupport",g,t)}catch(e){}return e}(),eR=function(){return!!document.createElement("canvas").getContext}(),ej=!!(document.createElementNS&&er("svg").createSVGRect),eO=!!ej&&function(){var e=document.createElement("div");return e.innerHTML="","http://www.w3.org/2000/svg"===(e.firstChild&&e.firstChild.namespaceURI)}(),ez=!ej&&function(){try{var e=document.createElement("div");e.innerHTML='';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}();function eU(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var eq={ie:eo,ielt9:el,edge:eu,webkit:ed,android:ec,android23:eh,androidStock:em,opera:eg,chrome:ep,gecko:e_,safari:ev,phantom:eb,opera12:ey,win:eF,ie3d:ek,webkit3d:ew,gecko3d:eC,any3d:eA,mobile:eE,mobileWebkit:eS,mobileWebkit3d:ex,msPointer:eD,pointer:eT,touch:eI,touchNative:eM,mobileOpera:eB,mobileGecko:eP,retina:eL,passiveEvents:eN,canvas:eR,svg:ej,vml:ez,inlineSvg:eO,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},eW=eq.msPointer?"MSPointerDown":"pointerdown",eV=eq.msPointer?"MSPointerMove":"pointermove",eH=eq.msPointer?"MSPointerUp":"pointerup",e$=eq.msPointer?"MSPointerCancel":"pointercancel",eG={touchstart:eW,touchmove:eV,touchend:eH,touchcancel:e$},eX={touchstart:e4,touchmove:e3,touchend:e3,touchcancel:e3},eK={},eY=!1;function eQ(e,t,i){return("touchstart"===t&&e2(),eX[t])?(i=eX[t].bind(this,i),e.addEventListener(eG[t],i,!1),i):(console.warn("wrong event specified:",t),g)}function eZ(e,t,i){eG[t]?e.removeEventListener(eG[t],i,!1):console.warn("wrong event specified:",t)}function eJ(e){eK[e.pointerId]=e}function e0(e){eK[e.pointerId]&&(eK[e.pointerId]=e)}function e1(e){delete eK[e.pointerId]}function e2(){eY||(document.addEventListener(eW,eJ,!0),document.addEventListener(eV,e0,!0),document.addEventListener(eH,e1,!0),document.addEventListener(e$,e1,!0),eY=!0)}function e3(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in t.touches=[],eK)t.touches.push(eK[i]);t.changedTouches=[t],e(t)}}function e4(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&tj(t),e3(e,t)}function e6(e){var t,i,n={};for(i in e)t=e[i],n[i]=t&&t.bind?t.bind(e):t;return e=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}var e5=200;function e8(e,t){e.addEventListener("dblclick",t);var i,n=0;function r(e){if(1!==e.detail){i=e.detail;return}if("mouse"!==e.pointerType&&(!e.sourceCapabilities||e.sourceCapabilities.firesTouchEvents)){var r=tz(e);if(!r.some(function(e){return e instanceof HTMLLabelElement&&e.attributes.for})||r.some(function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement})){var a=Date.now();a-n<=e5?2==++i&&t(e6(e)):i=1,n=a}}}return e.addEventListener("click",r),{dblclick:t,simDblclick:r}}function e9(e,t){e.removeEventListener("dblclick",t.dblclick),e.removeEventListener("click",t.simDblclick)}var e7=tp(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),te=tp(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tt="webkitTransition"===te||"OTransition"===te?te+"End":"transitionend";function ti(e){return"string"==typeof e?document.getElementById(e):e}function tn(e,t){var i=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(e,null);i=n?n[t]:null}return"auto"===i?null:i}function tr(e,t,i){var n=document.createElement(e);return n.className=t||"",i&&i.appendChild(n),n}function ta(e){var t=e.parentNode;t&&t.removeChild(e)}function ts(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function to(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function tl(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function tu(e,t){if(void 0!==e.classList)return e.classList.contains(t);var i=tf(e);return i.length>0&&RegExp("(^|\\s)"+t+"(\\s|$)").test(i)}function td(e,t){if(void 0!==e.classList)for(var i=b(t),n=0,r=i.length;n0?2*window.devicePixelRatio:1;function tW(e){return eq.edge?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/tq:e.deltaY&&1===e.deltaMode?-(20*e.deltaY):e.deltaY&&2===e.deltaMode?-(60*e.deltaY):e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&32765>Math.abs(e.detail)?-(20*e.detail):e.detail?-(60*(e.detail/32765)):0}function tV(e,t){var i=t.relatedTarget;if(!i)return!0;try{for(;i&&i!==e;)i=i.parentNode}catch(e){return!1}return i!==e}var tH={__proto__:null,on:tx,off:tT,stopPropagation:tL,disableScrollPropagation:tN,disableClickPropagation:tR,preventDefault:tj,stop:tO,getPropagationPath:tz,getMousePosition:tU,getWheelDelta:tW,isExternalTarget:tV,addListener:tx,removeListener:tT},t$=O.extend({run:function(e,t,i,n){this.stop(),this._el=e,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=tb(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=I(this._animate,this),this._step()},_step:function(e){var t=new Date-this._startTime,i=1e3*this._duration;tthis.options.maxZoom))?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,G(e));return i.equals(n)||this.panTo(n,t),this._enforcingBounds=!1,this},panInside:function(e,t){var i=W((t=t||{}).paddingTopLeft||t.padding||[0,0]),n=W(t.paddingBottomRight||t.padding||[0,0]),r=this.project(this.getCenter()),a=this.project(e),s=this.getPixelBounds(),o=H([s.min.add(i),s.max.subtract(n)]),l=o.getSize();if(!o.contains(a)){this._enforcingBounds=!0;var u=a.subtract(o.getCenter()),d=o.extend(a).getSize().subtract(l);r.x+=u.x<0?-d.x:d.x,r.y+=u.y<0?-d.y:d.y,this.panTo(this.unproject(r),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=l({animate:!1,pan:!0},!0===e?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),n=t.divideBy(2).round(),r=i.divideBy(2).round(),a=n.subtract(r);return a.x||a.y?(e.animate&&e.pan?this.panBy(a):(e.pan&&this._rawPanBy(a),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(d(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=l({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=d(this._handleGeolocationResponse,this),i=d(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,i,e):navigator.geolocation.getCurrentPosition(t,i,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,i=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=e.coords.latitude,i=e.coords.longitude,n=new X(t,i),r=n.toBounds(2*e.coords.accuracy),a=this._locateOptions;if(a.setView){var s=this.getBoundsZoom(r);this.setView(n,a.maxZoom?Math.min(s,a.maxZoom):s)}var o={latlng:n,bounds:r,timestamp:e.timestamp};for(var l in e.coords)"number"==typeof e.coords[l]&&(o[l]=e.coords[l]);this.fire("locationfound",o)}},addHandler:function(e,t){if(!t)return this;var i=this[e]=new t(this);return this._handlers.push(i),this.options[e]&&i.enable(),this},remove:function(){var e;if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ta(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(B(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)ta(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var i=tr("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=i),i},getCenter:function(){return(this._checkIfLoaded(),this._lastCenter&&!this._moved())?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new $(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,i){e=G(e),i=W(i||[0,0]);var n=this.getZoom()||0,r=this.getMinZoom(),a=this.getMaxZoom(),s=e.getNorthWest(),o=e.getSouthEast(),l=this.getSize().subtract(i),u=H(this.project(o,n),this.project(s,n)).getSize(),d=eq.any3d?this.options.zoomSnap:1,c=l.x/u.x,h=l.y/u.y,f=t?Math.max(c,h):Math.min(c,h);return n=this.getScaleZoom(f,n),d&&(n=d/100*Math.round(n/(d/100)),n=t?Math.ceil(n/d)*d:Math.floor(n/d)*d),Math.max(r,Math.min(a,n))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new z(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var i=this._getTopLeftPoint(e,t);return new V(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var i=this.options.crs;return t=void 0===t?this._zoom:t,i.scale(e)/i.scale(t)},getScaleZoom:function(e,t){var i=this.options.crs;t=void 0===t?this._zoom:t;var n=i.zoom(e*i.scale(t));return isNaN(n)?1/0:n},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(K(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(W(e),t)},layerPointToLatLng:function(e){var t=W(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(K(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(K(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(G(e))},distance:function(e,t){return this.options.crs.distance(K(e),K(t))},containerPointToLayerPoint:function(e){return W(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return W(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(W(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(K(e)))},mouseEventToContainerPoint:function(e){return tU(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=ti(e);if(t){if(t._leaflet_id)throw Error("Map container is already initialized.")}else throw Error("Map container not found.");tx(t,"scroll",this._onScroll,this),this._containerId=h(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&eq.any3d,td(e,"leaflet-container"+(eq.touch?" leaflet-touch":"")+(eq.retina?" leaflet-retina":"")+(eq.ielt9?" leaflet-oldie":"")+(eq.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=tn(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&"sticky"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),tv(this._mapPane,new z(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(td(e.markerPane,"leaflet-zoom-hide"),td(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,i){tv(this._mapPane,new z(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var r=this._zoom!==t;this._moveStart(r,i)._move(e,t)._moveEnd(r),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,i,n){void 0===t&&(t=this._zoom);var r=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),n?i&&i.pinch&&this.fire("zoom",i):((r||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return B(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){tv(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[h(this._container)]=this;var t=e?tT:tx;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),eq.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){B(this._resizeRequest),this._resizeRequest=I(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var i,n=[],r="mouseout"===t||"mouseover"===t,a=e.target||e.srcElement,s=!1;a;){if((i=this._targets[h(a)])&&("click"===t||"preclick"===t)&&this._draggableMoved(i)){s=!0;break}if(i&&i.listens(t,!0)&&(r&&!tV(a,e)||(n.push(i),r)))break;if(a===this._container)break;a=a.parentNode}return!n.length&&!s&&!r&&this.listens(t,!0)&&(n=[this]),n},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||"click"===e.type&&this._isClickDisabled(t))){var i=e.type;"mousedown"===i&&tw(t),this._fireDOMEvent(e,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,i){if("click"===e.type){var n=l({},e);n.type="preclick",this._fireDOMEvent(n,n.type,i)}var r=this._findEventTargets(e,t);if(i){for(var a=[],s=0;s=Math.abs(s.x)&&1>=Math.abs(s.y)?e:this.unproject(n.add(s),t)},_limitOffset:function(e,t){if(!t)return e;var i=this.getPixelBounds(),n=new V(i.min.add(e),i.max.add(e));return e.add(this._getBoundsOffset(n,t))},_getBoundsOffset:function(e,t,i){var n=H(this.project(t.getNorthEast(),i),this.project(t.getSouthWest(),i)),r=n.min.subtract(e.min),a=n.max.subtract(e.max);return new z(this._rebound(r.x,-a.x),this._rebound(r.y,-a.y))},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),i=this.getMaxZoom(),n=eq.any3d?this.options.zoomSnap:1;return n&&(e=Math.round(e/n)*n),Math.max(t,Math.min(i,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){tc(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var i=this._getCenterOffset(e)._trunc();return(!0===(t&&t.animate)||!!this.getSize().contains(i))&&(this.panBy(i,t),!0)},_createAnimProxy:function(){var e=this._proxy=tr("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(e){var t=e7,i=this._proxy.style[t];t_(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),i===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ta(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();t_(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(t),r=this._getCenterOffset(e)._divideBy(1-1/n);return(!0===i.animate||!!this.getSize().contains(r))&&(I(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(e,t,!0)},this),!0)},_animateZoom:function(e,t,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,td(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(d(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&tc(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function tX(e,t){return new tG(e,t)}var tK=N.extend({options:{position:"topright"},initialize:function(e){y(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),i=this.getPosition(),n=e._controlCorners[i];return td(t,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(t,n.firstChild):n.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(ta(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),tY=function(e){return new tK(e)};tG.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",i=this._controlContainer=tr("div",t+"control-container",this._container);function n(n,r){var a=t+n+" "+t+r;e[n+r]=tr("div",a,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)ta(this._controlCorners[e]);ta(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var tQ=tK.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,i,n){return i1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(h(e.target)),i=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;i&&this._map.fire(i,t)},_createRadioElement:function(e,t){var i='",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(e){var t,i=document.createElement("label"),n=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=n):t=this._createRadioElement("leaflet-base-layers_"+h(this),n),this._layerControlInputs.push(t),t.layerId=h(e.layer),tx(t,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+e.name;var a=document.createElement("span");return i.appendChild(a),a.appendChild(t),a.appendChild(r),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var e,t,i=this._layerControlInputs,n=[],r=[];this._handlingClick=!0;for(var a=i.length-1;a>=0;a--)e=i[a],t=this._getLayer(e.layerId).layer,e.checked?n.push(t):e.checked||r.push(t);for(a=0;a=0;r--)e=i[r],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&nt.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,tx(e,"click",tj),this.expand();var t=this;setTimeout(function(){tT(e,"click",tj),t._preventClick=!1})}}),tZ=function(e,t,i){return new tQ(e,t,i)},tJ=tK.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",i=tr("div",t+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,t+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,t+"-out",i,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,i,n,r){var a=tr("a",i,n);return a.innerHTML=e,a.href="#",a.title=t,a.setAttribute("role","button"),a.setAttribute("aria-label",t),tR(a),tx(a,"click",tO),tx(a,"click",r,this),tx(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";tc(this._zoomInButton,t),tc(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(td(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(td(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}});tG.mergeOptions({zoomControl:!0}),tG.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new tJ,this.addControl(this.zoomControl))});var t0=function(e){return new tJ(e)},t1=tK.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",i=tr("div",t),n=this.options;return this._addScales(n,t+"-line",i),e.on(n.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),i},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,i){e.metric&&(this._mScale=tr("div",t,i)),e.imperial&&(this._iScale=tr("div",t,i))},_update:function(){var e=this._map,t=e.getSize().y/2,i=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(i)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),i=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,i,t/e)},_updateImperial:function(e){var t,i,n,r=3.2808399*e;r>5280?(t=r/5280,i=this._getRoundNum(t),this._updateScale(this._iScale,i+" mi",i/t)):(n=this._getRoundNum(r),this._updateScale(this._iScale,n+" ft",n/r))},_updateScale:function(e,t,i){e.style.width=Math.round(this.options.maxWidth*i)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),i=e/t;return t*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),t2=function(e){return new t1(e)},t3='',t4=tK.extend({options:{position:"bottomright",prefix:''+(eq.inlineSvg?t3+" ":"")+"Leaflet"},initialize:function(e){y(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=tr("div","leaflet-control-attribution"),tR(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e&&(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update()),this},removeAttribution:function(e){return e&&this._attributions[e]&&(this._attributions[e]--,this._update()),this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var i=[];this.options.prefix&&i.push(this.options.prefix),e.length&&i.push(e.join(", ")),this._container.innerHTML=i.join(' ')}}});tG.mergeOptions({attributionControl:!0}),tG.addInitHook(function(){this.options.attributionControl&&new t4().addTo(this)});var t6=function(e){return new t4(e)};tK.Layers=tQ,tK.Zoom=tJ,tK.Scale=t1,tK.Attribution=t4,tY.layers=tZ,tY.zoom=t0,tY.scale=t2,tY.attribution=t6;var t5=N.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});t5.addTo=function(e,t){return e.addHandler(t,this),this};var t8={Events:j},t9=eq.touch?"touchstart mousedown":"mousedown",t7=O.extend({options:{clickTolerance:3},initialize:function(e,t,i,n){y(this,n),this._element=e,this._dragStartTarget=t||e,this._preventOutline=i},enable:function(){this._enabled||(tx(this._dragStartTarget,t9,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(t7._dragging===this&&this.finishDrag(!0),tT(this._dragStartTarget,t9,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(!(!this._enabled||(this._moved=!1,tu(this._element,"leaflet-zoom-anim")))){if(e.touches&&1!==e.touches.length){t7._dragging===this&&this.finishDrag();return}if(!t7._dragging&&!e.shiftKey&&(1===e.which||1===e.button||e.touches)&&(t7._dragging=this,this._preventOutline&&tw(this._element),tF(),t(),!this._moving)){this.fire("down");var i=e.touches?e.touches[0]:e,n=tA(this._element);this._startPoint=new z(i.clientX,i.clientY),this._startPos=tb(this._element),this._parentScale=tE(n);var r="mousedown"===e.type;tx(document,r?"mousemove":"touchmove",this._onMove,this),tx(document,r?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var t=e.touches&&1===e.touches.length?e.touches[0]:e,i=new z(t.clientX,t.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)typeof Uint8Array?Uint8Array:Array)(i);n[0]=n[i-1]=1,il(e,n,t,0,i-1);var r,a=[];for(r=0;rl&&(a=s,l=o);l>i&&(t[a]=1,il(e,t,i,n,a),il(e,t,i,a,r))}function iu(e,t){for(var i=[e[0]],n=1,r=0,a=e.length;nt&&(i.push(e[n]),r=n);return rt.max.x&&(i|=2),e.yt.max.y&&(i|=8),i}function im(e,t){var i=t.x-e.x,n=t.y-e.y;return i*i+n*n}function ig(e,t,i,n){var r,a=t.x,s=t.y,o=i.x-a,l=i.y-s,u=o*o+l*l;return u>0&&((r=((e.x-a)*o+(e.y-s)*l)/u)>1?(a=i.x,s=i.y):r>0&&(a+=o*r,s+=l*r)),o=e.x-a,l=e.y-s,n?o*o+l*l:new z(a,s)}function ip(e){return!C(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function i_(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ip(e)}function iv(e,t){if(!e||0===e.length)throw Error("latlngs not passed");ip(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var i,n,r,a,s,o,l,u,d=K([0,0]),c=G(e);c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(d=ii(e));var h=e.length,f=[];for(i=0;in){l=(a-n)/r,u=[o.x-l*(o.x-s.x),o.y-l*(o.y-s.y)];break}var g=t.unproject(W(u));return K([g.lat+d.lat,g.lng+d.lng])}var ib={__proto__:null,simplify:ia,pointToSegmentDistance:is,closestPointOnSegment:function(e,t,i){return ig(e,t,i)},clipSegment:id,_getEdgeIntersection:ic,_getBitCode:ih,_sqClosestPointOnSegment:ig,isFlat:ip,_flat:i_,polylineCenter:iv},iy={project:function(e){return new z(e.lng,e.lat)},unproject:function(e){return new X(e.y,e.x)},bounds:new V([-180,-90],[180,90])},iF={R:6378137,R_MINOR:6356752.314245179,bounds:new V([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,i=this.R,n=e.lat*t,r=this.R_MINOR/i,a=Math.sqrt(1-r*r),s=a*Math.sin(n);return n=-i*Math.log(Math.max(Math.tan(Math.PI/4-n/2)/Math.pow((1-s)/(1+s),a/2),1e-10)),new z(e.lng*t*i,n)},unproject:function(e){for(var t,i=180/Math.PI,n=this.R,r=this.R_MINOR/n,a=Math.sqrt(1-r*r),s=Math.exp(-e.y/n),o=Math.PI/2-2*Math.atan(s),l=0,u=.1;l<15&&Math.abs(u)>1e-7;l++)u=Math.PI/2-2*Math.atan(s*(t=Math.pow((1-(t=a*Math.sin(o)))/(1+t),a/2)))-o,o+=u;return new X(o*i,e.x*i/n)}},ik={__proto__:null,LonLat:iy,Mercator:iF,SphericalMercator:J},iw=l({},Q,{code:"EPSG:3395",projection:iF,transformation:function(){var e=.5/(Math.PI*iF.R);return et(e,.5,-e,.5)}()}),iC=l({},Q,{code:"EPSG:4326",projection:iy,transformation:et(1/180,1,-1/180,.5)}),iA=l({},Y,{projection:iy,transformation:et(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var i=t.lng-e.lng,n=t.lat-e.lat;return Math.sqrt(i*i+n*n)},infinite:!0});Y.Earth=Q,Y.EPSG3395=iw,Y.EPSG3857=ei,Y.EPSG900913=en,Y.EPSG4326=iC,Y.Simple=iA;var iE=O.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[h(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[h(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var i=this.getEvents();t.on(i,this),this.once("remove",function(){t.off(i,this)},this)}this.onAdd(t),this.fire("add"),t.fire("layeradd",{layer:this})}}});tG.include({addLayer:function(e){if(!e._layerAdd)throw Error("The provided object is not a Layer.");var t=h(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=h(e);return this._layers[t]&&(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null),this},hasLayer:function(e){return h(e)in this._layers},eachLayer:function(e,t){for(var i in this._layers)e.call(t,this._layers[i]);return this},_addLayers:function(e){e=e?C(e)?e:[e]:[];for(var t=0,i=e.length;tthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&t[0]instanceof X&&t[0].equals(t[i-1])&&t.pop(),t},_setLatLngs:function(e){iq.prototype._setLatLngs.call(this,e),ip(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return ip(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,i=new z(t,t);if(e=new V(e.min.subtract(i),e.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip){this._parts=this._rings;return}for(var n,r=0,a=this._rings.length;re.y!=n.y>e.y&&e.x<(n.x-i.x)*(e.y-i.y)/(n.y-i.y)+i.x&&(u=!u);return u||iq.prototype._containsPoint.call(this,e,!0)}});function iH(e,t){return new iV(e,t)}var i$=iD.extend({initialize:function(e,t){y(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,i,n,r=C(e)?e:e.features;if(r){for(t=0,i=r.length;t0&&r.push(r[0].slice()),r}function iJ(e,t){return e.feature?l({},e.feature,{geometry:t}):i0(t)}function i0(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var i1={toGeoJSON:function(e){return iJ(this,{type:"Point",coordinates:iQ(this.getLatLng(),e)})}};function i2(e,t){return new i$(e,t)}iL.include(i1),iz.include(i1),ij.include(i1),iq.include({toGeoJSON:function(e){var t=!ip(this._latlngs),i=iZ(this._latlngs,+!!t,!1,e);return iJ(this,{type:(t?"Multi":"")+"LineString",coordinates:i})}}),iV.include({toGeoJSON:function(e){var t=!ip(this._latlngs),i=t&&!ip(this._latlngs[0]),n=iZ(this._latlngs,i?2:+!!t,!0,e);return t||(n=[n]),iJ(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),iS.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(i){t.push(i.toGeoJSON(e).geometry.coordinates)}),iJ(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var i="GeometryCollection"===t,n=[];return(this.eachLayer(function(t){if(t.toGeoJSON){var r=t.toGeoJSON(e);if(i)n.push(r.geometry);else{var a=i0(r);"FeatureCollection"===a.type?n.push.apply(n,a.features):n.push(a)}}}),i)?iJ(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var i3=i2,i4=iE.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,i){this._url=e,this._bounds=G(t),y(this,i)},onAdd:function(){!this._image&&(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(td(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ta(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&to(this._image),this},bringToBack:function(){return this._map&&tl(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=G(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:tr("img");if(td(t,"leaflet-image-layer"),this._zoomAnimated&&td(t,"leaflet-zoom-animated"),this.options.className&&td(t,this.options.className),t.onselectstart=g,t.onmousemove=g,t.onload=d(this.fire,this,"load"),t.onerror=d(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=t.src;return}t.src=this._url,t.alt=this.options.alt},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;t_(this._image,i,t)},_reset:function(){var e=this._image,t=new V(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=t.getSize();tv(e,t.min),e.style.width=i.x+"px",e.style.height=i.y+"px"},_updateOpacity:function(){tm(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),i6=function(e,t,i){return new i4(e,t,i)},i5=i4.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:tr("video");if(td(t,"leaflet-image-layer"),this._zoomAnimated&&td(t,"leaflet-zoom-animated"),this.options.className&&td(t,this.options.className),t.onselectstart=g,t.onmousemove=g,t.onloadeddata=d(this.fire,this,"load"),e){for(var i=t.getElementsByTagName("source"),n=[],r=0;r0?n:[t.src];return}C(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var a=0;ar?(t.height=r+"px",td(e,a)):tc(e,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),i=this._getAnchor();tv(this._container,t.add(i))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,t=parseInt(tn(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+t,n=this._containerWidth,r=new z(this._containerLeft,-i-this._containerBottom);r._add(tb(this._container));var a=e.layerPointToContainerPoint(r),s=W(this.options.autoPanPadding),o=W(this.options.autoPanPaddingTopLeft||s),l=W(this.options.autoPanPaddingBottomRight||s),u=e.getSize(),d=0,c=0;a.x+n+l.x>u.x&&(d=a.x+n-u.x+l.x),a.x-d-o.x<0&&(d=a.x-o.x),a.y+i+l.y>u.y&&(c=a.y+i-u.y+l.y),a.y-c-o.y<0&&(c=a.y-o.y),(d||c)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([d,c]))}},_getAnchor:function(){return W(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),ni=function(e,t){return new nt(e,t)};tG.mergeOptions({closePopupOnClick:!0}),tG.include({openPopup:function(e,t,i){return this._initOverlay(nt,e,t,i).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),iE.include({bindPopup:function(e,t){return this._popup=this._initOverlay(nt,this._popup,e,t),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof iD||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){tO(e);var t=e.layer||e.target;if(this._popup._source===t&&!(t instanceof iR))return void(this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng));this._popup._source=t,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var nn=ne.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){ne.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){ne.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=ne.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=tr("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+h(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,i,n=this._map,r=this._container,a=n.latLngToContainerPoint(n.getCenter()),s=n.layerPointToContainerPoint(e),o=this.options.direction,l=r.offsetWidth,u=r.offsetHeight,d=W(this.options.offset),c=this._getAnchor();"top"===o?(t=l/2,i=u):"bottom"===o?(t=l/2,i=0):("center"===o?t=l/2:"right"===o?t=0:"left"===o?t=l:s.xthis.options.maxZoom||in&&this._retainParent(r,a,s,n))},_retainChildren:function(e,t,i,n){for(var r=2*e;r<2*e+2;r++)for(var a=2*t;a<2*t+2;a++){var s=new z(r,a);s.z=i+1;var o=this._tileCoordsToKey(s),l=this._tiles[o];if(l&&l.active){l.retain=!0;continue}l&&l.loaded&&(l.retain=!0),i+1this.options.maxZoom||void 0!==this.options.minZoom&&r1)return void this._setView(e,i);for(var c=r.min.y;c<=r.max.y;c++)for(var h=r.min.x;h<=r.max.x;h++){var f=new z(h,c);if(f.z=this._tileZoom,this._isValidTile(f)){var m=this._tiles[this._tileCoordsToKey(f)];m?m.current=!0:s.push(f)}}if(s.sort(function(e,t){return e.distanceTo(a)-t.distanceTo(a)}),0!==s.length){this._loading||(this._loading=!0,this.fire("loading"));var g=document.createDocumentFragment();for(h=0;hi.max.x)||!t.wrapLat&&(e.yi.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(e);return G(this.options.bounds).overlaps(n)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,i=this.getTileSize(),n=e.scaleBy(i),r=n.add(i);return[t.unproject(n,e.z),t.unproject(r,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),i=new $(t[0],t[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),i=new z(+t[0],+t[1]);return i.z=+t[2],i},_removeTile:function(e){var t=this._tiles[e];t&&(ta(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){td(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=g,e.onmousemove=g,eq.ielt9&&this.options.opacity<1&&tm(e,this.options.opacity)},_addTile:function(e,t){var i=this._getTilePos(e),n=this._tileCoordsToKey(e),r=this.createTile(this._wrapCoords(e),d(this._tileReady,this,e));this._initTile(r),this.createTile.length<2&&I(d(this._tileReady,this,e,null,r)),tv(r,i),this._tiles[n]={el:r,coords:e,current:!0},t.appendChild(r),this.fire("tileloadstart",{tile:r,coords:e})},_tileReady:function(e,t,i){t&&this.fire("tileerror",{error:t,tile:i,coords:e});var n=this._tileCoordsToKey(e);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(tm(i.el,0),B(this._fadeFrame),this._fadeFrame=I(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),t||(td(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),eq.ielt9||!this._map._fadeAnimated?I(this._pruneTiles,this):setTimeout(d(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new z(this._wrapX?m(e.x,this._wrapX):e.x,this._wrapY?m(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new V(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function nl(e){return new no(e)}var nu=no.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=y(this,t)).detectRetina&&eq.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var i=document.createElement("img");return tx(i,"load",d(this._tileOnLoad,this,t,i)),tx(i,"error",d(this._tileOnError,this,t,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(e),i},getTileUrl:function(e){var t={r:eq.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=i),t["-y"]=i}return w(this._url,l(t,this.options))},_tileOnLoad:function(e,t){eq.ielt9?setTimeout(d(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,i){var n=this.options.errorTileUrl;n&&t.getAttribute("src")!==n&&(t.src=n),e(i,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset;return i&&(e=t-e),e+n},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=g,t.onerror=g,!t.complete)){t.src=E;var i=this._tiles[e].coords;ta(t),delete this._tiles[e],this.fire("tileabort",{tile:t,coords:i})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",E),no.prototype._removeTile.call(this,e)},_tileReady:function(e,t,i){if(this._map&&(!i||i.getAttribute("src")!==E))return no.prototype._tileReady.call(this,e,t,i)}});function nd(e,t){return new nu(e,t)}var nc=nu.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var i=l({},this.defaultWmsParams);for(var n in t)n in this.options||(i[n]=t[n]);var r=(t=y(this,t)).detectRetina&&eq.retina?2:1,a=this.getTileSize();i.width=a.x*r,i.height=a.y*r,this.wmsParams=i},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,nu.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),i=this._crs,n=H(i.project(t[0]),i.project(t[1])),r=n.min,a=n.max,s=(this._wmsVersion>=1.3&&this._crs===iC?[r.y,r.x,a.y,a.x]:[r.x,r.y,a.x,a.y]).join(","),o=nu.prototype.getTileUrl.call(this,e);return o+F(this.wmsParams,o,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+s},setParams:function(e,t){return l(this.wmsParams,e),t||this.redraw(),this}});function nh(e,t){return new nc(e,t)}nu.WMS=nc,nd.wms=nh;var nf=iE.extend({options:{padding:.1},initialize:function(e){y(this,e),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),td(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var i=this._map.getZoomScale(t,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,t),a=n.multiplyBy(-i).add(r).subtract(this._map._getNewPixelOrigin(e,t));eq.any3d?t_(this._container,a,i):tv(this._container,a)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),i=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new V(i,i.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),nm=nf.extend({options:{tolerance:0},getEvents:function(){var e=nf.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){nf.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");tx(e,"mousemove",this._onMouseMove,this),tx(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),tx(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){B(this._redrawRequest),delete this._ctx,ta(this._container),tT(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){nf.prototype._update.call(this);var e=this._bounds,t=this._container,i=e.getSize(),n=eq.retina?2:1;tv(t,e.min),t.width=n*i.x,t.height=n*i.y,t.style.width=i.x+"px",t.style.height=i.y+"px",eq.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){nf.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[h(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,i=t.next,n=t.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete e._order,delete this._layers[h(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,i,n=e.options.dashArray.split(/[, ]+/),r=[];for(i=0;i')}}catch(e){}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),n_={_initContainer:function(){this._container=tr("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(nf.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=np("shape");td(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=np("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[h(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;ta(t),e.removeInteractiveTarget(t),delete this._layers[h(e)]},_updateStyle:function(e){var t=e._stroke,i=e._fill,n=e.options,r=e._container;r.stroked=!!n.stroke,r.filled=!!n.fill,n.stroke?(t||(t=e._stroke=np("stroke")),r.appendChild(t),t.weight=n.weight+"px",t.color=n.color,t.opacity=n.opacity,n.dashArray?t.dashStyle=C(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=n.lineCap.replace("butt","flat"),t.joinstyle=n.lineJoin):t&&(r.removeChild(t),e._stroke=null),n.fill?(i||(i=e._fill=np("fill")),r.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(r.removeChild(i),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),i=Math.round(e._radius),n=Math.round(e._radiusY||i);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+i+","+n+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){to(e._container)},_bringToBack:function(e){tl(e._container)}},nv=eq.vml?np:er,nb=nf.extend({_initContainer:function(){this._container=nv("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=nv("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ta(this._container),tT(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){nf.prototype._update.call(this);var e=this._bounds,t=e.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,i.setAttribute("width",t.x),i.setAttribute("height",t.y)),tv(i,e.min),i.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=nv("path");e.options.className&&td(t,e.options.className),e.options.interactive&&td(t,"leaflet-interactive"),this._updateStyle(e),this._layers[h(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){ta(e._path),e.removeInteractiveTarget(e._path),delete this._layers[h(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,i=e.options;t&&(i.stroke?(t.setAttribute("stroke",i.color),t.setAttribute("stroke-opacity",i.opacity),t.setAttribute("stroke-width",i.weight),t.setAttribute("stroke-linecap",i.lineCap),t.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?t.setAttribute("stroke-dasharray",i.dashArray):t.removeAttribute("stroke-dasharray"),i.dashOffset?t.setAttribute("stroke-dashoffset",i.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),i.fill?(t.setAttribute("fill",i.fillColor||i.color),t.setAttribute("fill-opacity",i.fillOpacity),t.setAttribute("fill-rule",i.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,ea(e._parts,t))},_updateCircle:function(e){var t=e._point,i=Math.max(Math.round(e._radius),1),n=Math.max(Math.round(e._radiusY),1)||i,r="a"+i+","+n+" 0 1,0 ",a=e._empty()?"M0 0":"M"+(t.x-i)+","+t.y+r+2*i+",0 "+r+-(2*i)+",0 ";this._setPath(e,a)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){to(e._path)},_bringToBack:function(e){tl(e._path)}});function ny(e){return eq.svg||eq.vml?new nb(e):null}eq.vml&&nb.include(n_),tG.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&ng(e)||ny(e)}});var nF=iV.extend({initialize:function(e,t){iV.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=G(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function nk(e,t){return new nF(e,t)}nb.create=nv,nb.pointsToPath=ea,i$.geometryToLayer=iG,i$.coordsToLatLng=iK,i$.coordsToLatLngs=iY,i$.latLngToCoords=iQ,i$.latLngsToCoords=iZ,i$.getFeature=iJ,i$.asFeature=i0,tG.mergeOptions({boxZoom:!0});var nw=t5.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){tx(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){tT(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ta(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),t(),tF(),this._startPoint=this._map.mouseEventToContainerPoint(e),tx(document,{contextmenu:tO,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=tr("div","leaflet-zoom-box",this._container),td(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new V(this._point,this._startPoint),i=t.getSize();tv(this._box,t.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(ta(this._box),tc(this._container,"leaflet-crosshair")),i(),tk(),tT(document,{contextmenu:tO,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(d(this._resetState,this),0);var t=new $(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});tG.addInitHook("addHandler","boxZoom",nw),tG.mergeOptions({doubleClickZoom:!0});var nC=t5.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,i=t.getZoom(),n=t.options.zoomDelta,r=e.originalEvent.shiftKey?i-n:i+n;"center"===t.options.doubleClickZoom?t.setZoom(r):t.setZoomAround(e.containerPoint,r)}});tG.addInitHook("addHandler","doubleClickZoom",nC),tG.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var nA=t5.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new t7(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}td(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){tc(this._map._container,"leaflet-grab"),tc(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=G(this._map.options.maxBounds);this._offsetLimit=H(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.xt.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,r=(n-t+i)%e+t-i,a=(n+t+i)%e-t-i,s=Math.abs(r+i)0?r:-r))-t;this._delta=0,this._startTime=null,a&&("center"===e.options.scrollWheelZoom?e.setZoom(t+a):e.setZoomAround(this._lastMousePos,t+a))}});tG.addInitHook("addHandler","scrollWheelZoom",nS);var nx=600;tG.mergeOptions({tapHold:eq.touchNative&&eq.safari&&eq.mobile,tapTolerance:15});var nD=t5.extend({addHooks:function(){tx(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){tT(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),1===e.touches.length){var t=e.touches[0];this._startPos=this._newPos=new z(t.clientX,t.clientY),this._holdTimeout=setTimeout(d(function(){this._cancel(),this._isTapValid()&&(tx(document,"touchend",tj),tx(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))},this),nx),tx(document,"touchend touchcancel contextmenu",this._cancel,this),tx(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){tT(document,"touchend",tj),tT(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),tT(document,"touchend touchcancel contextmenu",this._cancel,this),tT(document,"touchmove",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new z(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var i=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});i._simulated=!0,t.target.dispatchEvent(i)}});tG.addInitHook("addHandler","tapHold",nD),tG.mergeOptions({touchZoom:eq.touch,bounceAtZoomLimits:!0});var nT=t5.extend({addHooks:function(){td(this._map._container,"leaflet-touch-zoom"),tx(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){tc(this._map._container,"leaflet-touch-zoom"),tT(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var i=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),tx(document,"touchmove",this._onTouchMove,this),tx(document,"touchend touchcancel",this._onTouchEnd,this),tj(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,i=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]),r=i.distanceTo(n)/this._startDist;if(this._zoom=t.getScaleZoom(r,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoomt.getMaxZoom()&&r>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var a=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===a.x&&0===a.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),B(this._animRequest);var s=d(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=I(s,this,!0),tj(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,B(this._animRequest),tT(document,"touchmove",this._onTouchMove,this),tT(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});tG.addInitHook("addHandler","touchZoom",nT),tG.BoxZoom=nw,tG.DoubleClickZoom=nC,tG.Drag=nA,tG.Keyboard=nE,tG.ScrollWheelZoom=nS,tG.TapHold=nD,tG.TouchZoom=nT,e.Bounds=V,e.Browser=eq,e.CRS=Y,e.Canvas=nm,e.Circle=iz,e.CircleMarker=ij,e.Class=N,e.Control=tK,e.DivIcon=na,e.DivOverlay=ne,e.DomEvent=tH,e.DomUtil=tS,e.Draggable=t7,e.Evented=O,e.FeatureGroup=iD,e.GeoJSON=i$,e.GridLayer=no,e.Handler=t5,e.Icon=iM,e.ImageOverlay=i4,e.LatLng=X,e.LatLngBounds=$,e.Layer=iE,e.LayerGroup=iS,e.LineUtil=ib,e.Map=tG,e.Marker=iL,e.Mixin=t8,e.Path=iR,e.Point=z,e.PolyUtil=ir,e.Polygon=iV,e.Polyline=iq,e.Popup=nt,e.PosAnimation=t$,e.Projection=ik,e.Rectangle=nF,e.Renderer=nf,e.SVG=nb,e.SVGOverlay=i9,e.TileLayer=nu,e.Tooltip=nn,e.Transformation=ee,e.Util=P,e.VideoOverlay=i5,e.bind=d,e.bounds=H,e.canvas=ng,e.circle=iU,e.circleMarker=iO,e.control=tY,e.divIcon=ns,e.extend=l,e.featureGroup=iT,e.geoJSON=i2,e.geoJson=i3,e.gridLayer=nl,e.icon=iI,e.imageOverlay=i6,e.latLng=K,e.latLngBounds=G,e.layerGroup=ix,e.map=tX,e.marker=iN,e.point=W,e.polygon=iH,e.polyline=iW,e.popup=ni,e.rectangle=nk,e.setOptions=y,e.stamp=h,e.svg=ny,e.svgOverlay=i7,e.tileLayer=nd,e.tooltip=nr,e.transformation=et,e.version=o,e.videoOverlay=i8;var nM=window.L;e.noConflict=function(){return window.L=nM,this},window.L=e})},55580(e,t,i){e.exports=i(56110)(i(9325),"DataView")},21549(e,t,i){var n=i(22032),r=i(63862),a=i(66721),s=i(12749),o=i(35749);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1}},31175(e,t,i){var n=i(26025);e.exports=function(e,t){var i=this.__data__,r=n(i,e);return r<0?(++this.size,i.push([e,t])):i[r][1]=t,this}},63040(e,t,i){var n=i(21549),r=i(80079),a=i(68223);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||r),string:new n}}},17670(e,t,i){var n=i(12651);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=!!t,t}},90289(e,t,i){var n=i(12651);e.exports=function(e){return n(this,e).get(e)}},4509(e,t,i){var n=i(12651);e.exports=function(e){return n(this,e).has(e)}},72949(e,t,i){var n=i(12651);e.exports=function(e,t){var i=n(this,e),r=i.size;return i.set(e,t),this.size+=+(i.size!=r),this}},81042(e,t,i){e.exports=i(56110)(Object,"create")},3650(e,t,i){e.exports=i(74335)(Object.keys,Object)},90181(e){e.exports=function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}},86009(e,t,i){e=i.nmd(e);var n=i(34840),r=t&&!t.nodeType&&t,a=r&&e&&!e.nodeType&&e,s=a&&a.exports===r&&n.process,o=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=o},59350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335(e){e.exports=function(e,t){return function(i){return e(t(i))}}},9325(e,t,i){var n=i(34840),r="object"==typeof self&&self&&self.Object===Object&&self;e.exports=n||r||Function("return this")()},51420(e,t,i){var n=i(80079);e.exports=function(){this.__data__=new n,this.size=0}},90938(e){e.exports=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i}},63605(e){e.exports=function(e){return this.__data__.get(e)}},29817(e){e.exports=function(e){return this.__data__.has(e)}},80945(e,t,i){var n=i(80079),r=i(68223),a=i(53661),s=200;e.exports=function(e,t){var i=this.__data__;if(i instanceof n){var o=i.__data__;if(!r||o.length-1&&e%1==0&&e<=t}},87730(e,t,i){var n=i(29172),r=i(27301),a=i(86009),s=a&&a.isMap;e.exports=s?r(s):n},23805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},38440(e,t,i){var n=i(16038),r=i(27301),a=i(86009),s=a&&a.isSet;e.exports=s?r(s):n},37167(e,t,i){var n=i(4901),r=i(27301),a=i(86009),s=a&&a.isTypedArray;e.exports=s?r(s):n},95950(e,t,i){var n=i(70695),r=i(88984),a=i(64894);e.exports=function(e){return a(e)?n(e):r(e)}},37241(e,t,i){var n=i(70695),r=i(72903),a=i(64894);e.exports=function(e){return a(e)?n(e,!0):r(e)}},2543(e,t,i){e=i.nmd(e),(function(){var n,r="4.17.23",a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",l="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,c="__lodash_placeholder__",h=1,f=2,m=4,g=1,p=2,_=1,b=2,y=4,F=8,k=16,w=32,C=64,A=128,E=256,S=512,x=30,D="...",T=800,M=16,I=1,B=2,P=3,N=1/0,R=0x1fffffffffffff,j=17976931348623157e292,O=0/0,z=0xffffffff,q=0xfffffffe,W=0x7fffffff,V=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],H="[object Arguments]",$="[object Array]",G="[object AsyncFunction]",X="[object Boolean]",K="[object Date]",Y="[object DOMException]",Q="[object Error]",Z="[object Function]",J="[object GeneratorFunction]",ee="[object Map]",et="[object Number]",ei="[object Null]",en="[object Object]",er="[object Promise]",ea="[object Proxy]",es="[object RegExp]",eo="[object Set]",el="[object String]",eu="[object Symbol]",ed="[object Undefined]",ec="[object WeakMap]",eh="[object WeakSet]",ef="[object ArrayBuffer]",em="[object DataView]",eg="[object Float32Array]",ep="[object Float64Array]",e_="[object Int8Array]",ev="[object Int16Array]",eb="[object Int32Array]",ey="[object Uint8Array]",eF="[object Uint8ClampedArray]",ek="[object Uint16Array]",ew="[object Uint32Array]",eC=/\b__p \+= '';/g,eA=/\b(__p \+=) '' \+/g,eE=/(__e\(.*?\)|\b__t\)) \+\n'';/g,eS=/&(?:amp|lt|gt|quot|#39);/g,ex=/[&<>"']/g,eD=RegExp(eS.source),eT=RegExp(ex.source),eM=/<%-([\s\S]+?)%>/g,eI=/<%([\s\S]+?)%>/g,eB=/<%=([\s\S]+?)%>/g,eP=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,eL=/^\w*$/,eN=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,eR=/[\\^$.*+?()[\]{}|]/g,ej=RegExp(eR.source),eO=/^\s+/,ez=/\s/,eU=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,eq=/\{\n\/\* \[wrapped with (.+)\] \*/,eW=/,? & /,eV=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,eH=/[()=,{}\[\]\/\s]/,e$=/\\(\\)?/g,eG=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,eX=/\w*$/,eK=/^[-+]0x[0-9a-f]+$/i,eY=/^0b[01]+$/i,eQ=/^\[object .+?Constructor\]$/,eZ=/^0o[0-7]+$/i,eJ=/^(?:0|[1-9]\d*)$/,e0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,e1=/($^)/,e2=/['\n\r\u2028\u2029\\]/g,e3="\\ud800-\\udfff",e4="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",e6="\\u2700-\\u27bf",e5="a-z\\xdf-\\xf6\\xf8-\\xff",e8="A-Z\\xc0-\\xd6\\xd8-\\xde",e9="\\ufe0e\\ufe0f",e7="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="['’]",tt="["+e3+"]",ti="["+e7+"]",tn="["+e4+"]",tr="\\d+",ta="["+e6+"]",ts="["+e5+"]",to="[^"+e3+e7+tr+e6+e5+e8+"]",tl="\\ud83c[\\udffb-\\udfff]",tu="[^"+e3+"]",td="(?:\\ud83c[\\udde6-\\uddff]){2}",tc="[\\ud800-\\udbff][\\udc00-\\udfff]",th="["+e8+"]",tf="\\u200d",tm="(?:"+ts+"|"+to+")",tg="(?:"+th+"|"+to+")",tp="(?:"+te+"(?:d|ll|m|re|s|t|ve))?",t_="(?:"+te+"(?:D|LL|M|RE|S|T|VE))?",tv="(?:"+tn+"|"+tl+")?",tb="["+e9+"]?",ty="(?:"+tf+"(?:"+[tu,td,tc].join("|")+")"+tb+tv+")*",tF="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tk="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",tw=tb+tv+ty,tC="(?:"+[ta,td,tc].join("|")+")"+tw,tA="(?:"+[tu+tn+"?",tn,td,tc,tt].join("|")+")",tE=RegExp(te,"g"),tS=RegExp(tn,"g"),tx=RegExp(tl+"(?="+tl+")|"+tA+tw,"g"),tD=RegExp([th+"?"+ts+"+"+tp+"(?="+[ti,th,"$"].join("|")+")",tg+"+"+t_+"(?="+[ti,th+tm,"$"].join("|")+")",th+"?"+tm+"+"+tp,th+"+"+t_,tk,tF,tr,tC].join("|"),"g"),tT=RegExp("["+tf+e3+e4+e9+"]"),tM=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tI=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tB=-1,tP={};tP[eg]=tP[ep]=tP[e_]=tP[ev]=tP[eb]=tP[ey]=tP[eF]=tP[ek]=tP[ew]=!0,tP[H]=tP[$]=tP[ef]=tP[X]=tP[em]=tP[K]=tP[Q]=tP[Z]=tP[ee]=tP[et]=tP[en]=tP[es]=tP[eo]=tP[el]=tP[ec]=!1;var tL={};tL[H]=tL[$]=tL[ef]=tL[em]=tL[X]=tL[K]=tL[eg]=tL[ep]=tL[e_]=tL[ev]=tL[eb]=tL[ee]=tL[et]=tL[en]=tL[es]=tL[eo]=tL[el]=tL[eu]=tL[ey]=tL[eF]=tL[ek]=tL[ew]=!0,tL[Q]=tL[Z]=tL[ec]=!1;var tN={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},tR={"&":"&","<":"<",">":">",'"':""","'":"'"},tj={"&":"&","<":"<",">":">",""":'"',"'":"'"},tO={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tz=parseFloat,tU=parseInt,tq="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,tW="object"==typeof self&&self&&self.Object===Object&&self,tV=tq||tW||Function("return this")(),tH=t&&!t.nodeType&&t,t$=tH&&e&&!e.nodeType&&e,tG=t$&&t$.exports===tH,tX=tG&&tq.process,tK=function(){try{var e=t$&&t$.require&&t$.require("util").types;if(e)return e;return tX&&tX.binding&&tX.binding("util")}catch(e){}}(),tY=tK&&tK.isArrayBuffer,tQ=tK&&tK.isDate,tZ=tK&&tK.isMap,tJ=tK&&tK.isRegExp,t0=tK&&tK.isSet,t1=tK&&tK.isTypedArray;function t2(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}function t3(e,t,i,n){for(var r=-1,a=null==e?0:e.length;++r-1}function t7(e,t,i){for(var n=-1,r=null==e?0:e.length;++n-1;);return i}function ix(e,t){for(var i=e.length;i--&&ic(t,e[i],0)>-1;);return i}function iD(e,t){for(var i=e.length,n=0;i--;)e[i]===t&&++n;return n}var iT=i_(tN),iM=i_(tR);function iI(e){return"\\"+tO[e]}function iB(e,t){return null==e?n:e[t]}function iP(e){return tT.test(e)}function iL(e){return tM.test(e)}function iN(e){for(var t,i=[];!(t=e.next()).done;)i.push(t.value);return i}function iR(e){var t=-1,i=Array(e.size);return e.forEach(function(e,n){i[++t]=[n,e]}),i}function ij(e,t){return function(i){return e(t(i))}}function iO(e,t){for(var i=-1,n=e.length,r=0,a=[];++i-1}function np(e,t){var i=this.__data__,n=nj(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this}function n_(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function nH(e,t,i,r,a,s){var o,l=t&h,u=t&f,d=t&m;if(i&&(o=a?i(e,r,a,s):i(e)),n!==o)return o;if(!l1(e))return e;var c=lO(e);if(c){if(o=a9(e),!l)return ac(e,o)}else{var g=a4(e),p=g==Z||g==J;if(lV(e))return at(e,l);if(g==en||g==H||p&&!a){if(o=u||p?{}:a7(e),!l)return u?am(e,nU(o,e)):af(e,nz(o,e))}else{if(!tL[g])return a?e:{};o=se(e,g,l)}}s||(s=new nE);var _=s.get(e);if(_)return _;s.set(e,o),ur(e)?e.forEach(function(n){o.add(nH(n,t,i,n,e,s))}):l3(e)&&e.forEach(function(n,r){o.set(r,nH(n,t,i,r,e,s))});var b=d?u?aG:a$:u?uV:uW,y=c?n:b(e);return t4(y||e,function(n,r){y&&(n=e[r=n]),nR(o,r,nH(n,t,i,r,e,s))}),o}function n$(e){var t=uW(e);return function(i){return nG(i,e,t)}}function nG(e,t,i){var r=i.length;if(null==e)return!r;for(e=e6(e);r--;){var a=i[r],s=t[a],o=e[a];if(n===o&&!(a in e)||!s(o))return!1}return!0}function nX(e,t,i){if("function"!=typeof e)throw new e9(o);return sk(function(){e.apply(n,i)},t)}function nK(e,t,i,n){var r=-1,s=t9,o=!0,l=e.length,u=[],d=t.length;if(!l)return u;i&&(t=ie(t,iC(i))),n?(s=t7,o=!1):t.length>=a&&(s=iE,o=!1,t=new nw(t));t:for(;++ra?0:a+i),(r=n===r||r>a?a:ug(r))<0&&(r+=a),r=i>r?0:up(r);i0&&i(o)?t>1?n2(o,t-1,i,n,r):it(r,o):n||(r[r.length]=o)}return r}var n3=av(),n4=av(!0);function n6(e,t){return e&&n3(e,t,uW)}function n5(e,t){return e&&n4(e,t,uW)}function n8(e,t){return t8(t,function(t){return lZ(e[t])})}function n9(e,t){t=r8(t,e);for(var i=0,r=t.length;null!=e&&it}function ri(e,t){return null!=e&&tr.call(e,t)}function rn(e,t){return null!=e&&t in e6(e)}function rr(e,t,i){return e>=tq(t,i)&&e=120&&h.length>=120)?new nw(l&&h):n}h=e[0];var f=-1,m=u[0];t:for(;++f-1;)o!==e&&tv.call(o,l,1),tv.call(e,l,1);return e}function rP(e,t){for(var i=e?t.length:0,n=i-1;i--;){var r=t[i];if(i==n||r!==a){var a=r;sn(r)?tv.call(e,r,1):rJ(e,r)}}return e}function rL(e,t){return e+tD(t$()*(t-e+1))}function rN(e,t,n,r){for(var a=-1,s=tO(tx((t-e)/(n||1)),0),o=i(s);s--;)o[r?s:++a]=e,e+=n;return o}function rR(e,t){var i="";if(!e||t<1||t>R)return i;do t%2&&(i+=e),(t=tD(t/2))&&(e+=e);while(t);return i}function rj(e,t){return sw(s_(e,t,dq),e+"")}function rO(e){return nB(u9(e))}function rz(e,t){var i=u9(e);return sE(i,nV(t,0,i.length))}function rU(e,t,i,r){if(!l1(e))return e;t=r8(t,e);for(var a=-1,s=t.length,o=s-1,l=e;null!=l&&++aa?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var s=i(a);++r>>1,s=e[a];null!==s&&!us(s)&&(i?s<=t:s=a){var d=t?null:aN(e);if(d)return iz(d);o=!1,r=iE,u=new nw}else u=t?[]:l;t:for(;++n=r?e:rH(e,t,i)}var ae=tw||function(e){return tV.clearTimeout(e)};function at(e,t){if(t)return e.slice();var i=e.length,n=tm?tm(i):new e.constructor(i);return e.copy(n),n}function ai(e){var t=new e.constructor(e.byteLength);return new tf(t).set(new tf(e)),t}function an(e,t){var i=t?ai(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}function ar(e){var t=new e.constructor(e.source,eX.exec(e));return t.lastIndex=e.lastIndex,t}function aa(e){return i6?e6(i6.call(e)):{}}function as(e,t){var i=t?ai(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}function ao(e,t){if(e!==t){var i=n!==e,r=null===e,a=e==e,s=us(e),o=n!==t,l=null===t,u=t==t,d=us(t);if(!l&&!d&&!s&&e>t||s&&o&&u&&!l&&!d||r&&o&&u||!i&&u||!a)return 1;if(!r&&!s&&!d&&e=o)return l;return l*("desc"==i[n]?-1:1)}}return e.index-t.index}function au(e,t,n,r){for(var a=-1,s=e.length,o=n.length,l=-1,u=t.length,d=tO(s-o,0),c=i(u+d),h=!r;++l1?i[a-1]:n,o=a>2?i[2]:n;for(s=e.length>3&&"function"==typeof s?(a--,s):n,o&&sr(i[0],i[1],o)&&(s=a<3?n:s,a=1),t=e6(t);++r-1?a[s?t[o]:o]:n}}function aA(e){return aH(function(t){var i=t.length,r=i,a=ne.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new e9(o);if(a&&!l&&"wrapper"==aK(s))var l=new ne([],!0)}for(r=l?r:i;++r1&&_.reverse(),h&&dl))return!1;var d=s.get(e),c=s.get(t);if(d&&c)return d==t&&c==e;var h=-1,f=!0,m=i&p?new nw:n;for(s.set(e,t),s.set(t,e);++h1?"& ":"")+t[n],t=t.join(i>2?", ":" "),e.replace(eU,"{\n/* [wrapped with "+t+"] */\n")}function si(e){return lO(e)||lj(e)||!!(tb&&e&&e[tb])}function sn(e,t){var i=typeof e;return!!(t=null==t?R:t)&&("number"==i||"symbol"!=i&&eJ.test(e))&&e>-1&&e%1==0&&e0){if(++t>=T)return arguments[0]}else t=0;return e.apply(n,arguments)}}function sE(e,t){var i=-1,r=e.length,a=r-1;for(t=n===t?r:t;++i1?e[t-1]:n;return i="function"==typeof i?(e.pop(),i):n,ow(e,i)});function oI(e){var t=i8(e);return t.__chain__=!0,t}function oB(e,t){return t(e),e}function oP(e,t){return t(e)}var oL=aH(function(e){var t=e.length,i=t?e[0]:0,r=this.__wrapped__,a=function(t){return nW(t,e)};return!(t>1)&&!this.__actions__.length&&r instanceof nt&&sn(i)?((r=r.slice(i,+i+ +!!t)).__actions__.push({func:oP,args:[a],thisArg:n}),new ne(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e})):this.thru(a)});function oN(){return oI(this)}function oR(){return new ne(this.value(),this.__chain__)}function oj(){this.__values__===n&&(this.__values__=uf(this.value()));var e=this.__index__>=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}}function oO(){return this}function oz(e){for(var t,i=this;i instanceof i7;){var r=sM(i);r.__index__=0,r.__values__=n,t?a.__wrapped__=r:t=r;var a=r;i=i.__wrapped__}return a.__wrapped__=e,t}function oU(){var e=this.__wrapped__;if(e instanceof nt){var t=e;return this.__actions__.length&&(t=new nt(this)),(t=t.reverse()).__actions__.push({func:oP,args:[ot],thisArg:n}),new ne(t,this.__chain__)}return this.thru(ot)}function oq(){return r2(this.__wrapped__,this.__actions__)}var oW=ag(function(e,t,i){tr.call(e,i)?++e[i]:nq(e,i,1)});function oV(e,t,i){var r=lO(e)?t5:nZ;return i&&sr(e,t,i)&&(t=n),r(e,aQ(t,3))}function oH(e,t){return(lO(e)?t8:n1)(e,aQ(t,3))}var o$=aC(sW),oG=aC(sV);function oX(e,t){return n2(o3(e,t),1)}function oK(e,t){return n2(o3(e,t),N)}function oY(e,t,i){return i=n===i?1:ug(i),n2(o3(e,t),i)}function oQ(e,t){return(lO(e)?t4:nY)(e,aQ(t,3))}function oZ(e,t){return(lO(e)?t6:nQ)(e,aQ(t,3))}var oJ=ag(function(e,t,i){tr.call(e,i)?e[i].push(t):nq(e,i,[t])});function o0(e,t,i,n){e=lU(e)?e:u9(e),i=i&&!n?ug(i):0;var r=e.length;return i<0&&(i=tO(r+i,0)),ua(e)?i<=r&&e.indexOf(t,i)>-1:!!r&&ic(e,t,i)>-1}var o1=rj(function(e,t,n){var r=-1,a="function"==typeof t,s=lU(e)?i(e.length):[];return nY(e,function(e){s[++r]=a?t2(t,e,n):ro(e,t,n)}),s}),o2=ag(function(e,t,i){nq(e,i,t)});function o3(e,t){return(lO(e)?ie:rw)(e,aQ(t,3))}function o4(e,t,i,r){return null==e?[]:(lO(t)||(t=null==t?[]:[t]),lO(i=r?n:i)||(i=null==i?[]:[i]),rD(e,t,i))}var o6=ag(function(e,t,i){e[+!i].push(t)},function(){return[[],[]]});function o5(e,t,i){var n=lO(e)?ii:iv,r=arguments.length<3;return n(e,aQ(t,4),i,r,nY)}function o8(e,t,i){var n=lO(e)?ir:iv,r=arguments.length<3;return n(e,aQ(t,4),i,r,nQ)}function o9(e,t){return(lO(e)?t8:n1)(e,lv(aQ(t,3)))}function o7(e){return(lO(e)?nB:rO)(e)}function le(e,t,i){return t=(i?sr(e,t,i):n===t)?1:ug(t),(lO(e)?nP:rz)(e,t)}function lt(e){return(lO(e)?nL:rV)(e)}function li(e){if(null==e)return 0;if(lU(e))return ua(e)?iV(e):e.length;var t=a4(e);return t==ee||t==eo?e.size:ry(e).length}function ln(e,t,i){var r=lO(e)?ia:r$;return i&&sr(e,t,i)&&(t=n),r(e,aQ(t,3))}var lr=rj(function(e,t){if(null==e)return[];var i=t.length;return i>1&&sr(e,t[0],t[1])?t=[]:i>2&&sr(t[0],t[1],t[2])&&(t=[t[0]]),rD(e,n2(t,1),[])}),la=tC||function(){return tV.Date.now()};function ls(e,t){if("function"!=typeof t)throw new e9(o);return e=ug(e),function(){if(--e<1)return t.apply(this,arguments)}}function lo(e,t,i){return t=i?n:t,t=e&&null==t?e.length:t,aj(e,A,n,n,n,n,t)}function ll(e,t){var i;if("function"!=typeof t)throw new e9(o);return e=ug(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=n),i}}var lu=rj(function(e,t,i){var n=_;if(i.length){var r=iO(i,aY(lu));n|=w}return aj(e,n,t,i,r)}),ld=rj(function(e,t,i){var n=_|b;if(i.length){var r=iO(i,aY(ld));n|=w}return aj(t,n,e,i,r)});function lc(e,t,i){t=i?n:t;var r=aj(e,F,n,n,n,n,n,t);return r.placeholder=lc.placeholder,r}function lh(e,t,i){t=i?n:t;var r=aj(e,k,n,n,n,n,n,t);return r.placeholder=lh.placeholder,r}function lf(e,t,i){var r,a,s,l,u,d,c=0,h=!1,f=!1,m=!0;if("function"!=typeof e)throw new e9(o);function g(t){var i=r,s=a;return r=a=n,c=t,l=e.apply(s,i)}function p(e){return c=e,u=sk(y,t),h?g(e):l}function _(e){var i=e-d,n=e-c,r=t-i;return f?tq(r,s-n):r}function b(e){var i=e-d,r=e-c;return n===d||i>=t||i<0||f&&r>=s}function y(){var e=la();if(b(e))return F(e);u=sk(y,_(e))}function F(e){return(u=n,m&&r)?g(e):(r=a=n,l)}function k(){return n===u?l:F(la())}function w(){var e=la(),i=b(e);if(r=arguments,a=this,d=e,i){if(n===u)return p(d);if(f)return ae(u),u=sk(y,t),g(d)}return n===u&&(u=sk(y,t)),l}return t=u_(t)||0,l1(i)&&(h=!!i.leading,s=(f="maxWait"in i)?tO(u_(i.maxWait)||0,t):s,m="trailing"in i?!!i.trailing:m),w.cancel=function(){n!==u&&ae(u),c=0,r=d=a=u=n},w.flush=k,w}var lm=rj(function(e,t){return nX(e,1,t)}),lg=rj(function(e,t,i){return nX(e,u_(t)||0,i)});function lp(e){return aj(e,S)}function l_(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new e9(o);var i=function(){var n=arguments,r=t?t.apply(this,n):n[0],a=i.cache;if(a.has(r))return a.get(r);var s=e.apply(this,n);return i.cache=a.set(r,s)||a,s};return i.cache=new(l_.Cache||n_),i}function lv(e){if("function"!=typeof e)throw new e9(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function lb(e){return ll(2,e)}l_.Cache=n_;var ly=r9(function(e,t){var i=(t=1==t.length&&lO(t[0])?ie(t[0],iC(aQ())):ie(n2(t,1),iC(aQ()))).length;return rj(function(n){for(var r=-1,a=tq(n.length,i);++r=t}),lj=rl(function(){return arguments}())?rl:function(e){return l2(e)&&tr.call(e,"callee")&&!t_.call(e,"callee")},lO=i.isArray,lz=tY?iC(tY):ru;function lU(e){return null!=e&&l0(e.length)&&!lZ(e)}function lq(e){return l2(e)&&lU(e)}function lW(e){return!0===e||!1===e||l2(e)&&re(e)==X}var lV=tM||d5,lH=tQ?iC(tQ):rd;function l$(e){return l2(e)&&1===e.nodeType&&!ut(e)}function lG(e){if(null==e)return!0;if(lU(e)&&(lO(e)||"string"==typeof e||"function"==typeof e.splice||lV(e)||uo(e)||lj(e)))return!e.length;var t=a4(e);if(t==ee||t==eo)return!e.size;if(sd(e))return!ry(e).length;for(var i in e)if(tr.call(e,i))return!1;return!0}function lX(e,t){return rc(e,t)}function lK(e,t,i){var r=(i="function"==typeof i?i:n)?i(e,t):n;return n===r?rc(e,t,n,i):!!r}function lY(e){if(!l2(e))return!1;var t=re(e);return t==Q||t==Y||"string"==typeof e.message&&"string"==typeof e.name&&!ut(e)}function lQ(e){return"number"==typeof e&&tN(e)}function lZ(e){if(!l1(e))return!1;var t=re(e);return t==Z||t==J||t==G||t==ea}function lJ(e){return"number"==typeof e&&e==ug(e)}function l0(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=R}function l1(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function l2(e){return null!=e&&"object"==typeof e}var l3=tZ?iC(tZ):rf;function l4(e,t){return e===t||rm(e,t,aJ(t))}function l6(e,t,i){return i="function"==typeof i?i:n,rm(e,t,aJ(t),i)}function l5(e){return ue(e)&&e!=+e}function l8(e){if(su(e))throw new eV(s);return rg(e)}function l9(e){return null===e}function l7(e){return null==e}function ue(e){return"number"==typeof e||l2(e)&&re(e)==et}function ut(e){if(!l2(e)||re(e)!=en)return!1;var t=tg(e);if(null===t)return!0;var i=tr.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&tn.call(i)==tl}var ui=tJ?iC(tJ):rp;function un(e){return lJ(e)&&e>=-R&&e<=R}var ur=t0?iC(t0):r_;function ua(e){return"string"==typeof e||!lO(e)&&l2(e)&&re(e)==el}function us(e){return"symbol"==typeof e||l2(e)&&re(e)==eu}var uo=t1?iC(t1):rv;function ul(e){return n===e}function uu(e){return l2(e)&&a4(e)==ec}function ud(e){return l2(e)&&re(e)==eh}var uc=aB(rk),uh=aB(function(e,t){return e<=t});function uf(e){if(!e)return[];if(lU(e))return ua(e)?iH(e):ac(e);if(ty&&e[ty])return iN(e[ty]());var t=a4(e);return(t==ee?iR:t==eo?iz:u9)(e)}function um(e){return e?(e=u_(e))===N||e===-N?(e<0?-1:1)*j:e==e?e:0:0===e?e:0}function ug(e){var t=um(e),i=t%1;return t==t?i?t-i:t:0}function up(e){return e?nV(ug(e),0,z):0}function u_(e){if("number"==typeof e)return e;if(us(e))return O;if(l1(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=l1(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=iw(e);var i=eY.test(e);return i||eZ.test(e)?tU(e.slice(2),i?2:8):eK.test(e)?O:+e}function uv(e){return ah(e,uV(e))}function ub(e){return e?nV(ug(e),-R,R):0===e?e:0}function uy(e){return null==e?"":rQ(e)}var uF=ap(function(e,t){if(sd(t)||lU(t))return void ah(t,uW(t),e);for(var i in t)tr.call(t,i)&&nR(e,i,t[i])}),uk=ap(function(e,t){ah(t,uV(t),e)}),uw=ap(function(e,t,i,n){ah(t,uV(t),e,n)}),uC=ap(function(e,t,i,n){ah(t,uW(t),e,n)}),uA=aH(nW);function uE(e,t){var i=i9(e);return null==t?i:nz(i,t)}var uS=rj(function(e,t){e=e6(e);var i=-1,r=t.length,a=r>2?t[2]:n;for(a&&sr(t[0],t[1],a)&&(r=1);++i1),t}),ah(e,aG(e),i),n&&(i=nH(i,h|f|m,aU));for(var r=t.length;r--;)rJ(i,t[r]);return i});function uY(e,t){return uZ(e,lv(aQ(t)))}var uQ=aH(function(e,t){return null==e?{}:rT(e,t)});function uZ(e,t){if(null==e)return{};var i=ie(aG(e),function(e){return[e]});return t=aQ(t),rM(e,i,function(e,i){return t(e,i[0])})}function uJ(e,t,i){t=r8(t,e);var r=-1,a=t.length;for(a||(a=1,e=n);++rt){var r=e;e=t,t=r}if(i||e%1||t%1){var a=t$();return tq(e+a*(t-e+tz("1e-"+((a+"").length-1))),t)}return rL(e,t)}var dn=aF(function(e,t,i){return t=t.toLowerCase(),e+(i?dr(t):t)});function dr(e){return dI(uy(e).toLowerCase())}function da(e){return(e=uy(e))&&e.replace(e0,iT).replace(tS,"")}function ds(e,t,i){e=uy(e),t=rQ(t);var r=e.length,a=i=n===i?r:nV(ug(i),0,r);return(i-=t.length)>=0&&e.slice(i,a)==t}function dl(e){return(e=uy(e))&&eT.test(e)?e.replace(ex,iM):e}function du(e){return(e=uy(e))&&ej.test(e)?e.replace(eR,"\\$&"):e}var dd=aF(function(e,t,i){return e+(i?"-":"")+t.toLowerCase()}),dc=aF(function(e,t,i){return e+(i?" ":"")+t.toLowerCase()}),dh=ay("toLowerCase");function df(e,t,i){e=uy(e);var n=(t=ug(t))?iV(e):0;if(!t||n>=t)return e;var r=(t-n)/2;return aT(tD(r),i)+e+aT(tx(r),i)}function dm(e,t,i){e=uy(e);var n=(t=ug(t))?iV(e):0;return t&&n>>0)?(e=uy(e))&&("string"==typeof t||null!=t&&!ui(t))&&!(t=rQ(t))&&iP(e)?r7(iH(e),0,i):e.split(t,i):[]}var dF=aF(function(e,t,i){return e+(i?" ":"")+dI(t)});function dk(e,t,i){return e=uy(e),i=null==i?0:nV(ug(i),0,e.length),t=rQ(t),e.slice(i,i+t.length)==t}function dw(e,t,i){var r=i8.templateSettings;i&&sr(e,t,i)&&(t=n),e=uy(e),t=uw({},t,r,aO);var a,s,o=uw({},t.imports,r.imports,aO),u=uW(o),d=iA(o,u),c=0,h=t.interpolate||e1,f="__p += '",m=e5((t.escape||e1).source+"|"+h.source+"|"+(h===eB?eG:e1).source+"|"+(t.evaluate||e1).source+"|$","g"),g="//# sourceURL="+(tr.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tB+"]")+"\n";e.replace(m,function(t,i,n,r,o,l){return n||(n=r),f+=e.slice(c,l).replace(e2,iI),i&&(a=!0,f+="' +\n__e("+i+") +\n'"),o&&(s=!0,f+="';\n"+o+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),c=l+t.length,t}),f+="';\n";var p=tr.call(t,"variable")&&t.variable;if(p){if(eH.test(p))throw new eV(l)}else f="with (obj) {\n"+f+"\n}\n";f=(s?f.replace(eC,""):f).replace(eA,"$1").replace(eE,"$1;"),f="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var _=dP(function(){return e3(u,g+"return "+f).apply(n,d)});if(_.source=f,lY(_))throw _;return _}function dC(e){return uy(e).toLowerCase()}function dA(e){return uy(e).toUpperCase()}function dE(e,t,i){if((e=uy(e))&&(i||n===t))return iw(e);if(!e||!(t=rQ(t)))return e;var r=iH(e),a=iH(t),s=iS(r,a),o=ix(r,a)+1;return r7(r,s,o).join("")}function dS(e,t,i){if((e=uy(e))&&(i||n===t))return e.slice(0,i$(e)+1);if(!e||!(t=rQ(t)))return e;var r=iH(e),a=ix(r,iH(t))+1;return r7(r,0,a).join("")}function dx(e,t,i){if((e=uy(e))&&(i||n===t))return e.replace(eO,"");if(!e||!(t=rQ(t)))return e;var r=iH(e),a=iS(r,iH(t));return r7(r,a).join("")}function dD(e,t){var i=x,r=D;if(l1(t)){var a="separator"in t?t.separator:a;i="length"in t?ug(t.length):i,r="omission"in t?rQ(t.omission):r}var s=(e=uy(e)).length;if(iP(e)){var o=iH(e);s=o.length}if(i>=s)return e;var l=i-iV(r);if(l<1)return r;var u=o?r7(o,0,l).join(""):e.slice(0,l);if(n===a)return u+r;if(o&&(l+=u.length-l),ui(a)){if(e.slice(l).search(a)){var d,c=u;for(a.global||(a=e5(a.source,uy(eX.exec(a))+"g")),a.lastIndex=0;d=a.exec(c);)var h=d.index;u=u.slice(0,n===h?l:h)}}else if(e.indexOf(rQ(a),l)!=l){var f=u.lastIndexOf(a);f>-1&&(u=u.slice(0,f))}return u+r}function dT(e){return(e=uy(e))&&eD.test(e)?e.replace(eS,iG):e}var dM=aF(function(e,t,i){return e+(i?" ":"")+t.toUpperCase()}),dI=ay("toUpperCase");function dB(e,t,i){return(e=uy(e),t=i?n:t,n===t)?iL(e)?iY(e):il(e):e.match(t)||[]}var dP=rj(function(e,t){try{return t2(e,n,t)}catch(e){return lY(e)?e:new eV(e)}}),dL=aH(function(e,t){return t4(t,function(t){nq(e,t=sx(t),lu(e[t],e))}),e});function dN(e){var t=null==e?0:e.length,i=aQ();return e=t?ie(e,function(e){if("function"!=typeof e[1])throw new e9(o);return[i(e[0]),e[1]]}):[],rj(function(i){for(var n=-1;++nR)return[];var i=z,n=tq(e,z);t=aQ(t),e-=z;for(var r=iF(n,t);++i0||t<0)?new nt(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),n!==t&&(i=(t=ug(t))<0?i.dropRight(-t):i.take(t-e)),i)},nt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},nt.prototype.toArray=function(){return this.take(z)},n6(nt.prototype,function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=i8[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);a&&(i8.prototype[t]=function(){var t=this.__wrapped__,o=r?[1]:arguments,l=t instanceof nt,u=o[0],d=l||lO(t),c=function(e){var t=a.apply(i8,it([e],o));return r&&h?t[0]:t};d&&i&&"function"==typeof u&&1!=u.length&&(l=d=!1);var h=this.__chain__,f=!!this.__actions__.length,m=s&&!h,g=l&&!f;if(!s&&d){t=g?t:new nt(this);var p=e.apply(t,o);return p.__actions__.push({func:oP,args:[c],thisArg:n}),new ne(p,h)}return m&&g?e.apply(this,o):(p=this.thru(c),m?r?p.value()[0]:p.value():p)})}),t4(["pop","push","shift","sort","splice","unshift"],function(e){var t=e7[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);i8.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var r=this.value();return t.apply(lO(r)?r:[],e)}return this[i](function(i){return t.apply(lO(i)?i:[],e)})}}),n6(nt.prototype,function(e,t){var i=i8[t];if(i){var n=i.name+"";tr.call(iZ,n)||(iZ[n]=[]),iZ[n].push({name:t,func:i})}}),iZ[aE(n,b).name]=[{name:"wrapper",func:n}],nt.prototype.clone=ni,nt.prototype.reverse=nn,nt.prototype.value=nr,i8.prototype.at=oL,i8.prototype.chain=oN,i8.prototype.commit=oR,i8.prototype.next=oj,i8.prototype.plant=oz,i8.prototype.reverse=oU,i8.prototype.toJSON=i8.prototype.valueOf=i8.prototype.value=oq,i8.prototype.first=i8.prototype.head,ty&&(i8.prototype[ty]=oO),i8}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(tV._=iQ,define(function(){return iQ})):t$?((t$.exports=iQ)._=iQ,tH._=iQ):tV._=iQ}).call(this)},63345(e){e.exports=function(){return[]}},89935(e){e.exports=function(){return!1}},71514(e){"use strict";e.exports=Math.abs},58968(e){"use strict";e.exports=Math.floor},94459(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},6188(e){"use strict";e.exports=Math.max},68002(e){"use strict";e.exports=Math.min},75880(e){"use strict";e.exports=Math.pow},70414(e){"use strict";e.exports=Math.round},73093(e,t,i){"use strict";var n=i(94459);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},88276(e,t,i){"use strict";var n=i(56698),r=i(4729),a=i(92861).Buffer,s=Array(16);function o(){r.call(this,64),this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476}function l(e,t){return e<>>32-t}function u(e,t,i,n,r,a,s){return l(e+(t&i|~t&n)+r+a|0,s)+t|0}function d(e,t,i,n,r,a,s){return l(e+(t&n|i&~n)+r+a|0,s)+t|0}function c(e,t,i,n,r,a,s){return l(e+(t^i^n)+r+a|0,s)+t|0}function h(e,t,i,n,r,a,s){return l(e+(i^(t|~n))+r+a|0,s)+t|0}n(o,r),o.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var i=this._a,n=this._b,r=this._c,a=this._d;i=u(i,n,r,a,e[0],0xd76aa478,7),a=u(a,i,n,r,e[1],0xe8c7b756,12),r=u(r,a,i,n,e[2],0x242070db,17),n=u(n,r,a,i,e[3],0xc1bdceee,22),i=u(i,n,r,a,e[4],0xf57c0faf,7),a=u(a,i,n,r,e[5],0x4787c62a,12),r=u(r,a,i,n,e[6],0xa8304613,17),n=u(n,r,a,i,e[7],0xfd469501,22),i=u(i,n,r,a,e[8],0x698098d8,7),a=u(a,i,n,r,e[9],0x8b44f7af,12),r=u(r,a,i,n,e[10],0xffff5bb1,17),n=u(n,r,a,i,e[11],0x895cd7be,22),i=u(i,n,r,a,e[12],0x6b901122,7),a=u(a,i,n,r,e[13],0xfd987193,12),r=u(r,a,i,n,e[14],0xa679438e,17),n=u(n,r,a,i,e[15],0x49b40821,22),i=d(i,n,r,a,e[1],0xf61e2562,5),a=d(a,i,n,r,e[6],0xc040b340,9),r=d(r,a,i,n,e[11],0x265e5a51,14),n=d(n,r,a,i,e[0],0xe9b6c7aa,20),i=d(i,n,r,a,e[5],0xd62f105d,5),a=d(a,i,n,r,e[10],0x2441453,9),r=d(r,a,i,n,e[15],0xd8a1e681,14),n=d(n,r,a,i,e[4],0xe7d3fbc8,20),i=d(i,n,r,a,e[9],0x21e1cde6,5),a=d(a,i,n,r,e[14],0xc33707d6,9),r=d(r,a,i,n,e[3],0xf4d50d87,14),n=d(n,r,a,i,e[8],0x455a14ed,20),i=d(i,n,r,a,e[13],0xa9e3e905,5),a=d(a,i,n,r,e[2],0xfcefa3f8,9),r=d(r,a,i,n,e[7],0x676f02d9,14),n=d(n,r,a,i,e[12],0x8d2a4c8a,20),i=c(i,n,r,a,e[5],0xfffa3942,4),a=c(a,i,n,r,e[8],0x8771f681,11),r=c(r,a,i,n,e[11],0x6d9d6122,16),n=c(n,r,a,i,e[14],0xfde5380c,23),i=c(i,n,r,a,e[1],0xa4beea44,4),a=c(a,i,n,r,e[4],0x4bdecfa9,11),r=c(r,a,i,n,e[7],0xf6bb4b60,16),n=c(n,r,a,i,e[10],0xbebfbc70,23),i=c(i,n,r,a,e[13],0x289b7ec6,4),a=c(a,i,n,r,e[0],0xeaa127fa,11),r=c(r,a,i,n,e[3],0xd4ef3085,16),n=c(n,r,a,i,e[6],0x4881d05,23),i=c(i,n,r,a,e[9],0xd9d4d039,4),a=c(a,i,n,r,e[12],0xe6db99e5,11),r=c(r,a,i,n,e[15],0x1fa27cf8,16),n=c(n,r,a,i,e[2],0xc4ac5665,23),i=h(i,n,r,a,e[0],0xf4292244,6),a=h(a,i,n,r,e[7],0x432aff97,10),r=h(r,a,i,n,e[14],0xab9423a7,15),n=h(n,r,a,i,e[5],0xfc93a039,21),i=h(i,n,r,a,e[12],0x655b59c3,6),a=h(a,i,n,r,e[3],0x8f0ccc92,10),r=h(r,a,i,n,e[10],0xffeff47d,15),n=h(n,r,a,i,e[1],0x85845dd1,21),i=h(i,n,r,a,e[8],0x6fa87e4f,6),a=h(a,i,n,r,e[15],0xfe2ce6e0,10),r=h(r,a,i,n,e[6],0xa3014314,15),n=h(n,r,a,i,e[13],0x4e0811a1,21),i=h(i,n,r,a,e[4],0xf7537e82,6),a=h(a,i,n,r,e[11],0xbd3af235,10),r=h(r,a,i,n,e[2],0x2ad7d2bb,15),n=h(n,r,a,i,e[9],0xeb86d391,21),this._a=this._a+i|0,this._b=this._b+n|0,this._c=this._c+r|0,this._d=this._d+a|0},o.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=a.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=o},52244(e,t,i){var n=i(61158),r=i(15037);function a(e){this.rand=e||new r.Rand}e.exports=a,a.create=function(e){return new a(e)},a.prototype._randbelow=function(e){var t=Math.ceil(e.bitLength()/8);do var i=new n(this.rand.generate(t));while(i.cmp(e)>=0);return i},a.prototype._randrange=function(e,t){var i=t.sub(e);return e.add(this._randbelow(i))},a.prototype.test=function(e,t,i){var r=e.bitLength(),a=n.mont(e),s=new n(1).toRed(a);t||(t=Math.max(1,r/48|0));for(var o=e.subn(1),l=0;!o.testn(l);l++);for(var u=e.shrn(l),d=o.toRed(a),c=!0;t>0;t--){var h=this._randrange(new n(2),o);i&&i(h);var f=h.toRed(a).redPow(u);if(0!==f.cmp(s)&&0!==f.cmp(d)){for(var m=1;m0;t--){var d=this._randrange(new n(2),s),c=e.gcd(d);if(0!==c.cmpn(1))return c;var h=d.toRed(r).redPow(l);if(0!==h.cmp(a)&&0!==h.cmp(u)){for(var f=1;ftypeof window&&void 0!==window.Buffer?window.Buffer:i(19035).Buffer}catch(e){}function s(e,t){var i=e.charCodeAt(t);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function o(e,t,i){var n=s(e,i);return i-1>=t&&(n|=s(e,i-1)<<4),n}function l(e,t,i,n){for(var r=0,a=Math.min(e.length,i),s=t;s=49?r+=o-49+10:o>=17?r+=o-17+10:r+=o}return r}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;s-=3)a=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=a<>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);else if("le"===i)for(s=0,r=0;s>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);return this.strip()},a.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r=0;r=t;r-=2)n=o(e,t,r)<=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;this.strip()},a.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=0x3ffffff;r*=t)n++;n--,r=r/t|0;for(var a=e.length-i,s=a%n,o=Math.min(a,a-s)+i,u=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?""};var u,d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];function f(e){for(var t=Array(e.bitLength()),i=0;i>>r}return t}function m(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],a=0|t.words[0],s=r*a,o=0x3ffffff&s,l=s/0x4000000|0;i.words[0]=o;for(var u=1;u>>26,c=0x3ffffff&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var m=u-f|0;d+=(s=(r=0|e.words[m])*(a=0|t.words[f])+c)/0x4000000|0,c=0x3ffffff&s}i.words[u]=0|c,l=0|d}return 0!==l?i.words[u]=0|l:i.length--,i.strip()}a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var i="",r=0,a=0,s=0;s>>24-r&0xffffff)||s!==this.length-1?d[6-l.length]+l+i:l+i,(r+=2)>=26&&(r-=26,s--)}for(0!==a&&(i=a.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var u=c[e],f=h[e];i="";var m=this.clone();for(m.negative=0;!m.isZero();){var g=m.modn(f).toString(e);i=(m=m.idivn(f)).isZero()?g+i:d[u-g.length]+g+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n(void 0!==u),this.toArrayLike(u,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,i){var r,a,s=this.byteLength(),o=i||Math.max(1,s);n(s<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var l="le"===t,u=new e(o),d=this.clone();if(l){for(a=0;!d.isZero();a++)r=d.andln(255),d.iushrn(8),u[a]=r;for(;a=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return(8191&t)==0&&(i+=13,t>>>=13),(127&t)==0&&(i+=7,t>>>=7),(15&t)==0&&(i+=4,t>>>=4),(3&t)==0&&(i+=2,t>>>=2),(1&t)==0&&i++,i},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){this.length>e.length?(t=this,i=e):(t=e,i=this);for(var t,i,n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&0x3ffffff>>26-i),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),t?this.words[i]=this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var t,i,n,r=0,a=0;a>>26;for(;0!==r&&a>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,i,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,i=e):(t=e,i=this);for(var a=0,s=0;s>26,this.words[s]=0x3ffffff&n;for(;0!==a&&s>26,this.words[s]=0x3ffffff&n;if(0===a&&s>>13,f=0|s[1],m=8191&f,g=f>>>13,p=0|s[2],_=8191&p,b=p>>>13,y=0|s[3],F=8191&y,k=y>>>13,w=0|s[4],C=8191&w,A=w>>>13,E=0|s[5],S=8191&E,x=E>>>13,D=0|s[6],T=8191&D,M=D>>>13,I=0|s[7],B=8191&I,P=I>>>13,N=0|s[8],R=8191&N,j=N>>>13,O=0|s[9],z=8191&O,q=O>>>13,W=0|o[0],V=8191&W,H=W>>>13,$=0|o[1],G=8191&$,X=$>>>13,K=0|o[2],Y=8191&K,Q=K>>>13,Z=0|o[3],J=8191&Z,ee=Z>>>13,et=0|o[4],ei=8191&et,en=et>>>13,er=0|o[5],ea=8191&er,es=er>>>13,eo=0|o[6],el=8191&eo,eu=eo>>>13,ed=0|o[7],ec=8191&ed,eh=ed>>>13,ef=0|o[8],em=8191&ef,eg=ef>>>13,ep=0|o[9],e_=8191&ep,ev=ep>>>13;i.negative=e.negative^t.negative,i.length=19,n=Math.imul(c,V);var eb=(u+n|0)+((8191&(r=(r=Math.imul(c,H))+Math.imul(h,V)|0))<<13)|0;u=((a=Math.imul(h,H))+(r>>>13)|0)+(eb>>>26)|0,eb&=0x3ffffff,n=Math.imul(m,V),r=(r=Math.imul(m,H))+Math.imul(g,V)|0,a=Math.imul(g,H),n=n+Math.imul(c,G)|0;var ey=(u+n|0)+((8191&(r=(r=r+Math.imul(c,X)|0)+Math.imul(h,G)|0))<<13)|0;u=((a=a+Math.imul(h,X)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,n=Math.imul(_,V),r=(r=Math.imul(_,H))+Math.imul(b,V)|0,a=Math.imul(b,H),n=n+Math.imul(m,G)|0,r=(r=r+Math.imul(m,X)|0)+Math.imul(g,G)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(c,Y)|0;var eF=(u+n|0)+((8191&(r=(r=r+Math.imul(c,Q)|0)+Math.imul(h,Y)|0))<<13)|0;u=((a=a+Math.imul(h,Q)|0)+(r>>>13)|0)+(eF>>>26)|0,eF&=0x3ffffff,n=Math.imul(F,V),r=(r=Math.imul(F,H))+Math.imul(k,V)|0,a=Math.imul(k,H),n=n+Math.imul(_,G)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(b,G)|0,a=a+Math.imul(b,X)|0,n=n+Math.imul(m,Y)|0,r=(r=r+Math.imul(m,Q)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(c,J)|0;var ek=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ee)|0)+Math.imul(h,J)|0))<<13)|0;u=((a=a+Math.imul(h,ee)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,n=Math.imul(C,V),r=(r=Math.imul(C,H))+Math.imul(A,V)|0,a=Math.imul(A,H),n=n+Math.imul(F,G)|0,r=(r=r+Math.imul(F,X)|0)+Math.imul(k,G)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,Q)|0,n=n+Math.imul(m,J)|0,r=(r=r+Math.imul(m,ee)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,ee)|0,n=n+Math.imul(c,ei)|0;var ew=(u+n|0)+((8191&(r=(r=r+Math.imul(c,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((a=a+Math.imul(h,en)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,n=Math.imul(S,V),r=(r=Math.imul(S,H))+Math.imul(x,V)|0,a=Math.imul(x,H),n=n+Math.imul(C,G)|0,r=(r=r+Math.imul(C,X)|0)+Math.imul(A,G)|0,a=a+Math.imul(A,X)|0,n=n+Math.imul(F,Y)|0,r=(r=r+Math.imul(F,Q)|0)+Math.imul(k,Y)|0,a=a+Math.imul(k,Q)|0,n=n+Math.imul(_,J)|0,r=(r=r+Math.imul(_,ee)|0)+Math.imul(b,J)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(m,ei)|0,r=(r=r+Math.imul(m,en)|0)+Math.imul(g,ei)|0,a=a+Math.imul(g,en)|0,n=n+Math.imul(c,ea)|0;var eC=(u+n|0)+((8191&(r=(r=r+Math.imul(c,es)|0)+Math.imul(h,ea)|0))<<13)|0;u=((a=a+Math.imul(h,es)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,n=Math.imul(T,V),r=(r=Math.imul(T,H))+Math.imul(M,V)|0,a=Math.imul(M,H),n=n+Math.imul(S,G)|0,r=(r=r+Math.imul(S,X)|0)+Math.imul(x,G)|0,a=a+Math.imul(x,X)|0,n=n+Math.imul(C,Y)|0,r=(r=r+Math.imul(C,Q)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Q)|0,n=n+Math.imul(F,J)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(_,ei)|0,r=(r=r+Math.imul(_,en)|0)+Math.imul(b,ei)|0,a=a+Math.imul(b,en)|0,n=n+Math.imul(m,ea)|0,r=(r=r+Math.imul(m,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0,n=n+Math.imul(c,el)|0;var eA=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eu)|0)+Math.imul(h,el)|0))<<13)|0;u=((a=a+Math.imul(h,eu)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,n=Math.imul(B,V),r=(r=Math.imul(B,H))+Math.imul(P,V)|0,a=Math.imul(P,H),n=n+Math.imul(T,G)|0,r=(r=r+Math.imul(T,X)|0)+Math.imul(M,G)|0,a=a+Math.imul(M,X)|0,n=n+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Q)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(C,J)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(A,J)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(F,ei)|0,r=(r=r+Math.imul(F,en)|0)+Math.imul(k,ei)|0,a=a+Math.imul(k,en)|0,n=n+Math.imul(_,ea)|0,r=(r=r+Math.imul(_,es)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,es)|0,n=n+Math.imul(m,el)|0,r=(r=r+Math.imul(m,eu)|0)+Math.imul(g,el)|0,a=a+Math.imul(g,eu)|0,n=n+Math.imul(c,ec)|0;var eE=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eh)|0)+Math.imul(h,ec)|0))<<13)|0;u=((a=a+Math.imul(h,eh)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,n=Math.imul(R,V),r=(r=Math.imul(R,H))+Math.imul(j,V)|0,a=Math.imul(j,H),n=n+Math.imul(B,G)|0,r=(r=r+Math.imul(B,X)|0)+Math.imul(P,G)|0,a=a+Math.imul(P,X)|0,n=n+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Q)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,Q)|0,n=n+Math.imul(S,J)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(x,J)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(C,ei)|0,r=(r=r+Math.imul(C,en)|0)+Math.imul(A,ei)|0,a=a+Math.imul(A,en)|0,n=n+Math.imul(F,ea)|0,r=(r=r+Math.imul(F,es)|0)+Math.imul(k,ea)|0,a=a+Math.imul(k,es)|0,n=n+Math.imul(_,el)|0,r=(r=r+Math.imul(_,eu)|0)+Math.imul(b,el)|0,a=a+Math.imul(b,eu)|0,n=n+Math.imul(m,ec)|0,r=(r=r+Math.imul(m,eh)|0)+Math.imul(g,ec)|0,a=a+Math.imul(g,eh)|0,n=n+Math.imul(c,em)|0;var eS=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eg)|0)+Math.imul(h,em)|0))<<13)|0;u=((a=a+Math.imul(h,eg)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,n=Math.imul(z,V),r=(r=Math.imul(z,H))+Math.imul(q,V)|0,a=Math.imul(q,H),n=n+Math.imul(R,G)|0,r=(r=r+Math.imul(R,X)|0)+Math.imul(j,G)|0,a=a+Math.imul(j,X)|0,n=n+Math.imul(B,Y)|0,r=(r=r+Math.imul(B,Q)|0)+Math.imul(P,Y)|0,a=a+Math.imul(P,Q)|0,n=n+Math.imul(T,J)|0,r=(r=r+Math.imul(T,ee)|0)+Math.imul(M,J)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(S,ei)|0,r=(r=r+Math.imul(S,en)|0)+Math.imul(x,ei)|0,a=a+Math.imul(x,en)|0,n=n+Math.imul(C,ea)|0,r=(r=r+Math.imul(C,es)|0)+Math.imul(A,ea)|0,a=a+Math.imul(A,es)|0,n=n+Math.imul(F,el)|0,r=(r=r+Math.imul(F,eu)|0)+Math.imul(k,el)|0,a=a+Math.imul(k,eu)|0,n=n+Math.imul(_,ec)|0,r=(r=r+Math.imul(_,eh)|0)+Math.imul(b,ec)|0,a=a+Math.imul(b,eh)|0,n=n+Math.imul(m,em)|0,r=(r=r+Math.imul(m,eg)|0)+Math.imul(g,em)|0,a=a+Math.imul(g,eg)|0,n=n+Math.imul(c,e_)|0;var ex=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ev)|0)+Math.imul(h,e_)|0))<<13)|0;u=((a=a+Math.imul(h,ev)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,n=Math.imul(z,G),r=(r=Math.imul(z,X))+Math.imul(q,G)|0,a=Math.imul(q,X),n=n+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Q)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,Q)|0,n=n+Math.imul(B,J)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(P,J)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(T,ei)|0,r=(r=r+Math.imul(T,en)|0)+Math.imul(M,ei)|0,a=a+Math.imul(M,en)|0,n=n+Math.imul(S,ea)|0,r=(r=r+Math.imul(S,es)|0)+Math.imul(x,ea)|0,a=a+Math.imul(x,es)|0,n=n+Math.imul(C,el)|0,r=(r=r+Math.imul(C,eu)|0)+Math.imul(A,el)|0,a=a+Math.imul(A,eu)|0,n=n+Math.imul(F,ec)|0,r=(r=r+Math.imul(F,eh)|0)+Math.imul(k,ec)|0,a=a+Math.imul(k,eh)|0,n=n+Math.imul(_,em)|0,r=(r=r+Math.imul(_,eg)|0)+Math.imul(b,em)|0,a=a+Math.imul(b,eg)|0,n=n+Math.imul(m,e_)|0;var eD=(u+n|0)+((8191&(r=(r=r+Math.imul(m,ev)|0)+Math.imul(g,e_)|0))<<13)|0;u=((a=a+Math.imul(g,ev)|0)+(r>>>13)|0)+(eD>>>26)|0,eD&=0x3ffffff,n=Math.imul(z,Y),r=(r=Math.imul(z,Q))+Math.imul(q,Y)|0,a=Math.imul(q,Q),n=n+Math.imul(R,J)|0,r=(r=r+Math.imul(R,ee)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,ee)|0,n=n+Math.imul(B,ei)|0,r=(r=r+Math.imul(B,en)|0)+Math.imul(P,ei)|0,a=a+Math.imul(P,en)|0,n=n+Math.imul(T,ea)|0,r=(r=r+Math.imul(T,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,n=n+Math.imul(S,el)|0,r=(r=r+Math.imul(S,eu)|0)+Math.imul(x,el)|0,a=a+Math.imul(x,eu)|0,n=n+Math.imul(C,ec)|0,r=(r=r+Math.imul(C,eh)|0)+Math.imul(A,ec)|0,a=a+Math.imul(A,eh)|0,n=n+Math.imul(F,em)|0,r=(r=r+Math.imul(F,eg)|0)+Math.imul(k,em)|0,a=a+Math.imul(k,eg)|0,n=n+Math.imul(_,e_)|0;var eT=(u+n|0)+((8191&(r=(r=r+Math.imul(_,ev)|0)+Math.imul(b,e_)|0))<<13)|0;u=((a=a+Math.imul(b,ev)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,n=Math.imul(z,J),r=(r=Math.imul(z,ee))+Math.imul(q,J)|0,a=Math.imul(q,ee),n=n+Math.imul(R,ei)|0,r=(r=r+Math.imul(R,en)|0)+Math.imul(j,ei)|0,a=a+Math.imul(j,en)|0,n=n+Math.imul(B,ea)|0,r=(r=r+Math.imul(B,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,n=n+Math.imul(T,el)|0,r=(r=r+Math.imul(T,eu)|0)+Math.imul(M,el)|0,a=a+Math.imul(M,eu)|0,n=n+Math.imul(S,ec)|0,r=(r=r+Math.imul(S,eh)|0)+Math.imul(x,ec)|0,a=a+Math.imul(x,eh)|0,n=n+Math.imul(C,em)|0,r=(r=r+Math.imul(C,eg)|0)+Math.imul(A,em)|0,a=a+Math.imul(A,eg)|0,n=n+Math.imul(F,e_)|0;var eM=(u+n|0)+((8191&(r=(r=r+Math.imul(F,ev)|0)+Math.imul(k,e_)|0))<<13)|0;u=((a=a+Math.imul(k,ev)|0)+(r>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,n=Math.imul(z,ei),r=(r=Math.imul(z,en))+Math.imul(q,ei)|0,a=Math.imul(q,en),n=n+Math.imul(R,ea)|0,r=(r=r+Math.imul(R,es)|0)+Math.imul(j,ea)|0,a=a+Math.imul(j,es)|0,n=n+Math.imul(B,el)|0,r=(r=r+Math.imul(B,eu)|0)+Math.imul(P,el)|0,a=a+Math.imul(P,eu)|0,n=n+Math.imul(T,ec)|0,r=(r=r+Math.imul(T,eh)|0)+Math.imul(M,ec)|0,a=a+Math.imul(M,eh)|0,n=n+Math.imul(S,em)|0,r=(r=r+Math.imul(S,eg)|0)+Math.imul(x,em)|0,a=a+Math.imul(x,eg)|0,n=n+Math.imul(C,e_)|0;var eI=(u+n|0)+((8191&(r=(r=r+Math.imul(C,ev)|0)+Math.imul(A,e_)|0))<<13)|0;u=((a=a+Math.imul(A,ev)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,n=Math.imul(z,ea),r=(r=Math.imul(z,es))+Math.imul(q,ea)|0,a=Math.imul(q,es),n=n+Math.imul(R,el)|0,r=(r=r+Math.imul(R,eu)|0)+Math.imul(j,el)|0,a=a+Math.imul(j,eu)|0,n=n+Math.imul(B,ec)|0,r=(r=r+Math.imul(B,eh)|0)+Math.imul(P,ec)|0,a=a+Math.imul(P,eh)|0,n=n+Math.imul(T,em)|0,r=(r=r+Math.imul(T,eg)|0)+Math.imul(M,em)|0,a=a+Math.imul(M,eg)|0,n=n+Math.imul(S,e_)|0;var eB=(u+n|0)+((8191&(r=(r=r+Math.imul(S,ev)|0)+Math.imul(x,e_)|0))<<13)|0;u=((a=a+Math.imul(x,ev)|0)+(r>>>13)|0)+(eB>>>26)|0,eB&=0x3ffffff,n=Math.imul(z,el),r=(r=Math.imul(z,eu))+Math.imul(q,el)|0,a=Math.imul(q,eu),n=n+Math.imul(R,ec)|0,r=(r=r+Math.imul(R,eh)|0)+Math.imul(j,ec)|0,a=a+Math.imul(j,eh)|0,n=n+Math.imul(B,em)|0,r=(r=r+Math.imul(B,eg)|0)+Math.imul(P,em)|0,a=a+Math.imul(P,eg)|0,n=n+Math.imul(T,e_)|0;var eP=(u+n|0)+((8191&(r=(r=r+Math.imul(T,ev)|0)+Math.imul(M,e_)|0))<<13)|0;u=((a=a+Math.imul(M,ev)|0)+(r>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,n=Math.imul(z,ec),r=(r=Math.imul(z,eh))+Math.imul(q,ec)|0,a=Math.imul(q,eh),n=n+Math.imul(R,em)|0,r=(r=r+Math.imul(R,eg)|0)+Math.imul(j,em)|0,a=a+Math.imul(j,eg)|0,n=n+Math.imul(B,e_)|0;var eL=(u+n|0)+((8191&(r=(r=r+Math.imul(B,ev)|0)+Math.imul(P,e_)|0))<<13)|0;u=((a=a+Math.imul(P,ev)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,n=Math.imul(z,em),r=(r=Math.imul(z,eg))+Math.imul(q,em)|0,a=Math.imul(q,eg),n=n+Math.imul(R,e_)|0;var eN=(u+n|0)+((8191&(r=(r=r+Math.imul(R,ev)|0)+Math.imul(j,e_)|0))<<13)|0;u=((a=a+Math.imul(j,ev)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,n=Math.imul(z,e_);var eR=(u+n|0)+((8191&(r=(r=Math.imul(z,ev))+Math.imul(q,e_)|0))<<13)|0;return u=((a=Math.imul(q,ev))+(r>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,l[0]=eb,l[1]=ey,l[2]=eF,l[3]=ek,l[4]=ew,l[5]=eC,l[6]=eA,l[7]=eE,l[8]=eS,l[9]=ex,l[10]=eD,l[11]=eT,l[12]=eM,l[13]=eI,l[14]=eB,l[15]=eP,l[16]=eL,l[17]=eN,l[18]=eR,0!==u&&(l[19]=u,i.length++),i};function p(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,a=0;a>>26)|0)>>>26,s&=0x3ffffff}i.words[a]=o,n=s,s=r}return 0!==n?i.words[a]=n:i.length--,i.strip()}function _(e,t,i){return new b().mulp(e,t,i)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=m),a.prototype.mulTo=function(e,t){var i,n=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):n<63?m(this,e,t):n<1024?p(this,e,t):_(this,e,t)},b.prototype.makeRBT=function(e){for(var t=Array(e),i=a.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,i,n,r,a){for(var s=0;s>>=1)r++;return 1<>>=13,i[2*s+1]=8191&a,a>>>=13;for(s=2*t;s>=26,t+=(r/0x4000000|0)+(a>>>26),this.words[i]=0x3ffffff&a}return 0!==t&&(this.words[i]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=f(e);if(0===t.length)return new a(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,a=0x3ffffff>>>26-i<<26-i;if(0!==i){var s=0;for(t=0;t>>26-i}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0);var r=t?(t-t%26)/26:0,a=e%26,s=Math.min((e-a)/26,this.length),o=0x3ffffff^0x3ffffff>>>a<s)for(this.length-=s,u=0;u=0&&(0!==d||u>=r);u--){var c=0|this.words[u];this.words[u]=d<<26-a|c>>>a,d=c&o}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=0x3ffffff^0x3ffffff>>>t<=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"==typeof e),n(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/0x4000000|0),this.words[r+i]=0x3ffffff&a}for(;r>26,this.words[r+i]=0x3ffffff&a;if(0===o)return this.strip();for(n(-1===o),o=0,r=0;r>26,this.words[r]=0x3ffffff&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var i,n=this.length-e.length,r=this.clone(),s=e,o=0|s.words[s.length-1];0!=(n=26-this._countBits(o))&&(s=s.ushln(n),r.iushln(n),o=0|s.words[s.length-1]);var l=r.length-s.length;if("mod"!==t){(i=new a(null)).length=l+1,i.words=Array(i.length);for(var u=0;u=0;c--){var h=(0|r.words[s.length+c])*0x4000000+(0|r.words[s.length+c-1]);for(h=Math.min(h/o|0,0x3ffffff),r._ishlnsubmul(s,h,c);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,c),r.isZero()||(r.negative^=1);i&&(i.words[c]=h)}return i&&i.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:i||null,mod:r}},a.prototype.divmod=function(e,t,i){var r,s,o;return(n(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(r=o.div.neg()),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(r=o.div.neg()),{div:r,mod:o.mod}):(this.negative&e.negative)!=0?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.isub(e)),{div:o.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),a=i.cmp(n);return a<0||1===r&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=0x3ffffff);for(var t=0x4000000%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},a.prototype.idivn=function(e){n(e<=0x3ffffff);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+0x4000000*t;this.words[i]=r/e|0,t=r%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new a(1),s=new a(0),o=new a(0),l=new a(1),u=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++u;for(var d=i.clone(),c=t.clone();!t.isZero();){for(var h=0,f=1;(t.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(c)),r.iushrn(1),s.iushrn(1);for(var m=0,g=1;(i.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(d),l.isub(c)),o.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(o),s.isub(l)):(i.isub(t),o.isub(r),l.isub(s))}return{a:o,b:l,gcd:i.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,i=this,r=e.clone();i=0!==i.negative?i.umod(e):i.clone();for(var s=new a(1),o=new a(0),l=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,d=1;(i.words[0]&d)==0&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,h=1;(r.words[0]&h)==0&&c<26;++c,h<<=1);if(c>0)for(r.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);i.cmp(r)>=0?(i.isub(r),s.isub(o)):(r.isub(i),o.isub(s))}return 0>(t=0===i.cmpn(1)?s:o).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var a=t;t=i,i=a}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,o&=0x3ffffff,this.words[s]=o}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=0x3ffffff,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new E(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function F(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){F.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){F.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){F.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){F.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}F.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},F.prototype.ireduce=function(e){var t,i=e;do this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(t>this.n);var n=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},F.prototype.split=function(e,t){e.iushrn(this.n,0,t)},F.prototype.imulK=function(e){return e.imul(this.k)},r(k,F),k.prototype.split=function(e,t){for(var i=4194303,n=Math.min(e.length,9),r=0;r>>22,a=s}a>>>=22,e.words[r-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},k.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(y[e])return y[e];if("k256"===e)t=new k;else if("p224"===e)t=new w;else if("p192"===e)t=new C;else if("p25519"===e)t=new A;else throw Error("Unknown prime "+e);return y[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n((e.negative|t.negative)==0,"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},E.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new a(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);n(!r.isZero());var o=new a(1).toRed(this),l=o.redNeg(),u=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,u).cmp(l);)d.redIAdd(l);for(var c=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),m=s;0!==f.cmp(o);){for(var g=f,p=0;0!==g.cmp(o);p++)g=g.redSqr();n(p=0;r--){for(var d=t.words[r],c=u-1;c>=0;c--){var h=d>>c&1;if(s!==n[0]&&(s=this.sqr(s)),0===h&&0===o){l=0;continue}o<<=1,o|=h,(++l===i||0===r&&0===c)&&(s=this.mul(s,n[o]),l=0,o=0)}u=26}return s},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new S(e)},r(S,E),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):0>r.cmpn(0)&&(a=r.iadd(this.m)),a._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=i.nmd(e),this)},43349(e){function t(e,t){if(!e)throw Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,i){if(e!=t)throw Error(i||"Assertion failed: "+e+" != "+t)}},64367(e,t){"use strict";var i=t;function n(e){return 1===e.length?"0"+e:e}function r(e){for(var t="",i=0;i>8,s=255&r;a?i.push(a,s):i.push(s)}return i},i.zero2=n,i.toHex=r,i.encode=function(e,t){return"hex"===t?r(e):e}},11199(e){for(var t="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),i=t.length,n=function(){},r={};i--;)r[t[i]]=n;e.exports=r},41790(e){function t(e){var t=Object.create(null);return{on:function(i,n,r){if("function"!=typeof n)throw Error("callback is expected to be a function");var a=t[i];return a||(a=t[i]=[]),a.push({callback:n,ctx:r}),e},off:function(i,n){if(void 0===i)return t=Object.create(null),e;if(t[i])if("function"!=typeof n)delete t[i];else for(var r=t[i],a=0;a1&&(n=Array.prototype.splice.call(arguments,1));for(var a=0;a0&&(R.x+=n,t=!0),n=e.right-i.left,n<0&&(R.x+=n,t=!0),n=e.top-i.bottom,n>0&&(R.y+=n,t=!0),n=e.bottom-i.top,n<0&&(R.y+=n,t=!0),t}}function ex(){if(z){if("boolean"==typeof z){var e=B.getBoundingClientRect(),t=e.width,i=e.height;return{left:t*V,top:i*V,right:t*(1-V),bottom:i*(1-V)}}return z}}function eD(){var e=I.getBBox(),t=eT(e.left,e.top);return{left:t.x,top:t.y,right:e.width*R.scale+t.x,bottom:e.height*R.scale+t.y}}function eT(e,t){return{x:e*R.scale+R.x,y:t*R.scale+R.y}}function eM(){N=!0,i=window.requestAnimationFrame(eU)}function eI(e,t,i){if(C(e)||C(t)||C(i))throw Error("zoom requires valid numbers");var n=R.scale*i;if(nq){if(R.scale===q)return;i=q/R.scale}var r=ef(e,t);R.x=r.x-i*(r.x-R.x),R.y=r.y-i*(r.y-R.y),z&&1===V&&1===W?(R.scale*=i,eS()):eS()||(R.scale*=i),tl("zoom"),eM()}function eB(e,t,i){eI(e,t,i/R.scale)}function eP(e){var t=e.ownerSVGElement;if(!t)throw Error("ui element is required to be within the scene");var i=e.getBoundingClientRect(),n=i.left+i.width/2,r=i.top+i.height/2,a=t.getBoundingClientRect();eN(a.width/2-n,a.height/2-r,!0)}function eL(e,t){eN(e-R.x,t-R.y,!0)}function eN(e,t,i){if(!i)return eE(e,t);D&&D.cancel();var n=0,a=0;D=r({x:0,y:0},{x:e,y:t},{step:function(e){eE(e.x-n,e.y-a),n=e.x,a=e.y}})}function eR(e,t){tn(),eA(e,t)}function ej(){ez()}function eO(){B.addEventListener("mousedown",e2,{passive:!1}),B.addEventListener("dblclick",e1,{passive:!1}),B.addEventListener("touchstart",eH,{passive:!1}),B.addEventListener("keydown",eW,{passive:!1}),n.addWheelListener(B,e8,{passive:!1}),eM()}function ez(){n.removeWheelListener(B,e8),B.removeEventListener("mousedown",e2),B.removeEventListener("keydown",eW),B.removeEventListener("dblclick",e1),B.removeEventListener("touchstart",eH),i&&(window.cancelAnimationFrame(i),i=0),x.cancel(),e6(),e5(),Y.release(),ts()}function eU(){N&&eq()}function eq(){N=!1,I.applyTransform(R),tl("transform"),i=0}function eW(e){var t=0,i=0,n=0;if(38===e.keyCode?i=1:40===e.keyCode?i=-1:37===e.keyCode?t=1:39===e.keyCode?t=-1:189===e.keyCode||109===e.keyCode?n=1:(187===e.keyCode||107===e.keyCode)&&(n=-1),!j(e,t,i,n)){if(t||i){e.preventDefault(),e.stopPropagation();var r=B.getBoundingClientRect(),a=Math.min(r.width,r.height);eN(.05*a*t,.05*a*i)}if(n){var s=tr(100*n),a=K?tt():eV();ti(a.x,a.y,s)}}}function eV(){var e=B.getBoundingClientRect();return{x:e.width/2,y:e.height/2}}function eH(e){if(e$(e),eQ(),1===e.touches.length)return eX(e,e.touches[0]);2===e.touches.length&&(S=e0(e.touches[0],e.touches[1]),M=!0,eK())}function e$(e){(!t.onTouch||t.onTouch(e))&&(e.stopPropagation(),e.preventDefault())}function eG(e){eQ(),(!t.onDoubleClick||t.onDoubleClick(e))&&(e.preventDefault(),e.stopPropagation())}function eX(e){Z=new Date;var t=e9(e.touches[0]);o=t;var i=ef(t.x,t.y);_=i.x,y=i.y,w=_,E=y,x.cancel(),eK()}function eK(){ei||(ei=!0,document.addEventListener("touchmove",eY),document.addEventListener("touchend",eJ),document.addEventListener("touchcancel",eJ))}function eY(e){if(1===e.touches.length){e.stopPropagation();var t=e9(e.touches[0]),i=ef(t.x,t.y),n=i.x-_,r=i.y-y;0!==n&&0!==r&&ta(),_=i.x,y=i.y,eN(n,r)}else if(2===e.touches.length){M=!0;var a=e.touches[0],s=e.touches[1],o=e0(a,s),l=1+(o/S-1)*O,u=e9(a),d=e9(s);if(_=(u.x+d.x)/2,y=(u.y+d.y)/2,K){var t=tt();_=t.x,y=t.y}ti(_,y,l),S=o,e.stopPropagation(),e.preventDefault()}}function eQ(){J&&(clearTimeout(J),J=0)}function eZ(e){if(t.onClick){eQ();var i=_-w,n=y-E;Math.sqrt(i*i+n*n)>5||(J=setTimeout(function(){J=0,t.onClick(e)},g))}}function eJ(e){if(eQ(),e.touches.length>0){var t=e9(e.touches[0]),i=ef(t.x,t.y);_=i.x,y=i.y}else{var n=new Date;if(n-Q0&&(t*=100);var i=tr(t);if(1!==i){var n=K?tt():e9(e);ti(n.x,n.y,i),e.preventDefault()}}}function e9(e){var t=B.getBoundingClientRect();return{x:e.clientX-t.left,y:e.clientY-t.top}}function e7(e,t,i){var n=R.scale,a={scale:n},s={scale:i*n};x.cancel(),tn(),T=r(a,s,{step:function(i){eB(e,t,i.scale)},done:to})}function te(e,t,i){var n={scale:R.scale},a={scale:i};x.cancel(),tn(),T=r(n,a,{step:function(i){eB(e,t,i.scale)}})}function tt(){var e=B.getBoundingClientRect();return{x:e.width*K.x,y:e.height*K.y}}function ti(e,t,i){return x.cancel(),tn(),eI(e,t,i)}function tn(){T&&(T.cancel(),T=null)}function tr(e){return 1-Math.sign(e)*Math.min(.25,Math.abs(X*e/128))}function ta(){en||(tl("panstart"),en=!0,x.start())}function ts(){en&&(M||x.stop(),tl("panend"))}function to(){tl("zoomend")}function tl(e){ea.fire(e,ea)}}function b(e){if(e){if("object"==typeof e)return w(e.x)&&w(e.y)||y(e),e;y()}}function y(e){throw console.error(e),Error('Cannot parse transform origin.\nSome good examples:\n "center center" can be achieved with {x: 0.5, y: 0.5}\n "top center" can be achieved with {x: 0.5, y: 0}\n "bottom right" can be achieved with {x: 1, y: 1}')}function F(){}function k(e){var t=typeof e;if("undefined"!==t&&"boolean"!==t){var i=w(e.left)&&w(e.top)&&w(e.bottom)&&w(e.right);if(!i)throw Error("Bounds object is not valid. It can be: undefined, boolean (true|false) or an object {left, top, right, bottom}")}}function w(e){return Number.isFinite(e)}function C(e){return Number.isNaN?Number.isNaN(e):e!=e}function A(){return{start:F,stop:F,cancel:F}}e.exports=_,function(){if("u"g)&&(u+=d=p*l),(c<-g||c>g)&&(h+=f=p*c),m=b(A)}function A(){var e=Date.now()-s,t=!1,i=0,r=0;d&&((i=-d*Math.exp(-e/y))>.5||i<-.5?t=!0:i=d=0),f&&((r=-f*Math.exp(-e/y))>.5||r<-.5?t=!0:r=f=0),t&&(n(u+i,h+r),m=b(A))}}},34025(e){function t(e){return e&&e.ownerSVGElement&&e.getCTM}e.exports=function e(e,i){if(!t(e))throw Error("svg element is required for svg.panzoom to work");var n=e.ownerSVGElement;if(!n)throw Error("Do not apply panzoom to the root element. Use its child instead (e.g. ). As of March 2016 only FireFox supported transform on the root element");return i.disableKeyboardInteraction||n.setAttribute("tabindex",0),{getBBox:a,getScreenCTM:s,getOwner:r,applyTransform:l,initTransform:o};function r(){return n}function a(){var t=e.getBBox();return{left:t.x,top:t.y,width:t.width,height:t.height}}function s(){var e=n.getCTM();return e||n.getScreenCTM()}function o(t){var i=e.getCTM();null===i&&(i=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGMatrix()),t.x=i.e,t.y=i.f,t.scale=i.a,n.removeAttributeNS(null,"viewBox")}function l(t){e.setAttribute("transform","matrix("+t.scale+" 0 0 "+t.scale+" "+t.x+" "+t.y+")")}},e.exports.canAttach=t},61059(e){e.exports=t;function t(){this.x=0,this.y=0,this.scale=1}},21137(e,t,i){"use strict";var n=i(87568);t.certificate=i(36413),t.RSAPrivateKey=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}),t.RSAPublicKey=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});var r=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())});t.PublicKey=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(r),this.key("subjectPublicKey").bitstr())}),t.PrivateKey=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(r),this.key("subjectPrivateKey").octstr())}),t.EncryptedPrivateKey=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}),t.DSAPrivateKey=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}),t.DSAparam=n.define("DSAparam",function(){this.int()});var a=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t.ECPrivateKey=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(a),this.key("publicKey").optional().explicit(1).bitstr())}),t.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},36413(e,t,i){"use strict";var n=i(87568),r=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),a=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),s=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),o=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}),l=n.define("RelativeDistinguishedName",function(){this.setof(a)}),u=n.define("RDNSequence",function(){this.seqof(l)}),d=n.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),c=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))}),h=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),f=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(d),this.key("validity").use(c),this.key("subject").use(d),this.key("subjectPublicKeyInfo").use(o),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())});e.exports=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())})},24101(e,t,i){"use strict";var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,s=i(68078),o=i(1241),l=i(29716).Buffer;e.exports=function(e,t){var i,u=e.toString(),d=u.match(n);if(d){var c="aes"+d[1],h=l.from(d[2],"hex"),f=l.from(d[3].replace(/[\r\n]/g,""),"base64"),m=s(t,h.slice(0,8),parseInt(d[1],10)).key,g=[],p=o.createDecipheriv(c,m,h);g.push(p.update(f)),g.push(p.final()),i=l.concat(g)}else{var _=u.match(a);i=l.from(_[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(r)[1],data:i}}},78170(e,t,i){"use strict";var n=i(21137),r=i(15579),a=i(24101),s=i(1241),o=i(78396),l=i(29716).Buffer;function u(e,t){var i=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=r[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,d=e.subjectPrivateKey,c=parseInt(a.split("-")[1],10)/8,h=o.pbkdf2Sync(t,i,n,c,"sha1"),f=s.createDecipheriv(a,h,u),m=[];return m.push(f.update(d)),m.push(f.final()),l.concat(m)}function d(e){"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var t,i,r,s=a(e,t),o=s.tag,d=s.data;switch(o){case"CERTIFICATE":r=n.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(!r&&(r=n.PublicKey.decode(d,"der")),i=r.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(r.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return r.subjectPrivateKey=r.subjectPublicKey,{type:"ec",data:r};case"1.2.840.10040.4.1":return r.algorithm.params.pub_key=n.DSAparam.decode(r.subjectPublicKey.data,"der"),{type:"dsa",data:r.algorithm.params};default:throw Error("unknown key id "+i)}case"ENCRYPTED PRIVATE KEY":d=u(d=n.EncryptedPrivateKey.decode(d,"der"),t);case"PRIVATE KEY":switch(i=(r=n.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(r.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:r.algorithm.curve,privateKey:n.ECPrivateKey.decode(r.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return r.algorithm.params.priv_key=n.DSAparam.decode(r.subjectPrivateKey,"der"),{type:"dsa",params:r.algorithm.params};default:throw Error("unknown key id "+i)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=n.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw Error("unknown key type "+o)}}d.signature=n.signature,e.exports=d},29716(e,t,i){var n=i(48287),r=n.Buffer;function a(e,t){for(var i in e)t[i]=e[i]}function s(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),s.prototype=Object.create(r.prototype),a(r,s),s.from=function(e,t,i){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,i)},s.alloc=function(e,t,i){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},57975(e,t,i){"use strict";var n=i(65606);function r(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function a(e,t){for(var i,n="",r=0,a=-1,s=0,o=0;o<=e.length;++o){if(o2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",r=0):r=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),a=o,s=0;continue}}else if(2===n.length||1===n.length){n="",r=0,a=o,s=0;continue}}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),r=o-a-1;a=o,s=0}else 46===i&&-1!==s?++s:s=-1}return n}function s(e,t){var i=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return i?i===t.root?i+n:i+e+n:n}var o={resolve:function(){for(var e,t,i="",s=!1,o=arguments.length-1;o>=-1&&!s;o--)o>=0?t=arguments[o]:(void 0===e&&(e=n.cwd()),t=e),r(t),0!==t.length&&(i=t+"/"+i,s=47===t.charCodeAt(0));if(i=a(i,!s),s)if(i.length>0)return"/"+i;else return"/";return i.length>0?i:"."},normalize:function(e){if(r(e),0===e.length)return".";var t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=a(e,!t)).length||t||(e="."),e.length>0&&i&&(e+="/"),t)?"/"+e:e},isAbsolute:function(e){return r(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":o.normalize(e)},relative:function(e,t){if(r(e),r(t),e===t||(e=o.resolve(e))===(t=o.resolve(t)))return"";for(var i=1;iu){if(47===t.charCodeAt(s+c))return t.slice(s+c+1);else if(0===c)return t.slice(s+c)}else a>u&&(47===e.charCodeAt(i+c)?d=c:0===c&&(d=0));break}var h=e.charCodeAt(i+c);if(h!==t.charCodeAt(s+c))break;47===h&&(d=c)}var f="";for(c=i+d+1;c<=n;++c)(c===n||47===e.charCodeAt(c))&&(0===f.length?f+="..":f+="/..");return f.length>0?f+t.slice(s+d):(s+=d,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(r(e),0===e.length)return".";for(var t=e.charCodeAt(0),i=47===t,n=-1,a=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!a){n=s;break}}else a=!1;return -1===n?i?"/":".":i&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');r(e);var i,n=0,a=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var o=t.length-1,l=-1;for(i=e.length-1;i>=0;--i){var u=e.charCodeAt(i);if(47===u){if(!s){n=i+1;break}}else -1===l&&(s=!1,l=i+1),o>=0&&(u===t.charCodeAt(o)?-1==--o&&(a=i):(o=-1,a=l))}return n===a?a=l:-1===a&&(a=e.length),e.slice(n,a)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){n=i+1;break}}else -1===a&&(s=!1,a=i+1);return -1===a?"":e.slice(n,a)},extname:function(e){r(e);for(var t=-1,i=0,n=-1,a=!0,s=0,o=e.length-1;o>=0;--o){var l=e.charCodeAt(o);if(47===l){if(!a){i=o+1;break}continue}-1===n&&(a=!1,n=o+1),46===l?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===n||0===s||1===s&&t===n-1&&t===i+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return s("/",e)},parse:function(e){r(e);var t,i={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return i;var n=e.charCodeAt(0),a=47===n;a?(i.root="/",t=1):t=0;for(var s=-1,o=0,l=-1,u=!0,d=e.length-1,c=0;d>=t;--d){if(47===(n=e.charCodeAt(d))){if(!u){o=d+1;break}continue}-1===l&&(u=!1,l=d+1),46===n?-1===s?s=d:1!==c&&(c=1):-1!==s&&(c=-1)}return -1===s||-1===l||0===c||1===c&&s===l-1&&s===o+1?-1!==l&&(0===o&&a?i.base=i.name=e.slice(1,l):i.base=i.name=e.slice(o,l)):(0===o&&a?(i.name=e.slice(1,s),i.base=e.slice(1,l)):(i.name=e.slice(o,s),i.base=e.slice(o,l)),i.ext=e.slice(s,l)),o>0?i.dir=e.slice(0,o-1):a&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,e.exports=o},78396(e,t,i){"use strict";t.pbkdf2=i(43832),t.pbkdf2Sync=i(21352)},43832(e,t,i){"use strict";var n,r,a=i(54570).Buffer,s=i(64196),o=i(2455),l=i(21352),u=i(93382),d=i.g.crypto&&i.g.crypto.subtle,c={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function f(){return r||(r=i.g.process&&i.g.process.nextTick?i.g.process.nextTick:i.g.queueMicrotask?i.g.queueMicrotask:i.g.setImmediate?i.g.setImmediate:i.g.setTimeout)}function m(e,t,i,n,r){return d.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return d.deriveBits({name:"PBKDF2",salt:t,iterations:i,hash:{name:r}},e,n<<3)}).then(function(e){return a.from(e)})}function g(e){if(i.g.process&&!i.g.process.browser||!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=m(n=n||a.alloc(8),n,10,128,e).then(function(){return!0},function(){return!1});return h[e]=t,t}function p(e,t){e.then(function(e){f()(function(){t(null,e)})},function(e){f()(function(){t(e)})})}e.exports=function(e,t,n,r,a,d){"function"==typeof a&&(d=a,a=void 0);var h=c[(a=a||"sha1").toLowerCase()];if(!h||"function"!=typeof i.g.Promise)return void f()(function(){var i;try{i=l(e,t,n,r,a)}catch(e){d(e);return}d(null,i)});if(s(n,r),e=u(e,o,"Password"),t=u(t,o,"Salt"),"function"!=typeof d)throw Error("No callback provided to pbkdf2");p(g(h).then(function(i){return i?m(e,t,n,r,h):l(e,t,n,r,a)}),d)}},2455(e,t,i){"use strict";var n=i(65606);e.exports=i.g.process&&i.g.process.browser?"utf-8":i.g.process&&i.g.process.version?parseInt(n.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8"},64196(e){"use strict";var t=0x3fffffff;e.exports=function(e,i){if("number"!=typeof e)throw TypeError("Iterations not a number");if(e<0)throw TypeError("Bad iterations");if("number"!=typeof i)throw TypeError("Key length not a number");if(i<0||i>t||i!=i)throw TypeError("Bad key length")}},21352(e,t,i){"use strict";var n=i(6211),r=i(54304),a=i(62802),s=i(54570).Buffer,o=i(64196),l=i(2455),u=i(93382),d=s.alloc(128),c={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},h={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function f(e){return new r().update(e).digest()}function m(e){function t(t){return a(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?f:"md5"===e?n:t}function g(e,t,i){var n=m(e),r="sha512"===e||"sha384"===e?128:64;t.length>r?t=n(t):t.lengthtypeof Uint8Array,s=a&&"u">typeof ArrayBuffer&&ArrayBuffer.isView;e.exports=function(e,t,i){if("string"==typeof e||n.isBuffer(e)||a&&e instanceof Uint8Array||s&&s(e))return r(e,t);throw TypeError(i+" must be a string, a Buffer, a Uint8Array, or a DataView")}},52786(e,t,i){"use strict";var n=i(48287).Buffer,r=4,a=new n(4);a.fill(0);var s=8,o=16;function l(e){if(e.length%r!=0){var t=e.length+(r-e.length%r);e=n.concat([e,a],t)}for(var i=Array(e.length>>>2),s=0,o=0;s>5]|=128<>>9<<4)+14]=t;for(var i=0x67452301,n=-0x10325477,r=-0x67452302,a=0x10325476,c=0;c>16)+(t>>16)+(i>>16)<<16|65535&i}function c(e,t){return e<>>32-t}e.exports=function(e){return n(e,r)}},83706(e,t,i){"use strict";var n=i(48287).Buffer,r=i(88310).Transform;function a(e){r.call(this),this._block=new n(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}i(56698)(a,r),a.prototype._transform=function(e,t,i){var r=null;try{"buffer"!==t&&(e=new n(e,t)),this.update(e)}catch(e){r=e}i(r)},a.prototype._flush=function(e){var t=null;try{this.push(this._digest())}catch(e){t=e}e(t)},a.prototype.update=function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw TypeError("Data must be a string or a buffer");if(this._finalized)throw Error("Digest already called");n.isBuffer(e)||(e=new n(e,t||"binary"));for(var i=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var a=this._blockOffset;a0;++s)this._length[s]+=o,(o=this._length[s]/0x100000000|0)>0&&(this._length[s]-=0x100000000*o);return this},a.prototype._update=function(e){throw Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var t=this._digest();return void 0!==e&&(t=t.toString(e)),t},a.prototype._digest=function(){throw Error("_digest is not implemented")},e.exports=a},54304(e,t,i){"use strict";var n=i(48287).Buffer,r=i(56698),a=i(83706);function s(){a.call(this,64),this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0}function o(e,t){return e<>>32-t}function l(e,t,i,n,r,a,s,l){return o(e+(t^i^n)+a+s|0,l)+r|0}function u(e,t,i,n,r,a,s,l){return o(e+(t&i|~t&n)+a+s|0,l)+r|0}function d(e,t,i,n,r,a,s,l){return o(e+((t|~i)^n)+a+s|0,l)+r|0}function c(e,t,i,n,r,a,s,l){return o(e+(t&n|i&~n)+a+s|0,l)+r|0}function h(e,t,i,n,r,a,s,l){return o(e+(t^(i|~n))+a+s|0,l)+r|0}r(s,a),s.prototype._update=function(){for(var e=Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var i=this._a,n=this._b,r=this._c,a=this._d,s=this._e;i=l(i,n,r,a,s,e[0],0,11),s=l(s,i,n,r=o(r,10),a,e[1],0,14),a=l(a,s,i,n=o(n,10),r,e[2],0,15),r=l(r,a,s,i=o(i,10),n,e[3],0,12),n=l(n,r,a,s=o(s,10),i,e[4],0,5),i=l(i,n,r,a=o(a,10),s,e[5],0,8),s=l(s,i,n,r=o(r,10),a,e[6],0,7),a=l(a,s,i,n=o(n,10),r,e[7],0,9),r=l(r,a,s,i=o(i,10),n,e[8],0,11),n=l(n,r,a,s=o(s,10),i,e[9],0,13),i=l(i,n,r,a=o(a,10),s,e[10],0,14),s=l(s,i,n,r=o(r,10),a,e[11],0,15),a=l(a,s,i,n=o(n,10),r,e[12],0,6),r=l(r,a,s,i=o(i,10),n,e[13],0,7),n=l(n,r,a,s=o(s,10),i,e[14],0,9),i=l(i,n,r,a=o(a,10),s,e[15],0,8),s=u(s,i,n,r=o(r,10),a,e[7],0x5a827999,7),a=u(a,s,i,n=o(n,10),r,e[4],0x5a827999,6),r=u(r,a,s,i=o(i,10),n,e[13],0x5a827999,8),n=u(n,r,a,s=o(s,10),i,e[1],0x5a827999,13),i=u(i,n,r,a=o(a,10),s,e[10],0x5a827999,11),s=u(s,i,n,r=o(r,10),a,e[6],0x5a827999,9),a=u(a,s,i,n=o(n,10),r,e[15],0x5a827999,7),r=u(r,a,s,i=o(i,10),n,e[3],0x5a827999,15),n=u(n,r,a,s=o(s,10),i,e[12],0x5a827999,7),i=u(i,n,r,a=o(a,10),s,e[0],0x5a827999,12),s=u(s,i,n,r=o(r,10),a,e[9],0x5a827999,15),a=u(a,s,i,n=o(n,10),r,e[5],0x5a827999,9),r=u(r,a,s,i=o(i,10),n,e[2],0x5a827999,11),n=u(n,r,a,s=o(s,10),i,e[14],0x5a827999,7),i=u(i,n,r,a=o(a,10),s,e[11],0x5a827999,13),s=u(s,i,n,r=o(r,10),a,e[8],0x5a827999,12),a=d(a,s,i,n=o(n,10),r,e[3],0x6ed9eba1,11),r=d(r,a,s,i=o(i,10),n,e[10],0x6ed9eba1,13),n=d(n,r,a,s=o(s,10),i,e[14],0x6ed9eba1,6),i=d(i,n,r,a=o(a,10),s,e[4],0x6ed9eba1,7),s=d(s,i,n,r=o(r,10),a,e[9],0x6ed9eba1,14),a=d(a,s,i,n=o(n,10),r,e[15],0x6ed9eba1,9),r=d(r,a,s,i=o(i,10),n,e[8],0x6ed9eba1,13),n=d(n,r,a,s=o(s,10),i,e[1],0x6ed9eba1,15),i=d(i,n,r,a=o(a,10),s,e[2],0x6ed9eba1,14),s=d(s,i,n,r=o(r,10),a,e[7],0x6ed9eba1,8),a=d(a,s,i,n=o(n,10),r,e[0],0x6ed9eba1,13),r=d(r,a,s,i=o(i,10),n,e[6],0x6ed9eba1,6),n=d(n,r,a,s=o(s,10),i,e[13],0x6ed9eba1,5),i=d(i,n,r,a=o(a,10),s,e[11],0x6ed9eba1,12),s=d(s,i,n,r=o(r,10),a,e[5],0x6ed9eba1,7),a=d(a,s,i,n=o(n,10),r,e[12],0x6ed9eba1,5),r=c(r,a,s,i=o(i,10),n,e[1],0x8f1bbcdc,11),n=c(n,r,a,s=o(s,10),i,e[9],0x8f1bbcdc,12),i=c(i,n,r,a=o(a,10),s,e[11],0x8f1bbcdc,14),s=c(s,i,n,r=o(r,10),a,e[10],0x8f1bbcdc,15),a=c(a,s,i,n=o(n,10),r,e[0],0x8f1bbcdc,14),r=c(r,a,s,i=o(i,10),n,e[8],0x8f1bbcdc,15),n=c(n,r,a,s=o(s,10),i,e[12],0x8f1bbcdc,9),i=c(i,n,r,a=o(a,10),s,e[4],0x8f1bbcdc,8),s=c(s,i,n,r=o(r,10),a,e[13],0x8f1bbcdc,9),a=c(a,s,i,n=o(n,10),r,e[3],0x8f1bbcdc,14),r=c(r,a,s,i=o(i,10),n,e[7],0x8f1bbcdc,5),n=c(n,r,a,s=o(s,10),i,e[15],0x8f1bbcdc,6),i=c(i,n,r,a=o(a,10),s,e[14],0x8f1bbcdc,8),s=c(s,i,n,r=o(r,10),a,e[5],0x8f1bbcdc,6),a=c(a,s,i,n=o(n,10),r,e[6],0x8f1bbcdc,5),r=c(r,a,s,i=o(i,10),n,e[2],0x8f1bbcdc,12),n=h(n,r,a,s=o(s,10),i,e[4],0xa953fd4e,9),i=h(i,n,r,a=o(a,10),s,e[0],0xa953fd4e,15),s=h(s,i,n,r=o(r,10),a,e[5],0xa953fd4e,5),a=h(a,s,i,n=o(n,10),r,e[9],0xa953fd4e,11),r=h(r,a,s,i=o(i,10),n,e[7],0xa953fd4e,6),n=h(n,r,a,s=o(s,10),i,e[12],0xa953fd4e,8),i=h(i,n,r,a=o(a,10),s,e[2],0xa953fd4e,13),s=h(s,i,n,r=o(r,10),a,e[10],0xa953fd4e,12),a=h(a,s,i,n=o(n,10),r,e[14],0xa953fd4e,5),r=h(r,a,s,i=o(i,10),n,e[1],0xa953fd4e,12),n=h(n,r,a,s=o(s,10),i,e[3],0xa953fd4e,13),i=h(i,n,r,a=o(a,10),s,e[8],0xa953fd4e,14),s=h(s,i,n,r=o(r,10),a,e[11],0xa953fd4e,11),a=h(a,s,i,n=o(n,10),r,e[6],0xa953fd4e,8),r=h(r,a,s,i=o(i,10),n,e[15],0xa953fd4e,5),n=h(n,r,a,s=o(s,10),i,e[13],0xa953fd4e,6),a=o(a,10);var f=this._a,m=this._b,g=this._c,p=this._d,_=this._e;f=h(f,m,g,p,_,e[5],0x50a28be6,8),_=h(_,f,m,g=o(g,10),p,e[14],0x50a28be6,9),p=h(p,_,f,m=o(m,10),g,e[7],0x50a28be6,9),g=h(g,p,_,f=o(f,10),m,e[0],0x50a28be6,11),m=h(m,g,p,_=o(_,10),f,e[9],0x50a28be6,13),f=h(f,m,g,p=o(p,10),_,e[2],0x50a28be6,15),_=h(_,f,m,g=o(g,10),p,e[11],0x50a28be6,15),p=h(p,_,f,m=o(m,10),g,e[4],0x50a28be6,5),g=h(g,p,_,f=o(f,10),m,e[13],0x50a28be6,7),m=h(m,g,p,_=o(_,10),f,e[6],0x50a28be6,7),f=h(f,m,g,p=o(p,10),_,e[15],0x50a28be6,8),_=h(_,f,m,g=o(g,10),p,e[8],0x50a28be6,11),p=h(p,_,f,m=o(m,10),g,e[1],0x50a28be6,14),g=h(g,p,_,f=o(f,10),m,e[10],0x50a28be6,14),m=h(m,g,p,_=o(_,10),f,e[3],0x50a28be6,12),f=h(f,m,g,p=o(p,10),_,e[12],0x50a28be6,6),_=c(_,f,m,g=o(g,10),p,e[6],0x5c4dd124,9),p=c(p,_,f,m=o(m,10),g,e[11],0x5c4dd124,13),g=c(g,p,_,f=o(f,10),m,e[3],0x5c4dd124,15),m=c(m,g,p,_=o(_,10),f,e[7],0x5c4dd124,7),f=c(f,m,g,p=o(p,10),_,e[0],0x5c4dd124,12),_=c(_,f,m,g=o(g,10),p,e[13],0x5c4dd124,8),p=c(p,_,f,m=o(m,10),g,e[5],0x5c4dd124,9),g=c(g,p,_,f=o(f,10),m,e[10],0x5c4dd124,11),m=c(m,g,p,_=o(_,10),f,e[14],0x5c4dd124,7),f=c(f,m,g,p=o(p,10),_,e[15],0x5c4dd124,7),_=c(_,f,m,g=o(g,10),p,e[8],0x5c4dd124,12),p=c(p,_,f,m=o(m,10),g,e[12],0x5c4dd124,7),g=c(g,p,_,f=o(f,10),m,e[4],0x5c4dd124,6),m=c(m,g,p,_=o(_,10),f,e[9],0x5c4dd124,15),f=c(f,m,g,p=o(p,10),_,e[1],0x5c4dd124,13),_=c(_,f,m,g=o(g,10),p,e[2],0x5c4dd124,11),p=d(p,_,f,m=o(m,10),g,e[15],0x6d703ef3,9),g=d(g,p,_,f=o(f,10),m,e[5],0x6d703ef3,7),m=d(m,g,p,_=o(_,10),f,e[1],0x6d703ef3,15),f=d(f,m,g,p=o(p,10),_,e[3],0x6d703ef3,11),_=d(_,f,m,g=o(g,10),p,e[7],0x6d703ef3,8),p=d(p,_,f,m=o(m,10),g,e[14],0x6d703ef3,6),g=d(g,p,_,f=o(f,10),m,e[6],0x6d703ef3,6),m=d(m,g,p,_=o(_,10),f,e[9],0x6d703ef3,14),f=d(f,m,g,p=o(p,10),_,e[11],0x6d703ef3,12),_=d(_,f,m,g=o(g,10),p,e[8],0x6d703ef3,13),p=d(p,_,f,m=o(m,10),g,e[12],0x6d703ef3,5),g=d(g,p,_,f=o(f,10),m,e[2],0x6d703ef3,14),m=d(m,g,p,_=o(_,10),f,e[10],0x6d703ef3,13),f=d(f,m,g,p=o(p,10),_,e[0],0x6d703ef3,13),_=d(_,f,m,g=o(g,10),p,e[4],0x6d703ef3,7),p=d(p,_,f,m=o(m,10),g,e[13],0x6d703ef3,5),g=u(g,p,_,f=o(f,10),m,e[8],0x7a6d76e9,15),m=u(m,g,p,_=o(_,10),f,e[6],0x7a6d76e9,5),f=u(f,m,g,p=o(p,10),_,e[4],0x7a6d76e9,8),_=u(_,f,m,g=o(g,10),p,e[1],0x7a6d76e9,11),p=u(p,_,f,m=o(m,10),g,e[3],0x7a6d76e9,14),g=u(g,p,_,f=o(f,10),m,e[11],0x7a6d76e9,14),m=u(m,g,p,_=o(_,10),f,e[15],0x7a6d76e9,6),f=u(f,m,g,p=o(p,10),_,e[0],0x7a6d76e9,14),_=u(_,f,m,g=o(g,10),p,e[5],0x7a6d76e9,6),p=u(p,_,f,m=o(m,10),g,e[12],0x7a6d76e9,9),g=u(g,p,_,f=o(f,10),m,e[2],0x7a6d76e9,12),m=u(m,g,p,_=o(_,10),f,e[13],0x7a6d76e9,9),f=u(f,m,g,p=o(p,10),_,e[9],0x7a6d76e9,12),_=u(_,f,m,g=o(g,10),p,e[7],0x7a6d76e9,5),p=u(p,_,f,m=o(m,10),g,e[10],0x7a6d76e9,15),g=u(g,p,_,f=o(f,10),m,e[14],0x7a6d76e9,8),m=l(m,g,p,_=o(_,10),f,e[12],0,8),f=l(f,m,g,p=o(p,10),_,e[15],0,5),_=l(_,f,m,g=o(g,10),p,e[10],0,12),p=l(p,_,f,m=o(m,10),g,e[4],0,9),g=l(g,p,_,f=o(f,10),m,e[1],0,12),m=l(m,g,p,_=o(_,10),f,e[5],0,5),f=l(f,m,g,p=o(p,10),_,e[8],0,14),_=l(_,f,m,g=o(g,10),p,e[7],0,6),p=l(p,_,f,m=o(m,10),g,e[6],0,8),g=l(g,p,_,f=o(f,10),m,e[2],0,13),m=l(m,g,p,_=o(_,10),f,e[13],0,6),f=l(f,m,g,p=o(p,10),_,e[14],0,5),_=l(_,f,m,g=o(g,10),p,e[0],0,15),p=l(p,_,f,m=o(m,10),g,e[3],0,13),g=l(g,p,_,f=o(f,10),m,e[9],0,11),m=l(m,g,p,_=o(_,10),f,e[11],0,11),p=o(p,10);var b=this._b+r+p|0;this._b=this._c+a+_|0,this._c=this._d+s+f|0,this._d=this._e+i+m|0,this._e=this._a+n+g|0,this._a=b},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=s},54570(e,t,i){var n=i(48287),r=n.Buffer;function a(e,t){for(var i in e)t[i]=e[i]}function s(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),s.prototype=Object.create(r.prototype),a(r,s),s.from=function(e,t,i){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,i)},s.alloc=function(e,t,i){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},76578(e){"use strict";e.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},33225(e,t,i){"use strict";var n=i(65606);function r(e,t,i,r){if("function"!=typeof e)throw TypeError('"callback" argument must be a function');var a,s,o=arguments.length;switch(o){case 0:case 1:return n.nextTick(e);case 2:return n.nextTick(function(){e.call(null,t)});case 3:return n.nextTick(function(){e.call(null,t,i)});case 4:return n.nextTick(function(){e.call(null,t,i,r)});default:for(a=Array(o-1),s=0;s1)for(var i=1;itypeof window&&void 0!==window.Buffer?window.Buffer:i(80030).Buffer}catch(e){}function s(e,t){var i=e.charCodeAt(t);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function o(e,t,i){var n=s(e,i);return i-1>=t&&(n|=s(e,i-1)<<4),n}function l(e,t,i,n){for(var r=0,a=Math.min(e.length,i),s=t;s=49?r+=o-49+10:o>=17?r+=o-17+10:r+=o}return r}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;s-=3)a=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=a<>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);else if("le"===i)for(s=0,r=0;s>>26-o&0x3ffffff,(o+=24)>=26&&(o-=26,r++);return this.strip()},a.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r=0;r=t;r-=2)n=o(e,t,r)<=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(a-=18,s+=1,this.words[s]|=n>>>26):a+=8;this.strip()},a.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=0x3ffffff;r*=t)n++;n--,r=r/t|0;for(var a=e.length-i,s=a%n,o=Math.min(a,a-s)+i,u=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?""};var u,d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];function f(e){for(var t=Array(e.bitLength()),i=0;i>>r}return t}function m(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],a=0|t.words[0],s=r*a,o=0x3ffffff&s,l=s/0x4000000|0;i.words[0]=o;for(var u=1;u>>26,c=0x3ffffff&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var m=u-f|0;d+=(s=(r=0|e.words[m])*(a=0|t.words[f])+c)/0x4000000|0,c=0x3ffffff&s}i.words[u]=0|c,l=0|d}return 0!==l?i.words[u]=0|l:i.length--,i.strip()}a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var i="",r=0,a=0,s=0;s>>24-r&0xffffff)||s!==this.length-1?d[6-l.length]+l+i:l+i,(r+=2)>=26&&(r-=26,s--)}for(0!==a&&(i=a.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var u=c[e],f=h[e];i="";var m=this.clone();for(m.negative=0;!m.isZero();){var g=m.modn(f).toString(e);i=(m=m.idivn(f)).isZero()?g+i:d[u-g.length]+g+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n(void 0!==u),this.toArrayLike(u,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,i){var r,a,s=this.byteLength(),o=i||Math.max(1,s);n(s<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var l="le"===t,u=new e(o),d=this.clone();if(l){for(a=0;!d.isZero();a++)r=d.andln(255),d.iushrn(8),u[a]=r;for(;a=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return(8191&t)==0&&(i+=13,t>>>=13),(127&t)==0&&(i+=7,t>>>=7),(15&t)==0&&(i+=4,t>>>=4),(3&t)==0&&(i+=2,t>>>=2),(1&t)==0&&i++,i},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){this.length>e.length?(t=this,i=e):(t=e,i=this);for(var t,i,n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&0x3ffffff>>26-i),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),t?this.words[i]=this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var t,i,n,r=0,a=0;a>>26;for(;0!==r&&a>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,i,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,i=e):(t=e,i=this);for(var a=0,s=0;s>26,this.words[s]=0x3ffffff&n;for(;0!==a&&s>26,this.words[s]=0x3ffffff&n;if(0===a&&s>>13,f=0|s[1],m=8191&f,g=f>>>13,p=0|s[2],_=8191&p,b=p>>>13,y=0|s[3],F=8191&y,k=y>>>13,w=0|s[4],C=8191&w,A=w>>>13,E=0|s[5],S=8191&E,x=E>>>13,D=0|s[6],T=8191&D,M=D>>>13,I=0|s[7],B=8191&I,P=I>>>13,N=0|s[8],R=8191&N,j=N>>>13,O=0|s[9],z=8191&O,q=O>>>13,W=0|o[0],V=8191&W,H=W>>>13,$=0|o[1],G=8191&$,X=$>>>13,K=0|o[2],Y=8191&K,Q=K>>>13,Z=0|o[3],J=8191&Z,ee=Z>>>13,et=0|o[4],ei=8191&et,en=et>>>13,er=0|o[5],ea=8191&er,es=er>>>13,eo=0|o[6],el=8191&eo,eu=eo>>>13,ed=0|o[7],ec=8191&ed,eh=ed>>>13,ef=0|o[8],em=8191&ef,eg=ef>>>13,ep=0|o[9],e_=8191&ep,ev=ep>>>13;i.negative=e.negative^t.negative,i.length=19,n=Math.imul(c,V);var eb=(u+n|0)+((8191&(r=(r=Math.imul(c,H))+Math.imul(h,V)|0))<<13)|0;u=((a=Math.imul(h,H))+(r>>>13)|0)+(eb>>>26)|0,eb&=0x3ffffff,n=Math.imul(m,V),r=(r=Math.imul(m,H))+Math.imul(g,V)|0,a=Math.imul(g,H),n=n+Math.imul(c,G)|0;var ey=(u+n|0)+((8191&(r=(r=r+Math.imul(c,X)|0)+Math.imul(h,G)|0))<<13)|0;u=((a=a+Math.imul(h,X)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,n=Math.imul(_,V),r=(r=Math.imul(_,H))+Math.imul(b,V)|0,a=Math.imul(b,H),n=n+Math.imul(m,G)|0,r=(r=r+Math.imul(m,X)|0)+Math.imul(g,G)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(c,Y)|0;var eF=(u+n|0)+((8191&(r=(r=r+Math.imul(c,Q)|0)+Math.imul(h,Y)|0))<<13)|0;u=((a=a+Math.imul(h,Q)|0)+(r>>>13)|0)+(eF>>>26)|0,eF&=0x3ffffff,n=Math.imul(F,V),r=(r=Math.imul(F,H))+Math.imul(k,V)|0,a=Math.imul(k,H),n=n+Math.imul(_,G)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(b,G)|0,a=a+Math.imul(b,X)|0,n=n+Math.imul(m,Y)|0,r=(r=r+Math.imul(m,Q)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(c,J)|0;var ek=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ee)|0)+Math.imul(h,J)|0))<<13)|0;u=((a=a+Math.imul(h,ee)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,n=Math.imul(C,V),r=(r=Math.imul(C,H))+Math.imul(A,V)|0,a=Math.imul(A,H),n=n+Math.imul(F,G)|0,r=(r=r+Math.imul(F,X)|0)+Math.imul(k,G)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,Q)|0,n=n+Math.imul(m,J)|0,r=(r=r+Math.imul(m,ee)|0)+Math.imul(g,J)|0,a=a+Math.imul(g,ee)|0,n=n+Math.imul(c,ei)|0;var ew=(u+n|0)+((8191&(r=(r=r+Math.imul(c,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((a=a+Math.imul(h,en)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,n=Math.imul(S,V),r=(r=Math.imul(S,H))+Math.imul(x,V)|0,a=Math.imul(x,H),n=n+Math.imul(C,G)|0,r=(r=r+Math.imul(C,X)|0)+Math.imul(A,G)|0,a=a+Math.imul(A,X)|0,n=n+Math.imul(F,Y)|0,r=(r=r+Math.imul(F,Q)|0)+Math.imul(k,Y)|0,a=a+Math.imul(k,Q)|0,n=n+Math.imul(_,J)|0,r=(r=r+Math.imul(_,ee)|0)+Math.imul(b,J)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(m,ei)|0,r=(r=r+Math.imul(m,en)|0)+Math.imul(g,ei)|0,a=a+Math.imul(g,en)|0,n=n+Math.imul(c,ea)|0;var eC=(u+n|0)+((8191&(r=(r=r+Math.imul(c,es)|0)+Math.imul(h,ea)|0))<<13)|0;u=((a=a+Math.imul(h,es)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,n=Math.imul(T,V),r=(r=Math.imul(T,H))+Math.imul(M,V)|0,a=Math.imul(M,H),n=n+Math.imul(S,G)|0,r=(r=r+Math.imul(S,X)|0)+Math.imul(x,G)|0,a=a+Math.imul(x,X)|0,n=n+Math.imul(C,Y)|0,r=(r=r+Math.imul(C,Q)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Q)|0,n=n+Math.imul(F,J)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,J)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(_,ei)|0,r=(r=r+Math.imul(_,en)|0)+Math.imul(b,ei)|0,a=a+Math.imul(b,en)|0,n=n+Math.imul(m,ea)|0,r=(r=r+Math.imul(m,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0,n=n+Math.imul(c,el)|0;var eA=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eu)|0)+Math.imul(h,el)|0))<<13)|0;u=((a=a+Math.imul(h,eu)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,n=Math.imul(B,V),r=(r=Math.imul(B,H))+Math.imul(P,V)|0,a=Math.imul(P,H),n=n+Math.imul(T,G)|0,r=(r=r+Math.imul(T,X)|0)+Math.imul(M,G)|0,a=a+Math.imul(M,X)|0,n=n+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Q)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(C,J)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(A,J)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(F,ei)|0,r=(r=r+Math.imul(F,en)|0)+Math.imul(k,ei)|0,a=a+Math.imul(k,en)|0,n=n+Math.imul(_,ea)|0,r=(r=r+Math.imul(_,es)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,es)|0,n=n+Math.imul(m,el)|0,r=(r=r+Math.imul(m,eu)|0)+Math.imul(g,el)|0,a=a+Math.imul(g,eu)|0,n=n+Math.imul(c,ec)|0;var eE=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eh)|0)+Math.imul(h,ec)|0))<<13)|0;u=((a=a+Math.imul(h,eh)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,n=Math.imul(R,V),r=(r=Math.imul(R,H))+Math.imul(j,V)|0,a=Math.imul(j,H),n=n+Math.imul(B,G)|0,r=(r=r+Math.imul(B,X)|0)+Math.imul(P,G)|0,a=a+Math.imul(P,X)|0,n=n+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Q)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,Q)|0,n=n+Math.imul(S,J)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(x,J)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(C,ei)|0,r=(r=r+Math.imul(C,en)|0)+Math.imul(A,ei)|0,a=a+Math.imul(A,en)|0,n=n+Math.imul(F,ea)|0,r=(r=r+Math.imul(F,es)|0)+Math.imul(k,ea)|0,a=a+Math.imul(k,es)|0,n=n+Math.imul(_,el)|0,r=(r=r+Math.imul(_,eu)|0)+Math.imul(b,el)|0,a=a+Math.imul(b,eu)|0,n=n+Math.imul(m,ec)|0,r=(r=r+Math.imul(m,eh)|0)+Math.imul(g,ec)|0,a=a+Math.imul(g,eh)|0,n=n+Math.imul(c,em)|0;var eS=(u+n|0)+((8191&(r=(r=r+Math.imul(c,eg)|0)+Math.imul(h,em)|0))<<13)|0;u=((a=a+Math.imul(h,eg)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,n=Math.imul(z,V),r=(r=Math.imul(z,H))+Math.imul(q,V)|0,a=Math.imul(q,H),n=n+Math.imul(R,G)|0,r=(r=r+Math.imul(R,X)|0)+Math.imul(j,G)|0,a=a+Math.imul(j,X)|0,n=n+Math.imul(B,Y)|0,r=(r=r+Math.imul(B,Q)|0)+Math.imul(P,Y)|0,a=a+Math.imul(P,Q)|0,n=n+Math.imul(T,J)|0,r=(r=r+Math.imul(T,ee)|0)+Math.imul(M,J)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(S,ei)|0,r=(r=r+Math.imul(S,en)|0)+Math.imul(x,ei)|0,a=a+Math.imul(x,en)|0,n=n+Math.imul(C,ea)|0,r=(r=r+Math.imul(C,es)|0)+Math.imul(A,ea)|0,a=a+Math.imul(A,es)|0,n=n+Math.imul(F,el)|0,r=(r=r+Math.imul(F,eu)|0)+Math.imul(k,el)|0,a=a+Math.imul(k,eu)|0,n=n+Math.imul(_,ec)|0,r=(r=r+Math.imul(_,eh)|0)+Math.imul(b,ec)|0,a=a+Math.imul(b,eh)|0,n=n+Math.imul(m,em)|0,r=(r=r+Math.imul(m,eg)|0)+Math.imul(g,em)|0,a=a+Math.imul(g,eg)|0,n=n+Math.imul(c,e_)|0;var ex=(u+n|0)+((8191&(r=(r=r+Math.imul(c,ev)|0)+Math.imul(h,e_)|0))<<13)|0;u=((a=a+Math.imul(h,ev)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,n=Math.imul(z,G),r=(r=Math.imul(z,X))+Math.imul(q,G)|0,a=Math.imul(q,X),n=n+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Q)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,Q)|0,n=n+Math.imul(B,J)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(P,J)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(T,ei)|0,r=(r=r+Math.imul(T,en)|0)+Math.imul(M,ei)|0,a=a+Math.imul(M,en)|0,n=n+Math.imul(S,ea)|0,r=(r=r+Math.imul(S,es)|0)+Math.imul(x,ea)|0,a=a+Math.imul(x,es)|0,n=n+Math.imul(C,el)|0,r=(r=r+Math.imul(C,eu)|0)+Math.imul(A,el)|0,a=a+Math.imul(A,eu)|0,n=n+Math.imul(F,ec)|0,r=(r=r+Math.imul(F,eh)|0)+Math.imul(k,ec)|0,a=a+Math.imul(k,eh)|0,n=n+Math.imul(_,em)|0,r=(r=r+Math.imul(_,eg)|0)+Math.imul(b,em)|0,a=a+Math.imul(b,eg)|0,n=n+Math.imul(m,e_)|0;var eD=(u+n|0)+((8191&(r=(r=r+Math.imul(m,ev)|0)+Math.imul(g,e_)|0))<<13)|0;u=((a=a+Math.imul(g,ev)|0)+(r>>>13)|0)+(eD>>>26)|0,eD&=0x3ffffff,n=Math.imul(z,Y),r=(r=Math.imul(z,Q))+Math.imul(q,Y)|0,a=Math.imul(q,Q),n=n+Math.imul(R,J)|0,r=(r=r+Math.imul(R,ee)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,ee)|0,n=n+Math.imul(B,ei)|0,r=(r=r+Math.imul(B,en)|0)+Math.imul(P,ei)|0,a=a+Math.imul(P,en)|0,n=n+Math.imul(T,ea)|0,r=(r=r+Math.imul(T,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,n=n+Math.imul(S,el)|0,r=(r=r+Math.imul(S,eu)|0)+Math.imul(x,el)|0,a=a+Math.imul(x,eu)|0,n=n+Math.imul(C,ec)|0,r=(r=r+Math.imul(C,eh)|0)+Math.imul(A,ec)|0,a=a+Math.imul(A,eh)|0,n=n+Math.imul(F,em)|0,r=(r=r+Math.imul(F,eg)|0)+Math.imul(k,em)|0,a=a+Math.imul(k,eg)|0,n=n+Math.imul(_,e_)|0;var eT=(u+n|0)+((8191&(r=(r=r+Math.imul(_,ev)|0)+Math.imul(b,e_)|0))<<13)|0;u=((a=a+Math.imul(b,ev)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,n=Math.imul(z,J),r=(r=Math.imul(z,ee))+Math.imul(q,J)|0,a=Math.imul(q,ee),n=n+Math.imul(R,ei)|0,r=(r=r+Math.imul(R,en)|0)+Math.imul(j,ei)|0,a=a+Math.imul(j,en)|0,n=n+Math.imul(B,ea)|0,r=(r=r+Math.imul(B,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,n=n+Math.imul(T,el)|0,r=(r=r+Math.imul(T,eu)|0)+Math.imul(M,el)|0,a=a+Math.imul(M,eu)|0,n=n+Math.imul(S,ec)|0,r=(r=r+Math.imul(S,eh)|0)+Math.imul(x,ec)|0,a=a+Math.imul(x,eh)|0,n=n+Math.imul(C,em)|0,r=(r=r+Math.imul(C,eg)|0)+Math.imul(A,em)|0,a=a+Math.imul(A,eg)|0,n=n+Math.imul(F,e_)|0;var eM=(u+n|0)+((8191&(r=(r=r+Math.imul(F,ev)|0)+Math.imul(k,e_)|0))<<13)|0;u=((a=a+Math.imul(k,ev)|0)+(r>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,n=Math.imul(z,ei),r=(r=Math.imul(z,en))+Math.imul(q,ei)|0,a=Math.imul(q,en),n=n+Math.imul(R,ea)|0,r=(r=r+Math.imul(R,es)|0)+Math.imul(j,ea)|0,a=a+Math.imul(j,es)|0,n=n+Math.imul(B,el)|0,r=(r=r+Math.imul(B,eu)|0)+Math.imul(P,el)|0,a=a+Math.imul(P,eu)|0,n=n+Math.imul(T,ec)|0,r=(r=r+Math.imul(T,eh)|0)+Math.imul(M,ec)|0,a=a+Math.imul(M,eh)|0,n=n+Math.imul(S,em)|0,r=(r=r+Math.imul(S,eg)|0)+Math.imul(x,em)|0,a=a+Math.imul(x,eg)|0,n=n+Math.imul(C,e_)|0;var eI=(u+n|0)+((8191&(r=(r=r+Math.imul(C,ev)|0)+Math.imul(A,e_)|0))<<13)|0;u=((a=a+Math.imul(A,ev)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,n=Math.imul(z,ea),r=(r=Math.imul(z,es))+Math.imul(q,ea)|0,a=Math.imul(q,es),n=n+Math.imul(R,el)|0,r=(r=r+Math.imul(R,eu)|0)+Math.imul(j,el)|0,a=a+Math.imul(j,eu)|0,n=n+Math.imul(B,ec)|0,r=(r=r+Math.imul(B,eh)|0)+Math.imul(P,ec)|0,a=a+Math.imul(P,eh)|0,n=n+Math.imul(T,em)|0,r=(r=r+Math.imul(T,eg)|0)+Math.imul(M,em)|0,a=a+Math.imul(M,eg)|0,n=n+Math.imul(S,e_)|0;var eB=(u+n|0)+((8191&(r=(r=r+Math.imul(S,ev)|0)+Math.imul(x,e_)|0))<<13)|0;u=((a=a+Math.imul(x,ev)|0)+(r>>>13)|0)+(eB>>>26)|0,eB&=0x3ffffff,n=Math.imul(z,el),r=(r=Math.imul(z,eu))+Math.imul(q,el)|0,a=Math.imul(q,eu),n=n+Math.imul(R,ec)|0,r=(r=r+Math.imul(R,eh)|0)+Math.imul(j,ec)|0,a=a+Math.imul(j,eh)|0,n=n+Math.imul(B,em)|0,r=(r=r+Math.imul(B,eg)|0)+Math.imul(P,em)|0,a=a+Math.imul(P,eg)|0,n=n+Math.imul(T,e_)|0;var eP=(u+n|0)+((8191&(r=(r=r+Math.imul(T,ev)|0)+Math.imul(M,e_)|0))<<13)|0;u=((a=a+Math.imul(M,ev)|0)+(r>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,n=Math.imul(z,ec),r=(r=Math.imul(z,eh))+Math.imul(q,ec)|0,a=Math.imul(q,eh),n=n+Math.imul(R,em)|0,r=(r=r+Math.imul(R,eg)|0)+Math.imul(j,em)|0,a=a+Math.imul(j,eg)|0,n=n+Math.imul(B,e_)|0;var eL=(u+n|0)+((8191&(r=(r=r+Math.imul(B,ev)|0)+Math.imul(P,e_)|0))<<13)|0;u=((a=a+Math.imul(P,ev)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,n=Math.imul(z,em),r=(r=Math.imul(z,eg))+Math.imul(q,em)|0,a=Math.imul(q,eg),n=n+Math.imul(R,e_)|0;var eN=(u+n|0)+((8191&(r=(r=r+Math.imul(R,ev)|0)+Math.imul(j,e_)|0))<<13)|0;u=((a=a+Math.imul(j,ev)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,n=Math.imul(z,e_);var eR=(u+n|0)+((8191&(r=(r=Math.imul(z,ev))+Math.imul(q,e_)|0))<<13)|0;return u=((a=Math.imul(q,ev))+(r>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,l[0]=eb,l[1]=ey,l[2]=eF,l[3]=ek,l[4]=ew,l[5]=eC,l[6]=eA,l[7]=eE,l[8]=eS,l[9]=ex,l[10]=eD,l[11]=eT,l[12]=eM,l[13]=eI,l[14]=eB,l[15]=eP,l[16]=eL,l[17]=eN,l[18]=eR,0!==u&&(l[19]=u,i.length++),i};function p(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,a=0;a>>26)|0)>>>26,s&=0x3ffffff}i.words[a]=o,n=s,s=r}return 0!==n?i.words[a]=n:i.length--,i.strip()}function _(e,t,i){return new b().mulp(e,t,i)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=m),a.prototype.mulTo=function(e,t){var i,n=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):n<63?m(this,e,t):n<1024?p(this,e,t):_(this,e,t)},b.prototype.makeRBT=function(e){for(var t=Array(e),i=a.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,i,n,r,a){for(var s=0;s>>=1)r++;return 1<>>=13,i[2*s+1]=8191&a,a>>>=13;for(s=2*t;s>=26,t+=(r/0x4000000|0)+(a>>>26),this.words[i]=0x3ffffff&a}return 0!==t&&(this.words[i]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=f(e);if(0===t.length)return new a(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,a=0x3ffffff>>>26-i<<26-i;if(0!==i){var s=0;for(t=0;t>>26-i}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0);var r=t?(t-t%26)/26:0,a=e%26,s=Math.min((e-a)/26,this.length),o=0x3ffffff^0x3ffffff>>>a<s)for(this.length-=s,u=0;u=0&&(0!==d||u>=r);u--){var c=0|this.words[u];this.words[u]=d<<26-a|c>>>a,d=c&o}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=0x3ffffff^0x3ffffff>>>t<=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"==typeof e),n(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/0x4000000|0),this.words[r+i]=0x3ffffff&a}for(;r>26,this.words[r+i]=0x3ffffff&a;if(0===o)return this.strip();for(n(-1===o),o=0,r=0;r>26,this.words[r]=0x3ffffff&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var i,n=this.length-e.length,r=this.clone(),s=e,o=0|s.words[s.length-1];0!=(n=26-this._countBits(o))&&(s=s.ushln(n),r.iushln(n),o=0|s.words[s.length-1]);var l=r.length-s.length;if("mod"!==t){(i=new a(null)).length=l+1,i.words=Array(i.length);for(var u=0;u=0;c--){var h=(0|r.words[s.length+c])*0x4000000+(0|r.words[s.length+c-1]);for(h=Math.min(h/o|0,0x3ffffff),r._ishlnsubmul(s,h,c);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,c),r.isZero()||(r.negative^=1);i&&(i.words[c]=h)}return i&&i.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:i||null,mod:r}},a.prototype.divmod=function(e,t,i){var r,s,o;return(n(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(r=o.div.neg()),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(r=o.div.neg()),{div:r,mod:o.mod}):(this.negative&e.negative)!=0?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(s=o.mod.neg(),i&&0!==s.negative&&s.isub(e)),{div:o.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),a=i.cmp(n);return a<0||1===r&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=0x3ffffff);for(var t=0x4000000%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},a.prototype.idivn=function(e){n(e<=0x3ffffff);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+0x4000000*t;this.words[i]=r/e|0,t=r%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new a(1),s=new a(0),o=new a(0),l=new a(1),u=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++u;for(var d=i.clone(),c=t.clone();!t.isZero();){for(var h=0,f=1;(t.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(c)),r.iushrn(1),s.iushrn(1);for(var m=0,g=1;(i.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(i.iushrn(m);m-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(d),l.isub(c)),o.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(o),s.isub(l)):(i.isub(t),o.isub(r),l.isub(s))}return{a:o,b:l,gcd:i.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,i=this,r=e.clone();i=0!==i.negative?i.umod(e):i.clone();for(var s=new a(1),o=new a(0),l=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,d=1;(i.words[0]&d)==0&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,h=1;(r.words[0]&h)==0&&c<26;++c,h<<=1);if(c>0)for(r.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);i.cmp(r)>=0?(i.isub(r),s.isub(o)):(r.isub(i),o.isub(s))}return 0>(t=0===i.cmpn(1)?s:o).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var a=t;t=i,i=a}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,o&=0x3ffffff,this.words[s]=o}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=0x3ffffff,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new E(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function F(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){F.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){F.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){F.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){F.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}F.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},F.prototype.ireduce=function(e){var t,i=e;do this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(t>this.n);var n=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},F.prototype.split=function(e,t){e.iushrn(this.n,0,t)},F.prototype.imulK=function(e){return e.imul(this.k)},r(k,F),k.prototype.split=function(e,t){for(var i=4194303,n=Math.min(e.length,9),r=0;r>>22,a=s}a>>>=22,e.words[r-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},k.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(y[e])return y[e];if("k256"===e)t=new k;else if("p224"===e)t=new w;else if("p192"===e)t=new C;else if("p25519"===e)t=new A;else throw Error("Unknown prime "+e);return y[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n((e.negative|t.negative)==0,"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},E.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new a(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);n(!r.isZero());var o=new a(1).toRed(this),l=o.redNeg(),u=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,u).cmp(l);)d.redIAdd(l);for(var c=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),m=s;0!==f.cmp(o);){for(var g=f,p=0;0!==g.cmp(o);p++)g=g.redSqr();n(p=0;r--){for(var d=t.words[r],c=u-1;c>=0;c--){var h=d>>c&1;if(s!==n[0]&&(s=this.sqr(s)),0===h&&0===o){l=0;continue}o<<=1,o|=h,(++l===i||0===r&&0===c)&&(s=this.mul(s,n[o]),l=0,o=0)}u=26}return s},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new S(e)},r(S,E),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):0>r.cmpn(0)&&(a=r.iadd(this.m)),a._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=i.nmd(e),this)},77362(e,t,i){var n=i(78170),r=i(48206),a=i(52061),s=i(82509),o=i(67332),l=i(47108),u=i(99247),d=i(92861).Buffer;function c(e,t){var i=e.modulus.byteLength(),n=l("sha1").update(d.alloc(0)).digest(),s=n.length;if(0!==t[0])throw Error("decryption error");var o=t.slice(1,s+1),u=t.slice(s+1),c=a(o,r(u,s)),h=a(u,r(c,i-s-1));if(f(n,h.slice(0,s)))throw Error("decryption error");for(var m=s;0===h[m];)m++;if(1!==h[m++])throw Error("decryption error");return h.slice(m)}function h(e,t,i){for(var n=t.slice(0,2),r=2,a=0;0!==t[r++];)if(r>=t.length){a++;break}var s=t.slice(2,r-1);if(("0002"!==n.toString("hex")&&!i||"0001"!==n.toString("hex")&&i)&&a++,s.length<8&&a++,a)throw Error("decryption error");return t.slice(r)}function f(e,t){e=d.from(e),t=d.from(t);var i=0,n=e.length;e.length!==t.length&&(i++,n=Math.min(e.length,t.length));for(var r=-1;++rf||new s(t).cmp(l.modulus)>=0)throw Error("decryption error");r=i?u(new s(t),l):o(t,l);var m=d.alloc(f-r.length);if(r=d.concat([m,r],f),4===a)return c(l,r);if(1===a)return h(l,r,i);if(3===a)return r;throw Error("unknown padding")}},28902(e,t,i){var n=i(78170),r=i(53209),a=i(47108),s=i(48206),o=i(52061),l=i(82509),u=i(99247),d=i(67332),c=i(92861).Buffer;function h(e,t){var i=e.modulus.byteLength(),n=t.length,u=a("sha1").update(c.alloc(0)).digest(),d=u.length,h=2*d;if(n>i-h-2)throw Error("message too long");var f=c.alloc(i-n-h-2),m=i-d-1,g=r(d),p=o(c.concat([u,f,c.alloc(1,1),t],m),s(g,m)),_=o(g,s(p,d));return new l(c.concat([c.alloc(1),_,p],i))}function f(e,t,i){var n,r=t.length,a=e.modulus.byteLength();if(r>a-11)throw Error("message too long");return n=i?c.alloc(a-r-3,255):m(a-r-3),new l(c.concat([c.from([0,i?1:2]),n,c.alloc(1),t],a))}function m(e){for(var t,i=c.allocUnsafe(e),n=0,a=r(2*e),s=0;n=0)throw Error("data too long for modulus")}else throw Error("unknown padding");return i?d(r,s):u(r,s)}},99247(e,t,i){var n=i(82509),r=i(92861).Buffer;e.exports=function(e,t){return r.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},52061(e){e.exports=function(e,t){for(var i=e.length,n=-1;++na)throw RangeError("requested too many random bytes");var i=o.allocUnsafe(e);if(e>0)if(e>r)for(var s=0;sd||e<0)throw TypeError("offset must be a uint32");if(e>l||e>t)throw RangeError("offset out of range")}function h(e,t,i){if("number"!=typeof e||e!=e)throw TypeError("size must be a number");if(e>d||e<0)throw TypeError("size must be a uint32");if(e+t>i||e>l)throw RangeError("buffer too small")}function f(e,t,n,r){if(!o.isBuffer(e)&&!(e instanceof i.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)r=t,t=0,n=e.length;else if("function"==typeof n)r=n,n=e.length-t;else if("function"!=typeof r)throw TypeError('"cb" argument must be a function');return c(t,e.length),h(n,t,e.length),m(e,t,n,r)}function m(e,t,i,r){if(n.browser){var a=new Uint8Array(e.buffer,t,i);return(u.getRandomValues(a),r)?void n.nextTick(function(){r(null,e)}):e}return r?void s(i,function(i,n){if(i)return r(i);n.copy(e,t),r(null,e)}):(s(i).copy(e,t),e)}function g(e,t,n){if(void 0===t&&(t=0),!o.isBuffer(e)&&!(e instanceof i.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');return c(t,e.length),void 0===n&&(n=e.length-t),h(n,t,e.length),m(e,t,n)}u&&u.getRandomValues||!n.browser?(t.randomFill=f,t.randomFillSync=g):(t.randomFill=r,t.randomFillSync=r)},86048(e){"use strict";function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i={};function n(e,n,r){function a(e,t,i){return"string"==typeof n?n:n(e,t,i)}r||(r=Error);var s=function(e){function i(t,i,n){return e.call(this,a(t,i,n))||this}return t(i,e),i}(r);s.prototype.name=r.name,s.prototype.code=e,i[e]=s}function r(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var i=e.length;return(e=e.map(function(e){return String(e)}),i>2)?"one of ".concat(t," ").concat(e.slice(0,i-1).join(", "),", or ")+e[i-1]:2===i?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}function a(e,t,i){return e.substr(!i||i<0?0:+i,t.length)===t}function s(e,t,i){return(void 0===i||i>e.length)&&(i=e.length),e.substring(i-t.length,i)===t}function o(e,t,i){return"number"!=typeof i&&(i=0),!(i+t.length>e.length)&&-1!==e.indexOf(t,i)}n("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(e,t,i){if("string"==typeof t&&a(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be",s(e," argument"))l="The ".concat(e," ").concat(n," ").concat(r(t,"type"));else{var n,l,u=o(e,".")?"property":"argument";l='The "'.concat(e,'" ').concat(u," ").concat(n," ").concat(r(t,"type"))}return l+". Received type ".concat(typeof i)},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=i},25382(e,t,i){"use strict";var n=i(65606),r=Object.keys||function(e){var t=[];for(var i in e)t.push(i);return t};e.exports=d;var a=i(45412),s=i(16708);i(56698)(d,a);for(var o=r(s.prototype),l=0;ltypeof window?window:"u">typeof self?self:{}).Uint8Array||function(){};function f(e){return c.from(e)}function m(e){return c.isBuffer(e)||e instanceof h}var g=i(82285);r=g&&g.debuglog?g.debuglog("stream"):function(){};var p=i(80345),_=i(75896),b=i(65291).getHighWaterMark,y=i(86048).codes,F=y.ERR_INVALID_ARG_TYPE,k=y.ERR_STREAM_PUSH_AFTER_EOF,w=y.ERR_METHOD_NOT_IMPLEMENTED,C=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;i(56698)(D,d);var A=_.errorOrDestroy,E=["error","close","destroy","pause","resume"];function S(e,t,i){if("function"==typeof e.prependListener)return e.prependListener(t,i);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(i):e._events[t]=[i,e._events[t]]:e.on(t,i)}function x(e,t,r){n=n||i(25382),e=e||{},"boolean"!=typeof r&&(r=t instanceof n),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",r),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(a||(a=i(83141).StringDecoder),this.decoder=new a(e.encoding),this.encoding=e.encoding)}function D(e){if(n=n||i(25382),!(this instanceof D))return new D(e);var t=this instanceof n;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),d.call(this)}function T(e,t,i,n,a){r("readableAddChunk",t);var s,o=e._readableState;if(null===t)o.reading=!1,R(e,o);else if(a||(s=I(o,t)),s)A(e,s);else if(o.objectMode||t&&t.length>0)if("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=f(t)),n)o.endEmitted?A(e,new C):M(e,o,t,!0);else if(o.ended)A(e,new k);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!i?(t=o.decoder.write(t),o.objectMode||0!==t.length?M(e,o,t,!1):z(e,o)):M(e,o,t,!1)}else n||(o.reading=!1,z(e,o));return!o.ended&&(o.length=B?e=B:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function N(e,t){if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&(t.highWaterMark=P(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function R(e,t){if(r("onEofChunk"),!t.ended){if(t.decoder){var i=t.decoder.end();i&&i.length&&(t.buffer.push(i),t.length+=t.objectMode?1:i.length)}t.ended=!0,t.sync?j(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}}function j(e){var t=e._readableState;r("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(r("emitReadable",t.flowing),t.emittedReadable=!0,l.nextTick(O,e))}function O(e){var t=e._readableState;r("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,X(e)}function z(e,t){t.readingMore||(t.readingMore=!0,l.nextTick(q,e,t))}function q(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function H(e){r("readable nexttick read 0"),e.read(0)}function $(e,t){t.resumeScheduled||(t.resumeScheduled=!0,l.nextTick(G,e,t))}function G(e,t){r("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),X(e),t.flowing&&!t.reading&&e.read(0)}function X(e){var t=e._readableState;for(r("flow",t.flowing);t.flowing&&null!==e.read(););}function K(e,t){var i;return 0===t.length?null:(t.objectMode?i=t.buffer.shift():!e||e>=t.length?(i=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):i=t.buffer.consume(e,t.decoder),i)}function Y(e){var t=e._readableState;r("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,l.nextTick(Q,t,e))}function Q(e,t){if(r("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var i=t._writableState;(!i||i.autoDestroy&&i.finished)&&t.destroy()}}function Z(e,t){for(var i=0,n=e.length;i=i.highWaterMark:i.length>0)||i.ended))return r("read: emitReadable",i.length,i.ended),0===i.length&&i.ended?Y(this):j(this),null;if(0===(e=N(e,i))&&i.ended)return 0===i.length&&Y(this),null;var a=i.needReadable;return r("need readable",a),(0===i.length||i.length-e0?K(e,i):null)?(i.needReadable=i.length<=i.highWaterMark,e=0):(i.length-=e,i.awaitDrain=0),0===i.length&&(i.ended||(i.needReadable=!0),n!==e&&i.ended&&Y(this)),null!==t&&this.emit("data",t),t},D.prototype._read=function(e){A(this,new w("_read()"))},D.prototype.pipe=function(e,t){var i=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,r("pipe count=%d opts=%j",n.pipesCount,t);var a=t&&!1===t.end||e===l.stdout||e===l.stderr?_:o;function s(e,t){r("onunpipe"),e===i&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,h())}function o(){r("onend"),e.end()}n.endEmitted?l.nextTick(a):i.once("end",a),e.on("unpipe",s);var d=W(i);e.on("drain",d);var c=!1;function h(){r("cleanup"),e.removeListener("close",g),e.removeListener("finish",p),e.removeListener("drain",d),e.removeListener("error",m),e.removeListener("unpipe",s),i.removeListener("end",o),i.removeListener("end",_),i.removeListener("data",f),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&d()}function f(t){r("ondata");var a=e.write(t);r("dest.write",a),!1===a&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==Z(n.pipes,e))&&!c&&(r("false write response, pause",n.awaitDrain),n.awaitDrain++),i.pause())}function m(t){r("onerror",t),_(),e.removeListener("error",m),0===u(e,"error")&&A(e,t)}function g(){e.removeListener("finish",p),_()}function p(){r("onfinish"),e.removeListener("close",g),_()}function _(){r("unpipe"),i.unpipe(e)}return i.on("data",f),S(e,"error",m),e.once("close",g),e.once("finish",p),e.emit("pipe",i),n.flowing||(r("pipe resume"),i.resume()),e},D.prototype.unpipe=function(e){var t=this._readableState,i={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,i)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,r("on readable",n.length,n.reading),n.length?j(this):n.reading||l.nextTick(H,this)),i},D.prototype.addListener=D.prototype.on,D.prototype.removeListener=function(e,t){var i=d.prototype.removeListener.call(this,e,t);return"readable"===e&&l.nextTick(V,this),i},D.prototype.removeAllListeners=function(e){var t=d.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&l.nextTick(V,this),t},D.prototype.resume=function(){var e=this._readableState;return e.flowing||(r("resume"),e.flowing=!e.readableListening,$(this,e)),e.paused=!1,this},D.prototype.pause=function(){return r("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(r("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},D.prototype.wrap=function(e){var t=this,i=this._readableState,n=!1;for(var a in e.on("end",function(){if(r("wrapped end"),i.decoder&&!i.ended){var e=i.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(a){r("wrapped data"),i.decoder&&(a=i.decoder.write(a)),i.objectMode&&null==a||(i.objectMode||a&&a.length)&&(t.push(a)||(n=!0,e.pause()))}),e)void 0===this[a]&&"function"==typeof e[a]&&(this[a]=function(t){return function(){return e[t].apply(e,arguments)}}(a));for(var s=0;stypeof window?window:"u">typeof self?self:{}).Uint8Array||function(){};function c(e){return u.from(e)}function h(e){return u.isBuffer(e)||e instanceof d}var f=i(75896),m=i(65291).getHighWaterMark,g=i(86048).codes,p=g.ERR_INVALID_ARG_TYPE,_=g.ERR_METHOD_NOT_IMPLEMENTED,b=g.ERR_MULTIPLE_CALLBACK,y=g.ERR_STREAM_CANNOT_PIPE,F=g.ERR_STREAM_DESTROYED,k=g.ERR_STREAM_NULL_VALUES,w=g.ERR_STREAM_WRITE_AFTER_END,C=g.ERR_UNKNOWN_ENCODING,A=f.errorOrDestroy;function E(){}function S(e,t,r){n=n||i(25382),e=e||{},"boolean"!=typeof r&&(r=t instanceof n),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=m(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){R(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function x(e){var t=this instanceof(n=n||i(25382));if(!t&&!r.call(x,this))return new x(e);this._writableState=new S(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function D(e,t){var i=new w;A(e,i),a.nextTick(t,i)}function T(e,t,i,n){var r;return null===i?r=new k:"string"==typeof i||t.objectMode||(r=new p("chunk",["string","Buffer"],i)),!r||(A(e,r),a.nextTick(n,r),!1)}function M(e,t,i){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,i)),t}function I(e,t,i,n,r,a){if(!i){var s=M(t,n,r);n!==s&&(i=!0,r="buffer",n=s)}var o=t.objectMode?1:n.length;t.length+=o;var l=t.length-1))throw new C(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(e,t,i){i(new _("_write()"))},x.prototype._writev=null,x.prototype.end=function(e,t,i){var n=this._writableState;return"function"==typeof e?(i=e,e=null,t=null):"function"==typeof t&&(i=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||$(this,n,i),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),x.prototype.destroy=f.destroy,x.prototype._undestroy=f.undestroy,x.prototype._destroy=function(e,t){t(e)}},2955(e,t,i){"use strict";var n,r=i(65606);function a(e,t,i){return(t=s(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function s(e){var t=o(e,"string");return"symbol"==typeof t?t:String(t)}function o(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var l=i(86238),u=Symbol("lastResolve"),d=Symbol("lastReject"),c=Symbol("error"),h=Symbol("ended"),f=Symbol("lastPromise"),m=Symbol("handlePromise"),g=Symbol("stream");function p(e,t){return{value:e,done:t}}function _(e){var t=e[u];if(null!==t){var i=e[g].read();null!==i&&(e[f]=null,e[u]=null,e[d]=null,t(p(i,!1)))}}function b(e){r.nextTick(_,e)}function y(e,t){return function(i,n){e.then(function(){t[h]?i(p(void 0,!0)):t[m](i,n)},n)}}var F=Object.getPrototypeOf(function(){}),k=Object.setPrototypeOf((a(n={get stream(){return this[g]},next:function(){var e,t=this,i=this[c];if(null!==i)return Promise.reject(i);if(this[h])return Promise.resolve(p(void 0,!0));if(this[g].destroyed)return new Promise(function(e,i){r.nextTick(function(){t[c]?i(t[c]):e(p(void 0,!0))})});var n=this[f];if(n)e=new Promise(y(n,this));else{var a=this[g].read();if(null!==a)return Promise.resolve(p(a,!1));e=new Promise(this[m])}return this[f]=e,e}},Symbol.asyncIterator,function(){return this}),a(n,"return",function(){var e=this;return new Promise(function(t,i){e[g].destroy(null,function(e){e?i(e):t(p(void 0,!0))})})}),n),F);e.exports=function(e){var t,i=Object.create(k,(a(t={},g,{value:e,writable:!0}),a(t,u,{value:null,writable:!0}),a(t,d,{value:null,writable:!0}),a(t,c,{value:null,writable:!0}),a(t,h,{value:e._readableState.endEmitted,writable:!0}),a(t,m,{value:function(e,t){var n=i[g].read();n?(i[f]=null,i[u]=null,i[d]=null,e(p(n,!1))):(i[u]=e,i[d]=t)},writable:!0}),t));return i[f]=null,l(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=i[d];null!==t&&(i[f]=null,i[u]=null,i[d]=null,t(e)),i[c]=e;return}var n=i[u];null!==n&&(i[f]=null,i[u]=null,i[d]=null,n(p(void 0,!0))),i[h]=!0}),e.on("readable",b.bind(null,i)),i}},80345(e,t,i){"use strict";function n(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function r(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,i=""+t.data;t=t.next;)i+=e+t.data;return i}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);for(var t=c.allocUnsafe(e>>>0),i=this.head,n=0;i;)m(i.data,t,n),n+=i.data.length,i=i.next;return t}},{key:"consume",value:function(e,t){var i;return er.length?r.length:e;if(a===r.length?n+=r:n+=r.slice(0,e),0==(e-=a)){a===r.length?(++i,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=r.slice(a));break}++i}return this.length-=i,n}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),i=this.head,n=1;for(i.data.copy(t),e-=i.data.length;i=i.next;){var r=i.data,a=e>r.length?r.length:e;if(r.copy(t,t.length-e,0,a),0==(e-=a)){a===r.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=r.slice(a));break}++n}return this.length-=n,t}},{key:f,value:function(e,t){return h(this,r(r({},t),{},{depth:0,customInspect:!1}))}}]),e}()},75896(e,t,i){"use strict";var n=i(65606);function r(e,t){s(e,t),a(e)}function a(e){e._writableState&&!e._writableState.emitClose||(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function s(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var i=this,o=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return o||l?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(s,this,e)):n.nextTick(s,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?i._writableState?i._writableState.errorEmitted?n.nextTick(a,i):(i._writableState.errorEmitted=!0,n.nextTick(r,i,e)):n.nextTick(r,i,e):t?(n.nextTick(a,i),t(e)):n.nextTick(a,i)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var i=e._readableState,n=e._writableState;i&&i.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},86238(e,t,i){"use strict";var n=i(86048).codes.ERR_STREAM_PREMATURE_CLOSE;function r(e){var t=!1;return function(){if(!t){t=!0;for(var i=arguments.length,n=Array(i),r=0;r0,function(t){e||(e=t),t&&a.forEach(c),s||(a.forEach(c),r(e))})});return i.reduce(h)}},65291(e,t,i){"use strict";var n=i(86048).codes.ERR_INVALID_OPT_VALUE;function r(e,t,i){return null!=e.highWaterMark?e.highWaterMark:t?e[i]:null}e.exports={getHighWaterMark:function(e,t,i,a){var s=r(t,a,i);if(null!=s){if(!(isFinite(s)&&Math.floor(s)===s)||s<0)throw new n(a?i:"highWaterMark",s);return Math.floor(s)}return e.objectMode?16:16384}}},40345(e,t,i){e.exports=i(37007).EventEmitter},28399(e,t,i){(t=e.exports=i(45412)).Stream=t,t.Readable=t,t.Writable=i(16708),t.Duplex=i(25382),t.Transform=i(74610),t.PassThrough=i(63600),t.finished=i(86238),t.pipeline=i(57758)},66011(e,t,i){"use strict";var n=i(48287).Buffer,r=i(56698),a=i(4729),s=Array(16),o=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],c=[0,0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xa953fd4e],h=[0x50a28be6,0x5c4dd124,0x6d703ef3,0x7a6d76e9,0];function f(){a.call(this,64),this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0}function m(e,t){return e<>>32-t}function g(e,t,i,n,r,a,s,o){return m(e+(t^i^n)+a+s|0,o)+r|0}function p(e,t,i,n,r,a,s,o){return m(e+(t&i|~t&n)+a+s|0,o)+r|0}function _(e,t,i,n,r,a,s,o){return m(e+((t|~i)^n)+a+s|0,o)+r|0}function b(e,t,i,n,r,a,s,o){return m(e+(t&n|i&~n)+a+s|0,o)+r|0}function y(e,t,i,n,r,a,s,o){return m(e+(t^(i|~n))+a+s|0,o)+r|0}r(f,a),f.prototype._update=function(){for(var e,t,i=s,n=0;n<16;++n)i[n]=this._block.readInt32LE(4*n);for(var r=0|this._a,a=0|this._b,f=0|this._c,F=0|this._d,k=0|this._e,w=0|this._a,C=0|this._b,A=0|this._c,E=0|this._d,S=0|this._e,x=0;x<80;x+=1)x<16?(e=g(r,a,f,F,k,i[o[x]],c[0],u[x]),t=y(w,C,A,E,S,i[l[x]],h[0],d[x])):x<32?(e=p(r,a,f,F,k,i[o[x]],c[1],u[x]),t=b(w,C,A,E,S,i[l[x]],h[1],d[x])):x<48?(e=_(r,a,f,F,k,i[o[x]],c[2],u[x]),t=_(w,C,A,E,S,i[l[x]],h[2],d[x])):x<64?(e=b(r,a,f,F,k,i[o[x]],c[3],u[x]),t=p(w,C,A,E,S,i[l[x]],h[3],d[x])):(e=y(r,a,f,F,k,i[o[x]],c[4],u[x]),t=g(w,C,A,E,S,i[l[x]],h[4],d[x])),r=k,k=F,F=m(f,10),f=a,a=e,w=S,S=E,E=m(A,10),A=C,C=t;var D=this._b+f+E|0;this._b=this._c+F+S|0,this._c=this._d+k+w|0,this._d=this._e+r+C|0,this._e=this._a+a+A|0,this._a=D},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=f},92861(e,t,i){var n=i(48287),r=n.Buffer;function a(e,t){for(var i in e)t[i]=e[i]}function s(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),a(r,s),s.from=function(e,t,i){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,i)},s.alloc=function(e,t,i){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},37963(e){"use strict";let t={};t.generateIdentifier=function(){return Math.random().toString(36).substring(2,12)},t.localCName=t.generateIdentifier(),t.splitLines=function(e){return e.trim().split("\n").map(e=>e.trim())},t.splitSections=function(e){return e.split("\nm=").map((e,t)=>(t>0?"m="+e:e).trim()+"\r\n")},t.getDescription=function(e){let i=t.splitSections(e);return i&&i[0]},t.getMediaSections=function(e){let i=t.splitSections(e);return i.shift(),i},t.matchPrefix=function(e,i){return t.splitLines(e).filter(e=>0===e.indexOf(i))},t.parseCandidate=function(e){let t,i={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]};for(let e=8;e0?t[0].split("/")[1]:"sendrecv",uri:t[1],attributes:t.slice(2).join(" ")}},t.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+(e.attributes?" "+e.attributes:"")+"\r\n"},t.parseFmtp=function(e){let t,i={},n=e.substring(e.indexOf(" ")+1).split(";");for(let e=0;e{void 0!==e.parameters[t]?n.push(t+"="+e.parameters[t]):n.push(t)}),t+="a=fmtp:"+i+" "+n.join(";")+"\r\n"}return t},t.parseRtcpFb=function(e){let t=e.substring(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},t.writeRtcpFb=function(e){let t="",i=e.payloadType;return void 0!==e.preferredPayloadType&&(i=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(e=>{t+="a=rtcp-fb:"+i+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},t.parseSsrcMedia=function(e){let t=e.indexOf(" "),i={ssrc:parseInt(e.substring(7,t),10)},n=e.indexOf(":",t);return n>-1?(i.attribute=e.substring(t+1,n),i.value=e.substring(n+1)):i.attribute=e.substring(t+1),i},t.parseSsrcGroup=function(e){let t=e.substring(13).split(" ");return{semantics:t.shift(),ssrcs:t.map(e=>parseInt(e,10))}},t.getMid=function(e){let i=t.matchPrefix(e,"a=mid:")[0];if(i)return i.substring(6)},t.parseFingerprint=function(e){let t=e.substring(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},t.getDtlsParameters=function(e,i){return{role:"auto",fingerprints:t.matchPrefix(e+i,"a=fingerprint:").map(t.parseFingerprint)}},t.writeDtlsParameters=function(e,t){let i="a=setup:"+t+"\r\n";return e.fingerprints.forEach(e=>{i+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),i},t.parseCryptoLine=function(e){let t=e.substring(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},t.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?t.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},t.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;let t=e.substring(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},t.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},t.getCryptoParameters=function(e,i){return t.matchPrefix(e+i,"a=crypto:").map(t.parseCryptoLine)},t.getIceParameters=function(e,i){let n=t.matchPrefix(e+i,"a=ice-ufrag:")[0],r=t.matchPrefix(e+i,"a=ice-pwd:")[0];return n&&r?{usernameFragment:n.substring(12),password:r.substring(10)}:null},t.writeIceParameters=function(e){let t="a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n";return e.iceLite&&(t+="a=ice-lite\r\n"),t},t.parseRtpParameters=function(e){let i={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},n=t.splitLines(e)[0].split(" ");i.profile=n[2];for(let r=3;r{i.headerExtensions.push(t.parseExtmap(e))});let r=t.matchPrefix(e,"a=rtcp-fb:* ").map(t.parseRtcpFb);return i.codecs.forEach(e=>{r.forEach(t=>{e.rtcpFeedback.find(e=>e.type===t.type&&e.parameter===t.parameter)||e.rtcpFeedback.push(t)})}),i},t.writeRtpDescription=function(e,i){let n="";n+="m="+e+" ",n+=i.codecs.length>0?"9":"0",n+=" "+(i.profile||"UDP/TLS/RTP/SAVPF")+" ",n+=i.codecs.map(e=>void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType).join(" ")+"\r\n",n+="c=IN IP4 0.0.0.0\r\n",n+="a=rtcp:9 IN IP4 0.0.0.0\r\n",i.codecs.forEach(e=>{n+=t.writeRtpMap(e),n+=t.writeFmtp(e),n+=t.writeRtcpFb(e)});let r=0;return i.codecs.forEach(e=>{e.maxptime>r&&(r=e.maxptime)}),r>0&&(n+="a=maxptime:"+r+"\r\n"),i.headerExtensions&&i.headerExtensions.forEach(e=>{n+=t.writeExtmap(e)}),n},t.parseRtpEncodingParameters=function(e){let i,n=[],r=t.parseRtpParameters(e),a=-1!==r.fecMechanisms.indexOf("RED"),s=-1!==r.fecMechanisms.indexOf("ULPFEC"),o=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute),l=o.length>0&&o[0].ssrc,u=t.matchPrefix(e,"a=ssrc-group:FID").map(e=>e.substring(17).split(" ").map(e=>parseInt(e,10)));u.length>0&&u[0].length>1&&u[0][0]===l&&(i=u[0][1]),r.codecs.forEach(e=>{if("RTX"===e.name.toUpperCase()&&e.parameters.apt){let t={ssrc:l,codecPayloadType:parseInt(e.parameters.apt,10)};l&&i&&(t.rtx={ssrc:i}),n.push(t),a&&((t=JSON.parse(JSON.stringify(t))).fec={ssrc:l,mechanism:s?"red+ulpfec":"red"},n.push(t))}}),0===n.length&&l&&n.push({ssrc:l});let d=t.matchPrefix(e,"b=");return d.length&&(d=0===d[0].indexOf("b=TIAS:")?parseInt(d[0].substring(7),10):0===d[0].indexOf("b=AS:")?1e3*parseInt(d[0].substring(5),10)*.95-16e3:void 0,n.forEach(e=>{e.maxBitrate=d})),n},t.parseRtcpParameters=function(e){let i={},n=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute)[0];n&&(i.cname=n.value,i.ssrc=n.ssrc);let r=t.matchPrefix(e,"a=rtcp-rsize");return i.reducedSize=r.length>0,i.compound=0===r.length,i.mux=t.matchPrefix(e,"a=rtcp-mux").length>0,i},t.writeRtcpParameters=function(e){let t="";return e.reducedSize&&(t+="a=rtcp-rsize\r\n"),e.mux&&(t+="a=rtcp-mux\r\n"),void 0!==e.ssrc&&e.cname&&(t+="a=ssrc:"+e.ssrc+" cname:"+e.cname+"\r\n"),t},t.parseMsid=function(e){let i,n=t.matchPrefix(e,"a=msid:");if(1===n.length)return{stream:(i=n[0].substring(7).split(" "))[0],track:i[1]};let r=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"msid"===e.attribute);if(r.length>0)return{stream:(i=r[0].value.split(" "))[0],track:i[1]}},t.parseSctpDescription=function(e){let i,n=t.parseMLine(e),r=t.matchPrefix(e,"a=max-message-size:");r.length>0&&(i=parseInt(r[0].substring(19),10)),isNaN(i)&&(i=65536);let a=t.matchPrefix(e,"a=sctp-port:");if(a.length>0)return{port:parseInt(a[0].substring(12),10),protocol:n.fmt,maxMessageSize:i};let s=t.matchPrefix(e,"a=sctpmap:");if(s.length>0){let e=s[0].substring(10).split(" ");return{port:parseInt(e[0],10),protocol:e[1],maxMessageSize:i}}},t.writeSctpDescription=function(e,t){let i=[];return i="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&i.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),i.join("")},t.generateSessionId=function(){return Math.random().toString().substr(2,22)},t.writeSessionBoilerplate=function(e,i,n){let r=void 0!==i?i:2;return"v=0\r\no="+(n||"thisisadapterortc")+" "+(e||t.generateSessionId())+" "+r+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},t.getDirection=function(e,i){let n=t.splitLines(e);for(let e=0;er)throw TypeError(`version is longer than ${r} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const i=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!i)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>a||this.major<0)throw TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&te.major?1:this.minore.minor?1:this.patche.patch)}comparePre(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return -1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let i=this.prerelease[t],r=e.prerelease[t];if(n("prerelease compare",t,i,r),void 0===i&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===i)return -1;else if(i===r)continue;else return u(i,r)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{let i=this.build[t],r=e.build[t];if(n("build compare",t,i,r),void 0===i&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===i)return -1;else if(i===r)continue;else return u(i,r)}while(++t)}inc(e,t,i){if(e.startsWith("pre")){if(!t&&!1===i)throw Error("invalid increment argument: identifier is empty");if(t){let e=`-${t}`.match(this.options.loose?s[o.PRERELEASELOOSE]:s[o.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,i),this.inc("pre",t,i);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,i),this.inc("pre",t,i);break;case"release":if(0===this.prerelease.length)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{let e=+!!Number(i);if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===i)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===i&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=d},32938(e,t,i){"use strict";let n=i(53908);e.exports=(e,t)=>new n(e,t).major},30144(e,t,i){"use strict";let n=i(53908);e.exports=(e,t,i=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!i)return null;throw e}}},56953(e,t,i){"use strict";let n=i(30144);e.exports=(e,t)=>{let i=n(e,t);return i?i.version:null}},16874(e){"use strict";e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||0x1fffffffffffff,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},57272(e,t,i){"use strict";var n=i(65606);e.exports="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{}},61123(e){"use strict";let t=/^[0-9]+$/,i=(e,i)=>{if("number"==typeof e&&"number"==typeof i)return e===i?0:ei(t,e);e.exports={compareIdentifiers:i,rcompareIdentifiers:n}},98587(e){"use strict";let t=Object.freeze({loose:!0}),i=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:i},99718(e,t,i){"use strict";let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:a}=i(16874),s=i(57272),o=(t=e.exports={}).re=[],l=t.safeRe=[],u=t.src=[],d=t.safeSrc=[],c=t.t={},h=0,f="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",a],[f,r]],g=e=>{for(let[t,i]of m)e=e.split(`${t}*`).join(`${t}{0,${i}}`).split(`${t}+`).join(`${t}{1,${i}}`);return e},p=(e,t,i)=>{let n=g(t),r=h++;s(e,r,t),c[e]=r,u[r]=t,d[r]=n,o[r]=new RegExp(t,i?"g":void 0),l[r]=new RegExp(n,i?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),p("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${u[c.NONNUMERICIDENTIFIER]}|${u[c.NUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NONNUMERICIDENTIFIER]}|${u[c.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${f}+`),p("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),p("FULL",`^${u[c.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),p("LOOSE",`^${u[c.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),p("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),p("COERCE",`${u[c.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",u[c.COERCEPLAIN]+`(?:${u[c.PRERELEASE]})?`+`(?:${u[c.BUILD]})?`+"(?:$|[^\\d])"),p("COERCERTL",u[c.COERCE],!0),p("COERCERTLFULL",u[c.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},96897(e,t,i){"use strict";var n=i(70453),r=i(30041),a=i(30592)(),s=i(75795),o=i(69675),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new o("`fn` is not a function");if("number"!=typeof t||t<0||t>0xffffffff||l(t)!==t)throw new o("`length` must be a positive 32-bit integer");var i=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&s){var d=s(e,"length");d&&!d.configurable&&(n=!1),d&&!d.writable&&(u=!1)}return(n||u||!i)&&(a?r(e,"length",t,!0,!0):r(e,"length",t)),e}},90392(e,t,i){"use strict";var n=i(38188).Buffer,r=i(15377);function a(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}a.prototype.update=function(e,t){e=r(e,t||"utf8");for(var i=this._block,n=this._blockSize,a=e.length,s=this._len,o=0;o=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=0xffffffff)this._block.writeUInt32BE(i,this._blockSize-4);else{var n=i>>>0,r=(i-n)/0x100000000;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},a.prototype._update=function(){throw Error("_update must be implemented by subclass")},e.exports=a},62802(e,t,i){"use strict";e.exports=function(t){var i=t.toLowerCase(),n=e.exports[i];if(!n)throw Error(i+" is not supported (we accept pull requests)");return new n},e.exports.sha=i(27816),e.exports.sha1=i(63737),e.exports.sha224=i(26710),e.exports.sha256=i(24107),e.exports.sha384=i(32827),e.exports.sha512=i(82890)},38188(e,t,i){var n=i(48287),r=n.Buffer;function a(e,t){for(var i in e)t[i]=e[i]}function s(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),s.prototype=Object.create(r.prototype),a(r,s),s.from=function(e,t,i){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,i)},s.alloc=function(e,t,i){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},27816(e,t,i){"use strict";var n=i(56698),r=i(90392),a=i(38188).Buffer,s=[0x5a827999,0x6ed9eba1,-0x70e44324,-0x359d3e2a],o=Array(80);function l(){this.init(),this._w=o,r.call(this,64,56)}function u(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function c(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(l,r),l.prototype.init=function(){return this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0,this},l.prototype._update=function(e){for(var t=this._w,i=0|this._a,n=0|this._b,r=0|this._c,a=0|this._d,o=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=t[l-3]^t[l-8]^t[l-14]^t[l-16];for(var h=0;h<80;++h){var f=~~(h/20),m=u(i)+c(f,n,r,a)+o+t[h]+s[f]|0;o=a,a=r,r=d(n),n=i,i=m}this._a=i+this._a|0,this._b=n+this._b|0,this._c=r+this._c|0,this._d=a+this._d|0,this._e=o+this._e|0},l.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},63737(e,t,i){"use strict";var n=i(56698),r=i(90392),a=i(38188).Buffer,s=[0x5a827999,0x6ed9eba1,-0x70e44324,-0x359d3e2a],o=Array(80);function l(){this.init(),this._w=o,r.call(this,64,56)}function u(e){return e<<1|e>>>31}function d(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function h(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(l,r),l.prototype.init=function(){return this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0,this},l.prototype._update=function(e){for(var t=this._w,i=0|this._a,n=0|this._b,r=0|this._c,a=0|this._d,o=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=u(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var f=0;f<80;++f){var m=~~(f/20),g=d(i)+h(m,n,r,a)+o+t[f]+s[m]|0;o=a,a=r,r=c(n),n=i,i=g}this._a=i+this._a|0,this._b=n+this._b|0,this._c=r+this._c|0,this._d=a+this._d|0,this._e=o+this._e|0},l.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},26710(e,t,i){"use strict";var n=i(56698),r=i(24107),a=i(90392),s=i(38188).Buffer,o=Array(64);function l(){this.init(),this._w=o,a.call(this,64,56)}n(l,r),l.prototype.init=function(){return this._a=0xc1059ed8,this._b=0x367cd507,this._c=0x3070dd17,this._d=0xf70e5939,this._e=0xffc00b31,this._f=0x68581511,this._g=0x64f98fa7,this._h=0xbefa4fa4,this},l.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},24107(e,t,i){"use strict";var n=i(56698),r=i(90392),a=i(38188).Buffer,s=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],o=Array(64);function l(){this.init(),this._w=o,r.call(this,64,56)}function u(e,t,i){return i^e&(t^i)}function d(e,t,i){return e&t|i&(e|t)}function c(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function m(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}n(l,r),l.prototype.init=function(){return this._a=0x6a09e667,this._b=0xbb67ae85,this._c=0x3c6ef372,this._d=0xa54ff53a,this._e=0x510e527f,this._f=0x9b05688c,this._g=0x1f83d9ab,this._h=0x5be0cd19,this},l.prototype._update=function(e){for(var t=this._w,i=0|this._a,n=0|this._b,r=0|this._c,a=0|this._d,o=0|this._e,l=0|this._f,g=0|this._g,p=0|this._h,_=0;_<16;++_)t[_]=e.readInt32BE(4*_);for(;_<64;++_)t[_]=m(t[_-2])+t[_-7]+f(t[_-15])+t[_-16]|0;for(var b=0;b<64;++b){var y=p+h(o)+u(o,l,g)+s[b]+t[b]|0,F=c(i)+d(i,n,r)|0;p=g,g=l,l=o,o=a+y|0,a=r,r=n,n=i,i=y+F|0}this._a=i+this._a|0,this._b=n+this._b|0,this._c=r+this._c|0,this._d=a+this._d|0,this._e=o+this._e|0,this._f=l+this._f|0,this._g=g+this._g|0,this._h=p+this._h|0},l.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},32827(e,t,i){"use strict";var n=i(56698),r=i(82890),a=i(90392),s=i(38188).Buffer,o=Array(160);function l(){this.init(),this._w=o,a.call(this,128,112)}n(l,r),l.prototype.init=function(){return this._ah=0xcbbb9d5d,this._bh=0x629a292a,this._ch=0x9159015a,this._dh=0x152fecd8,this._eh=0x67332667,this._fh=0x8eb44a87,this._gh=0xdb0c2e0d,this._hh=0x47b5481d,this._al=0xc1059ed8,this._bl=0x367cd507,this._cl=0x3070dd17,this._dl=0xf70e5939,this._el=0xffc00b31,this._fl=0x68581511,this._gl=0x64f98fa7,this._hl=0xbefa4fa4,this},l.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,i,n){e.writeInt32BE(t,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},82890(e,t,i){"use strict";var n=i(56698),r=i(90392),a=i(38188).Buffer,s=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817],o=Array(160);function l(){this.init(),this._w=o,r.call(this,128,112)}function u(e,t,i){return i^e&(t^i)}function d(e,t,i){return e&t|i&(e|t)}function c(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function m(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function p(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function _(e,t){return+(e>>>0>>0)}n(l,r),l.prototype.init=function(){return this._ah=0x6a09e667,this._bh=0xbb67ae85,this._ch=0x3c6ef372,this._dh=0xa54ff53a,this._eh=0x510e527f,this._fh=0x9b05688c,this._gh=0x1f83d9ab,this._hh=0x5be0cd19,this._al=0xf3bcc908,this._bl=0x84caa73b,this._cl=0xfe94f82b,this._dl=0x5f1d36f1,this._el=0xade682d1,this._fl=0x2b3e6c1f,this._gl=0xfb41bd6b,this._hl=0x137e2179,this},l.prototype._update=function(e){for(var t=this._w,i=0|this._ah,n=0|this._bh,r=0|this._ch,a=0|this._dh,o=0|this._eh,l=0|this._fh,b=0|this._gh,y=0|this._hh,F=0|this._al,k=0|this._bl,w=0|this._cl,C=0|this._dl,A=0|this._el,E=0|this._fl,S=0|this._gl,x=0|this._hl,D=0;D<32;D+=2)t[D]=e.readInt32BE(4*D),t[D+1]=e.readInt32BE(4*D+4);for(;D<160;D+=2){var T=t[D-30],M=t[D-30+1],I=f(T,M),B=m(M,T),P=g(T=t[D-4],M=t[D-4+1]),N=p(M,T),R=t[D-14],j=t[D-14+1],O=t[D-32],z=t[D-32+1],q=B+j|0,W=I+R+_(q,B)|0;W=(W=W+P+_(q=q+N|0,N)|0)+O+_(q=q+z|0,z)|0,t[D]=W,t[D+1]=q}for(var V=0;V<160;V+=2){W=t[V],q=t[V+1];var H=d(i,n,r),$=d(F,k,w),G=c(i,F),X=c(F,i),K=h(o,A),Y=h(A,o),Q=s[V],Z=s[V+1],J=u(o,l,b),ee=u(A,E,S),et=x+Y|0,ei=y+K+_(et,x)|0;ei=(ei=(ei=ei+J+_(et=et+ee|0,ee)|0)+Q+_(et=et+Z|0,Z)|0)+W+_(et=et+q|0,q)|0;var en=X+$|0,er=G+H+_(en,X)|0;y=b,x=S,b=l,S=E,l=o,E=A,o=a+ei+_(A=C+et|0,C)|0,a=r,C=w,r=n,w=k,n=i,k=F,i=ei+er+_(F=et+en|0,et)|0}this._al=this._al+F|0,this._bl=this._bl+k|0,this._cl=this._cl+w|0,this._dl=this._dl+C|0,this._el=this._el+A|0,this._fl=this._fl+E|0,this._gl=this._gl+S|0,this._hl=this._hl+x|0,this._ah=this._ah+i+_(this._al,F)|0,this._bh=this._bh+n+_(this._bl,k)|0,this._ch=this._ch+r+_(this._cl,w)|0,this._dh=this._dh+a+_(this._dl,C)|0,this._eh=this._eh+o+_(this._el,A)|0,this._fh=this._fh+l+_(this._fl,E)|0,this._gh=this._gh+b+_(this._gl,S)|0,this._hh=this._hh+y+_(this._hl,x)|0},l.prototype._hash=function(){var e=a.allocUnsafe(64);function t(t,i,n){e.writeInt32BE(t,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},88310(e,t,i){e.exports=r;var n=i(37007).EventEmitter;function r(){n.call(this)}i(56698)(r,n),r.Readable=i(45412),r.Writable=i(16708),r.Duplex=i(25382),r.Transform=i(74610),r.PassThrough=i(63600),r.finished=i(86238),r.pipeline=i(57758),r.Stream=r,r.prototype.pipe=function(e,t){var i=this;function r(t){e.writable&&!1===e.write(t)&&i.pause&&i.pause()}function a(){i.readable&&i.resume&&i.resume()}i.on("data",r),e.on("drain",a),e._isStdio||t&&!1===t.end||(i.on("end",o),i.on("close",l));var s=!1;function o(){s||(s=!0,e.end())}function l(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(d(),0===n.listenerCount(this,"error"))throw e}function d(){i.removeListener("data",r),e.removeListener("drain",a),i.removeListener("end",o),i.removeListener("close",l),i.removeListener("error",u),e.removeListener("error",u),i.removeListener("end",d),i.removeListener("close",d),e.removeListener("close",d)}return i.on("error",u),e.on("error",u),i.on("end",d),i.on("close",d),e.on("close",d),e.emit("pipe",i),e}},83141(e,t,i){"use strict";var n=i(15003).Buffer,r=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function s(e){var t=a(e);if("string"!=typeof t&&(n.isEncoding===r||!r(e)))throw Error("Unknown encoding: "+e);return t||e}function o(e){var t;switch(this.encoding=s(e),this.encoding){case"utf16le":this.text=m,this.end=g,t=4;break;case"utf8":this.fillLast=c,t=4;break;case"base64":this.text=p,this.end=_,t=3;break;default:this.write=b,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function u(e,t,i){var n=t.length-1;if(n=0?(r>0&&(e.lastNeed=r-1),r):--n=0?(r>0&&(e.lastNeed=r-2),r):--n=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}function d(e,t,i){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function c(e){var t=this.lastTotal-this.lastNeed,i=d(this,e,t);return void 0!==i?i:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function h(e,t){var i=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var n=e.length-(i-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function m(e,t){if((e.length-t)%2==0){var i=e.toString("utf16le",t);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function g(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,i)}return t}function p(e,t){var i=(e.length-t)%3;return 0===i?e.toString("base64",t):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-i))}function _(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function b(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){var t,i;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i/g,o=/<\/?([^\s\/>]+)/;function l(e,t,i){return d(e=e||"",u(t=t||[],i=i||""))}function u(e,t){return{allowable_tags:e=c(e),tag_replacement:t,state:n,tag_buffer:"",depth:0,in_quote_char:""}}function d(e,t){if("string"!=typeof e)throw TypeError("'html' parameter must be a string");let i=t.allowable_tags,s=t.tag_replacement,o=t.state,l=t.tag_buffer,u=t.depth,d=t.in_quote_char,c="";for(let t=0,f=e.length;t":if(d)break;if(u){u--;break}d="",o=n,l+=">",i.has(h(l))?c+=l:c+=s,l="";break;case'"':case"'":d=f===d?"":d||f,l+=f;break;case"-":""===f?("--"==l.slice(-2)&&(o=n),l=""):l+=f)}return t.state=o,t.tag_buffer=l,t.depth=u,t.in_quote_char=d,c}function c(e){let t=new Set;if("string"==typeof e){let i;for(;i=s.exec(e);)t.add(i[1])}else i.nonNative||"function"!=typeof e[i.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}function h(e){let t=o.exec(e);return t?t[1].toLowerCase():null}l.init_streaming_mode=function(e,t){let i=u(e=e||[],t=t||"");return function(e){return d(e||"",i)}},"function"==typeof define&&define.amd?define(function(){return l}):e.exports?e.exports=l:t.striptags=l}(this)},35229(e,t,i){"use strict";var n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(i(51133)),r=i(98917);function a(e,t){var i={};return e&&"string"==typeof e&&(0,n.default)(e,function(e,n){e&&n&&(i[(0,r.camelCase)(e,t)]=n)}),i}a.default=a,e.exports=a},98917(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var i=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(e){return!e||r.test(e)||i.test(e)},l=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return(void 0===t&&(t={}),o(e))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,u):e.replace(a,u)).replace(n,l))}},51133(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(i(19788));function a(e,t){var i=null;if(!e||"string"!=typeof e)return i;var n=(0,r.default)(e),a="function"==typeof t;return n.forEach(function(e){if("declaration"===e.type){var n=e.property,r=e.value;a?t(n,r,e):r&&((i=i||{})[n]=r)}}),i}},49054(e,t,i){"use strict";i.d(t,{AO:()=>P,Kr:()=>I,nq:()=>B,tp:()=>R,yT:()=>f});var n=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],r=n.join(","),a="u"typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=y(t,e.form);return!r||r===e},k=function(e){return p(e)&&"radio"===e.type},w=function(e){return k(e)&&!F(e)},C=function(e){var t,i,n,r,a,s,l,u=e&&o(e),d=null==(t=u)?void 0:t.host,c=!1;if(u&&u!==e)for(c=!!(null!=(i=d)&&null!=(n=i.ownerDocument)&&n.contains(d)||null!=e&&null!=(r=e.ownerDocument)&&r.contains(e));!c&&d;)c=!!(null!=(s=d=null==(a=u=o(d))?void 0:a.host)&&null!=(l=s.ownerDocument)&&l.contains(d));return c},A=function(e){var t=e.getBoundingClientRect(),i=t.width,n=t.height;return 0===i&&0===n},E=function(e,t){var i=t.displayCheck,n=t.getShadowRoot;if("full-native"===i&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var r=s.call(e,"details>summary:first-of-type")?e.parentElement:e;if(s.call(r,"details:not([open]) *"))return!0;if(i&&"full"!==i&&"full-native"!==i&&"legacy-full"!==i){if("non-zero-area"===i)return A(e)}else{if("function"==typeof n){for(var a=e;e;){var l=e.parentElement,u=o(e);if(l&&!l.shadowRoot&&!0===n(l))return A(e);e=e.assignedSlot?e.assignedSlot:l||u===e.ownerDocument?l:u.host}e=a}if(C(e))return!e.getClientRects().length;if("legacy-full"!==i)return!0}return!1},S=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var i=0;if(t))&&!!x(e,t)},T=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},M=function(e){var t=[],i=[];return e.forEach(function(e,n){var r=!!e.scopeParent,a=r?e.scopeParent:e,s=m(a,r),o=r?M(e.candidates):a;0===s?r?t.push.apply(t,o):t.push(a):i.push({documentOrder:n,tabIndex:s,item:e,isScope:r,content:o})}),i.sort(g).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},I=function(e,t){var i;return M(i=(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:D.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:T}):d(e,t.includeContainer,D.bind(null,t)))},B=function(e,t){var i;return(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:x.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):d(e,t.includeContainer,x.bind(null,t))},P=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==s.call(e,r)&&D(t,e)},N=n.concat("iframe:not([inert]):not([inert] *)").join(","),R=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==s.call(e,N)&&x(t,e)}},15377(e,t,i){"use strict";var n=i(30945).Buffer,r=i(92006),a=i(74372),s=ArrayBuffer.isView||function(e){try{return a(e),!0}catch(e){return!1}},o="u">typeof Uint8Array,l="u">typeof ArrayBuffer&&"u">typeof Uint8Array,u=l&&(n.prototype instanceof Uint8Array||n.TYPED_ARRAY_SUPPORT);e.exports=function(e,t){if(e instanceof n)return e;if("string"==typeof e)return n.from(e,t);if(l&&s(e)){if(0===e.byteLength)return n.alloc(0);if(u){var i=n.from(e.buffer,e.byteOffset,e.byteLength);if(i.byteLength===e.byteLength)return i}var a=e instanceof Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength),d=n.from(a);if(d.length===e.byteLength)return d}if(o&&e instanceof Uint8Array)return n.from(e);var c=r(e);if(c)for(var h=0;h255||~~f!==f)throw RangeError("Array items must be numbers in the range 0-255.")}if(c||n.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return n.from(e);throw TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},92006(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},30945(e,t,i){var n=i(48287),r=n.Buffer;function a(e,t){for(var i in e)t[i]=e[i]}function s(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),s.prototype=Object.create(r.prototype),a(r,s),s.from=function(e,t,i){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,i)},s.alloc=function(e,t,i){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=r(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},7736(e){!function(t,i){e.exports?e.exports=i():t.Toastify=i()}(this,function(e){var t=function(e){return new t.lib.init(e)},i="1.12.0";function n(e,t){if(t.offset[e])if(isNaN(t.offset[e]))return t.offset[e];else return t.offset[e]+"px";return"0px"}function r(e,t){return!!e&&"string"==typeof t&&!!(e.className&&e.className.trim().split(/\s+/gi).indexOf(t)>-1)}return t.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},t.lib=t.prototype={toastify:i,constructor:t,init:function(e){return e||(e={}),this.options={},this.toastElement=null,this.options.text=e.text||t.defaults.text,this.options.node=e.node||t.defaults.node,this.options.duration=0===e.duration?0:e.duration||t.defaults.duration,this.options.selector=e.selector||t.defaults.selector,this.options.callback=e.callback||t.defaults.callback,this.options.destination=e.destination||t.defaults.destination,this.options.newWindow=e.newWindow||t.defaults.newWindow,this.options.close=e.close||t.defaults.close,this.options.gravity="bottom"===e.gravity?"toastify-bottom":t.defaults.gravity,this.options.positionLeft=e.positionLeft||t.defaults.positionLeft,this.options.position=e.position||t.defaults.position,this.options.backgroundColor=e.backgroundColor||t.defaults.backgroundColor,this.options.avatar=e.avatar||t.defaults.avatar,this.options.className=e.className||t.defaults.className,this.options.stopOnFocus=void 0===e.stopOnFocus?t.defaults.stopOnFocus:e.stopOnFocus,this.options.onClick=e.onClick||t.defaults.onClick,this.options.offset=e.offset||t.defaults.offset,this.options.escapeMarkup=void 0!==e.escapeMarkup?e.escapeMarkup:t.defaults.escapeMarkup,this.options.ariaLive=e.ariaLive||t.defaults.ariaLive,this.options.style=e.style||t.defaults.style,e.backgroundColor&&(this.options.style.background=e.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var e=document.createElement("div");for(var t in e.className="toastify on "+this.options.className,this.options.position?e.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(e.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):e.className+=" toastify-right",e.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.'),this.options.style)e.style[t]=this.options.style[t];if(this.options.ariaLive&&e.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)e.appendChild(this.options.node);else if(this.options.escapeMarkup?e.innerText=this.options.text:e.innerHTML=this.options.text,""!==this.options.avatar){var i=document.createElement("img");i.src=this.options.avatar,i.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?e.appendChild(i):e.insertAdjacentElement("afterbegin",i)}if(!0===this.options.close){var r=document.createElement("button");r.type="button",r.setAttribute("aria-label","Close"),r.className="toast-close",r.innerHTML="✖",r.addEventListener("click",(function(e){e.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}).bind(this));var a=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&a>360?e.insertAdjacentElement("afterbegin",r):e.appendChild(r)}if(this.options.stopOnFocus&&this.options.duration>0){var s=this;e.addEventListener("mouseover",function(t){window.clearTimeout(e.timeOutValue)}),e.addEventListener("mouseleave",function(){e.timeOutValue=window.setTimeout(function(){s.removeElement(e)},s.options.duration)})}if(void 0!==this.options.destination&&e.addEventListener("click",(function(e){e.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}).bind(this)),"function"==typeof this.options.onClick&&void 0===this.options.destination&&e.addEventListener("click",(function(e){e.stopPropagation(),this.options.onClick()}).bind(this)),"object"==typeof this.options.offset){var o=n("x",this.options),l=n("y",this.options),u="left"==this.options.position?o:"-"+o,d="toastify-top"==this.options.gravity?l:"-"+l;e.style.transform="translate("+u+","+d+")"}return e},showToast:function(){if(this.toastElement=this.buildToast(),!(e="string"==typeof this.options.selector?document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||"u">typeof ShadowRoot&&this.options.selector instanceof ShadowRoot?this.options.selector:document.body))throw"Root element is not defined";var e,i=t.defaults.oldestFirst?e.firstChild:e.lastChild;return e.insertBefore(this.toastElement,i),t.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout((function(){this.removeElement(this.toastElement)}).bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(e){e.className=e.className.replace(" on",""),window.setTimeout((function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),e.parentNode&&e.parentNode.removeChild(e),this.options.callback.call(e),t.reposition()}).bind(this),400)}},t.reposition=function(){for(var e,t={top:15,bottom:15},i={top:15,bottom:15},n={top:15,bottom:15},a=document.getElementsByClassName("toastify"),s=0;s0?window.innerWidth:screen.width)<=360?(a[s].style[e]=n[e]+"px",n[e]+=o+l):!0===r(a[s],"toastify-left")?(a[s].style[e]=t[e]+"px",t[e]+=o+l):(a[s].style[e]=i[e]+"px",i[e]+=o+l)}return this},t.lib.init.prototype=t.lib,t})},74372(e,t,i){"use strict";var n=i(69675),r=i(36556)("TypedArray.prototype.buffer",!0),a=i(35680);e.exports=r||function(e){if(!a(e))throw new n("Not a Typed Array");return e.buffer}},94643(e,t,i){function n(e){try{if(!i.g.localStorage)return!1}catch(e){return!1}var t=i.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function e(e,t){if(n("noDeprecation"))return e;var i=!1;return function(){if(!i){if(n("throwDeprecation"))throw Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),i=!0}return e.apply(this,arguments)}}},81135(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},49032(e,t,i){"use strict";var n=i(47244),r=i(48184),a=i(25767),s=i(35680);function o(e){return e.call.bind(e)}var l="u">typeof BigInt,u="u">typeof Symbol,d=o(Object.prototype.toString),c=o(Number.prototype.valueOf),h=o(String.prototype.valueOf),f=o(Boolean.prototype.valueOf);if(l)var m=o(BigInt.prototype.valueOf);if(u)var g=o(Symbol.prototype.valueOf);function p(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function _(e){return"[object Map]"===d(e)}function b(e){return"[object Set]"===d(e)}function y(e){return"[object WeakMap]"===d(e)}function F(e){return"[object WeakSet]"===d(e)}function k(e){return"[object ArrayBuffer]"===d(e)}function w(e){return!("u"typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):s(e)||A(e)},t.isUint8Array=function(e){return"Uint8Array"===a(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===a(e)},t.isUint16Array=function(e){return"Uint16Array"===a(e)},t.isUint32Array=function(e){return"Uint32Array"===a(e)},t.isInt8Array=function(e){return"Int8Array"===a(e)},t.isInt16Array=function(e){return"Int16Array"===a(e)},t.isInt32Array=function(e){return"Int32Array"===a(e)},t.isFloat32Array=function(e){return"Float32Array"===a(e)},t.isFloat64Array=function(e){return"Float64Array"===a(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===a(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===a(e)},_.working="u">typeof Map&&_(new Map),t.isMap=function(e){return!("u"typeof Set&&b(new Set),t.isSet=function(e){return!("u"typeof WeakMap&&y(new WeakMap),t.isWeakMap=function(e){return!("u"typeof WeakSet&&F(new WeakSet),t.isWeakSet=function(e){return F(e)},k.working="u">typeof ArrayBuffer&&k(new ArrayBuffer),t.isArrayBuffer=w,C.working="u">typeof ArrayBuffer&&"u">typeof DataView&&C(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=A;var E="u">typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function S(e){return"[object SharedArrayBuffer]"===d(e)}function x(e){return void 0!==E&&(void 0===S.working&&(S.working=S(new E)),S.working?S(e):e instanceof E)}function D(e){return p(e,c)}function T(e){return p(e,h)}function M(e){return p(e,f)}function I(e){return l&&p(e,m)}function B(e){return u&&p(e,g)}t.isSharedArrayBuffer=x,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===d(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===d(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===d(e)},t.isGeneratorObject=function(e){return"[object Generator]"===d(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===d(e)},t.isNumberObject=D,t.isStringObject=T,t.isBooleanObject=M,t.isBigIntObject=I,t.isSymbolObject=B,t.isBoxedPrimitive=function(e){return D(e)||T(e)||M(e)||I(e)||B(e)},t.isAnyArrayBuffer=function(e){return"u">typeof Uint8Array&&(w(e)||x(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},40537(e,t,i){var n=i(65606),r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),i={},n=0;n=r)return e;switch(e){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(e){return"[Circular]"}default:return e}}),o=n[i];i=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),F(i)?n.showHidden=i:i&&t._extend(n,i),A(n.showHidden)&&(n.showHidden=!1),A(n.depth)&&(n.depth=2),A(n.colors)&&(n.colors=!1),A(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=d),f(n,e,n.depth)}function d(e,t){var i=u.styles[t];return i?"\x1b["+u.colors[i][0]+"m"+e+"\x1b["+u.colors[i][1]+"m":e}function c(e,t){return e}function h(e){var t={};return e.forEach(function(e,i){t[e]=!0}),t}function f(e,i,n){if(e.customInspect&&i&&T(i.inspect)&&i.inspect!==t.inspect&&!(i.constructor&&i.constructor.prototype===i)){var r,a=i.inspect(n,e);return C(a)||(a=f(e,a,n)),a}var s=m(e,i);if(s)return s;var o=Object.keys(i),l=h(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(i)),D(i)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return g(i);if(0===o.length){if(T(i)){var u=i.name?": "+i.name:"";return e.stylize("[Function"+u+"]","special")}if(E(i))return e.stylize(RegExp.prototype.toString.call(i),"regexp");if(x(i))return e.stylize(Date.prototype.toString.call(i),"date");if(D(i))return g(i)}var d="",c=!1,F=["{","}"];if(y(i)&&(c=!0,F=["[","]"]),T(i)&&(d=" [Function"+(i.name?": "+i.name:"")+"]"),E(i)&&(d=" "+RegExp.prototype.toString.call(i)),x(i)&&(d=" "+Date.prototype.toUTCString.call(i)),D(i)&&(d=" "+g(i)),0===o.length&&(!c||0==i.length))return F[0]+d+F[1];if(n<0)if(E(i))return e.stylize(RegExp.prototype.toString.call(i),"regexp");else return e.stylize("[Object]","special");return e.seen.push(i),r=c?p(e,i,n,l,o):o.map(function(t){return _(e,i,n,l,t,c)}),e.seen.pop(),b(r,d,F)}function m(e,t){if(A(t))return e.stylize("undefined","undefined");if(C(t)){var i="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(i,"string")}return w(t)?e.stylize(""+t,"number"):F(t)?e.stylize(""+t,"boolean"):k(t)?e.stylize("null","null"):void 0}function g(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,i,n,r){for(var a=[],s=0,o=t.length;se.seen.indexOf(l.value)?(o=k(i)?f(e,l.value,null):f(e,l.value,i-1)).indexOf("\n")>-1&&(o=a?o.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+o.split("\n").map(function(e){return" "+e}).join("\n")):o=e.stylize("[Circular]","special")),A(s)){if(a&&r.match(/^\d+$/))return o;(s=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+o}function b(e,t,i){var n=0;return e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?i[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+i[1]:i[0]+t+" "+e.join(", ")+" "+i[1]}function y(e){return Array.isArray(e)}function F(e){return"boolean"==typeof e}function k(e){return null===e}function w(e){return"number"==typeof e}function C(e){return"string"==typeof e}function A(e){return void 0===e}function E(e){return S(e)&&"[object RegExp]"===M(e)}function S(e){return"object"==typeof e&&null!==e}function x(e){return S(e)&&"[object Date]"===M(e)}function D(e){return S(e)&&("[object Error]"===M(e)||e instanceof Error)}function T(e){return"function"==typeof e}function M(e){return Object.prototype.toString.call(e)}function I(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!s[e=e.toUpperCase()])if(o.test(e)){var i=n.pid;s[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,i,n)}}else s[e]=function(){};return s[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=i(49032),t.isArray=y,t.isBoolean=F,t.isNull=k,t.isNullOrUndefined=function(e){return null==e},t.isNumber=w,t.isString=C,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=A,t.isRegExp=E,t.types.isRegExp=E,t.isObject=S,t.isDate=x,t.types.isDate=x,t.isError=D,t.types.isNativeError=D,t.isFunction=T,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=i(81135);var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var e=new Date,t=[I(e.getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":");return[e.getDate(),B[e.getMonth()],t].join(" ")}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",P(),t.format.apply(t,arguments))},t.inherits=i(56698),t._extend=function(e,t){if(!t||!S(t))return e;for(var i=Object.keys(t),n=i.length;n--;)e[i[n]]=t[i[n]];return e};var R="u">typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var i=Error("Promise was rejected with a falsy value");i.reason=e,e=i}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t=e[R];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,i,n=new Promise(function(e,n){t=e,i=n}),r=[],a=0;a{let i=e.__vccOpts||e;for(let[e,n]of t)i[e]=n;return i}},8756(e,t,i){"use strict";i.d(t,{$9:()=>n.useCssVars,$V:()=>n.defineAsyncComponent,$y:()=>n.resolveDynamicComponent,BA:()=>n.toValue,Bi:()=>n.useId,C4:()=>n.normalizeClass,CE:()=>n.createElementBlock,D:()=>n.useCssModule,D$:()=>n.withModifiers,E3:()=>n.cloneVNode,EW:()=>n.computed,EY:()=>n.Text,Ef:()=>n.createApp,F:()=>n.TransitionGroup,FK:()=>n.Fragment,Gc:()=>n.shallowReactive,Gt:()=>n.provide,Ht:()=>n.useSlots,IG:()=>n.markRaw,IJ:()=>n.shallowRef,Ic:()=>n.onBeforeUpdate,Im:()=>n.Teleport,Jo:()=>n.vModelText,KC:()=>n.onBeforeMount,KR:()=>n.ref,Kh:()=>n.reactive,Lk:()=>n.createElementVNode,Mw:()=>n.Comment,Ng:()=>n.guardReactiveProps,OA:()=>n.useAttrs,PS:()=>n.hasInjectionContext,Q3:()=>n.createCommentVNode,QW:()=>n.toRefs,Qi:()=>n.pushScopeId,R1:()=>n.unref,R8:()=>n.warn,RG:()=>n.renderSlot,Tb:()=>n.toHandlers,Tr:()=>n.normalizeStyle,WQ:()=>n.inject,Wv:()=>n.createBlock,XX:()=>n.render,YY:()=>n.withScopeId,_B:()=>n.normalizeProps,aG:()=>n.vShow,bF:()=>n.createVNode,bo:()=>n.withDirectives,dY:()=>n.nextTick,eB:()=>n.Transition,eW:()=>n.createTextVNode,eX:()=>n.createSlots,fn:()=>n.useModel,g2:()=>n.resolveComponent,g8:()=>n.isReactive,gN:()=>n.resolveDirective,h:()=>n.h,hi:()=>n.onUnmounted,i9:()=>n.isRef,jR:()=>n.withKeys,jr:()=>n.onScopeDispose,jt:()=>n.popScopeId,k6:()=>n.withCtx,lH:()=>n.vModelCheckbox,lW:()=>n.toRef,nD:()=>n.shallowReadonly,nI:()=>n.getCurrentInstance,nT:()=>n.watchEffect,o5:()=>n.getCurrentScope,pI:()=>n.renderList,pM:()=>n.defineComponent,rY:()=>n.customRef,rk:()=>n.useTemplateRef,sV:()=>n.onMounted,tB:()=>n.readonly,uX:()=>n.openBlock,uY:()=>n.effectScope,ux:()=>n.toRaw,v6:()=>n.mergeProps,v_:()=>n.toDisplayString,wB:()=>n.watch,xo:()=>n.onBeforeUnmount,zz:()=>n.mergeModels});var n=i(3402)},8950(e){"use strict";function t(e,t){if(!n)return!1;let r=e.buffer,a=c.get(r);if(null==a){if((a=i.validate(r))&&t)try{new i.Instance(new i.Module(r)).exports[0]()}catch(e){a=!1}c.set(r,a)}return a}let i=this.WebAssembly||globalThis.WebAssembly,n="object"==typeof i,r=e=>void 0!==e,a=(...e)=>Uint8Array.of(0,97,115,109,1,0,0,0,...e),s=(...e)=>Uint32Array.of(0x6d736100,1,...e),o=(...e)=>s(0x60010401,0x2030000,...e,0x2660100,259),l=(...e)=>a(1,4,1,96,0,0,3,2,1,0,...e,11,0,10,4,110,97,109,101,2,3,1,0,0),u=(...e)=>Uint16Array.of(24832,28019,1,0,1025,24577,0,515,1,...e),d=(...e)=>u(...e,2842,4096,28164,28001,357,260,256,560,259,0),c=new WeakMap,h=s(0x60010501,0x37e0100,0x7000102,0x30010105,0x60a0000,0x42000401,0x10000b00,0x6d616e04,0x1040165,0x2300100,259),f=a(5,3,1,4,1,0,8,4,110,97,109,101,2,1,0),m=u(773,1,2561,269,11,65,65,65,3068,2816,2560,28164,28001,613,259,0),g=s(0x60010401,0x2030000,0x80a0001,0x6000601,0xb0b1940),p=a(2,8,1,1,97,1,98,3,127,1,6,6,1,127,1,65,0,11,7,5,1,1,97,3,1,0,8,4,110,97,109,101,2,1,0),_=Uint16Array.of(24832,28019,1,0,1537,24577,512,32639,515,1,2058,1537,16640,16640,2816,2560,28164,28001,613,259,0),b=d(3082,2561,17152,0,0,252),y=d(2058,1537,16640,49152),F=o(0x60a0001,0x12000401,0x10000b00,0x6d616e04,0x1040165),k=l(5,4,1,3,1,1,10,7,1,5,0,254,3,0),w=o(0x5070001,6357249,0x1090a00,4259847,0xb1a11fd,0x6e040a00),C=l(10,7,1,5,0,208,112,26);e.exports={support:(e=1)=>n&&t(Uint32Array.of(0x6d736100,e)),get supportStreaming(){return n&&r(i.instantiateStreaming)},feature:{get bigInt(){return t(h,!0)},get bulk(){return t(m)},get exceptions(){return t(g)},get memory64(){return t(f)},get mutableGlobal(){return t(p)},get multiValue(){return t(_)},get saturateConversions(){return t(b)},get signExtensions(){return t(y)},get tailCall(){return t(F)},get threads(){return t(k)},get simd(){return t(w)},get references(){return t(C)},get typeReflection(){return n&&r(i.Memory.type)},get funcReferences(){return n&&r(i.Function)}}}},88158(e){window.mozRTCPeerConnection||navigator.mozGetUserMedia?(t="moz",i=parseInt(navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1],10)):(window.webkitRTCPeerConnection||navigator.webkitGetUserMedia)&&(t="webkit",i=navigator.userAgent.match(/Chrom(e|ium)/)&&parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2],10));var t,i,n=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,r=window.mozRTCIceCandidate||window.RTCIceCandidate,a=window.mozRTCSessionDescription||window.RTCSessionDescription,s=window.webkitMediaStream||window.MediaStream,o="https:"===window.location.protocol&&("webkit"===t&&i>=26||"moz"===t&&i>=33),l=window.AudioContext||window.webkitAudioContext,u=document.createElement("video"),d=u&&u.canPlayType&&"probably"===u.canPlayType('video/webm; codecs="vp8", vorbis'),c=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.msGetUserMedia||navigator.mozGetUserMedia;e.exports={prefix:t,browserVersion:i,support:!!n&&!!c,supportRTCPeerConnection:!!n,supportVp8:d,supportGetUserMedia:!!c,supportDataChannel:!!(n&&n.prototype&&n.prototype.createDataChannel),supportWebAudio:!!(l&&l.prototype.createMediaStreamSource),supportMediaStream:!!(s&&s.prototype.removeTrack),supportScreenSharing:!!o,AudioContext:l,PeerConnection:n,SessionDescription:a,IceCandidate:r,MediaStream:s,getUserMedia:c}},63964(e){function t(e,t,i){e.addEventListener("wheel",t,i)}function i(e,t,i){e.removeEventListener("wheel",t,i)}e.exports=t,e.exports.addWheelListener=t,e.exports.removeWheelListener=i},25767(e,t,i){"use strict";var n=i(82682),r=i(39209),a=i(10487),s=i(36556),o=i(75795),l=i(93628),u=s("Object.prototype.toString"),d=i(49092)(),c="u"-1?t:"Object"===t&&_(e)}return o?p(e):null}},88499(e){function t(){}e.exports=t,t.mixin=function(e){var t=e.prototype||e;t.isWildEmitter=!0,t.on=function(e,t,i){this.callbacks=this.callbacks||{};var n=3==arguments.length,r=n?arguments[1]:void 0,a=n?arguments[2]:arguments[1];return a._groupName=r,(this.callbacks[e]=this.callbacks[e]||[]).push(a),this},t.once=function(e,t,i){var n=this,r=3==arguments.length,a=r?arguments[1]:void 0,s=r?arguments[2]:arguments[1];function o(){n.off(e,o),s.apply(this,arguments)}return this.on(e,a,o),this},t.releaseGroup=function(e){var t,i,n,r;for(t in this.callbacks=this.callbacks||{},this.callbacks)for(i=0,n=(r=this.callbacks[t]).length;i{i=!0};this.addEventListener("addtrack",n),t.apply(this,arguments),this.removeEventListener("addtrack",n),i||this.dispatchEvent(new MediaStreamTrackEvent("addtrack",{track:e}))};let i=window.MediaStream.prototype.removeTrack;window.MediaStream.prototype.removeTrack=function(e){let t=!1,n=()=>{t=!0};this.addEventListener("removetrack",n),i.apply(this,arguments),this.removeEventListener("removetrack",n),t||this.dispatchEvent(new MediaStreamTrackEvent("removetrack",{track:e}))};let n=window.MediaStream.prototype.dispatchEvent,r=window.MediaStream.prototype.addEventListener,a=window.MediaStream.prototype.removeEventListener;window.MediaStream.prototype.dispatchEvent=function(e){return this._listeners&&this._listeners[e.type]&&this._listeners[e.type].forEach(t=>{t.apply(this,[e])}),n.apply(this,arguments)},window.MediaStream.prototype.addEventListener=function(t,i){if(void 0===e){e=!1;let t=()=>{e=!0};r.apply(this,["test-dispatch-event-support",t]),n.apply(this,[new Event("test-dispatch-event-support")]),a(this,["test-dispatch-event-support",t]),console.debug("Is MediaStream.dispatchEvent() supported?: ",e)}return!e&&(this._listeners||(this._listeners=[]),Object.hasOwn(this._listeners,t)?this._listeners[t].includes(i)||this._listeners[t].push(i):this._listeners[t]=[i]),r.apply(this,arguments)},window.MediaStream.prototype.removeEventListener=function(e,t){if(this._listeners&&this._listeners[e]){let i=this._listeners[e].indexOf(t);i>=0&&this._listeners[e].splice(i,1)}return a.apply(this,arguments)}}},16988(){if(window.MediaStreamTrack){let e,t=window.MediaStreamTrack.prototype.clone;window.MediaStreamTrack.prototype.clone=function(){let e=t.apply(this,arguments);return this.dispatchEvent(new CustomEvent("cloned",{detail:e})),e};let i=window.MediaStreamTrack.prototype.stop;window.MediaStreamTrack.prototype.stop=function(){let e="ended"===this.readyState;i.apply(this,arguments),e||this.dispatchEvent(new Event("ended"))};let n=window.MediaStreamTrack.prototype.dispatchEvent,r=window.MediaStreamTrack.prototype.addEventListener,a=window.MediaStreamTrack.prototype.removeEventListener;window.MediaStreamTrack.prototype.dispatchEvent=function(e){return this._listeners&&this._listeners[e.type]&&this._listeners[e.type].forEach(t=>{t.apply(this,[e])}),n.apply(this,arguments)},window.MediaStreamTrack.prototype.addEventListener=function(t,i){if(void 0===e){e=!1;let t=()=>{e=!0};r.apply(this,["test-dispatch-event-support",t]),n.apply(this,[new Event("test-dispatch-event-support")]),a(this,["test-dispatch-event-support",t]),console.debug("Is MediaStreamTrack.dispatchEvent() supported?: ",e)}return!e&&(this._listeners||(this._listeners=[]),Object.hasOwn(this._listeners,t)?this._listeners[t].includes(i)||this._listeners[t].push(i):this._listeners[t]=[i]),r.apply(this,arguments)},window.MediaStreamTrack.prototype.removeEventListener=function(e,t){if(this._listeners&&this._listeners[e]){let i=this._listeners[e].indexOf(t);i>=0&&this._listeners[e].splice(i,1)}return a.apply(this,arguments)}}},98084(e,t,i){"use strict";e.exports=i.p+"vision_wasm_internal.js?v=9697be9439bd3af4"},40133(e,t,i){"use strict";e.exports=i.p+"vision_wasm_internal.wasm?v=1da0f59cd45d8f67"},76939(e,t,i){"use strict";e.exports=i.p+"vision_wasm_nosimd_internal.js?v=01d60f038a78da47"},48014(e,t,i){"use strict";e.exports=i.p+"vision_wasm_nosimd_internal.wasm?v=99f3f63689d65c73"},51348(e,t,i){"use strict";e.exports=i.p+"selfie_segmenter.tflite?v=0505c33813c9f39a"},24972(){},84709(){},10605(){},1143(){},37717(){},99623(){},15950(){},12298(){},56746(){},79667(){},19035(){},80030(){},57047(){},82285(){},39209(e,t,i){"use strict";var n=i(76578),r="u"g,ER:()=>p,Ej:()=>_,RK:()=>u,UE:()=>o,UU:()=>d,cY:()=>m,rD:()=>s});var n=i(97193);function r(e,t,i){let r,{reference:a,floating:s}=e,o=(0,n.TV)(t),l=(0,n.Dz)(t),u=(0,n.sq)(l),d=(0,n.C0)(t),c="y"===o,h=a.x+a.width/2-s.width/2,f=a.y+a.height/2-s.height/2,m=a[u]/2-s[u]/2;switch(d){case"top":r={x:h,y:a.y-s.height};break;case"bottom":r={x:h,y:a.y+a.height};break;case"right":r={x:a.x+a.width,y:f};break;case"left":r={x:a.x-s.width,y:f};break;default:r={x:a.x,y:a.y}}switch((0,n.Sg)(t)){case"start":r[l]-=m*(i&&c?-1:1);break;case"end":r[l]+=m*(i&&c?-1:1)}return r}async function a(e,t){var i;void 0===t&&(t={});let{x:r,y:a,platform:s,rects:o,elements:l,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:f=!1,padding:m=0}=(0,n._3)(t,e),g=(0,n.nI)(m),p="floating"===h?"reference":"floating",_=l[f?p:h],b=(0,n.B1)(await s.getClippingRect({element:null==(i=await (null==s.isElement?void 0:s.isElement(_)))||i?_:_.contextElement||await (null==s.getDocumentElement?void 0:s.getDocumentElement(l.floating)),boundary:d,rootBoundary:c,strategy:u})),y="floating"===h?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,F=await (null==s.getOffsetParent?void 0:s.getOffsetParent(l.floating)),k=await (null==s.isElement?void 0:s.isElement(F))&&await (null==s.getScale?void 0:s.getScale(F))||{x:1,y:1},w=(0,n.B1)(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:F,strategy:u}):y);return{top:(b.top-w.top+g.top)/k.y,bottom:(w.bottom-b.bottom+g.bottom)/k.y,left:(b.left-w.left+g.left)/k.x,right:(w.right-b.right+g.right)/k.x}}let s=async(e,t,i)=>{let{placement:n="bottom",strategy:s="absolute",middleware:o=[],platform:l}=i,u=o.filter(Boolean),d=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:s}),{x:h,y:f}=r(c,n,d),m=n,g={},p=0;for(let i=0;i({name:"arrow",options:e,async fn(t){let{x:i,y:r,placement:a,rects:s,platform:o,elements:l,middlewareData:u}=t,{element:d,padding:c=0}=(0,n._3)(e,t)||{};if(null==d)return{};let h=(0,n.nI)(c),f={x:i,y:r},m=(0,n.Dz)(a),g=(0,n.sq)(m),p=await o.getDimensions(d),_="y"===m,b=_?"top":"left",y=_?"bottom":"right",F=_?"clientHeight":"clientWidth",k=s.reference[g]+s.reference[m]-f[m]-s.floating[g],w=f[m]-s.reference[m],C=await (null==o.getOffsetParent?void 0:o.getOffsetParent(d)),A=C?C[F]:0;A&&await (null==o.isElement?void 0:o.isElement(C))||(A=l.floating[F]||s.floating[g]);let E=k/2-w/2,S=A/2-p[g]/2-1,x=(0,n.jk)(h[b],S),D=(0,n.jk)(h[y],S),T=x,M=A-p[g]-D,I=A/2-p[g]/2+E,B=(0,n.qE)(T,I,M),P=!u.arrow&&null!=(0,n.Sg)(a)&&I!==B&&s.reference[g]/2-(I(0,n.Sg)(t)===e),...i.filter(t=>(0,n.Sg)(t)!==e)]:i.filter(e=>(0,n.C0)(e)===e)).filter(i=>!e||(0,n.Sg)(i)===e||!!t&&(0,n.aD)(i)!==i)}let u=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var i,r,a;let{rects:s,middlewareData:o,placement:u,platform:d,elements:c}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:m=n.DD,autoAlignment:g=!0,...p}=(0,n._3)(e,t),_=void 0!==f||m===n.DD?l(f||null,g,m):m,b=await d.detectOverflow(t,p),y=(null==(i=o.autoPlacement)?void 0:i.index)||0,F=_[y];if(null==F)return{};let k=(0,n.w7)(F,s,await (null==d.isRTL?void 0:d.isRTL(c.floating)));if(u!==F)return{reset:{placement:_[0]}};let w=[b[(0,n.C0)(F)],b[k[0]],b[k[1]]],C=[...(null==(r=o.autoPlacement)?void 0:r.overflows)||[],{placement:F,overflows:w}],A=_[y+1];if(A)return{data:{index:y+1,overflows:C},reset:{placement:A}};let E=C.map(e=>{let t=(0,n.Sg)(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),S=(null==(a=E.filter(e=>e[2].slice(0,(0,n.Sg)(e[0])?2:3).every(e=>e<=0))[0])?void 0:a[0])||E[0][0];return S!==u?{data:{index:y+1,overflows:C},reset:{placement:S}}:{}}}},d=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,r,a,s,o;let{placement:l,middlewareData:u,rects:d,initialPlacement:c,platform:h,elements:f}=t,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:p,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:y=!0,...F}=(0,n._3)(e,t);if(null!=(i=u.arrow)&&i.alignmentOffset)return{};let k=(0,n.C0)(l),w=(0,n.TV)(c),C=(0,n.C0)(c)===c,A=await (null==h.isRTL?void 0:h.isRTL(f.floating)),E=p||(C||!y?[(0,n.bV)(c)]:(0,n.WJ)(c)),S="none"!==b;!p&&S&&E.push(...(0,n.lP)(c,y,b,A));let x=[c,...E],D=await h.detectOverflow(t,F),T=[],M=(null==(r=u.flip)?void 0:r.overflows)||[];if(m&&T.push(D[k]),g){let e=(0,n.w7)(l,d,A);T.push(D[e[0]],D[e[1]])}if(M=[...M,{placement:l,overflows:T}],!T.every(e=>e<=0)){let e=((null==(a=u.flip)?void 0:a.index)||0)+1,t=x[e];if(t&&("alignment"!==g||w===(0,n.TV)(t)||M.every(e=>(0,n.TV)(e.placement)!==w||e.overflows[0]>0)))return{data:{index:e,overflows:M},reset:{placement:t}};let i=null==(s=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:s.placement;if(!i)switch(_){case"bestFit":{let e=null==(o=M.filter(e=>{if(S){let t=(0,n.TV)(e.placement);return t===w||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(i=e);break}case"initialPlacement":i=c}if(l!==i)return{reset:{placement:i}}}return{}}}};function c(e){let t=min(...e.map(e=>e.left)),i=min(...e.map(e=>e.top));return{x:t,y:i,width:max(...e.map(e=>e.right))-t,height:max(...e.map(e=>e.bottom))-i}}let h=new Set(["left","top"]);async function f(e,t){let{placement:i,platform:r,elements:a}=e,s=await (null==r.isRTL?void 0:r.isRTL(a.floating)),o=(0,n.C0)(i),l=(0,n.Sg)(i),u="y"===(0,n.TV)(i),d=h.has(o)?-1:1,c=s&&u?-1:1,f=(0,n._3)(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:p}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof p&&(g="end"===l?-1*p:p),u?{x:g*c,y:m*d}:{x:m*d,y:g*c}}let m=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var i,n;let{x:r,y:a,placement:s,middlewareData:o}=t,l=await f(t,e);return s===(null==(i=o.offset)?void 0:i.placement)&&null!=(n=o.arrow)&&n.alignmentOffset?{}:{x:r+l.x,y:a+l.y,data:{...l,placement:s}}}}},g=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:i,y:r,placement:a,platform:s}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...d}=(0,n._3)(e,t),c={x:i,y:r},h=await s.detectOverflow(t,d),f=(0,n.TV)((0,n.C0)(a)),m=(0,n.PG)(f),g=c[m],p=c[f];if(o){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",i=g+h[e],r=g-h[t];g=(0,n.qE)(i,g,r)}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",i=p+h[e],r=p-h[t];p=(0,n.qE)(i,p,r)}let _=u.fn({...t,[m]:g,[f]:p});return{..._,data:{x:_.x-i,y:_.y-r,enabled:{[m]:o,[f]:l}}}}}},p=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:i,y:r,placement:a,rects:s,middlewareData:o}=t,{offset:l=0,mainAxis:u=!0,crossAxis:d=!0}=(0,n._3)(e,t),c={x:i,y:r},f=(0,n.TV)(a),m=(0,n.PG)(f),g=c[m],p=c[f],_=(0,n._3)(l,t),b="number"==typeof _?{mainAxis:_,crossAxis:0}:{mainAxis:0,crossAxis:0,..._};if(u){let e="y"===m?"height":"width",t=s.reference[m]-s.floating[e]+b.mainAxis,i=s.reference[m]+s.reference[e]-b.mainAxis;gi&&(g=i)}if(d){var y,F;let e="y"===m?"width":"height",t=h.has((0,n.C0)(a)),i=s.reference[f]-s.floating[e]+(t&&(null==(y=o.offset)?void 0:y[f])||0)+(t?0:b.crossAxis),r=s.reference[f]+s.reference[e]+(t?0:(null==(F=o.offset)?void 0:F[f])||0)-(t?b.crossAxis:0);pr&&(p=r)}return{[m]:g,[f]:p}}}},_=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var i,r;let a,s,{placement:o,rects:l,platform:u,elements:d}=t,{apply:c=()=>{},...h}=(0,n._3)(e,t),f=await u.detectOverflow(t,h),m=(0,n.C0)(o),g=(0,n.Sg)(o),p="y"===(0,n.TV)(o),{width:_,height:b}=l.floating;"top"===m||"bottom"===m?(a=m,s=g===(await (null==u.isRTL?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(s=m,a="end"===g?"top":"bottom");let y=b-f.top-f.bottom,F=_-f.left-f.right,k=(0,n.jk)(b-f[a],y),w=(0,n.jk)(_-f[s],F),C=!t.middlewareData.shift,A=k,E=w;if(null!=(i=t.middlewareData.shift)&&i.enabled.x&&(E=F),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(A=y),C&&!g){let e=(0,n.T9)(f.left,0),t=(0,n.T9)(f.right,0),i=(0,n.T9)(f.top,0),r=(0,n.T9)(f.bottom,0);p?E=_-2*(0!==e||0!==t?e+t:(0,n.T9)(f.left,f.right)):A=b-2*(0!==i||0!==r?i+r:(0,n.T9)(f.top,f.bottom))}await c({...t,availableWidth:E,availableHeight:A});let S=await u.getDimensions(d.floating);return _!==S.width||b!==S.height?{reset:{rects:!0}}:{}}}}},97193(e,t,i){"use strict";i.d(t,{B1:()=>P,C0:()=>m,DD:()=>r,Dz:()=>F,Jx:()=>u,LI:()=>o,PG:()=>p,RI:()=>l,Sg:()=>g,T9:()=>s,TV:()=>y,WJ:()=>w,_3:()=>f,aD:()=>C,bV:()=>M,jk:()=>a,lP:()=>T,nI:()=>B,qE:()=>h,sq:()=>_,w7:()=>k});let n=["start","end"],r=["top","right","bottom","left"].reduce((e,t)=>e.concat(t,t+"-"+n[0],t+"-"+n[1]),[]),a=Math.min,s=Math.max,o=Math.round,l=Math.floor,u=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function h(e,t,i){return s(e,a(t,i))}function f(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function _(e){return"y"===e?"height":"width"}let b=new Set(["top","bottom"]);function y(e){return b.has(m(e))?"y":"x"}function F(e){return p(y(e))}function k(e,t,i){void 0===i&&(i=!1);let n=g(e),r=F(e),a=_(r),s="x"===r?n===(i?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=M(s)),[s,M(s)]}function w(e){let t=M(e);return[C(e),t,C(t)]}function C(e){return e.replace(/start|end/g,e=>c[e])}let A=["left","right"],E=["right","left"],S=["top","bottom"],x=["bottom","top"];function D(e,t,i){switch(e){case"top":case"bottom":if(i)return t?E:A;return t?A:E;case"left":case"right":return t?S:x;default:return[]}}function T(e,t,i,n){let r=g(e),a=D(m(e),"start"===i,n);return r&&(a=a.map(e=>e+"-"+r),t&&(a=a.concat(a.map(C)))),a}function M(e){return e.replace(/left|right|bottom|top/g,e=>d[e])}function I(e){return{top:0,right:0,bottom:0,left:0,...e}}function B(e){return"number"!=typeof e?I(e):{top:e,right:e,bottom:e,left:e}}function P(e){let{x:t,y:i,width:n,height:r}=e;return{width:n,height:r,top:i,left:t,right:t+n,bottom:i+r,x:t,y:i}}},21777(e,t,i){"use strict";let n,r,a;i.d(t,{HW:()=>y,L$:()=>p,P$:()=>g,aV:()=>c,do:()=>u,zo:()=>d});var s=i(61338),o=i(8122);let l=[];function u(){return void 0===n&&(n=document.head.dataset.requesttoken??null),n}function d(e){l.push(e)}function c(){let e=document?.querySelector('meta[name="csp-nonce"]');if(!e){let e=u();return e?btoa(e):void 0}return e.nonce}(0,s.B1)("csrf-token-update",e=>{n=e.token,l.forEach(e=>{try{e(n)}catch(e){console.error("Error updating CSRF token observer",e)}})});let h=(0,o.c0)("public").persist().build();class f{_displayName;uid;isAdmin;constructor(){h.getItem("guestUid")||h.setItem("guestUid",_()),this._displayName=h.getItem("guestNickname")||"",this.uid=h.getItem("guestUid")||_(),this.isAdmin=!1,(0,s.B1)("user:info:changed",e=>{this._displayName=e.displayName,h.setItem("guestNickname",e.displayName||"")})}get displayName(){return this._displayName}set displayName(e){this._displayName=e,h.setItem("guestNickname",e),(0,s.Ic)("user:info:changed",this)}}function m(){return r||(r=new f),r}function g(){return m()?.displayName||null}function p(e){if(!e||0===e.trim().length)throw Error("Nickname cannot be empty");m().displayName=e}function _(){return globalThis.crypto?.randomUUID?globalThis.crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}function b(e,t){return e?e.getAttribute(t):null}function y(){if(void 0!==a)return a;let e=document?.getElementsByTagName("head")[0];if(!e)return null;let t=b(e,"data-user");return a=null===t?null:{uid:t,displayName:b(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin}}},81120(e,t,i){"use strict";let n,r,a,s,o,l,u,d;i.d(t,{Ay:()=>iy,FZ:()=>ir});var c={};i.r(c),i.d(c,{hasBrowserEnv:()=>eX,hasStandardBrowserEnv:()=>eY,hasStandardBrowserWebWorkerEnv:()=>eQ,navigator:()=>eK,origin:()=>eZ});var h=i(21777);function f(e,t){return function(){return e.apply(t,arguments)}}var m=i(65606);let{toString:g}=Object.prototype,{getPrototypeOf:p}=Object,{iterator:_,toStringTag:b}=Symbol,y=(n=Object.create(null),e=>{let t=g.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),F=e=>(e=e.toLowerCase(),t=>y(t)===e),k=e=>t=>typeof t===e,{isArray:w}=Array,C=k("undefined");function A(e){return null!==e&&!C(e)&&null!==e.constructor&&!C(e.constructor)&&D(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let E=F("ArrayBuffer");function S(e){let t;return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer)}let x=k("string"),D=k("function"),T=k("number"),M=e=>null!==e&&"object"==typeof e,I=e=>!0===e||!1===e,B=e=>{if("object"!==y(e))return!1;let t=p(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(b in e)&&!(_ in e)},P=e=>{if(!M(e)||A(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},N=F("Date"),R=F("File"),j=F("Blob"),O=F("FileList"),z=e=>M(e)&&D(e.pipe),q=e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||D(e.append)&&("formdata"===(t=y(e))||"object"===t&&D(e.toString)&&"[object FormData]"===e.toString()))},W=F("URLSearchParams"),[V,H,$,G]=["ReadableStream","Request","Response","Headers"].map(F),X=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function K(e,t,{allOwnKeys:i=!1}={}){let n,r;if(null!=e)if("object"!=typeof e&&(e=[e]),w(e))for(n=0,r=e.length;n0;)if(t===(i=n[r]).toLowerCase())return i;return null}let Q="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:global,Z=e=>!C(e)&&e!==Q;function J(){let{caseless:e,skipUndefined:t}=Z(this)&&this||{},i={},n=(n,r)=>{let a=e&&Y(i,r)||r;B(i[a])&&B(n)?i[a]=J(i[a],n):B(n)?i[a]=J({},n):w(n)?i[a]=n.slice():t&&C(n)||(i[a]=n)};for(let e=0,t=arguments.length;e(K(t,(t,n)=>{i&&D(t)?e[n]=f(t,i):e[n]=t},{allOwnKeys:n}),e),et=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),ei=(e,t,i,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},en=(e,t,i,n)=>{let r,a,s,o={};if(t=t||{},null==e)return t;do{for(a=(r=Object.getOwnPropertyNames(e)).length;a-- >0;)s=r[a],(!n||n(s,e,t))&&!o[s]&&(t[s]=e[s],o[s]=!0);e=!1!==i&&p(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},er=(e,t,i)=>{e=String(e),(void 0===i||i>e.length)&&(i=e.length),i-=t.length;let n=e.indexOf(t,i);return -1!==n&&n===i},ea=e=>{if(!e)return null;if(w(e))return e;let t=e.length;if(!T(t))return null;let i=Array(t);for(;t-- >0;)i[t]=e[t];return i},es=(r="u">typeof Uint8Array&&p(Uint8Array),e=>r&&e instanceof r),eo=(e,t)=>{let i,n=(e&&e[_]).call(e);for(;(i=n.next())&&!i.done;){let n=i.value;t.call(e,n[0],n[1])}},el=(e,t)=>{let i,n=[];for(;null!==(i=e.exec(t));)n.push(i);return n},eu=F("HTMLFormElement"),ed=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,i){return t.toUpperCase()+i}),ec=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),eh=F("RegExp"),ef=(e,t)=>{let i=Object.getOwnPropertyDescriptors(e),n={};K(i,(i,r)=>{let a;!1!==(a=t(i,r,e))&&(n[r]=a||i)}),Object.defineProperties(e,n)},em=e=>{ef(e,(t,i)=>{if(D(e)&&-1!==["arguments","caller","callee"].indexOf(i))return!1;if(D(e[i])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},eg=(e,t)=>{let i={};return(e=>{e.forEach(e=>{i[e]=!0})})(w(e)?e:String(e).split(t)),i},ep=()=>{},e_=(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t;function ev(e){return!!(e&&D(e.append)&&"FormData"===e[b]&&e[_])}let eb=e=>{let t=Array(10),i=(e,n)=>{if(M(e)){if(t.indexOf(e)>=0)return;if(A(e))return e;if(!("toJSON"in e)){t[n]=e;let r=w(e)?[]:{};return K(e,(e,t)=>{let a=i(e,n+1);C(a)||(r[t]=a)}),t[n]=void 0,r}}return e};return i(e,0)},ey=F("AsyncFunction"),eF=e=>e&&(M(e)||D(e))&&D(e.then)&&D(e.catch),ek=(o="function"==typeof setImmediate,l=D(Q.postMessage),o?setImmediate:l?(u=`axios@${Math.random()}`,d=[],Q.addEventListener("message",({source:e,data:t})=>{e===Q&&t===u&&d.length&&d.shift()()},!1),e=>{d.push(e),Q.postMessage(u,"*")}):e=>setTimeout(e)),ew="u">typeof queueMicrotask?queueMicrotask.bind(Q):void 0!==m&&m.nextTick||ek,eC=e=>null!=e&&D(e[_]),eA={isArray:w,isArrayBuffer:E,isBuffer:A,isFormData:q,isArrayBufferView:S,isString:x,isNumber:T,isBoolean:I,isObject:M,isPlainObject:B,isEmptyObject:P,isReadableStream:V,isRequest:H,isResponse:$,isHeaders:G,isUndefined:C,isDate:N,isFile:R,isBlob:j,isRegExp:eh,isFunction:D,isStream:z,isURLSearchParams:W,isTypedArray:es,isFileList:O,forEach:K,merge:J,extend:ee,trim:X,stripBOM:et,inherits:ei,toFlatObject:en,kindOf:y,kindOfTest:F,endsWith:er,toArray:ea,forEachEntry:eo,matchAll:el,isHTMLForm:eu,hasOwnProperty:ec,hasOwnProp:ec,reduceDescriptors:ef,freezeMethods:em,toObjectSet:eg,toCamelCase:ed,noop:ep,toFiniteNumber:e_,findKey:Y,global:Q,isContextDefined:Z,isSpecCompliantForm:ev,toJSONObject:eb,isAsyncFn:ey,isThenable:eF,setImmediate:ek,asap:ew,isIterable:eC};function eE(e,t,i,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}eA.inherits(eE,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:eA.toJSONObject(this.config),code:this.code,status:this.status}}});let eS=eE.prototype,ex={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ex[e]={value:e}}),Object.defineProperties(eE,ex),Object.defineProperty(eS,"isAxiosError",{value:!0}),eE.from=(e,t,i,n,r,a)=>{let s=Object.create(eS);eA.toFlatObject(e,s,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);let o=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return eE.call(s,o,l,i,n,r),e&&null==s.cause&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",a&&Object.assign(s,a),s};let eD=eE,eT=null;var eM=i(48287).Buffer;function eI(e){return eA.isPlainObject(e)||eA.isArray(e)}function eB(e){return eA.endsWith(e,"[]")?e.slice(0,-2):e}function eP(e,t,i){return e?e.concat(t).map(function(e,t){return e=eB(e),!i&&t?"["+e+"]":e}).join(i?".":""):t}function eL(e){return eA.isArray(e)&&!e.some(eI)}let eN=eA.toFlatObject(eA,{},null,function(e){return/^is[A-Z]/.test(e)}),eR=function(e,t,i){if(!eA.isObject(e))throw TypeError("target must be an object");t=t||new(eT||FormData);let n=(i=eA.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!eA.isUndefined(t[e])})).metaTokens,r=i.visitor||u,a=i.dots,s=i.indexes,o=(i.Blob||"u">typeof Blob&&Blob)&&eA.isSpecCompliantForm(t);if(!eA.isFunction(r))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(eA.isDate(e))return e.toISOString();if(eA.isBoolean(e))return e.toString();if(!o&&eA.isBlob(e))throw new eD("Blob is not supported. Use a Buffer instead.");return eA.isArrayBuffer(e)||eA.isTypedArray(e)?o&&"function"==typeof Blob?new Blob([e]):eM.from(e):e}function u(e,i,r){let o=e;if(e&&!r&&"object"==typeof e){if(eA.endsWith(i,"{}"))i=n?i:i.slice(0,-2),e=JSON.stringify(e);else if(eA.isArray(e)&&eL(e)||(eA.isFileList(e)||eA.endsWith(i,"[]"))&&(o=eA.toArray(e)))return i=eB(i),o.forEach(function(e,n){eA.isUndefined(e)||null===e||t.append(!0===s?eP([i],n,a):null===s?i:i+"[]",l(e))}),!1}return!!eI(e)||(t.append(eP(r,i,a),l(e)),!1)}let d=[],c=Object.assign(eN,{defaultVisitor:u,convertValue:l,isVisitable:eI});function h(e,i){if(!eA.isUndefined(e)){if(-1!==d.indexOf(e))throw Error("Circular reference detected in "+i.join("."));d.push(e),eA.forEach(e,function(e,n){!0===(!(eA.isUndefined(e)||null===e)&&r.call(t,e,eA.isString(n)?n.trim():n,i,c))&&h(e,i?i.concat(n):[n])}),d.pop()}}if(!eA.isObject(e))throw TypeError("data must be an object");return h(e),t};function ej(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function eO(e,t){this._pairs=[],e&&eR(e,this,t)}let ez=eO.prototype;ez.append=function(e,t){this._pairs.push([e,t])},ez.toString=function(e){let t=e?function(t){return e.call(this,t,ej)}:ej;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};let eU=eO;function eq(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function eW(e,t,i){let n;if(!t)return e;let r=i&&i.encode||eq;eA.isFunction(i)&&(i={serialize:i});let a=i&&i.serialize;if(n=a?a(t,i):eA.isURLSearchParams(t)?t.toString():new eU(t,i).toString(r)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}class eV{constructor(){this.handlers=[]}use(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){eA.forEach(this.handlers,function(t){null!==t&&e(t)})}}let eH=eV,e$={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eG={isBrowser:!0,classes:{URLSearchParams:"u">typeof URLSearchParams?URLSearchParams:eU,FormData:"u">typeof FormData?FormData:null,Blob:"u">typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},eX="u">typeof window&&"u">typeof document,eK="object"==typeof navigator&&navigator||void 0,eY=eX&&(!eK||0>["ReactNative","NativeScript","NS"].indexOf(eK.product)),eQ="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eZ=eX&&window.location.href||"http://localhost",eJ={...c,...eG};function e0(e,t){return eR(e,new eJ.classes.URLSearchParams,{visitor:function(e,t,i,n){return eJ.isNode&&eA.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}function e1(e){return eA.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}function e2(e){let t,i,n={},r=Object.keys(e),a=r.length;for(t=0;t=e.length;return(a=!a&&eA.isArray(n)?n.length:a,o)?eA.hasOwnProp(n,a)?n[a]=[n[a],i]:n[a]=i:(n[a]&&eA.isObject(n[a])||(n[a]=[]),t(e,i,n[a],r)&&eA.isArray(n[a])&&(n[a]=e2(n[a]))),!s}if(eA.isFormData(e)&&eA.isFunction(e.entries)){let i={};return eA.forEachEntry(e,(e,n)=>{t(e1(e),n,i,0)}),i}return null};function e4(e,t,i){if(eA.isString(e))try{return(t||JSON.parse)(e),eA.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(i||JSON.stringify)(e)}let e6={transitional:e$,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let i,n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=eA.isObject(e);if(a&&eA.isHTMLForm(e)&&(e=new FormData(e)),eA.isFormData(e))return r?JSON.stringify(e3(e)):e;if(eA.isArrayBuffer(e)||eA.isBuffer(e)||eA.isStream(e)||eA.isFile(e)||eA.isBlob(e)||eA.isReadableStream(e))return e;if(eA.isArrayBufferView(e))return e.buffer;if(eA.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return e0(e,this.formSerializer).toString();if((i=eA.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return eR(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),e4(e)):e}],transformResponse:[function(e){let t=this.transitional||e6.transitional,i=t&&t.forcedJSONParsing,n="json"===this.responseType;if(eA.isResponse(e)||eA.isReadableStream(e))return e;if(e&&eA.isString(e)&&(i&&!this.responseType||n)){let i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(e){if(i){if("SyntaxError"===e.name)throw eD.from(e,eD.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eJ.classes.FormData,Blob:eJ.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};eA.forEach(["delete","get","head","post","put","patch"],e=>{e6.headers[e]={}});let e5=e6,e8=eA.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),e9=e=>{let t,i,n,r={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),i=e.substring(n+1).trim(),!t||r[t]&&e8[t]||("set-cookie"===t?r[t]?r[t].push(i):r[t]=[i]:r[t]=r[t]?r[t]+", "+i:i)}),r},e7=Symbol("internals");function te(e){return e&&String(e).trim().toLowerCase()}function tt(e){return!1===e||null==e?e:eA.isArray(e)?e.map(tt):String(e)}function ti(e){let t,i=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)i[t[1]]=t[2];return i}let tn=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function tr(e,t,i,n,r){if(eA.isFunction(n))return n.call(this,t,i);if(r&&(t=i),eA.isString(t)){if(eA.isString(n))return -1!==t.indexOf(n);if(eA.isRegExp(n))return n.test(t)}}function ta(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,i)=>t.toUpperCase()+i)}function ts(e,t){let i=eA.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+i,{value:function(e,i,r){return this[n].call(this,t,e,i,r)},configurable:!0})})}class to{constructor(e){e&&this.set(e)}set(e,t,i){let n=this;function r(e,t,i){let r=te(t);if(!r)throw Error("header name must be a non-empty string");let a=eA.findKey(n,r);a&&void 0!==n[a]&&!0!==i&&(void 0!==i||!1===n[a])||(n[a||t]=tt(e))}let a=(e,t)=>eA.forEach(e,(e,i)=>r(e,i,t));if(eA.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(eA.isString(e)&&(e=e.trim())&&!tn(e))a(e9(e),t);else if(eA.isObject(e)&&eA.isIterable(e)){let i={},n,r;for(let t of e){if(!eA.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[r=t[0]]=(n=i[r])?eA.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}a(i,t)}else null!=e&&r(t,e,i);return this}get(e,t){if(e=te(e)){let i=eA.findKey(this,e);if(i){let e=this[i];if(!t)return e;if(!0===t)return ti(e);if(eA.isFunction(t))return t.call(this,e,i);if(eA.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=te(e)){let i=eA.findKey(this,e);return!!(i&&void 0!==this[i]&&(!t||tr(this,this[i],i,t)))}return!1}delete(e,t){let i=this,n=!1;function r(e){if(e=te(e)){let r=eA.findKey(i,e);r&&(!t||tr(i,i[r],r,t))&&(delete i[r],n=!0)}}return eA.isArray(e)?e.forEach(r):r(e),n}clear(e){let t=Object.keys(this),i=t.length,n=!1;for(;i--;){let r=t[i];(!e||tr(this,this[r],r,e,!0))&&(delete this[r],n=!0)}return n}normalize(e){let t=this,i={};return eA.forEach(this,(n,r)=>{let a=eA.findKey(i,r);if(a){t[a]=tt(n),delete t[r];return}let s=e?ta(r):String(r).trim();s!==r&&delete t[r],t[s]=tt(n),i[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return eA.forEach(this,(i,n)=>{null!=i&&!1!==i&&(t[n]=e&&eA.isArray(i)?i.join(", "):i)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let i=new this(e);return t.forEach(e=>i.set(e)),i}static accessor(e){let t=(this[e7]=this[e7]={accessors:{}}).accessors,i=this.prototype;function n(e){let n=te(e);t[n]||(ts(i,e),t[n]=!0)}return eA.isArray(e)?e.forEach(n):n(e),this}}to.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),eA.reduceDescriptors(to.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[i]=e}}}),eA.freezeMethods(to);let tl=to;function tu(e,t){let i=this||e5,n=t||i,r=tl.from(n.headers),a=n.data;return eA.forEach(e,function(e){a=e.call(i,a,r.normalize(),t?t.status:void 0)}),r.normalize(),a}function td(e){return!!(e&&e.__CANCEL__)}function tc(e,t,i){eD.call(this,null==e?"canceled":e,eD.ERR_CANCELED,t,i),this.name="CanceledError"}eA.inherits(tc,eD,{__CANCEL__:!0});let th=tc;function tf(e,t,i){let n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new eD("Request failed with status code "+i.status,[eD.ERR_BAD_REQUEST,eD.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function tm(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}let tg=function(e,t){let i,n=Array(e=e||10),r=Array(e),a=0,s=0;return t=void 0!==t?t:1e3,function(o){let l=Date.now(),u=r[s];i||(i=l),n[a]=o,r[a]=l;let d=s,c=0;for(;d!==a;)c+=n[d++],d%=e;if((a=(a+1)%e)===s&&(s=(s+1)%e),l-i{r=a,i=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),o=t-r;o>=a?s(e,t):(i=e,n||(n=setTimeout(()=>{n=null,s(i)},a-o)))},()=>i&&s(i)]},t_=(e,t,i=3)=>{let n=0,r=tg(50,250);return tp(i=>{let a=i.loaded,s=i.lengthComputable?i.total:void 0,o=a-n,l=r(o),u=a<=s;n=a,e({loaded:a,total:s,progress:s?a/s:void 0,bytes:o,rate:l||void 0,estimated:l&&s&&u?(s-a)/l:void 0,event:i,lengthComputable:null!=s,[t?"download":"upload"]:!0})},i)},tv=(e,t)=>{let i=null!=e;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},tb=e=>(...t)=>eA.asap(()=>e(...t)),ty=eJ.hasStandardBrowserEnv?(a=new URL(eJ.origin),s=eJ.navigator&&/(msie|trident)/i.test(eJ.navigator.userAgent),e=>(e=new URL(e,eJ.origin),a.protocol===e.protocol&&a.host===e.host&&(s||a.port===e.port))):()=>!0,tF=eJ.hasStandardBrowserEnv?{write(e,t,i,n,r,a){let s=[e+"="+encodeURIComponent(t)];eA.isNumber(i)&&s.push("expires="+new Date(i).toGMTString()),eA.isString(n)&&s.push("path="+n),eA.isString(r)&&s.push("domain="+r),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function tk(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tw(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function tC(e,t,i){let n=!tk(t);return e&&(n||!1==i)?tw(e,t):t}let tA=e=>e instanceof tl?{...e}:e;function tE(e,t){t=t||{};let i={};function n(e,t,i,n){return eA.isPlainObject(e)&&eA.isPlainObject(t)?eA.merge.call({caseless:n},e,t):eA.isPlainObject(t)?eA.merge({},t):eA.isArray(t)?t.slice():t}function r(e,t,i,r){return eA.isUndefined(t)?eA.isUndefined(e)?void 0:n(void 0,e,i,r):n(e,t,i,r)}function a(e,t){if(!eA.isUndefined(t))return n(void 0,t)}function s(e,t){return eA.isUndefined(t)?eA.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function o(i,r,a){return a in t?n(i,r):a in e?n(void 0,i):void 0}let l={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:(e,t,i)=>r(tA(e),tA(t),i,!0)};return eA.forEach(Object.keys({...e,...t}),function(n){let a=l[n]||r,s=a(e[n],t[n],n);eA.isUndefined(s)&&a!==o||(i[n]=s)}),i}let tS=e=>{let t=tE({},e),{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:a,headers:s,auth:o}=t;if(t.headers=s=tl.from(s),t.url=eW(tC(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),o&&s.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):""))),eA.isFormData(i)){if(eJ.hasStandardBrowserEnv||eJ.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(eA.isFunction(i.getHeaders)){let e=i.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,i])=>{t.includes(e.toLowerCase())&&s.set(e,i)})}}if(eJ.hasStandardBrowserEnv&&(n&&eA.isFunction(n)&&(n=n(t)),n||!1!==n&&ty(t.url))){let e=r&&a&&tF.read(a);e&&s.set(r,e)}return t},tx="u">typeof XMLHttpRequest&&function(e){return new Promise(function(t,i){let n,r,a,s,o,l=tS(e),u=l.data,d=tl.from(l.headers).normalize(),{responseType:c,onUploadProgress:h,onDownloadProgress:f}=l;function m(){s&&s(),o&&o(),l.cancelToken&&l.cancelToken.unsubscribe(n),l.signal&&l.signal.removeEventListener("abort",n)}let g=new XMLHttpRequest;function p(){if(!g)return;let n=tl.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());tf(function(e){t(e),m()},function(e){i(e),m()},{data:c&&"text"!==c&&"json"!==c?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:n,config:e,request:g}),g=null}g.open(l.method.toUpperCase(),l.url,!0),g.timeout=l.timeout,"onloadend"in g?g.onloadend=p:g.onreadystatechange=function(){!g||4!==g.readyState||(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(p)},g.onabort=function(){g&&(i(new eD("Request aborted",eD.ECONNABORTED,e,g)),g=null)},g.onerror=function(t){let n=new eD(t&&t.message?t.message:"Network Error",eD.ERR_NETWORK,e,g);n.event=t||null,i(n),g=null},g.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",n=l.transitional||e$;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),i(new eD(t,n.clarifyTimeoutError?eD.ETIMEDOUT:eD.ECONNABORTED,e,g)),g=null},void 0===u&&d.setContentType(null),"setRequestHeader"in g&&eA.forEach(d.toJSON(),function(e,t){g.setRequestHeader(t,e)}),eA.isUndefined(l.withCredentials)||(g.withCredentials=!!l.withCredentials),c&&"json"!==c&&(g.responseType=l.responseType),f&&([a,o]=t_(f,!0),g.addEventListener("progress",a)),h&&g.upload&&([r,s]=t_(h),g.upload.addEventListener("progress",r),g.upload.addEventListener("loadend",s)),(l.cancelToken||l.signal)&&(n=t=>{g&&(i(!t||t.type?new th(null,e,g):t),g.abort(),g=null)},l.cancelToken&&l.cancelToken.subscribe(n),l.signal&&(l.signal.aborted?n():l.signal.addEventListener("abort",n)));let _=tm(l.url);_&&-1===eJ.protocols.indexOf(_)?i(new eD("Unsupported protocol "+_+":",eD.ERR_BAD_REQUEST,e)):g.send(u||null)})},tD=(e,t)=>{let{length:i}=e=e?e.filter(Boolean):[];if(t||i){let i,n=new AbortController,r=function(e){if(!i){i=!0,s();let t=e instanceof Error?e:this.reason;n.abort(t instanceof eD?t:new th(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,r(new eD(`timeout ${t} of ms exceeded`,eD.ETIMEDOUT))},t),s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}),e=null)};e.forEach(e=>e.addEventListener("abort",r));let{signal:o}=n;return o.unsubscribe=()=>eA.asap(s),o}},tT=function*(e,t){let i,n=e.byteLength;if(!t||n{let r,a=tM(e,t),s=0,o=e=>{!r&&(r=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await a.next();if(t){o(),e.close();return}let r=n.byteLength;if(i){let e=s+=r;i(e)}e.enqueue(new Uint8Array(n))}catch(e){throw o(e),e}},cancel:e=>(o(e),a.return())},{highWaterMark:2})},tP=65536,{isFunction:tL}=eA,tN=(({Request:e,Response:t})=>({Request:e,Response:t}))(eA.global),{ReadableStream:tR,TextEncoder:tj}=eA.global,tO=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},tz=e=>{let t,{fetch:i,Request:n,Response:r}=e=eA.merge.call({skipUndefined:!0},tN,e),a=i?tL(i):"function"==typeof fetch,s=tL(n),o=tL(r);if(!a)return!1;let l=a&&tL(tR),u=a&&("function"==typeof tj?(t=new tj,e=>t.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer())),d=s&&l&&tO(()=>{let e=!1,t=new n(eJ.origin,{body:new tR,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),c=o&&l&&tO(()=>eA.isReadableStream(new r("").body)),h={stream:c&&(e=>e.body)};a&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{h[e]||(h[e]=(t,i)=>{let n=t&&t[e];if(n)return n.call(t);throw new eD(`Response type '${e}' is not supported`,eD.ERR_NOT_SUPPORT,i)})})})();let f=async e=>{if(null==e)return 0;if(eA.isBlob(e))return e.size;if(eA.isSpecCompliantForm(e)){let t=new n(eJ.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return eA.isArrayBufferView(e)||eA.isArrayBuffer(e)?e.byteLength:(eA.isURLSearchParams(e)&&(e+=""),eA.isString(e))?(await u(e)).byteLength:void 0},m=async(e,t)=>{let i=eA.toFiniteNumber(e.getContentLength());return null==i?f(t):i};return async e=>{let t,{url:a,method:o,data:l,signal:u,cancelToken:f,timeout:g,onDownloadProgress:p,onUploadProgress:_,responseType:b,headers:y,withCredentials:F="same-origin",fetchOptions:k}=tS(e),w=i||fetch;b=b?(b+"").toLowerCase():"text";let C=tD([u,f&&f.toAbortSignal()],g),A=null,E=C&&C.unsubscribe&&(()=>{C.unsubscribe()});try{if(_&&d&&"get"!==o&&"head"!==o&&0!==(t=await m(y,l))){let e,i=new n(a,{method:"POST",body:l,duplex:"half"});if(eA.isFormData(l)&&(e=i.headers.get("content-type"))&&y.setContentType(e),i.body){let[e,n]=tv(t,t_(tb(_)));l=tB(i.body,tP,e,n)}}eA.isString(F)||(F=F?"include":"omit");let i=s&&"credentials"in n.prototype,u={...k,signal:C,method:o.toUpperCase(),headers:y.normalize().toJSON(),body:l,duplex:"half",credentials:i?F:void 0};A=s&&new n(a,u);let f=await (s?w(A,k):w(a,u)),g=c&&("stream"===b||"response"===b);if(c&&(p||g&&E)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=f[t]});let t=eA.toFiniteNumber(f.headers.get("content-length")),[i,n]=p&&tv(t,t_(tb(p),!0))||[];f=new r(tB(f.body,tP,i,()=>{n&&n(),E&&E()}),e)}b=b||"text";let S=await h[eA.findKey(h,b)||"text"](f,e);return!g&&E&&E(),await new Promise((t,i)=>{tf(t,i,{data:S,headers:tl.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:A})})}catch(t){if(E&&E(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new eD("Network Error",eD.ERR_NETWORK,e,A),{cause:t.cause||t});throw eD.from(t,t&&t.code,e,A)}}},tU=new Map,tq=e=>{let t=e?e.env:{},{fetch:i,Request:n,Response:r}=t,a=[n,r,i],s=a.length,o,l,u=tU;for(;s--;)o=a[s],void 0===(l=u.get(o))&&u.set(o,l=s?new Map:tz(t)),u=l;return l};tq();let tW={http:eT,xhr:tx,fetch:{get:tq}};eA.forEach(tW,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let tV=e=>`- ${e}`,tH=e=>eA.isFunction(e)||null===e||!1===e,t$=(e,t)=>{let i,n,{length:r}=e=eA.isArray(e)?e:[e],a={};for(let s=0;s`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new eD("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(tV).join("\n"):" "+tV(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function tG(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new th(null,e)}function tX(e){return tG(e),e.headers=tl.from(e.headers),e.data=tu.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),t$(e.adapter||e5.adapter,e)(e).then(function(t){return tG(e),t.data=tu.call(e,e.transformResponse,t),t.headers=tl.from(t.headers),t},function(t){return!td(t)&&(tG(e),t&&t.response&&(t.response.data=tu.call(e,e.transformResponse,t.response),t.response.headers=tl.from(t.response.headers))),Promise.reject(t)})}let tK={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tK[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});let tY={};tK.transitional=function(e,t,i){function n(e,t){return"[Axios v1.12.2] Transitional option '"+e+"'"+t+(i?". "+i:"")}return(i,r,a)=>{if(!1===e)throw new eD(n(r," has been removed"+(t?" in "+t:"")),eD.ERR_DEPRECATED);return t&&!tY[r]&&(tY[r]=!0,console.warn(n(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,r,a)}},tK.spelling=function(e){return(t,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};let tQ=function(e,t,i){if("object"!=typeof e)throw new eD("options must be an object",eD.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),r=n.length;for(;r-- >0;){let a=n[r],s=t[a];if(s){let t=e[a],i=void 0===t||s(t,a,e);if(!0!==i)throw new eD("option "+a+" must be "+i,eD.ERR_BAD_OPTION_VALUE);continue}if(!0!==i)throw new eD("Unknown option "+a,eD.ERR_BAD_OPTION)}},tZ=tK;class tJ{constructor(e){this.defaults=e||{},this.interceptors={request:new eH,response:new eH}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let i=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?i&&!String(e.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+i):e.stack=i}catch(e){}}throw e}}_request(e,t){let i,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:r,paramsSerializer:a,headers:s}=t=tE(this.defaults,t);void 0!==r&&tQ(r,{silentJSONParsing:tZ.transitional(tZ.boolean),forcedJSONParsing:tZ.transitional(tZ.boolean),clarifyTimeoutError:tZ.transitional(tZ.boolean)},!1),null!=a&&(eA.isFunction(a)?t.paramsSerializer={serialize:a}:tQ(a,{encode:tZ.function,serialize:tZ.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),tQ(t,{baseUrl:tZ.spelling("baseURL"),withXsrfToken:tZ.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&eA.merge(s.common,s[t.method]);s&&eA.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=tl.concat(o,s);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let d=[];this.interceptors.response.forEach(function(e){d.push(e.fulfilled,e.rejected)});let c=0;if(!u){let e=[tX.bind(this),void 0];for(e.unshift(...l),e.push(...d),n=e.length,i=Promise.resolve(t);c{if(!i._listeners)return;let t=i._listeners.length;for(;t-- >0;)i._listeners[t](e);i._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{i.subscribe(e),t=e}).then(e);return n.cancel=function(){i.unsubscribe(t)},n},e(function(e,n,r){i.reason||(i.reason=new th(e,n,r),t(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new t1(function(t){e=t}),cancel:e}}}let t2=t1;function t3(e){return function(t){return e.apply(null,t)}}function t4(e){return eA.isObject(e)&&!0===e.isAxiosError}let t6={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(t6).forEach(([e,t])=>{t6[t]=e});let t5=t6;function t8(e){let t=new t0(e),i=f(t0.prototype.request,t);return eA.extend(i,t0.prototype,t,{allOwnKeys:!0}),eA.extend(i,t,null,{allOwnKeys:!0}),i.create=function(t){return t8(tE(e,t))},i}let t9=t8(e5);t9.Axios=t0,t9.CanceledError=th,t9.CancelToken=t2,t9.isCancel=td,t9.VERSION="1.12.2",t9.toFormData=eR,t9.AxiosError=eD,t9.Cancel=t9.CanceledError,t9.all=function(e){return Promise.all(e)},t9.spread=t3,t9.isAxiosError=t4,t9.mergeConfig=tE,t9.AxiosHeaders=tl,t9.formToJSON=e=>e3(eA.isHTMLForm(e)?new FormData(e):e),t9.getAdapter=t$,t9.HttpStatusCode=t5,t9.default=t9;let t7=t9,{Axios:ie,AxiosError:it,CanceledError:ii,isCancel:ir,CancelToken:ia,VERSION:is,all:io,Cancel:il,isAxiosError:iu,spread:id,toFormData:ic,AxiosHeaders:ih,HttpStatusCode:im,formToJSON:ig,getAdapter:ip,mergeConfig:i_}=t7;var iv=i(63814);let ib=t7.create({headers:{requesttoken:(0,h.do)()??"","X-Requested-With":"XMLHttpRequest"}});(0,h.zo)(e=>{ib.defaults.headers.requesttoken=e});let iy=Object.assign(ib,{CancelToken:t7.CancelToken,isCancel:t7.isCancel}),iF=Symbol("csrf-retry");function ik(e){return async t=>{if(!iu(t))throw t;let{config:i,response:n,request:r}=t,a=r?.responseURL;if(i&&!i[iF]&&n?.status===412&&n?.data?.message==="CSRF check failed"){console.warn(`Request to ${a} failed because of a CSRF mismatch. Fetching a new token`);let{data:{token:t}}=await e.get((0,iv.Jv)("/csrftoken"));return console.debug(`New request token ${t} fetched`),e.defaults.headers.requesttoken=t,e({...i,headers:{...i.headers,requesttoken:t},[iF]:!0})}throw t}}let iw=Symbol("retryDelay");function iC(e){return async t=>{if(!iu(t))throw t;let{config:i,response:n,request:r}=t,a=r?.responseURL,s=n?.status,o=n?.headers,l="number"==typeof i?.[iw]?i?.[iw]:1;if(503===s&&o?.["x-nextcloud-maintenance-mode"]==="1"&&i?.retryIfMaintenanceMode){if((l*=2)>32)throw console.error("Retry delay exceeded one minute, giving up.",{responseURL:a}),t;return console.warn(`Request to ${a} failed because of maintenance mode. Retrying in ${l}s`),await new Promise(e=>{setTimeout(e,1e3*l)}),e({...i,[iw]:l})}throw t}}async function iA(e){if(iu(e)){let{config:t,response:i,request:n}=e,r=n?.responseURL;401===i?.status&&i?.data?.message==="Current user is not logged in"&&t?.reloadExpiredSession&&window?.location&&(console.error(`Request to ${r} failed because the user session expired. Reloading the page …`),window.location.reload())}throw e}iy.interceptors.response.use(e=>e,ik(iy)),iy.interceptors.response.use(e=>e,iC(iy)),iy.interceptors.response.use(e=>e,iA)},8122(e,t,i){"use strict";i.d(t,{c0:()=>a});class n{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(e,t,i){this.scope=`${i?n.GLOBAL_SCOPE_PERSISTENT:n.GLOBAL_SCOPE_VOLATILE}_${btoa(e)}_`,this.wrapped=t}scopeKey(e){return`${this.scope}${e}`}setItem(e,t){this.wrapped.setItem(this.scopeKey(e),t)}getItem(e){return this.wrapped.getItem(this.scopeKey(e))}removeItem(e){this.wrapped.removeItem(this.scopeKey(e))}clear(){Object.keys(this.wrapped).filter(e=>e.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class r{appId;persisted=!1;clearedOnLogout=!1;constructor(e){this.appId=e}persist(e=!0){return this.persisted=e,this}clearOnLogout(e=!0){return this.clearedOnLogout=e,this}build(){return new n(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function a(e){return new r(e)}},87485(e,t,i){"use strict";i.d(t,{F:()=>r});var n=i(81222);function r(){try{return(0,n.C)("core","capabilities")}catch(e){if(console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),!("_oc_capabilities"in window))return{};return window._oc_capabilities}}},82439(e,t,i){"use strict";let n;i.d(t,{e:()=>T,g:()=>y,h:()=>S,i:()=>M,k:()=>D,l:()=>g,n:()=>f,q:()=>A,r:()=>E,s:()=>x,t:()=>m});var r=i(30212);i(8756);var a=i(71225),s=i(11195),o=i(35947),l=i(7736);i(94434),i(53094);let u='',d='',c=(0,s.$)().detectLanguage();for(let e of[{language:"ar",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" لا يصلح كاسم مجلد.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" غير مسموح به كاسم مجلد']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" غير مسموح به داخل اسم مجلد.']},{msgid:"All files",msgstr:["كل الملفات"]},{msgid:"Choose",msgstr:["إختَر"]},{msgid:"Choose {file}",msgstr:["إختر {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["إختَر %n ملف","إختَر %n ملف","إختَر %n ملف","إختَر %n ملفات","إختَر %n ملف","إختر %n ملف"]},{msgid:"Copy",msgstr:["نسخ"]},{msgid:"Copy to {target}",msgstr:["نسخ إلى {target}"]},{msgid:"Could not create the new folder",msgstr:["تعذّر إنشاء المجلد الجديد"]},{msgid:"Could not load files settings",msgstr:["يتعذّر تحميل إعدادات الملفات"]},{msgid:"Could not load files views",msgstr:["تعذر تحميل عرض الملفات"]},{msgid:"Create directory",msgstr:["إنشاء مجلد"]},{msgid:"Current view selector",msgstr:["محدد العرض الحالي"]},{msgid:"Favorites",msgstr:["المفضلة"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["الملفات والمجلدات التي تحددها كمفضلة ستظهر هنا."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["الملفات و المجلدات التي قمت مؤخراً بتعديلها سوف تظهر هنا."]},{msgid:"Filter file list",msgstr:["تصفية قائمة الملفات"]},{msgid:"Folder name cannot be empty.",msgstr:["اسم المجلد لا يمكن أن يكون فارغاً."]},{msgid:"Home",msgstr:["البداية"]},{msgid:"Modified",msgstr:["التعديل"]},{msgid:"Move",msgstr:["نقل"]},{msgid:"Move to {target}",msgstr:["نقل إلى {target}"]},{msgid:"Name",msgstr:["الاسم"]},{msgid:"New",msgstr:["جديد"]},{msgid:"New folder",msgstr:["مجلد جديد"]},{msgid:"New folder name",msgstr:["اسم المجلد الجديد"]},{msgid:"No files in here",msgstr:["لا توجد ملفات هنا"]},{msgid:"No files matching your filter were found.",msgstr:["لا توجد ملفات تتطابق مع عامل التصفية الذي وضعته"]},{msgid:"No matching files",msgstr:["لا توجد ملفات مطابقة"]},{msgid:"Recent",msgstr:["الحالي"]},{msgid:"Select all entries",msgstr:["حدد جميع الإدخالات"]},{msgid:"Select entry",msgstr:["إختَر المدخل"]},{msgid:"Select the row for {nodename}",msgstr:["إختر سطر الـ {nodename}"]},{msgid:"Size",msgstr:["الحجم"]},{msgid:"Undo",msgstr:["تراجع"]},{msgid:"Upload some content or sync with your devices!",msgstr:["قم برفع بعض المحتوى أو المزامنة مع أجهزتك!"]}]},{language:"ast",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:["\xab{name}\xbb ye un nome de carpeta inv\xe1lidu."]},{msgid:'"{name}" is not an allowed folder name',msgstr:["\xab{name}\xbb ye un nome de carpeta inv\xe1lidu"]},{msgid:'"/" is not allowed inside a folder name.',msgstr:["Nun se permite'l car\xe1uter \xab/\xbb dientro'l nome de les carpetes."]},{msgid:"All files",msgstr:["Tolos ficheros"]},{msgid:"Choose",msgstr:["Escoyer"]},{msgid:"Choose {file}",msgstr:["Escoyer \xab{ficheru}\xbb"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Escoyer %n ficheru","Escoyer %n ficheros"]},{msgid:"Copy",msgstr:["Copiar"]},{msgid:"Copy to {target}",msgstr:["Copiar en: {target}"]},{msgid:"Could not create the new folder",msgstr:["Nun se pudo crear la carpeta"]},{msgid:"Could not load files settings",msgstr:["Nun se pudo cargar la configuraci\xf3n de los ficheros"]},{msgid:"Could not load files views",msgstr:["Nun se pudieron cargar les vistes de los ficheros"]},{msgid:"Create directory",msgstr:["Crear un direutoriu"]},{msgid:"Current view selector",msgstr:["Selector de la vista actual"]},{msgid:"Favorites",msgstr:["Favoritos"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Equ\xed apaecen los ficheros y les carpetes que metas en Favoritos."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Equ\xed apaecen los fichero y les carpetes que modificares apocay\xe1."]},{msgid:"Filter file list",msgstr:["Pe\xf1erar la llista de ficheros"]},{msgid:"Folder name cannot be empty.",msgstr:["El nome de la carpeta nun pue tar baleru."]},{msgid:"Home",msgstr:["Aniciu"]},{msgid:"Modified",msgstr:["Modific\xf3se"]},{msgid:"Move",msgstr:["Mover"]},{msgid:"Move to {target}",msgstr:["Mover a {target}"]},{msgid:"Name",msgstr:["Nome"]},{msgid:"New",msgstr:["Nuevu"]},{msgid:"New folder",msgstr:["Carpeta nueva"]},{msgid:"New folder name",msgstr:["Nome de carpeta nuevu"]},{msgid:"No files in here",msgstr:["Equ\xed nun hai neng\xfan ficheru"]},{msgid:"No files matching your filter were found.",msgstr:["Nun s'atop\xf3 neng\xfan ficheru que concasare cola pe\xf1era."]},{msgid:"No matching files",msgstr:["Nun hai neng\xfan ficheru que concase"]},{msgid:"Recent",msgstr:["De reci\xe9n"]},{msgid:"Select all entries",msgstr:["Seleicionar toles entraes"]},{msgid:"Select entry",msgstr:["Seleicionar la entrada"]},{msgid:"Select the row for {nodename}",msgstr:["Seleicionar la filera de: {nodename}"]},{msgid:"Size",msgstr:["Tama\xf1u"]},{msgid:"Undo",msgstr:["Desfacer"]},{msgid:"Upload some content or sync with your devices!",msgstr:["\xa1Xubi dalg\xfan elementu o sincroniza colos tos preseos!"]}]},{language:"ca",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['No \xe9s perm\xe8s d\'usar el car\xe0cter "{char}" en un nom.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" no \xe9s un nom perm\xe8s.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" no \xe9s v\xe0lid com a nom de carpeta.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" no \xe9s v\xe0lid com a nom de carpeta']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" \xe9s un mot reservat i no est\xe0 perm\xe8s com a nom.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" no est\xe0 perm\xe8s en el nom d\'una carpeta.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n conflicte de fitxers","%n conflictes de fitxers"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n onflicte de fitxers a {dirname}","%n conflictes de fitxers a {dirname}"]},{msgid:"All files",msgstr:["Tots els fitxers"]},{msgid:"Cancel",msgstr:["Cancel\xb7lar"]},{msgid:"Cancel the entire operation",msgstr:["Cancel\xb7lar tota l'operaci\xf3"]},{msgid:"Choose",msgstr:["Tria"]},{msgid:"Choose {file}",msgstr:["Tria {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Tria %n fitxer","Tria %n fitxers"]},{msgid:"Confirm",msgstr:["Confirma"]},{msgid:"Continue",msgstr:["Continuar"]},{msgid:"Copy",msgstr:["Copia"]},{msgid:"Copy to {target}",msgstr:["Copia a {target}"]},{msgid:"Could not create the new folder",msgstr:["No s'ha pogut crear la carpeta nova"]},{msgid:"Could not load files settings",msgstr:["No es poden carregar fitxers de configuraci\xf3"]},{msgid:"Could not load files views",msgstr:["No es poden carregar fitxers de vistes"]},{msgid:"Create directory",msgstr:["Crea un directori"]},{msgid:"Current view selector",msgstr:["Selector de visualitzaci\xf3 actual"]},{msgid:"Enter your name",msgstr:["Escriviu el vostre nom"]},{msgid:"Existing version",msgstr:["Versi\xf3 existent"]},{msgid:"Failed to set nickname.",msgstr:["No s'ha pogut desar el sobrenom."]},{msgid:"Favorites",msgstr:["Preferits"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Els fitxers i les carpetes que marqueu com a favorits es mostraran aqu\xed."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Els fitxers i les carpetes recentment modificats es mostraran aqu\xed."]},{msgid:"Filter file list",msgstr:["Filtrar llistat de fitxers"]},{msgid:"Folder name cannot be empty.",msgstr:["El nom de la carpeta no pot estar buit."]},{msgid:"Guest identification",msgstr:["Identificaci\xf3 com a convidat"]},{msgid:"Home",msgstr:["Inici"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Si seleccioneu les dues versions, el fitxer entrant tindr\xe0 un n\xfamero afegit al seu nom."]},{msgid:"Invalid name.",msgstr:["Nom no v\xe0lid."]},{msgid:"Last modified date unknown",msgstr:["Data de l'\xfaltima modificaci\xf3 desconeguda"]},{msgid:"Modified",msgstr:["Data de modificaci\xf3"]},{msgid:"Move",msgstr:["Despla\xe7a"]},{msgid:"Move to {target}",msgstr:["Despla\xe7a a {target}"]},{msgid:"Name",msgstr:["Nom"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Els noms poden tenir com a m\xe0xim 64 car\xe0cters."]},{msgid:"Names must not be empty.",msgstr:["Els noms no poden ser buits."]},{msgid:'Names must not end with "{extension}".',msgstr:['Els noms no poden acabar amb l\'extensi\xf3 "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Els noms no poden comen\xe7ar amb un punt."]},{msgid:"New",msgstr:["Crea"]},{msgid:"New folder",msgstr:["Carpeta nova"]},{msgid:"New folder name",msgstr:["Nom de la carpeta nova"]},{msgid:"New version",msgstr:["Nova versi\xf3"]},{msgid:"No files in here",msgstr:["No hi ha cap fitxer"]},{msgid:"No files matching your filter were found.",msgstr:["No s'ha trobat cap fitxer que coincideixi amb el filtre."]},{msgid:"No matching files",msgstr:["No hi ha cap fitxer que coincideixi"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Si us plau, escriu un nom amb 2 car\xe0cters com a m\xednim."]},{msgid:"Recent",msgstr:["Recents"]},{msgid:"Select all checkboxes",msgstr:["Selecciona totes les caselles de selecci\xf3"]},{msgid:"Select all entries",msgstr:["Selecciona totes les entrades"]},{msgid:"Select all existing files",msgstr:["Selecciona tots els fitxers existents"]},{msgid:"Select all new files",msgstr:["Selecciona tots els fitxers nous"]},{msgid:"Select entry",msgstr:["Selecciona l'entrada"]},{msgid:"Select the row for {nodename}",msgstr:["Selecciona la fila per a {nodename}"]},{msgid:"Size",msgstr:["Mida"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Omet %n fitxer","Omet %n fitxers"]},{msgid:"Skip this file",msgstr:["Omet aquest fitxer"]},{msgid:"Submit name",msgstr:["Entreu el nom"]},{msgid:"Undo",msgstr:["Desf\xe9s"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Pugeu contingut o sincronitzeu-lo amb els vostres dispositius!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Quan es selecciona una carpeta entrant, tamb\xe9 se sobreescriuran els fitxers que hi entrin en conflicte."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Quan es selecciona una carpeta entrant, el contingut s'escriu a la carpeta existent i es realitza una resoluci\xf3 recursiva de conflictes."]},{msgid:"Which files do you want to keep?",msgstr:["Quins fitxers voleu conservar?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Actualment se us mostra com a {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Actualment no esteu identificat."]},{msgid:"You cannot leave the name empty.",msgstr:["No podeu deixar el nom buit."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Heu de triar com a m\xednim una soluci\xf3 de conflicte"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Heu de seleccionar com a m\xednim una versi\xf3 de cada fitxer per continuar."]}]},{language:"cs_CZ",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:["„{char}“ nen\xed možn\xe9 použ\xedt uvnitř n\xe1zvu."]},{msgid:'"{extension}" is not an allowed name.',msgstr:["„{extension}“ nen\xed možn\xe9 použ\xedt jako n\xe1zev."]},{msgid:'"{name}" is an invalid folder name.',msgstr:["„{name}“ nen\xed platn\xfd n\xe1zev složky."]},{msgid:'"{name}" is not an allowed folder name',msgstr:["„{name}“ nen\xed povolen\xfd n\xe1zev složky."]},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:["„{segment}“ je vyhrazen\xfdm n\xe1zvem a nen\xed možn\xe9 ho použ\xedt."]},{msgid:'"/" is not allowed inside a folder name.',msgstr:["znak „/“ (dopředn\xe9 lom\xedtko) nen\xed možn\xe9 použ\xedt uvnitř n\xe1zvu složky."]},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n kolize souboru","%n kolize souborů","%n koliz\xed souborů","%n kolize souborů"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n kolize souborů v {dirname}","%n kolize souborů v {dirname}","%n koliz\xed souborů v {dirname}","%n kolize souborů v {dirname}"]},{msgid:"All files",msgstr:["Vešker\xe9 soubory"]},{msgid:"Cancel",msgstr:["Storno"]},{msgid:"Cancel the entire operation",msgstr:["Zrušit celou operaci"]},{msgid:"Choose",msgstr:["Zvolit"]},{msgid:"Choose {file}",msgstr:["Zvolit {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Zvolte %n soubor","Zvolte %n soubory","Zvolte %n souborů","Zvolte %n soubory"]},{msgid:"Confirm",msgstr:["Potvrdit"]},{msgid:"Continue",msgstr:["Pokračovat"]},{msgid:"Copy",msgstr:["Zkop\xedrovat"]},{msgid:"Copy to {target}",msgstr:["Zkop\xedrovat do {target}"]},{msgid:"Could not create the new folder",msgstr:["Novou složku se nepodařilo vytvořit"]},{msgid:"Could not load files settings",msgstr:["Nepodařilo se nač\xedst nastaven\xed pro soubory"]},{msgid:"Could not load files views",msgstr:["Nepodařilo se nač\xedst pohledy souborů"]},{msgid:"Create directory",msgstr:["Vytvořit složku"]},{msgid:"Current view selector",msgstr:["V\xfdběr st\xe1vaj\xedc\xedho zobrazen\xed"]},{msgid:"Enter your name",msgstr:["Zadejte sv\xe9 jm\xe9no"]},{msgid:"Existing version",msgstr:["Existuj\xedc\xed verze"]},{msgid:"Failed to set nickname.",msgstr:["Nepodařilo se nastavit přezd\xedvku."]},{msgid:"Favorites",msgstr:["Obl\xedben\xe9"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Zde se zobraz\xed soubory a složky, kter\xe9 označ\xedte jako obl\xedben\xe9."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Zde se zobraz\xed soubory a složky, kter\xe9 jste ned\xe1vno pozměnili."]},{msgid:"Filter file list",msgstr:["Filtrovat seznam souborů"]},{msgid:"Folder name cannot be empty.",msgstr:["Složku je třeba nějak nazvat."]},{msgid:"Guest identification",msgstr:["Identifikace hosta"]},{msgid:"Home",msgstr:["Domů"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Pokud vyberete obě verze, pak k n\xe1zvu př\xedchoz\xedho souboru bude přid\xe1no č\xedslo."]},{msgid:"Invalid name.",msgstr:["Neplatn\xfd n\xe1zev."]},{msgid:"Last modified date unknown",msgstr:["Datum posledn\xed změny nezn\xe1m\xe9"]},{msgid:"Modified",msgstr:["Změněno"]},{msgid:"Move",msgstr:["Přesounout"]},{msgid:"Move to {target}",msgstr:["Přesunout do {target}"]},{msgid:"Name",msgstr:["N\xe1zev"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Je třeba, aby d\xe9lka jmen nepřesahovala 64 znaků."]},{msgid:"Names must not be empty.",msgstr:["N\xe1zvy je třeba vyplnit."]},{msgid:'Names must not end with "{extension}".',msgstr:["N\xe1zvy nemohou končit na „{extension}“."]},{msgid:"Names must not start with a dot.",msgstr:["N\xe1zvy nemohou zač\xednat tečkou."]},{msgid:"New",msgstr:["Nov\xe9"]},{msgid:"New folder",msgstr:["Nov\xe1 složka"]},{msgid:"New folder name",msgstr:["N\xe1zev pro novou složku"]},{msgid:"New version",msgstr:["Nov\xe1 verze"]},{msgid:"No files in here",msgstr:["Nejsou zde ž\xe1dn\xe9 soubory"]},{msgid:"No files matching your filter were found.",msgstr:["Nenalezeny ž\xe1dn\xe9 soubory odpov\xeddaj\xedc\xed vašemu filtru"]},{msgid:"No matching files",msgstr:["Ž\xe1dn\xe9 odpov\xeddaj\xedc\xed soubory"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Zadejte jm\xe9no dlouh\xe9 alespoň 2 znaky."]},{msgid:"Recent",msgstr:["Ned\xe1vn\xe9"]},{msgid:"Select all checkboxes",msgstr:["Vybrat všechny zaškrt\xe1vac\xed kolonky"]},{msgid:"Select all entries",msgstr:["Vybrat všechny položky"]},{msgid:"Select all existing files",msgstr:["Vybrat všechny existuj\xedc\xed soubory"]},{msgid:"Select all new files",msgstr:["Vybrat všechny nov\xe9 soubory"]},{msgid:"Select entry",msgstr:["Vybrat položku"]},{msgid:"Select the row for {nodename}",msgstr:["Vybrat ř\xe1dek pro {nodename}"]},{msgid:"Size",msgstr:["Velikost"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Přeskočit %n soubor","Přeskočit %n soubory","Přeskočit %n souborů","Přeskočit %n soubory"]},{msgid:"Skip this file",msgstr:["Přeskočit tento soubor"]},{msgid:"Submit name",msgstr:["Odeslat jm\xe9no"]},{msgid:"Undo",msgstr:["Zpět"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Nahrajte sem nějak\xfd obsah nebo proveďte synchronizaci se sv\xfdmi zař\xedzen\xedmi!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Pokud je vybr\xe1na př\xedchoz\xed složka, budou v n\xed tak\xe9 přeps\xe1ny jak\xe9koli koliduj\xedc\xed soubory."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Pokud je vybr\xe1na př\xedchoz\xed složka, je obsah zaps\xe1n do existuj\xedc\xed složky a je provedeno rekurzivn\xed vyřešen\xed koliz\xed."]},{msgid:"Which files do you want to keep?",msgstr:["Kter\xe9 soubory chcete ponechat?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["V tuto chv\xedli jste identifikov\xe1ni jako {nickname}."]},{msgid:"You are currently not identified.",msgstr:["V tuto chv\xedli nejste identifikovan\xed."]},{msgid:"You cannot leave the name empty.",msgstr:["Jm\xe9no nelze ponechat nevyplněn\xe9."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Je třeba zvolit alespoň jedno z řešen\xed kolize"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Aby bylo možn\xe9 pokračovat, je třeba vybrat alespoň jednu verzi od každ\xe9ho souboru."]}]},{language:"da",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" er ikke tilladt i et navn.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" er ikke tilladt i et navn.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" er et ugyldigt mappenavn.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" er ikke et tilladt mappenavn']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" er et reserveret navn og er derfor ikke tilladt.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" er ikke tilladt i et mappenavn.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n filkonflikt","%n filer konflikter"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n filkonflikt i {dirname}","%n filkonflikter i {dirname}"]},{msgid:"All files",msgstr:["Alle filer"]},{msgid:"Cancel",msgstr:["Fortryd"]},{msgid:"Cancel the entire operation",msgstr:["Annull\xe9r hele operationen"]},{msgid:"Choose",msgstr:["V\xe6lg"]},{msgid:"Choose {file}",msgstr:["V\xe6lg {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["V\xe6lg %n fil","V\xe6lg %n filer"]},{msgid:"Confirm",msgstr:["Bekr\xe6ft"]},{msgid:"Continue",msgstr:["Forts\xe6t"]},{msgid:"Copy",msgstr:["Kopier"]},{msgid:"Copy to {target}",msgstr:["Kopier til {target}"]},{msgid:"Could not create the new folder",msgstr:["Kunne ikke oprette den nye mappe"]},{msgid:"Could not load files settings",msgstr:["Filindstillingerne kunne ikke indl\xe6ses"]},{msgid:"Could not load files views",msgstr:["Kunne ikke indl\xe6se filvisninger"]},{msgid:"Create directory",msgstr:["Opret mappe"]},{msgid:"Current view selector",msgstr:["Aktuel visningsv\xe6lger"]},{msgid:"Enter your name",msgstr:["Indtast dit navn"]},{msgid:"Existing version",msgstr:["Eksisterende version"]},{msgid:"Failed to set nickname.",msgstr:["Fors\xf8g p\xe5 at gemme kaldenavn mislykkedes."]},{msgid:"Favorites",msgstr:["Favoritter"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Filer og mapper, du markerer som foretrukne, vises her."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Filer og mapper, du for nylig har \xe6ndret, vises her."]},{msgid:"Filter file list",msgstr:["Filtrer fil liste"]},{msgid:"Folder name cannot be empty.",msgstr:["Mappenavnet m\xe5 ikke v\xe6re tomt."]},{msgid:"Guest identification",msgstr:["G\xe6steidentifikation"]},{msgid:"Home",msgstr:["Hjem"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Hvis du v\xe6lger begge versioner, vil den indkommende fil have et nummer tilf\xf8jet til sit navn."]},{msgid:"Invalid name.",msgstr:["Ugyldigt navn."]},{msgid:"Last modified date unknown",msgstr:["Senest \xe6ndret dato ukendt"]},{msgid:"Modified",msgstr:["\xc6ndret"]},{msgid:"Move",msgstr:["Flyt"]},{msgid:"Move to {target}",msgstr:["Flyt til {target}"]},{msgid:"Name",msgstr:["Navn"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Navne kan h\xf8jst v\xe6re 64 tegn lange."]},{msgid:"Names must not be empty.",msgstr:["Navne kan ikke v\xe6re tomt."]},{msgid:'Names must not end with "{extension}".',msgstr:['Navne m\xe5 ikke ende p\xe5 "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Navne skal starte med et punktum."]},{msgid:"New",msgstr:["Ny"]},{msgid:"New folder",msgstr:["Ny mappe"]},{msgid:"New folder name",msgstr:["Ny mappe navn"]},{msgid:"New version",msgstr:["Ny version"]},{msgid:"No files in here",msgstr:["Ingen filer here"]},{msgid:"No files matching your filter were found.",msgstr:["Der blev ikke fundet nogen filer, der matcher dit filter."]},{msgid:"No matching files",msgstr:["Ingen matchende filer"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Indtast et navn med mindst 2 tegn."]},{msgid:"Recent",msgstr:["Seneste"]},{msgid:"Select all checkboxes",msgstr:["Mark\xe9r alle afkrydsningsfelter"]},{msgid:"Select all entries",msgstr:["V\xe6lg alle poster"]},{msgid:"Select all existing files",msgstr:["V\xe6lg alle eksisterende filer"]},{msgid:"Select all new files",msgstr:["V\xe6lg alle nye filer"]},{msgid:"Select entry",msgstr:["V\xe6lg post"]},{msgid:"Select the row for {nodename}",msgstr:["V\xe6lg r\xe6kken for {nodenavn}"]},{msgid:"Size",msgstr:["St\xf8relse"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Spring %n fil over","Spring %n filer over"]},{msgid:"Skip this file",msgstr:["Spring denne fil over"]},{msgid:"Submit name",msgstr:["Indsend navn"]},{msgid:"Undo",msgstr:["Fortryd"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Upload noget indhold eller synkroniser med dine enheder!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["N\xe5r en indkommende mappe er valgt, vil eventuelle modstridende filer i det ogs\xe5 blive overskrevet."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["N\xe5r en indkommende mappe er valgt, er indholdet skrevet ind i den eksisterende mappe og en rekursiv konfliktl\xf8sning udf\xf8res."]},{msgid:"Which files do you want to keep?",msgstr:["Hvilke filer vil du have?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Du er i \xf8jeblikket identificeret som {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Du er ikke identificeret."]},{msgid:"You cannot leave the name empty.",msgstr:["Du kan ikke efterlade navnet tomt."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Du skal v\xe6lge mindst \xe9n konfliktl\xf8sning"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Du skal v\xe6lge mindst \xe9n version af hver fil for at forts\xe6tte."]}]},{language:"de",translations:[{msgid:'"{char}" is not allowed inside a folder name.',msgstr:['"{char}" ist innerhalb eines Ordnernamens nicht zul\xe4ssig.']},{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" ist innerhalb eines Namens nicht zul\xe4ssig.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" ist kein zul\xe4ssiger Name.']},{msgid:'"{segment}" is a reserved name and not allowed for folder names.',msgstr:['"{segment}" ist ein reservierter Name und nicht zul\xe4ssig f\xfcr Ordnernamen.']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" ist ein reservierter Name und nicht zul\xe4ssig.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n Dateikonflikt","%n Dateikonflikte"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n Dateikonflikt in {dirname}","%n Dateikonflikte in {dirname}"]},{msgid:"All files",msgstr:["Alle Dateien"]},{msgid:"Cancel",msgstr:["Abbrechen"]},{msgid:"Cancel the entire operation",msgstr:["Den gesamten Vorgang abbrechen"]},{msgid:"Choose",msgstr:["Ausw\xe4hlen"]},{msgid:"Choose {file}",msgstr:["{file} ausw\xe4hlen"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["%n Datei ausw\xe4hlen","%n Dateien ausw\xe4hlen"]},{msgid:"Confirm",msgstr:["Best\xe4tigen"]},{msgid:"Continue",msgstr:["Fortsetzen"]},{msgid:"Copy",msgstr:["Kopieren"]},{msgid:"Copy to {target}",msgstr:["Nach {target} kopieren"]},{msgid:"Could not create the new folder",msgstr:["Der neue Ordner konnte nicht erstellt werden"]},{msgid:"Could not load files settings",msgstr:["Dateieinstellungen konnten nicht geladen werden"]},{msgid:"Could not load files views",msgstr:["Dateiansichten konnten nicht geladen werden"]},{msgid:"Create directory",msgstr:["Verzeichnis erstellen"]},{msgid:"Current view selector",msgstr:["Aktuelle Ansichtsauswahl"]},{msgid:"Enter your name",msgstr:["Gib deinen Namen ein"]},{msgid:"Existing version",msgstr:["Vorhandene Version"]},{msgid:"Failed to set nickname.",msgstr:["Spitzname konnte nicht gespeichert werden."]},{msgid:"Favorites",msgstr:["Favoriten"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Dateien und Ordner, die du als Favorit markierst, werden hier angezeigt."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Dateien und Ordner, die du k\xfcrzlich ge\xe4ndert hast, werden hier angezeigt."]},{msgid:"Filter file list",msgstr:["Dateiliste filtern"]},{msgid:'Folder names must not end with "{extension}".',msgstr:['Ordnernamen d\xfcrfen nicht mit "{extension}" enden.']},{msgid:"Guest identification",msgstr:["Gast-Identifikation"]},{msgid:"Home",msgstr:["Home"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Wenn beide Versionen ausgew\xe4hlt werden, wird dem Namen der eingehenden Datei eine Nummer hinzugef\xfcgt."]},{msgid:"Invalid folder name.",msgstr:["Ung\xfcltiger Ordnername."]},{msgid:"Invalid name.",msgstr:["Ung\xfcltiger Name."]},{msgid:"Last modified date unknown",msgstr:["Datum der letzten \xc4nderung unbekannt"]},{msgid:"Modified",msgstr:["Ge\xe4ndert"]},{msgid:"Move",msgstr:["Verschieben"]},{msgid:"Move to {target}",msgstr:["Nach {target} verschieben"]},{msgid:"Name",msgstr:["Name"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Namen d\xfcrfen maximal 64 Zeichen lang sein."]},{msgid:"Names must not be empty.",msgstr:["Namen d\xfcrfen nicht leer sein."]},{msgid:'Names must not end with "{extension}".',msgstr:['Namen d\xfcrfen nicht mit "{extension}" enden.']},{msgid:"Names must not start with a dot.",msgstr:["Namen d\xfcrfen nicht mit einem Punkt beginnen."]},{msgid:"New",msgstr:["Neu"]},{msgid:"New folder",msgstr:["Neuer Ordner"]},{msgid:"New folder name",msgstr:["Neuer Ordnername"]},{msgid:"New version",msgstr:["Neue Version"]},{msgid:"No files in here",msgstr:["Hier sind keine Dateien"]},{msgid:"No files matching your filter were found.",msgstr:["Es wurden keine Dateien gefunden, die deinem Filter entsprechen."]},{msgid:"No matching files",msgstr:["Keine passenden Dateien"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Bitte einen Namen mit mindestens zwei Zeichen eingeben."]},{msgid:"Recent",msgstr:["Neueste"]},{msgid:"Select all checkboxes",msgstr:["Alle Kontrollk\xe4stchen aktivieren"]},{msgid:"Select all entries",msgstr:["Alle Eintr\xe4ge ausw\xe4hlen"]},{msgid:"Select all existing files",msgstr:["Alle vorhandenen Dateien ausw\xe4hlen"]},{msgid:"Select all new files",msgstr:["Alle neuen Dateien ausw\xe4hlen"]},{msgid:"Select entry",msgstr:["Eintrag ausw\xe4hlen"]},{msgid:"Select the row for {nodename}",msgstr:["Die Zeile f\xfcr {nodename} ausw\xe4hlen."]},{msgid:"Size",msgstr:["Gr\xf6\xdfe"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["%n Datei \xfcberspringen","%n Dateien \xfcberspringen"]},{msgid:"Skip this file",msgstr:["Diese Datei \xfcberspringen"]},{msgid:"Submit name",msgstr:["Namen senden"]},{msgid:"Undo",msgstr:["R\xfcckg\xe4ngig machen"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Lade Inhalte hoch oder synchronisiere diese mit deinen Ger\xe4ten!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Wenn ein eingehender Ordner ausgew\xe4hlt wird, werden auch alle darin enthaltenen Dateien mit Konflikten \xfcberschrieben."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Bei Auswahl eines eingehenden Ordners wird der Inhalt in den vorhandenen Ordner geschrieben und eine rekursive Konfliktl\xf6sung durchgef\xfchrt."]},{msgid:"Which files do you want to keep?",msgstr:["Welche Dateien sollen behalten werden?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Du bist derzeit als {nickname} identifiziert."]},{msgid:"You are currently not identified.",msgstr:["Du bist momentan nicht identifiziert."]},{msgid:"You cannot leave the name empty.",msgstr:["Du kannst den Namen nicht leer lassen."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Es muss mindestens eine Konfliktl\xf6sung gew\xe4hlt werden"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Es muss mindestens eine Version jeder Datei ausgew\xe4hlt werden, um fortzufahren."]}]},{language:"de_DE",translations:[{msgid:'"{char}" is not allowed inside a folder name.',msgstr:['"{char}" ist innerhalb eines Ordnernamens nicht zul\xe4ssig.']},{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" ist innerhalb eines Namens nicht zul\xe4ssig.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" ist kein zul\xe4ssiger Name.']},{msgid:'"{segment}" is a reserved name and not allowed for folder names.',msgstr:['"{segment}" ist ein reservierter Name und nicht zul\xe4ssig f\xfcr Ordnernamen.']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" ist ein reservierter Name und nicht zul\xe4ssig.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n Dateikonflikt","%n Dateikonflikte"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n Dateikonflikt in {dirname}","%n Dateikonflikte in {dirname}"]},{msgid:"All files",msgstr:["Alle Dateien"]},{msgid:"Cancel",msgstr:["Abbrechen"]},{msgid:"Cancel the entire operation",msgstr:["Den gesamten Vorgang abbrechen"]},{msgid:"Choose",msgstr:["Ausw\xe4hlen"]},{msgid:"Choose {file}",msgstr:["{file} ausw\xe4hlen"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["%n Datei ausw\xe4hlen","%n Dateien ausw\xe4hlen"]},{msgid:"Confirm",msgstr:["Best\xe4tigen"]},{msgid:"Continue",msgstr:["Fortsetzen"]},{msgid:"Copy",msgstr:["Kopieren"]},{msgid:"Copy to {target}",msgstr:["Nach {target} kopieren"]},{msgid:"Could not create the new folder",msgstr:["Der neue Ordner konnte nicht erstellt werden"]},{msgid:"Could not load files settings",msgstr:["Dateieinstellungen konnten nicht geladen werden"]},{msgid:"Could not load files views",msgstr:["Dateiansichten konnten nicht geladen werden"]},{msgid:"Create directory",msgstr:["Verzeichnis erstellen"]},{msgid:"Current view selector",msgstr:["Aktuelle Ansichtsauswahl"]},{msgid:"Enter your name",msgstr:["Geben Sie Ihren Namen ein"]},{msgid:"Existing version",msgstr:["Vorhandene Version"]},{msgid:"Failed to set nickname.",msgstr:["Spitzname konnte nicht gespeichert werden."]},{msgid:"Favorites",msgstr:["Favoriten"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Dateien und Ordner, die Sie als Favorit markieren, werden hier angezeigt."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Dateien und Ordner, die Sie k\xfcrzlich ge\xe4ndert haben, werden hier angezeigt."]},{msgid:"Filter file list",msgstr:["Dateiliste filtern"]},{msgid:'Folder names must not end with "{extension}".',msgstr:['Ordnernamen d\xfcrfen nicht mit "{extension}" enden.']},{msgid:"Guest identification",msgstr:["Gast-Identifikation"]},{msgid:"Home",msgstr:["Home"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Wenn beide Versionen ausgew\xe4hlt werden, wird dem Namen der eingehenden Datei eine Nummer hinzugef\xfcgt."]},{msgid:"Invalid folder name.",msgstr:["Ung\xfcltiger Ordnername."]},{msgid:"Invalid name.",msgstr:["Ung\xfcltiger Name."]},{msgid:"Last modified date unknown",msgstr:["Datum der letzten \xc4nderung unbekannt"]},{msgid:"Modified",msgstr:["Ge\xe4ndert"]},{msgid:"Move",msgstr:["Verschieben"]},{msgid:"Move to {target}",msgstr:["Nach {target} verschieben"]},{msgid:"Name",msgstr:["Name"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Namen d\xfcrfen maximal 64 Zeichen lang sein."]},{msgid:"Names must not be empty.",msgstr:["Namen d\xfcrfen nicht leer sein."]},{msgid:'Names must not end with "{extension}".',msgstr:['Namen d\xfcrfen nicht mit "{extension}" enden.']},{msgid:"Names must not start with a dot.",msgstr:["Namen d\xfcrfen nicht mit einem Punkt beginnen."]},{msgid:"New",msgstr:["Neu"]},{msgid:"New folder",msgstr:["Neuer Ordner"]},{msgid:"New folder name",msgstr:["Neuer Ordnername"]},{msgid:"New version",msgstr:["Neue Version"]},{msgid:"No files in here",msgstr:["Hier sind keine Dateien"]},{msgid:"No files matching your filter were found.",msgstr:["Es wurden keine Dateien gefunden, die Ihrem Filter entsprechen."]},{msgid:"No matching files",msgstr:["Keine passenden Dateien"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Bitte einen Namen mit mindestens zwei Zeichen eingeben."]},{msgid:"Recent",msgstr:["Neueste"]},{msgid:"Select all checkboxes",msgstr:["Alle Kontrollk\xe4stchen aktivieren"]},{msgid:"Select all entries",msgstr:["Alle Eintr\xe4ge ausw\xe4hlen"]},{msgid:"Select all existing files",msgstr:["Alle vorhandenen Dateien ausw\xe4hlen"]},{msgid:"Select all new files",msgstr:["Alle neuen Dateien ausw\xe4hlen"]},{msgid:"Select entry",msgstr:["Eintrag ausw\xe4hlen"]},{msgid:"Select the row for {nodename}",msgstr:["Die Zeile f\xfcr {nodename} ausw\xe4hlen."]},{msgid:"Size",msgstr:["Gr\xf6\xdfe"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["%n Datei \xfcberspringen","%n Dateien \xfcberspringen"]},{msgid:"Skip this file",msgstr:["Diese Datei \xfcberspringen"]},{msgid:"Submit name",msgstr:["Namen senden"]},{msgid:"Undo",msgstr:["R\xfcckg\xe4ngig machen"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Laden Sie Inhalte hoch oder synchronisieren Sie diese mit Ihren Ger\xe4ten!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Wenn ein eingehender Ordner ausgew\xe4hlt wird, werden auch alle darin enthaltenen Dateien mit Konflikten \xfcberschrieben."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Bei Auswahl eines eingehenden Ordners wird der Inhalt in den vorhandenen Ordner geschrieben und eine rekursive Konfliktl\xf6sung durchgef\xfchrt."]},{msgid:"Which files do you want to keep?",msgstr:["Welche Dateien sollen behalten werden?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Sie sind derzeit als {nickname} identifiziert."]},{msgid:"You are currently not identified.",msgstr:["Sie sind momentan nicht identifiziert."]},{msgid:"You cannot leave the name empty.",msgstr:["Sie k\xf6nnen den Namen nicht leer lassen."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Es muss mindestens eine Konfliktl\xf6sung gew\xe4hlt werden"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Es muss mindestens eine Version jeder Datei ausgew\xe4hlt werden, um fortzufahren."]}]},{language:"el",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" δεν επιτρέπεται μέσα σε ένα όνομα.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" δεν είναι επιτρεπτό όνομα.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['Το "{name}" δεν είναι έγκυρο όνομα φακέλου.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['Το "{name}" δεν είναι επιτρεπτό όνομα φακέλου']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" είναι ένα δεσμευμένο όνομα και δεν επιτρέπεται.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['Το "/" δεν επιτρέπεται μέσα στο όνομα ενός φακέλου.']},{msgid:"All files",msgstr:["Όλα τα αρχεία"]},{msgid:"Cancel",msgstr:["Ακύρωση"]},{msgid:"Choose",msgstr:["Επιλογή"]},{msgid:"Choose {file}",msgstr:["Επιλέξτε {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Επιλέξτε %n αρχείο","Επιλέξτε %n αρχεία"]},{msgid:"Copy",msgstr:["Αντιγραφή"]},{msgid:"Copy to {target}",msgstr:["Αντιγραφή στο {target}"]},{msgid:"Could not create the new folder",msgstr:["Αδυναμία δημιουργίας νέου φακέλου"]},{msgid:"Could not load files settings",msgstr:["Αδυναμία φόρτωσης ρυθμίσεων αρχείων"]},{msgid:"Could not load files views",msgstr:["Αδυναμία φόρτωσης προβολών αρχείων"]},{msgid:"Create directory",msgstr:["Δημιουργία καταλόγου"]},{msgid:"Current view selector",msgstr:["Επιλογέας τρέχουσας προβολής"]},{msgid:"Enter your name",msgstr:["Εισάγετε το όνομά σας"]},{msgid:"Failed to set nickname.",msgstr:["Αποτυχία στην ρύθμιση του ψευδώνυμου."]},{msgid:"Favorites",msgstr:["Αγαπημένα"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Τα αρχεία και οι φάκελοι που επισημάνετε ως αγαπημένα θα εμφανίζονται εδώ."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Τα αρχεία και οι φάκελοι που τροποποιήσατε πρόσφατα θα εμφανίζονται εδώ."]},{msgid:"Filter file list",msgstr:["Φιλτράρισμα λίστας αρχείων"]},{msgid:"Folder name cannot be empty.",msgstr:["Το όνομα του φακέλου δεν μπορεί να είναι κενό."]},{msgid:"Guest identification",msgstr:["Ταυτοποίηση επισκέπτη"]},{msgid:"Home",msgstr:["Αρχική"]},{msgid:"Invalid name.",msgstr:["Μη έγκυρο όνομα."]},{msgid:"Modified",msgstr:["Τροποποιήθηκε"]},{msgid:"Move",msgstr:["Μετακίνηση"]},{msgid:"Move to {target}",msgstr:["Μετακίνηση στο {target}"]},{msgid:"Name",msgstr:["Όνομα"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Τα ονόματα μπορούν να έχουν μέγιστο μήκος 64 χαρακτήρες."]},{msgid:"Names must not be empty.",msgstr:["Τα ονόματα δεν πρέπει να είναι κενά."]},{msgid:'Names must not end with "{extension}".',msgstr:['Τα ονόματα δεν πρέπει να τελειώνουν με "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Τα ονόματα δεν πρέπει να ξεκινούν με τελεία."]},{msgid:"New",msgstr:["Νέο"]},{msgid:"New folder",msgstr:["Νέος φάκελος"]},{msgid:"New folder name",msgstr:["Όνομα νέου φακέλου"]},{msgid:"No files in here",msgstr:["Δεν υπάρχουν αρχεία εδώ"]},{msgid:"No files matching your filter were found.",msgstr:["Δεν βρέθηκαν αρχεία που να ταιριάζουν με το φίλτρο σας."]},{msgid:"No matching files",msgstr:["Κανένα αρχείο δεν ταιριάζει"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Παρακαλώ εισάγετε ένα όνομα με τουλάχιστον 2 χαρακτήρες."]},{msgid:"Recent",msgstr:["Πρόσφατα"]},{msgid:"Select all entries",msgstr:["Επιλογή όλων των εγγραφών"]},{msgid:"Select entry",msgstr:["Επιλογή εγγραφής"]},{msgid:"Select the row for {nodename}",msgstr:["Επιλέξτε τη γραμμή για το {nodename}"]},{msgid:"Size",msgstr:["Μέγεθος"]},{msgid:"Submit name",msgstr:["Υποβολή ονόματος"]},{msgid:"Undo",msgstr:["Αναίρεση"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Ανεβάστε κάποιο περιεχόμενο ή συγχρονίστε με τις συσκευές σας!"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Αυτή τη στιγμή έχετε αναγνωριστεί ως {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Δεν έχετε ταυτοποιηθεί."]},{msgid:"You cannot leave the name empty.",msgstr:["Δεν μπορείτε να αφήσετε το όνομα κενό."]}]},{language:"en_GB",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" is not allowed inside a name.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" is not an allowed name.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" is an invalid folder name.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" is not an allowed folder name']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" is a reserved name and not allowed.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" is not allowed inside a folder name.']},{msgid:"All files",msgstr:["All files"]},{msgid:"Cancel",msgstr:["Cancel"]},{msgid:"Choose",msgstr:["Choose"]},{msgid:"Choose {file}",msgstr:["Choose {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Choose %n file","Choose %n files"]},{msgid:"Copy",msgstr:["Copy"]},{msgid:"Copy to {target}",msgstr:["Copy to {target}"]},{msgid:"Could not create the new folder",msgstr:["Could not create the new folder"]},{msgid:"Could not load files settings",msgstr:["Could not load files settings"]},{msgid:"Could not load files views",msgstr:["Could not load files views"]},{msgid:"Create directory",msgstr:["Create directory"]},{msgid:"Current view selector",msgstr:["Current view selector"]},{msgid:"Enter your name",msgstr:["Enter your name"]},{msgid:"Failed to set nickname.",msgstr:["Failed to set nickname."]},{msgid:"Favorites",msgstr:["Favourites"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Files and folders you mark as favourite will show up here."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Files and folders you recently modified will show up here."]},{msgid:"Filter file list",msgstr:["Filter file list"]},{msgid:"Folder name cannot be empty.",msgstr:["Folder name cannot be empty."]},{msgid:"Guest identification",msgstr:["Guest identification"]},{msgid:"Home",msgstr:["Home"]},{msgid:"Invalid name.",msgstr:["Invalid name."]},{msgid:"Modified",msgstr:["Modified"]},{msgid:"Move",msgstr:["Move"]},{msgid:"Move to {target}",msgstr:["Move to {target}"]},{msgid:"Name",msgstr:["Name"]},{msgid:"Names must not be empty.",msgstr:["Names must not be empty."]},{msgid:'Names must not end with "{extension}".',msgstr:['Names must not end with "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Names must not start with a dot."]},{msgid:"New",msgstr:["New"]},{msgid:"New folder",msgstr:["New folder"]},{msgid:"New folder name",msgstr:["New folder name"]},{msgid:"No files in here",msgstr:["No files in here"]},{msgid:"No files matching your filter were found.",msgstr:["No files matching your filter were found."]},{msgid:"No matching files",msgstr:["No matching files"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Please enter a name with at least 2 characters."]},{msgid:"Recent",msgstr:["Recent"]},{msgid:"Select all entries",msgstr:["Select all entries"]},{msgid:"Select entry",msgstr:["Select entry"]},{msgid:"Select the row for {nodename}",msgstr:["Select the row for {nodename}"]},{msgid:"Size",msgstr:["Size"]},{msgid:"Submit name",msgstr:["Submit name"]},{msgid:"Undo",msgstr:["Undo"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Upload some content or sync with your devices!"]},{msgid:"You are currently not identified.",msgstr:["You are currently not identified."]},{msgid:"You cannot leave the name empty.",msgstr:["You cannot leave the name empty."]}]},{language:"es",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" no est\xe1 permitido dentro de un nombre.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" no es un nombre permitido.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" es un nombre de carpeta no v\xe1lido.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" no es un nombre de carpeta permitido']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" es un nombre reservado y no est\xe1 permitido.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" no est\xe1 permitido dentro del nombre de una carpeta.']},{msgid:"All files",msgstr:["Todos los archivos"]},{msgid:"Cancel",msgstr:["Cancelar"]},{msgid:"Choose",msgstr:["Seleccionar"]},{msgid:"Choose {file}",msgstr:["Seleccionar {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Elige %n archivo","Elige %n archivos","Seleccione %n archivos"]},{msgid:"Copy",msgstr:["Copiar"]},{msgid:"Copy to {target}",msgstr:["Copiar a {target}"]},{msgid:"Could not create the new folder",msgstr:["No se pudo crear la nueva carpeta"]},{msgid:"Could not load files settings",msgstr:["No se pudieron cargar los ajustes de archivos"]},{msgid:"Could not load files views",msgstr:["No se pudieron cargar las vistas de los archivos"]},{msgid:"Create directory",msgstr:["Crear directorio"]},{msgid:"Current view selector",msgstr:["Selector de vista actual"]},{msgid:"Enter your name",msgstr:["Ingrese su nombre"]},{msgid:"Failed to set nickname.",msgstr:["Fallo al establecer apodo."]},{msgid:"Favorites",msgstr:["Favoritos"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Los archivos y carpetas que marque como favoritos aparecer\xe1n aqu\xed."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Los archivos y carpetas que modific\xf3 recientemente aparecer\xe1n aqu\xed."]},{msgid:"Filter file list",msgstr:["Filtrar lista de archivos"]},{msgid:"Folder name cannot be empty.",msgstr:["El nombre de la carpeta no puede estar vac\xedo."]},{msgid:"Guest identification",msgstr:["Identificaci\xf3n de invitado"]},{msgid:"Home",msgstr:["Inicio"]},{msgid:"Invalid name.",msgstr:["Nombre inv\xe1lido."]},{msgid:"Modified",msgstr:["Modificado"]},{msgid:"Move",msgstr:["Mover"]},{msgid:"Move to {target}",msgstr:["Mover a {target}"]},{msgid:"Name",msgstr:["Nombre"]},{msgid:"Names must not be empty.",msgstr:["Los nombres no deben estar vac\xedos."]},{msgid:'Names must not end with "{extension}".',msgstr:['Los nombres no deben terminar con "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Los nombres no deben iniciar con un punto."]},{msgid:"New",msgstr:["Nuevo"]},{msgid:"New folder",msgstr:[" Nueva carpeta"]},{msgid:"New folder name",msgstr:["Nuevo nombre de carpeta"]},{msgid:"No files in here",msgstr:["No hay archivos aqu\xed"]},{msgid:"No files matching your filter were found.",msgstr:["No se encontraron archivos que coincidiesen con su filtro."]},{msgid:"No matching files",msgstr:["No hay archivos coincidentes"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Por favor, ingrese un nombre con al menos 2 caracteres."]},{msgid:"Recent",msgstr:["Reciente"]},{msgid:"Select all entries",msgstr:["Seleccionar todas las entradas"]},{msgid:"Select entry",msgstr:["Seleccionar entrada"]},{msgid:"Select the row for {nodename}",msgstr:["Seleccione la fila para {nodename}"]},{msgid:"Size",msgstr:["Tama\xf1o"]},{msgid:"Submit name",msgstr:["Enviar nombre"]},{msgid:"Undo",msgstr:["Deshacer"]},{msgid:"Upload some content or sync with your devices!",msgstr:["\xa1Cargue alg\xfan contenido o sincronice con sus dispositivos!"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Ud. se encuentra identificado actualmente como {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Ud. no se encuentra identificado actualmente."]},{msgid:"You cannot leave the name empty.",msgstr:["No puede dejar el nombre vac\xedo."]}]},{language:"es_AR",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" es un nombre de carpeta inv\xe1lido.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" no es un nombre de carpeta permitido']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" no est\xe1 permitido en el nombre de una carpeta.']},{msgid:"All files",msgstr:["Todos los archivos"]},{msgid:"Choose",msgstr:["Elegir"]},{msgid:"Choose {file}",msgstr:["Elija {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Elija %n archivo","Elija %n archivos","Elija %n archivos"]},{msgid:"Copy",msgstr:["Copiar"]},{msgid:"Copy to {target}",msgstr:["Copiar a {target}"]},{msgid:"Could not create the new folder",msgstr:["No se pudo crear la nueva carpeta"]},{msgid:"Could not load files settings",msgstr:["No se pudo cargar la configuraci\xf3n de archivos"]},{msgid:"Could not load files views",msgstr:["No se pudieron cargar las vistas de los archivos"]},{msgid:"Create directory",msgstr:["Crear directorio"]},{msgid:"Current view selector",msgstr:["Selector de vista actual"]},{msgid:"Favorites",msgstr:["Favoritos"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Los archivos y carpetas que marque como favoritos aparecer\xe1n aqu\xed."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Los archivos y carpetas que modific\xf3 recientemente aparecer\xe1n aqu\xed."]},{msgid:"Filter file list",msgstr:["Filtrar lista de archivos"]},{msgid:"Folder name cannot be empty.",msgstr:["El nombre de la carpeta no puede estar vac\xedo."]},{msgid:"Home",msgstr:["Inicio"]},{msgid:"Modified",msgstr:["Modificado"]},{msgid:"Move",msgstr:["Mover"]},{msgid:"Move to {target}",msgstr:["Mover a {target}"]},{msgid:"Name",msgstr:["Nombre"]},{msgid:"New",msgstr:["Nuevo"]},{msgid:"New folder",msgstr:["Nueva carpeta"]},{msgid:"New folder name",msgstr:["Nombre de nueva carpeta"]},{msgid:"No files in here",msgstr:["No hay archivos aqu\xed"]},{msgid:"No files matching your filter were found.",msgstr:["No se encontraron archivos que coincidan con su filtro."]},{msgid:"No matching files",msgstr:["No hay archivos coincidentes"]},{msgid:"Recent",msgstr:["Reciente"]},{msgid:"Select all entries",msgstr:["Seleccionar todas las entradas"]},{msgid:"Select entry",msgstr:["Seleccionar entrada"]},{msgid:"Select the row for {nodename}",msgstr:["Seleccione la fila para {nodename}"]},{msgid:"Size",msgstr:["Tama\xf1o"]},{msgid:"Undo",msgstr:["Deshacer"]},{msgid:"Upload some content or sync with your devices!",msgstr:["\xa1Cargue alg\xfan contenido o sincronice con sus dispositivos!"]}]},{language:"es_MX",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" es un nombre de carpeta inv\xe1lido.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" no es un nombre de carpeta permitido.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" no est\xe1 permitido en el nombre de la carpeta.']},{msgid:"All files",msgstr:["Todos los archivos"]},{msgid:"Choose",msgstr:["Seleccionar"]},{msgid:"Choose {file}",msgstr:["Seleccionar {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Seleccionar %n archivo","Seleccionar %n archivos","Seleccionar %n archivos"]},{msgid:"Copy",msgstr:["Copiar"]},{msgid:"Copy to {target}",msgstr:["Copiar a {target}"]},{msgid:"Could not create the new folder",msgstr:["No se pudo crear la nueva carpeta"]},{msgid:"Could not load files settings",msgstr:["No se pudo cargar la configuraci\xf3n de archivos"]},{msgid:"Could not load files views",msgstr:["No se pudieron cargar las vistas de los archivos"]},{msgid:"Create directory",msgstr:["Crear carpeta"]},{msgid:"Current view selector",msgstr:["Selector de vista actual"]},{msgid:"Favorites",msgstr:["Favoritos"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Los archivos y carpetas que marque como favoritos aparecer\xe1n aqu\xed."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Los archivos y carpetas que modific\xf3 recientemente aparecer\xe1n aqu\xed."]},{msgid:"Filter file list",msgstr:["Filtrar lista de archivos"]},{msgid:"Folder name cannot be empty.",msgstr:["El nombre de la carpeta no puede estar vac\xedo."]},{msgid:"Home",msgstr:["Inicio"]},{msgid:"Modified",msgstr:["Modificado"]},{msgid:"Move",msgstr:["Mover"]},{msgid:"Move to {target}",msgstr:["Mover a {target}"]},{msgid:"Name",msgstr:["Nombre"]},{msgid:"New",msgstr:["Nuevo"]},{msgid:"New folder",msgstr:["Nueva carpeta"]},{msgid:"New folder name",msgstr:["Nombre de nueva carpeta"]},{msgid:"No files in here",msgstr:["No hay archivos aqu\xed"]},{msgid:"No files matching your filter were found.",msgstr:["No se encontraron archivos que coincidan con su filtro."]},{msgid:"No matching files",msgstr:["No hay archivos coincidentes"]},{msgid:"Recent",msgstr:["Reciente"]},{msgid:"Select all entries",msgstr:["Seleccionar todas las entradas"]},{msgid:"Select entry",msgstr:["Seleccionar entrada"]},{msgid:"Select the row for {nodename}",msgstr:["Seleccione la fila para {nodename}"]},{msgid:"Size",msgstr:["Tama\xf1o"]},{msgid:"Undo",msgstr:["Deshacer"]},{msgid:"Upload some content or sync with your devices!",msgstr:["\xa1Suba alg\xfan contenido o sincronice con sus dispositivos!"]}]},{language:"et_EE",translations:[{msgid:'"{char}" is not allowed inside a folder name.',msgstr:["„{char}“ pole kausta nimes lubatud."]},{msgid:'"{char}" is not allowed inside a name.',msgstr:["„{char}“ pole nimes lubatud."]},{msgid:'"{extension}" is not an allowed name.',msgstr:["„{extension}“ pole lubatud nimi."]},{msgid:'"{segment}" is a reserved name and not allowed for folder names.',msgstr:["„{segment}“ on reserveeritud nimi ja pole kausta nimes lubatud."]},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:["„{segment}“ on reserveeritud nimi ja pole kasutamiseks lubatud."]},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n fail on vastuolus","%n faili on omavahel vastuolus"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n fail on {dirname} kaustas vastuolus","%n faili on omavahel {dirname} kaustas vastuolus"]},{msgid:"All files",msgstr:["K\xf5ik failid"]},{msgid:"Cancel",msgstr:["Katkesta"]},{msgid:"Cancel the entire operation",msgstr:["Katkesta kogu tegevus"]},{msgid:"Choose",msgstr:["Tee valik"]},{msgid:"Choose {file}",msgstr:["Vali {file} fail"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Vali %n fail","Vali %n faili"]},{msgid:"Confirm",msgstr:["Kinnita"]},{msgid:"Continue",msgstr:["J\xe4tka"]},{msgid:"Copy",msgstr:["Kopeeri"]},{msgid:"Copy to {target}",msgstr:["Kopeeri sihtkohta „{target}“"]},{msgid:"Could not create the new folder",msgstr:["Uut kausta ei saanud luua"]},{msgid:"Could not load files settings",msgstr:["Failide seadistusi ei \xf5nnestunud laadida"]},{msgid:"Could not load files views",msgstr:["Failide vaatamiskordi ei \xf5nnestunud laadida"]},{msgid:"Create directory",msgstr:["Loo kaust"]},{msgid:"Current view selector",msgstr:["Praeguse vaate valija"]},{msgid:"Enter your name",msgstr:["Sisesta oma nimi"]},{msgid:"Existing version",msgstr:["Olemasolev versioon"]},{msgid:"Failed to set nickname.",msgstr:["H\xfc\xfcdnime ei \xf5nnestunud lisada"]},{msgid:"Favorites",msgstr:["Lemmikud"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Failid ja kaustad, mida m\xe4rgistad lemmikuks, kuvatakse siin."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Siin kuvatakse hiljuti muudetud failid ja kaustad."]},{msgid:"Filter file list",msgstr:["Filtreeri faililoendit"]},{msgid:'Folder names must not end with "{extension}".',msgstr:["Kausta nime l\xf5pus ei tohi olla „{extension}“."]},{msgid:"Guest identification",msgstr:["K\xfclalise tuvastamine"]},{msgid:"Home",msgstr:["Avaleht"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Kui valid m\xf5lemad versioonid, siis uue faili nimele lisatakse number."]},{msgid:"Invalid folder name.",msgstr:["Vigane kausta nimi."]},{msgid:"Invalid name.",msgstr:["Vigane nimi."]},{msgid:"Last modified date unknown",msgstr:["Viimase muutmise kuup\xe4ev pole teada"]},{msgid:"Modified",msgstr:["Muudetud"]},{msgid:"Move",msgstr:["Teisalda"]},{msgid:"Move to {target}",msgstr:["Teisalda kausta „{target}“"]},{msgid:"Name",msgstr:["Nimi"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Nimed v\xf5ivad olla vaid kuni 64 t\xe4hem\xe4rki pikad."]},{msgid:"Names must not be empty.",msgstr:["Nimi ei saa olla t\xfchi."]},{msgid:'Names must not end with "{extension}".',msgstr:["Nime l\xf5pus ei tohi olla „{extension}“."]},{msgid:"Names must not start with a dot.",msgstr:["Nime alguses ei tohi olla punkt."]},{msgid:"New",msgstr:["Uus"]},{msgid:"New folder",msgstr:["Uus kaust"]},{msgid:"New folder name",msgstr:["Uue kausta nimi"]},{msgid:"New version",msgstr:["Uus versioon"]},{msgid:"No files in here",msgstr:["Siin puuduvad failid"]},{msgid:"No files matching your filter were found.",msgstr:["Sinu filtrile vastavaid faile ei leidunud."]},{msgid:"No matching files",msgstr:["Puuduvad sobivad failid"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Palun sisesta v\xe4hemalt 2 t\xe4hem\xe4rki pikk nimi."]},{msgid:"Recent",msgstr:["Hiljutine"]},{msgid:"Select all checkboxes",msgstr:["Vali k\xf5ik m\xe4rkeruudud"]},{msgid:"Select all entries",msgstr:["Vali k\xf5ik kirjed"]},{msgid:"Select all existing files",msgstr:["Vali k\xf5ik olemasolevad failid"]},{msgid:"Select all new files",msgstr:["Vali k\xf5ik uued failid"]},{msgid:"Select entry",msgstr:["Vali kirje"]},{msgid:"Select the row for {nodename}",msgstr:["Vali rida „{nodename}“ jaoks"]},{msgid:"Size",msgstr:["Suurus"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["J\xe4ta %n fail vahele","J\xe4ta %n faili vahele"]},{msgid:"Skip this file",msgstr:["J\xe4ta see fail vahele"]},{msgid:"Submit name",msgstr:["Lisa nimi"]},{msgid:"Undo",msgstr:["T\xfchista"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Lisa mingit sisu v\xf5i s\xfcnkrooni see oma seadmetest!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Kui uute failide kaust on valitud, siis k\xf5ik seal leiduvad vastuolus failid saavad \xfcle kirjutatud."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Kui uute failide kaust on valitud, siis sisu kirjutatakse olemasolevasse kausta ja korraldatakse rekursiivne failikonfliktide lahendamine."]},{msgid:"Which files do you want to keep?",msgstr:["Missugused failid tahaksid alles j\xe4tta?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Sa oled hetkel tuvastatav kui {nickname}.."]},{msgid:"You are currently not identified.",msgstr:["Sa oled hetkel tuvastamata."]},{msgid:"You cannot leave the name empty.",msgstr:["Sa ei saa j\xe4tte nime t\xfchjaks."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Sa pead valima v\xe4hemalt \xfche failikonflikti lahenduse."]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["J\xe4tkamaks pead valima igast failist v\xe4hemalt \xfche versiooni."]}]},{language:"fa",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:["{name} نام پوشه معتبر نیست"]},{msgid:'"{name}" is not an allowed folder name',msgstr:["{name} نام پوشه مجاز نیست"]},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" نمی‌تواند در نام پوشه استفاده شود.']},{msgid:"All files",msgstr:["همه فایل‌ها"]},{msgid:"Cancel",msgstr:["لغو"]},{msgid:"Choose",msgstr:["انتخاب"]},{msgid:"Choose {file}",msgstr:["انتخاب {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["انتخاب %n فایل","انتخاب %n فایل"]},{msgid:"Copy",msgstr:["رونوشت"]},{msgid:"Copy to {target}",msgstr:["رونوشت از {target}"]},{msgid:"Could not create the new folder",msgstr:["پوشه جدید ایجاد نشد"]},{msgid:"Could not load files settings",msgstr:["تنظیمات فایل باز نشد"]},{msgid:"Could not load files views",msgstr:["نمای فایل‌ها بارگیری نشد"]},{msgid:"Create directory",msgstr:["ایجاد فهرست"]},{msgid:"Current view selector",msgstr:["انتخابگر نماگر فعلی"]},{msgid:"Enter your name",msgstr:["نام خود را وارد کنید"]},{msgid:"Failed to set nickname.",msgstr:["تنظیم نام مستعار ناموفق بود."]},{msgid:"Favorites",msgstr:["علایق"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["فایل‌ها و پوشه‌هایی که به‌عنوان مورد علاقه علامت‌گذاری می‌کنید در اینجا نشان داده می‌شوند."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["فایل‌ها و پوشه‌هایی که اخیراً تغییر داده‌اید در اینجا نمایش داده می‌شوند."]},{msgid:"Filter file list",msgstr:["فیلتر لیست فایل"]},{msgid:"Folder name cannot be empty.",msgstr:["نام پوشه نمی تواند خالی باشد."]},{msgid:"Guest identification",msgstr:["شناسایی مهمان"]},{msgid:"Home",msgstr:["خانه"]},{msgid:"Modified",msgstr:["اصلاح شده"]},{msgid:"Move",msgstr:["انتقال"]},{msgid:"Move to {target}",msgstr:["انتقال به {target}"]},{msgid:"Name",msgstr:["نام"]},{msgid:"New",msgstr:["جدید"]},{msgid:"New folder",msgstr:["پوشه جدید"]},{msgid:"New folder name",msgstr:["نام پوشه جدید"]},{msgid:"No files in here",msgstr:["فایلی اینجا نیست"]},{msgid:"No files matching your filter were found.",msgstr:["هیچ فایلی مطابق با فیلتر شما یافت نشد."]},{msgid:"No matching files",msgstr:["فایل منطبقی وجود ندارد"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["لطفاً نامی با حداقل ۲ کاراکتر وارد کنید."]},{msgid:"Recent",msgstr:["اخیر"]},{msgid:"Select all entries",msgstr:["انتخاب همه ورودی ها"]},{msgid:"Select entry",msgstr:["انتخاب ورودی"]},{msgid:"Select the row for {nodename}",msgstr:["انتخاب ردیف برای {nodename}"]},{msgid:"Size",msgstr:["اندازه"]},{msgid:"Submit name",msgstr:["ارسال نام"]},{msgid:"Undo",msgstr:["بازگردانی"]},{msgid:"Upload some content or sync with your devices!",msgstr:["مقداری محتوا آپلود کنید یا با دستگاه های خود همگام سازی کنید!"]},{msgid:"You are currently not identified.",msgstr:["شما در حال حاضر شناسایی نشده‌اید."]},{msgid:"You cannot leave the name empty.",msgstr:["نمی‌توانید نام را خالی بگذارید."]}]},{language:"fi_FI",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" ei ole sallittu nimess\xe4.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" ei ole sallittu nimi.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" on virheellinen kansion nimi.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" ei ole sallittu kansion nimi']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" on varattu nimi eik\xe4 se ole sallittu.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" ei ole sallittu kansion nimess\xe4.']},{msgid:"All files",msgstr:["Kaikki tiedostot"]},{msgid:"Cancel",msgstr:["Peruuta"]},{msgid:"Choose",msgstr:["Valitse"]},{msgid:"Choose {file}",msgstr:["Valitse {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Valitse %n tiedosto","Valitse %n tiedostoa"]},{msgid:"Copy",msgstr:["Kopioi"]},{msgid:"Copy to {target}",msgstr:["Kopioi sijaintiin {target}"]},{msgid:"Could not create the new folder",msgstr:["Uutta kansiota ei voitu luoda"]},{msgid:"Could not load files settings",msgstr:["Tiedoston asetuksia ei saa ladattua"]},{msgid:"Could not load files views",msgstr:["Tiedoston n\xe4kymi\xe4 ei saa ladattua"]},{msgid:"Create directory",msgstr:["Luo kansio"]},{msgid:"Current view selector",msgstr:["Nykyisen n\xe4kym\xe4n valinta"]},{msgid:"Enter your name",msgstr:["Kirjoita nimesi"]},{msgid:"Failed to set nickname.",msgstr:["Kutsumanimen asettaminen ep\xe4onnistui."]},{msgid:"Favorites",msgstr:["Suosikit"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Tiedostot ja kansiot, jotka merkitset suosikkeihisi, n\xe4kyv\xe4t t\xe4\xe4ll\xe4."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Tiedostot ja kansiot, joita muokkasit \xe4skett\xe4in, n\xe4kyv\xe4t t\xe4\xe4ll\xe4."]},{msgid:"Filter file list",msgstr:["Suodata tiedostolistaa"]},{msgid:"Folder name cannot be empty.",msgstr:["Kansion nimi ei voi olla tyhj\xe4."]},{msgid:"Guest identification",msgstr:["Vieraan tunnistaminen"]},{msgid:"Home",msgstr:["Koti"]},{msgid:"Invalid name.",msgstr:["Virheellinen nimi."]},{msgid:"Modified",msgstr:["Muokattu"]},{msgid:"Move",msgstr:["Siirr\xe4"]},{msgid:"Move to {target}",msgstr:["Siirr\xe4 sijaintiin {target}"]},{msgid:"Name",msgstr:["Nimi"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Nimiss\xe4 voi olla enint\xe4\xe4n 64 merkki\xe4."]},{msgid:"Names must not be empty.",msgstr:["Nimet eiv\xe4t saa olla tyhji\xe4."]},{msgid:'Names must not end with "{extension}".',msgstr:['Nimet eiv\xe4t saa p\xe4\xe4tty\xe4 sanaan "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Nimet eiv\xe4t saa alkaa pisteell\xe4."]},{msgid:"New",msgstr:["Uusi"]},{msgid:"New folder",msgstr:["Uusi kansio"]},{msgid:"New folder name",msgstr:["Uuden kansion nimi"]},{msgid:"No files in here",msgstr:["T\xe4\xe4ll\xe4 ei ole tiedostoja"]},{msgid:"No files matching your filter were found.",msgstr:["Suodatinta vastaavia tiedostoja ei l\xf6ytynyt."]},{msgid:"No matching files",msgstr:["Ei vastaavia tiedostoja"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Kirjoita v\xe4hint\xe4\xe4n kaksi merkki\xe4 sis\xe4lt\xe4v\xe4 nimi."]},{msgid:"Recent",msgstr:["Viimeisimm\xe4t"]},{msgid:"Select all entries",msgstr:["Valitse kaikki tietueet"]},{msgid:"Select entry",msgstr:["Valitse tietue"]},{msgid:"Select the row for {nodename}",msgstr:["Valitse rivi {nodename}:lle"]},{msgid:"Size",msgstr:["Koko"]},{msgid:"Submit name",msgstr:["L\xe4het\xe4 nimi"]},{msgid:"Undo",msgstr:["Kumoa"]},{msgid:"Upload some content or sync with your devices!",msgstr:["L\xe4het\xe4 jotain sis\xe4lt\xf6\xe4 tai synkronoi laitteidesi kanssa!"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Sinut tunnetaan t\xe4ll\xe4 hetkell\xe4 nimell\xe4 {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Sinua ei ole tunnistettu."]},{msgid:"You cannot leave the name empty.",msgstr:["Nime\xe4 ei voi j\xe4tt\xe4\xe4 tyhj\xe4ksi."]}]},{language:"fr",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" n\'est pas autoris\xe9 dans un nom.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" n\'est pas un nom autoris\xe9.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" n\'est pas un nom de dossier valide.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" n\'est pas un nom de dossier autoris\xe9']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" est un nom r\xe9serv\xe9 et n\'est pas autoris\xe9.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['Le caract\xe8re "/" n\'est pas autoris\xe9 dans un nom de dossier.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n conflit de fichier","%n conflit de fichiers","%n conflit de fichiers"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%nconflit de fichier dans {dirname}","%n conflit de fichiers dans {dirname}","%nconflit de fichiers dans {dirname}"]},{msgid:"All files",msgstr:["Tous les fichiers"]},{msgid:"Cancel",msgstr:["Annuler"]},{msgid:"Cancel the entire operation",msgstr:["Tout annuler "]},{msgid:"Choose",msgstr:["Choisir"]},{msgid:"Choose {file}",msgstr:["Choisir {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Choisir %n fichier","Choisir %n fichiers","Choisir %n fichiers "]},{msgid:"Confirm",msgstr:["Confirmer"]},{msgid:"Continue",msgstr:["Continuer"]},{msgid:"Copy",msgstr:["Copier"]},{msgid:"Copy to {target}",msgstr:["Copier vers {target}"]},{msgid:"Could not create the new folder",msgstr:["Impossible de cr\xe9er le nouveau dossier"]},{msgid:"Could not load files settings",msgstr:["Les param\xe8tres des fichiers n'ont pas pu \xeatre charg\xe9s"]},{msgid:"Could not load files views",msgstr:["Impossible de charger les vues des fichiers"]},{msgid:"Create directory",msgstr:["Cr\xe9er un r\xe9pertoire"]},{msgid:"Current view selector",msgstr:["S\xe9lecteur d'affichage actuel"]},{msgid:"Enter your name",msgstr:["Entrez votre nom"]},{msgid:"Existing version",msgstr:["Version actuelle "]},{msgid:"Failed to set nickname.",msgstr:["\xc9chec de d\xe9finition du surnom."]},{msgid:"Favorites",msgstr:["Favoris"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Les fichiers et r\xe9pertoires marqu\xe9s en favoris appara\xeetront ici."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Les fichiers et r\xe9pertoires modifi\xe9s r\xe9cemment appara\xeetront ici."]},{msgid:"Filter file list",msgstr:["Filtrer la liste des fichiers"]},{msgid:"Folder name cannot be empty.",msgstr:["Le nom du dossier ne peut pas \xeatre vide."]},{msgid:"Guest identification",msgstr:["Identification d'invit\xe9"]},{msgid:"Home",msgstr:["Accueil"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Si vous conservez les deux versions, le fichier re\xe7u sera renomm\xe9 avec un num\xe9ro."]},{msgid:"Invalid name.",msgstr:["Nom invalide."]},{msgid:"Last modified date unknown",msgstr:["Date de modification inconnue"]},{msgid:"Modified",msgstr:["Modifi\xe9"]},{msgid:"Move",msgstr:["D\xe9placer"]},{msgid:"Move to {target}",msgstr:["D\xe9placer vers {target}"]},{msgid:"Name",msgstr:["Nom"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Les noms peuvent comporter au maximum 64 caract\xe8res."]},{msgid:"Names must not be empty.",msgstr:["Les noms ne peuvent pas \xeatre vides."]},{msgid:'Names must not end with "{extension}".',msgstr:['Les noms ne doivent pas se terminer par "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Les noms ne peuvent pas commencer par un point."]},{msgid:"New",msgstr:["Nouveau"]},{msgid:"New folder",msgstr:["Nouveau dossier"]},{msgid:"New folder name",msgstr:["Nom du nouveau dossier"]},{msgid:"New version",msgstr:["Nouvelle version"]},{msgid:"No files in here",msgstr:["Aucun fichier ici"]},{msgid:"No files matching your filter were found.",msgstr:["Aucun fichier trouv\xe9 correspondant \xe0 votre filtre."]},{msgid:"No matching files",msgstr:["Aucun fichier correspondant"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Veuillez entrer un nom avec au moins 2 caract\xe8res."]},{msgid:"Recent",msgstr:["R\xe9cents"]},{msgid:"Select all checkboxes",msgstr:["S\xe9lectionner toutes les cases \xe0 cocher"]},{msgid:"Select all entries",msgstr:["Tout s\xe9lectionner"]},{msgid:"Select all existing files",msgstr:["S\xe9lectionner tous les fichiers existants"]},{msgid:"Select all new files",msgstr:["S\xe9lectionner tous les nouveaux fichiers"]},{msgid:"Select entry",msgstr:["S\xe9lectionner une entr\xe9e"]},{msgid:"Select the row for {nodename}",msgstr:["S\xe9lectionner la ligne correspondant \xe0 {nodename}"]},{msgid:"Size",msgstr:["Taille"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Ignorer %n fichier","Ignorer %n fichiers ","Ignorer %n fichiers "]},{msgid:"Skip this file",msgstr:["Ignorer ce fichier"]},{msgid:"Submit name",msgstr:["Envoyer le nom"]},{msgid:"Undo",msgstr:["Annuler"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Chargez du contenu ou synchronisez avec vos \xe9quipements !"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["En s\xe9lectionnant un dossier entrant, les fichiers en conflit qu’il contient seront automatiquement \xe9cras\xe9s."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Lorsque vous s\xe9lectionnez un dossier entrant, son contenu est ajout\xe9 au dossier existant et les conflits sont r\xe9solus automatiquement."]},{msgid:"Which files do you want to keep?",msgstr:["Quels fichiers souhaitez-vous conserver ?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Vous \xeates actuellement identifi\xe9 comme {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Vous n'\xeates pas identifi\xe9 actuellement."]},{msgid:"You cannot leave the name empty.",msgstr:["Vous ne pouvez pas laisser le nom vide."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Vous devez choisir au moins une option pour r\xe9soudre le conflit"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["S\xe9lectionnez au moins une version de chaque fichier pour continuer."]}]},{language:"ga",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['N\xed cheada\xedtear "{char}" laistigh d\'ainm.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['N\xed ainm ceadaithe \xe9 "{extension}".']},{msgid:'"{name}" is an invalid folder name.',msgstr:['Is ainm fillte\xe1in neamhbhail\xed \xe9 "{name}".']},{msgid:'"{name}" is not an allowed folder name',msgstr:['N\xed ainm fillte\xe1in ceadaithe \xe9 "{name}".']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['Is ainm curtha in \xe1irithe \xe9 "{segment}" agus n\xed cheada\xedtear \xe9.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['N\xed cheada\xedtear "/" taobh istigh d\'ainm fillte\xe1in.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n coimhlint comhaid","%n coimhlint comhad","%n coimhlint comhad","%n coimhlint comhad","%n coimhlint comhad"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n coimhlint comhaid i {dirname}","%n coimhlint\xed comhaid i {dirname}","%n coimhlint\xed comhaid i {dirname}","%n coimhlint\xed comhaid i {dirname}","%n coimhlint\xed comhaid i {dirname}"]},{msgid:"All files",msgstr:["Gach comhad"]},{msgid:"Cancel",msgstr:["Cealaigh"]},{msgid:"Cancel the entire operation",msgstr:["Cealaigh an oibr\xedocht ar fad"]},{msgid:"Choose",msgstr:["Roghnaigh"]},{msgid:"Choose {file}",msgstr:["Roghnaigh {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Roghnaigh %n comhad","Roghnaigh %n comhaid","Roghnaigh %n comhaid","Roghnaigh %n comhaid","Roghnaigh %n comhaid"]},{msgid:"Confirm",msgstr:["Deimhnigh"]},{msgid:"Continue",msgstr:["Lean ar aghaidh"]},{msgid:"Copy",msgstr:["C\xf3ip"]},{msgid:"Copy to {target}",msgstr:["C\xf3ipe\xe1il chuig {target}"]},{msgid:"Could not create the new folder",msgstr:["N\xedorbh fh\xe9idir an fillte\xe1n nua a chruth\xfa"]},{msgid:"Could not load files settings",msgstr:["N\xedorbh fh\xe9idir socruithe comhaid a l\xf3d\xe1il"]},{msgid:"Could not load files views",msgstr:["N\xedorbh fh\xe9idir radhairc comhad a l\xf3d\xe1il"]},{msgid:"Create directory",msgstr:["Cruthaigh eolaire"]},{msgid:"Current view selector",msgstr:["Roghn\xf3ir amhairc reatha"]},{msgid:"Enter your name",msgstr:["Cuir isteach d'ainm"]},{msgid:"Existing version",msgstr:["Leagan at\xe1 ann cheana f\xe9in"]},{msgid:"Failed to set nickname.",msgstr:["Theip ar leasainm a shocr\xfa."]},{msgid:"Favorites",msgstr:["Cean\xe1in"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Taispe\xe1nfar comhaid agus fillte\xe1in a mharc\xe1lann t\xfa mar is fearr leat anseo."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Taispe\xe1nfar comhaid agus fillte\xe1in a d'athraigh t\xfa le d\xe9ana\xed anseo."]},{msgid:"Filter file list",msgstr:["Scag liosta comhad"]},{msgid:"Folder name cannot be empty.",msgstr:["N\xed f\xe9idir ainm fillte\xe1in a bheith folamh."]},{msgid:"Guest identification",msgstr:["Aitheantas aoi"]},{msgid:"Home",msgstr:["Baile"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["M\xe1 roghna\xedonn t\xfa an d\xe1 leagan, cuirfear uimhir le hainm an chomhaid at\xe1 ag teacht isteach."]},{msgid:"Invalid name.",msgstr:["Ainm neamhbhail\xed."]},{msgid:"Last modified date unknown",msgstr:["D\xe1ta an athraithe dheireanaigh anaithnid"]},{msgid:"Modified",msgstr:["Athraithe"]},{msgid:"Move",msgstr:["Bog"]},{msgid:"Move to {target}",msgstr:["Bog go{target}"]},{msgid:"Name",msgstr:["Ainm"]},{msgid:"Names may be at most 64 characters long.",msgstr:["N\xed fh\xe9adfaidh ainmneacha a bheith n\xedos m\xf3 n\xe1 64 carachtar ar fhad."]},{msgid:"Names must not be empty.",msgstr:["N\xed f\xe9idir ainmneacha a bheith folamh."]},{msgid:'Names must not end with "{extension}".',msgstr:['N\xed f\xe9idir ainmneacha a chr\xedochn\xfa le "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["N\xed m\xf3r ainmneacha a bheith ag tos\xfa le ponc."]},{msgid:"New",msgstr:["Nua"]},{msgid:"New folder",msgstr:["Fillte\xe1n nua"]},{msgid:"New folder name",msgstr:["Ainm fillte\xe1in nua"]},{msgid:"New version",msgstr:["Leagan nua"]},{msgid:"No files in here",msgstr:["N\xedl aon chomhaid istigh anseo"]},{msgid:"No files matching your filter were found.",msgstr:["N\xedor aims\xedodh aon chomhad a th\xe1inig le do scagaire."]},{msgid:"No matching files",msgstr:["Gan comhaid meaitse\xe1la"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Cuir isteach ainm ina bhfuil 2 charachtar ar a laghad."]},{msgid:"Recent",msgstr:["le d\xe9ana\xed"]},{msgid:"Select all checkboxes",msgstr:["Roghnaigh na bosca\xed seice\xe1la go l\xe9ir"]},{msgid:"Select all entries",msgstr:["Roghnaigh gach iontr\xe1il"]},{msgid:"Select all existing files",msgstr:["Roghnaigh na comhaid uile at\xe1 ann cheana"]},{msgid:"Select all new files",msgstr:["Roghnaigh gach comhad nua"]},{msgid:"Select entry",msgstr:["Roghnaigh iontr\xe1il"]},{msgid:"Select the row for {nodename}",msgstr:["Roghnaigh an r\xf3 do {nodename}"]},{msgid:"Size",msgstr:["M\xe9id"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["L\xe9im %n comhad","L\xe9im %n comhaid","L\xe9im %n comhaid","L\xe9im %n comhaid","L\xe9im %n comhaid"]},{msgid:"Skip this file",msgstr:["Scipe\xe1il an comhad seo"]},{msgid:"Submit name",msgstr:["Cuir isteach ainm"]},{msgid:"Undo",msgstr:["Cealaigh"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Uasl\xf3d\xe1il roinnt \xe1bhair n\xf3 sioncronaigh le do ghl\xe9asanna!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Nuair a roghna\xedtear fillte\xe1n isteach, d\xe9anfar aon chomhaid choimhlinteacha ann a athscr\xedobh freisin."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Nuair a roghna\xedtear fillte\xe1n isteach, scr\xedobhtar an t-\xe1bhar isteach sa fhillte\xe1n at\xe1 ann cheana f\xe9in agus d\xe9antar r\xe9iteach coinbhleachta athch\xfarsach."]},{msgid:"Which files do you want to keep?",msgstr:["C\xe9 na comhaid ar mhaith leat a choinne\xe1il?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Is \xe9 {nickname} an ainm at\xe1 ort faoi l\xe1thair."]},{msgid:"You are currently not identified.",msgstr:["N\xedl aitheantas tugtha duit faoi l\xe1thair."]},{msgid:"You cannot leave the name empty.",msgstr:["N\xed f\xe9idir leat an t-ainm a fh\xe1g\xe1il folamh."]},{msgid:"You need to choose at least one conflict solution",msgstr:["N\xed m\xf3r duit r\xe9iteach coinbhleachta amh\xe1in ar a laghad a roghn\xfa"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["N\xed m\xf3r duit leagan amh\xe1in ar a laghad de gach comhad a roghn\xfa le lean\xfaint ar aghaidh."]}]},{language:"gl",translations:[{msgid:'"{char}" is not allowed inside a folder name.',msgstr:["\xab{char}\xbb non est\xe1 permitido no nome dun cartafol."]},{msgid:'"{char}" is not allowed inside a name.',msgstr:["\xab{char}\xbb non est\xe1 permitido dentro dun nome."]},{msgid:'"{extension}" is not an allowed name.',msgstr:["\xab{extension}\xbb non \xe9 un nome permitido."]},{msgid:'"{segment}" is a reserved name and not allowed for folder names.',msgstr:["\xab{segment}\xbb \xe9 un nome reservado e non est\xe1 permitido para nomes de cartafoles."]},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:["\xab{segment}\xbb \xe9 un nome reservado e non est\xe1 permitido."]},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n ficheiro en conflito","%n ficheiros en conflito"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n ficheiro en conflito en {dirname}","%n ficheiros en conflito en {dirname}"]},{msgid:"All files",msgstr:["Todos os ficheiros"]},{msgid:"Cancel",msgstr:["Cancelar"]},{msgid:"Cancel the entire operation",msgstr:["Cancelar toda a operaci\xf3n"]},{msgid:"Choose",msgstr:["Escoller"]},{msgid:"Choose {file}",msgstr:["Escoller {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Escoller %n ficheiro","Escoller %n ficheiros"]},{msgid:"Confirm",msgstr:["Confirmar"]},{msgid:"Continue",msgstr:["Continuar"]},{msgid:"Copy",msgstr:["Copiar"]},{msgid:"Copy to {target}",msgstr:["Copiar en {target}"]},{msgid:"Could not create the new folder",msgstr:["Non foi pos\xedbel crear o novo cartafol"]},{msgid:"Could not load files settings",msgstr:["Non foi pos\xedbel cargar os axustes dos ficheiros"]},{msgid:"Could not load files views",msgstr:["Non foi pos\xedbel cargar as vistas dos ficheiros"]},{msgid:"Create directory",msgstr:["Crear un directorio"]},{msgid:"Current view selector",msgstr:["Selector de vista actual"]},{msgid:"Enter your name",msgstr:["Introduza o seu nome"]},{msgid:"Existing version",msgstr:["Versi\xf3n existente"]},{msgid:"Failed to set nickname.",msgstr:["Produciuse un fallo ao definir o alcume."]},{msgid:"Favorites",msgstr:["Favoritos"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Os ficheiros e cartafoles que marque como favoritos aparecer\xe1n aqu\xed."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Os ficheiros e cartafoles que modificou recentemente aparecer\xe1n aqu\xed."]},{msgid:"Filter file list",msgstr:["Filtrar a lista de ficheiros"]},{msgid:'Folder names must not end with "{extension}".',msgstr:["Os nomes de cartafol non deben rematar en \xab{extension}\xbb."]},{msgid:"Guest identification",msgstr:["Identificaci\xf3n do convidado"]},{msgid:"Home",msgstr:["Inicio"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Se selecciona ambas as versi\xf3ns, o ficheiro entrante ter\xe1 un n\xfamero engadido ao seu nome."]},{msgid:"Invalid folder name.",msgstr:["O nome de cartafol non \xe9 v\xe1lido."]},{msgid:"Invalid name.",msgstr:["Nome incorrecto"]},{msgid:"Last modified date unknown",msgstr:["Data da \xfaltima modificaci\xf3n desco\xf1ecida"]},{msgid:"Modified",msgstr:["Modificado"]},{msgid:"Move",msgstr:["Mover"]},{msgid:"Move to {target}",msgstr:["Mover cara a {target}"]},{msgid:"Name",msgstr:["Nome"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Os nomes poden ter unha lonxitude m\xe1xima de 64 caracteres."]},{msgid:"Names must not be empty.",msgstr:["Os nomes non deben estar baleiros."]},{msgid:'Names must not end with "{extension}".',msgstr:["Os nomes non deben rematar en \xab{extension}\xbb."]},{msgid:"Names must not start with a dot.",msgstr:["Os nomes non deben comezar cun punto."]},{msgid:"New",msgstr:["Novo"]},{msgid:"New folder",msgstr:["Novo cartafol"]},{msgid:"New folder name",msgstr:["Novo nome do cartafol"]},{msgid:"New version",msgstr:["Nova versi\xf3n"]},{msgid:"No files in here",msgstr:["Aqu\xed non hai ficheiros"]},{msgid:"No files matching your filter were found.",msgstr:["Non se atopou ning\xfan ficheiro que coincida co filtro."]},{msgid:"No matching files",msgstr:["Non hai ficheiros coincidentes"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Introduza un nome con polo menos 2 caracteres."]},{msgid:"Recent",msgstr:["Recente"]},{msgid:"Select all checkboxes",msgstr:["Seleccionar todas as caixas"]},{msgid:"Select all entries",msgstr:["Seleccionar todas as entradas"]},{msgid:"Select all existing files",msgstr:["Seleccionar todos os ficheiros existentes"]},{msgid:"Select all new files",msgstr:["Seleccionar todos os ficheiros novos"]},{msgid:"Select entry",msgstr:["Seleccionar a entrada"]},{msgid:"Select the row for {nodename}",msgstr:["Seleccionar a fila para {nodename}"]},{msgid:"Size",msgstr:["Tama\xf1o"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Omitir %n ficheiro","Omitir %n ficheiros"]},{msgid:"Skip this file",msgstr:["Omitir este ficheiro"]},{msgid:"Submit name",msgstr:["Enviar o nome"]},{msgid:"Undo",msgstr:["Desfacer"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Enviar alg\xfan contido ou sincronizalo cos seus dispositivos!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Cando se selecciona un cartafol entrante, todos os ficheiros conflitivos dentro dela tam\xe9n ser\xe1n sobrescritos."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Cando se selecciona un cartafol entrante, o contido escr\xedbese no cartafol existente e real\xedzase unha resoluci\xf3n recursiva de conflitos."]},{msgid:"Which files do you want to keep?",msgstr:["Que ficheiros quere conservar?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Vde. est\xe1 identificado actualmente como {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Vde. non est\xe1 identificado actualmente."]},{msgid:"You cannot leave the name empty.",msgstr:["Vde. non pode deixar o nome baleiro."]},{msgid:"You need to choose at least one conflict solution",msgstr:["\xc9 necesario escoller polo menos unha soluci\xf3n de conflito"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["\xc9 necesario seleccionar polo menos unha versi\xf3n de cada ficheiro para continuar."]}]},{language:"hu_HU",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" nem enged\xe9lyezett n\xe9vben.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" nem enged\xe9lyezett n\xe9v.']},{msgid:'"{name}" is an invalid folder name.',msgstr:["„{name}” \xe9rv\xe9nytelen mappan\xe9v."]},{msgid:'"{name}" is not an allowed folder name',msgstr:["„{name}” nem enged\xe9lyezett mappan\xe9v"]},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" foglalt n\xe9v \xe9s nem enged\xe9lyezett.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:["„/” jel nem szerepelhet mappa nev\xe9ben."]},{msgid:"All files",msgstr:["Minden f\xe1jl"]},{msgid:"Cancel",msgstr:["M\xe9gse"]},{msgid:"Choose",msgstr:["Kiv\xe1laszt\xe1s"]},{msgid:"Choose {file}",msgstr:["{file} kiv\xe1laszt\xe1sa"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["%n f\xe1jl kiv\xe1laszt\xe1sa","%n f\xe1jl kiv\xe1laszt\xe1sa"]},{msgid:"Copy",msgstr:["M\xe1sol\xe1s"]},{msgid:"Copy to {target}",msgstr:["M\xe1sol\xe1s ide: {target}"]},{msgid:"Could not create the new folder",msgstr:["Az \xfaj mappa l\xe9trehoz\xe1sa nem lehets\xe9ges"]},{msgid:"Could not load files settings",msgstr:["F\xe1jlbe\xe1ll\xedt\xe1sok bet\xf6lt\xe9se nem lehets\xe9ges"]},{msgid:"Could not load files views",msgstr:["F\xe1jln\xe9zetek bet\xf6lt\xe9se nem lehets\xe9ges"]},{msgid:"Create directory",msgstr:["Mappa l\xe9trehoz\xe1sa"]},{msgid:"Current view selector",msgstr:["Jelenlegi n\xe9zet v\xe1laszt\xf3"]},{msgid:"Enter your name",msgstr:["Add meg a neved"]},{msgid:"Failed to set nickname.",msgstr:["Becen\xe9v be\xe1ll\xedt\xe1s sikertelen."]},{msgid:"Favorites",msgstr:["Kedvencek"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["A kedvenck\xe9nt megjel\xf6lt f\xe1jlok \xe9s mapp\xe1k itt jelennek meg."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["A nemr\xe9g m\xf3dos\xedtott f\xe1jlok \xe9s mapp\xe1k itt jelennek meg."]},{msgid:"Filter file list",msgstr:["F\xe1jl lista szűr\xe9se"]},{msgid:"Folder name cannot be empty.",msgstr:["A mappa neve nem lehet \xfcres."]},{msgid:"Guest identification",msgstr:["Vend\xe9g azonos\xedt\xe1s"]},{msgid:"Home",msgstr:["Kezdőlap"]},{msgid:"Invalid name.",msgstr:["\xc9rv\xe9nytelen n\xe9v."]},{msgid:"Modified",msgstr:["M\xf3dos\xedtva"]},{msgid:"Move",msgstr:["Mozgat\xe1s"]},{msgid:"Move to {target}",msgstr:["Mozgat\xe1s ide: {target}"]},{msgid:"Name",msgstr:["N\xe9v"]},{msgid:"Names must not be empty.",msgstr:["Nevek nem lehetnek \xfcresek."]},{msgid:'Names must not end with "{extension}".',msgstr:['Nevek nem v\xe9gződhetnek "{extension}"-re.']},{msgid:"Names must not start with a dot.",msgstr:["Nevek nem kezdődhetnek ponttal."]},{msgid:"New",msgstr:["\xdaj"]},{msgid:"New folder",msgstr:["\xdaj mappa"]},{msgid:"New folder name",msgstr:["\xdaj mappa n\xe9v"]},{msgid:"No files in here",msgstr:["Itt nincsenek f\xe1jlok"]},{msgid:"No files matching your filter were found.",msgstr:["Nincs a szűr\xe9si felt\xe9teleknek megfelelő f\xe1jl."]},{msgid:"No matching files",msgstr:["Nincs ilyen f\xe1jl"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["K\xe9rlek adj meg egy legal\xe1bb 2 karakteres nevet."]},{msgid:"Recent",msgstr:["Gyakori"]},{msgid:"Select all entries",msgstr:["Minden bejegyz\xe9s kijel\xf6l\xe9se"]},{msgid:"Select entry",msgstr:["Bejegyz\xe9s kijel\xf6l\xe9se"]},{msgid:"Select the row for {nodename}",msgstr:["V\xe1lassz sort a k\xf6vetkezőnek: {nodename}"]},{msgid:"Size",msgstr:["M\xe9ret"]},{msgid:"Submit name",msgstr:["N\xe9v bek\xfcld\xe9se"]},{msgid:"Undo",msgstr:["Visszavon\xe1s"]},{msgid:"Upload some content or sync with your devices!",msgstr:["T\xf6lts fel tartalmat vagy szinkroniz\xe1lj az eszk\xf6zeiddel!"]},{msgid:"You are currently not identified.",msgstr:["Jelenleg nem vagy azonos\xedtva."]},{msgid:"You cannot leave the name empty.",msgstr:["A nevet nem hagyhatod \xfcresen."]}]},{language:"hy",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:["{name} սխալ թղթապանակի անվանում է"]},{msgid:'"{name}" is not an allowed folder name',msgstr:["{name} համարվում է անթույլատրելի թղթապանակի անվանում"]},{msgid:'"/" is not allowed inside a folder name.',msgstr:["/ չի թույլատրվում օգտագործել անվանման մեջ"]},{msgid:"All files",msgstr:["Բոլոր ֆայլերը"]},{msgid:"Choose",msgstr:["Ընտրել"]},{msgid:"Choose {file}",msgstr:["Ընտրել {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Ընտրել %n ֆայլ","Ընտրել %n ֆայլեր"]},{msgid:"Copy",msgstr:["Պատճենել"]},{msgid:"Copy to {target}",msgstr:["Պատճենել {target}"]},{msgid:"Could not create the new folder",msgstr:["Չստացվեց ստեղծել նոր թղթապանակը"]},{msgid:"Could not load files settings",msgstr:["Չստացվեց բեռնել ֆայլի կարգավորումները"]},{msgid:"Could not load files views",msgstr:["Չստացվեց բեռնել ֆայլերի դիտումները"]},{msgid:"Create directory",msgstr:["Ստեղծել դիրեկտորիա"]},{msgid:"Current view selector",msgstr:["Ընթացիկ դիտման ընտրիչ"]},{msgid:"Favorites",msgstr:["Նախընտրելիներ"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Այստեղ կցուցադրվեն այն ֆայլերն ու պանակները, որոնք դուք նշել եք որպես նախընտրելիներ:"]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Այստեղ կցուցադրվեն այն ֆայլերն ու պանակները, որոնք վերջերս փոխել եք:"]},{msgid:"Filter file list",msgstr:["Ֆիլտրել ֆայլերի ցուցակը"]},{msgid:"Folder name cannot be empty.",msgstr:["Թղթապանակի անունը չի կարող դատարկ լինել:"]},{msgid:"Home",msgstr:["Սկիզբ"]},{msgid:"Modified",msgstr:["Փոփոխված"]},{msgid:"Move",msgstr:["Տեղափոխել"]},{msgid:"Move to {target}",msgstr:["Տեղափոխել {target}"]},{msgid:"Name",msgstr:["Անուն"]},{msgid:"New",msgstr:["Նոր"]},{msgid:"New folder",msgstr:["Նոր թղթապանակ"]},{msgid:"New folder name",msgstr:["Նոր թղթապանակի անվանում"]},{msgid:"No files in here",msgstr:["Այստեղ չկան ֆայլեր"]},{msgid:"No files matching your filter were found.",msgstr:["Ձեր ֆիլտրին համապատասխանող ֆայլերը չեն գտնվել:"]},{msgid:"No matching files",msgstr:["Չկան համապատասխան ֆայլեր"]},{msgid:"Recent",msgstr:["Վերջին"]},{msgid:"Select all entries",msgstr:["Ընտրել բոլոր գրառումները"]},{msgid:"Select entry",msgstr:["Ընտրել բոլոր գրառումը"]},{msgid:"Select the row for {nodename}",msgstr:["Ընտրեք տողը {nodename}-ի համար "]},{msgid:"Size",msgstr:["Չափ"]},{msgid:"Undo",msgstr:["Ետարկել"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Ներբեռնեք որոշ բովանդակություն կամ համաժամացրեք այն ձեր սարքերի հետ:"]}]},{language:"id",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" bukan nama folder yang valid.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" merupakan nama folder yang tidak diperbolehkan']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" tidak diperbolehkan di dalam nama folder.']},{msgid:"All files",msgstr:["Semua berkas"]},{msgid:"Choose",msgstr:["Pilih"]},{msgid:"Choose {file}",msgstr:["Pilih {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Pilih %n file"]},{msgid:"Copy",msgstr:["Salin"]},{msgid:"Copy to {target}",msgstr:["Salin ke {target}"]},{msgid:"Could not create the new folder",msgstr:["Tidak dapat membuat folder baru"]},{msgid:"Could not load files settings",msgstr:["Tidak dapat memuat pengaturan file"]},{msgid:"Could not load files views",msgstr:["Tidak dapat memuat tampilan file"]},{msgid:"Create directory",msgstr:["Buat direktori"]},{msgid:"Current view selector",msgstr:["Pemilih tampilan saat ini"]},{msgid:"Favorites",msgstr:["Favorit"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Berkas dan folder yang Anda tandai sebagai favorit akan muncul di sini."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Berkas dan folder yang Anda ubah baru-baru ini akan muncul di sini."]},{msgid:"Filter file list",msgstr:["Saring daftar berkas"]},{msgid:"Folder name cannot be empty.",msgstr:["Name berkas tidak boleh kosong."]},{msgid:"Home",msgstr:["Beranda"]},{msgid:"Modified",msgstr:["Diubah"]},{msgid:"Move",msgstr:["Pindahkan"]},{msgid:"Move to {target}",msgstr:["Pindahkan ke {target}"]},{msgid:"Name",msgstr:["Nama"]},{msgid:"New",msgstr:["Baru"]},{msgid:"New folder",msgstr:["Folder baru"]},{msgid:"New folder name",msgstr:["Nama folder baru"]},{msgid:"No files in here",msgstr:["Tidak ada berkas di sini"]},{msgid:"No files matching your filter were found.",msgstr:["Tidak ada berkas yang cocok dengan penyaringan Anda."]},{msgid:"No matching files",msgstr:["Tidak ada berkas yang cocok"]},{msgid:"Recent",msgstr:["Terkini"]},{msgid:"Select all entries",msgstr:["Pilih semua entri"]},{msgid:"Select entry",msgstr:["Pilih entri"]},{msgid:"Select the row for {nodename}",msgstr:["Pilih baris untuk {nodename}"]},{msgid:"Size",msgstr:["Ukuran"]},{msgid:"Undo",msgstr:["Tidak jadi"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Unggah beberapa konten atau sinkronkan dengan perangkat Anda!"]}]},{language:"is",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" er \xf3gilt m\xf6ppuheiti.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" er ekki leyfilegt m\xf6ppuheiti']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" er er ekki leyfilegt innan \xed skr\xe1arheiti.']},{msgid:"All files",msgstr:["Allar skr\xe1r"]},{msgid:"Choose",msgstr:["Veldu"]},{msgid:"Choose {file}",msgstr:["Veldu {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Veldu %n skr\xe1","Veldu %n skr\xe1r"]},{msgid:"Copy",msgstr:["Afrita"]},{msgid:"Copy to {target}",msgstr:["Afrita \xed {target}"]},{msgid:"Could not create the new folder",msgstr:["Get ekki b\xfai\xf0 til n\xfdju m\xf6ppuna"]},{msgid:"Could not load files settings",msgstr:["T\xf3kst ekki a\xf0 hla\xf0a inn stillingum skr\xe1a"]},{msgid:"Could not load files views",msgstr:["T\xf3kst ekki a\xf0 hla\xf0a inn s\xfdnum skr\xe1a"]},{msgid:"Create directory",msgstr:["B\xfaa til m\xf6ppu"]},{msgid:"Current view selector",msgstr:["N\xfaverandi val s\xfdnar"]},{msgid:"Favorites",msgstr:["Eftirl\xe6ti"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Skr\xe1r og m\xf6ppur sem \xfe\xfa merkir sem eftirl\xe6ti birtast h\xe9r."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Skr\xe1r og m\xf6ppur sem \xfe\xfa breyttir n\xfdlega birtast h\xe9r."]},{msgid:"Filter file list",msgstr:["S\xeda skr\xe1alista"]},{msgid:"Folder name cannot be empty.",msgstr:["M\xf6ppuheiti m\xe1 ekki vera t\xf3mt."]},{msgid:"Home",msgstr:["Heim"]},{msgid:"Modified",msgstr:["Breytt"]},{msgid:"Move",msgstr:["F\xe6ra"]},{msgid:"Move to {target}",msgstr:["F\xe6ra \xed {target}"]},{msgid:"Name",msgstr:["Heiti"]},{msgid:"New",msgstr:["N\xfdtt"]},{msgid:"New folder",msgstr:["N\xfd mappa"]},{msgid:"New folder name",msgstr:["Heiti n\xfdrrar m\xf6ppu"]},{msgid:"No files in here",msgstr:["Engar skr\xe1r h\xe9r"]},{msgid:"No files matching your filter were found.",msgstr:["Engar skr\xe1r fundust sem passa vi\xf0 s\xeduna."]},{msgid:"No matching files",msgstr:["Engar samsvarandi skr\xe1r"]},{msgid:"Recent",msgstr:["N\xfdlegt"]},{msgid:"Select all entries",msgstr:["Velja allar f\xe6rslur"]},{msgid:"Select entry",msgstr:["Velja f\xe6rslu"]},{msgid:"Select the row for {nodename}",msgstr:["Veldu r\xf6\xf0ina fyrir {nodename}"]},{msgid:"Size",msgstr:["St\xe6r\xf0"]},{msgid:"Undo",msgstr:["Afturkalla"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Sendu inn eitthva\xf0 efni e\xf0a samstilltu vi\xf0 t\xe6kin \xfe\xedn!"]}]},{language:"it",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" non \xe8 un nome di cartella valido.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" non \xe8 un nome di cartella ammesso']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" non \xe8 ammesso all\'interno del nome di una cartella.']},{msgid:"All files",msgstr:["Tutti i file"]},{msgid:"Choose",msgstr:["Scegli"]},{msgid:"Choose {file}",msgstr:["Scegli {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Seleziona %n file","Seleziona %n file","Seleziona %n file"]},{msgid:"Copy",msgstr:["Copia"]},{msgid:"Copy to {target}",msgstr:["Copia in {target}"]},{msgid:"Could not create the new folder",msgstr:["Impossibile creare la nuova cartella"]},{msgid:"Could not load files settings",msgstr:["Impossibile caricare le impostazioni dei file"]},{msgid:"Could not load files views",msgstr:["Impossibile caricare le visualizzazioni dei file"]},{msgid:"Create directory",msgstr:["Crea directory"]},{msgid:"Current view selector",msgstr:["Selettore della vista corrente"]},{msgid:"Favorites",msgstr:["Preferiti"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["I file e le cartelle contrassegnate come preferite saranno mostrate qui."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["I file e le cartelle che hai modificato di recente saranno mostrate qui."]},{msgid:"Filter file list",msgstr:["Filtra elenco file"]},{msgid:"Folder name cannot be empty.",msgstr:["Il nome della cartella non pu\xf2 essere vuoto."]},{msgid:"Home",msgstr:["Home"]},{msgid:"Modified",msgstr:["Modificato"]},{msgid:"Move",msgstr:["Sposta"]},{msgid:"Move to {target}",msgstr:["Sposta in {target}"]},{msgid:"Name",msgstr:["Nome"]},{msgid:"New",msgstr:["Nuovo"]},{msgid:"New folder",msgstr:["Nuova cartella"]},{msgid:"New folder name",msgstr:["Nuovo nome cartella"]},{msgid:"No files in here",msgstr:["Nessun file qui"]},{msgid:"No files matching your filter were found.",msgstr:["Nessun file che corrisponde al tuo filtro \xe8 stato trovato."]},{msgid:"No matching files",msgstr:["Nessun file corrispondente"]},{msgid:"Recent",msgstr:["Recente"]},{msgid:"Select all entries",msgstr:["Scegli tutte le voci"]},{msgid:"Select entry",msgstr:["Seleziona la voce"]},{msgid:"Select the row for {nodename}",msgstr:["Seleziona la riga per {nodename}"]},{msgid:"Size",msgstr:["Taglia/dimensioni"]},{msgid:"Undo",msgstr:["Annulla"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Carica qualche contenuto o sincronizza con i tuoi dispositivi!"]}]},{language:"ja_JP",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['名前に"{char}"は使用できません。']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}"は許可された名前ではありません']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" はフォルダー名に使用できません。']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}"は許可されたフォルダー名ではありません']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}"は予約名であり使用できません。']},{msgid:'"/" is not allowed inside a folder name.',msgstr:["フォルダー名に「/(スラッシュ)」は使用できません。"]},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%nファイルが競合しています"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%nディレクトリ{dirname}内のファイル競合"]},{msgid:"All files",msgstr:["すべてのファイル"]},{msgid:"Cancel",msgstr:["キャンセル"]},{msgid:"Cancel the entire operation",msgstr:["操作全体をキャンセルする"]},{msgid:"Choose",msgstr:["選択"]},{msgid:"Choose {file}",msgstr:["{file} を選択"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["%n 個のファイルを選択"]},{msgid:"Confirm",msgstr:["承認"]},{msgid:"Continue",msgstr:["続ける"]},{msgid:"Copy",msgstr:["コピー"]},{msgid:"Copy to {target}",msgstr:["{target} にコピー"]},{msgid:"Could not create the new folder",msgstr:["新しいフォルダーを作成できませんでした"]},{msgid:"Could not load files settings",msgstr:["ファイル設定を読み込めませんでした"]},{msgid:"Could not load files views",msgstr:["ファイルビューを読み込めませんでした"]},{msgid:"Create directory",msgstr:["ディレクトリを作成"]},{msgid:"Current view selector",msgstr:["現在のビューセレクタ"]},{msgid:"Enter your name",msgstr:["名前を入力してください"]},{msgid:"Existing version",msgstr:["現行バージョン"]},{msgid:"Failed to set nickname.",msgstr:["ニックネームの設定に失敗しました。"]},{msgid:"Favorites",msgstr:["お気に入り"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["お気に入りとしてマークしたファイルとフォルダがここに表示されます。"]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["最近変更したファイルとフォルダがここに表示されます。"]},{msgid:"Filter file list",msgstr:["ファイルリストをフィルタ"]},{msgid:"Folder name cannot be empty.",msgstr:["フォルダ名は空にできません。"]},{msgid:"Guest identification",msgstr:["ゲスト識別"]},{msgid:"Home",msgstr:["ホーム"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["両方のバージョンを選択した場合、受信ファイル名には番号が追加されます。"]},{msgid:"Invalid name.",msgstr:["無効な名前です。"]},{msgid:"Last modified date unknown",msgstr:["最終更新日不明"]},{msgid:"Modified",msgstr:["変更済み"]},{msgid:"Move",msgstr:["移動"]},{msgid:"Move to {target}",msgstr:["{target} に移動"]},{msgid:"Name",msgstr:["名前"]},{msgid:"Names may be at most 64 characters long.",msgstr:["名前は最大64文字です。"]},{msgid:"Names must not be empty.",msgstr:["名前は空にできません。"]},{msgid:'Names must not end with "{extension}".',msgstr:['名前の末尾に"{extension}"は使用できません']},{msgid:"Names must not start with a dot.",msgstr:["ドットで始まる名前は使用できません。"]},{msgid:"New",msgstr:["新規作成"]},{msgid:"New folder",msgstr:["新しいフォルダー"]},{msgid:"New folder name",msgstr:["新しいフォルダーの名前"]},{msgid:"New version",msgstr:["新バージョン"]},{msgid:"No files in here",msgstr:["ファイルがありません"]},{msgid:"No files matching your filter were found.",msgstr:["フィルタに一致するファイルは見つかりませんでした。"]},{msgid:"No matching files",msgstr:["一致するファイルはありません"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["名前を2文字以上で入力してください。"]},{msgid:"Recent",msgstr:["最近"]},{msgid:"Select all checkboxes",msgstr:["すべてのチェックボックスを選択する"]},{msgid:"Select all entries",msgstr:["すべてのエントリを選択"]},{msgid:"Select all existing files",msgstr:["既存のファイルをすべて選択"]},{msgid:"Select all new files",msgstr:["すべての新規ファイルを選択"]},{msgid:"Select entry",msgstr:["エントリを選択"]},{msgid:"Select the row for {nodename}",msgstr:["{nodename} の行を選択"]},{msgid:"Size",msgstr:["サイズ"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["%n 個のファイルをスキップ"]},{msgid:"Skip this file",msgstr:["このファイルをスキップ"]},{msgid:"Submit name",msgstr:["名前を送信する"]},{msgid:"Undo",msgstr:["元に戻す"]},{msgid:"Upload some content or sync with your devices!",msgstr:["コンテンツをアップロードするか、デバイスと同期してください!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["受信フォルダが選択されている場合、そのフォルダ内の競合ファイルも上書きされます。"]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["受信フォルダが選択されると、内容は既存のフォルダに書き込まれ、再帰的な競合解決が実行されます。"]},{msgid:"Which files do you want to keep?",msgstr:["どのファイルを残しますか?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["現在、{nickname}として識別されています。"]},{msgid:"You are currently not identified.",msgstr:["現在あなたは識別されていません。"]},{msgid:"You cannot leave the name empty.",msgstr:["名前を空にすることはできません。"]},{msgid:"You need to choose at least one conflict solution",msgstr:["少なくとも1つの競合ソリューションを選択する必要があります"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["続行するには、各ファイルのバージョンを少なくとも1つ選択する必要があります。"]}]},{language:"ko",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}"는 이름 내에 사용할 수 없습니다.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}"은 허용되는 이름이 아닙니다.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}"은 사용할 수 없는 폴더명입니다.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}"은 허용되지 않은 폴더명입니다.']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['같은 이름을 가진 "{segment}"이 이미 사용 중입니다.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/"는 폴더명에 사용할 수 없는 기호입니다.']},{msgid:"All files",msgstr:["모든 파일"]},{msgid:"Cancel",msgstr:["취소"]},{msgid:"Choose",msgstr:["선택"]},{msgid:"Choose {file}",msgstr:["{file} 선택"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["%n개의 파일 선택"]},{msgid:"Copy",msgstr:["복사"]},{msgid:"Copy to {target}",msgstr:["{target}으로 복사"]},{msgid:"Could not create the new folder",msgstr:["새 폴더를 만들 수 없음"]},{msgid:"Could not load files settings",msgstr:["파일 설정을 불러오지 못함"]},{msgid:"Could not load files views",msgstr:["파일 보기를 불러오지 못함"]},{msgid:"Create directory",msgstr:["디렉토리 만들기"]},{msgid:"Current view selector",msgstr:["현재 뷰 선택자"]},{msgid:"Enter your name",msgstr:["이름을 입력하세요 "]},{msgid:"Failed to set nickname.",msgstr:["닉네임을 설정하지 못했습니다.\n\xa0"]},{msgid:"Favorites",msgstr:["즐겨찾기"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["즐겨찾기로 표시한 파일 및 폴더가 이곳에 표시됩니다."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["최근 수정한 파일 및 폴더가 이곳에 표시됩니다."]},{msgid:"Filter file list",msgstr:["파일 목록 필터링"]},{msgid:"Folder name cannot be empty.",msgstr:["폴더명을 비울 수 없습니다."]},{msgid:"Guest identification",msgstr:["게스트 확인"]},{msgid:"Home",msgstr:["홈"]},{msgid:"Invalid name.",msgstr:["잘못된 이름입니다. "]},{msgid:"Modified",msgstr:["수정됨"]},{msgid:"Move",msgstr:["이동"]},{msgid:"Move to {target}",msgstr:["{target}으로 이동"]},{msgid:"Name",msgstr:["이름"]},{msgid:"Names may be at most 64 characters long.",msgstr:["이름은 아마도 최대 64글자 입니다."]},{msgid:"Names must not be empty.",msgstr:["이름은 비어 있으면 안 됩니다."]},{msgid:'Names must not end with "{extension}".',msgstr:['이름은 "{extension}"로 끝나지 않아야 합니다.']},{msgid:"Names must not start with a dot.",msgstr:["이름은 점으로 시작해서는 안 됩니다."]},{msgid:"New",msgstr:["새로 만들기"]},{msgid:"New folder",msgstr:["새 폴더"]},{msgid:"New folder name",msgstr:["새 폴더명"]},{msgid:"No files in here",msgstr:["파일이 없습니다"]},{msgid:"No files matching your filter were found.",msgstr:["선택한 필터에 해당하는 파일이 없습니다."]},{msgid:"No matching files",msgstr:["일치하는 파일 없음"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["최소 2자 이상의 이름을 입력하십시오. "]},{msgid:"Recent",msgstr:["최근"]},{msgid:"Select all entries",msgstr:["모두 선택"]},{msgid:"Select entry",msgstr:["항목 선택"]},{msgid:"Select the row for {nodename}",msgstr:["{nodename}의 행 선택"]},{msgid:"Size",msgstr:["크기"]},{msgid:"Submit name",msgstr:["이름 제출"]},{msgid:"Undo",msgstr:["되돌리기"]},{msgid:"Upload some content or sync with your devices!",msgstr:["기기에서 파일을 업로드 또는 동기화하세요!"]},{msgid:"You are currently identified as {nickname}.",msgstr:["{nickname}로서 인증 상태 입니다."]},{msgid:"You are currently not identified.",msgstr:["현재 인증되지 않았습니다."]},{msgid:"You cannot leave the name empty.",msgstr:["이름은 비워 둘 수 없습니다. "]}]},{language:"lb",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:["{name} ass en ong\xeblteg Dossier"]},{msgid:'"{name}" is not an allowed folder name',msgstr:["{name} ass net en erlaabten Dossiernumm"]},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" ass net an engem Dossier Numm erlaabt']},{msgid:"All files",msgstr:["All Dateien"]},{msgid:"Choose",msgstr:["Wielt"]},{msgid:"Choose {file}",msgstr:["Wielt {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Wielt %n Fichieren","Wielt %n Fichier"]},{msgid:"Copy",msgstr:["Kopie"]},{msgid:"Copy to {target}",msgstr:["Kopie op {target}"]},{msgid:"Could not create the new folder",msgstr:["Konnt den neien Dossier net erstellen"]},{msgid:"Could not load files settings",msgstr:["Konnt d'Dateienastellungen net lueden"]},{msgid:"Could not load files views",msgstr:["Konnt d'Dateien net lueden"]},{msgid:"Create directory",msgstr:["Erstellt Verzeechnes"]},{msgid:"Current view selector",msgstr:["Aktuell Vue selector"]},{msgid:"Favorites",msgstr:["Favoritten"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Dateien an Ordner, d\xe9i Dir als Favorit mark\xe9iert, ginn hei gewisen"]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Dateien an Ordner d\xe9i Dir viru kuerzem ge\xe4nnert hutt ginn hei op"]},{msgid:"Filter file list",msgstr:["Filter Datei L\xebscht"]},{msgid:"Folder name cannot be empty.",msgstr:["Dossier Numm kann net eidel sinn"]},{msgid:"Home",msgstr:["W\xebllkomm"]},{msgid:"Modified",msgstr:["Ge\xe4nnert"]},{msgid:"Move",msgstr:["Pl\xebnne"]},{msgid:"Move to {target}",msgstr:["Pl\xebnneren {target}"]},{msgid:"Name",msgstr:["Numm"]},{msgid:"New",msgstr:["Nei"]},{msgid:"New folder",msgstr:["Neien dossier"]},{msgid:"New folder name",msgstr:["Neien dossier numm"]},{msgid:"No files in here",msgstr:["Kee fichier hei"]},{msgid:"No files matching your filter were found.",msgstr:["Kee fichier deen \xe4re filter passt gouf fonnt"]},{msgid:"No matching files",msgstr:["Keng passende dateien"]},{msgid:"Recent",msgstr:["Rezent"]},{msgid:"Select all entries",msgstr:["Wielt all entr\xe9en"]},{msgid:"Select entry",msgstr:["Wielt entr\xe9e"]},{msgid:"Select the row for {nodename}",msgstr:["Wielt d'zeil fir {nodename}"]},{msgid:"Size",msgstr:["Gr\xe9isst"]},{msgid:"Undo",msgstr:["Undoen"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Luet en inhalt erop oder synchronis\xe9iert mat \xe4ren apparater"]}]},{language:"lo",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['ບໍ່ອະນຸຍາດໃຫ້ມີ "{char}" ພາຍໃນຊື່.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" ບໍ່ແມ່ນຊື່ທີ່ໄດ້ຮັບອະນຸຍາດ.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" ແມ່ນຊື່ໂຟນເດີທີ່ບໍ່ຖືກຕ້ອງ.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" ບໍ່ແມ່ນຊື່ໂຟນເດີທີ່ໄດ້ຮັບອະນຸຍາດ']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" ແມ່ນຊື່ທີ່ສະຫງວນໄວ້ ແລະ ບໍ່ໄດ້ຮັບອະນຸຍາດ.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['ບໍ່ອະນຸຍາດໃຫ້ມີ "/" ພາຍໃນຊື່ໂຟນເດີ.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["ໄຟລ໌ຂັດກັນ %n ລາຍການ"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["ໄຟລ໌ຂັດກັນ %n ລາຍການໃນ {dirname}"]},{msgid:"All files",msgstr:["ໄຟລ໌ທັງໝົດ"]},{msgid:"Cancel",msgstr:["ຍົກເລີກ"]},{msgid:"Cancel the entire operation",msgstr:["ຍົກເລີກການດຳເນີນການທັງໝົດ"]},{msgid:"Choose",msgstr:["ເລືອກ"]},{msgid:"Choose {file}",msgstr:["ເລືອກ {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["ເລືອກ %n ໄຟລ໌"]},{msgid:"Confirm",msgstr:["ຢືນຢັນ"]},{msgid:"Continue",msgstr:["ດຳເນີນການຕໍ່"]},{msgid:"Copy",msgstr:["ຄັດລອກ"]},{msgid:"Copy to {target}",msgstr:["ຄັດລອກໄປທີ່ {target}"]},{msgid:"Could not create the new folder",msgstr:["ບໍ່ສາມາດສ້າງໂຟນເດີໃໝ່ໄດ້"]},{msgid:"Could not load files settings",msgstr:["ບໍ່ສາມາດໂຫຼດການຕັ້ງຄ່າໄຟລ໌ໄດ້"]},{msgid:"Could not load files views",msgstr:["ບໍ່ສາມາດໂຫຼດມຸມມອງໄຟລ໌ໄດ້"]},{msgid:"Create directory",msgstr:["ສ້າງໄດເຣັກທໍຣີ"]},{msgid:"Current view selector",msgstr:["ຕົວເລືອກມຸມມອງປັດຈຸບັນ"]},{msgid:"Enter your name",msgstr:["ປ້ອນຊື່ຂອງທ່ານ"]},{msgid:"Existing version",msgstr:["ເວີຊັນທີ່ມີຢູ່"]},{msgid:"Failed to set nickname.",msgstr:["ຕັ້ງຊື່ຫຼິ້ນບໍ່ສຳເລັດ."]},{msgid:"Favorites",msgstr:["ລາຍການທີ່ມັກ"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["ໄຟລ໌ ແລະ ໂຟນເດີທີ່ທ່ານໝາຍວ່າເປັນລາຍການທີ່ມັກຈະສະແດງຢູ່ບ່ອນນີ້."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["ໄຟລ໌ ແລະ ໂຟນເດີທີ່ທ່ານແກ້ໄຂລ່າສຸດຈະສະແດງຢູ່ບ່ອນນີ້."]},{msgid:"Filter file list",msgstr:["ກັ່ນຕອງລາຍການໄຟລ໌"]},{msgid:"Folder name cannot be empty.",msgstr:["ຊື່ໂຟນເດີຕ້ອງບໍ່ຫວ່າງເປົ່າ."]},{msgid:"Guest identification",msgstr:["ການລະບຸຕົວຕົນຂອງແຂກ"]},{msgid:"Home",msgstr:["ໜ້າຫຼັກ"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["ຖ້າທ່ານເລືອກທັງສອງເວີຊັນ, ໄຟລ໌ທີ່ເຂົ້າມາຈະມີຕົວເລກເພີ່ມໃສ່ຊື່ຂອງມັນ."]},{msgid:"Invalid name.",msgstr:["ຊື່ບໍ່ຖືກຕ້ອງ."]},{msgid:"Last modified date unknown",msgstr:["ບໍ່ຮູ້ວັນທີແກ້ໄຂລ່າສຸດ"]},{msgid:"Modified",msgstr:["ແກ້ໄຂເມື່ອ"]},{msgid:"Move",msgstr:["ຍ້າຍ"]},{msgid:"Move to {target}",msgstr:["ຍ້າຍໄປທີ່ {target}"]},{msgid:"Name",msgstr:["ຊື່"]},{msgid:"Names may be at most 64 characters long.",msgstr:["ຊື່ອາດມີຄວາມຍາວສູງສຸດ 64 ຕົວອັກສອນ."]},{msgid:"Names must not be empty.",msgstr:["ຊື່ຕ້ອງບໍ່ຫວ່າງເປົ່າ."]},{msgid:'Names must not end with "{extension}".',msgstr:['ຊື່ຕ້ອງບໍ່ລົງທ້າຍດ້ວຍ "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["ຊື່ຕ້ອງບໍ່ຂຶ້ນຕົ້ນດ້ວຍຈຸດ."]},{msgid:"New",msgstr:["ໃໝ່"]},{msgid:"New folder",msgstr:["ໂຟນເດີໃໝ່"]},{msgid:"New folder name",msgstr:["ຊື່ໂຟນເດີໃໝ່"]},{msgid:"New version",msgstr:["ເວີຊັນໃໝ່"]},{msgid:"No files in here",msgstr:["ບໍ່ມີໄຟລ໌ຢູ່ບ່ອນນີ້"]},{msgid:"No files matching your filter were found.",msgstr:["ບໍ່ພົບໄຟລ໌ທີ່ກົງກັບການກັ່ນຕອງຂອງທ່ານ."]},{msgid:"No matching files",msgstr:["ບໍ່ມີໄຟລ໌ທີ່ກົງກັນ"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["ກະລຸນາປ້ອນຊື່ທີ່ມີຢ່າງໜ້ອຍ 2 ຕົວອັກສອນ."]},{msgid:"Recent",msgstr:["ລ່າສຸດ"]},{msgid:"Select all checkboxes",msgstr:["ເລືອກກ່ອງໝາຍທັງໝົດ"]},{msgid:"Select all entries",msgstr:["ເລືອກທຸກລາຍການ"]},{msgid:"Select all existing files",msgstr:["ເລືອກໄຟລ໌ທີ່ມີຢູ່ທັງໝົດ"]},{msgid:"Select all new files",msgstr:["ເລືອກໄຟລ໌ໃໝ່ທັງໝົດ"]},{msgid:"Select entry",msgstr:["ເລືອກລາຍການ"]},{msgid:"Select the row for {nodename}",msgstr:["ເລືອກແຖວສຳລັບ {nodename}"]},{msgid:"Size",msgstr:["ຂະໜາດ"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["ຂ້າມ %n ໄຟລ໌"]},{msgid:"Skip this file",msgstr:["ຂ້າມໄຟລ໌ນີ້"]},{msgid:"Submit name",msgstr:["ສົ່ງຊື່"]},{msgid:"Undo",msgstr:["ເອົາຄືນ"]},{msgid:"Upload some content or sync with your devices!",msgstr:["ອັບໂຫຼດເນື້ອຫາ ຫຼື ຊິງຄ໌ກັບອຸປະກອນຂອງທ່ານ!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["ເມື່ອເລືອກໂຟນເດີທີ່ເຂົ້າມາ, ໄຟລ໌ໃດໆທີ່ຂັດກັນພາຍໃນໂຟນເດີນັ້ນກໍຈະຖືກຂຽນທັບເຊັ່ນກັນ."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["ເມື່ອເລືອກໂຟນເດີທີ່ເຂົ້າມາ, ເນື້ອຫາຈະຖືກຂຽນລົງໃນໂຟນເດີທີ່ມີຢູ່ ແລະ ຈະມີການແກ້ໄຂຂໍ້ຂັດແຍ່ງແບບຕໍ່ເນື່ອງ."]},{msgid:"Which files do you want to keep?",msgstr:["ທ່ານຕ້ອງການເກັບໄຟລ໌ໃດໄວ້?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["ຕອນນີ້ທ່ານຖືກລະບຸວ່າເປັນ {nickname}."]},{msgid:"You are currently not identified.",msgstr:["ຕອນນີ້ທ່ານຍັງບໍ່ໄດ້ຖືກລະບຸຕົວຕົນ."]},{msgid:"You cannot leave the name empty.",msgstr:["ທ່ານບໍ່ສາມາດປະຊື່ໃຫ້ຫວ່າງເປົ່າໄດ້."]},{msgid:"You need to choose at least one conflict solution",msgstr:["ທ່ານຈຳເປັນຕ້ອງເລືອກວິທີແກ້ໄຂຂໍ້ຂັດແຍ່ງຢ່າງໜ້ອຍໜຶ່ງຢ່າງ"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["ທ່ານຈຳເປັນຕ້ອງເລືອກຢ່າງໜ້ອຍໜຶ່ງເວີຊັນຂອງແຕ່ລະໄຟລ໌ເພື່ອດຳເນີນການຕໍ່."]}]},{language:"lt_LT",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:["„{name}“ yra netinkamas aplanko pavadinimas."]},{msgid:'"{name}" is not an allowed folder name',msgstr:["„{name}“ yra neleidžiamas aplanko pavadinimas"]},{msgid:'"/" is not allowed inside a folder name.',msgstr:["„/“ yra neleidžiamas aplanko pavadinime."]},{msgid:"All files",msgstr:["Visi failai"]},{msgid:"Cancel",msgstr:["Atšaukti"]},{msgid:"Choose",msgstr:["Pasirinkti"]},{msgid:"Choose {file}",msgstr:["Pasirinkti {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Pasirinkti %n failą","Pasirinkti %n failus","Pasirinkti %n failų","Pasirinkti %n failą"]},{msgid:"Copy",msgstr:["Kopijuoti"]},{msgid:"Copy to {target}",msgstr:["Kopijuoti į {target}"]},{msgid:"Could not create the new folder",msgstr:["Nepavyko sukurti naujo aplanko"]},{msgid:"Could not load files settings",msgstr:["Nepavyko įkelti failų nustatymų"]},{msgid:"Could not load files views",msgstr:["Nepavyko įkelti failų peržiūrų"]},{msgid:"Create directory",msgstr:["Sukurti katalogą"]},{msgid:"Current view selector",msgstr:["Dabartinis peržiūros pasirinkimas"]},{msgid:"Enter your name",msgstr:["Įrašykite savo vardą"]},{msgid:"Failed to set nickname.",msgstr:["Nepavyko nustatyti slapyvardžio"]},{msgid:"Favorites",msgstr:["Populiariausi"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Failai ir aplankai, kuriuos pažymėsite kaip mėgstamiausius, bus rodomi čia."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Čia bus rodomi failai ir aplankai, kuriuos neseniai pakeitėte."]},{msgid:"Filter file list",msgstr:["Filtruoti failų sąrašą"]},{msgid:"Folder name cannot be empty.",msgstr:["Aplanko pavadinimas negali būti tuščias."]},{msgid:"Guest identification",msgstr:["Svečio identifikacija"]},{msgid:"Home",msgstr:["Pradžia"]},{msgid:"Modified",msgstr:["Pakeista"]},{msgid:"Move",msgstr:["Perkelti"]},{msgid:"Move to {target}",msgstr:["Perkelti į {target}"]},{msgid:"Name",msgstr:["Vardas"]},{msgid:"New",msgstr:["Naujas"]},{msgid:"New folder",msgstr:["Naujas aplankas"]},{msgid:"New folder name",msgstr:["Naujas aplanko pavadinimas"]},{msgid:"No files in here",msgstr:["Čia failų nėra"]},{msgid:"No files matching your filter were found.",msgstr:["Nepavyko rasti failų pagal filtro nustatymus"]},{msgid:"No matching files",msgstr:["Nėra atitinkančių failų"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Įrašykite vardą iš mažiausiai dviejų ženklų."]},{msgid:"Recent",msgstr:["Nauji"]},{msgid:"Select all entries",msgstr:["Žymėti visus įrašus"]},{msgid:"Select entry",msgstr:["Žymėti įrašą"]},{msgid:"Select the row for {nodename}",msgstr:["Pasirinkite eilutę {nodename}"]},{msgid:"Size",msgstr:["Dydis"]},{msgid:"Submit name",msgstr:["Patvirtinti vardą"]},{msgid:"Undo",msgstr:["Atšaukti"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Įkelkite turinio arba sinchronizuokite su savo įrenginiais!"]},{msgid:"You are currently not identified.",msgstr:["Šiuo metu nesate identifikuotas."]},{msgid:"You cannot leave the name empty.",msgstr:["Negalite palikti tuščio vardo lauko."]}]},{language:"lv",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" nav derīgs mapes nosaukums.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" nav atļauts mapes nosaukums']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" nav atļauts mapes nosaukuma izmantošanā.']},{msgid:"All files",msgstr:["Visas datnes"]},{msgid:"Choose",msgstr:["Izvēlieties"]},{msgid:"Choose {file}",msgstr:["Izvēlieties {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Izvēlēties %n datņu","Izvēlēties %n datni","Izvēlēties %n datnes"]},{msgid:"Copy",msgstr:["Kopēt"]},{msgid:"Copy to {target}",msgstr:["Kopēt uz {target}"]},{msgid:"Could not create the new folder",msgstr:["Nevarēja izveidot jaunu mapi"]},{msgid:"Could not load files settings",msgstr:["Nevarēja ielādēt datņu iestatījumus"]},{msgid:"Could not load files views",msgstr:["Nevarēja ielādēt datņu apskatījumus"]},{msgid:"Create directory",msgstr:["Izveidot direktoriju"]},{msgid:"Current view selector",msgstr:["Pašreizēja skata atlasītājs"]},{msgid:"Favorites",msgstr:["Favorīti"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Šeit parādīsies datnes un mapes, kas tiks atzīmētas kā iecienītas."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Šeit parādīsies datnes un mapes, kuras nesen tika izmainītas."]},{msgid:"Filter file list",msgstr:["Atlasīt datņu sarakstu"]},{msgid:"Folder name cannot be empty.",msgstr:["Mapes nosaukums nevar būt tukšs."]},{msgid:"Home",msgstr:["Sākums"]},{msgid:"Modified",msgstr:["Izmaninīta"]},{msgid:"Move",msgstr:["Pārvietot"]},{msgid:"Move to {target}",msgstr:["Pārvietot uz {target}"]},{msgid:"Name",msgstr:["Nosaukums"]},{msgid:"New",msgstr:["Jauns"]},{msgid:"New folder",msgstr:["Jauna mape"]},{msgid:"New folder name",msgstr:["Jaunas mapes nosaukums"]},{msgid:"No files in here",msgstr:["Šeit nav datņu"]},{msgid:"No files matching your filter were found.",msgstr:["Netika atrasta neviena datne, kas atbilst atlasei."]},{msgid:"No matching files",msgstr:["Nav atbilstošu datņu"]},{msgid:"Recent",msgstr:["Nesenās"]},{msgid:"Select all entries",msgstr:["Atlasīt visus ierakstus"]},{msgid:"Select entry",msgstr:["Atlasīt ierakstu"]},{msgid:"Select the row for {nodename}",msgstr:["Atlasīt rindu {nodename}"]},{msgid:"Size",msgstr:["Izmērs"]},{msgid:"Undo",msgstr:["Atsaukt"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Augšupielādē kādu saturu vai sinhronizē savās iekārtās!"]}]},{language:"mk",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" не е дозволено во име.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" не е дозволено име.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" не е валидно име за папка/']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" не е дозволено име за папка']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" е резервирано име и не е дозволено.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" не е дозволена во име на папка.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n конфликт со датотекa","%n конфликти со датотеки"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n конфликт со датотека во {dirname}","%n конфликти со датотеки vo {dirname}"]},{msgid:"All files",msgstr:["Сите датотеки"]},{msgid:"Cancel",msgstr:["Откажи"]},{msgid:"Cancel the entire operation",msgstr:["Прекини ја целата операција"]},{msgid:"Choose",msgstr:["Избери"]},{msgid:"Choose {file}",msgstr:["Избери {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Избери %n датотека","Избери %n датотеки"]},{msgid:"Confirm",msgstr:["Потврди"]},{msgid:"Continue",msgstr:["Продолжи"]},{msgid:"Copy",msgstr:["Копирај"]},{msgid:"Copy to {target}",msgstr:["Копирај во {target}"]},{msgid:"Could not create the new folder",msgstr:["Неможе да се креира нова папка"]},{msgid:"Could not load files settings",msgstr:["Неможе да се вчиаат параметрите за датотеките"]},{msgid:"Could not load files views",msgstr:["Неможе да се вчитаат погледите за датотеките"]},{msgid:"Create directory",msgstr:["Креирај папка"]},{msgid:"Current view selector",msgstr:["Избирач на тековен приказ"]},{msgid:"Enter your name",msgstr:["Внесете го вашето име"]},{msgid:"Existing version",msgstr:["Моментална верзија"]},{msgid:"Failed to set nickname.",msgstr:["Неуспешно поставување прекар."]},{msgid:"Favorites",msgstr:["Фаворити"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Датотеките и папките кој ќе ги означите за омилени ќе се појават овде."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Датотеките и папките кој неодамна сте ги измениле ќе се појават овде."]},{msgid:"Filter file list",msgstr:["Филтрирај листа на датотеки"]},{msgid:"Folder name cannot be empty.",msgstr:["Името на папката неможе да биде празно."]},{msgid:"Guest identification",msgstr:["Гостинска идентификација"]},{msgid:"Home",msgstr:["Почетна"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Ако ги избереш двете верзии, влезната датотека ќе добие број додаден на нејзиното име."]},{msgid:"Invalid name.",msgstr:["Невалидно име."]},{msgid:"Last modified date unknown",msgstr:["Датумот на последна измена е непознат"]},{msgid:"Modified",msgstr:["Променето"]},{msgid:"Move",msgstr:["Премести"]},{msgid:"Move to {target}",msgstr:["Премести во {target}"]},{msgid:"Name",msgstr:["Име"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Имињата можат да бидат најмногу со 64 карактери."]},{msgid:"Names must not be empty.",msgstr:["Имињата неможе да бидат празни."]},{msgid:'Names must not end with "{extension}".',msgstr:['Имињата неможе да завршуваат со "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Имињата неможе да започнуваат со точка."]},{msgid:"New",msgstr:["Нова"]},{msgid:"New folder",msgstr:["Нова папка"]},{msgid:"New folder name",msgstr:["Ново име на папка"]},{msgid:"New version",msgstr:["Нова верзија"]},{msgid:"No files in here",msgstr:["Овде нема датотеки"]},{msgid:"No files matching your filter were found.",msgstr:["Не се пронајдени датотеки што одговараат на вашиот филтер."]},{msgid:"No matching files",msgstr:["Нема датотеки што се совпаѓаат"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Внесете име со најмалку 2 карактери."]},{msgid:"Recent",msgstr:["Неодамнешни"]},{msgid:"Select all checkboxes",msgstr:["Избери ги сите полиња за избор"]},{msgid:"Select all entries",msgstr:["Изберете ги сите записи"]},{msgid:"Select all existing files",msgstr:["Изберете ги сите постоечки датотеки"]},{msgid:"Select all new files",msgstr:["Изберете ги сите нови датотеки"]},{msgid:"Select entry",msgstr:["Избери запис"]},{msgid:"Select the row for {nodename}",msgstr:["Избери ред за {nodename}"]},{msgid:"Size",msgstr:["Големина"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Прескокни %n датотека","Прескокни %n датотеки"]},{msgid:"Skip this file",msgstr:["Прескокни ја оваа датотека"]},{msgid:"Submit name",msgstr:["Испрати име"]},{msgid:"Undo",msgstr:["Врати"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Прикачи содржина или синхронизирај со ваши уреди!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Кога е избрана влезна папка, сите конфликтни датотеки во неа исто така ќе бидат препишани."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Кога е избрана влезна папка, содржината се запишува во постоечката папка и се извршува рекурсивно решавање на конфликти."]},{msgid:"Which files do you want to keep?",msgstr:["Кој датотеки сакаш да ги зачуваш?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Моментално сте идентификувани како {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Моментално не сте идентификувани."]},{msgid:"You cannot leave the name empty.",msgstr:["Не можете да го оставите името празно."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Треба да избереш најмалку едно решение за конфликт"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Треба да избереш најмалку една верзија за секоја датотека за да продолжи."]}]},{language:"ms_MY",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" adalah nama folder yang tidak sesuai ']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" nama folder yang tidak dibenarkan']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" tidak dibenarkan dalam nama folder']},{msgid:"All files",msgstr:["Semua fail"]},{msgid:"Choose",msgstr:["Pilih"]},{msgid:"Choose {file}",msgstr:["Pilih {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Pilih fail %n"]},{msgid:"Copy",msgstr:["menyalin"]},{msgid:"Copy to {target}",msgstr:["menyalin ke {target}"]},{msgid:"Could not create the new folder",msgstr:["Tidak dapat mewujudkan folder baharu"]},{msgid:"Could not load files settings",msgstr:["Tidak dapat memuatkan tetapan fail"]},{msgid:"Could not load files views",msgstr:["Tidak dapat memuatkan paparan fail"]},{msgid:"Create directory",msgstr:["mewujudkan direktori"]},{msgid:"Current view selector",msgstr:["pemilih pandangan semasa"]},{msgid:"Favorites",msgstr:["Pilihan"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Fail dan folder yang anda tanda sebagai pilihan akan dipaparkan di sini."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Fail dan folder yang anda telah ubah suai baru-baru ini dipaparkan di sini."]},{msgid:"Filter file list",msgstr:["Menapis senarai fail"]},{msgid:"Folder name cannot be empty.",msgstr:["Nama folder tidak boleh kosong."]},{msgid:"Home",msgstr:["Utama"]},{msgid:"Modified",msgstr:["Ubah suai"]},{msgid:"Move",msgstr:["pindah"]},{msgid:"Move to {target}",msgstr:["pindah ke {target}"]},{msgid:"Name",msgstr:["Nama"]},{msgid:"New",msgstr:["Baru"]},{msgid:"New folder",msgstr:["Folder Baharu"]},{msgid:"New folder name",msgstr:["Nama folder baharu"]},{msgid:"No files in here",msgstr:["Tiada fail di sini"]},{msgid:"No files matching your filter were found.",msgstr:["Tiada fail yang sepadan dengan tapisan anda."]},{msgid:"No matching files",msgstr:["Tiada fail yang sepadan"]},{msgid:"Recent",msgstr:["baru-baru ini"]},{msgid:"Select all entries",msgstr:["Pilih semua entri"]},{msgid:"Select entry",msgstr:["Pilih entri"]},{msgid:"Select the row for {nodename}",msgstr:["memilih baris {nodename}"]},{msgid:"Size",msgstr:["Saiz"]},{msgid:"Undo",msgstr:["buat asal"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Muat naik beberapa kandungan atau selaras dengan peranti anda!"]}]},{language:"nb_NO",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" er ikke tillatt i et navn.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" er ikke et tillatt navn.']},{msgid:'"{name}" is an invalid folder name.',msgstr:["\xab{name}\xbb er ikke et gyldig mappenavn."]},{msgid:'"{name}" is not an allowed folder name',msgstr:["\xab{name}\xbb er ikke et tillatt mappenavn."]},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" er et reservert navn og er ikke tillatt.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" er ikke tillatt inne i et mappenavn.']},{msgid:"All files",msgstr:["Alle filer"]},{msgid:"Cancel",msgstr:["Avbryt"]},{msgid:"Choose",msgstr:["Velg"]},{msgid:"Choose {file}",msgstr:["Velg {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Velg %n fil","Velg %n filer"]},{msgid:"Copy",msgstr:["Kopier"]},{msgid:"Copy to {target}",msgstr:["Kopier til {target}"]},{msgid:"Could not create the new folder",msgstr:["Kunne ikke opprette den nye mappen"]},{msgid:"Could not load files settings",msgstr:["Kunne ikke laste filinnstillinger"]},{msgid:"Could not load files views",msgstr:["Kunne ikke laste filvisninger"]},{msgid:"Create directory",msgstr:["Opprett mappe"]},{msgid:"Current view selector",msgstr:["N\xe5v\xe6rende visningsvelger"]},{msgid:"Enter your name",msgstr:["Skriv inn navnet ditt"]},{msgid:"Failed to set nickname.",msgstr:["Kunne ikke lagre kallenavnet."]},{msgid:"Favorites",msgstr:["Favoritter"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Filer og mapper du markerer som favoritter vil vises her."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Filer og mapper du nylig har endret, vil vises her."]},{msgid:"Filter file list",msgstr:["Filtrer filliste"]},{msgid:"Folder name cannot be empty.",msgstr:["Mappenavn kan ikke v\xe6re tomt."]},{msgid:"Guest identification",msgstr:["Gjesteidentifikasjon"]},{msgid:"Home",msgstr:["Hjem"]},{msgid:"Invalid name.",msgstr:["Ugyldig navn."]},{msgid:"Modified",msgstr:["Modifisert"]},{msgid:"Move",msgstr:["Flytt"]},{msgid:"Move to {target}",msgstr:["Flytt til {target}"]},{msgid:"Name",msgstr:["Navn"]},{msgid:"Names must not be empty.",msgstr:["Navn kan ikke v\xe6re tomme."]},{msgid:'Names must not end with "{extension}".',msgstr:['Navn kan ikke ende med "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Navn kan ikke starte med et punktum."]},{msgid:"New",msgstr:["Ny"]},{msgid:"New folder",msgstr:["Ny mappe"]},{msgid:"New folder name",msgstr:["Nytt mappenavn"]},{msgid:"No files in here",msgstr:["Ingen filer her"]},{msgid:"No files matching your filter were found.",msgstr:["Ingen filer funnet med ditt filter."]},{msgid:"No matching files",msgstr:["Ingen filer samsvarer"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Vennligst angi et navn som har minst 2 tegn."]},{msgid:"Recent",msgstr:["Nylige"]},{msgid:"Select all entries",msgstr:["Velg alle oppf\xf8ringer"]},{msgid:"Select entry",msgstr:["Velg oppf\xf8ring"]},{msgid:"Select the row for {nodename}",msgstr:["Velg raden for {nodename}"]},{msgid:"Size",msgstr:["St\xf8rrelse"]},{msgid:"Submit name",msgstr:["Bekreft navn"]},{msgid:"Undo",msgstr:["Angre"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Last opp innhold eller synkroniser med enhetene dine!"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Du er akkurat n\xe5 identifisert som {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Du er akkurat n\xe5 ikke identifisert."]},{msgid:"You cannot leave the name empty.",msgstr:["Du kan ikke la navnet v\xe6re blankt."]}]},{language:"nl",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" kan niet gebruikt worden in de benaming.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" is geen toegestane naam.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" is een ongeldige mapnaam.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" is geen toegestane mapnaam']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" is een gereserveerde naam en niet toegestaan.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" is niet toegestaan binnen een bestandsnaam']},{msgid:"All files",msgstr:["Alle bestanden"]},{msgid:"Cancel",msgstr:["Annuleren"]},{msgid:"Choose",msgstr:["Kiezen"]},{msgid:"Choose {file}",msgstr:["Kies {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Kies %n bestand","Kies %n bestanden"]},{msgid:"Copy",msgstr:["Kopi\xebren"]},{msgid:"Copy to {target}",msgstr:["Kopi\xebren naar {target}"]},{msgid:"Could not create the new folder",msgstr:["Kon de nieuwe map niet maken"]},{msgid:"Could not load files settings",msgstr:["Kon de bestandsinstellingen niet laden"]},{msgid:"Could not load files views",msgstr:["Kon de bestandsweergaves niet laden"]},{msgid:"Create directory",msgstr:["Map aanmaken"]},{msgid:"Current view selector",msgstr:["Huidige weergave keuze"]},{msgid:"Enter your name",msgstr:["Voer je naam in"]},{msgid:"Failed to set nickname.",msgstr:["Kon geen bijnaam instellen."]},{msgid:"Favorites",msgstr:["Favorieten"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Bestanden en mappen die je als favoriet markeert, verschijnen hier."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Bestanden en mappen die je recentelijk hebt gewijzigd, verschijnen hier."]},{msgid:"Filter file list",msgstr:["Bestandslijst filteren"]},{msgid:"Folder name cannot be empty.",msgstr:["Mapnaam mag niet leeg zijn."]},{msgid:"Guest identification",msgstr:["Gastenidentificatie"]},{msgid:"Home",msgstr:["Thuis"]},{msgid:"Invalid name.",msgstr:["Ongeldige naam."]},{msgid:"Modified",msgstr:["Gewijzigd"]},{msgid:"Move",msgstr:["Verplaatsen"]},{msgid:"Move to {target}",msgstr:["Verplaatsen naar {target}"]},{msgid:"Name",msgstr:["Naam"]},{msgid:"Names must not be empty.",msgstr:["Namen mogen niet leeg zijn."]},{msgid:'Names must not end with "{extension}".',msgstr:['Namen mogen niet eindigen met "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Namen mogen niet begonnen met een punt."]},{msgid:"New",msgstr:["Nieuw"]},{msgid:"New folder",msgstr:["Nieuwe map"]},{msgid:"New folder name",msgstr:["Nieuwe mapnaam"]},{msgid:"No files in here",msgstr:["Geen bestanden hier"]},{msgid:"No files matching your filter were found.",msgstr:["Geen bestanden gevonden die voldoen aan je filter."]},{msgid:"No matching files",msgstr:["Geen overeenkomende bestanden"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Voer een naam in met minimaal 2 tekens."]},{msgid:"Recent",msgstr:["Recent"]},{msgid:"Select all entries",msgstr:["Alle invoer selecteren"]},{msgid:"Select entry",msgstr:["Invoer selecteren"]},{msgid:"Select the row for {nodename}",msgstr:["Selecteer de rij voor {nodename}"]},{msgid:"Size",msgstr:["Grootte"]},{msgid:"Submit name",msgstr:["Naam indienen"]},{msgid:"Undo",msgstr:["Ongedaan maken"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Upload inhoud of synchroniseer met je apparaten!"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Je wordt momenteel ge\xefdentificeerd als {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Je bent momenteel niet ge\xefdentificeerd."]},{msgid:"You cannot leave the name empty.",msgstr:["Je kunt de naam niet leeg laten."]}]},{language:"pl",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" nie jest dozwolone w nazwie.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" nie jest dozwoloną nazwą.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" jest nieprawidłową nazwą folderu']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" nie jest dozwoloną nazwą folderu']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" jest zastrzeżoną nazwą i nie jest dozwolone.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['Znak "/" nie jest dozwolony w nazwie folderu']},{msgid:"All files",msgstr:["Wszystkie pliki"]},{msgid:"Cancel",msgstr:["Anuluj"]},{msgid:"Choose",msgstr:["Wybierz"]},{msgid:"Choose {file}",msgstr:["Wybierz {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Wybierz %n plik","Wybierz %n pliki","Wybierz %n plik\xf3w","Wybierz %n plik\xf3w"]},{msgid:"Copy",msgstr:["Kopiuj"]},{msgid:"Copy to {target}",msgstr:["Skopiuj do {target}"]},{msgid:"Could not create the new folder",msgstr:["Nie można utworzyć nowego folderu"]},{msgid:"Could not load files settings",msgstr:["Nie można wczytać ustawień plik\xf3w"]},{msgid:"Could not load files views",msgstr:["Nie można wczytać widok\xf3w plik\xf3w"]},{msgid:"Create directory",msgstr:["Utw\xf3rz katalog"]},{msgid:"Current view selector",msgstr:["Bieżący selektor widoku"]},{msgid:"Enter your name",msgstr:["Wprowadź nazwę"]},{msgid:"Failed to set nickname.",msgstr:["Nie udało się utworzyć pseudonimu."]},{msgid:"Favorites",msgstr:["Ulubione"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Pliki i foldery kt\xf3re oznaczysz jako ulubione będą wyświetlały się tutaj"]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Pliki i foldery kt\xf3re ostatnio modyfikowałeś będą wyświetlały się tutaj"]},{msgid:"Filter file list",msgstr:["Filtruj listę plik\xf3w"]},{msgid:"Folder name cannot be empty.",msgstr:["Nazwa folderu nie może być pusta"]},{msgid:"Guest identification",msgstr:["Identyfikacja gościa"]},{msgid:"Home",msgstr:["Strona gł\xf3wna"]},{msgid:"Invalid name.",msgstr:["Nieprawidłowa nazwa."]},{msgid:"Modified",msgstr:["Zmodyfikowano"]},{msgid:"Move",msgstr:["Przenieś"]},{msgid:"Move to {target}",msgstr:["Przejdź do {target}"]},{msgid:"Name",msgstr:["Nazwa"]},{msgid:"Names must not be empty.",msgstr:["Nazwy nie mogą być puste."]},{msgid:'Names must not end with "{extension}".',msgstr:['Nazwy nie mogą kończyć się na "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Nazwy nie mogą zaczynać się od kropki."]},{msgid:"New",msgstr:["Nowy"]},{msgid:"New folder",msgstr:["Nowy folder"]},{msgid:"New folder name",msgstr:["Nowa nazwa folderu"]},{msgid:"No files in here",msgstr:["Brak plik\xf3w"]},{msgid:"No files matching your filter were found.",msgstr:["Nie znaleziono plik\xf3w spełniających warunki filtru"]},{msgid:"No matching files",msgstr:["Brak pasujących plik\xf3w"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Wprowadź nazwę zawierającą minimum 2 znaki."]},{msgid:"Recent",msgstr:["Ostatni"]},{msgid:"Select all entries",msgstr:["Wybierz wszystkie wpisy"]},{msgid:"Select entry",msgstr:["Wybierz wpis"]},{msgid:"Select the row for {nodename}",msgstr:["Wybierz wiersz dla {nodename}"]},{msgid:"Size",msgstr:["Rozmiar"]},{msgid:"Submit name",msgstr:["Zatwierdź nazwę"]},{msgid:"Undo",msgstr:["Cofnij"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Wyślij zawartość lub zsynchronizuj ze swoimi urządzeniami!"]},{msgid:"You are currently not identified.",msgstr:["Użytkownik nie został uwierzytelniony."]},{msgid:"You cannot leave the name empty.",msgstr:["Nazwa nie może być pusta."]}]},{language:"pt_BR",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" n\xe3o \xe9 permitido dentro de um nome.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" n\xe3o \xe9 um nome permitido.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" \xe9 um nome de pasta inv\xe1lido.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" n\xe3o \xe9 um nome de pasta permitido']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" \xe9 um nome reservado e n\xe3o permitido.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" n\xe3o \xe9 permitido dentro de um nome de pasta.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n arquivo conflita","%n de arquivos conflitam","%n arquivos conflitam"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n conflito de arquivo em {dirname}","%n de conflitos de arquivos em {dirname}","%n conflitos de arquivos em {dirname}"]},{msgid:"All files",msgstr:["Todos os arquivos"]},{msgid:"Cancel",msgstr:["Cancelar"]},{msgid:"Cancel the entire operation",msgstr:["Cancelar toda a opera\xe7\xe3o"]},{msgid:"Choose",msgstr:["Escolher"]},{msgid:"Choose {file}",msgstr:["Escolher {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Escolher %n arquivo","Escolher %n arquivos","Escolher %n arquivos"]},{msgid:"Confirm",msgstr:["Confirmar"]},{msgid:"Continue",msgstr:["Continuar"]},{msgid:"Copy",msgstr:["Copiar"]},{msgid:"Copy to {target}",msgstr:["Copiar para {target}"]},{msgid:"Could not create the new folder",msgstr:["N\xe3o foi poss\xedvel criar a nova pasta"]},{msgid:"Could not load files settings",msgstr:["N\xe3o foi poss\xedvel carregar configura\xe7\xf5es de arquivos"]},{msgid:"Could not load files views",msgstr:["N\xe3o foi poss\xedvel carregar visuali\xe7\xf5es de arquivos"]},{msgid:"Create directory",msgstr:["Criar diret\xf3rio"]},{msgid:"Current view selector",msgstr:["Seletor de visualiza\xe7\xe3o atual"]},{msgid:"Enter your name",msgstr:["Digite seu nome"]},{msgid:"Existing version",msgstr:["Vers\xe3o existente"]},{msgid:"Failed to set nickname.",msgstr:["Falha ao definir apelido."]},{msgid:"Favorites",msgstr:["Favoritos"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Os arquivos e pastas que voc\xea marca como favoritos aparecer\xe3o aqui."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Arquivos e pastas que voc\xea modificou recentemente aparecer\xe3o aqui."]},{msgid:"Filter file list",msgstr:["Filtrar lista de arquivos"]},{msgid:"Folder name cannot be empty.",msgstr:["O nome da pasta n\xe3o pode ser vazio."]},{msgid:"Guest identification",msgstr:["Identifica\xe7\xe3o de convidados"]},{msgid:"Home",msgstr:["In\xedcio"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Se voc\xea selecionar ambas as vers\xf5es, um n\xfamero ser\xe1 adicionado ao nome do arquivo recebido."]},{msgid:"Invalid name.",msgstr:["Nome inv\xe1lido."]},{msgid:"Last modified date unknown",msgstr:["Data da \xfaltima modifica\xe7\xe3o desconhecida"]},{msgid:"Modified",msgstr:["Modificado"]},{msgid:"Move",msgstr:["Mover"]},{msgid:"Move to {target}",msgstr:["Mover para {target}"]},{msgid:"Name",msgstr:["Nome"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Os nomes podem ter no m\xe1ximo 64 caracteres."]},{msgid:"Names must not be empty.",msgstr:["Nomes n\xe3o podem estar vazios."]},{msgid:'Names must not end with "{extension}".',msgstr:['Nomes n\xe3o podem terminar com "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Nomes n\xe3o podem come\xe7ar com um ponto."]},{msgid:"New",msgstr:["Novo"]},{msgid:"New folder",msgstr:["Nova pasta"]},{msgid:"New folder name",msgstr:["Novo nome de pasta"]},{msgid:"New version",msgstr:["Nova vers\xe3o"]},{msgid:"No files in here",msgstr:["Nenhum arquivo aqui"]},{msgid:"No files matching your filter were found.",msgstr:["Nenhum arquivo correspondente ao seu filtro foi encontrado."]},{msgid:"No matching files",msgstr:["Nenhum arquivo correspondente"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Digite um nome com pelo menos 2 caracteres."]},{msgid:"Recent",msgstr:["Recente"]},{msgid:"Select all checkboxes",msgstr:["Selecione todas as caixas de sele\xe7\xe3o"]},{msgid:"Select all entries",msgstr:["Selecionar todas as entradas"]},{msgid:"Select all existing files",msgstr:["Selecione todos os arquivos existentes"]},{msgid:"Select all new files",msgstr:["Selecione todos os novos arquivos"]},{msgid:"Select entry",msgstr:["Selecionar entrada"]},{msgid:"Select the row for {nodename}",msgstr:["Selecionar a linha para {nodename}"]},{msgid:"Size",msgstr:["Tamanho"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Ignorar %n arquivo","Ignorar %n de arquivos","Ignorar %n arquivos"]},{msgid:"Skip this file",msgstr:["Ignorar este arquivo"]},{msgid:"Submit name",msgstr:["Enviar nome"]},{msgid:"Undo",msgstr:["Desfazer"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Fa\xe7a upload de algum conte\xfado ou sincronize com seus dispositivos!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Ao selecionar uma pasta de entrada, quaisquer arquivos conflitantes dentro dela tamb\xe9m ser\xe3o sobrescritos."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Quando uma pasta de entrada \xe9 selecionada, o conte\xfado \xe9 gravado na pasta existente e uma resolu\xe7\xe3o recursiva de conflitos \xe9 realizada."]},{msgid:"Which files do you want to keep?",msgstr:["Quais arquivos voc\xea deseja manter?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Encontra-se identificado como {nickname}"]},{msgid:"You are currently not identified.",msgstr:["No momento, voc\xea n\xe3o est\xe1 identificado."]},{msgid:"You cannot leave the name empty.",msgstr:["Voc\xea n\xe3o pode deixar o nome vazio."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Voc\xea precisa escolher pelo menos uma solu\xe7\xe3o para o conflito."]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Voc\xea precisa selecionar pelo menos uma vers\xe3o de cada arquivo para continuar."]}]},{language:"pt_PT",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" n\xe3o \xe9 permitido dentro de um nome.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" n\xe3o \xe9 um nome permitido.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" \xe9 um nome de pasta inv\xe1lido.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" n\xe3o \xe9 um nome de pasta permitido']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" \xe9 um nome reservado e n\xe3o \xe9 permitido.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" n\xe3o \xe9 permitido dentro do nome de pasta.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n ficheiro em conflito","%n ficheiros em conflito","%n ficheiros em conflito"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n ficheiro em conflito em {dirname}","%n ficheiros em conflito em {dirname}","%n ficheiros em conflito em {dirname}"]},{msgid:"All files",msgstr:["Todos os ficheiros"]},{msgid:"Cancel",msgstr:["Cancelar"]},{msgid:"Cancel the entire operation",msgstr:["Cancelar toda a opera\xe7\xe3o"]},{msgid:"Choose",msgstr:["Escolher"]},{msgid:"Choose {file}",msgstr:["Escolher {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Escolha %n ficheiro","Escolha %n ficheiros","Escolha %n ficheiros"]},{msgid:"Confirm",msgstr:["Confirmar"]},{msgid:"Continue",msgstr:["Continuar"]},{msgid:"Copy",msgstr:["Copiar"]},{msgid:"Copy to {target}",msgstr:["Copiar para {target}"]},{msgid:"Could not create the new folder",msgstr:["N\xe3o foi poss\xedvel criar a nova pasta "]},{msgid:"Could not load files settings",msgstr:["N\xe3o foi poss\xedvel carregar as defini\xe7\xf5es dos ficheiros"]},{msgid:"Could not load files views",msgstr:["N\xe3o foi poss\xedvel carregar as visualiza\xe7\xf5es dos ficheiros"]},{msgid:"Create directory",msgstr:["Criar pasta"]},{msgid:"Current view selector",msgstr:["Seletor de visualiza\xe7\xe3o atual"]},{msgid:"Enter your name",msgstr:["Introduza o seu nome"]},{msgid:"Existing version",msgstr:["Vers\xe3o existente"]},{msgid:"Failed to set nickname.",msgstr:["Falha ao definir o nome alternativo."]},{msgid:"Favorites",msgstr:["Favoritos"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Os ficheiros e as pastas que marcar como favoritos aparecer\xe3o aqui."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Os ficheiros e as pastas que modificou recentemente aparecer\xe3o aqui."]},{msgid:"Filter file list",msgstr:["Filtrar lista de ficheiros"]},{msgid:"Folder name cannot be empty.",msgstr:["O nome da pasta n\xe3o pode estar vazio."]},{msgid:"Guest identification",msgstr:["Identifica\xe7\xe3o de convidado"]},{msgid:"Home",msgstr:["In\xedcio"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Se voc\xea selecionar ambas as vers\xf5es, um n\xfamero ser\xe1 adicionado ao nome do ficheiro recebido."]},{msgid:"Invalid name.",msgstr:["Nome inv\xe1lido."]},{msgid:"Last modified date unknown",msgstr:["Data da \xfaltima modifica\xe7\xe3o desconhecida"]},{msgid:"Modified",msgstr:["Modificado"]},{msgid:"Move",msgstr:["Mover"]},{msgid:"Move to {target}",msgstr:["Mover para {target}"]},{msgid:"Name",msgstr:["Nome"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Os nomes podem ter no m\xe1ximo 64 caracteres."]},{msgid:"Names must not be empty.",msgstr:["O nome n\xe3o pode ficar em branco."]},{msgid:'Names must not end with "{extension}".',msgstr:['Nomes n\xe3o podem terminar em "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Os nomes n\xe3o podem come\xe7ar por um ponto."]},{msgid:"New",msgstr:["Novo"]},{msgid:"New folder",msgstr:["Nova pasta"]},{msgid:"New folder name",msgstr:["Novo nome da pasta"]},{msgid:"New version",msgstr:["Nova vers\xe3o"]},{msgid:"No files in here",msgstr:["Sem ficheiros aqui"]},{msgid:"No files matching your filter were found.",msgstr:["N\xe3o foi encontrado nenhum ficheiro correspondente ao seu filtro."]},{msgid:"No matching files",msgstr:["Nenhum ficheiro correspondente"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Introduza um nome com, pelo menos, 2 caracteres."]},{msgid:"Recent",msgstr:["Recentes"]},{msgid:"Select all checkboxes",msgstr:["Selecione todas as caixas de sele\xe7\xe3o"]},{msgid:"Select all entries",msgstr:["Selecionar todas as entradas"]},{msgid:"Select all existing files",msgstr:["Selecione todos os ficheiros existentes"]},{msgid:"Select all new files",msgstr:["Selecione todos os novos ficheiros"]},{msgid:"Select entry",msgstr:["Selecionar entrada"]},{msgid:"Select the row for {nodename}",msgstr:["Selecione a linha para {nodename}"]},{msgid:"Size",msgstr:["Tamanho"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Ignorar %n ficheiro","Ignorar %n ficheiros","Ignorar %n ficheiros"]},{msgid:"Skip this file",msgstr:["Ignorar este ficheiro"]},{msgid:"Submit name",msgstr:["Submeter nome"]},{msgid:"Undo",msgstr:["Anular"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Envie algum conte\xfado ou sincronize com os seus dispositivos!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Ao selecionar uma pasta de entrada, quaisquer ficheiros conflituantes dentro da mesma ser\xe3o tamb\xe9m sobrescritos."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Quando uma pasta de entrada \xe9 selecionada, o conte\xfado \xe9 gravado na pasta existente e \xe9 realizada uma resolu\xe7\xe3o recursiva de conflitos."]},{msgid:"Which files do you want to keep?",msgstr:["Quais os ficheiros que deseja manter?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Atualmente est\xe1 identificado como {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Atualmente, n\xe3o est\xe1 identificado."]},{msgid:"You cannot leave the name empty.",msgstr:["N\xe3o pode deixar o nome em branco."]},{msgid:"You need to choose at least one conflict solution",msgstr:["\xc9 preciso escolher pelo menos uma solu\xe7\xe3o para o conflito."]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["\xc9 necess\xe1rio selecionar pelo menos uma vers\xe3o de cada ficheiro para continuar."]}]},{language:"ro",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" este un nume de director invalid.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" nu este un nume de director permis']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" nu este permis \xeen numele unui director.']},{msgid:"All files",msgstr:["Toate fișierele"]},{msgid:"Choose",msgstr:["Alege"]},{msgid:"Choose {file}",msgstr:["Alege {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Alege %n fișier","Alege %n fișiere","Alege %n fișiere"]},{msgid:"Copy",msgstr:["Copiază"]},{msgid:"Copy to {target}",msgstr:["Copiază \xeen {target}"]},{msgid:"Could not create the new folder",msgstr:["Nu s-a putut crea noul director"]},{msgid:"Could not load files settings",msgstr:["Nu s-au putut \xeencărca setările fișierelor"]},{msgid:"Could not load files views",msgstr:["Nu s-au putut \xeencărca vizualizările fișierelor"]},{msgid:"Create directory",msgstr:["Creează director"]},{msgid:"Current view selector",msgstr:["Selectorul curent al vizualizării"]},{msgid:"Favorites",msgstr:["Favorite"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Fișiere și directoare pe care le marcați ca favorite vor apărea aici."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Fișiere și directoare pe care le-ați modificat recent vor apărea aici."]},{msgid:"Filter file list",msgstr:["Filtrează lista de fișiere"]},{msgid:"Folder name cannot be empty.",msgstr:["Numele de director nu poate fi necompletat."]},{msgid:"Home",msgstr:["Acasă"]},{msgid:"Modified",msgstr:["Modificat"]},{msgid:"Move",msgstr:["Mută"]},{msgid:"Move to {target}",msgstr:["Mută către {target}"]},{msgid:"Name",msgstr:["Nume"]},{msgid:"New",msgstr:["Nou"]},{msgid:"New folder",msgstr:["Director nou"]},{msgid:"New folder name",msgstr:["Numele noului director"]},{msgid:"No files in here",msgstr:["Nu există fișiere"]},{msgid:"No files matching your filter were found.",msgstr:["Nu există fișiere potrivite pentru filtrul selectat"]},{msgid:"No matching files",msgstr:["Nu există fișiere potrivite"]},{msgid:"Recent",msgstr:["Recente"]},{msgid:"Select all entries",msgstr:["Selectează toate \xeenregistrările"]},{msgid:"Select entry",msgstr:["Selectează \xeenregistrarea"]},{msgid:"Select the row for {nodename}",msgstr:["Selectează r\xe2ndul pentru {nodename}"]},{msgid:"Size",msgstr:["Mărime"]},{msgid:"Undo",msgstr:["Anulează"]},{msgid:"Upload some content or sync with your devices!",msgstr:["\xcencărcați conținut sau sincronizați cu dispozitivele dumneavoastră!"]}]},{language:"ru",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" не допускается внутри имени.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" это не допустимое имя.']},{msgid:'"{name}" is an invalid folder name.',msgstr:["\xab{name}\xbb — недопустимое имя папки."]},{msgid:'"{name}" is not an allowed folder name',msgstr:["\xab{name}\xbb не является разрешенным именем папки"]},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" это зарезервированное имя и не допустимо.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:["Символ \xab/\xbb не допускается внутри имени папки."]},{msgid:"All files",msgstr:["Все файлы"]},{msgid:"Cancel",msgstr:["Отмена"]},{msgid:"Choose",msgstr:["Выбрать"]},{msgid:"Choose {file}",msgstr:["Выбрать \xab{file}\xbb"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Выбрать %n файл","Выбрать %n файла","Выбрать %n файлов","Выбрать %n файлов"]},{msgid:"Copy",msgstr:["Копировать"]},{msgid:"Copy to {target}",msgstr:["Копировать в \xab{target}\xbb"]},{msgid:"Could not create the new folder",msgstr:["Не удалось создать новую папку"]},{msgid:"Could not load files settings",msgstr:["Не удалось загрузить настройки файлов"]},{msgid:"Could not load files views",msgstr:["Не удалось загрузить конфигурацию просмотра файлов"]},{msgid:"Create directory",msgstr:["Создать папку"]},{msgid:"Current view selector",msgstr:["Переключатель текущего вида"]},{msgid:"Enter your name",msgstr:["Введите ваше имя"]},{msgid:"Failed to set nickname.",msgstr:["Не удалось задать никнейм."]},{msgid:"Favorites",msgstr:["Избранное"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Здесь будут отображаться файлы и папки, которые вы пометили как избранные."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Здесь будут отображаться файлы и папки, которые вы недавно изменили."]},{msgid:"Filter file list",msgstr:["Фильтровать список файлов"]},{msgid:"Folder name cannot be empty.",msgstr:["Имя папки не может быть пустым."]},{msgid:"Guest identification",msgstr:["Гостевая идентификация"]},{msgid:"Home",msgstr:["Домой"]},{msgid:"Invalid name.",msgstr:["Неверное имя."]},{msgid:"Modified",msgstr:["Изменен"]},{msgid:"Move",msgstr:["Переместить"]},{msgid:"Move to {target}",msgstr:["Переместить в \xab{target}\xbb"]},{msgid:"Name",msgstr:["Имя"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Имена не могут быть длинее 64 символов."]},{msgid:"Names must not be empty.",msgstr:["Имена не могут быть пустыми."]},{msgid:'Names must not end with "{extension}".',msgstr:['Имена не могут оканчиваться на "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Имена должны начинаться с точки."]},{msgid:"New",msgstr:["Новый"]},{msgid:"New folder",msgstr:["Новая папка"]},{msgid:"New folder name",msgstr:["Имя новой папки"]},{msgid:"No files in here",msgstr:["Здесь нет файлов"]},{msgid:"No files matching your filter were found.",msgstr:["Файлы, соответствующие вашему фильтру, не найдены."]},{msgid:"No matching files",msgstr:["Нет подходящих файлов"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Пожалуйста введите имя длиной не менее 2 символов."]},{msgid:"Recent",msgstr:["Недавний"]},{msgid:"Select all entries",msgstr:["Выбрать все записи"]},{msgid:"Select entry",msgstr:["Выбрать запись"]},{msgid:"Select the row for {nodename}",msgstr:["Выбрать строку для \xab{nodename}\xbb"]},{msgid:"Size",msgstr:["Размер"]},{msgid:"Submit name",msgstr:["Отправить имя"]},{msgid:"Undo",msgstr:["Отменить"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Загрузите контент или синхронизируйте его со своими устройствами!"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Вы идентифицированы как {nickname}."]},{msgid:"You are currently not identified.",msgstr:["В данный момент вы не идентифицированы."]},{msgid:"You cannot leave the name empty.",msgstr:["Вы не можете оставить имя пустым."]}]},{language:"sk_SK",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" nie je povolen\xe9 v r\xe1mci mena.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" nie je povolen\xfd n\xe1zov.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" je neplatn\xfd n\xe1zov pričinka.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" nie je povolen\xfd n\xe1zov priečinka.']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" je rezervovan\xe9 meno a nie je povolen\xe9.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" nie je povolen\xe9 v n\xe1zve priečinka.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n konflikt s\xfaborov","%n konflikty s\xfaborov","%n konfliktov s\xfaborov","%n konflikty s\xfaborov"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n konflikt s\xfaborov v {dirname}","%n konflikty s\xfaborov v {dirname}","%n konfliktov s\xfaborov v {dirname}","%n konfliktov s\xfaborov v {dirname}"]},{msgid:"All files",msgstr:["Všetky s\xfabory"]},{msgid:"Cancel",msgstr:["Zrušiť"]},{msgid:"Cancel the entire operation",msgstr:["Zrušiť cel\xfa oper\xe1ciu"]},{msgid:"Choose",msgstr:["Vybrať"]},{msgid:"Choose {file}",msgstr:["Vybrať {s\xfabor}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Vybran\xfd %n s\xfabor","Vybran\xe9 %n s\xfabory","Vybran\xfdch %n s\xfaborov","Vybran\xfdch %n s\xfaborov"]},{msgid:"Confirm",msgstr:["Potvrdiť"]},{msgid:"Continue",msgstr:["Pokračovať"]},{msgid:"Copy",msgstr:["Kop\xedrovať"]},{msgid:"Copy to {target}",msgstr:["Kop\xedrovať do {umiestnenia}"]},{msgid:"Could not create the new folder",msgstr:["Nepodarilo sa vytvoriť nov\xfd priečinok"]},{msgid:"Could not load files settings",msgstr:["Nepodarilo sa nač\xedtať nastavenia s\xfaborov"]},{msgid:"Could not load files views",msgstr:["Nepodarilo sa nač\xedtať pohľady s\xfaborov"]},{msgid:"Create directory",msgstr:["Vytvoriť adres\xe1r"]},{msgid:"Current view selector",msgstr:["V\xfdber aktu\xe1lneho zobrazenia"]},{msgid:"Enter your name",msgstr:["Zadajte svoje meno"]},{msgid:"Existing version",msgstr:["Existuj\xfaca verzia"]},{msgid:"Failed to set nickname.",msgstr:["Nepodarilo sa nastaviť prez\xfdvku."]},{msgid:"Favorites",msgstr:["Obľ\xfaben\xe9"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Tu sa zobrazia s\xfabory a priečinky, ktor\xe9 označ\xedte ako obľ\xfaben\xe9."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Tu sa zobrazia s\xfabory a priečinky, ktor\xe9 ste ned\xe1vno upravili."]},{msgid:"Filter file list",msgstr:["Filtrovať zoznam s\xfaborov"]},{msgid:"Folder name cannot be empty.",msgstr:["N\xe1zov priečinka nem\xf4že byť pr\xe1zdny."]},{msgid:"Guest identification",msgstr:["Identifik\xe1cia hosťa"]},{msgid:"Home",msgstr:["Domov"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Ak vyberiete obe verzie, prich\xe1dzaj\xfaci s\xfabor bude mať k svojmu n\xe1zvu pridan\xe9 č\xedslo."]},{msgid:"Invalid name.",msgstr:["Neplatn\xe9 meno."]},{msgid:"Last modified date unknown",msgstr:["Posledn\xe1 zmena d\xe1tumu nezn\xe1ma"]},{msgid:"Modified",msgstr:["Upraven\xe9"]},{msgid:"Move",msgstr:["Prejsť"]},{msgid:"Move to {target}",msgstr:["Prejsť na {umiestnenie}"]},{msgid:"Name",msgstr:["N\xe1zov"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Men\xe1 m\xf4žu mať maxim\xe1lne 64 znakov."]},{msgid:"Names must not be empty.",msgstr:["Men\xe1 nesm\xfa byť pr\xe1zdne."]},{msgid:'Names must not end with "{extension}".',msgstr:['Men\xe1 nesm\xfa končiť "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Men\xe1 nesm\xfa zač\xednať bodkou."]},{msgid:"New",msgstr:["Pridať"]},{msgid:"New folder",msgstr:["Pridať priečinok"]},{msgid:"New folder name",msgstr:["Pridať n\xe1zov priečinka"]},{msgid:"New version",msgstr:["Nov\xe1 verzia"]},{msgid:"No files in here",msgstr:["Nie s\xfa tu žiadne s\xfabory"]},{msgid:"No files matching your filter were found.",msgstr:["Nenašli sa žiadne s\xfabory zodpovedaj\xface v\xe1šmu filtru."]},{msgid:"No matching files",msgstr:["Žiadne zodpovedaj\xface s\xfabory"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Zadajte meno s aspoň 2 znakmi."]},{msgid:"Recent",msgstr:["Ned\xe1vne"]},{msgid:"Select all checkboxes",msgstr:["Vyberte všetky zaškrt\xe1vacie pol\xedčka"]},{msgid:"Select all entries",msgstr:["Vybrať všetky položky"]},{msgid:"Select all existing files",msgstr:["Vybrať všetky existuj\xface s\xfabory"]},{msgid:"Select all new files",msgstr:["Vybrať všetky nov\xe9 s\xfabory"]},{msgid:"Select entry",msgstr:["Vybrať položku"]},{msgid:"Select the row for {nodename}",msgstr:["Vyberte riadok pre {n\xe1zov uzla}"]},{msgid:"Size",msgstr:["Veľkosť"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Preskočiť %n s\xfabor","Preskočiť %n s\xfabory","Preskočiť %n s\xfaborov","Preskočiť %n s\xfabory"]},{msgid:"Skip this file",msgstr:["Preskočiť tento s\xfabor"]},{msgid:"Submit name",msgstr:["Zadať meno"]},{msgid:"Undo",msgstr:["Sp\xe4ť"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Nahrajte nejak\xfd obsah alebo synchronizujte so svojimi zariadeniami!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Keď je vybran\xe1 prich\xe1dzaj\xfaca složka, všetky konfliktn\xe9 s\xfabory v nej bud\xfa taktiež prep\xedsan\xe9."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Keď je vybran\xe1 prich\xe1dzaj\xfaca zložka, obsah sa zap\xedše do existuj\xfacej zložky a vykon\xe1 sa rekurz\xedvne riešenie konfliktov."]},{msgid:"Which files do you want to keep?",msgstr:["Ktor\xe9 s\xfabory chcete zachovať?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Moment\xe1lne ste identifikovan\xfd ako {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Moment\xe1lne nie ste identifikovan\xfd."]},{msgid:"You cannot leave the name empty.",msgstr:["Nem\xf4žete nechať meno pr\xe1zdne."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Mus\xedte si vybrať aspoň jedno riešenie konfliktu."]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Mus\xedte vybrať aspoň jednu verziu každ\xe9ho s\xfaboru, aby ste mohli pokračovať."]}]},{language:"sl",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:["{name} je neveljavno ime mape."]},{msgid:'"{name}" is not an allowed folder name',msgstr:["{name} ni dovoljeno ime mape"]},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" ni dovoljen v imenu mape.']},{msgid:"All files",msgstr:["Vse datoteke"]},{msgid:"Choose",msgstr:["Izberi"]},{msgid:"Choose {file}",msgstr:["Izberi {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Izberi %n datoteko","Izberi %n datoteki","Izberi %n datotek","Izberi %n datotek"]},{msgid:"Copy",msgstr:["Kopiraj"]},{msgid:"Copy to {target}",msgstr:["Kopiraj v {target}"]},{msgid:"Could not create the new folder",msgstr:["Nisem mogel ustvariti nove mape"]},{msgid:"Could not load files settings",msgstr:["NIsem mogel naložiti nastavitev datotek"]},{msgid:"Could not load files views",msgstr:["Nisem mogel naložiti pogledov datotek"]},{msgid:"Create directory",msgstr:["Ustvari mapo"]},{msgid:"Current view selector",msgstr:["Izbirnik trenutnega pogleda"]},{msgid:"Favorites",msgstr:["Priljubljene"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Datoteke in mape ki jih označite kot priljubljene se bodo prikazale tukaj."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Daoteke in mape ki ste jih pred kratkim spremenili se bodo prikazale tukaj."]},{msgid:"Filter file list",msgstr:["Filtriraj seznam datotek"]},{msgid:"Folder name cannot be empty.",msgstr:["Ime mape ne more biti prazno"]},{msgid:"Home",msgstr:["Domov"]},{msgid:"Modified",msgstr:["Spremenjeno"]},{msgid:"Move",msgstr:["Premakni"]},{msgid:"Move to {target}",msgstr:["Premakni v {target}"]},{msgid:"Name",msgstr:["Ime"]},{msgid:"New",msgstr:["Nov"]},{msgid:"New folder",msgstr:["Nova mapa"]},{msgid:"New folder name",msgstr:["Novo ime mape"]},{msgid:"No files in here",msgstr:["Tukaj ni datotek"]},{msgid:"No files matching your filter were found.",msgstr:["Ni bilo najdenih ujemajočih datotek glede na vaš filter."]},{msgid:"No matching files",msgstr:["Ni ujemajočih datotek"]},{msgid:"Recent",msgstr:["Nedavne"]},{msgid:"Select all entries",msgstr:["Izberi vse vnose"]},{msgid:"Select entry",msgstr:["Izberi vnos"]},{msgid:"Select the row for {nodename}",msgstr:["Izberi vrstico za {nodename}"]},{msgid:"Size",msgstr:["Velikost"]},{msgid:"Undo",msgstr:["Razveljavi"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Naloži nekaj vsebine ali sinhroniziraj s svojimi napravami!"]}]},{language:"sr",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:["„{char}” није дозвољено унутар имена."]},{msgid:'"{extension}" is not an allowed name.',msgstr:["„{extension}” није дозвољено име."]},{msgid:'"{name}" is an invalid folder name.',msgstr:["„{name}” није исправно име фолдера."]},{msgid:'"{name}" is not an allowed folder name',msgstr:["„{name}” није дозвољено име за фолдер."]},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:["„{segment}” је резервисано име и није дозвољено."]},{msgid:'"/" is not allowed inside a folder name.',msgstr:["„/” није дозвољено унутар имена фолдера."]},{msgid:"All files",msgstr:["Сви фајлови"]},{msgid:"Cancel",msgstr:["Откажи"]},{msgid:"Choose",msgstr:["Изаберите"]},{msgid:"Choose {file}",msgstr:["Изаберите {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Изаберите %n фајл","Изаберите %n фајла","Изаберите %n фајлова"]},{msgid:"Copy",msgstr:["Копирај"]},{msgid:"Copy to {target}",msgstr:["Копирај у {target}"]},{msgid:"Could not create the new folder",msgstr:["Није могао да се креира нови фолдер"]},{msgid:"Could not load files settings",msgstr:["Не могу да се учитају подешавања фајлова"]},{msgid:"Could not load files views",msgstr:["Не могу да се учитају прикази фајлова"]},{msgid:"Create directory",msgstr:["Креирај директоријум"]},{msgid:"Current view selector",msgstr:["Бирач тренутног приказа"]},{msgid:"Enter your name",msgstr:["Унесите своје име"]},{msgid:"Failed to set nickname.",msgstr:["Није успело постављање надимка."]},{msgid:"Favorites",msgstr:["Омиљено"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Овде ће се појавити фајлови и фолдери које сте означили као омиљене."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Овде ће се појавити фајлови и фолдери који се се недавно изменили."]},{msgid:"Filter file list",msgstr:["Фитрирање листе фајлова"]},{msgid:"Folder name cannot be empty.",msgstr:["Име фолдера не може бити празно."]},{msgid:"Guest identification",msgstr:["Идентификација госта"]},{msgid:"Home",msgstr:["Почетак"]},{msgid:"Invalid name.",msgstr:["Неисправно име."]},{msgid:"Modified",msgstr:["Измењено"]},{msgid:"Move",msgstr:["Премести"]},{msgid:"Move to {target}",msgstr:["Премести у {target}"]},{msgid:"Name",msgstr:["Име"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Највећа дужина имена може бити 64 карактера."]},{msgid:"Names must not be empty.",msgstr:["Имена не смеју да буду празна."]},{msgid:'Names must not end with "{extension}".',msgstr:["Имена не смеју да се завршавају на „{extension}”."]},{msgid:"Names must not start with a dot.",msgstr:["Имена не смеју да почињу тачком."]},{msgid:"New",msgstr:["Ново"]},{msgid:"New folder",msgstr:["Нови фолдер"]},{msgid:"New folder name",msgstr:["Име новог фолдера"]},{msgid:"No files in here",msgstr:["Овде нема фајлова"]},{msgid:"No files matching your filter were found.",msgstr:["Није пронађен ниједан фајл који задовољава ваш филтер."]},{msgid:"No matching files",msgstr:["Нема таквих фајлова"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Молимо вас да унесете име од барем два карактера."]},{msgid:"Recent",msgstr:["Скорашње"]},{msgid:"Select all entries",msgstr:["Изаберите све ставке"]},{msgid:"Select entry",msgstr:["Изаберите ставку"]},{msgid:"Select the row for {nodename}",msgstr:["Изаберите ред за {nodename}"]},{msgid:"Size",msgstr:["Величина"]},{msgid:"Submit name",msgstr:["Предај име"]},{msgid:"Undo",msgstr:["Поништи"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Отпремите нешто или синхронизујте са својим уређајима!"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Тренутно се идентификујете као {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Тренутно немате идентификацију."]},{msgid:"You cannot leave the name empty.",msgstr:["Име не можете да оставите празно."]}]},{language:"sr@latin",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:["„{name}” je neispravan naziv foldera."]},{msgid:'"{name}" is not an allowed folder name',msgstr:["„{name}” je nedozvoljen naziv foldera."]},{msgid:'"/" is not allowed inside a folder name.',msgstr:["„/” se ne može koristiti unutar naziva foldera."]},{msgid:"All files",msgstr:["Svi fajlovi"]},{msgid:"Choose",msgstr:["Izaberite"]},{msgid:"Choose {file}",msgstr:["Izaberite {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Izaberite %n fajl","Izaberite %n fajla","Izaberite %n fajlova"]},{msgid:"Copy",msgstr:["Kopiraj"]},{msgid:"Copy to {target}",msgstr:["Kopiraj u {target}"]},{msgid:"Could not create the new folder",msgstr:["Neuspešno kreiranje novog foldera"]},{msgid:"Could not load files settings",msgstr:["Neuspešno učitavanje podešavanja fajlova"]},{msgid:"Could not load files views",msgstr:["Neuspešno učitavanje prikaza fajlova"]},{msgid:"Create directory",msgstr:["Kreiraj direktorijum"]},{msgid:"Current view selector",msgstr:["Birač trenutnog prikaza"]},{msgid:"Favorites",msgstr:["Omiljeno"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Lista omiljenih fajlova i foldera."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Lista fajlova i foldera sa skorašnjim izmenama."]},{msgid:"Filter file list",msgstr:["Fitriranje liste fajlova"]},{msgid:"Folder name cannot be empty.",msgstr:["Naziv foldera ne može biti prazan."]},{msgid:"Home",msgstr:["Početak"]},{msgid:"Modified",msgstr:["Izmenjeno"]},{msgid:"Move",msgstr:["Premesti"]},{msgid:"Move to {target}",msgstr:["Premesti u {target}"]},{msgid:"Name",msgstr:["Naziv"]},{msgid:"New",msgstr:["Novo"]},{msgid:"New folder",msgstr:["Novi folder"]},{msgid:"New folder name",msgstr:["Naziv novog foldera"]},{msgid:"No files in here",msgstr:["Bez fajlova"]},{msgid:"No files matching your filter were found.",msgstr:["Nema fajlova koji zadovoljavaju uslove filtera."]},{msgid:"No matching files",msgstr:["Nema takvih fajlova"]},{msgid:"Recent",msgstr:["Skorašnje"]},{msgid:"Select all entries",msgstr:["Izaberite sve stavke"]},{msgid:"Select entry",msgstr:["Izaberite stavku"]},{msgid:"Select the row for {nodename}",msgstr:["Izaberite red za {nodename}"]},{msgid:"Size",msgstr:["Veličina"]},{msgid:"Undo",msgstr:["Vrati"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Otpremite sadržaj ili sinhronizujte sa svojim uređajima!"]}]},{language:"sv",translations:[{msgid:'"{char}" is not allowed inside a folder name.',msgstr:['"{char}" \xe4r inte till\xe5tet i ett mappnamn.']},{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" \xe4r inte till\xe5tet i ett namn.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" \xe4r inte ett till\xe5tet namn.']},{msgid:'"{segment}" is a reserved name and not allowed for folder names.',msgstr:['"{segment}" \xe4r ett reserverat namn och inte till\xe5tet mappnamn.']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" \xe4r ett reserverat namn och inte till\xe5tet.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n fil \xe4r i konflikt","%n filer \xe4r i konflikt"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["%n fil \xe4r i konflikt i {dirname}","%n filer \xe4r i konflikt i {dirname}"]},{msgid:"All files",msgstr:["Alla filer"]},{msgid:"Cancel",msgstr:["Avbryt"]},{msgid:"Cancel the entire operation",msgstr:["Avbryt hela operationen"]},{msgid:"Choose",msgstr:["V\xe4lj"]},{msgid:"Choose {file}",msgstr:["V\xe4lj {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["V\xe4lj %n fil","V\xe4lj %n filer"]},{msgid:"Confirm",msgstr:["Bekr\xe4fta"]},{msgid:"Continue",msgstr:["Forts\xe4tt"]},{msgid:"Copy",msgstr:["Kopiera"]},{msgid:"Copy to {target}",msgstr:["Kopiera till {target}"]},{msgid:"Could not create the new folder",msgstr:["Kunde inte skapa den nya mappen"]},{msgid:"Could not load files settings",msgstr:["Kunde inte ladda filinst\xe4llningar"]},{msgid:"Could not load files views",msgstr:["Kunde inte ladda filvyer"]},{msgid:"Create directory",msgstr:["Skapa katalog"]},{msgid:"Current view selector",msgstr:["Aktuell vyv\xe4ljare"]},{msgid:"Enter your name",msgstr:["Ange ditt namn"]},{msgid:"Existing version",msgstr:["Nuvarande version"]},{msgid:"Failed to set nickname.",msgstr:["Kunde inte st\xe4lla in smeknamn."]},{msgid:"Favorites",msgstr:["Favoriter"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Filer och mappar som du markerar som favorit kommer att visas h\xe4r."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Filer och mappar som du nyligen \xe4ndrat kommer att visas h\xe4r."]},{msgid:"Filter file list",msgstr:["Filtrera fillistan"]},{msgid:'Folder names must not end with "{extension}".',msgstr:['Mappnamn f\xe5r inte sluta med "{extension}".']},{msgid:"Guest identification",msgstr:["G\xe4stidentifiering"]},{msgid:"Home",msgstr:["Hem"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Om du v\xe4ljer b\xe5da versionerna kommer den inkommande filen att f\xe5 ett nummer tillagt i sitt namn."]},{msgid:"Invalid folder name.",msgstr:["Ogiltigt mappnamn."]},{msgid:"Invalid name.",msgstr:["Ogiltigt namn."]},{msgid:"Last modified date unknown",msgstr:["Senaste \xe4ndringsdatum ok\xe4nt"]},{msgid:"Modified",msgstr:["\xc4ndrad"]},{msgid:"Move",msgstr:["Flytta"]},{msgid:"Move to {target}",msgstr:["Flytta till {target}"]},{msgid:"Name",msgstr:["Namn"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Namnen kan vara h\xf6gst 64 tecken l\xe5nga."]},{msgid:"Names must not be empty.",msgstr:["Namn f\xe5r inte vara tomt."]},{msgid:'Names must not end with "{extension}".',msgstr:['Namn f\xe5r inte sluta med "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Namn f\xe5r inte b\xf6rja med en punkt."]},{msgid:"New",msgstr:["Ny"]},{msgid:"New folder",msgstr:["Ny mapp"]},{msgid:"New folder name",msgstr:["Nytt mappnamn"]},{msgid:"New version",msgstr:["Ny version"]},{msgid:"No files in here",msgstr:["Inga filer h\xe4r"]},{msgid:"No files matching your filter were found.",msgstr:["Inga filer som matchar ditt filter hittades."]},{msgid:"No matching files",msgstr:["Inga matchande filer"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Ange ett namn med minst 2 tecken."]},{msgid:"Recent",msgstr:["Nyligen"]},{msgid:"Select all checkboxes",msgstr:["Markera alla kryssrutor"]},{msgid:"Select all entries",msgstr:["V\xe4lj alla poster"]},{msgid:"Select all existing files",msgstr:["V\xe4lj alla befintliga filer"]},{msgid:"Select all new files",msgstr:["V\xe4lj alla nya filer"]},{msgid:"Select entry",msgstr:["V\xe4lj post"]},{msgid:"Select the row for {nodename}",msgstr:["V\xe4lj raden f\xf6r {nodename}"]},{msgid:"Size",msgstr:["Storlek"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["Hoppa \xf6ver %n fil","Hoppa \xf6ver %n filer"]},{msgid:"Skip this file",msgstr:["Hoppa \xf6ver den h\xe4r filen"]},{msgid:"Submit name",msgstr:["Skicka namn"]},{msgid:"Undo",msgstr:["\xc5ngra"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Ladda upp lite inneh\xe5ll eller synkronisera med dina enheter!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["N\xe4r en inkommande mapp v\xe4ljs kommer eventuella konflikterande filer i den ocks\xe5 att skrivas \xf6ver."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["N\xe4r en inkommande mapp v\xe4ljs skrivs inneh\xe5llet in i den befintliga mappen och en rekursiv konfliktl\xf6sning utf\xf6rs."]},{msgid:"Which files do you want to keep?",msgstr:["Vilka filer vill du beh\xe5lla?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Du \xe4r f\xf6r n\xe4rvarande identifierad som {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Du \xe4r f\xf6r n\xe4rvarande inte identifierad."]},{msgid:"You cannot leave the name empty.",msgstr:["Du kan inte l\xe4mna namnet tomt."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Du m\xe5ste v\xe4lja minst en konfliktl\xf6sning"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Du m\xe5ste v\xe4lja minst en version av varje fil f\xf6r att forts\xe4tta."]}]},{language:"tr",translations:[{msgid:'"{char}" is not allowed inside a folder name.',msgstr:['"{char}" karakteri bir klas\xf6r adında kullanılamaz.']},{msgid:'"{char}" is not allowed inside a name.',msgstr:['Bir ad i\xe7inde "{char}" karakteri kullanılamaz.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" adına izin verilmiyor.']},{msgid:'"{segment}" is a reserved name and not allowed for folder names.',msgstr:['"{segment}" adı sistem i\xe7in ayrılmış olduğundan klas\xf6r adlarında kullanılamaz.']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" adı sistem i\xe7in ayrılmış olduğundan kullanılamaz.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n dosya \xe7akışıyor","%n dosya \xe7akışıyor"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["{dirname} i\xe7indeki %n dosya \xe7akışıyor","{dirname} i\xe7indeki %n dosya \xe7akışıyor"]},{msgid:"All files",msgstr:["T\xfcm dosyalar"]},{msgid:"Cancel",msgstr:["İptal"]},{msgid:"Cancel the entire operation",msgstr:["T\xfcm işlemi iptal et"]},{msgid:"Choose",msgstr:["Se\xe7in"]},{msgid:"Choose {file}",msgstr:["{file} se\xe7in"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["%n dosya se\xe7in","%n dosya se\xe7in"]},{msgid:"Confirm",msgstr:["Onayla"]},{msgid:"Continue",msgstr:["İlerle"]},{msgid:"Copy",msgstr:["Kopyala"]},{msgid:"Copy to {target}",msgstr:["{target} \xfczerine kopyala"]},{msgid:"Could not create the new folder",msgstr:["Yeni klas\xf6r oluşturulamadı"]},{msgid:"Could not load files settings",msgstr:["Dosyalar uygulamasının ayarları y\xfcklenemedi"]},{msgid:"Could not load files views",msgstr:["Dosyalar uygulamasının g\xf6r\xfcn\xfcmleri y\xfcklenemedi"]},{msgid:"Create directory",msgstr:["Klas\xf6r oluştur"]},{msgid:"Current view selector",msgstr:["Ge\xe7erli g\xf6r\xfcn\xfcm se\xe7ici"]},{msgid:"Enter your name",msgstr:["Adınızı yazın"]},{msgid:"Existing version",msgstr:["Var olan s\xfcr\xfcm"]},{msgid:"Failed to set nickname.",msgstr:["Takma ad ayarlanamadı."]},{msgid:"Favorites",msgstr:["Sık kullanılanlar"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Sık kullanılan olarak se\xe7tiğiniz dosyalar burada g\xf6r\xfcnt\xfclenir."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Son zamanlarda değiştirdiğiniz dosya ve klas\xf6rler burada g\xf6r\xfcnt\xfclenir."]},{msgid:"Filter file list",msgstr:["Dosya listesini s\xfcz"]},{msgid:'Folder names must not end with "{extension}".',msgstr:['Klas\xf6r adları "{extension}" ile bitemez.']},{msgid:"Guest identification",msgstr:["Konuk kimliği"]},{msgid:"Home",msgstr:["Giriş"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["İki s\xfcr\xfcm\xfc de se\xe7erseniz, gelen dosyanın adına bir sayı eklenir."]},{msgid:"Invalid folder name.",msgstr:["Klas\xf6r adı ge\xe7ersiz."]},{msgid:"Invalid name.",msgstr:["Ad ge\xe7ersiz."]},{msgid:"Last modified date unknown",msgstr:["Son değiştirilme tarihi bilinmiyor."]},{msgid:"Modified",msgstr:["Değiştirilme"]},{msgid:"Move",msgstr:["Taşı"]},{msgid:"Move to {target}",msgstr:["{target} \xfczerine taşı"]},{msgid:"Name",msgstr:["Ad"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Adlar en fazla 64 karakter uzunluğunda olabilir."]},{msgid:"Names must not be empty.",msgstr:["Ad boş olamaz."]},{msgid:'Names must not end with "{extension}".',msgstr:['Ad "{extension}" ile bitemez.']},{msgid:"Names must not start with a dot.",msgstr:["Ad nokta karakteri ile başlayamaz."]},{msgid:"New",msgstr:["Yeni"]},{msgid:"New folder",msgstr:["Yeni klas\xf6r"]},{msgid:"New folder name",msgstr:["Yeni klas\xf6r adı"]},{msgid:"New version",msgstr:["Yeni s\xfcr\xfcm"]},{msgid:"No files in here",msgstr:["Burada herhangi bir dosya yok"]},{msgid:"No files matching your filter were found.",msgstr:["S\xfczgece uyan bir dosya bulunamadı."]},{msgid:"No matching files",msgstr:["Eşleşen bir dosya yok"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Ad en az 2 karakter uzunluğunda olmalıdır."]},{msgid:"Recent",msgstr:["Son kullanılanlar"]},{msgid:"Select all checkboxes",msgstr:["T\xfcm kutuları işaretle"]},{msgid:"Select all entries",msgstr:["T\xfcm kayıtları se\xe7"]},{msgid:"Select all existing files",msgstr:["T\xfcm var olan dosyaları se\xe7"]},{msgid:"Select all new files",msgstr:["T\xfcm yeni dosyaları se\xe7"]},{msgid:"Select entry",msgstr:["Kaydı se\xe7"]},{msgid:"Select the row for {nodename}",msgstr:["{nodename} satırını se\xe7in"]},{msgid:"Size",msgstr:["Boyut"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["%n dosyayı atla","%n dosyayı atla"]},{msgid:"Skip this file",msgstr:["Bu dosyayı atla"]},{msgid:"Submit name",msgstr:["Adı g\xf6nder"]},{msgid:"Undo",msgstr:["Geri al"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Bazı i\xe7erikler y\xfckleyin ya da aygıtlarınızla eşitleyin!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Bir gelen klas\xf6r se\xe7ildiğinde, i\xe7indeki \xe7akışan dosyaların da \xfczerine yazılır."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Bir gelen klas\xf6r se\xe7ildiğinde, i\xe7erik var olan klas\xf6re yazılır ve alt klas\xf6rlerle bir \xe7akışma \xe7\xf6z\xfcm\xfc uygulanır."]},{msgid:"Which files do you want to keep?",msgstr:["Hangi dosyaları tutmak istiyorsunuz?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["{nickname} olarak tanınıyorsunuz."]},{msgid:"You are currently not identified.",msgstr:["Hen\xfcz kendinizi tanıtmadınız."]},{msgid:"You cannot leave the name empty.",msgstr:["Ad boş bırakılamaz."]},{msgid:"You need to choose at least one conflict solution",msgstr:["En az bir \xe7akışma \xe7\xf6z\xfcm\xfc se\xe7melisiniz"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["İlerlemek i\xe7in her dosaynın en az bir s\xfcr\xfcm\xfcn\xfc se\xe7melisiniz."]}]},{language:"uk",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['"{char}" не дозволено всередині імени.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" недозволене ім\'я.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" недійсне ім\'я каталогу.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" недозволене ім\'я каталогу.']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" зарезервоване ім\'я і не дозволено для використання.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" не дозволено у імені каталогу.']},{msgid:"All files",msgstr:["Всі файли"]},{msgid:"Cancel",msgstr:["Скасувати"]},{msgid:"Choose",msgstr:["Вибрати"]},{msgid:"Choose {file}",msgstr:["Вибрати {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Вибрати %n файл","Вибрати %n файли","Вибрати %n файлів","Вибрати %n файлів"]},{msgid:"Copy",msgstr:["Копіювати"]},{msgid:"Copy to {target}",msgstr:["Копіювати до {target}"]},{msgid:"Could not create the new folder",msgstr:["Не вдалося створити новий каталог"]},{msgid:"Could not load files settings",msgstr:["Не вдалося завантажити налаштування файлів"]},{msgid:"Could not load files views",msgstr:["Не вдалося завантажити подання файлів"]},{msgid:"Create directory",msgstr:["Створити каталог"]},{msgid:"Current view selector",msgstr:["Вибір подання"]},{msgid:"Enter your name",msgstr:["Зазначте ваше ім'я"]},{msgid:"Failed to set nickname.",msgstr:["Не вдалося встановити псевдо."]},{msgid:"Favorites",msgstr:["Із зірочкою"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Тут показуватимуться файли та каталоги, які ви позначите зірочкою."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Тут показуватимуться файли та каталоги, які було нещодавно змінено."]},{msgid:"Filter file list",msgstr:["Фільтрувати список файлів"]},{msgid:"Folder name cannot be empty.",msgstr:["Ім'я каталогу не може бути порожнє."]},{msgid:"Guest identification",msgstr:["Ім'я для гостя"]},{msgid:"Home",msgstr:["Домівка"]},{msgid:"Invalid name.",msgstr:["Недійсне ім'я."]},{msgid:"Modified",msgstr:["Змінено"]},{msgid:"Move",msgstr:["Перемістити"]},{msgid:"Move to {target}",msgstr:["Перемістити до {target}"]},{msgid:"Name",msgstr:["Ім'я"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Імена мають мати довжину не більше 64 символів."]},{msgid:"Names must not be empty.",msgstr:["Ім'я не може бути порожнє."]},{msgid:'Names must not end with "{extension}".',msgstr:['Ім\'я не може закінчуватися на "{extension}".']},{msgid:"Names must not start with a dot.",msgstr:["Ім'я не може починатися з крапки."]},{msgid:"New",msgstr:["Новий"]},{msgid:"New folder",msgstr:["Новий каталог"]},{msgid:"New folder name",msgstr:["Ім'я нового каталогу"]},{msgid:"No files in here",msgstr:["Тут відсутні файли"]},{msgid:"No files matching your filter were found.",msgstr:["Відсутні збіги за фільтром."]},{msgid:"No matching files",msgstr:["Відсутні збіги файлів."]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Зазначте ім'я довжиною не менше 2 символів"]},{msgid:"Recent",msgstr:["Останні"]},{msgid:"Select all entries",msgstr:["Вибрати всі записи"]},{msgid:"Select entry",msgstr:["Вибрати запис"]},{msgid:"Select the row for {nodename}",msgstr:["Вибрати рядок для {nodename}"]},{msgid:"Size",msgstr:["Розмір"]},{msgid:"Submit name",msgstr:["Встановити ім'я"]},{msgid:"Undo",msgstr:["Повернути"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Завантажте вміст або синхронізуйте з вашим пристроєм!"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Вас визначено як {nickname}."]},{msgid:"You are currently not identified.",msgstr:["Вас не ідентифіковано."]},{msgid:"You cannot leave the name empty.",msgstr:["Потрібно зазначити ім'я."]}]},{language:"uz",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['Nom ichida "{char}" ga ruxsat berilmagan.']},{msgid:'"{extension}" is not an allowed name.',msgstr:['"{extension}" ruxsat etilgan nom emas.']},{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" jild nomi yaroqsiz.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"{name}" ruxsat etilgan jild nomi emas']},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:['"{segment}" - zaxiralangan nom va ruxsat berilmaydi.']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/" papka nomi ichida ruxsat berilmaydi.']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n fayl ziddiyatli"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["{dirname} da %n fayl ziddiyati"]},{msgid:"All files",msgstr:["Barcha fayllar"]},{msgid:"Cancel",msgstr:["Bekor qilish"]},{msgid:"Cancel the entire operation",msgstr:["Butun operatsiyani bekor qiling"]},{msgid:"Choose",msgstr:["Tanlang"]},{msgid:"Choose {file}",msgstr:["Tanlang {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Tanlang %n faylni"]},{msgid:"Confirm",msgstr:["Tasdiqlang"]},{msgid:"Continue",msgstr:["Davom eting"]},{msgid:"Copy",msgstr:["Nusxa"]},{msgid:"Copy to {target}",msgstr:[" {target} ga nusxa"]},{msgid:"Could not create the new folder",msgstr:["Yangi jild yaratib bo‘lmadi"]},{msgid:"Could not load files settings",msgstr:["Fayl sozlamalari yuklanmadi"]},{msgid:"Could not load files views",msgstr:["Fayllarni koʻrishni yuklab boʻlmadi"]},{msgid:"Create directory",msgstr:["Katalog yaratish"]},{msgid:"Current view selector",msgstr:["Joriy ko'rinish selektori"]},{msgid:"Enter your name",msgstr:["Ismingizni kiriting"]},{msgid:"Existing version",msgstr:["Mavjud versiya"]},{msgid:"Failed to set nickname.",msgstr:["Taxallusni o‘rnatib bo‘lmadi."]},{msgid:"Favorites",msgstr:["Tanlanganlar"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["Tanlangan deb belgilagan fayl va papkalar shu yerda koʻrinadi."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["Siz yaqinda oʻzgartirgan fayl va papkalar shu yerda koʻrinadi."]},{msgid:"Filter file list",msgstr:["Fayl ro'yxatini filtrlash"]},{msgid:"Folder name cannot be empty.",msgstr:["Jild nomi boʻsh boʻlishi mumkin emas."]},{msgid:"Guest identification",msgstr:["Foydalanuvchini identifikatsiyalash"]},{msgid:"Home",msgstr:["Uy"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Agar siz ikkala versiyani tanlasangiz, kiruvchi fayl nomiga qo'shilgan raqamga ega bo'ladi."]},{msgid:"Invalid name.",msgstr:["Nomi noto‘g‘ri."]},{msgid:"Last modified date unknown",msgstr:["Oxirgi tahrirlangan sana noma'lum"]},{msgid:"Modified",msgstr:["Modifikatsiyalangan"]},{msgid:"Move",msgstr:["Ko'chirish"]},{msgid:"Move to {target}",msgstr:[" {target} ga ko'chirish"]},{msgid:"Name",msgstr:["Nomi"]},{msgid:"Names may be at most 64 characters long.",msgstr:["Ismlar ko'pi bilan 64 ta belgidan iborat bo'lishi mumkin."]},{msgid:"Names must not be empty.",msgstr:["Ismlar bo'sh bo'lmasligi kerak."]},{msgid:'Names must not end with "{extension}".',msgstr:['Ismlar "{extension}" bilan tugamasligi kerak.']},{msgid:"Names must not start with a dot.",msgstr:["Ismlar nuqta bilan boshlanmasligi kerak."]},{msgid:"New",msgstr:["Yangi"]},{msgid:"New folder",msgstr:["Yangi jild"]},{msgid:"New folder name",msgstr:["Yangi jild nomi"]},{msgid:"New version",msgstr:["Yangi versiya"]},{msgid:"No files in here",msgstr:["Fayl mavjud emas"]},{msgid:"No files matching your filter were found.",msgstr:["Filtringizga mos keladigan fayl topilmadi."]},{msgid:"No matching files",msgstr:["Mos fayllar yo'q"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["Kamida 2 ta belgidan iborat nom kiriting."]},{msgid:"Recent",msgstr:["Yaqinda"]},{msgid:"Select all checkboxes",msgstr:["Barcha katakchalarni belgilang"]},{msgid:"Select all entries",msgstr:["Barcha yozuvlarni tanlang"]},{msgid:"Select all existing files",msgstr:["Barcha mavjud fayllarni tanlang"]},{msgid:"Select all new files",msgstr:["Barcha yangi fayllarni tanlang"]},{msgid:"Select entry",msgstr:["Yozuvni tanlang"]},{msgid:"Select the row for {nodename}",msgstr:["{nodename} uchun qatorni tanlang"]},{msgid:"Size",msgstr:["O`lcham"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["%n faylni oʻtkazib yuborish"]},{msgid:"Skip this file",msgstr:["Ushbu faylni o'tkazib yuboring"]},{msgid:"Submit name",msgstr:["Ismni tasdiqlang"]},{msgid:"Undo",msgstr:["Bekor qilish"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Qurilmangizga ba'zi kontentni yuklang yoki sinxronlang!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Kiruvchi papka tanlanganda, undagi har qanday ziddiyatli fayllar ham ustiga yoziladi."]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Kiruvchi papka tanlanganda, kontent mavjud jildga yoziladi va nizolarni rekursiv hal qilish amalga oshiriladi."]},{msgid:"Which files do you want to keep?",msgstr:["Qaysi fayllarni saqlamoqchisiz?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["Siz hozirda {nickname} sifatida aniqlangansiz."]},{msgid:"You are currently not identified.",msgstr:["Siz hozirda identifikatsiyadan o'tmagansiz"]},{msgid:"You cannot leave the name empty.",msgstr:["Ism katagini bo'sh qoldirib bo'lmaydi."]},{msgid:"You need to choose at least one conflict solution",msgstr:["Siz kamida bitta mojaro yechimini tanlashingiz kerak"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["Davom etish uchun har bir faylning kamida bitta versiyasini tanlashingiz kerak."]}]},{language:"vi",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:['"{name}" l\xe0 t\xean thư mục kh\xf4ng hợp lệ.']},{msgid:'"{name}" is not an allowed folder name',msgstr:['"1{name}"kh\xf4ng phải l\xe0 t\xean thư mục được cho ph\xe9p']},{msgid:'"/" is not allowed inside a folder name.',msgstr:['"/"kh\xf4ng được ph\xe9p đặt trong t\xean thư mục.']},{msgid:"All files",msgstr:["Tất cả tệp"]},{msgid:"Choose",msgstr:["Chọn"]},{msgid:"Choose {file}",msgstr:["Chọn {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["Chọn %n tệp"]},{msgid:"Copy",msgstr:["Sao ch\xe9p"]},{msgid:"Copy to {target}",msgstr:["Sao ch\xe9p đến {target}"]},{msgid:"Could not create the new folder",msgstr:["Kh\xf4ng thể tạo thư mục mới"]},{msgid:"Could not load files settings",msgstr:["Kh\xf4ng thể tải tập tin c\xe0i đặt"]},{msgid:"Could not load files views",msgstr:["Kh\xf4ng thể tải xuống tệp xem"]},{msgid:"Create directory",msgstr:["Tạo thư mục"]},{msgid:"Current view selector",msgstr:["Hiện tại chế độ xem của bộ chọn"]},{msgid:"Favorites",msgstr:["Y\xeau cầu th\xedch"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["C\xe1c tập tin v\xe0 thư mục bạn đ\xe1nh dấu y\xeau th\xedch sẽ hiển thị ở đ\xe2y."]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["C\xe1c tập tin v\xe0 thư mục bạn sửa đổi gần đ\xe2y sẽ hiển thị ở đ\xe2y."]},{msgid:"Filter file list",msgstr:["Filter list file"]},{msgid:"Folder name cannot be empty.",msgstr:["Thư mục t\xean kh\xf4ng được để trống."]},{msgid:"Home",msgstr:["Trang chủ"]},{msgid:"Modified",msgstr:["Đ\xe3 sửa đổi"]},{msgid:"Move",msgstr:["Di chuyển"]},{msgid:"Move to {target}",msgstr:["Di chuyển đến{target}"]},{msgid:"Name",msgstr:["T\xean"]},{msgid:"New",msgstr:["Mới"]},{msgid:"New folder",msgstr:["New thư mục"]},{msgid:"New folder name",msgstr:["New thư mục t\xean"]},{msgid:"No files in here",msgstr:["No file at here"]},{msgid:"No files matching your filter were found.",msgstr:["Kh\xf4ng t\xecm thấy tệp n\xe0o ph\xf9 hợp với bộ lọc của bạn."]},{msgid:"No matching files",msgstr:["No file ph\xf9 hợp"]},{msgid:"Recent",msgstr:["Gần đ\xe2y"]},{msgid:"Select all entries",msgstr:["Choose all items"]},{msgid:"Select entry",msgstr:["Chọn mục nhập"]},{msgid:"Select the row for {nodename}",msgstr:["Choose hang cho{nodename}"]},{msgid:"Size",msgstr:["K\xedch cỡ"]},{msgid:"Undo",msgstr:["Ho\xe0n t\xe1c"]},{msgid:"Upload some content or sync with your devices!",msgstr:["Tải l\xean một số nội dung hoặc đồng bộ h\xf3a với thiết bị của bạn!"]}]},{language:"zh_CN",translations:[{msgid:'"{name}" is an invalid folder name.',msgstr:["“{name}” 是无效的文件夹名称。"]},{msgid:'"{name}" is not an allowed folder name',msgstr:["“{name}” 不是允许的文件夹名称"]},{msgid:'"/" is not allowed inside a folder name.',msgstr:["文件夹名称中不允许包含 “/”。"]},{msgid:"All files",msgstr:["所有文件"]},{msgid:"Choose",msgstr:["选择"]},{msgid:"Choose {file}",msgstr:["选择 {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["选择 %n 个文件"]},{msgid:"Copy",msgstr:["复制"]},{msgid:"Copy to {target}",msgstr:["复制到 {target}"]},{msgid:"Could not create the new folder",msgstr:["无法创建新文件夹"]},{msgid:"Could not load files settings",msgstr:["无法加载文件设置"]},{msgid:"Could not load files views",msgstr:["无法加载文件视图"]},{msgid:"Create directory",msgstr:["创建目录"]},{msgid:"Current view selector",msgstr:["当前视图选择器"]},{msgid:"Favorites",msgstr:["最爱"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["您标记为最爱的文件与文件夹会显示在这里"]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["您最近修改的文件与文件夹会显示在这里"]},{msgid:"Filter file list",msgstr:["过滤文件列表"]},{msgid:"Folder name cannot be empty.",msgstr:["文件夹名称不能为空。"]},{msgid:"Home",msgstr:["主目录"]},{msgid:"Modified",msgstr:["已修改"]},{msgid:"Move",msgstr:["移动"]},{msgid:"Move to {target}",msgstr:["移动至 {target}"]},{msgid:"Name",msgstr:["名称"]},{msgid:"New",msgstr:["新建"]},{msgid:"New folder",msgstr:["新文件夹"]},{msgid:"New folder name",msgstr:["新文件夹名称"]},{msgid:"No files in here",msgstr:["此处无文件"]},{msgid:"No files matching your filter were found.",msgstr:["找不到符合您过滤条件的文件"]},{msgid:"No matching files",msgstr:["无符合的文件"]},{msgid:"Recent",msgstr:["最近"]},{msgid:"Select all entries",msgstr:["选择所有条目"]},{msgid:"Select entry",msgstr:["选择条目"]},{msgid:"Select the row for {nodename}",msgstr:["选择 {nodename} 的列"]},{msgid:"Size",msgstr:["大小"]},{msgid:"Undo",msgstr:[" 撤消"]},{msgid:"Upload some content or sync with your devices!",msgstr:["上传一些项目或与您的设备同步!"]}]},{language:"zh_HK",translations:[{msgid:'"{char}" is not allowed inside a name.',msgstr:['名稱中不能使用 "{char}"。']},{msgid:'"{extension}" is not an allowed name.',msgstr:["「{extension}」並非允許的名稱。"]},{msgid:'"{name}" is an invalid folder name.',msgstr:["「{name}」是無效的資料夾名稱。"]},{msgid:'"{name}" is not an allowed folder name',msgstr:["資料夾名稱「{name}」不符合允許的規範。"]},{msgid:'"{segment}" is a reserved name and not allowed.',msgstr:["「{segment}」是一個保留名稱,不能使用。"]},{msgid:'"/" is not allowed inside a folder name.',msgstr:['資料夾名稱中不允許使用 "/"。']},{msgid:"%n file conflict",msgid_plural:"%n files conflict",msgstr:["%n 檔案衝突"]},{msgid:"%n file conflict in {dirname}",msgid_plural:"%n file conflicts in {dirname}",msgstr:["{dirname} 中有 %n 個檔案衝突"]},{msgid:"All files",msgstr:["所有檔案"]},{msgid:"Cancel",msgstr:["取消"]},{msgid:"Cancel the entire operation",msgstr:["取消整個操作"]},{msgid:"Choose",msgstr:["選擇"]},{msgid:"Choose {file}",msgstr:["選擇 {file}"]},{msgid:"Choose %n file",msgid_plural:"Choose %n files",msgstr:["選擇 %n 個檔案"]},{msgid:"Confirm",msgstr:["確認"]},{msgid:"Continue",msgstr:["繼續"]},{msgid:"Copy",msgstr:["複製"]},{msgid:"Copy to {target}",msgstr:["複製到 {target}"]},{msgid:"Could not create the new folder",msgstr:["無法建立新資料夾"]},{msgid:"Could not load files settings",msgstr:["無法載入檔案設定"]},{msgid:"Could not load files views",msgstr:["無法載入檔案視圖"]},{msgid:"Create directory",msgstr:["建立目錄"]},{msgid:"Current view selector",msgstr:["目前視圖選擇器"]},{msgid:"Enter your name",msgstr:["輸入您的名字"]},{msgid:"Existing version",msgstr:["現有的版本"]},{msgid:"Failed to set nickname.",msgstr:["無法設置暱稱。"]},{msgid:"Favorites",msgstr:["最愛"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["您標記為最愛的檔案與資料夾將會顯示在此處。"]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["您最近修改的檔案與資料夾將會顯示在此處。"]},{msgid:"Filter file list",msgstr:["過濾檔案清單"]},{msgid:"Folder name cannot be empty.",msgstr:["資料夾名稱不能為空。"]},{msgid:"Guest identification",msgstr:["訪客身份識別"]},{msgid:"Home",msgstr:["首頁"]},{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["如果您選擇兩個版本,傳入的檔案名稱將會附加一個數字。"]},{msgid:"Invalid name.",msgstr:["無效的名字。"]},{msgid:"Last modified date unknown",msgstr:["最後的修改日期不詳"]},{msgid:"Modified",msgstr:["已修改"]},{msgid:"Move",msgstr:["移動"]},{msgid:"Move to {target}",msgstr:["移動至 {target}"]},{msgid:"Name",msgstr:["名稱"]},{msgid:"Names may be at most 64 characters long.",msgstr:["名稱長度最多為 64 個字元。"]},{msgid:"Names must not be empty.",msgstr:["名稱不能為空。"]},{msgid:'Names must not end with "{extension}".',msgstr:["名稱不得以「{extension}」結尾。"]},{msgid:"Names must not start with a dot.",msgstr:["名稱不得以點開頭。"]},{msgid:"New",msgstr:["新"]},{msgid:"New folder",msgstr:["新資料夾"]},{msgid:"New folder name",msgstr:["新資料夾名稱"]},{msgid:"New version",msgstr:["新版本"]},{msgid:"No files in here",msgstr:["此處無檔案"]},{msgid:"No files matching your filter were found.",msgstr:["找不到符合您過濾條件的檔案。"]},{msgid:"No matching files",msgstr:["沒有匹配的檔案"]},{msgid:"Please enter a name with at least 2 characters.",msgstr:["請輸入至少 2 個字符的名稱。"]},{msgid:"Recent",msgstr:["最近"]},{msgid:"Select all checkboxes",msgstr:["選擇所有復選框"]},{msgid:"Select all entries",msgstr:["選擇所有項目"]},{msgid:"Select all existing files",msgstr:["選擇所有現有的檔案"]},{msgid:"Select all new files",msgstr:["選擇所有新檔案"]},{msgid:"Select entry",msgstr:["選擇項目"]},{msgid:"Select the row for {nodename}",msgstr:["選擇 {nodename} 的列"]},{msgid:"Size",msgstr:["大小"]},{msgid:"Skip %n file",msgid_plural:"Skip %n files",msgstr:["跳過 %n 個檔案"]},{msgid:"Skip this file",msgstr:["跳過此檔案"]},{msgid:"Submit name",msgstr:["遞交名字"]},{msgid:"Undo",msgstr:["還原"]},{msgid:"Upload some content or sync with your devices!",msgstr:["上傳一些內容或與您的裝置同步!"]},{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["選取傳入資料夾時,其中任何衝突的檔案也將被覆蓋。"]},{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["當選取傳入資料夾時,內容將寫入現有資料夾,並執行遞歸衝突解決。"]},{msgid:"Which files do you want to keep?",msgstr:["你想保留哪些檔案?"]},{msgid:"You are currently identified as {nickname}.",msgstr:["您目前被識別為 {nickname}。"]},{msgid:"You are currently not identified.",msgstr:["您目前尚未被識別。"]},{msgid:"You cannot leave the name empty.",msgstr:["名稱不能留空。"]},{msgid:"You need to choose at least one conflict solution",msgstr:["你需要選擇至少一種衝突解決方案。"]},{msgid:"You need to select at least one version of each file to continue.",msgstr:["您必須選擇每個文件的至少一個版本才能繼續。"]}]},{language:"zh_TW",translations:[{msgid:'"{name}" is an invalid file name.',msgstr:["「{name}」是無效的檔案名稱。"]},{msgid:'"{name}" is not an allowed filetype',msgstr:["「{name}」並非允許的檔案類型"]},{msgid:'"/" is not allowed inside a file name.',msgstr:["檔案名稱中不允許使用「/」。"]},{msgid:"All files",msgstr:["所有檔案"]},{msgid:"Choose",msgstr:["選擇"]},{msgid:"Choose {file}",msgstr:["選擇 {file}"]},{msgid:"Copy",msgstr:["複製"]},{msgid:"Copy to {target}",msgstr:["複製到 {target}"]},{msgid:"Could not create the new folder",msgstr:["無法建立新資料夾"]},{msgid:"Create directory",msgstr:["建立目錄"]},{msgid:"Current view selector",msgstr:["目前檢視選取器"]},{msgid:"Favorites",msgstr:["最愛"]},{msgid:"File name cannot be empty.",msgstr:["檔案名稱不能為空。"]},{msgid:"Filepicker sections",msgstr:["檔案挑選器選取"]},{msgid:"Files and folders you mark as favorite will show up here.",msgstr:["您標記為最愛的檔案與資料夾將會顯示在此處。"]},{msgid:"Files and folders you recently modified will show up here.",msgstr:["您最近修改的檔案與資料夾將會顯示在此處。"]},{msgid:"Filter file list",msgstr:["過濾檔案清單"]},{msgid:"Home",msgstr:["家"]},{msgid:"Mime type {mime}",msgstr:["Mime type {mime}"]},{msgid:"Modified",msgstr:["已修改"]},{msgid:"Move",msgstr:["移動"]},{msgid:"Move to {target}",msgstr:["移動至 {target}"]},{msgid:"Name",msgstr:["名稱"]},{msgid:"New",msgstr:["新"]},{msgid:"New folder",msgstr:["新資料夾"]},{msgid:"New folder name",msgstr:["新資料夾名稱"]},{msgid:"No files in here",msgstr:["此處無檔案"]},{msgid:"No files matching your filter were found.",msgstr:["找不到符合您過濾條件的檔案。"]},{msgid:"No matching files",msgstr:["無符合的檔案"]},{msgid:"Recent",msgstr:["最近"]},{msgid:"Select all entries",msgstr:["選取所有條目"]},{msgid:"Select entry",msgstr:["選取條目"]},{msgid:"Select the row for {nodename}",msgstr:["選取 {nodename} 的列"]},{msgid:"Size",msgstr:["大小"]},{msgid:"Undo",msgstr:["復原"]},{msgid:"unknown",msgstr:["未知"]},{msgid:"Upload some content or sync with your devices!",msgstr:["上傳一些內容或與您的裝置同步"]}]}]){let{language:t,translations:i}=e,n={headers:{},translations:{"":Object.fromEntries(i.map(e=>[e.msgid,e]))}};c.addTranslation(t,n)}let h=c.build(),f=h.ngettext.bind(h),m=h.gettext.bind(h),g=(0,o.YK)().setApp("@nextcloud/dialogs").detectLogLevel().build();class p extends Error{}class _{title;multiSelect;mimeTypeFilter;directoriesAllowed;noMenu;buttons;path;filter;canPick;container;disabledNavigation;constructor(e,t,i,n,r,a,s,o,l,u,d=!1){this.title=e,this.multiSelect=t,this.mimeTypeFilter=i,this.directoriesAllowed=n,this.noMenu=r,this.path=s,this.filter=o,this.canPick=l,this.buttons=a,this.container=u,this.disabledNavigation=d}async pickNodes(){let{default:e}=await Promise.all([i.e("defaultVendors-node_modules_nextcloud_dialogs_dist_chunks__plugin-vue_export-helper-1tPrXgE0_-cacd92"),i.e("defaultVendors-node_modules_mdi_js_mdi_js-node_modules_nextcloud_dialogs_dist_chunks_preview--fca89e"),i.e("defaultVendors-node_modules_nextcloud_vue_dist_assets_NcCheckboxRadioSwitch-BBLFj8M-_css-node-af512c")]).then(i.bind(i,13270)),t=await (0,r.S)(e,{allowPickDirectory:this.directoriesAllowed,noMenu:this.noMenu,buttons:this.buttons,name:this.title,path:this.path,mimetypeFilter:this.mimeTypeFilter,multiselect:this.multiSelect,filterFn:this.filter,canPickFn:this.canPick,disabledNavigation:this.disabledNavigation},{container:this.container});if(!Array.isArray(t)||0===t.length)throw new p("FilePicker: No nodes selected");return t}async pick(){let e=await this.pickNodes();return this.multiSelect?e.map(e=>e.path):e[0]?.path??"/"}}class b{title;multiSelect=!1;mimeTypeFilter=[];directoriesAllowed=!1;noMenu=!1;path;filter;canPick;buttons=[];container;disabledNavigation=!1;constructor(e){this.title=e}setContainer(e){return this.container=e,this}setMultiSelect(e){return this.multiSelect=e,this}addMimeTypeFilter(e){return this.mimeTypeFilter.push(e),this}setMimeTypeFilter(e){return this.mimeTypeFilter=e,this}addButton(e){return"function"==typeof this.buttons&&(g.warn("FilePicker buttons were set to factory, now overwritten with button object."),this.buttons=[]),this.buttons.push(e),this}setButtonFactory(e){return this.buttons=e,this}setType(e){return this.buttons=(t,i)=>{let n=[],r=t[0],s=r?.displayname||(0,a.P8)(i);if(1===e){let e=m("Choose");1===t.length?e=m("Choose {file}",{file:s}):this.multiSelect&&(e=f("Choose %n file","Choose %n files",t.length)),n.push({callback:()=>{},label:e,variant:"primary"})}return(4===e||3===e)&&n.push({callback:()=>{},label:s?m("Copy to {target}",{target:s}):m("Copy"),icon:d,variant:3===e?"primary":"secondary"}),(4===e||2===e)&&n.push({callback:()=>{},label:s?m("Move to {target}",{target:s}):m("Move"),icon:u,variant:"primary"}),n},this}allowDirectories(e=!0){return this.directoriesAllowed=e,this}setNoMenu(e=!0){return this.noMenu=e,this}startAt(e){return this.path=e,this}setFilter(e){return this.filter=e,this}setCanPick(e){return this.canPick=e,this}disableNavigation(){return this.disabledNavigation=!0,this}build(){return new _(this.title,this.multiSelect,this.mimeTypeFilter,this.directoriesAllowed,this.noMenu,this.buttons,this.path,this.filter,this.canPick,this.container,this.disabledNavigation)}}function y(e){return new b(e)}let F="off",k="polite",w="assertive";var C=((n=C||{})[n.OFF=F]="OFF",n[n.POLITE=k]="POLITE",n[n.ASSERTIVE=w]="ASSERTIVE",n);let A=7e3,E=-1;function S(e,t){if(t={timeout:A,isHTML:!1,type:void 0,selector:void 0,onRemove:()=>{},onClick:void 0,close:!0,...t},"string"==typeof e&&!t.isHTML){let t=document.createElement("div");t.innerHTML=e,e=t.innerText}let i=t.type??"";"function"==typeof t.onClick&&(i+=" toast-with-click ");let n=e instanceof Node,r=C.POLITE;t.ariaLive?r=t.ariaLive:("toast-error"===t.type||"toast-undo"===t.type)&&(r=C.ASSERTIVE);let a=l({[!n?"text":"node"]:e,duration:t.timeout,callback:t.onRemove,onClick:t.onClick,close:t.close,gravity:"top",selector:t.selector,position:"right",backgroundColor:"",className:"dialogs "+i,escapeMarkup:!t.isHTML,ariaLive:r});return a.showToast(),a}function x(e,t){return S(e,{...t,type:"toast-error"})}function D(e,t){return S(e,{...t,type:"toast-warning"})}function T(e,t){return S(e,{...t,type:"toast-info"})}function M(e,t){return S(e,{...t,type:"toast-success"})}let I=null;class B{#e;#t;#i;#n;constructor(e,t,i=[],n){this.#e=e,this.#t=t,this.#i=i,this.#n=n}async show(){if(!await spawnDialog(I,{buttons:this.#i,name:this.#e,text:this.#t,severity:this.#n}))throw Error("Dialog closed")}}},61338(e,t,i){"use strict";i.d(t,{B1:()=>u,Ic:()=>c,al:()=>d});var n=i(32938),r=i(56953);class a{bus;constructor(e){"function"==typeof e.getVersion&&r(e.getVersion())?n(e.getVersion())!==n(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}getVersion(){return"3.3.3"}subscribe(e,t){this.bus.subscribe(e,t)}unsubscribe(e,t){this.bus.unsubscribe(e,t)}emit(e,...t){this.bus.emit(e,...t)}}class s{handlers=new Map;getVersion(){return"3.3.3"}subscribe(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))}unsubscribe(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter(e=>e!==t))}emit(e,...t){(this.handlers.get(e)||[]).forEach(e=>{try{e(t[0])}catch(e){console.error("could not invoke event listener",e)}})}}let o=null;function l(){return null!==o?o:"u"()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),o=void 0!==window?._nc_event_bus?new a(window._nc_event_bus):window._nc_event_bus=new s)}function u(e,t){l().subscribe(e,t)}function d(e,t){l().unsubscribe(e,t)}function c(e,...t){l().emit(e,...t)}},81222(e,t,i){"use strict";function n(e,t,i){let n=`#initial-state-${e}-${t}`;if(window._nc_initial_state?.has(n))return window._nc_initial_state.get(n);window._nc_initial_state||(window._nc_initial_state=new Map);let r=document.querySelector(n);if(null===r){if(void 0!==i)return i;throw Error(`Could not find initial state ${t} of ${e}`)}try{let e=JSON.parse(atob(r.value));return window._nc_initial_state.set(n,e),e}catch(n){if(console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:e,error:n}),void 0!==i)return i;throw Error(`Could not parse initial state ${t} of ${e}`,{cause:n})}}i.d(t,{C:()=>n})},93839(e,t,i){"use strict";i.d(t,{a:()=>o,b:()=>a,d:()=>h,e:()=>f,g:()=>s,i:()=>l,t:()=>c});var n=i(99418),r=i(70580);function a(){return globalThis._nc_l10n_locale}function s(){return a().replaceAll(/_/g,"-")}function o(){return globalThis._nc_l10n_language}function l(e){return["ae","ar","arc","arz","bcc","bqi","ckb","dv","fa","glk","ha","he","khw","ks","ku","mzn","nqo","pnb","ps","sd","ug","ur","ur-PK","uz-AF","yi"].includes(e||o())}function u(e,t,i){if("__proto__"===e||"constructor"===e||"prototype"===e)throw Error("Invalid appId");globalThis._oc_l10n_registry_translations[e]={...globalThis._oc_l10n_registry_translations[e]||{},...t},globalThis._oc_l10n_registry_plural_functions[e]=i}function d(e){return{translations:globalThis._oc_l10n_registry_translations[e]??{},pluralFunction:globalThis._oc_l10n_registry_plural_functions[e]??(e=>e)}}function c(e,t,i,a,s){let o="object"==typeof i?i:void 0,l="number"==typeof a?a:"number"==typeof i?i:void 0,u={escape:!0,sanitize:!0,..."object"==typeof s?s:"object"==typeof a?a:{}},c=e=>e,h=(u.sanitize?n.A.sanitize:c)||c,f=u.escape?r:c,m=e=>"string"==typeof e||"number"==typeof e,g=(e,t,i)=>e.replace(/%n/g,""+i).replace(/{([^{}]*)}/g,(e,i)=>{if(void 0===t||!(i in t))return f(e);let n=t[i];return m(n)?f(`${n}`):"object"==typeof n&&m(n.value)?(!1!==n.escape?r:c)(`${n.value}`):f(e)}),p=(s?.bundle??d(e)).translations[t]||t;return h((p=Array.isArray(p)?p[0]:p,"object"==typeof o||void 0!==l)?g(p,o,l):p)}function h(e,t,i,n,r,a){let s="_"+t+"_::_"+i+"_",o=a?.bundle??d(e),l=o.translations[s];if(void 0!==l){let t=l;if(Array.isArray(t))return c(e,t[o.pluralFunction(n)],r,n,a)}return 1===n?c(e,t,r,n,a):c(e,i,r,n,a)}globalThis._nc_l10n_locale??="u">typeof document&&document.documentElement.dataset.locale||Intl.DateTimeFormat().resolvedOptions().locale.replaceAll(/-/g,"_"),globalThis._nc_l10n_language??="u">typeof document&&document.documentElement.lang||(globalThis.navigator?.language??"en"),globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function f(e,t=o()){switch("pt-BR"===t&&(t="xbr"),t.length>3&&(t=t.substring(0,t.lastIndexOf("-"))),t){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":default:return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return+(1!==e);case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return+(0!==e&&1!==e);case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return 1===e?0:e>=2&&e<=4?1:2;case"ga":return 1===e?0:2===e?1:2;case"lt":return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100==1?0:e%100==2?1:e%100==3||e%100==4?2:3;case"mk":return+(e%10!=1);case"mt":return 1===e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"lv":return 0===e?0:e%10==1&&e%100!=11?1:2;case"pl":return 1===e?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2;case"cy":return 1===e?0:2===e?1:8===e||11===e?2:3;case"ro":return 1===e?0:0===e||e%100>0&&e%100<20?1:2;case"ar":return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5}}},11195(e,t,i){"use strict";i.d(t,{$:()=>s});var n=i(93839);class r{bundle;constructor(e){this.bundle={pluralFunction:e,translations:{}}}addTranslations(e){let t=Object.values(e.translations[""]??{}).map(({msgid:e,msgid_plural:t,msgstr:i})=>void 0!==t?[`_${e}_::_${t}_`,i]:[e,i[0]]);this.bundle.translations={...this.bundle.translations,...Object.fromEntries(t)}}gettext(e,t={}){return(0,n.t)("",e,t,void 0,{bundle:this.bundle})}ngettext(e,t,i,r={}){return(0,n.d)("",e,t,i,r,{bundle:this.bundle})}}class a{debug=!1;language="en";translations={};setLanguage(e){return this.language=e,this}detectLocale(){return this.detectLanguage()}detectLanguage(){return this.setLanguage((0,n.a)().replace("-","_"))}addTranslation(e,t){return this.translations[e]=t,this}enableDebugMode(){return this.debug=!0,this}build(){this.debug&&console.debug(`Creating gettext instance for language ${this.language}`);let e=new r(e=>(0,n.e)(e,this.language));return this.language in this.translations&&e.addTranslations(this.translations[this.language]),e}}function s(){return new a}},53334(e,t,i){"use strict";i.d(t,{JK:()=>n.b,JN:()=>r,Pe:()=>s,V8:()=>n.i,Z0:()=>n.a,fw:()=>o,hY:()=>a,lO:()=>n.g,n:()=>n.d,t:()=>n.t});var n=i(93839);function r(){if(void 0!==globalThis.firstDay)return globalThis.firstDay;let e=new Intl.Locale((0,n.g)()),t=e.getWeekInfo?.()??e.weekInfo;return t?t.firstDay%7:1}function a(){if(void 0!==globalThis.dayNames)return globalThis.dayNames;let e=(0,n.g)();return[new Date(1970,0,4).toLocaleDateString(e,{weekday:"long"}),new Date(1970,0,5).toLocaleDateString(e,{weekday:"long"}),new Date(1970,0,6).toLocaleDateString(e,{weekday:"long"}),new Date(1970,0,7).toLocaleDateString(e,{weekday:"long"}),new Date(1970,0,8).toLocaleDateString(e,{weekday:"long"}),new Date(1970,0,9).toLocaleDateString(e,{weekday:"long"}),new Date(1970,0,10).toLocaleDateString(e,{weekday:"long"})]}function s(){if(void 0!==globalThis.dayNamesMin)return globalThis.dayNamesMin;let e=(0,n.g)();return[new Date(1970,0,4).toLocaleDateString(e,{weekday:"narrow"}),new Date(1970,0,5).toLocaleDateString(e,{weekday:"narrow"}),new Date(1970,0,6).toLocaleDateString(e,{weekday:"narrow"}),new Date(1970,0,7).toLocaleDateString(e,{weekday:"narrow"}),new Date(1970,0,8).toLocaleDateString(e,{weekday:"narrow"}),new Date(1970,0,9).toLocaleDateString(e,{weekday:"narrow"}),new Date(1970,0,10).toLocaleDateString(e,{weekday:"narrow"})]}function o(e=Date.now(),t={}){let i={ignoreSeconds:!1,language:(0,n.a)(),relativeTime:"long",...t},r=new Date(e),a=new Intl.RelativeTimeFormat([i.language,(0,n.a)()],{numeric:"auto",style:i.relativeTime}),s=(r.getTime()-Date.now())/1e3;if(59.5>Math.abs(s))return i.ignoreSeconds||a.format(Math.round(s),"second");let l=s/60;if(59>=Math.abs(l))return a.format(Math.round(l),"minute");let u=l/60;if(23.5>Math.abs(u))return a.format(Math.round(u),"hour");let d=u/24;if(6.5>Math.abs(d))return a.format(Math.round(d),"day");if(27.5>Math.abs(d)){let e=d/7;return a.format(Math.round(e),"week")}let c=11>Math.abs(d/30)?{month:i.relativeTime,day:"numeric"}:{year:"narrow"===i.relativeTime?"2-digit":"numeric",month:i.relativeTime};return new Intl.DateTimeFormat([i.language,(0,n.a)()],c).format(r)}},35947(e,t,i){"use strict";let n;i.d(t,{YK:()=>u});var r=i(21777),a=((n=a||{})[n.Debug=0]="Debug",n[n.Info=1]="Info",n[n.Warn=2]="Warn",n[n.Error=3]="Error",n[n.Fatal=4]="Fatal",n);class s{context;constructor(e){this.context=e||{}}formatMessage(e,t,i){let n="["+a[t].toUpperCase()+"] ";return(i&&i.app&&(n+=i.app+": "),"string"==typeof e)?n+e:(n+=`Unexpected ${e.name}`,e.message&&(n+=` "${e.message}"`),t===a.Debug&&e.stack&&(n+=` Stack trace: ${e.stack}`),n)}log(e,t,i){if(!("number"==typeof this.context?.level&&e{"complete"===document.readyState||"interactive"===document.readyState?(e.context.level=window._oc_config?.loglevel??a.Warn,window._oc_debug&&(e.context.level=a.Debug),document.removeEventListener("readystatechange",t)):document.addEventListener("readystatechange",t)};return t(),this}build(){return void 0===this.context.level&&this.detectLogLevel(),this.factory(this.context)}}function u(){return new l(o)}},71225(e,t,i){"use strict";function n(e){return e?e.split("/").map(encodeURIComponent).join("/"):e}function r(e,t){return(e=e.replace(/\\/g,"/").replace(/\/+$/g,"").replace(/.*\//,""),t&&t!==e&&e.endsWith(t))?e.substring(0,e.length-t.length):e}function a(e){let t=(e=e.replaceAll(/\\/g,"/")).split("/");return t.length<=1?".":(t.pop(),1===t.length&&""===t[0])?"/":t.join("/")}function s(e){let t=r(e),i=t.lastIndexOf(".");return i>0?t.substring(i):""}function o(...e){if(arguments.length<1)return"";let t=e.filter(e=>e.length>0);if(t.length<1)return"";let i=t[t.length-1],n="/"===t[0].charAt(0),r="/"===i.charAt(i.length-1),a=t.reduce((e,t)=>e.concat(t.split("/")),[]),s=!n,l=a.reduce((e,t)=>""===t?e:s?(s=!1,e+t):e+"/"+t,"");return r?l+"/":l}i.d(t,{LC:()=>s,O0:()=>n,P8:()=>r,fj:()=>o,pD:()=>a})},63814(e,t,i){"use strict";i.d(t,{$_:()=>d,Jv:()=>o,KT:()=>a,aU:()=>c,d0:()=>l,dC:()=>r,fg:()=>u});let n=e=>"/remote.php/"+e,r=(e,t)=>(t?.baseURL??d())+n(e),a=(e,t,i)=>{let n=1===Object.assign({ocsVersion:2},i||{}).ocsVersion?1:2;return(i?.baseURL??d())+"/ocs/v"+n+".php"+s(e,t,i)},s=(e,t,i)=>{let n=Object.assign({escape:!0},i||{}),r=function(e,t){return t=t||{},e.replace(/{([^{}]*)}/g,function(e,i){let r=t[i];return n.escape?"string"==typeof r||"number"==typeof r?encodeURIComponent(r.toString()):encodeURIComponent(e):"string"==typeof r||"number"==typeof r?r.toString():e})};return"/"!==e.charAt(0)&&(e="/"+e),r(e,t||{})},o=(e,t,i)=>{let n=Object.assign({noRewrite:!1},i||{}),r=i?.baseURL??c();return window?.OC?.config?.modRewriteWorking!==!0||n.noRewrite?r+"/index.php"+s(e,t,i):r+s(e,t,i)},l=(e,t)=>t.includes(".")?u(e,"img",t):u(e,"img",`${t}.svg`),u=(e,t,i)=>{let n=window?.OC?.coreApps?.includes(e)??!1,r="php"===i.slice(-3),a=c();return r&&!n?(a+=`/index.php/apps/${e}`,t&&(a+=`/${encodeURI(t)}`),"index.php"!==i&&(a+=`/${i}`)):r||n?(("settings"===e||"core"===e||"search"===e)&&"ajax"===t&&(a+="/index.php"),e&&(a+=`/${e}`),t&&(a+=`/${t}`),a+=`/${i}`):(a=h(e),t&&(a+=`/${t}/`),"/"!==a.at(-1)&&(a+="/"),a+=i),a},d=()=>window.location.protocol+"//"+window.location.host+c();function c(){let e=window._oc_webroot;if(void 0===e){let t=(e=location.pathname).indexOf("/index.php/");if(-1!==t)e=e.slice(0,t);else{let t=e.indexOf("/",1);e=e.slice(0,t>0?t:void 0)}}return e}function h(e){return(window._oc_appswebroots??{})[e]??""}},32505(e,t,i){"use strict";i.d(t,{G:()=>a,f:()=>r});var n=i(81222);function r(){return(0,n.C)("files_sharing","isPublic",null)??null!==document.querySelector('input#isPublic[type="hidden"][name="isPublic"][value="1"]')}function a(){return(0,n.C)("files_sharing","sharingToken",null)??document.querySelector('input#sharingToken[type="hidden"]')?.value??null}},89053(e,t,i){"use strict";i.d(t,{C:()=>c});var n=i(8756),r=i(52697);let a={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},s=["aria-hidden","aria-label"],o=["fill","width","height"],l={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},u={key:0};function d(e,t,i,r,a,d){return(0,n.uX)(),(0,n.CE)("span",(0,n.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,n.uX)(),(0,n.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,n.Lk)("path",l,[i.title?((0,n.uX)(),(0,n.CE)("title",u,(0,n.v_)(i.title),1)):(0,n.Q3)("",!0)])],8,o))],16,s)}let c=(0,r._)(a,[["render",d]])},70561(e,t,i){"use strict";i.d(t,{I:()=>c});var n=i(8756),r=i(52697);let a={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},s=["aria-hidden","aria-label"],o=["fill","width","height"],l={d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"},u={key:0};function d(e,t,i,r,a,d){return(0,n.uX)(),(0,n.CE)("span",(0,n.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon close-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,n.uX)(),(0,n.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,n.Lk)("path",l,[i.title?((0,n.uX)(),(0,n.CE)("title",u,(0,n.v_)(i.title),1)):(0,n.Q3)("",!0)])],8,o))],16,s)}let c=(0,r._)(a,[["render",d]])},48060(e,t,i){"use strict";i.d(t,{N:()=>y});var n=i(98190),r=i(47031),a=i(63825),s=i(65112),o=i(8756),l=i(52697);let u={name:"NcActionButton",components:{NcIconSvgWrapper:r.N},mixins:[a.A],inject:{isInSemanticMenu:{from:s.a,default:!1}},props:{disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:e=>["button","checkbox","radio","reset","submit"].includes(e)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},emits:["update:modelValue"],setup:()=>({mdiCheck:n.d,mdiChevronRight:n.c}),computed:{isFocusable(){return!this.disabled},isChecked(){return"radio"===this.type&&"boolean"!=typeof this.modelValue?this.modelValue===this.value:this.modelValue},nativeType(){return"submit"===this.type||"reset"===this.type?this.type:"button"},buttonAttributes(){let e={};return this.isInSemanticMenu?(e.role="menuitem","radio"===this.type?(e.role="menuitemradio",e["aria-checked"]=this.isChecked?"true":"false"):("checkbox"===this.type||"button"===this.nativeType&&null!==this.modelValue)&&(e.role="menuitemcheckbox",e["aria-checked"]=null===this.modelValue?"mixed":this.modelValue?"true":"false")):null!==this.modelValue&&"button"===this.nativeType&&(e["aria-pressed"]=this.modelValue?"true":"false"),e}},methods:{handleClick(e){this.onClick(e),(null!==this.modelValue||"button"!==this.type)&&("radio"===this.type&&"boolean"!=typeof this.modelValue?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked))}}},d=["role"],c=["aria-label","disabled","title","type"],h={class:"action-button__longtext-wrapper"},f={key:0,class:"action-button__name"},m=["textContent"],g={key:2,class:"action-button__text"},p=["textContent"],_={key:2,class:"action-button__pressed-icon material-design-icon"};function b(e,t,i,n,r,a){let s=(0,o.g2)("NcIconSvgWrapper");return(0,o.uX)(),(0,o.CE)("li",{class:(0,o.C4)(["action",{"action--disabled":i.disabled}]),role:a.isInSemanticMenu&&"presentation"},[(0,o.Lk)("button",(0,o.v6)({"aria-label":e.ariaLabel,class:["action-button button-vue",{"action-button--active":a.isChecked,focusable:a.isFocusable}],disabled:i.disabled,title:e.title,type:a.nativeType},a.buttonAttributes,{onClick:t[0]||(t[0]=(...e)=>a.handleClick&&a.handleClick(...e))}),[(0,o.RG)(e.$slots,"icon",{},()=>[(0,o.Lk)("span",{class:(0,o.C4)([[e.isIconUrl?"action-button__icon--url":e.icon],"action-button__icon"]),style:(0,o.Tr)({backgroundImage:e.isIconUrl?`url(${e.icon})`:null}),"aria-hidden":"true"},null,6)],!0),(0,o.Lk)("span",h,[e.name?((0,o.uX)(),(0,o.CE)("strong",f,(0,o.v_)(e.name),1)):(0,o.Q3)("",!0),e.isLongText?((0,o.uX)(),(0,o.CE)("span",{key:1,class:"action-button__longtext",textContent:(0,o.v_)(e.text)},null,8,m)):((0,o.uX)(),(0,o.CE)("span",g,(0,o.v_)(e.text),1)),i.description?((0,o.uX)(),(0,o.CE)("span",{key:3,class:"action-button__description",textContent:(0,o.v_)(i.description)},null,8,p)):(0,o.Q3)("",!0)]),i.isMenu?((0,o.uX)(),(0,o.Wv)(s,{key:0,class:"action-button__menu-icon",directional:"",path:n.mdiChevronRight},null,8,["path"])):a.isChecked?((0,o.uX)(),(0,o.Wv)(s,{key:1,path:n.mdiCheck,class:"action-button__pressed-icon"},null,8,["path"])):!1===a.isChecked?((0,o.uX)(),(0,o.CE)("span",_)):(0,o.Q3)("",!0),(0,o.Q3)("",!0)],16,c)],10,d)}let y=(0,l._)(u,[["render",b],["__scopeId","data-v-6c2daf4e"]])},70974(e,t,i){"use strict";i.d(t,{N:()=>p});var n=i(63825),r=i(65112),a=i(8756),s=i(52697);let o={name:"NcActionLink",mixins:[n.A],inject:{isInSemanticMenu:{from:r.a,default:!1}},props:{href:{type:String,required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null}}},l=["role"],u=["download","href","aria-label","target","title","role"],d={key:0,class:"action-link__longtext-wrapper"},c={class:"action-link__name"},h=["textContent"],f=["textContent"],m={key:2,class:"action-link__text"};function g(e,t,i,n,r,s){return(0,a.uX)(),(0,a.CE)("li",{class:"action",role:s.isInSemanticMenu&&"presentation"},[(0,a.Lk)("a",{download:i.download,href:i.href,"aria-label":e.ariaLabel,target:i.target,title:i.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:s.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},[(0,a.RG)(e.$slots,"icon",{},()=>[(0,a.Lk)("span",{"aria-hidden":"true",class:(0,a.C4)(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:(0,a.Tr)({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?((0,a.uX)(),(0,a.CE)("span",d,[(0,a.Lk)("strong",c,(0,a.v_)(e.name),1),t[1]||(t[1]=(0,a.Lk)("br",null,null,-1)),(0,a.Lk)("span",{class:"action-link__longtext",textContent:(0,a.v_)(e.text)},null,8,h)])):e.isLongText?((0,a.uX)(),(0,a.CE)("span",{key:1,class:"action-link__longtext",textContent:(0,a.v_)(e.text)},null,8,f)):((0,a.uX)(),(0,a.CE)("span",m,(0,a.v_)(e.text),1)),(0,a.Q3)("",!0)],8,u)],8,l)}let p=(0,s._)(o,[["render",g],["__scopeId","data-v-32f01b7a"]])},97201(e,t,i){"use strict";i.d(t,{N:()=>g});var n=i(63825),r=i(65112),a=i(8756),s=i(52697);let o={name:"NcActionRouter",mixins:[n.A],inject:{isInSemanticMenu:{from:r.a,default:!1}},props:{to:{type:[String,Object],required:!0}}},l=["role"],u={key:0,class:"action-router__longtext-wrapper"},d={class:"action-router__name"},c=["textContent"],h=["textContent"],f={key:2,class:"action-router__text"};function m(e,t,i,n,r,s){let o=(0,a.g2)("RouterLink");return(0,a.uX)(),(0,a.CE)("li",{class:"action",role:s.isInSemanticMenu&&"presentation"},[(0,a.bF)(o,{"aria-label":e.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:s.isInSemanticMenu&&"menuitem",title:e.title,to:i.to,onClick:e.onClick},{default:(0,a.k6)(()=>[(0,a.RG)(e.$slots,"icon",{},()=>[(0,a.Lk)("span",{"aria-hidden":"true",class:(0,a.C4)(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:(0,a.Tr)({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?((0,a.uX)(),(0,a.CE)("span",u,[(0,a.Lk)("strong",d,(0,a.v_)(e.name),1),t[0]||(t[0]=(0,a.Lk)("br",null,null,-1)),(0,a.Lk)("span",{class:"action-router__longtext",textContent:(0,a.v_)(e.text)},null,8,c)])):e.isLongText?((0,a.uX)(),(0,a.CE)("span",{key:1,class:"action-router__longtext",textContent:(0,a.v_)(e.text)},null,8,h)):((0,a.uX)(),(0,a.CE)("span",f,(0,a.v_)(e.text),1)),(0,a.Q3)("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,l)}let g=(0,s._)(o,[["render",m],["__scopeId","data-v-87267750"]])},55357(e,t,i){"use strict";i.d(t,{I:()=>_,N:()=>k,i:()=>b});var n=i(8756),r=i(52697),a=i(75187),s=i(69106),o=i(34163),l=i(56575),u=i(68690),d=i(65112);let c={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},h=["aria-hidden","aria-label"],f=["fill","width","height"],m={d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"},g={key:0};function p(e,t,i,r,a,s){return(0,n.uX)(),(0,n.CE)("span",(0,n.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon dots-horizontal-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,n.uX)(),(0,n.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,n.Lk)("path",m,[i.title?((0,n.uX)(),(0,n.CE)("title",g,(0,n.v_)(i.title),1)):(0,n.Q3)("",!0)])],8,f))],16,h)}let _=(0,r._)(c,[["render",p]]);function b(e){return Array.isArray(e)&&e.some(e=>{if(null===e)return!1;if("object"==typeof e){let t=e;if(t.type===n.Mw)return!1;if(t.type===n.FK&&!b(t.children))return!1;if(t.type===n.EY&&!t.children.trim())return!1}return!0})}(0,s.r)(s.F);let y=".focusable",F={name:"NcActions",components:{NcButton:l.N,NcPopover:u.N},provide(){return{[d.a]:(0,n.EW)(()=>"menu"===this.actionsMenuSemanticType),[d.N]:this.closeMenu}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},primary:{type:Boolean,default:!1},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:(0,s.a)("Actions")},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.getElementById("content-vue")??document.querySelector("body")},container:{type:[Boolean,String,Object,Element],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0},variant:{type:String,validator:e=>["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(e),default:null},size:{type:String,default:"normal",validator:e=>["small","normal","large"].includes(e)}},emits:["click","blur","focus","close","closed","open","opened","update:open"],setup:()=>({randomId:(0,o.c)()}),data(){return{opened:this.open,focusIndex:0,actionsMenuSemanticType:"unknown"}},computed:{triggerButtonVariant(){return this.variant||(this.primary?"primary":this.menuName?"secondary":"tertiary")},config(){return({menu:{popupRole:"menu",withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!1},navigation:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!1},dialog:{popupRole:"dialog",withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!0},tooltip:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!1,withFocusTrap:!1},unknown:{popupRole:void 0,role:void 0,withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!0}})[this.actionsMenuSemanticType]},withFocusTrap(){return this.config.withFocusTrap}},watch:{open(e){e!==this.opened&&(this.opened=e)},opened(){this.opened?document.body.addEventListener("keydown",this.handleEscapePressed):document.body.removeEventListener("keydown",this.handleEscapePressed)}},created(){(0,a.u)(()=>this.opened,{disabled:()=>this.config.withFocusTrap}),"ariaHidden"in this.$attrs&&(0,n.R8)("[NcActions]: Do not set the ariaHidden attribute as the root element will inherit the incorrect aria-hidden.")},methods:{getActionName:e=>e?.type?.name,isValidSingleAction(e){return["NcActionButton","NcActionLink","NcActionRouter"].includes(this.getActionName(e))},isAction(e){return this.getActionName(e)?.startsWith?.("NcAction")},isIconUrl(e){try{return new URL(e,e.startsWith("/")?window.location.origin:void 0),!0}catch{return!1}},toggleMenu(e){e?this.openMenu():this.closeMenu()},openMenu(){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},async closeMenu(e=!0){this.opened&&(await this.$nextTick(),this.opened=!1,this.$refs.popover?.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,e&&this.$refs.triggerButton?.$el.focus())},onOpened(){this.$nextTick(()=>{this.focusFirstAction(null),this.$emit("opened")})},onClosed(){this.$emit("closed")},getCurrentActiveMenuItemElement(){return this.$refs.menu.querySelector("li.active")},getFocusableMenuItemElements(){return this.$refs.menu.querySelectorAll(y)},onKeydown(e){if("Tab"===e.key){if(this.config.withFocusTrap)return;if(!this.config.withTabNavigation)return void this.closeMenu(!0);e.preventDefault();let t=this.getFocusableMenuItemElements(),i=[...t].indexOf(document.activeElement);if(-1===i)return;let n=e.shiftKey?i-1:i+1;return(n<0||n===t.length)&&this.closeMenu(!0),this.focusIndex=n,void this.focusAction()}this.config.withArrowNavigation&&("ArrowUp"===e.key&&this.focusPreviousAction(e),"ArrowDown"===e.key&&this.focusNextAction(e),"PageUp"===e.key&&this.focusFirstAction(e),"PageDown"===e.key&&this.focusLastAction(e)),this.handleEscapePressed(e)},onTriggerKeydown(e){"Escape"===e.key&&"tooltip"===this.actionsMenuSemanticType&&this.closeMenu()},handleEscapePressed(e){"Escape"===e.key&&(this.closeMenu(),e.preventDefault())},removeCurrentActive(){let e=this.$refs.menu.querySelector("li.active");e&&e.classList.remove("active")},focusAction(){let e=this.getFocusableMenuItemElements()[this.focusIndex];if(e){this.removeCurrentActive();let t=e.closest("li.action");e.focus(),t&&t.classList.add("active")}},focusPreviousAction(e){this.opened&&(0===this.focusIndex?this.focusLastAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(e){if(this.opened){let t=this.getFocusableMenuItemElements().length-1;this.focusIndex===t?this.focusFirstAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(e){if(this.opened){this.preventIfEvent(e);let t=[...this.getFocusableMenuItemElements()].findIndex(e=>"true"===e.getAttribute("aria-checked")&&"menuitemradio"===e.getAttribute("role"));this.focusIndex=t>-1?t:0,this.focusAction()}},focusLastAction(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=this.getFocusableMenuItemElements().length-1,this.focusAction())},preventIfEvent(e){e&&(e.preventDefault(),e.stopPropagation())},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e),"tooltip"===this.actionsMenuSemanticType&&this.$refs.menu&&0===this.getFocusableMenuItemElements().length&&this.closeMenu(!1)},onClick(e){this.$emit("click",e)}},render(){let e=[],t=(e,i)=>{e.forEach(e=>{this.isAction(e)?i.push(e):e.type===n.FK&&t(e.children,i)})};if(t(this.$slots.default?.(),e),0===e.length)return;let i=e.filter(this.isValidSingleAction);this.forceMenu&&i.length>0&&this.inline>0&&((0,n.R8)("Specifying forceMenu will ignore any inline actions rendering."),i=[]);let r=i.slice(0,this.inline),a=e.filter(e=>!r.includes(e)),s=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],o=["NcActionInput","NcActionTextEditable"],d=["NcActionLink","NcActionRouter"],c=a.some(e=>o.includes(this.getActionName(e))),h=a.some(e=>s.includes(this.getActionName(e))),f=a.some(e=>d.includes(this.getActionName(e)));c?this.actionsMenuSemanticType="dialog":h?this.actionsMenuSemanticType="menu":f?this.actionsMenuSemanticType="navigation":e.filter(e=>this.getActionName(e).startsWith("NcAction")).length===e.length?this.actionsMenuSemanticType="tooltip":this.actionsMenuSemanticType="unknown";let m=e=>{let t=e?.props?.icon,i=e?.children?.icon?.()?.[0]??(this.isIconUrl(t)?(0,n.h)("img",{class:"action-item__menutoggle__icon",src:t,alt:""}):(0,n.h)("span",{class:["icon",t]})),r=e?.children?.default?.()?.[0]?.children?.trim(),a=this.forceName?r:"",s=e?.props?.title;this.forceName||s||(s=r);let o={...e?.props??{}},u=["submit","reset"].includes(o.type)?o.modelValue:"button";return delete o.modelValue,delete o.type,(0,n.h)(l.N,(0,n.v6)(o,{class:"action-item action-item--single","aria-label":e?.props?.["aria-label"]||r,title:s,disabled:this.disabled||e?.props?.disabled,pressed:e?.props?.modelValue,size:this.size,type:u,variant:this.variant||(a?"secondary":"tertiary"),onFocus:this.onFocus,onBlur:this.onBlur,"onUpdate:pressed":e?.props?.["onUpdate:modelValue"]??(()=>{})}),{default:()=>a,icon:()=>i})},g=e=>{let t=b(this.$slots.icon?.())?this.$slots.icon?.():this.defaultIcon?(0,n.h)("span",{class:["icon",this.defaultIcon]}):(0,n.h)(_,{size:20}),i=`${this.randomId}-trigger`;return(0,n.h)(u.N,{ref:"popover",delay:0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,autoBoundaryMaxSize:!0,container:this.container,...this.manualOpen&&{triggers:[]},noCloseOnClickOutside:this.manualOpen,popoverBaseClass:"action-item__popper",popupRole:this.config.popupRole,setReturnFocus:this.config.withFocusTrap?this.$refs.triggerButton?.$el:void 0,noFocusTrap:!this.config.withFocusTrap,"onUpdate:shown":this.toggleMenu,onAfterShow:this.onOpened,onAfterClose:this.onClosed},{trigger:()=>(0,n.h)(l.N,{id:i,class:"action-item__menutoggle",disabled:this.disabled,size:this.size,variant:this.triggerButtonVariant,ref:"triggerButton","aria-label":this.menuName?null:this.ariaLabel,"aria-controls":this.opened&&this.config.popupRole?this.randomId:null,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,onKeydown:this.onTriggerKeydown},{icon:()=>t,default:()=>this.menuName}),default:()=>(0,n.h)("div",{class:{open:this.opened},tabindex:"-1",onKeydown:this.onKeydown,ref:"menu"},[(0,n.h)("ul",{id:this.randomId,tabindex:"-1",ref:"menuList",role:this.config.popupRole,"aria-labelledby":i,"aria-modal":"dialog"===this.actionsMenuSemanticType?"true":void 0},[e])])})};return 1!==e.length||1!==i.length||this.forceMenu?(this.$nextTick(()=>{this.opened&&this.$refs.menu&&0===(this.$refs.menu.querySelector("li.active")||[]).length&&this.focusFirstAction()}),r.length>0&&this.inline>0)?(0,n.h)("div",{class:["action-items",`action-item--${this.triggerButtonVariant}`]},[...r.map(m),a.length>0?(0,n.h)("div",{class:["action-item",{"action-item--open":this.opened}]},[g(a)]):null]):(0,n.h)("div",{class:["action-item action-item--default-popover",`action-item--${this.triggerButtonVariant}`,{"action-item--open":this.opened}]},[g(e)]):m(e[0])}},k=(0,r._)(F,[["__scopeId","data-v-5f7eed6b"]])},56575(e,t,i){"use strict";i.d(t,{N:()=>h});var n=i(8756),r=i(55442),a=i(97172),s=i(52480),o=i(52697);let l={class:"button-vue__wrapper"},u={class:"button-vue__icon"},d={class:"button-vue__text"},c=(0,n.pM)({__name:"NcButton",props:{alignment:{default:"center"},ariaLabel:{default:void 0},disabled:{type:Boolean},download:{type:[String,Boolean],default:void 0},href:{default:void 0},pressed:{type:Boolean,default:void 0},size:{default:"normal"},target:{default:"_self"},text:{default:void 0},to:{default:void 0},type:{default:"button"},variant:{default:"secondary"},wide:{type:Boolean}},emits:["click","update:pressed"],setup(e,{emit:t}){let i=e,o=t,{formBoxItemClass:c}=(0,s.u)(),h=null!==(0,n.WQ)(r.a,null),f=(0,n.EW)(()=>h&&i.to?"RouterLink":i.href?"a":"button"),m=(0,n.EW)(()=>"button"===f.value&&"boolean"==typeof i.pressed),g=(0,n.EW)(()=>i.pressed?"primary":!1===i.pressed&&"primary"===i.variant?"secondary":i.variant),p=(0,n.EW)(()=>g.value.startsWith("tertiary")),_=(0,n.EW)(()=>i.alignment.split("-")[0]),b=(0,n.EW)(()=>i.alignment.includes("-")),y=(0,n.WQ)("NcPopover:trigger:attrs",()=>({}),!1),F=(0,n.EW)(()=>y()),k=(0,n.EW)(()=>"RouterLink"===f.value?{to:i.to,activeClass:"active"}:"a"===f.value?{href:i.href||"#",target:i.target,rel:"nofollow noreferrer noopener",download:i.download||void 0}:"button"===f.value?{...F.value,"aria-pressed":i.pressed,type:i.type,disabled:i.disabled}:void 0);function w(e){m.value&&o("update:pressed",!i.pressed),o("click",e)}return(e,t)=>((0,n.uX)(),(0,n.Wv)((0,n.$y)(f.value),(0,n.v6)({class:["button-vue",[`button-vue--size-${e.size}`,{[`button-vue--${g.value}`]:g.value,"button-vue--tertiary":p.value,"button-vue--wide":e.wide,[`button-vue--${_.value}`]:"center"!==_.value,"button-vue--reverse":b.value,"button-vue--legacy":(0,n.R1)(a.i)},(0,n.R1)(c)]],"aria-label":e.ariaLabel},k.value,{onClick:w}),{default:(0,n.k6)(()=>[(0,n.Lk)("span",l,[(0,n.Lk)("span",u,[(0,n.RG)(e.$slots,"icon",{},void 0,!0)]),(0,n.Lk)("span",d,[(0,n.RG)(e.$slots,"default",{},()=>[(0,n.eW)((0,n.v_)(e.text),1)],!0)])])]),_:3},16,["class","aria-label"]))}}),h=(0,o._)(c,[["__scopeId","data-v-06ad9b25"]])},82014(e,t,i){"use strict";i.d(t,{N:()=>ed});var n=i(8756),r=i(52697),a=i(1176),s=i(74363),o=i(69106),l=i(34163);let u=Symbol.for("insideRadioGroup");function d(){return(0,n.WQ)(u,void 0)}let c={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},h=["aria-hidden","aria-label"],f=["fill","width","height"],m={d:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"},g={key:0};function p(e,t,i,r,a,s){return(0,n.uX)(),(0,n.CE)("span",(0,n.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon checkbox-blank-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,n.uX)(),(0,n.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,n.Lk)("path",m,[i.title?((0,n.uX)(),(0,n.CE)("title",g,(0,n.v_)(i.title),1)):(0,n.Q3)("",!0)])],8,f))],16,h)}let _=(0,r._)(c,[["render",p]]),b={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},y=["aria-hidden","aria-label"],F=["fill","width","height"],k={d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},w={key:0};function C(e,t,i,r,a,s){return(0,n.uX)(),(0,n.CE)("span",(0,n.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon checkbox-marked-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,n.uX)(),(0,n.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,n.Lk)("path",k,[i.title?((0,n.uX)(),(0,n.CE)("title",w,(0,n.v_)(i.title),1)):(0,n.Q3)("",!0)])],8,F))],16,y)}let A=(0,r._)(b,[["render",C]]),E={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},S=["aria-hidden","aria-label"],x=["fill","width","height"],D={d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},T={key:0};function M(e,t,i,r,a,s){return(0,n.uX)(),(0,n.CE)("span",(0,n.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon minus-box-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,n.uX)(),(0,n.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,n.Lk)("path",D,[i.title?((0,n.uX)(),(0,n.CE)("title",T,(0,n.v_)(i.title),1)):(0,n.Q3)("",!0)])],8,x))],16,S)}let I=(0,r._)(E,[["render",M]]),B={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},P=["aria-hidden","aria-label"],N=["fill","width","height"],R={d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},j={key:0};function O(e,t,i,r,a,s){return(0,n.uX)(),(0,n.CE)("span",(0,n.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon radiobox-blank-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,n.uX)(),(0,n.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,n.Lk)("path",R,[i.title?((0,n.uX)(),(0,n.CE)("title",j,(0,n.v_)(i.title),1)):(0,n.Q3)("",!0)])],8,N))],16,P)}let z=(0,r._)(B,[["render",O]]),q={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},W=["aria-hidden","aria-label"],V=["fill","width","height"],H={d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"},$={key:0};function G(e,t,i,r,a,s){return(0,n.uX)(),(0,n.CE)("span",(0,n.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon radiobox-marked-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,n.uX)(),(0,n.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,n.Lk)("path",H,[i.title?((0,n.uX)(),(0,n.CE)("title",$,(0,n.v_)(i.title),1)):(0,n.Q3)("",!0)])],8,V))],16,W)}let X=(0,r._)(q,[["render",G]]),K="checkbox",Y="radio",Q="switch",Z="button",J={name:"NcCheckboxContent",components:{NcLoadingIcon:s.N,NcIconToggleSwitch:a.N},props:{iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:e=>[K,Y,Q,Z].includes(e)},buttonVariant:{type:Boolean,default:!1},isChecked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},iconSize:{type:Number,default:24},labelId:{type:String,required:!0},descriptionId:{type:String,required:!0}},computed:{isButtonType(){return this.type===Z},isSwitchType(){return this.type===Q},checkboxRadioIconElement(){return this.type===Y?this.isChecked?X:z:this.indeterminate?I:this.isChecked?A:_}}},ee={key:0,class:"checkbox-content__wrapper"},et=["id"],ei=["id"];function en(e,t,i,r,a,s){let o=(0,n.g2)("NcLoadingIcon"),l=(0,n.g2)("NcIconToggleSwitch");return(0,n.uX)(),(0,n.CE)("span",{class:(0,n.C4)(["checkbox-content",{["checkbox-content-"+i.type]:!0,"checkbox-content--button-variant":i.buttonVariant,"checkbox-content--has-text":!!e.$slots.default}])},[(0,n.Lk)("span",{class:(0,n.C4)(["checkbox-content__icon",{"checkbox-content__icon--checked":i.isChecked,"checkbox-content__icon--has-description":!s.isButtonType&&e.$slots.description,[i.iconClass]:!0}]),"aria-hidden":!0,inert:""},[(0,n.RG)(e.$slots,"icon",{checked:i.isChecked,loading:i.loading},()=>[i.loading?((0,n.uX)(),(0,n.Wv)(o,{key:0})):s.isSwitchType?((0,n.uX)(),(0,n.Wv)(l,{key:1,checked:i.isChecked,size:i.iconSize,inline:""},null,8,["checked","size"])):i.buttonVariant?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)((0,n.$y)(s.checkboxRadioIconElement),{key:2,size:i.iconSize},null,8,["size"]))],!0)],2),e.$slots.default||e.$slots.description?((0,n.uX)(),(0,n.CE)("span",ee,[e.$slots.default?((0,n.uX)(),(0,n.CE)("span",{key:0,id:i.labelId,class:(0,n.C4)(["checkbox-content__text",i.textClass])},[(0,n.RG)(e.$slots,"default",{},void 0,!0)],10,et)):(0,n.Q3)("",!0),!s.isButtonType&&e.$slots.description?((0,n.uX)(),(0,n.CE)("span",{key:1,id:i.descriptionId,class:"checkbox-content__description"},[(0,n.RG)(e.$slots,"description",{},void 0,!0)],8,ei)):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0)],2)}let er=(0,r._)(J,[["render",en],["__scopeId","data-v-a060196e"]]);(0,o.r)();let ea={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:er},inheritAttrs:!1,props:{id:{type:String,default:()=>"checkbox-radio-switch-"+(0,l.c)(),validator:e=>""!==e.trim()},wrapperId:{type:String,default:null},name:{type:String,default:null},ariaLabel:{type:String,default:""},type:{type:String,default:"checkbox",validator:e=>[K,Y,Q,Z].includes(e)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:e=>["no","vertical","horizontal"].includes(e)},modelValue:{type:[Boolean,Array,String],default:!1},value:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},wrapperElement:{type:String,default:null},class:{type:[String,Array,Object],default:""},style:{type:[String,Array,Object],default:""},description:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:t}){let i=d();return(0,n.sV)(()=>i?.value.register(!1)),{internalType:(0,n.EW)(()=>i?.value?Y:e.type),internalModelValue:(0,n.EW)({get:()=>i?.value?i.value.modelValue:e.modelValue,set(e){i?.value?i.value.onUpdate(e):t("update:modelValue",e)}}),labelId:(0,l.c)(),descriptionId:(0,l.c)()}},computed:{isButtonType(){return this.internalType===Z},computedWrapperElement(){return this.isButtonType?"button":null!==this.wrapperElement?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},iconSize(){return this.internalType===Q?36:20},cssIconSize(){return this.iconSize+"px"},cssIconHeight(){return this.internalType===Q?"16px":this.cssIconSize},inputType(){return[K,Y,Z].includes(this.internalType)?this.internalType:K},isChecked(){return null!==this.value?Array.isArray(this.internalModelValue)?[...this.internalModelValue].indexOf(this.value)>-1:this.internalModelValue===this.value:!0===this.internalModelValue},hasIndeterminate(){return[K,Y].includes(this.inputType)}},mounted(){if(this.name&&this.internalType===K&&!Array.isArray(this.internalModelValue))throw Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.internalType===Q)throw Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if("boolean"!=typeof this.internalModelValue&&this.internalType===Q)throw Error("Switches can only be used with boolean as modelValue prop.")},methods:{t:o.a,n:o.K,onToggle(e){if(this.disabled||"a"===e.target.tagName.toLowerCase())return;if(this.internalType===Y){this.internalModelValue=this.value;return}if(this.internalType===Q){this.internalModelValue=!this.isChecked;return}if("boolean"==typeof this.internalModelValue){this.internalModelValue=!this.internalModelValue;return}let t=this.getInputsSet().filter(e=>e.checked).map(e=>e.value);t.includes(this.value)?this.internalModelValue=t.filter(e=>e!==this.value):this.internalModelValue=[...t,this.value]},getInputsSet(){return[...document.getElementsByName(this.name)]}}},es=()=>{(0,n.$9)(e=>({"1d6eb36d":e.cssIconSize,"698a3993":e.cssIconHeight}))},eo=ea.setup;ea.setup=eo?(e,t)=>(es(),eo(e,t)):es;let el=["id","aria-labelledby","aria-describedby","aria-label","disabled","type","value","checked",".indeterminate","required","name"];function eu(e,t,i,r,a,s){let o=(0,n.g2)("NcCheckboxContent");return(0,n.uX)(),(0,n.Wv)((0,n.$y)(s.computedWrapperElement),(0,n.v6)({id:i.wrapperId??(s.isButtonType?i.id:null),"aria-label":s.isButtonType&&i.ariaLabel?i.ariaLabel:void 0,class:["checkbox-radio-switch",[e.$props.class,{["checkbox-radio-switch-"+r.internalType]:r.internalType,"checkbox-radio-switch--checked":s.isChecked,"checkbox-radio-switch--disabled":i.disabled,"checkbox-radio-switch--indeterminate":!!s.hasIndeterminate&&i.indeterminate,"checkbox-radio-switch--button-variant":i.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":i.buttonVariant&&"vertical"===i.buttonVariantGrouped,"checkbox-radio-switch--button-variant-h-grouped":i.buttonVariant&&"horizontal"===i.buttonVariantGrouped,"button-vue":s.isButtonType}]],style:i.style,type:s.isButtonType?"button":null},s.isButtonType?e.$attrs:{},(0,n.Tb)(s.isButtonType?s.listeners:{})),{default:(0,n.k6)(()=>[s.isButtonType?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("input",(0,n.v6)({key:0,id:i.id,"aria-labelledby":s.isButtonType||i.ariaLabel?null:r.labelId,"aria-describedby":!s.isButtonType&&(i.description||e.$slots.description)?r.descriptionId:null,"aria-label":i.ariaLabel||void 0,class:"checkbox-radio-switch__input",disabled:i.disabled,type:s.inputType,value:i.value,checked:s.isChecked,".indeterminate":s.hasIndeterminate?i.indeterminate:null,required:i.required,name:i.name},e.$attrs,(0,n.Tb)(s.listeners,!0)),null,48,el)),(0,n.bF)(o,{id:s.isButtonType?void 0:`${i.id}-label`,class:"checkbox-radio-switch__content",iconClass:"checkbox-radio-switch__icon",textClass:"checkbox-radio-switch__text",type:r.internalType,indeterminate:!!s.hasIndeterminate&&i.indeterminate,buttonVariant:i.buttonVariant,isChecked:s.isChecked,loading:i.loading,labelId:r.labelId,descriptionId:r.descriptionId,iconSize:s.iconSize,onClick:s.onToggle},(0,n.eX)({icon:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"icon",{},void 0,!0)]),_:2},[e.$slots.description||i.description?{name:"description",fn:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"description",{},()=>[(0,n.eW)((0,n.v_)(i.description),1)],!0)]),key:"0"}:void 0,e.$slots.default?{name:"default",fn:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"default",{},void 0,!0)]),key:"1"}:void 0]),1032,["id","type","indeterminate","buttonVariant","isChecked","loading","labelId","descriptionId","iconSize","onClick"])]),_:3},16,["id","aria-label","class","style","type"])}let ed=(0,r._)(ea,[["render",eu],["__scopeId","data-v-6808cde4"]])},53946(e,t,i){"use strict";i.d(t,{N:()=>e2});var n=i(8756);function r(e,t){s(e)&&(e="100%");var i=o(e);return(e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),i&&(e=parseInt(String(e*t),10)/100),1e-6>Math.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function a(e){return Math.min(1,Math.max(0,e))}function s(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function o(e){return"string"==typeof e&&-1!==e.indexOf("%")}function l(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function u(e){return e<=1?"".concat(100*Number(e),"%"):e}function d(e){return 1===e.length?"0"+e:String(e)}function c(e,t,i){return{r:255*r(e,255),g:255*r(t,255),b:255*r(i,255)}}function h(e,t,i){e=r(e,255);var n=Math.max(e,t=r(t,255),i=r(i,255)),a=Math.min(e,t,i),s=0,o=0,l=(n+a)/2;if(n===a)o=0,s=0;else{var u=n-a;switch(o=l>.5?u/(2-n-a):u/(n+a),n){case e:s=(t-i)/u+6*(t1&&(i-=1),i<1/6)?e+6*i*(t-e):i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function m(e,t,i){if(e=r(e,360),t=r(t,100),i=r(i,100),0===t)a=i,s=i,n=i;else{var n,a,s,o=i<.5?i*(1+t):i+t-i*t,l=2*i-o;n=f(l,o,e+1/3),a=f(l,o,e),s=f(l,o,e-1/3)}return{r:255*n,g:255*a,b:255*s}}function g(e,t,i){e=r(e,255);var n=Math.max(e,t=r(t,255),i=r(i,255)),a=Math.min(e,t,i),s=0,o=n,l=n-a,u=0===n?0:l/n;if(n===a)s=0;else{switch(n){case e:s=(t-i)/l+6*(t>16,g:(65280&e)>>8,b:255&e}}var C={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function A(e){var t={r:0,g:0,b:0},i=1,n=null,r=null,a=null,s=!1,o=!1;return"string"==typeof e&&(e=I(e)),"object"==typeof e&&(B(e.r)&&B(e.g)&&B(e.b)?(t=c(e.r,e.g,e.b),s=!0,o="%"===String(e.r).substr(-1)?"prgb":"rgb"):B(e.h)&&B(e.s)&&B(e.v)?(n=u(e.s),r=u(e.v),t=p(e.h,n,r),s=!0,o="hsv"):B(e.h)&&B(e.s)&&B(e.l)&&(n=u(e.s),a=u(e.l),t=m(e.h,n,a),s=!0,o="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(i=e.a)),i=l(i),{ok:s,format:e.format||o,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:i}}var E="[-\\+]?\\d+%?",S="[-\\+]?\\d*\\.\\d+%?",x="(?:".concat(S,")|(?:").concat(E,")"),D="[\\s|\\(]+(".concat(x,")[,|\\s]+(").concat(x,")[,|\\s]+(").concat(x,")\\s*\\)?"),T="[\\s|\\(]+(".concat(x,")[,|\\s]+(").concat(x,")[,|\\s]+(").concat(x,")[,|\\s]+(").concat(x,")\\s*\\)?"),M={CSS_UNIT:new RegExp(x),rgb:RegExp("rgb"+D),rgba:RegExp("rgba"+T),hsl:RegExp("hsl"+D),hsla:RegExp("hsla"+T),hsv:RegExp("hsv"+D),hsva:RegExp("hsva"+T),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function I(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(C[e])e=C[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var i=M.rgb.exec(e);return i?{r:i[1],g:i[2],b:i[3]}:(i=M.rgba.exec(e))?{r:i[1],g:i[2],b:i[3],a:i[4]}:(i=M.hsl.exec(e))?{h:i[1],s:i[2],l:i[3]}:(i=M.hsla.exec(e))?{h:i[1],s:i[2],l:i[3],a:i[4]}:(i=M.hsv.exec(e))?{h:i[1],s:i[2],v:i[3]}:(i=M.hsva.exec(e))?{h:i[1],s:i[2],v:i[3],a:i[4]}:(i=M.hex8.exec(e))?{r:k(i[1]),g:k(i[2]),b:k(i[3]),a:F(i[4]),format:t?"name":"hex8"}:(i=M.hex6.exec(e))?{r:k(i[1]),g:k(i[2]),b:k(i[3]),format:t?"name":"hex"}:(i=M.hex4.exec(e))?{r:k(i[1]+i[1]),g:k(i[2]+i[2]),b:k(i[3]+i[3]),a:F(i[4]+i[4]),format:t?"name":"hex8"}:!!(i=M.hex3.exec(e))&&{r:k(i[1]+i[1]),g:k(i[2]+i[2]),b:k(i[3]+i[3]),format:t?"name":"hex"}}function B(e){return!!M.CSS_UNIT.exec(String(e))}var P=function(){function e(t,i){if(void 0===t&&(t=""),void 0===i&&(i={}),t instanceof e)return t;"number"==typeof t&&(t=w(t)),this.originalInput=t;var n,r=A(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!=(n=i.format)?n:r.format,this.gradientType=i.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,i,n=this.toRgb(),r=n.r/255,a=n.g/255,s=n.b/255;return .2126*(e=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(t=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(i=s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=l(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=g(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=g(this.r,this.g,this.b),t=Math.round(360*e.h),i=Math.round(100*e.s),n=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(i,"%, ").concat(n,"%)"):"hsva(".concat(t,", ").concat(i,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=h(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=h(this.r,this.g,this.b),t=Math.round(360*e.h),i=Math.round(100*e.s),n=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(i,"%, ").concat(n,"%)"):"hsla(".concat(t,", ").concat(i,"%, ").concat(n,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),_(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),b(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),i=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(i,")"):"rgba(".concat(e,", ").concat(t,", ").concat(i,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*r(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*r(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+_(this.r,this.g,this.b,!1),t=0,i=Object.entries(C);t=0;return!t&&n&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(i=this.toRgbString()),"prgb"===e&&(i=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(i=this.toHexString()),"hex3"===e&&(i=this.toHexString(!0)),"hex4"===e&&(i=this.toHex8String(!0)),"hex8"===e&&(i=this.toHex8String()),"name"===e&&(i=this.toName()),"hsl"===e&&(i=this.toHslString()),"hsv"===e&&(i=this.toHsvString()),i||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var i=this.toHsl();return i.l+=t/100,i.l=a(i.l),new e(i)},e.prototype.brighten=function(t){void 0===t&&(t=10);var i=this.toRgb();return i.r=Math.max(0,Math.min(255,i.r-Math.round(-(t/100*255)))),i.g=Math.max(0,Math.min(255,i.g-Math.round(-(t/100*255)))),i.b=Math.max(0,Math.min(255,i.b-Math.round(-(t/100*255)))),new e(i)},e.prototype.darken=function(t){void 0===t&&(t=10);var i=this.toHsl();return i.l-=t/100,i.l=a(i.l),new e(i)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var i=this.toHsl();return i.s-=t/100,i.s=a(i.s),new e(i)},e.prototype.saturate=function(t){void 0===t&&(t=10);var i=this.toHsl();return i.s+=t/100,i.s=a(i.s),new e(i)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var i=this.toHsl(),n=(i.h+t)%360;return i.h=n<0?360+n:n,new e(i)},e.prototype.mix=function(t,i){void 0===i&&(i=50);var n=this.toRgb(),r=new e(t).toRgb(),a=i/100;return new e({r:(r.r-n.r)*a+n.r,g:(r.g-n.g)*a+n.g,b:(r.b-n.b)*a+n.b,a:(r.a-n.a)*a+n.a})},e.prototype.analogous=function(t,i){void 0===t&&(t=6),void 0===i&&(i=30);var n=this.toHsl(),r=360/i,a=[this];for(n.h=(n.h-(r*t>>1)+720)%360;--t;)n.h=(n.h+r)%360,a.push(new e(n));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var i=this.toHsv(),n=i.h,r=i.s,a=i.v,s=[],o=1/t;t--;)s.push(new e({h:n,s:r,v:a})),a=(a+o)%1;return s},e.prototype.splitcomplement=function(){var t=this.toHsl(),i=t.h;return[this,new e({h:(i+72)%360,s:t.s,l:t.l}),new e({h:(i+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var i=this.toRgb(),n=new e(t).toRgb(),r=i.a+n.a*(1-i.a);return new e({r:(i.r*i.a+n.r*n.a*(1-i.a))/r,g:(i.g*i.a+n.g*n.a*(1-i.a))/r,b:(i.b*i.a+n.b*n.a*(1-i.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var i=this.toHsl(),n=i.h,r=[this],a=360/t,s=1;s0?N(e.hex):e&&e.hsv?N(e.hsv):e&&e.rgba?N(e.rgba):e&&e.rgb?N(e.rgb):N(e))&&(void 0===i._a||null===i._a)&&i.setAlpha(n||i.getAlpha());let r=i.toHsl(),a=i.toHsv();return 0===r.s&&(a.h=r.h=e.h||e.hsl&&e.hsl.h||t||0),a.v<.0164&&(a.h=e.h||e.hsv&&e.hsv.h||0,a.s=e.s||e.hsv&&e.hsv.s||0),r.l<.01&&(r.h=e.h||e.hsl&&e.hsl.h||0,r.s=e.s||e.hsl&&e.hsl.s||0),{hsl:r,hex:i.toHexString().toUpperCase(),hex8:i.toHex8String().toUpperCase(),rgba:i.toRgb(),hsv:a,oldHue:e.h||t||r.h,source:e.source,a:i.getAlpha()}}var j={model:{prop:"modelValue",event:"update:modelValue"},props:["modelValue"],data(){return{val:R(this.modelValue)}},computed:{colors:{get(){return this.val},set(e){this.val=e,this.$emit("update:modelValue",e)}}},watch:{modelValue(e){this.val=R(e)}},methods:{colorChange(e,t){this.oldHue=this.colors.hsl.h,this.colors=R(e,t||this.oldHue)},isValidHex:e=>N(e).isValid,simpleCheckForValidColor(e){let t=["r","g","b","a","h","s","l","v"],i=0,n=0;for(let r=0;re.map(e=>e.toUpperCase()),isTransparent:e=>0===N(e).getAlpha()}};function O(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"u">typeof document){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===i&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}let z=function(e,t){let{componentPrefix:i=""}=t||{};e.component(`${i}${this.name}`,this)};var q={name:"EditableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get(){return this.value},set(e){if(void 0===this.max||!(+e>this.max))return e;this.$refs.input.value=this.max}},labelId(){return`input__label__${this.label}__${Math.random().toString().slice(2,5)}`},labelSpanText(){return this.labelText||this.label}},methods:{update(e){this.handleChange(e.target.value)},handleChange(e){let t={};t[this.label]=e,void 0===t.hex&&void 0===t["#"]?this.$emit("change",t):e.length>5&&this.$emit("change",t)},handleKeyDown(e){let{val:t}=this,i=Number(t);if(i){let n=this.arrowOffset||1;38===e.keyCode&&(t=i+n,this.handleChange(t),e.preventDefault()),40===e.keyCode&&(t=i-n,this.handleChange(t),e.preventDefault())}}}};let W={class:"vc-editable-input"},V=["aria-labelledby"],H=["id","for"],$={class:"vc-input__desc"};function G(e,t,i,r,a,s){return(0,n.uX)(),(0,n.CE)("div",W,[(0,n.bo)((0,n.Lk)("input",{ref:"input","onUpdate:modelValue":t[0]||(t[0]=e=>s.val=e),"aria-labelledby":s.labelId,class:"vc-input__input",onKeydown:t[1]||(t[1]=(...e)=>s.handleKeyDown&&s.handleKeyDown(...e)),onInput:t[2]||(t[2]=(...e)=>s.update&&s.update(...e))},null,40,V),[[n.Jo,s.val]]),(0,n.Lk)("span",{id:s.labelId,for:i.label,class:"vc-input__label"},(0,n.v_)(s.labelSpanText),9,H),(0,n.Lk)("span",$,(0,n.v_)(i.desc),1)])}function X(e,t,i){return ti?i:e:et?t:e}O(".vc-editable-input{position:relative}.vc-input__input{border:0;outline:none;padding:0}.vc-input__label{text-transform:capitalize}"),q.render=G,q.__file="src/components/editable-input/editable-input.vue",q.install=z;var K={name:"Saturation",props:{value:Object},computed:{colors(){return this.value},bgColor(){return`hsl(${this.colors.hsv.h}, 100%, 50%)`},pointerTop(){return`${-(100*this.colors.hsv.v)+1+100}%`},pointerLeft(){return`${100*this.colors.hsv.s}%`}},methods:{handleChange(e,t){t||e.preventDefault();let{container:i}=this.$refs;if(!i)return;let n=i.clientWidth,r=i.clientHeight,a=i.getBoundingClientRect().left+window.pageXOffset,s=i.getBoundingClientRect().top+window.pageYOffset,o=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0),u=X(o-a,0,n),d=X(l-s,0,r),c=u/n,h=X(-(d/r)+1,0,1);this.onChange({h:this.colors.hsv.h,s:c,v:h,a:this.colors.hsv.a,source:"hsva"})},onChange(e){this.$emit("change",e)},handleMouseDown(e){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(e){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};let Y=(0,n.Lk)("div",{class:"vc-saturation--white"},null,-1),Q=(0,n.Lk)("div",{class:"vc-saturation--black"},null,-1),Z=[(0,n.Lk)("div",{class:"vc-saturation-circle"},null,-1)];function J(e,t,i,r,a,s){return(0,n.uX)(),(0,n.CE)("div",{ref:"container",class:"vc-saturation",style:(0,n.Tr)({background:s.bgColor}),onMousedown:t[0]||(t[0]=(...e)=>s.handleMouseDown&&s.handleMouseDown(...e)),onTouchmove:t[1]||(t[1]=(...e)=>s.handleChange&&s.handleChange(...e)),onTouchstart:t[2]||(t[2]=(...e)=>s.handleChange&&s.handleChange(...e))},[Y,Q,(0,n.Lk)("div",{class:"vc-saturation-pointer",style:(0,n.Tr)({top:s.pointerTop,left:s.pointerLeft})},Z,4)],36)}O(".vc-saturation,.vc-saturation--black,.vc-saturation--white{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0}.vc-saturation--white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.vc-saturation--black{background:linear-gradient(0deg,#000,transparent)}.vc-saturation-pointer{cursor:pointer;position:absolute}.vc-saturation-circle{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:head;height:4px;transform:translate(-2px,-2px);width:4px}"),K.render=J,K.__file="src/components/saturation/saturation.vue",K.install=z;var ee={name:"Hue",props:{value:Object,direction:{type:String,default:"horizontal"}},data:()=>({oldHue:0,pullDirection:""}),computed:{colors(){return this.value},directionClass(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop(){return"vertical"===this.direction?0===this.colors.hsl.h&&"right"===this.pullDirection?0:`${-(100*this.colors.hsl.h/360)+100}%`:0},pointerLeft(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":`${100*this.colors.hsl.h/360}%`}},watch:{value:{handler(e,t){let{h:i}=e.hsl;0!==i&&i-this.oldHue>0&&(this.pullDirection="right"),0!==i&&i-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=i},deep:!0,immediate:!0}},methods:{handleChange(e,t){let i,n;t||e.preventDefault();let{container:r}=this.$refs;if(!r)return;let a=r.clientWidth,s=r.clientHeight,o=r.getBoundingClientRect().left+window.pageXOffset,l=r.getBoundingClientRect().top+window.pageYOffset,u=e.pageX||(e.touches?e.touches[0].pageX:0),d=e.pageY||(e.touches?e.touches[0].pageY:0),c=u-o,h=d-l;i="vertical"===this.direction?h<0?360:h>s?0:360*(n=-(100*h/s)+100)/100:c<0?0:c>a?360:360*(n=100*c/a)/100,this.colors.hsl.h!==i&&this.$emit("change",{h:i,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})},handleMouseDown(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(e){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};let et=["aria-valuenow"],ei=[(0,n.Lk)("div",{class:"vc-hue-picker"},null,-1)];function en(e,t,i,r,a,s){return(0,n.uX)(),(0,n.CE)("div",{class:(0,n.C4)(["vc-hue",[s.directionClass]])},[(0,n.Lk)("div",{ref:"container",class:"vc-hue-container",role:"slider","aria-valuenow":s.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360",onMousedown:t[0]||(t[0]=(...e)=>s.handleMouseDown&&s.handleMouseDown(...e)),onTouchmove:t[1]||(t[1]=(...e)=>s.handleChange&&s.handleChange(...e)),onTouchstart:t[2]||(t[2]=(...e)=>s.handleChange&&s.handleChange(...e))},[(0,n.Lk)("div",{class:"vc-hue-pointer",style:(0,n.Tr)({top:s.pointerTop,left:s.pointerLeft}),role:"presentation"},ei,4)],40,et)],2)}O(".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}"),ee.render=en,ee.__file="src/components/hue/hue.vue",ee.install=z;let er={};var ea={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle(){return{"background-image":`url(${eo(this.white,this.grey,this.size)})`}}}};function es(e,t,i){if("u"r?1:Math.round(100*s/r)/100,this.colors.a!==i&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:i,source:"rgba"})},handleMouseDown(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};let ed={class:"vc-alpha"},ec={class:"vc-alpha-checkboard-wrap"},eh=[(0,n.Lk)("div",{class:"vc-alpha-picker"},null,-1)];function ef(e,t,i,r,a,s){let o=(0,n.g2)("Checkboard");return(0,n.uX)(),(0,n.CE)("div",ed,[(0,n.Lk)("div",ec,[(0,n.bF)(o)]),(0,n.Lk)("div",{class:"vc-alpha-gradient",style:(0,n.Tr)({background:s.gradientColor})},null,4),(0,n.Lk)("div",{ref:"container",class:"vc-alpha-container",onMousedown:t[0]||(t[0]=(...e)=>s.handleMouseDown&&s.handleMouseDown(...e)),onTouchmove:t[1]||(t[1]=(...e)=>s.handleChange&&s.handleChange(...e)),onTouchstart:t[2]||(t[2]=(...e)=>s.handleChange&&s.handleChange(...e))},[(0,n.Lk)("div",{class:"vc-alpha-pointer",style:(0,n.Tr)({left:`${100*s.colors.a}%`})},eh,4)],544)])}O(".vc-alpha,.vc-alpha-checkboard-wrap{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-checkboard-wrap{overflow:hidden}.vc-alpha-gradient{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-container{cursor:pointer;height:100%;margin:0 3px;position:relative;z-index:2}.vc-alpha-pointer{position:absolute;z-index:2}.vc-alpha-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}"),eu.render=ef,eu.__file="src/components/alpha/alpha.vue",eu.install=z;var em={name:"Chrome",components:{Saturation:K,Hue:ee,Alpha:eu,EdIn:q,Checkboard:ea},mixins:[j],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1},format:{type:String,default:"hex"}},data:()=>({fieldsIndex:"hex",highlight:!1}),computed:{hsl(){let{h:e,s:t,l:i}=this.colors.hsl;return{h:e.toFixed(),s:`${(100*t).toFixed()}%`,l:`${(100*i).toFixed()}%`}},activeColor(){let{rgba:e}=this.colors;return`rgba(${[e.r,e.g,e.b,e.a].join(",")})`},hasAlpha(){return this.colors.a<1}},watch:{format:{handler(e){this.fieldsIndex=e},immediate:!0}},methods:{childChange(e){this.colorChange(e)},inputChange(e){if(e){if(e.hex)this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"});else if(e.r||e.g||e.b||e.a)this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"});else if(e.h||e.s||e.l){let t=e.s?e.s.replace("%","")/100:this.colors.hsl.s,i=e.l?e.l.replace("%","")/100:this.colors.hsl.l;this.colorChange({h:e.h||this.colors.hsl.h,s:t,l:i,source:"hsl"})}}},toggleViews(){switch(this.fieldsIndex){case"hex":this.fieldsIndex=`rgb${this.disableAlpha?"":"a"}`;break;case"rgb":case"rgba":this.fieldsIndex=`hsl${this.disableAlpha?"":"a"}`;break;default:this.fieldsIndex="hex"}this.$emit("update:format",this.fieldsIndex)},showHighlight(){this.highlight=!0},hideHighlight(){this.highlight=!1}}};let eg={class:"vc-chrome-saturation-wrap"},ep={class:"vc-chrome-body"},e_={class:"vc-chrome-controls"},ev={class:"vc-chrome-color-wrap"},eb=["aria-label"],ey={class:"vc-chrome-sliders"},eF={class:"vc-chrome-hue-wrap"},ek={key:0,class:"vc-chrome-alpha-wrap"},ew={key:0,class:"vc-chrome-fields-wrap"},eC={class:"vc-chrome-fields"},eA={class:"vc-chrome-field"},eE={class:"vc-chrome-fields"},eS={class:"vc-chrome-field"},ex={class:"vc-chrome-field"},eD={class:"vc-chrome-field"},eT={key:0,class:"vc-chrome-field"},eM={class:"vc-chrome-fields"},eI={class:"vc-chrome-field"},eB={class:"vc-chrome-field"},eP={class:"vc-chrome-field"},eL={key:0,class:"vc-chrome-field"},eN={class:"vc-chrome-toggle-icon"},eR=[(0,n.Lk)("path",{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"},null,-1)],ej={class:"vc-chrome-toggle-icon-highlight"};function eO(e,t,i,r,a,s){let o=(0,n.g2)("Saturation"),l=(0,n.g2)("Checkboard"),u=(0,n.g2)("Hue"),d=(0,n.g2)("Alpha"),c=(0,n.g2)("EdIn");return(0,n.uX)(),(0,n.CE)("div",{role:"application","aria-label":"Chrome color picker",class:(0,n.C4)(["vc-chrome",[i.disableAlpha?"vc-chrome__disable-alpha":""]])},[(0,n.Lk)("div",eg,[(0,n.bF)(o,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),(0,n.Lk)("div",ep,[(0,n.Lk)("div",e_,[(0,n.Lk)("div",ev,[(0,n.Lk)("div",{"aria-label":`current color is ${e.colors.hex}`,class:"vc-chrome-active-color",style:(0,n.Tr)({background:s.activeColor})},null,12,eb),i.disableAlpha?(0,n.Q3)("v-if",!0):((0,n.uX)(),(0,n.Wv)(l,{key:0}))]),(0,n.Lk)("div",ey,[(0,n.Lk)("div",eF,[(0,n.bF)(u,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),i.disableAlpha?(0,n.Q3)("v-if",!0):((0,n.uX)(),(0,n.CE)("div",ek,[(0,n.bF)(d,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]))])]),i.disableFields?(0,n.Q3)("v-if",!0):((0,n.uX)(),(0,n.CE)("div",ew,[(0,n.bo)((0,n.Lk)("div",eC,[(0,n.Q3)(" hex "),(0,n.Lk)("div",eA,[s.hasAlpha?(0,n.Q3)("v-if",!0):((0,n.uX)(),(0,n.Wv)(c,{key:0,label:"hex",value:e.colors.hex,onChange:s.inputChange},null,8,["value","onChange"])),s.hasAlpha?((0,n.uX)(),(0,n.Wv)(c,{key:1,label:"hex",value:e.colors.hex8,onChange:s.inputChange},null,8,["value","onChange"])):(0,n.Q3)("v-if",!0)])],512),[[n.aG,"hex"===a.fieldsIndex]]),(0,n.bo)((0,n.Lk)("div",eE,[(0,n.Q3)(" rgba "),(0,n.Lk)("div",eS,[(0,n.bF)(c,{label:"r",value:e.colors.rgba.r,onChange:s.inputChange},null,8,["value","onChange"])]),(0,n.Lk)("div",ex,[(0,n.bF)(c,{label:"g",value:e.colors.rgba.g,onChange:s.inputChange},null,8,["value","onChange"])]),(0,n.Lk)("div",eD,[(0,n.bF)(c,{label:"b",value:e.colors.rgba.b,onChange:s.inputChange},null,8,["value","onChange"])]),i.disableAlpha?(0,n.Q3)("v-if",!0):((0,n.uX)(),(0,n.CE)("div",eT,[(0,n.bF)(c,{label:"a",value:e.colors.a,"arrow-offset":.01,max:1,onChange:s.inputChange},null,8,["value","arrow-offset","onChange"])]))],512),[[n.aG,["rgb","rgba"].includes(a.fieldsIndex)]]),(0,n.bo)((0,n.Lk)("div",eM,[(0,n.Q3)(" hsla "),(0,n.Lk)("div",eI,[(0,n.bF)(c,{label:"h",value:s.hsl.h,onChange:s.inputChange},null,8,["value","onChange"])]),(0,n.Lk)("div",eB,[(0,n.bF)(c,{label:"s",value:s.hsl.s,onChange:s.inputChange},null,8,["value","onChange"])]),(0,n.Lk)("div",eP,[(0,n.bF)(c,{label:"l",value:s.hsl.l,onChange:s.inputChange},null,8,["value","onChange"])]),i.disableAlpha?(0,n.Q3)("v-if",!0):((0,n.uX)(),(0,n.CE)("div",eL,[(0,n.bF)(c,{label:"a",value:e.colors.a,"arrow-offset":.01,max:1,onChange:s.inputChange},null,8,["value","arrow-offset","onChange"])]))],512),[[n.aG,["hsl","hsla"].includes(a.fieldsIndex)]]),(0,n.Q3)(" btn "),(0,n.Lk)("div",{class:"vc-chrome-toggle-btn",role:"button","aria-label":"Change another color definition",onClick:t[3]||(t[3]=(...e)=>s.toggleViews&&s.toggleViews(...e))},[(0,n.Lk)("div",eN,[((0,n.uX)(),(0,n.CE)("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24",onMouseover:t[0]||(t[0]=(...e)=>s.showHighlight&&s.showHighlight(...e)),onMouseenter:t[1]||(t[1]=(...e)=>s.showHighlight&&s.showHighlight(...e)),onMouseout:t[2]||(t[2]=(...e)=>s.hideHighlight&&s.hideHighlight(...e))},eR,32))]),(0,n.bo)((0,n.Lk)("div",ej,null,512),[[n.aG,a.highlight]])]),(0,n.Q3)(" btn ")]))])],2)}O(".vc-chrome{background:#fff;background-color:#fff;border-radius:2px;box-shadow:0 0 2px rgba(0,0,0,.3),0 4px 8px rgba(0,0,0,.3);box-sizing:initial;font-family:Menlo;width:225px}.vc-chrome-controls{display:flex}.vc-chrome-color-wrap{position:relative;width:36px}.vc-chrome-active-color{border-radius:15px;height:30px;overflow:hidden;position:relative;width:30px;z-index:1}.vc-chrome-color-wrap .vc-checkerboard{background-size:auto;border-radius:15px;height:30px;width:30px}.vc-chrome-sliders{flex:1}.vc-chrome-fields-wrap{display:flex;padding-top:16px}.vc-chrome-fields{display:flex;flex:1;margin-left:-6px}.vc-chrome-field{padding-left:6px;width:100%}.vc-chrome-toggle-btn{position:relative;text-align:right;width:32px}.vc-chrome-toggle-icon{cursor:pointer;margin-right:-4px;margin-top:12px;position:relative;z-index:2}.vc-chrome-toggle-icon-highlight{background:#eee;border-radius:4px;height:28px;left:12px;position:absolute;top:10px;width:24px}.vc-chrome-hue-wrap{margin-bottom:8px}.vc-chrome-alpha-wrap,.vc-chrome-hue-wrap{height:10px;position:relative}.vc-chrome-alpha-wrap .vc-alpha-gradient,.vc-chrome-hue-wrap .vc-hue{border-radius:2px}.vc-chrome-alpha-wrap .vc-alpha-picker,.vc-chrome-hue-wrap .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:12px;transform:translate(-6px,-2px);width:12px}.vc-chrome-body{background-color:#fff;padding:16px 16px 12px}.vc-chrome-saturation-wrap{border-radius:2px 2px 0 0;overflow:hidden;padding-bottom:55%;position:relative;width:100%}.vc-chrome-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-chrome-fields .vc-input__input{border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #dadada;color:#333;font-size:11px;height:21px;text-align:center;width:100%}.vc-chrome-fields .vc-input__label{color:#969696;display:block;font-size:11px;line-height:11px;margin-top:12px;text-align:center;text-transform:uppercase}.vc-chrome__disable-alpha .vc-chrome-active-color{height:18px;width:18px}.vc-chrome__disable-alpha .vc-chrome-color-wrap{width:30px}.vc-chrome__disable-alpha .vc-chrome-hue-wrap{margin-bottom:4px;margin-top:4px}"),em.render=eO,em.__file="src/components/chrome/chrome.vue",em.install=z;var ez=i(98190),eU=i(69106),eq=i(80652),eW=i(34163),eV=i(3168),eH=i(56575),e$=i(47031),eG=i(68690),eX=i(52697);(0,eU.r)(eU.w);let eK=["aria-label"],eY={key:0,class:"color-picker__simple"},eQ=["aria-label","name","checked","onClick"],eZ=["title"],eJ=["aria-label","name","checked"],e0={key:0,class:"color-picker__navigation"},e1=(0,n.pM)({__name:"NcColorPicker",props:(0,n.zz)({advancedFields:{type:Boolean},clearable:{type:Boolean},container:{default:"body"},palette:{default:()=>[]},paletteOnly:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{},open:{type:Boolean},openModifiers:{}}),emits:(0,n.zz)(["submit","closed"],["update:modelValue","update:open"]),setup(e,{emit:t}){let i=(0,n.fn)(e,"modelValue"),r=(0,n.fn)(e,"open"),a=e,s=t,o=/^#([a-f0-9]{3}|[a-f0-9]{6})$/i,l=(0,eW.c)(),u=(0,n.KR)(!1),d=(0,n.EW)(()=>{let e=a.palette;for(let t of e)if("string"==typeof t&&!t.match(o)||"object"==typeof t&&!t.color?.match(o)){eV.l.error("[NcColorPicker] Invalid palette passed",{color:t}),e=[];break}return 0===e.length&&(e=a.clearable?[...eq.d,eq.a,eq.b]:[...eq.d]),e.map(e=>({color:"object"==typeof e?e.color:e,name:"object"==typeof e&&e.name?e.name:(0,eU.a)("A color with a HEX value {hex}",{hex:"string"==typeof e?e:e.color})}))});function c(e){s("submit",i.value),e(),u.value=!1}function h(e){e="string"==typeof e?e:e.color,a.clearable&&i.value===e?i.value=void 0:i.value=e}function f(e){i.value=e.hex}function m(e){return g(e)>.5?eq.a.color:eq.b.color}function g(e){let[t,i,n]=p(e);return(.2126*t+.7152*i+.0722*n)/255}function p(e){let t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]}return(e,t)=>((0,n.uX)(),(0,n.Wv)((0,n.R1)(eG.N),{shown:r.value,"onUpdate:shown":t[3]||(t[3]=e=>r.value=e),container:e.container,popupRole:"dialog",onApplyHide:t[4]||(t[4]=e=>s("closed"))},{trigger:(0,n.k6)(t=>[(0,n.RG)(e.$slots,"default",(0,n._B)((0,n.Ng)(t)),void 0,!0)]),default:(0,n.k6)(r=>[(0,n.Lk)("div",{role:"dialog",class:(0,n.C4)(["color-picker",{"color-picker--advanced-fields":u.value&&e.advancedFields,"color-picker--clearable":e.clearable}]),"aria-modal":"true","aria-label":(0,n.R1)(eU.a)("Color picker")},[(0,n.bF)(n.eB,{name:"slide",mode:"out-in"},{default:(0,n.k6)(()=>[u.value?((0,n.uX)(),(0,n.Wv)((0,n.R1)(em),{key:1,class:"color-picker__advanced",disableAlpha:"",disableFields:!e.advancedFields,modelValue:i.value??"#000000","onUpdate:modelValue":f},null,8,["disableFields","modelValue"])):((0,n.uX)(),(0,n.CE)("div",eY,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(d.value,({color:e,name:t},r)=>((0,n.uX)(),(0,n.CE)("label",{key:r,class:(0,n.C4)(["color-picker__simple-color-circle",{"color-picker__simple-color-circle--active":e===i.value}]),style:(0,n.Tr)({backgroundColor:e,color:m(e)})},[e===i.value?((0,n.uX)(),(0,n.Wv)((0,n.R1)(e$.N),{key:0,path:(0,n.R1)(ez.d)},null,8,["path"])):(0,n.Q3)("",!0),(0,n.Lk)("input",{type:"radio",class:"hidden-visually","aria-label":t,name:`color-picker-${(0,n.R1)(l)}`,checked:e===i.value,onClick:t=>h(e)},null,8,eQ)],6))),128)),e.clearable?((0,n.uX)(),(0,n.CE)("label",{key:0,class:"color-picker__clear",title:(0,n.R1)(eU.a)("No color")},[(0,n.bF)((0,n.R1)(e$.N),{size:i.value?28:34,path:(0,n.R1)(ez.u)},null,8,["size","path"]),(0,n.Lk)("input",{type:"radio",class:"hidden-visually","aria-label":(0,n.R1)(eU.a)("No color"),name:`color-picker-${(0,n.R1)(l)}`,checked:!i.value,onClick:t[0]||(t[0]=e=>i.value=void 0)},null,8,eJ)],8,eZ)):(0,n.Q3)("",!0)]))]),_:1}),e.paletteOnly?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("div",e0,[u.value?((0,n.uX)(),(0,n.Wv)((0,n.R1)(eH.N),{key:0,"aria-label":(0,n.R1)(eU.a)("Back"),title:(0,n.R1)(eU.a)("Back"),variant:"tertiary",onClick:t[1]||(t[1]=e=>u.value=!1)},{icon:(0,n.k6)(()=>[(0,n.bF)((0,n.R1)(e$.N),{directional:"",path:(0,n.R1)(ez.v)},null,8,["path"])]),_:1},8,["aria-label","title"])):((0,n.uX)(),(0,n.Wv)((0,n.R1)(eH.N),{key:1,"aria-label":(0,n.R1)(eU.a)("More options"),title:(0,n.R1)(eU.a)("More options"),variant:"tertiary",onClick:t[2]||(t[2]=e=>u.value=!0)},{icon:(0,n.k6)(()=>[(0,n.bF)((0,n.R1)(e$.N),{path:(0,n.R1)(ez.w)},null,8,["path"])]),_:1},8,["aria-label","title"])),(0,n.bF)((0,n.R1)(eH.N),{variant:"primary",onClick:e=>c(r.hide)},{default:(0,n.k6)(()=>[(0,n.eW)((0,n.v_)((0,n.R1)(eU.a)("Choose")),1)]),_:2},1032,["onClick"])]))],10,eK)]),_:3},8,["shown","container"]))}}),e2=(0,eX._)(e1,[["__scopeId","data-v-45e1396f"]])},60520(e,t,i){"use strict";i.d(t,{N:()=>d});var n=i(8756),r=i(69106),a=i(34163),s=i(52697);(0,r.r)(r.x);let o=["for"],l=["id","type","value","min","max"],u=(0,n.pM)({...{inheritAttrs:!1},__name:"NcDateTimePickerNative",props:(0,n.zz)({class:{default:void 0},id:{default:()=>(0,a.c)()},inputClass:{default:""},type:{default:"date"},label:{default:()=>(0,r.a)("Please choose a date")},min:{default:null},max:{default:null},hideLabel:{type:Boolean}},{modelValue:{default:null},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=(0,n.fn)(e,"modelValue"),i=e,r=(0,n.EW)(()=>t.value?d(t.value):""),a=(0,n.EW)(()=>i.max?d(i.max):void 0),s=(0,n.EW)(()=>i.min?d(i.min):void 0);function u(e){let t=e.getFullYear().toString().padStart(4,"0"),i=(e.getMonth()+1).toString().padStart(2,"0"),n=e.getDate().toString().padStart(2,"0");return{yyyy:t,MM:i,dd:n,hh:e.getHours().toString().padStart(2,"0"),mm:e.getMinutes().toString().padStart(2,"0")}}function d(e){let{yyyy:t,MM:n,dd:r,hh:a,mm:s}=u(e);if("datetime-local"===i.type)return`${t}-${n}-${r}T${a}:${s}`;if("date"===i.type)return`${t}-${n}-${r}`;if("month"===i.type)return`${t}-${n}`;if("time"===i.type)return`${a}:${s}`;if("week"===i.type){let i=new Date(Number.parseInt(t),0,1),n=Math.ceil(Math.floor((e.getTime()-i.getTime())/864e5)/7);return`${t}-W${n}`}return""}function c(e){let n=e.target;if(!n||isNaN(n.valueAsNumber))t.value=null;else if("time"===i.type){let e=n.value,{yyyy:i,MM:r,dd:a}=u(t.value||new Date);t.value=new Date(`${i}-${r}-${a}T${e}`)}else if("month"===i.type){let e=(new Date(n.value).getMonth()+1).toString().padStart(2,"0"),{yyyy:i,dd:r,hh:a,mm:s}=u(t.value||new Date);t.value=new Date(`${i}-${e}-${r}T${a}:${s}`)}else{let e=1e3*new Date(n.valueAsNumber).getTimezoneOffset()*60;t.value=new Date(n.valueAsNumber+e)}}return(e,t)=>((0,n.uX)(),(0,n.CE)("div",{class:(0,n.C4)(["native-datetime-picker",e.$props.class])},[(0,n.Lk)("label",{class:(0,n.C4)(["native-datetime-picker__label",{"hidden-visually":e.hideLabel}]),for:e.id},(0,n.v_)(e.label),11,o),(0,n.Lk)("input",(0,n.v6)({id:e.id,class:["native-datetime-picker__input",e.inputClass],type:e.type,value:r.value,min:s.value,max:a.value},e.$attrs,{onInput:c}),null,16,l)],2))}}),d=(0,s._)(u,[["__scopeId","data-v-b97e1f7a"]])},2136(e,t,i){"use strict";i.d(t,{N:()=>b});var n=i(8756),r=i(83868),a=i(34163),s=i(69106),o=i(56575),l=i(47031),u=i(74363);(0,s.r)(s.f);let d=(0,n.pM)({__name:"NcDialogButton",props:{callback:{type:Function,default:()=>{}},disabled:{type:Boolean,default:!1},icon:{default:void 0},label:{},type:{default:"button"},variant:{default:"tertiary"}},emits:["click"],setup(e,{emit:t}){let i=e,r=t,a=(0,n.KR)(!1);async function d(e){if(!a.value){a.value=!0;try{let t="reset"!==i.type&&void 0,n=await i.callback?.()??t;!1!==n&&r("click",e,n)}finally{a.value=!1}}}return(e,t)=>((0,n.uX)(),(0,n.Wv)((0,n.R1)(o.N),{"aria-label":e.label,disabled:e.disabled,type:e.type,variant:e.variant,onClick:d},{icon:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"icon",{},()=>[a.value?((0,n.uX)(),(0,n.Wv)((0,n.R1)(u.N),{key:0,name:(0,n.R1)(s.a)("Loading\xa0…")},null,8,["name"])):void 0!==e.icon?((0,n.uX)(),(0,n.Wv)((0,n.R1)(l.N),{key:1,svg:e.icon},null,8,["svg"])):(0,n.Q3)("",!0)])]),default:(0,n.k6)(()=>[(0,n.eW)((0,n.v_)(e.label)+" ",1)]),_:3},8,["aria-label","disabled","type","variant"]))}});var c=i(96170),h=i(52697);let f=["id","textContent"],m=["aria-label","aria-labelledby"],g={class:"dialog__text"},p={class:"dialog__actions"},_=(0,n.pM)({__name:"NcDialog",props:(0,n.zz)({name:{},message:{default:""},additionalTrapElements:{default:()=>[]},container:{default:"body"},size:{default:"small"},buttons:{default:()=>[]},isForm:{type:Boolean},noClose:{type:Boolean},closeOnClickOutside:{type:Boolean},outTransition:{type:Boolean},navigationAriaLabel:{default:""},navigationAriaLabelledby:{default:""},contentClasses:{default:""},dialogClasses:{default:""},navigationClasses:{default:""}},{open:{type:Boolean,default:!0},openModifiers:{}}),emits:(0,n.zz)(["closing","reset","submit"],["update:open"]),setup(e,{emit:t}){let i=(0,n.fn)(e,"open"),s=e,o=t,l=(0,n.Ht)(),u=(0,n.rk)("wrapper"),{width:h}=(0,r.Lhy)(u,{width:900,height:0}),_=(0,n.EW)(()=>h.value<876),b=(0,n.EW)(()=>l?.navigation!==void 0),y=(0,a.c)(),F=(0,n.EW)(()=>s.navigationAriaLabel||void 0),k=(0,n.EW)(()=>{if(!s.navigationAriaLabel)return s.navigationAriaLabelledby||y}),w=(0,n.rk)("dialogElement"),C=(0,n.EW)(()=>s.isForm&&!b.value?"form":"div"),A=(0,n.EW)(()=>"form"!==C.value?{}:{submit(e){e.preventDefault(),o("submit",e)},reset(e){e.preventDefault(),o("reset",e)}}),E=(0,n.KR)(!0);function S(e,t){("submit"!==e.type||"form"!==C.value||!("reportValidity"in w.value)||w.value.reportValidity())&&(x(t),window.setTimeout(()=>D(),300))}function x(e){E.value=!1,o("closing",e)}function D(){E.value=!0,i.value=!1}let T=(0,n.EW)(()=>({noClose:s.noClose,container:void 0===s.container?"body":s.container,labelId:y,size:s.size,show:i.value&&E.value,outTransition:s.outTransition,closeOnClickOutside:s.closeOnClickOutside,additionalTrapElements:s.additionalTrapElements}));return(e,t)=>i.value?((0,n.uX)(),(0,n.Wv)((0,n.R1)(c.N),(0,n.v6)({key:0,class:"dialog__modal",disableSwipe:""},T.value,{onClose:D,"onUpdate:show":t[0]||(t[0]=e=>x())}),{default:(0,n.k6)(()=>[(0,n.Lk)("h2",{id:(0,n.R1)(y),class:"dialog__name",textContent:(0,n.v_)(e.name)},null,8,f),((0,n.uX)(),(0,n.Wv)((0,n.$y)(C.value),(0,n.v6)({ref:"dialogElement",class:["dialog",e.dialogClasses]},(0,n.Tb)(A.value)),{default:(0,n.k6)(()=>[(0,n.Lk)("div",{ref:"wrapper",class:(0,n.C4)(["dialog__wrapper",[{"dialog__wrapper--collapsed":_.value}]])},[b.value?((0,n.uX)(),(0,n.CE)("nav",{key:0,class:(0,n.C4)(["dialog__navigation",e.navigationClasses]),"aria-label":F.value,"aria-labelledby":k.value},[(0,n.RG)(e.$slots,"navigation",{isCollapsed:_.value},void 0,!0)],10,m)):(0,n.Q3)("",!0),(0,n.Lk)("div",{class:(0,n.C4)(["dialog__content",e.contentClasses])},[(0,n.RG)(e.$slots,"default",{},()=>[(0,n.Lk)("p",g,(0,n.v_)(e.message),1)],!0)],2)],2),(0,n.Lk)("div",p,[(0,n.RG)(e.$slots,"actions",{},()=>[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.buttons,(e,t)=>((0,n.uX)(),(0,n.Wv)((0,n.R1)(d),(0,n.v6)({key:t},{ref_for:!0},e,{onClick:(t,i)=>S(e,i)}),null,16,["onClick"]))),128))],!0)])]),_:3},16,["class"]))]),_:3},16)):(0,n.Q3)("",!0)}}),b=(0,h._)(_,[["__scopeId","data-v-24e91b99"]])},30854(e,t,i){"use strict";i.d(t,{N:()=>h});var n=i(8756),r=i(34163),a=i(52697);let s=["aria-labelledby"],o={key:0,class:"empty-content__icon","aria-hidden":"true"},l=["id"],u={key:2,class:"empty-content__description"},d={key:3,class:"empty-content__action"},c=(0,n.pM)({__name:"NcEmptyContent",props:{description:{default:""},name:{default:""}},setup(e){let t=(0,r.c)();return(e,i)=>((0,n.uX)(),(0,n.CE)("div",{"aria-labelledby":(0,n.R1)(t),class:"empty-content",role:"note"},[e.$slots.icon?((0,n.uX)(),(0,n.CE)("div",o,[(0,n.RG)(e.$slots,"icon",{},void 0,!0)])):(0,n.Q3)("",!0),""!==e.name||e.$slots.name?((0,n.uX)(),(0,n.CE)("div",{key:1,id:(0,n.R1)(t),class:"empty-content__name"},[(0,n.RG)(e.$slots,"name",{},()=>[(0,n.eW)((0,n.v_)(e.name),1)],!0)],8,l)):(0,n.Q3)("",!0),""!==e.description||e.$slots.description?((0,n.uX)(),(0,n.CE)("p",u,[(0,n.RG)(e.$slots,"description",{},()=>[(0,n.eW)((0,n.v_)(e.description),1)],!0)])):(0,n.Q3)("",!0),e.$slots.action?((0,n.uX)(),(0,n.CE)("div",d,[(0,n.RG)(e.$slots,"action",{},void 0,!0)])):(0,n.Q3)("",!0)],8,s))}}),h=(0,a._)(c,[["__scopeId","data-v-b101d636"]])},42531(e,t,i){"use strict";i.d(t,{_:()=>a,f:()=>r});var n=i(8756);function r(e,t){let i=[],n=0,r=e.toLowerCase().indexOf(t.toLowerCase(),n),a=0;for(;r>-1&&a++[]}},computed:{ranges(){let e=[];return this.search||0!==this.highlight.length?((e=this.highlight.length>0?this.highlight:r(this.text,this.search)).forEach((t,i)=>{t.end(t.start0&&e.push({start:t.start<0?0:t.start,end:t.end>this.text.length?this.text.length:t.end}),e),[])).sort((e,t)=>e.start-t.start),e=e.reduce((e,t)=>{if(e.length){let i=e.length-1;e[i].end>=t.start?e[i]={start:e[i].start,end:Math.max(e[i].end,t.end)}:e.push(t)}else e.push(t);return e},[])):e},chunks(){if(0===this.ranges.length)return[{start:0,end:this.text.length,highlight:!1,text:this.text}];let e=[],t=0,i=0;for(;t=this.ranges.length&&te.highlight?(0,n.h)("strong",{},e.text):e.text)):(0,n.h)("span",{},this.text)}})},47031(e,t,i){"use strict";i.d(t,{N:()=>c});var n=i(8756),r=i(99418),a=i(52697);let s=["aria-hidden","aria-label"],o={key:0,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},l=["d"],u=["innerHTML"],d=(0,n.pM)({__name:"NcIconSvgWrapper",props:{directional:{type:Boolean},inline:{type:Boolean},svg:{default:""},name:{default:void 0},path:{default:""},size:{default:20}},setup(e){(0,n.$9)(e=>({fb515064:i.value}));let t=e,i=(0,n.EW)(()=>"number"==typeof t.size?`${t.size}px`:t.size),a=(0,n.EW)(()=>{if(!t.svg||t.path)return;let e=r.A.sanitize(t.svg),i=new DOMParser().parseFromString(e,"image/svg+xml");return i.querySelector("parsererror")?((0,n.R8)("SVG is not valid"),""):(i.documentElement.id&&i.documentElement.removeAttribute("id"),i.documentElement.outerHTML)});return(e,t)=>((0,n.uX)(),(0,n.CE)("span",{"aria-hidden":e.name?void 0:"true","aria-label":e.name||void 0,class:(0,n.C4)(["icon-vue",{"icon-vue--directional":e.directional,"icon-vue--inline":e.inline}]),role:"img"},[a.value?((0,n.uX)(),(0,n.CE)("span",{key:1,innerHTML:a.value},null,8,u)):((0,n.uX)(),(0,n.CE)("svg",o,[(0,n.Lk)("path",{d:e.path},null,8,l)]))],10,s))}}),c=(0,a._)(d,[["__scopeId","data-v-aaedb1c3"]])},1176(e,t,i){"use strict";i.d(t,{N:()=>u});var n=i(8756),r=i(47031),a=i(52697);let s=` `,o=(0,n.pM)({__name:"NcIconToggleSwitch",props:{checked:{type:Boolean},size:{default:34},inline:{type:Boolean,default:!1}},setup(e){(0,n.$9)(e=>({"6bd152af":t.value,"16fd8ca9":i.value}));let t=(0,n.EW)(()=>e.checked?"var(--color-primary-element)":"var(--color-text-maxcontrast)"),i=(0,n.EW)(()=>e.checked?"calc(17 / 24 * 100%)":"calc(7 / 24 * 100%)");return(e,t)=>((0,n.uX)(),(0,n.Wv)(r.N,{class:(0,n.C4)(e.$style.iconToggleSwitch),svg:s,size:e.size,inline:e.inline},null,8,["class","size","inline"]))}}),l={$style:{"material-design-icon":"_material-design-icon_ZYrc5",iconToggleSwitch:"_iconToggleSwitch_WgcOx"}},u=(0,a._)(o,[["__cssModules",l]])},16824(e,t,i){"use strict";i.d(t,{N:()=>_});var n=i(8756),r=i(98190),a=i(56575),s=i(47031),o=i(34163),l=i(97172),u=i(52697);let d={class:"input-field__main-wrapper"},c=["id","aria-describedby","disabled","placeholder","type","value"],h=["for"],f={class:"input-field__icon input-field__icon--leading"},m={key:2,class:"input-field__icon input-field__icon--trailing"},g=["id"],p=(0,n.pM)({...{inheritAttrs:!1},__name:"NcInputField",props:(0,n.zz)({class:{default:""},inputClass:{default:""},id:{default:()=>(0,o.c)()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:(0,n.zz)(["trailingButtonClick"],["update:modelValue"]),setup(e,{expose:t,emit:i}){let o=(0,n.fn)(e,"modelValue"),u=e,p=i;t({focus:C,select:A});let _=(0,n.OA)(),b=(0,n.rk)("input"),y=(0,n.EW)(()=>u.showTrailingButton||u.success),F=(0,n.EW)(()=>u.placeholder?u.placeholder:u.label?l.i?u.label:"":void 0),k=(0,n.EW)(()=>{let e=u.label||u.labelOutside;return e||(0,n.R8)("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),e}),w=(0,n.EW)(()=>{let e=[];return u.helperText&&e.push(`${u.id}-helper-text`),_["aria-describedby"]&&e.push(String(_["aria-describedby"])),e.join(" ")||void 0});function C(e){b.value.focus(e)}function A(){b.value.select()}function E(e){let t=e.target;o.value="number"===u.type&&"number"==typeof o.value?parseFloat(t.value):t.value}return(e,t)=>((0,n.uX)(),(0,n.CE)("div",{class:(0,n.C4)(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!k.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":y.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":(0,n.R1)(l.i)},e.$props.class]])},[(0,n.Lk)("div",d,[(0,n.Lk)("input",(0,n.v6)(e.$attrs,{id:e.id,ref:"input","aria-describedby":w.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:F.value,type:e.type,value:o.value.toString(),onInput:E}),null,16,c),!e.labelOutside&&k.value?((0,n.uX)(),(0,n.CE)("label",{key:0,class:"input-field__label",for:e.id},(0,n.v_)(e.label),9,h)):(0,n.Q3)("",!0),(0,n.bo)((0,n.Lk)("div",f,[(0,n.RG)(e.$slots,"icon",{},void 0,!0)],512),[[n.aG,!!e.$slots.icon]]),e.showTrailingButton?((0,n.uX)(),(0,n.Wv)(a.N,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:t[0]||(t[0]=e=>p("trailingButtonClick",e))},{icon:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?((0,n.uX)(),(0,n.CE)("div",m,[e.success?((0,n.uX)(),(0,n.Wv)(s.N,{key:0,path:(0,n.R1)(r.d)},null,8,["path"])):((0,n.uX)(),(0,n.Wv)(s.N,{key:1,path:(0,n.R1)(r.j)},null,8,["path"]))])):(0,n.Q3)("",!0)]),e.helperText?((0,n.uX)(),(0,n.CE)("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?((0,n.uX)(),(0,n.Wv)(s.N,{key:0,class:"input-field__helper-text-message__icon",path:(0,n.R1)(r.d),inline:""},null,8,["path"])):e.error?((0,n.uX)(),(0,n.Wv)(s.N,{key:1,class:"input-field__helper-text-message__icon",path:(0,n.R1)(r.j),inline:""},null,8,["path"])):(0,n.Q3)("",!0),(0,n.eW)(" "+(0,n.v_)(e.helperText),1)],8,g)):(0,n.Q3)("",!0)],2))}}),_=(0,u._)(p,[["__scopeId","data-v-bfba6aa6"]])},74363(e,t,i){"use strict";i.d(t,{N:()=>c});var n=i(8756),r=i(52697);let a=["aria-label"],s=["width","height"],o=["fill"],l=["fill"],u={key:0},d=(0,n.pM)({__name:"NcLoadingIcon",props:{appearance:{default:"auto"},name:{default:""},size:{default:20}},setup(e){let t=e,i=(0,n.EW)(()=>{let e=["#777","#CCC"];return"light"===t.appearance?e:"dark"===t.appearance?e.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]});return(e,t)=>((0,n.uX)(),(0,n.CE)("span",{"aria-label":e.name,role:"img",class:"material-design-icon loading-icon"},[((0,n.uX)(),(0,n.CE)("svg",{width:e.size,height:e.size,viewBox:"0 0 24 24"},[(0,n.Lk)("path",{fill:i.value[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"},null,8,o),(0,n.Lk)("path",{fill:i.value[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"},[e.name?((0,n.uX)(),(0,n.CE)("title",u,(0,n.v_)(e.name),1)):(0,n.Q3)("",!0)],8,l)],8,s))],8,a))}}),c=(0,r._)(d,[["__scopeId","data-v-cf399190"]])},96170(e,t,i){"use strict";i.d(t,{N:()=>D});var n=i(8756),r=i(98190),a=i(6106),s=i(83868),o=i(75078),l=i(55357),u=i(56575),d=i(47031);i(53340);var c=i(68732);i(27359),i(49765),i(37396);var h=i(69106),f=i(34163),m=i(60648),g=i(53072),p=i(52697);function _(e){return e.parent?"vapor"in e||"vapor"in e.parent?((0,n.R8)("Vapor instances are not supported in useScopeIdAttrs :("),null):e.parent.subTree!==e.vnode?null:e.parent:null}function b(e){let t=[e],i=_(e);for(;i;)t.push(i),i=_(i);return t}function y(){let e=(0,n.nI)();if(!e)throw Error("useScopeId must be called within a setup context");return Object.fromEntries(b(e).map(e=>e.vnode.scopeId).filter(Boolean).map(e=>[e,""]))}(0,h.r)(h.A,h.D);let F=["aria-labelledby","aria-describedby"],k=["data-theme-light","data-theme-dark"],w=["id"],C={class:"icons-menu"},A=["title"],E=["id"],S={class:"modal-container__content"},x=(0,n.pM)({...{inheritAttrs:!1},__name:"NcModal",props:(0,n.zz)({name:{default:""},hasPrevious:{type:Boolean},hasNext:{type:Boolean},outTransition:{type:Boolean},enableSlideshow:{type:Boolean},slideshowDelay:{default:5e3},slideshowPaused:{type:Boolean},disableSwipe:{type:Boolean},spreadNavigation:{type:Boolean},size:{default:"normal"},noClose:{type:Boolean},closeOnClickOutside:{type:Boolean},dark:{type:Boolean},lightBackdrop:{type:Boolean},container:{default:"body"},closeButtonOutside:{type:Boolean},additionalTrapElements:{default:()=>[]},inlineActions:{default:0},labelId:{default:""},setReturnFocus:{default:void 0}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:(0,n.zz)(["next","previous","close","update:show"],["update:show"]),setup(e,{emit:t}){let i;(0,n.$9)(e=>({"7f724f28":R.value}));let p=(0,n.fn)(e,"show"),_=e,b=t,x=y(),D=(0,f.c)(),T=(0,n.rk)("mask");(0,n.sV)(()=>$()),(0,n.hi)(()=>G()),(0,n.wB)(()=>_.additionalTrapElements,e=>{i&&i.updateContainerElements([T.value,...e])});let{isActive:M,pause:I,resume:B}=(0,a.Rg)(O,(0,n.lW)(()=>_.slideshowDelay),{immediate:!1}),P=(0,n.KR)(0),N=(0,n.KR)(!1);(0,n.nT)(()=>{N.value&&!_.slideshowPaused?B():M.value&&I()});let R=(0,n.EW)(()=>`${_.slideshowDelay}ms`),{stop:j}=(0,s.o__)(T,{onSwipeEnd:q});function O(e){if(!_.hasNext){N.value=!1;return}e&&M.value&&W(),b("next",e)}function z(e){_.hasPrevious&&(e&&M.value&&W(),b("previous",e))}function q(e,t){_.disableSwipe||("left"===t||"right"===t)&&("left"===t!==g.i?O(e):z(e))}function W(){I(),B(),P.value++}function V(e){_.noClose||(p.value=!1,setTimeout(()=>{b("close",e)},300))}function H(e){_.closeOnClickOutside&&V(e)}async function $(){if(!p.value||i)return;await (0,n.dY)();let e={allowOutsideClick:!0,fallbackFocus:T.value,trapStack:(0,m.g)(),escapeDeactivates:!1,setReturnFocus:_.setReturnFocus};(i=(0,o.K)([T.value,..._.additionalTrapElements],e)).activate()}function G(){i&&(i?.deactivate(),i=void 0)}return(0,n.hi)(j),(0,c.C)("Escape",()=>{(0,m.g)().at(-1)===i&&V()},{allowInModal:!0}),(0,c.C)(["ArrowLeft","ArrowRight"],e=>{(!document.activeElement||T.value.contains(document.activeElement))&&("ArrowLeft"===e.key!==g.i?z():O())},{allowInModal:!0}),(0,n.sV)(()=>{_.name||_.labelId||(0,n.R8)("[NcModal] You need either set the name or set a `labelId` for accessibility.")}),(e,t)=>((0,n.uX)(),(0,n.Wv)(n.Im,{disabled:null===e.container,to:e.container},[(0,n.bF)(n.eB,{name:"fade",appear:"",onAfterEnter:$,onBeforeLeave:G},{default:(0,n.k6)(()=>[(0,n.bo)((0,n.Lk)("div",(0,n.v6)({...e.$attrs,...(0,n.R1)(x)},{ref:"mask",class:["modal-mask",{"modal-mask--opaque":e.dark||e.closeButtonOutside||e.hasPrevious||e.hasNext,"modal-mask--light":e.lightBackdrop}],role:"dialog","aria-modal":"true","aria-labelledby":e.labelId||`modal-name-${(0,n.R1)(D)}`,"aria-describedby":"modal-description-"+(0,n.R1)(D),tabindex:"-1"}),[(0,n.bF)(n.eB,{name:"fade-visibility",appear:""},{default:(0,n.k6)(()=>[(0,n.Lk)("div",{class:"modal-header","data-theme-light":e.lightBackdrop,"data-theme-dark":!e.lightBackdrop},[""!==e.name.trim()?((0,n.uX)(),(0,n.CE)("h2",{key:0,id:"modal-name-"+(0,n.R1)(D),class:"modal-header__name"},(0,n.v_)(e.name),9,w)):(0,n.Q3)("",!0),(0,n.Lk)("div",C,[e.hasNext&&e.enableSlideshow?((0,n.uX)(),(0,n.CE)("button",{key:0,class:(0,n.C4)(["play-pause-icons",{"play-pause-icons--paused":e.slideshowPaused}]),title:(0,n.R1)(M)?(0,n.R1)(h.a)("Pause slideshow"):(0,n.R1)(h.a)("Start slideshow"),type:"button",onClick:t[0]||(t[0]=e=>N.value=!N.value)},[(0,n.bF)(d.N,{class:"play-pause-icons__icon",inline:"",name:(0,n.R1)(M)?(0,n.R1)(h.a)("Pause slideshow"):(0,n.R1)(h.a)("Start slideshow"),path:(0,n.R1)(M)?(0,n.R1)(r.E):(0,n.R1)(r.F)},null,8,["name","path"]),(0,n.R1)(M)?((0,n.uX)(),(0,n.CE)("svg",{key:`${(0,n.R1)(D)}-animation-${P.value}`,class:"progress-ring",height:"50",width:"50"},[...t[1]||(t[1]=[(0,n.Lk)("circle",{class:"progress-ring__circle",stroke:"white","stroke-width":"2",fill:"transparent",r:"15",cx:"25",cy:"25"},null,-1)])])):(0,n.Q3)("",!0)],10,A)):(0,n.Q3)("",!0),(0,n.bF)(l.N,{class:"header-actions",inline:e.inlineActions},{default:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"actions",{},void 0,!0)]),_:3},8,["inline"]),!e.noClose&&e.closeButtonOutside?((0,n.uX)(),(0,n.Wv)(u.N,{key:1,"aria-label":(0,n.R1)(h.a)("Close"),class:"header-close",variant:"tertiary",onClick:V},{icon:(0,n.k6)(()=>[(0,n.bF)(d.N,{path:(0,n.R1)(r.b)},null,8,["path"])]),_:1},8,["aria-label"])):(0,n.Q3)("",!0)])],8,k)]),_:3}),(0,n.bF)(n.eB,{name:`modal-${e.outTransition?"out":"in"}`,appear:""},{default:(0,n.k6)(()=>[(0,n.bo)((0,n.Lk)("div",{class:(0,n.C4)(["modal-wrapper",[`modal-wrapper--${e.size}`,{"modal-wrapper--spread-navigation":e.spreadNavigation}]]),onMousedown:(0,n.D$)(H,["self"])},[(0,n.bF)(n.eB,{name:"fade-visibility",appear:""},{default:(0,n.k6)(()=>[(0,n.bo)((0,n.bF)(u.N,{"aria-label":(0,n.R1)(h.a)("Previous"),class:"prev",variant:"tertiary-no-background",onClick:z},{icon:(0,n.k6)(()=>[(0,n.bF)(d.N,{directional:"",path:(0,n.R1)(r.z),size:40},null,8,["path"])]),_:1},8,["aria-label"]),[[n.aG,e.hasPrevious]])]),_:1}),(0,n.Lk)("div",{id:"modal-description-"+(0,n.R1)(D),class:"modal-container"},[(0,n.Lk)("div",S,[(0,n.RG)(e.$slots,"default",{},void 0,!0)]),e.noClose||e.closeButtonOutside?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(u.N,{key:0,"aria-label":(0,n.R1)(h.a)("Close"),class:"modal-container__close",variant:"tertiary",onClick:V},{icon:(0,n.k6)(()=>[(0,n.bF)(d.N,{path:(0,n.R1)(r.b)},null,8,["path"])]),_:1},8,["aria-label"]))],8,E),(0,n.bF)(n.eB,{name:"fade-visibility",appear:""},{default:(0,n.k6)(()=>[(0,n.bo)((0,n.bF)(u.N,{"aria-label":(0,n.R1)(h.a)("Next"),class:"next",variant:"tertiary-no-background",onClick:O},{icon:(0,n.k6)(()=>[(0,n.bF)(d.N,{directional:"",path:(0,n.R1)(r.c),size:40},null,8,["path"])]),_:1},8,["aria-label"]),[[n.aG,e.hasNext]])]),_:1})],34),[[n.aG,p.value]])]),_:3},8,["name"])],16,F),[[n.aG,p.value]])]),_:3})],8,["disabled","to"]))}}),D=(0,p._)(x,[["__scopeId","data-v-67fb20ba"]])},19647(e,t,i){"use strict";i.d(t,{N:()=>g});var n=i(8756),r=i(98190),a=i(81120),s=i(87485),o=i(63814),l=i(46855),u=i(47031),d=i(16824),c=i(69106),h=i(3168),f=i(52697);(0,c.r)(c.n);let m=(0,n.pM)({__name:"NcPasswordField",props:(0,n.zz)({class:{},inputClass:{default:""},id:{},label:{},labelOutside:{type:Boolean},placeholder:{},showTrailingButton:{type:Boolean,default:!0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},checkPasswordStrength:{type:Boolean},minlength:{default:void 0},asText:{type:Boolean}},{modelValue:{default:""},modelModifiers:{},visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:(0,n.zz)(["valid","invalid"],["update:modelValue","update:visible"]),setup(e,{expose:t,emit:i}){let f=(0,n.fn)(e,"modelValue"),m=(0,n.fn)(e,"visible"),g=e,p=i;(0,n.wB)(f,(0,l.A)(C,500)),t({focus:E,select:S});let{password_policy:_}=(0,s.F)(),b=(0,n.rk)("inputField"),y=(0,n.KR)(""),F=(0,n.KR)(),k=(0,n.EW)(()=>{let e={...g};return delete e.checkPasswordStrength,delete e.minlength,delete e.asText,delete e.error,delete e.helperText,delete e.inputClass,delete e.success,e}),w=(0,n.EW)(()=>g.minlength??(g.checkPasswordStrength?_?.minLength:void 0)??void 0);async function C(){if(g.checkPasswordStrength)try{let{data:e}=await a.Ay.post((0,o.KT)("apps/password_policy/api/v1/validate"),{password:f.value});if(F.value=e.ocs.data.passed,e.ocs.data.passed){y.value=(0,c.a)("Password is secure"),p("valid");return}y.value=e.ocs.data.reason,p("invalid")}catch(e){h.l.error("Password policy returned an error",{error:e})}}function A(){m.value=!m.value}function E(e){b.value.focus(e)}function S(){b.value.select()}return(e,t)=>((0,n.uX)(),(0,n.Wv)(d.N,(0,n.v6)(k.value,{ref:"inputField",modelValue:f.value,"onUpdate:modelValue":t[0]||(t[0]=e=>f.value=e),error:e.error||!1===F.value,helperText:e.helperText||y.value,inputClass:[e.inputClass,{"password-field__input--secure-text":!m.value&&e.asText}],minlength:w.value,success:e.success||!0===F.value,trailingButtonLabel:m.value?(0,n.R1)(c.a)("Hide password"):(0,n.R1)(c.a)("Show password"),type:m.value||e.asText?"text":"password",onTrailingButtonClick:A}),(0,n.eX)({"trailing-button-icon":(0,n.k6)(()=>[(0,n.bF)(u.N,{path:m.value?(0,n.R1)(r.q):(0,n.R1)(r.r)},null,8,["path"])]),_:2},[e.$slots.icon?{name:"icon",fn:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","error","helperText","inputClass","minlength","success","trailingButtonLabel","type"]))}}),g=(0,f._)(m,[["__scopeId","data-v-00e75248"]])},68690(e,t,i){"use strict";let n,r;i.d(t,{N:()=>e9});var a=i(8756),s=i(95361),o=i(97193);function l(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function u(e){return l(e).getComputedStyle(e)}let d=Math.min,c=Math.max,h=Math.round;function f(e){let t=u(e),i=parseFloat(t.width),n=parseFloat(t.height),r=e.offsetWidth,a=e.offsetHeight,s=h(i)!==r||h(n)!==a;return s&&(i=r,n=a),{width:i,height:n,fallback:s}}function m(e){return b(e)?(e.nodeName||"").toLowerCase():""}function g(){if(n)return n;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?n=e.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function p(e){return e instanceof l(e).HTMLElement}function _(e){return e instanceof l(e).Element}function b(e){return e instanceof l(e).Node}function y(e){return!("u"i.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{let t=i.contain;return null!=t&&t.includes(e)})}function C(){return!/^((?!chrome|android).)*safari/i.test(g())}function A(e){return["html","body","#document"].includes(m(e))}function E(e){return _(e)?e:e.contextElement}let S={x:1,y:1};function x(e){let t=E(e);if(!p(t))return S;let i=t.getBoundingClientRect(),{width:n,height:r,fallback:a}=f(t),s=(a?h(i.width):i.width)/n,o=(a?h(i.height):i.height)/r;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}function D(e,t,i,n){var r,a;void 0===t&&(t=!1),void 0===i&&(i=!1);let s=e.getBoundingClientRect(),o=E(e),u=S;t&&(n?_(n)&&(u=x(n)):u=x(e));let d=o?l(o):window,c=!C()&&i,h=(s.left+(c&&(null==(r=d.visualViewport)?void 0:r.offsetLeft)||0))/u.x,f=(s.top+(c&&(null==(a=d.visualViewport)?void 0:a.offsetTop)||0))/u.y,m=s.width/u.x,g=s.height/u.y;if(o){let e=l(o),t=n&&_(n)?l(n):n,i=e.frameElement;for(;i&&n&&t!==e;){let e=x(i),t=i.getBoundingClientRect(),n=getComputedStyle(i);t.x+=(i.clientLeft+parseFloat(n.paddingLeft))*e.x,t.y+=(i.clientTop+parseFloat(n.paddingTop))*e.y,h*=e.x,f*=e.y,m*=e.x,g*=e.y,h+=t.x,f+=t.y,i=l(i).frameElement}}return{width:m,height:g,top:f,right:h+m,bottom:f+g,left:h,x:h,y:f}}function T(e){return((b(e)?e.ownerDocument:e.document)||window.document).documentElement}function M(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function I(e){return D(T(e)).left+M(e).scrollLeft}function B(e){if("html"===m(e))return e;let t=e.assignedSlot||e.parentNode||y(e)&&e.host||T(e);return y(t)?t.host:t}function P(e){let t=B(e);return A(t)?t.ownerDocument.body:p(t)&&F(t)?t:P(t)}function N(e,t){var i;void 0===t&&(t=[]);let n=P(e),r=n===(null==(i=e.ownerDocument)?void 0:i.body),a=l(n);return r?t.concat(a,a.visualViewport||[],F(n)?n:[]):t.concat(n,N(n))}function R(e,t,i){return"viewport"===t?(0,o.B1)(function(e,t){let i=l(e),n=T(e),r=i.visualViewport,a=n.clientWidth,s=n.clientHeight,o=0,u=0;if(r){a=r.width,s=r.height;let e=C();(e||!e&&"fixed"===t)&&(o=r.offsetLeft,u=r.offsetTop)}return{width:a,height:s,x:o,y:u}}(e,i)):_(t)?(0,o.B1)(function(e,t){let i=D(e,!0,"fixed"===t),n=i.top+e.clientTop,r=i.left+e.clientLeft,a=p(e)?x(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:r*a.x,y:n*a.y}}(t,i)):(0,o.B1)(function(e){let t=T(e),i=M(e),n=e.ownerDocument.body,r=c(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=c(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-i.scrollLeft+I(e),o=-i.scrollTop;return"rtl"===u(n).direction&&(s+=c(t.clientWidth,n.clientWidth)-r),{width:r,height:a,x:s,y:o}}(T(e)))}function j(e){return p(e)&&"fixed"!==u(e).position?e.offsetParent:null}function O(e){let t=l(e),i=j(e);for(;i&&k(i)&&"static"===u(i).position;)i=j(i);return i&&("html"===m(i)||"body"===m(i)&&"static"===u(i).position&&!w(i))?t:i||function(e){let t=B(e);for(;p(t)&&!A(t);){if(w(t))return t;t=B(t)}return null}(e)||t}function z(e,t,i){let n=p(t),r=T(t),a=D(e,!0,"fixed"===i,t),s={scrollLeft:0,scrollTop:0},o={x:0,y:0};if(n||!n&&"fixed"!==i)if(("body"!==m(t)||F(r))&&(s=M(t)),p(t)){let e=D(t,!0);o.x=e.x+t.clientLeft,o.y=e.y+t.clientTop}else r&&(o.x=I(r));return{x:a.left+s.scrollLeft-o.x,y:a.top+s.scrollTop-o.y,width:a.width,height:a.height}}let q={getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:n,strategy:r}=e,a=[..."clippingAncestors"===i?function(e,t){let i=t.get(e);if(i)return i;let n=N(e).filter(e=>_(e)&&"body"!==m(e)),r=null,a="fixed"===u(e).position,s=a?B(e):e;for(;_(s)&&!A(s);){let e=u(s),t=w(s);(a?t||r:t||"static"!==e.position||!r||!["absolute","fixed"].includes(r.position))?r=e:n=n.filter(e=>e!==s),s=B(s)}return t.set(e,n),n}(t,this._c):[].concat(i),n],s=a[0],o=a.reduce((e,i)=>{let n=R(t,i,r);return e.top=c(n.top,e.top),e.right=d(n.right,e.right),e.bottom=d(n.bottom,e.bottom),e.left=c(n.left,e.left),e},R(t,s,r));return{width:o.right-o.left,height:o.bottom-o.top,x:o.left,y:o.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:i,strategy:n}=e,r=p(i),a=T(i);if(i===a)return t;let s={scrollLeft:0,scrollTop:0},o={x:1,y:1},l={x:0,y:0};if((r||!r&&"fixed"!==n)&&(("body"!==m(i)||F(a))&&(s=M(i)),p(i))){let e=D(i);o=x(i),l.x=e.x+i.clientLeft,l.y=e.y+i.clientTop}return{width:t.width*o.x,height:t.height*o.y,x:t.x*o.x-s.scrollLeft*o.x+l.x,y:t.y*o.y-s.scrollTop*o.y+l.y}},isElement:_,getDimensions:function(e){return p(e)?f(e):e.getBoundingClientRect()},getOffsetParent:O,getDocumentElement:T,getScale:x,async getElementRects(e){let{reference:t,floating:i,strategy:n}=e,r=this.getOffsetParent||O,a=this.getDimensions;return{reference:z(t,await r(i),n),floating:{x:0,y:0,...await a(i)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===u(e).direction},W=(e,t,i)=>{let n=new Map,r={platform:q,...i},a={...r.platform,_c:n};return(0,s.rD)(e,t,{...r,platform:a})},V={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function H(e,t){let i=V.themes[e]||{},n;do typeof(n=i[t])>"u"?i.$extend?i=V.themes[i.$extend]||{}:(i=null,n=V[t]):i=null;while(i);return n}function $(e){let t=[e],i=V.themes[e]||{};do i.$extend&&!i.$resetCss?(t.push(i.$extend),i=V.themes[i.$extend]||{}):i=null;while(i);return t.map(e=>`v-popper--theme-${e}`)}function G(e){let t=[e],i=V.themes[e]||{};do i.$extend?(t.push(i.$extend),i=V.themes[i.$extend]||{}):i=null;while(i);return t}let X=!1;if("u">typeof window){X=!1;try{let e=Object.defineProperty({},"passive",{get(){X=!0}});window.addEventListener("test",null,e)}catch{}}let K=!1;"u">typeof window&&"u">typeof navigator&&(K=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);let Y=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Q={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Z={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function J(e,t){let i=e.indexOf(t);-1!==i&&e.splice(i,1)}function ee(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}let et=[],ei=null,en={};function er(e){let t=en[e];return t||(t=en[e]=[]),t}let ea=function(){};function es(e){return function(t){return H(t.theme,e)}}"u">typeof window&&(ea=window.Element);let eo="__floating-vue__popper",el=()=>(0,a.pM)({name:"VPopper",provide(){return{[eo]:{parentPopper:this}}},inject:{[eo]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:es("disabled")},positioningDisabled:{type:Boolean,default:es("positioningDisabled")},placement:{type:String,default:es("placement"),validator:e=>Y.includes(e)},delay:{type:[String,Number,Object],default:es("delay")},distance:{type:[Number,String],default:es("distance")},skidding:{type:[Number,String],default:es("skidding")},triggers:{type:Array,default:es("triggers")},showTriggers:{type:[Array,Function],default:es("showTriggers")},hideTriggers:{type:[Array,Function],default:es("hideTriggers")},popperTriggers:{type:Array,default:es("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:es("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:es("popperHideTriggers")},container:{type:[String,Object,ea,Boolean],default:es("container")},boundary:{type:[String,ea],default:es("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:es("strategy")},autoHide:{type:[Boolean,Function],default:es("autoHide")},handleResize:{type:Boolean,default:es("handleResize")},instantMove:{type:Boolean,default:es("instantMove")},eagerMount:{type:Boolean,default:es("eagerMount")},popperClass:{type:[String,Array,Object],default:es("popperClass")},computeTransformOrigin:{type:Boolean,default:es("computeTransformOrigin")},autoMinSize:{type:Boolean,default:es("autoMinSize")},autoSize:{type:[Boolean,String],default:es("autoSize")},autoMaxSize:{type:Boolean,default:es("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:es("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:es("preventOverflow")},overflowPadding:{type:[Number,String],default:es("overflowPadding")},arrowPadding:{type:[Number,String],default:es("arrowPadding")},arrowOverflow:{type:Boolean,default:es("arrowOverflow")},flip:{type:Boolean,default:es("flip")},shift:{type:Boolean,default:es("shift")},shiftCrossAxis:{type:Boolean,default:es("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:es("noAutoFocus")},disposeTimeout:{type:Number,default:es("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return null!=this.ariaId?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:"function"==typeof this.autoHide?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return null==(e=this[eo])?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return(null==(e=this.popperTriggers)?void 0:e.includes("hover"))||(null==(t=this.popperShowTriggers)?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:i=!1}={}){var n,r;null!=(n=this.parentPopper)&&n.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(i||!this.disabled)&&((null==(r=this.parentPopper)?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var i;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}(null==(i=this.parentPopper)?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(null==(e=this.referenceNode)?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;let e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push((0,s.cY)({mainAxis:this.distance,crossAxis:this.skidding}));let t=this.placement.startsWith("auto");if(t?e.middleware.push((0,s.RK)({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push((0,s.BN)({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push((0,s.UU)({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push((0,s.UE)({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:e,rects:t,middlewareData:i})=>{let n,{centerOffset:r}=i.arrow;return{data:{overflow:n=e.startsWith("top")||e.startsWith("bottom")?Math.abs(r)>t.reference.width/2:Math.abs(r)>t.reference.height/2}}}}),this.autoMinSize||this.autoSize){let t=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:e,placement:i,middlewareData:n})=>{var r;let a,s;return null!=(r=n.autoSize)&&r.skip?{}:(i.startsWith("top")||i.startsWith("bottom")?a=e.reference.width:s=e.reference.height,this.$_innerNode.style["min"===t?"minWidth":"max"===t?"maxWidth":"width"]=null!=a?`${a}px`:null,this.$_innerNode.style["min"===t?"minHeight":"max"===t?"maxHeight":"height"]=null!=s?`${s}px`:null,{data:{skip:!0},reset:{rects:!0}})}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push((0,s.Ej)({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:e,availableHeight:t})=>{this.$_innerNode.style.maxWidth=null!=e?`${e}px`:null,this.$_innerNode.style.maxHeight=null!=t?`${t}px`:null}})));let i=await W(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:{...i.middlewareData.arrow,...i.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),ei&&this.instantMove&&ei.instantMove&&ei!==this.parentPopper){ei.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(ei=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){let t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ee(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...N(this.$_referenceNode),...N(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){let e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(".v-popper__wrapper"),i=t.parentNode.getBoundingClientRect(),n=e.x+e.width/2-(i.left+t.offsetLeft),r=e.y+e.height/2-(i.top+t.offsetTop);this.result.transformOrigin=`${n}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});let e=this.showGroup;if(e){let t;for(let i=0;i0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;for(let t of(this.skipTransition=e,J(et,this),0===et.length&&document.body.classList.remove("v-popper--some-open"),G(this.theme))){let e=er(t);J(e,this),0===e.length&&document.body.classList.remove(`v-popper--some-open--${t}`)}ei===this&&(ei=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);let t=this.disposeTimeout;null!==t&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ee(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if("string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=this.$_targetNodes[0].parentNode),!e)throw Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){let e=e=>{this.isShown&&!this.$_hideInProgress||(e.usedByTooltip=!0,this.$_preventShow||this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,Q,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Q,this.popperTriggers,this.popperShowTriggers,e);let t=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,Z,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Z,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,i){this.$_events.push({targetNodes:e,eventType:t,handler:i}),e.forEach(e=>e.addEventListener(t,i,X?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,i,n,r){let a=i;null!=n&&(a="function"==typeof n?n(a):n),a.forEach(i=>{let n=t[i];n&&this.$_registerEventListeners(e,n,r)})},$_removeEventListeners(e){let t=[];this.$_events.forEach(i=>{let{targetNodes:n,eventType:r,handler:a}=i;e&&e!==r?t.push(i):n.forEach(e=>e.removeEventListener(r,a))}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(let i of this.$_targetNodes){let n=i.getAttribute(e);n&&(i.removeAttribute(e),i.setAttribute(t,n))}},$_applyAttrsToTarget(e){for(let t of this.$_targetNodes)for(let i in e){let n=e[i];null==n?t.removeAttribute(i):t.setAttribute(i,n)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){let e=this.$_referenceNode.getBoundingClientRect();if(e_>=e.left&&e_<=e.right&&ev>=e.top&&ev<=e.bottom){let e=this.$_popperNode.getBoundingClientRect(),t=e_-eg,i=ev-ep,n=e.left+e.width/2-eg+(e.top+e.height/2)-ep+e.width+e.height,r=eg+t*n,a=ep+i*n;return eb(eg,ep,r,a,e.left,e.top,e.left,e.bottom)||eb(eg,ep,r,a,e.left,e.top,e.right,e.top)||eb(eg,ep,r,a,e.right,e.top,e.right,e.bottom)||eb(eg,ep,r,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if("u">typeof document&&"u">typeof window){if(K){let e=!X||{passive:!0,capture:!0};document.addEventListener("touchstart",e=>eu(e,!0),e),document.addEventListener("touchend",e=>ed(e,!0),e)}else window.addEventListener("mousedown",e=>eu(e,!1),!0),window.addEventListener("click",e=>ed(e,!1),!0);window.addEventListener("resize",em)}function eu(e,t){if(V.autoHideOnMousedown)ec(e,t);else for(let t=0;t=0;n--){let r=et[n];try{let n=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!i[r.randomId]&&eh(r,n,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&n){let e=r.parentPopper;for(;e;)i[e.randomId]=!0,e=e.parentPopper;return}let a=r.parentPopper;for(;a&&eh(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function eh(e,t,i){return i.closeAllPopover||i.closePopover&&t||ef(e,i)&&!t}function ef(e,t){if("function"==typeof e.autoHide){let i=e.autoHide(t);return e.lastAutoHide=i,i}return e.autoHide}function em(){for(let e=0;e=0&&l<=1&&u>=0&&u<=1}"u">typeof window&&window.addEventListener("mousemove",e=>{eg=e_,ep=ev,e_=e.clientX,ev=e.clientY},X?{passive:!0}:void 0);let ey={extends:el()},eF=(e,t)=>{let i=e.__vccOpts||e;for(let[e,n]of t)i[e]=n;return i},ek=eF(ey,[["render",function(e,t,i,n,r,s){return(0,a.uX)(),(0,a.CE)("div",{ref:"reference",class:(0,a.C4)(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[(0,a.RG)(e.$slots,"default",(0,a._B)((0,a.Ng)(e.slotData)))],2)}]]);function ew(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}function eC(){eC.init||(eC.init=!0,r=-1!==ew())}var eA={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){eC(),(0,a.dY)(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});let e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",r&&this.$el.appendChild(e),e.data="about:blank",r||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(this.ignoreWidth||this._w===this.$el.offsetWidth)&&(this.ignoreHeight||this._h===this.$el.offsetHeight)||(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!r&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};let eE=(0,a.YY)("data-v-b329ee4c");(0,a.Qi)("data-v-b329ee4c");let eS={class:"resize-observer",tabindex:"-1"};(0,a.jt)(),eA.render=eE((e,t,i,n,r,s)=>((0,a.uX)(),(0,a.Wv)("div",eS))),eA.__scopeId="data-v-b329ee4c",eA.__file="src/components/ResizeObserver.vue";let ex=(e="theme")=>({computed:{themeClass(){return $(this[e])}}}),eD=(0,a.pM)({name:"VPopperContent",components:{ResizeObserver:eA},mixins:[ex()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx:e=>null==e||isNaN(e)?null:`${e}px`}}),eT=["id","aria-hidden","tabindex","data-popper-placement"],eM={ref:"inner",class:"v-popper__inner"},eI=[(0,a.Lk)("div",{class:"v-popper__arrow-outer"},null,-1),(0,a.Lk)("div",{class:"v-popper__arrow-inner"},null,-1)],eB=eF(eD,[["render",function(e,t,i,n,r,s){let o=(0,a.g2)("ResizeObserver");return(0,a.uX)(),(0,a.CE)("div",{id:e.popperId,ref:"popover",class:(0,a.C4)(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:(0,a.Tr)(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=(0,a.jR)(t=>e.autoHide&&e.$emit("hide"),["esc"]))},[(0,a.Lk)("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=t=>e.autoHide&&e.$emit("hide"))}),(0,a.Lk)("div",{class:"v-popper__wrapper",style:(0,a.Tr)(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[(0,a.Lk)("div",eM,[e.mounted?((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[(0,a.Lk)("div",null,[(0,a.RG)(e.$slots,"default")]),e.handleResize?((0,a.uX)(),(0,a.Wv)(o,{key:0,onNotify:t[1]||(t[1]=t=>e.$emit("resize",t))})):(0,a.Q3)("",!0)],64)):(0,a.Q3)("",!0)],512),(0,a.Lk)("div",{ref:"arrow",class:"v-popper__arrow-container",style:(0,a.Tr)(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},eI,4)],4)],46,eT)}]]),eP={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},eL=function(){};function eN(e,t,i,n,r,s){let o=(0,a.g2)("PopperContent"),l=(0,a.g2)("Popper");return(0,a.uX)(),(0,a.Wv)(l,(0,a.v6)({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=t=>e.$emit("update:shown",t)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:(0,a.k6)(({popperId:t,isShown:i,shouldMountContent:n,skipTransition:r,autoHide:s,show:l,hide:u,handleResize:d,onResize:c,classes:h,result:f})=>[(0,a.RG)(e.$slots,"default",{shown:i,show:l,hide:u}),(0,a.bF)(o,{ref:"popperContent","popper-id":t,theme:e.finalTheme,shown:i,mounted:n,"skip-transition":r,"auto-hide":s,"handle-resize":d,classes:h,result:f,onHide:u,onResize:c},{default:(0,a.k6)(()=>[(0,a.RG)(e.$slots,"popper",{shown:i,hide:u})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}"u">typeof window&&(eL=window.Element);let eR=eF((0,a.pM)({name:"VPopperWrapper",components:{Popper:ek,PopperContent:eB},mixins:[eP,ex("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,eL,Boolean],default:void 0},boundary:{type:[String,eL],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}}),[["render",eN]]),ej={...eR,name:"VDropdown",vPopperTheme:"dropdown"},eO=((0,a.pM)({name:"VTooltipDirective",components:{Popper:el(),PopperContent:eB},mixins:[eP],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>H(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>H(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data:()=>({asyncContent:null}),computed:{isContentAsync(){return"function"==typeof this.content},loading(){return this.isContentAsync&&null==this.asyncContent},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if("function"==typeof this.content&&this.$_isShown&&(e||!this.$_loading&&null==this.asyncContent)){this.asyncContent=null,this.$_loading=!0;let e=++this.$_fetchId,t=this.content(this);t.then?t.then(t=>this.onResult(e,t)):this.onResult(e,t)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),null),ez="v-popper--has-tooltip";function eU(e,t){let i=e.placement;if(!i&&t)for(let e of Y)t[e]&&(i=e);return i||(i=H(e.theme||"tooltip","placement")),i}function eq(e,t,i){let n,r=typeof t;return(n="string"===r?{content:t}:t&&"object"===r?t:{content:!1}).placement=eU(n,i),n.targetNodes=()=>[e],n.referenceNode=()=>e,n}let eW,eV,eH=0;function e$(){if(eW)return;eV=U([]),eW=Ge({name:"VTooltipDirectiveApp",setup:()=>({directives:eV}),render(){return this.directives.map(e=>qe(eO,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});let e=document.createElement("div");document.body.appendChild(e),eW.mount(e)}function eG(e){let t=e.currentTarget;if(t.$_vclosepopover_touch=!1,1===e.changedTouches.length){let i=e.changedTouches[0],n=t.$_vclosepopover_touchPoint;e.closePopover=20>Math.abs(i.screenY-n.screenY)&&20>Math.abs(i.screenX-n.screenX),e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function eX(e){e.currentTarget.$_vclosepopover_touch=!1}let eK=V,eY=ej;var eQ=i(75078),eZ=i(60648),eJ=i(3168),e0=i(53072),e1=i(52697);let e2=(0,a.pM)({name:"NcPopoverTriggerProvider",provide(){return{"NcPopover:trigger:shown":()=>this.shown,"NcPopover:trigger:attrs":()=>this.triggerAttrs}},props:{shown:{type:Boolean,required:!0},popupRole:{type:String,default:void 0}},computed:{triggerAttrs(){return{"aria-haspopup":this.popupRole,"aria-expanded":this.shown.toString()}}},render(){return this.$slots.default?.({attrs:this.triggerAttrs})}}),e3={"material-design-icon":"_material-design-icon_FKPyJ",ncPopover:"_ncPopover_HjJ88"},e4="nc-popover-9";eK.themes[e4]=structuredClone(eK.themes.dropdown);let e6={name:"NcPopover",components:{Dropdown:eY,NcPopoverTriggerProvider:e2},props:{boundary:{type:[String,Object],default:""},closeOnClickOutside:{type:Boolean,default:!0},noCloseOnClickOutside:{type:Boolean,default:!1},container:{type:[Boolean,String],default:"body"},delay:{type:[Number,Object],default:0},noFocusTrap:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},popoverBaseClass:{type:String,default:""},popoverTriggers:{type:[Array,Object],default:null},popupRole:{type:String,default:void 0,validator:e=>["menu","listbox","tree","grid","dialog","true"].includes(e)},setReturnFocus:{default:void 0,type:[Boolean,HTMLElement,SVGElement,String,Function]},shown:{type:Boolean,default:!1},triggers:{type:[Array,Object],default:()=>["click"]}},emits:["afterShow","afterHide","update:shown"],setup:()=>({theme:e4}),data(){return{internalShown:this.shown}},computed:{popperTriggers(){if(this.popoverTriggers&&Array.isArray(this.popoverTriggers))return this.popoverTriggers},popperHideTriggers(){if(this.popoverTriggers&&"object"==typeof this.popoverTriggers)return this.popoverTriggers.hide},popperShowTriggers(){if(this.popoverTriggers&&"object"==typeof this.popoverTriggers)return this.popoverTriggers.show},internalTriggers(){if(this.triggers&&Array.isArray(this.triggers))return this.triggers},hideTriggers(){if(this.triggers&&"object"==typeof this.triggers)return this.triggers.hide},showTriggers(){if(this.triggers&&"object"==typeof this.triggers)return this.triggers.show},internalPlacement(){return"start"===this.placement?e0.i?"right":"left":"end"===this.placement?e0.i?"left":"right":this.placement}},watch:{shown(e){this.internalShown=e},internalShown(e){this.$emit("update:shown",e)}},mounted(){this.checkTriggerA11y()},beforeUnmount(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{checkTriggerA11y(){window.OC?.debug&&(this.getPopoverTriggerContainerElement().querySelector("[aria-expanded]")||(0,a.R8)("It looks like you are using a custom button as a or other popover #trigger. If you are not using as a trigger, you need to bind attrs from the #trigger slot props to your custom button. See docs for an example."))},removeFloatingVueAriaDescribedBy(){for(let e of this.getPopoverTriggerContainerElement().querySelectorAll("[data-popper-shown]"))e.removeAttribute("aria-describedby")},getPopoverContentElement(){return this.$refs.popover?.$refs.popperContent?.$el},getPopoverTriggerContainerElement(){return this.$refs.popover?.$refs.popper?.$refs.reference},async useFocusTrap(){if(await this.$nextTick(),this.noFocusTrap)return;let e=this.getPopoverContentElement();e.tabIndex=-1,e&&(this.$focusTrap=(0,eQ.K)(e,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus,trapStack:(0,eZ.g)(),fallBackFocus:e}),this.$focusTrap.activate())},clearFocusTrap(e={}){try{this.$focusTrap?.deactivate(e),this.$focusTrap=null}catch(e){eJ.l.warn("[NcPopover] Failed to clear focus trap",{error:e})}},addEscapeStopPropagation(){let e=this.getPopoverContentElement();e?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){let e=this.getPopoverContentElement();e?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(e){"keydown"===e.type&&"Escape"===e.key&&e.stopPropagation()},async afterShow(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("afterShow")},{once:!0,passive:!0}),this.removeFloatingVueAriaDescribedBy(),await this.$nextTick(),await this.useFocusTrap(),this.addEscapeStopPropagation()},afterHide(){this.getPopoverContentElement()?.addEventListener("transitionend",()=>{this.$emit("afterHide")},{once:!0,passive:!0}),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};function e5(e,t,i,n,r,s){let o=(0,a.g2)("NcPopoverTriggerProvider"),l=(0,a.g2)("Dropdown");return(0,a.uX)(),(0,a.Wv)(l,{ref:"popover",shown:r.internalShown,"onUpdate:shown":[t[0]||(t[0]=e=>r.internalShown=e),t[1]||(t[1]=e=>r.internalShown=e)],arrowPadding:10,autoHide:!i.noCloseOnClickOutside&&i.closeOnClickOutside,boundary:i.boundary||void 0,container:i.container,delay:i.delay,distance:10,handleResize:"",noAutoFocus:!0,placement:s.internalPlacement,popperClass:[e.$style.ncPopover,i.popoverBaseClass],popperTriggers:s.popperTriggers,popperHideTriggers:s.popperHideTriggers,popperShowTriggers:s.popperShowTriggers,theme:n.theme,triggers:s.internalTriggers,hideTriggers:s.hideTriggers,showTriggers:s.showTriggers,onApplyShow:s.afterShow,onApplyHide:s.afterHide},{popper:(0,a.k6)(t=>[(0,a.RG)(e.$slots,"default",(0,a._B)((0,a.Ng)(t)))]),default:(0,a.k6)(()=>[(0,a.bF)(o,{shown:r.internalShown,popupRole:i.popupRole},{default:(0,a.k6)(t=>[(0,a.RG)(e.$slots,"trigger",(0,a._B)((0,a.Ng)(t)))]),_:3},8,["shown","popupRole"])]),_:3},8,["shown","autoHide","boundary","container","delay","placement","popperClass","popperTriggers","popperHideTriggers","popperShowTriggers","theme","triggers","hideTriggers","showTriggers","onApplyShow","onApplyHide"])}let e8={$style:e3},e9=(0,e1._)(e6,[["render",e5],["__cssModules",e8]])},18421(e,t,i){"use strict";i.d(t,{N:()=>to});var n=i(97193),r=i(95361);function a(){return"u">typeof window}function s(e){return u(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function l(e){var t;return null==(t=(u(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function u(e){return!!a()&&(e instanceof Node||e instanceof o(e).Node)}function d(e){return!!a()&&(e instanceof Element||e instanceof o(e).Element)}function c(e){return!!a()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function h(e){return!(!a()||"u"{try{return e.matches(t)}catch(e){return!1}})}let y=["transform","translate","scale","rotate","perspective"],F=["transform","translate","scale","rotate","perspective","filter"],k=["paint","layout","strict","content"];function w(e){let t=A(),i=d(e)?x(e):e;return y.some(e=>!!i[e]&&"none"!==i[e])||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||F.some(e=>(i.willChange||"").includes(e))||k.some(e=>(i.contain||"").includes(e))}function C(e){let t=T(e);for(;c(t)&&!S(t);){if(w(t))return t;if(b(t))break;t=T(t)}return null}function A(){return!("u"d(e)&&"body"!==s(e)),r=null,a="fixed"===x(e).position,o=a?T(e):e;for(;d(o)&&!S(o);){let t=x(o),i=w(o);i||"fixed"!==t.position||(r=null),(a?!i&&!r:!i&&"static"===t.position&&!!r&&Y.has(r.position)||m(o)&&!i&&J(e,o))?n=n.filter(e=>e!==o):r=t,o=T(o)}return t.set(e,n),n}function et(e,t,i){let r=c(t),a=l(t),o="fixed"===i,u=q(e,!0,o,t),d={scrollLeft:0,scrollTop:0},h=(0,n.Jx)(0);function f(){h.x=W(a)}if(r||!r&&!o)if(("body"!==s(t)||m(a))&&(d=D(t)),r){let e=q(t,!0,o,t);h.x=e.x+t.clientLeft,h.y=e.y+t.clientTop}else a&&f();o&&!r&&a&&f();let g=!a||r||o?(0,n.Jx)(0):V(a,d);return{x:u.left+d.scrollLeft-h.x-g.x,y:u.top+d.scrollTop-h.y-g.y,width:u.width,height:u.height}}function ei(e){return"static"===x(e).position}function en(e,t){if(!c(e)||"fixed"===x(e).position)return null;if(t)return t(e);let i=e.offsetParent;return l(e)===i&&(i=i.ownerDocument.body),i}function er(e,t){let i=o(e);if(b(e))return i;if(!c(e)){let t=T(e);for(;t&&!S(t);){if(d(t)&&!ei(t))return t;t=T(t)}return i}let n=en(e,t);for(;n&&p(n)&&ei(n);)n=en(n,t);return n&&S(n)&&ei(n)&&!w(n)?i:n||C(e)||i}let ea=async function(e){let t=this.getOffsetParent||er,i=this.getDimensions,n=await i(e.floating);return{reference:et(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},es={convertOffsetParentRelativeRectToViewportRelativeRect:H,getDocumentElement:l,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:r,strategy:a}=e,s=[..."clippingAncestors"===i?b(t)?[]:ee(t,this._c):[].concat(i),r],o=s[0],l=s.reduce((e,i)=>{let r=Z(t,i,a);return e.top=(0,n.T9)(r.top,e.top),e.right=(0,n.jk)(r.right,e.right),e.bottom=(0,n.jk)(r.bottom,e.bottom),e.left=(0,n.T9)(r.left,e.left),e},Z(t,o,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:er,getElementRects:ea,getClientRects:$,getDimensions:function(e){let{width:t,height:i}=P(e);return{width:t,height:i}},getScale:R,isElement:d,isRTL:function(e){return"rtl"===x(e).direction}};function eo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function el(e,t){let i,r=null,a=l(e);function s(){var e;clearTimeout(i),null==(e=r)||e.disconnect(),r=null}function o(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),s();let d=e.getBoundingClientRect(),{left:c,top:h,width:f,height:m}=d;if(l||t(),!f||!m)return;let g={rootMargin:-(0,n.RI)(h)+"px "+-(0,n.RI)(a.clientWidth-(c+f))+"px "+-(0,n.RI)(a.clientHeight-(h+m))+"px "+-(0,n.RI)(c)+"px",threshold:(0,n.T9)(0,(0,n.jk)(1,u))||1},p=!0;function _(t){let n=t[0].intersectionRatio;if(n!==u){if(!p)return o();n?o(!1,n):i=setTimeout(()=>{o(!1,1e-7)},1e3)}1!==n||eo(d,e.getBoundingClientRect())||o(),p=!1}try{r=new IntersectionObserver(_,{...g,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(_,g)}r.observe(e)}return o(!0),s}function eu(e,t,i,n){let r;void 0===n&&(n={});let{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:o="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,d=N(e),c=a||s?[...d?I(d):[],...I(t)]:[];c.forEach(e=>{a&&e.addEventListener("scroll",i,{passive:!0}),s&&e.addEventListener("resize",i)});let h=d&&l?el(d,i):null,f=-1,m=null;o&&(m=new ResizeObserver(e=>{let[n]=e;n&&n.target===d&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),i()}),d&&!u&&m.observe(d),m.observe(t));let g=u?q(e):null;function p(){let t=q(e);g&&!eo(g,t)&&i(),g=t,r=requestAnimationFrame(p)}return u&&p(),i(),()=>{var e;c.forEach(e=>{a&&e.removeEventListener("scroll",i),s&&e.removeEventListener("resize",i)}),null==h||h(),null==(e=m)||e.disconnect(),m=null,u&&cancelAnimationFrame(r)}}let ed=r.cY,ec=r.BN,eh=r.UU,ef=r.ER,em=(e,t,i)=>{let n=new Map,a={platform:es,...i},s={...a.platform,_c:n};return(0,r.rD)(e,t,{...a,platform:s})};var eg=i(8756),ep=Object.defineProperty,e_=Object.defineProperties,ev=Object.getOwnPropertyDescriptors,eb=Object.getOwnPropertySymbols,ey=Object.prototype.hasOwnProperty,eF=Object.prototype.propertyIsEnumerable,ek=(e,t,i)=>t in e?ep(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ew=(e,t)=>{for(var i in t||(t={}))ey.call(t,i)&&ek(e,i,t[i]);if(eb)for(var i of eb(t))eF.call(t,i)&&ek(e,i,t[i]);return e},eC=(e,t)=>e_(e,ev(t));let eA={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(e){this.autoscroll&&e&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var e;let t=(null==(e=this.$refs.dropdownMenu)?void 0:e.children[this.typeAheadPointer])||!1;if(t){let e=this.getDropdownViewport(),{top:i,bottom:n,height:r}=t.getBoundingClientRect();if(ie.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(e.height-r)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},eE={data:()=>({typeAheadPointer:-1}),watch:{filteredOptions(){for(let e=0;e=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown(){for(let e=this.typeAheadPointer+1;e({mutableLoading:!1}),watch:{search(){this.$emit("search",this.search,this.toggleLoading)},loading(e){this.mutableLoading=e}},methods:{toggleLoading(e=null){return null==e?this.mutableLoading=!this.mutableLoading:this.mutableLoading=e}}},ex=(e,t)=>{let i=e.__vccOpts||e;for(let[e,n]of t)i[e]=n;return i},eD={},eT={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},eM=[(0,eg.Lk)("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1)],eI=ex(eD,[["render",function(e,t){return(0,eg.uX)(),(0,eg.CE)("svg",eT,eM)}]]),eB={},eP={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},eL=[(0,eg.Lk)("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1)],eN={Deselect:eI,OpenIndicator:ex(eB,[["render",function(e,t){return(0,eg.uX)(),(0,eg.CE)("svg",eP,eL)}]])},eR={mounted(e,{instance:t}){if(t.appendToBody){let{height:i,top:n,left:r,width:a}=t.$refs.toggle.getBoundingClientRect(),s=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;e.unbindPosition=t.calculatePosition(e,t,{width:a+"px",left:s+r+"px",top:o+n+i+"px"}),document.body.appendChild(e)}},unmounted(e,{instance:t}){t.appendToBody&&(e.unbindPosition&&"function"==typeof e.unbindPosition&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}};function ej(e){let t={};return Object.keys(e).sort().forEach(i=>{t[i]=e[i]}),JSON.stringify(t)}let eO=0;function ez(){return++eO}let eU={components:ew({},eN),directives:{appendToBody:eR},mixins:[eA,eE,eS],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:e=>e},selectable:{type:Function,default:e=>!0},getOptionLabel:{type:Function,default(e){return"object"==typeof e?e.hasOwnProperty(this.label)?e[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}. https://vue-select.org/api/props.html#getoptionlabel`):e}},getOptionKey:{type:Function,default(e){if("object"!=typeof e)return e;try{return e.hasOwnProperty("id")?e.id:ej(e)}catch(t){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option. https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:(e,t,i)=>(t||"").toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>-1},filter:{type:Function,default(e,t){return e.filter(e=>{let i=this.getOptionLabel(e);return"number"==typeof i&&(i=i.toString()),this.filterBy(e,i,t)})}},createOption:{type:Function,default(e){return"object"==typeof this.optionList[0]?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>["function","boolean"].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:i,top:n,left:r}){e.style.top=n,e.style.left=r,e.style.width=i}},dropdownShouldOpen:{type:Function,default:({noDrop:e,open:t,mutableLoading:i})=>!e&&t&&!i},uid:{type:[String,Number],default:()=>ez()}},data:()=>({search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}),computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return void 0===this.modelValue||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),null!=e&&""!==e?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){let e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:ew({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:e=>this.search=e.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:eC(ew({},e),{deselect:this.deselect}),footer:eC(ew({},e),{deselect:this.deselect})}},childComponents(){return ew(ew({},eN),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){let e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;let t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){let e=this.createOption(this.search);this.optionExists(e)||t.unshift(e)}return t},isValueEmpty(){return 0===this.selectedValue.length},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){let i=()=>"function"==typeof this.resetOnOptionsChange?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&i()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(e=>this.findOptionFromReducedValue(e)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit("option:selecting",e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit("option:created",e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect(e){this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit("option:deselected",e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(e){void 0===this.modelValue&&(this.$data._value=e),null!==e&&(e=Array.isArray(e)?e.map(e=>this.reduce(e)):this.reduce(e)),this.$emit("update:modelValue",e)},toggleDropdown(e){let t=e.target!==this.searchEl;t&&e.preventDefault();let i=[...this.deselectButtons||[],this.$refs.clearButton];void 0===this.searchEl||i.filter(Boolean).some(t=>t.contains(e.target)||t===e.target)?e.preventDefault():this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){let t=t=>JSON.stringify(this.reduce(t))===JSON.stringify(e),i=[...this.options,...this.pushedTags].filter(t);return 1===i.length?i[0]:i.find(e=>this.optionComparator(e,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return"object"==typeof e?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{let{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(0===this.search.length&&0===this.options.length)return void this.closeSearchOptions()},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){let t=e=>(e.preventDefault(),!this.isComposing&&this.typeAheadSelect()),i={8:e=>this.maybeDeleteValue(),9:e=>this.onTab(),27:e=>this.onEscape(),38:e=>(e.preventDefault(),this.typeAheadUp()),40:e=>(e.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(e=>i[e]=t);let n=this.mapKeydown(i,this);if("function"==typeof n[e.keyCode])return n[e.keyCode](e)}}},eq=["dir"],eW=["id","aria-expanded","aria-owns"],eV={ref:"selectedOptions",class:"vs__selected-options"},eH=["disabled","title","aria-label","onClick"],e$={ref:"actions",class:"vs__actions"},eG=["disabled"],eX={class:"vs__spinner"},eK=["id"],eY=["id","aria-selected","onMouseover","onClick"],eQ={key:0,class:"vs__no-options"},eZ=(0,eg.eW)(" Sorry, no matching options. "),eJ=["id"],e0=ex(eU,[["render",function(e,t,i,n,r,a){let s=(0,eg.gN)("append-to-body");return(0,eg.uX)(),(0,eg.CE)("div",{dir:i.dir,class:(0,eg.C4)(["v-select",a.stateClasses])},[(0,eg.RG)(e.$slots,"header",(0,eg._B)((0,eg.Ng)(a.scope.header))),(0,eg.Lk)("div",{id:`vs${i.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":a.dropdownOpen.toString(),"aria-owns":`vs${i.uid}__listbox`,"aria-label":"Search for option",onMousedown:t[1]||(t[1]=e=>a.toggleDropdown(e))},[(0,eg.Lk)("div",eV,[((0,eg.uX)(!0),(0,eg.CE)(eg.FK,null,(0,eg.pI)(a.selectedValue,(t,n)=>(0,eg.RG)(e.$slots,"selected-option-container",{option:a.normalizeOptionForSlot(t),deselect:a.deselect,multiple:i.multiple,disabled:i.disabled},()=>[((0,eg.uX)(),(0,eg.CE)("span",{key:i.getOptionKey(t),class:"vs__selected"},[(0,eg.RG)(e.$slots,"selected-option",(0,eg._B)((0,eg.Ng)(a.normalizeOptionForSlot(t))),()=>[(0,eg.eW)((0,eg.v_)(i.getOptionLabel(t)),1)]),i.multiple?((0,eg.uX)(),(0,eg.CE)("button",{key:0,ref_for:!0,ref:e=>r.deselectButtons[n]=e,disabled:i.disabled,type:"button",class:"vs__deselect",title:`Deselect ${i.getOptionLabel(t)}`,"aria-label":`Deselect ${i.getOptionLabel(t)}`,onClick:e=>a.deselect(t)},[((0,eg.uX)(),(0,eg.Wv)((0,eg.$y)(a.childComponents.Deselect)))],8,eH)):(0,eg.Q3)("",!0)]))])),256)),(0,eg.RG)(e.$slots,"search",(0,eg._B)((0,eg.Ng)(a.scope.search)),()=>[(0,eg.Lk)("input",(0,eg.v6)({class:"vs__search"},a.scope.search.attributes,(0,eg.Tb)(a.scope.search.events)),null,16)])],512),(0,eg.Lk)("div",e$,[(0,eg.bo)((0,eg.Lk)("button",{ref:"clearButton",disabled:i.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...e)=>a.clearSelection&&a.clearSelection(...e))},[((0,eg.uX)(),(0,eg.Wv)((0,eg.$y)(a.childComponents.Deselect)))],8,eG),[[eg.aG,a.showClearButton]]),(0,eg.RG)(e.$slots,"open-indicator",(0,eg._B)((0,eg.Ng)(a.scope.openIndicator)),()=>[i.noDrop?(0,eg.Q3)("",!0):((0,eg.uX)(),(0,eg.Wv)((0,eg.$y)(a.childComponents.OpenIndicator),(0,eg._B)((0,eg.v6)({key:0},a.scope.openIndicator.attributes)),null,16))]),(0,eg.RG)(e.$slots,"spinner",(0,eg._B)((0,eg.Ng)(a.scope.spinner)),()=>[(0,eg.bo)((0,eg.Lk)("div",eX,"Loading...",512),[[eg.aG,e.mutableLoading]])])],512)],40,eW),(0,eg.bF)(eg.eB,{name:i.transition},{default:(0,eg.k6)(()=>[a.dropdownOpen?(0,eg.bo)(((0,eg.uX)(),(0,eg.CE)("ul",{id:`vs${i.uid}__listbox`,ref:"dropdownMenu",key:`vs${i.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=(0,eg.D$)((...e)=>a.onMousedown&&a.onMousedown(...e),["prevent"])),onMouseup:t[3]||(t[3]=(...e)=>a.onMouseUp&&a.onMouseUp(...e))},[(0,eg.RG)(e.$slots,"list-header",(0,eg._B)((0,eg.Ng)(a.scope.listHeader))),((0,eg.uX)(!0),(0,eg.CE)(eg.FK,null,(0,eg.pI)(a.filteredOptions,(t,n)=>((0,eg.uX)(),(0,eg.CE)("li",{id:`vs${i.uid}__option-${n}`,key:i.getOptionKey(t),role:"option",class:(0,eg.C4)(["vs__dropdown-option",{"vs__dropdown-option--deselect":a.isOptionDeselectable(t)&&n===e.typeAheadPointer,"vs__dropdown-option--selected":a.isOptionSelected(t),"vs__dropdown-option--highlight":n===e.typeAheadPointer,"vs__dropdown-option--disabled":!i.selectable(t)}]),"aria-selected":n===e.typeAheadPointer||null,onMouseover:r=>i.selectable(t)?e.typeAheadPointer=n:null,onClick:(0,eg.D$)(e=>i.selectable(t)?a.select(t):null,["prevent","stop"])},[(0,eg.RG)(e.$slots,"option",(0,eg._B)((0,eg.Ng)(a.normalizeOptionForSlot(t))),()=>[(0,eg.eW)((0,eg.v_)(i.getOptionLabel(t)),1)])],42,eY))),128)),0===a.filteredOptions.length?((0,eg.uX)(),(0,eg.CE)("li",eQ,[(0,eg.RG)(e.$slots,"no-options",(0,eg._B)((0,eg.Ng)(a.scope.noOptions)),()=>[eZ])])):(0,eg.Q3)("",!0),(0,eg.RG)(e.$slots,"list-footer",(0,eg._B)((0,eg.Ng)(a.scope.listFooter)))],40,eK)),[[s]]):((0,eg.uX)(),(0,eg.CE)("ul",{key:1,id:`vs${i.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,eJ))]),_:3},8,["name"]),(0,eg.RG)(e.$slots,"footer",(0,eg._B)((0,eg.Ng)(a.scope.footer)))],10,eq)}]]);var e1=i(89053),e2=i(70561),e3=i(42531),e4=i(52697);let e6={name:"NcEllipsisedOption",components:{NcHighlight:e3._},props:{name:{type:String,default:""},search:{type:String,default:""}},computed:{needsTruncate(){return this.name&&this.name.length>=10},split(){return this.name.length-Math.min(Math.floor(this.name.length/2),10)},part1(){return this.needsTruncate?this.name.slice(0,this.split):this.name},part2(){return this.needsTruncate?this.name.slice(this.split):""},highlight1(){return this.search?(0,e3.f)(this.name,this.search):[]},highlight2(){return this.highlight1.map(e=>({start:e.start-this.split,end:e.end-this.split}))}}},e5=["title"];function e8(e,t,i,n,r,a){let s=(0,eg.g2)("NcHighlight");return(0,eg.uX)(),(0,eg.CE)("span",{dir:"auto",class:"name-parts",title:i.name},[(0,eg.bF)(s,{class:"name-parts__first",text:a.part1,search:i.search,highlight:a.highlight1},null,8,["text","search","highlight"]),a.part2?((0,eg.uX)(),(0,eg.Wv)(s,{key:0,class:"name-parts__last",text:a.part2,search:i.search,highlight:a.highlight2},null,8,["text","search","highlight"])):(0,eg.Q3)("",!0)],8,e5)}let e9=(0,e4._)(e6,[["render",e8],["__scopeId","data-v-a612f185"]]);var e7=i(74363),te=i(69106),tt=i(34163),ti=i(97172);(0,te.r)(te.g);let tn={name:"NcSelect",components:{ChevronDown:e1.C,NcEllipsisedOption:e9,NcLoadingIcon:e7.N,VueSelect:e0},props:{...e0.props,...e0.mixins.reduce((e,t)=>({...e,...t.props}),{}),ariaLabelClearSelected:{type:String,default:(0,te.a)("Clear selected")},ariaLabelCombobox:{type:String,default:null},ariaLabelListbox:{type:String,default:(0,te.a)("Options")},ariaLabelDeselectOption:{type:Function,default:e=>(0,te.a)("Deselect {option}",{option:e})},appendToBody:{type:Boolean,default:!0},calculatePosition:{type:Function,default:null},keepOpen:{type:Boolean,default:!1},components:{type:Object,default:()=>({Deselect:{render:()=>(0,eg.h)(e2.I,{size:20,fillColor:"var(--vs-controls-color)",style:[{cursor:"pointer"}]})}})},limit:{type:Number,default:null},disabled:{type:Boolean,default:!1},dropdownShouldOpen:{type:Function,default:({noDrop:e,open:t})=>!e&&t},filterBy:{type:Function,default:null},inputClass:{type:[String,Object],default:null},inputId:{type:String,default:()=>(0,tt.c)()},inputLabel:{type:String,default:null},labelOutside:{type:Boolean,default:!1},keyboardFocusBorder:{type:Boolean,default:!0},label:{type:String,default:null},loading:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},noWrap:{type:Boolean,default:!1},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},mapKeydown:{type:Function,default:(e,t)=>({...e,27:i=>{t.open&&i.stopPropagation(),e[27](i)}})},uid:{type:String,default:()=>(0,tt.c)()},placement:{type:String,default:"bottom"},resetFocusOnOptionsChange:{type:Boolean,default:!0},modelValue:{type:[String,Number,Object,Array],default:null},required:{type:Boolean,default:!1}," ":{}},emits:[" ","update:modelValue"],setup:()=>({avatarSize:Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--default-clickable-area"))-2*Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--default-grid-baseline")),isLegacy:ti.i}),data:()=>({search:""}),computed:{inputRequired(){return this.required?null===this.modelValue||Array.isArray(this.modelValue)&&0===this.modelValue.length:null},localCalculatePosition(){return null!==this.calculatePosition?this.calculatePosition:(e,t,{width:i})=>{e.style.width=i;let n={name:"addClass",fn:()=>(e.classList.add("vs__dropdown-menu--floating"),{})},r={name:"togglePlacementClass",fn:({placement:i})=>(t.$el.classList.toggle("select--drop-up","top"===i),e.classList.toggle("vs__dropdown-menu--floating-placement-top","top"===i),{})},a=()=>{em(t.$refs.toggle,e,{placement:this.placement,middleware:[ed(-1),n,r,eh(),ec({limiter:ef()})]}).then(({x:i,y:n})=>{Object.assign(e.style,{left:`${i}px`,top:`${n}px`,width:`${t.$refs.toggle.getBoundingClientRect().width}px`})})};return eu(t.$refs.toggle,e,a)}},localFilterBy(){return this.filterBy??e0.props.filterBy.default},localLabel(){return this.label??e0.props.label.default},propsToForward(){let e=[...Object.keys(e0.props),...e0.mixins.flatMap(e=>Object.keys(e.props??{}))];return{...Object.fromEntries(Object.entries(this.$props).filter(([t,i])=>e.includes(t))),calculatePosition:this.localCalculatePosition,closeOnSelect:!this.keepOpen,filterBy:this.localFilterBy,label:this.localLabel}}},mounted(){this.labelOutside||this.inputLabel||this.ariaLabelCombobox||(0,eg.R8)("[NcSelect] An `inputLabel` or `ariaLabelCombobox` should be set. If an external label is used, `labelOutside` should be set to `true`."),this.inputLabel&&this.ariaLabelCombobox&&(0,eg.R8)("[NcSelect] Only one of `inputLabel` or `ariaLabelCombobox` should to be set.")},methods:{t:te.a}},tr=["for"],ta=["required"];function ts(e,t,i,n,r,a){let s=(0,eg.g2)("ChevronDown"),o=(0,eg.g2)("NcEllipsisedOption"),l=(0,eg.g2)("NcLoadingIcon"),u=(0,eg.g2)("VueSelect");return(0,eg.uX)(),(0,eg.Wv)(u,(0,eg.v6)({class:["select",{"select--legacy":n.isLegacy,"select--no-wrap":i.noWrap}]},a.propsToForward,{onSearch:t[0]||(t[0]=e=>r.search=e),"onUpdate:modelValue":t[1]||(t[1]=t=>e.$emit("update:modelValue",t))}),(0,eg.eX)({search:(0,eg.k6)(({attributes:e,events:t})=>[(0,eg.Lk)("input",(0,eg.v6)({class:["vs__search",[i.inputClass]]},e,{required:a.inputRequired,dir:"auto"},(0,eg.Tb)(t,!0)),null,16,ta)]),"open-indicator":(0,eg.k6)(({attributes:e})=>[(0,eg.bF)(s,(0,eg.v6)(e,{fillColor:"var(--vs-controls-color)",style:{cursor:i.disabled?null:"pointer"},size:26}),null,16,["style"])]),option:(0,eg.k6)(t=>[(0,eg.RG)(e.$slots,"option",(0,eg._B)((0,eg.Ng)(t)),()=>[(0,eg.bF)(o,{name:String(t[a.localLabel]),search:r.search},null,8,["name","search"])])]),"selected-option":(0,eg.k6)(t=>[(0,eg.RG)(e.$slots,"selected-option",(0,eg._B)((0,eg.Ng)(t)),()=>[(0,eg.bF)(o,{name:String(t[a.localLabel]),search:r.search},null,8,["name","search"])])]),spinner:(0,eg.k6)(e=>[e.loading?((0,eg.uX)(),(0,eg.Wv)(l,{key:0})):(0,eg.Q3)("",!0)]),"no-options":(0,eg.k6)(()=>[(0,eg.eW)((0,eg.v_)(a.t("No results")),1)]),_:2},[!i.labelOutside&&i.inputLabel?{name:"header",fn:(0,eg.k6)(()=>[(0,eg.Lk)("label",{for:i.inputId,class:"select__label"},(0,eg.v_)(i.inputLabel),9,tr)]),key:"0"}:void 0,(0,eg.pI)(e.$slots,(t,i)=>({name:i,fn:(0,eg.k6)(t=>[(0,eg.RG)(e.$slots,i,(0,eg._B)((0,eg.Ng)(t)))])}))]),1040,["class"])}let to=(0,e4._)(tn,[["render",ts]])},35032(e,t,i){"use strict";i.d(t,{_:()=>l});var n=i(8756),r=i(98190),a=i(69106),s=i(47031),o=i(16824);(0,a.r)(a.c,a.b);let l=(0,n.pM)({__name:"NcTextField",props:(0,n.zz)({class:{},inputClass:{},id:{},label:{},labelOutside:{type:Boolean},type:{},placeholder:{},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},trailingButtonIcon:{default:"close"}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){let i=(0,n.fn)(e,"modelValue"),l=e;t({focus:f,select:m});let u=(0,n.rk)("inputField"),d={arrowEnd:(0,a.a)("Save changes"),close:(0,a.a)("Clear text"),undo:(0,a.a)("Undo changes")},c=new Set(Object.keys(o.N.props)),h=(0,n.EW)(()=>{let e=Object.fromEntries(Object.entries(l).filter(([e])=>c.has(e)));return e.trailingButtonLabel??=d[l.trailingButtonIcon],e});function f(e){u.value.focus(e)}function m(){u.value.select()}return(e,t)=>((0,n.uX)(),(0,n.Wv)((0,n.R1)(o.N),(0,n.v6)(h.value,{ref:"inputField",modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e)}),(0,n.eX)({_:2},[e.$slots.icon?{name:"icon",fn:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"icon")]),key:"0"}:void 0,"search"!==e.type?{name:"trailing-button-icon",fn:(0,n.k6)(()=>["arrowEnd"===e.trailingButtonIcon?((0,n.uX)(),(0,n.Wv)((0,n.R1)(s.N),{key:0,directional:"",path:(0,n.R1)(r.m)},null,8,["path"])):((0,n.uX)(),(0,n.Wv)((0,n.R1)(s.N),{key:1,path:"undo"===e.trailingButtonIcon?(0,n.R1)(r.a):(0,n.R1)(r.b)},null,8,["path"]))]),key:"1"}:void 0]),1040,["modelValue"]))}})},69106(e,t,i){"use strict";i.d(t,{$:()=>S,A:()=>k,D:()=>T,F:()=>c,J:()=>D,K:()=>a,Q:()=>z,R:()=>g,W:()=>f,X:()=>R,Y:()=>B,Z:()=>C,_:()=>A,a:()=>s,a0:()=>p,b:()=>O,c:()=>F,d:()=>u,e:()=>w,f:()=>x,g:()=>y,h:()=>N,l:()=>j,m:()=>m,n:()=>E,q:()=>P,r:()=>o,s:()=>M,t:()=>d,u:()=>b,v:()=>h,w:()=>l,x:()=>I,y:()=>_});var n=i(53334);let r=(0,i(11195).$)().detectLanguage().build(),a=(...e)=>r.ngettext(...e),s=(...e)=>r.gettext(...e);function o(...e){for(let t of e)if(!t.registered){for(let{l:e,t:i}of t){if(e!==(0,n.Z0)()||!i)continue;let t=Object.fromEntries(Object.entries(i).map(([e,t])=>[e,{msgid:e,msgid_plural:t.p,msgstr:t.v}]));r.addTranslations({translations:{"":t}})}t.registered=!0}}let l=[{l:"ar",t:{"A color with a HEX value {hex}":{v:["لون بالقيمة الست عشرية {hex}"]},Back:{v:["عودة"]},Choose:{v:["إختَر"]},"Color picker":{v:["لاقط الألوان"]},"More options":{v:["خيارات أخرى ..."]}}},{l:"ast",t:{"A color with a HEX value {hex}":{v:["Un color con un valor HEX {hex}"]},Back:{v:["Atr\xe1s"]},Choose:{v:["Escoyer"]},"Color picker":{v:["Selector de colores"]},"More options":{v:["M\xe1s opciones"]}}},{l:"br",t:{Choose:{v:["Dibab"]}}},{l:"ca",t:{Choose:{v:["Tria"]}}},{l:"cs",t:{"A color with a HEX value {hex}":{v:["Barva vyj\xe1dřen\xe1 HEX hodnotou {hex}"]},Back:{v:["Zpět"]},Choose:{v:["Zvolit"]},"Color picker":{v:["V\xfdběr barev"]},"More options":{v:["Dalš\xed volby"]},"No color":{v:["Ž\xe1dn\xe1 barva"]}}},{l:"cs-CZ",t:{"A color with a HEX value {hex}":{v:["Barva vyj\xe1dřen\xe1 HEX hodnotou {hex}"]},Back:{v:["Zpět"]},Choose:{v:["Zvolit"]},"Color picker":{v:["V\xfdběr barev"]},"More options":{v:["Dalš\xed volby"]}}},{l:"da",t:{"A color with a HEX value {hex}":{v:["En farve med en HEX-v\xe6rdi {hex}"]},Back:{v:["Tilbage"]},Choose:{v:["V\xe6lg"]},"Color picker":{v:["Farvev\xe6lger"]},"More options":{v:["Flere muligheder"]},"No color":{v:["Ingen farve"]}}},{l:"de",t:{"A color with a HEX value {hex}":{v:["Eine Farbe mit einem HEX-Wert {hex}"]},Back:{v:["Zur\xfcck"]},Choose:{v:["Ausw\xe4hlen"]},"Color picker":{v:["Farbauswahl"]},"More options":{v:["Weitere Optionen"]},"No color":{v:["Keine Farbe"]}}},{l:"de-DE",t:{"A color with a HEX value {hex}":{v:["Eine Farbe mit einem HEX-Wert {hex}"]},Back:{v:["Zur\xfcck"]},Choose:{v:["Ausw\xe4hlen"]},"Color picker":{v:["Farbauswahl"]},"More options":{v:["Mehr Optionen"]},"No color":{v:["Keine Farbe"]}}},{l:"el",t:{"A color with a HEX value {hex}":{v:["Ένα χρώμα με τιμή HEX {hex}"]},Back:{v:["Επιστροφή"]},Choose:{v:["Επιλογή"]},"Color picker":{v:["Επιλογέας χρώματος"]},"More options":{v:["Περισσότερες επιλογές"]},"No color":{v:["Χωρίς χρώμα"]}}},{l:"en-GB",t:{"A color with a HEX value {hex}":{v:["A colour with a HEX value {hex}"]},Back:{v:["Back"]},Choose:{v:["Choose"]},"Color picker":{v:["Colour picker"]},"More options":{v:["More options"]},"No color":{v:["No colour"]}}},{l:"eo",t:{Choose:{v:["Elektu"]}}},{l:"es",t:{"A color with a HEX value {hex}":{v:["Un color con un valor HEX {hex}"]},Back:{v:["Atr\xe1s"]},Choose:{v:["Escoger"]},"Color picker":{v:["Selector de color"]},"More options":{v:["M\xe1s opciones"]}}},{l:"es-AR",t:{"A color with a HEX value {hex}":{v:["Un color con valor HEX {hex}"]},Back:{v:["Atr\xe1s"]},Choose:{v:["Elegir"]},"Color picker":{v:["Selector de color"]},"More options":{v:["M\xe1s opciones"]}}},{l:"es-EC",t:{Back:{v:["Atr\xe1s"]},Choose:{v:["Elegir"]},"More options":{v:["M\xe1s opciones"]}}},{l:"es-MX",t:{"A color with a HEX value {hex}":{v:["Un color con valor HEX {hex}"]},Back:{v:["Atr\xe1s"]},Choose:{v:["Elegir"]},"Color picker":{v:["Selector de color"]},"More options":{v:["M\xe1s opciones"]}}},{l:"et-EE",t:{"A color with a HEX value {hex}":{v:["V\xe4rv hexi v\xe4\xe4rtusega {hex}"]},Back:{v:["Tagasi"]},Choose:{v:["Tee valik"]},"Color picker":{v:["V\xe4rvivalija"]},"More options":{v:["Rohkem valikuid"]},"No color":{v:["V\xe4rv puudub"]}}},{l:"eu",t:{Back:{v:["Atzera"]},Choose:{v:["Aukeratu"]},"More options":{v:["Aukera gehiago"]}}},{l:"fa",t:{"A color with a HEX value {hex}":{v:["رنگی با مقدار مبنای هشت {hex}"]},Back:{v:["بازگشت"]},Choose:{v:["انتخاب کنید"]},"Color picker":{v:["انتخاب‌گر رنگ"]},"More options":{v:["گزینه‌های بیشتر"]}}},{l:"fi",t:{"A color with a HEX value {hex}":{v:["V\xe4ri heksa-arvolla {hex}"]},Back:{v:["Takaisin"]},Choose:{v:["Valitse"]},"Color picker":{v:["V\xe4rivalitsin"]},"More options":{v:["Lis\xe4\xe4 vaihtoehtoja"]}}},{l:"fr",t:{"A color with a HEX value {hex}":{v:["Une couleur de valeur HEX {hex}"]},Back:{v:["Retour"]},Choose:{v:["Choisir"]},"Color picker":{v:["S\xe9lecteur de couleurs"]},"More options":{v:["Plus d'options"]},"No color":{v:["Sans couleur"]}}},{l:"ga",t:{"A color with a HEX value {hex}":{v:["Dath le luach HEX {hex}"]},Back:{v:["Ar ais"]},Choose:{v:["Roghnaigh"]},"Color picker":{v:["Roghn\xf3ir dathanna"]},"More options":{v:["Tuilleadh roghanna"]},"No color":{v:["Gan dath"]}}},{l:"gl",t:{"A color with a HEX value {hex}":{v:["Unha cor cun valor HEX {hex}"]},Back:{v:["Atr\xe1s"]},Choose:{v:["Escoller"]},"Color picker":{v:["Selector de cores"]},"More options":{v:["M\xe1is opci\xf3ns"]},"No color":{v:["Sen cor"]}}},{l:"he",t:{Back:{v:["חזרה"]},Choose:{v:["בחירה"]},"More options":{v:["אפשרויות נוספות"]}}},{l:"hr",t:{"A color with a HEX value {hex}":{v:["Boja s HEX vrijednošću {hex}"]},Back:{v:["Natrag"]},Choose:{v:["Odaberi"]},"Color picker":{v:["Odabir boje"]},"More options":{v:["Više mogućnosti"]},"No color":{v:["Bez boje"]}}},{l:"hu",t:{Choose:{v:["V\xe1lassszon"]}}},{l:"id",t:{"A color with a HEX value {hex}":{v:["Warna dengan nilai HEX {hex}"]},Back:{v:["Kembali"]},Choose:{v:["Pilih"]},"Color picker":{v:["Pemilih warna"]},"More options":{v:["Opsi lainnya"]},"No color":{v:["Tanpa warna"]}}},{l:"is",t:{"A color with a HEX value {hex}":{v:["Litur me\xf0 HEX-gildi {hex}"]},Back:{v:["Til baka"]},Choose:{v:["Velja"]},"Color picker":{v:["Litaplokkari"]},"More options":{v:["Fleiri valkostir"]}}},{l:"it",t:{"A color with a HEX value {hex}":{v:["Un colore con un valore HEX {hex}"]},Back:{v:["Indietro"]},Choose:{v:["Scegli"]},"More options":{v:["Altre opzioni"]}}},{l:"ja",t:{"A color with a HEX value {hex}":{v:[" HEX値 {hex} を持つ色"]},Back:{v:["戻る"]},Choose:{v:["選択"]},"Color picker":{v:["カラーピッカー"]},"More options":{v:["他のオプション"]},"No color":{v:["色なし"]}}},{l:"ja-JP",t:{"A color with a HEX value {hex}":{v:[" HEX値 {hex} を持つ色"]},Back:{v:["戻る"]},Choose:{v:["選択"]},"Color picker":{v:["カラーピッカー"]},"More options":{v:["他のオプション"]}}},{l:"ko",t:{"A color with a HEX value {hex}":{v:["HEX 값이 {hex}인 색상"]},Back:{v:["뒤로"]},Choose:{v:["선택"]},"Color picker":{v:["색상 선택기"]},"More options":{v:["옵션 더 보기"]},"No color":{v:["색 없음"]}}},{l:"lo",t:{"A color with a HEX value {hex}":{v:["ສີທີ່ມີຄ່າ HEX {hex}"]},Back:{v:["ກັບຄືນ"]},Choose:{v:["ເລືອກ"]},"Color picker":{v:["ໂຕເລືອກສີ"]},"More options":{v:["ຕົວເລືອກເພີ່ມເຕີມ"]},"No color":{v:["ບໍ່ມີສີ"]}}},{l:"lt-LT",t:{Choose:{v:["Pasirinkti"]}}},{l:"lv",t:{Choose:{v:["Izvēlēties"]}}},{l:"mk",t:{"A color with a HEX value {hex}":{v:["Боја со HEX вредност {hex}"]},Back:{v:["Назад"]},Choose:{v:["Избери"]},"Color picker":{v:["Избор на боја"]},"More options":{v:["Повеќе опции"]},"No color":{v:["Без боја"]}}},{l:"my",t:{Choose:{v:["ရွေးချယ်ရန်"]}}},{l:"nb",t:{"A color with a HEX value {hex}":{v:["En farge med en HEX-verdi {hex}"]},Back:{v:["Tilbake"]},Choose:{v:["Velg"]},"Color picker":{v:["Fargevelger"]},"More options":{v:["Flere alternativer"]}}},{l:"nl",t:{"A color with a HEX value {hex}":{v:["Een kleur met een HEX-waarde {hex}"]},Back:{v:["Terug"]},Choose:{v:["Kiezen"]},"Color picker":{v:["Kleurkiezer"]},"More options":{v:["Meer opties"]},"No color":{v:["Geen kleur"]}}},{l:"oc",t:{Choose:{v:["Causir"]}}},{l:"pl",t:{"A color with a HEX value {hex}":{v:["Kolor o wartości HEX {hex}"]},Back:{v:["Wstecz"]},Choose:{v:["Wybierz"]},"Color picker":{v:["Wybierz kolor"]},"More options":{v:["Więcej opcji"]}}},{l:"pt-BR",t:{"A color with a HEX value {hex}":{v:["Uma cor com valor HEX {hex}"]},Back:{v:["Voltar"]},Choose:{v:["Escolher"]},"Color picker":{v:["Seletor de cores"]},"More options":{v:["Mais op\xe7\xf5es"]},"No color":{v:["Sem cor"]}}},{l:"pt-PT",t:{"A color with a HEX value {hex}":{v:["Uma cor com o valor HEX {hex}"]},Back:{v:["Anterior"]},Choose:{v:["Escolher"]},"Color picker":{v:["seletor de cores"]},"More options":{v:["Mais op\xe7\xf5es"]}}},{l:"ro",t:{"A color with a HEX value {hex}":{v:["O culoare \xeen HEX value {hex}"]},Back:{v:["\xcenapoi"]},Choose:{v:["Alegeți"]},"More options":{v:["Mai multe opțiuni"]}}},{l:"ru",t:{"A color with a HEX value {hex}":{v:["Цвет в HEX {hex}"]},Back:{v:["Назад"]},Choose:{v:["Выберите"]},"Color picker":{v:["Выбор цвета"]},"More options":{v:["Больше опций"]},"No color":{v:["Без цвета"]}}},{l:"sk",t:{"A color with a HEX value {hex}":{v:["Farba s hodnotou HEX {hex}"]},Back:{v:["Sp\xe4ť"]},Choose:{v:["Vybrať"]},"Color picker":{v:["V\xfdber farby"]},"More options":{v:["Viac možnost\xed"]}}},{l:"sl",t:{Choose:{v:["Izbor"]}}},{l:"sr",t:{"A color with a HEX value {hex}":{v:["Боја са HEX вредности {hex}"]},Back:{v:["Назад"]},Choose:{v:["Изаберите"]},"Color picker":{v:["Бирач боје"]},"More options":{v:["Још опција"]},"No color":{v:["Без боје"]}}},{l:"sv",t:{"A color with a HEX value {hex}":{v:["En f\xe4rg med ett HEX-v\xe4rde {hex}"]},Back:{v:["Tillbaka"]},Choose:{v:["V\xe4lj"]},"Color picker":{v:["F\xe4rgv\xe4ljare"]},"More options":{v:["Fler alternativ"]}}},{l:"tr",t:{"A color with a HEX value {hex}":{v:["{hex} onaltılık değeri ile bir renk "]},Back:{v:["Geri"]},Choose:{v:["Se\xe7in"]},"Color picker":{v:["Renk se\xe7ici"]},"More options":{v:["Diğer se\xe7enekler"]},"No color":{v:["Renk yok"]}}},{l:"uk",t:{"A color with a HEX value {hex}":{v:["Колір у форматі HEX {hex}"]},Back:{v:["Назад"]},Choose:{v:["Виберіть"]},"Color picker":{v:["Вибір кольору"]},"More options":{v:["Більше об'єктів"]}}},{l:"uz",t:{"A color with a HEX value {hex}":{v:["HEX qiymatiga ega rang {hex}"]},Back:{v:["Orqaga"]},Choose:{v:["Tanlang"]},"Color picker":{v:["Rang tanlagich"]},"More options":{v:["Boshqa variantlar"]},"No color":{v:["Rangsiz"]}}},{l:"zh-CN",t:{"A color with a HEX value {hex}":{v:["以16进制 {hex} 表示的颜色为"]},Back:{v:["返回"]},Choose:{v:["选择"]},"Color picker":{v:["颜色拾取器"]},"More options":{v:["更多选项"]}}},{l:"zh-HK",t:{"A color with a HEX value {hex}":{v:["具有 HEX 值 {hex}的顏色 "]},Back:{v:["返回"]},Choose:{v:["選擇"]},"Color picker":{v:["顏色選擇器"]},"More options":{v:["更多選項"]},"No color":{v:["無顏色"]}}},{l:"zh-TW",t:{"A color with a HEX value {hex}":{v:["HEX 值為 {hex} 的顏色"]},Back:{v:["返回"]},Choose:{v:["選擇"]},"Color picker":{v:["色彩挑選器"]},"More options":{v:["更多選項"]}}}],u=[{l:"ar",t:{"a few seconds ago":{v:["منذ عدة ثوانٍ"]},"sec. ago":{v:["ثانية مضت"]},"seconds ago":{v:["ثوانٍ مضت"]}}},{l:"ast",t:{"a few seconds ago":{v:["hai unos segundos"]},"sec. ago":{v:["hai segs"]},"seconds ago":{v:["hai segundos"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"a few seconds ago":{v:["před několika sekundami"]},"sec. ago":{v:["sek. před"]},"seconds ago":{v:["sekund předt\xedm"]}}},{l:"cs-CZ",t:{"a few seconds ago":{v:["před několika sekundami"]},"sec. ago":{v:["sek. před"]},"seconds ago":{v:["sekund předt\xedm"]}}},{l:"da",t:{"a few seconds ago":{v:["et par sekunder siden"]},"sec. ago":{v:["sek. siden"]},"seconds ago":{v:["sekunder siden"]}}},{l:"de",t:{"a few seconds ago":{v:["vor ein paar Sekunden"]},"sec. ago":{v:["Sek. zuvor"]},"seconds ago":{v:["Sekunden zuvor"]}}},{l:"de-DE",t:{"a few seconds ago":{v:["vor ein paar Sekunden"]},"sec. ago":{v:["Sek. zuvor"]},"seconds ago":{v:["Sekunden zuvor"]}}},{l:"el",t:{"a few seconds ago":{v:["πριν λίγα δευτερόλεπτα"]},"sec. ago":{v:["δευτ. πριν"]},"seconds ago":{v:["δευτερόλεπτα πριν"]}}},{l:"en-GB",t:{"a few seconds ago":{v:["a few seconds ago"]},"sec. ago":{v:["sec. ago"]},"seconds ago":{v:["seconds ago"]}}},{l:"eo",t:{}},{l:"es",t:{"a few seconds ago":{v:["hace unos pocos segundos"]},"sec. ago":{v:["hace segundos"]},"seconds ago":{v:["segundos atr\xe1s"]}}},{l:"es-AR",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["seg. atr\xe1s"]},"seconds ago":{v:["segundos atr\xe1s"]}}},{l:"es-EC",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["hace segundos"]},"seconds ago":{v:["Segundos atr\xe1s"]}}},{l:"es-MX",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["seg. atr\xe1s"]},"seconds ago":{v:["segundos atr\xe1s"]}}},{l:"et-EE",t:{"a few seconds ago":{v:["m\xf5ni sekund tagasi"]},"sec. ago":{v:["sek. tagasi"]},"seconds ago":{v:["sekundit tagasi"]}}},{l:"eu",t:{"a few seconds ago":{v:["duela segundo batzuk"]},"sec. ago":{v:["duela seg."]},"seconds ago":{v:["duela segundo"]}}},{l:"fa",t:{"a few seconds ago":{v:["چند ثانیه پیش"]},"sec. ago":{v:["چند ثانیه پیش"]},"seconds ago":{v:["چند ثانیه پیش"]}}},{l:"fi",t:{"a few seconds ago":{v:["muutamia sekunteja sitten"]},"sec. ago":{v:["sek. sitten"]},"seconds ago":{v:["sekunteja sitten"]}}},{l:"fr",t:{"a few seconds ago":{v:["il y a quelques instants"]},"sec. ago":{v:["il y a qq. sec."]},"seconds ago":{v:["il y a quelques secondes"]}}},{l:"ga",t:{"a few seconds ago":{v:["c\xfapla soicind \xf3 shin"]},"sec. ago":{v:["soic. \xf3 shin"]},"seconds ago":{v:["soicind \xf3 shin"]}}},{l:"gl",t:{"a few seconds ago":{v:["hai uns segundos"]},"sec. ago":{v:["segs. atr\xe1s"]},"seconds ago":{v:["segundos atr\xe1s"]}}},{l:"he",t:{"a few seconds ago":{v:["לפני מספר שניות"]},"sec. ago":{v:["לפני מספר שניות"]},"seconds ago":{v:["לפני מס׳ שניות"]}}},{l:"hr",t:{"a few seconds ago":{v:["prije nekoliko sekundi"]},"sec. ago":{v:["prije nek. sek."]},"seconds ago":{v:["prije nek. sek."]}}},{l:"hu",t:{}},{l:"id",t:{"a few seconds ago":{v:["beberapa detik yang lalu"]},"sec. ago":{v:["dtk. yang lalu"]},"seconds ago":{v:["beberapa detik lalu"]}}},{l:"is",t:{"a few seconds ago":{v:["fyrir \xf6rf\xe1um sek\xfandum s\xed\xf0an"]},"sec. ago":{v:["sek. s\xed\xf0an"]},"seconds ago":{v:["sek\xfandum s\xed\xf0an"]}}},{l:"it",t:{"a few seconds ago":{v:["pochi secondi fa"]},"sec. ago":{v:["sec. fa"]},"seconds ago":{v:["secondi fa"]}}},{l:"ja",t:{"a few seconds ago":{v:["数秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["数秒前"]}}},{l:"ja-JP",t:{"a few seconds ago":{v:["数秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["数秒前"]}}},{l:"ko",t:{"a few seconds ago":{v:["방금 전"]},"sec. ago":{v:["몇 초 전"]},"seconds ago":{v:["초 전"]}}},{l:"lo",t:{"a few seconds ago":{v:["ສອງສາມວິນາທີກ່ອນ"]},"sec. ago":{v:["ວິ. ກ່ອນ"]},"seconds ago":{v:["ວິນາທີກ່ອນ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"a few seconds ago":{v:["пред неколку секунди"]},"sec. ago":{v:["секунда"]},"seconds ago":{v:["секунди"]}}},{l:"my",t:{}},{l:"nb",t:{"a few seconds ago":{v:["noen f\xe5 sekunder siden"]},"sec. ago":{v:["sek. siden"]},"seconds ago":{v:["sekunder siden"]}}},{l:"nl",t:{"a few seconds ago":{v:["enkele seconden geleden"]},"sec. ago":{v:["sec. geleden"]},"seconds ago":{v:["seconden geleden"]}}},{l:"oc",t:{}},{l:"pl",t:{"a few seconds ago":{v:["kilka sekund temu"]},"sec. ago":{v:["sek. temu"]},"seconds ago":{v:["sekund temu"]}}},{l:"pt-BR",t:{"a few seconds ago":{v:["h\xe1 alguns segundos"]},"sec. ago":{v:["seg. atr\xe1s"]},"seconds ago":{v:["segundos atr\xe1s"]}}},{l:"pt-PT",t:{"a few seconds ago":{v:["h\xe1 alguns segundos"]},"sec. ago":{v:["seg. atr\xe1s"]},"seconds ago":{v:["segundos atr\xe1s"]}}},{l:"ro",t:{"a few seconds ago":{v:["acum c\xe2teva secunde"]},"sec. ago":{v:["sec. \xeen urmă"]},"seconds ago":{v:["secunde \xeen urmă"]}}},{l:"ru",t:{"a few seconds ago":{v:["несколько секунд назад"]},"sec. ago":{v:["сек. назад"]},"seconds ago":{v:["секунд назад"]}}},{l:"sk",t:{"a few seconds ago":{v:["pred chv\xedľou"]},"sec. ago":{v:["pred p\xe1r sekundami"]},"seconds ago":{v:["pred sekundami"]}}},{l:"sl",t:{}},{l:"sr",t:{"a few seconds ago":{v:["пре неколико секунди"]},"sec. ago":{v:["сек. раније"]},"seconds ago":{v:["секунди раније"]}}},{l:"sv",t:{"a few seconds ago":{v:["n\xe5gra sekunder sedan"]},"sec. ago":{v:["sek. sedan"]},"seconds ago":{v:["sekunder sedan"]}}},{l:"tr",t:{"a few seconds ago":{v:["birka\xe7 saniye \xf6nce"]},"sec. ago":{v:["sn. \xf6nce"]},"seconds ago":{v:["saniye \xf6nce"]}}},{l:"uk",t:{"a few seconds ago":{v:["декілька секунд тому"]},"sec. ago":{v:["с тому"]},"seconds ago":{v:["с тому"]}}},{l:"uz",t:{"a few seconds ago":{v:["bir necha soniya oldin"]},"sec. ago":{v:["sek. oldin"]},"seconds ago":{v:["soniyalar oldin"]}}},{l:"zh-CN",t:{"a few seconds ago":{v:["几秒前"]},"sec. ago":{v:["几秒前"]},"seconds ago":{v:["几秒前"]}}},{l:"zh-HK",t:{"a few seconds ago":{v:["幾秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["秒前"]}}},{l:"zh-TW",t:{"a few seconds ago":{v:["幾秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["秒前"]}}}],d=[{l:"ar",t:{Acapulco:{v:["بازلائي مطفي"]},"Blue Violet":{v:["بنفسجي مشعشع"]},"Boston Blue":{v:["سماوي مطفي"]},Deluge:{v:["بنفسجي مطفي"]},Feldspar:{v:["وردي صخري"]},Gold:{v:["ذهبي"]},Mariner:{v:["أزرق بحري"]},"Nextcloud blue":{v:["أزرق نكست كلاود"]},Olivine:{v:["زيتي"]},Purple:{v:["بنفسجي"]},"Rosy brown":{v:["بُنِّي زهري"]},Whiskey:{v:["نبيذي"]}}},{l:"ast",t:{Acapulco:{v:["Acapulcu"]},"Blue Violet":{v:["Viola azulao"]},"Boston Blue":{v:["Azul Boston"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Oru"]},Mariner:{v:["Marineru"]},"Nextcloud blue":{v:["Nextcloud azul"]},Olivine:{v:["Olivina"]},Purple:{v:["Mor\xe1u"]},"Rosy brown":{v:["Marr\xf3n arrosao"]},Whiskey:{v:["Whiskey"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{Acapulco:{v:["Akapulko"]},Black:{v:["Čern\xe1"]},"Blue Violet":{v:["Modrofialov\xe1"]},"Boston Blue":{v:["Bostonsk\xe1 modr\xe1"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Živicov\xe1"]},Gold:{v:["Zlat\xe1"]},Mariner:{v:["N\xe1mořnick\xe1"]},"Nextcloud blue":{v:["Nextcloud modr\xe1"]},Olivine:{v:["Oliv\xednov\xe1"]},Purple:{v:["Fialov\xe1"]},"Rosy brown":{v:["Růžovohněd\xe1"]},Whiskey:{v:["Whisky"]},White:{v:["B\xedl\xe1"]}}},{l:"cs-CZ",t:{Acapulco:{v:["Akapulko"]},"Blue Violet":{v:["Modrofialov\xe1"]},"Boston Blue":{v:["Bostonsk\xe1 modr\xe1"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Živicov\xe1"]},Gold:{v:["Zlat\xe1"]},Mariner:{v:["N\xe1mořnick\xe1"]},"Nextcloud blue":{v:["Nextcloud modr\xe1"]},Olivine:{v:["Oliv\xednov\xe1"]},Purple:{v:["Fialov\xe1"]},"Rosy brown":{v:["Růžovohněd\xe1"]},Whiskey:{v:["Whisky"]}}},{l:"da",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Sort"]},"Blue Violet":{v:["Blue Violet"]},"Boston Blue":{v:["Boston Blue"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Guld"]},Mariner:{v:["Mariner"]},"Nextcloud blue":{v:["Nextcloud blue"]},Olivine:{v:["Olivine"]},Purple:{v:["Lilla"]},"Rosy brown":{v:["Rosy brown"]},Whiskey:{v:["Whiskey"]},White:{v:["Hvid"]}}},{l:"de",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Schwarz"]},"Blue Violet":{v:["Blau Violett"]},"Boston Blue":{v:["Boston-Blau"]},Deluge:{v:["Sintflut"]},Feldspar:{v:["Feldspat"]},Gold:{v:["Gold"]},Mariner:{v:["Seemann"]},"Nextcloud blue":{v:["Nextcloud Blau"]},Olivine:{v:["Olivin"]},Purple:{v:["Lila"]},"Rosy brown":{v:["Rosiges Braun"]},Whiskey:{v:["Whiskey"]},White:{v:["Wei\xdf"]}}},{l:"de-DE",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Schwarz"]},"Blue Violet":{v:["Blau Violett"]},"Boston Blue":{v:["Boston-Blau"]},Deluge:{v:["Sintflut"]},Feldspar:{v:["Feldspat"]},Gold:{v:["Gold"]},Mariner:{v:["Seemann"]},"Nextcloud blue":{v:["Nextcloud Blau"]},Olivine:{v:["Olivin"]},Purple:{v:["Lila"]},"Rosy brown":{v:["Rosiges Braun"]},Whiskey:{v:["Whiskey"]},White:{v:["Wei\xdf"]}}},{l:"el",t:{Acapulco:{v:["Ακαπούλκο"]},Black:{v:["Μαύρο"]},"Blue Violet":{v:["Μπλε Βιολέτ"]},"Boston Blue":{v:["Μπλε Βοστώνης"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Χρυσό"]},Mariner:{v:["Mariner"]},"Nextcloud blue":{v:["Μπλε Nextcloud"]},Olivine:{v:["Olivine"]},Purple:{v:["Μωβ"]},"Rosy brown":{v:["Ροζ καφέ"]},Whiskey:{v:["Ουίσκι"]},White:{v:["Λευκό"]}}},{l:"en-GB",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Black"]},"Blue Violet":{v:["Blue Violet"]},"Boston Blue":{v:["Boston Blue"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Gold"]},Mariner:{v:["Mariner"]},"Nextcloud blue":{v:["Nextcloud blue"]},Olivine:{v:["Olivine"]},Purple:{v:["Purple"]},"Rosy brown":{v:["Rosy brown"]},Whiskey:{v:["Whiskey"]},White:{v:["White"]}}},{l:"eo",t:{}},{l:"es",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Violeta Azul"]},"Boston Blue":{v:["Azul Boston"]},Deluge:{v:["Diluvio"]},Feldspar:{v:["Feldespato"]},Gold:{v:["Oro"]},Mariner:{v:["Marinero"]},"Nextcloud blue":{v:["Azul Nextcloud"]},Olivine:{v:["Olivino"]},Purple:{v:["P\xfarpura"]},"Rosy brown":{v:["Marr\xf3n ros\xe1ceo"]},Whiskey:{v:["Whiskey"]}}},{l:"es-AR",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Violeta Azul"]},"Boston Blue":{v:["Azul Boston"]},Deluge:{v:["Diluvio"]},Feldspar:{v:["Feldespato"]},Gold:{v:["Oro"]},Mariner:{v:["Marinero"]},"Nextcloud blue":{v:["Azul Nextcloud"]},Olivine:{v:["Olivino"]},Purple:{v:["P\xfarpura"]},"Rosy brown":{v:["Marr\xf3n ros\xe1ceo"]},Whiskey:{v:["Whiskey"]}}},{l:"es-EC",t:{}},{l:"es-MX",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Violeta Azul"]},"Boston Blue":{v:["Azul Boston"]},Deluge:{v:["Diluvio"]},Feldspar:{v:["Feldespato"]},Gold:{v:["Oro"]},Mariner:{v:["Marinero"]},"Nextcloud blue":{v:["Azul Nextcloud"]},Olivine:{v:["Olivino"]},Purple:{v:["P\xfarpura"]},"Rosy brown":{v:["Marr\xf3n ros\xe1ceo"]},Whiskey:{v:["Whiskey"]}}},{l:"et-EE",t:{Acapulco:{v:["Acapulco meresinine"]},Black:{v:["Must"]},"Blue Violet":{v:["Sinakasvioletne"]},"Boston Blue":{v:["Bostoni rohekassinine"]},Deluge:{v:["Tulvavee lilla"]},Feldspar:{v:["P\xf5levkivipruun"]},Gold:{v:["Kuldne"]},Mariner:{v:["Meresinine"]},"Nextcloud blue":{v:["Nextcloudi sinine"]},Olivine:{v:["Oliiviroheline"]},Purple:{v:["Purpurpunane"]},"Rosy brown":{v:["Roosikarva pruun"]},Whiskey:{v:["Viskikarva kollakaspruun"]},White:{v:["Valge"]}}},{l:"eu",t:{}},{l:"fa",t:{Acapulco:{v:["آکاپولکو"]},"Blue Violet":{v:["بنفش آبی"]},"Boston Blue":{v:["آبی بوستونی"]},Deluge:{v:["سیل"]},Feldspar:{v:["فلدسپات"]},Gold:{v:["طلا"]},Mariner:{v:["مارینر"]},"Nextcloud blue":{v:["نکس کلود آبی"]},Olivine:{v:["الیوین"]},Purple:{v:["بنفش"]},"Rosy brown":{v:["قهوه‌ای رز"]},Whiskey:{v:["ویسکی"]}}},{l:"fi",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Sinivioletti"]},"Boston Blue":{v:["Bostoninsininen"]},Deluge:{v:["Tulva"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Kulta"]},Mariner:{v:["Merenkulkija"]},"Nextcloud blue":{v:["Nextcloudin sininen"]},Olivine:{v:["Oliviini"]},Purple:{v:["Purppura"]},"Rosy brown":{v:["Ruusunruskea"]},Whiskey:{v:["Viski"]}}},{l:"fr",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Noir"]},"Blue Violet":{v:["Bleu violet"]},"Boston Blue":{v:["Bleu de Boston"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Dor\xe9"]},Mariner:{v:["Marin"]},"Nextcloud blue":{v:["Bleu Nextcloud"]},Olivine:{v:["Olivine"]},Purple:{v:["Violet"]},"Rosy brown":{v:["Brun ros\xe9"]},Whiskey:{v:["Whiskey"]},White:{v:["Blanc"]}}},{l:"ga",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Dubh"]},"Blue Violet":{v:["Gorm Violet"]},"Boston Blue":{v:["Bost\xfan Gorm"]},Deluge:{v:["D\xedle"]},Feldspar:{v:["Feldspar"]},Gold:{v:["\xd3ir"]},Mariner:{v:["Mairn\xe9alach"]},"Nextcloud blue":{v:["Nextcloud gorm"]},Olivine:{v:["Olaiv\xedn"]},Purple:{v:["Corcra"]},"Rosy brown":{v:["Rosach donn"]},Whiskey:{v:["Fuisce"]},White:{v:["B\xe1n"]}}},{l:"gl",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Negro"]},"Blue Violet":{v:["Azul violeta"]},"Boston Blue":{v:["Azul Boston"]},Deluge:{v:["Dioivo"]},Feldspar:{v:["Feldespato"]},Gold:{v:["Ouro"]},Mariner:{v:["Marino"]},"Nextcloud blue":{v:["Azul Nextcloud"]},Olivine:{v:["Olivina"]},Purple:{v:["P\xfarpura"]},"Rosy brown":{v:["Pardo rosado"]},Whiskey:{v:["Whisky"]},White:{v:["Branco"]}}},{l:"he",t:{}},{l:"hr",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Crna"]},"Blue Violet":{v:["Plavoljubičasta"]},"Boston Blue":{v:["Bostonsko plava"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Zlatna"]},Mariner:{v:["Mariner"]},"Nextcloud blue":{v:["Nextcloud plava"]},Olivine:{v:["Olivine"]},Purple:{v:["Ljubičasta"]},"Rosy brown":{v:["Ružičastosmeđa"]},Whiskey:{v:["Whiskey"]},White:{v:["Bijela"]}}},{l:"hu",t:{}},{l:"id",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Hitam"]},"Blue Violet":{v:["Ungu kebiruan"]},"Boston Blue":{v:["Biru Boston"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Emas"]},Mariner:{v:["Mariner"]},"Nextcloud blue":{v:["Biru Nextcloud"]},Olivine:{v:["Olivine"]},Purple:{v:["Ungu"]},"Rosy brown":{v:["Cokelat kemerahan"]},Whiskey:{v:["Whiskey"]},White:{v:["Putih"]}}},{l:"is",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Bl\xe1klukka"]},"Boston Blue":{v:["Bostonbl\xe1tt"]},Deluge:{v:["Fj\xf3lubl\xe1tt"]},Feldspar:{v:["Feldspat"]},Gold:{v:["Gull"]},Mariner:{v:["Sj\xf3arabl\xe1tt"]},"Nextcloud blue":{v:["Nextcloud bl\xe1tt"]},Olivine:{v:["\xd3liv\xedn"]},Purple:{v:["Purpurabl\xe1tt"]},"Rosy brown":{v:["R\xf3sabr\xfant"]},Whiskey:{v:["Visk\xfd"]}}},{l:"it",t:{Gold:{v:["Oro"]},"Nextcloud blue":{v:["Nextcloud blue"]},Purple:{v:["Viola"]}}},{l:"ja",t:{Acapulco:{v:["アカプルコ"]},Black:{v:["黒"]},"Blue Violet":{v:["ブルーバイオレット"]},"Boston Blue":{v:["ボストンブルー"]},Deluge:{v:["豪雨"]},Feldspar:{v:["長石"]},Gold:{v:["黄金"]},Mariner:{v:["船乗り"]},"Nextcloud blue":{v:["ネクストクラウド・ブルー"]},Olivine:{v:["カンラン石"]},Purple:{v:["紫色"]},"Rosy brown":{v:["バラ色"]},Whiskey:{v:["ウイスキー"]},White:{v:["白"]}}},{l:"ja-JP",t:{Acapulco:{v:["アカプルコ"]},"Blue Violet":{v:["ブルーバイオレット"]},"Boston Blue":{v:["ボストンブルー"]},Deluge:{v:["豪雨"]},Feldspar:{v:["長石"]},Gold:{v:["黄金"]},Mariner:{v:["船乗り"]},"Nextcloud blue":{v:["ネクストクラウド・ブルー"]},Olivine:{v:["カンラン石"]},Purple:{v:["紫色"]},"Rosy brown":{v:["バラ色"]},Whiskey:{v:["ウイスキー"]}}},{l:"ko",t:{Acapulco:{v:["아카풀코"]},Black:{v:["검정"]},"Blue Violet":{v:["푸른 보라"]},"Boston Blue":{v:["보스턴 블루"]},Deluge:{v:["폭우"]},Feldspar:{v:["장석"]},Gold:{v:["금"]},Mariner:{v:["뱃사람"]},"Nextcloud blue":{v:["Nextcloud 파랑"]},Olivine:{v:["감람석"]},Purple:{v:["보라"]},"Rosy brown":{v:["로지 브라운"]},Whiskey:{v:["위스키"]},White:{v:["하양"]}}},{l:"lo",t:{Acapulco:{v:["Acapulco"]},Black:{v:["ສີດຳ"]},"Blue Violet":{v:["Blue Violet"]},"Boston Blue":{v:["Boston Blue"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspar"]},Gold:{v:["ສີຄຳ"]},Mariner:{v:["Mariner"]},"Nextcloud blue":{v:["ສີຟ້າ Nextcloud"]},Olivine:{v:["Olivine"]},Purple:{v:["ສີມ່ວງ"]},"Rosy brown":{v:["Rosy brown"]},Whiskey:{v:["Whiskey"]},White:{v:["ສີຂາວ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{Acapulco:{v:["Акапулко"]},Black:{v:["Црно"]},"Blue Violet":{v:["Сино Виолетова"]},"Boston Blue":{v:["Бостон Сина"]},Deluge:{v:["Делуџ"]},Feldspar:{v:["Фелдспар"]},Gold:{v:["Златна"]},Mariner:{v:["Маринер"]},"Nextcloud blue":{v:["Nextcloud сина"]},Olivine:{v:["Оливин"]},Purple:{v:["Виолетова"]},"Rosy brown":{v:["Розево-кафеава"]},Whiskey:{v:["Виски"]},White:{v:["Бела"]}}},{l:"my",t:{}},{l:"nb",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Bl\xe5 fiolett"]},"Boston Blue":{v:["Boston bl\xe5"]},Deluge:{v:["Syndflod"]},Feldspar:{v:["Feltspat"]},Gold:{v:["Gull"]},Mariner:{v:["Mariner"]},"Nextcloud blue":{v:["Nextcloud-bl\xe5"]},Olivine:{v:["Olivin"]},Purple:{v:["Lilla"]},"Rosy brown":{v:["Rosenr\xf8d brun"]},Whiskey:{v:["Whiskey"]}}},{l:"nl",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Zwart"]},"Blue Violet":{v:["Blauw Paars"]},"Boston Blue":{v:["Boston Blauw"]},Deluge:{v:["Overlopen"]},Feldspar:{v:["Veldspaat"]},Gold:{v:["Goud"]},Mariner:{v:["Marineblauw"]},"Nextcloud blue":{v:["Nextcloud blauw"]},Olivine:{v:["Olivijn"]},Purple:{v:["Paars"]},"Rosy brown":{v:["Rozig bruin"]},Whiskey:{v:["Whiskey"]},White:{v:["Wit"]}}},{l:"oc",t:{}},{l:"pl",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Niebieski fiolet"]},"Boston Blue":{v:["Błękit Bostonu"]},Deluge:{v:["Potop"]},Feldspar:{v:["Skaleń"]},Gold:{v:["Złote"]},Mariner:{v:["Marynarz"]},"Nextcloud blue":{v:["Niebieskie Nextcloud"]},Olivine:{v:["Oliwin"]},Purple:{v:["Fioletowy"]},"Rosy brown":{v:["R\xf3żowy brąz"]},Whiskey:{v:["Whisky"]}}},{l:"pt-BR",t:{Acapulco:{v:["Acapulco"]},Black:{v:["Preto"]},"Blue Violet":{v:["Violeta Azul"]},"Boston Blue":{v:["Azul Boston"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspato"]},Gold:{v:["Ouro"]},Mariner:{v:["Marinheiro"]},"Nextcloud blue":{v:["Azul Nextcloud"]},Olivine:{v:["Olivina"]},Purple:{v:["Roxo"]},"Rosy brown":{v:["Castanho rosado"]},Whiskey:{v:["U\xedsque"]},White:{v:["Branco"]}}},{l:"pt-PT",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Azul violeta"]},"Boston Blue":{v:["Azul Boston"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Ouro"]},Mariner:{v:["Mariner"]},"Nextcloud blue":{v:["Nextcloud azul"]},Olivine:{v:["Olivine"]},Purple:{v:["P\xfarpura"]},"Rosy brown":{v:["Castanho rosado"]},Whiskey:{v:["Whiskey"]}}},{l:"ro",t:{Gold:{v:["Aur"]},"Nextcloud blue":{v:["Nextcloud albastru"]},Purple:{v:["Purpuriu"]}}},{l:"ru",t:{Acapulco:{v:["Акапулько"]},Black:{v:["Черный"]},"Blue Violet":{v:["Синий фиолет"]},"Boston Blue":{v:["Синий Бостон"]},Deluge:{v:["Перламутрово-фиолетовый"]},Feldspar:{v:["Античная латунь"]},Gold:{v:["Золотой"]},Mariner:{v:["Морской"]},"Nextcloud blue":{v:["Nextcloud голубой"]},Olivine:{v:[" Оливковый"]},Purple:{v:["Фиолетовый"]},"Rosy brown":{v:["Розово-коричневый"]},Whiskey:{v:["Виски"]},White:{v:["Белый"]}}},{l:"sk",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Modro fialov\xe1"]},"Boston Blue":{v:["Bostonsk\xe1 modr\xe1"]},Deluge:{v:["Deluge"]},Feldspar:{v:["Živec"]},Gold:{v:["Zlat\xe1"]},Mariner:{v:["N\xe1morn\xedk"]},"Nextcloud blue":{v:["Nextcloud modr\xe1"]},Olivine:{v:["Olivov\xe1"]},Purple:{v:["Fialov\xe1"]},"Rosy brown":{v:["Ružovo hned\xe1"]},Whiskey:{v:["Whisky"]}}},{l:"sl",t:{}},{l:"sr",t:{Acapulco:{v:["Акапулко"]},Black:{v:["Црно"]},"Blue Violet":{v:["Плаво љубичаста"]},"Boston Blue":{v:["Бостон плава"]},Deluge:{v:["Поплава"]},Feldspar:{v:["Фелдспар"]},Gold:{v:["Злато"]},Mariner:{v:["Морнар"]},"Nextcloud blue":{v:["Nextcloud плава"]},Olivine:{v:["Маслинаста"]},Purple:{v:["Пурпурна"]},"Rosy brown":{v:["Роси браон"]},Whiskey:{v:["Виски"]},White:{v:["Бело"]}}},{l:"sv",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["Bl\xe5violett"]},"Boston Blue":{v:["Bostonbl\xe5"]},Deluge:{v:["Skyfallsbl\xe5"]},Feldspar:{v:["Feldspat"]},Gold:{v:["Guld"]},Mariner:{v:["Marinbl\xe5"]},"Nextcloud blue":{v:["Nextcloud-bl\xe5"]},Olivine:{v:["Olivin"]},Purple:{v:["Lila"]},"Rosy brown":{v:["Rosabrun"]},Whiskey:{v:["Whisky"]}}},{l:"tr",t:{Acapulco:{v:["Akapulko"]},Black:{v:["Siyah"]},"Blue Violet":{v:["Mavi mor"]},"Boston Blue":{v:["Boston mavisi"]},Deluge:{v:["Sel"]},Feldspar:{v:["Feldispat"]},Gold:{v:["Altın"]},Mariner:{v:["Denizci"]},"Nextcloud blue":{v:["Nextcloud mavi"]},Olivine:{v:["Zeytinlik"]},Purple:{v:["Mor"]},"Rosy brown":{v:["Kırmızımsı kahverengi"]},Whiskey:{v:["Viski"]},White:{v:["Beyaz"]}}},{l:"uk",t:{Acapulco:{v:["Акапулько"]},"Blue Violet":{v:["Блакитна фіалка"]},"Boston Blue":{v:["Бостонський синій"]},Deluge:{v:["Злива"]},Feldspar:{v:["Польові шпати"]},Gold:{v:["Золотий"]},Mariner:{v:["Морський"]},"Nextcloud blue":{v:["Блакитний Nextcloud"]},Olivine:{v:["Олива"]},Purple:{v:["Фіолетовий"]},"Rosy brown":{v:["Темно-рожевий"]},Whiskey:{v:["Кола"]}}},{l:"uz",t:{Acapulco:{v:["Akapulko"]},Black:{v:["Qora"]},"Blue Violet":{v:["Moviy binafsha"]},"Boston Blue":{v:["Boston ko'k"]},Deluge:{v:["To'fon"]},Feldspar:{v:["Feldspar"]},Gold:{v:["Oltin"]},Mariner:{v:["Dengizchi"]},"Nextcloud blue":{v:["Ko'k Nextcloud\xa0"]},Olivine:{v:["Olivine"]},Purple:{v:["Binafsha"]},"Rosy brown":{v:["Qizil jigarrang"]},Whiskey:{v:["Whiskey"]},White:{v:["Oq"]}}},{l:"zh-CN",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["瓦罗兰特蓝"]},"Boston Blue":{v:["波士顿蓝"]},Deluge:{v:["洪水色"]},Feldspar:{v:["长石"]},Gold:{v:["金色"]},Mariner:{v:["水手"]},"Nextcloud blue":{v:["Nextcloud 蓝"]},Olivine:{v:["橄榄石色"]},Purple:{v:["紫色"]},"Rosy brown":{v:["玫瑰棕色"]},Whiskey:{v:["威士忌"]}}},{l:"zh-HK",t:{Acapulco:{v:["阿卡普爾科"]},Black:{v:["黑色"]},"Blue Violet":{v:["藍紫色"]},"Boston Blue":{v:["波士頓藍"]},Deluge:{v:["大洪水"]},Feldspar:{v:["長石"]},Gold:{v:["Gold"]},Mariner:{v:["海軍藍"]},"Nextcloud blue":{v:["Nextcloud 藍色"]},Olivine:{v:["橄欖石色"]},Purple:{v:["紫色"]},"Rosy brown":{v:["玫瑰棕色"]},Whiskey:{v:["威士忌"]},White:{v:["白色"]}}},{l:"zh-TW",t:{Acapulco:{v:["Acapulco"]},"Blue Violet":{v:["藍紫色"]},"Boston Blue":{v:["波士頓藍"]},Deluge:{v:["Deluge"]},Feldspar:{v:["長石"]},Gold:{v:["金色"]},Mariner:{v:["海軍藍"]},"Nextcloud blue":{v:["Nextcloud 藍色"]},Olivine:{v:["橄欖石色"]},Purple:{v:["紫色"]},"Rosy brown":{v:["玫瑰棕色"]},Whiskey:{v:["威士忌"]}}}],c=[{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"br",t:{Actions:{v:["Oberio\xf9"]}}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs-CZ",t:{Actions:{v:["Akce"]}}},{l:"da",t:{Actions:{v:["Handlinger"]}}},{l:"de",t:{Actions:{v:["Aktionen"]}}},{l:"de-DE",t:{Actions:{v:["Aktionen"]}}},{l:"el",t:{Actions:{v:["Ενέργειες"]}}},{l:"en-GB",t:{Actions:{v:["Actions"]}}},{l:"eo",t:{Actions:{v:["Agoj"]}}},{l:"es",t:{Actions:{v:["Acciones"]}}},{l:"es-AR",t:{Actions:{v:["Acciones"]}}},{l:"es-EC",t:{Actions:{v:["Acciones"]}}},{l:"es-MX",t:{Actions:{v:["Acciones"]}}},{l:"et-EE",t:{Actions:{v:["Tegevus"]}}},{l:"eu",t:{Actions:{v:["Ekintzak"]}}},{l:"fa",t:{Actions:{v:["کنش‌ها"]}}},{l:"fi",t:{Actions:{v:["Toiminnot"]}}},{l:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gn\xedomhartha"]}}},{l:"gl",t:{Actions:{v:["Acci\xf3ns"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hr",t:{Actions:{v:["Radnje"]}}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{l:"id",t:{Actions:{v:["Tindakan"]}}},{l:"is",t:{Actions:{v:["A\xf0ger\xf0ir"]}}},{l:"it",t:{Actions:{v:["Azioni"]}}},{l:"ja",t:{Actions:{v:["操作"]}}},{l:"ja-JP",t:{Actions:{v:["操作"]}}},{l:"ko",t:{Actions:{v:["동작"]}}},{l:"lo",t:{Actions:{v:["ການກະທຳ"]}}},{l:"lt-LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{l:"pt-BR",t:{Actions:{v:["A\xe7\xf5es"]}}},{l:"pt-PT",t:{Actions:{v:["A\xe7\xf5es"]}}},{l:"ro",t:{Actions:{v:["Acțiuni"]}}},{l:"ru",t:{Actions:{v:["Действия "]}}},{l:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sv",t:{Actions:{v:["\xc5tg\xe4rder"]}}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"uz",t:{Actions:{v:["Harakatlar"]}}},{l:"zh-CN",t:{Actions:{v:["行为"]}}},{l:"zh-HK",t:{Actions:{v:["動作"]}}},{l:"zh-TW",t:{Actions:{v:["動作"]}}}],h=[{l:"ar",t:{Activities:{v:["سجل الأنشطة"]},"Animals & Nature":{v:["الحيوانات والطبيعة"]},Custom:{v:["مُخصَّص"]},"Dark skin tone":{v:["أسمر البُشرة"]},"Emoji picker":{v:["لاقط الإيموجي"]},Flags:{v:["الأعلام"]},"Food & Drink":{v:["الطعام والشراب"]},"Frequently used":{v:["شائعة الاستعمال"]},"Light skin tone":{v:["فاتح البُشرة"]},"Medium dark skin tone":{v:["بشرة متوسطة الاسمرار"]},"Medium light skin tone":{v:["بشرة متوسطة البياض"]},"Medium skin tone":{v:["بشرة وسطية اللون"]},"Neutral skin color":{v:["لون بُشرة طبيعي"]},Objects:{v:["أشياء"]},"People & Body":{v:["أشخاص و أجسام"]},"Pick an emoji":{v:["إختَر رمز إيموجي emoji"]},"Search emoji":{v:["البحث عن إيموجي emoji"]},"Search results":{v:["نتائج البحث"]},Selected:{v:["محدّدة"]},"Skin tone":{v:["لون البُشرة"]},"Smileys & Emotion":{v:["وجوهٌ ضاحكة و مشاعر"]},Symbols:{v:["رموز"]},"Travel & Places":{v:["سفر و أماكن"]}}},{l:"ast",t:{Activities:{v:["Actividaes"]},"Animals & Nature":{v:["Animales y natura"]},Custom:{v:["Personalizar"]},"Dark skin tone":{v:["Tonu d'aspeutu escuru"]},"Emoji picker":{v:["Selector de fustaxes"]},Flags:{v:["Banderes"]},"Food & Drink":{v:["C\xf3mida y b\xe9bora"]},"Frequently used":{v:["D'usu frecuente"]},"Light skin tone":{v:["Tonu d'aspeutu claru"]},"Medium dark skin tone":{v:["Tonu d'aspeutu medio escuru"]},"Medium light skin tone":{v:["Tonu d'aspeutu medio claru"]},"Medium skin tone":{v:["Tonu d'aspeutu mediu"]},"Neutral skin color":{v:["Color d'aspeutu neutral"]},Objects:{v:["Oxetos"]},"People & Body":{v:["Persones y cuerpu"]},"Pick an emoji":{v:["Escueyi un fustaxe"]},"Search emoji":{v:["Buscar nos fustaxes"]},"Search results":{v:["Resultaos de la busca"]},Selected:{v:["Na seleici\xf3n"]},"Skin tone":{v:["Tonu d'aspeutu"]},"Smileys & Emotion":{v:["Sorrises y emociones"]},Symbols:{v:["S\xedmbolos"]},"Travel & Places":{v:["Viaxes y llugares"]}}},{l:"br",t:{Activities:{v:["Oberiantizo\xf9"]},"Animals & Nature":{v:["Loened & Natur"]},Custom:{v:["Personela\xf1"]},Flags:{v:["Bannielo\xf9"]},"Food & Drink":{v:["Boued & Evajo\xf9"]},"Frequently used":{v:["Implijet alies"]},Objects:{v:["Trao\xf9"]},"People & Body":{v:["Tud & Korf"]},"Pick an emoji":{v:["Choaz un emoji"]},"Search results":{v:["Disoc'ho\xf9 an enklask"]},"Smileys & Emotion":{v:["Smileyio\xf9 & Fromo\xf9"]},Symbols:{v:["Arouezio\xf9"]},"Travel & Places":{v:["Beaj & Lec'hio\xf9"]}}},{l:"ca",t:{Activities:{v:["Activitats"]},"Animals & Nature":{v:["Animals i natura"]},Custom:{v:["Personalitzat"]},Flags:{v:["Marques"]},"Food & Drink":{v:["Menjar i begudes"]},"Frequently used":{v:["Utilitzats recentment"]},Objects:{v:["Objectes"]},"People & Body":{v:["Persones i cos"]},"Pick an emoji":{v:["Trieu un emoji"]},"Search results":{v:["Resultats de cerca"]},"Smileys & Emotion":{v:["Cares i emocions"]},Symbols:{v:["S\xedmbols"]},"Travel & Places":{v:["Viatges i llocs"]}}},{l:"cs",t:{Activities:{v:["Aktivity"]},"Animals & Nature":{v:["Zv\xedřata a př\xedroda"]},Custom:{v:["Uživatelsky určen\xe9"]},"Dark skin tone":{v:["Tmav\xfd tělov\xfd t\xf3n"]},"Emoji picker":{v:["V\xfdběr emotikon"]},Flags:{v:["Př\xedznaky"]},"Food & Drink":{v:["J\xeddlo a pit\xed"]},"Frequently used":{v:["Často použ\xedvan\xe9"]},"Light skin tone":{v:["Světl\xfd tělov\xfd t\xf3n"]},"Medium dark skin tone":{v:["Středně tmav\xfd tělov\xfd t\xf3n"]},"Medium light skin tone":{v:["Středně světl\xfd tělov\xfd t\xf3n"]},"Medium skin tone":{v:["Středn\xed tělov\xfd t\xf3n"]},"Neutral skin color":{v:["Neutr\xe1ln\xed tělov\xe1 barva"]},Objects:{v:["Objekty"]},"People & Body":{v:["Lid\xe9 a tělo"]},"Pick an emoji":{v:["Vybrat emoji"]},"Search emoji":{v:["Hledat emoji"]},"Search results":{v:["V\xfdsledky hled\xe1n\xed"]},Selected:{v:["Vybr\xe1no"]},"Skin tone":{v:["Tělov\xfd t\xf3n"]},"Smileys & Emotion":{v:["\xdasměvy a emoce"]},Symbols:{v:["Symboly"]},"Travel & Places":{v:["Cestov\xe1n\xed a m\xedsta"]}}},{l:"cs-CZ",t:{Activities:{v:["Aktivity"]},"Animals & Nature":{v:["Zv\xedřata a př\xedroda"]},Custom:{v:["Uživatelsky určen\xe9"]},"Dark skin tone":{v:["Tmav\xfd tělov\xfd t\xf3n"]},"Emoji picker":{v:["V\xfdběr emotikon"]},Flags:{v:["Př\xedznaky"]},"Food & Drink":{v:["J\xeddlo a pit\xed"]},"Frequently used":{v:["Často použ\xedvan\xe9"]},"Light skin tone":{v:["Světl\xfd tělov\xfd t\xf3n"]},"Medium dark skin tone":{v:["Středně tmav\xfd tělov\xfd t\xf3n"]},"Medium light skin tone":{v:["Středně světl\xfd tělov\xfd t\xf3n"]},"Medium skin tone":{v:["Středn\xed tělov\xfd t\xf3n"]},"Neutral skin color":{v:["Neutř\xe1ln\xed tělov\xe1 barva"]},Objects:{v:["Objekty"]},"People & Body":{v:["Lid\xe9 a tělo"]},"Pick an emoji":{v:["Vybrat emoji"]},"Search emoji":{v:["Hledat emoji"]},"Search results":{v:["V\xfdsledky hled\xe1n\xed"]},Selected:{v:["Vybr\xe1no"]},"Skin tone":{v:["Tělov\xfd t\xf3n"]},"Smileys & Emotion":{v:["\xdasměvy a emoce"]},Symbols:{v:["Symboly"]},"Travel & Places":{v:["Cestov\xe1n\xed a m\xedsta"]}}},{l:"da",t:{Activities:{v:["Aktiviteter"]},"Animals & Nature":{v:["Dyr & Natur"]},Custom:{v:["Brugerdefineret"]},"Dark skin tone":{v:["M\xf8rk skin tone"]},"Emoji picker":{v:["Emoji v\xe6lger"]},Flags:{v:["Flag"]},"Food & Drink":{v:["Mad & Drikke"]},"Frequently used":{v:["Ofte brugt"]},"Light skin tone":{v:["Lys skin tone"]},"Medium dark skin tone":{v:["Medium m\xf8rk skin tone"]},"Medium light skin tone":{v:["Medium lys skin tone"]},"Medium skin tone":{v:["Medium skin tone"]},"Neutral skin color":{v:["Neutral skin color"]},Objects:{v:["Objekter"]},"People & Body":{v:["Mennesker & Menneskekroppen"]},"Pick an emoji":{v:["V\xe6lg en emoji"]},"Search emoji":{v:["S\xf8g emoji"]},"Search results":{v:["S\xf8geresultater"]},Selected:{v:["Valgt"]},"Skin tone":{v:["Skin tone"]},"Smileys & Emotion":{v:["Smileys & Emotion"]},Symbols:{v:["Symboler"]},"Travel & Places":{v:["Rejser & Rejsem\xe5l"]}}},{l:"de",t:{Activities:{v:["Aktivit\xe4ten"]},"Animals & Nature":{v:["Tiere & Natur"]},Custom:{v:["Benutzerdefiniert"]},"Dark skin tone":{v:["Dunkler Hautfarbton"]},"Emoji picker":{v:["Emoji-Auswahl"]},Flags:{v:["Flaggen"]},"Food & Drink":{v:["Essen & Trinken"]},"Frequently used":{v:["H\xe4ufig verwendet"]},"Light skin tone":{v:["Heller Hautfarbton"]},"Medium dark skin tone":{v:["Mitteldunkler Hautfarbton"]},"Medium light skin tone":{v:["Mittelheller Hautfarbton"]},"Medium skin tone":{v:["Mittlerer Hautfarbton"]},"Neutral skin color":{v:["Neutraler Hautfarbton"]},Objects:{v:["Objekte"]},"People & Body":{v:["Menschen & K\xf6rper"]},"Pick an emoji":{v:["Ein Emoji ausw\xe4hlen"]},"Search emoji":{v:["Emoji suchen"]},"Search results":{v:["Suchergebnisse"]},Selected:{v:["Ausgew\xe4hlt"]},"Skin tone":{v:["Hautfarbton"]},"Smileys & Emotion":{v:["Smileys & Emotionen"]},Symbols:{v:["Symbole"]},"Travel & Places":{v:["Reisen & Orte"]}}},{l:"de-DE",t:{Activities:{v:["Aktivit\xe4ten"]},"Animals & Nature":{v:["Tiere & Natur"]},Custom:{v:["Benutzerdefiniert"]},"Dark skin tone":{v:["Dunkler Hautfarbton"]},"Emoji picker":{v:["Emoji-Auswahl"]},Flags:{v:["Flaggen"]},"Food & Drink":{v:["Essen & Trinken"]},"Frequently used":{v:["H\xe4ufig verwendet"]},"Light skin tone":{v:["Heller Hautfarbton"]},"Medium dark skin tone":{v:["Mitteldunkler Hautfarbton"]},"Medium light skin tone":{v:["Mittelheller Hautfarbton"]},"Medium skin tone":{v:["Mittlerer Hautfarbton"]},"Neutral skin color":{v:["Neutraler Hautfarbton"]},Objects:{v:["Objekte"]},"People & Body":{v:["Menschen & K\xf6rper"]},"Pick an emoji":{v:["Ein Emoji ausw\xe4hlen"]},"Search emoji":{v:["Emoji suchen"]},"Search results":{v:["Suchergebnisse"]},Selected:{v:["Ausgew\xe4hlt"]},"Skin tone":{v:["Hautfarbton"]},"Smileys & Emotion":{v:["Smileys & Emotionen"]},Symbols:{v:["Symbole"]},"Travel & Places":{v:["Reisen & Orte"]}}},{l:"el",t:{Activities:{v:["Δραστηριότητες"]},"Animals & Nature":{v:["Ζώα & Φύση"]},Custom:{v:["Προσαρμογή"]},"Dark skin tone":{v:["Σκούρο θέμα"]},"Emoji picker":{v:["Επιλογέας emoji"]},Flags:{v:["Σημαίες"]},"Food & Drink":{v:["Φαγητό & Ποτό"]},"Frequently used":{v:["Συχνά χρησιμοποιούμενο"]},"Light skin tone":{v:["Ανοιχτό θέμα"]},"Medium dark skin tone":{v:["Μέτριο σκούρο θέμα"]},"Medium light skin tone":{v:["Μέτριο ανοιχτό θέμα"]},"Medium skin tone":{v:["Μέτριος τόνος θέματος"]},"Neutral skin color":{v:["Ουδέτερο χρώμα θέματος"]},Objects:{v:["Αντικείμενα"]},"People & Body":{v:["Άνθρωποι & Σώμα"]},"Pick an emoji":{v:["Επιλέξτε ένα emoji"]},"Search emoji":{v:["Αναζήτηση emoji"]},"Search results":{v:["Αποτελέσματα αναζήτησης"]},Selected:{v:["Επιλεγμένο"]},"Skin tone":{v:["Τόνος δέρματος"]},"Smileys & Emotion":{v:["Φατσούλες & Συναίσθημα"]},Symbols:{v:["Σύμβολα"]},"Travel & Places":{v:["Ταξίδια & Τοποθεσίες"]}}},{l:"en-GB",t:{Activities:{v:["Activities"]},"Animals & Nature":{v:["Animals & Nature"]},Custom:{v:["Custom"]},"Dark skin tone":{v:["Dark skin tone"]},"Emoji picker":{v:["Emoji picker"]},Flags:{v:["Flags"]},"Food & Drink":{v:["Food & Drink"]},"Frequently used":{v:["Frequently used"]},"Light skin tone":{v:["Light skin tone"]},"Medium dark skin tone":{v:["Medium dark skin tone"]},"Medium light skin tone":{v:["Medium light skin tone"]},"Medium skin tone":{v:["Medium skin tone"]},"Neutral skin color":{v:["Neutral skin colour"]},Objects:{v:["Objects"]},"People & Body":{v:["People & Body"]},"Pick an emoji":{v:["Pick an emoji"]},"Search emoji":{v:["Search emoji"]},"Search results":{v:["Search results"]},Selected:{v:["Selected"]},"Skin tone":{v:["Skin tone"]},"Smileys & Emotion":{v:["Smileys & Emotion"]},Symbols:{v:["Symbols"]},"Travel & Places":{v:["Travel & Places"]}}},{l:"eo",t:{Activities:{v:["Aktiveco"]},"Animals & Nature":{v:["Bestoj & Naturo"]},Custom:{v:["Propra"]},Flags:{v:["Flagoj"]},"Food & Drink":{v:["Manĝaĵo & Trinkaĵo"]},"Frequently used":{v:["Ofte uzataj"]},Objects:{v:["Objektoj"]},"People & Body":{v:["Homoj & Korpo"]},"Pick an emoji":{v:["Elekti emoĝion "]},"Search results":{v:["Serĉrezultoj"]},"Smileys & Emotion":{v:["Ridoj kaj Emocioj"]},Symbols:{v:["Signoj"]},"Travel & Places":{v:["Vojaĵoj & Lokoj"]}}},{l:"es",t:{Activities:{v:["Actividades"]},"Animals & Nature":{v:["Animales y naturaleza"]},Custom:{v:["Personalizado"]},"Dark skin tone":{v:["Tono de piel obscuro"]},"Emoji picker":{v:["Selector de emojis"]},Flags:{v:["Banderas"]},"Food & Drink":{v:["Comida y bebida"]},"Frequently used":{v:["Usado con frecuencia"]},"Light skin tone":{v:["Tono de piel claro"]},"Medium dark skin tone":{v:["Tono de piel medio oscuro"]},"Medium light skin tone":{v:["Tono de piel medio claro"]},"Medium skin tone":{v:["Tono de piel medio"]},"Neutral skin color":{v:["Color de piel neutral"]},Objects:{v:["Objetos"]},"People & Body":{v:["Personas y Cuerpo"]},"Pick an emoji":{v:["Elegir un emoji"]},"Search emoji":{v:["Buscar emoji"]},"Search results":{v:["Resultados de la b\xfasqueda"]},Selected:{v:["Seleccionado"]},"Skin tone":{v:["Tono de piel"]},"Smileys & Emotion":{v:["Smileys y emoticonos"]},Symbols:{v:["S\xedmbolos"]},"Travel & Places":{v:["Viajes y lugares"]}}},{l:"es-AR",t:{Activities:{v:["Actividades"]},"Animals & Nature":{v:["Animales y Naturaleza"]},Custom:{v:["Personalizado"]},"Dark skin tone":{v:["Tono de piel oscuro"]},"Emoji picker":{v:["Selector de emojis"]},Flags:{v:["Marcas"]},"Food & Drink":{v:["Comida y Bebida"]},"Frequently used":{v:["Usados frecuentemente"]},"Light skin tone":{v:["Tono de piel claro"]},"Medium dark skin tone":{v:["Tono de piel medio oscuro"]},"Medium light skin tone":{v:["Tono de piel medio claro"]},"Medium skin tone":{v:["Tono de piel medio"]},"Neutral skin color":{v:["Color de piel neutral"]},Objects:{v:["Objetos"]},"People & Body":{v:["Personas y Cuerpo"]},"Pick an emoji":{v:["Elija un emoji"]},"Search emoji":{v:["Buscar emoji"]},"Search results":{v:["Resultados de la b\xfasqueda"]},Selected:{v:["Seleccionado"]},"Skin tone":{v:["Tono de piel"]},"Smileys & Emotion":{v:["Caritas y Emociones"]},Symbols:{v:["S\xedmbolos"]},"Travel & Places":{v:["Viajes y Lugares"]}}},{l:"es-EC",t:{Activities:{v:["Actividades"]},"Animals & Nature":{v:["Animales y Naturaleza"]},Custom:{v:["Personalizado"]},Flags:{v:["Marcas"]},"Food & Drink":{v:["Comida y Bebida"]},"Frequently used":{v:["Frecuentemente utilizado"]},Objects:{v:["Objetos"]},"People & Body":{v:["Personas y Cuerpo"]},"Pick an emoji":{v:["Seleccionar un emoji"]},"Search emoji":{v:["Buscar emoji"]},"Search results":{v:["Resultados de b\xfasqueda"]},"Smileys & Emotion":{v:["Caritas y Emociones"]},Symbols:{v:["S\xedmbolos"]},"Travel & Places":{v:["Viajes y Lugares"]}}},{l:"es-MX",t:{Activities:{v:["Actividades"]},"Animals & Nature":{v:["Animales y naturaleza"]},Custom:{v:["Personalizado"]},"Dark skin tone":{v:["Tono de piel oscuro"]},"Emoji picker":{v:["Selector de emojis"]},Flags:{v:["Banderas"]},"Food & Drink":{v:["Comida y Bebida"]},"Frequently used":{v:["Usado frecuentemente"]},"Light skin tone":{v:["Tono de piel claro"]},"Medium dark skin tone":{v:["Tono de piel medio oscuro"]},"Medium light skin tone":{v:["Tono de piel medio claro"]},"Medium skin tone":{v:["Tono de piel medio"]},"Neutral skin color":{v:["Color de piel neutral"]},Objects:{v:["Objetos"]},"People & Body":{v:["Personas y cuerpos"]},"Pick an emoji":{v:["Seleccionar un emoji"]},"Search emoji":{v:["Buscar emoji"]},"Search results":{v:["Resultados de la b\xfasqueda"]},Selected:{v:["Seleccionado"]},"Skin tone":{v:["Tono de piel"]},"Smileys & Emotion":{v:["Caritas y Emociones"]},Symbols:{v:["S\xedmbolos"]},"Travel & Places":{v:["Viajes y lugares"]}}},{l:"et-EE",t:{Activities:{v:["Tegevused"]},"Animals & Nature":{v:["Loomad ja loodus"]},Custom:{v:["Kohanda"]},"Dark skin tone":{v:["Kesta tume toon"]},"Emoji picker":{v:["Emojide valija"]},Flags:{v:["Lipud"]},"Food & Drink":{v:["S\xf6\xf6k ja jook"]},"Frequently used":{v:["Sageli kasutatud"]},"Light skin tone":{v:["Kesta hele toon"]},"Medium dark skin tone":{v:["Kesta keskmiselt tume toon"]},"Medium light skin tone":{v:["Kesta keskmiselt hele toon"]},"Medium skin tone":{v:["Kesta keskmine toon"]},"Neutral skin color":{v:["Kesta neutraalne toon"]},Objects:{v:["Objektid"]},"People & Body":{v:["Inimesed ja keha"]},"Pick an emoji":{v:["Vali emoji"]},"Search emoji":{v:["Otsi emojit"]},"Search results":{v:["Otsi tulemustest"]},Selected:{v:["Valitud"]},"Skin tone":{v:["Kesta toon"]},"Smileys & Emotion":{v:["Smailid ja emotsioonid"]},Symbols:{v:["S\xfcmbolid"]},"Travel & Places":{v:["Reisimine ja kohad"]}}},{l:"eu",t:{Activities:{v:["Jarduerak"]},"Animals & Nature":{v:["Animaliak eta Natura"]},Custom:{v:["Pertsonalizatua"]},Flags:{v:["Banderak"]},"Food & Drink":{v:["Janaria eta edariak"]},"Frequently used":{v:["Askotan erabilia"]},Objects:{v:["Objektuak"]},"People & Body":{v:["Jendea eta gorputza"]},"Pick an emoji":{v:["Hautatu emoji bat"]},"Search emoji":{v:["Bilatu emojiak"]},"Search results":{v:["Bilaketa emaitzak"]},Selected:{v:["Hautatuta"]},"Smileys & Emotion":{v:["Smileyak eta emozioa"]},Symbols:{v:["Sinboloak"]},"Travel & Places":{v:["Bidaiak eta lekuak"]}}},{l:"fa",t:{Activities:{v:["فعالیت‌ها"]},"Animals & Nature":{v:["حیوانات و طبیعت"]},Custom:{v:["سفارشی"]},"Dark skin tone":{v:["رنگ پوسته تیره"]},"Emoji picker":{v:["انتخاب‌گر شکلک"]},Flags:{v:["پرچم‌ها"]},"Food & Drink":{v:["غذا و نوشیدنی"]},"Frequently used":{v:["پرکاربرد"]},"Light skin tone":{v:["رنگ پوسته روشن"]},"Medium dark skin tone":{v:["رنگ پوسته تیره متوسط"]},"Medium light skin tone":{v:["رنگ پوسته روشن متوسط"]},"Medium skin tone":{v:["رنگ پوسته متوسط"]},"Neutral skin color":{v:["رنگ پوسته خنثی"]},Objects:{v:["اشیاء"]},"People & Body":{v:["مردم و بدن"]},"Pick an emoji":{v:["انتخاب شکلک"]},"Search emoji":{v:["جستجوی شکلک"]},"Search results":{v:["نتایج جستجو"]},Selected:{v:["انتخاب شده"]},"Skin tone":{v:["رنگ پوسته"]},"Smileys & Emotion":{v:["شکلک‌ها و احساسات"]},Symbols:{v:["نمادها"]},"Travel & Places":{v:["سفر و مکان‌ها"]}}},{l:"fi",t:{Activities:{v:["Aktiviteetit"]},"Animals & Nature":{v:["El\xe4imet & luonto"]},Custom:{v:["Mukautettu"]},"Dark skin tone":{v:["Tumma ihonv\xe4ri"]},"Emoji picker":{v:["Emojivalitsin"]},Flags:{v:["Liput"]},"Food & Drink":{v:["Ruoka & juoma"]},"Frequently used":{v:["Usein k\xe4ytetyt"]},"Light skin tone":{v:["Vaalea ihonv\xe4ri"]},"Medium dark skin tone":{v:["Keskitumma ihonv\xe4ri"]},"Medium light skin tone":{v:["Keskivaalea ihonv\xe4ri"]},"Medium skin tone":{v:["Keskim\xe4\xe4r\xe4inen ihonv\xe4ri"]},"Neutral skin color":{v:["Neutraali ihonv\xe4ri"]},Objects:{v:["Esineet & asiat"]},"People & Body":{v:["Ihmiset & keho"]},"Pick an emoji":{v:["Valitse emoji"]},"Search emoji":{v:["Etsi emojia"]},"Search results":{v:["Hakutulokset"]},Selected:{v:["Valittu"]},"Skin tone":{v:["Ihonv\xe4ri"]},"Smileys & Emotion":{v:["Hymi\xf6t & tunteet"]},Symbols:{v:["Symbolit"]},"Travel & Places":{v:["Matkustus & kohteet"]}}},{l:"fr",t:{Activities:{v:["Activit\xe9s"]},"Animals & Nature":{v:["Animaux & Nature"]},Custom:{v:["Personnalis\xe9"]},"Dark skin tone":{v:["Teint de peau fonc\xe9"]},"Emoji picker":{v:["S\xe9lecteur d'\xe9mojis"]},Flags:{v:["Drapeaux"]},"Food & Drink":{v:["Nourriture & Boissons"]},"Frequently used":{v:["Utilis\xe9s fr\xe9quemment"]},"Light skin tone":{v:["Teint de peau clair"]},"Medium dark skin tone":{v:["Teint de peau moyennement fonc\xe9"]},"Medium light skin tone":{v:["Teint de peau moyennement clair"]},"Medium skin tone":{v:["Teint de peau moyen"]},"Neutral skin color":{v:["Teint de peau neutre"]},Objects:{v:["Objets"]},"People & Body":{v:["Personnes & Corps"]},"Pick an emoji":{v:["Choisissez un \xe9moji"]},"Search emoji":{v:["Rechercher un emoji"]},"Search results":{v:["R\xe9sultats de recherche"]},Selected:{v:["s\xe9lectionn\xe9"]},"Skin tone":{v:["Teint de peau"]},"Smileys & Emotion":{v:["Smileys & \xc9motions"]},Symbols:{v:["Symboles"]},"Travel & Places":{v:["Voyage & Lieux"]}}},{l:"ga",t:{Activities:{v:["Gn\xedomha\xedochta\xed"]},"Animals & Nature":{v:["Ainmhithe & D\xfalra"]},Custom:{v:["Saincheaptha"]},"Dark skin tone":{v:["Ton craiceann dorcha"]},"Emoji picker":{v:["Roghn\xf3ir Emoji"]},Flags:{v:["Bratacha"]},"Food & Drink":{v:["Bia & Deoch"]},"Frequently used":{v:["\xdas\xe1idtear go minic"]},"Light skin tone":{v:["Ton craiceann \xe9adrom"]},"Medium dark skin tone":{v:["Ton craiceann me\xe1nach dorcha"]},"Medium light skin tone":{v:["Ton craiceann me\xe1nach \xe9adrom"]},"Medium skin tone":{v:["Ton craiceann me\xe1nach"]},"Neutral skin color":{v:["Dath craiceann neodrach"]},Objects:{v:["R\xe9ada"]},"People & Body":{v:["Daoine & Corp"]},"Pick an emoji":{v:["Roghnaigh emoji"]},"Search emoji":{v:["Cuardaigh emoji"]},"Search results":{v:["Tortha\xed cuardaigh"]},Selected:{v:["Roghnaithe"]},"Skin tone":{v:["Ton craicinn"]},"Smileys & Emotion":{v:["Smileys & Moth\xfach\xe1n"]},Symbols:{v:["Siombail\xed"]},"Travel & Places":{v:["Taisteal & \xc1iteanna"]}}},{l:"gl",t:{Activities:{v:["Actividades"]},"Animals & Nature":{v:["Animais e natureza"]},Custom:{v:["Personalizado"]},"Dark skin tone":{v:["Ton de pel escuro"]},"Emoji picker":{v:["Selector de \xabemojis\xbb"]},Flags:{v:["Bandeiras"]},"Food & Drink":{v:["Comida e bebida"]},"Frequently used":{v:["Usado con frecuencia"]},"Light skin tone":{v:["Ton de pel claro"]},"Medium dark skin tone":{v:["Ton de pel medio escuro"]},"Medium light skin tone":{v:["Ton de pel medio claro"]},"Medium skin tone":{v:["Ton de pel medio"]},"Neutral skin color":{v:["Cor de pel neutra"]},Objects:{v:["Obxectos"]},"People & Body":{v:["Persoas e corpo"]},"Pick an emoji":{v:["Escolla un \xabemoji\xbb"]},"Search emoji":{v:["Buscar \xabemoji\xbb"]},"Search results":{v:["Resultados da busca"]},Selected:{v:["Seleccionado"]},"Skin tone":{v:["Ton de pel"]},"Smileys & Emotion":{v:["Sorrisos e emoci\xf3ns"]},Symbols:{v:["S\xedmbolos"]},"Travel & Places":{v:["Viaxes e lugares"]}}},{l:"he",t:{Activities:{v:["פעילויות"]},"Animals & Nature":{v:["חיות וטבע"]},Custom:{v:["בהתאמה אישית"]},Flags:{v:["דגלים"]},"Food & Drink":{v:["מזון ומשקאות"]},"Frequently used":{v:["בשימוש תדיר"]},Objects:{v:["חפצים"]},"People & Body":{v:["אנשים וגוף"]},"Pick an emoji":{v:["נא לבחור אמוג׳י"]},"Search emoji":{v:["חיפוש אמוג׳י"]},"Search results":{v:["תוצאות חיפוש"]},"Smileys & Emotion":{v:["חייכנים ורגשונים"]},Symbols:{v:["סמלים"]},"Travel & Places":{v:["טיולים ומקומות"]}}},{l:"hr",t:{Activities:{v:["Aktivnosti"]},"Animals & Nature":{v:["Životinje i priroda"]},Custom:{v:["Prlagođeno"]},"Dark skin tone":{v:["Tamna nijansa"]},"Emoji picker":{v:["Odabir emojija"]},Flags:{v:["Zastavice"]},"Food & Drink":{v:["Hrana i piće"]},"Frequently used":{v:["Često korišteno"]},"Light skin tone":{v:["Svjetla nijansa"]},"Medium dark skin tone":{v:["Srednje tamna nijansa"]},"Medium light skin tone":{v:["Srednje svjetla nijansa"]},"Medium skin tone":{v:["Srednja nijansa"]},"Neutral skin color":{v:["Neutralna nijansa"]},Objects:{v:["Objekti"]},"People & Body":{v:["Ljudi i tijelo"]},"Pick an emoji":{v:["Odaberi emoji"]},"Search emoji":{v:["Traži emoji"]},"Search results":{v:["Rezultati pretraživanja"]},Selected:{v:["Odabrano"]},"Skin tone":{v:["Nijansa"]},"Smileys & Emotion":{v:["Smajlići i emocije"]},Symbols:{v:["Simboli"]},"Travel & Places":{v:["Putovanja i mjesta"]}}},{l:"hu",t:{Activities:{v:["Tev\xe9kenys\xe9gek"]},"Animals & Nature":{v:["\xc1llatok \xe9s term\xe9szet"]},Custom:{v:["Egy\xe9ni"]},Flags:{v:["Z\xe1szl\xf3k"]},"Food & Drink":{v:["\xc9tel \xe9s ital"]},"Frequently used":{v:["Gyakran haszn\xe1lt"]},Objects:{v:["T\xe1rgyak"]},"People & Body":{v:["Emberek \xe9s test"]},"Pick an emoji":{v:["V\xe1lasszon egy emodzsit"]},"Search results":{v:["Tal\xe1latok"]},"Smileys & Emotion":{v:["Mosolyok \xe9s \xe9rzelmek"]},Symbols:{v:["Szimb\xf3lumok"]},"Travel & Places":{v:["Utaz\xe1s \xe9s helyek"]}}},{l:"id",t:{Activities:{v:["Aktivitas"]},"Animals & Nature":{v:["Satwa dan Alam"]},Custom:{v:["Khusus"]},"Dark skin tone":{v:["Warna kulit gelap"]},"Emoji picker":{v:["Pemilih emoji"]},Flags:{v:["Tanda"]},"Food & Drink":{v:["Makanan dan Minuman"]},"Frequently used":{v:["Sering digunakan"]},"Light skin tone":{v:["Warna kulit terang"]},"Medium dark skin tone":{v:["Warna kulit sedang gelap"]},"Medium light skin tone":{v:["Warna kulit sedang terang"]},"Medium skin tone":{v:["Warna kulit sedang"]},"Neutral skin color":{v:["Warna kulit netral"]},Objects:{v:["Objek"]},"People & Body":{v:["Orang & Badan"]},"Pick an emoji":{v:["Pilih emoji"]},"Search emoji":{v:["Cari emoji"]},"Search results":{v:["Hasil pencarian"]},Selected:{v:["Dipilih"]},"Skin tone":{v:["Warna kulit"]},"Smileys & Emotion":{v:["Senyuman & Perasaan"]},Symbols:{v:["Simbol"]},"Travel & Places":{v:["Perjalanan & Tempat"]}}},{l:"is",t:{Activities:{v:["A\xf0ger\xf0ir"]},"Animals & Nature":{v:["D\xfdr og n\xe1tt\xfara"]},Custom:{v:["S\xe9rsni\xf0i\xf0"]},"Dark skin tone":{v:["D\xf6kkur h\xfa\xf0litur"]},"Emoji picker":{v:["Emoji-t\xe1knmyndaval"]},Flags:{v:["Fl\xf6gg"]},"Food & Drink":{v:["Matur og drykkur"]},"Frequently used":{v:["Oftast nota\xf0"]},"Light skin tone":{v:["Lj\xf3s h\xfa\xf0litur"]},"Medium dark skin tone":{v:["Me\xf0ald\xf6kkur h\xfa\xf0litur"]},"Medium light skin tone":{v:["Me\xf0allj\xf3s h\xfa\xf0litur"]},"Medium skin tone":{v:["Me\xf0alt\xf3nn h\xfa\xf0ar"]},"Neutral skin color":{v:["Hlutlaus h\xfa\xf0litur"]},Objects:{v:["Hlutir"]},"People & Body":{v:["F\xf3lk og l\xedkami"]},"Pick an emoji":{v:["Veldu tj\xe1ningart\xe1kn"]},"Search emoji":{v:["Leita a\xf0 tj\xe1ningart\xe1kni"]},"Search results":{v:["Leitarni\xf0urst\xf6\xf0ur"]},Selected:{v:["Vali\xf0"]},"Skin tone":{v:["H\xfa\xf0litur"]},"Smileys & Emotion":{v:["Broskallar og tilfinningar"]},Symbols:{v:["T\xe1kn"]},"Travel & Places":{v:["Sta\xf0ir og fer\xf0al\xf6g"]}}},{l:"it",t:{Activities:{v:["Attivit\xe0"]},"Animals & Nature":{v:["Animali e natura"]},Custom:{v:["Personalizzato"]},Flags:{v:["Bandiere"]},"Food & Drink":{v:["Cibo e bevande"]},"Frequently used":{v:["Usati di frequente"]},Objects:{v:["Oggetti"]},"People & Body":{v:["Persone e corpo"]},"Pick an emoji":{v:["Scegli un emoji"]},"Search emoji":{v:["Ricerca emoji"]},"Search results":{v:["Risultati di ricerca"]},Selected:{v:["Selezionato"]},"Smileys & Emotion":{v:["Faccine ed emozioni"]},Symbols:{v:["Simboli"]},"Travel & Places":{v:["Viaggi e luoghi"]}}},{l:"ja",t:{Activities:{v:["アクティビティ"]},"Animals & Nature":{v:["動物と自然"]},Custom:{v:["カスタム"]},"Dark skin tone":{v:["暗い肌のトーン"]},"Emoji picker":{v:["絵文字ピッカー"]},Flags:{v:["国旗"]},"Food & Drink":{v:["食べ物と飲み物"]},"Frequently used":{v:["よく使うもの"]},"Light skin tone":{v:["明るい肌のトーン"]},"Medium dark skin tone":{v:["やや暗い肌のトーン"]},"Medium light skin tone":{v:["やや明るい肌のトーン"]},"Medium skin tone":{v:["中間の肌のトーン"]},"Neutral skin color":{v:["ニュートラルな肌の色"]},Objects:{v:["物"]},"People & Body":{v:["様々な人と体の部位"]},"Pick an emoji":{v:["絵文字を選択"]},"Search emoji":{v:["絵文字を検索"]},"Search results":{v:["検索結果"]},Selected:{v:["選択済み"]},"Skin tone":{v:["肌のトーン"]},"Smileys & Emotion":{v:["感情表現"]},Symbols:{v:["記号"]},"Travel & Places":{v:["旅行と場所"]}}},{l:"ja-JP",t:{Activities:{v:["アクティビティ"]},"Animals & Nature":{v:["動物と自然"]},Custom:{v:["カスタム"]},"Dark skin tone":{v:["暗い肌のトーン"]},"Emoji picker":{v:["絵文字ピッカー"]},Flags:{v:["国旗"]},"Food & Drink":{v:["食べ物と飲み物"]},"Frequently used":{v:["よく使うもの"]},"Light skin tone":{v:["明るい肌のトーン"]},"Medium dark skin tone":{v:["やや暗い肌のトーン"]},"Medium light skin tone":{v:["やや明るい肌のトーン"]},"Medium skin tone":{v:["中間の肌のトーン"]},"Neutral skin color":{v:["ニュートラルな肌の色"]},Objects:{v:["物"]},"People & Body":{v:["様々な人と体の部位"]},"Pick an emoji":{v:["絵文字を選択"]},"Search emoji":{v:["絵文字を検索"]},"Search results":{v:["検索結果"]},Selected:{v:["選択済み"]},"Skin tone":{v:["肌のトーン"]},"Smileys & Emotion":{v:["感情表現"]},Symbols:{v:["記号"]},"Travel & Places":{v:["旅行と場所"]}}},{l:"ko",t:{Activities:{v:["활동"]},"Animals & Nature":{v:["동물 & 자연"]},Custom:{v:["맞춤 설정"]},"Dark skin tone":{v:["어두운 피부 톤"]},"Emoji picker":{v:["이모지 선택기"]},Flags:{v:["깃발"]},"Food & Drink":{v:["음식 & 음료"]},"Frequently used":{v:["자주 쓰임"]},"Light skin tone":{v:["밝은 피부 톤"]},"Medium dark skin tone":{v:["약간 어두운 피부 톤"]},"Medium light skin tone":{v:["약간 밝은 피부 톤"]},"Medium skin tone":{v:["중간 피부 톤"]},"Neutral skin color":{v:["중성적 피부 톤"]},Objects:{v:["물체"]},"People & Body":{v:["사람 & 신체"]},"Pick an emoji":{v:["이모지 선택"]},"Search emoji":{v:["이모지 검색"]},"Search results":{v:["검색 결과"]},Selected:{v:["선택됨"]},"Skin tone":{v:["피부 톤"]},"Smileys & Emotion":{v:["스마일리 & 이모티콘"]},Symbols:{v:["기호"]},"Travel & Places":{v:["여행 & 장소"]}}},{l:"lo",t:{Activities:{v:["ກິດຈະກຳ"]},"Animals & Nature":{v:["ສັດ ແລະ ທຳມະຊາດ"]},Custom:{v:["ກຳນົດເອງ"]},"Dark skin tone":{v:["ໂຕນສີຜິວເຂັ້ມ"]},"Emoji picker":{v:["ໂຕເລືອກອີໂມຈິ"]},Flags:{v:["ທຸງ"]},"Food & Drink":{v:["ອາຫານ ແລະ ເຄື່ອງດື່ມ"]},"Frequently used":{v:["ໃຊ້ງານເລື້ອຍໆ"]},"Light skin tone":{v:["ໂຕນສີຜິວອ່ອນ"]},"Medium dark skin tone":{v:["ໂຕນສີຜິວເຂັ້ມປານກາງ"]},"Medium light skin tone":{v:["ໂຕນສີຜິວອ່ອນປານກາງ"]},"Medium skin tone":{v:["ໂຕນສີຜິວປານກາງ"]},"Neutral skin color":{v:["ສີຜິວເປັນກາງ"]},Objects:{v:["ວັດຖຸ"]},"People & Body":{v:["ຄົນ ແລະ ຮ່າງກາຍ"]},"Pick an emoji":{v:["ເລືອກອີໂມຈິ"]},"Search emoji":{v:["ຄົ້ນຫາອີໂມຈິ"]},"Search results":{v:["ຜົນການຄົ້ນຫາ"]},Selected:{v:["ເລືອກແລ້ວ"]},"Skin tone":{v:["ໂຕນສີຜິວ"]},"Smileys & Emotion":{v:["ໜ້າຍິ້ມ ແລະ ອາລົມ"]},Symbols:{v:["ສັນຍາລັກ"]},"Travel & Places":{v:["ການເດີນທາງ ແລະ ສະຖານທີ່"]}}},{l:"lt-LT",t:{Activities:{v:["Veiklos"]},"Animals & Nature":{v:["Gyvūnai ir gamta"]},Custom:{v:["Tinkinti"]},Flags:{v:["Vėliavos"]},"Food & Drink":{v:["Maistas ir gėrimai"]},"Frequently used":{v:["Dažniausiai naudoti"]},Objects:{v:["Objektai"]},"People & Body":{v:["Žmonės ir kūnas"]},"Pick an emoji":{v:["Pasirinkti jaustuką"]},"Search results":{v:["Paieškos rezultatai"]},"Smileys & Emotion":{v:["Šypsenos ir emocijos"]},Symbols:{v:["Simboliai"]},"Travel & Places":{v:["Kelionės ir vietos"]}}},{l:"lv",t:{}},{l:"mk",t:{Activities:{v:["Активности"]},"Animals & Nature":{v:["Животни & Природа"]},Custom:{v:["Прилагодени"]},"Dark skin tone":{v:["Темна боја на кожа"]},"Emoji picker":{v:["Избор на emoji"]},Flags:{v:["Знамиња"]},"Food & Drink":{v:["Храна & Пијалоци"]},"Frequently used":{v:["Најчесто користени"]},"Light skin tone":{v:["Светла кожа"]},"Medium dark skin tone":{v:["Средно темна кожа"]},"Medium light skin tone":{v:["Средно светла кожа"]},"Medium skin tone":{v:["Средна кожа"]},"Neutral skin color":{v:["Неутрална боја на кожа"]},Objects:{v:["Објекти"]},"People & Body":{v:["Луѓе & Тело"]},"Pick an emoji":{v:["Избери емотикон"]},"Search emoji":{v:["Барај emoji"]},"Search results":{v:["Резултати од барувањето"]},Selected:{v:["Избрано"]},"Skin tone":{v:["Боја на кожа"]},"Smileys & Emotion":{v:["Смешковци & Емотикони"]},Symbols:{v:["Симболи"]},"Travel & Places":{v:["Патувања & Места"]}}},{l:"my",t:{Activities:{v:["ပြုလုပ်ဆောင်တာများ"]},"Animals & Nature":{v:["တိရစ္ဆာန်များနှင့် သဘာဝ"]},Custom:{v:["အလိုကျချိန်ညှိမှု"]},Flags:{v:["အလံများ"]},"Food & Drink":{v:["အစားအသောက်"]},"Frequently used":{v:["မကြာခဏအသုံးပြုသော"]},Objects:{v:["အရာဝတ္ထုများ"]},"People & Body":{v:["လူပုဂ္ဂိုလ်များနှင့် ခန္ဓာကိုယ်"]},"Pick an emoji":{v:["အီမိုဂျီရွေးရန်"]},"Search results":{v:["ရှာဖွေမှု ရလဒ်များ"]},"Smileys & Emotion":{v:["စမိုင်လီများနှင့် အီမိုရှင်း"]},Symbols:{v:["သင်္ကေတများ"]},"Travel & Places":{v:["ခရီးသွားလာခြင်းနှင့် နေရာများ"]}}},{l:"nb",t:{Activities:{v:["Aktiviteter"]},"Animals & Nature":{v:["Dyr og natur"]},Custom:{v:["Tilpasset"]},"Dark skin tone":{v:["M\xf8rk hudtone"]},"Emoji picker":{v:["Emoji-velger"]},Flags:{v:["Flagg"]},"Food & Drink":{v:["Mat og drikke"]},"Frequently used":{v:["Ofte brukt"]},"Light skin tone":{v:["Lys hudtone"]},"Medium dark skin tone":{v:["Middels m\xf8rk hudtone"]},"Medium light skin tone":{v:["Middels lys hudtone"]},"Medium skin tone":{v:["Middels hudtone"]},"Neutral skin color":{v:["N\xf8ytral hudfarge"]},Objects:{v:["Objekter"]},"People & Body":{v:["Mennesker og kropp"]},"Pick an emoji":{v:["Velg en emoji"]},"Search emoji":{v:["S\xf8k emoji"]},"Search results":{v:["S\xf8keresultater"]},Selected:{v:["Valgt"]},"Skin tone":{v:["Hudtone"]},"Smileys & Emotion":{v:["Smilefjes og f\xf8lelser"]},Symbols:{v:["Symboler"]},"Travel & Places":{v:["Reise og steder"]}}},{l:"nl",t:{Activities:{v:["Activiteiten"]},"Animals & Nature":{v:["Dieren & Natuur"]},Custom:{v:["Aangepast"]},"Dark skin tone":{v:["Donkere huidskleur"]},"Emoji picker":{v:["Emoji-kiezer"]},Flags:{v:["Vlaggen"]},"Food & Drink":{v:["Eten & Drinken"]},"Frequently used":{v:["Vaak gebruikt"]},"Light skin tone":{v:["Lichte huidskleur"]},"Medium dark skin tone":{v:["Gemiddeld donkere huidskleur"]},"Medium light skin tone":{v:["Gemiddeld lichte huidskleur"]},"Medium skin tone":{v:["Gemiddelde huidskleur"]},"Neutral skin color":{v:["Neutrale huidskleur"]},Objects:{v:["Objecten"]},"People & Body":{v:["Mensen & Lichaam"]},"Pick an emoji":{v:["Kies een emoji"]},"Search emoji":{v:["Emoji zoeken"]},"Search results":{v:["Zoekresultaten"]},Selected:{v:["Geselecteerd"]},"Skin tone":{v:["Huidskleur"]},"Smileys & Emotion":{v:["Smileys & Emotie"]},Symbols:{v:["Symbolen"]},"Travel & Places":{v:["Reizen & Plaatsen"]}}},{l:"oc",t:{}},{l:"pl",t:{Activities:{v:["Aktywność"]},"Animals & Nature":{v:["Zwierzęta i natura"]},Custom:{v:["Zwyczajne"]},"Dark skin tone":{v:["Ciemna tonacja"]},"Emoji picker":{v:["Wybierz Emoji"]},Flags:{v:["Flagi"]},"Food & Drink":{v:["Jedzenie i picie"]},"Frequently used":{v:["Często używane"]},"Light skin tone":{v:["Jasny odcień sk\xf3ry"]},"Medium dark skin tone":{v:["Średnio ciemny odcień sk\xf3ry"]},"Medium light skin tone":{v:["Średnio jasny odcień sk\xf3ry"]},"Medium skin tone":{v:["Średni odcień sk\xf3ry"]},"Neutral skin color":{v:["Neutralny kolor skr\xf3ry"]},Objects:{v:["Obiekty"]},"People & Body":{v:["Ludzie i ciało"]},"Pick an emoji":{v:["Wybierz emoji"]},"Search emoji":{v:["Szukaj emoji"]},"Search results":{v:["Wyniki wyszukiwania"]},Selected:{v:["Wybrane"]},"Skin tone":{v:["Kolor sk\xf3ry"]},"Smileys & Emotion":{v:["Buźki i emotikony"]},Symbols:{v:["Symbole"]},"Travel & Places":{v:["Podr\xf3że i miejsca"]}}},{l:"pt-BR",t:{Activities:{v:["Atividades"]},"Animals & Nature":{v:["Animais & Natureza"]},Custom:{v:["Personalizados"]},"Dark skin tone":{v:["Tom de pele escuro"]},"Emoji picker":{v:["Seletor de emoji"]},Flags:{v:["Bandeiras"]},"Food & Drink":{v:["Comida & Bebida"]},"Frequently used":{v:["Mais usados"]},"Light skin tone":{v:["Tom de pele claro"]},"Medium dark skin tone":{v:["Tom de pele meio escuro"]},"Medium light skin tone":{v:["Tom de pele meio claro"]},"Medium skin tone":{v:["Tom de pele m\xe9dio"]},"Neutral skin color":{v:["Tom de pele neutro"]},Objects:{v:["Objetos"]},"People & Body":{v:["Pessoas & Corpo"]},"Pick an emoji":{v:["Escolha um emoji"]},"Search emoji":{v:["Pesquisar emoji"]},"Search results":{v:["Resultados da pesquisa"]},Selected:{v:["Selecionado"]},"Skin tone":{v:["Tom de pele"]},"Smileys & Emotion":{v:["Smileys & Emo\xe7\xf5es"]},Symbols:{v:["S\xedmbolos"]},"Travel & Places":{v:["Viagem & Lugares"]}}},{l:"pt-PT",t:{Activities:{v:["Atividades"]},"Animals & Nature":{v:["Animais e Natureza"]},Custom:{v:["Personalizado"]},"Dark skin tone":{v:["Tom de pele escuro"]},"Emoji picker":{v:["seletor de emoji"]},Flags:{v:["Bandeiras"]},"Food & Drink":{v:["Comida e Bebida"]},"Frequently used":{v:["Mais utilizados"]},"Light skin tone":{v:["Tom de pele claro"]},"Medium dark skin tone":{v:["Tom de pele escuro m\xe9dio"]},"Medium light skin tone":{v:["Tom de pele claro m\xe9dio"]},"Medium skin tone":{v:["Tom de pele m\xe9dio"]},"Neutral skin color":{v:["Cor de pele neutra"]},Objects:{v:["Objetos"]},"People & Body":{v:["Pessoas e Corpo"]},"Pick an emoji":{v:["Escolha um emoji"]},"Search emoji":{v:["Pesquisar emoji"]},"Search results":{v:["Resultados da pesquisa"]},Selected:{v:["Selecionado"]},"Skin tone":{v:["Tom de pele"]},"Smileys & Emotion":{v:["Sorrisos e Emo\xe7\xf5es"]},Symbols:{v:["S\xedmbolos"]},"Travel & Places":{v:["Viagens e Lugares"]}}},{l:"ro",t:{Activities:{v:["Activități"]},"Animals & Nature":{v:["Animale și natură"]},Custom:{v:["Personalizat"]},Flags:{v:["Marcaje"]},"Food & Drink":{v:["Alimente și băuturi"]},"Frequently used":{v:["Utilizate frecvent"]},Objects:{v:["Obiecte"]},"People & Body":{v:["Oameni și corp"]},"Pick an emoji":{v:["Alege un emoji"]},"Search emoji":{v:["Căutare emoji"]},"Search results":{v:["Rezultatele căutării"]},Selected:{v:["Selectat"]},"Smileys & Emotion":{v:["Z\xe2mbete și emoții"]},Symbols:{v:["Simboluri"]},"Travel & Places":{v:["Călătorii și locuri"]}}},{l:"ru",t:{Activities:{v:["События"]},"Animals & Nature":{v:["Животные и природа "]},Custom:{v:["Пользовательское"]},"Dark skin tone":{v:["Темный оттенок"]},"Emoji picker":{v:["Подборщик эмодзи"]},Flags:{v:["Флаги"]},"Food & Drink":{v:["Еда, напиток"]},"Frequently used":{v:["Часто используемый"]},"Light skin tone":{v:["Светлый оттенок"]},"Medium dark skin tone":{v:["Средний темный оттенок"]},"Medium light skin tone":{v:["Средний светлый оттенок"]},"Medium skin tone":{v:["Средний оттенок"]},"Neutral skin color":{v:["Нейтральный оттенок"]},Objects:{v:["Объекты"]},"People & Body":{v:["Люди и тело"]},"Pick an emoji":{v:["Выберите эмодзи"]},"Search emoji":{v:["Поиск эмодзи"]},"Search results":{v:["Результаты поиска"]},Selected:{v:["Выбрано"]},"Skin tone":{v:["Оттенок скина"]},"Smileys & Emotion":{v:["Смайлики и эмоции"]},Symbols:{v:["Символы"]},"Travel & Places":{v:["Путешествия и места"]}}},{l:"sk",t:{Activities:{v:["Aktivity"]},"Animals & Nature":{v:["Zvierat\xe1 a pr\xedroda"]},Custom:{v:["Vlastn\xe9"]},"Dark skin tone":{v:["Tmav\xfd vzhľad"]},"Emoji picker":{v:["V\xfdber emodži"]},Flags:{v:["Vlajky"]},"Food & Drink":{v:["Jedlo a n\xe1poje"]},"Frequently used":{v:["Často použ\xedvan\xe9"]},"Light skin tone":{v:["Svetl\xfd vzhľad"]},"Medium dark skin tone":{v:["Stredne tmav\xfd vzhľad"]},"Medium light skin tone":{v:["Stredne svetl\xfd vzhľad"]},"Medium skin tone":{v:["Stredn\xfd vzhľad"]},"Neutral skin color":{v:["Neutr\xe1lny vzhľad"]},Objects:{v:["Objekty"]},"People & Body":{v:["Ľudia a telo"]},"Pick an emoji":{v:["Vybrať emodži"]},"Search emoji":{v:["Vyhľadať emoji"]},"Search results":{v:["V\xfdsledky vyhľad\xe1vania"]},Selected:{v:["Vybran\xfd"]},"Skin tone":{v:["Vzhľad"]},"Smileys & Emotion":{v:["Smajl\xedky a em\xf3cie"]},Symbols:{v:["Symboly"]},"Travel & Places":{v:["Cestovanie a miesta"]}}},{l:"sl",t:{Activities:{v:["Dejavnosti"]},"Animals & Nature":{v:["Živali in Narava"]},Custom:{v:["Po meri"]},Flags:{v:["Zastavice"]},"Food & Drink":{v:["Hrana in Pijača"]},"Frequently used":{v:["Pogostost uporabe"]},Objects:{v:["Predmeti"]},"People & Body":{v:["Ljudje in Telo"]},"Pick an emoji":{v:["Izbor izrazne ikone"]},"Search results":{v:["Zadetki iskanja"]},"Smileys & Emotion":{v:["Izrazne ikone"]},Symbols:{v:["Simboli"]},"Travel & Places":{v:["Potovanja in Kraji"]}}},{l:"sr",t:{Activities:{v:["Активности"]},"Animals & Nature":{v:["Животиње и природа"]},Custom:{v:["Произвољно"]},"Dark skin tone":{v:["Тамни тен коже"]},"Emoji picker":{v:["Бирач емођија"]},Flags:{v:["Заставе"]},"Food & Drink":{v:["Храна и пиће"]},"Frequently used":{v:["Често коришћено"]},"Light skin tone":{v:["Светли тен коже"]},"Medium dark skin tone":{v:["Средње тамни тен коже"]},"Medium light skin tone":{v:["Средње светли тен коже"]},"Medium skin tone":{v:["Средњи тен коже"]},"Neutral skin color":{v:["Неутрална боја коже"]},Objects:{v:["Предмети"]},"People & Body":{v:["Људи и тело"]},"Pick an emoji":{v:["Изаберите емођи"]},"Search emoji":{v:["Претражи емођи"]},"Search results":{v:["Резултати претраге"]},Selected:{v:["Изабрано"]},"Skin tone":{v:["Тен коже"]},"Smileys & Emotion":{v:["Смајлији и емоције"]},Symbols:{v:["Симболи"]},"Travel & Places":{v:["Путовање и места"]}}},{l:"sv",t:{Activities:{v:["Aktiviteter"]},"Animals & Nature":{v:["Djur & Natur"]},Custom:{v:["Anpassad"]},"Dark skin tone":{v:["M\xf6rk hudton"]},"Emoji picker":{v:["Emoji-v\xe4ljare"]},Flags:{v:["Flaggor"]},"Food & Drink":{v:["Mat & Dryck"]},"Frequently used":{v:["Anv\xe4nds ofta"]},"Light skin tone":{v:["Ljus hudton"]},"Medium dark skin tone":{v:["Medium m\xf6rk hudton"]},"Medium light skin tone":{v:["Medium ljus hudton"]},"Medium skin tone":{v:["Medium hudton"]},"Neutral skin color":{v:["Neutral hudf\xe4rg"]},Objects:{v:["Objekt"]},"People & Body":{v:["Kropp & Sj\xe4l"]},"Pick an emoji":{v:["V\xe4lj en emoji"]},"Search emoji":{v:["S\xf6k emoji"]},"Search results":{v:["S\xf6kresultat"]},Selected:{v:["Vald"]},"Skin tone":{v:["Hudton"]},"Smileys & Emotion":{v:["Selfies & K\xe4nslor"]},Symbols:{v:["Symboler"]},"Travel & Places":{v:["Resor & Sev\xe4rdigheter"]}}},{l:"tr",t:{Activities:{v:["Etkinlikler"]},"Animals & Nature":{v:["Hayvanlar ve doğa"]},Custom:{v:["\xd6zel"]},"Dark skin tone":{v:["Koyu deri rengi"]},"Emoji picker":{v:["Emoji se\xe7ici"]},Flags:{v:["Bayraklar"]},"Food & Drink":{v:["Yeme ve i\xe7me"]},"Frequently used":{v:["Sık kullanılanlar"]},"Light skin tone":{v:["A\xe7ık deri rengi"]},"Medium dark skin tone":{v:["Orta koyu deri rengi"]},"Medium light skin tone":{v:["Orta a\xe7ık deri rengi"]},"Medium skin tone":{v:["Orta deri rengi"]},"Neutral skin color":{v:["N\xf6tr deri rengi"]},Objects:{v:["Nesneler"]},"People & Body":{v:["İnsanlar ve beden"]},"Pick an emoji":{v:["Bir emoji se\xe7in"]},"Search emoji":{v:["Emoji ara"]},"Search results":{v:["Arama sonu\xe7ları"]},Selected:{v:["Se\xe7ilmiş"]},"Skin tone":{v:["Deri rengi"]},"Smileys & Emotion":{v:["İfadeler ve duygular"]},Symbols:{v:["Simgeler"]},"Travel & Places":{v:["Gezi ve yerler"]}}},{l:"uk",t:{Activities:{v:["Діяльність"]},"Animals & Nature":{v:["Тварини та природа"]},Custom:{v:["Власне"]},"Dark skin tone":{v:["Смаглявий"]},"Emoji picker":{v:["Вибір емоційки"]},Flags:{v:["Прапори"]},"Food & Drink":{v:["Їжа та напої"]},"Frequently used":{v:["Найчастіші"]},"Light skin tone":{v:["Світла шкіра"]},"Medium dark skin tone":{v:["Какао"]},"Medium light skin tone":{v:["Лате"]},"Medium skin tone":{v:["Середній колір шкіри"]},"Neutral skin color":{v:["Нейтральний колір шкіри"]},Objects:{v:["Об'єкти"]},"People & Body":{v:["Люди та жести"]},"Pick an emoji":{v:["Виберіть емоційку"]},"Search emoji":{v:["Шукати емоційки"]},"Search results":{v:["Результати пошуку"]},Selected:{v:["Вибрано"]},"Skin tone":{v:["Колір шкіри"]},"Smileys & Emotion":{v:["Смайли та емоції"]},Symbols:{v:["Символи"]},"Travel & Places":{v:["Поїздки та місця"]}}},{l:"uz",t:{Activities:{v:["Faolliklar"]},"Animals & Nature":{v:["Hayvonlar va Tabiat"]},Custom:{v:["Moslashtirilgan"]},"Dark skin tone":{v:["Qora rangdagi qoplama"]},"Emoji picker":{v:["Emoji tanlagich"]},Flags:{v:["Bayroqlar"]},"Food & Drink":{v:["Oziq-ovqat va ichimliklar"]},"Frequently used":{v:["Tez-tez ishlatiladi"]},"Light skin tone":{v:["Yorug` rangdagi qoplama"]},"Medium dark skin tone":{v:["O`rtacha qorong`u rangdagi qoplama"]},"Medium light skin tone":{v:["O`rtacha yorug`lik rangdagi qoplama"]},"Medium skin tone":{v:["O`rtacha rangdagi qoplama"]},"Neutral skin color":{v:["Neytral rang"]},Objects:{v:["Obyekt"]},"People & Body":{v:["Odamlar va Tana"]},"Pick an emoji":{v:["Emojini tanlang"]},"Search emoji":{v:["Emoji qidirish"]},"Search results":{v:["Qidiruv natijalari"]},Selected:{v:["Tanlangan"]},"Skin tone":{v:["Odatiy rangdagi qoplama"]},"Smileys & Emotion":{v:["Smayllar va Hissiyotlar"]},Symbols:{v:["Belgilar"]},"Travel & Places":{v:["Sayohat va Joylar"]}}},{l:"zh-CN",t:{Activities:{v:["活动"]},"Animals & Nature":{v:["动物 & 自然"]},Custom:{v:["自定义"]},"Dark skin tone":{v:["深色皮肤"]},"Emoji picker":{v:["表情拾取器"]},Flags:{v:["旗帜"]},"Food & Drink":{v:["食物 & 饮品"]},"Frequently used":{v:["经常使用"]},"Light skin tone":{v:["浅色皮肤"]},"Medium dark skin tone":{v:["中等深色皮肤"]},"Medium light skin tone":{v:["中等浅色皮肤"]},"Medium skin tone":{v:["中等皮肤"]},"Neutral skin color":{v:["中性皮肤颜色"]},Objects:{v:["物体"]},"People & Body":{v:["人 & 身体"]},"Pick an emoji":{v:["选择一个表情"]},"Search emoji":{v:["搜索表情"]},"Search results":{v:["搜索结果"]},Selected:{v:["选择"]},"Skin tone":{v:["皮肤"]},"Smileys & Emotion":{v:["笑脸 & 情感"]},Symbols:{v:["符号"]},"Travel & Places":{v:["旅游 & 地点"]}}},{l:"zh-HK",t:{Activities:{v:["活動"]},"Animals & Nature":{v:["動物與自然"]},Custom:{v:["自定義"]},"Dark skin tone":{v:["深膚色"]},"Emoji picker":{v:["表情符號選擇器"]},Flags:{v:["旗幟"]},"Food & Drink":{v:["食物與飲料"]},"Frequently used":{v:["經常使用"]},"Light skin tone":{v:["淺膚色"]},"Medium dark skin tone":{v:["中等深膚色"]},"Medium light skin tone":{v:["中等淺膚色"]},"Medium skin tone":{v:["中等膚色"]},"Neutral skin color":{v:["中性色膚色"]},Objects:{v:["物件"]},"People & Body":{v:["人物"]},"Pick an emoji":{v:["選擇表情符號"]},"Search emoji":{v:["搜尋表情符號"]},"Search results":{v:["搜尋結果"]},Selected:{v:["已選"]},"Skin tone":{v:["膚色"]},"Smileys & Emotion":{v:["表情"]},Symbols:{v:["標誌"]},"Travel & Places":{v:["旅遊與景點"]}}},{l:"zh-TW",t:{Activities:{v:["活動"]},"Animals & Nature":{v:["動物與自然"]},Custom:{v:["自定義"]},"Dark skin tone":{v:["深膚色"]},"Emoji picker":{v:["表情符號挑選器"]},Flags:{v:["旗幟"]},"Food & Drink":{v:["食物與飲料"]},"Frequently used":{v:["最近使用"]},"Light skin tone":{v:["淺膚色"]},"Medium dark skin tone":{v:["中等深膚色"]},"Medium light skin tone":{v:["中等淺膚色"]},"Medium skin tone":{v:["中等膚色"]},"Neutral skin color":{v:["中性膚色"]},Objects:{v:["物件"]},"People & Body":{v:["人物"]},"Pick an emoji":{v:["選擇表情符號"]},"Search emoji":{v:["搜尋表情符號"]},"Search results":{v:["搜尋結果"]},Selected:{v:["已選取"]},"Skin tone":{v:["膚色"]},"Smileys & Emotion":{v:["表情"]},Symbols:{v:["標誌"]},"Travel & Places":{v:["旅遊與景點"]}}}],f=[{l:"ar",t:{"Any link":{v:["أيَّ رابط"]}}},{l:"ast",t:{"Any link":{v:["Cualesquier enllaz"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Any link":{v:["Jak\xfdkoli odkaz"]}}},{l:"cs-CZ",t:{"Any link":{v:["Jak\xfdkoli odkaz"]}}},{l:"da",t:{"Any link":{v:["Ethvert link"]}}},{l:"de",t:{"Any link":{v:["Irgendein Link"]}}},{l:"de-DE",t:{"Any link":{v:["Irgendein Link"]}}},{l:"el",t:{"Any link":{v:["Οποιοσδήποτε σύνδεσμος"]}}},{l:"en-GB",t:{"Any link":{v:["Any link"]}}},{l:"eo",t:{}},{l:"es",t:{"Any link":{v:["Cualquier enlace"]}}},{l:"es-AR",t:{"Any link":{v:["Cualquier enlace"]}}},{l:"es-EC",t:{"Any link":{v:["Cualquier enlace"]}}},{l:"es-MX",t:{"Any link":{v:["Cualquier enlace"]}}},{l:"et-EE",t:{"Any link":{v:["Mistahes link"]}}},{l:"eu",t:{"Any link":{v:["Edozein esteka"]}}},{l:"fa",t:{"Any link":{v:["هر پیوندی"]}}},{l:"fi",t:{"Any link":{v:["Mik\xe4 tahansa linkki"]}}},{l:"fr",t:{"Any link":{v:["N'importe quel lien"]}}},{l:"ga",t:{"Any link":{v:["Aon nasc"]}}},{l:"gl",t:{"Any link":{v:["Calquera ligaz\xf3n"]}}},{l:"he",t:{"Any link":{v:["קישור כלשהו"]}}},{l:"hr",t:{"Any link":{v:["Bilo koja poveznica"]}}},{l:"hu",t:{}},{l:"id",t:{"Any link":{v:["Semua tautan"]}}},{l:"is",t:{"Any link":{v:["Einhver tengill"]}}},{l:"it",t:{"Any link":{v:["Qualsiasi link"]}}},{l:"ja",t:{"Any link":{v:["任意のリンク"]}}},{l:"ja-JP",t:{"Any link":{v:["任意のリンク"]}}},{l:"ko",t:{"Any link":{v:["아무 링크"]}}},{l:"lo",t:{"Any link":{v:["ລິງໃດກໍໄດ້"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Any link":{v:["Секој линк"]}}},{l:"my",t:{}},{l:"nb",t:{"Any link":{v:["Enhver lenke"]}}},{l:"nl",t:{"Any link":{v:["Elke link"]}}},{l:"oc",t:{}},{l:"pl",t:{"Any link":{v:["Dowolny link"]}}},{l:"pt-BR",t:{"Any link":{v:["Qualquer link"]}}},{l:"pt-PT",t:{"Any link":{v:["Qualquer hiperliga\xe7\xe3o"]}}},{l:"ro",t:{"Any link":{v:["Orice link"]}}},{l:"ru",t:{"Any link":{v:["Любая ссылка"]}}},{l:"sk",t:{"Any link":{v:["Ak\xfdkoľvek odkaz"]}}},{l:"sl",t:{}},{l:"sr",t:{"Any link":{v:["Било који линк"]}}},{l:"sv",t:{"Any link":{v:["Vilken l\xe4nk som helst"]}}},{l:"tr",t:{"Any link":{v:["Herhangi bir bağlantı"]}}},{l:"uk",t:{"Any link":{v:["Будь-яке посилання"]}}},{l:"uz",t:{"Any link":{v:["Har qanday havola"]}}},{l:"zh-CN",t:{"Any link":{v:["任何链接"]}}},{l:"zh-HK",t:{"Any link":{v:["任何連結"]}}},{l:"zh-TW",t:{"Any link":{v:["任何連結"]}}}],m=[{l:"ar",t:{"Avatar of {displayName}":{v:["صورة الملف الشخصي الرمزية لــ {displayName} "]},"Avatar of {displayName}, {status}":{v:["صورة الملف الشخصي الرمزية لــ {displayName}، {status}"]}}},{l:"ast",t:{"Avatar of {displayName}":{v:["Avatar de: {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de: {displayName}, {status}"]}}},{l:"br",t:{}},{l:"ca",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"cs",t:{"Avatar of {displayName}":{v:["Z\xe1stupn\xfd obr\xe1zek uživatele {displayName}"]},"Avatar of {displayName}, {status}":{v:["Z\xe1stupn\xfd obr\xe1zek uživatele {displayName}, {status}"]}}},{l:"cs-CZ",t:{"Avatar of {displayName}":{v:["Z\xe1stupn\xfd obr\xe1zek uživatele {displayName}"]},"Avatar of {displayName}, {status}":{v:["Z\xe1stupn\xfd obr\xe1zek uživatele {displayName}, {status}"]}}},{l:"da",t:{"Avatar of {displayName}":{v:["Avatar af {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar af {displayName}, {status}"]}}},{l:"de",t:{"Avatar of {displayName}":{v:["Avatar von {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar von {displayName}, {status}"]}}},{l:"de-DE",t:{"Avatar of {displayName}":{v:["Avatar von {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar von {displayName}, {status}"]}}},{l:"el",t:{"Avatar of {displayName}":{v:["Άβαταρ του {displayName}"]},"Avatar of {displayName}, {status}":{v:["Άβαταρ του {displayName}, {status}"]}}},{l:"en-GB",t:{"Avatar of {displayName}":{v:["Avatar of {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar of {displayName}, {status}"]}}},{l:"eo",t:{}},{l:"es",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"es-AR",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"es-EC",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"es-MX",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"et-EE",t:{"Avatar of {displayName}":{v:["Avatar {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar {displayName}, {status}"]}}},{l:"eu",t:{"Avatar of {displayName}":{v:["{displayName}-(e)n irudia"]},"Avatar of {displayName}, {status}":{v:["{displayName} -(e)n irudia, {status}"]}}},{l:"fa",t:{"Avatar of {displayName}":{v:["آواتار {displayName}"]},"Avatar of {displayName}, {status}":{v:["آواتار {displayName} ، {status}"]}}},{l:"fi",t:{"Avatar of {displayName}":{v:["{displayName}n avatar"]},"Avatar of {displayName}, {status}":{v:["{displayName}n avatar, {status}"]}}},{l:"fr",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"ga",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"gl",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"he",t:{"Avatar of {displayName}":{v:["תמונה ייצוגית של {displayName}"]},"Avatar of {displayName}, {status}":{v:["תמונה ייצוגית של {displayName}, {status}"]}}},{l:"hr",t:{"Avatar of {displayName}":{v:["Avatar od {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar od {displayName}, {status}"]}}},{l:"hu",t:{"Avatar of {displayName}":{v:["{displayName} profilk\xe9pe"]},"Avatar of {displayName}, {status}":{v:["{displayName} profilk\xe9pe, {status}"]}}},{l:"id",t:{"Avatar of {displayName}":{v:["Avatar {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar {displayName}, {status}"]}}},{l:"is",t:{"Avatar of {displayName}":{v:["Au\xf0kennismynd fyrir {displayName}"]},"Avatar of {displayName}, {status}":{v:["Au\xf0kennismynd fyrir {displayName}, {status}"]}}},{l:"it",t:{"Avatar of {displayName}":{v:["Avatar di {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar di {displayName}, {status}"]}}},{l:"ja",t:{"Avatar of {displayName}":{v:["{displayName} のアバター"]},"Avatar of {displayName}, {status}":{v:["{displayName}, {status} のアバター"]}}},{l:"ja-JP",t:{"Avatar of {displayName}":{v:["{displayName} のアバター"]},"Avatar of {displayName}, {status}":{v:["{displayName}, {status} のアバター"]}}},{l:"ko",t:{"Avatar of {displayName}":{v:["{displayName}님의 아바타"]},"Avatar of {displayName}, {status}":{v:["{displayName}, {status}님의 아바타"]}}},{l:"lo",t:{"Avatar of {displayName}":{v:["ຮູບແທນຕົວຂອງ {displayName}"]},"Avatar of {displayName}, {status}":{v:["ຮູບແທນຕົວຂອງ {displayName}, {status}"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Avatar of {displayName}":{v:["Аватар на {displayName}"]},"Avatar of {displayName}, {status}":{v:["Аватар на {displayName}, {status}"]}}},{l:"my",t:{"Avatar of {displayName}":{v:["{displayName} ၏ ကိုယ်ပွား"]}}},{l:"nb",t:{"Avatar of {displayName}":{v:["Avataren til {displayName}"]},"Avatar of {displayName}, {status}":{v:["{displayName}'s avatar, {status}"]}}},{l:"nl",t:{"Avatar of {displayName}":{v:["Avatar van {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar van {displayName}, {status}"]}}},{l:"oc",t:{}},{l:"pl",t:{"Avatar of {displayName}":{v:["Awatar {displayName}"]},"Avatar of {displayName}, {status}":{v:["Awatar {displayName}, {status}"]}}},{l:"pt-BR",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"pt-PT",t:{"Avatar of {displayName}":{v:["Avatar de {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar de {displayName}, {status}"]}}},{l:"ro",t:{"Avatar of {displayName}":{v:["Avatarul lui {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatarul lui {displayName}, {status}"]}}},{l:"ru",t:{"Avatar of {displayName}":{v:["Аватар {displayName}"]},"Avatar of {displayName}, {status}":{v:["Фотография {displayName}, {status}"]}}},{l:"sk",t:{"Avatar of {displayName}":{v:["Avatar {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar {displayName}, {status}"]}}},{l:"sl",t:{"Avatar of {displayName}":{v:["Podoba {displayName}"]},"Avatar of {displayName}, {status}":{v:["Prikazna slika {displayName}, {status}"]}}},{l:"sr",t:{"Avatar of {displayName}":{v:["Аватар за {displayName}"]},"Avatar of {displayName}, {status}":{v:["Avatar za {displayName}, {status}"]}}},{l:"sv",t:{"Avatar of {displayName}":{v:["{displayName}s avatar"]},"Avatar of {displayName}, {status}":{v:["{displayName}s avatar, {status}"]}}},{l:"tr",t:{"Avatar of {displayName}":{v:["{displayName} avatarı"]},"Avatar of {displayName}, {status}":{v:["{displayName}, {status} avatarı"]}}},{l:"uk",t:{"Avatar of {displayName}":{v:["Аватар {displayName}"]},"Avatar of {displayName}, {status}":{v:["Аватар {displayName}, {status}"]}}},{l:"uz",t:{"Avatar of {displayName}":{v:[" {displayName}Avatari"]},"Avatar of {displayName}, {status}":{v:["{displayName}, {status} Avatari"]}}},{l:"zh-CN",t:{"Avatar of {displayName}":{v:["{displayName}的头像"]},"Avatar of {displayName}, {status}":{v:["{displayName}的头像,{status}"]}}},{l:"zh-HK",t:{"Avatar of {displayName}":{v:["{displayName} 的頭像"]},"Avatar of {displayName}, {status}":{v:["{displayName} 的頭像,{status}"]}}},{l:"zh-TW",t:{"Avatar of {displayName}":{v:["{displayName} 的大頭照"]},"Avatar of {displayName}, {status}":{v:["{displayName}, {status} 的大頭照"]}}}],g=[{l:"ar",t:{away:{v:["غير موجود"]},busy:{v:["مشغول"]},"do not disturb":{v:["يُرجى عدم الإزعاج"]},invisible:{v:["غير مرئي"]},offline:{v:["غير متصل"]},online:{v:["متصل"]}}},{l:"ast",t:{away:{v:["ausente"]},busy:{v:["ocup\xe1u"]},"do not disturb":{v:["nun molestar"]},invisible:{v:["invisible"]},offline:{v:["desconect\xe1u"]},online:{v:["en llinia"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{away:{v:["pryč"]},busy:{v:["zanepr\xe1dněn(a)"]},"do not disturb":{v:["nerušit"]},invisible:{v:["neviditeln\xe9"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"cs-CZ",t:{away:{v:["pryč"]},busy:{v:["zanepr\xe1dněn(a)"]},"do not disturb":{v:["nerušit"]},invisible:{v:["neviditeln\xe9"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"da",t:{away:{v:["v\xe6k"]},busy:{v:["optaget"]},"do not disturb":{v:["forstyr ikke"]},invisible:{v:["usynlig"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"de",t:{away:{v:["Abwesend"]},busy:{v:["Besch\xe4ftigt"]},"do not disturb":{v:["Bitte nicht st\xf6ren"]},invisible:{v:["Unsichtbar"]},offline:{v:["Offline"]},online:{v:["Online"]}}},{l:"de-DE",t:{away:{v:["Abwesend"]},busy:{v:["Besch\xe4ftigt"]},"do not disturb":{v:["Bitte nicht st\xf6ren"]},invisible:{v:["Unsichtbar"]},offline:{v:["Offline"]},online:{v:["Online"]}}},{l:"el",t:{away:{v:["μακριά"]},busy:{v:["απασχολημένος"]},"do not disturb":{v:["μην ενοχλείτε"]},invisible:{v:["αόρατο"]},offline:{v:["εκτός σύνδεσης"]},online:{v:["συνδεδεμένος"]}}},{l:"en-GB",t:{away:{v:["away"]},busy:{v:["busy"]},"do not disturb":{v:["do not disturb"]},invisible:{v:["invisible"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"eo",t:{}},{l:"es",t:{away:{v:["ausente"]},busy:{v:["ocupado"]},"do not disturb":{v:["no molestar"]},invisible:{v:["invisible"]},offline:{v:["fuera de l\xednea"]},online:{v:["en l\xednea"]}}},{l:"es-AR",t:{away:{v:["ausente"]},busy:{v:["ocupado"]},"do not disturb":{v:["no molestar"]},invisible:{v:["invisible"]},offline:{v:["desconectado"]},online:{v:["en l\xednea"]}}},{l:"es-EC",t:{}},{l:"es-MX",t:{away:{v:["ausente"]},busy:{v:["ocupado"]},"do not disturb":{v:["no molestar"]},invisible:{v:["invisible"]},offline:{v:["fuera de l\xednea"]},online:{v:["en l\xednea"]}}},{l:"et-EE",t:{away:{v:["eemal"]},busy:{v:["h\xf5ivatud"]},"do not disturb":{v:["\xe4ra sega"]},invisible:{v:["n\xe4htamatu"]},offline:{v:["pole v\xf5rgus"]},online:{v:["v\xf5rgus"]}}},{l:"eu",t:{}},{l:"fa",t:{away:{v:["دور از دستگاه"]},busy:{v:["مشغول"]},"do not disturb":{v:["مزاحم نشوید"]},invisible:{v:["مخفی"]},offline:{v:["برون‌خط"]},online:{v:["برخط"]}}},{l:"fi",t:{away:{v:["poissa"]},busy:{v:["varattu"]},"do not disturb":{v:["\xe4l\xe4 h\xe4iritse"]},invisible:{v:["n\xe4kym\xe4t\xf6n"]},offline:{v:["ei linjalla"]},online:{v:["linjalla"]}}},{l:"fr",t:{away:{v:["absent"]},busy:{v:["occup\xe9"]},"do not disturb":{v:["ne pas d\xe9ranger"]},invisible:{v:["invisible"]},offline:{v:["hors ligne"]},online:{v:["en ligne"]}}},{l:"ga",t:{away:{v:["ar shi\xfal"]},busy:{v:["gn\xf3thach"]},"do not disturb":{v:["n\xe1 cur as"]},invisible:{v:["dofheicthe"]},offline:{v:["as l\xedne"]},online:{v:["ar l\xedne"]}}},{l:"gl",t:{away:{v:["ausente"]},busy:{v:["ocupado"]},"do not disturb":{v:["non molestar"]},invisible:{v:["invis\xedbel"]},offline:{v:["desconectado"]},online:{v:["conectado"]}}},{l:"he",t:{}},{l:"hr",t:{away:{v:["odsutan"]},busy:{v:["zauzet"]},"do not disturb":{v:["ne smetaj"]},invisible:{v:["nevidljiv"]},offline:{v:["izvan mreže"]},online:{v:["na mreži"]}}},{l:"hu",t:{}},{l:"id",t:{away:{v:["tidak tersedia"]},busy:{v:["sibuk"]},"do not disturb":{v:["jangan ganggu"]},invisible:{v:["tidak terlihat"]},offline:{v:["luring"]},online:{v:["daring"]}}},{l:"is",t:{away:{v:["\xed burtu"]},busy:{v:["upptekin/n"]},"do not disturb":{v:["ekki \xf3n\xe1\xf0a"]},invisible:{v:["\xf3s\xfdnilegt"]},offline:{v:["\xf3nettengt"]},online:{v:["nettengt"]}}},{l:"it",t:{away:{v:["via"]},"do not disturb":{v:["non disturbare"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"ja",t:{away:{v:["離れる"]},busy:{v:["ビジー"]},"do not disturb":{v:["邪魔をしないでください"]},invisible:{v:["不可視"]},offline:{v:["オフライン"]},online:{v:["オンライン"]}}},{l:"ja-JP",t:{away:{v:["離れる"]},busy:{v:["ビジー"]},"do not disturb":{v:["邪魔をしないでください"]},invisible:{v:["不可視"]},offline:{v:["オフライン"]},online:{v:["オンライン"]}}},{l:"ko",t:{away:{v:["자리 비움"]},busy:{v:["바쁨"]},"do not disturb":{v:["방해 금지"]},invisible:{v:["보이지 않음"]},offline:{v:["오프라인"]},online:{v:["온라인"]}}},{l:"lo",t:{away:{v:["ບໍ່ຢູ່"]},busy:{v:["ບໍ່ວ່າງ"]},"do not disturb":{v:["ຫ້າມລົບກວນ"]},invisible:{v:["ບໍ່ສະແດງ"]},offline:{v:["ອອບໄລນ໌"]},online:{v:["ອອນໄລນ໌"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{away:{v:["оддалечен"]},busy:{v:["зафатен"]},"do not disturb":{v:["не вознемирувај"]},invisible:{v:["невидливо"]},offline:{v:["офлајн"]},online:{v:["онлајн"]}}},{l:"my",t:{}},{l:"nb",t:{away:{v:["borte"]},busy:{v:["opptatt"]},"do not disturb":{v:["ikke forstyrr"]},invisible:{v:["usynlig"]},offline:{v:["frakoblet"]},online:{v:["tilkoblet"]}}},{l:"nl",t:{away:{v:["weg"]},busy:{v:["bezig"]},"do not disturb":{v:["niet storen"]},invisible:{v:["Onzichtbaar"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"oc",t:{}},{l:"pl",t:{away:{v:["stąd"]},busy:{v:["zajęty"]},"do not disturb":{v:["nie przeszkadzać"]},invisible:{v:["niewidzialny"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"pt-BR",t:{away:{v:["ausente"]},busy:{v:["ocupado"]},"do not disturb":{v:["n\xe3o perturbe"]},invisible:{v:["invis\xedvel"]},offline:{v:["off-line"]},online:{v:["on-line"]}}},{l:"pt-PT",t:{away:{v:["longe"]},busy:{v:["ocupado"]},"do not disturb":{v:["n\xe3o incomodar"]},invisible:{v:["invis\xedvel"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"ro",t:{away:{v:["plecat"]},"do not disturb":{v:["nu deranjați"]},offline:{v:["deconectat"]},online:{v:["online"]}}},{l:"ru",t:{away:{v:["отсутствие"]},busy:{v:["занятый"]},"do not disturb":{v:["не беспокоить"]},invisible:{v:["невидимый"]},offline:{v:["офлайн"]},online:{v:["онлайн"]}}},{l:"sk",t:{away:{v:["nepr\xedtomn\xfd"]},busy:{v:["zanepr\xe1zdnen\xfd"]},"do not disturb":{v:["nerušiť"]},invisible:{v:["neviditeľn\xfd"]},offline:{v:["Odpojen\xfd - offline"]},online:{v:["Pripojen\xfd - online"]}}},{l:"sl",t:{}},{l:"sr",t:{away:{v:["одсутан"]},busy:{v:["заузет"]},"do not disturb":{v:["не узнемиравај"]},invisible:{v:["невидљиво"]},offline:{v:["ван мреже"]},online:{v:["на мрежи"]}}},{l:"sv",t:{away:{v:["borta"]},busy:{v:["upptagen"]},"do not disturb":{v:["st\xf6r ej"]},invisible:{v:["osynlig"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"tr",t:{away:{v:["Uzakta"]},busy:{v:["Meşgul"]},"do not disturb":{v:["Rahatsız etmeyin"]},invisible:{v:["g\xf6r\xfcnmez"]},offline:{v:["\xc7evrim dışı"]},online:{v:["\xc7evrim i\xe7i"]}}},{l:"uk",t:{away:{v:["відсутній"]},busy:{v:["зайнято"]},"do not disturb":{v:["не турбувати"]},invisible:{v:["Невидимий"]},offline:{v:["не в мережі"]},online:{v:["в мережі"]}}},{l:"uz",t:{away:{v:["uzoqda"]},busy:{v:["band"]},"do not disturb":{v:["bezovta qilmang"]},invisible:{v:["ko'rinmas"]},offline:{v:["offline"]},online:{v:["online"]}}},{l:"zh-CN",t:{away:{v:["离开"]},busy:{v:["繁忙"]},"do not disturb":{v:["请勿打扰"]},invisible:{v:["隐藏的"]},offline:{v:["离线"]},online:{v:["在线"]}}},{l:"zh-HK",t:{away:{v:["離開"]},busy:{v:["忙碌"]},"do not disturb":{v:["請勿打擾"]},invisible:{v:["隐藏的"]},offline:{v:["離線"]},online:{v:["在線"]}}},{l:"zh-TW",t:{away:{v:["離開"]},busy:{v:["忙碌"]},"do not disturb":{v:["請勿打擾"]},invisible:{v:["不可見"]},offline:{v:["離線"]},online:{v:["線上"]}}}],p=[{l:"ar",t:{"Back to provider selection":{v:["عودة إلى اختيار المزوّد"]},"Close Smart Picker":{v:["إغلاق المحدد الذكي"]},"Smart Picker":{v:["اللاقط الذكي smart picker"]}}},{l:"ast",t:{"Back to provider selection":{v:["Volver a la seleici\xf3n de fornidores"]},"Close Smart Picker":{v:["Zarrar la seleici\xf3n intelixente"]},"Smart Picker":{v:["Selector intelixente"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Back to provider selection":{v:["Zpět na v\xfdběr poskytovatele"]},"Close Smart Picker":{v:["Zavř\xedt inteligentn\xed v\xfdběr"]},"Smart Picker":{v:["Inteligentn\xed v\xfdběr"]}}},{l:"cs-CZ",t:{"Back to provider selection":{v:["Zpět na v\xfdběr poskytovatele"]},"Close Smart Picker":{v:["Zavř\xedt inteligentn\xed v\xfdběr"]},"Smart Picker":{v:["Inteligentn\xed v\xfdběr"]}}},{l:"da",t:{"Back to provider selection":{v:["Tilbage til udbydervalg"]},"Close Smart Picker":{v:["Luk Smart V\xe6lger"]},"Smart Picker":{v:["Smart V\xe6lger"]}}},{l:"de",t:{"Back to provider selection":{v:["Zur\xfcck zur Anbieterauswahl"]},"Close Smart Picker":{v:["Smart Picker schlie\xdfen"]},"Smart Picker":{v:["Smart Picker"]}}},{l:"de-DE",t:{"Back to provider selection":{v:["Zur\xfcck zur Anbieterauswahl"]},"Close Smart Picker":{v:["Smart Picker schlie\xdfen"]},"Smart Picker":{v:["Smart Picker"]}}},{l:"el",t:{"Back to provider selection":{v:["Επιστροφή στην επιλογή παρόχου"]},"Close Smart Picker":{v:["Κλείσιμο Έξυπνης Επιλογής"]},"Smart Picker":{v:["Έξυπνη Επιλογή"]}}},{l:"en-GB",t:{"Back to provider selection":{v:["Back to provider selection"]},"Close Smart Picker":{v:["Close Smart Picker"]},"Smart Picker":{v:["Smart Picker"]}}},{l:"eo",t:{}},{l:"es",t:{"Back to provider selection":{v:["Volver a la selecci\xf3n de proveedor"]},"Close Smart Picker":{v:["Cerrar selector inteligente"]},"Smart Picker":{v:["Selector inteligente"]}}},{l:"es-AR",t:{"Back to provider selection":{v:["Volver a la selecci\xf3n de proveedor"]},"Close Smart Picker":{v:["Cerrar selector inteligente"]},"Smart Picker":{v:["Selector inteligente"]}}},{l:"es-EC",t:{"Back to provider selection":{v:["Volver a la selecci\xf3n de proveedor"]},"Close Smart Picker":{v:["Cerrar selector inteligente"]},"Smart Picker":{v:["Selector inteligente"]}}},{l:"es-MX",t:{"Back to provider selection":{v:["Volver a la selecci\xf3n de proveedor"]},"Close Smart Picker":{v:["Cerrar selector inteligente"]},"Smart Picker":{v:["Selector inteligente"]}}},{l:"et-EE",t:{"Back to provider selection":{v:["Tagasi teenusepakkuja valiku juurde"]},"Close Smart Picker":{v:["Sulge nutikas valija"]},"Smart Picker":{v:["Nutikas valija"]}}},{l:"eu",t:{"Back to provider selection":{v:["Itzuli hornitzaileen hautapenera"]},"Close Smart Picker":{v:["Itxi hautatzaile adimenduna"]},"Smart Picker":{v:["Hautatzaile adimenduna"]}}},{l:"fa",t:{"Back to provider selection":{v:["بازگشت به انتخاب ارائه دهنده"]},"Close Smart Picker":{v:["بستن انتخاب‌گر هوشمند"]},"Smart Picker":{v:["انتخابگر هوشمند"]}}},{l:"fi",t:{"Back to provider selection":{v:["Takaisin toimittajavalintaan"]},"Close Smart Picker":{v:["Sulje \xe4lykas valitsin"]},"Smart Picker":{v:["\xc4lyk\xe4s valitsin"]}}},{l:"fr",t:{"Back to provider selection":{v:["Revenir \xe0 la s\xe9lection du fournisseur"]},"Close Smart Picker":{v:["Fermer le s\xe9lecteur intelligent"]},"Smart Picker":{v:["S\xe9lecteur intelligent"]}}},{l:"ga",t:{"Back to provider selection":{v:["Ar ais go roghn\xfa sol\xe1thr\xf3ra"]},"Close Smart Picker":{v:["D\xfan Pioc\xe1la\xed Cliste"]},"Smart Picker":{v:["Roghn\xf3ir Cliste"]}}},{l:"gl",t:{"Back to provider selection":{v:["Volver \xe1 selecci\xf3n do provedor"]},"Close Smart Picker":{v:["Pechar o Selector intelixente"]},"Smart Picker":{v:["Selector intelixente"]}}},{l:"he",t:{"Back to provider selection":{v:["חזרה לבחירת ספק"]},"Close Smart Picker":{v:["סגירת הבורר החכם"]},"Smart Picker":{v:["בורר חכם"]}}},{l:"hr",t:{"Back to provider selection":{v:["Natrag na odabir pružatelja"]},"Close Smart Picker":{v:["Zatvori pametni odabir"]},"Smart Picker":{v:["Pametni odabir"]}}},{l:"hu",t:{}},{l:"id",t:{"Back to provider selection":{v:["Kembali ke pemilihan penyedia"]},"Close Smart Picker":{v:["Tutup Pemilih Cerdas"]},"Smart Picker":{v:["Pemilih Cerdas"]}}},{l:"is",t:{"Back to provider selection":{v:["Til baka \xed val \xe1 \xfej\xf3nustuveitu"]},"Close Smart Picker":{v:["Loka snjall-veljara"]},"Smart Picker":{v:["Snjall-veljari"]}}},{l:"it",t:{"Back to provider selection":{v:["Torna alla selezione del provider"]},"Close Smart Picker":{v:["Chiudere lo Smart Picker"]},"Smart Picker":{v:["Picker intelligente"]}}},{l:"ja",t:{"Back to provider selection":{v:["プロバイダーの選択に戻る"]},"Close Smart Picker":{v:["スマートピッカーを閉じる"]},"Smart Picker":{v:["スマートピッカー"]}}},{l:"ja-JP",t:{"Back to provider selection":{v:["プロバイダーの選択に戻る"]},"Close Smart Picker":{v:["スマートピッカーを閉じる"]},"Smart Picker":{v:["スマートピッカー"]}}},{l:"ko",t:{"Back to provider selection":{v:["제공자 선택으로 돌아가기"]},"Close Smart Picker":{v:["스마트 선택기 닫기"]},"Smart Picker":{v:["스마트 선택기"]}}},{l:"lo",t:{"Back to provider selection":{v:["ກັບໄປທີ່ການເລືອກຜູ້ໃຫ້ບໍລິການ"]},"Close Smart Picker":{v:["ປິດໂຕເລືອກອັດສະລິຍະ"]},"Smart Picker":{v:["ໂຕເລືອກອັດສະລິຍະ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Back to provider selection":{v:["Назад до избор на провајдер"]},"Close Smart Picker":{v:["Затвори паметен избирач"]},"Smart Picker":{v:["Паметен избирач"]}}},{l:"my",t:{}},{l:"nb",t:{"Back to provider selection":{v:["Tilbake til leverand\xf8rvalg"]},"Close Smart Picker":{v:["Lukk Smart Velger"]},"Smart Picker":{v:["Smart Velger"]}}},{l:"nl",t:{"Back to provider selection":{v:["Terug naar provider selectie"]},"Close Smart Picker":{v:["Slimme Kiezer sluiten"]},"Smart Picker":{v:["Slimme Kiezer"]}}},{l:"oc",t:{}},{l:"pl",t:{"Back to provider selection":{v:["Powr\xf3t do wyboru dostawcy"]},"Close Smart Picker":{v:["Zamknij inteligentny selektor"]},"Smart Picker":{v:["Inteligentne wybieranie"]}}},{l:"pt-BR",t:{"Back to provider selection":{v:["Voltar para sele\xe7\xe3o de provedor"]},"Close Smart Picker":{v:["Fechar Seletor Inteligente"]},"Smart Picker":{v:["Seletor Inteligente"]}}},{l:"pt-PT",t:{"Back to provider selection":{v:["Voltar \xe0 sele\xe7\xe3o de fornecedor"]},"Close Smart Picker":{v:['Fechar "Smart Picker"']},"Smart Picker":{v:["Smart Picker"]}}},{l:"ro",t:{"Back to provider selection":{v:["\xcenapoi la selecția providerului"]},"Close Smart Picker":{v:["\xcenchide Smart Picker"]},"Smart Picker":{v:["Smart Picker"]}}},{l:"ru",t:{"Back to provider selection":{v:["Вернуться к выбору провайдера"]},"Close Smart Picker":{v:["Закрыть интеллектуальный выбор"]},"Smart Picker":{v:["Умный выбор"]}}},{l:"sk",t:{"Back to provider selection":{v:["Sp\xe4ť na v\xfdber poskytovateľa"]},"Close Smart Picker":{v:["Zavrieť inteligentn\xfd v\xfdber"]},"Smart Picker":{v:["Inteligentn\xfd v\xfdber"]}}},{l:"sl",t:{}},{l:"sr",t:{"Back to provider selection":{v:["Назад на избор пружаоца"]},"Close Smart Picker":{v:["Затвори паметни бирач"]},"Smart Picker":{v:["Паметни бирач"]}}},{l:"sv",t:{"Back to provider selection":{v:["Tillbaka till leverant\xf6rsval"]},"Close Smart Picker":{v:["St\xe4ng Smart Picker"]},"Smart Picker":{v:["Smart Picker"]}}},{l:"tr",t:{"Back to provider selection":{v:["Hizmet sağlayıcı se\xe7imine d\xf6n"]},"Close Smart Picker":{v:["Akıllı se\xe7imi kapat"]},"Smart Picker":{v:["Akıllı se\xe7im"]}}},{l:"uk",t:{"Back to provider selection":{v:["Назад до вибору постачальника"]},"Close Smart Picker":{v:["Закрити асистент вибору"]},"Smart Picker":{v:["Асистент вибору"]}}},{l:"uz",t:{"Back to provider selection":{v:["Provayder tanloviga qaytish"]},"Close Smart Picker":{v:["Smart Picker-ni yoping"]},"Smart Picker":{v:["Aqlli tanlovchi"]}}},{l:"zh-CN",t:{"Back to provider selection":{v:["返回至提供者选择列表"]},"Close Smart Picker":{v:["关闭智能拾取器"]},"Smart Picker":{v:["智能拾取器"]}}},{l:"zh-HK",t:{"Back to provider selection":{v:["回到提供者選擇"]},"Close Smart Picker":{v:["關閉 Smart Picker"]},"Smart Picker":{v:["Smart Picker"]}}},{l:"zh-TW",t:{"Back to provider selection":{v:["回到提供者選擇"]},"Close Smart Picker":{v:["關閉智慧型挑選器"]},"Smart Picker":{v:["智慧型挑選器"]}}}],_=[{l:"ar",t:{"Calendar icon":{v:["أيقونة التقويم"]},Cancel:{v:["إلغاء"]},"Clear value":{v:["مَحو القيمة"]},"Close time Picker":{v:["إغلاق لاقط الوقت"]},"Datepicker input":{v:["مُدخَلات لاقط التاريخ"]},"Datepicker menu":{v:["قائمة لاقط التاريخ"]},"Decrement hours":{v:["إنقاص الساعات"]},"Decrement minutes":{v:["إنقاص الدقائق"]},"Decrement seconds":{v:["إنقاص الثواني"]},"Increment hours":{v:["زيادة الساعات"]},"Increment minutes":{v:["زيادة الدقائق"]},"Increment seconds":{v:["زيادة الثواني"]},"Month picker":{v:["لاقط الشهر"]},"Month picker overlay":{v:["تراكب لاقط الشهر"]},"Next month":{v:["الشهر القادم"]},"Next year":{v:["السنة القادمة"]},Now:{v:["الآن"]},"Open hours overlay":{v:["فتح تراكب الساعات "]},"Open minutes overlay":{v:["فتح تراكب الدقائق"]},"Open months overlay":{v:["فتح تراكب الشهور"]},"Open seconds overlay":{v:["فتح تراكب الثواني"]},"Open time picker":{v:["فتح لاقط الوقت"]},"Open years overlay":{v:["فتح تراكب السنوات"]},Pick:{v:["إلتقاط"]},"Previous month":{v:["الشهر الماضي"]},"Previous year":{v:["السنة الماضية"]},"Select date":{v:["إختيار التاريخ"]},"Select date and time":{v:["إختيار التاريخ والوقت"]},"Select month":{v:["إختيار الشهر"]},"Select time":{v:["إختيار الوقت"]},"Select time range":{v:["إختيار المدى الزمني"]},"Select week":{v:["إختيار الأسبوع"]},"Select year":{v:["إختيار السنة"]},"Switch AM/PM mode":{v:["تبديل وضعية صباحاً/مساءً"]},"Time picker":{v:["لاقط الوقت"]},"Toggle overlay":{v:["تبديل التراكب"]},W:{v:["أ"]},"Year picker":{v:["لاقط السنة"]},"Year picker overlay":{v:["تراكب لاقط السنة"]}}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Calendar icon":{v:["Ikona kalend\xe1ře"]},Cancel:{v:["Storno"]},"Clear value":{v:["Vyčistit hodnotu"]},"Close time Picker":{v:["Zavř\xedt v\xfdběr času"]},"Datepicker input":{v:["Vstup v\xfdběru data"]},"Datepicker menu":{v:["Nab\xeddka v\xfdběru data"]},"Decrement hours":{v:["Sn\xedžit hodiny"]},"Decrement minutes":{v:["Sn\xedžit minuty"]},"Decrement seconds":{v:["Sn\xedžit sekundy"]},"Increment hours":{v:["Zv\xfdšit hodiny"]},"Increment minutes":{v:["Zv\xfdšit minuty"]},"Increment seconds":{v:["Zv\xfdšit sekundy"]},"Month picker":{v:["V\xfdběr měs\xedce"]},"Month picker overlay":{v:["Překryvn\xe9 okno v\xfdběru měs\xedce"]},"Next month":{v:["Př\xedšt\xed měs\xedc"]},"Next year":{v:["Př\xedšt\xed rok"]},Now:{v:["Nyn\xed"]},"Open hours overlay":{v:["Otevř\xedt překryvn\xe9 okno hodin"]},"Open minutes overlay":{v:["Otevř\xedt překryvn\xe9 okno minut"]},"Open months overlay":{v:["Otevř\xedt překryvn\xe9 okno měs\xedců"]},"Open seconds overlay":{v:["Otevř\xedt překryvn\xe9 okno sekund"]},"Open time picker":{v:["Otevř\xedt v\xfdběr času"]},"Open years overlay":{v:["Otevř\xedt překryvn\xe9 okno roku"]},Pick:{v:["Vybrat"]},"Previous month":{v:["Předchoz\xed měs\xedc"]},"Previous year":{v:["Předchoz\xed rok"]},"Select date":{v:["Vybrat datum"]},"Select date and time":{v:["Vybrat datum a čas"]},"Select month":{v:["Vybrat měs\xedc"]},"Select time":{v:["Vybrat čas"]},"Select time range":{v:["Vybrat časov\xfd rozsah"]},"Select week":{v:["Vybrat t\xfdden"]},"Select year":{v:["Vybrat rok"]},"Switch AM/PM mode":{v:["Přepnout režim dopo/odpoledne"]},"Time picker":{v:["V\xfdběr času"]},"Time zone":{v:["Časov\xe9 p\xe1smo"]},"Toggle overlay":{v:["Vyp/zap. překryvn\xe9 okno"]},W:{v:["T"]},"Year picker":{v:["V\xfdběr roku"]},"Year picker overlay":{v:["Překryvn\xe9 okno v\xfdběru roku"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"Calendar icon":{v:["Kalenderikon"]},Cancel:{v:["Annull\xe9r"]},"Clear value":{v:["Klar v\xe6rdi"]},"Close time Picker":{v:["N\xe6rtid Picker"]},"Datepicker input":{v:["Datapicker input"]},"Datepicker menu":{v:["Datapicker menu"]},"Decrement hours":{v:["Formindsk timer"]},"Decrement minutes":{v:["Formindsk minutter"]},"Decrement seconds":{v:["Formindsk sekunder"]},"Increment hours":{v:["For\xf8g timer"]},"Increment minutes":{v:["For\xf8g minutter"]},"Increment seconds":{v:["For\xf8g sekunder"]},"Month picker":{v:["M\xe5nedsv\xe6lger"]},"Month picker overlay":{v:["M\xe5neder v\xe6lger overlay"]},"Next month":{v:["N\xe6ste m\xe5ned"]},"Next year":{v:["N\xe6ste \xe5r"]},Now:{v:["Nu"]},"Open hours overlay":{v:["\xc5bne timer overlay"]},"Open minutes overlay":{v:["\xc5bn minutter overlay"]},"Open months overlay":{v:["\xc5bne m\xe5neder overlay"]},"Open seconds overlay":{v:["\xc5bne sekunder overlay"]},"Open time picker":{v:["\xc5bent tidsv\xe6lger"]},"Open years overlay":{v:["\xc5bne \xe5r overlay"]},Pick:{v:["V\xe6lg"]},"Previous month":{v:["Forrige m\xe5ned"]},"Previous year":{v:["Foreg\xe5ende \xe5r"]},"Select date":{v:["V\xe6lg dato"]},"Select date and time":{v:["V\xe6lg dato og tidspunkt"]},"Select month":{v:["V\xe6lg m\xe5ned"]},"Select time":{v:["V\xe6lg tid"]},"Select time range":{v:["V\xe6lg tidsinterval"]},"Select week":{v:["V\xe6lg uge"]},"Select year":{v:["V\xe6lg \xe5r"]},"Switch AM/PM mode":{v:["Skift AM/PM-tilstand"]},"Time picker":{v:["Tidsv\xe6lger"]},"Time zone":{v:["Tidszone"]},"Toggle overlay":{v:["Sl\xe5 overlay til / fra"]},W:{v:["W"]},"Year picker":{v:["\xc5r v\xe6lger"]},"Year picker overlay":{v:["\xc5r v\xe6lger overlay"]}}},{l:"de",t:{"Calendar icon":{v:["Kalendersymbol"]},Cancel:{v:["Abbrechen"]},"Clear value":{v:["Wert l\xf6schen"]},"Close time Picker":{v:["Zeitauswahl schlie\xdfen"]},"Datepicker input":{v:["Eingabe Datumsauswahl"]},"Datepicker menu":{v:["Men\xfc Datumsauswahl"]},"Decrement hours":{v:["Stunden verringern"]},"Decrement minutes":{v:["Minuten verringern"]},"Decrement seconds":{v:["Sekunden verringern"]},"Increment hours":{v:["Stunden hochz\xe4hlen"]},"Increment minutes":{v:["Minuten hochz\xe4hlen"]},"Increment seconds":{v:["Sekunden hochz\xe4hlen"]},"Month picker":{v:["Monatsauswahl"]},"Month picker overlay":{v:["Monatsauswahl-Overlay"]},"Next month":{v:["N\xe4chster Monat"]},"Next year":{v:["N\xe4chstes Jahr"]},Now:{v:["Jetzt"]},"Open hours overlay":{v:["Stunden-Overlay \xf6ffnen"]},"Open minutes overlay":{v:["Minuten-Overlay \xf6ffnen"]},"Open months overlay":{v:["Monate-Overlay \xf6ffnen"]},"Open seconds overlay":{v:["Sekunden-Overlay \xf6ffnen"]},"Open time picker":{v:["Zeitauswahl \xf6ffnen"]},"Open years overlay":{v:["Jahre-Overlay \xf6ffnen"]},Pick:{v:["Ausw\xe4hlen"]},"Previous month":{v:["Vorheriger Monat"]},"Previous year":{v:["Vorheriges Jahr"]},"Select date":{v:["Datum ausw\xe4hlen"]},"Select date and time":{v:["Datum und Uhrzeit ausw\xe4hlen"]},"Select month":{v:["Monat ausw\xe4hlen"]},"Select time":{v:["Uhrzeit ausw\xe4hlen"]},"Select time range":{v:["Zeitspanne ausw\xe4hlen"]},"Select week":{v:["Woche ausw\xe4hlen"]},"Select year":{v:["Jahr ausw\xe4hlen"]},"Switch AM/PM mode":{v:["Zwischen AM/PM-Modus wechseln"]},"Time picker":{v:["Zeitauswahl"]},"Time zone":{v:["Zeitzone"]},"Toggle overlay":{v:["Overlay umschalten"]},W:{v:["W"]},"Year picker":{v:["Jahresauswahl"]},"Year picker overlay":{v:["Jahre-Overlay \xf6ffnen"]}}},{l:"de-DE",t:{"Calendar icon":{v:["Kalendersymbol"]},Cancel:{v:["Abbrechen"]},"Clear value":{v:["Wert l\xf6schen"]},"Close time Picker":{v:["Zeitauswahl schlie\xdfen"]},"Datepicker input":{v:["Eingabe Datumsauswahl"]},"Datepicker menu":{v:["Men\xfc Datumsauswahl"]},"Decrement hours":{v:["Stunden verringern"]},"Decrement minutes":{v:["Minuten verringern"]},"Decrement seconds":{v:["Sekunden verringern"]},"Increment hours":{v:["Stunden hochz\xe4hlen"]},"Increment minutes":{v:["Minuten hochz\xe4hlen"]},"Increment seconds":{v:["Sekunden hochz\xe4hlen"]},"Month picker":{v:["Monatsauswahl"]},"Month picker overlay":{v:["Monatsauswahl-Overlay"]},"Next month":{v:["N\xe4chster Monat"]},"Next year":{v:["N\xe4chstes Jahr"]},Now:{v:["Jetzt"]},"Open hours overlay":{v:["Stunden-Overlay \xf6ffnen"]},"Open minutes overlay":{v:["Minuten-Overlay \xf6ffnen"]},"Open months overlay":{v:["Monate-Overlay \xf6ffnen"]},"Open seconds overlay":{v:["Sekunden-Overlay \xf6ffnen"]},"Open time picker":{v:["Zeitauswahl \xf6ffnen"]},"Open years overlay":{v:["Jahre-Overlay \xf6ffnen"]},Pick:{v:["Ausw\xe4hlen"]},"Previous month":{v:["Vorheriger Monat"]},"Previous year":{v:["Vorheriges Jahr"]},"Select date":{v:["Datum ausw\xe4hlen"]},"Select date and time":{v:["Datum und Uhrzeit ausw\xe4hlen"]},"Select month":{v:["Monat ausw\xe4hlen"]},"Select time":{v:["Uhrzeit ausw\xe4hlen"]},"Select time range":{v:["Zeitspanne ausw\xe4hlen"]},"Select week":{v:["Woche ausw\xe4hlen"]},"Select year":{v:["Jahr ausw\xe4hlen"]},"Switch AM/PM mode":{v:["Zwischen AM/PM-Modus wechseln"]},"Time picker":{v:["Zeitauswahl"]},"Time zone":{v:["Zeitzone"]},"Toggle overlay":{v:["Overlay umschalten"]},W:{v:["W"]},"Year picker":{v:["Jahresauswahl"]},"Year picker overlay":{v:["Jahre-Overlay \xf6ffnen"]}}},{l:"el",t:{"Calendar icon":{v:["Εικονίδιο ημερολογίου"]},Cancel:{v:["Ακύρωση"]},"Clear value":{v:["Εκκαθάριση αξίας"]},"Close time Picker":{v:["Κλείσιμο επιλογέα ώρας"]},"Datepicker input":{v:["Εισαγωγή ημερομηνίας"]},"Datepicker menu":{v:["Μενού επιλογής ημερομηνίας"]},"Decrement hours":{v:["Μείωση ωρών"]},"Decrement minutes":{v:["Μείωση λεπτών"]},"Decrement seconds":{v:["Μείωση δευτερολέπτων"]},"Increment hours":{v:["Αύξηση ωρών"]},"Increment minutes":{v:["Αύξηση λεπτών"]},"Increment seconds":{v:["Αύξηση δευτερολέπτων"]},"Month picker":{v:["Επιλογή μήνα"]},"Month picker overlay":{v:["Επικάλυψη επιλογής μήνα"]},"Next month":{v:["Επόμενος μήνας"]},"Next year":{v:["Επόμενο έτος"]},Now:{v:["Τώρα"]},"Open hours overlay":{v:["Άνοιγμα επικάλυψης ωρών"]},"Open minutes overlay":{v:["Άνοιγμα επικάλυψης λεπτών"]},"Open months overlay":{v:["Άνοιγμα επικάλυψης μηνών"]},"Open seconds overlay":{v:["Άνοιγμα επικάλυψης δευτερολέπτων"]},"Open time picker":{v:["Άνοιγμα επιλογέα ώρας"]},"Open years overlay":{v:["Άνοιγμα επικάλυψης ετών"]},Pick:{v:["Επιλογή"]},"Previous month":{v:["Προηγούμενος μήνας"]},"Previous year":{v:["Προηγούμενο έτος"]},"Select date":{v:["Επιλογή ημερομηνίας"]},"Select date and time":{v:["Επιλογή ημερομηνίας και ώρας"]},"Select month":{v:["Επιλογή μήνα"]},"Select time":{v:["Επιλογή ώρας"]},"Select time range":{v:["Επιλογή χρονικού διαστήματος"]},"Select week":{v:["Επιλογή εβδομάδας"]},"Select year":{v:["Επιλογή έτους"]},"Switch AM/PM mode":{v:["Εναλλαγή λειτουργίας AM/PM"]},"Time picker":{v:["Επιλογή ώρας"]},"Toggle overlay":{v:["Εναλλαγή επικάλυψης"]},W:{v:["Τε"]},"Year picker":{v:["Επιλογέας έτους"]},"Year picker overlay":{v:["Επικάλυψη επιλογέα έτους"]}}},{l:"en-GB",t:{"Calendar icon":{v:["Calendar icon"]},Cancel:{v:["Cancel"]},"Clear value":{v:["Clear value"]},"Close time Picker":{v:["Close time Picker"]},"Datepicker input":{v:["Datepicker input"]},"Datepicker menu":{v:["Datepicker menu"]},"Decrement hours":{v:["Decrement hours"]},"Decrement minutes":{v:["Decrement minutes"]},"Decrement seconds":{v:["Decrement seconds"]},"Increment hours":{v:["Increment hours"]},"Increment minutes":{v:["Increment minutes"]},"Increment seconds":{v:["Increment seconds"]},"Month picker":{v:["Month picker"]},"Month picker overlay":{v:["Month picker overlay"]},"Next month":{v:["Next month"]},"Next year":{v:["Next year"]},Now:{v:["Now"]},"Open hours overlay":{v:["Open hours overlay"]},"Open minutes overlay":{v:["Open minutes overlay"]},"Open months overlay":{v:["Open months overlay"]},"Open seconds overlay":{v:["Open seconds overlay"]},"Open time picker":{v:["Open time picker"]},"Open years overlay":{v:["Open years overlay"]},Pick:{v:["Pick"]},"Previous month":{v:["Previous month"]},"Previous year":{v:["Previous year"]},"Select date":{v:["Select date"]},"Select date and time":{v:["Select date and time"]},"Select month":{v:["Select month"]},"Select time":{v:["Select time"]},"Select time range":{v:["Select time range"]},"Select week":{v:["Select week"]},"Select year":{v:["Select year"]},"Switch AM/PM mode":{v:["Switch AM/PM mode"]},"Time picker":{v:["Time picker"]},"Time zone":{v:["Time zone"]},"Toggle overlay":{v:["Toggle overlay"]},W:{v:["W"]},"Year picker":{v:["Year picker"]},"Year picker overlay":{v:["Year picker overlay"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{"Calendar icon":{v:["Kalendriikoon"]},Cancel:{v:["Katkesta"]},"Clear value":{v:["Kustuta v\xe4\xe4rtus"]},"Close time Picker":{v:["Sulge ajavalija"]},"Datepicker input":{v:["Kuup\xe4evavalija sisend"]},"Datepicker menu":{v:["Kuup\xe4evavalija sisend"]},"Decrement hours":{v:["V\xe4henda tunde"]},"Decrement minutes":{v:["V\xe4henda minuteid"]},"Decrement seconds":{v:["V\xe4henda sekundeid"]},"Increment hours":{v:["Suurenda tunde"]},"Increment minutes":{v:["Suurenda minuteid"]},"Increment seconds":{v:["Suurenda sekundeid"]},"Month picker":{v:["Kuup\xe4evavalija"]},"Month picker overlay":{v:["Kuup\xe4evavalija \xfclekatteaken"]},"Next month":{v:["J\xe4rgmine kuu"]},"Next year":{v:["J\xe4rgmine aasta"]},Now:{v:["Praegu"]},"Open hours overlay":{v:["Ava tundide vaade"]},"Open minutes overlay":{v:["Ava minutite vaade"]},"Open months overlay":{v:["Ava kuude vaade"]},"Open seconds overlay":{v:["Ava sekundite vaade"]},"Open time picker":{v:["Ava ajavalija"]},"Open years overlay":{v:["Ava aastate vaade"]},Pick:{v:["Vali"]},"Previous month":{v:["Eelmine kuu"]},"Previous year":{v:["Eelmine aasta"]},"Select date":{v:["Vali kuup\xe4ev"]},"Select date and time":{v:["Vali kuup\xe4ev ja kellaaeg"]},"Select month":{v:["Vali kuu"]},"Select time":{v:["Vali aeg"]},"Select time range":{v:["Vali ajavahemik"]},"Select week":{v:["Vali n\xe4dal"]},"Select year":{v:["Vali aasta"]},"Switch AM/PM mode":{v:["Vaheta AM/PM kuvamist"]},"Time picker":{v:["Ajavalija"]},"Time zone":{v:["Ajav\xf6\xf6nd"]},"Toggle overlay":{v:["L\xfclita \xfclekatteaken sisse/v\xe4lja"]},W:{v:["W"]},"Year picker":{v:["Aastavalija"]},"Year picker overlay":{v:["Aastavavalija \xfclekatteaken"]}}},{l:"eu",t:{}},{l:"fa",t:{}},{l:"fi",t:{}},{l:"fr",t:{"Calendar icon":{v:["Ic\xf4ne de calendrier"]},Cancel:{v:["Annuler"]},"Clear value":{v:["Effacer la valeur"]},"Close time Picker":{v:["Fermer le s\xe9lecteur de temps"]},"Datepicker input":{v:["Entr\xe9e du s\xe9lecteur de date"]},"Datepicker menu":{v:["Menu du s\xe9lecteur de date"]},"Decrement hours":{v:["Diminuer les heures"]},"Decrement minutes":{v:["Diminuer les minutes"]},"Decrement seconds":{v:["Diminuer les secondes"]},"Increment hours":{v:["Augmenter les heures"]},"Increment minutes":{v:["Augmenter les minutes"]},"Increment seconds":{v:["Augmenter les secondes"]},"Month picker":{v:["S\xe9lecteur de mois"]},"Month picker overlay":{v:["Superposition du s\xe9lecteur de mois"]},"Next month":{v:["Mois prochain"]},"Next year":{v:["Ann\xe9e prochaine"]},Now:{v:["Maintenant"]},"Open hours overlay":{v:["Superposition des heures d'ouverture"]},"Open minutes overlay":{v:["Superposition des minutes d'ouverture"]},"Open months overlay":{v:["Superposition des mois ouverts"]},"Open seconds overlay":{v:["Superposition des secondes ouvertes"]},"Open time picker":{v:["Ouvrir le s\xe9lecteur de temps"]},"Open years overlay":{v:["Superposition des ann\xe9es ouvertes"]},Pick:{v:["Choisir"]},"Previous month":{v:["Mois pr\xe9c\xe9dent"]},"Previous year":{v:["Ann\xe9e pr\xe9c\xe9dente"]},"Select date":{v:["S\xe9lectionnez la date"]},"Select date and time":{v:["S\xe9lectionnez la date et l'heure"]},"Select month":{v:["S\xe9lectionnez le mois"]},"Select time":{v:["S\xe9lectionnez l'heure"]},"Select time range":{v:["S\xe9lectionnez la plage horaire"]},"Select week":{v:["S\xe9lectionnez la semaine"]},"Select year":{v:["S\xe9lectionnez l'ann\xe9e"]},"Switch AM/PM mode":{v:["Basculer le mode Matin/Apr\xe8s-midi"]},"Time picker":{v:["S\xe9lecteur de temps"]},"Time zone":{v:["Fuseau horaire"]},"Toggle overlay":{v:["Basculer la superposition"]},W:{v:["W"]},"Year picker":{v:["S\xe9lecteur d'ann\xe9e"]},"Year picker overlay":{v:["Superposition du s\xe9lecteur d’ann\xe9e"]}}},{l:"ga",t:{"Calendar icon":{v:["Deilbh\xedn f\xe9ilire"]},Cancel:{v:["Cealaigh"]},"Clear value":{v:["Luach soil\xe9ir"]},"Close time Picker":{v:["Roghn\xf3ir am d\xfanta"]},"Datepicker input":{v:["Ionchur datepicker"]},"Datepicker menu":{v:["Roghchl\xe1r datepicker"]},"Decrement hours":{v:["Laghdaigh uaireanta"]},"Decrement minutes":{v:["Laghdaigh n\xf3im\xe9id "]},"Decrement seconds":{v:["Laghdaigh soicind"]},"Increment hours":{v:["M\xe9adaigh uaireanta"]},"Increment minutes":{v:["M\xe9adaigh n\xf3im\xe9id"]},"Increment seconds":{v:["M\xe9adaigh soicind"]},"Month picker":{v:["Roghn\xf3ir m\xedosa"]},"Month picker overlay":{v:["Forleagan roghn\xf3ir m\xedosa"]},"Next month":{v:["An mh\xed seo chugainn"]},"Next year":{v:["An bhliain seo chugainn"]},Now:{v:["Anois"]},"Open hours overlay":{v:["Forleagan uaireanta oscailte"]},"Open minutes overlay":{v:["Forleagan n\xf3im\xe9ad oscailte"]},"Open months overlay":{v:["Forleagan m\xedonna oscailte"]},"Open seconds overlay":{v:["Soicind oscailte forleagan"]},"Open time picker":{v:["Roghn\xf3ir am oscailte"]},"Open years overlay":{v:["Forleagan blianta oscailte"]},Pick:{v:["Pioc"]},"Previous month":{v:["An mh\xed roimhe sin"]},"Previous year":{v:["Bhliain roimhe sin"]},"Select date":{v:["Roghnaigh d\xe1ta"]},"Select date and time":{v:["Roghnaigh d\xe1ta agus am"]},"Select month":{v:["Roghnaigh m\xed"]},"Select time":{v:["Roghnaigh am"]},"Select time range":{v:["Roghnaigh raon ama"]},"Select week":{v:["Roghnaigh seachtain"]},"Select year":{v:["Roghnaigh bliain"]},"Switch AM/PM mode":{v:["Athraigh m\xf3d AM/PM"]},"Time picker":{v:["Roghn\xf3ir ama"]},"Time zone":{v:["Crios ama"]},"Toggle overlay":{v:["Scor\xe1naigh forleagan"]},W:{v:["W"]},"Year picker":{v:["Roghn\xf3ir bliana"]},"Year picker overlay":{v:["Forleagan roghn\xf3ir bliana"]}}},{l:"gl",t:{"Calendar icon":{v:["Icona do calendario"]},Cancel:{v:["Cancelar"]},"Clear value":{v:["Limpar o valor"]},"Close time Picker":{v:["Pechar o Selector de hora"]},"Datepicker input":{v:["Entrada do selector de datas"]},"Datepicker menu":{v:["Men\xfa do selector de datas"]},"Decrement hours":{v:["Diminu\xedr as horas"]},"Decrement minutes":{v:["Diminu\xedr os minutos"]},"Decrement seconds":{v:["Diminu\xedr os segundos"]},"Increment hours":{v:["Aumentar as horas"]},"Increment minutes":{v:["Aumentar os minutos"]},"Increment seconds":{v:["Aumentar os segundos"]},"Month picker":{v:["Selector de mes"]},"Month picker overlay":{v:["Superposici\xf3n do selector de mes"]},"Next month":{v:["Pr\xf3ximo mes"]},"Next year":{v:["Pr\xf3ximo ano"]},Now:{v:["Agora"]},"Open hours overlay":{v:["Abrir a superposici\xf3n de horas"]},"Open minutes overlay":{v:["Abrir a superposici\xf3n de minutos"]},"Open months overlay":{v:["Abrir a superposici\xf3n de meses"]},"Open seconds overlay":{v:["Abrir a superposici\xf3n de segundos"]},"Open time picker":{v:["Abrir o selector de hora"]},"Open years overlay":{v:["Abrir a superposici\xf3n de anos"]},Pick:{v:["Escoller"]},"Previous month":{v:["Mes pasado"]},"Previous year":{v:["Ano pasado"]},"Select date":{v:["Seleccione a data"]},"Select date and time":{v:["Seleccione a data e a hora"]},"Select month":{v:["Seleccione o mes"]},"Select time":{v:["Seleccione a hora"]},"Select time range":{v:[" Seleccione o intervalo de tempo"]},"Select week":{v:["Seleccione a semana"]},"Select year":{v:["Seleccione o ano"]},"Switch AM/PM mode":{v:["Alternar o modo AM/PM"]},"Time picker":{v:["Selector de hora"]},"Time zone":{v:["Fuso horario"]},"Toggle overlay":{v:["Alternar a sobreposici\xf3n"]},W:{v:["S"]},"Year picker":{v:["Selector de ano"]},"Year picker overlay":{v:["Superposici\xf3n do selector de ano"]}}},{l:"he",t:{}},{l:"hr",t:{"Calendar icon":{v:["Ikona kalendara"]},Cancel:{v:["Otkaži"]},"Clear value":{v:["Očisti vrijednost"]},"Close time Picker":{v:["Zatvori odabir vremena"]},"Datepicker input":{v:["Unos birača datuma"]},"Datepicker menu":{v:["Izbornik birača datuma"]},"Decrement hours":{v:["Smanji sate"]},"Decrement minutes":{v:["Smanji minute"]},"Decrement seconds":{v:["Smanji sekunde"]},"Increment hours":{v:["Povećaj sate"]},"Increment minutes":{v:["Povećaj minute"]},"Increment seconds":{v:["Povećaj sekunde"]},"Month picker":{v:["Odabir mjeseca"]},"Month picker overlay":{v:["Sloj za odabir mjeseca"]},"Next month":{v:["Sljedeći mjesec"]},"Next year":{v:["Sljedeća godina"]},Now:{v:["Sada"]},"Open hours overlay":{v:["Otvori sloj za odabir sati"]},"Open minutes overlay":{v:["Otvori sloj za odabir minuta"]},"Open months overlay":{v:["Otvori sloj za odabir mjeseci"]},"Open seconds overlay":{v:["Otvori sloj za odabir sekundi"]},"Open time picker":{v:["Otvori birač vremena"]},"Open years overlay":{v:["Otvori sloj za odabir godina"]},Pick:{v:["Odaberi"]},"Previous month":{v:["Prethodni mjesec"]},"Previous year":{v:["Prethodna godina"]},"Select date":{v:["Odaberi datum"]},"Select date and time":{v:["Odaberi datum i vrijeme"]},"Select month":{v:["Odaberi mjesec"]},"Select time":{v:["Odaberi vrijeme"]},"Select time range":{v:["Odaberi vremenski raspon"]},"Select week":{v:["Odaberi tjedan"]},"Select year":{v:["Odaberi godinu"]},"Switch AM/PM mode":{v:["Prebaci AM/PM način"]},"Time picker":{v:["Odabir vremena"]},"Time zone":{v:["Vremenska zona"]},"Toggle overlay":{v:["Uključi/isključi sloj"]},W:{v:["W"]},"Year picker":{v:["Odabir godine"]},"Year picker overlay":{v:["Sloj za odabir godine"]}}},{l:"hu",t:{}},{l:"id",t:{"Calendar icon":{v:["Ikon kalender"]},Cancel:{v:["Batal"]},"Clear value":{v:["Hapus nilai"]},"Close time Picker":{v:["Tutup pemilih waktu"]},"Datepicker input":{v:["Input pemilih tanggal"]},"Datepicker menu":{v:["Menu pemilih tanggal"]},"Decrement hours":{v:["Kurangi jam"]},"Decrement minutes":{v:["Kurangi menit"]},"Decrement seconds":{v:["Kurangi detik"]},"Increment hours":{v:["Tambah jam"]},"Increment minutes":{v:["Tambah menit"]},"Increment seconds":{v:["Tambah detik"]},"Month picker":{v:["Pemilih bulan"]},"Month picker overlay":{v:["Overlay pemilih bulan"]},"Next month":{v:["Bulan berikutnya"]},"Next year":{v:["Tahun berikutnya"]},Now:{v:["Sekarang"]},"Open hours overlay":{v:["Buka overlay jam"]},"Open minutes overlay":{v:["Buka overlay menit"]},"Open months overlay":{v:["Buka overlay bulan"]},"Open seconds overlay":{v:["Buka overlay detik"]},"Open time picker":{v:["Buka pemilih waktu"]},"Open years overlay":{v:["Buka overlay tahun"]},Pick:{v:["Pilih"]},"Previous month":{v:["Bulan sebelumnya"]},"Previous year":{v:["Tahun sebelumnya"]},"Select date":{v:["Pilih tanggal"]},"Select date and time":{v:["Pilih tanggal dan waktu"]},"Select month":{v:["Pilih bulan"]},"Select time":{v:["Pilih waktu"]},"Select time range":{v:["Pilih rentang waktu"]},"Select week":{v:["Pilih minggu"]},"Select year":{v:["Pilih tahun"]},"Switch AM/PM mode":{v:["Ganti mode AM/PM"]},"Time picker":{v:["Pemilih waktu"]},"Time zone":{v:["Zona waktu"]},"Toggle overlay":{v:["Alihkan overlay"]},W:{v:["W"]},"Year picker":{v:["Pemilih tahun"]},"Year picker overlay":{v:["Overlay pemilih tahun"]}}},{l:"is",t:{}},{l:"it",t:{}},{l:"ja",t:{"Calendar icon":{v:["カレンダーのアイコン"]},Cancel:{v:["キャンセル"]},"Clear value":{v:["値をクリア"]},"Close time Picker":{v:["時間ピッカーを閉じる"]},"Datepicker input":{v:["データピッカー入力"]},"Datepicker menu":{v:["データピッカーメニュー"]},"Decrement hours":{v:["時間を減らす"]},"Decrement minutes":{v:["分を減らす"]},"Decrement seconds":{v:["秒を減らす"]},"Increment hours":{v:["時間を増やす"]},"Increment minutes":{v:["分を増やす"]},"Increment seconds":{v:["秒を増やす"]},"Month picker":{v:["月ピッカー"]},"Month picker overlay":{v:["月ピッカーオーバーレイ"]},"Next month":{v:["次月"]},"Next year":{v:["次年"]},Now:{v:["現在"]},"Open hours overlay":{v:["時間オーバーレイを開く"]},"Open minutes overlay":{v:["分オーバーレイを開く"]},"Open months overlay":{v:["月オーバーレイを開く"]},"Open seconds overlay":{v:["秒オーバーレイを開く"]},"Open time picker":{v:["時間ピッカーを開く"]},"Open years overlay":{v:["年オーバーレイを開く"]},Pick:{v:["選択"]},"Previous month":{v:["前月"]},"Previous year":{v:["前年"]},"Select date":{v:["日付を選択"]},"Select date and time":{v:["日付と時刻を選択"]},"Select month":{v:["月を選択"]},"Select time":{v:["時刻を選択"]},"Select time range":{v:["時間範囲を選択"]},"Select week":{v:["週を選択"]},"Select year":{v:["年を選択"]},"Switch AM/PM mode":{v:["AM/PMモードの切り替え"]},"Time picker":{v:["時刻ピッカー"]},"Toggle overlay":{v:["オーバーレイの切り替え"]},W:{v:["W"]},"Year picker":{v:["年ピッカー"]},"Year picker overlay":{v:["年ピッカーオーバーレイ"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{"Calendar icon":{v:["캘린더 아이콘"]},Cancel:{v:["취소"]},"Clear value":{v:["값 지우기"]},"Close time Picker":{v:["시간 선택기 닫기"]},"Datepicker input":{v:["날짜 선택기 입력"]},"Datepicker menu":{v:["날짜 입력기 메뉴"]},"Decrement hours":{v:["시 감소"]},"Decrement minutes":{v:["분 감소"]},"Decrement seconds":{v:["초 감소"]},"Increment hours":{v:["시 증가"]},"Increment minutes":{v:["분 증가"]},"Increment seconds":{v:["초 증가"]},"Month picker":{v:["월 선택기"]},"Month picker overlay":{v:["월 선택기 오버레이"]},"Next month":{v:["다음 달"]},"Next year":{v:["다음 해"]},Now:{v:["현재"]},"Open hours overlay":{v:["시 오버레이 열기"]},"Open minutes overlay":{v:["분 오버레이 열기"]},"Open months overlay":{v:["월 오버레이 열기"]},"Open seconds overlay":{v:["초 오버레이 열기"]},"Open time picker":{v:["시간 선택기 열기"]},"Open years overlay":{v:["년 오버레이 열기"]},Pick:{v:["선택"]},"Previous month":{v:["이전 달"]},"Previous year":{v:["이전 해"]},"Select date":{v:["날짜 선택"]},"Select date and time":{v:["날짜와 시간 선택"]},"Select month":{v:["월 선택"]},"Select time":{v:["시간 선택"]},"Select time range":{v:["시간 구간 선택"]},"Select week":{v:["주 선택"]},"Select year":{v:["년도 선택"]},"Switch AM/PM mode":{v:["AM/PM 모드 전환"]},"Time picker":{v:["시간 선택기"]},"Time zone":{v:["시간대"]},"Toggle overlay":{v:["오버레이 토글"]},W:{v:["W"]},"Year picker":{v:["년도 선택기"]},"Year picker overlay":{v:["년도 선택기 오버레이"]}}},{l:"lo",t:{"Calendar icon":{v:["ໄອຄອນປະຕິທິນ"]},Cancel:{v:["ຍົກເລີກ"]},"Clear value":{v:["ລຶບຄ່າ"]},"Close time Picker":{v:["ປິດໂຕເລືອກເວລາ"]},"Datepicker input":{v:["ຊ່ອງປ້ອນວັນທີ"]},"Datepicker menu":{v:["ເມນູໂຕເລືອກວັນທີ"]},"Decrement hours":{v:["ຫຼຸດຊົ່ວໂມງ"]},"Decrement minutes":{v:["ຫຼຸດນາທີ"]},"Decrement seconds":{v:["ຫຼຸດວິນາທີ"]},"Increment hours":{v:["ເພີ່ມຊົ່ວໂມງ"]},"Increment minutes":{v:["ເພີ່ມນາທີ"]},"Increment seconds":{v:["ເພີ່ມວິນາທີ"]},"Month picker":{v:["ໂຕເລືອກເດືອນ"]},"Month picker overlay":{v:["ໜ້າຕ່າງໂຕເລືອກເດືອນ"]},"Next month":{v:["ເດືອນໜ້າ"]},"Next year":{v:["ປີໜ້າ"]},Now:{v:["ຕອນນີ້"]},"Open hours overlay":{v:["ເປີດໜ້າຕ່າງເລືອກຊົ່ວໂມງ"]},"Open minutes overlay":{v:["ເປີດໜ້າຕ່າງເລືອກນາທີ"]},"Open months overlay":{v:["ເປີດໜ້າຕ່າງເລືອກເດືອນ"]},"Open seconds overlay":{v:["ເປີດໜ້າຕ່າງເລືອກວິນາທີ"]},"Open time picker":{v:["ເປີດໂຕເລືອກເວລາ"]},"Open years overlay":{v:["ເປີດໜ້າຕ່າງເລືອກປີ"]},Pick:{v:["ເລືອກ"]},"Previous month":{v:["ເດືອນກ່ອນ"]},"Previous year":{v:["ປີກ່ອນ"]},"Select date":{v:["ເລືອກວັນທີ"]},"Select date and time":{v:["ເລືອກວັນທີ ແລະ ເວລາ"]},"Select month":{v:["ເລືອກເດືອນ"]},"Select time":{v:["ເລືອກເວລາ"]},"Select time range":{v:["ເລືອກຊ່ວງເວລາ"]},"Select week":{v:["ເລືອກອາທິດ"]},"Select year":{v:["ເລືອກປີ"]},"Switch AM/PM mode":{v:["ສະຫຼັບໂໝດ AM/PM"]},"Time picker":{v:["ໂຕເລືອກເວລາ"]},"Toggle overlay":{v:["ສະຫຼັບໜ້າຕ່າງ"]},W:{v:["ອ"]},"Year picker":{v:["ໂຕເລືອກປີ"]},"Year picker overlay":{v:["ໜ້າຕ່າງໂຕເລືອກປີ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Calendar icon":{v:["Икона за календар"]},Cancel:{v:["Откажи"]},"Clear value":{v:["Исчисти вредност"]},"Close time Picker":{v:["Затвори избирач на време"]},"Datepicker input":{v:["Поле за избор на датум"]},"Datepicker menu":{v:["Мени за избор на датум"]},"Decrement hours":{v:["Намали часови"]},"Decrement minutes":{v:["Намали минути"]},"Decrement seconds":{v:["Намали секунди"]},"Increment hours":{v:["Зголеми часови"]},"Increment minutes":{v:["Зголеми минути"]},"Increment seconds":{v:["Зголеми секунди"]},"Month picker":{v:["Избор на месец"]},"Month picker overlay":{v:["Надолжен избор на месец"]},"Next month":{v:["Следен месец"]},"Next year":{v:["Следна година"]},Now:{v:["Сега"]},"Open hours overlay":{v:["Отвори преклоп за часови"]},"Open minutes overlay":{v:["Отвори преклоп за минути"]},"Open months overlay":{v:["Отвори преклоп за месеци"]},"Open seconds overlay":{v:["Отвори преклоп за секунди"]},"Open time picker":{v:["Отвори избор на време"]},"Open years overlay":{v:["Отвори преклоп за години"]},Pick:{v:["Избери"]},"Previous month":{v:["Предходен месец"]},"Previous year":{v:["Предходна година"]},"Select date":{v:["Избери датум"]},"Select date and time":{v:["Избери датум и време"]},"Select month":{v:["Избери месец"]},"Select time":{v:["Избери време"]},"Select time range":{v:["Избери времески опсег"]},"Select week":{v:["Избери недела"]},"Select year":{v:["Избери година"]},"Switch AM/PM mode":{v:["Смени AM/PM режим"]},"Time picker":{v:["Избирач на време"]},"Toggle overlay":{v:["Вклучи/исклучи преклоп"]},W:{v:["W"]},"Year picker":{v:["Избор на година"]},"Year picker overlay":{v:["Надолжен избор на година"]}}},{l:"my",t:{}},{l:"nb",t:{}},{l:"nl",t:{"Calendar icon":{v:["Kalender-pictogram"]},Cancel:{v:["Annuleren"]},"Clear value":{v:["Waarde wissen"]},"Close time Picker":{v:["Tijdkiezer sluiten"]},"Datepicker input":{v:["Datumkiezer invoer"]},"Datepicker menu":{v:["Datumkiezer menu"]},"Decrement hours":{v:["Uren verminderen"]},"Decrement minutes":{v:["Minuten verminderen"]},"Decrement seconds":{v:["Seconden verminderen"]},"Increment hours":{v:["Uren vermeerderen"]},"Increment minutes":{v:["Minuten vermeerderen"]},"Increment seconds":{v:["Seconden vermeerderen"]},"Month picker":{v:["Maandkiezer"]},"Month picker overlay":{v:["Maandkiezer-overlay"]},"Next month":{v:["Volgende maand"]},"Next year":{v:["Volgend jaar"]},Now:{v:["Nu"]},"Open hours overlay":{v:["Uren-overlay openen"]},"Open minutes overlay":{v:["Minuten-overlay openen"]},"Open months overlay":{v:["Maanden-overlay openen"]},"Open seconds overlay":{v:["Seconden-overlay openen"]},"Open time picker":{v:["Tijdkiezer openen"]},"Open years overlay":{v:["Jaren-overlay openen"]},Pick:{v:["Kiezen"]},"Previous month":{v:["Vorige maand"]},"Previous year":{v:["Vorig jaar"]},"Select date":{v:["Selecteer datum"]},"Select date and time":{v:["Selecteer datum en tijd"]},"Select month":{v:["Selecteer maand"]},"Select time":{v:["Selecteer tijd"]},"Select time range":{v:["Selecteer tijdsbereik"]},"Select week":{v:["Selecteer week"]},"Select year":{v:["Selecteer jaar"]},"Switch AM/PM mode":{v:["AM/PM-modus wisselen"]},"Time picker":{v:["Tijdkiezer"]},"Time zone":{v:["Tijdzone"]},"Toggle overlay":{v:["Overlay wisselen"]},W:{v:["W"]},"Year picker":{v:["Jaarkiezer"]},"Year picker overlay":{v:["Jaarkiezer-overlay"]}}},{l:"oc",t:{}},{l:"pl",t:{}},{l:"pt-BR",t:{"Calendar icon":{v:["\xcdcone de calend\xe1rio"]},Cancel:{v:["Cancelar"]},"Clear value":{v:["Limpar valor"]},"Close time Picker":{v:["Fechar Seletor de tempo"]},"Datepicker input":{v:["entrada do seletor de data"]},"Datepicker menu":{v:["menu do seletor de data"]},"Decrement hours":{v:["Diminuir horas"]},"Decrement minutes":{v:["Diminuir minutos"]},"Decrement seconds":{v:["Diminuir segundos"]},"Increment hours":{v:["Aumentar horas"]},"Increment minutes":{v:["Aumentar minutos"]},"Increment seconds":{v:["Aumentar segundos"]},"Month picker":{v:["Seletor de meses"]},"Month picker overlay":{v:["Sobreposi\xe7\xe3o do seletor de meses"]},"Next month":{v:["Pr\xf3ximo m\xeas"]},"Next year":{v:["Pr\xf3ximo ano"]},Now:{v:["Agora"]},"Open hours overlay":{v:["Abrir sobreposi\xe7\xe3o de horas"]},"Open minutes overlay":{v:["Abrir sobreposi\xe7\xe3o de minutos"]},"Open months overlay":{v:["Abrir sobreposi\xe7\xe3o de meses"]},"Open seconds overlay":{v:["Abrir sobreposi\xe7\xe3o de segundos"]},"Open time picker":{v:["Abrir seletor de tempo"]},"Open years overlay":{v:["Abrir sobreposi\xe7\xe3o de anos"]},Pick:{v:["Escolher"]},"Previous month":{v:["M\xeas anterior"]},"Previous year":{v:["Ano anterior"]},"Select date":{v:["Selecione data"]},"Select date and time":{v:["Selecione data e hora"]},"Select month":{v:["Selecione m\xeas"]},"Select time":{v:["Selecione hora"]},"Select time range":{v:["Selecione intervalo de tempo"]},"Select week":{v:["Selecione semana"]},"Select year":{v:["Selecione ano"]},"Switch AM/PM mode":{v:["Alternar modo AM/PM"]},"Time picker":{v:["Seletor de tempo"]},"Time zone":{v:["Fuso hor\xe1rio"]},"Toggle overlay":{v:["Alternar sobreposi\xe7\xe3o"]},W:{v:["S"]},"Year picker":{v:["Seletor de ano"]},"Year picker overlay":{v:["Sobreposi\xe7\xe3o do seletor de ano"]}}},{l:"pt-PT",t:{"Calendar icon":{v:["\xcdcone de calend\xe1rio"]},Cancel:{v:["Cancelar"]},"Clear value":{v:["Limpar valor"]},"Close time Picker":{v:["Fechar seletor de hora"]},"Datepicker input":{v:["Campo do seletor de data"]},"Datepicker menu":{v:["Menu do seletor de data"]},"Decrement hours":{v:["Diminuir horas"]},"Decrement minutes":{v:["Diminuir minutos"]},"Decrement seconds":{v:["Diminuir segundos"]},"Increment hours":{v:["Aumentar horas"]},"Increment minutes":{v:["Aumentar minutos"]},"Increment seconds":{v:["Aumentar segundos"]},"Month picker":{v:["Seletor de m\xeas"]},"Month picker overlay":{v:["Janela do seletor de m\xeas"]},"Next month":{v:["Pr\xf3ximo m\xeas"]},"Next year":{v:["Pr\xf3ximo ano"]},Now:{v:["Agora"]},"Open hours overlay":{v:["Abrir janela de horas"]},"Open minutes overlay":{v:["Abrir janela de minutos"]},"Open months overlay":{v:["Abrir janela de meses"]},"Open seconds overlay":{v:["Abrir janela de segundos"]},"Open time picker":{v:["Abrir seletor de hora"]},"Open years overlay":{v:["Abrir janela de anos"]},Pick:{v:["Selecionar"]},"Previous month":{v:["M\xeas anterior"]},"Previous year":{v:["Ano anterior"]},"Select date":{v:["Selecionar data"]},"Select date and time":{v:["Selecionar data e hora"]},"Select month":{v:["Selecionar m\xeas"]},"Select time":{v:["Selecionar hora"]},"Select time range":{v:["Selecionar intervalo de horas"]},"Select week":{v:["Selecionar semana"]},"Select year":{v:["Selecionar ano"]},"Switch AM/PM mode":{v:["Alternar modo AM/PM"]},"Time picker":{v:["Seletor de hora"]},"Toggle overlay":{v:["Alternar sobreposi\xe7\xe3o"]},W:{v:["S"]},"Year picker":{v:["Seletor de ano"]},"Year picker overlay":{v:["Janela do seletor de ano"]}}},{l:"ro",t:{}},{l:"ru",t:{"Calendar icon":{v:["Значок календаря"]},Cancel:{v:["Отмена"]},"Clear value":{v:["Очистить значение"]},"Close time Picker":{v:["Закрыть выбор времени"]},"Datepicker input":{v:["Поле выбора даты"]},"Datepicker menu":{v:["Меню выбора даты"]},"Decrement hours":{v:["Уменьшить количество часов"]},"Decrement minutes":{v:["Уменьшить количество минут"]},"Decrement seconds":{v:["Уменьшить количество секунд"]},"Increment hours":{v:["Увеличить количество часов"]},"Increment minutes":{v:["Увеличить количество минут"]},"Increment seconds":{v:["Увеличить количество секунд"]},"Month picker":{v:["Выбор месяца"]},"Month picker overlay":{v:["Окно выбора месяца"]},"Next month":{v:["Следующий месяц"]},"Next year":{v:["Следующий год"]},Now:{v:["Сейчас"]},"Open hours overlay":{v:["Открыть окно выбора часов"]},"Open minutes overlay":{v:["Открыть окно выбора минут"]},"Open months overlay":{v:["Открыть окно выбора месяца"]},"Open seconds overlay":{v:["Открыть окно выбора секунд"]},"Open time picker":{v:["Открыть средство выбора времени"]},"Open years overlay":{v:["Открыть окно выбора года"]},Pick:{v:["Выбор"]},"Previous month":{v:["Предыдущий месяц"]},"Previous year":{v:["Предыдущий год"]},"Select date":{v:["Выбрать дату"]},"Select date and time":{v:["Выбрать дату и время"]},"Select month":{v:["Выбрать месяц"]},"Select time":{v:["Выбрать время"]},"Select time range":{v:["Выбрать временной диапазон"]},"Select week":{v:["Выбрать неделю"]},"Select year":{v:["Выбрать год"]},"Switch AM/PM mode":{v:["Переключение режима AM/PM"]},"Time picker":{v:["Выбор времени"]},"Time zone":{v:["Часовой пояс"]},"Toggle overlay":{v:["Переключить панель"]},W:{v:["Н"]},"Year picker":{v:["Выбор года"]},"Year picker overlay":{v:["Окно выбора года"]}}},{l:"sk",t:{}},{l:"sl",t:{}},{l:"sr",t:{"Calendar icon":{v:["Икона календара"]},Cancel:{v:["Откажи"]},"Clear value":{v:["Обриши вредност"]},"Close time Picker":{v:["Затвори бирач времена"]},"Datepicker input":{v:["Улаз бирача датума"]},"Datepicker menu":{v:["Мени бирача датума"]},"Decrement hours":{v:["Умањи сате"]},"Decrement minutes":{v:["Умањи минуте"]},"Decrement seconds":{v:["Умањи секунде"]},"Increment hours":{v:["Увећај сате"]},"Increment minutes":{v:["Увећај минуте"]},"Increment seconds":{v:["Увећај секунде"]},"Month picker":{v:["Бирач месеца"]},"Month picker overlay":{v:["Маска бирача месеца"]},"Next month":{v:["Наредни месец"]},"Next year":{v:["Наредна година"]},Now:{v:["Сада"]},"Open hours overlay":{v:["Отвори маску сати"]},"Open minutes overlay":{v:["Отвори маску минута"]},"Open months overlay":{v:["Отвори маску месеци"]},"Open seconds overlay":{v:["Отвори маску секунди"]},"Open time picker":{v:["Отвори бирач времена"]},"Open years overlay":{v:["Отвори маску година"]},Pick:{v:["Изабери"]},"Previous month":{v:["Претходни месец"]},"Previous year":{v:["Претходна година"]},"Select date":{v:["Изаберите датум"]},"Select date and time":{v:["Изаберите датум и време"]},"Select month":{v:["Изаберите месец"]},"Select time":{v:["Изаберите време"]},"Select time range":{v:["Изаберите опсег времена"]},"Select week":{v:["Изаберите недељу"]},"Select year":{v:["Изаберите годину"]},"Switch AM/PM mode":{v:["Укљ./Искљ. AM/PM режим"]},"Time picker":{v:["Бирач времена"]},"Toggle overlay":{v:["Укљ./Искљ. маску"]},W:{v:["W"]},"Year picker":{v:["Бирач године"]},"Year picker overlay":{v:["Маска бирача године"]}}},{l:"sv",t:{}},{l:"tr",t:{"Calendar icon":{v:["Takvim simgesi"]},Cancel:{v:["İptal"]},"Clear value":{v:["Değeri temizle"]},"Close time Picker":{v:["Zaman se\xe7iciyi kapat"]},"Datepicker input":{v:["Tarih se\xe7ici girişi"]},"Datepicker menu":{v:["Tarih se\xe7ici men\xfcs\xfc"]},"Decrement hours":{v:["Azalma saati"]},"Decrement minutes":{v:["Azalma dakikası"]},"Decrement seconds":{v:["Azalma saniyesi"]},"Increment hours":{v:["Artma saati"]},"Increment minutes":{v:["Artma dakikası"]},"Increment seconds":{v:["Artma saniyesi"]},"Month picker":{v:["Ay se\xe7ici"]},"Month picker overlay":{v:["Ay se\xe7ici kaplaması"]},"Next month":{v:["Sonraki ay"]},"Next year":{v:["Sonraki yıl"]},Now:{v:["Şimdi"]},"Open hours overlay":{v:["A\xe7ık saatler kaplaması"]},"Open minutes overlay":{v:["Dakika kaplamasını a\xe7"]},"Open months overlay":{v:["Ay kaplamasını a\xe7"]},"Open seconds overlay":{v:["Saniye kaplamasını a\xe7"]},"Open time picker":{v:["Saat se\xe7iciyi a\xe7"]},"Open years overlay":{v:["Yıl kaplamasını a\xe7"]},Pick:{v:["Se\xe7in"]},"Previous month":{v:["\xd6nceki ay"]},"Previous year":{v:["\xd6nceki yıl"]},"Select date":{v:["Tarih se\xe7in"]},"Select date and time":{v:["Tarih ve saat se\xe7in"]},"Select month":{v:["Ay se\xe7in"]},"Select time":{v:["Saat se\xe7in"]},"Select time range":{v:["Saat aralığı se\xe7in"]},"Select week":{v:["Hafta se\xe7in"]},"Select year":{v:["Yıl se\xe7in"]},"Switch AM/PM mode":{v:["\xd6\xd6/\xd6S kipine ge\xe7"]},"Time picker":{v:["Saat se\xe7ici"]},"Time zone":{v:["Saat dilimi"]},"Toggle overlay":{v:["Kaplamayı a\xe7/kapat"]},W:{v:["W"]},"Year picker":{v:["Yıl se\xe7ici"]},"Year picker overlay":{v:["Yıl se\xe7ici kaplaması"]}}},{l:"uk",t:{"Calendar icon":{v:["Значок календаря"]},Cancel:{v:["Скасувати"]},"Clear value":{v:["Очистити значення"]},"Close time Picker":{v:["Закрити вибір часу"]},"Datepicker input":{v:["Вибір дати"]},"Datepicker menu":{v:["Меню вибору дати"]},"Decrement hours":{v:["Зменшення годин"]},"Decrement minutes":{v:["Зменшення хвилин"]},"Decrement seconds":{v:["Зменшення секунд"]},"Increment hours":{v:["Збільшення годин"]},"Increment minutes":{v:["Збільшення хвилин"]},"Increment seconds":{v:["Збільшення секунд"]},"Month picker":{v:["Вибір місяця"]},"Month picker overlay":{v:["Напис вибору місяця"]},"Next month":{v:["Наступний місяць"]},"Next year":{v:["Наступний рік"]},Now:{v:["Зараз"]},"Open hours overlay":{v:["Відкрити напис годин"]},"Open minutes overlay":{v:["Відкрити напис хвилин"]},"Open months overlay":{v:["Відкрити напис місяців"]},"Open seconds overlay":{v:["Відкрити напис секунд"]},"Open time picker":{v:["Відкрити вибір часу"]},"Open years overlay":{v:["Відкрити напис років"]},Pick:{v:["Вибрати"]},"Previous month":{v:["Попередній місяць"]},"Previous year":{v:["Попередній рік"]},"Select date":{v:["Вибрати дату"]},"Select date and time":{v:["Вибрати дату та час"]},"Select month":{v:["Вибрати місяць"]},"Select time":{v:["Вибрати час"]},"Select time range":{v:["Вибрати проміжок часу"]},"Select week":{v:["Вибрати тиждень"]},"Select year":{v:["Вибрати рік"]},"Switch AM/PM mode":{v:["Перемкнути показ по полудні/до полудня"]},"Time picker":{v:["Вибір часу"]},"Toggle overlay":{v:["Перемкнути напис"]},W:{v:["Тиж."]},"Year picker":{v:["Вибір року"]},"Year picker overlay":{v:["Напис вибору року"]}}},{l:"uz",t:{"Calendar icon":{v:["Kalendar belgisi"]},Cancel:{v:["Bekor qilish"]},"Clear value":{v:["Qiymatni tozalash"]},"Close time Picker":{v:["Vaqtni tanlash vositasini yopish"]},"Datepicker input":{v:["Sana tanlash vositasi kiritish"]},"Datepicker menu":{v:["Sana tanlash menyusi"]},"Decrement hours":{v:["Ish vaqtini qisqartirish"]},"Decrement minutes":{v:["Daqiqalarni kamaytirish"]},"Decrement seconds":{v:["Soniyalarni kamaytirish"]},"Increment hours":{v:["Ish soatlarini oshirish"]},"Increment minutes":{v:["Daqiqalarni oshiring"]},"Increment seconds":{v:["Soniyalarni ko'paytirish"]},"Month picker":{v:["Oyni tanlovchi"]},"Month picker overlay":{v:["Oyni tanlash vositasi qoplamasi"]},"Next month":{v:["Keyingi oy"]},"Next year":{v:["Keyingi yil"]},Now:{v:["Hozir"]},"Open hours overlay":{v:["Ochiq ish soatlari"]},"Open minutes overlay":{v:["Ochiq daqiqalar qoplamasi"]},"Open months overlay":{v:["Ochiq oylik qoplama"]},"Open seconds overlay":{v:["Ochiq soniyalar qoplamasi"]},"Open time picker":{v:["Vaqt tanlagichni ochish"]},"Open years overlay":{v:["Yillar qoplamasini ochish"]},Pick:{v:["Tanlash"]},"Previous month":{v:["Oldingi oy"]},"Previous year":{v:["O'tgan yil"]},"Select date":{v:["Sana tanlang"]},"Select date and time":{v:["Sana va vaqtni tanlang"]},"Select month":{v:["Oyni tanlang"]},"Select time":{v:["Oyni tanlang"]},"Select time range":{v:["Vaqt oralig'ini tanlang"]},"Select week":{v:["Haftani tanlang"]},"Select year":{v:["Yilni tanlang"]},"Switch AM/PM mode":{v:["AM/PM rejimini almashtiring"]},"Time picker":{v:["Vaqtni tanlovchi"]},"Toggle overlay":{v:["Qoplamani almashtirish"]},W:{v:["W"]},"Year picker":{v:["Yilni tanlovchi"]},"Year picker overlay":{v:["Yilni tanlash vositasi"]}}},{l:"zh-CN",t:{}},{l:"zh-HK",t:{"Calendar icon":{v:["行事曆圖示"]},Cancel:{v:["取消"]},"Clear value":{v:["清除值"]},"Close time Picker":{v:["關閉時間挑選器"]},"Datepicker input":{v:["日期挑選器輸入"]},"Datepicker menu":{v:["日期挑選器選單"]},"Decrement hours":{v:["小時遞減"]},"Decrement minutes":{v:["分鐘遞減"]},"Decrement seconds":{v:["秒遞減"]},"Increment hours":{v:["小時遞增"]},"Increment minutes":{v:["分鐘遞增"]},"Increment seconds":{v:["秒遞增"]},"Month picker":{v:["月挑選器"]},"Month picker overlay":{v:["月挑選器覆蓋層"]},"Next month":{v:["下個月"]},"Next year":{v:["明年"]},Now:{v:["現在"]},"Open hours overlay":{v:["開啟小時覆蓋層"]},"Open minutes overlay":{v:["開啟分鐘覆蓋層"]},"Open months overlay":{v:["開啟月覆蓋層"]},"Open seconds overlay":{v:["開啟秒覆蓋層"]},"Open time picker":{v:["開啟時間挑選器"]},"Open years overlay":{v:["開啟年覆蓋層"]},Pick:{v:["挑選"]},"Previous month":{v:["上個月"]},"Previous year":{v:["去年"]},"Select date":{v:["選取日期"]},"Select date and time":{v:["選取日期與時間"]},"Select month":{v:["選取月"]},"Select time":{v:["選取時間"]},"Select time range":{v:["選取時間範圍"]},"Select week":{v:["選取週"]},"Select year":{v:["選取年"]},"Switch AM/PM mode":{v:["切換上午/下午模式"]},"Time picker":{v:["時間挑選器"]},"Toggle overlay":{v:["切換覆蓋層"]},W:{v:["週"]},"Year picker":{v:["年挑選器"]},"Year picker overlay":{v:["年挑選器覆蓋層"]}}},{l:"zh-TW",t:{"Calendar icon":{v:["行事曆圖示"]},Cancel:{v:["取消"]},"Clear value":{v:["清除值"]},"Close time Picker":{v:["關閉時間挑選器"]},"Datepicker input":{v:["日期挑選器輸入"]},"Datepicker menu":{v:["日期挑選器選單"]},"Decrement hours":{v:["小時遞減"]},"Decrement minutes":{v:["分鐘遞減"]},"Decrement seconds":{v:["秒遞減"]},"Increment hours":{v:["小時遞增"]},"Increment minutes":{v:["分鐘遞增"]},"Increment seconds":{v:["秒遞增"]},"Month picker":{v:["月挑選器"]},"Month picker overlay":{v:["月挑選器覆蓋層"]},"Next month":{v:["下個月"]},"Next year":{v:["明年"]},Now:{v:["現在"]},"Open hours overlay":{v:["開啟小時覆蓋層"]},"Open minutes overlay":{v:["開啟分鐘覆蓋層"]},"Open months overlay":{v:["開啟月覆蓋層"]},"Open seconds overlay":{v:["開啟秒覆蓋層"]},"Open time picker":{v:["開啟時間挑選器"]},"Open years overlay":{v:["開啟年覆蓋層"]},Pick:{v:["挑選"]},"Previous month":{v:["上個月"]},"Previous year":{v:["去年"]},"Select date":{v:["選取日期"]},"Select date and time":{v:["選取日期與時間"]},"Select month":{v:["選取月"]},"Select time":{v:["選取時間"]},"Select time range":{v:["選取時間範圍"]},"Select week":{v:["選取週"]},"Select year":{v:["選取年"]},"Switch AM/PM mode":{v:["切換上午/下午模式"]},"Time picker":{v:["時間挑選器"]},"Toggle overlay":{v:["切換覆蓋層"]},W:{v:["W"]},"Year picker":{v:["年挑選器"]},"Year picker overlay":{v:["年挑選器覆蓋層"]}}}],b=[{l:"ar",t:{"Clear search":{v:["محو البحث"]}}},{l:"ast",t:{"Clear search":{v:["Borrar la busca"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Clear search":{v:["Vyčistit vyhled\xe1v\xe1n\xed"]}}},{l:"cs-CZ",t:{"Clear search":{v:["Vyčistit vyhled\xe1v\xe1n\xed"]}}},{l:"da",t:{"Clear search":{v:["Ryd s\xf8gning"]}}},{l:"de",t:{"Clear search":{v:["Suche leeren"]}}},{l:"de-DE",t:{"Clear search":{v:["Suche leeren"]}}},{l:"el",t:{"Clear search":{v:["Εκκαθάριση αναζήτησης"]}}},{l:"en-GB",t:{"Clear search":{v:["Clear search"]}}},{l:"eo",t:{}},{l:"es",t:{"Clear search":{v:["Limpiar b\xfasqueda"]}}},{l:"es-AR",t:{"Clear search":{v:["Limpiar b\xfasqueda"]}}},{l:"es-EC",t:{"Clear search":{v:["Limpiar b\xfasqueda"]}}},{l:"es-MX",t:{"Clear search":{v:["Limpiar b\xfasqueda"]}}},{l:"et-EE",t:{"Clear search":{v:["T\xfchjenda otsing"]}}},{l:"eu",t:{"Clear search":{v:["Garbitu bilaketa"]}}},{l:"fa",t:{"Clear search":{v:["پاک کردن جستجو"]}}},{l:"fi",t:{"Clear search":{v:["Tyhjenn\xe4 haku"]}}},{l:"fr",t:{"Clear search":{v:["Effacer la recherche"]}}},{l:"ga",t:{"Clear search":{v:["Glan cuardach"]}}},{l:"gl",t:{"Clear search":{v:["Limpar a busca"]}}},{l:"he",t:{"Clear search":{v:["פינוי חיפוש"]}}},{l:"hr",t:{"Clear search":{v:["Očisti pretraživanje"]}}},{l:"hu",t:{}},{l:"id",t:{"Clear search":{v:["Bersihkan pencarian"]}}},{l:"is",t:{"Clear search":{v:["Hreinsa leit"]}}},{l:"it",t:{"Clear search":{v:["online"]}}},{l:"ja",t:{"Clear search":{v:["検索をクリア"]}}},{l:"ja-JP",t:{"Clear search":{v:["検索をクリア"]}}},{l:"ko",t:{"Clear search":{v:["검색 지우기"]}}},{l:"lo",t:{"Clear search":{v:["ລຶບການຄົ້ນຫາ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Clear search":{v:["Исчисти пребарување"]}}},{l:"my",t:{}},{l:"nb",t:{"Clear search":{v:["T\xf8m s\xf8k"]}}},{l:"nl",t:{"Clear search":{v:["Zoekopdracht wissen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Clear search":{v:["Wyczyść wyszukiwanie"]}}},{l:"pt-BR",t:{"Clear search":{v:["Limpar pesquisa"]}}},{l:"pt-PT",t:{"Clear search":{v:["Limpar pesquisa"]}}},{l:"ro",t:{"Clear search":{v:["Șterge căutarea"]}}},{l:"ru",t:{"Clear search":{v:["Очистить поиск"]}}},{l:"sk",t:{"Clear search":{v:["Vymazať vyhľad\xe1vanie"]}}},{l:"sl",t:{}},{l:"sr",t:{"Clear search":{v:["Обриши претрагу"]}}},{l:"sv",t:{"Clear search":{v:["Rensa s\xf6kning"]}}},{l:"tr",t:{"Clear search":{v:["Aramayı temizle"]}}},{l:"uk",t:{"Clear search":{v:["Очистити пошук"]}}},{l:"uz",t:{"Clear search":{v:["Qidiruvni tozalash"]}}},{l:"zh-CN",t:{"Clear search":{v:["清除搜索"]}}},{l:"zh-HK",t:{"Clear search":{v:["清除搜索"]}}},{l:"zh-TW",t:{"Clear search":{v:["清除搜尋"]}}}],y=[{l:"ar",t:{"Clear selected":{v:["محو المحدّد"]},"Deselect {option}":{v:["إلغاء تحديد {option}"]},"No results":{v:["ليس هناك أية نتيجة"]},Options:{v:["خيارات"]}}},{l:"ast",t:{"Clear selected":{v:["Borrar lo seleicionao"]},"Deselect {option}":{v:["Deseleicionar \xab{option}\xbb"]},"No results":{v:["Nun hai neng\xfan result\xe1u"]},Options:{v:["Opciones"]}}},{l:"br",t:{"No results":{v:["Disoc'h ebet"]}}},{l:"ca",t:{"No results":{v:["Sense resultats"]}}},{l:"cs",t:{"Clear selected":{v:["Vyčistit vybran\xe9"]},"Deselect {option}":{v:["Zrušit v\xfdběr {option}"]},"No results":{v:["Nic nenalezeno"]},Options:{v:["Možnosti"]}}},{l:"cs-CZ",t:{"Clear selected":{v:["Vyčistit vybran\xe9"]},"Deselect {option}":{v:["Zrušit v\xfdběr {option}"]},"No results":{v:["Nic nenalezeno"]},Options:{v:["Možnosti"]}}},{l:"da",t:{"Clear selected":{v:["Ryd valgt"]},"Deselect {option}":{v:["Frav\xe6lg {option}"]},"No results":{v:["Ingen resultater"]},Options:{v:["Indstillinger"]}}},{l:"de",t:{"Clear selected":{v:["Auswahl leeren"]},"Deselect {option}":{v:["{option} abw\xe4hlen"]},"No results":{v:["Keine Ergebnisse"]},Options:{v:["Optionen"]}}},{l:"de-DE",t:{"Clear selected":{v:["Auswahl leeren"]},"Deselect {option}":{v:["{option} abw\xe4hlen"]},"No results":{v:["Keine Ergebnisse"]},Options:{v:["Optionen"]}}},{l:"el",t:{"Clear selected":{v:["Εκκαθάριση επιλογής"]},"Deselect {option}":{v:["Αποεπιλογή {option}"]},"No results":{v:["Κανένα αποτέλεσμα"]},Options:{v:["Επιλογές"]}}},{l:"en-GB",t:{"Clear selected":{v:["Clear selected"]},"Deselect {option}":{v:["Deselect {option}"]},"No results":{v:["No results"]},Options:{v:["Options"]}}},{l:"eo",t:{"No results":{v:["La rezulto forestas"]}}},{l:"es",t:{"Clear selected":{v:["Limpiar selecci\xf3n"]},"Deselect {option}":{v:["Deseleccionar {option}"]},"No results":{v:[" Ning\xfan resultado"]},Options:{v:["Opciones"]}}},{l:"es-AR",t:{"Clear selected":{v:["Limpiar selecci\xf3n"]},"Deselect {option}":{v:["Deseleccionar {option}"]},"No results":{v:["Sin resultados"]},Options:{v:["Opciones"]}}},{l:"es-EC",t:{"No results":{v:["Sin resultados"]}}},{l:"es-MX",t:{"Clear selected":{v:["Limpiar selecci\xf3n"]},"Deselect {option}":{v:["Deseleccionar {option}"]},"No results":{v:["Sin resultados"]},Options:{v:["Opciones"]}}},{l:"et-EE",t:{"Clear selected":{v:["T\xfchjenad valik"]},"Deselect {option}":{v:["Eemalda {option} valik"]},"No results":{v:["Tulemusi pole"]},Options:{v:["Valikud"]}}},{l:"eu",t:{"No results":{v:["Emaitzarik ez"]}}},{l:"fa",t:{"Clear selected":{v:["پاک کردن مورد انتخاب شده"]},"Deselect {option}":{v:["لغو انتخاب {option}"]},"No results":{v:["بدون هیچ نتیجه‌ای"]},Options:{v:["گزینه‌ها"]}}},{l:"fi",t:{"Clear selected":{v:["Tyhjenn\xe4 valitut"]},"Deselect {option}":{v:["Poista valinta {option}"]},"No results":{v:["Ei tuloksia"]},Options:{v:["Valinnat"]}}},{l:"fr",t:{"Clear selected":{v:["Vider la s\xe9lection"]},"Deselect {option}":{v:["D\xe9s\xe9lectionner {option}"]},"No results":{v:["Aucun r\xe9sultat"]},Options:{v:["Options"]}}},{l:"ga",t:{"Clear selected":{v:["Glan roghnaithe"]},"Deselect {option}":{v:["D\xedroghnaigh {option}"]},"No results":{v:["Gan tortha\xed"]},Options:{v:["Roghanna"]}}},{l:"gl",t:{"Clear selected":{v:["Limpar o seleccionado"]},"Deselect {option}":{v:["Desmarcar {option}"]},"No results":{v:["Sen resultados"]},Options:{v:["Opci\xf3ns"]}}},{l:"he",t:{"No results":{v:["אין תוצאות"]}}},{l:"hr",t:{"Clear selected":{v:["Očisti odabir"]},"Deselect {option}":{v:["Odznači {option}"]},"No results":{v:["Nema rezultata"]},Options:{v:["Mogućnosti"]}}},{l:"hu",t:{"No results":{v:["Nincs tal\xe1lat"]}}},{l:"id",t:{"Clear selected":{v:["Hapus terpilih"]},"Deselect {option}":{v:["Batalkan pemilihan {option}"]},"No results":{v:["Tidak ada hasil"]},Options:{v:["Opsi"]}}},{l:"is",t:{"Clear selected":{v:["Hreinsa vali\xf0"]},"Deselect {option}":{v:["Afvelja {option}"]},"No results":{v:["Engar ni\xf0urst\xf6\xf0ur"]},Options:{v:["Valkostir"]}}},{l:"it",t:{"Clear selected":{v:["Cancella selezionati"]},"Deselect {option}":{v:["Deselezionare {option}"]},"No results":{v:["Nessun risultato"]}}},{l:"ja",t:{"Clear selected":{v:["選択を解除"]},"Deselect {option}":{v:["{option} の選択を解除"]},"No results":{v:["結果無し"]},Options:{v:["オプション"]}}},{l:"ja-JP",t:{"Clear selected":{v:["選択を解除"]},"Deselect {option}":{v:["{option} の選択を解除"]},"No results":{v:["結果無し"]},Options:{v:["オプション"]}}},{l:"ko",t:{"Clear selected":{v:["선택 항목 지우기"]},"Deselect {option}":{v:["{option} 선택 해제"]},"No results":{v:["결과 없음"]},Options:{v:["옵션"]}}},{l:"lo",t:{"Clear selected":{v:["ລຶບສິ່ງທີ່ເລືອກ"]},"Deselect {option}":{v:["ຍົກເລີກການເລືອກ {option}"]},"No results":{v:["ບໍ່ມີຜົນລັບ"]},Options:{v:["ຕົວເລືອກ"]}}},{l:"lt-LT",t:{"No results":{v:["Nėra rezultatų"]}}},{l:"lv",t:{"No results":{v:["Nav rezultātu"]}}},{l:"mk",t:{"Clear selected":{v:["Исчисти означени"]},"Deselect {option}":{v:["Откажи избор на {option}"]},"No results":{v:["Нема резултати"]},Options:{v:["Опции"]}}},{l:"my",t:{"No results":{v:["ရလဒ်မရှိပါ"]}}},{l:"nb",t:{"Clear selected":{v:["T\xf8m merket"]},"Deselect {option}":{v:["Opphev valg {option}"]},"No results":{v:["Ingen resultater"]},Options:{v:["Alternativer"]}}},{l:"nl",t:{"Clear selected":{v:["Selectie wissen"]},"Deselect {option}":{v:["Selectie {option} opheffen"]},"No results":{v:["Geen resultaten"]},Options:{v:["Opties"]}}},{l:"oc",t:{"No results":{v:["Cap de resultat"]}}},{l:"pl",t:{"Clear selected":{v:["Wyczyść wybrane"]},"Deselect {option}":{v:["Odznacz {option}"]},"No results":{v:["Brak wynik\xf3w"]},Options:{v:["Opcje"]}}},{l:"pt-BR",t:{"Clear selected":{v:["Limpar selecionado"]},"Deselect {option}":{v:["Desselecionar {option}"]},"No results":{v:["Sem resultados"]},Options:{v:["Op\xe7\xf5es"]}}},{l:"pt-PT",t:{"Clear selected":{v:["Limpeza selecionada"]},"Deselect {option}":{v:["Desmarcar {option}"]},"No results":{v:["Sem resultados"]},Options:{v:["Op\xe7\xf5es"]}}},{l:"ro",t:{"Clear selected":{v:["Șterge selecția"]},"Deselect {option}":{v:["Deselctează {option}"]},"No results":{v:["Nu există rezultate"]}}},{l:"ru",t:{"Clear selected":{v:["Очистить выбранный"]},"Deselect {option}":{v:["Отменить выбор {option}"]},"No results":{v:["Результаты отсуствуют"]},Options:{v:["Варианты"]}}},{l:"sk",t:{"Clear selected":{v:["Vymazať vybrat\xe9"]},"Deselect {option}":{v:["Zrušiť v\xfdber {option}"]},"No results":{v:["Žiadne v\xfdsledky"]},Options:{v:["možnosti"]}}},{l:"sl",t:{"No results":{v:["Ni zadetkov"]}}},{l:"sr",t:{"Clear selected":{v:["Обриши изабрано"]},"Deselect {option}":{v:["Уклони избор {option}"]},"No results":{v:["Нема резултата"]},Options:{v:["Опције"]}}},{l:"sv",t:{"Clear selected":{v:["Rensa val"]},"Deselect {option}":{v:["Avmarkera {option}"]},"No results":{v:["Inga resultat"]},Options:{v:["Alternativ"]}}},{l:"tr",t:{"Clear selected":{v:["Se\xe7ilmişleri temizle"]},"Deselect {option}":{v:["{option} bırak"]},"No results":{v:["Herhangi bir sonu\xe7 bulunamadı"]},Options:{v:["Se\xe7enekler"]}}},{l:"uk",t:{"Clear selected":{v:["Очистити вибране"]},"Deselect {option}":{v:["Зняти вибір {option}"]},"No results":{v:["Відсутні результати"]},Options:{v:["Параметри"]}}},{l:"uz",t:{"Clear selected":{v:["Tanlanganni tozalash"]},"Deselect {option}":{v:["{option}tanlovni bekor qiling"]},"No results":{v:["Natija yoʻq"]},Options:{v:["Variantlar"]}}},{l:"zh-CN",t:{"Clear selected":{v:["清除所选"]},"Deselect {option}":{v:["取消选择 {option}"]},"No results":{v:["无结果"]},Options:{v:["选项"]}}},{l:"zh-HK",t:{"Clear selected":{v:["清除所選項目"]},"Deselect {option}":{v:["取消選擇 {option}"]},"No results":{v:["無結果"]},Options:{v:["選項"]}}},{l:"zh-TW",t:{"Clear selected":{v:["清除選定項目"]},"Deselect {option}":{v:["取消選取 {option}"]},"No results":{v:["無結果"]},Options:{v:["選項"]}}}],F=[{l:"ar",t:{"Clear text":{v:["محو النص"]},"Save changes":{v:["حفظ التغييرات"]}}},{l:"ast",t:{"Clear text":{v:["Borrar el testu"]},"Save changes":{v:["Guardar los cambeos"]}}},{l:"br",t:{}},{l:"ca",t:{"Clear text":{v:["Netejar text"]}}},{l:"cs",t:{"Clear text":{v:["Čiteln\xfd text"]},"Save changes":{v:["Uložit změny"]}}},{l:"cs-CZ",t:{"Clear text":{v:["Čiteln\xfd text"]},"Save changes":{v:["Uložit změny"]}}},{l:"da",t:{"Clear text":{v:["Ryd tekst"]},"Save changes":{v:["Gem \xe6ndringer"]}}},{l:"de",t:{"Clear text":{v:["Klartext"]},"Save changes":{v:["\xc4nderungen speichern"]}}},{l:"de-DE",t:{"Clear text":{v:["Klartext"]},"Save changes":{v:["\xc4nderungen speichern"]}}},{l:"el",t:{"Clear text":{v:["Εκκαθάριση κειμένου"]},"Save changes":{v:["Αποθήκευση αλλαγών"]}}},{l:"en-GB",t:{"Clear text":{v:["Clear text"]},"Save changes":{v:["Save changes"]}}},{l:"eo",t:{}},{l:"es",t:{"Clear text":{v:["Limpiar texto"]},"Save changes":{v:["Guardar cambios"]}}},{l:"es-AR",t:{"Clear text":{v:["Limpiar texto"]},"Save changes":{v:["Guardar cambios"]}}},{l:"es-EC",t:{"Clear text":{v:["Limpiar texto"]}}},{l:"es-MX",t:{"Clear text":{v:["Limpiar texto"]},"Save changes":{v:["Guardar cambios"]}}},{l:"et-EE",t:{"Clear text":{v:["Kustuta tekst"]},"Save changes":{v:["Salvesta muudatused"]}}},{l:"eu",t:{"Clear text":{v:["Garbitu testua"]}}},{l:"fa",t:{"Clear text":{v:["پاک کردن متن"]},"Save changes":{v:["ذخیرهٔ تغییرات"]}}},{l:"fi",t:{"Clear text":{v:["Tyhjenn\xe4 teksti"]},"Save changes":{v:["Tallenna muutokset"]}}},{l:"fr",t:{"Clear text":{v:["Effacer le texte"]},"Save changes":{v:["Sauvegarder les changements"]}}},{l:"ga",t:{"Clear text":{v:["Glan t\xe9acs"]},"Save changes":{v:["Sabh\xe1il na hathruithe"]}}},{l:"gl",t:{"Clear text":{v:["Limpar o texto"]},"Save changes":{v:["Gardar os cambios"]}}},{l:"he",t:{"Clear text":{v:["פינוי טקסט"]}}},{l:"hr",t:{"Clear text":{v:["Očisti tekst"]},"Save changes":{v:["Spremi promjene"]}}},{l:"hu",t:{"Clear text":{v:["Sz\xf6veg t\xf6rl\xe9se"]}}},{l:"id",t:{"Clear text":{v:["Bersihkan teks"]},"Save changes":{v:["Simpan perubahan"]}}},{l:"is",t:{"Clear text":{v:["Hreinsa texta"]},"Save changes":{v:["Vista breytingar"]}}},{l:"it",t:{"Clear text":{v:["Cancella il testo"]},"Save changes":{v:["Salva le modifiche"]}}},{l:"ja",t:{"Clear text":{v:["テキストをクリア"]},"Save changes":{v:["変更を保存"]}}},{l:"ja-JP",t:{"Clear text":{v:["テキストをクリア"]},"Save changes":{v:["変更を保存"]}}},{l:"ko",t:{"Clear text":{v:["텍스트 지우기"]},"Save changes":{v:["변경 사항 저장"]}}},{l:"lo",t:{"Clear text":{v:["ລຶບຂໍ້ຄວາມ"]},"Save changes":{v:["ບັນທຶກການປ່ຽນແປງ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Clear text":{v:["Исчисти текст"]},"Save changes":{v:["Зачувај промени"]}}},{l:"my",t:{}},{l:"nb",t:{"Clear text":{v:["Fjern tekst"]},"Save changes":{v:["Lagre endringer"]}}},{l:"nl",t:{"Clear text":{v:["Tekst wissen"]},"Save changes":{v:["Wijzigingen opslaan"]}}},{l:"oc",t:{}},{l:"pl",t:{"Clear text":{v:["Wyczyść tekst"]},"Save changes":{v:["Zapisz zmiany"]}}},{l:"pt-BR",t:{"Clear text":{v:["Limpar texto"]},"Save changes":{v:["Salvar altera\xe7\xf5es"]}}},{l:"pt-PT",t:{"Clear text":{v:["Limpar texto"]},"Save changes":{v:["Gravar altera\xe7\xf5es"]}}},{l:"ro",t:{"Clear text":{v:["Șterge textul"]},"Save changes":{v:["Salvează modificările"]}}},{l:"ru",t:{"Clear text":{v:["Очистить текст"]},"Save changes":{v:["Сохранить изменения"]}}},{l:"sk",t:{"Clear text":{v:["Vamazať text"]},"Save changes":{v:["Uložiť zmeny"]}}},{l:"sl",t:{"Clear text":{v:["Počisti besedilo"]}}},{l:"sr",t:{"Clear text":{v:["Обриши текст"]},"Save changes":{v:["Сачувај измене"]}}},{l:"sv",t:{"Clear text":{v:["Ta bort text"]},"Save changes":{v:["Spara \xe4ndringar"]}}},{l:"tr",t:{"Clear text":{v:["Metni temizle"]},"Save changes":{v:["Değişiklikleri kaydet"]}}},{l:"uk",t:{"Clear text":{v:["Очистити текст"]},"Save changes":{v:["Зберегти зміни"]}}},{l:"uz",t:{"Clear text":{v:["Matnni tozalash"]},"Save changes":{v:["O'zgarishlarni saqlang"]}}},{l:"zh-CN",t:{"Clear text":{v:["清除文本"]},"Save changes":{v:["保存修改"]}}},{l:"zh-HK",t:{"Clear text":{v:["清除文本"]},"Save changes":{v:["保存更改"]}}},{l:"zh-TW",t:{"Clear text":{v:["清除文字"]},"Save changes":{v:["儲存變更"]}}}],k=[{l:"ar",t:{Close:{v:["إغلاق"]}}},{l:"ast",t:{Close:{v:["Zarrar"]}}},{l:"br",t:{Close:{v:["Serri\xf1"]}}},{l:"ca",t:{Close:{v:["Tanca"]}}},{l:"cs",t:{Close:{v:["Zavř\xedt"]}}},{l:"cs-CZ",t:{Close:{v:["Zavř\xedt"]}}},{l:"da",t:{Close:{v:["Luk"]}}},{l:"de",t:{Close:{v:["Schlie\xdfen"]}}},{l:"de-DE",t:{Close:{v:["Schlie\xdfen"]}}},{l:"el",t:{Close:{v:["Κλείσιμο"]}}},{l:"en-GB",t:{Close:{v:["Close"]}}},{l:"eo",t:{Close:{v:["Fermu"]}}},{l:"es",t:{Close:{v:["Cerrar"]}}},{l:"es-AR",t:{Close:{v:["Cerrar"]}}},{l:"es-EC",t:{Close:{v:["Cerrar"]}}},{l:"es-MX",t:{Close:{v:["Cerrar"]}}},{l:"et-EE",t:{Close:{v:["Sulge"]}}},{l:"eu",t:{Close:{v:["Itxi"]}}},{l:"fa",t:{Close:{v:["بستن"]}}},{l:"fi",t:{Close:{v:["Sulje"]}}},{l:"fr",t:{Close:{v:["Fermer"]}}},{l:"ga",t:{Close:{v:["D\xfan"]}}},{l:"gl",t:{Close:{v:["Pechar"]}}},{l:"he",t:{Close:{v:["סגירה"]}}},{l:"hr",t:{Close:{v:["Zatvori"]}}},{l:"hu",t:{Close:{v:["Bez\xe1r\xe1s"]}}},{l:"id",t:{Close:{v:["Tutup"]}}},{l:"is",t:{Close:{v:["Loka"]}}},{l:"it",t:{Close:{v:["Chiudi"]}}},{l:"ja",t:{Close:{v:["閉じる"]}}},{l:"ja-JP",t:{Close:{v:["閉じる"]}}},{l:"ko",t:{Close:{v:["닫기"]}}},{l:"lo",t:{Close:{v:["ປິດ"]}}},{l:"lt-LT",t:{Close:{v:["Užverti"]}}},{l:"lv",t:{Close:{v:["Aizvērt"]}}},{l:"mk",t:{Close:{v:["Затвори"]}}},{l:"my",t:{Close:{v:["ပိတ်ရန်"]}}},{l:"nb",t:{Close:{v:["Lukk"]}}},{l:"nl",t:{Close:{v:["Sluiten"]}}},{l:"oc",t:{Close:{v:["Tampar"]}}},{l:"pl",t:{Close:{v:["Zamknij"]}}},{l:"pt-BR",t:{Close:{v:["Fechar"]}}},{l:"pt-PT",t:{Close:{v:["Fechar"]}}},{l:"ro",t:{Close:{v:["\xcenchideți"]}}},{l:"ru",t:{Close:{v:["Закрыть"]}}},{l:"sk",t:{Close:{v:["Zavrieť"]}}},{l:"sl",t:{Close:{v:["Zapri"]}}},{l:"sr",t:{Close:{v:["Затвори"]}}},{l:"sv",t:{Close:{v:["St\xe4ng"]}}},{l:"tr",t:{Close:{v:["Kapat"]}}},{l:"uk",t:{Close:{v:["Закрити"]}}},{l:"uz",t:{Close:{v:["Yopish"]}}},{l:"zh-CN",t:{Close:{v:["关闭"]}}},{l:"zh-HK",t:{Close:{v:["關閉"]}}},{l:"zh-TW",t:{Close:{v:["關閉"]}}}],w=[{l:"ar",t:{}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{Copied:{v:["Zkop\xedrov\xe1no"]},"Copy to clipboard":{v:["Zkop\xedrovat do schr\xe1nky"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{Copied:{v:["Kopieret"]},"Copy to clipboard":{v:["Kopi\xe9r til udklipsholderen"]}}},{l:"de",t:{Copied:{v:["Kopiert"]},"Copy to clipboard":{v:["In die Zwischenablage kopieren"]}}},{l:"de-DE",t:{Copied:{v:["Kopiert"]},"Copy to clipboard":{v:["In die Zwischenablage kopieren"]}}},{l:"el",t:{}},{l:"en-GB",t:{Copied:{v:["Copied"]},"Copy to clipboard":{v:["Copy to clipboard"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{Copied:{v:["Kopeeritud"]},"Copy to clipboard":{v:["Kopeeri l\xf5ikelauale"]}}},{l:"eu",t:{}},{l:"fa",t:{}},{l:"fi",t:{}},{l:"fr",t:{Copied:{v:["Copi\xe9"]},"Copy to clipboard":{v:["Copier dans le presse-papiers"]}}},{l:"ga",t:{Copied:{v:["C\xf3ipe\xe1ilte"]},"Copy to clipboard":{v:["C\xf3ipe\xe1il chuig an ghearrthaisce"]}}},{l:"gl",t:{Copied:{v:["Copiado"]},"Copy to clipboard":{v:["Copiar ao portapapeis"]}}},{l:"he",t:{}},{l:"hr",t:{Copied:{v:["Kopirano"]},"Copy to clipboard":{v:["Kopiraj u međuspremnik"]}}},{l:"hu",t:{}},{l:"id",t:{Copied:{v:["Disalin"]},"Copy to clipboard":{v:["Salin ke clipboard"]}}},{l:"is",t:{}},{l:"it",t:{}},{l:"ja",t:{Copied:{v:["コピーされました"]},"Copy to clipboard":{v:["クリップボードにコピー"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{Copied:{v:["복사됨"]},"Copy to clipboard":{v:["클립보드로 복사"]}}},{l:"lo",t:{Copied:{v:["ສຳເນົາແລ້ວ"]},"Copy to clipboard":{v:["ສຳເນົາໃສ່ຄລິບບອດ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{}},{l:"my",t:{}},{l:"nb",t:{}},{l:"nl",t:{Copied:{v:["Gekopieerd"]},"Copy to clipboard":{v:["Kopieer naar klembord"]}}},{l:"oc",t:{}},{l:"pl",t:{}},{l:"pt-BR",t:{Copied:{v:["Copiado"]},"Copy to clipboard":{v:["Copiar para a \xe1rea de transfer\xeancia"]}}},{l:"pt-PT",t:{}},{l:"ro",t:{}},{l:"ru",t:{Copied:{v:["Скопировано"]},"Copy to clipboard":{v:["Скопировать в буфер"]}}},{l:"sk",t:{}},{l:"sl",t:{}},{l:"sr",t:{}},{l:"sv",t:{}},{l:"tr",t:{Copied:{v:["Kopyalandı"]},"Copy to clipboard":{v:["Panoya kopyalandı"]}}},{l:"uk",t:{}},{l:"uz",t:{}},{l:"zh-CN",t:{}},{l:"zh-HK",t:{Copied:{v:["已被複製"]},"Copy to clipboard":{v:["複製到剪貼簿"]}}},{l:"zh-TW",t:{}}],C=[{l:"ar",t:{"Enable interactive view":{v:["تمكين المنظور التفاعلي"]}}},{l:"ast",t:{"Enable interactive view":{v:["Activar la vista interactiva"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Enable interactive view":{v:["Zapnout interaktivn\xed zobrazen\xed"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"Enable interactive view":{v:["Aktiver interaktiv visning"]}}},{l:"de",t:{"Enable interactive view":{v:["Die interaktive Ansicht aktivieren"]}}},{l:"de-DE",t:{"Enable interactive view":{v:["Die interaktive Ansicht aktivieren"]}}},{l:"el",t:{"Enable interactive view":{v:["Ενεργοποίηση διαδραστικής προβολής"]}}},{l:"en-GB",t:{"Enable interactive view":{v:["Enable interactive view"]}}},{l:"eo",t:{}},{l:"es",t:{"Enable interactive view":{v:["Habilitar vista interactiva"]}}},{l:"es-AR",t:{"Enable interactive view":{v:["Habilitar vista interactiva"]}}},{l:"es-EC",t:{}},{l:"es-MX",t:{"Enable interactive view":{v:["Habilitar vista interactiva"]}}},{l:"et-EE",t:{"Enable interactive view":{v:["L\xfclita interaktiivne vaade sisse"]}}},{l:"eu",t:{}},{l:"fa",t:{"Enable interactive view":{v:["فعال‌سازی نمای تعاملی"]}}},{l:"fi",t:{"Enable interactive view":{v:["N\xe4yt\xe4 vuorovaikutteinen n\xe4kym\xe4"]}}},{l:"fr",t:{"Enable interactive view":{v:["Activer la vue interactive"]}}},{l:"ga",t:{"Enable interactive view":{v:["Cumasaigh amharc idirghn\xedomhach"]}}},{l:"gl",t:{"Enable interactive view":{v:["Activar a vista interactiva"]}}},{l:"he",t:{}},{l:"hr",t:{"Enable interactive view":{v:["Omogući interaktivni prikaz"]}}},{l:"hu",t:{}},{l:"id",t:{"Enable interactive view":{v:["Aktifkan tampilan interaktif"]}}},{l:"is",t:{"Enable interactive view":{v:["Virkja gagnvirka s\xfdn"]}}},{l:"it",t:{}},{l:"ja",t:{"Enable interactive view":{v:["インタラクティブ・ビューを有効にする"]}}},{l:"ja-JP",t:{"Enable interactive view":{v:["インタラクティブ・ビューを有効にする"]}}},{l:"ko",t:{"Enable interactive view":{v:["대화형 보기 활성화"]}}},{l:"lo",t:{"Enable interactive view":{v:["ເປີດໃຊ້ງານມຸມມອງໂຕ້ຕອບ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Enable interactive view":{v:["Овозможи интерактивен приказ"]}}},{l:"my",t:{}},{l:"nb",t:{"Enable interactive view":{v:["Aktiver interaktiv visning"]}}},{l:"nl",t:{"Enable interactive view":{v:["Interactieve weergave inschakelen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Enable interactive view":{v:["Włącz widok interaktywny"]}}},{l:"pt-BR",t:{"Enable interactive view":{v:["Ativar visualiza\xe7\xe3o interativa"]}}},{l:"pt-PT",t:{"Enable interactive view":{v:["Ativar vista interativa"]}}},{l:"ro",t:{}},{l:"ru",t:{"Enable interactive view":{v:["Включить интерактивный просмотр"]}}},{l:"sk",t:{"Enable interactive view":{v:["Povoliť interakt\xedvny pohľad"]}}},{l:"sl",t:{}},{l:"sr",t:{"Enable interactive view":{v:["Укључи интерактивни приказ"]}}},{l:"sv",t:{"Enable interactive view":{v:["Aktivera interaktiv vy"]}}},{l:"tr",t:{"Enable interactive view":{v:["Etkileşimli g\xf6r\xfcn\xfcm\xfc a\xe7"]}}},{l:"uk",t:{"Enable interactive view":{v:["Увімкнути інтерактивний перегляд"]}}},{l:"uz",t:{"Enable interactive view":{v:["Interaktiv ko'rinishni yoqing"]}}},{l:"zh-CN",t:{"Enable interactive view":{v:["启用交互视窗"]}}},{l:"zh-HK",t:{"Enable interactive view":{v:["啟用互動視圖"]}}},{l:"zh-TW",t:{"Enable interactive view":{v:["啟用互動檢視"]}}}],A=[{l:"ar",t:{"Enter link":{v:["أدخِل الرابط"]}}},{l:"ast",t:{"Enter link":{v:["Introducir l'enllaz"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Enter link":{v:["Zadat odkaz"]}}},{l:"cs-CZ",t:{"Enter link":{v:["Zadat odkaz"]}}},{l:"da",t:{"Enter link":{v:["Indtast link"]}}},{l:"de",t:{"Enter link":{v:["Link eingeben"]}}},{l:"de-DE",t:{"Enter link":{v:["Link eingeben"]}}},{l:"el",t:{"Enter link":{v:["Εισάγετε σύνδεσμο"]}}},{l:"en-GB",t:{"Enter link":{v:["Enter link"]}}},{l:"eo",t:{}},{l:"es",t:{"Enter link":{v:["Ingrese enlace"]}}},{l:"es-AR",t:{"Enter link":{v:["Ingresar enlace"]}}},{l:"es-EC",t:{"Enter link":{v:["Ingresar enlace"]}}},{l:"es-MX",t:{"Enter link":{v:["Ingresar enlace"]}}},{l:"et-EE",t:{"Enter link":{v:["Sisesta link"]}}},{l:"eu",t:{"Enter link":{v:["Sartu esteka"]}}},{l:"fa",t:{"Enter link":{v:["لینک را وارد کنید"]}}},{l:"fi",t:{"Enter link":{v:["Kirjoita linkki"]}}},{l:"fr",t:{"Enter link":{v:["Saisissez le lien"]}}},{l:"ga",t:{"Enter link":{v:["Cuir isteach nasc"]}}},{l:"gl",t:{"Enter link":{v:["Introducir a ligaz\xf3n"]}}},{l:"he",t:{"Enter link":{v:["מילוי קישור"]}}},{l:"hr",t:{"Enter link":{v:["Unesi poveznicu"]}}},{l:"hu",t:{}},{l:"id",t:{"Enter link":{v:["Masukkan tautan"]}}},{l:"is",t:{"Enter link":{v:["Settu inn tengil"]}}},{l:"it",t:{"Enter link":{v:["Inserire il link"]}}},{l:"ja",t:{"Enter link":{v:["リンクを入力する"]}}},{l:"ja-JP",t:{"Enter link":{v:["リンクを入力する"]}}},{l:"ko",t:{"Enter link":{v:["링크 입력"]}}},{l:"lo",t:{"Enter link":{v:["ປ້ອນລິງ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Enter link":{v:["Внеси линк"]}}},{l:"my",t:{}},{l:"nb",t:{"Enter link":{v:["Skriv inn lenken"]}}},{l:"nl",t:{"Enter link":{v:["Link invoeren"]}}},{l:"oc",t:{}},{l:"pl",t:{"Enter link":{v:["Wprowadź link"]}}},{l:"pt-BR",t:{"Enter link":{v:["Insira o link"]}}},{l:"pt-PT",t:{"Enter link":{v:["Inserir hiperliga\xe7\xe3o"]}}},{l:"ro",t:{"Enter link":{v:["Introduceți link-ul"]}}},{l:"ru",t:{"Enter link":{v:["Введите ссылку"]}}},{l:"sk",t:{"Enter link":{v:["Vložiť link"]}}},{l:"sl",t:{}},{l:"sr",t:{"Enter link":{v:["Унесите линк"]}}},{l:"sv",t:{"Enter link":{v:["Ange l\xe4nk"]}}},{l:"tr",t:{"Enter link":{v:["Bağlantıyı yazın"]}}},{l:"uk",t:{"Enter link":{v:["Зазначте посилання"]}}},{l:"uz",t:{"Enter link":{v:["Havolani kiriting"]}}},{l:"zh-CN",t:{"Enter link":{v:["输入链接"]}}},{l:"zh-HK",t:{"Enter link":{v:["輸入連結"]}}},{l:"zh-TW",t:{"Enter link":{v:["輸入連結"]}}}],E=[{l:"ar",t:{"Hide password":{v:["إخفاء كلمة المرور"]},"Password is secure":{v:["كلمة المرور آمنة"]},"Show password":{v:["أظهِر كلمة المرور"]}}},{l:"ast",t:{"Hide password":{v:["Anubrir la contrase\xf1a"]},"Password is secure":{v:["La contrase\xf1a ye segura"]},"Show password":{v:["Amosar la contrase\xf1a"]}}},{l:"br",t:{}},{l:"ca",t:{"Hide password":{v:["Amagar contrasenya"]},"Password is secure":{v:["Contrasenya segura
"]},"Show password":{v:["Mostrar contrasenya"]}}},{l:"cs",t:{"Hide password":{v:["Skr\xfdt heslo"]},"Password is secure":{v:["Heslo je bezpečn\xe9"]},"Show password":{v:["Zobrazit heslo"]}}},{l:"cs-CZ",t:{"Hide password":{v:["Skr\xfdt heslo"]},"Password is secure":{v:["Heslo je bezpečn\xe9"]},"Show password":{v:["Zobrazit heslo"]}}},{l:"da",t:{"Hide password":{v:["Skjul kodeord"]},"Password is secure":{v:["Kodeordet er sikkert"]},"Show password":{v:["Vis kodeord"]}}},{l:"de",t:{"Hide password":{v:["Passwort verbergen"]},"Password is secure":{v:["Passwort ist sicher"]},"Show password":{v:["Passwort anzeigen"]}}},{l:"de-DE",t:{"Hide password":{v:["Passwort verbergen"]},"Password is secure":{v:["Passwort ist sicher"]},"Show password":{v:["Passwort anzeigen"]}}},{l:"el",t:{"Hide password":{v:["Απόκρυψη συνθηματικού"]},"Password is secure":{v:["Το συνθηματικό είναι ασφαλές"]},"Show password":{v:["Εμφάνιση κωδικού πρόσβασης"]}}},{l:"en-GB",t:{"Hide password":{v:["Hide password"]},"Password is secure":{v:["Password is secure"]},"Show password":{v:["Show password"]}}},{l:"eo",t:{}},{l:"es",t:{"Hide password":{v:["Ocultar contrase\xf1a"]},"Password is secure":{v:["La contrase\xf1a es segura"]},"Show password":{v:["Mostrar contrase\xf1a"]}}},{l:"es-AR",t:{"Hide password":{v:["Ocultar contrase\xf1a"]},"Password is secure":{v:["La contrase\xf1a es segura"]},"Show password":{v:["Mostrar contrase\xf1a"]}}},{l:"es-EC",t:{"Hide password":{v:["Ocultar contrase\xf1a"]},"Password is secure":{v:["La contrase\xf1a es segura"]},"Show password":{v:["Mostrar contrase\xf1a"]}}},{l:"es-MX",t:{"Hide password":{v:["Ocultar contrase\xf1a"]},"Password is secure":{v:["La contrase\xf1a es segura"]},"Show password":{v:["Mostrar contrase\xf1a"]}}},{l:"et-EE",t:{"Hide password":{v:["Peida salas\xf5na"]},"Password is secure":{v:["Salas\xf5na on turvaline"]},"Show password":{v:["N\xe4ita salas\xf5na"]}}},{l:"eu",t:{"Hide password":{v:["Ezkutatu pasahitza"]},"Password is secure":{v:["Pasahitza segurua da"]},"Show password":{v:["Erakutsi pasahitza"]}}},{l:"fa",t:{"Hide password":{v:["پنهان کردن رمز عبور"]},"Password is secure":{v:["گذرواژه امن است"]},"Show password":{v:["نمایش گذرواژه"]}}},{l:"fi",t:{"Hide password":{v:["Piilota salasana"]},"Password is secure":{v:["Salasana on turvallinen"]},"Show password":{v:["N\xe4yt\xe4 salasana"]}}},{l:"fr",t:{"Hide password":{v:["Cacher le mot de passe"]},"Password is secure":{v:["Le mot de passe est s\xe9curis\xe9"]},"Show password":{v:["Afficher le mot de passe"]}}},{l:"ga",t:{"Hide password":{v:["Folaigh pasfhocal"]},"Password is secure":{v:["T\xe1 pasfhocal sl\xe1n"]},"Show password":{v:["Taispe\xe1in pasfhocal"]}}},{l:"gl",t:{"Hide password":{v:["Agochar o contrasinal"]},"Password is secure":{v:["O contrasinal \xe9 seguro"]},"Show password":{v:["Amosar o contrasinal"]}}},{l:"he",t:{"Hide password":{v:["הסתרת סיסמה"]},"Password is secure":{v:["הסיסמה מאובטחת"]},"Show password":{v:["הצגת סיסמה"]}}},{l:"hr",t:{"Hide password":{v:["Sakrij lozinku"]},"Password is secure":{v:["Lozinka je zaštićena"]},"Show password":{v:["Prikaži lozinku"]}}},{l:"hu",t:{"Hide password":{v:["Jelsz\xf3 elrejt\xe9se"]},"Password is secure":{v:["A jelsz\xf3 biztons\xe1gos"]},"Show password":{v:["Jelsz\xf3 megjelen\xedt\xe9se"]}}},{l:"id",t:{"Hide password":{v:["Sembunyikan sandi"]},"Password is secure":{v:["Kata sandi sudah aman"]},"Show password":{v:["Tampilkan sandi"]}}},{l:"is",t:{"Hide password":{v:["Fela lykilor\xf0"]},"Password is secure":{v:["Lykilor\xf0i\xf0 er \xf6ruggt"]},"Show password":{v:["Birta lykilor\xf0"]}}},{l:"it",t:{"Hide password":{v:["Nascondi la password"]},"Password is secure":{v:["La password \xe8 sicura"]},"Show password":{v:["Mostra la password"]}}},{l:"ja",t:{"Hide password":{v:["パスワードを非表示"]},"Password is secure":{v:["パスワードは保護されています"]},"Show password":{v:["パスワードを表示"]}}},{l:"ja-JP",t:{"Hide password":{v:["パスワードを非表示"]},"Password is secure":{v:["パスワードは保護されています"]},"Show password":{v:["パスワードを表示"]}}},{l:"ko",t:{"Hide password":{v:["암호 숨기기"]},"Password is secure":{v:["암호가 안전합니다."]},"Show password":{v:["암호 표시"]}}},{l:"lo",t:{"Hide password":{v:["ເຊື່ອງລະຫັດຜ່ານ"]},"Password is secure":{v:["ລະຫັດຜ່ານປອດໄພ"]},"Show password":{v:["ສະແດງລະຫັດຜ່ານ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Hide password":{v:["Сокриј лозинка"]},"Password is secure":{v:["Лозинката е безбедна"]},"Show password":{v:["Прикажи лозинка"]}}},{l:"my",t:{}},{l:"nb",t:{"Hide password":{v:["Skjul passord"]},"Password is secure":{v:["Passordet er sikkert"]},"Show password":{v:["Vis passord"]}}},{l:"nl",t:{"Hide password":{v:["Wachtwoord verbergen"]},"Password is secure":{v:["Wachtwoord is veilig"]},"Show password":{v:["Wachtwoord weergeven"]}}},{l:"oc",t:{}},{l:"pl",t:{"Hide password":{v:["Ukryj hasło"]},"Password is secure":{v:["Hasło jest bezpieczne"]},"Show password":{v:["Pokaż hasło"]}}},{l:"pt-BR",t:{"Hide password":{v:["Ocultar senha"]},"Password is secure":{v:["A senha \xe9 segura"]},"Show password":{v:["Mostrar senha"]}}},{l:"pt-PT",t:{"Hide password":{v:["Ocultar palavra-passe"]},"Password is secure":{v:["A palavra-passe \xe9 segura"]},"Show password":{v:["Mostrar palavra-passe"]}}},{l:"ro",t:{"Hide password":{v:["Ascunde parola"]},"Password is secure":{v:["Parola este sigură"]},"Show password":{v:["Arată parola"]}}},{l:"ru",t:{"Hide password":{v:["Скрыть пароль"]},"Password is secure":{v:["Пароль надежный"]},"Show password":{v:["Показать пароль"]}}},{l:"sk",t:{"Hide password":{v:["Skryť heslo"]},"Password is secure":{v:["Heslo je bezpečn\xe9"]},"Show password":{v:["Zobraziť heslo"]}}},{l:"sl",t:{"Hide password":{v:["Skrij geslo"]},"Password is secure":{v:["Geslo je varno"]},"Show password":{v:["Pokaži geslo"]}}},{l:"sr",t:{"Hide password":{v:["Сакриј лозинку"]},"Password is secure":{v:["Лозинка је безбедна"]},"Show password":{v:["Прикажи лозинку"]}}},{l:"sv",t:{"Hide password":{v:["G\xf6m l\xf6senordet"]},"Password is secure":{v:["L\xf6ssenordet \xe4r s\xe4kert"]},"Show password":{v:["Visa l\xf6ssenordet"]}}},{l:"tr",t:{"Hide password":{v:["Parolayı gizle"]},"Password is secure":{v:["Parola g\xfcvenli"]},"Show password":{v:["Parolayı g\xf6r\xfcnt\xfcle"]}}},{l:"uk",t:{"Hide password":{v:["Приховати пароль"]},"Password is secure":{v:["Пароль безпечний"]},"Show password":{v:["Показати пароль"]}}},{l:"uz",t:{"Hide password":{v:["Parolni yashirish"]},"Password is secure":{v:["Parol xavfsiz"]},"Show password":{v:["Parolni ko'rsatish"]}}},{l:"zh-CN",t:{"Hide password":{v:["隐藏密码"]},"Password is secure":{v:["密码安全"]},"Show password":{v:["显示密码"]}}},{l:"zh-HK",t:{"Hide password":{v:["隱藏密碼"]},"Password is secure":{v:["密碼是安全的"]},"Show password":{v:["顯示密碼"]}}},{l:"zh-TW",t:{"Hide password":{v:["隱藏密碼"]},"Password is secure":{v:["密碼安全"]},"Show password":{v:["顯示密碼"]}}}],S=[{l:"ar",t:{'Load more "{options}"':{v:['تحميل المزيد من "{options}" ']},"Raw link {options}":{v:[" الرابط الخام raw link ـ {options}"]},"Start typing to search":{v:["إبدإ كتابة مفردات البحث"]}}},{l:"ast",t:{'Load more "{options}"':{v:["Cargar m\xe1s \xab{options}\xbb"]},"Raw link {options}":{v:["Enllaz en bruto {optiones}"]},"Start typing to search":{v:["Comienza a escribir pa buscar"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{'Load more "{options}"':{v:["Nač\xedst dalš\xed „{options}“"]},"Raw link {options}":{v:["Hol\xfd odkaz {options}"]},"Start typing to search":{v:["Vyhled\xe1vejte psan\xedm"]}}},{l:"cs-CZ",t:{'Load more "{options}"':{v:["Nač\xedst dalš\xed „{options}“"]},"Raw link {options}":{v:["Hol\xfd odkaz {options}"]},"Start typing to search":{v:["Vyhled\xe1vejte psan\xedm"]}}},{l:"da",t:{'Load more "{options}"':{v:['Indl\xe6s flere "{options}"']},"Raw link {options}":{v:["R\xe5 link {options}"]},"Start typing to search":{v:["Begynd at skrive for at s\xf8ge"]}}},{l:"de",t:{'Load more "{options}"':{v:['Weitere "{options}" laden']},"Raw link {options}":{v:["Unverarbeiteter Link {options}"]},"Start typing to search":{v:["Mit der Eingabe beginnen, um zu suchen"]}}},{l:"de-DE",t:{'Load more "{options}"':{v:['Weitere "{options}" laden']},"Raw link {options}":{v:["Unverarbeiteter Link {options}"]},"Start typing to search":{v:["Mit der Eingabe beginnen, um zu suchen"]}}},{l:"el",t:{'Load more "{options}"':{v:['Φόρτωση περισσότερων "{options}"']},"Raw link {options}":{v:["Ακατέργαστος σύνδεσμος {options}"]},"Start typing to search":{v:["Ξεκινήστε να πληκτρολογείτε για αναζήτηση"]}}},{l:"en-GB",t:{'Load more "{options}"':{v:['Load more "{options}"']},"Raw link {options}":{v:["Raw link {options}"]},"Start typing to search":{v:["Start typing to search"]}}},{l:"eo",t:{}},{l:"es",t:{'Load more "{options}"':{v:['Cargar m\xe1s "{options}"']},"Raw link {options}":{v:["Enlace directo {options}"]},"Start typing to search":{v:["Comience a escribir para buscar"]}}},{l:"es-AR",t:{'Load more "{options}"':{v:['Cargar m\xe1s "{options}"']},"Raw link {options}":{v:["Enlace directo {options}"]},"Start typing to search":{v:["Comience a escribir para buscar"]}}},{l:"es-EC",t:{"Raw link {options}":{v:["Enlace directo {options}"]},"Start typing to search":{v:["Comienza a escribir para buscar"]}}},{l:"es-MX",t:{'Load more "{options}"':{v:['Cargar m\xe1s "{options}"']},"Raw link {options}":{v:["Enlace directo {options}"]},"Start typing to search":{v:["Comience a escribir para buscar"]}}},{l:"et-EE",t:{'Load more "{options}"':{v:["Laadi veel „{options}“"]},"Raw link {options}":{v:["T\xf6\xf6tlemata link: {options}"]},"Start typing to search":{v:["Alusta otsinguks sisestamist"]}}},{l:"eu",t:{'Load more "{options}"':{v:['Kargatu "{options}" gehiago']},"Raw link {options}":{v:["Formaturik gabeko esteka {aukerak}"]},"Start typing to search":{v:["Hasi idazten bilatzeko"]}}},{l:"fa",t:{'Load more "{options}"':{v:['بارگذاری بیشتر "{options}"']},"Raw link {options}":{v:["پیوند خام {options}"]},"Start typing to search":{v:["برای جستجو تایپ کنید"]}}},{l:"fi",t:{'Load more "{options}"':{v:['Lataa lis\xe4\xe4 "{options}"']},"Raw link {options}":{v:["Raaka linkki {options}"]},"Start typing to search":{v:["Aloita kirjoittaminen hakeaksesi"]}}},{l:"fr",t:{'Load more "{options}"':{v:['Charger d\'avantage "{options}"']},"Raw link {options}":{v:["Lien brut {options}"]},"Start typing to search":{v:["Commencez \xe0 \xe9crire pour rechercher"]}}},{l:"ga",t:{'Load more "{options}"':{v:['Luchtaigh tuilleadh "{options}"']},"Raw link {options}":{v:["Nasc amh {roghanna}"]},"Start typing to search":{v:["Tosaigh ag cl\xf3scr\xedobh chun cuardach a dh\xe9anamh"]}}},{l:"gl",t:{'Load more "{options}"':{v:["Cargar m\xe1is \xab{options}\xbb"]},"Raw link {options}":{v:["Ligaz\xf3n sen procesar {options}"]},"Start typing to search":{v:["Comece a escribir para buscar"]}}},{l:"he",t:{"Raw link {options}":{v:["קישור גולמי {options}"]},"Start typing to search":{v:["התחלת הקלדה מחפשת"]}}},{l:"hr",t:{'Load more "{options}"':{v:["Učitaj još „{options}”"]},"Raw link {options}":{v:["Izravna poveznica {options}"]},"Start typing to search":{v:["Počnite tipkati za pretraživanje"]}}},{l:"hu",t:{}},{l:"id",t:{'Load more "{options}"':{v:['Muat "{options}" lainnya']},"Raw link {options}":{v:["Tautan mentah {options}"]},"Start typing to search":{v:["Ketik untuk mulai mencari"]}}},{l:"is",t:{'Load more "{options}"':{v:['Hla\xf0a inn fleiri "{options}"']},"Raw link {options}":{v:["Hr\xe1r tengill {options}"]},"Start typing to search":{v:["Byrja\xf0u a\xf0 skrifa til a\xf0 leita"]}}},{l:"it",t:{'Load more "{options}"':{v:['Carica pi\xf9 "{options}"']},"Raw link {options}":{v:["Raw link {options}"]},"Start typing to search":{v:["Iniziare a digitare per effettuare la ricerca"]}}},{l:"ja",t:{'Load more "{options}"':{v:['"{options}" をもっと読み込む']},"Raw link {options}":{v:["未加工のリンク {options}"]},"Start typing to search":{v:["入力を開始して検索します"]}}},{l:"ja-JP",t:{'Load more "{options}"':{v:['"{options}" をもっと読み込む']},"Raw link {options}":{v:["未加工のリンク {options}"]},"Start typing to search":{v:["入力を開始して検索します"]}}},{l:"ko",t:{'Load more "{options}"':{v:['"{options}" 더 불러오기']},"Raw link {options}":{v:["{options} 원본 링크"]},"Start typing to search":{v:["입력하여 검색"]}}},{l:"lo",t:{'Load more "{options}"':{v:["ໂຫຼດ “{options}” ເພີ່ມເຕີມ"]},"Raw link {options}":{v:["ລິງດິບ {options}"]},"Start typing to search":{v:["ເລີ່ມພິມເພື່ອຄົ້ນຫາ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{'Load more "{options}"':{v:['Вчитај повеќе "{options}"']},"Raw link {options}":{v:["Суров линк {options}"]},"Start typing to search":{v:["Почни да пишуваш за пребарување"]}}},{l:"my",t:{}},{l:"nb",t:{'Load more "{options}"':{v:['Last inn flere "{options}"']},"Raw link {options}":{v:["R\xe5 lenke {options}"]},"Start typing to search":{v:["Start \xe5 skrive for \xe5 s\xf8ke"]}}},{l:"nl",t:{'Load more "{options}"':{v:['Meer "{options}" laden']},"Raw link {options}":{v:["Ruwe link {options}"]},"Start typing to search":{v:["Start met typen om te zoeken"]}}},{l:"oc",t:{}},{l:"pl",t:{'Load more "{options}"':{v:['Załaduj więcej "{options}"']},"Raw link {options}":{v:["Surowy odnośnik {options}"]},"Start typing to search":{v:["Zacznij pisać, aby wyszukać"]}}},{l:"pt-BR",t:{'Load more "{options}"':{v:['Carregar mais "{options}"']},"Raw link {options}":{v:["Link bruto {options}"]},"Start typing to search":{v:["Comece a digitar para pesquisar"]}}},{l:"pt-PT",t:{'Load more "{options}"':{v:['Carregar mais "{options}"']},"Raw link {options}":{v:["Link inicial {options}"]},"Start typing to search":{v:["Comece a digitar para pesquisar"]}}},{l:"ro",t:{'Load more "{options}"':{v:['\xcencarcă mai multe "{options}"']},"Raw link {options}":{v:["Link brut {options}"]},"Start typing to search":{v:["Tastați pentru căutare"]}}},{l:"ru",t:{'Load more "{options}"':{v:['Загрузить больше "{options}""']},"Raw link {options}":{v:["Необработанная ссылка {options}"]},"Start typing to search":{v:["Начните вводить текст для поиска"]}}},{l:"sk",t:{'Load more "{options}"':{v:['Nač\xedtať viac "{options}"']},"Raw link {options}":{v:["Raw odkaz {options}"]},"Start typing to search":{v:["Začnite p\xedsať pre vyhľad\xe1vanie"]}}},{l:"sl",t:{}},{l:"sr",t:{'Load more "{options}"':{v:["Учитај још „{options}”"]},"Raw link {options}":{v:["Сирови линк {options}"]},"Start typing to search":{v:["Покрените претрагу куцањем"]}}},{l:"sv",t:{'Load more "{options}"':{v:['Ladda fler "{options}"']},"Raw link {options}":{v:["Oformaterad l\xe4nk {options}"]},"Start typing to search":{v:["B\xf6rja skriva f\xf6r att s\xf6ka"]}}},{l:"tr",t:{'Load more "{options}"':{v:['Diğer "{options}"']},"Raw link {options}":{v:["Ham bağlantı {options}"]},"Start typing to search":{v:["Aramak i\xe7in yazmaya başlayın"]}}},{l:"uk",t:{'Load more "{options}"':{v:['Завантажити більше "{options}"']},"Raw link {options}":{v:["Пряме посилання {options}"]},"Start typing to search":{v:["Почніть вводити для пошуку"]}}},{l:"uz",t:{'Load more "{options}"':{v:['Ko\'proq yuklash "{options}"']},"Raw link {options}":{v:[" {options}satr havolasi"]},"Start typing to search":{v:["Qidirish uchun yozishni boshlang"]}}},{l:"zh-CN",t:{'Load more "{options}"':{v:["加载更多 “{options}”"]},"Raw link {options}":{v:["原始链接 {options}"]},"Start typing to search":{v:["开始输入以进行搜索"]}}},{l:"zh-HK",t:{'Load more "{options}"':{v:['載入更多 "{options}"']},"Raw link {options}":{v:["原始連結 {options}"]},"Start typing to search":{v:["開始輸入以進行搜尋"]}}},{l:"zh-TW",t:{'Load more "{options}"':{v:["載入更多「{options}」"]},"Raw link {options}":{v:["原始連結 {options}"]},"Start typing to search":{v:["開始輸入以進行搜尋"]}}}],x=[{l:"ar",t:{"Loading\xa0…":{v:["التحميل جارٍ ..."]}}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Loading\xa0…":{v:["Nač\xedt\xe1n\xed\xa0…"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"Loading\xa0…":{v:["Indl\xe6ser ..."]}}},{l:"de",t:{"Loading\xa0…":{v:["Wird geladen\xa0…"]}}},{l:"de-DE",t:{"Loading\xa0…":{v:["Wird geladen\xa0…"]}}},{l:"el",t:{"Loading\xa0…":{v:["Φόρτωση \xa0…"]}}},{l:"en-GB",t:{"Loading\xa0…":{v:["Loading\xa0…"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{"Loading\xa0…":{v:["Laadin\xa0…"]}}},{l:"eu",t:{}},{l:"fa",t:{"Loading\xa0…":{v:["در حال بارگذاری ..."]}}},{l:"fi",t:{"Loading\xa0…":{v:["Ladataan ..."]}}},{l:"fr",t:{"Loading\xa0…":{v:["Chargement..."]}}},{l:"ga",t:{"Loading\xa0…":{v:["Ag l\xf3d\xe1il\xa0…"]}}},{l:"gl",t:{"Loading\xa0…":{v:["Cargando…"]}}},{l:"he",t:{}},{l:"hr",t:{"Loading\xa0…":{v:["Učitavanje\xa0…"]}}},{l:"hu",t:{}},{l:"id",t:{"Loading\xa0…":{v:["Memuat\xa0…"]}}},{l:"is",t:{"Loading\xa0…":{v:["Hle\xf0 inn\xa0…"]}}},{l:"it",t:{}},{l:"ja",t:{"Loading\xa0…":{v:["読み込み中 …"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{"Loading\xa0…":{v:["로딩 중 ..."]}}},{l:"lo",t:{"Loading\xa0…":{v:["ກຳລັງໂຫຼດ…"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Loading\xa0…":{v:["Вчитување\xa0…"]}}},{l:"my",t:{}},{l:"nb",t:{"Loading\xa0…":{v:["Laster inn..."]}}},{l:"nl",t:{"Loading\xa0…":{v:["Laden\xa0…"]}}},{l:"oc",t:{}},{l:"pl",t:{"Loading\xa0…":{v:["Wczytywanie…"]}}},{l:"pt-BR",t:{"Loading\xa0…":{v:["Carregando\xa0…"]}}},{l:"pt-PT",t:{"Loading\xa0…":{v:["A carregar..."]}}},{l:"ro",t:{}},{l:"ru",t:{"Loading\xa0…":{v:["Загрузка\xa0…"]}}},{l:"sk",t:{"Loading\xa0…":{v:["Nahr\xe1vam ..."]}}},{l:"sl",t:{}},{l:"sr",t:{"Loading\xa0…":{v:["Учитава се…"]}}},{l:"sv",t:{"Loading\xa0…":{v:["Laddar ..."]}}},{l:"tr",t:{"Loading\xa0…":{v:["Y\xfckleniyor…"]}}},{l:"uk",t:{"Loading\xa0…":{v:["Завантаження\xa0…"]}}},{l:"uz",t:{"Loading\xa0…":{v:["Yuklanmoqda..."]}}},{l:"zh-CN",t:{"Loading\xa0…":{v:["加载中..."]}}},{l:"zh-HK",t:{"Loading\xa0…":{v:["加載中\xa0…"]}}},{l:"zh-TW",t:{"Loading\xa0…":{v:["正在載入……"]}}}],D=[{l:"ar",t:{"No link provider found":{v:["لا يوجد أيّ مزود روابط link provider"]},"Write a message\xa0…":{v:["أكتب رسالة ..."]}}},{l:"ast",t:{"No link provider found":{v:["Nun s'atop\xf3 neng\xfan fornidor d'enllaces"]},"Write a message\xa0…":{v:["Escribi un mensaxe…"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Dosaženo limitu počtu %n znaku zpr\xe1vy","Dosaženo limitu počtu %n znaků zpr\xe1vy","Dosaženo limitu počtu %n znaků zpr\xe1vy","Dosaženo limitu počtu %n znaků zpr\xe1vy"]},"No link provider found":{v:["Nenalezen ž\xe1dn\xfd poskytovatel odkazů"]},"Write a message\xa0…":{v:["Napište zpr\xe1vu …"]}}},{l:"cs-CZ",t:{"No link provider found":{v:["Nenalezen ž\xe1dn\xfd poskytovatel odkazů"]},"Write a message\xa0…":{v:["Napsat zpr\xe1vu…"]}}},{l:"da",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Beskedgr\xe6nsen p\xe5 %n tegn er n\xe5et","Beskedgr\xe6nsen p\xe5 %n tegn er n\xe5et"]},"No link provider found":{v:["Ingen linkudbyder fundet"]},"Write a message\xa0…":{v:["Skriv en besked ..."]}}},{l:"de",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Nachrichtenlimit von %n Zeichen erreicht","Nachrichtenlimit von %n Zeichen erreicht"]},"No link provider found":{v:["Kein Linkanbieter gefunden"]},"Write a message\xa0…":{v:["Nachricht schreiben\xa0…"]}}},{l:"de-DE",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Nachrichtenlimit von %n Zeichen erreicht","Nachrichtenlimit von %n Zeichen erreicht"]},"No link provider found":{v:["Kein Linkanbieter gefunden"]},"Write a message\xa0…":{v:["Nachricht schreiben\xa0…"]}}},{l:"el",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Έφτασε το όριο μηνύματος των %n χαρακτήρων","Έφτασε το όριο μηνύματος των %n χαρακτήρων"]},"No link provider found":{v:["Δεν βρέθηκε πάροχος συνδέσμου"]},"Write a message\xa0…":{v:["Γράψτε ένα μήνυμα\xa0…"]}}},{l:"en-GB",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Message limit of %n character reached","Message limit of %n characters reached"]},"No link provider found":{v:["No link provider found"]},"Write a message\xa0…":{v:["Write a message\xa0…"]}}},{l:"eo",t:{}},{l:"es",t:{"No link provider found":{v:["No se encontr\xf3 ning\xfan proveedor de enlaces"]},"Write a message\xa0…":{v:["Escriba un mensaje ..."]}}},{l:"es-AR",t:{"No link provider found":{v:["No se encontr\xf3 ning\xfan proveedor de enlaces"]},"Write a message\xa0…":{v:["Escriba un mensaje ..."]}}},{l:"es-EC",t:{"No link provider found":{v:["No se encontr\xf3 ning\xfan proveedor de enlaces"]}}},{l:"es-MX",t:{"No link provider found":{v:["No se encontr\xf3 ning\xfan proveedor de enlaces"]},"Write a message\xa0…":{v:["Escriba un mensaje ..."]}}},{l:"et-EE",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["S\xf5numi piirarv %n t\xe4hem\xe4rk on k\xe4es","S\xf5numi piirarv %n t\xe4hem\xe4rki on k\xe4es"]},"No link provider found":{v:["Lingi pakkujat ei leitud"]},"Write a message\xa0…":{v:["Koosta s\xf5num\xa0…"]}}},{l:"eu",t:{"No link provider found":{v:["Ez da aurkitu esteka-hornitzailerik"]},"Write a message\xa0…":{v:["Idatzi mezu bat…"]}}},{l:"fa",t:{"No link provider found":{v:["هیچ ارائه‌دهنده پیوندی یافت نشد"]},"Write a message\xa0…":{v:["یک پیام بنویسید ..."]}}},{l:"fi",t:{"No link provider found":{v:["Linkin tarjoajia ei l\xf6ydetty"]},"Write a message\xa0…":{v:["Kirjoita viesti…"]}}},{l:"fr",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Limite de messages de %n caract\xe8re atteinte","Limite de messages de %n caract\xe8res atteinte","Limite de messages de %n caract\xe8res atteinte"]},"No link provider found":{v:["Aucun fournisseur de lien trouv\xe9"]},"Write a message\xa0…":{v:["\xc9crire un message…"]}}},{l:"ga",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Sroicheadh ​​teorainn teachtaireachta de %n carachtar","Sroicheadh ​​teorainn teachtaireachta de %n carachtar","Sroicheadh ​​teorainn teachtaireachta de %n carachtar","Sroicheadh ​​teorainn teachtaireachta de %n carachtar","Sroicheadh ​​teorainn teachtaireachta de %n carachtar"]},"No link provider found":{v:["N\xedor aims\xedodh aon sol\xe1thra\xed naisc"]},"Write a message\xa0…":{v:["Scr\xedobh teachtaireacht\xa0…"]}}},{l:"gl",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Acadouse o l\xedmite de %n caracter por mensaxe","Acadouse o l\xedmite de %n caracteres por mensaxe"]},"No link provider found":{v:["Non se atopou ning\xfan provedor de ligaz\xf3ns"]},"Write a message\xa0…":{v:["Escribir unha mensaxe…"]}}},{l:"he",t:{"No link provider found":{v:["לא נמצא ספק קישורים"]}}},{l:"hr",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Dosegnuto je ograničenje poruke od %n znaka","Dosegnuto je ograničenje poruke od %n znaka","Dosegnuto je ograničenje poruke od %n znakova"]},"No link provider found":{v:["Nije pronađen nijedan pružatelj poveznica"]},"Write a message\xa0…":{v:["Napiši poruku\xa0…"]}}},{l:"hu",t:{}},{l:"id",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Batas pesan %n karakter telah tercapai"]},"No link provider found":{v:["Tidak ada penyedia tautan yang ditemukan"]},"Write a message\xa0…":{v:["Tulis pesan\xa0…"]}}},{l:"is",t:{"No link provider found":{v:["Engin tenglaveita fannst"]},"Write a message\xa0…":{v:["Skrifa\xf0u skilabo\xf0\xa0…"]}}},{l:"it",t:{"No link provider found":{v:["Nessun fornitore di link trovato"]},"Write a message\xa0…":{v:["Scrivi un messaggio ..."]}}},{l:"ja",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["メッセージの%n文字の制限に達しました"]},"No link provider found":{v:["リンクプロバイダーが見つかりません"]},"Write a message\xa0…":{v:["メッセージを書く ..."]}}},{l:"ja-JP",t:{"No link provider found":{v:["リンクプロバイダーが見つかりません"]},"Write a message\xa0…":{v:["メッセージを書く ..."]}}},{l:"ko",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["메시지 제한 %n자에 도달"]},"No link provider found":{v:["링크 제공자 없음"]},"Write a message\xa0…":{v:["메시지 쓰는 중 ..."]}}},{l:"lo",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["ຮອດຂີດຈຳກັດຂໍ້ຄວາມ %n ໂຕອັກສອນແລ້ວ"]},"No link provider found":{v:["ບໍ່ພົບຜູ້ໃຫ້ບໍລິການລິງ"]},"Write a message\xa0…":{v:["ຂຽນຂໍ້ຄວາມ…"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Достигнат е лимит од %n карактер","Достигнат е лимит од %n карактери за порака"]},"No link provider found":{v:["Не е пронајден давател на линк"]},"Write a message\xa0…":{v:["Напиши порака\xa0…"]}}},{l:"my",t:{}},{l:"nb",t:{"No link provider found":{v:["Finner ingen lenkeleverand\xf8r"]},"Write a message\xa0…":{v:["Skriv en melding..."]}}},{l:"nl",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Berichtlimiet van %n teken bereikt","Berichtlimiet van %n tekens bereikt"]},"No link provider found":{v:["Geen link provider gevonden"]},"Write a message\xa0…":{v:["Schrijf een bericht\xa0…"]}}},{l:"oc",t:{}},{l:"pl",t:{"No link provider found":{v:["Nie znaleziono dostawcy link\xf3w"]},"Write a message\xa0…":{v:["Napisz wiadomość…"]}}},{l:"pt-BR",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Limite de mensagem de %n caractere atingido","Limite de mensagem de %n de caracteres atingido","Limite de mensagem de %n caracteres atingido"]},"No link provider found":{v:["Nenhum provedor de link encontrado"]},"Write a message\xa0…":{v:["Escreva uma mensagem\xa0…"]}}},{l:"pt-PT",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Limite de mensagem de %n car\xe1cter atingido","Limite de mensagem de %n caracteres atingido","Limite de mensagem de %n caracteres atingido"]},"No link provider found":{v:["Nenhum fornecedor de link encontrado"]},"Write a message\xa0…":{v:["Escreva uma mensagem..."]}}},{l:"ro",t:{"No link provider found":{v:["Nu s-a găsit un provider pentru linkuri"]},"Write a message\xa0…":{v:["Scrieți un mesaj ..."]}}},{l:"ru",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Достигнут лимит в %n символ","Достигнут лимит в %n символа","Достигнут лимит в %n символов","Достигнут лимит в %n символов"]},"No link provider found":{v:["Поставщик ссылок не найден"]},"Write a message\xa0…":{v:["Напишите сообщение\xa0…"]}}},{l:"sk",t:{"No link provider found":{v:["Žiaden odkaz poskytovateľa nebol n\xe1jden\xfd"]},"Write a message\xa0…":{v:["Nap\xedšte spr\xe1vu…"]}}},{l:"sl",t:{}},{l:"sr",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Достигнуто је ограничење величине поруке од %n карактер","Достигнуто је ограничење величине поруке од %n карактера","Достигнуто је ограничење величине поруке од %n карактера"]},"No link provider found":{v:["Није пронађен ниједан пружалац линка"]},"Write a message\xa0…":{v:["Напишите поруку…"]}}},{l:"sv",t:{"No link provider found":{v:["Ingen l\xe4nkleverant\xf6r hittades"]},"Write a message\xa0…":{v:["Skriv ett meddelande\xa0…"]}}},{l:"tr",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["İleti i\xe7in %n karakter sayısı sınırına ulaşıldı","İleti i\xe7in %n karakter sayısı sınırına ulaşıldı"]},"No link provider found":{v:["Bağlantı hizmeti sağlayıcısı bulunamadı"]},"Write a message\xa0…":{v:["Bir ileti yazın…"]}}},{l:"uk",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["Досягнуто обмеження на довжину повідомлення у %n символ.","Досягнуто обмеження на довжину повідомлення у %n символи.","Досягнуто обмеження на довжину повідомлення у%n символів.","Досягнуто обмеження на довжину повідомлення у %n символів."]},"No link provider found":{v:["Не наведено посилання"]},"Write a message\xa0…":{v:["Створити повідомлення\xa0…"]}}},{l:"uz",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:[" %n ta belgidan iborat xabar chegarasiga yetdi"]},"No link provider found":{v:["Hech qanday havola provayderi topilmadi"]},"Write a message\xa0…":{v:["Xabar yozish..."]}}},{l:"zh-CN",t:{"No link provider found":{v:["未找到任何链接提供者"]},"Write a message\xa0…":{v:["编写信息 ..."]}}},{l:"zh-HK",t:{"Message limit of %n character reached":{p:"Message limit of %n characters reached",v:["已達到訊息最多 %n 字元限制"]},"No link provider found":{v:["找不到連結提供者"]},"Write a message\xa0…":{v:["編寫訊息\xa0…"]}}},{l:"zh-TW",t:{"No link provider found":{v:["找不到連結提供者"]},"Write a message\xa0…":{v:["編寫訊息……"]}}}],T=[{l:"ar",t:{Next:{v:["التالي"]},"Pause slideshow":{v:["تجميد عرض الشرائح"]},Previous:{v:["السابق"]},"Start slideshow":{v:["إبدإ العرض"]}}},{l:"ast",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Posar la presentaci\xf3n de diapositives"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Aniciar la presentaci\xf3n de diapositives"]}}},{l:"br",t:{Next:{v:["Da heul"]},"Pause slideshow":{v:["Arsav an diaporama"]},Previous:{v:["A-raok"]},"Start slideshow":{v:["Kregi\xf1 an diaporama"]}}},{l:"ca",t:{Next:{v:["Seg\xfcent"]},"Pause slideshow":{v:["Atura la presentaci\xf3"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Inicia la presentaci\xf3"]}}},{l:"cs",t:{Next:{v:["N\xe1sleduj\xedc\xed"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchoz\xed"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"cs-CZ",t:{Next:{v:["N\xe1sleduj\xedc\xed"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchoz\xed"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"da",t:{Next:{v:["Videre"]},"Pause slideshow":{v:["Suspender fremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start fremvisning"]}}},{l:"de",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"de-DE",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"el",t:{Next:{v:["Επόμενο"]},"Pause slideshow":{v:["Παύση προβολής διαφανειών"]},Previous:{v:["Προηγούμενο"]},"Start slideshow":{v:["Έναρξη προβολής διαφανειών"]}}},{l:"en-GB",t:{Next:{v:["Next"]},"Pause slideshow":{v:["Pause slideshow"]},Previous:{v:["Previous"]},"Start slideshow":{v:["Start slideshow"]}}},{l:"eo",t:{Next:{v:["Sekva"]},"Pause slideshow":{v:["Payzi bildprezenton"]},Previous:{v:["Antaŭa"]},"Start slideshow":{v:["Komenci bildprezenton"]}}},{l:"es",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentaci\xf3n "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentaci\xf3n"]}}},{l:"es-AR",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentaci\xf3n "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentaci\xf3n"]}}},{l:"es-EC",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentaci\xf3n de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentaci\xf3n de diapositivas"]}}},{l:"es-MX",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentaci\xf3n de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentaci\xf3n de diapositivas"]}}},{l:"et-EE",t:{Next:{v:["Edasi"]},"Pause slideshow":{v:["Slaidiesitluse paus"]},Previous:{v:["Eelmine"]},"Start slideshow":{v:["Alusta slaidiesitust"]}}},{l:"eu",t:{Next:{v:["Hurrengoa"]},"Pause slideshow":{v:["Pausatu diaporama"]},Previous:{v:["Aurrekoa"]},"Start slideshow":{v:["Hasi diaporama"]}}},{l:"fa",t:{Next:{v:["بعدی"]},"Pause slideshow":{v:["توقف نمایش اسلاید"]},Previous:{v:["قبلی"]},"Start slideshow":{v:["شروع نمایش اسلاید"]}}},{l:"fi",t:{Next:{v:["Seuraava"]},"Pause slideshow":{v:["Keskeyt\xe4 diaesitys"]},Previous:{v:["Edellinen"]},"Start slideshow":{v:["Aloita diaesitys"]}}},{l:"fr",t:{Next:{v:["Suivant"]},"Pause slideshow":{v:["Mettre le diaporama en pause"]},Previous:{v:["Pr\xe9c\xe9dent"]},"Start slideshow":{v:["D\xe9marrer le diaporama"]}}},{l:"ga",t:{Next:{v:["Ar aghaidh"]},"Pause slideshow":{v:["Cuir taispe\xe1ntas sleamhn\xe1n ar sos"]},Previous:{v:["Roimhe Seo"]},"Start slideshow":{v:["Tosaigh taispe\xe1ntas sleamhn\xe1n"]}}},{l:"gl",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar o diaporama"]},Previous:{v:["Anterir"]},"Start slideshow":{v:["Iniciar o diaporama"]}}},{l:"he",t:{Next:{v:["הבא"]},"Pause slideshow":{v:["השהיית מצגת"]},Previous:{v:["הקודם"]},"Start slideshow":{v:["התחלת המצגת"]}}},{l:"hr",t:{Next:{v:["Sljedeće"]},"Pause slideshow":{v:["Pauziraj dijaprojekciju"]},Previous:{v:["Prethodno"]},"Start slideshow":{v:["Pokreni dijaprojekciju"]}}},{l:"hu",t:{Next:{v:["K\xf6vetkező"]},"Pause slideshow":{v:["Diavet\xedt\xe9s sz\xfcneteltet\xe9se"]},Previous:{v:["Előző"]},"Start slideshow":{v:["Diavet\xedt\xe9s ind\xedt\xe1sa"]}}},{l:"id",t:{Next:{v:["Selanjutnya"]},"Pause slideshow":{v:["Jeda tayangan slide"]},Previous:{v:["Sebelumnya"]},"Start slideshow":{v:["Mulai salindia"]}}},{l:"is",t:{Next:{v:["N\xe6sta"]},"Pause slideshow":{v:["Gera hl\xe9 \xe1 skyggnus\xfdningu"]},Previous:{v:["Fyrri"]},"Start slideshow":{v:["Byrja skyggnus\xfdningu"]}}},{l:"it",t:{Next:{v:["Successivo"]},"Pause slideshow":{v:["Presentazione in pausa"]},Previous:{v:["Precedente"]},"Start slideshow":{v:["Avvia presentazione"]}}},{l:"ja",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ja-JP",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ko",t:{Next:{v:["다음"]},"Pause slideshow":{v:["슬라이드쇼 일시정지"]},Previous:{v:["이전"]},"Start slideshow":{v:["슬라이드쇼 시작"]}}},{l:"lo",t:{Next:{v:["ຕໍ່ໄປ"]},"Pause slideshow":{v:["ຢຸດສະໄລ້ໂຊຊົ່ວຄາວ"]},Previous:{v:["ກ່ອນໜ້າ"]},"Start slideshow":{v:["ເລີ່ມສະໄລ້ໂຊ"]}}},{l:"lt-LT",t:{Next:{v:["Kitas"]},"Pause slideshow":{v:["Pristabdyti skaidrių rodymą"]},Previous:{v:["Ankstesnis"]},"Start slideshow":{v:["Pradėti skaidrių rodymą"]}}},{l:"lv",t:{Next:{v:["Nākamais"]},"Pause slideshow":{v:["Pauzēt slaidrādi"]},Previous:{v:["Iepriekšējais"]},"Start slideshow":{v:["Sākt slaidrādi"]}}},{l:"mk",t:{Next:{v:["Следно"]},"Pause slideshow":{v:["Пузирај слајдшоу"]},Previous:{v:["Предходно"]},"Start slideshow":{v:["Стартувај слајдшоу"]}}},{l:"my",t:{Next:{v:["နောက်သို့ဆက်ရန်"]},"Pause slideshow":{v:["စလိုက်ရှိုး ခေတ္တရပ်ရန်"]},Previous:{v:["ယခင်"]},"Start slideshow":{v:["စလိုက်ရှိုးအား စတင်ရန်"]}}},{l:"nb",t:{Next:{v:["Neste"]},"Pause slideshow":{v:["Pause lysbildefremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start lysbildefremvisning"]}}},{l:"nl",t:{Next:{v:["Volgende"]},"Pause slideshow":{v:["Diavoorstelling pauzeren"]},Previous:{v:["Vorige"]},"Start slideshow":{v:["Diavoorstelling starten"]}}},{l:"oc",t:{Next:{v:["Seguent"]},"Pause slideshow":{v:["Metre en pausa lo diaporama"]},Previous:{v:["Precedent"]},"Start slideshow":{v:["Lan\xe7ar lo diaporama"]}}},{l:"pl",t:{Next:{v:["Następny"]},"Pause slideshow":{v:["Wstrzymaj pokaz slajd\xf3w"]},Previous:{v:["Poprzedni"]},"Start slideshow":{v:["Rozpocznij pokaz slajd\xf3w"]}}},{l:"pt-BR",t:{Next:{v:["Pr\xf3ximo"]},"Pause slideshow":{v:["Pausar apresenta\xe7\xe3o de slides"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar apresenta\xe7\xe3o de slides"]}}},{l:"pt-PT",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar diaporama"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar diaporama"]}}},{l:"ro",t:{Next:{v:["Următorul"]},"Pause slideshow":{v:["Pauză prezentare de diapozitive"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["\xcencepeți prezentarea de diapozitive"]}}},{l:"ru",t:{Next:{v:["Следующее"]},"Pause slideshow":{v:["Приостановить показ слйдов"]},Previous:{v:["Предыдущее"]},"Start slideshow":{v:["Начать показ слайдов"]}}},{l:"sk",t:{Next:{v:["Ďalej"]},"Pause slideshow":{v:["Pozastaviť prezent\xe1ciu"]},Previous:{v:["Predch\xe1dzaj\xface"]},"Start slideshow":{v:["Začať prezent\xe1ciu"]}}},{l:"sl",t:{Next:{v:["Naslednji"]},"Pause slideshow":{v:["Ustavi predstavitev"]},Previous:{v:["Predhodni"]},"Start slideshow":{v:["Začni predstavitev"]}}},{l:"sr",t:{Next:{v:["Следеће"]},"Pause slideshow":{v:["Паузирај слајд шоу"]},Previous:{v:["Претходно"]},"Start slideshow":{v:["Покрени слајд шоу"]}}},{l:"sv",t:{Next:{v:["N\xe4sta"]},"Pause slideshow":{v:["Pausa bildspelet"]},Previous:{v:["F\xf6reg\xe5ende"]},"Start slideshow":{v:["Starta bildspelet"]}}},{l:"tr",t:{Next:{v:["Sonraki"]},"Pause slideshow":{v:["Slayt sunumunu duraklat"]},Previous:{v:["\xd6nceki"]},"Start slideshow":{v:["Slayt sunumunu başlat"]}}},{l:"uk",t:{Next:{v:["Вперед"]},"Pause slideshow":{v:["Пауза у показі слайдів"]},Previous:{v:["Назад"]},"Start slideshow":{v:["Почати показ слайдів"]}}},{l:"uz",t:{Next:{v:["Keyingi"]},"Pause slideshow":{v:["Slayd-shouni to'xtatib turish"]},Previous:{v:["Oldingi"]},"Start slideshow":{v:["Slayd-shouni boshlash"]}}},{l:"zh-CN",t:{Next:{v:["下一个"]},"Pause slideshow":{v:["暂停幻灯片"]},Previous:{v:["上一个"]},"Start slideshow":{v:["开始幻灯片"]}}},{l:"zh-HK",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}},{l:"zh-TW",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}}],M=[{l:"ar",t:{"No emoji found":{v:["لم يتم العثور على أي إيموجي emoji"]}}},{l:"ast",t:{"No emoji found":{v:["Nun s'atop\xf3 neng\xfan fustaxe"]}}},{l:"br",t:{"No emoji found":{v:["Emoji ebet kavet"]}}},{l:"ca",t:{"No emoji found":{v:["No s'ha trobat cap emoji"]}}},{l:"cs",t:{"No emoji found":{v:["Nenalezeno ž\xe1dn\xe9 emoji"]}}},{l:"cs-CZ",t:{"No emoji found":{v:["Nenalezeno ž\xe1dn\xe9 emoji"]}}},{l:"da",t:{"No emoji found":{v:["Ingen emoji fundet"]}}},{l:"de",t:{"No emoji found":{v:["Kein Emoji gefunden"]}}},{l:"de-DE",t:{"No emoji found":{v:["Kein Emoji gefunden"]}}},{l:"el",t:{"No emoji found":{v:["Δεν βρέθηκε emoji"]}}},{l:"en-GB",t:{"No emoji found":{v:["No emoji found"]}}},{l:"eo",t:{"No emoji found":{v:["La emoĝio forestas"]}}},{l:"es",t:{"No emoji found":{v:["No se encontr\xf3 ning\xfan emoji"]}}},{l:"es-AR",t:{"No emoji found":{v:["No se encontr\xf3 ning\xfan emoji"]}}},{l:"es-EC",t:{"No emoji found":{v:["No se encontr\xf3 ning\xfan emoji"]}}},{l:"es-MX",t:{"No emoji found":{v:["No se encontr\xf3 ning\xfan emoji"]}}},{l:"et-EE",t:{"No emoji found":{v:["Emojit ei leitud"]}}},{l:"eu",t:{"No emoji found":{v:["Ez da emojirik aurkitu"]}}},{l:"fa",t:{"No emoji found":{v:["هیچ شکلکی یافت نشد"]}}},{l:"fi",t:{"No emoji found":{v:["Emojia ei l\xf6ytynyt"]}}},{l:"fr",t:{"No emoji found":{v:["Pas d’\xe9moji trouv\xe9"]}}},{l:"ga",t:{"No emoji found":{v:["N\xedor aims\xedodh emoji"]}}},{l:"gl",t:{"No emoji found":{v:["Non se atopou ning\xfan \xabemoji\xbb"]}}},{l:"he",t:{"No emoji found":{v:["לא נמצא אמוג׳י"]}}},{l:"hr",t:{"No emoji found":{v:["Nije pronađen nijedan emoji"]}}},{l:"hu",t:{"No emoji found":{v:["Nem tal\xe1lhat\xf3 emodzsi"]}}},{l:"id",t:{"No emoji found":{v:["Tidak ada emoji yang ditemukan"]}}},{l:"is",t:{"No emoji found":{v:["Ekkert tj\xe1ningart\xe1kn fannst"]}}},{l:"it",t:{"No emoji found":{v:["Nessun emoji trovato"]}}},{l:"ja",t:{"No emoji found":{v:["絵文字が見つかりません"]}}},{l:"ja-JP",t:{"No emoji found":{v:["絵文字が見つかりません"]}}},{l:"ko",t:{"No emoji found":{v:["이모지 없음"]}}},{l:"lo",t:{"No emoji found":{v:["ບໍ່ພົບອີໂມຈິ"]}}},{l:"lt-LT",t:{"No emoji found":{v:["Nerasta jaustukų"]}}},{l:"lv",t:{}},{l:"mk",t:{"No emoji found":{v:["Не се пронајдени емотикони"]}}},{l:"my",t:{"No emoji found":{v:["အီမိုဂျီ ရှာဖွေမတွေ့နိုင်ပါ"]}}},{l:"nb",t:{"No emoji found":{v:["Fant ingen emoji"]}}},{l:"nl",t:{"No emoji found":{v:["Geen emoji gevonden"]}}},{l:"oc",t:{}},{l:"pl",t:{"No emoji found":{v:["Nie znaleziono emoji"]}}},{l:"pt-BR",t:{"No emoji found":{v:["Nenhum emoji encontrado"]}}},{l:"pt-PT",t:{"No emoji found":{v:["Nenhum emoji encontrado"]}}},{l:"ro",t:{"No emoji found":{v:["Nu s-a găsit niciun emoji"]}}},{l:"ru",t:{"No emoji found":{v:["Эмодзи не найдено"]}}},{l:"sk",t:{"No emoji found":{v:["Nenašli sa žiadne emodži"]}}},{l:"sl",t:{"No emoji found":{v:["Ni najdenih izraznih ikon"]}}},{l:"sr",t:{"No emoji found":{v:["Није пронађен ниједан емођи"]}}},{l:"sv",t:{"No emoji found":{v:["Hittade inga emojis"]}}},{l:"tr",t:{"No emoji found":{v:["Herhangi bir emoji bulunamadı"]}}},{l:"uk",t:{"No emoji found":{v:["Емоційки відсутні"]}}},{l:"uz",t:{"No emoji found":{v:["Hech qanday emoji topilmadi"]}}},{l:"zh-CN",t:{"No emoji found":{v:["表情未找到"]}}},{l:"zh-HK",t:{"No emoji found":{v:["未找到表情符號"]}}},{l:"zh-TW",t:{"No emoji found":{v:["未找到表情符號"]}}}],I=[{l:"ar",t:{}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Please choose a date":{v:["Zvolte datum"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"Please choose a date":{v:["V\xe6lg en dato"]}}},{l:"de",t:{"Please choose a date":{v:["Bitte ein Datum w\xe4hlen"]}}},{l:"de-DE",t:{"Please choose a date":{v:["Bitte ein Datum w\xe4hlen"]}}},{l:"el",t:{"Please choose a date":{v:["Παρακαλώ επιλέξτε μια ημερομηνία"]}}},{l:"en-GB",t:{"Please choose a date":{v:["Please choose a date"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{"Please choose a date":{v:["Palun vali kuup\xe4ev"]}}},{l:"eu",t:{}},{l:"fa",t:{}},{l:"fi",t:{}},{l:"fr",t:{"Please choose a date":{v:["Veuillez choisir une date"]}}},{l:"ga",t:{"Please choose a date":{v:["Roghnaigh d\xe1ta le do thoil"]}}},{l:"gl",t:{"Please choose a date":{v:["Escolla unha data"]}}},{l:"he",t:{}},{l:"hr",t:{"Please choose a date":{v:["Molimo odaberite datum"]}}},{l:"hu",t:{}},{l:"id",t:{"Please choose a date":{v:["Silakan pilih tanggal"]}}},{l:"is",t:{}},{l:"it",t:{}},{l:"ja",t:{"Please choose a date":{v:["日付を選択してください"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{"Please choose a date":{v:["날짜를 선택해주세요"]}}},{l:"lo",t:{"Please choose a date":{v:["ກະລຸນາເລືອກວັນທີ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Please choose a date":{v:["Избери датум"]}}},{l:"my",t:{}},{l:"nb",t:{}},{l:"nl",t:{"Please choose a date":{v:["Kies een datum"]}}},{l:"oc",t:{}},{l:"pl",t:{}},{l:"pt-BR",t:{"Please choose a date":{v:["Por favor, escolha uma data"]}}},{l:"pt-PT",t:{"Please choose a date":{v:["Por favor, escolha uma data"]}}},{l:"ro",t:{}},{l:"ru",t:{"Please choose a date":{v:["Выберите дату"]}}},{l:"sk",t:{}},{l:"sl",t:{}},{l:"sr",t:{"Please choose a date":{v:["Молимо вас да изаберете датум"]}}},{l:"sv",t:{}},{l:"tr",t:{"Please choose a date":{v:["L\xfctfen bir tarih se\xe7in"]}}},{l:"uk",t:{"Please choose a date":{v:["Виберіть дату"]}}},{l:"uz",t:{"Please choose a date":{v:["Iltimos, sanani tanlang"]}}},{l:"zh-CN",t:{}},{l:"zh-HK",t:{"Please choose a date":{v:["請選擇日期"]}}},{l:"zh-TW",t:{}}],B=[{l:"ar",t:{"Provider icon":{v:["أيقونة المزوّد"]}}},{l:"ast",t:{"Provider icon":{v:["Iconu del fornidor"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Provider icon":{v:["Ikona poskytovatele"]}}},{l:"cs-CZ",t:{"Provider icon":{v:["Ikona poskytovatele"]}}},{l:"da",t:{"Provider icon":{v:["Udbyder ikon"]}}},{l:"de",t:{"Provider icon":{v:["Anbietersymbol"]}}},{l:"de-DE",t:{"Provider icon":{v:["Anbietersymbol"]}}},{l:"el",t:{"Provider icon":{v:["Εικονίδιο παρόχου"]}}},{l:"en-GB",t:{"Provider icon":{v:["Provider icon"]}}},{l:"eo",t:{}},{l:"es",t:{"Provider icon":{v:["\xcdcono del proveedor"]}}},{l:"es-AR",t:{"Provider icon":{v:["\xcdcono del proveedor"]}}},{l:"es-EC",t:{"Provider icon":{v:["\xcdcono del proveedor"]}}},{l:"es-MX",t:{"Provider icon":{v:["\xcdcono del proveedor"]}}},{l:"et-EE",t:{"Provider icon":{v:["Teenusepakkuja ikoon"]}}},{l:"eu",t:{"Provider icon":{v:["Hornitzailearen ikonoa"]}}},{l:"fa",t:{"Provider icon":{v:["آیکون ارائه دهنده"]}}},{l:"fi",t:{"Provider icon":{v:["Palveluntarjoajan kuvake"]}}},{l:"fr",t:{"Provider icon":{v:["Ic\xf4ne du fournisseur"]}}},{l:"ga",t:{"Provider icon":{v:["Deilbh\xedn sol\xe1thra\xed"]}}},{l:"gl",t:{"Provider icon":{v:["Icona do provedor"]}}},{l:"he",t:{"Provider icon":{v:["סמל ספק"]}}},{l:"hr",t:{"Provider icon":{v:["Ikona pružatelja"]}}},{l:"hu",t:{}},{l:"id",t:{"Provider icon":{v:["Ikon penyedia"]}}},{l:"is",t:{"Provider icon":{v:["T\xe1knmynd \xfej\xf3nustuveitu"]}}},{l:"it",t:{"Provider icon":{v:["Icona del provider"]}}},{l:"ja",t:{"Provider icon":{v:["プロバイダーのアイコン"]}}},{l:"ja-JP",t:{"Provider icon":{v:["プロバイダーのアイコン"]}}},{l:"ko",t:{"Provider icon":{v:["제공자 아이콘"]}}},{l:"lo",t:{"Provider icon":{v:["ໄອຄອນຜູ້ໃຫ້ບໍລິການ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Provider icon":{v:["Икона на давател"]}}},{l:"my",t:{}},{l:"nb",t:{"Provider icon":{v:["Leverand\xf8rikon"]}}},{l:"nl",t:{"Provider icon":{v:["Provider-pictogram"]}}},{l:"oc",t:{}},{l:"pl",t:{"Provider icon":{v:["Dostawca ikony"]}}},{l:"pt-BR",t:{"Provider icon":{v:["\xcdcone do provedor"]}}},{l:"pt-PT",t:{"Provider icon":{v:["\xcdcone do fornecedor"]}}},{l:"ro",t:{"Provider icon":{v:["Provider pentru icon"]}}},{l:"ru",t:{"Provider icon":{v:["Значок поставщика"]}}},{l:"sk",t:{"Provider icon":{v:["Ikonka poskytovateľa"]}}},{l:"sl",t:{}},{l:"sr",t:{"Provider icon":{v:["Икона пружаоца"]}}},{l:"sv",t:{"Provider icon":{v:["Leverant\xf6rsikon"]}}},{l:"tr",t:{"Provider icon":{v:["Hizmet sağlayıcı simgesi"]}}},{l:"uk",t:{"Provider icon":{v:["Піктограма постачальника"]}}},{l:"uz",t:{"Provider icon":{v:["Provayder belgisi"]}}},{l:"zh-CN",t:{"Provider icon":{v:["提供者图标"]}}},{l:"zh-HK",t:{"Provider icon":{v:["提供者圖示"]}}},{l:"zh-TW",t:{"Provider icon":{v:["提供者圖示"]}}}],P=[{l:"ar",t:{Search:{v:["بحث"]}}},{l:"ast",t:{Search:{v:["Buscar"]}}},{l:"br",t:{Search:{v:["Klask"]}}},{l:"ca",t:{Search:{v:["Cerca"]}}},{l:"cs",t:{Search:{v:["Hledat"]}}},{l:"cs-CZ",t:{Search:{v:["Hledat"]}}},{l:"da",t:{Search:{v:["S\xf8g"]}}},{l:"de",t:{Search:{v:["Suche"]}}},{l:"de-DE",t:{Search:{v:["Suche"]}}},{l:"el",t:{Search:{v:["Αναζήτηση"]}}},{l:"en-GB",t:{Search:{v:["Search"]}}},{l:"eo",t:{Search:{v:["Serĉi"]}}},{l:"es",t:{Search:{v:["Buscar"]}}},{l:"es-AR",t:{Search:{v:["Buscar"]}}},{l:"es-EC",t:{Search:{v:["Buscar"]}}},{l:"es-MX",t:{Search:{v:["Buscar"]}}},{l:"et-EE",t:{Search:{v:["Otsing"]}}},{l:"eu",t:{Search:{v:["Bilatu"]}}},{l:"fa",t:{Search:{v:["جستجو"]}}},{l:"fi",t:{Search:{v:["Etsi"]}}},{l:"fr",t:{Search:{v:["Rechercher"]}}},{l:"ga",t:{Search:{v:["Cuardach"]}}},{l:"gl",t:{Search:{v:["Buscar"]}}},{l:"he",t:{Search:{v:["חיפוש"]}}},{l:"hr",t:{Search:{v:["Traži"]}}},{l:"hu",t:{Search:{v:["Keres\xe9s"]}}},{l:"id",t:{Search:{v:["Cari"]}}},{l:"is",t:{Search:{v:["Leita"]}}},{l:"it",t:{Search:{v:["Cerca"]}}},{l:"ja",t:{Search:{v:["検索"]}}},{l:"ja-JP",t:{Search:{v:["検索"]}}},{l:"ko",t:{Search:{v:["검색"]}}},{l:"lo",t:{Search:{v:["ຄົ້ນຫາ"]}}},{l:"lt-LT",t:{Search:{v:["Ieškoti"]}}},{l:"lv",t:{}},{l:"mk",t:{Search:{v:["Барај"]}}},{l:"my",t:{Search:{v:["ရှာဖွေရန်"]}}},{l:"nb",t:{Search:{v:["S\xf8k"]}}},{l:"nl",t:{Search:{v:["Zoeken"]}}},{l:"oc",t:{}},{l:"pl",t:{Search:{v:["Szukaj"]}}},{l:"pt-BR",t:{Search:{v:["Pesquisar"]}}},{l:"pt-PT",t:{Search:{v:["Pesquisar"]}}},{l:"ro",t:{Search:{v:["Căutare"]}}},{l:"ru",t:{Search:{v:["Поиск"]}}},{l:"sk",t:{Search:{v:["Hľadať"]}}},{l:"sl",t:{Search:{v:["Iskanje"]}}},{l:"sr",t:{Search:{v:["Претражи"]}}},{l:"sv",t:{Search:{v:["S\xf6k"]}}},{l:"tr",t:{Search:{v:["Ara"]}}},{l:"uk",t:{Search:{v:["Пошук"]}}},{l:"uz",t:{Search:{v:["Qidiruv"]}}},{l:"zh-CN",t:{Search:{v:["搜索"]}}},{l:"zh-HK",t:{Search:{v:["搜尋"]}}},{l:"zh-TW",t:{Search:{v:["搜尋"]}}}],N=[{l:"ar",t:{"Type to search time zone":{v:["أكتُب للبحث عن منطقة زمنية"]}}},{l:"ast",t:{"Search for time zone":{v:["Buscar fusos horarios"]},"Type to search time zone":{v:["Escribi pa buscar un fusu horariu"]}}},{l:"br",t:{}},{l:"ca",t:{"Type to search time zone":{v:["Escriviu per cercar la zona hor\xe0ria"]}}},{l:"cs",t:{"Search for time zone":{v:["Vyhledat časov\xe9 p\xe1smo"]},"Type to search time zone":{v:["Psan\xedm vyhledejte časovou z\xf3nu"]}}},{l:"cs-CZ",t:{"Search for time zone":{v:["Vyhledat časov\xe9 p\xe1smo"]},"Type to search time zone":{v:["Psan\xedm vyhledejte časovou z\xf3nu"]}}},{l:"da",t:{"Search for time zone":{v:["S\xf8g efter tidszone"]},"Type to search time zone":{v:["Indtast for at s\xf8ge efter tidszone"]}}},{l:"de",t:{"Search for time zone":{v:["Nach Zeitzone suchen"]},"Type to search time zone":{v:["Tippen, um eine Zeitzone zu suchen"]}}},{l:"de-DE",t:{"Search for time zone":{v:["Nach Zeitzone suchen"]},"Type to search time zone":{v:["Tippen, um eine Zeitzone zu suchen"]}}},{l:"el",t:{"Type to search time zone":{v:["Πληκτρολογήστε για αναζήτηση ζώνης ώρας"]}}},{l:"en-GB",t:{"Search for time zone":{v:["Search for time zone"]},"Type to search time zone":{v:["Type to search time zone"]}}},{l:"eo",t:{}},{l:"es",t:{"Search for time zone":{v:["Buscar huso horario"]},"Type to search time zone":{v:["Escriba para buscar un huso horario"]}}},{l:"es-AR",t:{"Search for time zone":{v:["Buscar zona horaria"]},"Type to search time zone":{v:["Escriba para buscar la zona horaria"]}}},{l:"es-EC",t:{"Type to search time zone":{v:["Escribe para buscar la zona horaria"]}}},{l:"es-MX",t:{"Search for time zone":{v:["Buscar zona horaria"]},"Type to search time zone":{v:["Escriba para buscar la zona horaria"]}}},{l:"et-EE",t:{"Search for time zone":{v:["Otsi ajav\xf6\xf6ndit"]},"Type to search time zone":{v:["Kirjuta, et otsida ajav\xf6\xf6ndit"]}}},{l:"eu",t:{"Type to search time zone":{v:["Idatzi ordu-zona bat bilatzeko"]}}},{l:"fa",t:{"Search for time zone":{v:["جستجو برای منطقهٔ زمانی"]},"Type to search time zone":{v:["برای جستجوی منطقه زمانی تایپ کنید"]}}},{l:"fi",t:{"Search for time zone":{v:["Etsi aikavy\xf6hykett\xe4"]},"Type to search time zone":{v:["Kirjoita etsi\xe4ksesi aikavy\xf6hykett\xe4"]}}},{l:"fr",t:{"Search for time zone":{v:["Rechercher le fuseau horaire"]},"Type to search time zone":{v:["Saisissez les premiers lettres pour rechercher un fuseau horaire"]}}},{l:"ga",t:{"Search for time zone":{v:["Cuardaigh crios ama"]},"Type to search time zone":{v:["Cl\xf3scr\xedobh chun crios ama a chuardach"]}}},{l:"gl",t:{"Search for time zone":{v:["Buscar por fuso horario"]},"Type to search time zone":{v:["Escriba para buscar o fuso horario"]}}},{l:"he",t:{"Type to search time zone":{v:["יש להקליד כדי לחפש אזור זמן"]}}},{l:"hr",t:{"Search for time zone":{v:["Pretraži vremensku zonu"]},"Type to search time zone":{v:["Upišite za pretraživanje vremenske zone"]}}},{l:"hu",t:{"Type to search time zone":{v:["G\xe9peljen az időz\xf3na keres\xe9s\xe9hez"]}}},{l:"id",t:{"Search for time zone":{v:["Cari zona waktu"]},"Type to search time zone":{v:["Ketik untuk mencari zona waktu"]}}},{l:"is",t:{"Search for time zone":{v:["Leita a\xf0 t\xedmabelti"]},"Type to search time zone":{v:["Skrifa\xf0u til a\xf0 leita a\xf0 t\xedmabelti"]}}},{l:"it",t:{"Search for time zone":{v:["Ricerca del fuso orario"]},"Type to search time zone":{v:["Digita per cercare un fuso orario"]}}},{l:"ja",t:{"Type to search time zone":{v:["タイムゾーン検索のため入力してください"]}}},{l:"ja-JP",t:{"Search for time zone":{v:["タイムゾーンを検索"]},"Type to search time zone":{v:["タイムゾーン検索のため入力してください"]}}},{l:"ko",t:{"Search for time zone":{v:["시간대 찾기"]},"Type to search time zone":{v:["입력하여 시간대를 검색"]}}},{l:"lo",t:{"Type to search time zone":{v:["ພິມເພື່ອຄົ້ນຫາເຂດເວລາ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Type to search time zone":{v:["Напишете за да пребарате временска зона"]}}},{l:"my",t:{"Type to search time zone":{v:["ဒေသစံတော်ချိန်များ ရှာဖွေရန် စာရိုက်ပါ"]}}},{l:"nb",t:{"Search for time zone":{v:["S\xf8k etter tidssone"]},"Type to search time zone":{v:["Tast for \xe5 s\xf8ke etter tidssone"]}}},{l:"nl",t:{"Search for time zone":{v:["Zoeken naar tijdzone"]},"Type to search time zone":{v:["Typ om een tijdzone te zoeken"]}}},{l:"oc",t:{}},{l:"pl",t:{"Search for time zone":{v:["Szukaj strefy czasowej"]},"Type to search time zone":{v:["Wpisz, aby wyszukać strefę czasową"]}}},{l:"pt-BR",t:{"Search for time zone":{v:["Pesquisar fuso hor\xe1rio"]},"Type to search time zone":{v:["Digite para pesquisar o fuso hor\xe1rio "]}}},{l:"pt-PT",t:{"Type to search time zone":{v:["Digite para pesquisar o fuso hor\xe1rio "]}}},{l:"ro",t:{"Search for time zone":{v:["Căutare zonă de timp"]},"Type to search time zone":{v:["Tastați pentru a căuta fusul orar"]}}},{l:"ru",t:{"Search for time zone":{v:["Поиск часового пояса"]},"Type to search time zone":{v:["Введите для поиска часового пояса"]}}},{l:"sk",t:{"Search for time zone":{v:["Vyhľadať časov\xe9 p\xe1smo"]},"Type to search time zone":{v:["Začn\xedte p\xedsať pre vyhľad\xe1vanie časovej z\xf3ny"]}}},{l:"sl",t:{"Type to search time zone":{v:["Vpišite niz za iskanje časovnega pasu"]}}},{l:"sr",t:{"Type to search time zone":{v:["Куцајте да претражите временске зоне"]}}},{l:"sv",t:{"Search for time zone":{v:["S\xf6k efter tidszon"]},"Type to search time zone":{v:["Skriv f\xf6r att v\xe4lja tidszon"]}}},{l:"tr",t:{"Search for time zone":{v:["Saat dilimi ara"]},"Type to search time zone":{v:["Saat dilimi aramak i\xe7in yazmaya başlayın"]}}},{l:"uk",t:{"Type to search time zone":{v:["Введіть для пошуку часовий пояс"]}}},{l:"uz",t:{"Type to search time zone":{v:["Vaqt mintaqasini qidirish uchun kiriting"]}}},{l:"zh-CN",t:{"Search for time zone":{v:["搜索时区"]},"Type to search time zone":{v:["打字以搜索时区"]}}},{l:"zh-HK",t:{"Type to search time zone":{v:["鍵入以搜索時區"]}}},{l:"zh-TW",t:{"Type to search time zone":{v:["輸入以搜尋時區"]}}}],R=[{l:"ar",t:{"Select provider":{v:["اختر مزود"]}}},{l:"ast",t:{"Select provider":{v:["Seleicionar el fornidor"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Select provider":{v:["Vybrat poskytovatele"]}}},{l:"cs-CZ",t:{"Select provider":{v:["Vybrat poskytovatele"]}}},{l:"da",t:{"Select provider":{v:["V\xe6lg udbyder"]}}},{l:"de",t:{"Select provider":{v:["Anbieter ausw\xe4hlen"]}}},{l:"de-DE",t:{"Select provider":{v:["Anbieter ausw\xe4hlen"]}}},{l:"el",t:{"Select provider":{v:["Επιλογή παρόχου"]}}},{l:"en-GB",t:{"Select provider":{v:["Select provider"]}}},{l:"eo",t:{}},{l:"es",t:{"Select provider":{v:["Seleccione proveedor"]}}},{l:"es-AR",t:{"Select provider":{v:["Elija proveedor"]}}},{l:"es-EC",t:{"Select provider":{v:["Seleccionar proveedor"]}}},{l:"es-MX",t:{"Select provider":{v:["Seleccionar proveedor"]}}},{l:"et-EE",t:{"Select provider":{v:["Vali teenuspakkuja"]}}},{l:"eu",t:{"Select provider":{v:["Hautatu hornitzailea"]}}},{l:"fa",t:{"Select provider":{v:["ارائه دهنده را انتخاب کنید"]}}},{l:"fi",t:{"Select provider":{v:["Valitse tarjoaja"]}}},{l:"fr",t:{"Select provider":{v:["S\xe9lectionner un fournisseur"]}}},{l:"ga",t:{"Select provider":{v:["Roghnaigh sol\xe1thra\xed"]}}},{l:"gl",t:{"Select provider":{v:["Seleccione o provedor"]}}},{l:"he",t:{"Select provider":{v:["בחירת ספק"]}}},{l:"hr",t:{"Select provider":{v:["Odaberi pružatelja"]}}},{l:"hu",t:{}},{l:"id",t:{"Select provider":{v:["Pilih penyedia"]}}},{l:"is",t:{"Select provider":{v:["Veldu \xfej\xf3nustuveitu"]}}},{l:"it",t:{"Select provider":{v:["Selezionare il provider"]}}},{l:"ja",t:{"Select provider":{v:["プロバイダーを選択"]}}},{l:"ja-JP",t:{"Select provider":{v:["プロバイダーを選択"]}}},{l:"ko",t:{"Select provider":{v:["제공자 선택"]}}},{l:"lo",t:{"Select provider":{v:["ເລືອກຜູ້ໃຫ້ບໍລິການ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Select provider":{v:["Избери провајдер"]}}},{l:"my",t:{}},{l:"nb",t:{"Select provider":{v:["Velg leverand\xf8r"]}}},{l:"nl",t:{"Select provider":{v:["Selecteer provider"]}}},{l:"oc",t:{}},{l:"pl",t:{"Select provider":{v:["Wybierz dostawcę"]}}},{l:"pt-BR",t:{"Select provider":{v:["Selecione provedor"]}}},{l:"pt-PT",t:{"Select provider":{v:["Selecionar fornecedor"]}}},{l:"ro",t:{"Select provider":{v:["Selectați providerul"]}}},{l:"ru",t:{"Select provider":{v:["Выбрать поставщика"]}}},{l:"sk",t:{"Select provider":{v:["Vybrať poskytovateľa"]}}},{l:"sl",t:{}},{l:"sr",t:{"Select provider":{v:["Изаберите пружаоца"]}}},{l:"sv",t:{"Select provider":{v:["V\xe4lj leverant\xf6r"]}}},{l:"tr",t:{"Select provider":{v:["Hizmet sağlayıcı se\xe7in"]}}},{l:"uk",t:{"Select provider":{v:["Виберіть постачальника"]}}},{l:"uz",t:{"Select provider":{v:["Provayderni tanlang"]}}},{l:"zh-CN",t:{"Select provider":{v:["选择提供者"]}}},{l:"zh-HK",t:{"Select provider":{v:["選擇提供者"]}}},{l:"zh-TW",t:{"Select provider":{v:["選取提供者"]}}}],j=[{l:"ar",t:{Submit:{v:["إرسال"]}}},{l:"ast",t:{Submit:{v:["Unviar"]}}},{l:"br",t:{}},{l:"ca",t:{Submit:{v:["Envia"]}}},{l:"cs",t:{Submit:{v:["Odeslat"]}}},{l:"cs-CZ",t:{Submit:{v:["Odeslat"]}}},{l:"da",t:{Submit:{v:["Send"]}}},{l:"de",t:{Submit:{v:["Einreichen"]}}},{l:"de-DE",t:{Submit:{v:["Einreichen"]}}},{l:"el",t:{Submit:{v:["Υποβολή"]}}},{l:"en-GB",t:{Submit:{v:["Submit"]}}},{l:"eo",t:{}},{l:"es",t:{Submit:{v:["Enviar"]}}},{l:"es-AR",t:{Submit:{v:["Enviar"]}}},{l:"es-EC",t:{Submit:{v:["Enviar"]}}},{l:"es-MX",t:{Submit:{v:["Enviar"]}}},{l:"et-EE",t:{Submit:{v:["Saada"]}}},{l:"eu",t:{Submit:{v:["Bidali"]}}},{l:"fa",t:{Submit:{v:["ارسال"]}}},{l:"fi",t:{Submit:{v:["L\xe4het\xe4"]}}},{l:"fr",t:{Submit:{v:["Valider"]}}},{l:"ga",t:{Submit:{v:["Cuir isteach"]}}},{l:"gl",t:{Submit:{v:["Enviar"]}}},{l:"he",t:{Submit:{v:["הגשה"]}}},{l:"hr",t:{Submit:{v:["Pošalji"]}}},{l:"hu",t:{Submit:{v:["Bek\xfcld\xe9s"]}}},{l:"id",t:{Submit:{v:["Kirimkan"]}}},{l:"is",t:{Submit:{v:["Senda inn"]}}},{l:"it",t:{Submit:{v:["Invia"]}}},{l:"ja",t:{Submit:{v:["提出"]}}},{l:"ja-JP",t:{Submit:{v:["提出"]}}},{l:"ko",t:{Submit:{v:["제출"]}}},{l:"lo",t:{Submit:{v:["ສົ່ງ"]}}},{l:"lt-LT",t:{Submit:{v:["Pateikti"]}}},{l:"lv",t:{}},{l:"mk",t:{Submit:{v:["Испрати"]}}},{l:"my",t:{Submit:{v:["တင်သွင်းရန်"]}}},{l:"nb",t:{Submit:{v:["Send"]}}},{l:"nl",t:{Submit:{v:["Indienen"]}}},{l:"oc",t:{}},{l:"pl",t:{Submit:{v:["Wyślij"]}}},{l:"pt-BR",t:{Submit:{v:["Enviar"]}}},{l:"pt-PT",t:{Submit:{v:["Submeter"]}}},{l:"ro",t:{Submit:{v:["Trimiteți"]}}},{l:"ru",t:{Submit:{v:["Утвердить"]}}},{l:"sk",t:{Submit:{v:["Odoslať"]}}},{l:"sl",t:{Submit:{v:["Pošlji"]}}},{l:"sr",t:{Submit:{v:["Поднеси"]}}},{l:"sv",t:{Submit:{v:["Skicka"]}}},{l:"tr",t:{Submit:{v:["G\xf6nder"]}}},{l:"uk",t:{Submit:{v:["Надіслати"]}}},{l:"uz",t:{Submit:{v:["Yuborish"]}}},{l:"zh-CN",t:{Submit:{v:["提交"]}}},{l:"zh-HK",t:{Submit:{v:["提交"]}}},{l:"zh-TW",t:{Submit:{v:["遞交"]}}}],O=[{l:"ar",t:{"Undo changes":{v:["تراجَع عن التغييرات"]}}},{l:"ast",t:{"Undo changes":{v:["Desfacer los cambeos"]}}},{l:"br",t:{}},{l:"ca",t:{"Undo changes":{v:["Desf\xe9s els canvis"]}}},{l:"cs",t:{"Undo changes":{v:["Vz\xedt změny zpět"]}}},{l:"cs-CZ",t:{"Undo changes":{v:["Vz\xedt změny zpět"]}}},{l:"da",t:{"Undo changes":{v:["Fortryd \xe6ndringer"]}}},{l:"de",t:{"Undo changes":{v:["\xc4nderungen r\xfcckg\xe4ngig machen"]}}},{l:"de-DE",t:{"Undo changes":{v:["\xc4nderungen r\xfcckg\xe4ngig machen"]}}},{l:"el",t:{"Undo changes":{v:["Αναίρεση Αλλαγών"]}}},{l:"en-GB",t:{"Undo changes":{v:["Undo changes"]}}},{l:"eo",t:{}},{l:"es",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"es-AR",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"es-EC",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"es-MX",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"et-EE",t:{"Undo changes":{v:["P\xf6\xf6ra muudatused tagasi"]}}},{l:"eu",t:{"Undo changes":{v:["Aldaketak desegin"]}}},{l:"fa",t:{"Undo changes":{v:["لغو تغییرات"]}}},{l:"fi",t:{"Undo changes":{v:["Kumoa muutokset"]}}},{l:"fr",t:{"Undo changes":{v:["Annuler les changements"]}}},{l:"ga",t:{"Undo changes":{v:["Cealaigh athruithe"]}}},{l:"gl",t:{"Undo changes":{v:["Desfacer os cambios"]}}},{l:"he",t:{"Undo changes":{v:["ביטול שינויים"]}}},{l:"hr",t:{"Undo changes":{v:["Poništi promjene"]}}},{l:"hu",t:{"Undo changes":{v:["V\xe1ltoztat\xe1sok visszavon\xe1sa"]}}},{l:"id",t:{"Undo changes":{v:["Urungkan perubahan"]}}},{l:"is",t:{"Undo changes":{v:["Afturkalla breytingar"]}}},{l:"it",t:{"Undo changes":{v:["Cancella i cambiamenti"]}}},{l:"ja",t:{"Undo changes":{v:["変更を取り消し"]}}},{l:"ja-JP",t:{"Undo changes":{v:["変更を取り消し"]}}},{l:"ko",t:{"Undo changes":{v:["변경 되돌리기"]}}},{l:"lo",t:{"Undo changes":{v:["ຍ້ອນຄືນການປ່ຽນແປງ"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"Undo changes":{v:["Врати ги промените"]}}},{l:"my",t:{}},{l:"nb",t:{"Undo changes":{v:["Tilbakestill endringer"]}}},{l:"nl",t:{"Undo changes":{v:["Wijzigingen ongedaan maken"]}}},{l:"oc",t:{}},{l:"pl",t:{"Undo changes":{v:["Cofnij zmiany"]}}},{l:"pt-BR",t:{"Undo changes":{v:["Desfazer modifica\xe7\xf5es"]}}},{l:"pt-PT",t:{"Undo changes":{v:["Anular altera\xe7\xf5es"]}}},{l:"ro",t:{"Undo changes":{v:["Anularea modificărilor"]}}},{l:"ru",t:{"Undo changes":{v:["Отменить изменения"]}}},{l:"sk",t:{"Undo changes":{v:["Vr\xe1tiť zmeny"]}}},{l:"sl",t:{"Undo changes":{v:["Razveljavi spremembe"]}}},{l:"sr",t:{"Undo changes":{v:["Поништи измене"]}}},{l:"sv",t:{"Undo changes":{v:["\xc5ngra \xe4ndringar"]}}},{l:"tr",t:{"Undo changes":{v:["Değişiklikleri geri al"]}}},{l:"uk",t:{"Undo changes":{v:["Скасувати зміни"]}}},{l:"uz",t:{"Undo changes":{v:["O'zgarishlarni bekor qilish"]}}},{l:"zh-CN",t:{"Undo changes":{v:["撤销更改"]}}},{l:"zh-HK",t:{"Undo changes":{v:["取消更改"]}}},{l:"zh-TW",t:{"Undo changes":{v:["還原變更"]}}}],z=[{l:"ar",t:{"User status: {status}":{v:["حالة المستخدِم: {status}"]}}},{l:"ast",t:{"User status: {status}":{v:["Est\xe1u del usuariu: {status}"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"User status: {status}":{v:["Stav uživatele: {status}"]}}},{l:"cs-CZ",t:{"User status: {status}":{v:["Stav uživatele: {status}"]}}},{l:"da",t:{"User status: {status}":{v:["Brugerstatus: {status}"]}}},{l:"de",t:{"User status: {status}":{v:["Benutzerstatus: {status}"]}}},{l:"de-DE",t:{"User status: {status}":{v:["Benutzerstatus: {status}"]}}},{l:"el",t:{"User status: {status}":{v:["Κατάσταση χρήστη: {status}"]}}},{l:"en-GB",t:{"User status: {status}":{v:["User status: {status}"]}}},{l:"eo",t:{}},{l:"es",t:{"User status: {status}":{v:["Estatus del usuario: {status}"]}}},{l:"es-AR",t:{"User status: {status}":{v:["Estado del usuario: {status}"]}}},{l:"es-EC",t:{}},{l:"es-MX",t:{"User status: {status}":{v:["Estado del usuario: {status}"]}}},{l:"et-EE",t:{"User status: {status}":{v:["Kasutaja olek: {status}"]}}},{l:"eu",t:{}},{l:"fa",t:{"User status: {status}":{v:["وضعیت کاربر: {status}"]}}},{l:"fi",t:{"User status: {status}":{v:["K\xe4ytt\xe4j\xe4n tila: {status}"]}}},{l:"fr",t:{"User status: {status}":{v:["Statut de l'utilisateur : {status}"]}}},{l:"ga",t:{"User status: {status}":{v:["St\xe1das \xfas\xe1ideora: {status}"]}}},{l:"gl",t:{"User status: {status}":{v:["Estado do usuario: {status}"]}}},{l:"he",t:{}},{l:"hr",t:{"User status: {status}":{v:["Status korisnika: {status}"]}}},{l:"hu",t:{}},{l:"id",t:{"User status: {status}":{v:["Status pengguna: {status}"]}}},{l:"is",t:{"User status: {status}":{v:["Sta\xf0a notanda: {status}"]}}},{l:"it",t:{"User status: {status}":{v:["Stato dell'utente: {status}"]}}},{l:"ja",t:{"User status: {status}":{v:["ユーザのステータス: {status}"]}}},{l:"ja-JP",t:{"User status: {status}":{v:["ユーザのステータス: {status}"]}}},{l:"ko",t:{"User status: {status}":{v:["사용자 상태: {status}"]}}},{l:"lo",t:{"User status: {status}":{v:["ສະຖານະຜູ້ໃຊ້: {status}"]}}},{l:"lt-LT",t:{}},{l:"lv",t:{}},{l:"mk",t:{"User status: {status}":{v:["Статус: {status}"]}}},{l:"my",t:{}},{l:"nb",t:{"User status: {status}":{v:["Brukerstatus: {status}"]}}},{l:"nl",t:{"User status: {status}":{v:["Gebruikersstatus: {status}"]}}},{l:"oc",t:{}},{l:"pl",t:{"User status: {status}":{v:["Status użytkownika: {status}"]}}},{l:"pt-BR",t:{"User status: {status}":{v:["Status do usu\xe1rio: {status}"]}}},{l:"pt-PT",t:{"User status: {status}":{v:["Estado do utilizador: {status}"]}}},{l:"ro",t:{"User status: {status}":{v:["Status utilizator: {status}"]}}},{l:"ru",t:{"User status: {status}":{v:["Статус пользователя: {status}"]}}},{l:"sk",t:{"User status: {status}":{v:["Stav už\xedvateľa: {status}"]}}},{l:"sl",t:{}},{l:"sr",t:{"User status: {status}":{v:["Статус корисника: {status}"]}}},{l:"sv",t:{"User status: {status}":{v:["Anv\xe4ndarstatus: {status}"]}}},{l:"tr",t:{"User status: {status}":{v:["Kullanıcı durumu: {status}"]}}},{l:"uk",t:{"User status: {status}":{v:["Статус користувача: {status}"]}}},{l:"uz",t:{"User status: {status}":{v:["Foydalanuvchi holati: {status}"]}}},{l:"zh-CN",t:{"User status: {status}":{v:["用户状态:{status}"]}}},{l:"zh-HK",t:{"User status: {status}":{v:["用戶狀態:{status}"]}}},{l:"zh-TW",t:{"User status: {status}":{v:["使用者狀態:{status}"]}}}]},52697(e,t,i){"use strict";i.d(t,{_:()=>n});let n=(e,t)=>{let i=e.__vccOpts||e;for(let[e,n]of t)i[e]=n;return i}},26308(e,t,i){"use strict";i.d(t,{A:()=>n});let n={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?.()[0].children?.trim?.()||""}}}},63825(e,t,i){"use strict";i.d(t,{A:()=>a});var n=i(8756),r=i(65112);let a={mixins:[i(26308).A],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null}},inject:{closeMenu:{from:r.N}},emits:["click"],created(){"ariaHidden"in this.$attrs&&(0,n.R8)("[NcAction*]: Do not set the ariaHidden attribute as the root element will inherit the incorrect aria-hidden.")},computed:{isIconUrl(){try{return new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0),!0}catch{return!1}}},methods:{onClick(e){this.$emit("click",e),this.closeAfterClick&&this.closeMenu(!1)}}}},80652(e,t,i){"use strict";i.d(t,{C:()=>r,a:()=>d,b:()=>c,d:()=>h,g:()=>f});var n=i(69106);(0,n.r)(n.t);class r{constructor(e,t,i,n){this.r=e,this.g=t,this.b=i,this.name=n,this.r=Math.min(e,255),this.g=Math.min(t,255),this.b=Math.min(i,255),this.name=n}get color(){let e=e=>`00${e.toString(16)}`.slice(-2);return`#${e(this.r)}${e(this.g)}${e(this.b)}`}}function a(e,t,i){return{r:(i.r-t.r)/e,g:(i.g-t.g)/e,b:(i.b-t.b)/e}}function s(e,t,i){let n=[];n.push(t);let s=a(e,t,i);for(let i=1;in});let n=Symbol.for("nc:theme:enforced")},34163(e,t,i){"use strict";function n(){return`nc-vue-${window._nc_vue_element_id++}`}i.d(t,{c:()=>n}),window._nc_vue_element_id=window._nc_vue_element_id??0},60648(e,t,i){"use strict";function n(){return window._nc_focus_trap??=[],window._nc_focus_trap}function r(){let e=[];return{pause(){for(let t of e=[...n()])t.pause()},unpause(){if(e.length===n().length)for(let t of e)t.unpause();e=[]}}}i.d(t,{c:()=>r,g:()=>n})},97172(e,t,i){"use strict";i.d(t,{i:()=>r});let[n]=window.OC?.config?.version?.split(".")??[],r=32>Number.parseInt(n??"32")},3168(e,t,i){"use strict";i.d(t,{l:()=>n});let n=(0,i(35947).YK)().detectUser().setApp("@nextcloud/vue").build()},98190(e,t,i){"use strict";i.d(t,{A:()=>g,B:()=>l,E:()=>A,F:()=>E,a:()=>S,b:()=>p,c:()=>f,d:()=>u,e:()=>b,j:()=>r,k:()=>n,l:()=>C,m:()=>o,n:()=>d,o:()=>a,p:()=>y,q:()=>w,r:()=>k,u:()=>_,v:()=>s,w:()=>F,x:()=>m,y:()=>c,z:()=>h});var n="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",r="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",a="M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M13,17H11V15H13V17M13,13H11V7H13V13Z",s="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",o="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",l="M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1",u="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",c="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",h="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",f="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",m="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",g="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M16.2,16.2L11,13V7H12.5V12.2L17,14.9L16.2,16.2Z",p="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",_="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z",b="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",y="M19,1L17.74,3.75L15,5L17.74,6.26L19,9L20.25,6.26L23,5L20.25,3.75M9,4L6.5,9.5L1,12L6.5,14.5L9,20L11.5,14.5L17,12L11.5,9.5M19,15L17.74,17.74L15,19L17.74,20.25L19,23L20.25,20.25L23,19L20.25,17.74",F="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",k="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z",w="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z",C="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",A="M14,19H18V5H14M6,19H10V5H6V19Z",E="M8,5.14V19.14L19,12.14L8,5.14Z",S="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"},42413(e,t,i){"use strict";i.d(t,{i:()=>n});let n=/mac|ipad|iphone|darwin/i.test(navigator.userAgent)},53072(e,t,i){"use strict";i.d(t,{i:()=>n});let n=(0,i(53334).V8)()},65112(e,t,i){"use strict";i.d(t,{N:()=>r,a:()=>n});let n=Symbol.for("NcActions:isSemanticMenu"),r=Symbol.for("NcActions:closeMenu")},52480(e,t,i){"use strict";i.d(t,{N:()=>r,u:()=>a});var n=i(8756);let r=Symbol.for("NcFormBox:context");function a(){return(0,n.WQ)(r,{isInFormBox:!1,formBoxItemClass:void 0})}},75187(e,t,i){"use strict";i.d(t,{u:()=>a});var n=i(8756),r=i(60648);function a(e,t={}){let i=(0,r.c)();(0,n.wB)(e,()=>{(0,n.BA)(t.disabled)||((0,n.BA)(e)?i.pause():i.unpause())}),(0,n.hi)(()=>{i.unpause()})}},30064(e,t,i){"use strict";i.d(t,{A:()=>k});var n=i(8756),r=i(69106),a=i(26308),s=i(34163),o=i(60520),l=i(19647),u=i(35032),d=i(52697);(0,r.r)(r.l);let c={name:"NcActionInput",components:{NcDateTimePickerNative:o.N,NcPasswordField:l.N,NcTextField:u._,NcColorPicker:(0,n.$V)(()=>Promise.all([i.e("defaultVendors-node_modules_nextcloud_vue_dist_components_NcColorPicker_index_mjs"),i.e("node_modules_nextcloud_vue_dist_assets_NcColorPicker-CCanY5eB_css")]).then(i.bind(i,71415))),NcDateTimePicker:(0,n.$V)(()=>i.e("defaultVendors-node_modules_nextcloud_vue_dist_components_NcDateTimePicker_index_mjs").then(i.bind(i,1349))),NcSelect:(0,n.$V)(()=>Promise.resolve().then(i.bind(i,3710)))},mixins:[a.A],inheritAttrs:!1,props:{id:{type:String,default:()=>"action-"+(0,s.c)(),validator:e=>""!==e.trim()},inputId:{type:String,default:()=>"action-input-"+(0,s.c)(),validator:e=>""!==e.trim()},icon:{type:String,default:""},type:{type:String,default:"text",validator:e=>["date","datetime-local","month","multiselect","number","password","search","tel","text","time","url","week","color","email"].includes(e)},idNativeDateTimePicker:{type:String,default:"date-time-picker_id"},isNativePicker:{type:Boolean,default:!1},label:{type:String,default:null},labelOutside:{type:Boolean,default:!0},modelValue:{type:[String,Date,Number,Array],default:""},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:""},showTrailingButton:{type:Boolean,default:!0},trailingButtonLabel:{type:String,default:(0,r.a)("Submit")},class:{type:[String,Array,Object],default:""}},emits:["submit","update:modelValue"],computed:{isIconUrl(){try{return new URL(this.icon)}catch{return!1}},isMultiselectType(){return"multiselect"===this.type},nativeDatePickerType(){switch(this.type){case"date":case"month":case"time":case"week":case"datetime-local":return this.type}return!1},datePickerType(){if(!this.isNativePicker)switch(this.type){case"date":case"month":case"time":return this.type;case"datetime-local":return"datetime"}return!1},isFocusable(){return!this.disabled}},methods:{onLeave(){this.$refs.datetimepicker&&this.$refs.datetimepicker.$refs.datepicker&&this.$refs.datetimepicker.$refs.datepicker.closePopup()},onSubmit(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return!1;this.$emit("submit",e)},onUpdateModelValue(e){this.$emit("update:modelValue",e)}}},h={class:"action-input__icon-wrapper"},f=["disabled"],m={class:"action-input__container"},g=["for"],p={class:"action-input__input-container"},_={key:4,class:"action-input__container"},b=["for"],y={class:"action-input__input-container"};function F(e,t,i,r,a,s){let o=(0,n.g2)("NcDateTimePicker"),l=(0,n.g2)("NcDateTimePickerNative"),u=(0,n.g2)("NcSelect"),d=(0,n.g2)("NcPasswordField"),c=(0,n.g2)("NcColorPicker"),F=(0,n.g2)("NcTextField");return(0,n.uX)(),(0,n.CE)("li",{class:(0,n.C4)(["action",[{"action--disabled":i.disabled},e.$props.class]])},[(0,n.Lk)("span",{class:(0,n.C4)(["action-input",{"action-input-picker--disabled":i.disabled,"action-input--visible-label":i.labelOutside&&i.label}]),onMouseleave:t[3]||(t[3]=(...e)=>s.onLeave&&s.onLeave(...e))},[(0,n.Lk)("span",h,[(0,n.RG)(e.$slots,"icon",{},()=>[(0,n.Lk)("span",{"aria-hidden":"true",class:(0,n.C4)(["action-input__icon",[s.isIconUrl?"action-input__icon--url":i.icon]]),style:(0,n.Tr)({backgroundImage:s.isIconUrl?`url(${i.icon})`:null})},null,6)],!0)]),(0,n.Lk)("form",{ref:"form",class:"action-input__form",disabled:i.disabled,onSubmit:t[2]||(t[2]=(0,n.D$)((...e)=>s.onSubmit&&s.onSubmit(...e),["prevent"]))},[(0,n.Lk)("div",m,[i.label&&i.labelOutside&&!i.isNativePicker?((0,n.uX)(),(0,n.CE)("label",{key:0,class:(0,n.C4)(["action-input__text-label",{"action-input__text-label--hidden":!i.labelOutside}]),for:i.inputId},(0,n.v_)(i.label),11,g)):(0,n.Q3)("",!0),(0,n.Lk)("div",p,[s.datePickerType?((0,n.uX)(),(0,n.Wv)(o,(0,n.v6)({key:0,ref:"datetimepicker",modelValue:i.modelValue,style:{"z-index":"99999999999"},placeholder:e.text,disabled:i.disabled,type:s.datePickerType,inputClass:["mx-input",{focusable:s.isFocusable}],class:"action-input__datetimepicker",appendToBody:""},e.$attrs,{"onUpdate:modelValue":s.onUpdateModelValue}),null,16,["modelValue","placeholder","disabled","type","inputClass","onUpdate:modelValue"])):i.isNativePicker?((0,n.uX)(),(0,n.Wv)(l,(0,n.v6)({key:1,id:i.idNativeDateTimePicker,modelValue:i.modelValue,label:i.label,type:s.nativeDatePickerType,inputClass:{focusable:s.isFocusable},class:"action-input__datetimepicker"},e.$attrs,{"onUpdate:modelValue":s.onUpdateModelValue}),null,16,["id","modelValue","label","type","inputClass","onUpdate:modelValue"])):s.isMultiselectType?((0,n.uX)(),(0,n.Wv)(u,(0,n.v6)({key:2,modelValue:i.modelValue,placeholder:e.text,disabled:i.disabled,appendToBody:!1,inputClass:{focusable:s.isFocusable},class:"action-input__multi"},e.$attrs,{"onUpdate:modelValue":s.onUpdateModelValue}),null,16,["modelValue","placeholder","disabled","inputClass","onUpdate:modelValue"])):"password"===i.type?((0,n.uX)(),(0,n.Wv)(d,(0,n.v6)({key:3,id:i.inputId,modelValue:i.modelValue,label:i.label,labelOutside:!i.label||i.labelOutside,placeholder:e.text,disabled:i.disabled,inputClass:{focusable:s.isFocusable},showTrailingButton:i.showTrailingButton&&!i.disabled},e.$attrs,{"onUpdate:modelValue":s.onUpdateModelValue}),null,16,["id","modelValue","label","labelOutside","placeholder","disabled","inputClass","showTrailingButton","onUpdate:modelValue"])):"color"===i.type?((0,n.uX)(),(0,n.CE)("div",_,[i.label&&"color"===i.type?((0,n.uX)(),(0,n.CE)("label",{key:0,class:(0,n.C4)(["action-input__text-label",{"action-input__text-label--hidden":!i.labelOutside}]),for:i.inputId},(0,n.v_)(i.label),11,b)):(0,n.Q3)("",!0),(0,n.Lk)("div",y,[(0,n.bF)(c,(0,n.v6)({id:"inputId",modelValue:i.modelValue,class:"colorpicker__trigger"},e.$attrs,{"onUpdate:modelValue":s.onUpdateModelValue,onSubmit:t[0]||(t[0]=t=>e.$refs.form.requestSubmit())}),{default:(0,n.k6)(()=>[(0,n.Lk)("button",{class:(0,n.C4)(["colorpicker__preview",{focusable:s.isFocusable}]),style:(0,n.Tr)({"background-color":i.modelValue})},null,6)]),_:1},16,["modelValue","onUpdate:modelValue"])])])):((0,n.uX)(),(0,n.Wv)(F,(0,n.v6)({key:5,id:i.inputId,modelValue:i.modelValue,label:i.label,labelOutside:!i.label||i.labelOutside,placeholder:e.text,disabled:i.disabled,inputClass:{focusable:s.isFocusable},type:i.type,trailingButtonIcon:"arrowRight",trailingButtonLabel:i.trailingButtonLabel,showTrailingButton:i.showTrailingButton&&!i.disabled},e.$attrs,{onTrailingButtonClick:t[1]||(t[1]=t=>e.$refs.form.requestSubmit()),"onUpdate:modelValue":s.onUpdateModelValue}),null,16,["id","modelValue","label","labelOutside","placeholder","disabled","inputClass","type","trailingButtonLabel","showTrailingButton","onUpdate:modelValue"]))])])],40,f)],34)],2)}let k=(0,d._)(c,[["render",F],["__scopeId","data-v-3a83acfa"]])},15797(e,t,i){"use strict";i.d(t,{A:()=>n.N});var n=i(55357)},15446(e,t,i){"use strict";i.d(t,{A:()=>n.N});var n=i(56575)},86296(e,t,i){"use strict";i.d(t,{A:()=>n.N});var n=i(82014)},25241(e,t,i){"use strict";i.d(t,{A:()=>s});var n=i(8756),r=i(53340);let a=["data-timestamp","title","textContent"],s=(0,n.pM)({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){let t=e,i=(0,n.EW)(()=>({format:t.format})),s=(0,n.EW)(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:!1!==t.relativeTime})),o=(0,r.a)((0,n.lW)(()=>t.timestamp),i),l=(0,r.S)((0,n.lW)(()=>t.timestamp),s),u=(0,n.EW)(()=>t.relativeTime?l.value:o.value);return(e,t)=>((0,n.uX)(),(0,n.CE)("span",{class:"nc-datetime",dir:"auto","data-timestamp":e.timestamp,title:(0,n.R1)(o),textContent:(0,n.v_)(u.value)},null,8,a))}})},94434(e,t,i){"use strict";i.d(t,{A:()=>n.N});var n=i(2136)},59904(e,t,i){"use strict";i.d(t,{A:()=>n.N});var n=i(30854)},82510(e,t,i){"use strict";i.d(t,{A:()=>n.N});var n=i(47031)},53094(e,t,i){"use strict";i.d(t,{A:()=>h});var n=i(8756),r=i(98190),a=i(97172),s=i(47031),o=i(52697);let l=["role"],u={key:0,class:"notecard__heading"},d={class:"notecard__text"},c=(0,n.pM)({__name:"NcNoteCard",props:{heading:{default:void 0},showAlert:{type:Boolean},text:{default:void 0},type:{default:"warning"}},setup(e){let t=e,i=(0,n.EW)(()=>t.showAlert||"error"===t.type),o=(0,n.EW)(()=>{switch(t.type){case"error":return r.o;case"success":return r.n;case"info":return r.l;default:return r.k}});return(e,t)=>((0,n.uX)(),(0,n.CE)("div",{class:(0,n.C4)(["notecard",{[`notecard--${e.type}`]:e.type,"notecard--legacy":(0,n.R1)(a.i)}]),role:i.value?"alert":"note"},[(0,n.RG)(e.$slots,"icon",{},()=>[(0,n.bF)((0,n.R1)(s.N),{path:o.value,class:(0,n.C4)(["notecard__icon",{"notecard__icon--heading":e.heading}]),inline:""},null,8,["path","class"])],!0),(0,n.Lk)("div",null,[e.heading?((0,n.uX)(),(0,n.CE)("p",u,(0,n.v_)(e.heading),1)):(0,n.Q3)("",!0),(0,n.RG)(e.$slots,"default",{},()=>[(0,n.Lk)("p",d,(0,n.v_)(e.text),1)],!0)])],10,l))}}),h=(0,o._)(c,[["__scopeId","data-v-7e4656f9"]])},3710(e,t,i){"use strict";i.r(t),i.d(t,{default:()=>n.N});var n=i(18421)},79455(e,t,i){"use strict";i.d(t,{A:()=>n._});var n=i(35032)},53340(e,t,i){"use strict";i.d(t,{S:()=>o,a:()=>l});var n=i(53334),r=i(8756),a=i(69106);(0,a.r)(a.d);let s={long:(0,a.a)("a few seconds ago"),short:(0,a.a)("seconds ago"),narrow:(0,a.a)("sec. ago")};function o(e=Date.now(),t={}){let i,a=(0,r.EW)(()=>new Date((0,r.BA)(e))),l=(0,r.EW)(()=>{let{language:e,relativeTime:i,ignoreSeconds:n}=(0,r.BA)(t);return{...e&&{language:e},...i&&{relativeTime:i},ignoreSeconds:!!n&&s[i||"long"]}}),u=(0,r.KR)("");function d(){if(u.value=(0,n.fw)(a.value,l.value),!1!==(0,r.BA)(t).update){let t=Math.abs(Date.now()-new Date((0,r.BA)(e)).getTime()),n=t>12e4||l.value.ignoreSeconds?Math.min(t/60,18e5):1e3;i=window.setTimeout(d,n)}}return(0,r.nT)(()=>d()),(0,r.hi)(()=>i&&window.clearTimeout(i)),(0,r.tB)(u)}function l(e,t){let i=(0,r.EW)(()=>({locale:(0,n.lO)(),format:{dateStyle:"short",timeStyle:"medium"},...(0,r.BA)(t)})),a=(0,r.EW)(()=>new Intl.DateTimeFormat(i.value.locale,i.value.format));return(0,r.EW)(()=>a.value.format((0,r.BA)(e)))}},68732(e,t,i){"use strict";i.d(t,{C:()=>d});var n=i(83868),r=i(42413);let a=window.OCP?.Accessibility?.disableKeyboardShortcuts?.(),s=/^[a-zA-Z0-9]$/,o=/^[^\x20-\x7F]$/;function l(e,t){return!!(!(e.target instanceof HTMLElement)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement)||!!e.target.isContentEditable||!t.allowInModal&&Array.from(document.getElementsByClassName("modal-mask")).filter(e=>e.checkVisibility()).length>0}function u(e,t){return i=>{let n=r.i?i.metaKey:i.ctrlKey;if(!!t.ctrl===n){if(!!t.alt===i.altKey){if(void 0!==t.shift&&!!t.shift!==i.shiftKey)return;if(l(i,t))return;t.prevent&&i.preventDefault(),t.stop&&i.stopPropagation(),e(i)}}}}function d(e,t=()=>{},i={}){if(a)return()=>{};let r=(e,t)=>{if(e.key===t)return!0;if(i.caseSensitive&&t===t.toLowerCase()!=(e.key===e.key.toLowerCase()))return!1;return s.test(t)&&o.test(e.key)?e.code.replace(/^(?:Key|Digit|Numpad)/,"")===t.toUpperCase():e.key.toLowerCase()===t.toLowerCase()},l=t=>"function"==typeof e?e(t):"string"==typeof e?r(t,e):!Array.isArray(e)||e.some(e=>r(t,e)),c=(0,n.Ta5)(l,u(t,i),{eventName:"keydown",dedupe:!0,passive:!i.prevent}),h=i.push?(0,n.Ta5)(l,u(t,i),{eventName:"keyup",passive:!i.prevent}):()=>{};return()=>{c(),h()}}},27359(e,t,i){"use strict";i.d(t,{b:()=>d});var n=i(83868),r=i(6106),a=i(8756),s=i(37169),o=i(35808);function l(e){let t=(0,a.EW)(()=>(0,a.BA)(e)??document.body),i=(0,a.KR)((0,s.H)(t.value)),r=(0,n.Nk8)();function o(){i.value=(0,s.H)(t.value)}return(0,n.P1n)(t,o,{attributes:!0}),(0,a.wB)(t,o),(0,a.wB)(r,o,{immediate:!0}),(0,a.tB)(i)}let u=(0,r.F)(()=>l());function d(){let e=u(),t=(0,a.WQ)(o.I,void 0);return(0,a.EW)(()=>t?.value?"dark"===t.value:e.value)}},49765(e,t,i){"use strict";let n=(0,i(8756).KR)(r());function r(){return window.outerHeight===window.screen.height}window.addEventListener("resize",()=>{n.value=r()})},37396(e,t,i){"use strict";i.d(t,{F:()=>d,al:()=>u});var n=i(8756);let r=1024,a=512,s=e=>document.documentElement.clientWidth{o.value=s(r),l.value=s(a)},{passive:!0})},30212(e,t,i){"use strict";i.d(t,{S:()=>r});var n=i(8756);function r(e,t={},i={}){let{container:a}=i;"container"in t&&"string"==typeof t.container&&(a??=t.container);let s=("string"==typeof a&&document.querySelector(a)||document.body).appendChild(document.createElement("div"));return new Promise((i,r)=>{let a=(0,n.Ef)(e,{...t,container:null,onClose(...e){let t=e.length>1?e:e[0];a.unmount(),s.remove(),i(t)},"onVue:unmounted":()=>{a.unmount(),s.remove(),r(Error("Dialog was unmounted without close event"))}});a.mount(s)})}},37169(e,t,i){"use strict";function n(e=document.body){let t=window.getComputedStyle(e).getPropertyValue("--background-invert-if-dark");return void 0!==t&&"invert(100%)"===t}i.d(t,{H:()=>n}),n()},83868(e,t,i){"use strict";i.d(t,{BLq:()=>q,K$F:()=>ei,Lhy:()=>z,Nk8:()=>S,P1n:()=>m,Ta5:()=>_,X2F:()=>c,cBR:()=>Z,niW:()=>eh,o__:()=>en,wYm:()=>O});var n=i(6106),r=i(8756);let a=n.oc?window:void 0,s=n.oc?window.document:void 0,o=n.oc?window.navigator:void 0;function l(e){var t;let i=(0,r.BA)(e);return null!=(t=null==i?void 0:i.$el)?t:i}function u(...e){let t=(e,t,i,n)=>(e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)),i=(0,r.EW)(()=>{let t=(0,n.$r)((0,r.BA)(e[0])).filter(e=>null!=e);return t.every(e=>"string"!=typeof e)?t:void 0});return(0,n.T3)(()=>{var t,s;return[null!=(t=null==(s=i.value)?void 0:s.map(e=>l(e)))?t:[a].filter(e=>null!=e),(0,n.$r)((0,r.BA)(i.value?e[1]:e[0])),(0,n.$r)((0,r.R1)(i.value?e[2]:e[1])),(0,r.BA)(i.value?e[3]:e[2])]},([e,i,r,a],s,o)=>{if(!(null==e?void 0:e.length)||!(null==i?void 0:i.length)||!(null==r?void 0:r.length))return;let l=(0,n.Gv)(a)?{...a}:a,u=e.flatMap(e=>i.flatMap(i=>r.map(n=>t(e,i,n,l))));o(()=>{u.forEach(e=>e())})},{flush:"post"})}n.oc&&window.location;let d=!1;function c(e,t,i={}){let{window:s=a,ignore:o=[],capture:h=!0,detectIframe:f=!1,controls:m=!1}=i;if(!s)return m?{stop:n.lQ,cancel:n.lQ,trigger:n.lQ}:n.lQ;if(n.un&&!d){d=!0;let e={passive:!0};Array.from(s.document.body.children).forEach(t=>t.addEventListener("click",n.lQ,e)),s.document.documentElement.addEventListener("click",n.lQ,e)}let g=!0,p=e=>(0,r.BA)(o).some(t=>{if("string"==typeof t)return Array.from(s.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let i=l(t);return i&&(e.target===i||e.composedPath().includes(i))}});function _(e){let t=(0,r.BA)(e);return t&&16===t.$.subTree.shapeFlag}function b(e,t){let i=(0,r.BA)(e),n=i.$.subTree&&i.$.subTree.children;return null!=n&&!!Array.isArray(n)&&n.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let y=i=>{let n=l(e);if(!(null==i.target||!(n instanceof Element)&&_(e)&&b(e,i))&&!(!n||n===i.target||i.composedPath().includes(n))){if("detail"in i&&0===i.detail&&(g=!p(i)),!g){g=!0;return}t(i)}},F=!1,k=[u(s,"click",e=>{F||(F=!0,setTimeout(()=>{F=!1},0),y(e))},{passive:!0,capture:h}),u(s,"pointerdown",t=>{let i=l(e);g=!p(t)&&!!(i&&!t.composedPath().includes(i))},{passive:!0}),f&&u(s,"blur",i=>{setTimeout(()=>{var n;let r=l(e);(null==(n=s.document.activeElement)?void 0:n.tagName)!=="IFRAME"||(null==r?void 0:r.contains(s.document.activeElement))||t(i)},0)},{passive:!0})].filter(Boolean),w=()=>k.forEach(e=>e());return m?{stop:w,cancel:()=>{g=!1},trigger:e=>{g=!0,y(e),g=!1}}:w}function h(){let e=(0,r.IJ)(!1),t=(0,r.nI)();return t&&(0,r.sV)(()=>{e.value=!0},t),e}function f(e){let t=h();return(0,r.EW)(()=>(t.value,!!e()))}function m(e,t,i={}){let s,{window:o=a,...u}=i,d=f(()=>o&&"MutationObserver"in o),c=()=>{s&&(s.disconnect(),s=void 0)},h=(0,r.wB)((0,r.EW)(()=>new Set((0,n.$r)((0,r.BA)(e)).map(l).filter(n.d6))),e=>{c(),d.value&&e.size&&(s=new MutationObserver(t),e.forEach(e=>s.observe(e,u)))},{immediate:!0,flush:"post"}),g=()=>null==s?void 0:s.takeRecords(),p=()=>{h(),c()};return(0,n.Uo)(p),{isSupported:d,stop:p,takeRecords:g}}function g(e,t,i={}){let n,{window:r=a,document:s=null==r?void 0:r.document,flush:o="sync"}=i;if(!r||!s)return noop;let u=e=>{null==n||n(),n=e},d=watchEffect(()=>{let i=l(e);if(i){let{stop:e}=m(s,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===i||e.contains(i))&&t(e)},{window:r,childList:!0,subtree:!0});u(e)}},{flush:o}),c=()=>{d(),u()};return tryOnScopeDispose(c),c}function p(e){return"function"==typeof e?e:"string"==typeof e?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function _(...e){let t,i,n={};3===e.length?(t=e[0],i=e[1],n=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,i=e[0],n=e[1]):(t=e[0],i=e[1]):(t=!0,i=e[0]);let{target:s=a,eventName:o="keydown",passive:l=!1,dedupe:d=!1}=n,c=p(t);return u(s,o,e=>{!(e.repeat&&(0,r.BA)(d))&&c(e)&&i(e)},l)}function b(e,t={}){let{immediate:i=!0,fpsLimit:s,window:o=a,once:l=!1}=t,u=(0,r.IJ)(!1),d=(0,r.EW)(()=>s?1e3/(0,r.BA)(s):null),c=0,h=null;function f(t){if(!u.value||!o)return;c||(c=t);let i=t-c;if(d.value&&ii&&"matchMedia"in i&&"function"==typeof i.matchMedia),l=(0,r.IJ)("number"==typeof s),d=(0,r.IJ)(),c=(0,r.IJ)(!1),h=e=>{c.value=e.matches};return(0,r.nT)(()=>{if(l.value){l.value=!o.value,c.value=(0,r.BA)(e).split(",").some(e=>{let t=e.includes("not all"),i=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(i||r);return i&&a&&(a=s>=(0,n.MK)(i[1])),r&&a&&(a=s<=(0,n.MK)(r[1])),t?!a:a});return}o.value&&(d.value=i.matchMedia((0,r.BA)(e)),c.value=d.value.matches)}),u(d,"change",h,{passive:!0}),(0,r.EW)(()=>c.value)}function C(e){return JSON.parse(JSON.stringify(e))}"u">typeof globalThis||("u">typeof window?window:"u">typeof global?global:"u">typeof self&&self);let A=null;function E(e,t){return A[e]||t}function S(e){return w("(prefers-color-scheme: dark)",e)}function x(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}let D=null,T="vueuse-storage";function M(e,t,i,n={}){var r;let{flush:s="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:d=!0,mergeDefaults:c=!1,shallow:h,window:f=a,eventFilter:m,onError:g=e=>{console.error(e)},initOnMounted:p}=n,_=(h?shallowRef:ref)("function"==typeof t?t():t),b=computed(()=>toValue(e));if(!i)try{i=E("getDefaultStorage",()=>null==a?void 0:a.localStorage)()}catch(e){g(e)}if(!i)return _;let y=toValue(t),F=x(y),k=null!=(r=n.serializer)?r:D[F],{pause:w,resume:C}=watchPausable(_,e=>P(e),{flush:s,deep:o,eventFilter:m});watch(b,()=>R(),{flush:s});let A=!1,S=e=>{(!p||A)&&R(e)},I=e=>{(!p||A)&&j(e)};function B(e,t){if(f){let n={key:b.value,oldValue:e,newValue:t,storageArea:i};f.dispatchEvent(i instanceof Storage?new StorageEvent("storage",n):new CustomEvent(T,{detail:n}))}}function P(e){try{let t=i.getItem(b.value);if(null==e)B(t,null),i.removeItem(b.value);else{let n=k.write(e);t!==n&&(i.setItem(b.value,n),B(t,n))}}catch(e){g(e)}}function N(e){let t=e?e.newValue:i.getItem(b.value);if(null==t)return d&&null!=y&&i.setItem(b.value,k.write(y)),y;if(!e&&c){let e=k.read(t);return"function"==typeof c?c(e,y):"object"!==F||Array.isArray(e)?e:{...y,...e}}return"string"!=typeof t?t:k.read(t)}function R(e){if(!e||e.storageArea===i){if(e&&null==e.key){_.value=y;return}if(!e||e.key===b.value){w();try{let t=k.write(_.value);(void 0===e||(null==e?void 0:e.newValue)!==t)&&(_.value=N(e))}catch(e){g(e)}finally{e?nextTick(C):C()}}}}function j(e){R(e.detail)}return f&&l&&(i instanceof Storage?u(f,"storage",S,{passive:!0}):u(f,T,I)),p?tryOnMounted(()=>{A=!0,R()}):R(),_}let I="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function B(e){return e}function P(e,t){return e.value=t}function N(e){return e?"function"==typeof e?e:C:B}function R(e){return e?"function"==typeof e?e:C:B}function j(e,t={}){let{clone:i=!1,dump:n=N(i),parse:r=R(i),setSource:a=P}=t;function s(){return markRaw({snapshot:n(e.value),timestamp:timestamp()})}let o=ref(s()),l=ref([]),u=ref([]),d=t=>{a(e,r(t.snapshot)),o.value=t},c=()=>{l.value.unshift(o.value),o.value=s(),t.capacity&&l.value.length>t.capacity&&l.value.splice(t.capacity,1/0),u.value.length&&u.value.splice(0,u.value.length)},h=()=>{l.value.splice(0,l.value.length),u.value.splice(0,u.value.length)},f=()=>{let e=l.value.shift();e&&(u.value.unshift(o.value),d(e))},m=()=>{let e=u.value.shift();e&&(l.value.unshift(o.value),d(e))},g=()=>{d(o.value)};return{source:e,undoStack:l,redoStack:u,last:o,history:computed(()=>[o.value,...l.value]),canUndo:computed(()=>l.value.length>0),canRedo:computed(()=>u.value.length>0),clear:h,commit:c,reset:g,undo:f,redo:m}}function O(e,t,i={}){let s,{window:o=a,...u}=i,d=f(()=>o&&"ResizeObserver"in o),c=()=>{s&&(s.disconnect(),s=void 0)},h=(0,r.wB)((0,r.EW)(()=>{let t=(0,r.BA)(e);return Array.isArray(t)?t.map(e=>l(e)):[l(t)]}),e=>{if(c(),d.value&&o)for(let i of(s=new ResizeObserver(t),e))i&&s.observe(i,u)},{immediate:!0,flush:"post"}),m=()=>{c(),h()};return(0,n.Uo)(m),{isSupported:d,stop:m}}function z(e,t={width:0,height:0},i={}){let{window:s=a,box:o="content-box"}=i,u=(0,r.EW)(()=>{var t;return null==(t=l(e))||null==(t=t.namespaceURI)?void 0:t.includes("svg")}),d=(0,r.IJ)(t.width),c=(0,r.IJ)(t.height),{stop:h}=O(e,([t])=>{let i="border-box"===o?t.borderBoxSize:"content-box"===o?t.contentBoxSize:t.devicePixelContentBoxSize;if(s&&u.value){let t=l(e);if(t){let e=t.getBoundingClientRect();d.value=e.width,c.value=e.height}}else if(i){let e=(0,n.$r)(i);d.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else d.value=t.contentRect.width,c.value=t.contentRect.height},i);(0,n.rd)(()=>{let i=l(e);i&&(d.value="offsetWidth"in i?i.offsetWidth:t.width,c.value="offsetHeight"in i?i.offsetHeight:t.height)});let f=(0,r.wB)(()=>l(e),e=>{d.value=e?t.width:0,c.value=e?t.height:0});return{width:d,height:c,stop:function(){h(),f()}}}function q(e,t,i={}){let{root:s,rootMargin:o,threshold:u=0,window:d=a,immediate:c=!0}=i,h=f(()=>d&&"IntersectionObserver"in d),m=(0,r.EW)(()=>(0,n.$r)((0,r.BA)(e)).map(l).filter(n.d6)),g=n.lQ,p=(0,r.IJ)(c),_=h.value?(0,r.wB)(()=>[m.value,l(s),(0,r.BA)(o),p.value],([e,i,r])=>{if(g(),!p.value||!e.length)return;let a=new IntersectionObserver(t,{root:l(i),rootMargin:r,threshold:u});e.forEach(e=>e&&a.observe(e)),g=()=>{a.disconnect(),g=n.lQ}},{immediate:c,flush:"post"}):n.lQ,b=()=>{g(),_(),p.value=!1};return(0,n.Uo)(b),{isSupported:h,isActive:p,pause(){g(),p.value=!1},resume(){p.value=!0},stop:b}}let W=null;function V(e){return e&&containsProp(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}let H=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function $(e){return"u">typeof Headers&&e instanceof Headers?Object.fromEntries(e.entries()):e}function G(e){return"u">typeof Window&&e instanceof Window?e.document.documentElement:"u">typeof Document&&e instanceof Document?e.documentElement:e}let X=1,K=null;function Y(e={}){let{type:t="page",touch:i=!0,resetOnTouchEnds:n=!1,initialValue:r={x:0,y:0},window:s=a,target:o=s,scroll:l=!0,eventFilter:d}=e,c=null,h=0,f=0,m=shallowRef(r.x),g=shallowRef(r.y),p=shallowRef(null),_="function"==typeof t?t:K[t],b=e=>{let t=_(e);c=e,t&&([m.value,g.value]=t,p.value="mouse"),s&&(h=s.scrollX,f=s.scrollY)},y=e=>{if(e.touches.length>0){let t=_(e.touches[0]);t&&([m.value,g.value]=t,p.value="touch")}},F=()=>{if(!c||!s)return;let e=_(c);c instanceof MouseEvent&&e&&(m.value=e[0]+s.scrollX-h,g.value=e[1]+s.scrollY-f)},k=()=>{m.value=r.x,g.value=r.y},w=d?e=>d(()=>b(e),{}):e=>b(e),C=d?e=>d(()=>y(e),{}):e=>y(e),A=d?()=>d(()=>F(),{}):()=>F();if(o){let e={passive:!0};u(o,["mousemove","dragover"],w,e),i&&"movement"!==t&&(u(o,["touchstart","touchmove"],C,e),n&&u(o,"touchend",k,e)),l&&"page"===t&&u(s,"scroll",A,e)}return{x:m,y:g,sourceType:p}}function Q(e){if("interval"in e||"immediate"in e){let{interval:t="requestAnimationFrame",immediate:i=!0}=e;return"requestAnimationFrame"===t?e=>b(e,{immediate:i}):i=>(0,n.Rg)(i,t,e)}return b}function Z(e={}){let{controls:t=!1,scheduler:i=Q(e)}=e,n=(0,r.KR)(new Date),a=i(()=>n.value=new Date);return t?{now:n,...a}:n}function J(e){let t=window.getComputedStyle(e);if("scroll"===t.overflowX||"scroll"===t.overflowY||"auto"===t.overflowX&&e.clientWidth1||(t.preventDefault&&t.preventDefault(),!1))}let et=new WeakMap;function ei(e,t=!1){let i=(0,r.IJ)(t),a=null,s="";(0,r.wB)((0,n.lW)(e),e=>{let t=G((0,r.BA)(e));if(t){let e=t;if(et.get(e)||et.set(e,e.style.overflow),"hidden"!==e.style.overflow&&(s=e.style.overflow),"hidden"===e.style.overflow)return i.value=!0;if(i.value)return e.style.overflow="hidden"}},{immediate:!0});let o=()=>{let t=G((0,r.BA)(e));t&&!i.value&&(n.un&&(a=u(t,"touchmove",e=>{ee(e)},{passive:!1})),t.style.overflow="hidden",i.value=!0)},l=()=>{let t=G((0,r.BA)(e));t&&i.value&&(n.un&&(null==a||a()),t.style.overflow=s,et.delete(t),i.value=!1)};return(0,n.Uo)(l),(0,r.EW)({get:()=>i.value,set(e){e?o():l()}})}function en(e,t={}){let{threshold:i=50,onSwipe:n,onSwipeEnd:a,onSwipeStart:s,passive:o=!0}=t,l=(0,r.Kh)({x:0,y:0}),d=(0,r.Kh)({x:0,y:0}),c=(0,r.EW)(()=>l.x-d.x),h=(0,r.EW)(()=>l.y-d.y),{max:f,abs:m}=Math,g=(0,r.EW)(()=>f(m(c.value),m(h.value))>=i),p=(0,r.IJ)(!1),_=(0,r.EW)(()=>g.value?m(c.value)>m(h.value)?c.value>0?"left":"right":h.value>0?"up":"down":"none"),b=e=>[e.touches[0].clientX,e.touches[0].clientY],y=(e,t)=>{l.x=e,l.y=t},F=(e,t)=>{d.x=e,d.y=t},k={passive:o,capture:!o},w=e=>{p.value&&(null==a||a(e,_.value)),p.value=!1},C=[u(e,"touchstart",e=>{if(1!==e.touches.length)return;let[t,i]=b(e);y(t,i),F(t,i),null==s||s(e)},k),u(e,"touchmove",e=>{if(1!==e.touches.length)return;let[t,i]=b(e);F(t,i),k.capture&&!k.passive&&Math.abs(c.value)>Math.abs(h.value)&&e.preventDefault(),!p.value&&g.value&&(p.value=!0),p.value&&(null==n||n(e))},k),u(e,["touchend","touchcancel"],w,k)];return{isSwiping:p,direction:_,coordsStart:l,coordsEnd:d,lengthX:c,lengthY:h,stop:()=>C.forEach(e=>e())}}let er=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],ea=null;function es(e){return e.toISOString().slice(0,10)}let eo=null;function el([e,t,i,n]){let r=(e,t)=>1-3*t+3*e,a=(e,t)=>3*t-6*e,s=e=>3*e,o=(e,t,i)=>((r(t,i)*e+a(t,i))*e+s(t))*e,l=(e,t,i)=>3*r(t,i)*e*e+2*a(t,i)*e+s(t),u=t=>{let n=t;for(let r=0;r<4;++r){let r=l(n,e,i);if(0===r)break;let a=o(n,e,i)-t;n-=a/r}return n};return r=>e===t&&i===n?r:o(u(r),t,n)}function eu(e,t,i){return e+i*(t-e)}function ed(e,t,i){let n=toValue(e),r=toValue(t);if("number"==typeof n&&"number"==typeof r)return eu(n,r,i);if(Array.isArray(n)&&Array.isArray(r))return n.map((e,t)=>eu(e,toValue(r[t]),i));throw TypeError("Unknown transition type, specify an interpolation function.")}function ec(e){var t;return"function"==typeof e?e:null!=(t=toValue(e))?t:identity}function eh(e,t){let{containerStyle:i,wrapperProps:n,scrollTo:r,calculateRange:a,currentList:s,containerRef:o}="itemHeight"in t?ew(t,e):ek(t,e);return{list:s,scrollTo:r,containerProps:{ref:o,onScroll:()=>{a()},style:i},wrapperProps:n}}function ef(e){let t=(0,r.IJ)(null),i=z(t),n=(0,r.KR)([]),a=(0,r.IJ)(e);return{state:(0,r.KR)({start:0,end:10}),source:a,currentList:n,size:i,containerRef:t}}function em(e,t,i){return n=>{if("number"==typeof i)return Math.ceil(n/i);let{start:r=0}=e.value,a=0,s=0;for(let e=r;en));e++);return s-r}}function eg(e,t){return i=>{if("number"==typeof t)return Math.floor(i/t)+1;let n=0,r=0;for(let a=0;a=i){r=a;break}return r+1}}function ep(e,t,i,n,{containerRef:r,state:a,currentList:s,source:o}){return()=>{let l=r.value;if(l){let r=i("vertical"===e?l.scrollTop:l.scrollLeft),u=n("vertical"===e?l.clientHeight:l.clientWidth),d=r-t,c=r+u+t;a.value={start:d<0?0:d,end:c>o.value.length?o.value.length:c},s.value=o.value.slice(a.value.start,a.value.end).map((e,t)=>({data:e,index:t+a.value.start}))}}}function e_(e,t){return i=>"number"==typeof e?i*e:t.value.slice(0,i).reduce((t,i,n)=>t+e(n),0)}function ev(e,t,i,n){(0,r.wB)([e.width,e.height,()=>(0,r.BA)(t),i],()=>{n()})}function eb(e,t){return(0,r.EW)(()=>"number"==typeof e?t.value.length*e:t.value.reduce((t,i,n)=>t+e(n),0))}let ey={horizontal:"scrollLeft",vertical:"scrollTop"};function eF(e,t,i,n){return r=>{n.value&&(n.value[ey[e]]=i(r),t())}}function ek(e,t){let i=ef(t),{state:n,source:a,currentList:s,size:o,containerRef:l}=i,u={overflowX:"auto"},{itemWidth:d,overscan:c=5}=e,h=em(n,a,d),f=ep("horizontal",c,eg(a,d),h,i),m=e_(d,a),g=(0,r.EW)(()=>m(n.value.start)),p=eb(d,a);return ev(o,t,l,f),{scrollTo:eF("horizontal",f,m,l),calculateRange:f,wrapperProps:(0,r.EW)(()=>({style:{height:"100%",width:`${p.value-g.value}px`,marginLeft:`${g.value}px`,display:"flex"}})),containerStyle:u,currentList:s,containerRef:l}}function ew(e,t){let i=ef(t),{state:n,source:a,currentList:s,size:o,containerRef:l}=i,u={overflowY:"auto"},{itemHeight:d,overscan:c=5}=e,h=em(n,a,d),f=ep("vertical",c,eg(a,d),h,i),m=e_(d,a),g=(0,r.EW)(()=>m(n.value.start)),p=eb(d,a);return ev(o,t,l,f),{calculateRange:f,scrollTo:eF("vertical",f,m,l),containerStyle:u,wrapperProps:(0,r.EW)(()=>({style:{width:"100%",height:`${p.value-g.value}px`,marginTop:`${g.value}px`}})),currentList:s,containerRef:l}}},6106(e,t,i){"use strict";i.d(t,{$r:()=>C,F:()=>D,Gv:()=>d,HA:()=>s,MK:()=>w,Rg:()=>j,T3:()=>O,Uo:()=>r,d6:()=>l,lQ:()=>c,lW:()=>m,oc:()=>o,rd:()=>I,un:()=>h});var n=i(8756);function r(e,t){return!!(0,n.o5)()&&((0,n.jr)(e,t),!0)}let a=new WeakMap,s=(...e)=>{var t;let i=e[0],r=null==(t=(0,n.nI)())?void 0:t.proxy,s=null!=r?r:(0,n.o5)();if(null==s&&!(0,n.PS)())throw Error("injectLocal must be called in setup");return s&&a.has(s)&&i in a.get(s)?a.get(s)[i]:(0,n.WQ)(...e)},o="u">typeof window&&"u">typeof document,l=e=>null!=e,u=Object.prototype.toString,d=e=>"[object Object]"===u.call(e),c=()=>{},h=f();function f(){var e,t,i;return o&&!!(null==(e=window)||null==(e=e.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=window)||null==(t=t.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==(i=window)?void 0:i.navigator.userAgent))}function m(...e){if(1!==e.length)return(0,n.lW)(...e);let t=e[0];return"function"==typeof t?(0,n.tB)((0,n.rY)(()=>({get:t,set:c}))):(0,n.KR)(t)}function g(e,t){return function(...i){return new Promise((n,r)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(n).catch(r)})}}let p=e=>e();function _(e,t={}){let i,n,r,a=c,s=e=>{clearTimeout(e),a(),a=c};return o=>{let l=toValue(e),u=toValue(t.maxWait);return(i&&s(i),l<=0||void 0!==u&&u<=0)?(n&&(s(n),n=void 0),Promise.resolve(o())):new Promise((e,d)=>{a=t.rejectOnCancel?d:e,r=o,u&&!n&&(n=setTimeout(()=>{i&&s(i),n=void 0,e(r())},u)),i=setTimeout(()=>{n&&s(n),n=void 0,e(o())},l)})}}function b(...e){let t,i,n,r,a,s,o=0,l=!0,u=c;isRef(e[0])||"object"!=typeof e[0]?[n,r=!0,a=!0,s=!1]=e:{delay:n,trailing:r=!0,leading:a=!0,rejectOnCancel:s=!1}=e[0];let d=()=>{t&&(clearTimeout(t),t=void 0,u(),u=c)};return e=>{let c=toValue(n),h=Date.now()-o,f=()=>i=e();return(d(),c<=0)?(o=Date.now(),f()):(h>c?(o=Date.now(),(a||!l)&&f()):r&&(i=new Promise((e,i)=>{u=s?i:e,t=setTimeout(()=>{o=Date.now(),l=!0,e(f()),d()},Math.max(0,c-h))})),a||t||(t=setTimeout(()=>l=!0,c)),l=!1,i)}}function y(e=p,t={}){let{initialState:i="active"}=t,n=m("active"===i);function r(){n.value=!1}function a(){n.value=!0}let s=(...t)=>{n.value&&e(...t)};return{isActive:readonly(n),pause:r,resume:a,eventFilter:s}}function F(e,t=!1,i="Timeout"){return new Promise((n,r)=>{t?setTimeout(()=>r(i),e):setTimeout(n,e)})}function k(e,...t){return t.some(t=>t in e)}function w(e){return e.endsWith("rem")?16*Number.parseFloat(e):Number.parseFloat(e)}function C(e){return Array.isArray(e)?e:[e]}function A(e){let t=Object.create(null);return i=>t[i]||(t[i]=e(i))}let E=/\B([A-Z])/g;A(e=>e.replace(E,"-$1").toLowerCase());let S=/-(\w)/g;function x(e){return e||(0,n.nI)()}function D(e){let t,i;if(!o)return e;let a=0,s=()=>{a-=1,i&&a<=0&&(i.stop(),t=void 0,i=void 0)};return(...o)=>(a+=1,i||(t=(i=(0,n.uY)(!0)).run(()=>e(...o))),r(s),t)}A(e=>e.replace(S,(e,t)=>t?t.toUpperCase():""));function T(e){return isRef(e)?reactive(new Proxy({},{get:(t,i,n)=>unref(Reflect.get(e.value,i,n)),set:(t,i,n)=>(isRef(e.value[i])&&!isRef(n)?e.value[i].value=n:e.value[i]=n,!0),deleteProperty:(t,i)=>Reflect.deleteProperty(e.value,i),has:(t,i)=>Reflect.has(e.value,i),ownKeys:()=>Object.keys(e.value),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})):reactive(e)}function M(e,t,i={}){let{eventFilter:n=p,...r}=i;return watch(e,g(n,t),r)}function I(e,t=!0,i){x(i)?(0,n.sV)(e,i):t?e():(0,n.dY)(e)}let B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,P=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;function N(e,t,i,n){let r=e<12?"AM":"PM";return n&&(r=r.split("").reduce((e,t)=>e+=`${t}.`,"")),i?r.toLowerCase():r}function R(e){let t=["th","st","nd","rd"],i=e%100;return e+(t[(i-20)%10]||t[i]||t[0])}function j(e,t=1e3,i={}){let{immediate:a=!0,immediateCallback:s=!1}=i,l=null,u=(0,n.IJ)(!1);function d(){l&&(clearInterval(l),l=null)}function c(){u.value=!1,d()}function h(){let i=(0,n.BA)(t);!(i<=0)&&(u.value=!0,s&&e(),d(),u.value&&(l=setInterval(e,i)))}return a&&o&&h(),((0,n.i9)(t)||"function"==typeof t)&&r((0,n.wB)(t,()=>{u.value&&o&&h()})),r(c),{isActive:(0,n.nD)(u),pause:c,resume:h}}function O(e,t,i){return(0,n.wB)(e,t,{...i,immediate:!0})}},46855(e,t,i){"use strict";function n(e,t=100,i={}){let r,a,s,o,l;if("function"!=typeof e)throw TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw RangeError("`wait` must not be negative.");if("boolean"==typeof i)throw TypeError("The `options` parameter must be an object, not a boolean. Use `{immediate: true}` instead.");let{immediate:u}=i;function d(){let t=r,i=a;return r=void 0,a=void 0,l=e.apply(t,i)}function c(){let e=Date.now()-o;e=0?s=setTimeout(c,t-e):(s=void 0,u||(l=d()))}let h=function(...e){if(r&&this!==r&&Object.getPrototypeOf(this)===Object.getPrototypeOf(r))throw Error("Debounced method called with different contexts of the same prototype.");r=this,a=e,o=Date.now();let i=u&&!s;if(s||(s=setTimeout(c,t)),i)return l=d()};return Object.defineProperty(h,"isPending",{get:()=>void 0!==s}),h.clear=()=>{s&&(clearTimeout(s),s=void 0,r=void 0,a=void 0)},h.flush=()=>{s&&h.trigger()},h.trigger=()=>{l=d(),h.clear()},h}i.d(t,{A:()=>n})},97471(e,t,i){"use strict";function n(){}i.d(t,{ok:()=>n})},99418(e,t,i){"use strict";i.d(t,{A:()=>eh});let{entries:n,setPrototypeOf:r,isFrozen:a,getPrototypeOf:s,getOwnPropertyDescriptor:o}=Object,{freeze:l,seal:u,create:d}=Object,{apply:c,construct:h}="u">typeof Reflect&&Reflect;l||(l=function(e){return e}),u||(u=function(e){return e}),c||(c=function(e,t){for(var i=arguments.length,n=Array(i>2?i-2:0),r=2;r1?t-1:0),n=1;n1?i-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:b;r&&r(e,null);let n=t.length;for(;n--;){let r=t[n];if("string"==typeof r){let e=i(r);e!==r&&(a(t)||(t[n]=e),r=e)}e[r]=!0}return e}function M(e){for(let t=0;t/gm),K=u(/\$\{[\w\W]*/gm),Y=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),Q=u(/^aria-[\-\w]+$/),Z=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=u(/^(?:\w+script|data):/i),ee=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),et=u(/^html$/i);var ei=Object.freeze({__proto__:null,ARIA_ATTR:Q,ATTR_WHITESPACE:ee,CUSTOM_ELEMENT:u(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:Y,DOCTYPE_NAME:et,ERB_EXPR:X,IS_ALLOWED_URI:Z,IS_SCRIPT_OR_DATA:J,MUSTACHE_EXPR:G,TMPLIT_EXPR:K});let en=1,er=3,ea=7,es=8,eo=9,el=function(){return"u"e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}},ed=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ec(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:el(),i=e=>ec(e);if(i.version="3.3.1",i.removed=[],!t||!t.document||t.document.nodeType!==eo||!t.Element)return i.isSupported=!1,i;let{document:r}=t,a=r,s=a.currentScript,{DocumentFragment:o,HTMLTemplateElement:u,Node:c,Element:h,NodeFilter:x,NamedNodeMap:D=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:M,DOMParser:G,trustedTypes:X}=t,K=h.prototype,Y=B(K,"cloneNode"),Q=B(K,"remove"),J=B(K,"nextSibling"),ee=B(K,"childNodes"),eh=B(K,"parentNode");if("function"==typeof u){let e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ef="",{implementation:em,createNodeIterator:eg,createDocumentFragment:ep,getElementsByTagName:e_}=r,{importNode:ev}=a,eb=ed();i.isSupported="function"==typeof n&&"function"==typeof eh&&em&&void 0!==em.createHTMLDocument;let{MUSTACHE_EXPR:ey,ERB_EXPR:eF,TMPLIT_EXPR:ek,DATA_ATTR:ew,ARIA_ATTR:eC,IS_SCRIPT_OR_DATA:eA,ATTR_WHITESPACE:eE,CUSTOM_ELEMENT:eS}=ei,{IS_ALLOWED_URI:ex}=ei,eD=null,eT=T({},[...P,...N,...R,...O,...q]),eM=null,eI=T({},[...W,...V,...H,...$]),eB=Object.seal(d(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eP=null,eL=null,eN=Object.seal(d(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eR=!0,ej=!0,eO=!1,ez=!0,eU=!1,eq=!0,eW=!1,eV=!1,eH=!1,e$=!1,eG=!1,eX=!1,eK=!0,eY=!1,eQ="user-content-",eZ=!0,eJ=!1,e0={},e1=null,e2=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),e3=null,e4=T({},["audio","video","img","source","image","track"]),e6=null,e5=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),e8="http://www.w3.org/1998/Math/MathML",e9="http://www.w3.org/2000/svg",e7="http://www.w3.org/1999/xhtml",te=e7,tt=!1,ti=null,tn=T({},[e8,e9,e7],y),tr=T({},["mi","mo","mn","ms","mtext"]),ta=T({},["annotation-xml"]),ts=T({},["title","style","font","a","script"]),to=null,tl=["application/xhtml+xml","text/html"],tu="text/html",td=null,tc=null,th=r.createElement("form"),tf=function(e){return e instanceof RegExp||e instanceof Function},tm=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!tc||tc!==t){if(t&&"object"==typeof t||(t={}),t=I(t),to=-1===tl.indexOf(t.PARSER_MEDIA_TYPE)?tu:t.PARSER_MEDIA_TYPE,td="application/xhtml+xml"===to?y:b,eD=A(t,"ALLOWED_TAGS")?T({},t.ALLOWED_TAGS,td):eT,eM=A(t,"ALLOWED_ATTR")?T({},t.ALLOWED_ATTR,td):eI,ti=A(t,"ALLOWED_NAMESPACES")?T({},t.ALLOWED_NAMESPACES,y):tn,e6=A(t,"ADD_URI_SAFE_ATTR")?T(I(e5),t.ADD_URI_SAFE_ATTR,td):e5,e3=A(t,"ADD_DATA_URI_TAGS")?T(I(e4),t.ADD_DATA_URI_TAGS,td):e4,e1=A(t,"FORBID_CONTENTS")?T({},t.FORBID_CONTENTS,td):e2,eP=A(t,"FORBID_TAGS")?T({},t.FORBID_TAGS,td):I({}),eL=A(t,"FORBID_ATTR")?T({},t.FORBID_ATTR,td):I({}),e0=!!A(t,"USE_PROFILES")&&t.USE_PROFILES,eR=!1!==t.ALLOW_ARIA_ATTR,ej=!1!==t.ALLOW_DATA_ATTR,eO=t.ALLOW_UNKNOWN_PROTOCOLS||!1,ez=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,eU=t.SAFE_FOR_TEMPLATES||!1,eq=!1!==t.SAFE_FOR_XML,eW=t.WHOLE_DOCUMENT||!1,e$=t.RETURN_DOM||!1,eG=t.RETURN_DOM_FRAGMENT||!1,eX=t.RETURN_TRUSTED_TYPE||!1,eH=t.FORCE_BODY||!1,eK=!1!==t.SANITIZE_DOM,eY=t.SANITIZE_NAMED_PROPS||!1,eZ=!1!==t.KEEP_CONTENT,eJ=t.IN_PLACE||!1,ex=t.ALLOWED_URI_REGEXP||Z,te=t.NAMESPACE||e7,tr=t.MATHML_TEXT_INTEGRATION_POINTS||tr,ta=t.HTML_INTEGRATION_POINTS||ta,eB=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&tf(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eB.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&tf(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eB.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eB.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eU&&(ej=!1),eG&&(e$=!0),e0&&(eD=T({},q),eM=[],!0===e0.html&&(T(eD,P),T(eM,W)),!0===e0.svg&&(T(eD,N),T(eM,V),T(eM,$)),!0===e0.svgFilters&&(T(eD,R),T(eM,V),T(eM,$)),!0===e0.mathMl&&(T(eD,O),T(eM,H),T(eM,$))),t.ADD_TAGS&&("function"==typeof t.ADD_TAGS?eN.tagCheck=t.ADD_TAGS:(eD===eT&&(eD=I(eD)),T(eD,t.ADD_TAGS,td))),t.ADD_ATTR&&("function"==typeof t.ADD_ATTR?eN.attributeCheck=t.ADD_ATTR:(eM===eI&&(eM=I(eM)),T(eM,t.ADD_ATTR,td))),t.ADD_URI_SAFE_ATTR&&T(e6,t.ADD_URI_SAFE_ATTR,td),t.FORBID_CONTENTS&&(e1===e2&&(e1=I(e1)),T(e1,t.FORBID_CONTENTS,td)),t.ADD_FORBID_CONTENTS&&(e1===e2&&(e1=I(e1)),T(e1,t.ADD_FORBID_CONTENTS,td)),eZ&&(eD["#text"]=!0),eW&&T(eD,["html","head","body"]),eD.table&&(T(eD,["tbody"]),delete eP.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ef=(e=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===e&&(e=eu(X,s)),null!==e&&"string"==typeof ef&&(ef=e.createHTML(""));l&&l(t),tc=t}},tg=T({},[...N,...R,...j]),tp=T({},[...O,...z]),t_=function(e){let t=eh(e);t&&t.tagName||(t={namespaceURI:te,tagName:"template"});let i=b(e.tagName),n=b(t.tagName);return!!ti[e.namespaceURI]&&(e.namespaceURI===e9?t.namespaceURI===e7?"svg"===i:t.namespaceURI===e8?"svg"===i&&("annotation-xml"===n||tr[n]):!!tg[i]:e.namespaceURI===e8?t.namespaceURI===e7?"math"===i:t.namespaceURI===e9?"math"===i&&ta[n]:!!tp[i]:e.namespaceURI===e7?(t.namespaceURI!==e9||!!ta[n])&&(t.namespaceURI!==e8||!!tr[n])&&!tp[i]&&(ts[i]||!tg[i]):"application/xhtml+xml"===to&&!!ti[e.namespaceURI])},tv=function(e){p(i.removed,{element:e});try{eh(e).removeChild(e)}catch(t){Q(e)}},tb=function(e,t){try{p(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(e$||eG)try{tv(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ty=function(t){let i=null,n=null;if(eH)t=""+t;else{let e=F(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===to&&te===e7&&(t=''+t+"");let a=e?e.createHTML(t):t;if(te===e7)try{i=new G().parseFromString(a,to)}catch(e){}if(!i||!i.documentElement){i=em.createDocument(te,"template",null);try{i.documentElement.innerHTML=tt?ef:a}catch(e){}}let s=i.body||i.documentElement;return(t&&n&&s.insertBefore(r.createTextNode(n),s.childNodes[0]||null),te===e7)?e_.call(i,eW?"html":"body")[0]:eW?i.documentElement:s},tF=function(e){return eg.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT|x.SHOW_PROCESSING_INSTRUCTION|x.SHOW_CDATA_SECTION,null)},tk=function(e){return e instanceof M&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof D)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},tw=function(e){return"function"==typeof c&&e instanceof c};function tC(e,t,n){f(e,e=>{e.call(i,t,n,tc)})}let tA=function(e){let t=null;if(tC(eb.beforeSanitizeElements,e,null),tk(e))return tv(e),!0;let n=td(e.nodeName);if(tC(eb.uponSanitizeElement,e,{tagName:n,allowedTags:eD}),eq&&e.hasChildNodes()&&!tw(e.firstElementChild)&&E(/<[/\w!]/g,e.innerHTML)&&E(/<[/\w!]/g,e.textContent)||e.nodeType===ea||eq&&e.nodeType===es&&E(/<[/\w]/g,e.data))return tv(e),!0;if(!(eN.tagCheck instanceof Function&&eN.tagCheck(n))&&(!eD[n]||eP[n])){if(!eP[n]&&tS(n)&&(eB.tagNameCheck instanceof RegExp&&E(eB.tagNameCheck,n)||eB.tagNameCheck instanceof Function&&eB.tagNameCheck(n)))return!1;if(eZ&&!e1[n]){let t=eh(e)||e.parentNode,i=ee(e)||e.childNodes;if(i&&t){let n=i.length;for(let r=n-1;r>=0;--r){let n=Y(i[r],!0);n.__removalCount=(e.__removalCount||0)+1,t.insertBefore(n,J(e))}}}return tv(e),!0}return e instanceof h&&!t_(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&E(/<\/no(script|embed|frames)/i,e.innerHTML)?(tv(e),!0):(eU&&e.nodeType===er&&(t=e.textContent,f([ey,eF,ek],e=>{t=k(t,e," ")}),e.textContent!==t&&(p(i.removed,{element:e.cloneNode()}),e.textContent=t)),tC(eb.afterSanitizeElements,e,null),!1)},tE=function(e,t,i){if(eK&&("id"===t||"name"===t)&&(i in r||i in th))return!1;if(ej&&!eL[t]&&E(ew,t));else if(eR&&E(eC,t));else if(eN.attributeCheck instanceof Function&&eN.attributeCheck(t,e));else if(!eM[t]||eL[t]){if(!(tS(e)&&(eB.tagNameCheck instanceof RegExp&&E(eB.tagNameCheck,e)||eB.tagNameCheck instanceof Function&&eB.tagNameCheck(e))&&(eB.attributeNameCheck instanceof RegExp&&E(eB.attributeNameCheck,t)||eB.attributeNameCheck instanceof Function&&eB.attributeNameCheck(t,e))||"is"===t&&eB.allowCustomizedBuiltInElements&&(eB.tagNameCheck instanceof RegExp&&E(eB.tagNameCheck,i)||eB.tagNameCheck instanceof Function&&eB.tagNameCheck(i))))return!1}else if(e6[t]);else if(E(ex,k(i,eE,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===w(i,"data:")&&e3[e]);else if(eO&&!E(eA,k(i,eE,"")));else if(i)return!1;return!0},tS=function(e){return"annotation-xml"!==e&&F(e,eS)},tx=function(t){tC(eb.beforeSanitizeAttributes,t,null);let{attributes:n}=t;if(!n||tk(t))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eM,forceKeepAttr:void 0},a=n.length;for(;a--;){let{name:s,namespaceURI:o,value:l}=n[a],u=td(s),d=l,c="value"===s?d:C(d);if(r.attrName=u,r.attrValue=c,r.keepAttr=!0,r.forceKeepAttr=void 0,tC(eb.uponSanitizeAttribute,t,r),c=r.attrValue,eY&&("id"===u||"name"===u)&&(tb(s,t),c=eQ+c),eq&&E(/((--!?|])>)|<\/(style|title|textarea)/i,c)||"attributename"===u&&F(c,"href")){tb(s,t);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr||!ez&&E(/\/>/i,c)){tb(s,t);continue}eU&&f([ey,eF,ek],e=>{c=k(c,e," ")});let h=td(t.nodeName);if(!tE(h,u,c)){tb(s,t);continue}if(e&&"object"==typeof X&&"function"==typeof X.getAttributeType)if(o);else switch(X.getAttributeType(h,u)){case"TrustedHTML":c=e.createHTML(c);break;case"TrustedScriptURL":c=e.createScriptURL(c)}if(c!==d)try{o?t.setAttributeNS(o,s,c):t.setAttribute(s,c),tk(t)?tv(t):g(i.removed)}catch(e){tb(s,t)}}tC(eb.afterSanitizeAttributes,t,null)},tD=function e(t){let i=null,n=tF(t);for(tC(eb.beforeSanitizeShadowDOM,t,null);i=n.nextNode();)tC(eb.uponSanitizeShadowNode,i,null),tA(i),tx(i),i.content instanceof o&&e(i.content);tC(eb.afterSanitizeShadowDOM,t,null)};return i.sanitize=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,s=null,l=null,u=null;if((tt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!tw(t))if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw S("dirty is not a string, aborting")}else throw S("toString is not a function");if(!i.isSupported)return t;if(eV||tm(n),i.removed=[],"string"==typeof t&&(eJ=!1),eJ){if(t.nodeName){let e=td(t.nodeName);if(!eD[e]||eP[e])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)(s=(r=ty("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType===en&&"BODY"===s.nodeName||"HTML"===s.nodeName?r=s:r.appendChild(s);else{if(!e$&&!eU&&!eW&&-1===t.indexOf("<"))return e&&eX?e.createHTML(t):t;if(!(r=ty(t)))return e$?null:eX?ef:""}r&&eH&&tv(r.firstChild);let d=tF(eJ?t:r);for(;l=d.nextNode();)tA(l),tx(l),l.content instanceof o&&tD(l.content);if(eJ)return t;if(e$){if(eG)for(u=ep.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return(eM.shadowroot||eM.shadowrootmode)&&(u=ev.call(a,u,!0)),u}let h=eW?r.outerHTML:r.innerHTML;return eW&&eD["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&E(et,r.ownerDocument.doctype.name)&&(h="\n"+h),eU&&f([ey,eF,ek],e=>{h=k(h,e," ")}),e&&eX?e.createHTML(h):h},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tm(e),eV=!0},i.clearConfig=function(){tc=null,eV=!1},i.isValidAttribute=function(e,t,i){return tc||tm({}),tE(td(e),td(t),i)},i.addHook=function(e,t){"function"==typeof t&&p(eb[e],t)},i.removeHook=function(e,t){if(void 0!==t){let i=m(eb[e],t);return -1===i?void 0:_(eb[e],i,1)[0]}return g(eb[e])},i.removeHooks=function(e){eb[e]=[]},i.removeAllHooks=function(){eb=ed()},i}var eh=ec()},29747(e,t,i){"use strict";i.d(t,{a:()=>n});let n=function(e){if(null==e)return o;if("string"==typeof e)return a(e);if("object"==typeof e)return r(e);if("function"==typeof e)return s(e);throw Error("Expected function, string, or array as `test`")};function r(e){let t=[],i=-1;for(;++in});var n=class extends EventTarget{dispatchTypedEvent(e,t){return super.dispatchEvent(t)}}},69143(e,t,i){"use strict";i.d(t,{C:()=>n});let n=function(e){if(null==e)return l;if("function"==typeof e)return o(e);if("object"==typeof e)return Array.isArray(e)?r(e):a(e);if("string"==typeof e)return s(e);throw Error("Expected function, string, or object as test")};function r(e){let t=[],i=-1;for(;++il,dc:()=>o,VG:()=>u});var n=i(69143);function r(e){return e}let a=[],s=!0,o=!1,l="skip";function u(e,t,i,s){let u;"function"==typeof t&&"function"!=typeof i?(s=i,i=t):u=t;let c=(0,n.C)(u),h=s?-1:1;function f(e,n,u){let m=e&&"object"==typeof e?e:{};if("string"==typeof m.type){let t="string"==typeof m.tagName?m.tagName:"string"==typeof m.name?m.name:void 0;Object.defineProperty(g,"name",{value:"node ("+r(e.type+(t?"<"+t+">":""))+")"})}return g;function g(){let r,m,g,p=a;if((!t||c(e,n,u[u.length-1]||void 0))&&(p=d(i(e,u)))[0]===o)return p;if("children"in e&&e.children){let t=e;if(t.children&&p[0]!==l)for(m=(s?t.children.length:-1)+h,g=u.concat(t);m>-1&&mr});var n=i(82834);function r(e,t,i,r){let a,s,o;function l(e,t){let i=t[t.length-1],n=i?i.children.indexOf(e):void 0;return o(e,n,i)}"function"==typeof t&&"function"!=typeof i?(s=void 0,o=t,a=i):(s=t,o=i,a=r),(0,n.VG)(e,s,l,a)}},55442(e,t,i){"use strict";i.d(t,{_:()=>a,a:()=>F,b:()=>r,c:()=>h,d:()=>p,f:()=>l,g:()=>s,h:()=>d,i:()=>k,l:()=>m,n:()=>C,o:()=>w,p:()=>o,r:()=>b,s:()=>y,t:()=>A,u:()=>g,v:()=>c,y:()=>u});var n=i(8756);let r="u">typeof document;function a(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function s(e){return e.__esModule||"Module"===e[Symbol.toStringTag]||e.default&&a(e.default)}let o=Object.assign;function l(e,t){let i={};for(let n in t){let r=t[n];i[n]=d(r)?r.map(e):e(r)}return i}let u=()=>{},d=Array.isArray;function c(e,t){let i={};for(let n in e)i[n]=n in t?t[n]:e[n];return i}let h=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({}),f=Symbol(""),m=function(e){return e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated",e}({});function g(e,t){return o(Error(),{type:e,[f]:!0},t)}function p(e,t){return e instanceof Error&&f in e&&(null==t||!!(e.type&t))}h.MATCHER_NOT_FOUND,h.NAVIGATION_GUARD_REDIRECT,h.NAVIGATION_ABORTED,h.NAVIGATION_CANCELLED,h.NAVIGATION_DUPLICATED;let _=["params","query","hash"],b=Symbol(""),y=Symbol(""),F=Symbol(""),k=Symbol(""),w=Symbol("");function C(){return(0,n.WQ)(F)}function A(e){return(0,n.WQ)(k)}},44719(e,t,i){"use strict";let n;i.d(t,{Gu:()=>V,UU:()=>iK});var r,a=i(65606),s={2:e=>{function t(e,t,r){e instanceof RegExp&&(e=i(e,r)),t instanceof RegExp&&(t=i(t,r));var a=n(e,t,r);return a&&{start:a[0],end:a[1],pre:r.slice(0,a[0]),body:r.slice(a[0]+e.length,a[1]),post:r.slice(a[1]+t.length)}}function i(e,t){var i=t.match(e);return i?i[0]:null}function n(e,t,i){var n,r,a,s,o,l=i.indexOf(e),u=i.indexOf(t,l+1),d=l;if(l>=0&&u>0){for(n=[],a=i.length;d>=0&&!o;)d==l?(n.push(d),l=i.indexOf(e,d+1)):1==n.length?o=[n.pop(),u]:((r=n.pop())=0?l:u;n.length&&(o=[a,s])}return o}e.exports=t,t.range=n},47:(e,t,i)=>{var n=i(410),r=function(e){return"string"==typeof e};function s(e,t){for(var i=[],n=0;n=-1&&!t;i--){var n=i>=0?arguments[i]:a.cwd();if(!r(n))throw TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=s(e.split("/"),!t).join("/"))||"."},l.normalize=function(e){var t=l.isAbsolute(e),i="/"===e.substr(-1);return(e=s(e.split("/"),!t).join("/"))||t||(e="."),e&&i&&(e+="/"),(t?"/":"")+e},l.isAbsolute=function(e){return"/"===e.charAt(0)},l.join=function(){for(var e="",t=0;t=0&&""===e[i];i--);return t>i?[]:e.slice(t,i+1)}e=l.resolve(e).substr(1),t=l.resolve(t).substr(1);for(var n=i(e.split("/")),r=i(t.split("/")),a=Math.min(n.length,r.length),s=a,o=0;o>18&63)+o.charAt(r>>12&63)+o.charAt(r>>6&63)+o.charAt(63&r);return 2==a?(t=e.charCodeAt(u)<<8,i=e.charCodeAt(++u),l+=o.charAt((r=t+i)>>10)+o.charAt(r>>4&63)+o.charAt(r<<2&63)+"="):1==a&&(r=e.charCodeAt(u),l+=o.charAt(r>>2)+o.charAt(r<<4&63)+"=="),l},decode:function(e){var t=(e=String(e).replace(l,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&s("Invalid character: the string to be decoded is not correctly encoded.");for(var i,n,r=0,a="",u=-1;++u>(-2*r&6)));return a},version:"1.0.0"};void 0===(n=(function(){return u}).call(t,i,t,e))||(e.exports=n)}()},135:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},172:(e,t)=>{t.d=function(e){if(!e)return 0;for(var t=(e=e.toString()).length,i=e.length;i--;){var n=e.charCodeAt(i);56320<=n&&n<=57343&&i--,127{var n=i(2);e.exports=function(e){return e?("{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2)),p(function(e){return e.split("\\\\").join(r).split("\\{").join(a).split("\\}").join(s).split("\\,").join(o).split("\\.").join(l)}(e),!0).map(d)):[]};var r="\0SLASH"+Math.random()+"\0",a="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",o="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function u(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function d(e){return e.split(r).join("\\").split(a).join("{").split(s).join("}").split(o).join(",").split(l).join(".")}function c(e){if(!e)return[""];var t=[],i=n("{","}",e);if(!i)return e.split(",");var r=i.pre,a=i.body,s=i.post,o=r.split(",");o[o.length-1]+="{"+a+"}";var l=c(s);return s.length&&(o[o.length-1]+=l.shift(),o.push.apply(o,l)),t.push.apply(t,o),t}function h(e){return"{"+e+"}"}function f(e){return/^-?0\d/.test(e)}function m(e,t){return e<=t}function g(e,t){return e>=t}function p(e,t){var i=[],r=n("{","}",e);if(!r)return[e];var a=r.pre,o=r.post.length?p(r.post,!1):[""];if(/\$$/.test(r.pre))for(var l=0;l=0;if(!k&&!w)return r.post.match(/,(?!,).*\}/)?p(e=r.pre+"{"+r.body+s+r.post):[e];if(k)_=r.body.split(/\.\./);else if(1===(_=c(r.body)).length&&1===(_=p(_[0],!1).map(h)).length)return o.map(function(e){return r.pre+_[0]+e});if(k){var C,A=u(_[0]),E=u(_[1]),S=Math.max(_[0].length,_[1].length),x=3==_.length?Math.abs(u(_[2])):1,D=m;E0){var B=Array(I+1).join("0");C=M<0?"-"+B+C.slice(1):B+C}}b.push(C)}}else{b=[];for(var P=0;P<_.length;P++)b.push.apply(b,p(_[P],!1))}for(P=0;P{var t,i;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e.exports=i={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 0xff00ff&i.rotl(e,8)|0xff00ff00&i.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],i=0,n=0;i>>5]|=e[i]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],i=0;i<32*e.length;i+=8)t.push(e[i>>>5]>>>24-i%32&255);return t},bytesToHex:function(e){for(var t=[],i=0;i>>4).toString(16)),t.push((15&e[i]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],i=0;i>>6*(3-a)&63)):i.push("=");return i.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],n=0,r=0;n>>6-2*r);return i}}},345:()=>{},388:()=>{},410:()=>{},526:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],i=0;i{!function(){var t=i(298),n=i(526).utf8,r=i(135),a=i(526).bin,s=function(e,i){e.constructor==String?e=i&&"binary"===i.encoding?a.stringToBytes(e):n.stringToBytes(e):r(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=t.bytesToWords(e),l=8*e.length,u=0x67452301,d=-0x10325477,c=-0x67452302,h=0x10325476,f=0;f>>24)|0xff00ff00&(o[f]<<24|o[f]>>>8);o[l>>>5]|=128<>>9<<4)]=l;var m=s._ff,g=s._gg,p=s._hh,_=s._ii;for(f=0;f>>0,d=d+y>>>0,c=c+F>>>0,h=h+k>>>0}return t.endian([u,d,c,h])};s._ff=function(e,t,i,n,r,a,s){var o=e+(t&i|~t&n)+(r>>>0)+s;return(o<>>32-a)+t},s._gg=function(e,t,i,n,r,a,s){var o=e+(t&n|i&~n)+(r>>>0)+s;return(o<>>32-a)+t},s._hh=function(e,t,i,n,r,a,s){var o=e+(t^i^n)+(r>>>0)+s;return(o<>>32-a)+t},s._ii=function(e,t,i,n,r,a,s){var o=e+(i^(t|~n))+(r>>>0)+s;return(o<>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,i){if(null==e)throw Error("Illegal argument "+e);var n=t.wordsToBytes(s(e,i));return i&&i.asBytes?n:i&&i.asString?a.bytesToString(n):t.bytesToHex(n)}}()},647:(e,t)=>{var i=Object.prototype.hasOwnProperty;function n(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function r(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){var n,a,s=[];for(a in"string"!=typeof(t=t||"")&&(t="?"),e)if(i.call(e,a)){if((n=e[a])||null!=n&&!isNaN(n)||(n=""),a=r(a),n=r(n),null===a||null===n)continue;s.push(a+"="+n)}return s.length?t+s.join("&"):""},t.parse=function(e){for(var t,i=/([^=?#&]+)=?([^&]*)/g,r={};t=i.exec(e);){var a=n(t[1]),s=n(t[2]);null===a||null===s||a in r||(r[a]=s)}return r}},670:e=>{e.exports=function(e,t){if(t=t.split(":")[0],!(e*=1))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},737:(e,t,i)=>{var n=i(670),r=i(647),a=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,o=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,d=/^[a-zA-Z]:/;function c(e){return(e||"").toString().replace(a,"")}var h=[["#","hash"],["?","query"],function(e,t){return g(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function m(e){var t,i=("u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{}).location||{},n={},r=typeof(e=e||i);if("blob:"===e.protocol)n=new _(unescape(e.pathname),{});else if("string"===r)for(t in n=new _(e,{}),f)delete n[t];else if("object"===r){for(t in e)t in f||(n[t]=e[t]);void 0===n.slashes&&(n.slashes=o.test(e.href))}return n}function g(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function p(e,t){e=(e=c(e)).replace(s,""),t=t||{};var i,n=u.exec(e),r=n[1]?n[1].toLowerCase():"",a=!!n[2],o=!!n[3],l=0;return a?o?(i=n[2]+n[3]+n[4],l=n[2].length+n[3].length):(i=n[2]+n[4],l=n[2].length):o?(i=n[3]+n[4],l=n[3].length):i=n[4],"file:"===r?l>=2&&(i=i.slice(2)):g(r)?i=n[4]:r?a&&(i=i.slice(2)):l>=2&&g(t.protocol)&&(i=n[4]),{protocol:r,slashes:a||g(r),slashesCount:l,rest:i}}function _(e,t,i){if(e=(e=c(e)).replace(s,""),!(this instanceof _))return new _(e,t,i);var a,o,l,u,f,b,y=h.slice(),F=typeof t,k=this,w=0;for("object"!==F&&"string"!==F&&(i=t,t=null),i&&"function"!=typeof i&&(i=r.parse),a=!(o=p(e||"",t=m(t))).protocol&&!o.slashes,k.slashes=o.slashes||a&&t.slashes,k.protocol=o.protocol||t.protocol||"",e=o.rest,("file:"===o.protocol&&(2!==o.slashesCount||d.test(e))||!o.slashes&&(o.protocol||o.slashesCount<2||!g(k.protocol)))&&(y[3]=[/(.*)/,"pathname"]);w{},805:()=>{},829:e=>{function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){var t="function"==typeof Map?new Map:void 0;return(i=function(e){var i;if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,s)}function s(){return n(e,arguments,a(this).constructor)}return s.prototype=Object.create(e.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),r(s,e)})(e)}function n(e,t,i){return(n=!function(){if("u"2&&void 0!==arguments[2]?arguments[2]:function(){},r=i.split("."),a=r.length,s=function(t){var i=r[t];if(!e)return{v:void 0};if("+"===i){if(Array.isArray(e))return{v:e.map(function(i,a){var s=r.slice(t+1);return s.length>0?o(i,s.join("."),n):n(e,a,r,t)})};var a=r.slice(0,t).join(".");throw Error("Object at wildcard (".concat(a,") is not an array"))}e=n(e,i,r,t)},l=0;l2&&void 0!==arguments[2]?arguments[2]:{};if("object"!=t(e)||null===e||void 0===i)return!1;if("number"==typeof i)return i in e;try{var r=!1;return o(e,i,function(e,t,i,a){if(!l(i,a))return e&&e[t];r=n.own?e.hasOwnProperty(t):t in e}),r}catch(e){return!1}},hasOwn:function(e,t,i){return this.has(e,t,i||{own:!0})},isIn:function(e,i,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("object"!=t(e)||null===e||void 0===i)return!1;try{var a=!1,s=!1;return o(e,i,function(e,i,r,o){return a=a||e===n||!!e&&e[i]===n,s=l(r,o)&&"object"===t(e)&&i in e,e&&e[i]}),r.validPath?a&&s:a}catch(e){return!1}},ObjectPrototypeMutationError:s}}},o={};function l(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,loaded:!1,exports:{}};return s[e].call(i.exports,i,i.exports,l),i.loaded=!0,i.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var i in t)l.o(t,i)&&!l.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var u=l(737),d=l.n(u);function c(e){if(!h(e))throw Error("Parameter was not an error")}function h(e){var t;return!!e&&"object"==typeof e&&"[object Error]"===(t=e,Object.prototype.toString.call(t))||e instanceof Error}class f extends Error{constructor(e,t){const i=[...arguments],{options:n,shortMessage:r}=function(e){let t,i="";if(0===e.length)t={};else if(h(e[0]))t={cause:e[0]},i=e.slice(1).join(" ")||"";else if(e[0]&&"object"==typeof e[0])t=Object.assign({},e[0]),i=e.slice(1).join(" ")||"";else{if("string"!=typeof e[0])throw Error("Invalid arguments passed to Layerr");t={},i=i=e.join(" ")||""}return{options:t,shortMessage:i}}(i);let a=r;n.cause&&(a=`${a}: ${n.cause.message}`),super(a),this.message=a,n.name&&"string"==typeof n.name?this.name=n.name:this.name="Layerr",n.cause&&Object.defineProperty(this,"_cause",{value:n.cause}),Object.defineProperty(this,"_info",{value:{}}),n.info&&"object"==typeof n.info&&Object.assign(this._info,n.info),Error.captureStackTrace&&Error.captureStackTrace(this,n.constructorOpt||this.constructor)}static cause(e){return c(e),e._cause&&h(e._cause)?e._cause:null}static fullStack(e){c(e);let t=f.cause(e);return t?`${e.stack} caused by: ${f.fullStack(t)}`:e.stack??""}static info(e){c(e);let t={},i=f.cause(e);return i&&Object.assign(t,f.info(i)),e._info&&Object.assign(t,e._info),t}toString(){let e=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e=`${e}: ${this.message}`),e}}var m=l(47),g=l.n(m);let p="__PATH_SEPARATOR_POSIX__",_="__PATH_SEPARATOR_WINDOWS__";function b(e){try{let t=e.replace(/\//g,p).replace(/\\\\/g,_);return encodeURIComponent(t).split(_).join("\\\\").split(p).join("/")}catch(e){throw new f(e,"Failed encoding path")}}function y(e){return e.startsWith("/")?e:"/"+e}function F(e){let t=e;return"/"!==t[0]&&(t="/"+t),/^.+\/$/.test(t)&&(t=t.substr(0,t.length-1)),t}function k(e){let t=new(d())(e).pathname;return t.length<=0&&(t="/"),F(t)}function w(){for(var e=arguments.length,t=Array(e),i=0;i1){var i=e.shift();e[0]=i+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var n=0;n0&&(r=r.replace(/^[\/]+/,"")),r=n0?"?":"")+s.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}(t.reduce((e,t,i)=>((0===i||"/"!==t||"/"===t&&"/"!==e[e.length-1])&&e.push(t),e),[]))}var C=l(542),A=l.n(C);function E(e,t){let i=e.url.replace("//",""),n=-1==i.indexOf("/")?"/":i.slice(i.indexOf("/")),r=e.method?e.method.toUpperCase():"GET",a=!!/(^|,)\s*auth\s*($|,)/.test(t.qop)&&"auth",s=`00000000${t.nc}`.slice(-8),o=function(e,t,i,n,r,a,s){let o=s||A()(`${t}:${i}:${n}`);return e&&"md5-sess"===e.toLowerCase()?A()(`${o}:${r}:${a}`):o}(t.algorithm,t.username,t.realm,t.password,t.nonce,t.cnonce,t.ha1),l=A()(`${r}:${n}`),u=a?A()(`${o}:${t.nonce}:${s}:${t.cnonce}:${a}:${l}`):A()(`${o}:${t.nonce}:${l}`),d={username:t.username,realm:t.realm,nonce:t.nonce,uri:n,qop:a,response:u,nc:s,cnonce:t.cnonce,algorithm:t.algorithm,opaque:t.opaque},c=[];for(let e in d)d[e]&&("qop"===e||"nc"===e||"algorithm"===e?c.push(`${e}=${d[e]}`):c.push(`${e}="${d[e]}"`));return`Digest ${c.join(", ")}`}function S(e){return"digest"===(e.headers&&e.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()}var x=l(101),D=l.n(x);function T(e){return D().decode(e)}function M(e,t){var i;return`Basic ${i=`${e}:${t}`,D().encode(i)}`}let I="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:"u">typeof window?window:globalThis,B=I.fetch.bind(I);I.Headers,I.Request,I.Response;let P=function(e){return e.Auto="auto",e.Digest="digest",e.None="none",e.Password="password",e.Token="token",e}({}),N=function(e){return e.DataTypeNoLength="data-type-no-length",e.InvalidAuthType="invalid-auth-type",e.InvalidOutputFormat="invalid-output-format",e.LinkUnsupportedAuthType="link-unsupported-auth",e.InvalidUpdateRange="invalid-update-range",e.NotSupported="not-supported",e}({});function R(e,t,i,n,r){var a;switch(e.authType){case P.Auto:t&&i&&(e.headers.Authorization=M(t,i));break;case P.Digest:e.digest=function(e,t,i){return{username:e,password:t,ha1:i,nc:0,algorithm:"md5",hasDigestAuth:!1}}(t,i,r);break;case P.None:break;case P.Password:e.headers.Authorization=M(t,i);break;case P.Token:e.headers.Authorization=`${(a=n).token_type} ${a.access_token}`;break;default:throw new f({info:{code:N.InvalidAuthType}},`Invalid auth type: ${e.authType}`)}}l(345),l(800);let j="@@HOTPATCHER",O=()=>{};function z(e){return{original:e,methods:[e],final:!1}}class q{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=j}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(e){this.configuration.getEmptyAction=e}control(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e||e.__type__!==j)throw Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(e.configuration.registry).forEach(i=>{this.configuration.registry.hasOwnProperty(i)?t&&(this.configuration.registry[i]=Object.assign({},e.configuration.registry[i])):this.configuration.registry[i]=Object.assign({},e.configuration.registry[i])}),e._configuration=this.configuration,this}execute(e){let t=this.get(e)||O;for(var i=arguments.length,n=Array(i>1?i-1:0),r=1;r0;)r=[t.shift().apply(a,r)];return r[0]}}(...t.methods)}isPatched(e){return!!this.configuration.registry[e]}patch(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{chain:n=!1}=i;if(this.configuration.registry[e]&&this.configuration.registry[e].final)throw Error(`Failed patching '${e}': Method marked as being final`);if("function"!=typeof t)throw Error(`Failed patching '${e}': Provided method is not a function`);if(n)this.configuration.registry[e]?this.configuration.registry[e].methods.push(t):this.configuration.registry[e]=z(t);else if(this.isPatched(e)){let{original:i}=this.configuration.registry[e];this.configuration.registry[e]=Object.assign(z(t),{original:i})}else this.configuration.registry[e]=z(t);return this}patchInline(e,t){this.isPatched(e)||this.patch(e,t);for(var i=arguments.length,n=Array(i>2?i-2:0),r=2;r1?t-1:0),n=1;n{this.patch(e,t,{chain:!0})}),this}restore(e){if(!this.isPatched(e))throw Error(`Failed restoring method: No method present for key: ${e}`);if("function"!=typeof this.configuration.registry[e].original)throw Error(`Failed restoring method: Original method not found or of invalid type for key: ${e}`);return this.configuration.registry[e].methods=[this.configuration.registry[e].original],this}setFinal(e){if(!this.configuration.registry.hasOwnProperty(e))throw Error(`Failed marking '${e}' as final: No method found for key`);return this.configuration.registry[e].final=!0,this}}let W=null;function V(){return W||(W=new q),W}function H(e){return!function(e){if("object"!=typeof e||null===e||"[object Object]"!=Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e)?Object.setPrototypeOf(Object.assign({},e),Object.getPrototypeOf(e)):Object.assign({},e)}function $(){for(var e=arguments.length,t=Array(e),i=0;i0;){let e=r.shift();n=n?G(n,e):H(e)}return n}function G(e,t){let i=H(e);return Object.keys(t).forEach(e=>{i.hasOwnProperty(e)?Array.isArray(t[e])?i[e]=Array.isArray(i[e])?[...i[e],...t[e]]:[...t[e]]:"object"==typeof t[e]&&t[e]?i[e]="object"==typeof i[e]&&i[e]?G(i[e],t[e]):H(t[e]):i[e]=t[e]:i[e]=t[e]}),i}function X(e){let t={};for(let i of e.keys())t[i]=e.get(i);return t}function K(){for(var e=arguments.length,t=Array(e),i=0;i(Object.keys(t).forEach(i=>{let r=i.toLowerCase();n.hasOwnProperty(r)?e[n[r]]=t[i]:(n[r]=i,e[i]=t[i])}),e),{})}l(805);let Y="function"==typeof ArrayBuffer,{toString:Q}=Object.prototype;function Z(e){return Y&&(e instanceof ArrayBuffer||"[object ArrayBuffer]"===Q.call(e))}function J(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function ee(e){return function(){for(var t=[],i=0;it.patchInline("fetch",B,e.url,function(e){let t={},i={method:e.method};if(e.headers&&(t=K(t,e.headers)),void 0!==e.data){let[n,r]=function(e){if("string"==typeof e||J(e)||Z(e))return[e,{}];if(e&&"object"==typeof e)return[JSON.stringify(e),{"content-type":"application/json"}];throw Error("Unable to convert request body: Unexpected body type: "+typeof e)}(e.data);i.body=n,t=K(t,r)}return e.signal&&(i.signal=e.signal),e.withCredentials&&(i.credentials="include"),i.headers=t,i}(e)),e)}var eo=l(285);let el=e=>{if("string"!=typeof e)throw TypeError("invalid pattern");if(e.length>65536)throw TypeError("pattern is too long")},eu={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},ed=e=>e.replace(/[[\]\\-]/g,"\\$&"),ec=e=>e.join(""),eh=(e,t)=>{let i=t;if("["!==e.charAt(i))throw Error("not in a brace expression");let n=[],r=[],a=i+1,s=!1,o=!1,l=!1,u=!1,d=i,c="";i:for(;ac?n.push(ed(c)+"-"+ed(t)):t===c&&n.push(ed(t)),c="",a++):e.startsWith("-]",a+1)?(n.push(ed(t+"-")),a+=2):e.startsWith("-",a+1)?(c=t,a+=2):(n.push(ed(t)),a++)}else l=!0,a++}else u=!0,a++}if(d1&&void 0!==arguments[1]?arguments[1]:{};return t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},em=new Set(["!","?","+","*","@"]),eg=e=>em.has(e),ep="(?!\\.)",e_=new Set(["[","."]),ev=new Set(["..","."]),eb=new Set("().*{}+?[]^$\\!"),ey="[^/]",eF=ey+"*?",ek=ey+"+?";class ew{type;#r;#a;#s=!1;#o=[];#l;#u;#d;#c=!1;#h;#f;#m=!1;constructor(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.type=e,e&&(this.#a=!0),this.#l=t,this.#r=this.#l?this.#l.#r:this,this.#h=this.#r===this?i:this.#r.#h,this.#d=this.#r===this?[]:this.#r.#d,"!"!==e||this.#r.#c||this.#d.push(this),this.#u=this.#l?this.#l.#o.length:0}get hasMagic(){if(void 0!==this.#a)return this.#a;for(let e of this.#o)if("string"!=typeof e&&(e.type||e.hasMagic))return this.#a=!0;return this.#a}toString(){return void 0!==this.#f?this.#f:this.type?this.#f=this.type+"("+this.#o.map(e=>String(e)).join("|")+")":this.#f=this.#o.map(e=>String(e)).join("")}#g(){let e;if(this!==this.#r)throw Error("should only call on root");if(this.#c)return this;for(this.toString(),this.#c=!0;e=this.#d.pop();){if("!"!==e.type)continue;let t=e,i=t.#l;for(;i;){for(let n=t.#u+1;!i.type&&n"string"==typeof e?e:e.toJSON()):[this.type,...this.#o.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#r||this.#r.#c&&"!"===this.#l?.type)&&e.push({}),e}isStart(){if(this.#r===this)return!0;if(!this.#l?.isStart())return!1;if(0===this.#u)return!0;let e=this.#l;for(let t=0;t1&&void 0!==arguments[1]?arguments[1]:{},i=new ew(null,void 0,t);return ew.#p(e,i,0,t),i}toMMPattern(){if(this!==this.#r)return this.#r.toMMPattern();let e=this.toString(),[t,i,n,r]=this.toRegExpSource();return n||this.#a||this.#h.nocase&&!this.#h.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()?Object.assign(RegExp(`^${t}$`,(this.#h.nocase?"i":"")+(r?"u":"")),{_src:t,_glob:e}):i}get options(){return this.#h}toRegExpSource(e){let t=e??!!this.#h.dot;if(this.#r===this&&this.#g(),!this.type){let i=this.isStart()&&this.isEnd(),n=this.#o.map(t=>{let[n,r,a,s]="string"==typeof t?ew.#_(t,this.#a,i):t.toRegExpSource(e);return this.#a=this.#a||a,this.#s=this.#s||s,n}).join(""),r="";if(this.isStart()&&"string"==typeof this.#o[0]&&(1!==this.#o.length||!ev.has(this.#o[0]))){let i=e_,a=t&&i.has(n.charAt(0))||n.startsWith("\\.")&&i.has(n.charAt(2))||n.startsWith("\\.\\.")&&i.has(n.charAt(4)),s=!t&&!e&&i.has(n.charAt(0));r=a?"(?!(?:^|/)\\.\\.?(?:$|/))":s?ep:""}let a="";return this.isEnd()&&this.#r.#c&&"!"===this.#l?.type&&(a="(?:$|\\/)"),[r+n+a,ef(n),this.#a=!!this.#a,this.#s]}let i="*"===this.type||"+"===this.type,n="!"===this.type?"(?:(?!(?:":"(?:",r=this.#v(t);if(this.isStart()&&this.isEnd()&&!r&&"!"!==this.type){let e=this.toString();return this.#o=[e],this.type=null,this.#a=void 0,[e,ef(this.toString()),!1,!1]}let a=!i||e||t?"":this.#v(!0);a===r&&(a=""),a&&(r=`(?:${r})(?:${a})*?`);let s="";return[s="!"===this.type&&this.#m?(this.isStart()&&!t?ep:"")+ek:n+r+("!"===this.type?"))"+(!this.isStart()||t||e?"":ep)+eF+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&a?")":"*"===this.type&&a?")?":`)${this.type}`),ef(r),this.#a=!!this.#a,this.#s]}#v(e){return this.#o.map(t=>{if("string"==typeof t)throw Error("string type in extglob ast??");let[i,n,r,a]=t.toRegExpSource(e);return this.#s=this.#s||a,i}).filter(e=>!(this.isStart()&&this.isEnd()&&!e)).join("|")}static #_(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!1,r="",a=!1;for(let s=0;s2&&void 0!==arguments[2]?arguments[2]:{};return el(t),!(!i.nocomment&&"#"===t.charAt(0))&&new eY(t,i).match(e)},eA=/^\*+([^+@!?\*\[\(]*)$/,eE=e=>t=>!t.startsWith(".")&&t.endsWith(e),eS=e=>t=>t.endsWith(e),ex=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),eD=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),eT=/^\*+\.\*+$/,eM=e=>!e.startsWith(".")&&e.includes("."),eI=e=>"."!==e&&".."!==e&&e.includes("."),eB=/^\.\*+$/,eP=e=>"."!==e&&".."!==e&&e.startsWith("."),eL=/^\*+$/,eN=e=>0!==e.length&&!e.startsWith("."),eR=e=>0!==e.length&&"."!==e&&".."!==e,ej=/^\?+([^+@!?\*\[\(]*)?$/,eO=e=>{let[t,i=""]=e,n=eW([t]);return i?(i=i.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(i)):n},ez=e=>{let[t,i=""]=e,n=eV([t]);return i?(i=i.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(i)):n},eU=e=>{let[t,i=""]=e,n=eV([t]);return i?e=>n(e)&&e.endsWith(i):n},eq=e=>{let[t,i=""]=e,n=eW([t]);return i?e=>n(e)&&e.endsWith(i):n},eW=e=>{let[t]=e,i=t.length;return e=>e.length===i&&!e.startsWith(".")},eV=e=>{let[t]=e,i=t.length;return e=>e.length===i&&"."!==e&&".."!==e},eH="object"==typeof a&&a?"object"==typeof a.env&&a.env&&a.env.__MINIMATCH_TESTING_PLATFORM__||a.platform:"posix";eC.sep="win32"===eH?"\\":"/";let e$=Symbol("globstar **");eC.GLOBSTAR=e$,eC.filter=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i=>eC(i,e,t)};let eG=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({},e,t)};eC.defaults=e=>{if(!e||"object"!=typeof e||!Object.keys(e).length)return eC;let t=eC;return Object.assign(function(i,n){return t(i,n,eG(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}))},{Minimatch:class extends t.Minimatch{constructor(t){super(t,eG(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}static defaults(i){return t.defaults(eG(e,i)).Minimatch}},AST:class extends t.AST{constructor(t,i){super(t,i,eG(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}))}static fromGlob(i){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.AST.fromGlob(i,eG(e,n))}},unescape:function(i){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.unescape(i,eG(e,n))},escape:function(i){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.escape(i,eG(e,n))},filter:function(i){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.filter(i,eG(e,n))},defaults:i=>t.defaults(eG(e,i)),makeRe:function(i){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.makeRe(i,eG(e,n))},braceExpand:function(i){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.braceExpand(i,eG(e,n))},match:function(i,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.match(i,n,eG(e,r))},sep:t.sep,GLOBSTAR:e$})};let eX=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return el(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:eo(e)};eC.braceExpand=eX,eC.makeRe=function(e){return new eY(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).makeRe()},eC.match=function(e,t){let i=new eY(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});return e=e.filter(e=>i.match(e)),i.options.nonull&&!e.length&&e.push(t),e};let eK=/[?*]|[+@!]\(.*?\)|\[|\]/;class eY{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};el(e),t=t||{},this.options=t,this.pattern=e,this.platform=t.platform||eH,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||!1===t.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==t.windowsNoMagicRoot?t.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if("string"!=typeof t)return!0;return!1}debug(){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,this.globSet);let i=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let n=this.globParts.map((e,t,i)=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=!(""!==e[0]||""!==e[1]||"?"!==e[2]&&eK.test(e[2])||eK.test(e[3])),i=/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(i)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,n),this.set=n.filter(e=>-1===e.indexOf(!1)),this.isWindows)for(let e=0;e=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=t>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(e=>{let t=-1;for(;-1!==(t=e.indexOf("**",t+1));){let i=t;for(;"**"===e[i+1];)i++;i!==t&&e.splice(t,i-t)}return e})}levelOneOptimize(e){return e.map(e=>0===(e=e.reduce((e,t)=>{let i=e[e.length-1];return"**"===t&&"**"===i||(".."===t&&i&&".."!==i&&"."!==i&&"**"!==i?e.pop():e.push(t)),e},[])).length?[""]:e)}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let i=1;in&&i.splice(n+1,r-n);let a=i[n+1],s=i[n+2],o=i[n+3];if(".."!==a||!s||"."===s||".."===s||!o||"."===o||".."===o)continue;t=!0,i.splice(n,1);let l=i.slice(0);l[n]="**",e.push(l),n--}if(!this.preserveMultipleSlashes){for(let e=1;ee.length)}partsMatch(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=0,r=0,a=[],s="";for(;n2&&void 0!==arguments[2]&&arguments[2],n=this.options;if(this.isWindows){let i="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),n=!i&&""===e[0]&&""===e[1]&&"?"===e[2]&&/^[a-z]:$/i.test(e[3]),r="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),a=n?3:i?0:void 0,s=!r&&""===t[0]&&""===t[1]&&"?"===t[2]&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3])?3:r?0:void 0;if("number"==typeof a&&"number"==typeof s){let[i,n]=[e[a],t[s]];i.toLowerCase()===n.toLowerCase()&&(t[s]=i,s>a?t=t.slice(s):a>s&&(e=e.slice(a)))}}let{optimizationLevel:r=1}=this.options;r>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var a=0,s=0,o=e.length,l=t.length;a>> no match, partial?",e,c,t,h),c!==o))}if("string"==typeof u?(r=d===u,this.debug("string match",u,d,r)):(r=u.test(d),this.debug("pattern match",u,d,r)),!r)return!1}if(a===o&&s===l)return!0;if(a===o)return i;if(s===l)return a===o-1&&""===e[a];throw Error("wtf?")}braceExpand(){return eX(this.pattern,this.options)}parse(e){el(e);let t=this.options;if("**"===e)return e$;if(""===e)return"";let i,n=null;(i=e.match(eL))?n=t.dot?eR:eN:(i=e.match(eA))?n=(t.nocase?t.dot?eD:ex:t.dot?eS:eE)(i[1]):(i=e.match(ej))?n=(t.nocase?t.dot?ez:eO:t.dot?eU:eq)(i):(i=e.match(eT))?n=t.dot?eI:eM:(i=e.match(eB))&&(n=eP);let r=ew.fromGlob(e,this.options).toMMPattern();return n&&"object"==typeof r&&Reflect.defineProperty(r,"test",{value:n}),r}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,i=t.noglobstar?"[^/]*?":t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=new Set(t.nocase?["i"]:[]),r=e.map(e=>{let t=e.map(e=>{if(e instanceof RegExp)for(let t of e.flags.split(""))n.add(t);return"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e===e$?e$:e._src});return t.forEach((e,n)=>{let r=t[n+1],a=t[n-1];e===e$&&a!==e$&&(void 0===a?void 0!==r&&r!==e$?t[n+1]="(?:\\/|"+i+"\\/)?"+r:t[n]=i:void 0===r?t[n-1]=a+"(?:\\/|"+i+")?":r!==e$&&(t[n-1]=a+"(?:\\/|\\/"+i+"\\/)"+r,t[n+1]=e$))}),t.filter(e=>e!==e$).join("/")}).join("|"),[a,s]=e.length>1?["(?:",")"]:["",""];r="^"+a+r+s+"$",this.negate&&(r="^(?!"+r+").+$");try{this.regexp=new RegExp(r,[...n].join(""))}catch(e){this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.partial;if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;let i=this.options;this.isWindows&&(e=e.split("\\").join("/"));let n=this.slashSplit(e);this.debug(this.pattern,"split",n);let r=this.set;this.debug(this.pattern,"set",r);let a=n[n.length-1];if(!a)for(let e=n.length-2;!a&&e>=0;e--)a=n[e];for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:""}Invalid response: ${e.status} ${e.statusText}`);return t.status=e.status,t.response=e,t}function eZ(e,t){let{status:i}=t;if(401===i&&e.digest)return t;if(i>=400)throw eQ(t);return t}function eJ(e,t){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?{data:t,headers:e.headers?X(e.headers):{},status:e.status,statusText:e.statusText}:t}eC.AST=ew,eC.Minimatch=eY,eC.escape=function(e){let{windowsPathsNoEscape:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&")},eC.unescape=ef;let e0=(r=function(e,t,i){var n,r;let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=ea({url:w(e.remoteURL,b(t)),method:"COPY",headers:{Destination:w(e.remoteURL,b(i)),Overwrite:!1===a.overwrite?"F":"T",Depth:a.shallow?"0":"infinity"}},e,a);return r=function(t){eZ(e,t)},(n=er(s,e))&&n.then||(n=Promise.resolve(n)),r?n.then(r):n},function(){for(var e=[],t=0;t!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,i){return e},captureMetaData:!1},e2=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",e3=RegExp("^["+e2+"]["+e2+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function e4(e,t){let i=[],n=t.exec(e);for(;n;){let r=[];r.startIndex=t.lastIndex-n[0].length;let a=n.length;for(let e=0;e0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][n]={startIndex:t})}static getMetaDataSymbol(){return n}}class e8{constructor(e){this.suppressValidationErr=!e}readDocType(e,t){let i={};if("O"!==e[t+3]||"C"!==e[t+4]||"T"!==e[t+5]||"Y"!==e[t+6]||"P"!==e[t+7]||"E"!==e[t+8])throw Error("Invalid Tag instead of DOCTYPE");{t+=9;let n=1,r=!1,a=!1,s="";for(;t"===e[t]){if(a?"-"===e[t-1]&&"-"===e[t-2]&&(a=!1,n--):n--,0===n)break}else"["===e[t]?r=!0:s+=e[t];else{if(r&&e7(e,"!ENTITY",t)){let n,r;t+=7,[n,r,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===r.indexOf("&")&&(i[n]={regx:RegExp(`&${n};`,"g"),val:r})}else if(r&&e7(e,"!ELEMENT",t)){t+=8;let{index:i}=this.readElementExp(e,t+1);t=i}else if(r&&e7(e,"!ATTLIST",t))t+=8;else if(r&&e7(e,"!NOTATION",t)){t+=9;let{index:i}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=i}else{if(!e7(e,"!--",t))throw Error("Invalid DOCTYPE");a=!0}n++,s=""}if(0!==n)throw Error("Unclosed DOCTYPE")}return{entities:i,i:t}}readEntityExp(e,t){t=e9(e,t);let i="";for(;t{for(;t{for(let i of e)if("string"==typeof i&&t===i||i instanceof RegExp&&i.test(t))return!0}:()=>!1}class ts{constructor(e){if(this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>tF(t,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>tF(t,16,"&#x")}},this.addExternalEntities=to,this.parseXml=th,this.parseTextData=tl,this.resolveNameSpace=tu,this.buildAttributesMap=tc,this.isItStopNode=tp,this.replaceEntitiesValue=tm,this.readStopNodeData=tb,this.saveTextToParentTag=tg,this.addChild=tf,this.ignoreAttributesFn=ta(this.options.ignoreAttributes),this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let e=0;e0)){s||(e=this.replaceEntitiesValue(e));let n=this.options.tagValueProcessor(t,e,i,r,a);return null==n?e:typeof n!=typeof e||n!==e?n:this.options.trimValues||e.trim()===e?ty(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function tu(e){if(this.options.removeNSPrefix){let t=e.split(":"),i="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=i+t[1])}return e}let td=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function tc(e,t){if(!0!==this.options.ignoreAttributes&&"string"==typeof e){let i=e4(e,td),n=i.length,r={};for(let e=0;e",s,"Closing Tag is not closed."),a=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){let e=a.indexOf(":");-1!==e&&(a=a.substr(e+1))}this.options.transformTagName&&(a=this.options.transformTagName(a)),i&&(n=this.saveTextToParentTag(n,i,r));let o=r.substring(r.lastIndexOf(".")+1);if(a&&-1!==this.options.unpairedTags.indexOf(a))throw Error(`Unpaired tag can not be used as closing tag: `);let l=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(l=r.lastIndexOf(".",r.lastIndexOf(".")-1),this.tagsNodeStack.pop()):l=r.lastIndexOf("."),r=r.substring(0,l),i=this.tagsNodeStack.pop(),n="",s=t}else if("?"===e[s+1]){let t=tv(e,s,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,i,r),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{let e=new e5(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,r)),this.addChild(i,e,r,s)}s=t.closeIndex+1}else if("!--"===e.substr(s+1,3)){let t=t_(e,"--\x3e",s+4,"Comment is not closed.");if(this.options.commentPropName){let a=e.substring(s+4,t-2);n=this.saveTextToParentTag(n,i,r),i.add(this.options.commentPropName,[{[this.options.textNodeName]:a}])}s=t}else if("!D"===e.substr(s+1,2)){let t=a.readDocType(e,s);this.docTypeEntities=t.entities,s=t.i}else if("!["===e.substr(s+1,2)){let t=t_(e,"]]>",s,"CDATA is not closed.")-2,a=e.substring(s+9,t);n=this.saveTextToParentTag(n,i,r);let o=this.parseTextData(a,i.tagname,r,!0,!1,!0,!0);null==o&&(o=""),this.options.cdataPropName?i.add(this.options.cdataPropName,[{[this.options.textNodeName]:a}]):i.add(this.options.textNodeName,o),s=t+2}else{let a=tv(e,s,this.options.removeNSPrefix),o=a.tagName,l=a.rawTagName,u=a.tagExp,d=a.attrExpPresent,c=a.closeIndex;if(this.options.transformTagName){let e=this.options.transformTagName(o);u===o&&(u=e),o=e}i&&n&&"!xml"!==i.tagname&&(n=this.saveTextToParentTag(n,i,r,!1));let h=i;h&&-1!==this.options.unpairedTags.indexOf(h.tagname)&&(i=this.tagsNodeStack.pop(),r=r.substring(0,r.lastIndexOf("."))),o!==t.tagname&&(r+=r?"."+o:o);let f=s;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,r,o)){let t="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)"/"===o[o.length-1]?(o=o.substr(0,o.length-1),r=r.substr(0,r.length-1),u=o):u=u.substr(0,u.length-1),s=a.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(o))s=a.closeIndex;else{let i=this.readStopNodeData(e,l,c+1);if(!i)throw Error(`Unexpected end of ${l}`);s=i.i,t=i.tagContent}let n=new e5(o);o!==u&&d&&(n[":@"]=this.buildAttributesMap(u,r)),t&&(t=this.parseTextData(t,o,r,!0,d,!0,!0)),r=r.substr(0,r.lastIndexOf(".")),n.add(this.options.textNodeName,t),this.addChild(i,n,r,f)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){if("/"===o[o.length-1]?(o=o.substr(0,o.length-1),r=r.substr(0,r.length-1),u=o):u=u.substr(0,u.length-1),this.options.transformTagName){let e=this.options.transformTagName(o);u===o&&(u=e),o=e}let e=new e5(o);o!==u&&d&&(e[":@"]=this.buildAttributesMap(u,r)),this.addChild(i,e,r,f),r=r.substr(0,r.lastIndexOf("."))}else{let e=new e5(o);this.tagsNodeStack.push(i),o!==u&&d&&(e[":@"]=this.buildAttributesMap(u,r)),this.addChild(i,e,r,f),i=e}n="",s=c}}else n+=e[s];return t.child};function tf(e,t,i,n){this.options.captureMetaData||(n=void 0);let r=this.options.updateTag(t.tagname,i,t[":@"]);!1===r||("string"==typeof r&&(t.tagname=r),e.addChild(t,n))}let tm=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){let i=this.docTypeEntities[t];e=e.replace(i.regx,i.val)}for(let t in this.lastEntities){let i=this.lastEntities[t];e=e.replace(i.regex,i.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){let i=this.htmlEntities[t];e=e.replace(i.regex,i.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function tg(e,t,i,n){return e&&(void 0===n&&(n=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,i,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,n))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function tp(e,t,i,n){return!(!t||!t.has(n))||!(!e||!e.has(i))}function t_(e,t,i,n){let r=e.indexOf(t,i);if(-1===r)throw Error(n);return r+t.length-1}function tv(e,t,i){let n=function(e,t){let i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:">",r="";for(let a=t;a3&&void 0!==arguments[3]?arguments[3]:">");if(!n)return;let r=n.data,a=n.index,s=r.search(/\s/),o=r,l=!0;-1!==s&&(o=r.substring(0,s),r=r.substring(s+1).trimStart());let u=o;if(i){let e=o.indexOf(":");-1!==e&&(l=(o=o.substr(e+1))!==n.data.substr(e+1))}return{tagName:o,tagExp:r,closeIndex:a,attrExpPresent:l,rawTagName:u}}function tb(e,t,i){let n=i,r=1;for(;i",i,`${t} is not closed`);if(e.substring(i+2,a).trim()===t&&0==--r)return{tagContent:e.substring(n,i),i:a};i=a}else if("?"===e[i+1])i=t_(e,"?>",i+1,"StopNode is not closed.");else if("!--"===e.substr(i+1,3))i=t_(e,"--\x3e",i+3,"StopNode is not closed.");else if("!["===e.substr(i+1,2))i=t_(e,"]]>",i,"StopNode is not closed.")-2;else{let n=tv(e,i,">");n&&((n&&n.tagName)===t&&"/"!==n.tagExp[n.tagExp.length-1]&&r++,i=n.closeIndex)}}function ty(e,t,i){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e){var t;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i=Object.assign({},tn,i),!e||"string"!=typeof e)return e;let n=e.trim();if(void 0!==i.skipLike&&i.skipLike.test(n))return e;if("0"===e)return 0;if(i.hex&&tt.test(n))return function(e){if(parseInt)return parseInt(e,16);if(Number.parseInt)return Number.parseInt(e,16);if(window&&window.parseInt)return window.parseInt(e,16);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}(n);if(n.includes("e")||n.includes("E"))return function(e,t,i){if(!i.eNotation)return e;let n=t.match(tr);if(n){let r=n[1]||"",a=-1===n[3].indexOf("e")?"E":"e",s=n[2],o=r?e[s.length+1]===a:e[s.length]===a;return s.length>1&&o?e:1===s.length&&(n[3].startsWith(`.${a}`)||n[3][0]===a)?Number(t):i.leadingZeros&&!o?Number(t=(n[1]||"")+n[3]):e}return e}(e,n,i);{let r=ti.exec(n);if(r){let a=r[1]||"",s=r[2],o=((t=r[3])&&-1!==t.indexOf(".")&&("."===(t=t.replace(/0+$/,""))?t="0":"."===t[0]?t="0"+t:"."===t[t.length-1]&&(t=t.substring(0,t.length-1))),t),l=a?"."===e[s.length+1]:"."===e[s.length];if(!i.leadingZeros&&(s.length>1||1===s.length&&!l))return e;{let t=Number(n),r=String(t);if(0===t)return t;if(-1!==r.search(/[eE]/))return i.eNotation?t:e;if(-1!==n.indexOf("."))return"0"===r||r===o||r===`${a}${o}`?t:e;let l=s?o:n;return s?l===r||a+l===r?t:e:l===r||l===a+r?t:e}}return e}}(e,i)}return void 0!==e?e:""}function tF(e,t,i){let n=Number.parseInt(e,t);return n>=0&&n<=1114111?String.fromCodePoint(n):i+e+";"}let tk=e5.getMetaDataSymbol();function tw(e,t){return tC(e,t)}function tC(e,t,i){let n,r={};for(let a=0;a0&&(r[t.textNodeName]=n):void 0!==n&&(r[t.textNodeName]=n),r}function tA(e){let t=Object.keys(e);for(let e=0;e5&&"xml"===n)return tN("InvalidXml","XML declaration allowed only at the start of the document.",tj(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function tM(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let i=1;for(t+=8;t"===e[t]&&0==--i)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t"===e[t+2]){t+=2;break}}return t}function tI(e,t){let i="",n="",r=!1;for(;t"===e[t]&&""===n){r=!0;break}i+=e[t]}return""===n&&{value:i,index:t,tagClosed:r}}let tB=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function tP(e,t){let i=e4(e,tB),n={};for(let e=0;e"!==e[a]&&" "!==e[a]&&" "!==e[a]&&"\n"!==e[a]&&"\r"!==e[a];a++)l+=e[a];if("/"===(l=l.trim())[l.length-1]&&(l=l.substring(0,l.length-1),a--),!e6(l))return tN("InvalidTag",0===l.trim().length?"Invalid space after '<'.":"Tag '"+l+"' is an invalid name.",tj(e,a));let u=tI(e,a);if(!1===u)return tN("InvalidAttr","Attributes for '"+l+"' have open quote.",tj(e,a));let d=u.value;if(a=u.index,"/"===d[d.length-1]){let i=a-d.length,r=tP(d=d.substring(0,d.length-1),t);if(!0!==r)return tN(r.err.code,r.err.msg,tj(e,i+r.err.line));n=!0}else if(o){if(!u.tagClosed)return tN("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",tj(e,a));if(d.trim().length>0)return tN("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",tj(e,s));if(0===i.length)return tN("InvalidTag","Closing tag '"+l+"' has not been opened.",tj(e,s));{let t=i.pop();if(l!==t.tagName){let i=tj(e,t.tagStartPos);return tN("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+i.line+", col "+i.col+") instead of closing tag '"+l+"'.",tj(e,s))}0==i.length&&(r=!0)}}else{let o=tP(d,t);if(!0!==o)return tN(o.err.code,o.err.msg,tj(e,a-d.length+o.err.line));if(!0===r)return tN("InvalidXml","Multiple possible root nodes found.",tj(e,a));-1!==t.unpairedTags.indexOf(l)||i.push({tagName:l,tagStartPos:s}),n=!0}for(a++;a0)||tN("InvalidXml","Invalid '"+JSON.stringify(i.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):tN("InvalidXml","Start tag expected.",1)}(e,t);if(!0!==i)throw Error(`${i.err.msg}:${i.err.line}:${i.err.col}`)}let i=new ts(this.options);i.addExternalEntities(this.externalEntities);let n=i.parseXml(e);return this.options.preserveOrder||void 0===n?n:tw(n,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return e5.getMetaDataSymbol()}}var tU=l(829),tq=l.n(tU),tW=function(e){return e.Array="array",e.Object="object",e.Original="original",e}(tW||{});function tV(e,t){if(!e.endsWith("propstat.prop.displayname"))return t}function tH(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tW.Original,n=tq().get(e,t);return"array"===i&&!1===Array.isArray(n)?[n]:"object"===i&&Array.isArray(n)?n[0]:n}function t$(e,t){return t=t??{attributeNamePrefix:"@",attributeParsers:[],tagParsers:[tV]},new Promise(i=>{i(function(e){let{multistatus:t}=e;if(""===t)return{multistatus:{response:[]}};if(!t)throw Error("Invalid response: No root multistatus found");let i={multistatus:Array.isArray(t)?t[0]:t};return tq().set(i,"multistatus.response",tH(i,"multistatus.response",tW.Array)),tq().set(i,"multistatus.response",tq().get(i,"multistatus.response").map(e=>(function(e){let t=Object.assign({},e);return t.status?tq().set(t,"status",tH(t,"status",tW.Object)):(tq().set(t,"propstat",tH(t,"propstat",tW.Object)),tq().set(t,"propstat.prop",tH(t,"propstat.prop",tW.Object))),t})(e))),i}((function(e){let{attributeNamePrefix:t,attributeParsers:i,tagParsers:n}=e;return new tz({allowBooleanAttributes:!0,attributeNamePrefix:t,textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor(e,t,n){for(let e of i)try{let i=e(n,t);if(i!==t)return i}catch(e){}return t},tagValueProcessor(e,t,i){for(let e of n)try{let n=e(i,t);if(n!==t)return n}catch(e){}return t}})})(t).parse(e)))})}function tG(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{getlastmodified:n=null,getcontentlength:r="0",resourcetype:a=null,getcontenttype:s=null,getetag:o=null}=e,l=a&&"object"==typeof a&&void 0!==a.collection?"directory":"file",u={filename:t,basename:g().basename(t),lastmod:n,size:parseInt(r,10),type:l,etag:"string"==typeof o?o.replace(/"/g,""):null};return"file"===l&&(u.mime=s&&"string"==typeof s?s.split(";")[0]:""),i&&(void 0!==e.displayname&&(e.displayname=String(e.displayname)),u.props=e),u}function tX(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=null;try{e.multistatus.response[0].propstat&&(n=e.multistatus.response[0])}catch(e){}if(!n)throw Error("Failed getting item stat: bad response");let{propstat:{prop:r,status:a}}=n,[s,o,l]=a.split(" ",3),u=parseInt(o,10);if(u>=400){let e=Error(`Invalid response: ${u} ${l}`);throw e.status=u,e}return tG(r,F(t),i)}function tK(e){switch(String(e)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(e),10)}}function tY(e,t,i){return i?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}let tQ=function(e){return function(){for(var t=[],i=0;i2&&void 0!==arguments[2]?arguments[2]:{},{details:n=!1}=i;return tY(er(ea({url:w(e.remoteURL,b(t)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},e,i),e),function(i){return eZ(e,i),tY(i.text(),function(r){return tY(t$(r,e.parsing),function(e){return eJ(i,tX(e,t,n),n)})})})});function tZ(e,t,i){return i?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}let tJ=t0(function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=function(e){if(!e||"/"===e)return[];let t=e,i=[];do i.push(t),t=g().dirname(t);while(t&&"/"!==t);return i}(F(t));n.sort((e,t)=>e.length>t.length?1:t.length>e.length?-1:0);let r=!1;return function(e,t,i){if("function"==typeof e[t3]){var n,r,a,s=e[t3]();function o(e){try{for(;!(n=s.next()).done;)if((e=t(n.value))&&e.then){if(!t5(e))return void e.then(o,a||(a=t4.bind(null,r=new t6,2)));e=e.v}r?t4(r,1,e):r=e}catch(e){t4(r||(r=new t6),2,e)}}if(o(),s.return){var l=function(e){try{n.done||s.return()}catch(e){}return e};if(r&&r.then)return r.then(l,function(e){throw l(e)});l()}return r}if(!("length"in e))throw TypeError("Object is not iterable");for(var u=[],d=0;dtypeof Symbol?Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")):"@@iterator";function t4(e,t,i){if(!e.s){if(i instanceof t6){if(!i.s)return void(i.o=t4.bind(null,e,t));1&t&&(t=i.s),i=i.v}if(i&&i.then)return void i.then(t4.bind(null,e,t),t4.bind(null,e,2));e.s=t,e.v=i;let n=e.o;n&&n(e)}}let t6=function(){function e(){}return e.prototype.then=function(t,i){let n=new e,r=this.s;if(r){let e=1&r?t:i;if(e){try{t4(n,1,e(this.v))}catch(e){t4(n,2,e)}return n}return this}return this.o=function(e){try{let r=e.v;1&e.s?t4(n,1,t?t(r):r):i?t4(n,1,i(r)):t4(n,2,r)}catch(e){t4(n,2,e)}},n},e}();function t5(e){return e instanceof t6&&1&e.s}let t8=t0(function(e,t){var i;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return!0===n.recursive?tJ(e,t,n):tZ(er(ea({url:w(e.remoteURL,(i=b(t)).endsWith("/")?i:i+"/"),method:"MKCOL"},e,n),e),function(t){eZ(e,t)})});var t9=l(388),t7=l.n(t9);let ie=function(e){return function(){for(var t=[],i=0;i2&&void 0!==arguments[2]?arguments[2]:{},a={};if("object"==typeof r.range&&"number"==typeof r.range.start){let e=`bytes=${r.range.start}-`;"number"==typeof r.range.end&&(e=`${e}${r.range.end}`),a.Range=e}let s=ea({url:w(e.remoteURL,b(t)),method:"GET",headers:a},e,r);return n=function(t){if(eZ(e,t),a.Range&&206!==t.status){let e=Error(`Invalid response code for partial request: ${t.status}`);throw e.status=t.status,e}return r.callback&&setTimeout(()=>{r.callback(t)},0),t.body},(i=er(s,e))&&i.then||(i=Promise.resolve(i)),n?i.then(n):i}),it=()=>{},ii=function(e){return function(){for(var t=[],i=0;i2&&void 0!==arguments[2]?arguments[2]:{},a=ea({url:w(e.remoteURL,b(t)),method:"DELETE"},e,r);return n=function(t){eZ(e,t)},(i=er(a,e))&&i.then||(i=Promise.resolve(i)),n?i.then(n):i}),ia=function(e){return function(){for(var t=[],i=0;i2&&void 0!==arguments[2]?arguments[2]:{};return function(n,r){try{var a,s,o,l=(a=tQ(e,t,i),s=function(){return!0},o?s?s(a):a:(a&&a.then||(a=Promise.resolve(a)),s?a.then(s):a))}catch(e){return r(e)}return l&&l.then?l.then(void 0,r):l}(0,function(e){if(404===e.status)return!1;throw e})});function is(e,t,i){return i?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}let io=function(e){return function(){for(var t=[],i=0;i2&&void 0!==arguments[2]?arguments[2]:{};return is(er(ea({url:w(e.remoteURL,b(t),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:i.deep?"infinity":"1"}},e,i),e),function(n){return eZ(e,n),is(n.text(),function(r){if(!r)throw Error("Failed parsing directory contents: Empty response");return is(t$(r,e.parsing),function(r){let a=y(t),s=function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=g().join(t,"/"),{multistatus:{response:s}}=e,o=s.map(e=>{let t=function(e){try{return e.replace(/^https?:\/\/[^\/]+/,"")}catch(e){throw new f(e,"Failed normalising HREF")}}(e.href),{propstat:{prop:i}}=e;return tG(i,"/"===a?decodeURIComponent(F(t)):F(g().relative(decodeURIComponent(a),decodeURIComponent(t))),n)});return r?o:o.filter(e=>e.basename&&("file"===e.type||e.filename!==i.replace(/\/$/,"")))}(r,y(e.remoteBasePath||e.remotePath),a,i.details,i.includeSelf);return i.glob&&(s=function(e,t){return e.filter(e=>eC(e.filename,t,{matchBase:!0}))}(s,i.glob)),eJ(n,s,i.details)})})})});function il(e){return function(){for(var t=[],i=0;i2&&void 0!==arguments[2]?arguments[2]:{};return id(er(ea({url:w(e.remoteURL,b(t)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[im]},e,i),e),function(t){return eZ(e,t),id(t.text(),function(e){return eJ(t,e,i.details)})})});function id(e,t,i){return i?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}let ic=il(function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return id(er(ea({url:w(e.remoteURL,b(t)),method:"GET"},e,i),e),function(t){let n;return eZ(e,t),function(e,t){var i=e();return i&&i.then?i.then(t):t()}(function(){return id(t.arrayBuffer(),function(e){n=e})},function(){return eJ(t,n,i.details)})})}),ih=il(function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{format:n="binary"}=i;if("binary"!==n&&"text"!==n)throw new f({info:{code:N.InvalidOutputFormat}},`Invalid output format: ${n}`);return"text"===n?iu(e,t,i):ic(e,t,i)}),im=e=>e;function ig(e,t){let i="";return t.format&&t.indentBy.length>0&&(i="\n"),ip(e,t,"",i)}function ip(e,t,i,n){let r="",a=!1;for(let s=0;s`,a=!1;continue}if(l===t.commentPropName){r+=n+``,a=!0;continue}if("?"===l[0]){let e=iv(o[":@"],t),i="?xml"===l?"":n,s=o[l][0][t.textNodeName];s=0!==s.length?" "+s:"",r+=i+`<${l}${s}${e}?>`,a=!0;continue}let d=n;""!==d&&(d+=t.indentBy);let c=n+`<${l}${iv(o[":@"],t)}`,h=ip(o[l],t,u,d);-1!==t.unpairedTags.indexOf(l)?t.suppressUnpairedNode?r+=c+">":r+=c+"/>":h&&0!==h.length||!t.suppressEmptyNode?h&&h.endsWith(">")?r+=c+`>${h}${n}`:(r+=c+">",h&&""!==n&&(h.includes("/>")||h.includes("`):r+=c+"/>",a=!0}return r}function i_(e){let t=Object.keys(e);for(let i=0;i0&&t.processEntities)for(let i=0;i","g"),val:">"},{regex:RegExp("<","g"),val:"<"},{regex:RegExp("'","g"),val:"'"},{regex:RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function ik(e){this.options=Object.assign({},iF,e),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=ta(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=iA),this.processTextOrObjNode=iw,this.options.format?(this.indentate=iC,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function iw(e,t,i,n){let r=this.j2x(e,i+1,n.concat(t));return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,r.attrStr,i):this.buildObjectNode(r.val,t,r.attrStr,i)}function iC(e){return this.options.indentBy.repeat(e)}function iA(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}function iE(e){return new ik({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,suppressEmptyNode:!0}).build(iS({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:e}}},"d"))}function iS(e,t){let i={...e};for(let e in i)i.hasOwnProperty(e)&&(i[e]&&"object"==typeof i[e]&&-1===e.indexOf(":")?(i[`${t}:${e}`]=iS(i[e],t),delete i[e]):!1===/^@_/.test(e)&&(i[`${t}:${e}`]=i[e],delete i[e]));return i}function ix(e,t,i){return i?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function iD(e){return function(){for(var t=[],i=0;i1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)},ik.prototype.j2x=function(e,t,i){let n="",r="",a=i.join(".");for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s))if(void 0===e[s])this.isAttribute(s)&&(r+="");else if(null===e[s])this.isAttribute(s)||s===this.options.cdataPropName?r+="":"?"===s[0]?r+=this.indentate(t)+"<"+s+"?"+this.tagEndChar:r+=this.indentate(t)+"<"+s+"/"+this.tagEndChar;else if(e[s]instanceof Date)r+=this.buildTextValNode(e[s],s,"",t);else if("object"!=typeof e[s]){let i=this.isAttribute(s);if(i&&!this.ignoreAttributesFn(i,a))n+=this.buildAttrPairStr(i,""+e[s]);else if(!i)if(s===this.options.textNodeName){let t=this.options.tagValueProcessor(s,""+e[s]);r+=this.replaceEntitiesValue(t)}else r+=this.buildTextValNode(e[s],s,"",t)}else if(Array.isArray(e[s])){let n=e[s].length,a="",o="";for(let l=0;l"+e+r:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===a.length?this.indentate(n)+``+this.newLine:this.indentate(n)+"<"+t+i+a+this.tagEndChar+e+this.indentate(n)+r}},ik.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(n)+``+this.newLine;if("?"===t[0])return this.indentate(n)+"<"+t+i+"?"+this.tagEndChar;{let r=this.options.tagValueProcessor(t,e);return""===(r=this.replaceEntitiesValue(r))?this.indentate(n)+"<"+t+i+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+i+">"+r+"0&&this.options.processEntities)for(let t=0;t3&&void 0!==arguments[3]?arguments[3]:{};return ix(er(ea({url:w(e.remoteURL,b(t)),method:"UNLOCK",headers:{"Lock-Token":i}},e,n),e),function(t){if(eZ(e,t),204!==t.status&&200!==t.status)throw eQ(t)})}),iM=iD(function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{refreshToken:n,timeout:r=iI}=i,a={Accept:"text/plain,application/xml",Timeout:r};return n&&(a.If=n),ix(er(ea({url:w(e.remoteURL,b(t)),method:"LOCK",headers:a,data:iE(e.contactHref)},e,i),e),function(t){return eZ(e,t),ix(t.text(),function(e){var i;let n=(i=e,new tz({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(i)),r=tq().get(n,"prop.lockdiscovery.activelock.locktoken.href"),a=tq().get(n,"prop.lockdiscovery.activelock.timeout");if(!r)throw eQ(t,"No lock token received: ");return{token:r,serverTimeout:a}})})}),iI="Infinite, Second-4100000000";function iB(e,t,i){return i?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}let iP=function(e){return function(){for(var t=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:{},i=t.path||"/";return iB(er(ea({url:w(e.remoteURL,i),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},e,t),e),function(i){return eZ(e,i),iB(i.text(),function(n){return iB(t$(n,e.parsing),function(e){return eJ(i,function(e){try{let[t]=e.multistatus.response,{propstat:{prop:{"quota-used-bytes":i,"quota-available-bytes":n}}}=t;return void 0!==i&&void 0!==n?{used:parseInt(String(i),10),available:tK(n)}:null}catch(e){}return null}(e),t.details)})})})});function iL(e,t,i){return i?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}let iN=function(e){return function(){for(var t=[],i=0;i2&&void 0!==arguments[2]?arguments[2]:{},{details:n=!1}=i;return iL(er(ea({url:w(e.remoteURL,b(t)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":e.headers["Content-Type"]||"application/xml; charset=utf-8"}},e,i),e),function(i){return eZ(e,i),iL(i.text(),function(r){return iL(t$(r,e.parsing),function(e){return eJ(i,function(e,t,i){let n={truncated:!1,results:[]};return n.truncated=e.multistatus.response.some(e=>"507"===(e.status||e.propstat?.status).split(" ",3)?.[1]&&e.href.replace(/\/$/,"").endsWith(b(t).replace(/\/$/,""))),e.multistatus.response.forEach(e=>{if(void 0===e.propstat)return;let t=e.href.split("/").map(decodeURIComponent).join("/");n.results.push(tG(e.propstat.prop,t,i))}),n}(e,t,n),n)})})})}),iR=function(e){return function(){for(var t=[],i=0;i3&&void 0!==arguments[3]?arguments[3]:{},s=ea({url:w(e.remoteURL,b(t)),method:"MOVE",headers:{Destination:w(e.remoteURL,b(i)),Overwrite:!1===a.overwrite?"F":"T"}},e,a);return r=function(t){eZ(e,t)},(n=er(s,e))&&n.then||(n=Promise.resolve(n)),r?n.then(r):n});var ij=l(172);function iO(e){if(Z(e))return e.byteLength;if(J(e))return e.length;if("string"==typeof e)return(0,ij.d)(e);throw new f({info:{code:N.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}let iz=function(e){return function(){for(var t=[],i=0;i3&&void 0!==arguments[3]?arguments[3]:{},{contentLength:s=!0,overwrite:o=!0}=a,l={"Content-Type":"application/octet-stream"};!1===s||(l["Content-Length"]="number"==typeof s?`${s}`:`${iO(i)}`),o||(l["If-None-Match"]="*");let u=ea({url:w(e.remoteURL,b(t)),method:"PUT",headers:l,data:i},e,a);return r=function(t){try{eZ(e,t)}catch(t){let e=t;if(412!==e.status||o)throw e;return!1}return!0},(n=er(u,e))&&n.then||(n=Promise.resolve(n)),r?n.then(r):n}),iU=function(e){return function(){for(var t=[],i=0;i2&&void 0!==arguments[2]?arguments[2]:{},a=ea({url:w(e.remoteURL,b(t)),method:"OPTIONS"},e,r);return n=function(t){try{eZ(e,t)}catch(e){throw e}return{compliance:(t.headers.get("DAV")??"").split(",").map(e=>e.trim()),server:t.headers.get("Server")??""}},(i=er(a,e))&&i.then||(i=Promise.resolve(i)),n?i.then(n):i});function iq(e,t,i){return i?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}let iW=i$(function(e,t,i,n,r){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(i>n||i<0)throw new f({info:{code:N.InvalidUpdateRange}},`Invalid update range ${i} for partial update`);let s={"Content-Type":"application/octet-stream","Content-Length":""+(n-i+1),"Content-Range":`bytes ${i}-${n}/*`};return iq(er(ea({url:w(e.remoteURL,b(t)),method:"PUT",headers:s,data:r},e,a),e),function(t){eZ(e,t)})});function iV(e,t){var i=e();return i&&i.then?i.then(t):t(i)}let iH=i$(function(e,t,i,n,r){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(i>n||i<0)throw new f({info:{code:N.InvalidUpdateRange}},`Invalid update range ${i} for partial update`);let s={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(n-i+1),"X-Update-Range":`bytes=${i}-${n}`};return iq(er(ea({url:w(e.remoteURL,b(t)),method:"PATCH",headers:s,data:r},e,a),e),function(t){eZ(e,t)})});function i$(e){return function(){for(var t=[],i=0;i5&&void 0!==arguments[5]?arguments[5]:{};return iq(iU(e,t,a),function(s){let o=!1;return iV(function(){if(s.compliance.includes("sabredav-partialupdate"))return iq(iH(e,t,i,n,r,a),function(e){return o=!0,e})},function(l){let u=!1;return o?l:iV(function(){if(s.server.includes("Apache")&&s.compliance.includes(""))return iq(iW(e,t,i,n,r,a),function(e){return u=!0,e})},function(e){if(u)return e;throw new f({info:{code:N.NotSupported}},"Not supported")})})})}),iX="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function iK(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{authType:i=null,remoteBasePath:n,contactHref:r=iX,ha1:a,headers:s={},httpAgent:o,httpsAgent:l,password:u,token:d,username:c,withCredentials:h}=t,m=i;m||(m=c||u?P.Password:P.None);let g={authType:m,remoteBasePath:n,contactHref:r,ha1:a,headers:Object.assign({},s),httpAgent:o,httpsAgent:l,password:u,parsing:{attributeNamePrefix:t.attributeNamePrefix??"@",attributeParsers:[],tagParsers:[tV]},remotePath:k(e),remoteURL:e,token:d,username:c,withCredentials:h};return R(g,c,u,d,a),{copyFile:(e,t,i)=>e0(g,e,t,i),createDirectory:(e,t)=>t8(g,e,t),createReadStream:(e,t)=>(function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=new(0,t7().PassThrough);return ie(e,t,i).then(e=>{e.pipe(n)}).catch(e=>{n.emit("error",e)}),n})(g,e,t),createWriteStream:(e,t,i)=>(function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:it,r=new(0,t7().PassThrough),a={};return!1===i.overwrite&&(a["If-None-Match"]="*"),er(ea({url:w(e.remoteURL,b(t)),method:"PUT",headers:a,data:r,maxRedirects:0},e,i),e).then(t=>eZ(e,t)).then(e=>{setTimeout(()=>{n(e)},0)}).catch(e=>{r.emit("error",e)}),r})(g,e,t,i),customRequest:(e,t)=>ii(g,e,t),deleteFile:(e,t)=>ir(g,e,t),exists:(e,t)=>ia(g,e,t),getDirectoryContents:(e,t)=>io(g,e,t),getFileContents:(e,t)=>ih(g,e,t),getFileDownloadLink:e=>(function(e,t){let i=w(e.remoteURL,b(t)),n=/^https:/i.test(i)?"https":"http";switch(e.authType){case P.None:break;case P.Password:{let t=T(e.headers.Authorization.replace(/^Basic /i,"").trim());i=i.replace(/^https?:\/\//,`${n}://${t}@`);break}default:throw new f({info:{code:N.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${e.authType}`)}return i})(g,e),getFileUploadLink:e=>(function(e,t){let i=`${w(e.remoteURL,b(t))}?Content-Type=application/octet-stream`,n=/^https:/i.test(i)?"https":"http";switch(e.authType){case P.None:break;case P.Password:{let t=T(e.headers.Authorization.replace(/^Basic /i,"").trim());i=i.replace(/^https?:\/\//,`${n}://${t}@`);break}default:throw new f({info:{code:N.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${e.authType}`)}return i})(g,e),getHeaders:()=>Object.assign({},g.headers),getQuota:e=>iP(g,e),lock:(e,t)=>iM(g,e,t),moveFile:(e,t,i)=>iR(g,e,t,i),putFileContents:(e,t,i)=>iz(g,e,t,i),partialUpdateFileContents:(e,t,i,n,r)=>iG(g,e,t,i,n,r),getDAVCompliance:e=>iU(g,e),search:(e,t)=>iN(g,e,t),setHeaders:e=>{g.headers=Object.assign({},e)},stat:(e,t)=>tQ(g,e,t),unlock:(e,t,i)=>iT(g,e,t,i),registerAttributeParser:e=>{g.parsing.attributeParsers.push(e)},registerTagParser:e=>{g.parsing.tagParsers.push(e)}}}},3219(e){"use strict";e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},62951(e){"use strict";e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},64589(e){"use strict";e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},23241(e){"use strict";e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},1636(e){"use strict";e.exports={rE:"6.6.1"}},15579(e){"use strict";e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var i=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(i.exports,i,i.exports,__webpack_require__),i.loaded=!0,i.exports}__webpack_require__.m=__webpack_modules__,(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(i,n){if(1&n&&(i=this(i)),8&n||"object"==typeof i&&i&&(4&n&&i.__esModule||16&n&&"function"==typeof i.then))return i;var r=Object.create(null);__webpack_require__.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&i;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>{a[e]=()=>i[e]});return a.default=()=>i,__webpack_require__.d(r,a),r}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var i in t)__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,i)=>(__webpack_require__.f[i](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>"talk-"+e+".js?v="+({"defaultVendors-node_modules_extendable-media-recorder_build_es2019_module_js":"979fa401713730d6","defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js":"db7b595b1cd6577b","defaultVendors-node_modules_libphonenumber-js_index_js":"134bfb65521ff225","defaultVendors-node_modules_mdi_js_mdi_js-node_modules_nextcloud_dialogs_dist_chunks_preview--fca89e":"1559692c6774e483","defaultVendors-node_modules_nextcloud_dialogs_dist_chunks_ConflictPicker-D-B-WV0C_mjs":"ee91a5aaa35ba7fa","defaultVendors-node_modules_nextcloud_dialogs_dist_chunks__plugin-vue_export-helper-1tPrXgE0_-cacd92":"71c26ac1b4a3e129","defaultVendors-node_modules_nextcloud_vue_dist_assets_NcCheckboxRadioSwitch-BBLFj8M-_css-node-af512c":"2cf82f1d9424d7ee","defaultVendors-node_modules_nextcloud_vue_dist_components_NcColorPicker_index_mjs":"2618b24172f81a9a","defaultVendors-node_modules_nextcloud_vue_dist_components_NcDateTimePicker_index_mjs":"7b21e131f0d899e7","defaultVendors-node_modules_rehype-highlight_index_js":"b1cec67bb9cf5cbe","node_modules_extendable-media-recorder-wav-encoder_build_es2019_module_js":"f9fc62b7ed3fea49","node_modules_leaflet_dist_images_marker-icon-2x_png":"53e7409482ef3db5","node_modules_leaflet_dist_images_marker-icon_png":"2e128734b4d6a9ee","node_modules_leaflet_dist_images_marker-shadow_png":"98c8d1c3aa26a908","node_modules_nextcloud_dialogs_dist_chunks_PublicAuthPrompt-uFWxS9Cy_mjs":"079f7cb09ef95c96",src_utils_e2ee_JitsiEncryptionWorker_worker_js:"c5fb7e214b539667"})[e]})(),(()=>{__webpack_require__.miniCssF=e=>"../css/chunks/"+e+".chunk.css"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="talk:";__webpack_require__.l=function(i,n,r,a){if(e[i])return void e[i].push(n);if(void 0!==r)for(var s,o,l=document.getElementsByTagName("script"),u=0;u{__webpack_require__.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.rv=()=>"1.7.5"})(),(()=>{__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var e,t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var n=i.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=i[n--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");__webpack_require__.p=e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")})(),(()=>{if("u">typeof document){var e=function(e,t,i,n,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",__webpack_require__.nc&&(a.nonce=__webpack_require__.nc),a.href=t;var s=function(i){if(a.onerror=a.onload=null,"load"===i.type)n();else{var s=i&&("load"===i.type?"missing":i.type),o=i&&i.target&&i.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+o+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=s,l.request=o,a.parentNode&&a.parentNode.removeChild(a),r(l)}};return a.onerror=a.onload=s,i?i.parentNode.insertBefore(a,i.nextSibling):document.head.appendChild(a),a},t=function(e,t){for(var i=document.getElementsByTagName("link"),n=0;n{__webpack_require__.b=document.baseURI||self.location.href;var e={recording:0};__webpack_require__.f.j=function(t,i){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)i.push(n[2]);else if(/^node_modules_nextcloud_vue_dist_assets_NcC(heckboxRadioSwitch\-BBLFj8M\-_css\-node_modules_nextcl\-380211|olorPicker\-CCanY5eB_css)$/.test(t))e[t]=0;else{var r=new Promise((i,r)=>n=e[t]=[i,r]);i.push(n[2]=r);var a=__webpack_require__.p+__webpack_require__.u(t),s=Error(),o=function(i){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var r=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+a+")",s.name="ChunkLoadError",s.type=r,s.request=a,n[1](s)}};__webpack_require__.l(a,o,"chunk-"+t,t)}};var t=(t,i)=>{var n,r,[a,s,o]=i,l=0;if(a.some(t=>0!==e[t])){for(n in s)__webpack_require__.o(s,n)&&(__webpack_require__.m[n]=s[n]);o&&o(__webpack_require__)}for(t&&t(i);l{__webpack_require__.ruid="bundler=rspack@1.7.5"})();var __webpack_exports__={};(()=>{"use strict";let e,t,i,n,r,a,s,o,l,u,d,c,h,f,m,g,p,_,b,y,F,k,w,C,A,E,S,x,D,T;var M={};__webpack_require__.r(M),__webpack_require__.d(M,{fixNegotiationNeeded:()=>ga,shimAddTrackRemoveTrack:()=>gn,shimAddTrackRemoveTrackWithNative:()=>gi,shimGetSendersWithDtmf:()=>ge,shimGetUserMedia:()=>m8,shimMediaStream:()=>m9,shimOnTrack:()=>m7,shimPeerConnection:()=>gr,shimSenderReceiverGetStats:()=>gt});var I={};__webpack_require__.r(I),__webpack_require__.d(I,{shimAddTransceiver:()=>gm,shimCreateAnswer:()=>g_,shimCreateOffer:()=>gp,shimGetDisplayMedia:()=>go,shimGetParameters:()=>gg,shimGetUserMedia:()=>gs,shimOnTrack:()=>gl,shimPeerConnection:()=>gu,shimRTCDataChannel:()=>gf,shimReceiverGetStats:()=>gc,shimRemoveStream:()=>gh,shimSenderGetStats:()=>gd});var B={};__webpack_require__.r(B),__webpack_require__.d(B,{shimAudioContext:()=>gE,shimCallbacksAPI:()=>gy,shimConstraints:()=>gk,shimCreateOfferLegacy:()=>gA,shimGetUserMedia:()=>gF,shimLocalStreamsAPI:()=>gv,shimRTCIceServerUrls:()=>gw,shimRemoteStreamsAPI:()=>gb,shimTrackEventTransceiver:()=>gC});var P={};__webpack_require__.r(P),__webpack_require__.d(P,{removeExtmapAllowMixed:()=>gP,shimAddIceCandidateNullOrEmpty:()=>gL,shimConnectionState:()=>gB,shimMaxMessageSize:()=>gM,shimParameterlessSetLocalDescription:()=>gN,shimRTCIceCandidate:()=>gD,shimRTCIceCandidateRelayProtocol:()=>gT,shimSendThrowTypeError:()=>gI});var N={};__webpack_require__.r(N),__webpack_require__.d(N,{boolean:()=>Uy,booleanish:()=>UF,commaOrSpaceSeparated:()=>UE,commaSeparated:()=>UA,number:()=>Uw,overloadedBoolean:()=>Uk,spaceSeparated:()=>UC});var R={};__webpack_require__.r(R),__webpack_require__.d(R,{attentionMarkers:()=>VW,contentInitial:()=>VR,disable:()=>VV,document:()=>VN,flow:()=>VO,flowInitial:()=>Vj,insideSpan:()=>Vq,string:()=>Vz,text:()=>VU});var j=__webpack_require__(21777),O=__webpack_require__(63814),z=__webpack_require__(8756),q=__webpack_require__(55442);let W={key:6,class:"dev-mode-video--promoted"},V=["alt","src"];function H(e,t,i,n,r,a){let s=(0,z.g2)("ViewerOverlayCallView"),o=(0,z.g2)("EmptyCallView"),l=(0,z.g2)("VideoVue"),u=(0,z.g2)("LocalVideo"),d=(0,z.g2)("ScreenShare"),c=(0,z.g2)("PresenterOverlay"),h=(0,z.g2)("VideoBottomBar"),f=(0,z.g2)("VideosGrid"),m=(0,z.g2)("ReactionToaster"),g=(0,z.g2)("LiveTranscriptionRenderer"),p=(0,z.g2)("BottomBar");return(0,z.uX)(),(0,z.CE)("div",{id:"call-container",class:(0,z.C4)(a.callContainerClass)},[a.isViewerOverlay?((0,z.uX)(),(0,z.Wv)(s,{key:0,token:i.token,model:a.promotedParticipantModel,sharedData:a.promotedParticipantModel&&r.sharedDatas[a.promotedParticipantModel.attributes.peerId],screens:r.screens,localSharedData:r.localSharedData},null,8,["token","model","sharedData","screens","localSharedData"])):((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[a.showEmptyCallView?((0,z.uX)(),(0,z.Wv)(o,{key:0,isSidebar:i.isSidebar},null,8,["isSidebar"])):(0,z.Q3)("",!0),(0,z.Lk)("div",{id:"videos",class:(0,z.C4)({"is-sidebar":i.isSidebar})},[(n.devMode?a.isGrid:a.isGrid&&a.callParticipantModels.length)?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",{key:0,class:(0,z.C4)(["video__promoted",{"full-page":a.showFullPage}])},[a.showSelectedVideo&&a.selectedCallParticipantModel?((0,z.uX)(),(0,z.Wv)(l,{key:`promoted-${a.selectedVideoPeerId}`,token:i.token,model:a.selectedCallParticipantModel,sharedData:r.sharedDatas[a.selectedVideoPeerId],showTalkingHighlight:!1,isOneToOne:a.isOneToOne,isGrid:"",isBig:"",fitVideo:""},null,8,["token","model","sharedData","isOneToOne"])):a.showLocalVideo?((0,z.uX)(),(0,z.Wv)(u,{key:1,ref:"localVideo",token:i.token,localMediaModel:n.localMediaModel,localCallParticipantModel:n.localCallParticipantModel,isStripe:!1,showControls:!1,isSidebar:!1,isBig:"",fitVideo:""},null,8,["token","localMediaModel","localCallParticipantModel"])):a.showLocalScreen?((0,z.uX)(),(0,z.Wv)(d,{key:"screen-local",token:i.token,localMediaModel:n.localMediaModel,sharedData:r.localSharedData,isBig:""},null,8,["token","localMediaModel","sharedData"])):(a.showRemoteScreen||a.showSelectedScreen)&&a.shownRemoteScreenCallParticipantModel?((0,z.uX)(),(0,z.Wv)(d,{key:`screen-${a.shownRemoteScreenPeerId}`,token:i.token,callParticipantModel:a.shownRemoteScreenCallParticipantModel,sharedData:r.sharedDatas[a.shownRemoteScreenPeerId],isBig:""},null,8,["token","callParticipantModel","sharedData"])):a.promotedParticipantModel?((0,z.uX)(),(0,z.Wv)(l,{key:`autopilot-${a.promotedParticipantModel.attributes.peerId}`,token:i.token,model:a.promotedParticipantModel,sharedData:r.sharedDatas[a.promotedParticipantModel.attributes.peerId],showTalkingHighlight:!1,isGrid:"",fitVideo:"",isBig:"",isOneToOne:a.isOneToOne,isSidebar:i.isSidebar,onForcePromoteVideo:t[0]||(t[0]=e=>r.forcePromotedModel=e)},null,8,["token","model","sharedData","isOneToOne","isSidebar"])):(0,z.Q3)("",!0),a.shouldShowPresenterOverlay?((0,z.uX)(),(0,z.Wv)(c,{key:5,token:i.token,model:a.presenterModel,sharedData:a.presenterSharedData,isLocalPresenter:a.showLocalScreen,localMediaModel:n.localMediaModel,isCollapsed:!r.showPresenterOverlay,onClick:a.toggleShowPresenterOverlay},null,8,["token","model","sharedData","isLocalPresenter","localMediaModel","isCollapsed","onClick"])):n.devMode&&!a.isGrid?((0,z.uX)(),(0,z.CE)("div",W,[(0,z.Lk)("img",{alt:a.placeholderName(6),src:a.placeholderImage(6)},null,8,V),(0,z.bF)(h,{hasShadow:!1,model:a.placeholderModel(6),sharedData:a.placeholderSharedData(6),token:i.token,participantName:a.placeholderName(6),isBig:""},null,8,["model","sharedData","token","participantName"])])):(0,z.Q3)("",!0)],2)),i.isSidebar?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(f,(0,z.v6)({key:1,isStripe:n.devMode?!a.isGrid:!a.isGrid||!a.callParticipantModels.length,isRecording:i.isRecording,token:i.token,hasPagination:!0,isOverlap:a.showFullPage,callParticipantModels:a.callParticipantModels,screens:r.screens,localMediaModel:n.localMediaModel,localCallParticipantModel:n.localCallParticipantModel,sharedDatas:r.sharedDatas},e.$attrs,{onSelectVideo:a.handleSelectVideo,onClickLocalVideo:a.handleClickLocalVideo}),null,16,["isStripe","isRecording","token","isOverlap","callParticipantModels","screens","localMediaModel","localCallParticipantModel","sharedDatas","onSelectVideo","onClickLocalVideo"])),a.supportedReactions?.length?((0,z.uX)(),(0,z.Wv)(m,{key:2,token:i.token,supportedReactions:a.supportedReactions,callParticipantModels:a.callParticipantModels},null,8,["token","supportedReactions","callParticipantModels"])):(0,z.Q3)("",!0),a.isLiveTranscriptionEnabled?((0,z.uX)(),(0,z.Wv)(g,{key:3,token:i.token,callParticipantModels:a.callParticipantModels},null,8,["token","callParticipantModels"])):(0,z.Q3)("",!0),i.isSidebar&&!a.showLocalVideo?((0,z.uX)(),(0,z.Wv)(u,{key:4,ref:"localVideo",class:(0,z.C4)(["local-video",{"local-video--sidebar":i.isSidebar}]),showControls:!1,fitVideo:!0,isStripe:!0,token:i.token,localMediaModel:n.localMediaModel,localCallParticipantModel:n.localCallParticipantModel,isSidebar:i.isSidebar,onClickVideo:a.handleClickLocalVideo},null,8,["class","token","localMediaModel","localCallParticipantModel","isSidebar","onClickVideo"])):(0,z.Q3)("",!0)],2),i.isRecording?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(p,{key:1,isSidebar:i.isSidebar},null,8,["isSidebar"]))],64))],2)}var $=__webpack_require__(82439),G=__webpack_require__(61338),X=__webpack_require__(81222),K=__webpack_require__(53334),Y=__webpack_require__(46855),Q=__webpack_require__(68732),Z=__webpack_require__(37396),J=__webpack_require__(83868);function ee(){return et().__VUE_DEVTOOLS_GLOBAL_HOOK__}function et(){return"u">typeof navigator&&"u">typeof window?window:"u">typeof globalThis?globalThis:{}}let ei="function"==typeof Proxy,en="devtools-plugin:setup",er="plugin:settings:set";function ea(){var i;return void 0!==e||("u">typeof window&&window.performance?(e=!0,t=window.performance):"u">typeof globalThis&&(null==(i=globalThis.perf_hooks)?void 0:i.performance)?(e=!0,t=globalThis.perf_hooks.performance):e=!1),e}function es(){return ea()?t.now():Date.now()}class eo{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const i={};if(e.settings)for(const t in e.settings){const n=e.settings[t];i[t]=n.defaultValue}const n=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},i);try{const e=localStorage.getItem(n),t=JSON.parse(e);Object.assign(r,t)}catch(e){}this.fallbacks={getSettings:()=>r,setSettings(e){try{localStorage.setItem(n,JSON.stringify(e))}catch(e){}r=e},now:()=>es()},t&&t.on(er,(e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)}),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise(i=>{this.targetQueue.push({method:t,args:e,resolve:i})})})}async setRealTarget(e){for(let t of(this.target=e,this.onQueue))this.target.on[t.method](...t.args);for(let e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function el(e,t){let i=e,n=et(),r=ee(),a=ei&&i.enableEarlyProxy;if(r&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))r.emit(en,e,t);else{let e=a?new eo(i,r):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:i,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}}var eu="store";function ed(e){return void 0===e&&(e=null),(0,z.WQ)(null!==e?e:eu)}function ec(e,t){return e.filter(t)[0]}function eh(e,t){Object.keys(e).forEach(function(i){return t(e[i],i)})}function ef(e){return null!==e&&"object"==typeof e}function em(e){return e&&"function"==typeof e.then}function eg(e,t){return function(){return e(t)}}function ep(e,t,i){return 0>t.indexOf(e)&&(i&&i.prepend?t.unshift(e):t.push(e)),function(){var i=t.indexOf(e);i>-1&&t.splice(i,1)}}function e_(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var i=e.state;eb(e,i,[],e._modules.root,!0),ev(e,i,t)}function ev(e,t,i){var n=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,s={},o={},l=(0,z.uY)(!0);l.run(function(){eh(a,function(t,i){s[i]=eg(t,e),o[i]=(0,z.EW)(function(){return s[i]()}),Object.defineProperty(e.getters,i,{get:function(){return o[i].value},enumerable:!0})})}),e._state=(0,z.Kh)({data:t}),e._scope=l,e.strict&&eA(e),n&&i&&e._withCommit(function(){n.data=null}),r&&r.stop()}function eb(e,t,i,n,r){var a=!i.length,s=e._modules.getNamespace(i);if(n.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=n),!a&&!r){var o=eE(t,i.slice(0,-1)),l=i[i.length-1];e._withCommit(function(){o[l]=n.state})}var u=n.context=ey(e,s,i);n.forEachMutation(function(t,i){ek(e,s+i,t,u)}),n.forEachAction(function(t,i){ew(e,t.root?i:s+i,t.handler||t,u)}),n.forEachGetter(function(t,i){eC(e,s+i,t,u)}),n.forEachChild(function(n,a){eb(e,t,i.concat(a),n,r)})}function ey(e,t,i){var n=""===t,r={dispatch:n?e.dispatch:function(i,n,r){var a=eS(i,n,r),s=a.payload,o=a.options,l=a.type;return o&&o.root||(l=t+l),e.dispatch(l,s)},commit:n?e.commit:function(i,n,r){var a=eS(i,n,r),s=a.payload,o=a.options,l=a.type;o&&o.root||(l=t+l),e.commit(l,s,o)}};return Object.defineProperties(r,{getters:{get:n?function(){return e.getters}:function(){return eF(e,t)}},state:{get:function(){return eE(e.state,i)}}}),r}function eF(e,t){if(!e._makeLocalGettersCache[t]){var i={},n=t.length;Object.keys(e.getters).forEach(function(r){if(r.slice(0,n)===t){var a=r.slice(n);Object.defineProperty(i,a,{get:function(){return e.getters[r]},enumerable:!0})}}),e._makeLocalGettersCache[t]=i}return e._makeLocalGettersCache[t]}function ek(e,t,i,n){(e._mutations[t]||(e._mutations[t]=[])).push(function(t){i.call(e,n.state,t)})}function ew(e,t,i,n){(e._actions[t]||(e._actions[t]=[])).push(function(t){var r=i.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return(em(r)||(r=Promise.resolve(r)),e._devtoolHook)?r.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):r})}function eC(e,t,i,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return i(n.state,n.getters,e.state,e.getters)})}function eA(e){(0,z.wB)(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function eE(e,t){return t.reduce(function(e,t){return e[t]},e)}function eS(e,t,i){return ef(e)&&e.type&&(i=t,t=e,e=e.type),{type:e,payload:t,options:i}}var ex="vuex bindings",eD="vuex:mutations",eT="vuex:actions",eM="vuex",eI=0;function eB(e,t){el({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[ex]},function(i){i.addTimelineLayer({id:eD,label:"Vuex Mutations",color:eP}),i.addTimelineLayer({id:eT,label:"Vuex Actions",color:eP}),i.addInspector({id:eM,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),i.on.getInspectorTree(function(i){if(i.app===e&&i.inspectorId===eM)if(i.filter){var n=[];ej(n,t._modules.root,i.filter,""),i.rootNodes=n}else i.rootNodes=[eR(t._modules.root,"")]}),i.on.getInspectorState(function(i){if(i.app===e&&i.inspectorId===eM){var n=i.nodeId;eF(t,n),i.state=eO(eU(t._modules,n),"root"===n?t.getters:t._makeLocalGettersCache,n)}}),i.on.editInspectorState(function(i){if(i.app===e&&i.inspectorId===eM){var n=i.nodeId,r=i.path;"root"!==n&&(r=n.split("/").filter(Boolean).concat(r)),t._withCommit(function(){i.set(t._state.data,r,i.state.value)})}}),t.subscribe(function(e,t){var n={};e.payload&&(n.payload=e.payload),n.state=t,i.notifyComponentUpdate(),i.sendInspectorTree(eM),i.sendInspectorState(eM),i.addTimelineEvent({layerId:eD,event:{time:Date.now(),title:e.type,data:n}})}),t.subscribeAction({before:function(e,t){var n={};e.payload&&(n.payload=e.payload),e._id=eI++,e._time=Date.now(),n.state=t,i.addTimelineEvent({layerId:eT,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:n}})},after:function(e,t){var n={},r=Date.now()-e._time;n.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},e.payload&&(n.payload=e.payload),n.state=t,i.addTimelineEvent({layerId:eT,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:n}})}})})}var eP=8702998,eL={label:"namespaced",textColor:0xffffff,backgroundColor:6710886};function eN(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function eR(e,t){return{id:t||"root",label:eN(t),tags:e.namespaced?[eL]:[],children:Object.keys(e._children).map(function(i){return eR(e._children[i],t+i+"/")})}}function ej(e,t,i,n){n.includes(i)&&e.push({id:n||"root",label:n.endsWith("/")?n.slice(0,n.length-1):n||"Root",tags:t.namespaced?[eL]:[]}),Object.keys(t._children).forEach(function(r){ej(e,t._children[r],i,n+r+"/")})}function eO(e,t,i){var n=Object.keys(t="root"===i?t:t[i]),r={state:Object.keys(e.state).map(function(t){return{key:t,editable:!0,value:e.state[t]}})};if(n.length){var a=ez(t);r.getters=Object.keys(a).map(function(e){return{key:e.endsWith("/")?eN(e):e,editable:!1,value:eq(function(){return a[e]})}})}return r}function ez(e){var t={};return Object.keys(e).forEach(function(i){var n=i.split("/");if(n.length>1){var r=t,a=n.pop();n.forEach(function(e){r[e]||(r[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),r=r[e]._custom.value}),r[a]=eq(function(){return e[i]})}else t[i]=eq(function(){return e[i]})}),t}function eU(e,t){var i=t.split("/").filter(function(e){return e});return i.reduce(function(e,n,r){var a=e[n];if(!a)throw Error('Missing module "'+n+'" for path "'+t+'".');return r===i.length-1?a:a._children},"root"===t?e:e.root._children)}function eq(e){try{return e()}catch(e){return e}}var eW=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var i=e.state;this.state=("function"==typeof i?i():i)||{}},eV={namespaced:{configurable:!0}};eV.namespaced.get=function(){return!!this._rawModule.namespaced},eW.prototype.addChild=function(e,t){this._children[e]=t},eW.prototype.removeChild=function(e){delete this._children[e]},eW.prototype.getChild=function(e){return this._children[e]},eW.prototype.hasChild=function(e){return e in this._children},eW.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},eW.prototype.forEachChild=function(e){eh(this._children,e)},eW.prototype.forEachGetter=function(e){this._rawModule.getters&&eh(this._rawModule.getters,e)},eW.prototype.forEachAction=function(e){this._rawModule.actions&&eh(this._rawModule.actions,e)},eW.prototype.forEachMutation=function(e){this._rawModule.mutations&&eh(this._rawModule.mutations,e)},Object.defineProperties(eW.prototype,eV);var eH=function(e){this.register([],e,!1)};function e$(e,t,i){if(t.update(i),i.modules)for(var n in i.modules){if(!t.getChild(n))return;e$(e.concat(n),t.getChild(n),i.modules[n])}}eH.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},eH.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,i){return e+((t=t.getChild(i)).namespaced?i+"/":"")},"")},eH.prototype.update=function(e){e$([],this.root,e)},eH.prototype.register=function(e,t,i){var n=this;void 0===i&&(i=!0);var r=new eW(t,i);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r),t.modules&&eh(t.modules,function(t,r){n.register(e.concat(r),t,i)})},eH.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),i=e[e.length-1],n=t.getChild(i);!n||n.runtime&&t.removeChild(i)},eH.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),i=e[e.length-1];return!!t&&t.hasChild(i)};function eG(e){return new eX(e)}var eX=function(e){var t=this;void 0===e&&(e={});var i=e.plugins;void 0===i&&(i=[]);var n=e.strict;void 0===n&&(n=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new eH(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var a=this,s=this,o=s.dispatch,l=s.commit;this.dispatch=function(e,t){return o.call(a,e,t)},this.commit=function(e,t,i){return l.call(a,e,t,i)},this.strict=n;var u=this._modules.root.state;eb(this,u,[],this._modules.root),ev(this,u),i.forEach(function(e){return e(t)})},eK={state:{configurable:!0}};function eY(e){return eQ(e)?Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function eQ(e){return Array.isArray(e)||ef(e)}function eZ(e){return function(t,i){return"string"!=typeof t?(i=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,i)}}function eJ(e,t,i){return e._modulesNamespaceMap[i]}eX.prototype.install=function(e,t){e.provide(t||eu,this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&eB(e,this)},eK.state.get=function(){return this._state.data},eK.state.set=function(e){},eX.prototype.commit=function(e,t,i){var n=this,r=eS(e,t,i),a=r.type,s=r.payload;r.options;var o={type:a,payload:s},l=this._mutations[a];l&&(this._withCommit(function(){l.forEach(function(e){e(s)})}),this._subscribers.slice().forEach(function(e){return e(o,n.state)}))},eX.prototype.dispatch=function(e,t){var i=this,n=eS(e,t),r=n.type,a=n.payload,s={type:r,payload:a},o=this._actions[r];if(o){try{this._actionSubscribers.slice().filter(function(e){return e.before}).forEach(function(e){return e.before(s,i.state)})}catch(e){}var l=o.length>1?Promise.all(o.map(function(e){return e(a)})):o[0](a);return new Promise(function(e,t){l.then(function(t){try{i._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(s,i.state)})}catch(e){}e(t)},function(e){try{i._actionSubscribers.filter(function(e){return e.error}).forEach(function(t){return t.error(s,i.state,e)})}catch(e){}t(e)})})}},eX.prototype.subscribe=function(e,t){return ep(e,this._subscribers,t)},eX.prototype.subscribeAction=function(e,t){return ep("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},eX.prototype.watch=function(e,t,i){var n=this;return(0,z.wB)(function(){return e(n.state,n.getters)},t,Object.assign({},i))},eX.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._state.data=e})},eX.prototype.registerModule=function(e,t,i){void 0===i&&(i={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),eb(this,this.state,e,this._modules.get(e),i.preserveState),ev(this,this.state)},eX.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var i=eE(t.state,e.slice(0,-1));delete i[e[e.length-1]]}),e_(this)},eX.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},eX.prototype.hotUpdate=function(e){this._modules.update(e),e_(this,!0)},eX.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(eX.prototype,eK),eZ(function(e,t){var i={};return eY(t).forEach(function(t){var n=t.key,r=t.val;i[n]=function(){var t=this.$store.state,i=this.$store.getters;if(e){var n=eJ(this.$store,"mapState",e);if(!n)return;t=n.context.state,i=n.context.getters}return"function"==typeof r?r.call(this,t,i):t[r]},i[n].vuex=!0}),i}),eZ(function(e,t){var i={};return eY(t).forEach(function(t){var n=t.key,r=t.val;i[n]=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=this.$store.commit;if(e){var a=eJ(this.$store,"mapMutations",e);if(!a)return;n=a.context.commit}return"function"==typeof r?r.apply(this,[n].concat(t)):n.apply(this.$store,[r].concat(t))}}),i}),eZ(function(e,t){var i={};return eY(t).forEach(function(t){var n=t.key,r=t.val;r=e+r,i[n]=function(){if(!e||eJ(this.$store,"mapGetters",e))return this.$store.getters[r]},i[n].vuex=!0}),i}),eZ(function(e,t){var i={};return eY(t).forEach(function(t){var n=t.key,r=t.val;i[n]=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=this.$store.dispatch;if(e){var a=eJ(this.$store,"mapActions",e);if(!a)return;n=a.context.dispatch}return"function"==typeof r?r.apply(this,[n].concat(t)):n.apply(this.$store,[r].concat(t))}}),i});function e0(e,t){return Array(t+1).join(e)}function e1(e,t){return e0("0",t-e.toString().length)+e}var e2=__webpack_require__(48060),e3=__webpack_require__(15797),e4=__webpack_require__(52697);let e6={name:"NcActionSeparator"},e5={class:"action action-separator action--disabled",role:"separator"};function e8(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("li",e5)}let e9=(0,e4._)(e6,[["render",e8],["__scopeId","data-v-3e2324b7"]]);var e7=__webpack_require__(15446),te=__webpack_require__(74363);let tt=["aria-hidden","aria-label"],ti=["fill","width","height"],tn={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},tr={key:0};function ta(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",tn,[i.title?((0,z.uX)(),(0,z.CE)("title",tr,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ti))],16,tt)}let ts={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var to=__webpack_require__(66262);let tl=(0,to.default)(ts,[["render",ta]]),tu=["aria-hidden","aria-label"],td=["fill","width","height"],tc={d:"M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"},th={key:0};function tf(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon fullscreen-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",tc,[i.title?((0,z.uX)(),(0,z.CE)("title",th,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,td))],16,tu)}let tm={name:"FullscreenIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tg=(0,to.default)(tm,[["render",tf]]),tp=["aria-hidden","aria-label"],t_=["fill","width","height"],tv={d:"M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z"},tb={key:0};function ty(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon fullscreen-exit-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",tv,[i.title?((0,z.uX)(),(0,z.CE)("title",tb,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,t_))],16,tp)}let tF={name:"FullscreenExitIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tk=(0,to.default)(tF,[["render",ty]]),tw=["aria-hidden","aria-label"],tC=["fill","width","height"],tA={d:"M3 16V5.75C3 5.06 3.56 4.5 4.25 4.5S5.5 5.06 5.5 5.75V12H6.5V2.75C6.5 2.06 7.06 1.5 7.75 1.5C8.44 1.5 9 2.06 9 2.75V12H10V1.25C10 .56 10.56 0 11.25 0S12.5 .56 12.5 1.25V12H13.5V3.25C13.5 2.56 14.06 2 14.75 2S16 2.56 16 3.25V15H16.75L18.16 11.47C18.38 10.92 18.84 10.5 19.4 10.31L20.19 10.05C21 9.79 21.74 10.58 21.43 11.37L18.4 19C17.19 22 14.26 24 11 24C6.58 24 3 20.42 3 16Z"},tE={key:0};function tS(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon hand-back-left-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",tA,[i.title?((0,z.uX)(),(0,z.CE)("title",tE,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,tC))],16,tw)}let tx={name:"HandBackLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tD=(0,to.default)(tx,[["render",tS]]),tT=["aria-hidden","aria-label"],tM=["fill","width","height"],tI={d:"M3 16C3 20.42 6.58 24 11 24C14.43 24 17.5 21.91 18.77 18.73L21.33 12.3C21.58 11.66 21.56 10.92 21.18 10.35C20.69 9.61 19.82 9.29 19 9.5L18.22 9.73C17.76 9.85 17.34 10.08 17 10.39V4.5C17 3.12 15.88 2 14.5 2C14.31 2 14.13 2 13.96 2.06C13.75 .89 12.73 0 11.5 0C10.44 0 9.54 .66 9.17 1.59C8.96 1.53 8.73 1.5 8.5 1.5C7.12 1.5 6 2.62 6 4V4.55C5.84 4.5 5.67 4.5 5.5 4.5C4.12 4.5 3 5.62 3 7V16M5 7C5 6.72 5.22 6.5 5.5 6.5S6 6.72 6 7V12H8V4C8 3.72 8.22 3.5 8.5 3.5S9 3.72 9 4V12H11V2.5C11 2.22 11.22 2 11.5 2S12 2.22 12 2.5V12H14V4.5C14 4.22 14.22 4 14.5 4S15 4.22 15 4.5V15H17L18 12.5C18.15 12.05 18.5 11.71 19 11.59L19.5 11.45L16.91 18C15.95 20.41 13.61 22 11 22C7.69 22 5 19.31 5 16V7Z"},tB={key:0};function tP(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon hand-back-left-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",tI,[i.title?((0,z.uX)(),(0,z.CE)("title",tB,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,tM))],16,tT)}let tL={name:"HandBackLeftOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tN=(0,to.default)(tL,[["render",tP]]),tR=["aria-hidden","aria-label"],tj=["fill","width","height"],tO={d:"M20,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M4,12H8V14H4V12M14,18H4V16H14V18M20,18H16V16H20V18M20,14H10V12H20V14Z"},tz={key:0};function tU(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon subtitles-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",tO,[i.title?((0,z.uX)(),(0,z.CE)("title",tz,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,tj))],16,tR)}let tq={name:"SubtitlesIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tW=(0,to.default)(tq,[["render",tU]]),tV=["aria-hidden","aria-label"],tH=["fill","width","height"],t$={d:"M20,4A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4H20M20,18V6H4V18H20M6,10H8V12H6V10M6,14H14V16H6V14M16,14H18V16H16V14M10,10H18V12H10V10Z"},tG={key:0};function tX(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon subtitles-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",t$,[i.title?((0,z.uX)(),(0,z.CE)("title",tG,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,tH))],16,tV)}let tK={name:"SubtitlesOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tY=(0,to.default)(tK,[["render",tX]]),tQ=["aria-hidden","aria-label"],tZ=["fill","width","height"],tJ={d:"M1 3V21H23V3H1M21 5V14H3V5H21M11 16V19H8V16H11M3 16H6V19H3V16M13 19V16H16V19H13M18 19V16H21V19H18Z"},t0={key:0};function t1(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon view-gallery-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",tJ,[i.title?((0,z.uX)(),(0,z.CE)("title",t0,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,tZ))],16,tQ)}let t2={name:"ViewGalleryOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},t3=(0,to.default)(t2,[["render",t1]]),t4=["aria-hidden","aria-label"],t6=["fill","width","height"],t5={d:"M3 11H11V3H3M5 5H9V9H5M13 21H21V13H13M15 15H19V19H15M3 21H11V13H3M5 15H9V19H5M13 3V11H21V3M19 9H15V5H19Z"},t8={key:0};function t9(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon view-grid-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",t5,[i.title?((0,z.uX)(),(0,z.CE)("title",t8,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,t6))],16,t4)}let t7={name:"ViewGridOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ie=(0,to.default)(t7,[["render",t9]]);function it(e,t,i,n,r,a){let s=(0,z.g2)("NcLoadingIcon"),o=(0,z.g2)("IconPhoneDialOutline"),l=(0,z.g2)("IconPhoneOutline"),u=(0,z.g2)("IconPhone"),d=(0,z.g2)("NcButton"),c=(0,z.g2)("IconPhoneHangupOutline"),h=(0,z.g2)("IconChevronUp"),f=(0,z.g2)("IconArrowLeft"),m=(0,z.g2)("NcActionButton"),g=(0,z.g2)("IconPhoneOffOutline"),p=(0,z.g2)("NcActions");return a.showStartCallButton?((0,z.uX)(),(0,z.Wv)(d,{key:0,title:a.startCallTitle,"aria-label":a.startCallLabel,disabled:a.startCallButtonDisabled||r.loading||a.isJoiningCall,class:"join-call",variant:a.hasCall?"success":"primary",onClick:a.handleClick},(0,z.eX)({icon:(0,z.k6)(()=>[a.isJoiningCall||r.loading?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:20})):a.isPhoneRoom?((0,z.uX)(),(0,z.Wv)(o,{key:1,size:20})):i.silentCall?((0,z.uX)(),(0,z.Wv)(l,{key:2,size:20})):((0,z.uX)(),(0,z.Wv)(u,{key:3,size:20}))]),_:2},[a.showButtonText?{name:"default",fn:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.startCallLabel),1)]),key:"0"}:void 0]),1032,["title","aria-label","disabled","variant","onClick"])):a.showLeaveCallButton&&a.canEndForAll&&a.isPhoneRoom?((0,z.uX)(),(0,z.Wv)(d,{key:1,"aria-label":a.endCallLabel,class:"leave-call",variant:"error",disabled:r.loading,onClick:t[0]||(t[0]=e=>a.leaveCall(!0))},(0,z.eX)({icon:(0,z.k6)(()=>[r.loading?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(c,{key:1,size:20}))]),_:2},[a.showButtonText?{name:"default",fn:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.endCallLabel),1)]),key:"0"}:void 0]),1032,["aria-label","disabled"])):!a.showLeaveCallButton||a.canEndForAll||a.isBreakoutRoom?a.showLeaveCallButton&&(a.canEndForAll||a.isBreakoutRoom)?((0,z.uX)(),(0,z.Wv)(p,{key:3,class:"leave-call leave-call-actions--split",disabled:r.loading,forceName:a.showButtonText,placement:"top-end","aria-label":a.leaveCallActionsLabel,inline:1,variant:a.leaveCallButtonVariant},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),default:(0,z.k6)(()=>[a.isBreakoutRoom?((0,z.uX)(),(0,z.Wv)(m,{key:0,"aria-label":a.backToMainRoomLabel,onClick:a.switchToParentRoom},(0,z.eX)({icon:(0,z.k6)(()=>[(0,z.bF)(f,{class:"bidirectional-icon",size:20})]),_:2},[a.showButtonText?{name:"default",fn:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.backToMainRoomLabel),1)]),key:"0"}:void 0]),1032,["aria-label","onClick"])):(0,z.Q3)("",!0),(0,z.bF)(m,{class:"leave-call-button--split","aria-label":a.leaveCallLabel,onClick:t[2]||(t[2]=e=>a.leaveCall(!1))},(0,z.eX)({icon:(0,z.k6)(()=>[r.loading?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(c,{key:1,size:20}))]),_:2},[a.showButtonText||a.isBreakoutRoom?{name:"default",fn:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.leaveCallLabel),1)]),key:"0"}:void 0]),1032,["aria-label"]),a.canEndForAll?((0,z.uX)(),(0,z.Wv)(m,{key:1,onClick:t[3]||(t[3]=e=>a.leaveCall(!0))},{icon:(0,z.k6)(()=>[(0,z.bF)(g,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","End call for everyone")),1)]),_:1})):(0,z.Q3)("",!0)]),_:1},8,["disabled","forceName","aria-label","variant"])):(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(d,{key:2,"aria-label":a.leaveCallLabel,class:"leave-call",variant:i.isScreensharing?"tertiary":"error",disabled:r.loading,onClick:t[1]||(t[1]=e=>a.leaveCall(!1))},(0,z.eX)({icon:(0,z.k6)(()=>[r.loading?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(c,{key:1,size:20}))]),_:2},[a.showButtonText?{name:"default",fn:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.leaveCallLabel),1)]),key:"0"}:void 0]),1032,["aria-label","variant","disabled"]))}let ii=["aria-hidden","aria-label"],ir=["fill","width","height"],ia={d:"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"},is={key:0};function io(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon arrow-left-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ia,[i.title?((0,z.uX)(),(0,z.CE)("title",is,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ir))],16,ii)}let il={name:"ArrowLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},iu=(0,to.default)(il,[["render",io]]),id=["aria-hidden","aria-label"],ic=["fill","width","height"],ih={d:"M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z"},im={key:0};function ig(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon phone-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ih,[i.title?((0,z.uX)(),(0,z.CE)("title",im,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ic))],16,id)}let ip={name:"PhoneIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},i_=(0,to.default)(ip,[["render",ig]]),iv=["aria-hidden","aria-label"],ib=["fill","width","height"],iy={d:"M20 15.5C18.8 15.5 17.5 15.3 16.4 14.9H16.1C15.8 14.9 15.6 15 15.4 15.2L13.2 17.4C10.4 15.9 8 13.6 6.6 10.8L8.8 8.6C9.1 8.3 9.2 7.9 9 7.6C8.7 6.5 8.5 5.2 8.5 4C8.5 3.5 8 3 7.5 3H4C3.5 3 3 3.5 3 4C3 13.4 10.6 21 20 21C20.5 21 21 20.5 21 20V16.5C21 16 20.5 15.5 20 15.5M5 5H6.5C6.6 5.9 6.8 6.8 7 7.6L5.8 8.8C5.4 7.6 5.1 6.3 5 5M19 19C17.7 18.9 16.4 18.6 15.2 18.2L16.4 17C17.2 17.2 18.1 17.4 19 17.4V19M15 4C15 4.6 14.6 5 14 5S13 4.6 13 4 13.4 3 14 3 15 3.4 15 4M18 4C18 4.6 17.6 5 17 5S16 4.6 16 4 16.4 3 17 3 18 3.4 18 4M21 4C21 4.6 20.6 5 20 5S19 4.6 19 4 19.4 3 20 3 21 3.4 21 4M15 7C15 7.6 14.6 8 14 8S13 7.6 13 7 13.4 6 14 6 15 6.4 15 7M18 7C18 7.6 17.6 8 17 8S16 7.6 16 7 16.4 6 17 6 18 6.4 18 7M21 7C21 7.6 20.6 8 20 8S19 7.6 19 7 19.4 6 20 6 21 6.4 21 7M15 10C15 10.6 14.6 11 14 11S13 10.6 13 10 13.4 9 14 9 15 9.4 15 10M18 10C18 10.6 17.6 11 17 11S16 10.6 16 10 16.4 9 17 9 18 9.4 18 10M21 10C21 10.6 20.6 11 20 11S19 10.6 19 10 19.4 9 20 9 21 9.4 21 10Z"},iF={key:0};function ik(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon phone-dial-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",iy,[i.title?((0,z.uX)(),(0,z.CE)("title",iF,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ib))],16,iv)}let iw={name:"PhoneDialOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},iC=(0,to.default)(iw,[["render",ik]]),iA=["aria-hidden","aria-label"],iE=["fill","width","height"],iS={d:"M23.71 11.67A17 17 0 0 0 .29 11.67A1 1 0 0 0 0 12.38A1 1 0 0 0 .29 13.08L2.77 15.56A1 1 0 0 0 3.5 15.85A1 1 0 0 0 4.18 15.57A11.5 11.5 0 0 1 6.84 13.72A1 1 0 0 0 7.4 12.82V9.72A14.91 14.91 0 0 1 12 9A14.5 14.5 0 0 1 16.59 9.73V12.83A1 1 0 0 0 17.15 13.73A11.27 11.27 0 0 1 19.82 15.58A1 1 0 0 0 20.5 15.86A1 1 0 0 0 21.23 15.57L23.71 13.09A1 1 0 0 0 23.71 11.67M5.4 12.22A13.68 13.68 0 0 0 3.53 13.5L2.46 12.42A15.54 15.54 0 0 1 5.4 10.5M20.5 13.5A13.75 13.75 0 0 0 18.6 12.23V10.53A14.26 14.26 0 0 1 21.55 12.43Z"},ix={key:0};function iD(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon phone-hangup-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",iS,[i.title?((0,z.uX)(),(0,z.CE)("title",ix,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,iE))],16,iA)}let iT={name:"PhoneHangupOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},iM=(0,to.default)(iT,[["render",iD]]),iI=["aria-hidden","aria-label"],iB=["fill","width","height"],iP={d:"M16.4 17C17.2 17.2 18.1 17.4 19 17.5V19C17.7 18.9 16.4 18.7 15.2 18.2L16.4 17M20.2 2.5L2.5 20.2L3.8 21.5L8.7 16.6C11.8 19.4 15.8 21 20 21C20.6 21 21 20.6 21 20V16.5C21 15.9 20.6 15.5 20 15.5C18.8 15.5 17.5 15.3 16.4 14.9H16.1C15.8 14.9 15.6 15 15.4 15.2L13.2 17.4C12.1 16.8 11 16.1 10.1 15.2L21.5 3.8L20.2 2.5M6.5 5C6.6 5.9 6.8 6.8 7 7.6L5.8 8.8C5.4 7.6 5.1 6.3 5 5H6.5M7.5 3H4C3.4 3 3 3.4 3 4C3 7.6 4.1 11 6.2 13.9L7.6 12.5C7.2 12 6.9 11.4 6.6 10.8L8.8 8.6C9.1 8.3 9.2 7.9 9 7.6C8.7 6.4 8.5 5.2 8.5 4C8.5 3.4 8.1 3 7.5 3Z"},iL={key:0};function iN(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon phone-off-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",iP,[i.title?((0,z.uX)(),(0,z.CE)("title",iL,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,iB))],16,iI)}let iR={name:"PhoneOffOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ij=(0,to.default)(iR,[["render",iN]]),iO=["aria-hidden","aria-label"],iz=["fill","width","height"],iU={d:"M20,15.5C18.8,15.5 17.5,15.3 16.4,14.9C16.3,14.9 16.2,14.9 16.1,14.9C15.8,14.9 15.6,15 15.4,15.2L13.2,17.4C10.4,15.9 8,13.6 6.6,10.8L8.8,8.6C9.1,8.3 9.2,7.9 9,7.6C8.7,6.5 8.5,5.2 8.5,4C8.5,3.5 8,3 7.5,3H4C3.5,3 3,3.5 3,4C3,13.4 10.6,21 20,21C20.5,21 21,20.5 21,20V16.5C21,16 20.5,15.5 20,15.5M5,5H6.5C6.6,5.9 6.8,6.8 7,7.6L5.8,8.8C5.4,7.6 5.1,6.3 5,5M19,19C17.7,18.9 16.4,18.6 15.2,18.2L16.4,17C17.2,17.2 18.1,17.4 19,17.4V19Z"},iq={key:0};function iW(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon phone-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",iU,[i.title?((0,z.uX)(),(0,z.CE)("title",iq,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,iz))],16,iO)}let iV={name:"PhoneOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},iH=(0,to.default)(iV,[["render",iW]]);var i$=__webpack_require__(6106);let iG=new WeakMap;function iX(e,t,i={}){let n,{mode:r="replace",route:a=(0,q.t)(),router:s=(0,q.n)(),transform:o}=i,l=e=>e,u=e=>e;"function"==typeof o?l=o:o&&(o.get&&(l=o.get),o.set&&(u=o.set)),iG.has(s)||iG.set(s,new Map);let d=iG.get(s),c=a.params[e];(0,i$.Uo)(()=>{c=void 0});let h=(0,z.rY)((i,o)=>(n=o,{get:()=>(i(),l(void 0!==c&&""!==c?c:(0,z.BA)(t))),set(i){i=u(i),c!==i&&(c=i===(0,z.BA)(t)||null===i?void 0:i,d.set(e,i===(0,z.BA)(t)||null===i?void 0:i),o(),(0,z.dY)(()=>{if(0===d.size)return;let e=Object.fromEntries(d.entries());d.clear();let{params:t,query:i,hash:n}=a;s[(0,z.BA)(r)]({params:{...t,...e},query:i,hash:n})}))}}));return(0,z.wB)(()=>a.params[e],e=>{c!==l(e)&&(c=e,n())},{flush:"sync"}),h}let iK=new WeakMap;function iY(e,t,i={}){let n,{mode:r="replace",route:a=(0,q.t)(),router:s=(0,q.n)(),transform:o}=i,l=e=>e,u=e=>e;"function"==typeof o?l=o:o&&(o.get&&(l=o.get),o.set&&(u=o.set)),iK.has(s)||iK.set(s,new Map);let d=iK.get(s),c=a.query[e];(0,i$.Uo)(()=>{c=void 0});let h=(0,z.rY)((i,o)=>(n=o,{get:()=>(i(),l(void 0!==c?c:(0,z.BA)(t))),set(i){i=u(i),c!==i&&(c=i===(0,z.BA)(t)?void 0:i,d.set(e,i===(0,z.BA)(t)?void 0:i),o(),(0,z.dY)(()=>{if(0===d.size)return;let e=Object.fromEntries(d.entries());d.clear();let{params:t,query:i,hash:n}=a;s[(0,z.BA)(r)]({params:t,query:{...i,...e},hash:n})}))}}));return(0,z.wB)(()=>a.query[e],e=>{c!==l(e)&&(c=e,n())},{flush:"sync"}),h}let iQ=(0,i$.F)(function(){return iX("token","",{transform:e=>e??""})}),iZ=function(e){return{all:e=e||new Map,on:function(t,i){var n=e.get(t);n?n.push(i):e.set(t,[i])},off:function(t,i){var n=e.get(t);n&&(i?n.splice(n.indexOf(i)>>>0,1):e.set(t,[]))},emit:function(t,i){var n=e.get(t);n&&n.slice().map(function(e){e(i)}),(n=e.get("*"))&&n.slice().map(function(e){e(t,i)})}}}();iZ._onceHandlers=new Map,iZ.once=function(e,t){let i=(...i)=>{t(...i),this.off(e,t)};this.on(e,i),iZ._onceHandlers.has(e)||iZ._onceHandlers.set(e,new Map),iZ._onceHandlers.get(e).set(t,i)};let iJ=iZ.off.bind(iZ);iZ.off=function(e,t){if(iJ(e,t),!t)return void iZ._onceHandlers.delete(e);let i=iZ._onceHandlers.get(e),n=i?.get(t);n&&(i.delete(t),i.size||iZ._onceHandlers.delete(e),iJ(e,n))};var i0=__webpack_require__(8122);let i1=(0,i0.c0)("talk").clearOnLogout().build(),i2="u">typeof window,i3=e=>i=e,i4=Symbol();function i6(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}!function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"}(po||(po={}));let i5="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null};function i8(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}function i9(e,t,i){let n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){nn(n.response,t,i)},n.onerror=function(){console.error("could not download file")},n.send()}function i7(e){let t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function ne(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(i){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}let nt="object"==typeof navigator?navigator:{userAgent:""},ni=/Macintosh/.test(nt.userAgent)&&/AppleWebKit/.test(nt.userAgent)&&!/Safari/.test(nt.userAgent),nn=i2?"u">typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!ni?nr:"msSaveOrOpenBlob"in nt?na:ns:()=>{};function nr(e,t="download",i){let n=document.createElement("a");n.download=t,n.rel="noopener","string"==typeof e?(n.href=e,n.origin!==location.origin?i7(n.href)?i9(e,t,i):(n.target="_blank",ne(n)):ne(n)):(n.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(n.href)},4e4),setTimeout(function(){ne(n)},0))}function na(e,t="download",i){if("string"==typeof e)if(i7(e))i9(e,t,i);else{let t=document.createElement("a");t.href=e,t.target="_blank",setTimeout(function(){ne(t)})}else navigator.msSaveOrOpenBlob(i8(e,i),t)}function ns(e,t,i,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),"string"==typeof e)return i9(e,t,i);let r="application/octet-stream"===e.type,a=/constructor/i.test(String(i5.HTMLElement))||"safari"in i5,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||r&&a||ni)&&"u">typeof FileReader){let t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!=typeof e)throw n=null,Error("Wrong reader.result type");e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=e:location.assign(e),n=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);n?n.location.assign(t):location.href=t,n=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}function no(e,t){let i="\uD83C\uDF4D "+e;"function"==typeof __VUE_DEVTOOLS_TOAST__?__VUE_DEVTOOLS_TOAST__(i,t):"error"===t?console.error(i):"warn"===t?console.warn(i):console.log(i)}function nl(e){return"_a"in e&&"install"in e}function nu(){if(!("clipboard"in navigator))return no("Your browser doesn't support the Clipboard API","error"),!0}function nd(e){return!!(e instanceof Error&&e.message.toLowerCase().includes("document is not focused"))&&(no('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}function nc(){return n||((n=document.createElement("input")).type="file",n.accept=".json"),function(){return new Promise((e,t)=>{n.onchange=async()=>{let t=n.files;if(!t)return e(null);let i=t.item(0);return i?e({text:await i.text(),file:i}):e(null)},n.oncancel=()=>e(null),n.onerror=t,n.click()})}}function nh(e,t){for(let i in t){let n=e.state.value[i];n?Object.assign(n,t[i]):e.state.value[i]=t[i]}}function nf(e){return{_custom:{display:e}}}let nm="\uD83C\uDF4D Pinia (root)",ng="_root";function np(e){return e?Array.isArray(e)?e.reduce((e,t)=>(e.keys.push(t.key),e.operations.push(t.type),e.oldValue[t.key]=t.oldValue,e.newValue[t.key]=t.newValue,e),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:nf(e.type),key:nf(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function n_(e){switch(e){case po.direct:return"mutation";case po.patchFunction:case po.patchObject:return"$patch";default:return"unknown"}}let nv=!0,nb=null,ny="pinia:mutations",nF="pinia",{assign:nk}=Object,nw=e=>"\uD83C\uDF4D "+e,nC=0;function nA(){let e=(0,z.uY)(!0),t=e.run(()=>(0,z.KR)({})),i=[],n=[],r=(0,z.IG)({install(e){i3(r),r._a=e,e.provide(i4,r),e.config.globalProperties.$pinia=r,n.forEach(e=>i.push(e)),n=[]},use(e){return this._a?i.push(e):n.push(e),this},_p:i,_a:null,_e:e,_s:new Map,state:t});return r}let nE=()=>{};function nS(e,t,i,n=nE){e.add(t);let r=()=>{e.delete(t)&&n()};return!i&&(0,z.o5)()&&(0,z.jr)(r),r}function nx(e,...t){e.forEach(e=>{e(...t)})}let nD=e=>e(),nT=Symbol(),nM=Symbol();function nI(e,t){for(let i in e instanceof Map&&t instanceof Map?t.forEach((t,i)=>e.set(i,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e),t){if(!t.hasOwnProperty(i))continue;let n=t[i],r=e[i];i6(r)&&i6(n)&&e.hasOwnProperty(i)&&!(0,z.i9)(n)&&!(0,z.g8)(n)?e[i]=nI(r,n):e[i]=n}return e}let nB=Symbol();function nP(e){return!i6(e)||!Object.prototype.hasOwnProperty.call(e,nB)}let{assign:nL}=Object;function nN(e){return!!((0,z.i9)(e)&&e.effect)}function nR(e,t,i,n){let{state:r,actions:a,getters:s}=t,o=i.state.value[e];function l(){return o||(i.state.value[e]=r?r():{}),nL((0,z.QW)(i.state.value[e]),a,Object.keys(s||{}).reduce((t,n)=>(t[n]=(0,z.IG)((0,z.EW)(()=>{i3(i);let t=i._s.get(e);return s[n].call(t,t)})),t),{}))}return nj(e,l,t,i,n,!0)}function nj(e,t,i={},n,r,a){let s,o,l,u,d,c=nL({actions:{}},i),h={deep:!0},f=new Set,m=new Set,g=n.state.value[e];function p(t){let i;o=l=!1,"function"==typeof t?(t(n.state.value[e]),i={type:po.patchFunction,storeId:e,events:u}):(nI(n.state.value[e],t),i={type:po.patchObject,payload:t,storeId:e,events:u});let r=d=Symbol();(0,z.dY)().then(()=>{d===r&&(o=!0)}),l=!0,nx(f,i,n.state.value[e])}a||g||(n.state.value[e]={}),(0,z.KR)({});let _=a?function(){let{state:e}=i,t=e?e():{};this.$patch(e=>{nL(e,t)})}:nE;function b(){s.stop(),f.clear(),m.clear(),n._s.delete(e)}let y=(t,i="")=>{if(nT in t)return t[nM]=i,t;let r=function(){let i;i3(n);let a=Array.from(arguments),s=new Set,o=new Set;function l(e){s.add(e)}function u(e){o.add(e)}nx(m,{args:a,name:r[nM],store:k,after:l,onError:u});try{i=t.apply(this&&this.$id===e?this:k,a)}catch(e){throw nx(o,e),e}return i instanceof Promise?i.then(e=>(nx(s,e),e)).catch(e=>(nx(o,e),Promise.reject(e))):(nx(s,i),i)};return r[nT]=!0,r[nM]=i,r},F={_p:n,$id:e,$onAction:nS.bind(null,m),$patch:p,$reset:_,$subscribe(t,i={}){let r=nS(f,t,i.detached,()=>a()),a=s.run(()=>(0,z.wB)(()=>n.state.value[e],n=>{("sync"===i.flush?l:o)&&t({storeId:e,type:po.direct,events:u},n)},nL({},h,i)));return r},$dispose:b},k=(0,z.Kh)(F);n._s.set(e,k);let w=(n._a&&n._a.runWithContext||nD)(()=>n._e.run(()=>(s=(0,z.uY)()).run(()=>t({action:y}))));for(let t in w){let i=w[t];if((0,z.i9)(i)&&!nN(i)||(0,z.g8)(i))a||(g&&nP(i)&&((0,z.i9)(i)?i.value=g[t]:nI(i,g[t])),n.state.value[e][t]=i);else if("function"==typeof i){let e=y(i,t);w[t]=e,c.actions[t]=i}}return nL(k,w),nL((0,z.ux)(k),w),Object.defineProperty(k,"$state",{get:()=>n.state.value[e],set:e=>{p(t=>{nL(t,e)})}}),n._p.forEach(e=>{nL(k,s.run(()=>e({store:k,app:n._a,pinia:n,options:c})))}),g&&a&&i.hydrate&&i.hydrate(k.$state,g),o=!0,l=!0,k}function nO(e,t,n){let r,a="function"==typeof t;function s(n,s){let o=(0,z.PS)();return(n=n||(o?(0,z.WQ)(i4,null):null))&&i3(n),(n=i)._s.has(e)||(a?nj(e,t,r,n):nR(e,r,n)),n._s.get(e)}return r=a?n:t,s.$id=e,s}let nz=1,nU=2,nq=100,nW=20,nV=0,nH=1,n$="split",nG=0,nX=1,nK=2,nY=3,nQ=4,nZ=1,nJ={START_CALL:{EVERYONE:0,USERS:1,MODERATORS:2},STATE:{READ_WRITE:0,READ_ONLY:1},LISTABLE:{NONE:0,USERS:1,ALL:2},MENTION_PERMISSIONS:{EVERYONE:0,MODERATORS:1},TYPE:{ONE_TO_ONE:1,GROUP:2,PUBLIC:3,CHANGELOG:4,ONE_TO_ONE_FORMER:5,NOTE_TO_SELF:6},BREAKOUT_ROOM_MODE:{NOT_CONFIGURED:0,AUTOMATIC:1,MANUAL:2,FREE:3},BREAKOUT_ROOM_STATUS:{STOPPED:0,STARTED:1,STATUS_ASSISTANCE_RESET:0,STATUS_ASSISTANCE_REQUESTED:2},OBJECT_TYPE:{EMAIL:"emails",EVENT:"event",FILE:"file",PHONE_LEGACY:"phone",PHONE_PERSISTENT:"phone_persist",PHONE_TEMPORARY:"phone_temporary",CIRCLES:"circles",VIDEO_VERIFICATION:"share:password",BREAKOUT_ROOM:"room",EXTENDED:"extended_conversation",INSTANT_MEETING:"instant_meeting",DEFAULT:""},OBJECT_ID:{PHONE_INCOMING:"direct-dialin",PHONE_OUTGOING:"phone"},LIST_STYLE:{TWO_LINES:"two-lines",COMPACT:"compact"},MAX_NAME_LENGTH:255},n0="users",n1="guests",n2="emails",n3="groups",n4="circles",n6="teams",n5="bots",n8="bridged",n9="federated_users",n7="phones",re="deleted_users",rt="remotes",ri="bot-",rn="bridge-bot",rr="system",ra="changelog",rs="sample",ro="call_ended",rl="call_ended_everyone",ru="call_joined",rd="call_left",rc="call_missed",rh="call_started",rf="file_shared",rm="guest_moderator_demoted",rg="guest_moderator_promoted",rp="history_cleared",r_="message_deleted",rv="message_edited",rb="message_pinned",ry="message_unpinned",rF="moderator_demoted",rk="moderator_promoted",rw="object_shared",rC="poll_closed",rA="poll_voted",rE="reaction",rS="reaction_deleted",rx="reaction_revoked",rD="recording_started",rT="recording_stopped",rM="thread_created",rI="thread_renamed",rB="user_added",rP="user_removed",rL="comment",rN="system",rR="command",rj="comment_deleted",rO="voice-message",rz="record-audio",rU="record-video",rq={CALL_FLAG:{DISCONNECTED:0,IN_CALL:1,WITH_AUDIO:2,WITH_VIDEO:4,WITH_PHONE:8},SIP_FLAG:{MUTE_MICROPHONE:1,MUTE_SPEAKER:2,SPEAKING:4,RAISE_HAND:8},SIP_DIALOUT_FLAG:{NONE:0,MUTE_MICROPHONE:1,MUTE_SPEAKER:2},NOTIFY:{DEFAULT:0,ALWAYS:1,MENTION:2,NEVER:3},NOTIFY_CALLS:{OFF:0,ON:1},TYPE:{OWNER:1,MODERATOR:2,USER:3,GUEST:4,USER_SELF_JOINED:5,GUEST_MODERATOR:6},PERMISSIONS:{DEFAULT:0,CUSTOM:1,CALL_START:2,CALL_JOIN:4,LOBBY_IGNORE:8,PUBLISH_AUDIO:16,PUBLISH_VIDEO:32,PUBLISH_SCREEN:64,CHAT:128,MAX_DEFAULT:254,MAX_CUSTOM:255}},rW="audio",rV="deckcard",rH="file",r$="location",rG="media",rX="other",rK="poll",rY="recording",rQ="voice",rZ="pinned",rJ=["image/gif","image/jpeg","image/jpg","image/png","image/webp"],r0=0,r1=1,r2=0,r3=1,r4=4,r6=6,r5=7,r8=10,r9=0,r7=1,ae=0,at=0,ai=0,an=1,ar=0,aa=1,as=2,ao="blur",al="image",au="video",ad="video-stream",ac=10,ah={SIZE:{EXTRA_SMALL:22,COMPACT:24,SMALL:32,DEFAULT:40,MEDIUM:64,LARGE:128,EXTRA_LARGE:180,FULL:512}},af=0,am=1,ag={CALL:"call",USER:"user",GUEST:"guest",EMAIL:"email",USERGROUP:"user-group",CIRCLE:"circle",FEDERATED_USER:"federated_user",GROUP:"group",TEAM:"team"},ap="STATUS_CANCELLED",a_="STATUS_FAILED",av="STATUS_SUCCESSFUL",ab="STATUS_RUNNING",ay="STATUS_SCHEDULED",aF="STATUS_UNKNOWN",ak=(0,i0.c0)("talk").persist().build();var aw=__webpack_require__(81120);async function aC(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/live-transcription/{token}",{token:e}))}async function aA(e){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/live-transcription/{token}",{token:e}))}async function aE(){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/live-transcription/languages"))}async function aS(){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/live-transcription/translation-languages"))}async function ax(e,t){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/live-transcription/{token}/language",{token:e}),{languageId:t})}async function aD(e,t){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/live-transcription/{token}/target-language",{token:e}),{targetLanguageId:t})}let aT=nO("callView",{state:()=>({forceCallView:!1,isViewerOverlay:!1,isGrid:!1,isStripeOpen:!0,isEmptyCallView:!0,lastIsGrid:null,lastIsStripeOpen:null,presentationStarted:!1,selectedVideoPeerId:null,callEndedTimeout:void 0,isLiveTranscriptionEnabled:!1}),getters:{callHasJustEnded:e=>!!e.callEndedTimeout},actions:{setForceCallView(e){this.forceCallView=e},setIsViewerOverlay(e){this.isViewerOverlay=e},setIsEmptyCallView(e){this.isEmptyCallView=e},setSelectedVideoPeerId(e){this.selectedVideoPeerId=e},handleJoinCall(e){if(!e)return;let t=ak.getItem(`callprefs-${e.token}-isgrid`),i=null===t?[nJ.TYPE.GROUP,nJ.TYPE.PUBLIC].includes(e.type):"true"===t;this.setCallViewMode({token:e.token,isGrid:i,isStripeOpen:!0})},setCallViewMode({token:e,isGrid:t=null,isStripeOpen:i=null,clearLast:n=!0}){n&&(this.lastIsGrid=null,this.lastIsStripeOpen=null),null!=t&&(this.lastIsGrid=this.isGrid,ak.setItem(`callprefs-${e}-isgrid`,t.toString()),this.isGrid=t,t&&this.setSelectedVideoPeerId(null)),null!=i&&(this.lastIsStripeOpen=this.isStripeOpen,this.isStripeOpen=i)},startPresentation(e){this.presentationStarted||(this.presentationStarted=!0,this.setCallViewMode({token:e,isGrid:!1,isStripeOpen:!1,clearLast:!1}))},stopPresentation(e){this.presentationStarted&&(this.presentationStarted=!1,this.isGrid||this.isStripeOpen||this.setCallViewMode({token:e,isGrid:this.lastIsGrid,isStripeOpen:this.lastIsStripeOpen,clearLast:!1}))},setCallHasJustEnded(e){let t=Math.abs(Date.now()-1e3*e);1e4-t<0||(clearTimeout(this.callEndedTimeout),this.callEndedTimeout=setTimeout(()=>{this.resetCallHasJustEnded()},Math.max(0,1e4-t)))},resetCallHasJustEnded(){clearTimeout(this.callEndedTimeout),this.callEndedTimeout=void 0},async enableLiveTranscription(e){try{await aC(e),this.isLiveTranscriptionEnabled=!0}catch(e){throw console.error(e),e}},async setLiveTranscriptionTargetLanguage(e,t){try{await aD(e,t)}catch(e){throw console.error(e),e}},async disableLiveTranscription(e){try{this.isLiveTranscriptionEnabled=!1,await aA(e)}catch(e){throw console.error(e),e}}}});function aM(){let e=ed(),t=aT(),i=iQ(),n=(0,z.KR)(null),r=()=>{n.value=i1.getItem("joined_conversation")};return(0,z.KC)(()=>{iZ.on("joined-conversation",r),r()}),(0,z.xo)(()=>{iZ.off("joined-conversation",r)}),(0,z.EW)(()=>!!t.forceCallView||n.value===i.value&&e.getters.isInCall(i.value))}let aI=(0,i$.F)(aM);var aB=__webpack_require__(87485);let aP=new BroadcastChannel("nextcloud:talk"),aL=(0,K.t)("spreed","Please reload the page."),aN=(0,K.t)("spreed","Please try to reload the page."),aR=nO("talkHash",{state:()=>({initialNextcloudTalkHash:"",isNextcloudTalkHashDirty:!1,isNextcloudTalkProxyHashDirty:{},maintenanceWarningToast:null,proxyHashDirtyToast:null}),actions:{setNextcloudTalkHash(e){this.initialNextcloudTalkHash?this.initialNextcloudTalkHash===e||this.isNextcloudTalkHashDirty||(console.debug("X-Nextcloud-Talk-Hash marked dirty: ",e),this.isNextcloudTalkHashDirty=!0):(console.debug("X-Nextcloud-Talk-Hash initialised: ",e),this.initialNextcloudTalkHash=e)},setTalkProxyHashDirty(e){console.debug("X-Nextcloud-Talk-Proxy-Hash marked dirty: ",e),this.isNextcloudTalkProxyHashDirty[e]=!0},resetTalkProxyHashDirty(e){delete this.isNextcloudTalkProxyHashDirty[e],this.proxyHashDirtyToast&&(this.proxyHashDirtyToast.hideToast(),this.proxyHashDirtyToast=null)},updateTalkVersionHash(e){let t=e?.headers?.["x-nextcloud-talk-hash"];t&&(this.setNextcloudTalkHash(t),aP.postMessage({message:"update-nextcloud-talk-hash",hash:t}))},checkMaintenanceMode(e){e?.status!==503||this.maintenanceWarningToast||(this.maintenanceWarningToast=(0,$.s)((0,K.t)("spreed","Nextcloud is in maintenance mode.")+"\n"+aL,{timeout:$.r}))},clearMaintenanceMode(){this.maintenanceWarningToast&&(this.maintenanceWarningToast.hideToast(),this.maintenanceWarningToast=null)},showTalkProxyHashDirtyToast(){this.proxyHashDirtyToast=(0,$.s)((0,K.t)("spreed","Nextcloud Talk Federation was updated.")+"\n"+aL,{timeout:$.r})}}});async function aj(e){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/federation/invitation"),e)}async function aO(e,t){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/federation/invitation/{id}",{id:e}),{},t)}async function az(e,t){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/federation/invitation/{id}",{id:e}),t)}async function aU(e,t){return aw.Ay.get((0,O.KT)("apps/spreed/api/v4/room/{token}/capabilities",{token:e}),t)}let aq=aH(),aW=(0,aB.F)(),aV=aJ();function aH(){let e={},t=ak.getItem("cachedConversations");if(!t?.length)return{};let i=JSON.parse(t);return i?.length?(i.forEach(t=>{e[t.token]=t.remoteServer||null}),e):{}}function a$(e){e.remoteServer&&(aq[e.token]=e.remoteServer)}function aG(e="local",t){let i=aW?.spreed?.features?.includes(t)??!1,n=aK(e);return aW?.spreed?.["features-local"]?.includes(t)?i:"local"!==e&&n?i&&(n?.spreed?.features?.includes(t)??!1):i}function aX(e="local",t,i){let n=aK(e);return aW?.spreed?.["config-local"]?.[t]?.includes(String(i))?aW?.spreed?.config?.[t]?.[i]:"local"!==e&&n?n?.spreed?.config?.[t]?.[i]:aW?.spreed?.config?.[t]?.[i]}function aK(e){void 0===aq[e]&&(aq=aH());let t=aq[e];return e&&"local"!==e&&t?aV[t]??null:null}async function aY(e){let t=aR(),i=e.data.ocs.data.token,n=e.data.ocs.data.remoteServer;if(e.headers["x-nextcloud-talk-proxy-hash"]===aV[n]?.hash)return void t.resetTalkProxyHashDirty(i);t.setTalkProxyHashDirty(i);let r=(await aU(i)).data.ocs.data;if(!Object.keys(r).length)return;let a=aZ(r,aV[n]?.spreed);aV[n]={spreed:r,hash:e.headers["x-nextcloud-talk-proxy-hash"]},ak.setItem("remoteCapabilities",JSON.stringify(aV)),a$(e.data.ocs.data),a?t.showTalkProxyHashDirtyToast():t.resetTalkProxyHashDirty(i)}async function aQ(e){let t=e.data.ocs.data.token,i=e.data.ocs.data.remoteServer;if(aV[i])return;let n=(await aU(t)).data.ocs.data;Object.keys(n).length&&(aV[i]={spreed:n},ak.setItem("remoteCapabilities",JSON.stringify(aV)),a$(e.data.ocs.data))}function aZ(e,t){if(!e||!t)return!0;function i(e){let t=structuredClone(e.config);for(let i of Object.keys(e["config-local"])){for(let n of e["config-local"][i])delete t[i][n];Object.keys(t[i]).length||delete t[i]}return{config:t,features:e.features.filter(t=>!e["features-local"].includes(t)).sort()}}return JSON.stringify(i(e))!==JSON.stringify(i(t))}function aJ(){let e=ak.getItem("remoteCapabilities");if(!e)return{};let t=JSON.parse(e),i=!1,n=Object.values(aq).filter(Boolean);for(let e of Object.keys(t)){if(n.includes(e))continue;let r=aq[e];r&&(t[r]=t[e]),delete t[e],i=!0}return i&&ak.setItem("remoteCapabilities",JSON.stringify(t)),t}async function a0({token:e},t){return aw.Ay.get((0,O.KT)("apps/spreed/api/v3/signaling/settings"),Object.assign(t,{params:{token:e}}))}async function a1(e,t){return aw.Ay.get((0,O.KT)("apps/spreed/api/v3/signaling/{token}",{token:e}),t)}function a2(e,t,i){return(0,O.KT)("apps/spreed/api/v1/room/{token}/avatar"+(t?"/dark":"")+(i?"?v={avatarVersion}":""),{token:e,avatarVersion:i})}function a3(e,t,i,n=512){return(0,O.KT)("apps/spreed/api/v1/proxy/{token}/user-avatar/{size}"+(i?"/dark":"")+"?cloudId={cloudId}",{token:e,cloudId:t,size:n})}async function a4(e,t){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/room/{token}/avatar",{token:e}),t)}async function a6(e,t,i){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/room/{token}/avatar/emoji",{token:e}),{emoji:t,color:i})}async function a5(e){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/room/{token}/avatar",{token:e}))}async function a8(e,t){return aw.Ay.get((0,O.KT)("apps/spreed/api/v4/room"),{...t,params:e})}async function a9(e){return aw.Ay.get((0,O.KT)("apps/spreed/api/v4/room/{token}",{token:e}))}async function a7(e,t){return aw.Ay.get((0,O.KT)("apps/spreed/api/v4/listed-room"),{...t,params:{searchTerm:e}})}async function se(){return aw.Ay.get((0,O.KT)("apps/spreed/api/v4/room/note-to-self"))}async function st({roomType:e,roomName:t,password:i,objectType:n,objectId:r,invite:a,source:s}){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room"),{roomType:e,roomName:t,password:i,objectType:n,objectId:r,invite:a,source:s})}async function si(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room"),e)}async function sn(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/password",{token:e}),{password:t})}async function sr(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}",{token:e}),{roomName:t})}async function sa(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/description",{token:e}),{description:t})}async function ss(e){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}",{token:e}))}async function so(e){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/object",{token:e}))}async function sl(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/favorite",{token:e}))}async function su(e){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/favorite",{token:e}))}async function sd(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/important",{token:e}))}async function sc(e){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/important",{token:e}))}async function sh(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/sensitive",{token:e}))}async function sf(e){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/sensitive",{token:e}))}async function sm(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/archive",{token:e}))}async function sg(e){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/archive",{token:e}))}async function sp(e,t){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/notify",{token:e}),{level:t})}async function s_(e,t){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/notify-calls",{token:e}),{level:t})}async function sv(e,t){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/public",{token:e}),{password:t})}async function sb(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/public",{token:e}))}async function sy(e){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/public",{token:e}))}async function sF(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/webinar/sip",{token:e}),{state:t})}async function sk(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/recording-consent",{token:e}),{recordingConsent:t})}async function sw(e,t,i){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/webinar/lobby",{token:e}),{state:t,timer:i})}async function sC(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/read-only",{token:e}),{state:t})}async function sA(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/listable",{token:e}),{scope:t})}async function sE(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/mention-permissions",{token:e}),{mentionPermissions:t})}async function sS(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/permissions/default",{token:e}),{permissions:t})}async function sx(e,t){return aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/permissions/call",{token:e}),{permissions:t})}async function sD(e,t){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/message-expiration",{token:e}),{seconds:t})}var sT=__webpack_require__(69956),sM=__webpack_require__.n(sT),sI=__webpack_require__(63009),sB=__webpack_require__.n(sI);async function sP({token:e,lastKnownMessageId:t,includeLastKnown:i,lookIntoFuture:n=nV,threadId:r,limit:a=100},s){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}",{token:e}),{...s,params:{setReadMarker:0,lookIntoFuture:n,lastKnownMessageId:t,threadId:r,limit:a,timeout:0,includeLastKnown:+!!i}})}async function sL({token:e,lastKnownMessageId:t,limit:i=100,timeout:n},r){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}",{token:e}),{...r,params:{setReadMarker:0,lookIntoFuture:nH,lastKnownMessageId:t,limit:i,includeLastKnown:0,markNotificationsAsRead:0,timeout:n}})}async function sN({token:e,messageId:t,threadId:i,limit:n=50},r){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}/{messageId}/context",{token:e,messageId:t}),{...r,params:{threadId:i,limit:n}})}async function sR({token:e,message:t,actorDisplayName:i,referenceId:n,replyTo:r,silent:a,threadId:s,threadTitle:o},l){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/chat/{token}",{token:e}),{message:t,actorDisplayName:i,referenceId:n,replyTo:r,silent:a,threadId:s,threadTitle:o},l)}async function sj(e,t){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/chat/{token}",{token:e}),t)}async function sO({token:e,id:t},i){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/chat/{token}/{id}",{token:e,id:t}),i)}async function sz({token:e,messageId:t,updatedMessage:i},n){return aw.Ay.put((0,O.KT)("apps/spreed/api/v1/chat/{token}/{messageId}",{token:e,messageId:t}),{message:i},n)}async function sU({token:e,messageId:t,pinUntil:i},n){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/chat/{token}/{messageId}/pin",{token:e,messageId:t}),{pinUntil:i},n)}async function sq({token:e,messageId:t},i){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/chat/{token}/{messageId}/pin",{token:e,messageId:t}),i)}async function sW({token:e,messageId:t},i){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/chat/{token}/{messageId}/pin/self",{token:e,messageId:t}),i)}async function sV(e,{objectType:t,objectId:i,metaData:n,referenceId:r,threadId:a},s){if(!r){let n="richobject-"+t+"-"+i+"-"+e+"-"+new Date().getTime();r=sM().stringify(sB()(n))}return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/chat/{token}/share",{token:e}),{objectType:t,objectId:i,metaData:n,referenceId:r,threadId:a},s)}async function sH(e,t,i){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/chat/{token}/read",{token:e}),{lastReadMessage:t},i)}async function s$(e,t){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/chat/{token}/read",{token:e}),t)}async function sG(e,t,i){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/chat/{token}/summarize",{token:e}),{fromMessageId:t},i)}async function sX({token:e,limit:t},i){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}/threads/recent",{token:e}),{...i,params:{limit:t}})}async function sK(e,t,i){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}/threads/{threadId}",{token:e,threadId:t}),i)}async function sY({limit:e,offset:t}={},i){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/subscribed-threads"),{...i,params:{limit:e,offset:t}})}async function sQ(e,t,i,n){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/chat/{token}/threads/{messageId}/notify",{token:e,messageId:t}),{level:i},n)}async function sZ(e,t,i,n){return aw.Ay.put((0,O.KT)("apps/spreed/api/v1/chat/{token}/threads/{threadId}",{token:e,threadId:t}),{threadTitle:i},n)}async function sJ(e,t){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}/schedule",{token:e}),t)}async function s0({token:e,message:t,sendAt:i,replyTo:n,silent:r,threadId:a,threadTitle:s},o){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/chat/{token}/schedule",{token:e}),{message:t,sendAt:i,replyTo:n,silent:r,threadId:a,threadTitle:s},o)}async function s1({token:e,messageId:t,message:i,sendAt:n,silent:r,threadTitle:a},s){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/chat/{token}/schedule/{messageId}",{token:e,messageId:t}),{message:i,sendAt:n,silent:r,threadTitle:a},s)}async function s2(e,t,i){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/chat/{token}/schedule/{messageId}",{token:e,messageId:t}),i)}let s3=rq.PERMISSIONS;async function s4({token:e,forceJoin:t=!1},i){let n=await aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/participants/active",{token:e}),{force:t},i);return n.headers.get("X-Nextcloud-Bruteforce-Throttled")&&(console.error("Remote address is bruteforce throttled: "+n.headers.get("X-Nextcloud-Bruteforce-Throttled")+" (Request ID: "+n.headers.get("X-Request-ID")+")"),parseInt(n.headers.get("X-Nextcloud-Bruteforce-Throttled"),10)>5e3&&(0,$.k)((0,K.t)("spreed","Your requests are throttled at the moment due to brute force protection"))),await E$(e,n.data.ocs.data.sessionId),n}async function s6(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/participants/active",{token:e}))}async function s5(e){try{return await EQ(e),await aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/participants/active",{token:e}))}catch(e){console.debug(e)}}async function s8(e,t,i){return await aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/participants",{token:e}),{newParticipant:t,source:i})}async function s9(e){return await aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/participants/self",{token:e}))}async function s7(e,t){return await aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/attendees",{token:e}),{params:{attendeeId:t}})}async function oe(e,t){return await aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/moderators",{token:e}),t)}async function ot(e,t){return await aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/room/{token}/moderators",{token:e}),{params:t})}async function oi(e,t){return(t=t||{}).params=t.params||{},t.params.includeStatus=!0,await aw.Ay.get((0,O.KT)("apps/spreed/api/v4/room/{token}/participants",{token:e}),t)}async function on(e,t){return await aw.Ay.post((0,O.KT)("apps/spreed/api/v1/guest/{token}/name",{token:e}),{displayName:t})}async function or(e,t=null){await aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/participants/resend-invitations",{token:e}),{attendeeId:t})}async function oa(e,{attendeeId:t}){await aw.Ay.post((0,O.KT)("apps/spreed/api/v4/call/{token}/ring/{attendeeId}",{token:e,attendeeId:t}))}async function os(e,t){await aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/attendees/permissions",{token:e}),{attendeeId:t,method:"set",permissions:s3.MAX_CUSTOM})}async function oo(e,t){await aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/attendees/permissions",{token:e}),{attendeeId:t,method:"set",permissions:s3.CUSTOM})}async function ol(e,t,i="set",n){await aw.Ay.put((0,O.KT)("apps/spreed/api/v4/room/{token}/attendees/permissions",{token:e}),{attendeeId:t,method:i,permissions:n})}function ou(e){E0(e)}async function od(e,t){await aw.Ay.post((0,O.KT)("apps/spreed/api/v1/recording/{token}",{token:e}),{status:t})}async function oc(e){await aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/recording/{token}",{token:e}))}async function oh(){return aw.Ay.get((0,O.KT)("/apps/circles/probecircles"))}let of=nO("actor",()=>{let e=(0,z.KR)(null),t=(0,z.KR)(null),i=(0,z.KR)(null),n=(0,z.KR)(null),r=(0,z.KR)(null),a=(0,z.KR)(""),s=(0,z.KR)((0,X.C)("spreed","user_group_ids",[])),o=(0,z.KR)([]),l=(0,z.EW)(()=>null!==e.value),u=(0,z.EW)(()=>r.value===n0),d=(0,z.EW)(()=>r.value===n1),c=(0,z.EW)(()=>({attendeeId:i.value,actorType:r.value,actorId:n.value,sessionId:t.value}));function h(){(0,j.HW)()?(console.debug("Setting current user"),_((0,j.HW)()),y()):console.debug("Can not set current user because it's a guest")}function f(e){return s.value.includes(e)}function m(e){return o.value.includes(e)}function g(e){return e.actorId===n.value&&e.actorType===r.value}function p(e){a.value=e}function _(t){t&&(e.value=t.uid,a.value=t.displayName||t.uid,r.value=n0,n.value=t.uid)}function b(a){t.value=a.sessionId,i.value=a.attendeeId,(a.participantType===rq.TYPE.GUEST||a.participantType===rq.TYPE.GUEST_MODERATOR)&&(e.value=null,r.value=n1,n.value=a.actorId)}async function y(){if((0,X.C)("spreed","circles_enabled",!1))try{o.value=(await oh()).data.ocs.data.map(e=>e.id)}catch(e){console.error(e)}}return h(),{userId:e,sessionId:t,attendeeId:i,actorId:n,actorType:r,displayName:a,actorGroups:s,actorTeams:o,isLoggedIn:l,isActorUser:u,isActorGuest:d,participantIdentifier:c,isActorMemberOfGroup:f,isActorMemberOfTeam:m,checkIfSelfIsActor:g,initialize:h,setDisplayName:p,setCurrentUser:_,setCurrentParticipant:b,getCurrentUserTeams:y}});async function om(e,t,i,n){return aw.Ay.post((0,O.KT)("/apps/spreed/api/v1/breakout-rooms/{token}",{token:e}),{mode:t,amount:i,attendeeMap:n})}async function og(e,t){return aw.Ay.post((0,O.KT)("/apps/spreed/api/v1/breakout-rooms/{token}/attendees",{token:e}),{attendeeMap:t})}async function op(e){return aw.Ay.delete((0,O.KT)("/apps/spreed/api/v1/breakout-rooms/{token}",{token:e}))}async function o_(e){return aw.Ay.get((0,O.KT)("/apps/spreed/api/v4/room/{token}/breakout-rooms",{token:e}))}async function ov(e){return aw.Ay.post((0,O.KT)("/apps/spreed/api/v1/breakout-rooms/{token}/rooms",{token:e}))}async function ob(e){return aw.Ay.delete((0,O.KT)("/apps/spreed/api/v1/breakout-rooms/{token}/rooms",{token:e}))}async function oy(e,t){return aw.Ay.post((0,O.KT)("/apps/spreed/api/v1/breakout-rooms/{token}/broadcast",{token:e}),{message:t})}async function oF(e){return aw.Ay.get((0,O.KT)("/apps/spreed/api/v4/room/{token}/breakout-rooms/participants",{token:e}))}async function ok(e){return aw.Ay.post((0,O.KT)("/apps/spreed/api/v1/breakout-rooms/{token}/request-assistance",{token:e}))}async function ow(e){return aw.Ay.delete((0,O.KT)("/apps/spreed/api/v1/breakout-rooms/{token}/request-assistance",{token:e}))}async function oC(e,t){return aw.Ay.post((0,O.KT)("/apps/spreed/api/v1/breakout-rooms/{token}/switch",{token:e}),{target:t})}let oA=nO("sidebar",{state:()=>({show:"false"!==ak.getItem("sidebarOpen")}),actions:{showSidebar({activeTab:e="",cache:t=!0}={}){this.show=!0,e&&(0,G.Ic)("spreed:select-active-sidebar-tab",e),t&&ak.setItem("sidebarOpen","true")},hideSidebar({cache:e=!0}={}){this.show=!1,e&&ak.setItem("sidebarOpen","false")}}}),oE=nO("breakoutRooms",{state:()=>({rooms:{}}),getters:{breakoutRooms:e=>t=>Object.values(Object(e.rooms[t])).sort((e,t)=>e.id-t.id),getParentRoomToken:e=>t=>{for(let i in e.rooms)if(e.rooms[i]?.[t]!==void 0)return i}},actions:{processConversations(e,t){let i=Array.isArray(t)?t:[t];hz.dispatch("patchConversations",{conversations:i})},purgeBreakoutRoomsStore(e){for(let t in this.rooms[e])hz.dispatch("deleteConversation",t);delete this.rooms[e]},addBreakoutRoom(e,t){this.rooms[e]||(this.rooms[e]={}),this.rooms[e][t.token]=t},async configureBreakoutRooms({token:e,mode:t,amount:i,attendeeMap:n}){try{let r=await om(e,t,i,n);this.processConversations(e,r.data.ocs.data),await this.fetchBreakoutRoomsParticipants(e),oA().showSidebar({activeTab:"breakout-rooms"})}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while creating breakout rooms"))}},async reorganizeAttendees({token:e,attendeeMap:t}){try{let i=await og(e,t);this.processConversations(e,i.data.ocs.data),await this.fetchBreakoutRoomsParticipants(e)}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while re-ordering the attendees"))}},async deleteBreakoutRooms(e){try{let t=await op(e);this.processConversations(e,t.data.ocs.data),this.purgeBreakoutRoomsStore(e)}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while deleting breakout rooms"))}},async getBreakoutRooms(e){try{let t=await o_(e);this.processConversations(e,t.data.ocs.data)}catch(e){console.error(e)}},async startBreakoutRooms(e){try{let t=await ov(e);this.processConversations(e,t.data.ocs.data)}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while starting breakout rooms"))}},async stopBreakoutRooms(e){try{let t=await ob(e);this.processConversations(e,t.data.ocs.data)}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while stopping breakout rooms"))}},async broadcastMessageToBreakoutRooms({token:e,message:t}){try{await oy(e,t)}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while sending a message to the breakout rooms"))}},async fetchBreakoutRoomsParticipants(e){try{let t=(await oF(e)).data.ocs.data.reduce((e,t)=>(e[t.roomToken]||(e[t.roomToken]=[]),e[t.roomToken].push(t),e),{});Object.entries(t).forEach(([e,t])=>{hz.dispatch("patchParticipants",{token:e,newParticipants:t,hasUserStatuses:!1})})}catch(e){console.error(e)}},async requestAssistance(e){try{let t=await ok(e),i=t.data.ocs.data.objectId;this.processConversations(i,t.data.ocs.data)}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while requesting assistance"))}},async dismissRequestAssistance(e){try{let t=await ow(e),i=t.data.ocs.data.objectId;this.processConversations(i,t.data.ocs.data)}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while resetting the request for assistance"))}},async switchToBreakoutRoom({token:e,target:t}){try{let i=await oC(e,t);this.processConversations(e,i.data.ocs.data)}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while joining breakout room"))}}}});var oS=__webpack_require__(30212),ox=__webpack_require__(94434),oD=__webpack_require__(79455);let oT=(0,z.pM)({__name:"ConfirmDialog",props:{name:{},buttons:{},container:{},message:{},size:{},additionalTrapElements:{},closeOnClickOutside:{type:Boolean},contentClasses:{},dialogClasses:{},isForm:{type:Boolean},navigationAriaLabel:{},navigationAriaLabelledby:{},navigationClasses:{},noClose:{type:Boolean},outTransition:{type:Boolean},customMessages:{},inputProps:{}},emits:["close"],setup(e,{emit:t}){let i=e,n=t,r=(0,z.KR)(i.inputProps?.value??"");function a(e){i.isForm&&i.inputProps?s(r.value):n("close",e)}function s(e){n("close",e)}return(t,i)=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(ox.A),{name:e.name,message:e.message,container:e.container,size:e.size,buttons:e.buttons,onClosing:a},{default:(0,z.k6)(()=>[e.customMessages?((0,z.uX)(!0),(0,z.CE)(z.FK,{key:0},(0,z.pI)(e.customMessages,e=>((0,z.uX)(),(0,z.CE)("p",{key:e},(0,z.v_)(e),1))),128)):(0,z.Q3)("",!0),e.isForm&&e.inputProps?((0,z.uX)(),(0,z.Wv)((0,z.R1)(oD.A),{key:1,modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=e=>r.value=e),label:e.inputProps.label,disabled:e.inputProps.disabled,showTrailingButton:e.inputProps.showTrailingButton,onKeydown:i[1]||(i[1]=(0,z.jR)(e=>s(r.value),["enter"]))},null,8,["modelValue","label","disabled","showTrailingButton"])):(0,z.Q3)("",!0)]),_:1},8,["name","message","container","size","buttons"]))}}),oM=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),oI=null!=(pl=String.fromCodePoint)?pl:e=>{let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function oB(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!=(t=oM.get(e))?t:e}var oP=__webpack_require__(48287).Buffer;let oL=function(e){let t="function"==typeof atob?atob(e):"function"==typeof oP.from?oP.from(e,"base64").toString("binary"):new oP(e,"base64").toString("binary"),i=-2&t.length,n=new Uint16Array(i/2);for(let e=0,r=0;e=pd.ZERO&&e<=pd.NINE}function oj(e){return e>=pd.UPPER_A&&e<=pd.UPPER_F||e>=pd.LOWER_A&&e<=pd.LOWER_F}function oO(e){return e>=pd.UPPER_A&&e<=pd.UPPER_Z||e>=pd.LOWER_A&&e<=pd.LOWER_Z||oR(e)}function oz(e){return e===pd.EQUALS||oO(e)}!function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(pc||(pc={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(ph||(ph={}));class oU{constructor(e,t,i){this.decodeTree=e,this.emitCodePoint=t,this.errors=i,this.state=pc.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ph.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=pc.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case pc.EntityStart:if(e.charCodeAt(t)===pd.NUM)return this.state=pc.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=pc.NamedEntity,this.stateNamedEntity(e,t);case pc.NumericStart:return this.stateNumericStart(e,t);case pc.NumericDecimal:return this.stateNumericDecimal(e,t);case pc.NumericHex:return this.stateNumericHex(e,t);case pc.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|oN)===pd.LOWER_X?(this.state=pc.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=pc.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t>14;for(;t>7;if(0===this.runConsumed){let i=n&pu.JUMP_TABLE;if(e.charCodeAt(t)!==i)return 0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed=e.length)return -1;let n=this.runConsumed-1,r=i[this.treeIndex+1+(n>>1)],a=n%2==0?255&r:r>>8&255;if(e.charCodeAt(t)!==a)return this.runConsumed=0,0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(a>>1),r=((n=i[this.treeIndex])&pu.VALUE_LENGTH)>>14}if(t>=e.length)break;let a=e.charCodeAt(t);if(a===pd.SEMI&&0!==r&&(n&pu.FLAG13)!=0)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);if(this.treeIndex=oq(i,n,this.treeIndex+Math.max(1,r),a),this.treeIndex<0)return 0===this.result||this.decodeMode===ph.Attribute&&(0===r||oz(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(r=((n=i[this.treeIndex])&pu.VALUE_LENGTH)>>14)){if(a===pd.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==ph.Strict&&(n&pu.FLAG13)==0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:i}=this,n=(i[t]&pu.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,i){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~(pu.VALUE_LENGTH|pu.FLAG13):n[e+1],i),3===t&&this.emitCodePoint(n[e+2],i),i}end(){var e;switch(this.state){case pc.NamedEntity:return 0!==this.result&&(this.decodeMode!==ph.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case pc.NumericDecimal:return this.emitNumericEntity(0,2);case pc.NumericHex:return this.emitNumericEntity(0,3);case pc.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case pc.EntityStart:return 0}}}function oq(e,t,i,n){let r=(t&pu.BRANCH_LENGTH)>>7,a=t&pu.JUMP_TABLE;if(0===r)return 0!==a&&n===a?i:-1;if(a){let t=n-a;return t<0||t>=r?-1:e[i+t]-1}let s=r+1>>1,o=0,l=r-1;for(;o<=l;){let t=o+l>>>1,r=e[i+(t>>1)]>>(1&t)*8&255;if(rn))return e[i+s+t];l=t-1}}return -1}let oW=function(e){let t="",i=new oU(e,e=>t+=oI(e));return function(e,n){let r=0,a=0;for(;(a=e.indexOf("&",a))>=0;){t+=e.slice(r,a),i.startEntity(n);let s=i.write(e,a+1);if(s<0){r=a+i.end();break}r=a+s,a=0===s?r+1:r}let s=t+e.slice(r);return t="",s}}(oL);function oV(e,t=ph.Legacy){return oW(e,t)}String.prototype.codePointAt;let oH=0x500000c4;function o$(e,t){for(let i of Object.keys(Object(t)).filter(e=>e.startsWith("mention"))){let n=t[i],r="";n["mention-id"]?r=`@"${n["mention-id"]}"`:i.startsWith("mention-call")&&n.type===ag.CALL?r="@all":i.startsWith("mention-federated-user")&&[ag.USER,ag.FEDERATED_USER].includes(n.type)?r=`@"federated_user/${n.id}@${(n?.server??(0,O.$_)()).replace("https://","")}"`:i.startsWith("mention-group")&&[ag.USERGROUP,ag.GROUP].includes(n.type)?r=`@"group/${n.id}"`:i.startsWith("mention-team")&&[ag.CIRCLE,ag.TEAM].includes(n.type)?r=`@"team/${n.id}"`:i.startsWith("mention-guest")&&n.type===ag.GUEST?r=`@"${n.id}"`:i.startsWith("mention-email")&&n.type===ag.EMAIL?r=`@"email/${n.id}"`:i.startsWith("mention-user")&&n.type===ag.USER&&(r=`@"${n.id}"`),r&&(e=e.replace(RegExp(`{${i}}`,"g"),r))}return e}function oG(e,t){return!t||Array.isArray(t)||Object.entries(t).forEach(([t,i])=>{e=e.replaceAll("{"+t+"}",i.name)}),e.trim()}function oX(e){return oV(e).replace(/^\s+|\s+$/g,"").replace(/\r\n|\n|\r/gm,"\n")}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(pf||(pf={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(pm||(pm={}));let oK=100,oY=new Set,oQ=nO("chatExtras",()=>{let e=(0,z.KR)({}),t=(0,z.KR)(new Set),i=(0,z.KR)(!1),n=(0,z.KR)(!1),r=(0,z.KR)({}),a=(0,z.KR)({}),s=(0,z.KR)({}),o=(0,z.KR)({}),l=(0,z.KR)({}),u=(0,z.KR)(0),d=(0,z.KR)(0),c=(0,z.KR)({}),h=(0,z.KR)({}),f=(0,z.KR)(null),m=(0,z.KR)(!1),g=of(),p=ed();function _(e){let t=p.getters.conversation(e);return t?.lastPinnedId&&t.lastPinnedId!==t.hiddenPinnedId}function b(t,i){if(e.value[t]?.[i])return e.value[t][i]}function y(t){return e.value[t]?Object.values(e.value[t]).sort((e,t)=>t.thread.lastActivity-e.thread.lastActivity):[]}let F=(0,z.EW)(()=>i.value?Object.keys(e.value).flatMap(t=>Object.values(e.value[t]??{})).filter(e=>t.value.has(e.thread.id)).sort((e,t)=>t.thread.lastActivity-e.thread.lastActivity):[]);function k(e){return r.value[e]}function w(e){if(a.value[e])return a.value[e]}function C(e){return l.value[e]??""}function A(e){return o.value[e]}function E(e){return Object.values(c.value[e]??{})}function S(e){return void 0!==c.value[e]}function x(e){return Object.values(c.value[e]??{}).map(e=>e.summary).join("\n\n")||(0,K.t)("spreed","Error occurred during a summary generation")}function D(e){return Object.values(h.value[e]??{}).sort((e,t)=>e.sendAt-t.sendAt).map(t=>eh(e,t))}function T(e,t){if(h.value[e]?.[t])return eh(e,h.value[e][t])}function M(e){f.value=e}function I(e){m.value=e}function B(t,i){e.value[t]||(e.value[t]={}),e.value[t][i.thread.id]=i}async function P(e,t){if(!oY.has(t))try{oY.add(t);let i=await sK(e,t);B(e,i.data.ocs.data),i.data.ocs.data.first&&p.commit("addMessage",{token:e,message:i.data.ocs.data.first})}catch(e){console.error("Error fetching thread:",e)}finally{oY.delete(t)}}async function N(e){try{(await sX({token:e})).data.ocs.data.forEach(t=>{B(e,t)})}catch(e){console.error("Error fetching threads:",e)}}async function R(e){try{let r=await sY({limit:oK,offset:e});e||(t.value.clear(),n.value=!1),r.data.ocs.data.forEach(e=>{t.value.add(e.thread.id),B(e.thread.roomToken,e)}),i.value=!0,r.data.ocs.data.lengthvoid 0},{label:(0,K.t)("spreed","Save"),variant:"primary",callback:()=>!0}]});if(n&&"string"==typeof n)try{let e=await sZ(t,i,n);B(t,e.data.ocs.data)}catch(e){(0,$.s)((0,K.t)("spreed","Failed to rename the thread")),console.error(e)}}function V(t,i){if(i)for(let n of Object.keys(e.value[t]??{}))+ne.startsWith("file"))&&"{file}"===i?et({token:e,text:""}):et({token:e,text:i,parameters:n}),h.value[e]?.[t]&&-1===h.value[e][t].threadId&&X(e,h.value[e][t].threadTitle),iZ.emit("editing-message"),iZ.emit("focus-chat-input")}function es(e){Z(e),er(e),V(e)}function eo(e){u.value=e.tasksCount,d.value=e.tasksDoneCount}async function el(e,t){try{let i=await sG(e,t);if(!i.data)return void console.warn("No messages found to summarize:",{token:e,fromMessageId:t});let n=i.data.ocs.data;c.value[e]||(c.value[e]={}),c.value[e][t]={...n,fromMessageId:t},n.nextOffset&&n.nextOffset!==t&&await el(e,n.nextOffset)}catch(e){console.error("Error while requesting a summary:",e)}}function eu(e,t,i){c.value[e]?.[t]&&(c.value[e][t].summary=i)}function ec(e){S(e)&&delete c.value[e]}function eh(e,t){return{token:e,id:t.id,actorId:t.actorId,actorType:t.actorType,actorDisplayName:g.displayName,message:t.message,messageType:t.messageType,referenceId:"scheduled-"+t.id,systemMessage:"",isReplyable:!1,markdown:!0,messageParameters:{},parent:t.parent,reactions:{},timestamp:t.sendAt,expirationTimestamp:0,threadId:t.threadId,threadTitle:t.threadTitle,isThread:!!t.threadId,silent:t.silent}}async function ef(e){try{let t=await sJ(e);h.value[e]||(h.value[e]={}),t.data.ocs.data.forEach(t=>{h.value[e][t.id]=t})}catch(e){console.error("Error while fetching scheduled messages:",e)}}async function em(e,t){try{let i=await s0({token:e,...t});h.value[e]||(h.value[e]={}),h.value[e][i.data.ocs.data.id]=i.data.ocs.data,await p.dispatch("setConversationProperties",{token:e,properties:{hasScheduledMessages:Object.keys(h.value[e]).length}})}catch(e){throw console.error("Error while scheduling message:",e),e}}async function eg(e,t,i){try{let n=await s1({token:e,messageId:t,...i});h.value[e][t]=n.data.ocs.data}catch(e){throw console.error("Error while editing scheduled message:",e),e}}async function ep(e,t){try{await s2(e,t),delete h.value[e][t];let i=Object.keys(h.value[e]??{}).length;await p.dispatch("setConversationProperties",{token:e,properties:{hasScheduledMessages:i}}),0===i&&I(!1)}catch(e){console.error("Error while deleting scheduled message:",e)}}return{threads:e,followedThreads:t,followedThreadsInitialised:i,allFollowedThreadsReceived:n,threadTitle:r,parentToReply:a,chatInput:s,messageIdToEdit:o,chatEditInput:l,tasksCount:u,tasksDoneCount:d,chatSummary:c,scheduledMessages:h,scheduleMessageTime:f,showScheduledMessages:m,hasPinnedMessageShown:_,followedThreadsList:F,getThread:b,getThreadsList:y,getThreadTitle:k,getParentIdToReply:w,getChatEditInput:C,getMessageIdToEdit:A,getChatSummaryTaskQueue:E,hasChatSummaryTaskRequested:S,getChatSummary:x,getScheduledMessagesList:D,getScheduledMessage:T,addThread:B,fetchSingleThread:P,fetchRecentThreadsList:N,fetchFollowedThreadsList:R,setThreadNotificationLevel:j,updateThread:O,updateThreadTitle:q,renameThread:W,clearThreads:V,removeMessageFromThread:H,getChatInput:G,setThreadTitle:X,removeThreadTitle:Y,setParentIdToReply:Q,removeParentIdToReply:Z,restoreChatInput:J,setChatInput:ee,setChatEditInput:et,setMessageIdToEdit:ei,removeMessageIdToEdit:en,removeChatInput:er,initiateEditingMessage:ea,purgeChatExtras:es,setTasksCounters:eo,requestChatSummary:el,storeChatSummary:eu,dismissChatSummary:ec,fetchScheduledMessages:ef,scheduleMessage:em,editScheduledMessage:eg,deleteScheduledMessage:ep,setScheduleMessageTime:M,setShowScheduledMessages:I}}),oZ=nO("federation",{state:()=>({pendingShares:{},acceptedShares:{},pendingSharesCount:0}),actions:{async getShares(){try{let e=await aj(),t={},i={};e.data.ocs.data.forEach(e=>{e.state===am?t[e.id]=e:i[e.id]=e}),this.acceptedShares=t,this.pendingShares=i,this.updatePendingSharesCount(Object.keys(this.pendingShares).length)}catch(e){console.error(e)}},addInvitationFromNotification(e){if(this.pendingShares[e.objectId])return;let[t,i]=e.messageRichParameters.roomName.id.split("::"),{id:n,name:r}=e.messageRichParameters.user1,a={id:+e.objectId,localToken:"",localCloudId:e.user+"@"+(0,O.$_)().replace("https://",""),remoteAttendeeId:0,remoteServerUrl:t,remoteToken:i,roomName:e.messageRichParameters.roomName.name,state:af,userId:e.user,inviterCloudId:n+"@"+t,inviterDisplayName:r};this.pendingShares[a.id]=a,this.updatePendingSharesCount(Object.keys(this.pendingShares).length)},markInvitationAccepted(e,t){this.pendingShares[e]&&(delete this.pendingShares[e].loading,this.acceptedShares[e]={...this.pendingShares[e],localToken:t.token,state:am},delete this.pendingShares[e])},async acceptShare(e){if(this.pendingShares[e])try{this.pendingShares[e].loading="accept";let t=await aO(e);return await aQ(t),this.markInvitationAccepted(e,t.data.ocs.data),this.updatePendingSharesCount(Object.keys(this.pendingShares).length),t.data.ocs.data}catch(t){console.error(t),(0,$.s)((0,K.t)("spreed","An error occurred while accepting an invitation")),await this.getShares(),this.pendingShares[e]&&delete this.pendingShares[e].loading}},async rejectShare(e){if(this.pendingShares[e])try{this.pendingShares[e].loading="reject",await az(e),delete this.pendingShares[e],this.updatePendingSharesCount(Object.keys(this.pendingShares).length)}catch(t){console.error(t),(0,$.s)((0,K.t)("spreed","An error occurred while rejecting an invitation")),await this.getShares(),this.pendingShares[e]&&delete this.pendingShares[e].loading}},updatePendingSharesCount(e){this.pendingSharesCount=e?+e:0}}});class oJ{constructor(){this._parser={},this._registerDefaultParsers()}canParse(e){return Object.prototype.hasOwnProperty.call(this._parser,e)}parse(e,t,i){let n=`{${t.namespaceURI}}${t.localName}`;if(!this.canParse(n))throw Error(`Unable to parse unknown property "${n}"`);return this._parser[n](e,t,i)}registerParser(e,t){this._parser[e]=t}unregisterParser(e){delete this._parser[e]}_registerDefaultParsers(){this.registerParser("{DAV:}displayname",oJ.text),this.registerParser("{DAV:}creationdate",oJ.text),this.registerParser("{DAV:}getcontentlength",oJ.decInt),this.registerParser("{DAV:}getcontenttype",oJ.text),this.registerParser("{DAV:}getcontentlanguage",oJ.text),this.registerParser("{DAV:}getlastmodified",oJ.rfc1123Date),this.registerParser("{DAV:}getetag",oJ.text),this.registerParser("{DAV:}resourcetype",oJ.resourceType),this.registerParser("{DAV:}inherited-acl-set",oJ.hrefs),this.registerParser("{DAV:}group",oJ.href),this.registerParser("{DAV:}owner",oJ.href),this.registerParser("{DAV:}current-user-privilege-set",oJ.privileges),this.registerParser("{DAV:}principal-collection-set",oJ.hrefs),this.registerParser("{DAV:}principal-URL",oJ.href),this.registerParser("{DAV:}alternate-URI-set",oJ.hrefs),this.registerParser("{DAV:}group-member-set",oJ.hrefs),this.registerParser("{DAV:}group-membership",oJ.hrefs),this.registerParser("{DAV:}current-user-principal",oJ.currentUserPrincipal),this.registerParser("{DAV:}sync-token",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:carddav}address-data",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:carddav}addressbook-description",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:carddav}supported-address-data",oJ.addressDataTypes),this.registerParser("{urn:ietf:params:xml:ns:carddav}max-resource-size",oJ.decInt),this.registerParser("{urn:ietf:params:xml:ns:carddav}addressbook-home-set",oJ.hrefs),this.registerParser("{urn:ietf:params:xml:ns:carddav}principal-address",oJ.href),this.registerParser("{urn:ietf:params:xml:ns:carddav}supported-collation-set",oJ.supportedCardDAVCollations),this.registerParser("{urn:ietf:params:xml:ns:caldav}calendar-data",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:caldav}calendar-home-set",oJ.hrefs),this.registerParser("{urn:ietf:params:xml:ns:caldav}calendar-description",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:caldav}calendar-timezone",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set",oJ.calendarComps),this.registerParser("{urn:ietf:params:xml:ns:caldav}supported-calendar-data",oJ.calendarDatas),this.registerParser("{urn:ietf:params:xml:ns:caldav}max-resource-size",oJ.decInt),this.registerParser("{urn:ietf:params:xml:ns:caldav}min-date-time",oJ.iCalendarTimestamp),this.registerParser("{urn:ietf:params:xml:ns:caldav}max-date-time",oJ.iCalendarTimestamp),this.registerParser("{urn:ietf:params:xml:ns:caldav}max-instances",oJ.decInt),this.registerParser("{urn:ietf:params:xml:ns:caldav}max-attendees-per-instance",oJ.decInt),this.registerParser("{urn:ietf:params:xml:ns:caldav}supported-collation-set",oJ.supportedCalDAVCollations),this.registerParser("{urn:ietf:params:xml:ns:caldav}schedule-outbox-URL",oJ.href),this.registerParser("{urn:ietf:params:xml:ns:caldav}schedule-inbox-URL",oJ.href),this.registerParser("{urn:ietf:params:xml:ns:caldav}calendar-user-address-set",oJ.hrefs),this.registerParser("{urn:ietf:params:xml:ns:caldav}calendar-user-type",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:caldav}schedule-calendar-transp",oJ.scheduleCalendarTransp),this.registerParser("{urn:ietf:params:xml:ns:caldav}schedule-default-calendar-URL",oJ.href),this.registerParser("{urn:ietf:params:xml:ns:caldav}schedule-tag",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:caldav}timezone-service-set",oJ.hrefs),this.registerParser("{urn:ietf:params:xml:ns:caldav}calendar-timezone-id",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:caldav}calendar-availability",oJ.text),this.registerParser("{http://apple.com/ns/ical/}calendar-order",oJ.decInt),this.registerParser("{http://apple.com/ns/ical/}calendar-color",oJ.color),this.registerParser("{http://calendarserver.org/ns/}source",oJ.href),this.registerParser("{urn:ietf:params:xml:ns:caldav}default-alarm-vevent-datetime",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:caldav}default-alarm-vevent-date",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:caldav}default-alarm-vtodo-datetime",oJ.text),this.registerParser("{urn:ietf:params:xml:ns:caldav}default-alarm-vtodo-date",oJ.text),this.registerParser("{http://calendarserver.org/ns/}getctag",oJ.text),this.registerParser("{http://calendarserver.org/ns/}calendar-proxy-read-for",oJ.hrefs),this.registerParser("{http://calendarserver.org/ns/}calendar-proxy-write-for",oJ.hrefs),this.registerParser("{http://calendarserver.org/ns/}allowed-sharing-modes",oJ.allowedSharingModes),this.registerParser("{http://calendarserver.org/ns/}shared-url",oJ.href),this.registerParser("{http://sabredav.org/ns}owner-principal",oJ.href),this.registerParser("{http://sabredav.org/ns}read-only",oJ.bool),this.registerParser("{http://calendarserver.org/ns/}pre-publish-url",oJ.href),this.registerParser("{http://calendarserver.org/ns/}publish-url",oJ.href),this.registerParser("{http://owncloud.org/ns}invite",oJ.ocInvite),this.registerParser("{http://owncloud.org/ns}calendar-enabled",oJ.bool),this.registerParser("{http://owncloud.org/ns}enabled",oJ.bool),this.registerParser("{http://owncloud.org/ns}read-only",oJ.bool),this.registerParser("{http://nextcloud.com/ns}owner-displayname",oJ.text),this.registerParser("{http://nextcloud.com/ns}deleted-at",oJ.iso8601DateTime),this.registerParser("{http://nextcloud.com/ns}calendar-uri",oJ.text),this.registerParser("{http://nextcloud.com/ns}has-photo",oJ.bool),this.registerParser("{http://nextcloud.com/ns}trash-bin-retention-duration",oJ.decInt),this.registerParser("{http://nextcloud.com/ns}language",oJ.text),this.registerParser("{http://nextcloud.com/ns}room-type",oJ.text),this.registerParser("{http://nextcloud.com/ns}room-seating-capacity",oJ.decInt),this.registerParser("{http://nextcloud.com/ns}room-building-address",oJ.text),this.registerParser("{http://nextcloud.com/ns}room-building-story",oJ.text),this.registerParser("{http://nextcloud.com/ns}room-building-room-number",oJ.text),this.registerParser("{http://nextcloud.com/ns}room-features",oJ.text),this.registerParser("{http://sabredav.org/ns}email-address",oJ.text)}static text(e,t,i){return e.evaluate("string(.)",t,i,XPathResult.ANY_TYPE,null).stringValue}static bool(e,t,i){return"1"===oJ.text(e,t,i)}static decInt(e,t,i){return parseInt(oJ.text(e,t,i),10)}static rfc1123Date(e,t,i){return new Date(oJ.text(e,t,i))}static iso8601DateTime(e,t,i){return new Date(oJ.text(e,t,i))}static iCalendarTimestamp(e,t,i){let n=oJ.text(e,t,i),r=parseInt(n.slice(0,4),10),a=parseInt(n.slice(4,6),10)-1,s=parseInt(n.slice(6,8),10),o=parseInt(n.slice(9,11),10),l=parseInt(n.slice(11,13),10),u=parseInt(n.slice(13,15),10),d=new Date;return d.setUTCFullYear(r,a,s),d.setUTCHours(o,l,u,0),d}static resourceType(e,t,i){let n,r=[],a=e.evaluate("*",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());){let t=e.evaluate("namespace-uri(.)",n,i,XPathResult.ANY_TYPE,null).stringValue,a=e.evaluate("local-name(.)",n,i,XPathResult.ANY_TYPE,null).stringValue;r.push(`{${t}}${a}`)}return r}static href(e,t,i){return e.evaluate("string(d:href)",t,i,XPathResult.ANY_TYPE,null).stringValue}static hrefs(e,t,i){let n,r=[],a=e.evaluate("d:href",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());)r.push(e.evaluate("string(.)",n,i,XPathResult.ANY_TYPE,null).stringValue);return r}static privileges(e,t,i){let n,r=[],a=e.evaluate("d:privilege/*",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());){let t=e.evaluate("namespace-uri(.)",n,i,XPathResult.ANY_TYPE,null).stringValue,a=e.evaluate("local-name(.)",n,i,XPathResult.ANY_TYPE,null).stringValue;r.push(`{${t}}${a}`)}return r}static currentUserPrincipal(e,t,i){return 0!==e.evaluate("count(d:unauthenticated)",t,i,XPathResult.ANY_TYPE,null).numberValue?{type:"unauthenticated",href:null}:{type:"href",href:oJ.href(...arguments)}}static addressDataTypes(e,t,i){let n,r=[],a=e.evaluate("cr:address-data-type",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());)r.push({"content-type":e.evaluate("string(@content-type)",n,i,XPathResult.ANY_TYPE,null).stringValue,version:e.evaluate("string(@version)",n,i,XPathResult.ANY_TYPE,null).stringValue});return r}static supportedCardDAVCollations(e,t,i){let n,r=[],a=e.evaluate("cr:supported-collation",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());)r.push(e.evaluate("string(.)",n,i,XPathResult.ANY_TYPE,null).stringValue);return r}static supportedCalDAVCollations(e,t,i){let n,r=[],a=e.evaluate("cl:supported-collation",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());)r.push(e.evaluate("string(.)",n,i,XPathResult.ANY_TYPE,null).stringValue);return r}static calendarComps(e,t,i){let n,r=[],a=e.evaluate("cl:comp",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());)r.push(e.evaluate("string(@name)",n,i,XPathResult.ANY_TYPE,null).stringValue);return r}static calendarDatas(e,t,i){let n,r=[],a=e.evaluate("cl:calendar-data",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());)r.push({"content-type":e.evaluate("string(@content-type)",n,i,XPathResult.ANY_TYPE,null).stringValue,version:e.evaluate("string(@version)",n,i,XPathResult.ANY_TYPE,null).stringValue});return r}static scheduleCalendarTransp(e,t,i){let n=e.evaluate("cl:opaque | cl:transparent",t,i,XPathResult.ANY_TYPE,null).iterateNext();if(n)return e.evaluate("local-name(.)",n,i,XPathResult.ANY_TYPE,null).stringValue}static color(e,t,i){let n=oJ.text(e,t,i);return 9===n.length?n.slice(0,7):n}static allowedSharingModes(e,t,i){let n,r=[],a=e.evaluate("cs:can-be-shared | cs:can-be-published",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());){let t=e.evaluate("namespace-uri(.)",n,i,XPathResult.ANY_TYPE,null).stringValue,a=e.evaluate("local-name(.)",n,i,XPathResult.ANY_TYPE,null).stringValue;r.push(`{${t}}${a}`)}return r}static ocInvite(e,t,i){let n,r=[],a=e.evaluate("oc:user",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());)r.push({href:oJ.href(e,n,i),"common-name":e.evaluate("string(oc:common-name)",n,i,XPathResult.ANY_TYPE,null).stringValue,"invite-accepted":1===e.evaluate("count(oc:invite-accepted)",n,i,XPathResult.ANY_TYPE,null).numberValue,access:oJ.ocAccess(e,n,i)});return r}static ocAccess(e,t,i){let n,r=[],a=e.evaluate("oc:access/*",t,i,XPathResult.ANY_TYPE,null);for(;null!==(n=a.iterateNext());){let t=e.evaluate("namespace-uri(.)",n,i,XPathResult.ANY_TYPE,null).stringValue,a=e.evaluate("local-name(.)",n,i,XPathResult.ANY_TYPE,null).stringValue;r.push(`{${t}}${a}`)}return r}}let o0="DAV:",o1="urn:ietf:params:xml:ns:caldav",o2="urn:ietf:params:xml:ns:carddav",o3="http://owncloud.org/ns",o4="http://nextcloud.com/ns",o6="http://apple.com/ns/ical/",o5="http://calendarserver.org/ns/",o8="http://sabredav.org/ns",o9={d:o0,cl:o1,cr:o2,oc:o3,nc:o4,aapl:o6,cs:o5,sd:o8};function o7(e){return o9[e]||null}let le=new XMLSerializer,lt={};function li(){if(0==arguments.length)return[{},null];let e={name:arguments[0],children:[]},t=e.children,i=Array.prototype.slice.call(arguments,1);return i.forEach(function(e){let i={name:e,children:[]};t.push(i),t=i.children}),[e,t]}function ln(e){if("object"!=typeof(e=e||{})||!Object.prototype.hasOwnProperty.call(e,"name"))return"";let t=document.implementation.createDocument("","",null);return lr(t,t,e),le.serializeToString(t)}function lr(e,t,i){let[n,r]=i.name,a=e.createElementNS(n,la(n,r));i.attributes=i.attributes||[],i.attributes.forEach(e=>{if(2===e.length){let[t,i]=e;a.setAttribute(t,i)}else{let[t,i,n]=e;a.setAttributeNS(t,la(t,i),n)}}),i.value?a.textContent=i.value:i.children&&i.children.forEach(t=>{lr(e,a,t)}),t.appendChild(a)}function la(e,t){return Object.prototype.hasOwnProperty.call(lt,e)||(lt[e]="x"+Object.keys(lt).length),lt[e]+":"+t}class ls extends Error{constructor(e){super(),Object.assign(this,e)}}class lo extends ls{}class ll extends ls{}class lu extends ls{}class ld extends lu{}class lc extends lu{}class lh{constructor(e,t,i={}){this.baseUrl=e,this.parser=t,this.defaultHeaders=i}async options(e,t={},i=null){return this.request("OPTIONS",e,t,null,i)}async get(e,t={},i=null,n=null){return this.request("GET",e,t,i,n)}async patch(e,t,i,n=null){return this.request("PATCH",e,t,i,n)}async post(e,t,i,n=null){return this.request("POST",e,t,i,n)}async put(e,t,i,n=null){return this.request("PUT",e,t,i,n)}async delete(e,t={},i=null,n=null){return this.request("DELETE",e,t,i,n)}async copy(e,t,i=0,n=!1,r={},a=null,s=null){return r.Destination=t,r.Depth=i,r.Overwrite=n?"T":"F",this.request("COPY",e,r,a,s)}async move(e,t,i=!1,n={},r=null,a=null){return n.Destination=t,n.Depth="Infinity",n.Overwrite=i?"T":"F",this.request("MOVE",e,n,r,a)}async lock(e,t={},i=null,n=null){return this.request("LOCK",e,t,i,n)}async unlock(e,t={},i=null,n=null){return this.request("UNLOCK",e,t,i,n)}async propFind(e,t,i=0,n={},r=null){n.Depth=i;let[a,s]=li([o0,"propfind"],[o0,"prop"]);s.push(...t.map(e=>({name:e})));let o=ln(a);return this.request("PROPFIND",e,n,o,r)}async propPatch(e,t,i,n=null){return this.request("PROPPATCH",e,t,i,n)}async mkCol(e,t,i,n=null){return this.request("MKCOL",e,t,i,n)}async report(e,t,i,n=null){return this.request("REPORT",e,t,i,n)}async request(e,t,i,n,r){let a=Object.assign({},lg(),this.defaultHeaders,i);try{let i=await aw.Ay.request({url:this.absoluteUrl(t),method:e,headers:a,data:n,validateStatus:lf,signal:r}),s=i.data;return 207===i.status&&(s=this._parseMultiStatusResponse(s),0===parseInt(a.Depth,10)&&"PROPFIND"===e&&(s=s[Object.keys(s)[0]])),{body:s,status:i.status,headers:i.headers}}catch(e){if(aw.Ay.isCancel(e))throw new lo({body:null,status:-1,headers:e.headers||{}});if(e.request)throw new ll({body:null,status:-1,headers:e.headers||{}});if(e.status>=400&&e.status<500)throw new lc({body:e.data,status:e.status,headers:e.headers||{}});if(e.status>=500&&e.status<600)throw new ld({body:e.data,status:e.status,headers:e.headers||{}});throw new lu({body:e.data,status:e.status,headers:e.headers||{}})}}filename(e){let t=this.pathname(e);"/"===t.slice(-1)&&(t=t.slice(0,-1));let i=t.lastIndexOf("/");return t.slice(i)}pathname(e){return new URL(e,this.baseUrl).pathname}absoluteUrl(e){return new URL(e,this.baseUrl).href}_parseMultiStatusResponse(e){let t,i={},n=new DOMParser().parseFromString(e,"application/xml"),r=n.evaluate("/d:multistatus/d:response",n,o7,XPathResult.ANY_TYPE,null);for(;null!==(t=r.iterateNext());){let e,r=n.evaluate("string(d:href)",t,o7,XPathResult.ANY_TYPE,null).stringValue,a={},s=n.evaluate("d:propstat",t,o7,XPathResult.ANY_TYPE,null);for(;null!==(e=s.iterateNext());){let t;if(!lf(lm(n.evaluate("string(d:status)",e,o7,XPathResult.ANY_TYPE,null).stringValue)))continue;let i=n.evaluate("d:prop/*",e,o7,XPathResult.ANY_TYPE,null);for(;null!==(t=i.iterateNext());)this.parser.canParse(`{${t.namespaceURI}}${t.localName}`)&&(a[`{${t.namespaceURI}}${t.localName}`]=this.parser.parse(n,t,o7))}i[r]=a}return i}}function lf(e){return e>=200&&e<300}function lm(e){return parseInt(e.split(" ")[1],10)}function lg(){return{Depth:"0","Content-Type":"application/xml; charset=utf-8"}}function lp(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16).toUpperCase()})}function l_(e,t){return""!==(e=e||"")&&(e+="-"),""!==(t=t||"")&&(t="."+t),e+lp()+t}function lv(e,t){let i=(e=e||"").toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"");if(""===i&&(i="-"),t(i)||-1===i.indexOf("-")&&t(i+="-1"))return i;do{let e=i.lastIndexOf("-"),t=i.slice(0,e),n=i.slice(e+1);n.match(/^\d+$/)?(n=parseInt(n),i=t+"-"+ ++n):i+="-1"}while(!1===t(i));return i}class lb{constructor(){this._eventListeners={}}addEventListener(e,t,i=null){this._eventListeners[e]=this._eventListeners[e]||[],this._eventListeners[e].push({listener:t,options:i})}removeEventListener(e,t){if(!this._eventListeners[e])return;let i=this._eventListeners[e].findIndex(({listener:e})=>e===t);-1!==i&&this._eventListeners[e].splice(i,1)}dispatchEvent(e,t){if(!this._eventListeners[e])return;let i=[],n=[];this._eventListeners[e].forEach(({listener:e,options:t})=>{t&&t.once?n.push(e):i.push(e)}),n.forEach(i=>{this.removeEventListener(e,i),i(t)}),i.forEach(e=>{e(t)})}}function ly(e){return(...t)=>{ly.enabled&&console.debug(e,...t)}}function lF(e){let t=[];return Object.entries(e).forEach(([e,i])=>{"{DAV:}displayname"===e&&t.push({name:[o0,"displayname"],value:i})}),t}ly.enabled=!1;let lk=ly("DavObject");class lw extends lb{constructor(e,t,i,n,r=!1){super(),Object.assign(this,{_parent:e,_request:t,_url:i,_props:n,_isPartial:r,_isDirty:!1}),this._exposeProperty("etag",o0,"getetag",!0),this._exposeProperty("contenttype",o0,"getcontenttype"),Object.defineProperty(this,"url",{get:()=>this._url})}async fetchCompleteData(e=!1){if(!e&&!this.isPartial())return;let t=await this._request.propFind(this._url,this.constructor.getPropFindList(),0);this._props=t.body,this._isDirty=!1,this._isPartial=!1}async copy(e,t=!1,i={}){if(lk(`copying ${this.url} from ${this._parent.url} to ${e.url}`),this._parent===e)throw Error("Copying an object to the collection it's already part of is not supported");if(!this._parent.isSameCollectionTypeAs(e))throw Error("Copying an object to a collection of a different type is not supported");if(!e.isWriteable())throw Error("Can not copy object into read-only destination collection");let n=this.url.split("/").splice(-1,1)[0],r=e.url+n;return await this._request.copy(this.url,r,0,t,i),e.find(n)}async move(e,t=!1,i={}){if(lk(`moving ${this.url} from ${this._parent.url} to ${e.url}`),this._parent===e)throw Error("Moving an object to the collection it's already part of is not supported");if(!this._parent.isSameCollectionTypeAs(e))throw Error("Moving an object to a collection of a different type is not supported");if(!e.isWriteable())throw Error("Can not move object into read-only destination collection");let n=this.url.split("/").splice(-1,1)[0],r=e.url+n;await this._request.move(this.url,r,t,i),this._parent=e,this._url=r}async update(){if(this.isPartial()||!this.isDirty()||!this.data)return;let e={};return this.contenttype&&(e["Content-Type"]=`${this.contenttype}; charset=utf-8`),this.etag&&(e["If-Match"]=this.etag),this._request.put(this.url,e,this.data).then(e=>{this._isDirty=!1,this._props["{DAV:}getetag"]=e.headers.etag||null}).catch(e=>{throw this._isDirty=!0,e instanceof lc&&412===e.status&&(this._isPartial=!0),e})}async delete(e={}){return this._request.delete(this.url,e)}isPartial(){return this._isPartial}isDirty(){return this._isDirty}_exposeProperty(e,t,i,n=!1){n?Object.defineProperty(this,e,{get:()=>this._props[`{${t}}${i}`],set:e=>{this._isDirty=!0,this._props[`{${t}}${i}`]=e}}):Object.defineProperty(this,e,{get:()=>this._props[`{${t}}${i}`]})}static getPropFindList(){return[[o0,"getcontenttype"],[o0,"getetag"],[o0,"resourcetype"]]}}let lC=ly("DavCollection");class lA extends lb{constructor(e,t,i,n){super(),"/"!==i.slice(-1)&&(i+="/"),Object.assign(this,{_parent:e,_request:t,_url:i,_props:n,_collectionFactoryMapper:{},_objectFactoryMapper:{},_updatedProperties:[],_childrenNames:[],_propFindList:[],_propSetFactory:[]}),this._registerPropSetFactory(lF),this._exposeProperty("displayname",o0,"displayname",!0),this._exposeProperty("owner",o0,"owner"),this._exposeProperty("resourcetype",o0,"resourcetype"),this._exposeProperty("syncToken",o0,"sync-token"),this._exposeProperty("currentUserPrivilegeSet",o0,"current-user-privilege-set"),Object.defineProperty(this,"url",{get:()=>this._url}),this._propFindList.push(...lw.getPropFindList()),this._propFindList.push(...lA.getPropFindList())}async findAll(){let e=await this._request.propFind(this._url,this._propFindList,1);return this._handleMultiStatusResponse(e,!1)}async findAllByFilter(e){return(await this.findAll()).filter(e)}async find(e){let t=await this._request.propFind(this._url+e,this._propFindList,0);return t.body={[this._url+e]:t.body},this._handleMultiStatusResponse(t,!1)[0]}async createCollection(e,t=null){lC("creating a collection"),t||(t=[{name:[o0,"resourcetype"],children:[{name:[o0,"collection"]}]}]);let[i,n]=li([o0,"mkcol"],[o0,"set"],[o0,"prop"]);n.push(...t);let r=this._getAvailableNameFromToken(e),a=ln(i);return await this._request.mkCol(this.url+r,{},a),this.find(r+"/")}async createObject(e,t,i){return lC("creating an object"),await this._request.put(this.url+e,t,i),this.find(e)}async update(){if(0===this._updatedProperties.length)return;let e={};this._updatedProperties.forEach(t=>{e[t]=this._props[t]});let t=this._propSetFactory.reduce((t,i)=>[...t,...i(e)],[]),[i,n]=li([o0,"propertyupdate"],[o0,"set"],[o0,"prop"]);n.push(...t);let r=ln(i);await this._request.propPatch(this._url,{},r)}async delete(e={}){await this._request.delete(this._url,e)}isReadable(){return this.currentUserPrivilegeSet.includes("{DAV:}read")}isWriteable(){return this.currentUserPrivilegeSet.includes("{DAV:}write")}isSameCollectionTypeAs(e){let t=this.resourcetype,i=e.resourcetype,n=t.find(e=>-1===i.indexOf(e)),r=i.find(e=>-1===t.indexOf(e));return void 0===n&&void 0===r}_registerCollectionFactory(e,t){this._collectionFactoryMapper[e]=t,"function"==typeof t.getPropFindList&&this._propFindList.push(...t.getPropFindList())}_registerObjectFactory(e,t){this._objectFactoryMapper[e]=t,"function"==typeof t.getPropFindList&&this._propFindList.push(...t.getPropFindList())}_registerPropSetFactory(e){this._propSetFactory.push(e)}_exposeProperty(e,t,i,n=!1){n?Object.defineProperty(this,e,{get:()=>this._props[`{${t}}${i}`],set:e=>{this._props[`{${t}}${i}`]=e,-1===this._updatedProperties.indexOf(`{${t}}${i}`)&&this._updatedProperties.push(`{${t}}${i}`)}}):Object.defineProperty(this,e,{get:()=>this._props[`{${t}}${i}`]})}_getAvailableNameFromToken(e){return lv(e,e=>-1===this._childrenNames.indexOf(this._url+e)&&-1===this._childrenNames.indexOf(this._url+e+"/"))}async _updatePropsFromServer(){let e=await this._request.propFind(this.url,this.constructor.getPropFindList());this._props=e.body}_handleMultiStatusResponse(e,t=!1){let i=[],n=[];return Object.entries(e.body).forEach(([e,r])=>{if(e===this._url||e+"/"===this.url)return;i.push(e);let a=this._request.pathname(e);if((!r["{DAV:}resourcetype"]||0===r["{DAV:}resourcetype"].length)&&r["{DAV:}getcontenttype"]){lC(`${e} was identified as a file`);let i=r["{DAV:}getcontenttype"].split(";")[0];if(!this._objectFactoryMapper[i]){lC(`No constructor for content-type ${i} (${e}) registered, treating as generic object`),n.push(new lw(this,this._request,a,r));return}n.push(new this._objectFactoryMapper[i](this,this._request,a,r,t))}else{lC(`${e} was identified as a collection`);let t=r["{DAV:}resourcetype"].find(e=>e!==`{${o0}}collection`);if(!t){lC(`Collection-type of ${e} was not specified, treating as generic collection`),n.push(new lA(this,this._request,a,r));return}if(!this._collectionFactoryMapper[t]){lC(`No constructor for collection-type ${t} (${e}) registered, treating as generic collection`),n.push(new lA(this,this._request,a,r));return}n.push(new this._collectionFactoryMapper[t](this,this._request,a,r))}}),this._childrenNames.push(...i),n}static getPropFindList(){return[[o0,"displayname"],[o0,"owner"],[o0,"resourcetype"],[o0,"sync-token"],[o0,"current-user-privilege-set"]]}}let lE=ly("DavCollectionPublishable");function lS(e){return class extends e{constructor(...e){super(...e),super._exposeProperty("publishURL",o5,"publish-url")}async publish(){lE(`Publishing ${this.url}`);let[e]=li([o5,"publish-calendar"]),t=ln(e);await this._request.post(this._url,{"Content-Type":"application/xml; charset=utf-8"},t),await this._updatePropsFromServer()}async unpublish(){lE(`Unpublishing ${this.url}`);let[e]=li([o5,"unpublish-calendar"]),t=ln(e);await this._request.post(this._url,{"Content-Type":"application/xml; charset=utf-8"},t),delete this._props["{http://calendarserver.org/ns/}publish-url"]}static getPropFindList(){return super.getPropFindList().concat([[o5,"publish-url"]])}}}let lx=ly("DavCollectionShareable");function lD(e){return class extends e{constructor(...e){super(...e),super._exposeProperty("shares",o3,"invite"),super._exposeProperty("allowedSharingModes",o5,"allowed-sharing-modes")}async share(e,t=!1,i=""){lx(`Sharing ${this.url} with ${e}`);let[n,r]=li([o3,"share"],[o3,"set"]);r.push({name:[o0,"href"],value:e}),t&&r.push({name:[o3,"read-write"]}),""!==i&&r.push({name:[o3,"summary"],value:i});let a=ln(n);return this._request.post(this._url,{"Content-Type":"application/xml; charset=utf-8"},a).then(()=>{let i=this.shares.findIndex(t=>t.href===e);-1===i?this.shares.push({href:e,access:[t?"{http://owncloud.org/ns}read-write":"{http://owncloud.org/ns}read"],"common-name":null,"invite-accepted":!0}):this.shares[i].access=[t?"{http://owncloud.org/ns}read-write":"{http://owncloud.org/ns}read"]})}async unshare(e){lx(`Unsharing ${this.url} with ${e}`);let[t,i]=li([o3,"share"],[o3,"remove"]);i.push({name:[o0,"href"],value:e});let n=ln(t);return this._request.post(this._url,{"Content-Type":"application/xml; charset=utf-8"},n).then(()=>{let t=this.shares.findIndex(t=>t.href===e);-1!==t&&this.shares.splice(t,1)})}isShareable(){return!!Array.isArray(this.allowedSharingModes)&&this.allowedSharingModes.includes(`{${o5}}can-be-shared`)}isPublishable(){return!!Array.isArray(this.allowedSharingModes)&&this.allowedSharingModes.includes(`{${o5}}can-be-published`)}static getPropFindList(){return super.getPropFindList().concat([[o3,"invite"],[o5,"allowed-sharing-modes"]])}}}class lT extends lw{constructor(...e){super(...e),super._exposeProperty("data",o1,"calendar-data",!0)}static getPropFindList(){return super.getPropFindList().concat([[o1,"calendar-data"]])}}function lM(e){let t=[];return Object.entries(e).forEach(([e,i])=>{switch(e){case"{http://apple.com/ns/ical/}calendar-order":t.push({name:[o6,"calendar-order"],value:i.toString()});break;case"{http://apple.com/ns/ical/}calendar-color":t.push({name:[o6,"calendar-color"],value:i});break;case"{http://calendarserver.org/ns/}source":t.push({name:[o5,"source"],children:[{name:[o0,"href"],value:i}]});break;case"{urn:ietf:params:xml:ns:caldav}calendar-description":t.push({name:[o1,"calendar-description"],value:i});break;case"{urn:ietf:params:xml:ns:caldav}calendar-timezone":t.push({name:[o1,"calendar-timezone"],value:i});break;case"{http://owncloud.org/ns}calendar-enabled":t.push({name:[o3,"calendar-enabled"],value:i?"1":"0"});break;case"{urn:ietf:params:xml:ns:caldav}schedule-calendar-transp":t.push({name:[o1,"schedule-calendar-transp"],children:[{name:[o1,i]}]})}}),t}let lI=ly("Calendar");class lB extends lS(lD(lA)){constructor(...e){super(...e),super._registerObjectFactory("text/calendar",lT),super._registerPropSetFactory(lM),super._exposeProperty("color",o6,"calendar-color",!0),super._exposeProperty("enabled",o3,"calendar-enabled",!0),super._exposeProperty("order",o6,"calendar-order",!0),super._exposeProperty("timezone",o1,"calendar-timezone",!0),super._exposeProperty("components",o1,"supported-calendar-component-set"),super._exposeProperty("transparency",o1,"schedule-calendar-transp",!0)}async findAllVObjects(){return super.findAllByFilter(e=>e instanceof lT)}async findByType(e){return this.calendarQuery([{name:[o1,"comp-filter"],attributes:[["name","VCALENDAR"]],children:[{name:[o1,"comp-filter"],attributes:[["name",e]]}]}])}async findByTypeInTimeRange(e,t,i){return this.calendarQuery([{name:[o1,"comp-filter"],attributes:[["name","VCALENDAR"]],children:[{name:[o1,"comp-filter"],attributes:[["name",e]],children:[{name:[o1,"time-range"],attributes:[["start",lB._getICalendarDateTimeFromDateObject(t)],["end",lB._getICalendarDateTimeFromDateObject(i)]]}]}]}])}async createVObject(e){let t=l_("","ics"),i={"Content-Type":"text/calendar; charset=utf-8"};return super.createObject(t,i,e)}async calendarQuery(e,t=null,i=null){lI("sending an calendar-query request");let[n]=li([o1,"calendar-query"]);t?n.children.push({name:[o0,"prop"],children:t}):n.children.push({name:[o0,"prop"],children:this._propFindList.map(e=>({name:e}))}),e&&n.children.push({name:[o1,"filter"],children:e}),i&&n.children.push({name:[o1,"timezone"],value:i});let r={Depth:"1"},a=ln(n),s=await this._request.report(this.url,r,a);return super._handleMultiStatusResponse(s,lB._isRetrievalPartial(t))}async calendarMultiget(e=[],t){if(lI("sending an calendar-multiget request"),0===e.length)return[];let[i]=li([o1,"calendar-multiget"]);t?i.children.push({name:[o0,"prop"],children:t}):i.children.push({name:[o0,"prop"],children:this._propFindList.map(e=>({name:e}))}),e.forEach(e=>{i.children.push({name:[o0,"href"],value:e})});let n={Depth:"1"},r=ln(i),a=await this._request.report(this.url,n,r);return super._handleMultiStatusResponse(a,lB._isRetrievalPartial(t))}async freeBusyQuery(e,t){}static getPropFindList(){return super.getPropFindList().concat([[o6,"calendar-order"],[o6,"calendar-color"],[o5,"getctag"],[o1,"calendar-description"],[o1,"calendar-timezone"],[o1,"supported-calendar-component-set"],[o1,"supported-calendar-data"],[o1,"max-resource-size"],[o1,"min-date-time"],[o1,"max-date-time"],[o1,"max-instances"],[o1,"max-attendees-per-instance"],[o1,"supported-collation-set"],[o1,"calendar-free-busy-set"],[o1,"schedule-calendar-transp"],[o1,"schedule-default-calendar-URL"],[o3,"calendar-enabled"],[o4,"owner-displayname"],[o4,"trash-bin-retention-duration"],[o4,"deleted-at"]])}static _isRetrievalPartial(e){if(!e)return!1;let t=e.find(e=>e.name[0]===o1&&"calendar-data"===e.name[1]);return!!t&&!!t.children}static _getICalendarDateTimeFromDateObject(e){return""+e.getUTCFullYear()+("0"+(e.getUTCMonth()+1)).slice(-2)+("0"+e.getUTCDate()).slice(-2)+"T"+("0"+e.getUTCHours()).slice(-2)+("0"+e.getUTCMinutes()).slice(-2)+("0"+e.getUTCSeconds()).slice(-2)+"Z"}}class lP extends lB{constructor(...e){super(...e),super._exposeProperty("source",o5,"source",!0),super._exposeProperty("refreshRate",o6,"refreshrate",!0),super._exposeProperty("stripTodos",o5,"subscribed-strip-todos",!0),super._exposeProperty("stripAlarms",o5,"subscribed-strip-alarms",!0),super._exposeProperty("stripAttachments",o5,"subscribed-strip-attachments",!0)}static getPropFindList(){return super.getPropFindList().concat([[o5,"source"],[o6,"refreshrate"],[o5,"subscribed-strip-todos"],[o5,"subscribed-strip-alarms"],[o5,"subscribed-strip-attachments"]])}}function lL(e){let t=[];return Object.entries(e).forEach(([e,i])=>{"{urn:ietf:params:xml:ns:caldav}calendar-availability"===e&&t.push({name:[o1,"calendar-availability"],value:i.toString()})}),t}class lN extends lB{constructor(...e){super(...e),super._registerPropSetFactory(lL),super._exposeProperty("availability",o1,"calendar-availability",!0)}static getPropFindList(){return super.getPropFindList().concat([[o1,"calendar-availability"]])}}class lR extends lA{async freeBusyRequest(e){let t,i={},n=await this._request.post(this.url,{"Content-Type":'text/calendar; charset="utf-8"'},e),r=new DOMParser().parseFromString(n.body,"application/xml"),a=r.evaluate("/cl:schedule-response/cl:response",r,o7,XPathResult.ANY_TYPE,null);for(;null!==(t=a.iterateNext());){let e=r.evaluate("string(cl:recipient/d:href)",t,o7,XPathResult.ANY_TYPE,null).stringValue,n=r.evaluate("string(cl:request-status)",t,o7,XPathResult.ANY_TYPE,null).stringValue,a=r.evaluate("string(cl:calendar-data)",t,o7,XPathResult.ANY_TYPE,null).stringValue,s=/^2.\d(;.+)?$/.test(n);i[e]={calendarData:a,status:n,success:s}}return i}}class lj extends lA{constructor(...e){super(...e),super._registerObjectFactory("text/calendar",lT),super._exposeProperty("retentionDuration",o4,"trash-bin-retention-duration")}async findDeletedObjects(){let[e]=li([o1,"calendar-query"]);e.children.push({name:[o0,"prop"],children:lT.getPropFindList().map(e=>({name:e})).concat([{name:[o4,"calendar-uri"]},{name:[o4,"deleted-at"]}])}),e.children.push({name:[o1,"filter"],children:[{name:[o1,"comp-filter"],attributes:[["name","VCALENDAR"]],children:[{name:[o1,"comp-filter"],attributes:[["name","VEVENT"]],children:[]}]}]});let t={Depth:"1"},i=ln(e),n=await this._request.report(this._url+"objects",t,i);return super._handleMultiStatusResponse(n)}async restore(e){await this._request.move(e,this._url+"restore/file")}}class lO extends lB{}let lz=ly("CalendarHome");class lU extends lA{constructor(...e){super(...e),super._registerCollectionFactory("{"+o1+"}calendar",lB),super._registerCollectionFactory("{"+o4+"}deleted-calendar",lO),super._registerCollectionFactory("{"+o5+"}subscribed",lP),super._registerCollectionFactory("{"+o1+"}schedule-inbox",lN),super._registerCollectionFactory("{"+o1+"}schedule-outbox",lR),super._registerCollectionFactory("{"+o4+"}trash-bin",lj)}async findAllCalDAVCollections(){return super.findAllByFilter(e=>e instanceof lB||e instanceof lj||e instanceof lP||e instanceof lN||e instanceof lR||e instanceof lO)}async findAllCalDAVCollectionsGrouped(){let e=await super.findAll();return{calendars:e.filter(e=>e instanceof lB&&!(e instanceof lN)&&!(e instanceof lP)&&!(e instanceof lO)),deletedCalendars:e.filter(e=>e instanceof lO),trashBins:e.filter(e=>e instanceof lj),subscriptions:e.filter(e=>e instanceof lP),scheduleInboxes:e.filter(e=>e instanceof lN),scheduleOutboxes:e.filter(e=>e instanceof lR)}}async findAllCalendars(){return super.findAllByFilter(e=>e instanceof lB&&!(e instanceof lN)&&!(e instanceof lP)&&!(e instanceof lO))}async findAllDeletedCalendars(){return super.findAllByFilter(e=>e instanceof lO)}async findAllSubscriptions(){return super.findAllByFilter(e=>e instanceof lP)}async findAllScheduleInboxes(){return super.findAllByFilter(e=>e instanceof lN)}async findAllScheduleOutboxes(){return super.findAllByFilter(e=>e instanceof lR)}async createCalendarCollection(e,t,i=null,n=null,r=null){lz("creating a calendar collection");let a=[{name:[o0,"resourcetype"],children:[{name:[o0,"collection"]},{name:[o1,"calendar"]}]},{name:[o0,"displayname"],value:e},{name:[o6,"calendar-color"],value:t},{name:[o3,"calendar-enabled"],value:"1"}];r&&a.push({name:[o1,"calendar-timezone"],value:r}),i&&a.push({name:[o1,"supported-calendar-component-set"],children:i.map(e=>({name:[o1,"comp"],attributes:[["name",e]]}))}),n&&a.push({name:[o6,"calendar-order"],value:n});let s=super._getAvailableNameFromToken(e);return super.createCollection(s,a)}async createSubscribedCollection(e,t,i,n=null){lz("creating a subscribed collection");let r=[{name:[o0,"resourcetype"],children:[{name:[o0,"collection"]},{name:[o5,"subscribed"]}]},{name:[o0,"displayname"],value:e},{name:[o6,"calendar-color"],value:t},{name:[o3,"calendar-enabled"],value:"1"},{name:[o5,"source"],children:[{name:[o0,"href"],value:i}]}];n&&r.push({name:[o6,"calendar-order"],value:n});let a=super._getAvailableNameFromToken(e);return super.createCollection(a,r)}async search(){}async enableBirthdayCalendar(){let[e]=li([o4,"enable-birthday-calendar"]),t=ln(e);await this._request.post(this.url,{},t)}}function lq(e){let t=[];return Object.entries(e).forEach(([e,i])=>{switch(e){case"{urn:ietf:params:xml:ns:carddav}addressbook-description":t.push({name:[o2,"addressbook-description"],value:i});break;case"{http://owncloud.org/ns}enabled":t.push({name:[o3,"enabled"],value:i?"1":"0"})}}),t}class lW extends lw{constructor(...e){super(...e),super._exposeProperty("data",o2,"address-data",!0),super._exposeProperty("hasphoto",o4,"has-photo",!1)}static getPropFindList(){return super.getPropFindList().concat([[o2,"address-data"]])}}let lV=ly("AddressBook");class lH extends lD(lA){constructor(...e){super(...e),super._registerObjectFactory("text/vcard",lW),super._registerPropSetFactory(lq),super._exposeProperty("description",o2,"addressbook-description",!0),super._exposeProperty("enabled",o3,"enabled",!0),super._exposeProperty("readOnly",o3,"read-only")}findAllVCards(){return super.findAllByFilter(e=>e instanceof lW)}async findAllAndFilterBySimpleProperties(e){let t=[];return e.forEach(e=>{t.push({name:[o2,"prop"],attributes:[["name",e]]})}),this.addressbookQuery(null,[{name:[o0,"getetag"]},{name:[o0,"getcontenttype"]},{name:[o0,"resourcetype"]},{name:[o2,"address-data"],children:t},{name:[o4,"has-photo"]}])}async createVCard(e){lV("creating VCard object");let t=l_("","vcf"),i={"Content-Type":"text/vcard; charset=utf-8"};return super.createObject(t,i,e)}async addressbookQuery(e,t=null,i=null,n="anyof"){lV("sending an addressbook-query request");let[r]=li([o2,"addressbook-query"]);t?r.children.push({name:[o0,"prop"],children:t}):r.children.push({name:[o0,"prop"],children:this._propFindList.map(e=>({name:e}))}),e&&r.children.push({name:[o2,"filter"],attributes:[["test",n]],children:e}),i&&r.children.push({name:[o2,"limit"],children:[{name:[o2,"nresults"],value:i}]});let a={Depth:"1"},s=ln(r),o=await this._request.report(this.url,a,s);return super._handleMultiStatusResponse(o,lH._isRetrievalPartial(t))}async addressbookMultiget(e=[],t){if(lV("sending an addressbook-multiget request"),0===e.length)return[];let i={Depth:"1"},n=this._buildMultiGetBody(e,t),r=await this._request.report(this.url,i,n);return super._handleMultiStatusResponse(r,lH._isRetrievalPartial(t))}async addressbookMultigetExport(e=[],t){if(lV("sending an addressbook-multiget request and request download"),0===e.length)return"";let i={Depth:"1"},n=this._buildMultiGetBody(e,t);return this._request.report(this.url+"?export",i,n)}_buildMultiGetBody(e,t){let[i]=li([o2,"addressbook-multiget"]);return t?i.children.push({name:[o0,"prop"],children:t}):i.children.push({name:[o0,"prop"],children:this._propFindList.map(e=>({name:e}))}),e.forEach(e=>{i.children.push({name:[o0,"href"],value:e})}),ln(i)}static getPropFindList(){return super.getPropFindList().concat([[o2,"addressbook-description"],[o2,"supported-address-data"],[o2,"max-resource-size"],[o5,"getctag"],[o3,"enabled"],[o3,"read-only"]])}static _isRetrievalPartial(e){if(!e)return!1;let t=e.find(e=>e.name[0]===o2&&"address-data"===e.name[1]);return!!t&&!!t.children}}let l$=ly("AddressBookHome");class lG extends lA{constructor(...e){super(...e),super._registerCollectionFactory("{"+o2+"}addressbook",lH)}async findAllAddressBooks(){return super.findAllByFilter(e=>e instanceof lH)}async createAddressBookCollection(e){l$("creating an addressbook collection");let t=[{name:[o0,"resourcetype"],children:[{name:[o0,"collection"]},{name:[o2,"addressbook"]}]},{name:[o0,"displayname"],value:e}],i=super._getAvailableNameFromToken(e);return super.createCollection(i,t)}}function lX(e){let t=[];return Object.entries(e).forEach(([e,i])=>{"{urn:ietf:params:xml:ns:caldav}schedule-default-calendar-URL"===e&&t.push({name:[o1,"schedule-default-calendar-URL"],children:[{name:["DAV:","href"],value:i}]})}),t}class lK extends lw{constructor(...e){super(...e),Object.assign(this,{_updatedProperties:[],_propSetFactory:[]}),this._registerPropSetFactory(lX),this._exposeProperty("displayname",o0,"displayname"),this._exposeProperty("calendarUserType",o1,"calendar-user-type"),this._exposeProperty("calendarUserAddressSet",o1,"calendar-user-address-set"),this._exposeProperty("principalUrl",o0,"principal-URL"),this._exposeProperty("email",o8,"email-address"),this._exposeProperty("language",o4,"language"),this._exposeProperty("calendarHomes",o1,"calendar-home-set"),this._exposeProperty("scheduleInbox",o1,"schedule-inbox-URL"),this._exposeProperty("scheduleOutbox",o1,"schedule-outbox-URL"),this._exposeProperty("scheduleDefaultCalendarUrl",o1,"schedule-default-calendar-URL",!0),this._exposeProperty("addressBookHomes",o2,"addressbook-home-set"),this._exposeProperty("roomType",o4,"room-type"),this._exposeProperty("roomSeatingCapacity",o4,"room-seating-capacity"),this._exposeProperty("roomBuildingAddress",o4,"room-building-address"),this._exposeProperty("roomBuildingStory",o4,"room-building-story"),this._exposeProperty("roomBuildingRoomNumber",o4,"room-building-room-number"),this._exposeProperty("roomFeatures",o4,"room-features"),Object.defineProperties(this,{principalScheme:{get:()=>{let e=this._request.pathname(this._request.baseUrl),t=this.url.slice(e.length);return"/"===t.slice(-1)&&(t=t.slice(0,-1)),"principal:"+t}},userId:{get:()=>"INDIVIDUAL"!==this.calendarUserType?null:this.url.split("/").splice(-2,2)[+!this.url.endsWith("/")]},groupId:{get:()=>"GROUP"!==this.calendarUserType?null:this.url.split("/").splice(-2,2)[+!this.url.endsWith("/")]},resourceId:{get:()=>"RESOURCE"!==this.calendarUserType?null:this.url.split("/").splice(-2,2)[+!this.url.endsWith("/")]},roomId:{get:()=>"ROOM"!==this.calendarUserType?null:this.url.split("/").splice(-2,2)[+!this.url.endsWith("/")]},roomAddress:{get:()=>[this.roomBuildingRoomNumber,this.roomBuildingStory,this.roomBuildingAddress].filter(e=>!!e).join(", ")}})}_exposeProperty(e,t,i,n=!1){n?Object.defineProperty(this,e,{get:()=>this._props[`{${t}}${i}`],set:e=>{this._props[`{${t}}${i}`]=e,-1===this._updatedProperties.indexOf(`{${t}}${i}`)&&this._updatedProperties.push(`{${t}}${i}`)}}):Object.defineProperty(this,e,{get:()=>this._props[`{${t}}${i}`]})}_registerPropSetFactory(e){this._propSetFactory.push(e)}static getPropFindList(e={}){let t=[[o0,"displayname"],[o1,"calendar-user-type"],[o1,"calendar-user-address-set"],[o0,"principal-URL"],[o0,"alternate-URI-set"],[o8,"email-address"],[o4,"language"]];return e.enableCalDAV&&t.push([o1,"calendar-home-set"],[o1,"schedule-inbox-URL"],[o1,"schedule-outbox-URL"],[o1,"schedule-default-calendar-URL"]),(e.enableCalDAVResourceBooking||e.enableCalDAV)&&t.push([o4,"resource-type"],[o4,"resource-vehicle-type"],[o4,"resource-vehicle-make"],[o4,"resource-vehicle-model"],[o4,"resource-vehicle-is-electric"],[o4,"resource-vehicle-range"],[o4,"resource-vehicle-seating-capacity"],[o4,"resource-contact-person"],[o4,"resource-contact-person-vcard"],[o4,"room-type"],[o4,"room-seating-capacity"],[o4,"room-building-address"],[o4,"room-building-story"],[o4,"room-building-room-number"],[o4,"room-features"]),e.enableCardDAV&&t.push([o2,"addressbook-home-set"]),t}async update(){if(0===this._updatedProperties.length)return;let e={};this._updatedProperties.forEach(t=>{e[t]=this._props[t]});let t=this._propSetFactory.reduce((t,i)=>[...t,...i(e)],[]),[i,n]=li([o0,"propertyupdate"],[o0,"set"],[o0,"prop"]);n.push(...t);let r=ln(i);await this._request.propPatch(this._url,{},r)}}let lY=ly("index.js");class lQ{constructor(e,t={}){this.rootUrl=e.rootUrl,"/"!==this.rootUrl.slice(-1)&&(this.rootUrl+="/"),this.advertisedFeatures=[],this.currentUserPrincipal=null,this.principalCollections=[],this.calendarHomes=[],this.publicCalendarHome=null,this.addressBookHomes=[],this.parser=new oJ,this._isConnected=!1,this._request=new lh(this.rootUrl,this.parser,e.defaultHeaders)}async connect(e={enableCalDAV:!1,enableCardDAV:!1}){if(this._isConnected)return this;if(!this.rootUrl)throw Error("No rootUrl configured");let t=await this._discoverPrincipalUri();lY(`PrincipalURL: ${t}`);let i=lK.getPropFindList(e);(e.enableCalDAV||e.enableCardDAV)&&i.push([o0,"principal-collection-set"],[o0,"supported-report-set"]);let[n,r]=await Promise.all([this._request.propFind(t,i),this._request.options(t)]);return this.currentUserPrincipal=new lK(null,this._request,t,n.body),this._extractAdvertisedDavFeatures(r.headers),this._extractAddressBookHomes(n.body),this._extractCalendarHomes(n.body),this._extractPrincipalCollectionSets(n.body),this._createPublicCalendarHome(),this._isConnected=!0,this}async principalPropertySearchByDisplayname(e){return this.principalPropertySearch([{name:[o0,"displayname"]}],e)}async principalPropertySearchByDisplaynameOrEmail(e){return this.principalPropertySearch([{name:[o0,"displayname"]},{name:[o8,"email-address"]}],e,"anyof")}async principalPropertySearchByAddress(e){return this.principalPropertySearch([{name:[o4,"room-building-address"]}],e)}async principalPropertySearchByAddressAndStory(e,t){let[i]=li([o0,"principal-property-search"]);i.children.push({name:[o0,"property-search"],children:[{name:[o0,"prop"],children:[{name:[o4,"room-building-address"]}]},{name:[o0,"match"],value:e}]}),i.children.push({name:[o0,"property-search"],children:[{name:[o0,"prop"],children:[{name:[o4,"room-building-story"]}]},{name:[o0,"match"],value:t}]}),i.children.push({name:[o0,"prop"],children:lK.getPropFindList({enableCalDAV:!0}).map(e=>({name:e}))}),i.children.push({name:[o0,"apply-to-principal-collection-set"]});let n=ln(i);return this._request.report(this.rootUrl,{Depth:0},n).then(e=>{let t=[];return Object.entries(e.body).forEach(([e,i])=>{let n=this._request.pathname(e);t.push(new lK(null,this._request,n,i))}),t})}async advancedPrincipalPropertySearch(e){let[t]=li([o0,"principal-property-search"]);t.attributes=[["test","allof"]];let{displayName:i,capacity:n,features:r,roomType:a}=e;if(i&&t.children.push({name:[o0,"property-search"],children:[{name:[o0,"prop"],children:[{name:[o0,"displayname"]}]},{name:[o0,"match"],value:i}]}),n&&t.children.push({name:[o0,"property-search"],children:[{name:[o0,"prop"],children:[{name:[o4,"room-seating-capacity"]}]},{name:[o0,"match"],value:n}]}),r&&r.length>0&&t.children.push({name:[o0,"property-search"],children:[{name:[o0,"prop"],children:[{name:[o4,"room-features"]}]},{name:[o0,"match"],value:r.join(",")}]}),a&&t.children.push({name:[o0,"property-search"],children:[{name:[o0,"prop"],children:[{name:[o4,"room-type"]}]},{name:[o0,"match"],value:a}]}),0===t.children.length)return[];t.children.push({name:[o0,"prop"],children:lK.getPropFindList({enableCalDAV:!0}).map(e=>({name:e}))}),t.children.push({name:[o0,"apply-to-principal-collection-set"]});let s=ln(t);return Object.entries((await this._request.report(this.rootUrl,{Depth:0},s)).body).map(([e,t])=>{let i=this._request.pathname(e);return new lK(null,this._request,i,t)})}async principalPropertySearch(e,t,i){let[n,r]=li([o0,"principal-property-search"],[o0,"property-search"]);i&&(n.attributes=[["test",i]]),r.push({name:[o0,"prop"],children:e},{name:[o0,"match"],value:t}),n.children.push({name:[o0,"prop"],children:lK.getPropFindList({enableCalDAV:!0}).map(e=>({name:e}))}),n.children.push({name:[o0,"apply-to-principal-collection-set"]});let a=ln(n);return this._request.report(this.rootUrl,{Depth:0},a).then(e=>{let t=[];return Object.entries(e.body).forEach(([e,i])=>{let n=this._request.pathname(e);t.push(new lK(null,this._request,n,i))}),t})}async findPrincipal(e){return this._request.propFind(e,lK.getPropFindList()).then(({body:t})=>new lK(null,this._request,e,t)).catch(e=>{console.debug(e)})}async findPrincipalsInCollection(e,t={}){try{let{body:i}=await this._request.propFind(e,lK.getPropFindList(t),1);return Object.entries(i).filter(([t])=>!e.endsWith(t)).map(([e,t])=>new lK(null,this._request,e,t))}catch(e){console.debug(e)}}async _discoverPrincipalUri(){let e=await this._request.propFind(this.rootUrl,[[o0,"current-user-principal"]],0);if(!e.body["{DAV:}current-user-principal"])throw Error("Error retrieving current user principal");if("unauthenticated"===e.body["{DAV:}current-user-principal"].type)throw Error("Current user is not authenticated");return this._request.pathname(e.body["{DAV:}current-user-principal"].href)}async _extractCalendarHomes(e){let t=e[`{${o1}}calendar-home-set`];t&&(this.calendarHomes=t.map(t=>{let i=this._request.pathname(t);return new lU(this,this._request,i,e)}))}async _extractAddressBookHomes(e){let t=e[`{${o2}}addressbook-home-set`];t&&(this.addressBookHomes=t.map(t=>{let i=this._request.pathname(t);return new lG(this,this._request,i,e)}))}_extractPrincipalCollectionSets(e){let t=e[`{${o0}}principal-collection-set`];this.principalCollections=t.map(e=>this._request.pathname(e))}_extractAdvertisedDavFeatures(e){let t=e.dav;this.advertisedFeatures.push(...t.split(",").map(e=>e.trim()))}_createPublicCalendarHome(){let e=this._request.pathname(this.rootUrl)+"public-calendars/";this.publicCalendarHome=new lU(this,this._request,e,{})}}let lZ={},lJ=e=>JSON.stringify(e);function l0(e={}){let t=lJ(e);return lZ[t]||(lZ[t]=new lQ({rootUrl:(0,O.dC)("dav"),defaultHeaders:{"X-NC-CalDAV-Webcal-Caching":"On"}})),lZ[t]}async function l1(){await l0().connect({enableCalDAV:!0})}function l2(){return l0().currentUserPrincipal}let l3=e=>l0(e).calendarHomes[0];async function l4(){return l3().findAllCalendars()}function l6(e){return e.replace(/\/$/gi,"").split("/").pop()||e}function l5(){return l6(l2().scheduleDefaultCalendarUrl)}let l8=aG("local","federation-v1")&&aX("local","federation","enabled")&&aX("local","federation","outgoing-enabled");async function l9({searchText:e,token:t="new",onlyUsers:i=!1,forceTypes:n=[]},r){let a=i?[r2]:[r2,r3,r5,..."new"!==t?[r4]:[],...l8?[r6]:[]];return aw.Ay.get((0,O.KT)("core/autocomplete/get"),{...r,params:{search:e,itemType:"call",itemId:t,shareTypes:a.concat(n)}})}async function l7(e,t){return aw.Ay.get((0,O.KT)("profile/{userId}",{userId:e}),t)}async function ue(e,t){return aw.Ay.get((0,O.KT)("taskprocessing/task/{id}",{id:e}),t)}async function ut(e,t){return aw.Ay.delete((0,O.KT)("taskprocessing/task/{id}",{id:e}),t)}async function ui(e){return aw.Ay.get((0,O.KT)("/apps/dav/api/v1/events/upcoming"),{params:{location:e}})}async function un(e){return aw.Ay.get((0,O.KT)("/apps/dav/api/v1/outOfOffice/{userId}/now",{userId:e}))}async function ur(e){return aw.Ay.get((0,O.KT)("apps/spreed/api/v4/room/{token}/mutual-events",{token:e}))}async function ua(e,{calendarUri:t,start:i,end:n,title:r,description:a,attendeeIds:s},o){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/room/{token}/meeting",{token:e}),{calendarUri:t,start:i,end:n,title:r,description:a,attendeeIds:s},o)}let us=aG("local","mutual-calendar-events"),uo=nO("groupware",{state:()=>({absence:{},calendars:{},defaultCalendarUri:null,upcomingEvents:{},mutualEvents:{},supportProfileInfo:!0,profileInfo:{}}),getters:{getAllEvents:e=>t=>e.upcomingEvents[t]??[],getNextEvent:e=>t=>e.upcomingEvents[t]?.[0],writeableCalendars:e=>Object.values(e.calendars).filter(e=>e.isWriteable()&&e.components.includes("VEVENT"))},actions:{async getUserAbsence({token:e,userId:t}){try{let i=await un(t);return this.absence[e]=i.data.ocs.data,this.absence[e]}catch(t){if(t?.response?.status===404)return this.absence[e]=null,null;console.error(t)}},async getUpcomingEvents(e){let t=(0,O.Jv)("call/{token}",{token:e},{baseURL:(0,O.$_)()});try{let i=(await ui(t)).data.ocs.data.events.filter((e,t,i)=>t===i.findIndex(t=>t.start===e.start));this.upcomingEvents[e]=i}catch(e){console.error(e)}},async getDefaultCalendarUri(){try{await l1(),this.defaultCalendarUri=l5()}catch(e){console.error(e)}},async getPersonalCalendars(){try{await l1(),(await l4()).forEach(e=>{let t=Object.assign(e,{uri:l6(e.url)});this.calendars[t.uri]=t})}catch(e){console.error(e)}},async scheduleMeeting(e,t){await ua(e,t),await this.getUpcomingEvents(e)},removeUserAbsence(e){this.absence[e]&&delete this.absence[e]},removeUpcomingEvents(e){this.upcomingEvents[e]&&delete this.upcomingEvents[e]},async getUserProfileInformation(e){if(!this.supportProfileInfo||!e.name||e.type!==nJ.TYPE.ONE_TO_ONE)return void delete this.profileInfo[e.token];try{let t=await l7(e.name);this.profileInfo[e.token]=t.data.ocs.data}catch(e){e?.response?.status===405?this.supportProfileInfo=!1:console.error(e)}},async getUserMutualEvents(e){if(us&&e.token&&e.type===nJ.TYPE.ONE_TO_ONE)try{let t=await ur(e.token);this.mutualEvents[e.token]=t.data.ocs.data}catch(e){console.error(e)}},purgeGroupwareStore(e){this.removeUserAbsence(e),this.removeUpcomingEvents(e)}}}),ul=nA();async function uu(e,t,i,n){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/reaction/{token}/{messageId}",{token:e,messageId:t}),{reaction:i},n)}async function ud(e,t,i,n){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/reaction/{token}/{messageId}",{token:e,messageId:t}),{...n,params:{reaction:i}})}async function uc(e,t,i){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/reaction/{token}/{messageId}",{token:e,messageId:t}),i)}let uh=nO("reactions",{state:()=>({reactions:{}}),getters:{getReactions:e=>(t,i)=>e.reactions?.[t]?.[i]},actions:{purgeReactionsStore(e){delete this.reactions[e]},checkForExistence(e,t){this.reactions[e]||(this.reactions[e]={}),this.reactions[e][t]||(this.reactions[e][t]={})},addReaction({token:e,messageId:t,reaction:i,actors:n}){this.reactions[e][t][i]=n},removeReaction({token:e,messageId:t,reaction:i}){delete this.reactions[e][t][i]},addActorToReaction({token:e,messageId:t,reaction:i,actor:n}){this.checkForExistence(e,t);let r=this.reactions[e][t][i]??[];r.some(e=>e.actorId===n.actorId&&e.actorType===n.actorType)||(r.push(n),this.reactions[e][t][i]=r)},resetReactions(e,t){this.reactions[e]?.[t]&&delete this.reactions[e][t]},updateReactions({token:e,messageId:t,reactionsDetails:i}){if(this.checkForExistence(e,t),0===Object.keys(i).length)return void this.resetReactions(e,t);let n=this.reactions[e][t];if(0===Object.keys(n).length){this.reactions[e][t]=i;return}Object.keys(n).filter(e=>!i[e]).forEach(i=>{this.removeReaction({token:e,messageId:t,reaction:i})}),Object.entries(i).forEach(([i,r])=>{n[i]&&JSON.stringify(r)===JSON.stringify(n[i])||this.addReaction({token:e,messageId:t,reaction:i,actors:r})})},processReaction(e,t){if(t.systemMessage===rE){let i={actorDisplayName:t.actorDisplayName,actorId:t.actorId,actorType:t.actorType,timestamp:t.timestamp};this.addActorToReaction({token:e,messageId:t.parent.id,reaction:t.message,actor:i})}else t.systemMessage===rx&&this.fetchReactions(e,t.parent.id)},async addReactionToMessage({token:e,messageId:t,selectedEmoji:i}){try{hz.commit("addReactionToMessage",{token:e,messageId:t,reaction:i});let n=await uu(e,t,i);this.updateReactions({token:e,messageId:t,reactionsDetails:n.data.ocs.data})}catch(n){hz.commit("removeReactionFromMessage",{token:e,messageId:t,reaction:i}),(0,$.s)((0,K.t)("spreed","Failed to add reaction"))}},async removeReactionFromMessage({token:e,messageId:t,selectedEmoji:i}){try{hz.commit("removeReactionFromMessage",{token:e,messageId:t,reaction:i});let n=await ud(e,t,i);this.updateReactions({token:e,messageId:t,reactionsDetails:n.data.ocs.data})}catch(n){hz.commit("addReactionToMessage",{token:e,messageId:t,reaction:i}),console.error(n),(0,$.s)((0,K.t)("spreed","Failed to remove reaction"))}},async fetchReactions(e,t){console.debug("getting reactions details");try{let i=await uc(e,t);return this.updateReactions({token:e,messageId:t,reactionsDetails:i.data.ocs.data}),i}catch(e){console.debug(e)}}}});async function uf({token:e,limit:t}){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}/share/overview",{token:e}),{params:{limit:t}})}async function um({token:e,objectType:t,lastKnownMessageId:i,limit:n}){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}/share",{token:e}),{params:{limit:n,objectType:t,lastKnownMessageId:i}})}function ug(e){if(e.messageParameters?.object)if("geo-location"===e.messageParameters.object.type)return r$;else if("deck-card"===e.messageParameters.object.type)return rV;else if("talk-poll"===e.messageParameters.object.type)return rK;else return rX;if(!e.messageParameters?.file)return rX;{let t=e.messageType,i=e.messageParameters.file.mimetype||"";if(t===rz||t===rU)return rY;if(t===rO)return rQ;if(i.startsWith("audio/"))return rW;else if(i.startsWith("image/")||i.startsWith("video/"))return rG;else return rH}}let up=nO("sharedItems",()=>{let e=ed(),t=(0,z.Kh)({}),i=(0,z.Kh)({});function n(e){return t[e]||(t[e]={}),t[e]}function r(e,i){e&&!t[e]&&(t[e]={}),i&&!t[e][i]&&(t[e][i]={})}function a(e,n){for(let i of Object.keys(n))if(Object.keys(n[i]).length)for(let a of(r(e,i),n[i]))t[e][i][a.id]=a;i[e]=!0}function s(e,i,n){let a=n??ug(i);r(e,a),t[e][a][i.id]=i}function o(e,i,n){if(t[e])for(let r of n?[n]:Object.keys(t[e]))t[e][r]?.[i]&&(delete t[e][r][i],0===Object.keys(t[e][r]).length&&delete t[e][r])}function l(e,i,n){r(e,i),n.forEach(n=>{t[e][i][n.id]=n})}function u(e,i=null){if(t[e])if(i){for(let n of Object.keys(t[e])){for(let r of Object.keys(t[e][n]))+r<+i&&delete t[e][n][+r];0===Object.keys(t[e][n]).length&&delete t[e][n]}0===Object.keys(t[e]).length&&delete t[e]}else delete t[e]}function d(e,i){if(t[e]){for(let n of Object.keys(t[e])){for(let r of Object.keys(t[e][n])){let a=t[e][n][+r];a.expirationTimestamp&&a.expirationTimestamp=n,messages:a}}catch(e){return console.error(e),{hasMoreItems:!1,messages:[]}}}async function h(e){if(!i[e])try{let t=await uf({token:e,limit:7});a(e,t.data.ocs.data)}catch(e){console.error(e)}}function f({token:t,messageId:i,metaData:n,action:r}){let a=g(t);e.dispatch("setConversationProperties",{token:t,properties:{lastPinnedId:a??0}}),e.dispatch("updateMessageMetadata",{token:t,id:i,metaData:"pin"===r&&n?n:{}})}async function m(e,t,i){try{let n=await sU({token:e,messageId:t,pinUntil:i}),r=n.data.ocs.data?.parent;if(!r||"deleted"in r)return;s(e,r,rZ),f({token:e,messageId:t,metaData:r.metaData,action:"pin"})}catch(e){console.error("Error while toggling pin message:",e)}}function g(e){let i=Object.values(t[e]?.pinned??{});if(!i.length)return null;let{id:n}=i.reduce((e,t)=>{let i=t.metaData.pinnedAt;return i>e.pinnedAt?{id:t.id,pinnedAt:i}:e},{id:null,pinnedAt:0});return n}async function p(e,t){try{await sq({token:e,messageId:t}),o(e,t,rZ),f({token:e,messageId:t,action:"unpin"})}catch(e){console.error("Error while unpinning message:",e)}}async function _(e){try{let t=await um({token:e,objectType:rZ,limit:5}),i=Object.values(t.data.ocs.data);i.length&&l(e,rZ,i)}catch(e){console.error(e)}}return{sharedItemsPool:t,overviewLoaded:i,sharedItems:n,checkForExistence:r,addSharedItemsFromOverview:a,addSharedItemFromMessage:s,addSharedItemsFromMessages:l,deleteSharedItemFromMessage:o,purgeExpiredSharedItems:d,purgeSharedItemsStore:u,fetchSharedItems:c,fetchSharedItemsOverview:h,handlePinMessage:m,handleUnpinMessage:p,handleHidePinnedMessage:async function(t,i){try{await sW({token:t,messageId:i}),await e.dispatch("setConversationProperties",{token:t,properties:{hiddenPinnedId:i}})}catch(e){console.error("Error while hiding pinned message:",e)}},fetchPinnedMessages:_,findMostRecentPinnedMessageId:g,updateOtherStoresWithPinInformation:f}}),u_=nO("token",()=>{let e=(0,z.KR)(""),t=(0,z.KR)(null),i=(0,z.KR)(""),n=(0,z.EW)(()=>""!==e.value&&i.value===e.value);function r(t){e.value=t}function a(i,n){e.value=i,t.value=n}function s(e){i.value=e}return{token:e,fileIdForToken:t,lastJoinedConversationToken:i,currentConversationIsJoined:n,updateToken:r,updateTokenAndFileIdForToken:a,updateLastJoinedConversationToken:s}}),uv=36e5,ub=864e5,uy=(0,K.lO)(),uF={shortTime:new Intl.DateTimeFormat(uy,{hour:"numeric",minute:"numeric"}),longDateSameYear:new Intl.DateTimeFormat(uy,{month:"long",day:"numeric"}),longDate:new Intl.DateTimeFormat(uy,{year:"numeric",month:"long",day:"numeric"}),longDateWithTime:new Intl.DateTimeFormat(uy,{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"}),shortDate:new Intl.DateTimeFormat(uy,{year:"numeric",month:"short",day:"numeric"}),shortDateSameYear:new Intl.DateTimeFormat(uy,{month:"short",day:"numeric"}),shortDateNumeric:new Intl.DateTimeFormat(uy,{year:"numeric",month:"2-digit",day:"2-digit"}),shortDateWithTime:new Intl.DateTimeFormat(uy,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}),shortDateWithTimeSeconds:new Intl.DateTimeFormat(uy,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),shortWeekdayWithTime:new Intl.DateTimeFormat(uy,{weekday:"short",hour:"numeric",minute:"numeric"})},uk=new Intl.RelativeTimeFormat((0,K.Z0)(),{numeric:"always"}),uw=new Intl.RelativeTimeFormat((0,K.Z0)(),{numeric:"auto"}),uC=new Intl.DateTimeFormat((0,K.Z0)(),{weekday:"long"});function uA(e){return Math.floor(e/1e3)}function uE(e,t=!1){if(!e)return t?"--:--":"-- : --";let i=uA(e),n=i%60,r=Math.floor(i/60)%60;return[Math.floor(i/3600)%24,r.toString().padStart(2,"0"),n.toString().padStart(2,"0")].filter(e=>!!e).join(t?":":" : ")}function uS(e){let t=e-Date.now();if(t<=0)return"";let i=Math.floor(t/uv),n=Math.ceil((t-i*uv)/6e4);return i>=1?0===n?(0,K.n)("spreed","In %n hour","In %n hours",i):(0,K.t)("spreed","In {hours} and {minutes}",{hours:(0,K.n)("spreed","%n hour","%n hours",i),minutes:(0,K.n)("spreed","%n minute ","%n minutes",n)}):(0,K.n)("spreed","In %n minute","In %n minutes",n)}function ux(e,t){return uF[t].format(new Date(e))}function uD(e){let t=new Date(e),i=new Date;return t.setHours(0,0,0,0),i.setHours(0,0,0,0),Math.round((t-i)/ub)}function uT(e,{limitToWeek:t,showWeekDay:i}={limitToWeek:!1,showWeekDay:!1}){let n=new Date(e),r=uD(n);if(t){if(7===Math.abs(r))return i?"":uk.format(r/7,"week");else if(Math.abs(r)>7)return""}return i&&Math.abs(r)>1?uC.format(n):uw.format(r,"day")}function uM(e,t,i=!1){return e?.trim()?i?e.trim().split(" ").shift():e.trim():[n1,n2].includes(t)?(0,K.t)("spreed","Guest"):(0,K.t)("spreed","Deleted user")}function uI(e,t){let i=e.map(e=>e.trim()).filter(Boolean);if(!i.length)return"";let n=new Intl.ListFormat((0,K.Z0)(),{style:"narrow",type:"conjunction"}).format(i);return t&&n.length>t?n.substring(0,t-1)+"…":n}let uB=u_(ul),uP=aX("local","conversations","force-passwords"),uL=aG("local","conversation-creation-password"),uN=aG("local","conversation-creation-all"),uR={token:"",displayName:(0,K.t)("spreed","Loading …"),isFavorite:!1,isArchived:!1,hasPassword:!1,breakoutRoomMode:nJ.BREAKOUT_ROOM_MODE.NOT_CONFIGURED,breakoutRoomStatus:nJ.BREAKOUT_ROOM_STATUS.STOPPED,canEnableSIP:!1,type:nJ.TYPE.PUBLIC,participantFlags:rq.CALL_FLAG.DISCONNECTED,participantType:rq.TYPE.USER,readOnly:nJ.STATE.READ_ONLY,listable:nJ.LISTABLE.NONE,mentions:nJ.MENTION_PERMISSIONS.EVERYONE,liveTranscriptionLanguageId:"",hasCall:!1,canStartCall:!1,lobbyState:r0,lobbyTimer:0,attendeePin:"",isDummyConversation:!0};function uj(e){(0,G.Ic)("user_status:status.updated",{status:e.status,message:e.statusMessage,icon:e.statusIcon,clearAt:e.statusClearAt,userId:e.name})}let uO={conversations:e=>e.conversations,conversationsList:e=>Object.values(e.conversations).filter(e=>e.objectType!==nJ.OBJECT_TYPE.BREAKOUT_ROOM).sort((e,t)=>e.isFavorite!==t.isFavorite?e.isFavorite?-1:1:t.lastActivity-e.lastActivity),archivedConversationsList:(e,t)=>t.conversationsList.filter(e=>e.isArchived),conversation:e=>t=>e.conversations[t],dummyConversation:e=>({...uR}),isModerator:(e,t)=>{let i=t.conversation(uB.token);return i?.participantType===rq.TYPE.OWNER||i?.participantType===rq.TYPE.MODERATOR||i?.participantType===rq.TYPE.GUEST_MODERATOR},isModeratorOrUser:(e,t)=>{let i=t.conversation(uB.token);return!i?.isDummyConversation&&(t.isModerator||i?.participantType===rq.TYPE.USER||i?.participantType===rq.TYPE.USER_SELF_JOINED)},isInLobby:(e,t)=>{let i=t.conversation(uB.token);return i&&i.lobbyState===r1&&!t.isModerator&&(i.permissions&rq.PERMISSIONS.LOBBY_IGNORE)==0},getConversationForUser:(e,t)=>e=>t.conversationsList.find(t=>t.type===nJ.TYPE.ONE_TO_ONE&&t.name===e),conversationsInitialised:e=>e.conversationsInitialised},uz={state:function e(){return{conversations:{},conversationsInitialised:!1}},mutations:{addConversation(e,t){e.conversations[t.token]=t},updateConversation(e,t){e.conversations[t.token]=t},deleteConversation(e,t){delete e.conversations[t]},setConversationDescription(e,{token:t,description:i}){e.conversations[t].description=i},updateConversationLastReadMessage(e,{token:t,lastReadMessage:i}){e.conversations[t].lastReadMessage=i},updateConversationLastMessage(e,{token:t,lastMessage:i}){e.conversations[t].lastMessage=i},updateUnreadMessages(e,{token:t,unreadMessages:i,unreadMention:n,unreadMentionDirect:r}){void 0!==i&&(e.conversations[t].unreadMessages=i),void 0!==n&&(e.conversations[t].unreadMention=n),void 0!==r&&(e.conversations[t].unreadMentionDirect=r)},setNotificationLevel(e,{token:t,notificationLevel:i}){e.conversations[t].notificationLevel=i},setNotificationCalls(e,{token:t,notificationCalls:i}){e.conversations[t].notificationCalls=i},setConversationPermissions(e,{token:t,permissions:i}){e.conversations[t].defaultPermissions=i},setCallPermissions(e,{token:t,permissions:i}){e.conversations[t].callPermissions=i},setMentionPermissions(e,{token:t,mentionPermissions:i}){e.conversations[t].mentionPermissions=i},setLiveTranscriptionLanguage(e,{token:t,languageId:i}){e.conversations[t].liveTranscriptionLanguageId=i},setCallRecording(e,{token:t,callRecording:i}){e.conversations[t].callRecording=i},setMessageExpiration(e,{token:t,seconds:i}){e.conversations[t].messageExpiration=i},setConversationHasPassword(e,{token:t,hasPassword:i}){e.conversations[t].hasPassword=i},setConversationsInitialised(e,t){e.conversationsInitialised=t}},getters:uO,actions:{addConversation(e,t){if(t.type===nJ.TYPE.ONE_TO_ONE&&uj(t),e.commit("addConversation",t),!t.attendeeId)return;let i=of(),n={uid:i.userId,displayName:i.displayName};n.uid||(n=(0,j.HW)()),e.dispatch("addParticipantOnce",{token:t.token,participant:{inCall:t.participantFlags,lastPing:t.lastPing,sessionIds:[t.sessionId],participantType:t.participantType,permissions:t.permissions,attendeeId:t.attendeeId,actorType:t.actorType,actorId:t.actorId,userId:n?n.uid:"",displayName:n&&n.displayName?n.displayName:"",status:""}})},updateConversationIfHasChanged(e,t){let i=e.state.conversations[t.token];if(Object.keys(i).length!==Object.keys(t).length)return e.commit("updateConversation",t),!0;if(t.type===nJ.TYPE.ONE_TO_ONE&&(i.status!==t.status||i.statusMessage!==t.statusMessage||i.statusIcon!==t.statusIcon||i.statusClearAt!==t.statusClearAt))return uj(t),e.commit("updateConversation",t),!0;if(i.lastActivity!==t.lastActivity)return e.commit("updateConversation",t),!0;for(let n of Object.keys(t))if("lastMessage"!==n&&i[n]!==t[n])return e.commit("updateConversation",t),!0;return!1},deleteConversation(e,t){oQ().purgeChatExtras(t),uo().purgeGroupwareStore(t),uh().purgeReactionsStore(t),up().purgeSharedItemsStore(t),e.dispatch("purgeMessagesStore",t),e.commit("deleteConversation",t),e.dispatch("purgeParticipantsStore",t),e.dispatch("cacheConversations")},patchConversations(e,{conversations:t,withRemoving:i=!1,withCaching:n=!1}){let r=!1,a=oE(),s=e.state.conversations,o=Object.fromEntries(t.map(e=>[e.token,e]));if(i)for(let t of Object.keys(s))void 0===o[t]&&(e.dispatch("deleteConversation",t),r=!0);for(let[t,i]of Object.entries(o))void 0===s[t]?(e.dispatch("addConversation",i),r=!0):r=e.dispatch("updateConversationIfHasChanged",i)||r,i.objectType===nJ.OBJECT_TYPE.BREAKOUT_ROOM&&a.addBreakoutRoom(i.objectId,i);n&&r&&e.dispatch("cacheConversations")},async restoreConversations(e){let t=ak.getItem("cachedConversations");return null!==t&&!!t.length&&(await e.dispatch("patchConversations",{conversations:JSON.parse(t),withRemoving:!0}),e.commit("setConversationsInitialised",!0),console.debug("Conversations have been restored from BrowserStorage"),!0)},cacheConversations(e){let t=e.getters.conversationsList;if(!t.length)return;let i=JSON.stringify(t);ak.setItem("cachedConversations",i),console.debug(`Conversations were saved to BrowserStorage. Estimated object size: ${(i.length/1024).toFixed(2)} kB`)},async deleteConversationFromServer(e,{token:t}){try{await ss(t),await e.dispatch("deleteConversation",t),aP.postMessage({message:"force-fetch-all-conversations",options:{all:!0}})}catch(e){console.error("Error while deleting the conversation: ",e)}},async clearConversationHistory(e,{token:t}){try{let i=await sj(t);oQ().removeParentIdToReply(t),uh().purgeReactionsStore(t),e.dispatch("processMessage",{token:t,message:i.data.ocs.data}),e.dispatch("updateLastReadMessage",{token:t,id:i.data.ocs.data.id,updateVisually:!0})}catch(e){console.error((0,K.t)("spreed","Error while clearing conversation history"),e)}},async toggleGuests({commit:e,getters:t},{token:i,allowGuests:n,password:r}){if(t.conversations[i])try{let a={...t.conversation(i)};n?(aG(i,"conversation-creation-password")?await sv(i,r):await sb(i),a.type=nJ.TYPE.PUBLIC,(0,$.i)((0,K.t)("spreed","You allowed guests"))):(await sy(i),a.type=nJ.TYPE.GROUP,(0,$.i)((0,K.t)("spreed","You disallowed guests"))),e("addConversation",a)}catch(e){console.error("Error while changing the conversation public status: ",e),(0,$.s)(n?(0,K.t)("spreed","Error occurred while allowing guests"):(0,K.t)("spreed","Error occurred while disallowing guests"))}},async toggleFavorite({commit:e,getters:t},{token:i,isFavorite:n}){if(t.conversations[i])try{n?await su(i):await sl(i);let r={...t.conversations[i],isFavorite:!n};e("addConversation",r)}catch(e){console.error("Error while changing the conversation favorite status: ",e)}},async toggleArchive(e,{token:t,isArchived:i}){if(e.getters.conversations[t])try{let n=i?await sg(t):await sm(t);e.commit("addConversation",n.data.ocs.data)}catch(e){console.error("Error while changing the conversation archived status: ",e)}},async toggleImportant(e,{token:t,isImportant:i}){if(e.getters.conversations[t])try{let n=i?await sd(t):await sc(t);e.commit("addConversation",n.data.ocs.data)}catch(e){console.error("Error while changing the conversation important status: ",e)}},async toggleSensitive(e,{token:t,isSensitive:i}){if(e.getters.conversations[t])try{let n=i?await sh(t):await sf(t);e.commit("addConversation",n.data.ocs.data)}catch(e){console.error("Error while changing the conversation sensitive status: ",e)}},async toggleLobby({commit:e,getters:t},{token:i,enableLobby:n}){try{let t=await sw(i,n?r1:r0);e("addConversation",t.data.ocs.data),n?(0,$.i)((0,K.t)("spreed","You restricted the conversation to moderators")):(0,$.i)((0,K.t)("spreed","You opened the conversation to everyone"))}catch(e){console.error("Error occurred while updating webinar lobby: ",e),n?(0,$.s)((0,K.t)("spreed","Error occurred when restricting the conversation to moderator")):(0,$.s)((0,K.t)("spreed","Error occurred when opening the conversation to everyone"))}},async setConversationName({commit:e,getters:t},{token:i,name:n}){if(t.conversations[i])try{await sr(i,n);let r={...t.conversations[i],displayName:n};e("addConversation",r)}catch(e){console.error("Error while setting a name for conversation: ",e)}},async setConversationDescription({commit:e},{token:t,description:i}){try{await sa(t,i),e("setConversationDescription",{token:t,description:i})}catch(e){console.error("Error while setting a description for conversation: ",e)}},async setConversationPassword({commit:e},{token:t,newPassword:i}){try{await sn(t,i),e("setConversationHasPassword",{token:t,hasPassword:!!i}),""!==i?(0,$.i)((0,K.t)("spreed","Conversation password has been saved")):(0,$.i)((0,K.t)("spreed","Conversation password has been removed"))}catch(e){console.error("Error while setting a password for conversation: ",e),e?.response?.data?.ocs?.data?.message?(0,$.s)(e.response.data.ocs.data.message):(0,$.s)((0,K.t)("spreed","Error occurred while saving conversation password"))}},async setReadOnlyState({commit:e,getters:t},{token:i,readOnly:n}){if(t.conversations[i])try{await sC(i,n);let r={...t.conversations[i],readOnly:n};e("addConversation",r)}catch(e){console.error("Error while updating read-only state: ",e)}},async setListable({commit:e,getters:t},{token:i,listable:n}){if(t.conversations[i])try{await sA(i,n);let r={...t.conversations[i],listable:n};e("addConversation",r)}catch(e){console.error("Error while updating listable state: ",e)}},async setLobbyTimer({commit:e,getters:t},{token:i,timestamp:n}){try{let t=await sw(i,r1,n);e("addConversation",t.data.ocs.data)}catch(e){console.error("Error while updating webinar lobby: ",e)}},async setSIPEnabled({commit:e,getters:t},{token:i,state:n}){if(t.conversations[i])try{await sF(i,n);let r={...t.conversations[i],sipEnabled:n};e("addConversation",r)}catch(e){console.error("Error while changing the SIP state for conversation: ",e)}},async setRecordingConsent({commit:e,getters:t},{token:i,state:n}){if(t.conversations[i])try{await sk(i,n);let r={...t.conversations[i],recordingConsent:n};e("addConversation",r)}catch(e){console.error("Error while changing the recording consent state for conversation: ",e)}},async setConversationProperties({commit:e,getters:t},{token:i,properties:n}){t.conversations[i]&&e("addConversation",{...t.conversations[i],...n})},async markConversationUnread({commit:e,dispatch:t,getters:i},{token:n}){if(i.conversations[n])try{let e=await s$(n);t("addConversation",e.data.ocs.data)}catch(e){console.error("Error while setting the conversation as unread: ",e)}},async updateLastCommonReadMessage({commit:e,getters:t},{token:i,lastCommonReadMessage:n}){t.conversations[i]&&e("addConversation",{...t.conversations[i],lastCommonReadMessage:n})},async updateConversationLastActive({commit:e,getters:t},i){t.conversations[i]&&e("addConversation",{...t.conversations[i],lastActivity:uA(Date.now())})},async updateConversationLastMessage({commit:e},{token:t,lastMessage:i}){(i.actorType!==n5||i.actorId===ra)&&"reaction"!==i.systemMessage&&"reaction_deleted"!==i.systemMessage&&"reaction_revoked"!==i.systemMessage&&"message_deleted"!==i.systemMessage&&"message_edited"!==i.systemMessage&&e("updateConversationLastMessage",{token:t,lastMessage:i})},async updateConversationLastMessageFromNotification({getters:e,commit:t},{notification:i}){let[n,r]=i.objectId.split("/");if(!e.conversations[n])return;let a={...e.conversations[n]};if(a.lastMessage?.id===parseInt(r,10)||a.lastMessage?.timestamp>=uA(new Date(i.datetime)))return;let s=i.subjectRichParameters.user||i.subjectRichParameters.guest||{type:"guest",id:"unknown",name:(0,K.t)("spreed","Guest")},o={token:n,id:parseInt(r,10),actorType:s.type+"s",actorId:s.id,actorDisplayName:s.name,message:i.messageRich,messageParameters:i.messageRichParameters,timestamp:uA(new Date(i.datetime)),expirationTimestamp:0,isReplyable:!0,messageType:rL,reactions:{},referenceId:"",systemMessage:""},l={token:n,unreadMessages:a.unreadMessages,unreadMention:a.unreadMention,unreadMentionDirect:a.unreadMentionDirect};a.type===nJ.TYPE.ONE_TO_ONE?(l.unreadMessages++,l.unreadMention++,l.unreadMentionDirect=!0):(l.unreadMessages++,Object.keys(i.messageRichParameters).forEach(function(e){let t=i.messageRichParameters[e];"user"===t.type&&t.id===i.user?(l.unreadMention++,l.unreadMentionDirect=!0):"call"===t.type&&t.id===n&&l.unreadMention++})),a.lastActivity=o.timestamp,t("addConversation",a),t("updateConversationLastMessage",{token:n,lastMessage:o}),t("updateUnreadMessages",l)},async updateCallStateFromNotification({getters:e,commit:t},{notification:i}){let n=i.objectId;if(!e.conversations[n])return;let r=uA(new Date(i.datetime));if(re.label),nJ.MAX_NAME_LENGTH);return e.dispatch("createGroupConversation",{roomName:s,roomType:nJ.TYPE.GROUP,objectType:nJ.OBJECT_TYPE.EXTENDED,objectId:t,participants:a})},async createGroupConversation(e,{roomName:t,roomType:i,objectType:n,objectId:r,password:a,description:s,listable:o,participants:l,avatar:u}){if(i===nJ.TYPE.PUBLIC&&uP&&!a)throw Error("password_required");try{let d;if(uN){let e=l?.reduce((e,t)=>{let i="circles"===t.source?"teams":t.source;return["users","federated_users","groups","emails","phones","teams"].includes(i)&&(e[i]||(e[i]=[]),e[i].push(t.id)),e},{});d=await si({roomType:i,roomName:t,objectType:n,objectId:r,password:a,description:s,listable:o,emoji:u?.emoji,avatarColor:u?.color,participants:e})}else d=await st({roomType:i,roomName:t,password:uL?a:void 0});let c=d.data.ocs.data.token;e.dispatch("addConversation",d.data.ocs.data);let h=[];if(u?.file&&h.push(e.dispatch("setConversationAvatarAction",{token:c,file:u.file})),!uN)for(let t of(u?.emoji&&h.push(e.dispatch("setConversationEmojiAvatarAction",{token:c,emoji:u.emoji,color:u.color})),s&&h.push(e.dispatch("setConversationDescription",{token:c,description:s})),a&&!uL&&h.push(sn(c,a)),o!==nJ.LISTABLE.NONE&&h.push(e.dispatch("setListable",{token:c,listable:o})),l))h.push(s8(c,t.id,t.source));return await Promise.all(h),e.getters.conversation(c)}catch(e){return Promise.reject(e)}},async setConversationPermissions(e,{token:t,permissions:i}){try{await sS(t,i),e.commit("setConversationPermissions",{token:t,permissions:i})}catch(e){console.error("Error while updating conversation permissions: ",e)}},async setMessageExpiration({commit:e},{token:t,seconds:i}){try{await sD(t,i),e("setMessageExpiration",{token:t,seconds:i})}catch(e){console.error("Error while setting conversation message expiration: ",e)}},async setCallPermissions(e,{token:t,permissions:i}){try{await sx(t,i),e.commit("setCallPermissions",{token:t,permissions:i})}catch(e){console.error("Error while updating call permissions: ",e)}},async setMentionPermissions(e,{token:t,mentionPermissions:i}){try{await sE(t,i),e.commit("setMentionPermissions",{token:t,mentionPermissions:i})}catch(e){console.error("Error while updating mention permissions: ",e)}},async setLiveTranscriptionLanguage(e,{token:t,languageId:i}){try{await ax(t,i),e.commit("setLiveTranscriptionLanguage",{token:t,languageId:i})}catch(e){throw console.error("Error while updating live transcription language: ",e),e}},async startCallRecording(e,{token:t,callRecording:i}){try{await od(t,i)}catch(e){console.error(e)}let n=i===nX?nY:nQ;(0,$.i)((0,K.t)("spreed","Call recording is starting.")),e.commit("setCallRecording",{token:t,callRecording:n})},async stopCallRecording(e,{token:t}){let i=e.getters.conversation(t).callRecording;try{await oc(t)}catch(e){console.error(e)}i===nQ||i===nY?(0,$.e)((0,K.t)("spreed","Call recording stopped while starting.")):(0,$.e)((0,K.t)("spreed","Call recording stopped. You will be notified once the recording is available."),{timeout:$.r}),e.commit("setCallRecording",{token:t,callRecording:nG})},async setConversationAvatarAction(e,{token:t,file:i}){try{let n=(await a4(t,i)).data.ocs.data;e.commit("addConversation",n),(0,$.i)((0,K.t)("spreed","Conversation picture set"))}catch(e){throw Error(e.response?.data?.ocs?.data?.message??e.message)}},async setConversationEmojiAvatarAction(e,{token:t,emoji:i,color:n}){try{let r=(await a6(t,i,n)).data.ocs.data;e.commit("addConversation",r),(0,$.i)((0,K.t)("spreed","Conversation picture set"))}catch(e){throw Error(e.response?.data?.ocs?.data?.message??e.message)}},async deleteConversationAvatarAction(e,{token:t,file:i}){try{let n=(await a5(t,i)).data.ocs.data;e.commit("addConversation",n),(0,$.i)((0,K.t)("spreed","Conversation picture deleted"))}catch(e){(0,$.s)((0,K.t)("spreed","Could not delete the conversation picture"))}},async unbindConversationFromObject(e,{token:t}){try{let i=(await so(t)).data.ocs.data;e.commit("addConversation",i)}catch(e){console.error("Error while unbinding conversation from object: ",e),(0,$.s)((0,K.t)("spreed","Could not remove the automatic expiration"))}}}};function uU(e,t,i){let n=document.querySelector(`#initial-state-${e}-${t}`);if(null===n){if(void 0!==i)return i;throw Error(`Could not find initial state ${t} of ${e}`)}try{return JSON.parse(atob(n.value))}catch(i){throw Error(`Could not parse initial state ${t} of ${e}`)}}function uq(){return uU("files_sharing","isPublic",null)??null!==document.querySelector('input#isPublic[type="hidden"][name="isPublic"][value="1"]')}function uW(){return uU("files_sharing","sharingToken",null)??document.querySelector('input#sharingToken[type="hidden"]')?.value??null}function uV(e,t,i){let n=`#initial-state-${e}-${t}`;if(window._nc_initial_state?.has(n))return window._nc_initial_state.get(n);window._nc_initial_state||(window._nc_initial_state=new Map);let r=document.querySelector(n);if(null===r){if(void 0!==i)return i;throw Error(`Could not find initial state ${t} of ${e}`)}try{let e=JSON.parse(atob(r.value));return window._nc_initial_state.set(n,e),e}catch(n){if(console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:e,error:n}),void 0!==i)return i;throw Error(`Could not parse initial state ${t} of ${e}`,{cause:n})}}function uH(){return uV("files_sharing","isPublic",null)??null!==document.querySelector('input#isPublic[type="hidden"][name="isPublic"][value="1"]')}function u$(){return uV("files_sharing","sharingToken",null)??document.querySelector('input#sharingToken[type="hidden"]')?.value??null}__webpack_require__(36117);var uG=__webpack_require__(44719),uX=__webpack_require__(35947);function uK(e){return e?e.split("/").map(encodeURIComponent).join("/"):e}function uY(e,t){return(e=e.replace(/\\/g,"/").replace(/\/+$/g,"").replace(/.*\//,""),t&&t!==e&&e.endsWith(t))?e.substring(0,e.length-t.length):e}function uQ(e){let t=(e=e.replaceAll(/\\/g,"/")).split("/");return t.length<=1?".":(t.pop(),1===t.length&&""===t[0])?"/":t.join("/")}function uZ(e){let t=uY(e),i=t.lastIndexOf(".");return i>0?t.substring(i):""}function uJ(...e){if(arguments.length<1)return"";let t=e.filter(e=>e.length>0);if(t.length<1)return"";let i=t[t.length-1],n="/"===t[0].charAt(0),r="/"===i.charAt(i.length-1),a=t.reduce((e,t)=>e.concat(t.split("/")),[]),s=!n,o=a.reduce((e,t)=>""===t?e:s?(s=!1,e+t):e+"/"+t,"");return r?o+"/":o}let u0=(0,uX.YK)().setApp("@nextcloud/files").detectUser().build();var u1=((S=u1||{}).Folder="folder",S.File="file",S),u2=((x=u2||{})[x.NONE=0]="NONE",x[x.CREATE=4]="CREATE",x[x.READ=1]="READ",x[x.UPDATE=2]="UPDATE",x[x.DELETE=8]="DELETE",x[x.SHARE=16]="SHARE",x[x.ALL=31]="ALL",x);let u3=function(e,t){return null!==e.match(t)},u4=(e,t)=>{if(e.id&&"number"!=typeof e.id)throw Error("Invalid id type of value");if(!e.source)throw Error("Missing mandatory source");try{new URL(e.source)}catch(e){throw Error("Invalid source format, source must be a valid URL")}if(!e.source.startsWith("http"))throw Error("Invalid source format, only http(s) is supported");if(e.displayname&&"string"!=typeof e.displayname)throw Error("Invalid displayname type");if(e.mtime&&!(e.mtime instanceof Date))throw Error("Invalid mtime type");if(e.crtime&&!(e.crtime instanceof Date))throw Error("Invalid crtime type");if(!e.mime||"string"!=typeof e.mime||!e.mime.match(/^[-\w.]+\/[-+\w.]+$/gi))throw Error("Missing or invalid mandatory mime");if("size"in e&&"number"!=typeof e.size&&void 0!==e.size)throw Error("Invalid size type");if("permissions"in e&&void 0!==e.permissions&&!("number"==typeof e.permissions&&e.permissions>=u2.NONE&&e.permissions<=u2.ALL))throw Error("Invalid permissions");if(e.owner&&null!==e.owner&&"string"!=typeof e.owner)throw Error("Invalid owner type");if(e.attributes&&"object"!=typeof e.attributes)throw Error("Invalid attributes type");if(e.root&&"string"!=typeof e.root)throw Error("Invalid root type");if(e.root&&!e.root.startsWith("/"))throw Error("Root must start with a leading slash");if(e.root&&!e.source.includes(e.root))throw Error("Root must be part of the source");if(e.root&&u3(e.source,t)){let i=e.source.match(t)[0];if(!e.source.includes(uJ(i,e.root)))throw Error("The root must be relative to the service. e.g /files/emma")}if(e.status&&!Object.values(u6).includes(e.status))throw Error("Status must be a valid NodeStatus")};var u6=((D=u6||{}).NEW="new",D.FAILED="failed",D.LOADING="loading",D.LOCKED="locked",D);class u5{_data;_attributes;_knownDavService=/(remote|public)\.php\/(web)?dav/i;readonlyAttributes=Object.entries(Object.getOwnPropertyDescriptors(u5.prototype)).filter(e=>"function"==typeof e[1].get&&"__proto__"!==e[0]).map(e=>e[0]);handler={set:(e,t,i)=>!this.readonlyAttributes.includes(t)&&Reflect.set(e,t,i),deleteProperty:(e,t)=>!this.readonlyAttributes.includes(t)&&Reflect.deleteProperty(e,t),get:(e,t,i)=>this.readonlyAttributes.includes(t)?(u0.warn(`Accessing "Node.attributes.${t}" is deprecated, access it directly on the Node instance.`),Reflect.get(this,t)):Reflect.get(e,t,i)};constructor(e,t){e.mime||(e.mime="application/octet-stream"),u4(e,t||this._knownDavService),this._data={displayname:e.attributes?.displayname,...e,attributes:{}},this._attributes=new Proxy(this._data.attributes,this.handler),this.update(e.attributes??{}),t&&(this._knownDavService=t)}get source(){return this._data.source.replace(/\/$/i,"")}get encodedSource(){let{origin:e}=new URL(this.source);return e+uK(this.source.slice(e.length))}get basename(){return uY(this.source)}get displayname(){return this._data.displayname||this.basename}set displayname(e){u4({...this._data,displayname:e},this._knownDavService),this._data.displayname=e}get extension(){return uZ(this.source)}get dirname(){if(this.root){let e=this.source;this.isDavResource&&(e=e.split(this._knownDavService).pop());let t=e.indexOf(this.root),i=this.root.replace(/\/$/,"");return uQ(e.slice(t+i.length)||"/")}return uQ(new URL(this.source).pathname)}get mime(){return this._data.mime||"application/octet-stream"}set mime(e){e??="application/octet-stream",u4({...this._data,mime:e},this._knownDavService),this._data.mime=e}get mtime(){return this._data.mtime}set mtime(e){u4({...this._data,mtime:e},this._knownDavService),this._data.mtime=e}get crtime(){return this._data.crtime}get size(){return this._data.size}set size(e){u4({...this._data,size:e},this._knownDavService),this.updateMtime(),this._data.size=e}get attributes(){return this._attributes}get permissions(){return null!==this.owner||this.isDavResource?void 0!==this._data.permissions?this._data.permissions:u2.NONE:u2.READ}set permissions(e){u4({...this._data,permissions:e},this._knownDavService),this.updateMtime(),this._data.permissions=e}get owner(){return this.isDavResource?this._data.owner:null}get isDavResource(){return u3(this.source,this._knownDavService)}get isDavRessource(){return this.isDavResource}get root(){return this._data.root?this._data.root.replace(/^(.+)\/$/,"$1"):this.isDavResource&&uQ(this.source).split(this._knownDavService).pop()||null}get path(){if(this.root){let e=this.source;this.isDavResource&&(e=e.split(this._knownDavService).pop());let t=e.indexOf(this.root),i=this.root.replace(/\/$/,"");return e.slice(t+i.length)||"/"}return(this.dirname+"/"+this.basename).replace(/\/\//g,"/")}get fileid(){return this._data?.id}get status(){return this._data?.status}set status(e){u4({...this._data,status:e},this._knownDavService),this._data.status=e}get data(){return structuredClone(this._data)}move(e){u4({...this._data,source:e},this._knownDavService);let t=this.basename;this._data.source=e,this.displayname===t&&this.basename!==t&&(this.displayname=this.basename)}rename(e){if(e.includes("/"))throw Error("Invalid basename");this.move(uQ(this.source)+"/"+e)}updateMtime(){this._data.mtime&&(this._data.mtime=new Date)}update(e){for(let[t,i]of Object.entries(e))try{void 0===i?delete this.attributes[t]:this.attributes[t]=i}catch(e){if(e instanceof TypeError)continue;throw e}}}class u8 extends null{get type(){return u1.File}clone(){return new u8(this.data)}}class u9 extends u5{constructor(e){super({...e,mime:"httpd/unix-directory"})}get type(){return u1.Folder}get extension(){return null}get mime(){return"httpd/unix-directory"}clone(){return new u9(this.data)}}let u7=function(e=""){let t=u2.NONE;return e&&((e.includes("C")||e.includes("K"))&&(t|=u2.CREATE),e.includes("G")&&(t|=u2.READ),(e.includes("W")||e.includes("N")||e.includes("V"))&&(t|=u2.UPDATE),e.includes("D")&&(t|=u2.DELETE),e.includes("R")&&(t|=u2.SHARE)),t},de=null,dt=null,di=function(){return void 0===window._nc_dav_properties&&(window._nc_dav_properties=[...de]),window._nc_dav_properties.map(e=>`<${e} />`).join(" ")},dn=function(){return void 0===window._nc_dav_namespaces&&(window._nc_dav_namespaces={...dt}),Object.keys(window._nc_dav_namespaces).map(e=>`xmlns:${e}="${window._nc_dav_namespaces?.[e]}"`).join(" ")},dr=function(){return uH()?`/files/${u$()}`:`/files/${(0,j.HW)()?.uid}`}(),da=function(){let e=(0,O.dC)("dav");return uH()?e.replace("remote.php","public.php"):e}(),ds=function(e=da,t={}){let i=(0,uG.UU)(e,{headers:t});function n(e){i.setHeaders({...t,"X-Requested-With":"XMLHttpRequest",requesttoken:e??""})}return(0,j.zo)(n),n((0,j.do)()),(0,uG.Gu)().patch("fetch",(e,t)=>{let i=t.headers;return i?.method&&(t.method=i.method,delete i.method),fetch(e,t)}),i};var dl=__webpack_require__(380),du=__webpack_require__(83141),dd=__webpack_require__(65606),dc=__webpack_require__(48287).Buffer;function dh(){return pp?pg:(pp=1,pg="object"==typeof dd&&dd.env&&dd.env.NODE_DEBUG&&/\bsemver\b/i.test(dd.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{})}function df(){return pv?p_:(pv=1,p_={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||0x1fffffffffffff,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2})}var dm={exports:{}};function dg(){return pb||(pb=1,!function(e,t){let{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:r}=df(),a=dh(),s=(t=e.exports={}).re=[],o=t.safeRe=[],l=t.src=[],u=t.safeSrc=[],d=t.t={},c=0,h="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",r],[h,n]],m=e=>{for(let[t,i]of f)e=e.split(`${t}*`).join(`${t}{0,${i}}`).split(`${t}+`).join(`${t}{1,${i}}`);return e},g=(e,t,i)=>{let n=m(t),r=c++;a(e,r,t),d[e]=r,l[r]=t,u[r]=n,s[r]=new RegExp(t,i?"g":void 0),o[r]=new RegExp(n,i?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),g("MAINVERSION",`(${l[d.NUMERICIDENTIFIER]})\\.(${l[d.NUMERICIDENTIFIER]})\\.(${l[d.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${l[d.NUMERICIDENTIFIERLOOSE]})\\.(${l[d.NUMERICIDENTIFIERLOOSE]})\\.(${l[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${l[d.NONNUMERICIDENTIFIER]}|${l[d.NUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${l[d.NONNUMERICIDENTIFIER]}|${l[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASE",`(?:-(${l[d.PRERELEASEIDENTIFIER]}(?:\\.${l[d.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${l[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[d.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${h}+`),g("BUILD",`(?:\\+(${l[d.BUILDIDENTIFIER]}(?:\\.${l[d.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${l[d.MAINVERSION]}${l[d.PRERELEASE]}?${l[d.BUILD]}?`),g("FULL",`^${l[d.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${l[d.MAINVERSIONLOOSE]}${l[d.PRERELEASELOOSE]}?${l[d.BUILD]}?`),g("LOOSE",`^${l[d.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${l[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${l[d.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${l[d.XRANGEIDENTIFIER]})(?:\\.(${l[d.XRANGEIDENTIFIER]})(?:\\.(${l[d.XRANGEIDENTIFIER]})(?:${l[d.PRERELEASE]})?${l[d.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${l[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[d.XRANGEIDENTIFIERLOOSE]})(?:${l[d.PRERELEASELOOSE]})?${l[d.BUILD]}?)?)?`),g("XRANGE",`^${l[d.GTLT]}\\s*${l[d.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${l[d.GTLT]}\\s*${l[d.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),g("COERCE",`${l[d.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",l[d.COERCEPLAIN]+`(?:${l[d.PRERELEASE]})?(?:${l[d.BUILD]})?(?:$|[^\\d])`),g("COERCERTL",l[d.COERCE],!0),g("COERCERTLFULL",l[d.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${l[d.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",g("TILDE",`^${l[d.LONETILDE]}${l[d.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${l[d.LONETILDE]}${l[d.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${l[d.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",g("CARET",`^${l[d.LONECARET]}${l[d.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${l[d.LONECARET]}${l[d.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${l[d.GTLT]}\\s*(${l[d.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${l[d.GTLT]}\\s*(${l[d.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${l[d.GTLT]}\\s*(${l[d.LOOSEPLAIN]}|${l[d.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${l[d.XRANGEPLAIN]})\\s+-\\s+(${l[d.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${l[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[d.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(dm,dm.exports)),dm.exports}function dp(){if(pF)return py;pF=1;let e=Object.freeze({loose:!0}),t=Object.freeze({});return py=i=>i?"object"!=typeof i?e:i:t}function d_(){if(pw)return pk;pw=1;let e=/^[0-9]+$/,t=(t,i)=>{if("number"==typeof t&&"number"==typeof i)return t===i?0:tt(i,e);return pk={compareIdentifiers:t,rcompareIdentifiers:i}}function dv(){if(pA)return pC;pA=1;let e=dh(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:i}=df(),{safeRe:n,t:r}=dg(),a=dp(),{compareIdentifiers:s}=d_();class o{constructor(s,l){if(l=a(l),s instanceof o)if(!!l.loose===s.loose&&!!l.includePrerelease===s.includePrerelease)return s;else s=s.version;else if("string"!=typeof s)throw TypeError(`Invalid version. Must be a string. Got type "${typeof s}".`);if(s.length>t)throw TypeError(`version is longer than ${t} characters`);e("SemVer",s,l),this.options=l,this.loose=!!l.loose,this.includePrerelease=!!l.includePrerelease;const u=s.trim().match(l.loose?n[r.LOOSE]:n[r.FULL]);if(!u)throw TypeError(`Invalid Version: ${s}`);if(this.raw=s,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>i||this.major<0)throw TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&te.major?1:this.minore.minor?1:this.patche.patch)}comparePre(t){if(t instanceof o||(t=new o(t,this.options)),this.prerelease.length&&!t.prerelease.length)return -1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let i=0;do{let n=this.prerelease[i],r=t.prerelease[i];if(e("prerelease compare",i,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return -1;else if(n===r)continue;else return s(n,r)}while(++i)}compareBuild(t){t instanceof o||(t=new o(t,this.options));let i=0;do{let n=this.build[i],r=t.build[i];if(e("build compare",i,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return -1;else if(n===r)continue;else return s(n,r)}while(++i)}inc(e,t,i){if(e.startsWith("pre")){if(!t&&!1===i)throw Error("invalid increment argument: identifier is empty");if(t){let e=`-${t}`.match(this.options.loose?n[r.PRERELEASELOOSE]:n[r.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,i),this.inc("pre",t,i);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,i),this.inc("pre",t,i);break;case"release":if(0===this.prerelease.length)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{let e=+!!Number(i);if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===i)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===i&&(n=[t]),0===s(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return pC=o}!function(){if(pS)return;pS=1;let e=dv();pE=(t,i)=>new e(t,i).major}();let db=null;function dy(){if(pD)return px;pD=1;let e=dv();return px=(t,i,n=!1)=>{if(t instanceof e)return t;try{return new e(t,i)}catch(e){if(!n)return null;throw e}}}!function(){if(pM)return;pM=1;let e=dy();pT=(t,i)=>{let n=e(t,i);return n?n.version:null}}();let dF=null;class dk{bus;constructor(e){"function"==typeof e.getVersion&&dF(e.getVersion())?db(e.getVersion())!==db(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}getVersion(){return"3.3.3"}subscribe(e,t){this.bus.subscribe(e,t)}unsubscribe(e,t){this.bus.unsubscribe(e,t)}emit(e,...t){this.bus.emit(e,...t)}}class dw{handlers=new Map;getVersion(){return"3.3.3"}subscribe(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))}unsubscribe(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter(e=>e!==t))}emit(e,...t){(this.handlers.get(e)||[]).forEach(e=>{try{e(t[0])}catch(e){console.error("could not invoke event listener",e)}})}}let dC=null;function dA(){return null!==dC?dC:"u"()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),dC=void 0!==window?._nc_event_bus?new dk(window._nc_event_bus):window._nc_event_bus=new dw)}dl.m;class dE{_column;constructor(e){dS(e),this._column=e}get id(){return this._column.id}get title(){return this._column.title}get render(){return this._column.render}get sort(){return this._column.sort}get summary(){return this._column.summary}}let dS=function(e){if(!e.id||"string"!=typeof e.id)throw Error("A column id is required");if(!e.title||"string"!=typeof e.title)throw Error("A column title is required");if(!e.render||"function"!=typeof e.render)throw Error("A render function is required");if(e.sort&&"function"!=typeof e.sort)throw Error("Column sortFunction must be a function");if(e.summary&&"function"!=typeof e.summary)throw Error("Column summary must be a function");return!0};var dx={};!function(){pI||(pI=1,!function(e){!function(e){e.parser=function(e,t){return new n(e,t)},e.SAXParser=n,e.SAXStream=u,e.createStream=l,e.MAX_BUFFER_LENGTH=65536;var t,i=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function n(t,i){if(!(this instanceof n))return new n(t,i);var r=this;a(r),r.q=r.c="",r.bufferCheckPosition=e.MAX_BUFFER_LENGTH,r.opt=i||{},r.opt.lowercase=r.opt.lowercase||r.opt.lowercasetags,r.looseCase=r.opt.lowercase?"toLowerCase":"toUpperCase",r.tags=[],r.closed=r.closedRoot=r.sawRoot=!1,r.tag=r.error=null,r.strict=!!t,r.noscript=!!(t||r.opt.noscript),r.state=A.BEGIN,r.strictEntities=r.opt.strictEntities,r.ENTITIES=r.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),r.attribList=[],r.opt.xmlns&&(r.ns=Object.create(m)),void 0===r.opt.unquotedAttributeValues&&(r.opt.unquotedAttributeValues=!t),r.trackPosition=!1!==r.opt.position,r.trackPosition&&(r.position=r.line=r.column=0),S(r,"onready")}function r(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),r=0,a=0,s=i.length;an)switch(i[a]){case"textNode":D(t);break;case"cdata":x(t,"oncdata",t.cdata),t.cdata="";break;case"script":x(t,"onscript",t.script),t.script="";break;default:M(t,"Max buffer length exceeded: "+i[a])}r=Math.max(r,o)}t.bufferCheckPosition=e.MAX_BUFFER_LENGTH-r+t.position}function a(e){for(var t=0,n=i.length;t"===e||y(e)}function w(e,t){return e.test(t)}function C(e,t){return!w(e,t)}var A=0;for(var E in e.STATE={BEGIN:A++,BEGIN_WHITESPACE:A++,TEXT:A++,TEXT_ENTITY:A++,OPEN_WAKA:A++,SGML_DECL:A++,SGML_DECL_QUOTED:A++,DOCTYPE:A++,DOCTYPE_QUOTED:A++,DOCTYPE_DTD:A++,DOCTYPE_DTD_QUOTED:A++,COMMENT_STARTING:A++,COMMENT:A++,COMMENT_ENDING:A++,COMMENT_ENDED:A++,CDATA:A++,CDATA_ENDING:A++,CDATA_ENDING_2:A++,PROC_INST:A++,PROC_INST_BODY:A++,PROC_INST_ENDING:A++,OPEN_TAG:A++,OPEN_TAG_SLASH:A++,ATTRIB:A++,ATTRIB_NAME:A++,ATTRIB_NAME_SAW_WHITE:A++,ATTRIB_VALUE:A++,ATTRIB_VALUE_QUOTED:A++,ATTRIB_VALUE_CLOSED:A++,ATTRIB_VALUE_UNQUOTED:A++,ATTRIB_VALUE_ENTITY_Q:A++,ATTRIB_VALUE_ENTITY_U:A++,CLOSE_TAG:A++,CLOSE_TAG_SAW_WHITE:A++,SCRIPT:A++,SCRIPT_ENDING:A++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach(function(t){var i=e.ENTITIES[t],n="number"==typeof i?String.fromCharCode(i):i;e.ENTITIES[t]=n}),e.STATE)e.STATE[e.STATE[E]]=E;function S(e,t,i){e[t]&&e[t](i)}function x(e,t,i){e.textNode&&D(e),S(e,t,i)}function D(e){e.textNode=T(e.opt,e.textNode),e.textNode&&S(e,"ontext",e.textNode),e.textNode=""}function T(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function M(e,t){return D(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),e.error=t=Error(t),S(e,"onerror",t),e}function I(e){return e.sawRoot&&!e.closedRoot&&B(e,"Unclosed root tag"),e.state!==A.BEGIN&&e.state!==A.BEGIN_WHITESPACE&&e.state!==A.TEXT&&M(e,"Unexpected end"),D(e),e.c="",e.closed=!0,S(e,"onend"),n.call(e,e.strict,e.opt),e}function B(e,t){if("object"!=typeof e||!(e instanceof n))throw Error("bad call to strictFail");e.strict&&M(e,t)}function P(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,i=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(i.ns=t.ns),e.attribList.length=0,x(e,"onopentagstart",i)}function N(e,t){var i=0>e.indexOf(":")?["",e]:e.split(":"),n=i[0],r=i[1];return t&&"xmlns"===e&&(n="xmlns",r=""),{prefix:n,local:r}}function R(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue="";return}if(e.opt.xmlns){var t=N(e.attribName,!0),i=t.prefix,n=t.local;if("xmlns"===i)if("xml"===n&&e.attribValue!==h)B(e,"xml: prefix must be bound to "+h+"\nActual: "+e.attribValue);else if("xmlns"===n&&e.attribValue!==f)B(e,"xmlns: prefix must be bound to "+f+"\nActual: "+e.attribValue);else{var r=e.tag,a=e.tags[e.tags.length-1]||e;r.ns===a.ns&&(r.ns=Object.create(a.ns)),r.ns[n]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,x(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}function j(e,t){if(e.opt.xmlns){var i=e.tag,n=N(e.tagName);i.prefix=n.prefix,i.local=n.local,i.uri=i.ns[n.prefix]||"",i.prefix&&!i.uri&&(B(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),i.uri=n.prefix);var r=e.tags[e.tags.length-1]||e;i.ns&&r.ns!==i.ns&&Object.keys(i.ns).forEach(function(t){x(e,"onopennamespace",{prefix:t,uri:i.ns[t]})});for(var a=0,s=e.attribList.length;a",e.tagName="",e.state=A.SCRIPT;return}x(e,"onscript",e.script),e.script=""}var t=e.tags.length,i=e.tagName;e.strict||(i=i[e.looseCase]());for(var n=i;t--;)if(e.tags[t].name!==n)B(e,"Unexpected close tag");else break;if(t<0){B(e,"Unmatched closing tag: "+e.tagName),e.textNode+="",e.state=A.TEXT;return}e.tagName=i;for(var r=e.tags.length;r-- >t;){var a=e.tag=e.tags.pop();e.tagName=e.tag.name,x(e,"onclosetag",e.tagName);var s={};for(var o in a.ns)s[o]=a.ns[o];var l=e.tags[e.tags.length-1]||e;e.opt.xmlns&&a.ns!==l.ns&&Object.keys(a.ns).forEach(function(t){var i=a.ns[t];x(e,"onclosenamespace",{prefix:t,uri:i})})}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=A.TEXT}function z(e){var t,i=e.entity,n=i.toLowerCase(),r="";return e.ENTITIES[i]?e.ENTITIES[i]:e.ENTITIES[n]?e.ENTITIES[n]:("#"===(i=n).charAt(0)&&(r="x"===i.charAt(1)?(t=parseInt(i=i.slice(2),16)).toString(16):(t=parseInt(i=i.slice(1),10)).toString(10)),i=i.replace(/^0+/,""),isNaN(t)||r.toLowerCase()!==i)?(B(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t)}function q(e,t){"<"===t?(e.state=A.OPEN_WAKA,e.startTagPosition=e.position):y(t)||(B(e,"Non-whitespace before first tag."),e.textNode=t,e.state=A.TEXT)}function W(e,t){var i="";return t"===a?(x(i,"onsgmldeclaration",i.sgmlDecl),i.sgmlDecl="",i.state=A.TEXT):(F(a)&&(i.state=A.SGML_DECL_QUOTED),i.sgmlDecl+=a);continue;case A.SGML_DECL_QUOTED:a===i.q&&(i.state=A.SGML_DECL,i.q=""),i.sgmlDecl+=a;continue;case A.DOCTYPE:">"===a?(i.state=A.TEXT,x(i,"ondoctype",i.doctype),i.doctype=!0):(i.doctype+=a,"["===a?i.state=A.DOCTYPE_DTD:F(a)&&(i.state=A.DOCTYPE_QUOTED,i.q=a));continue;case A.DOCTYPE_QUOTED:i.doctype+=a,a===i.q&&(i.q="",i.state=A.DOCTYPE);continue;case A.DOCTYPE_DTD:"]"===a?(i.doctype+=a,i.state=A.DOCTYPE):"<"===a?(i.state=A.OPEN_WAKA,i.startTagPosition=i.position):F(a)?(i.doctype+=a,i.state=A.DOCTYPE_DTD_QUOTED,i.q=a):i.doctype+=a;continue;case A.DOCTYPE_DTD_QUOTED:i.doctype+=a,a===i.q&&(i.state=A.DOCTYPE_DTD,i.q="");continue;case A.COMMENT:"-"===a?i.state=A.COMMENT_ENDING:i.comment+=a;continue;case A.COMMENT_ENDING:"-"===a?(i.state=A.COMMENT_ENDED,i.comment=T(i.opt,i.comment),i.comment&&x(i,"oncomment",i.comment),i.comment=""):(i.comment+="-"+a,i.state=A.COMMENT);continue;case A.COMMENT_ENDED:">"!==a?(B(i,"Malformed comment"),i.comment+="--"+a,i.state=A.COMMENT):i.doctype&&!0!==i.doctype?i.state=A.DOCTYPE_DTD:i.state=A.TEXT;continue;case A.CDATA:"]"===a?i.state=A.CDATA_ENDING:i.cdata+=a;continue;case A.CDATA_ENDING:"]"===a?i.state=A.CDATA_ENDING_2:(i.cdata+="]"+a,i.state=A.CDATA);continue;case A.CDATA_ENDING_2:">"===a?(i.cdata&&x(i,"oncdata",i.cdata),x(i,"onclosecdata"),i.cdata="",i.state=A.TEXT):"]"===a?i.cdata+="]":(i.cdata+="]]"+a,i.state=A.CDATA);continue;case A.PROC_INST:"?"===a?i.state=A.PROC_INST_ENDING:y(a)?i.state=A.PROC_INST_BODY:i.procInstName+=a;continue;case A.PROC_INST_BODY:!i.procInstBody&&y(a)||("?"===a?i.state=A.PROC_INST_ENDING:i.procInstBody+=a);continue;case A.PROC_INST_ENDING:">"===a?(x(i,"onprocessinginstruction",{name:i.procInstName,body:i.procInstBody}),i.procInstName=i.procInstBody="",i.state=A.TEXT):(i.procInstBody+="?"+a,i.state=A.PROC_INST_BODY);continue;case A.OPEN_TAG:w(p,a)?i.tagName+=a:(P(i),">"===a?j(i):"/"===a?i.state=A.OPEN_TAG_SLASH:(y(a)||B(i,"Invalid character in tag name"),i.state=A.ATTRIB));continue;case A.OPEN_TAG_SLASH:">"===a?(j(i,!0),O(i)):(B(i,"Forward-slash in opening tag not followed by >"),i.state=A.ATTRIB);continue;case A.ATTRIB:y(a)||(">"===a?j(i):"/"===a?i.state=A.OPEN_TAG_SLASH:w(g,a)?(i.attribName=a,i.attribValue="",i.state=A.ATTRIB_NAME):B(i,"Invalid attribute name"));continue;case A.ATTRIB_NAME:"="===a?i.state=A.ATTRIB_VALUE:">"===a?(B(i,"Attribute without value"),i.attribValue=i.attribName,R(i),j(i)):y(a)?i.state=A.ATTRIB_NAME_SAW_WHITE:w(p,a)?i.attribName+=a:B(i,"Invalid attribute name");continue;case A.ATTRIB_NAME_SAW_WHITE:if("="===a)i.state=A.ATTRIB_VALUE;else{if(y(a))continue;B(i,"Attribute without value"),i.tag.attributes[i.attribName]="",i.attribValue="",x(i,"onattribute",{name:i.attribName,value:""}),i.attribName="",">"===a?j(i):w(g,a)?(i.attribName=a,i.state=A.ATTRIB_NAME):(B(i,"Invalid attribute name"),i.state=A.ATTRIB)}continue;case A.ATTRIB_VALUE:y(a)||(F(a)?(i.q=a,i.state=A.ATTRIB_VALUE_QUOTED):(i.opt.unquotedAttributeValues||M(i,"Unquoted attribute value"),i.state=A.ATTRIB_VALUE_UNQUOTED,i.attribValue=a));continue;case A.ATTRIB_VALUE_QUOTED:if(a!==i.q){"&"===a?i.state=A.ATTRIB_VALUE_ENTITY_Q:i.attribValue+=a;continue}R(i),i.q="",i.state=A.ATTRIB_VALUE_CLOSED;continue;case A.ATTRIB_VALUE_CLOSED:y(a)?i.state=A.ATTRIB:">"===a?j(i):"/"===a?i.state=A.OPEN_TAG_SLASH:w(g,a)?(B(i,"No whitespace between attributes"),i.attribName=a,i.attribValue="",i.state=A.ATTRIB_NAME):B(i,"Invalid attribute name");continue;case A.ATTRIB_VALUE_UNQUOTED:if(!k(a)){"&"===a?i.state=A.ATTRIB_VALUE_ENTITY_U:i.attribValue+=a;continue}R(i),">"===a?j(i):i.state=A.ATTRIB;continue;case A.CLOSE_TAG:i.tagName?">"===a?O(i):w(p,a)?i.tagName+=a:i.script?(i.script+=""===a?O(i):B(i,"Invalid characters in closing tag");continue;case A.TEXT_ENTITY:case A.ATTRIB_VALUE_ENTITY_Q:case A.ATTRIB_VALUE_ENTITY_U:switch(i.state){case A.TEXT_ENTITY:o=A.TEXT,l="textNode";break;case A.ATTRIB_VALUE_ENTITY_Q:o=A.ATTRIB_VALUE_QUOTED,l="attribValue";break;case A.ATTRIB_VALUE_ENTITY_U:o=A.ATTRIB_VALUE_UNQUOTED,l="attribValue"}if(";"===a){var o,l,u=z(i);i.opt.unparsedEntities&&!Object.values(e.XML_ENTITIES).includes(u)?(i.entity="",i.state=o,i.write(u)):(i[l]+=u,i.entity="",i.state=o)}else w(i.entity.length?b:_,a)?i.entity+=a:(B(i,"Invalid character in entity name"),i[l]+="&"+i.entity+a,i.entity="",i.state=o);continue;default:throw Error(i,"Unknown state: "+i.state)}return i.position>=i.bufferCheckPosition&&r(i),i}A=e.STATE,String.fromCodePoint||function(){var e=String.fromCharCode,t=Math.floor,i=function(){var i,n,r=16384,a=[],s=-1,o=arguments.length;if(!o)return"";for(var l="";++s1114111||t(u)!==u)throw RangeError("Invalid code point: "+u);u<=65535?a.push(u):(u-=65536,i=(u>>10)+55296,n=u%1024+56320,a.push(i,n)),(s+1===o||a.length>r)&&(l+=e.apply(null,a),a.length=0)}return l};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:i,configurable:!0,writable:!0}):String.fromCodePoint=i}()}(e)}(dx))}();let dD=null,dT=null,dM=null;class dI{constructor(e){this.options=e??{},this.firstTag=!0,this.onEnd=!1,this.parser=dD.parser(!0,{xmlns:!0}),this.nesting=0,this.parser.onerror=e=>{e.message.startsWith("Invalid character entity")||(this.fileType=void 0,this.onEnd=!0)},this.parser.onopentag=e=>{++this.nesting,this.firstTag&&!this.onEnd&&(this.firstTag=!1,e.uri?this.fileType=dT[e.uri]:e.name&&(this.fileType=dM[e.name.toLowerCase()]),this.fileType&&!this.options.fullScan&&(this.onEnd=!0))},this.parser.onclosetag=()=>{--this.nesting}}write(e){this.parser.write(e)}close(){this.parser.close(),this.onEnd=!0}isValid(){return 0===this.nesting}}function dB(e,{validate:t=!0}={}){if("string"!=typeof e)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);if(0===(e=e.trim()).length)return!1;let i=new dI({fullScan:t});if(t){if(i.write(e),!i.isValid())return!1}else{let t=128,n=0;for(;e.length>n&&!i.onEnd;)i.write(e.slice(n,Math.min(n+t,e.length))),n+=t}return i.fileType?.ext==="svg"}class dP{_entries=[];registerEntry(e){this.validateEntry(e),e.category=e.category??1,this._entries.push(e)}unregisterEntry(e){let t="string"==typeof e?this.getEntryIndex(e):this.getEntryIndex(e.id);-1===t?logger.warn("Entry not found, nothing removed",{entry:e,entries:this.getEntries()}):this._entries.splice(t,1)}getEntries(e){return e?this._entries.filter(t=>"function"!=typeof t.enabled||t.enabled(e)):this._entries}getEntryIndex(e){return this._entries.findIndex(t=>t.id===e)}validateEntry(e){if(!e.id||!e.displayName||!(e.iconSvgInline||e.iconClass)||!e.handler)throw Error("Invalid entry");if("string"!=typeof e.id||"string"!=typeof e.displayName)throw Error("Invalid id or displayName property");if(e.iconClass&&"string"!=typeof e.iconClass||e.iconSvgInline&&"string"!=typeof e.iconSvgInline)throw Error("Invalid icon provided");if(void 0!==e.enabled&&"function"!=typeof e.enabled)throw Error("Invalid enabled property");if("function"!=typeof e.handler)throw Error("Invalid handler property");if("order"in e&&"number"!=typeof e.order)throw Error("Invalid order property");if(-1!==this.getEntryIndex(e.id))throw Error("Duplicate entry")}}class dL extends Error{constructor(e){super(`Invalid ${e.reason} '${e.segment}' in filename '${e.filename}'`,{cause:e})}get filename(){return this.cause.filename}get reason(){return this.cause.reason}get segment(){return this.cause.segment}}let dN=["B","KB","MB","GB","TB","PB"],dR=["B","KiB","MiB","GiB","TiB","PiB"];function dj(e,t=!1,i=!1,n=!1){i=i&&!n,"string"==typeof e&&(e=Number(e));let r=e>0?Math.floor(Math.log(e)/Math.log(n?1e3:1024)):0;r=Math.min((i?dR.length:dN.length)-1,r);let a=i?dR[r]:dN[r],s=(e/Math.pow(n?1e3:1024,r)).toFixed(1);return!0===t&&0===r?("0.0"!==s?"< 1 ":"0 ")+(i?dR[1]:dN[1]):(s=r<2?parseFloat(s).toFixed(0):parseFloat(s).toLocaleString((0,K.lO)()))+" "+a}function dO(e){return e instanceof Date?e.toISOString():String(e)}function dz(e){return e?e.split("/").map(encodeURIComponent).join("/"):e}function dU(e){return e.replace(/\\/g,"/").replace(/.*\//,"")}var dq=__webpack_require__(57975);class dW extends Error{constructor(e){super(e||"Promise was canceled"),this.name="CancelError"}get isCanceled(){return!0}}let dV=Object.freeze({pending:Symbol("pending"),canceled:Symbol("canceled"),resolved:Symbol("resolved"),rejected:Symbol("rejected")});class dH{static fn(e){return(...t)=>new dH((i,n,r)=>{t.push(r),e(...t).then(i,n)})}#b=[];#y=!0;#F=dV.pending;#k;#w;constructor(e){this.#k=new Promise((t,i)=>{this.#w=i;let n=e=>{this.#F===dV.canceled&&a.shouldReject||(t(e),this.#C(dV.resolved))},r=e=>{this.#F===dV.canceled&&a.shouldReject||(i(e),this.#C(dV.rejected))},a=e=>{if(this.#F!==dV.pending)throw Error(`The \`onCancel\` handler was attached after the promise ${this.#F.description}.`);this.#b.push(e)};Object.defineProperties(a,{shouldReject:{get:()=>this.#y,set:e=>{this.#y=e}}}),e(n,r,a)})}then(e,t){return this.#k.then(e,t)}catch(e){return this.#k.catch(e)}finally(e){return this.#k.finally(e)}cancel(e){if(this.#F===dV.pending){if(this.#C(dV.canceled),this.#b.length>0)try{for(let e of this.#b)e()}catch(e){this.#w(e);return}this.#y&&this.#w(new dW(e))}}get isCanceled(){return this.#F===dV.canceled}#C(e){this.#F===dV.pending&&(this.#F=e)}}Object.setPrototypeOf(dH.prototype,Promise.prototype);var d$=__webpack_require__(26368);class dG extends Error{constructor(e){super(e),this.name="TimeoutError"}}class dX extends Error{constructor(e){super(),this.name="AbortError",this.message=e}}let dK=e=>void 0===globalThis.DOMException?new dX(e):new DOMException(e),dY=e=>{let t=void 0===e.reason?dK("This operation was aborted."):e.reason;return t instanceof Error?t:dK(t)};function dQ(e,t){let i,{milliseconds:n,fallback:r,message:a,customTimers:s={setTimeout,clearTimeout}}=t,o=new Promise((o,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(dY(e)),e.addEventListener("abort",()=>{l(dY(e))})}if(n===1/0)return void e.then(o,l);let u=new dG;i=s.setTimeout.call(void 0,()=>{if(r){try{o(r())}catch(e){l(e)}return}"function"==typeof e.cancel&&e.cancel(),!1===a?o():a instanceof Error?l(a):(u.message=a??`Promise timed out after ${n} milliseconds`,l(u))},n),(async()=>{try{o(await e)}catch(e){l(e)}})()}).finally(()=>{o.clear()});return o.clear=()=>{s.clearTimeout.call(void 0,i),i=void 0},o}function dZ(e,t,i){let n=0,r=e.length;for(;r>0;){let a=Math.trunc(r/2),s=n+a;0>=i(e[s],t)?(n=++s,r-=a+1):r=a}return n}class dJ{#A=[];enqueue(e,t){let i={priority:(t={priority:0,...t}).priority,id:t.id,run:e};if(0===this.size||this.#A[this.size-1].priority>=t.priority)return void this.#A.push(i);let n=dZ(this.#A,i,(e,t)=>t.priority-e.priority);this.#A.splice(n,0,i)}setPriority(e,t){let i=this.#A.findIndex(t=>t.id===e);if(-1===i)throw ReferenceError(`No promise function with the id "${e}" exists in the queue.`);let[n]=this.#A.splice(i,1);this.enqueue(n.run,{priority:t,id:e})}dequeue(){let e=this.#A.shift();return e?.run}filter(e){return this.#A.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this.#A.length}}class d0 extends d${#E;#S;#x=0;#D;#T;#M=0;#I;#B;#A;#P;#L=0;#N;#R;#j;#O=1n;timeout;constructor(e){if(super(),!("number"==typeof(e={carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:dJ,...e}).intervalCap&&e.intervalCap>=1))throw TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${e.intervalCap?.toString()??""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${e.interval?.toString()??""}\` (${typeof e.interval})`);this.#E=e.carryoverConcurrencyCount,this.#S=e.intervalCap===1/0||0===e.interval,this.#D=e.intervalCap,this.#T=e.interval,this.#A=new e.queueClass,this.#P=e.queueClass,this.concurrency=e.concurrency,this.timeout=e.timeout,this.#j=!0===e.throwOnTimeout,this.#R=!1===e.autoStart}get #z(){return this.#S||this.#x{this.#V()},t)),!0;this.#x=this.#E?this.#L:0}return!1}#W(){if(0===this.#A.size)return this.#I&&clearInterval(this.#I),this.#I=void 0,this.emit("empty"),0===this.#L&&this.emit("idle"),!1;if(!this.#R){let e=!this.#G;if(this.#z&&this.#U){let t=this.#A.dequeue();return!!t&&(this.emit("active"),t(),e&&this.#$(),!0)}}return!1}#$(){this.#S||void 0!==this.#I||(this.#I=setInterval(()=>{this.#H()},this.#T),this.#M=Date.now()+this.#T)}#H(){0===this.#x&&0===this.#L&&this.#I&&(clearInterval(this.#I),this.#I=void 0),this.#x=this.#E?this.#L:0,this.#X()}#X(){for(;this.#W(););}get concurrency(){return this.#N}set concurrency(e){if(!("number"==typeof e&&e>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this.#N=e,this.#X()}async #K(e){return new Promise((t,i)=>{e.addEventListener("abort",()=>{i(e.reason)},{once:!0})})}setPriority(e,t){this.#A.setPriority(e,t)}async add(e,t={}){return t.id??=(this.#O++).toString(),t={timeout:this.timeout,throwOnTimeout:this.#j,...t},new Promise((i,n)=>{this.#A.enqueue(async()=>{this.#L++;try{t.signal?.throwIfAborted(),this.#x++;let n=e({signal:t.signal});t.timeout&&(n=dQ(Promise.resolve(n),{milliseconds:t.timeout})),t.signal&&(n=Promise.race([n,this.#K(t.signal)]));let r=await n;i(r),this.emit("completed",r)}catch(e){if(e instanceof dG&&!t.throwOnTimeout)return void i();n(e),this.emit("error",e)}finally{this.#q()}},t),this.emit("add"),this.#W()})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this.#R&&(this.#R=!1,this.#X()),this}pause(){this.#R=!0}clear(){this.#A=new this.#P}async onEmpty(){0!==this.#A.size&&await this.#Y("empty")}async onSizeLessThan(e){this.#A.sizethis.#A.size{let n=()=>{(!t||t())&&(this.off(e,n),i())};this.on(e,n)})}get size(){return this.#A.size}sizeBy(e){return this.#A.filter(e).length}get pending(){return this.#L}get isPaused(){return this.#R}}var d1=__webpack_require__(11195),d2=__webpack_require__(51111);let d3="axios-retry";function d4(e){let t=["ERR_CANCELED","ECONNABORTED"];return!(e.response||!e.code||t.includes(e.code))&&d2(e)}let d6=["get","head","options"],d5=d6.concat(["put","delete"]);function d8(e){return"ECONNABORTED"!==e.code&&(!e.response||429===e.response.status||e.response.status>=500&&e.response.status<=599)}function d9(e){return!!e.config?.method&&d8(e)&&-1!==d6.indexOf(e.config.method)}function d7(e){return!!e.config?.method&&d8(e)&&-1!==d5.indexOf(e.config.method)}function ce(e){return d4(e)||d7(e)}function ct(e){let t=e?.response?.headers["retry-after"];if(!t)return 0;let i=1e3*(Number(t)||0);return 0===i&&(i=(new Date(t).valueOf()||0)-Date.now()),Math.max(0,i)}function ci(e=0,t,i=100){let n=Math.max(2**e*i,ct(t)),r=.2*n*Math.random();return n+r}function cn(e=100){return(t=0,i)=>Math.max(t*e,ct(i))}let cr={retries:3,retryCondition:ce,retryDelay:function(e=0,t){return Math.max(0,ct(t))},shouldResetTimeout:!1,onRetry:()=>{},onMaxRetryTimesExceeded:()=>{},validateResponse:null};function ca(e,t){return{...cr,...t,...e[d3]}}function cs(e,t,i=!1){let n=ca(e,t||{});return n.retryCount=n.retryCount||0,(!n.lastRequestTime||i)&&(n.lastRequestTime=Date.now()),e[d3]=n,n}function co(e,t){e.defaults.agent===t.agent&&delete t.agent,e.defaults.httpAgent===t.httpAgent&&delete t.httpAgent,e.defaults.httpsAgent===t.httpsAgent&&delete t.httpsAgent}async function cl(e,t){let{retries:i,retryCondition:n}=e,r=(e.retryCount||0)e],await s(t.retryCount,i,n),n.signal?.aborted)?Promise.resolve(e(n)):new Promise(t=>{let i=()=>{clearTimeout(r),t(e(n))},r=setTimeout(()=>{t(e(n)),n.signal?.removeEventListener&&n.signal.removeEventListener("abort",i)},o);n.signal?.addEventListener&&n.signal.addEventListener("abort",i,{once:!0})})}async function cd(e,t){e.retryCount>=e.retries&&await e.onMaxRetryTimesExceeded(t,e.retryCount)}let cc=(e,t)=>({requestInterceptorId:e.interceptors.request.use(e=>(cs(e,t,!0),e[d3]?.validateResponse&&(e.validateStatus=()=>!1),e)),responseInterceptorId:e.interceptors.response.use(null,async i=>{let{config:n}=i;if(!n)return Promise.reject(i);let r=cs(n,t);return i.response&&r.validateResponse?.(i.response)?i.response:await cl(r,i)?cu(e,r,i,n):(await cd(r,i),Promise.reject(i))})});cc.isNetworkError=d4,cc.isSafeRequestError=d9,cc.isIdempotentRequestError=d7,cc.isNetworkOrIdempotentRequestError=ce,cc.exponentialDelay=ci,cc.linearDelay=cn,cc.isRetryableError=d8;let ch=cc,cf=(0,d1.$)().detectLocale();[{locale:"af",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Afrikaans (https://www.transifex.com/nextcloud/teams/64236/af/)","Content-Type":"text/plain; charset=UTF-8",Language:"af","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Afrikaans (https://www.transifex.com/nextcloud/teams/64236/af/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: af\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"ar",json:{charset:"utf-8",headers:{"Last-Translator":"Ali , 2025","Language-Team":"Arabic (https://app.transifex.com/nextcloud/teams/64236/ar/)","Content-Type":"text/plain; charset=UTF-8",Language:"ar","Plural-Forms":"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nabu.s3ud, 2024\nAli , 2025\n"},msgstr:["Last-Translator: Ali , 2025\nLanguage-Team: Arabic (https://app.transifex.com/nextcloud/teams/64236/ar/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ar\nPlural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" هو اسم ممنوع لملف أو مجلد.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" هو نوع ممنوع أن يكون لملف.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" هو غير مسموح به في اسم ملف أو مجلد.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} ملف متعارض","{count} ملف متعارض","{count} ملفان متعارضان","{count} ملف متعارض","{count} ملفات متعارضة","{count} ملفات متعارضة"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} ملف متعارض في {dirname}","{count} ملف متعارض في {dirname}","{count} ملفان متعارضان في {dirname}","{count} ملف متعارض في {dirname}","{count} ملفات متعارضة في {dirname}","{count} ملفات متعارضة في {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["مازال {seconds} ثوانٍ","مازال {seconds} ثوانٍ","مازال {seconds} ثوانٍ","مازال {seconds} ثوانٍ","مازال {seconds} ثوانٍ","مازال {seconds} ثوانٍ"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} متبقية"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["بضع ثوانٍ متبقية"]},assembling:{msgid:"assembling",msgstr:["تجميع"]},Cancel:{msgid:"Cancel",msgstr:["إلغاء"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["إلغِ العملية بالكامل"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["إلغاء عمليات رفع الملفات"]},Continue:{msgid:"Continue",msgstr:["إستمر"]},"Create new":{msgid:"Create new",msgstr:["إنشاء جديد"]},"estimating time left":{msgid:"estimating time left",msgstr:["تقدير الوقت المتبقي"]},"Existing version":{msgid:"Existing version",msgstr:["الإصدار الحالي"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["تعذّرت إعادة تجميع الكتل معاً "]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["تعذّر رفع الملف"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['غير مسموح ان ينتهي اسم الملف بـ "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["إذا اخترت الاحتفاظ بالنسختين فسيتم إلحاق رقم عداد آخر اسم الملف الوارد."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["اسم ملف غير صحيح"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["تاريخ آخر تعديل غير معروف"]},New:{msgid:"New",msgstr:["جديد"]},"New filename":{msgid:"New filename",msgstr:["اسم ملف جديد"]},"New version":{msgid:"New version",msgstr:["نسخة جديدة"]},paused:{msgid:"paused",msgstr:["مُجمَّد"]},"Preview image":{msgid:"Preview image",msgstr:["معاينة الصورة"]},Rename:{msgid:"Rename",msgstr:["تغيير التسمية"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["حدِّد كل صناديق الخيارات"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["حدِّد كل الملفات الموجودة"]},"Select all new files":{msgid:"Select all new files",msgstr:["حدِّد كل الملفات الجديدة"]},Skip:{msgid:"Skip",msgstr:["تخطِّي"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["تخطَّ {count} ملف","تخطَّ {count} ملف","تخطَّ {count} ملف","تخطَّ {count} ملف","تخطَّ {count} ملف","تخطَّ {count} ملف"]},"Unknown size":{msgid:"Unknown size",msgstr:["حجم غير معلوم"]},Upload:{msgid:"Upload",msgstr:["رفع الملفات"]},"Upload files":{msgid:"Upload files",msgstr:["رفع ملفات"]},"Upload folders":{msgid:"Upload folders",msgstr:["رفع مجلدات"]},"Upload from device":{msgid:"Upload from device",msgstr:["الرفع من جهاز "]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["تمّ إلغاء عملية رفع الملفات"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["تمّ تجاوز الرفع"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['رفع "{folder}" تمّ تجاوزه']},"Upload progress":{msgid:"Upload progress",msgstr:["تقدُّم الرفع "]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["عند تحديد مجلد وارد، أي ملفات متعارضة بداخله ستتم الكتابة فوقها."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["عند تحديد مجلد وارد، ستتم كتابة المحتوى في المجلد الموجود و سيتم تنفيذ حل التعارض بشكل تعاوُدي."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["أيُّ الملفات ترغب في الإبقاء عليها؟"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["يمكنك إمّا تغيير اسم الملف، أو تجاوزه، أو إلغاء العملية برُمَّتها."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["يجب أن تختار نسخة واحدة على الأقل من كل ملف للاستمرار."]}}}}},{locale:"ast",json:{charset:"utf-8",headers:{"Last-Translator":"enolp , 2023","Language-Team":"Asturian (https://app.transifex.com/nextcloud/teams/64236/ast/)","Content-Type":"text/plain; charset=UTF-8",Language:"ast","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nenolp , 2023\n"},msgstr:["Last-Translator: enolp , 2023\nLanguage-Team: Asturian (https://app.transifex.com/nextcloud/teams/64236/ast/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ast\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} ficheru en coflictu","{count} ficheros en coflictu"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} ficheru en coflictu en {dirname}","{count} ficheros en coflictu en {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["Queden {seconds} segundos"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["Tiempu que queda: {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["queden unos segundos"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Encaboxar les xubes"]},Continue:{msgid:"Continue",msgstr:["Siguir"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimando'l tiempu que falta"]},"Existing version":{msgid:"Existing version",msgstr:["Versi\xf3n esistente"]},"If you select both versions, the copied file will have a number added to its name.":{msgid:"If you select both versions, the copied file will have a number added to its name.",msgstr:["Si seleiciones dambes versiones, el ficheru copi\xe1u va tener un n\xfamberu amest\xe1u al so nome."]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["La data de la \xfaltima modificaci\xf3n ye desconocida"]},New:{msgid:"New",msgstr:["Nuevu"]},"New version":{msgid:"New version",msgstr:["Versi\xf3n nueva"]},paused:{msgid:"paused",msgstr:["en posa"]},"Preview image":{msgid:"Preview image",msgstr:["Previsualizar la imaxe"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Marcar toles caxelles"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Seleicionar tolos ficheros esistentes"]},"Select all new files":{msgid:"Select all new files",msgstr:["Seleicionar tolos ficheros nuevos"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Saltar esti ficheru","Saltar {count} ficheros"]},"Unknown size":{msgid:"Unknown size",msgstr:["Tama\xf1u desconoc\xedu"]},"Upload cancelled":{msgid:"Upload cancelled",msgstr:["Encabox\xf3se la xuba"]},"Upload files":{msgid:"Upload files",msgstr:["Xubir ficheros"]},"Upload progress":{msgid:"Upload progress",msgstr:["Xuba en cursu"]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["\xbfQu\xe9 ficheros quies caltener?"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Tienes de seleicionar polo menos una versi\xf3n de cada ficheru pa siguir."]}}}}},{locale:"az",json:{charset:"utf-8",headers:{"Last-Translator":"Rashad Aliyev , 2023","Language-Team":"Azerbaijani (https://app.transifex.com/nextcloud/teams/64236/az/)","Content-Type":"text/plain; charset=UTF-8",Language:"az","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nRashad Aliyev , 2023\n"},msgstr:["Last-Translator: Rashad Aliyev , 2023\nLanguage-Team: Azerbaijani (https://app.transifex.com/nextcloud/teams/64236/az/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: az\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} saniyə qalıb"]},"{time} left":{msgid:"{time} left",comments:{extracted:"time has the format 00:00:00"},msgstr:["{time} qalıb"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["bir ne\xe7ə saniyə qalıb"]},Add:{msgid:"Add",msgstr:["Əlavə et"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Y\xfckləməni imtina et"]},"estimating time left":{msgid:"estimating time left",msgstr:["Təxmini qalan vaxt"]},paused:{msgid:"paused",msgstr:["pauzadadır"]},"Upload files":{msgid:"Upload files",msgstr:["Faylları y\xfcklə"]}}}}},{locale:"be",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Belarusian (https://www.transifex.com/nextcloud/teams/64236/be/)","Content-Type":"text/plain; charset=UTF-8",Language:"be","Plural-Forms":"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Belarusian (https://www.transifex.com/nextcloud/teams/64236/be/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: be\nPlural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"bg",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Bulgarian (Bulgaria) (https://www.transifex.com/nextcloud/teams/64236/bg_BG/)","Content-Type":"text/plain; charset=UTF-8",Language:"bg_BG","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Bulgarian (Bulgaria) (https://www.transifex.com/nextcloud/teams/64236/bg_BG/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: bg_BG\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"bn_BD",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Bengali (Bangladesh) (https://www.transifex.com/nextcloud/teams/64236/bn_BD/)","Content-Type":"text/plain; charset=UTF-8",Language:"bn_BD","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Bengali (Bangladesh) (https://www.transifex.com/nextcloud/teams/64236/bn_BD/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: bn_BD\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"br",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Breton (https://www.transifex.com/nextcloud/teams/64236/br/)","Content-Type":"text/plain; charset=UTF-8",Language:"br","Plural-Forms":"nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Breton (https://www.transifex.com/nextcloud/teams/64236/br/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: br\nPlural-Forms: nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"bs",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Bosnian (https://www.transifex.com/nextcloud/teams/64236/bs/)","Content-Type":"text/plain; charset=UTF-8",Language:"bs","Plural-Forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Bosnian (https://www.transifex.com/nextcloud/teams/64236/bs/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: bs\nPlural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"ca",json:{charset:"utf-8",headers:{"Last-Translator":"Toni Hermoso Pulido , 2022","Language-Team":"Catalan (https://www.transifex.com/nextcloud/teams/64236/ca/)","Content-Type":"text/plain; charset=UTF-8",Language:"ca","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMarc Riera , 2022\nToni Hermoso Pulido , 2022\n"},msgstr:["Last-Translator: Toni Hermoso Pulido , 2022\nLanguage-Team: Catalan (https://www.transifex.com/nextcloud/teams/64236/ca/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ca\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["Queden {seconds} segons"]},"{time} left":{msgid:"{time} left",comments:{extracted:"time has the format 00:00:00"},msgstr:["Queden {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["Queden uns segons"]},Add:{msgid:"Add",msgstr:["Afegeix"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cancel\xb7la les pujades"]},"estimating time left":{msgid:"estimating time left",msgstr:["S'est\xe0 estimant el temps restant"]},paused:{msgid:"paused",msgstr:["En pausa"]},"Upload files":{msgid:"Upload files",msgstr:["Puja els fitxers"]}}}}},{locale:"cs",json:{charset:"utf-8",headers:{"Last-Translator":"Pavel Borecki , 2025","Language-Team":"Czech (Czech Republic) (https://app.transifex.com/nextcloud/teams/64236/cs_CZ/)","Content-Type":"text/plain; charset=UTF-8",Language:"cs_CZ","Plural-Forms":"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nMichal Šmahel , 2024\nMartin Hankovec, 2024\nAppukonrad , 2024\nPavel Borecki , 2025\n"},msgstr:["Last-Translator: Pavel Borecki , 2025\nLanguage-Team: Czech (Czech Republic) (https://app.transifex.com/nextcloud/teams/64236/cs_CZ/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: cs_CZ\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:["„{segment}“ nen\xed povoleno použ\xedt jako n\xe1zev souboru či složky."]},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:["„{segment}“ nen\xed povolen\xe9ho typu souboru."]},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:["„{segment}“ nen\xed povoleno použ\xedt v r\xe1mci n\xe1zvu souboru či složky."]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} kolize souborů","{count} kolize souborů","{count} koliz\xed souborů","{count} kolize souborů"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} kolize souboru v {dirname}","{count} kolize souboru v {dirname}","{count} koliz\xed souborů v {dirname}","{count} kolize souboru v {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["zb\xfdv\xe1 {seconds}","zb\xfdvaj\xed {seconds}","zb\xfdv\xe1 {seconds}","zb\xfdvaj\xed {seconds}"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["zb\xfdv\xe1 {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["zb\xfdv\xe1 několik sekund"]},assembling:{msgid:"assembling",msgstr:["sestavov\xe1n\xed"]},Cancel:{msgid:"Cancel",msgstr:["Zrušit"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Zrušit celou operaci"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Zrušit nahr\xe1v\xe1n\xed"]},Continue:{msgid:"Continue",msgstr:["Pokračovat"]},"Create new":{msgid:"Create new",msgstr:["Vytvořit nov\xfd"]},"estimating time left":{msgid:"estimating time left",msgstr:["odhaduje se zb\xfdvaj\xedc\xed čas"]},"Existing version":{msgid:"Existing version",msgstr:["Existuj\xedc\xed verze"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Shluky se nepodařilo d\xe1t dohromady"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Soubor se nepodařilo nahr\xe1t"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:["N\xe1zvy souborů nemohou končit na „{segment}“."]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Pokud vyberete obě verze, př\xedchoz\xed soubor bude m\xedt ke jm\xe9nu přid\xe1nu č\xedslici."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Neplatn\xfd n\xe1zev souboru"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Nezn\xe1m\xe9 datum posledn\xed \xfapravy"]},New:{msgid:"New",msgstr:["Nov\xe9"]},"New filename":{msgid:"New filename",msgstr:["Nov\xfd n\xe1zev souboru"]},"New version":{msgid:"New version",msgstr:["Nov\xe1 verze"]},paused:{msgid:"paused",msgstr:["pozastaveno"]},"Preview image":{msgid:"Preview image",msgstr:["N\xe1hled obr\xe1zku"]},Rename:{msgid:"Rename",msgstr:["Přejmenovat"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Označit všechny zaškrt\xe1vac\xed kolonky"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Vybrat vešker\xe9 st\xe1vaj\xedc\xed soubory"]},"Select all new files":{msgid:"Select all new files",msgstr:["Vybrat vešker\xe9 nov\xe9 soubory"]},Skip:{msgid:"Skip",msgstr:["Přeskočit"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Přeskočit {count} soubor","Přeskočit {count} soubory","Přeskočit {count} souborů","Přeskočit {count} soubory"]},"Skip this file":{msgid:"Skip this file",msgstr:["Přeskočit tento soubor"]},"Unknown size":{msgid:"Unknown size",msgstr:["Nezn\xe1m\xe1 velikost"]},Upload:{msgid:"Upload",msgstr:["Nahr\xe1t"]},"Upload files":{msgid:"Upload files",msgstr:["Nahr\xe1t soubory"]},"Upload folders":{msgid:"Upload folders",msgstr:["Nahr\xe1t složky"]},"Upload from device":{msgid:"Upload from device",msgstr:["Nahr\xe1t ze zař\xedzen\xed"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Nahr\xe1v\xe1n\xed bylo zrušeno"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Nahr\xe1n\xed bylo přeskočeno"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:["Nahr\xe1n\xed „{folder}“ bylo přeskočeno"]},"Upload progress":{msgid:"Upload progress",msgstr:["Postup v nahr\xe1v\xe1n\xed"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Po v\xfdběru př\xedchoz\xed složky budou rovněž přeps\xe1ny všechny v n\xed obsažen\xe9 konfliktn\xed soubory"]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Když je vybr\xe1na př\xedchoz\xed složka, obsah je zaps\xe1n do existuj\xedc\xed složky a je provedeno rekurzivn\xed řešen\xed koliz\xed."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Kter\xe9 soubory si přejete ponechat?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Soubor je možn\xe9 buď přejmenovat, přeskočit nebo celou operaci zrušit."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Aby bylo možn\xe9 pokračovat, je třeba vybrat alespoň jednu verzi od každ\xe9ho souboru."]}}}}},{locale:"cy_GB",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Welsh (United Kingdom) (https://www.transifex.com/nextcloud/teams/64236/cy_GB/)","Content-Type":"text/plain; charset=UTF-8",Language:"cy_GB","Plural-Forms":"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Welsh (United Kingdom) (https://www.transifex.com/nextcloud/teams/64236/cy_GB/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: cy_GB\nPlural-Forms: nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"da",json:{charset:"utf-8",headers:{"Last-Translator":"Martin Bonde , 2025","Language-Team":"Danish (https://app.transifex.com/nextcloud/teams/64236/da/)","Content-Type":"text/plain; charset=UTF-8",Language:"da","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nRasmus Rosendahl-Kaa, 2024\nMartin Bonde , 2025\n"},msgstr:["Last-Translator: Martin Bonde , 2025\nLanguage-Team: Danish (https://app.transifex.com/nextcloud/teams/64236/da/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: da\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" er et forbudt fil- eller mappenavn.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" er en forbudt filtype.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" er ikke tilladt i et fil- eller mappenavn.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} fil konflikt","{count} filer i konflikt"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} fil konflikt i {dirname}","{count} filer i konflikt i {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{sekunder} sekunder tilbage","{sekunder} sekunder tilbage"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} tilbage"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["et par sekunder tilbage"]},assembling:{msgid:"assembling",msgstr:["samling"]},Cancel:{msgid:"Cancel",msgstr:["Annuller"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Annuller hele handlingen"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Annuller uploads"]},Continue:{msgid:"Continue",msgstr:["Forts\xe6t"]},"Create new":{msgid:"Create new",msgstr:["Opret ny"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimering af resterende tid"]},"Existing version":{msgid:"Existing version",msgstr:["Eksisterende version"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Mislykkedes at samle stumperne sammen"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Kunne ikke uploade filen"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Filnavne m\xe5 ikke slutte med "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Hvis du v\xe6lger begge versioner, vil den indkommende fil have et nummer tilf\xf8jet til sit navn."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Ugyldigt filnavn"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Sidste modifikationsdato ukendt"]},New:{msgid:"New",msgstr:["Ny"]},"New filename":{msgid:"New filename",msgstr:["Nyt filnavn"]},"New version":{msgid:"New version",msgstr:["Ny version"]},paused:{msgid:"paused",msgstr:["pauset"]},"Preview image":{msgid:"Preview image",msgstr:["Forh\xe5ndsvisning af billede"]},Rename:{msgid:"Rename",msgstr:["Omd\xf8b"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["V\xe6lg alle felter"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["V\xe6lg alle eksisterende filer"]},"Select all new files":{msgid:"Select all new files",msgstr:["V\xe6lg alle nye filer"]},Skip:{msgid:"Skip",msgstr:["Spring over"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Spring denne fil over","Spring {count} filer over"]},"Unknown size":{msgid:"Unknown size",msgstr:["Ukendt st\xf8rrelse"]},Upload:{msgid:"Upload",msgstr:["Upload"]},"Upload files":{msgid:"Upload files",msgstr:["Upload filer"]},"Upload folders":{msgid:"Upload folders",msgstr:["Upload mapper"]},"Upload from device":{msgid:"Upload from device",msgstr:["Upload fra enhed"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Upload er blevet annulleret"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Upload er blevet sprunget over"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Upload af "{folder}" er blevet sprunget over']},"Upload progress":{msgid:"Upload progress",msgstr:["Upload fremskridt"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["N\xe5r en indg\xe5ende mappe er valgt, vil alle modstridende filer i den ogs\xe5 blive overskrevet."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["N\xe5r en indkommende mappe er valgt, vil dens indhold blive skrevet ind i den eksisterende mappe og en rekursiv konfliktl\xf8sning udf\xf8res."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Hvilke filer \xf8nsker du at beholde?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Du kan enten omd\xf8be filen, springe denne fil over eller annullere hele handlingen."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Du skal v\xe6lge mindst \xe9n version af hver fil for at forts\xe6tte."]}}}}},{locale:"de",json:{charset:"utf-8",headers:{"Last-Translator":"Martin Wilichowski, 2025","Language-Team":"German (https://app.transifex.com/nextcloud/teams/64236/de/)","Content-Type":"text/plain; charset=UTF-8",Language:"de","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nAndy Scherzinger , 2024\nMark Ziegler , 2025\nMario Siegmann , 2025\nMartin Wilichowski, 2025\n"},msgstr:["Last-Translator: Martin Wilichowski, 2025\nLanguage-Team: German (https://app.transifex.com/nextcloud/teams/64236/de/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: de\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" ist ein verbotener Datei- oder Ordnername.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" ist ein verbotener Dateityp.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" ist in einem Datei- oder Ordnernamen nicht zul\xe4ssig.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} Datei-Konflikt","{count} Datei-Konflikte"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} Datei-Konflikt in {dirname}","{count} Datei-Konflikte in {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} Sekunde verbleibt","{seconds} Sekunden verbleiben"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} verbleibend"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["ein paar Sekunden verbleiben"]},assembling:{msgid:"assembling",msgstr:["zusammenf\xfcgen"]},Cancel:{msgid:"Cancel",msgstr:["Abbrechen"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Den gesamten Vorgang abbrechen"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Hochladen abbrechen"]},Continue:{msgid:"Continue",msgstr:["Fortsetzen"]},"Create new":{msgid:"Create new",msgstr:["Neu erstellen"]},"estimating time left":{msgid:"estimating time left",msgstr:["Berechne verbleibende Zeit"]},"Existing version":{msgid:"Existing version",msgstr:["Vorhandene Version"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Die Teile konnten nicht zusammengef\xfcgt werden"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Die Datei konnte nicht hochgeladen werden"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Dateinamen d\xfcrfen nicht mit "{segment}" enden.']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Wenn du beide Versionen ausw\xe4hlst, wird der eingehenden Datei eine Nummer zum Namen hinzugef\xfcgt."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Ung\xfcltiger Dateiname"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Datum der letzten \xc4nderung unbekannt"]},New:{msgid:"New",msgstr:["Neu"]},"New filename":{msgid:"New filename",msgstr:["Neuer Dateiname"]},"New version":{msgid:"New version",msgstr:["Neue Version"]},paused:{msgid:"paused",msgstr:["Pausiert"]},"Preview image":{msgid:"Preview image",msgstr:["Vorschaubild"]},Rename:{msgid:"Rename",msgstr:["Umbenennen"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Alle Kontrollk\xe4stchen aktivieren"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Alle vorhandenen Dateien ausw\xe4hlen"]},"Select all new files":{msgid:"Select all new files",msgstr:["Alle neuen Dateien ausw\xe4hlen"]},Skip:{msgid:"Skip",msgstr:["\xdcberspringen"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["{count} Datei \xfcberspringen","{count} Dateien \xfcberspringen"]},"Skip this file":{msgid:"Skip this file",msgstr:["Diese Datei \xfcberspringen"]},"Unknown size":{msgid:"Unknown size",msgstr:["Unbekannte Gr\xf6\xdfe"]},Upload:{msgid:"Upload",msgstr:["Hochladen"]},"Upload files":{msgid:"Upload files",msgstr:["Dateien hochladen"]},"Upload folders":{msgid:"Upload folders",msgstr:["Ordner hochladen"]},"Upload from device":{msgid:"Upload from device",msgstr:["Vom Ger\xe4t hochladen"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Das Hochladen wurde abgebrochen"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Das Hochladen wurde \xfcbersprungen"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Das Hochladen von "{folder}" wurde \xfcbersprungen']},"Upload progress":{msgid:"Upload progress",msgstr:["Fortschritt beim Hochladen"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Wenn ein eingehender Ordner ausgew\xe4hlt wird, werden alle darin enthaltenen Konfliktdateien ebenfalls \xfcberschrieben."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Bei Auswahl eines eingehenden Ordners wird der Inhalt in den vorhandenen Ordner geschrieben und eine rekursive Konfliktl\xf6sung durchgef\xfchrt."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Welche Dateien m\xf6chtest du behalten?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Du kannst die Datei entweder umbenennen, diese Datei \xfcberspringen oder den gesamten Vorgang abbrechen."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Du musst mindestens eine Version jeder Datei ausw\xe4hlen, um fortzufahren."]}}}}},{locale:"de_DE",json:{charset:"utf-8",headers:{"Last-Translator":"Martin Wilichowski, 2025","Language-Team":"German (Germany) (https://app.transifex.com/nextcloud/teams/64236/de_DE/)","Content-Type":"text/plain; charset=UTF-8",Language:"de_DE","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nMark Ziegler , 2025\nMario Siegmann , 2025\nMartin Wilichowski, 2025\n"},msgstr:["Last-Translator: Martin Wilichowski, 2025\nLanguage-Team: German (Germany) (https://app.transifex.com/nextcloud/teams/64236/de_DE/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: de_DE\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" ist ein verbotener Datei- oder Ordnername.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" ist ein verbotener Dateityp.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" ist in einem Datei- oder Ordnernamen nicht zul\xe4ssig.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} Datei-Konflikt","{count} Datei-Konflikte"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} Datei-Konflikt in {dirname}","{count} Datei-Konflikte in {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} Sekunde verbleibt","{seconds} Sekunden verbleiben"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} verbleibend"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["ein paar Sekunden verbleiben"]},assembling:{msgid:"assembling",msgstr:["zusammenf\xfcgen"]},Cancel:{msgid:"Cancel",msgstr:["Abbrechen"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Den gesamten Vorgang abbrechen"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Hochladen abbrechen"]},Continue:{msgid:"Continue",msgstr:["Fortsetzen"]},"Create new":{msgid:"Create new",msgstr:["Neu erstellen"]},"estimating time left":{msgid:"estimating time left",msgstr:["Berechne verbleibende Zeit"]},"Existing version":{msgid:"Existing version",msgstr:["Vorhandene Version"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Die Teile konnten nicht zusammengef\xfcgt werden"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Die Datei konnte nicht hochgeladen werden"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Dateinamen d\xfcrfen nicht mit "{segment}" enden.']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Wenn Sie beide Versionen ausw\xe4hlen, wird der eingehenden Datei eine Nummer zum Namen hinzugef\xfcgt."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Ung\xfcltiger Dateiname"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Datum der letzten \xc4nderung unbekannt"]},New:{msgid:"New",msgstr:["Neu"]},"New filename":{msgid:"New filename",msgstr:["Neuer Dateiname"]},"New version":{msgid:"New version",msgstr:["Neue Version"]},paused:{msgid:"paused",msgstr:["Pausiert"]},"Preview image":{msgid:"Preview image",msgstr:["Vorschaubild"]},Rename:{msgid:"Rename",msgstr:["Umbenennen"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Alle Kontrollk\xe4stchen aktivieren"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Alle vorhandenen Dateien ausw\xe4hlen"]},"Select all new files":{msgid:"Select all new files",msgstr:["Alle neuen Dateien ausw\xe4hlen"]},Skip:{msgid:"Skip",msgstr:["\xdcberspringen"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["{count} Datei \xfcberspringen","{count} Dateien \xfcberspringen"]},"Skip this file":{msgid:"Skip this file",msgstr:["Diese Datei \xfcberspringen"]},"Unknown size":{msgid:"Unknown size",msgstr:["Unbekannte Gr\xf6\xdfe"]},Upload:{msgid:"Upload",msgstr:["Hochladen"]},"Upload files":{msgid:"Upload files",msgstr:["Dateien hochladen"]},"Upload folders":{msgid:"Upload folders",msgstr:["Ordner hochladen"]},"Upload from device":{msgid:"Upload from device",msgstr:["Vom Ger\xe4t hochladen"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Das Hochladen wurde abgebrochen"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Das Hochladen wurde \xfcbersprungen"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Das Hochladen von "{folder}" wurde \xfcbersprungen']},"Upload progress":{msgid:"Upload progress",msgstr:["Fortschritt beim Hochladen"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Wenn ein eingehender Ordner ausgew\xe4hlt wird, werden alle darin enthaltenen Konfliktdateien ebenfalls \xfcberschrieben."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Bei Auswahl eines eingehenden Ordners wird der Inhalt in den vorhandenen Ordner geschrieben und eine rekursive Konfliktl\xf6sung durchgef\xfchrt."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Welche Dateien m\xf6chten Sie behalten?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Sie k\xf6nnen die Datei entweder umbenennen, diese Datei \xfcberspringen oder den gesamten Vorgang abbrechen."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Sie m\xfcssen mindestens eine Version jeder Datei ausw\xe4hlen, um fortzufahren."]}}}}},{locale:"el",json:{charset:"utf-8",headers:{"Last-Translator":"Efstathios Iosifidis , 2025","Language-Team":"Greek (https://app.transifex.com/nextcloud/teams/64236/el/)","Content-Type":"text/plain; charset=UTF-8",Language:"el","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nEfstathios Iosifidis , 2025\n"},msgstr:["Last-Translator: Efstathios Iosifidis , 2025\nLanguage-Team: Greek (https://app.transifex.com/nextcloud/teams/64236/el/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: el\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['Το "{segment}" είναι απαγορευμένο όνομα αρχείου ή φακέλου.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['Το "{segment}" είναι απαγορευμένος τύπος αρχείου.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['Το "{segment}" δεν επιτρέπεται μέσα στο όνομα ενός αρχείου ή φακέλου.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} αρχείο σε διένεξη","{count} αρχεία σε διένεξη"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} αρχείο σε διένεξη στον φάκελο {dirname}","{count} αρχεία σε διένεξη στον φάκελο {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["Απομένει {seconds} δευτερόλεπτο","Απομένουν {seconds} δευτερόλεπτα"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["απομένουν {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["απομένουν λίγα δευτερόλεπτα"]},assembling:{msgid:"assembling",msgstr:["συναρμολόγηση"]},Cancel:{msgid:"Cancel",msgstr:["Ακύρωση"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Ακύρωση όλης της λειτουργίας"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Ακύρωση μεταφορτώσεων"]},Continue:{msgid:"Continue",msgstr:["Συνέχεια"]},"Create new":{msgid:"Create new",msgstr:["Δημιουργία νέου"]},"estimating time left":{msgid:"estimating time left",msgstr:["εκτίμηση του χρόνου που απομένει"]},"Existing version":{msgid:"Existing version",msgstr:["Υπάρχουσα έκδοση"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Αποτυχία συναρμολόγησης των κομματιών"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Αποτυχία μεταφόρτωσης του αρχείου"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Τα ονόματα αρχείων δεν πρέπει να τελειώνουν με "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Αν επιλέξετε και τις δύο εκδόσεις, το εισερχόμενο αρχείο θα έχει έναν αριθμό προσαρτημένο στο όνομά του."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Μη έγκυρο όνομα αρχείου"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Άγνωστη ημερομηνία τελευταίας τροποποίησης"]},New:{msgid:"New",msgstr:["Νέο"]},"New filename":{msgid:"New filename",msgstr:["Νέο όνομα αρχείου"]},"New version":{msgid:"New version",msgstr:["Νέα έκδοση"]},paused:{msgid:"paused",msgstr:["σε παύση"]},"Preview image":{msgid:"Preview image",msgstr:["Προεπισκόπηση εικόνας"]},Rename:{msgid:"Rename",msgstr:["Μετονομασία"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Επιλογή όλων των πλαισίων ελέγχου"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Επιλογή όλων των υπαρχόντων αρχείων"]},"Select all new files":{msgid:"Select all new files",msgstr:["Επιλογή όλων των νέων αρχείων"]},Skip:{msgid:"Skip",msgstr:["Παράλειψη"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Παράλειψη {count} αρχείου","Παράλειψη {count} αρχείων"]},"Skip this file":{msgid:"Skip this file",msgstr:["Παραλείψτε αυτό το αρχείο"]},"Unknown size":{msgid:"Unknown size",msgstr:["Άγνωστο μέγεθος"]},Upload:{msgid:"Upload",msgstr:["Μεταφόρτωση"]},"Upload files":{msgid:"Upload files",msgstr:["Μεταφόρτωση αρχείων"]},"Upload folders":{msgid:"Upload folders",msgstr:["Μεταφόρτωση φακέλων"]},"Upload from device":{msgid:"Upload from device",msgstr:["Μεταφόρτωση από συσκευή"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Η μεταφόρτωση ακυρώθηκε"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Η μεταφόρτωση παραλείφθηκε"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Η μεταφόρτωση του "{folder}" παραλείφθηκε']},"Upload progress":{msgid:"Upload progress",msgstr:["Πρόοδος μεταφόρτωσης"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Όταν επιλέγεται ένας εισερχόμενος φάκελος, όλα τα αρχεία σε διένεξη μέσα σε αυτόν θα αντικατασταθούν."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Όταν επιλέγεται ένας εισερχόμενος φάκελος, το περιεχόμενό του γράφεται στον υπάρχοντα φάκελο και εκτελείται αναδρομική επίλυση διενέξεων."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Ποια αρχεία θέλετε να διατηρήσετε;"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Μπορείτε είτε να μετονομάσετε το αρχείο, να παραλείψετε αυτό το αρχείο ή να ακυρώσετε όλη τη λειτουργία."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Πρέπει να επιλέξετε τουλάχιστον μία έκδοση κάθε αρχείου για να συνεχίσετε."]}}}}},{locale:"en_GB",json:{charset:"utf-8",headers:{"Last-Translator":"Andi Chandler , 2025","Language-Team":"English (United Kingdom) (https://app.transifex.com/nextcloud/teams/64236/en_GB/)","Content-Type":"text/plain; charset=UTF-8",Language:"en_GB","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nAndi Chandler , 2025\n"},msgstr:["Last-Translator: Andi Chandler , 2025\nLanguage-Team: English (United Kingdom) (https://app.transifex.com/nextcloud/teams/64236/en_GB/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: en_GB\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" is a forbidden file or folder name.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" is a forbidden file type.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" is not allowed inside a file or folder name.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} file conflict","{count} files conflict"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} file conflict in {dirname}","{count} file conflicts in {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} seconds left","{seconds} seconds left"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} left"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["a few seconds left"]},assembling:{msgid:"assembling",msgstr:["assembling"]},Cancel:{msgid:"Cancel",msgstr:["Cancel"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Cancel the entire operation"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cancel uploads"]},Continue:{msgid:"Continue",msgstr:["Continue"]},"Create new":{msgid:"Create new",msgstr:["Create new"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimating time left"]},"Existing version":{msgid:"Existing version",msgstr:["Existing version"]},"Failed assembling the chunks together":{msgid:"Failed assembling the chunks together",msgstr:["Failed assembling the chunks together"]},"Failed uploading the file":{msgid:"Failed uploading the file",msgstr:["Failed uploading the file"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Filenames must not end with "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["If you select both versions, the incoming file will have a number added to its name."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Invalid filename"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Last modified date unknown"]},New:{msgid:"New",msgstr:["New"]},"New filename":{msgid:"New filename",msgstr:["New filename"]},"New version":{msgid:"New version",msgstr:["New version"]},paused:{msgid:"paused",msgstr:["paused"]},"Preview image":{msgid:"Preview image",msgstr:["Preview image"]},Rename:{msgid:"Rename",msgstr:["Rename"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Select all checkboxes"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Select all existing files"]},"Select all new files":{msgid:"Select all new files",msgstr:["Select all new files"]},Skip:{msgid:"Skip",msgstr:["Skip"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Skip this file","Skip {count} files"]},"Unknown size":{msgid:"Unknown size",msgstr:["Unknown size"]},Upload:{msgid:"Upload",msgstr:["Upload"]},"Upload files":{msgid:"Upload files",msgstr:["Upload files"]},"Upload folders":{msgid:"Upload folders",msgstr:["Upload folders"]},"Upload from device":{msgid:"Upload from device",msgstr:["Upload from device"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Upload has been cancelled"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Upload has been skipped"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Upload of "{folder}" has been skipped']},"Upload progress":{msgid:"Upload progress",msgstr:["Upload progress"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["When an incoming folder is selected, any conflicting files within it will also be overwritten."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Which files do you want to keep?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["You can either rename the file, skip this file or cancel the whole operation."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["You need to select at least one version of each file to continue."]}}}}},{locale:"eo",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Esperanto (https://www.transifex.com/nextcloud/teams/64236/eo/)","Content-Type":"text/plain; charset=UTF-8",Language:"eo","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Esperanto (https://www.transifex.com/nextcloud/teams/64236/eo/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: eo\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es",json:{charset:"utf-8",headers:{"Last-Translator":"Julio C. Ortega, 2024","Language-Team":"Spanish (https://app.transifex.com/nextcloud/teams/64236/es/)","Content-Type":"text/plain; charset=UTF-8",Language:"es","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nFranciscoFJ , 2024\nJulio C. Ortega, 2024\n"},msgstr:["Last-Translator: Julio C. Ortega, 2024\nLanguage-Team: Spanish (https://app.transifex.com/nextcloud/teams/64236/es/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},'"{filename}" contains invalid characters, how do you want to continue?':{msgid:'"{filename}" contains invalid characters, how do you want to continue?',msgstr:['"{filename}" contiene caracteres inv\xe1lidos, \xbfc\xf3mo desea continuar?']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} conflicto de archivo","{count} conflictos de archivo","{count} conflictos de archivo"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} conflicto de archivo en {dirname}","{count} conflictos de archivo en {dirname}","{count} conflictos de archivo en {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} segundos restantes"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} restante"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["quedan unos segundos"]},Cancel:{msgid:"Cancel",msgstr:["Cancelar"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Cancelar toda la operaci\xf3n"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cancelar subidas"]},Continue:{msgid:"Continue",msgstr:["Continuar"]},"Create new":{msgid:"Create new",msgstr:["Crear nuevo"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimando tiempo restante"]},"Existing version":{msgid:"Existing version",msgstr:["Versi\xf3n existente"]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Si selecciona ambas versionas, el archivo entrante le ser\xe1 agregado un n\xfamero a su nombre."]},"Invalid file name":{msgid:"Invalid file name",msgstr:["Nombre de archivo inv\xe1lido"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["\xdaltima fecha de modificaci\xf3n desconocida"]},New:{msgid:"New",msgstr:["Nuevo"]},"New version":{msgid:"New version",msgstr:["Nueva versi\xf3n"]},paused:{msgid:"paused",msgstr:["pausado"]},"Preview image":{msgid:"Preview image",msgstr:["Previsualizar imagen"]},Rename:{msgid:"Rename",msgstr:["Renombrar"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Seleccionar todas las casillas de verificaci\xf3n"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Seleccionar todos los archivos existentes"]},"Select all new files":{msgid:"Select all new files",msgstr:["Seleccionar todos los archivos nuevos"]},Skip:{msgid:"Skip",msgstr:["Saltar"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Saltar este archivo","Saltar {count} archivos","Saltar {count} archivos"]},"Unknown size":{msgid:"Unknown size",msgstr:["Tama\xf1o desconocido"]},"Upload files":{msgid:"Upload files",msgstr:["Subir archivos"]},"Upload folders":{msgid:"Upload folders",msgstr:["Subir carpetas"]},"Upload from device":{msgid:"Upload from device",msgstr:["Subir desde dispositivo"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["La subida ha sido cancelada"]},"Upload progress":{msgid:"Upload progress",msgstr:["Progreso de la subida"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Cuando una carpeta entrante es seleccionada, cualquier de los archivos en conflictos tambi\xe9n ser\xe1n sobre-escritos."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Cuando una carpeta entrante es seleccionada, el contenido es escrito en la carpeta existente y se realizar\xe1 una resoluci\xf3n de conflictos recursiva."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["\xbfQu\xe9 archivos desea conservar?"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Debe seleccionar al menos una versi\xf3n de cada archivo para continuar."]}}}}},{locale:"es_419",json:{charset:"utf-8",headers:{"Last-Translator":"ALEJANDRO CASTRO, 2022","Language-Team":"Spanish (Latin America) (https://www.transifex.com/nextcloud/teams/64236/es_419/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_419","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nALEJANDRO CASTRO, 2022\n"},msgstr:["Last-Translator: ALEJANDRO CASTRO, 2022\nLanguage-Team: Spanish (Latin America) (https://www.transifex.com/nextcloud/teams/64236/es_419/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_419\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} segundos restantes"]},"{time} left":{msgid:"{time} left",comments:{extracted:"time has the format 00:00:00"},msgstr:["{tiempo} restante"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["quedan pocos segundos"]},Add:{msgid:"Add",msgstr:["agregar"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cancelar subidas"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimando tiempo restante"]},paused:{msgid:"paused",msgstr:["pausado"]},"Upload files":{msgid:"Upload files",msgstr:["Subir archivos"]}}}}},{locale:"es_AR",json:{charset:"utf-8",headers:{"Last-Translator":"Mat\xedas Campo Hoet , 2024","Language-Team":"Spanish (Argentina) (https://app.transifex.com/nextcloud/teams/64236/es_AR/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_AR","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nMat\xedas Campo Hoet , 2024\n"},msgstr:["Last-Translator: Mat\xedas Campo Hoet , 2024\nLanguage-Team: Spanish (Argentina) (https://app.transifex.com/nextcloud/teams/64236/es_AR/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_AR\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},'"{filename}" contains invalid characters, how do you want to continue?':{msgid:'"{filename}" contains invalid characters, how do you want to continue?',msgstr:['"{filename}" contiene caracteres inv\xe1lidos, \xbfc\xf3mo desea continuar?']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} conflicto de archivo","{count} conflictos de archivo","{count} conflictos de archivo"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} conflicto de archivo en {dirname}","{count} conflictos de archivo en {dirname}","{count} conflictos de archivo en {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} segundos restantes"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} restante"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["quedan unos segundos"]},Cancel:{msgid:"Cancel",msgstr:["Cancelar"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Cancelar toda la operaci\xf3n"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cancelar subidas"]},Continue:{msgid:"Continue",msgstr:["Continuar"]},"Create new":{msgid:"Create new",msgstr:["Crear nuevo"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimando tiempo restante"]},"Existing version":{msgid:"Existing version",msgstr:["Versi\xf3n existente"]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Si selecciona ambas versionas, se agregar\xe1 un n\xfamero al nombre del archivo entrante."]},"Invalid file name":{msgid:"Invalid file name",msgstr:["Nombre de archivo inv\xe1lido"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Fecha de \xfaltima modificaci\xf3n desconocida"]},New:{msgid:"New",msgstr:["Nuevo"]},"New version":{msgid:"New version",msgstr:["Nueva versi\xf3n"]},paused:{msgid:"paused",msgstr:["pausado"]},"Preview image":{msgid:"Preview image",msgstr:["Vista previa de imagen"]},Rename:{msgid:"Rename",msgstr:["Renombrar"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Seleccionar todas las casillas de verificaci\xf3n"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Seleccionar todos los archivos existentes"]},"Select all new files":{msgid:"Select all new files",msgstr:["Seleccionar todos los archivos nuevos"]},Skip:{msgid:"Skip",msgstr:["Omitir"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Omitir este archivo","Omitir {count} archivos","Omitir {count} archivos"]},"Unknown size":{msgid:"Unknown size",msgstr:["Tama\xf1o desconocido"]},"Upload files":{msgid:"Upload files",msgstr:["Cargar archivos"]},"Upload folders":{msgid:"Upload folders",msgstr:["Cargar carpetas"]},"Upload from device":{msgid:"Upload from device",msgstr:["Cargar desde dispositivo"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Carga cancelada"]},"Upload progress":{msgid:"Upload progress",msgstr:["Progreso de la carga"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Cuando una carpeta entrante es seleccionada, cualquier archivo en conflicto dentro de la misma tambi\xe9n ser\xe1n sobreescritos."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Cuando una carpeta entrante es seleccionada, el contenido se escribe en la carpeta existente y se realiza una resoluci\xf3n de conflictos recursiva."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["\xbfQu\xe9 archivos desea conservar?"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Debe seleccionar al menos una versi\xf3n de cada archivo para continuar."]}}}}},{locale:"es_CL",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Chile) (https://www.transifex.com/nextcloud/teams/64236/es_CL/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_CL","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Chile) (https://www.transifex.com/nextcloud/teams/64236/es_CL/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_CL\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_CO",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Colombia) (https://www.transifex.com/nextcloud/teams/64236/es_CO/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_CO","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Colombia) (https://www.transifex.com/nextcloud/teams/64236/es_CO/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_CO\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_CR",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Costa Rica) (https://www.transifex.com/nextcloud/teams/64236/es_CR/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_CR","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Costa Rica) (https://www.transifex.com/nextcloud/teams/64236/es_CR/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_CR\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_DO",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Dominican Republic) (https://www.transifex.com/nextcloud/teams/64236/es_DO/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_DO","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Dominican Republic) (https://www.transifex.com/nextcloud/teams/64236/es_DO/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_DO\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_EC",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Ecuador) (https://www.transifex.com/nextcloud/teams/64236/es_EC/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_EC","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Ecuador) (https://www.transifex.com/nextcloud/teams/64236/es_EC/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_EC\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_GT",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Guatemala) (https://www.transifex.com/nextcloud/teams/64236/es_GT/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_GT","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Guatemala) (https://www.transifex.com/nextcloud/teams/64236/es_GT/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_GT\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_HN",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Honduras) (https://www.transifex.com/nextcloud/teams/64236/es_HN/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_HN","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Honduras) (https://www.transifex.com/nextcloud/teams/64236/es_HN/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_HN\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_MX",json:{charset:"utf-8",headers:{"Last-Translator":"Jehu Marcos Herrera Puentes, 2024","Language-Team":"Spanish (Mexico) (https://app.transifex.com/nextcloud/teams/64236/es_MX/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_MX","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nJehu Marcos Herrera Puentes, 2024\n"},msgstr:["Last-Translator: Jehu Marcos Herrera Puentes, 2024\nLanguage-Team: Spanish (Mexico) (https://app.transifex.com/nextcloud/teams/64236/es_MX/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_MX\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},'"{filename}" contains invalid characters, how do you want to continue?':{msgid:'"{filename}" contains invalid characters, how do you want to continue?',msgstr:['"{filename}" contiene caracteres inv\xe1lidos, \xbfC\xf3mo desea continuar?']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} conflicto de archivo","{count} conflictos de archivo","{count} archivos en conflicto"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} archivo en conflicto en {dirname}","{count} archivos en conflicto en {dirname}","{count} archivo en conflicto en {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} segundos restantes"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{tiempo} restante"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["quedan pocos segundos"]},Cancel:{msgid:"Cancel",msgstr:["Cancelar"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Cancelar toda la operaci\xf3n"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cancelar subidas"]},Continue:{msgid:"Continue",msgstr:["Continuar"]},"Create new":{msgid:"Create new",msgstr:["Crear nuevo"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimando tiempo restante"]},"Existing version":{msgid:"Existing version",msgstr:["Versi\xf3n existente"]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Si selecciona ambas versionas, se agregar\xe1 un n\xfamero al nombre del archivo entrante."]},"Invalid file name":{msgid:"Invalid file name",msgstr:["Nombre de archivo inv\xe1lido"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Fecha de \xfaltima modificaci\xf3n desconocida"]},New:{msgid:"New",msgstr:["Nuevo"]},"New version":{msgid:"New version",msgstr:["Nueva versi\xf3n"]},paused:{msgid:"paused",msgstr:["en pausa"]},"Preview image":{msgid:"Preview image",msgstr:["Previsualizar imagen"]},Rename:{msgid:"Rename",msgstr:["Renombrar"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Seleccionar todas las casillas de verificaci\xf3n"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Seleccionar todos los archivos existentes"]},"Select all new files":{msgid:"Select all new files",msgstr:["Seleccionar todos los archivos nuevos"]},Skip:{msgid:"Skip",msgstr:["Omitir"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Omitir este archivo","Omitir {count} archivos","Omitir {count} archivos"]},"Unknown size":{msgid:"Unknown size",msgstr:["Tama\xf1o desconocido"]},"Upload files":{msgid:"Upload files",msgstr:["Subir archivos"]},"Upload folders":{msgid:"Upload folders",msgstr:["Subir carpetas"]},"Upload from device":{msgid:"Upload from device",msgstr:["Subir desde dispositivo"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["La subida ha sido cancelada"]},"Upload progress":{msgid:"Upload progress",msgstr:["Progreso de la subida"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Cuando una carpeta entrante es seleccionada, cualquier archivo en conflicto dentro de la misma tambi\xe9n ser\xe1 sobrescrito."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Cuando una carpeta entrante es seleccionada, el contenido se escribe en la carpeta existente y se realiza una resoluci\xf3n de conflictos recursiva."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["\xbfCu\xe1les archivos desea conservar?"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Debe seleccionar al menos una versi\xf3n de cada archivo para continuar."]}}}}},{locale:"es_NI",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Nicaragua) (https://www.transifex.com/nextcloud/teams/64236/es_NI/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_NI","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Nicaragua) (https://www.transifex.com/nextcloud/teams/64236/es_NI/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_NI\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_PA",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Panama) (https://www.transifex.com/nextcloud/teams/64236/es_PA/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_PA","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Panama) (https://www.transifex.com/nextcloud/teams/64236/es_PA/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_PA\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_PE",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Peru) (https://www.transifex.com/nextcloud/teams/64236/es_PE/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_PE","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Peru) (https://www.transifex.com/nextcloud/teams/64236/es_PE/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_PE\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_PR",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Puerto Rico) (https://www.transifex.com/nextcloud/teams/64236/es_PR/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_PR","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Puerto Rico) (https://www.transifex.com/nextcloud/teams/64236/es_PR/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_PR\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_PY",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Paraguay) (https://www.transifex.com/nextcloud/teams/64236/es_PY/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_PY","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Paraguay) (https://www.transifex.com/nextcloud/teams/64236/es_PY/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_PY\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_SV",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (El Salvador) (https://www.transifex.com/nextcloud/teams/64236/es_SV/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_SV","Plural-Forms":"nplurals=2; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (El Salvador) (https://www.transifex.com/nextcloud/teams/64236/es_SV/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_SV\nPlural-Forms: nplurals=2; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"es_UY",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Spanish (Uruguay) (https://www.transifex.com/nextcloud/teams/64236/es_UY/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_UY","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Spanish (Uruguay) (https://www.transifex.com/nextcloud/teams/64236/es_UY/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_UY\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"et_EE",json:{charset:"utf-8",headers:{"Last-Translator":"Priit J\xf5er\xfc\xfct , 2025","Language-Team":"Estonian (Estonia) (https://app.transifex.com/nextcloud/teams/64236/et_EE/)","Content-Type":"text/plain; charset=UTF-8",Language:"et_EE","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nPriit J\xf5er\xfc\xfct , 2025\n"},msgstr:["Last-Translator: Priit J\xf5er\xfc\xfct , 2025\nLanguage-Team: Estonian (Estonia) (https://app.transifex.com/nextcloud/teams/64236/et_EE/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: et_EE\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:["„{segment}“ on keelatud faili- v\xf5i kausta nimi."]},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:["„{segment}“ on keelatud failit\xfc\xfcp."]},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:["„{segment}“ pole faili- v\xf5i kausta nimes lubatud."]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} fail on vastuolus","{count} faili on vastuolus"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} fail on vastuolus „{dirname}“ kaustas","{count} faili on vastuolus „{dirname}“ kaustas"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["j\xe4\xe4nud {seconds} sekund","j\xe4\xe4nud {seconds} sekundit"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["aega j\xe4\xe4nud {time} "]},"a few seconds left":{msgid:"a few seconds left",msgstr:["j\xe4\xe4nud m\xf5ni sekund"]},assembling:{msgid:"assembling",msgstr:["koostamisel"]},Cancel:{msgid:"Cancel",msgstr:["Katkesta"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Katkesta kogu tegevus"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Katkesta \xfcleslaadimine"]},Continue:{msgid:"Continue",msgstr:["J\xe4tka"]},"Create new":{msgid:"Create new",msgstr:["Loo uus"]},"estimating time left":{msgid:"estimating time left",msgstr:["hinnanguline j\xe4relej\xe4\xe4nud aeg"]},"Existing version":{msgid:"Existing version",msgstr:["Olemasolev versioon"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["T\xfckkide koostamine \xfcheks tervikuks ei \xf5nnestunud"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Faili \xfcleslaadimine ei \xf5nnestunud"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:["Failinime l\xf5pus ei tohi olla „{segment}“."]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Kui sa valid m\xf5lemad versioonid, lisatakse kopeeritud faili nimele number."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Vigane failinimi"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Viimase muutmise kuup\xe4ev pole teada"]},New:{msgid:"New",msgstr:["Uus"]},"New filename":{msgid:"New filename",msgstr:["Uus failinimi"]},"New version":{msgid:"New version",msgstr:["Uus versioon"]},paused:{msgid:"paused",msgstr:["pausil"]},"Preview image":{msgid:"Preview image",msgstr:["Vaata pildi eelvaadet"]},Rename:{msgid:"Rename",msgstr:["Muuda nime"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Vali k\xf5ik m\xe4rkeruudud"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Vali k\xf5ik olemasolevad failid"]},"Select all new files":{msgid:"Select all new files",msgstr:["Vali k\xf5ik uued failid"]},Skip:{msgid:"Skip",msgstr:["J\xe4ta vahele"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["J\xe4ta vahele {count} fail","J\xe4ta vahele {count} faili"]},"Skip this file":{msgid:"Skip this file",msgstr:["J\xe4ta vahele see fail"]},"Unknown size":{msgid:"Unknown size",msgstr:["Tundmatu suurus"]},Upload:{msgid:"Upload",msgstr:["Laadi \xfcles"]},"Upload files":{msgid:"Upload files",msgstr:["Laadi failid \xfcles"]},"Upload folders":{msgid:"Upload folders",msgstr:["Laadi kaustad \xfcles"]},"Upload from device":{msgid:"Upload from device",msgstr:["Laadi \xfcles seadmest"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["\xdcleslaadimine on katkestatud"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["\xdcleslaadimine on vahele j\xe4etud"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:["„{folder}“ kausta \xfcleslaadimine on vahele j\xe4etud"]},"Upload progress":{msgid:"Upload progress",msgstr:["\xdcleslaadimise edenemine"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Kui saabuvate failide kaust on valitud, siis seal asuvad vastuoluliste nimedega failid kirjutatakse samuti \xfcle."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Kui saabuvate failide kaust on valitud, siis sisu kirjutatakse olemasolevasse kausta ja k\xe4ivitatakse rekursiivne vastuolude haldus."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Milliseid faile soovid s\xe4ilitada?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Sa v\xf5id kas faili nime muuta, ta vahele j\xe4tta v\xf5i kogu tegevuse katkestada."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["J\xe4tkamiseks pead valima v\xe4hemalt \xfche versiooni igast failist."]}}}}},{locale:"eu",json:{charset:"utf-8",headers:{"Last-Translator":"Unai Tolosa Pontesta , 2022","Language-Team":"Basque (https://www.transifex.com/nextcloud/teams/64236/eu/)","Content-Type":"text/plain; charset=UTF-8",Language:"eu","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nUnai Tolosa Pontesta , 2022\n"},msgstr:["Last-Translator: Unai Tolosa Pontesta , 2022\nLanguage-Team: Basque (https://www.transifex.com/nextcloud/teams/64236/eu/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: eu\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} segundo geratzen dira"]},"{time} left":{msgid:"{time} left",comments:{extracted:"time has the format 00:00:00"},msgstr:["{time} geratzen da"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["segundo batzuk geratzen dira"]},Add:{msgid:"Add",msgstr:["Gehitu"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Ezeztatu igoerak"]},"estimating time left":{msgid:"estimating time left",msgstr:["kalkulatutako geratzen den denbora"]},paused:{msgid:"paused",msgstr:["geldituta"]},"Upload files":{msgid:"Upload files",msgstr:["Igo fitxategiak"]}}}}},{locale:"fa",json:{charset:"utf-8",headers:{"Last-Translator":"Alireza Rashidi, 2025","Language-Team":"Persian (https://app.transifex.com/nextcloud/teams/64236/fa/)","Content-Type":"text/plain; charset=UTF-8",Language:"fa","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nreza reza , 2024\nAlireza Rashidi, 2025\n"},msgstr:["Last-Translator: Alireza Rashidi, 2025\nLanguage-Team: Persian (https://app.transifex.com/nextcloud/teams/64236/fa/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: fa\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:["{segment} یک نام فایل یا پوشه ممنوعه است."]},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:["{segment} یک نوع فایل ممنوعه است."]},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:["{segment} داخل نام فایل یا پوشه مجاز نیست."]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} تداخل فایل","{count} تداخل فایل‌ها"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} پرونده با {dirname} ناسازگاری داشت","{count} پرونده با {dirname} ناسازگاری داشت"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} ثانیه مانده","{seconds} ثانیه مانده"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} باقی مانده"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["چند ثانیه مانده"]},assembling:{msgid:"assembling",msgstr:["سرهم کردن"]},Cancel:{msgid:"Cancel",msgstr:["رد کردن"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["رد کردن کل عملیات"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["رد کردن بارگذاری"]},Continue:{msgid:"Continue",msgstr:["ادامه"]},"Create new":{msgid:"Create new",msgstr:["ساخت جدید"]},"estimating time left":{msgid:"estimating time left",msgstr:["تخمین زمان باقی مانده"]},"Existing version":{msgid:"Existing version",msgstr:["نگارش موجود"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["نتوانست تکه‌های را به سرهم کند"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["نتوانست پرونده را بارگذاری کند"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:["نام پرونده نباید با {segment} پایان یابد."]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["اگر هر دو نسخه را انتخاب کنید، یک عدد به نام پرونده ورودی اضافه خواهد شد."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["نام پرونده نامعتبر"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["آخرین تاریخ تغییر نامشخص"]},New:{msgid:"New",msgstr:["جدید"]},"New filename":{msgid:"New filename",msgstr:["نام فایل جدید"]},"New version":{msgid:"New version",msgstr:["نسخه جدید"]},paused:{msgid:"paused",msgstr:["مکث کردن"]},"Preview image":{msgid:"Preview image",msgstr:["پیش نمایش تصویر"]},Rename:{msgid:"Rename",msgstr:["تغییر نام"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["انتخاب همه چک‌باکس‌ها"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["انتخاب همه فایل‌های موجود"]},"Select all new files":{msgid:"Select all new files",msgstr:["انتخاب همه فایل‌های جدید"]},Skip:{msgid:"Skip",msgstr:["رد شدن"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["رد شدن از ","رد شدن از {count} فایل"]},"Unknown size":{msgid:"Unknown size",msgstr:["اندازه نامشخص"]},Upload:{msgid:"Upload",msgstr:["بارگذاری"]},"Upload files":{msgid:"Upload files",msgstr:["بارگذاری پرونده‌ها"]},"Upload folders":{msgid:"Upload folders",msgstr:["بارگذاری پوشه‌ها"]},"Upload from device":{msgid:"Upload from device",msgstr:["بارگذاری از دستگاه"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["بارگذاری رد شده است"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["بارگذاری نادیده گرفته شده است"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:["بارگذاری {folder} نادیده گرفته شده است"]},"Upload progress":{msgid:"Upload progress",msgstr:["روند بارگذاری"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["هنگامی که یک پوشه ورودی انتخاب می‌شود، هر فایل متناقضی در آن نیز بازنویسی می‌شود."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["هنگامی که یک پوشه دریافتی انتخاب می شود ، محتوا در پوشه موجود نوشته می شود و حل ناسازگاری بازگشتی انجام می شود."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["کدام پرونده‌ها را می‌خواهید نگه دارید؟"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["می‌توانید نام پرونده را تغییر دهید، از این پرونده رد شوید یا کل عملیات را رد کنید."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["برای ادامه باید دست‌کم یک نگارش از هر پرونده را انتخاب کنید."]}}}}},{locale:"fi",json:{charset:"utf-8",headers:{"Last-Translator":"Jiri Gr\xf6nroos , 2025","Language-Team":"Finnish (Finland) (https://app.transifex.com/nextcloud/teams/64236/fi_FI/)","Content-Type":"text/plain; charset=UTF-8",Language:"fi_FI","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nthingumy, 2024\nteemue, 2024\nJiri Gr\xf6nroos , 2025\n"},msgstr:["Last-Translator: Jiri Gr\xf6nroos , 2025\nLanguage-Team: Finnish (Finland) (https://app.transifex.com/nextcloud/teams/64236/fi_FI/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: fi_FI\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" on kielletty tiedoston tai hakemiston nimi.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" on kielletty tiedostotyyppi.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" ei ole sallittu tiedoston tai hakemiston nimess\xe4.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} tiedoston ristiriita","{count} tiedoston ristiriita"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} tiedoston ristiriita kansiossa {dirname}","{count} tiedoston ristiriita kansiossa {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} sekunti j\xe4ljell\xe4","{seconds} sekuntia j\xe4ljell\xe4"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} j\xe4ljell\xe4"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["muutama sekunti j\xe4ljell\xe4"]},assembling:{msgid:"assembling",msgstr:["kootaan"]},Cancel:{msgid:"Cancel",msgstr:["Peruuta"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Peruuta koko toimenpide"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Peruuta l\xe4hetykset"]},Continue:{msgid:"Continue",msgstr:["Jatka"]},"Create new":{msgid:"Create new",msgstr:["Luo uusi"]},"estimating time left":{msgid:"estimating time left",msgstr:["arvioidaan j\xe4ljell\xe4 olevaa aikaa"]},"Existing version":{msgid:"Existing version",msgstr:["Olemassa oleva versio"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Palojen kokoaminen yhteen ep\xe4onnistui"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Tiedoston l\xe4hetys ep\xe4onnistui"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Tiedoston nimi ei saa p\xe4\xe4tty\xe4 "{segment}"']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Jos valitset molemmat versiot, saapuvan tiedoston nimeen lis\xe4t\xe4\xe4n numero."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Kielletty/v\xe4\xe4r\xe4 tiedoston nimi"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Viimeisin muokkausp\xe4iv\xe4 on tuntematon"]},New:{msgid:"New",msgstr:["Uusi"]},"New filename":{msgid:"New filename",msgstr:["Uusi tiedostonimi"]},"New version":{msgid:"New version",msgstr:["Uusi versio"]},paused:{msgid:"paused",msgstr:["keskeytetty"]},"Preview image":{msgid:"Preview image",msgstr:["Esikatsele kuva"]},Rename:{msgid:"Rename",msgstr:["Nime\xe4 uudelleen"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Valitse kaikki valintaruudut"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Valitse kaikki olemassa olevat tiedostot"]},"Select all new files":{msgid:"Select all new files",msgstr:["Valitse kaikki uudet tiedostot"]},Skip:{msgid:"Skip",msgstr:["Ohita"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Ohita t\xe4m\xe4 tiedosto","Ohita {count} tiedostoa"]},"Unknown size":{msgid:"Unknown size",msgstr:["Tuntematon koko"]},Upload:{msgid:"Upload",msgstr:["L\xe4het\xe4"]},"Upload files":{msgid:"Upload files",msgstr:["L\xe4het\xe4 tiedostoja"]},"Upload folders":{msgid:"Upload folders",msgstr:["L\xe4het\xe4 kansioita"]},"Upload from device":{msgid:"Upload from device",msgstr:["L\xe4het\xe4 laitteelta"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["L\xe4hetys on peruttu"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["L\xe4hetys on ohitettu"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Hakemiston "{folder}" l\xe4hetys on ohitettu']},"Upload progress":{msgid:"Upload progress",msgstr:["L\xe4hetyksen edistyminen"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Valittuasi saapuvien kansion, kaikki ristiriitaiset tiedostot kansiossa ylikirjoitetaan."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Valittuasi saapuvien kansion, sis\xe4lt\xf6 kirjoitetaan olemassaolevaan kansioon ja suoritetaan rekursiivinen ristiriitojen poisto."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Mitk\xe4 tiedostot haluat s\xe4ilytt\xe4\xe4?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Voit joko nimet\xe4 tiedoston uudelleen, ohittaa t\xe4m\xe4n tiedoston tai peruuttaa koko toiminnon."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Sinun t\xe4ytyy valita v\xe4hint\xe4\xe4n yksi versio jokaisesta tiedostosta jatkaaksesi."]}}}}},{locale:"fo",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Faroese (https://www.transifex.com/nextcloud/teams/64236/fo/)","Content-Type":"text/plain; charset=UTF-8",Language:"fo","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Faroese (https://www.transifex.com/nextcloud/teams/64236/fo/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: fo\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"fr",json:{charset:"utf-8",headers:{"Last-Translator":"Ldm Public , 2025","Language-Team":"French (https://app.transifex.com/nextcloud/teams/64236/fr/)","Content-Type":"text/plain; charset=UTF-8",Language:"fr","Plural-Forms":"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nBenoit Pruneau, 2024\nJEEEEEEEEEEEEEEEEEEEEEED, 2024\nJ\xe9r\xf4me HERBINET, 2024\nacazenave, 2024\nLisa Cintosh, 2025\nLdm Public , 2025\n"},msgstr:["Last-Translator: Ldm Public , 2025\nLanguage-Team: French (https://app.transifex.com/nextcloud/teams/64236/fr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: fr\nPlural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" est un nom de fichier ou de dossier interdit.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" est un type de fichier interdit.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:["\"{segment}\" n'est pas autoris\xe9 dans le nom d'un fichier ou d'un dossier."]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} fichier en conflit","{count} fichiers en conflit","{count} fichiers en conflit"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} fichier en conflit dans {dirname}","{count} fichiers en conflit dans {dirname}","{count} fichiers en conflit dans {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} seconde restante","{seconds} secondes restantes","{seconds} secondes restantes"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} restant"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["quelques secondes restantes"]},assembling:{msgid:"assembling",msgstr:["assemblage"]},Cancel:{msgid:"Cancel",msgstr:["Annuler"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Annuler l'op\xe9ration enti\xe8re"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Annuler les t\xe9l\xe9versements"]},Continue:{msgid:"Continue",msgstr:["Continuer"]},"Create new":{msgid:"Create new",msgstr:["Cr\xe9er un nouveau"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimation du temps restant"]},"Existing version":{msgid:"Existing version",msgstr:["Version existante"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["\xc9chec de l'assemblage des morceaux"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["\xc9chec du t\xe9l\xe9versement du fichier"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Le nom des fichiers ne doit pas finir par "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Si vous s\xe9lectionnez les deux versions, le nouveau fichier aura un nombre ajout\xe9 \xe0 son nom."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Nom de fichier invalide"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Date de la derni\xe8re modification est inconnue"]},New:{msgid:"New",msgstr:["Nouveau"]},"New filename":{msgid:"New filename",msgstr:["Nouveau nom de fichier"]},"New version":{msgid:"New version",msgstr:["Nouvelle version"]},paused:{msgid:"paused",msgstr:["en pause"]},"Preview image":{msgid:"Preview image",msgstr:["Aper\xe7u de l'image"]},Rename:{msgid:"Rename",msgstr:["Renommer"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["S\xe9lectionner toutes les cases \xe0 cocher"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["S\xe9lectionner tous les fichiers existants"]},"Select all new files":{msgid:"Select all new files",msgstr:["S\xe9lectionner tous les nouveaux fichiers"]},Skip:{msgid:"Skip",msgstr:["Ignorer"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["{count} fichier ignor\xe9","{count} fichiers ignor\xe9s","{count}fichiers ignor\xe9s"]},"Skip this file":{msgid:"Skip this file",msgstr:["Ignorer ce fichier"]},"Unknown size":{msgid:"Unknown size",msgstr:["Taille inconnue"]},Upload:{msgid:"Upload",msgstr:["T\xe9l\xe9verser"]},"Upload files":{msgid:"Upload files",msgstr:["T\xe9l\xe9verser des fichiers"]},"Upload folders":{msgid:"Upload folders",msgstr:["T\xe9l\xe9verser des dossiers"]},"Upload from device":{msgid:"Upload from device",msgstr:["T\xe9l\xe9verser depuis l'appareil"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Le t\xe9l\xe9versement a \xe9t\xe9 annul\xe9"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Le t\xe9l\xe9versement a \xe9t\xe9 ignor\xe9"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Le t\xe9l\xe9versement de "{folder}" a \xe9t\xe9 ignor\xe9']},"Upload progress":{msgid:"Upload progress",msgstr:["Progression du t\xe9l\xe9versement"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Lorsqu'un dossier entrant est s\xe9lectionn\xe9, tous les fichiers en conflit qu'il contient seront \xe9galement \xe9cras\xe9s."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Lorsqu'un dossier entrant est s\xe9lectionn\xe9, le contenu est ajout\xe9 dans le dossier existant et une r\xe9solution r\xe9cursive des conflits est effectu\xe9e."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Quels fichiers souhaitez-vous conserver ?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Vous pouvez soit renommer le fichier, soit ignorer le fichier soit annuler toute l'op\xe9ration."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Vous devez s\xe9lectionner au moins une version de chaque fichier pour continuer."]}}}}},{locale:"ga",json:{charset:"utf-8",headers:{"Last-Translator":"Aindri\xfa Mac Giolla Eoin, 2025","Language-Team":"Irish (https://app.transifex.com/nextcloud/teams/64236/ga/)","Content-Type":"text/plain; charset=UTF-8",Language:"ga","Plural-Forms":"nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nAindri\xfa Mac Giolla Eoin, 2025\n"},msgstr:["Last-Translator: Aindri\xfa Mac Giolla Eoin, 2025\nLanguage-Team: Irish (https://app.transifex.com/nextcloud/teams/64236/ga/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ga\nPlural-Forms: nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['Is ainm toirmiscthe comhaid n\xf3 fillte\xe1in \xe9 "{segment}".']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['Is cine\xe1l comhaid toirmiscthe \xe9 "{segment}".']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['N\xed cheada\xedtear "{segment}" taobh istigh d\'ainm comhaid n\xf3 fillte\xe1in.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} coimhlint comhaid","{count} coimhlint\xed comhaid","{count} coimhlint\xed comhaid","{count} coimhlint\xed comhaid","{count} coimhlint\xed comhaid"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} coimhlint comhaid i {dirname}","{count} coimhlint\xed comhaid i {dirname}","{count} coimhlint\xed comhaid i {dirname}","{count} coimhlint\xed comhaid i {dirname}","{count} coimhlint\xed comhaid i {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} soicind f\xe1gtha","{seconds} soicind f\xe1gtha","{seconds} soicind f\xe1gtha","{seconds} soicind f\xe1gtha","{seconds} soicind f\xe1gtha"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} f\xe1gtha"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["c\xfapla soicind f\xe1gtha"]},assembling:{msgid:"assembling",msgstr:["ag cur le ch\xe9ile"]},Cancel:{msgid:"Cancel",msgstr:["Cealaigh"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Cealaigh an oibr\xedocht ioml\xe1n"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cealaigh uasl\xf3d\xe1lacha"]},Continue:{msgid:"Continue",msgstr:["Lean\xfaint ar aghaidh"]},"Create new":{msgid:"Create new",msgstr:["Cruthaigh nua"]},"estimating time left":{msgid:"estimating time left",msgstr:["ag d\xe9anamh meastach\xe1n ar an am at\xe1 f\xe1gtha"]},"Existing version":{msgid:"Existing version",msgstr:["Leagan l\xe1ithreach "]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Theip ar na smut\xe1n a chur le ch\xe9ile le ch\xe9ile"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Theip ar uasl\xf3d\xe1il an chomhaid"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['N\xedor cheart go gcr\xedochna\xedonn comhaid chomhad le "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["M\xe1 roghna\xedonn t\xfa an d\xe1 leagan, cuirfear uimhir leis an ainm a thagann isteach."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Ainm comhaid neamhbhail\xed"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["D\xe1ta modhnaithe is d\xe9ana\xed anaithnid"]},New:{msgid:"New",msgstr:["Nua"]},"New filename":{msgid:"New filename",msgstr:["Ainm comhaid nua"]},"New version":{msgid:"New version",msgstr:["Leagan nua"]},paused:{msgid:"paused",msgstr:["sos"]},"Preview image":{msgid:"Preview image",msgstr:["\xcdomh\xe1 r\xe9amhamharc"]},Rename:{msgid:"Rename",msgstr:["Athainmnigh"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Roghnaigh gach ticbhosca"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Roghnaigh gach comhad at\xe1 ann cheana f\xe9in"]},"Select all new files":{msgid:"Select all new files",msgstr:["Roghnaigh gach comhad nua"]},Skip:{msgid:"Skip",msgstr:["Scipe\xe1il"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["L\xe9im an comhad {count}","L\xe9im thar {count} comhad","L\xe9im thar {count} comhad","L\xe9im thar {count} comhad","L\xe9im thar {count} comhad"]},"Skip this file":{msgid:"Skip this file",msgstr:["Seachain an comhad seo"]},"Unknown size":{msgid:"Unknown size",msgstr:["M\xe9id anaithnid"]},Upload:{msgid:"Upload",msgstr:["Uasl\xf3d\xe1il"]},"Upload files":{msgid:"Upload files",msgstr:["Uasl\xf3d\xe1il comhaid"]},"Upload folders":{msgid:"Upload folders",msgstr:["Uasl\xf3d\xe1il fillte\xe1in"]},"Upload from device":{msgid:"Upload from device",msgstr:["\xcdosluchtaigh \xf3 ghl\xe9as"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Cuireadh an t-uasl\xf3d\xe1il ar ceal"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["L\xe9ir\xedodh an uasl\xf3d\xe1il"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['L\xe9ir\xedodh an uasl\xf3d\xe1il "{folder}".']},"Upload progress":{msgid:"Upload progress",msgstr:["Uasl\xf3d\xe1il dul chun cinn"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Nuair a roghna\xedtear fillte\xe1n isteach, d\xe9anfar aon chomhad contr\xe1rtha laistigh de a fhorscr\xedobh freisin."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Nuair a roghna\xedtear fillte\xe1n isteach, scr\xedobhtar an t-\xe1bhar isteach san fhillte\xe1n at\xe1 ann cheana agus d\xe9antar r\xe9iteach coinbhleachta athch\xfarsach."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["C\xe9 na comhaid ar mhaith leat a choinne\xe1il?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Is f\xe9idir leat an comhad a athainmni\xfa, scipe\xe1il an comhad seo n\xf3 an oibr\xedocht ioml\xe1n a cheal\xfa."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["N\xed m\xf3r duit leagan amh\xe1in ar a laghad de gach comhad a roghn\xfa chun lean\xfaint ar aghaidh."]}}}}},{locale:"gd",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Gaelic, Scottish (https://www.transifex.com/nextcloud/teams/64236/gd/)","Content-Type":"text/plain; charset=UTF-8",Language:"gd","Plural-Forms":"nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Gaelic, Scottish (https://www.transifex.com/nextcloud/teams/64236/gd/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: gd\nPlural-Forms: nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"gl",json:{charset:"utf-8",headers:{"Last-Translator":"Miguel Anxo Bouzada , 2025","Language-Team":"Galician (https://app.transifex.com/nextcloud/teams/64236/gl/)","Content-Type":"text/plain; charset=UTF-8",Language:"gl","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nMiguel Anxo Bouzada , 2025\n"},msgstr:["Last-Translator: Miguel Anxo Bouzada , 2025\nLanguage-Team: Galician (https://app.transifex.com/nextcloud/teams/64236/gl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: gl\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:["\xab{segment}\xbb \xe9 un nome vedado para un ficheiro ou cartafol."]},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:["\xab{segment}\xbb \xe9 un tipo de ficheiro vedado."]},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:["\xab{segment}\xbb non est\xe1 permitido dentro dun nome de ficheiro ou cartafol."]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} conflito de ficheiros","{count} conflitos de ficheiros"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} conflito de ficheiros en {dirname}","{count} conflitos de ficheiros en {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["falta {seconds} segundo","faltan {seconds} segundos"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["falta {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["faltan uns segundos"]},assembling:{msgid:"assembling",msgstr:["ensamblando"]},Cancel:{msgid:"Cancel",msgstr:["Cancelar"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Cancela toda a operaci\xf3n"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cancelar env\xedos"]},Continue:{msgid:"Continue",msgstr:["Continuar"]},"Create new":{msgid:"Create new",msgstr:["Crear un novo"]},"estimating time left":{msgid:"estimating time left",msgstr:["calculando canto tempo falta"]},"Existing version":{msgid:"Existing version",msgstr:["Versi\xf3n existente"]},"Failed assembling the chunks together":{msgid:"Failed assembling the chunks together",msgstr:["Produciuse un fallo ao ensamblar os anacos"]},"Failed uploading the file":{msgid:"Failed uploading the file",msgstr:["Produciuse un fallo ao enviar o ficheiro"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:["Os nomes de ficheiros non deben rematar con \xab{segment}\xbb."]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Se selecciona ambas as versi\xf3ns, o ficheiro entrante ter\xe1 un n\xfamero engadido ao seu nome."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["O nome de ficheiro non \xe9 v\xe1lido"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Data da \xfaltima modificaci\xf3n desco\xf1ecida"]},New:{msgid:"New",msgstr:["Nova"]},"New filename":{msgid:"New filename",msgstr:["Novo nome de ficheiro"]},"New version":{msgid:"New version",msgstr:["Nova versi\xf3n"]},paused:{msgid:"paused",msgstr:["detido"]},"Preview image":{msgid:"Preview image",msgstr:["Vista previa da imaxe"]},Rename:{msgid:"Rename",msgstr:["Renomear"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Marcar todas as caixas de selecci\xf3n"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Seleccionar todos os ficheiros existentes"]},"Select all new files":{msgid:"Select all new files",msgstr:["Seleccionar todos os ficheiros novos"]},Skip:{msgid:"Skip",msgstr:["Omitir"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Omita este ficheiro","Omitir {count} ficheiros"]},"Unknown size":{msgid:"Unknown size",msgstr:["Tama\xf1o desco\xf1ecido"]},Upload:{msgid:"Upload",msgstr:["Enviar"]},"Upload files":{msgid:"Upload files",msgstr:["Enviar ficheiros"]},"Upload folders":{msgid:"Upload folders",msgstr:["Enviar cartafoles"]},"Upload from device":{msgid:"Upload from device",msgstr:["Enviar dende o dispositivo"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["O env\xedo foi cancelado"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["O env\xedo foi omitido"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:["O env\xedo de \xab{folder}\xbb foi omitido"]},"Upload progress":{msgid:"Upload progress",msgstr:["Progreso do env\xedo"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Cando se selecciona un cartafol entrante, tam\xe9n se sobrescribir\xe1n os ficheiros en conflito dentro del."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Cando se selecciona un cartafol entrante, o contido escr\xedbese no cartafol existente e l\xe9vase a cabo unha resoluci\xf3n recursiva de conflitos."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Que ficheiros quere conservar?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Pode cambiar o nome do ficheiro, omitir este ficheiro ou cancelar toda a operaci\xf3n."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Debe seleccionar polo menos unha versi\xf3n de cada ficheiro para continuar."]}}}}},{locale:"he",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Hebrew (https://www.transifex.com/nextcloud/teams/64236/he/)","Content-Type":"text/plain; charset=UTF-8",Language:"he","Plural-Forms":"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Hebrew (https://www.transifex.com/nextcloud/teams/64236/he/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: he\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"hi_IN",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Hindi (India) (https://www.transifex.com/nextcloud/teams/64236/hi_IN/)","Content-Type":"text/plain; charset=UTF-8",Language:"hi_IN","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Hindi (India) (https://www.transifex.com/nextcloud/teams/64236/hi_IN/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: hi_IN\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"hr",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Croatian (https://www.transifex.com/nextcloud/teams/64236/hr/)","Content-Type":"text/plain; charset=UTF-8",Language:"hr","Plural-Forms":"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Croatian (https://www.transifex.com/nextcloud/teams/64236/hr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: hr\nPlural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"hsb",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Upper Sorbian (https://www.transifex.com/nextcloud/teams/64236/hsb/)","Content-Type":"text/plain; charset=UTF-8",Language:"hsb","Plural-Forms":"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Upper Sorbian (https://www.transifex.com/nextcloud/teams/64236/hsb/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: hsb\nPlural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"hu",json:{charset:"utf-8",headers:{"Last-Translator":"Gyuris Gell\xe9rt , 2024","Language-Team":"Hungarian (Hungary) (https://app.transifex.com/nextcloud/teams/64236/hu_HU/)","Content-Type":"text/plain; charset=UTF-8",Language:"hu_HU","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nGyuris Gell\xe9rt , 2024\n"},msgstr:["Last-Translator: Gyuris Gell\xe9rt , 2024\nLanguage-Team: Hungarian (Hungary) (https://app.transifex.com/nextcloud/teams/64236/hu_HU/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: hu_HU\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['Tiltott f\xe1jl- vagy mappan\xe9v: „{segment}".']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['Tiltott f\xe1jlt\xedpus: „{segment}".']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['Nem megengedett egy f\xe1jl- vagy mappan\xe9vben: „{segment}".']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count}f\xe1jlt \xe9rintő konfliktus","{count} f\xe1jlt \xe9rintő konfliktus"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} f\xe1jlt \xe9rintő konfliktus a mapp\xe1ban: {dirname}","{count}f\xe1jlt \xe9rintő konfliktus a mapp\xe1ban: {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{} m\xe1sodperc van h\xe1tra"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} van h\xe1tra"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["p\xe1r m\xe1sodperc van h\xe1tra"]},Cancel:{msgid:"Cancel",msgstr:["M\xe9gse"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Teljes művelet megszak\xedt\xe1sa"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Felt\xf6lt\xe9sek megszak\xedt\xe1sa"]},Continue:{msgid:"Continue",msgstr:["Tov\xe1bb"]},"Create new":{msgid:"Create new",msgstr:["\xdaj l\xe9trehoz\xe1sa"]},"estimating time left":{msgid:"estimating time left",msgstr:["h\xe1tral\xe9vő idő becsl\xe9se"]},"Existing version":{msgid:"Existing version",msgstr:["Jelenlegi v\xe1ltozat"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:["F\xe1jlnevek nem v\xe9gződhetnek erre: „{segment}”."]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Ha mindk\xe9t verzi\xf3t kiv\xe1lasztja, a bej\xf6vő f\xe1jl neve egy sz\xe1mmal eg\xe9sz\xfcl ki."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["\xc9rv\xe9nytelen f\xe1jln\xe9v"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Utols\xf3 m\xf3dos\xedt\xe1s d\xe1tuma ismeretlen"]},New:{msgid:"New",msgstr:["\xdaj"]},"New filename":{msgid:"New filename",msgstr:["\xdaj f\xe1jln\xe9v"]},"New version":{msgid:"New version",msgstr:["\xdaj verzi\xf3"]},paused:{msgid:"paused",msgstr:["sz\xfcneteltetve"]},"Preview image":{msgid:"Preview image",msgstr:["K\xe9p előn\xe9zete"]},Rename:{msgid:"Rename",msgstr:["\xc1tnevez\xe9s"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Minden jel\xf6lőn\xe9gyzet kijel\xf6l\xe9se"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Minden jelenlegi f\xe1jl kijel\xf6l\xe9se"]},"Select all new files":{msgid:"Select all new files",msgstr:["Minden \xfaj f\xe1jl kijel\xf6l\xe9se"]},Skip:{msgid:"Skip",msgstr:["Kihagy\xe1s"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Ezen f\xe1jl kihagy\xe1sa","{count}f\xe1jl kihagy\xe1sa"]},"Unknown size":{msgid:"Unknown size",msgstr:["Ismeretlen m\xe9ret"]},Upload:{msgid:"Upload",msgstr:["Felt\xf6lt\xe9s"]},"Upload files":{msgid:"Upload files",msgstr:["F\xe1jlok felt\xf6lt\xe9se"]},"Upload folders":{msgid:"Upload folders",msgstr:["Mapp\xe1k felt\xf6lt\xe9se"]},"Upload from device":{msgid:"Upload from device",msgstr:["Felt\xf6lt\xe9s eszk\xf6zről"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Felt\xf6lt\xe9s meg lett szak\xedtva"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Felt\xf6lt\xe9s \xe1t lett ugorva"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:["„{folder}” felt\xf6lt\xe9se \xe1t lett ugorva"]},"Upload progress":{msgid:"Upload progress",msgstr:["Felt\xf6lt\xe9si folyamat"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Ha egy bej\xf6vő mappa van kiv\xe1lasztva, a mapp\xe1ban l\xe9vő \xfctk\xf6ző f\xe1jlok is fel\xfcl\xedr\xe1sra ker\xfclnek."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Ha egy bej\xf6vő mappa van kiv\xe1lasztva, a tartalom a megl\xe9vő mapp\xe1ba \xedr\xf3dik \xe9s rekurz\xedv konfliktusfelold\xe1s t\xf6rt\xe9nik."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Mely f\xe1jlokat k\xedv\xe1nja megtartani?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["\xc1tnevezheti a f\xe1jlt, kihagyhatja ezt a f\xe1jlt, vagy t\xf6r\xf6lheti az eg\xe9sz műveletet."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["A folytat\xe1shoz minden f\xe1jlb\xf3l legal\xe1bb egy verzi\xf3t ki kell v\xe1lasztani."]}}}}},{locale:"hy",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Armenian (https://www.transifex.com/nextcloud/teams/64236/hy/)","Content-Type":"text/plain; charset=UTF-8",Language:"hy","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Armenian (https://www.transifex.com/nextcloud/teams/64236/hy/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: hy\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"ia",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Interlingua (https://www.transifex.com/nextcloud/teams/64236/ia/)","Content-Type":"text/plain; charset=UTF-8",Language:"ia","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Interlingua (https://www.transifex.com/nextcloud/teams/64236/ia/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ia\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"id",json:{charset:"utf-8",headers:{"Last-Translator":"Linerly , 2023","Language-Team":"Indonesian (https://app.transifex.com/nextcloud/teams/64236/id/)","Content-Type":"text/plain; charset=UTF-8",Language:"id","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJohn Molakvo\xe6 , 2023\nEmpty Slot Filler, 2023\nLinerly , 2023\n"},msgstr:["Last-Translator: Linerly , 2023\nLanguage-Team: Indonesian (https://app.transifex.com/nextcloud/teams/64236/id/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: id\nPlural-Forms: nplurals=1; plural=0;\n"]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} berkas berkonflik"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} berkas berkonflik dalam {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} detik tersisa"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} tersisa"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["tinggal sebentar lagi"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Batalkan unggahan"]},Continue:{msgid:"Continue",msgstr:["Lanjutkan"]},"estimating time left":{msgid:"estimating time left",msgstr:["memperkirakan waktu yang tersisa"]},"Existing version":{msgid:"Existing version",msgstr:["Versi yang ada"]},"If you select both versions, the copied file will have a number added to its name.":{msgid:"If you select both versions, the copied file will have a number added to its name.",msgstr:["Jika Anda memilih kedua versi, nama berkas yang disalin akan ditambahi angka."]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Tanggal perubahan terakhir tidak diketahui"]},New:{msgid:"New",msgstr:["Baru"]},"New version":{msgid:"New version",msgstr:["Versi baru"]},paused:{msgid:"paused",msgstr:["dijeda"]},"Preview image":{msgid:"Preview image",msgstr:["Gambar pratinjau"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Pilih semua kotak centang"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Pilih semua berkas yang ada"]},"Select all new files":{msgid:"Select all new files",msgstr:["Pilih semua berkas baru"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Lewati {count} berkas"]},"Unknown size":{msgid:"Unknown size",msgstr:["Ukuran tidak diketahui"]},"Upload cancelled":{msgid:"Upload cancelled",msgstr:["Unggahan dibatalkan"]},"Upload files":{msgid:"Upload files",msgstr:["Unggah berkas"]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Berkas mana yang Anda ingin tetap simpan?"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Anda harus memilih setidaknya satu versi dari masing-masing berkas untuk melanjutkan."]}}}}},{locale:"ig",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Igbo (https://www.transifex.com/nextcloud/teams/64236/ig/)","Content-Type":"text/plain; charset=UTF-8",Language:"ig","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Igbo (https://www.transifex.com/nextcloud/teams/64236/ig/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ig\nPlural-Forms: nplurals=1; plural=0;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"is",json:{charset:"utf-8",headers:{"Last-Translator":"Sveinn \xed Felli , 2025","Language-Team":"Icelandic (https://app.transifex.com/nextcloud/teams/64236/is/)","Content-Type":"text/plain; charset=UTF-8",Language:"is","Plural-Forms":"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nSveinn \xed Felli , 2025\n"},msgstr:["Last-Translator: Sveinn \xed Felli , 2025\nLanguage-Team: Icelandic (https://app.transifex.com/nextcloud/teams/64236/is/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: is\nPlural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" er banna\xf0 sem heiti \xe1 skr\xe1 e\xf0a m\xf6ppu.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" er b\xf6nnu\xf0 skr\xe1artegund.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" er ekki leyfilegt innan \xed heiti \xe1 skr\xe1 e\xf0a m\xf6ppu.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} \xe1rekstur skr\xe1a","{count} \xe1rekstrar skr\xe1a"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} \xe1rekstur skr\xe1a \xed {dirname}","{count} \xe1rekstrar skr\xe1a \xed {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} sek\xfanda eftir","{seconds} sek\xfandur eftir"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} eftir"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["nokkrar sek\xfandur eftir"]},assembling:{msgid:"assembling",msgstr:["set saman"]},Cancel:{msgid:"Cancel",msgstr:["H\xe6tta vi\xf0"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["H\xe6tta vi\xf0 alla a\xf0ger\xf0ina"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["H\xe6tta vi\xf0 innsendingar"]},Continue:{msgid:"Continue",msgstr:["Halda \xe1fram"]},"Create new":{msgid:"Create new",msgstr:["B\xfaa til n\xfdtt"]},"estimating time left":{msgid:"estimating time left",msgstr:["\xe1\xe6tla t\xedma sem eftir er"]},"Existing version":{msgid:"Existing version",msgstr:["Fyrirliggjandi \xfatg\xe1fa"]},"Failed assembling the chunks together":{msgid:"Failed assembling the chunks together",msgstr:["Mist\xf3kst a\xf0 setja saman b\xfatana"]},"Failed uploading the file":{msgid:"Failed uploading the file",msgstr:["Mist\xf3kst a\xf0 senda inn skr\xe1na"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Skr\xe1aheiti mega ekki enda \xe1 "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Ef \xfe\xfa velur b\xe1\xf0ar \xfatg\xe1fur, \xfe\xe1 mun ver\xf0a b\xe6tt t\xf6lustaf aftan vi\xf0 heiti innkomandi skr\xe1rinnar."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["\xd3gilt skr\xe1arheiti"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["S\xed\xf0asta breytingadagsetning er \xf3\xfeekkt"]},New:{msgid:"New",msgstr:["N\xfdtt"]},"New filename":{msgid:"New filename",msgstr:["N\xfdtt skr\xe1arheiti"]},"New version":{msgid:"New version",msgstr:["N\xfd \xfatg\xe1fa"]},paused:{msgid:"paused",msgstr:["\xed bi\xf0"]},"Preview image":{msgid:"Preview image",msgstr:["Forsko\xf0un myndar"]},Rename:{msgid:"Rename",msgstr:["Endurnefna"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Velja g\xe1treiti"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Velja allar fyrirliggjandi skr\xe1r"]},"Select all new files":{msgid:"Select all new files",msgstr:["Velja allar n\xfdjar skr\xe1r"]},Skip:{msgid:"Skip",msgstr:["Sleppa"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Sleppa \xfeessari skr\xe1","Sleppa {count} skr\xe1m"]},"Unknown size":{msgid:"Unknown size",msgstr:["\xd3\xfeekkt st\xe6r\xf0"]},Upload:{msgid:"Upload",msgstr:["Senda inn"]},"Upload files":{msgid:"Upload files",msgstr:["Senda inn skr\xe1r"]},"Upload folders":{msgid:"Upload folders",msgstr:["Senda inn m\xf6ppur"]},"Upload from device":{msgid:"Upload from device",msgstr:["Senda inn fr\xe1 t\xe6ki"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["H\xe6tt hefur veri\xf0 vi\xf0 innsendingu"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Innsendingu hefur veri\xf0 sleppt"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Innsendingu \xe1 "{folder}" hefur veri\xf0 sleppt']},"Upload progress":{msgid:"Upload progress",msgstr:["Framvinda innsendingar"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["\xdeegar valin er mappa fyrir skr\xe1r sem berast, ver\xf0ur einnig skrifa\xf0 yfir allar skr\xe1r \xed henni sem valda \xe1rekstrum."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["\xdeegar valin er mappa fyrir skr\xe1r sem berast, ver\xf0ur efni\xf0 skrifa\xf0 inn \xed fyrirliggjandi m\xf6ppu og fari\xf0 \xed a\xf0 leysa \xfar \xe1rekstrum."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Hva\xf0a skr\xe1m vilt \xfe\xfa vilt halda eftir?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["\xde\xfa getur anna\xf0hvort endurnefnt skr\xe1na, sleppt \xfeessari skr\xe1 e\xf0a h\xe6tt vi\xf0 alla \xfeessa a\xf0ger\xf0."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["\xde\xfa ver\xf0ur a\xf0 velja a\xf0 minnsta kosti eina \xfatg\xe1fu af hverri skr\xe1 til a\xf0 halda \xe1fram."]}}}}},{locale:"it",json:{charset:"utf-8",headers:{"Last-Translator":"albanobattistella , 2024","Language-Team":"Italian (https://app.transifex.com/nextcloud/teams/64236/it/)","Content-Type":"text/plain; charset=UTF-8",Language:"it","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nFrancesco Sercia, 2024\nalbanobattistella , 2024\n"},msgstr:["Last-Translator: albanobattistella , 2024\nLanguage-Team: Italian (https://app.transifex.com/nextcloud/teams/64236/it/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: it\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" \xe8 un nome di file o cartella proibito.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}"\xe8 un tipo di file proibito.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" non \xe8 consentito all\'interno di un nome di file o cartella.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} file in conflitto","{count} file in conflitto","{count} file in conflitto"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} file in conflitto in {dirname}","{count} file in conflitto in {dirname}","{count} file in conflitto in {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} secondi rimanenti "]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} rimanente"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["alcuni secondi rimanenti"]},Cancel:{msgid:"Cancel",msgstr:["Annulla"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Annulla l'intera operazione"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Annulla i caricamenti"]},Continue:{msgid:"Continue",msgstr:["Continua"]},"Create new":{msgid:"Create new",msgstr:["Crea nuovo"]},"estimating time left":{msgid:"estimating time left",msgstr:["calcolo il tempo rimanente"]},"Existing version":{msgid:"Existing version",msgstr:["Versione esistente"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['I nomi dei file non devono terminare con "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Se selezioni entrambe le versioni, nel nome del file copiato verr\xe0 aggiunto un numero "]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Nome file non valido"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Ultima modifica sconosciuta"]},New:{msgid:"New",msgstr:["Nuovo"]},"New filename":{msgid:"New filename",msgstr:["Nuovo nome file"]},"New version":{msgid:"New version",msgstr:["Nuova versione"]},paused:{msgid:"paused",msgstr:["pausa"]},"Preview image":{msgid:"Preview image",msgstr:["Anteprima immagine"]},Rename:{msgid:"Rename",msgstr:["Rinomina"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Seleziona tutte le caselle"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Seleziona tutti i file esistenti"]},"Select all new files":{msgid:"Select all new files",msgstr:["Seleziona tutti i nuovi file"]},Skip:{msgid:"Skip",msgstr:["Salta"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Salta questo file","Salta {count} file","Salta {count} file"]},"Unknown size":{msgid:"Unknown size",msgstr:["Dimensione sconosciuta"]},Upload:{msgid:"Upload",msgstr:["Caricamento"]},"Upload files":{msgid:"Upload files",msgstr:["Carica i file"]},"Upload folders":{msgid:"Upload folders",msgstr:["Carica cartelle"]},"Upload from device":{msgid:"Upload from device",msgstr:["Carica dal dispositivo"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Caricamento annullato"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Il caricamento \xe8 stato saltato"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Il caricamento di "{folder}" \xe8 stato saltato']},"Upload progress":{msgid:"Upload progress",msgstr:["Progresso del caricamento"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Quando si seleziona una cartella in arrivo, anche tutti i file in conflitto al suo interno verranno sovrascritti."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Quando si seleziona una cartella in arrivo, il contenuto viene scritto nella cartella esistente e viene eseguita una risoluzione ricorsiva dei conflitti."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Quali file vuoi mantenere?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["\xc8 possibile rinominare il file, ignorarlo o annullare l'intera operazione."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Devi selezionare almeno una versione di ogni file per continuare"]}}}}},{locale:"ja",json:{charset:"utf-8",headers:{"Last-Translator":"kshimohata, 2025","Language-Team":"Japanese (Japan) (https://app.transifex.com/nextcloud/teams/64236/ja_JP/)","Content-Type":"text/plain; charset=UTF-8",Language:"ja_JP","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nkojima.imamura, 2024\nTakafumi AKAMATSU, 2024\ndevi, 2024\nあいうえお, 2025\nkshimohata, 2025\n"},msgstr:["Last-Translator: kshimohata, 2025\nLanguage-Team: Japanese (Japan) (https://app.transifex.com/nextcloud/teams/64236/ja_JP/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ja_JP\nPlural-Forms: nplurals=1; plural=0;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" は禁止されているファイルまたはフォルダ名です。']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" は禁止されているファイルタイプです。']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['ファイルまたはフォルダ名に "{segment}" を含めることはできません。']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} ファイル数の競合"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{dirname} で {count} 個のファイルが競合しています"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["残り{seconds}"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["残り {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["残り数秒"]},assembling:{msgid:"assembling",msgstr:["組み立て中"]},Cancel:{msgid:"Cancel",msgstr:["キャンセル"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["すべての操作をキャンセルする"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["アップロードをキャンセル"]},Continue:{msgid:"Continue",msgstr:["続ける"]},"Create new":{msgid:"Create new",msgstr:["新規作成"]},"estimating time left":{msgid:"estimating time left",msgstr:["概算残り時間"]},"Existing version":{msgid:"Existing version",msgstr:["既存バージョン"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["チャンクの組み立てに失敗しました"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["ファイルのアップロードに失敗しました"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['ファイル名の末尾に "{segment}" を付けることはできません。']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["両方のバージョンを選択した場合、受信ファイルの名前に数字が追加されます。"]},"Invalid filename":{msgid:"Invalid filename",msgstr:["無効なファイル名"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["最終更新日不明"]},New:{msgid:"New",msgstr:["新規作成"]},"New filename":{msgid:"New filename",msgstr:["新しいファイル名"]},"New version":{msgid:"New version",msgstr:["新しいバージョン"]},paused:{msgid:"paused",msgstr:["一時停止中"]},"Preview image":{msgid:"Preview image",msgstr:["プレビュー画像"]},Rename:{msgid:"Rename",msgstr:["名前を変更"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["すべて選択"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["すべての既存ファイルを選択"]},"Select all new files":{msgid:"Select all new files",msgstr:["すべての新規ファイルを選択"]},Skip:{msgid:"Skip",msgstr:["スキップ"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["{count} 個のファイルをスキップする"]},"Skip this file":{msgid:"Skip this file",msgstr:["このファイルをスキップする"]},"Unknown size":{msgid:"Unknown size",msgstr:["サイズ不明"]},Upload:{msgid:"Upload",msgstr:["アップロード"]},"Upload files":{msgid:"Upload files",msgstr:["ファイルをアップロード"]},"Upload folders":{msgid:"Upload folders",msgstr:["フォルダのアップロード"]},"Upload from device":{msgid:"Upload from device",msgstr:["デバイスからのアップロード"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["アップロードはキャンセルされました"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["アップロードがスキップされました"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['"{folder}" のアップロードがスキップされました']},"Upload progress":{msgid:"Upload progress",msgstr:["アップロード進行状況"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["受信フォルダが選択されると、その中の競合するファイルもすべて上書きされます。"]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["受信フォルダが選択されると、その内容は既存のフォルダに書き込まれ、再帰的な競合解決が行われます。"]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["どのファイルを保持しますか?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["ファイル名を変更するか、このファイルをスキップするか、操作全体をキャンセルすることができます。"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["続行するには、各ファイルの少なくとも1つのバージョンを選択する必要があります。"]}}}}},{locale:"ka",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Georgian (https://www.transifex.com/nextcloud/teams/64236/ka/)","Content-Type":"text/plain; charset=UTF-8",Language:"ka","Plural-Forms":"nplurals=2; plural=(n!=1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Georgian (https://www.transifex.com/nextcloud/teams/64236/ka/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ka\nPlural-Forms: nplurals=2; plural=(n!=1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"ka_GE",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Georgian (Georgia) (https://www.transifex.com/nextcloud/teams/64236/ka_GE/)","Content-Type":"text/plain; charset=UTF-8",Language:"ka_GE","Plural-Forms":"nplurals=2; plural=(n!=1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Georgian (Georgia) (https://www.transifex.com/nextcloud/teams/64236/ka_GE/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ka_GE\nPlural-Forms: nplurals=2; plural=(n!=1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"kab",json:{charset:"utf-8",headers:{"Last-Translator":"ZiriSut, 2023","Language-Team":"Kabyle (https://app.transifex.com/nextcloud/teams/64236/kab/)","Content-Type":"text/plain; charset=UTF-8",Language:"kab","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nZiriSut, 2023\n"},msgstr:["Last-Translator: ZiriSut, 2023\nLanguage-Team: Kabyle (https://app.transifex.com/nextcloud/teams/64236/kab/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: kab\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} tesdatin i d-yeqqimen"]},"{time} left":{msgid:"{time} left",comments:{extracted:"time has the format 00:00:00"},msgstr:["{time} i d-yeqqimen"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["qqiment-d kra n tesdatin kan"]},Add:{msgid:"Add",msgstr:["Rnu"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Sefsex asali"]},"estimating time left":{msgid:"estimating time left",msgstr:["asizel n wakud i d-yeqqimen"]},paused:{msgid:"paused",msgstr:["yeḥbes"]},"Upload files":{msgid:"Upload files",msgstr:["Sali-d ifuyla"]}}}}},{locale:"kk",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Kazakh (https://www.transifex.com/nextcloud/teams/64236/kk/)","Content-Type":"text/plain; charset=UTF-8",Language:"kk","Plural-Forms":"nplurals=2; plural=(n!=1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Kazakh (https://www.transifex.com/nextcloud/teams/64236/kk/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: kk\nPlural-Forms: nplurals=2; plural=(n!=1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"km",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Khmer (https://www.transifex.com/nextcloud/teams/64236/km/)","Content-Type":"text/plain; charset=UTF-8",Language:"km","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Khmer (https://www.transifex.com/nextcloud/teams/64236/km/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: km\nPlural-Forms: nplurals=1; plural=0;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"kn",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Kannada (https://www.transifex.com/nextcloud/teams/64236/kn/)","Content-Type":"text/plain; charset=UTF-8",Language:"kn","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Kannada (https://www.transifex.com/nextcloud/teams/64236/kn/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: kn\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"ko",json:{charset:"utf-8",headers:{"Last-Translator":"이상오, 2025","Language-Team":"Korean (https://app.transifex.com/nextcloud/teams/64236/ko/)","Content-Type":"text/plain; charset=UTF-8",Language:"ko","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nshin2012 , 2025\n이상오, 2025\n"},msgstr:["Last-Translator: 이상오, 2025\nLanguage-Team: Korean (https://app.transifex.com/nextcloud/teams/64236/ko/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ko\nPlural-Forms: nplurals=1; plural=0;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}"(은)는 금지된 파일 및 폴더 이름입니다.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}"(은)는 금지된 파일 형식입니다.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['파일이나 폴더 이름에 "{segment}"(을)를 사용할 수 없습니다.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count}개의 파일이 충돌함"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{dirname}에서 {count}개의 파일이 충돌함"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} 초 남음"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} 남음"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["곧 완료"]},assembling:{msgid:"assembling",msgstr:["취합 중"]},Cancel:{msgid:"Cancel",msgstr:["취소"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["전체 작업을 취소"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["업로드 취소"]},Continue:{msgid:"Continue",msgstr:["확인"]},"Create new":{msgid:"Create new",msgstr:["새로 만들기"]},"estimating time left":{msgid:"estimating time left",msgstr:["남은 시간 계산"]},"Existing version":{msgid:"Existing version",msgstr:["현재 버전"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["조각을 취합하는 데 실패"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["파일을 업로드하는 데 실패"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['파일 이름은 "{segment}"(으)로 끝나야 합니다.']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["두 파일을 모두 선택하면, 들어오는 파일의 이름에 번호가 추가됩니다."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["잘못된 파일 이름"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["최근 수정일 알 수 없음"]},New:{msgid:"New",msgstr:["새로 만들기"]},"New filename":{msgid:"New filename",msgstr:["새 파일 이름"]},"New version":{msgid:"New version",msgstr:["새 버전"]},paused:{msgid:"paused",msgstr:["일시정지됨"]},"Preview image":{msgid:"Preview image",msgstr:["미리보기 이미지"]},Rename:{msgid:"Rename",msgstr:["이름 바꾸기"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["모든 체크박스 선택"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["기존 파일을 모두 선택"]},"Select all new files":{msgid:"Select all new files",msgstr:["새로운 파일을 모두 선택"]},Skip:{msgid:"Skip",msgstr:["건너뛰기"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["{count}개 파일 건너뛰기"]},"Skip this file":{msgid:"Skip this file",msgstr:["이 파일 건너뛰기"]},"Unknown size":{msgid:"Unknown size",msgstr:["크기를 알 수 없음"]},Upload:{msgid:"Upload",msgstr:["업로드"]},"Upload files":{msgid:"Upload files",msgstr:["파일 업로드"]},"Upload folders":{msgid:"Upload folders",msgstr:["폴더 업로드"]},"Upload from device":{msgid:"Upload from device",msgstr:["장치에서 업로드"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["업로드가 취소되었습니다."]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["업로드를 건너뛰었습니다."]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['"{folder}" 업로드를 건너뛰었습니다.']},"Upload progress":{msgid:"Upload progress",msgstr:["업로드 진행도"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["들어오는 폴더를 선택했다면, 충돌하는 내부 파일들은 덮어쓰기 됩니다."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["들어오는 폴더를 선택했다면 내용물이 그 기존 폴더 안에 작성되고, 전체적으로 충돌 해결을 수행합니다."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["어떤 파일을 보존하시겠습니까?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["파일 이름을 바꾸거나, 이 파일을 건너뛰거나 모든 작업을 취소할 수 있습니다."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["계속하기 위해서는 한 파일에 최소 하나의 버전을 선택해야 합니다."]}}}}},{locale:"la",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Latin (https://www.transifex.com/nextcloud/teams/64236/la/)","Content-Type":"text/plain; charset=UTF-8",Language:"la","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Latin (https://www.transifex.com/nextcloud/teams/64236/la/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: la\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"lb",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Luxembourgish (https://www.transifex.com/nextcloud/teams/64236/lb/)","Content-Type":"text/plain; charset=UTF-8",Language:"lb","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Luxembourgish (https://www.transifex.com/nextcloud/teams/64236/lb/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: lb\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"lo",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Lao (https://www.transifex.com/nextcloud/teams/64236/lo/)","Content-Type":"text/plain; charset=UTF-8",Language:"lo","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Lao (https://www.transifex.com/nextcloud/teams/64236/lo/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: lo\nPlural-Forms: nplurals=1; plural=0;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"lt_LT",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Lithuanian (Lithuania) (https://www.transifex.com/nextcloud/teams/64236/lt_LT/)","Content-Type":"text/plain; charset=UTF-8",Language:"lt_LT","Plural-Forms":"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Lithuanian (Lithuania) (https://www.transifex.com/nextcloud/teams/64236/lt_LT/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: lt_LT\nPlural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"lv",json:{charset:"utf-8",headers:{"Last-Translator":"Edgars Andersons, 2025","Language-Team":"Latvian (https://app.transifex.com/nextcloud/teams/64236/lv/)","Content-Type":"text/plain; charset=UTF-8",Language:"lv","Plural-Forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nPapuass , 2024\nArmīns Jeltajevs , 2024\nEdgars Andersons, 2025\n"},msgstr:["Last-Translator: Edgars Andersons, 2025\nLanguage-Team: Latvian (https://app.transifex.com/nextcloud/teams/64236/lv/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: lv\nPlural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" ir aizliegts datnes vai mapes nosaukums.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" ir aizliegts datnes veids.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" ir nav ļauts datnes vai mapes nosaukumā.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} nesaderīgu datņu","{count} nesaderīga datne","{count} nesaderīgas datnes"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} nesaderīgu datņu {dirname}","{count} nesaderīga datne {dirname}","{count} nesaderīgas datnes {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["Atlikušas {seconds} sekundes","Atlikusi {seconds} sekunde","Atlikušas {seconds} sekundes"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["atlicis {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["atlikušas dažas sekundes"]},assembling:{msgid:"assembling",msgstr:["sakopo"]},Cancel:{msgid:"Cancel",msgstr:["Atcelt"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Atcelt visu darbību"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Atcelt augšupielādes"]},Continue:{msgid:"Continue",msgstr:["Turpināt"]},"Create new":{msgid:"Create new",msgstr:["Izveidot jaunu"]},"estimating time left":{msgid:"estimating time left",msgstr:["paredzamais atlikušais laiks"]},"Existing version":{msgid:"Existing version",msgstr:["Esošā versija"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Neizdevās apvienot gabalus"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Neizdevās augšupielādēt datni"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Datnes nosaukumi nedrīkst beigties ar "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Ja atlasa abas versijas, ienākošās datnes nosaukumam tiks pievienots skaitlis."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Nederīgs datnes nosaukums"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Pēdējais izmainīšanas datums nav zināms"]},New:{msgid:"New",msgstr:["Jauns"]},"New filename":{msgid:"New filename",msgstr:["Jauns datnes nosaukums"]},"New version":{msgid:"New version",msgstr:["Jauna versija"]},paused:{msgid:"paused",msgstr:["apturēta"]},"Preview image":{msgid:"Preview image",msgstr:["Priekšskatīt attēlu"]},Rename:{msgid:"Rename",msgstr:["Pārdēvēt"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Atlasīt visas izvēles rūtiņas"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Atlasīt visas esošās datnes"]},"Select all new files":{msgid:"Select all new files",msgstr:["Atlasīt visas jaunās datnes"]},Skip:{msgid:"Skip",msgstr:["Izlaist"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Izlaist {count} datņu","Izlaist {count} datni","Izlaist {count} datnes"]},"Skip this file":{msgid:"Skip this file",msgstr:["Izlaist šo datni"]},"Unknown size":{msgid:"Unknown size",msgstr:["Nezināms izmērs"]},Upload:{msgid:"Upload",msgstr:["Augšupielādēt"]},"Upload files":{msgid:"Upload files",msgstr:["Augšupielādēt datnes"]},"Upload folders":{msgid:"Upload folders",msgstr:["Augšupielādēt mapes"]},"Upload from device":{msgid:"Upload from device",msgstr:["Augšupielādēt no ierīces"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Augšupielāde tika atcelta"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Augšupielāde tika izlaista"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['"{folder}" augšupielāde tika izlaista']},"Upload progress":{msgid:"Upload progress",msgstr:["Augšupielādes virzība"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Kad ir atlasīta ienākošā mape, tiks pārrakstītas arī jebkuras tajā esošās nesaderīgās datnes."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Kad ir atlasīta ienākošā mape, saturs tiks rakstīts esošajā mapē, un tiks veikta rekursīva nesaderību novēršana."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Kuras datnes paturēt?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Datni var vai nu pārdēvēt, vai izlaist vai atcelt visu darbību."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Ir nepieciešams atlasīt vismaz vienu katras datnes versiju, lai turpinātu."]}}}}},{locale:"mk",json:{charset:"utf-8",headers:{"Last-Translator":"Сашко Тодоров , 2022","Language-Team":"Macedonian (https://www.transifex.com/nextcloud/teams/64236/mk/)","Content-Type":"text/plain; charset=UTF-8",Language:"mk","Plural-Forms":"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nСашко Тодоров , 2022\n"},msgstr:["Last-Translator: Сашко Тодоров , 2022\nLanguage-Team: Macedonian (https://www.transifex.com/nextcloud/teams/64236/mk/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: mk\nPlural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["преостануваат {seconds} секунди"]},"{time} left":{msgid:"{time} left",comments:{extracted:"time has the format 00:00:00"},msgstr:["преостанува {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["уште неколку секунди"]},Add:{msgid:"Add",msgstr:["Додади"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Прекини прикачување"]},"estimating time left":{msgid:"estimating time left",msgstr:["приближно преостанато време"]},paused:{msgid:"paused",msgstr:["паузирано"]},"Upload files":{msgid:"Upload files",msgstr:["Прикачување датотеки"]}}}}},{locale:"mn",json:{charset:"utf-8",headers:{"Last-Translator":"BATKHUYAG Ganbold, 2023","Language-Team":"Mongolian (https://app.transifex.com/nextcloud/teams/64236/mn/)","Content-Type":"text/plain; charset=UTF-8",Language:"mn","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nBATKHUYAG Ganbold, 2023\n"},msgstr:["Last-Translator: BATKHUYAG Ganbold, 2023\nLanguage-Team: Mongolian (https://app.transifex.com/nextcloud/teams/64236/mn/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: mn\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} секунд үлдсэн"]},"{time} left":{msgid:"{time} left",comments:{extracted:"time has the format 00:00:00"},msgstr:["{time} үлдсэн"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["хэдхэн секунд үлдсэн"]},Add:{msgid:"Add",msgstr:["Нэмэх"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Илгээлтийг цуцлах"]},"estimating time left":{msgid:"estimating time left",msgstr:["Үлдсэн хугацааг тооцоолж байна"]},paused:{msgid:"paused",msgstr:["түр зогсоосон"]},"Upload files":{msgid:"Upload files",msgstr:["Файл илгээх"]}}}}},{locale:"mr",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Marathi (https://www.transifex.com/nextcloud/teams/64236/mr/)","Content-Type":"text/plain; charset=UTF-8",Language:"mr","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Marathi (https://www.transifex.com/nextcloud/teams/64236/mr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: mr\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"ms_MY",json:{charset:"utf-8",headers:{"Last-Translator":"DT Navy, 2024","Language-Team":"Malay (Malaysia) (https://app.transifex.com/nextcloud/teams/64236/ms_MY/)","Content-Type":"text/plain; charset=UTF-8",Language:"ms_MY","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nDT Navy, 2024\n"},msgstr:["Last-Translator: DT Navy, 2024\nLanguage-Team: Malay (Malaysia) (https://app.transifex.com/nextcloud/teams/64236/ms_MY/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ms_MY\nPlural-Forms: nplurals=1; plural=0;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" adalah fail dan nama folder yang dilarang']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" adalah jenis fail yang dilarang']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" adalah tidak dibenarkan dalam nama fail atau folder']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} files bertindih"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} fail bertindih dalam {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} saat tinggal"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} tinggal"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["beberapa saat lagi"]},Cancel:{msgid:"Cancel",msgstr:["batal"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Batal keseluruhan operasi"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["batal muat naik"]},Continue:{msgid:"Continue",msgstr:["teruskan"]},"Create new":{msgid:"Create new",msgstr:["Buat baharu"]},"estimating time left":{msgid:"estimating time left",msgstr:["jangkaan masa tinggal"]},"Existing version":{msgid:"Existing version",msgstr:["versi sedia ada"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Nama fail tidak boleh berakhir dengan "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Jika dua versi dipilih, fail yang masuk akan ditambah bilangan pada namanya."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Nama fail tidak sah"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Tarikh terakhir diubah suai tidak diketahui"]},New:{msgid:"New",msgstr:["Baru"]},"New filename":{msgid:"New filename",msgstr:["Nama fail baharu"]},"New version":{msgid:"New version",msgstr:["Versi baharu"]},paused:{msgid:"paused",msgstr:["Jeda"]},"Preview image":{msgid:"Preview image",msgstr:["Pratonton gambar"]},Rename:{msgid:"Rename",msgstr:["Menamakan semula"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Pilih semua kotak pilihan"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Pilih semua fail yang wujud"]},"Select all new files":{msgid:"Select all new files",msgstr:["pilih semua fail baharu"]},Skip:{msgid:"Skip",msgstr:["Langkau"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Langkau fail {count}"]},"Unknown size":{msgid:"Unknown size",msgstr:["Saiz tidak diketahui"]},Upload:{msgid:"Upload",msgstr:["Muat naik"]},"Upload files":{msgid:"Upload files",msgstr:["Muat naik fail"]},"Upload folders":{msgid:"Upload folders",msgstr:["Muat naik folder"]},"Upload from device":{msgid:"Upload from device",msgstr:["Muat naik dari peranti"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Muat naik telah dibatalkan"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Muat naik telah dilangkau"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Muat naik "{folder}" telah dilangkau']},"Upload progress":{msgid:"Upload progress",msgstr:["Kemajuan muat naik"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Apabila folder masuk dipilih, sebarang fail bertindih akan ditulis semula"]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Apabila folder masuk dipilih, kandungan ditulis ke dalam folder sedia ada dan penyelesaian konflik rekursif dilakukan."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Fail yang mana ingin disimpan?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["And boleh menamakan semula fail, langkau fail tersebut atau membatalkan keseluruhan operasi"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Anda perlu memilih sekurangnya satu versi setiap fail untuk teruskan"]}}}}},{locale:"my",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Burmese (https://www.transifex.com/nextcloud/teams/64236/my/)","Content-Type":"text/plain; charset=UTF-8",Language:"my","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Burmese (https://www.transifex.com/nextcloud/teams/64236/my/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: my\nPlural-Forms: nplurals=1; plural=0;\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"nb",json:{charset:"utf-8",headers:{"Last-Translator":"Roger Knutsen, 2024","Language-Team":"Norwegian Bokm\xe5l (Norway) (https://app.transifex.com/nextcloud/teams/64236/nb_NO/)","Content-Type":"text/plain; charset=UTF-8",Language:"nb_NO","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nRoger Knutsen, 2024\n"},msgstr:["Last-Translator: Roger Knutsen, 2024\nLanguage-Team: Norwegian Bokm\xe5l (Norway) (https://app.transifex.com/nextcloud/teams/64236/nb_NO/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: nb_NO\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" er et forbudt fil- eller mappenavn.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" er en forbudt filtype.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" er ikke tillatt i et fil- eller mappenavn.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} file conflict","{count} filkonflikter"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} file conflict in {dirname}","{count} filkonflikter i {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} sekunder igjen"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} igjen"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["noen f\xe5 sekunder igjen"]},Cancel:{msgid:"Cancel",msgstr:["Avbryt"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Avbryt hele operasjonen"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Avbryt opplastninger"]},Continue:{msgid:"Continue",msgstr:["Fortsett"]},"Create new":{msgid:"Create new",msgstr:["Opprett ny"]},"estimating time left":{msgid:"estimating time left",msgstr:["Estimerer tid igjen"]},"Existing version":{msgid:"Existing version",msgstr:["Gjeldende versjon"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Filnavn m\xe5 ikke slutte med "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Hvis du velger begge versjonene, vil den innkommende filen ha et nummer lagt til navnet."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Ugyldig filnavn"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Siste gang redigert ukjent"]},New:{msgid:"New",msgstr:["Ny"]},"New filename":{msgid:"New filename",msgstr:["Nytt filnavn"]},"New version":{msgid:"New version",msgstr:["Ny versjon"]},paused:{msgid:"paused",msgstr:["pauset"]},"Preview image":{msgid:"Preview image",msgstr:["Forh\xe5ndsvis bilde"]},Rename:{msgid:"Rename",msgstr:["Omd\xf8p"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Velg alle"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Velg alle eksisterende filer"]},"Select all new files":{msgid:"Select all new files",msgstr:["Velg alle nye filer"]},Skip:{msgid:"Skip",msgstr:["Hopp over"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Skip this file","Hopp over {count} filer"]},"Unknown size":{msgid:"Unknown size",msgstr:["Ukjent st\xf8rrelse"]},"Upload files":{msgid:"Upload files",msgstr:["Last opp filer"]},"Upload folders":{msgid:"Upload folders",msgstr:["Last opp mapper"]},"Upload from device":{msgid:"Upload from device",msgstr:["Last opp fra enhet"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Opplastingen er kansellert"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Opplastingen er hoppet over"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Opplasting av "{folder}" er hoppet over']},"Upload progress":{msgid:"Upload progress",msgstr:["Fremdrift, opplasting"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["N\xe5r en innkommende mappe velges, blir eventuelle motstridende filer i den ogs\xe5 overskrevet."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["N\xe5r en innkommende mappe velges, skrives innholdet inn i den eksisterende mappen, og en rekursiv konfliktl\xf8sning utf\xf8res."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Hvilke filer vil du beholde?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Du kan enten gi nytt navn til filen, hoppe over denne filen eller avbryte hele operasjonen."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Du m\xe5 velge minst en versjon av hver fil for \xe5 fortsette."]}}}}},{locale:"ne",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Nepali (https://www.transifex.com/nextcloud/teams/64236/ne/)","Content-Type":"text/plain; charset=UTF-8",Language:"ne","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Nepali (https://www.transifex.com/nextcloud/teams/64236/ne/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ne\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"nl",json:{charset:"utf-8",headers:{"Last-Translator":"Stephan Paternotte , 2025","Language-Team":"Dutch (https://app.transifex.com/nextcloud/teams/64236/nl/)","Content-Type":"text/plain; charset=UTF-8",Language:"nl","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nJoris deLeeuw, 2025\nStephan Paternotte , 2025\n"},msgstr:["Last-Translator: Stephan Paternotte , 2025\nLanguage-Team: Dutch (https://app.transifex.com/nextcloud/teams/64236/nl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: nl\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" is een verboden bestands- of mapnaam.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" is een verboden bestandstype.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" is niet toegestaan in een bestand of mapnaam.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} bestandsconflict","{count} bestanden conflicteren"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} bestandsconflict in {dirname}","{count} bestandenconflicten in {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} seconde resterend","{seconds} seconden resterend"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} resterend"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["Nog een paar seconden over"]},assembling:{msgid:"assembling",msgstr:["samenstellen"]},Cancel:{msgid:"Cancel",msgstr:["Annuleren"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["De hele bewerking annuleren"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Uploaden annuleren"]},Continue:{msgid:"Continue",msgstr:["Doorgaan"]},"Create new":{msgid:"Create new",msgstr:["Nieuw aanmaken"]},"estimating time left":{msgid:"estimating time left",msgstr:["resterende tijd schatten"]},"Existing version":{msgid:"Existing version",msgstr:["Bestaande versie"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Kon de stukken niet samenvoegen"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Het uploaden van het bestand is mislukt"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Bestandsnamen mogen niet eindigen met "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Als je beide versies selecteert, krijgt het binnenkomende bestand een nummer toegevoegd aan de naam."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Ongeldige bestandsnaam"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Laatst gewijzigde datum onbekend"]},New:{msgid:"New",msgstr:["Nieuw"]},"New filename":{msgid:"New filename",msgstr:["Nieuwe bestandsnaam"]},"New version":{msgid:"New version",msgstr:["Nieuwe versie"]},paused:{msgid:"paused",msgstr:["gepauzeerd"]},"Preview image":{msgid:"Preview image",msgstr:["Voorbeeldweergave"]},Rename:{msgid:"Rename",msgstr:["Hernoemen"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Alle opties selecteren"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Alle bestanden selecteren"]},"Select all new files":{msgid:"Select all new files",msgstr:["Alle nieuwe bestanden selecteren"]},Skip:{msgid:"Skip",msgstr:["Overslaan"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["{count} bestand overslaan","{count} bestanden overslaan"]},"Skip this file":{msgid:"Skip this file",msgstr:["Dit bestand overslaan"]},"Unknown size":{msgid:"Unknown size",msgstr:["Onbekende grootte"]},Upload:{msgid:"Upload",msgstr:["Uploaden"]},"Upload files":{msgid:"Upload files",msgstr:["Upload bestanden"]},"Upload folders":{msgid:"Upload folders",msgstr:["Mappen uploaden"]},"Upload from device":{msgid:"Upload from device",msgstr:["Uploaden vanaf apparaat"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Upload is geanulleerd"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Upload is overgeslagen"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Upload van "{folder}" is overgeslagen']},"Upload progress":{msgid:"Upload progress",msgstr:["Uploadvoortgang"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Wanneer een inkomende map is geselecteerd, worden alle conflicterende bestanden daarin ook overschreven."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Wanneer een inkomende map is geselecteerd, wordt de inhoud in de bestaande map geschreven en wordt er een recursieve conflictoplossing uitgevoerd."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Welke bestanden wil je behouden?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Je kunt het bestand ofwel hernoemen, dit bestand overslaan of de hele bewerking annuleren."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Je moet minstens \xe9\xe9n versie van elk bestand selecteren om door te gaan."]}}}}},{locale:"nn_NO",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Norwegian Nynorsk (Norway) (https://www.transifex.com/nextcloud/teams/64236/nn_NO/)","Content-Type":"text/plain; charset=UTF-8",Language:"nn_NO","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Norwegian Nynorsk (Norway) (https://www.transifex.com/nextcloud/teams/64236/nn_NO/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: nn_NO\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"oc",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Occitan (post 1500) (https://www.transifex.com/nextcloud/teams/64236/oc/)","Content-Type":"text/plain; charset=UTF-8",Language:"oc","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Occitan (post 1500) (https://www.transifex.com/nextcloud/teams/64236/oc/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: oc\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"pl",json:{charset:"utf-8",headers:{"Last-Translator":"Valdnet, 2025","Language-Team":"Polish (https://app.transifex.com/nextcloud/teams/64236/pl/)","Content-Type":"text/plain; charset=UTF-8",Language:"pl","Plural-Forms":"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nPiotr Strebski , 2024\nValdnet, 2025\n"},msgstr:["Last-Translator: Valdnet, 2025\nLanguage-Team: Polish (https://app.transifex.com/nextcloud/teams/64236/pl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: pl\nPlural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" to zabroniona nazwa pliku lub katalogu.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" jest zabronionym typem pliku.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['Znak "{segment}" nie jest dozwolony w nazwie pliku lub katalogu.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["konflikt 1 pliku","{count} konflikt\xf3w plik\xf3w","{count} konflikt\xf3w plik\xf3w","{count} konflikt\xf3w plik\xf3w"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} konfliktowy plik w {dirname}","{count} konfliktowych plik\xf3w w {dirname}","{count} konfliktowych plik\xf3w w {dirname}","{count} konfliktowych plik\xf3w w {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["Pozostało {seconds} sekund"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["Pozostało {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["Pozostało kilka sekund"]},Cancel:{msgid:"Cancel",msgstr:["Anuluj"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Anuluj całą operację"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Anuluj wysyłanie"]},Continue:{msgid:"Continue",msgstr:["Kontynuuj"]},"Create new":{msgid:"Create new",msgstr:["Utw\xf3rz nowe"]},"estimating time left":{msgid:"estimating time left",msgstr:["Szacowanie pozostałego czasu"]},"Existing version":{msgid:"Existing version",msgstr:["Istniejąca wersja"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Nazwy plik\xf3w nie mogą kończyć się na "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Jeśli wybierzesz obie wersje, do nazwy pliku przychodzącego zostanie dodany numer."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Nieprawidłowa nazwa pliku"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Nieznana data ostatniej modyfikacji"]},New:{msgid:"New",msgstr:["Nowy"]},"New filename":{msgid:"New filename",msgstr:["Nowa nazwa pliku"]},"New version":{msgid:"New version",msgstr:["Nowa wersja"]},paused:{msgid:"paused",msgstr:["Wstrzymane"]},"Preview image":{msgid:"Preview image",msgstr:["Podgląd obrazu"]},Rename:{msgid:"Rename",msgstr:["Zmiana nazwy"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Zaznacz wszystkie pola wyboru"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Zaznacz wszystkie istniejące pliki"]},"Select all new files":{msgid:"Select all new files",msgstr:["Zaznacz wszystkie nowe pliki"]},Skip:{msgid:"Skip",msgstr:["Pomiń"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Pomiń 1 plik","Pomiń {count} plik\xf3w","Pomiń {count} plik\xf3w","Pomiń {count} plik\xf3w"]},"Unknown size":{msgid:"Unknown size",msgstr:["Nieznany rozmiar"]},Upload:{msgid:"Upload",msgstr:["Wyślij"]},"Upload files":{msgid:"Upload files",msgstr:["Wyślij pliki"]},"Upload folders":{msgid:"Upload folders",msgstr:["Wyślij katalogi"]},"Upload from device":{msgid:"Upload from device",msgstr:["Wyślij z urządzenia"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Wysyłanie zostało anulowane"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Wysyłanie zostało pominięte"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Wysyłanie "{folder}" zostało pominięte']},"Upload progress":{msgid:"Upload progress",msgstr:["Postęp wysyłania"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Po wybraniu katalogu przychodzącego wszelkie znajdujące się w nim pliki powodujące konflikt r\xf3wnież zostaną nadpisane."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Po wybraniu katalogu przychodzącego zawartość jest zapisywana w istniejącym katalogu i przeprowadzane jest rekursywne rozwiązywanie konflikt\xf3w."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Kt\xf3re pliki chcesz zachować?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Możesz zmienić nazwę pliku, pominąć ten plik lub anulować całą operację."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Aby kontynuować, musisz wybrać co najmniej jedną wersję każdego pliku."]}}}}},{locale:"ps",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Pashto (https://www.transifex.com/nextcloud/teams/64236/ps/)","Content-Type":"text/plain; charset=UTF-8",Language:"ps","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Pashto (https://www.transifex.com/nextcloud/teams/64236/ps/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ps\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"pt_BR",json:{charset:"utf-8",headers:{"Last-Translator":"F Bausch, 2025","Language-Team":"Portuguese (Brazil) (https://app.transifex.com/nextcloud/teams/64236/pt_BR/)","Content-Type":"text/plain; charset=UTF-8",Language:"pt_BR","Plural-Forms":"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nLeonardo Colman Lopes , 2024\nRodrigo Sottomaior Macedo , 2024\nF Bausch, 2025\n"},msgstr:["Last-Translator: F Bausch, 2025\nLanguage-Team: Portuguese (Brazil) (https://app.transifex.com/nextcloud/teams/64236/pt_BR/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: pt_BR\nPlural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" \xe9 um nome de arquivo ou pasta proibido.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" \xe9 um tipo de arquivo proibido.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" n\xe3o \xe9 permitido dentro de um nome de arquivo ou pasta.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} arquivos em conflito","{count} arquivos em conflito","{count} arquivos em conflito"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} conflitos de arquivo em {dirname}","{count} conflitos de arquivo em {dirname}","{count} conflitos de arquivo em {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} segundo restante","{seconds} segundos restantes","{seconds} segundos restantes"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} restante"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["alguns segundos restantes"]},assembling:{msgid:"assembling",msgstr:["montando"]},Cancel:{msgid:"Cancel",msgstr:["Cancelar"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Cancelar a opera\xe7\xe3o inteira"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cancelar uploads"]},Continue:{msgid:"Continue",msgstr:["Continuar"]},"Create new":{msgid:"Create new",msgstr:["Criar novo"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimando tempo restante"]},"Existing version":{msgid:"Existing version",msgstr:["Vers\xe3o existente"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Falha ao montar os peda\xe7os juntos"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Falha ao fazer o upload do arquivo"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Os nomes dos arquivos n\xe3o devem terminar com "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Se voc\xea selecionar ambas as vers\xf5es, o arquivo recebido ter\xe1 um n\xfamero adicionado ao seu nome."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Nome de arquivo inv\xe1lido"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Data da \xfaltima modifica\xe7\xe3o desconhecida"]},New:{msgid:"New",msgstr:["Novo"]},"New filename":{msgid:"New filename",msgstr:["Novo nome de arquivo"]},"New version":{msgid:"New version",msgstr:["Nova vers\xe3o"]},paused:{msgid:"paused",msgstr:["pausado"]},"Preview image":{msgid:"Preview image",msgstr:["Visualizar imagem"]},Rename:{msgid:"Rename",msgstr:["Renomear"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Selecionar todas as caixas de sele\xe7\xe3o"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Selecionar todos os arquivos existentes"]},"Select all new files":{msgid:"Select all new files",msgstr:["Selecionar todos os novos arquivos"]},Skip:{msgid:"Skip",msgstr:["Pular"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Pular {count} arquivo","Pular {count} de arquivos","Pular {count} arquivos"]},"Skip this file":{msgid:"Skip this file",msgstr:["Pular este arquivo"]},"Unknown size":{msgid:"Unknown size",msgstr:["Tamanho desconhecido"]},Upload:{msgid:"Upload",msgstr:["Fazer upload"]},"Upload files":{msgid:"Upload files",msgstr:["Fazer upload de arquivos"]},"Upload folders":{msgid:"Upload folders",msgstr:["Fazer upload de pastas"]},"Upload from device":{msgid:"Upload from device",msgstr:["Fazer upload do dispositivo"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["O upload foi cancelado"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["O upload foi pulado"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['O upload de "{folder}" foi pulado']},"Upload progress":{msgid:"Upload progress",msgstr:["Progresso de upload"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Quando uma pasta recebida \xe9 selecionada, todos os arquivos conflitantes dentro dela tamb\xe9m ser\xe3o sobrescritos."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Quando uma pasta recebida \xe9 selecionada, o conte\xfado \xe9 gravado na pasta existente e uma resolu\xe7\xe3o de conflito recursiva \xe9 executada."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Quais arquivos voc\xea deseja manter?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Voc\xea pode renomear o arquivo, pular este arquivo ou cancelar toda a opera\xe7\xe3o."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Voc\xea precisa selecionar pelo menos uma vers\xe3o de cada arquivo para continuar."]}}}}},{locale:"pt_PT",json:{charset:"utf-8",headers:{"Last-Translator":"artur25 , 2025","Language-Team":"Portuguese (Portugal) (https://app.transifex.com/nextcloud/teams/64236/pt_PT/)","Content-Type":"text/plain; charset=UTF-8",Language:"pt_PT","Plural-Forms":"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nguilherme ferreira, 2025\nartur25 , 2025\n"},msgstr:["Last-Translator: artur25 , 2025\nLanguage-Team: Portuguese (Portugal) (https://app.transifex.com/nextcloud/teams/64236/pt_PT/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: pt_PT\nPlural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" \xe9 um Nome de arquivo ou pasta proibido.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" \xe9 um tipo de ficheiro proibido.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" n\xe3o \xe9 permitido num nome de ficheiro ou pasta.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["Conflito em {count} ficheiro","Conflito em {count} ficheiros","Conflito em {count} ficheiros"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} conflito de ficheiro em {dirname}","{count} conflitos de ficheiro em {dirname}","{count} conflitos de ficheiro em {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["Falta {seconds} segundo","Faltam {seconds} segundos","Faltam {seconds} segundos"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["faltam {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["faltam uns segundos"]},assembling:{msgid:"assembling",msgstr:["montagem"]},Cancel:{msgid:"Cancel",msgstr:["Cancelar"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Cancelar a opera\xe7\xe3o inteira"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Cancelar envios"]},Continue:{msgid:"Continue",msgstr:["Continuar"]},"Create new":{msgid:"Create new",msgstr:["Criar novo"]},"estimating time left":{msgid:"estimating time left",msgstr:["tempo em falta estimado"]},"Existing version":{msgid:"Existing version",msgstr:["Vers\xe3o existente"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Falha ao juntar os fragmentos"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Falha ao carregar o ficheiro"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Os nomes de ficheiro n\xe3o podem terminar em "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Se selecionar ambas as vers\xf5es, ser\xe1 adicionado um n\xfamero ao nome do ficheiro recebido."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Nome de ficheiro inv\xe1lido"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Data da \xfaltima modifica\xe7\xe3o desconhecida"]},New:{msgid:"New",msgstr:["Novo"]},"New filename":{msgid:"New filename",msgstr:["Novo nome de ficheiro"]},"New version":{msgid:"New version",msgstr:["Nova vers\xe3o"]},paused:{msgid:"paused",msgstr:["pausado"]},"Preview image":{msgid:"Preview image",msgstr:["Pr\xe9-visualizar imagem"]},Rename:{msgid:"Rename",msgstr:["Renomear"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Selecionar todas as caixas de verifica\xe7\xe3o"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Selecionar todos os ficheiros existentes"]},"Select all new files":{msgid:"Select all new files",msgstr:["Selecionar todos os ficheiros novos"]},Skip:{msgid:"Skip",msgstr:["Ignorar"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Ignorar {count} ficheiro","Ignorar {count} ficheiros","Ignorar {count} ficheiros"]},"Skip this file":{msgid:"Skip this file",msgstr:["Ignorar este ficheiro"]},"Unknown size":{msgid:"Unknown size",msgstr:["Tamanho desconhecido"]},Upload:{msgid:"Upload",msgstr:["Carregar"]},"Upload files":{msgid:"Upload files",msgstr:["Enviar ficheiros"]},"Upload folders":{msgid:"Upload folders",msgstr:["Carregar pastas"]},"Upload from device":{msgid:"Upload from device",msgstr:["Carregar a partir do dispositivo"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["O carregamento foi cancelado"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["O carregamento foi ignorado"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['O carregamento da pasta "{folder}" foi ignorado']},"Upload progress":{msgid:"Upload progress",msgstr:["Progresso do carregamento"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Ao selecionar uma pasta recebida, quaisquer ficheiros em conflito no seu interior tamb\xe9m ser\xe3o sobrescritos."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Ao selecionar uma pasta recebida, o conte\xfado \xe9 escrito na pasta existente e \xe9 efetuada uma resolu\xe7\xe3o de conflitos recursiva."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Quais ficheiros pretende manter?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Pode renomear o ficheiro, ignor\xe1-lo ou cancelar toda a opera\xe7\xe3o."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Precisa de selecionar pelo menos uma vers\xe3o de cada ficheiro para continuar."]}}}}},{locale:"ro",json:{charset:"utf-8",headers:{"Last-Translator":"Mădălin Vasiliu , 2022","Language-Team":"Romanian (https://www.transifex.com/nextcloud/teams/64236/ro/)","Content-Type":"text/plain; charset=UTF-8",Language:"ro","Plural-Forms":"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMădălin Vasiliu , 2022\n"},msgstr:["Last-Translator: Mădălin Vasiliu , 2022\nLanguage-Team: Romanian (https://www.transifex.com/nextcloud/teams/64236/ro/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ro\nPlural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} secunde rămase"]},"{time} left":{msgid:"{time} left",comments:{extracted:"time has the format 00:00:00"},msgstr:["{time} rămas"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["c\xe2teva secunde rămase"]},Add:{msgid:"Add",msgstr:["Adaugă"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Anulați \xeencărcările"]},"estimating time left":{msgid:"estimating time left",msgstr:["estimarea timpului rămas"]},paused:{msgid:"paused",msgstr:["pus pe pauză"]},"Upload files":{msgid:"Upload files",msgstr:["\xcencarcă fișiere"]}}}}},{locale:"ru",json:{charset:"utf-8",headers:{"Last-Translator":"Igor Orlov, 2025","Language-Team":"Russian (https://app.transifex.com/nextcloud/teams/64236/ru/)","Content-Type":"text/plain; charset=UTF-8",Language:"ru","Plural-Forms":"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nВлад, 2024\nAlex , 2024\nRoman Stepanov, 2024\nMaksim Sukharev, 2024\nАлександр, 2025\nIgor Orlov, 2025\n"},msgstr:["Last-Translator: Igor Orlov, 2025\nLanguage-Team: Russian (https://app.transifex.com/nextcloud/teams/64236/ru/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ru\nPlural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:["\xab{segment}\xbb — это запрещенное имя файла или папки."]},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:["\xab{segment}\xbb — это запрещенный тип файла."]},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:["\xab{segment}\xbb не допускается в имени файла или папки."]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["конфликт {count} файла","конфликт {count} файлов","конфликт {count} файлов","конфликт {count} файлов"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["конфликт {count} файла в \xab{dirname}\xbb","конфликт {count} файлов в \xab{dirname}\xbb","конфликт {count} файлов в \xab{dirname}\xbb","конфликт {count} файлов в \xab{dirname}\xbb"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["осталась {seconds} секунда","осталось {seconds} секунды","осталось {seconds} секунд","осталось {seconds} секунд"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["осталось {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["осталось несколько секунд"]},assembling:{msgid:"assembling",msgstr:["сборка"]},Cancel:{msgid:"Cancel",msgstr:["Отменить"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Отменить операцию целиком"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Отменить загрузки"]},Continue:{msgid:"Continue",msgstr:["Продолжить"]},"Create new":{msgid:"Create new",msgstr:["Создать новое"]},"estimating time left":{msgid:"estimating time left",msgstr:["оценка оставшегося времени"]},"Existing version":{msgid:"Existing version",msgstr:["Текущая версия"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Не удалось собрать части вместе"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Не удалось загрузить файл"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:["Имена файлов не должны заканчиваться на \xab{segment}\xbb"]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Если вы выберете обе версии, к имени входящего файла будет добавлен номер."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Неверное имя файла"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Дата последнего изменения неизвестна"]},New:{msgid:"New",msgstr:["Новый"]},"New filename":{msgid:"New filename",msgstr:["Новое имя файла"]},"New version":{msgid:"New version",msgstr:["Новая версия"]},paused:{msgid:"paused",msgstr:["приостановлено"]},"Preview image":{msgid:"Preview image",msgstr:["Предварительный просмотр"]},Rename:{msgid:"Rename",msgstr:["Переименовать"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Выбрать все"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Выбрать все существующие файлы"]},"Select all new files":{msgid:"Select all new files",msgstr:["Выбрать все новые файлы"]},Skip:{msgid:"Skip",msgstr:["Пропустить"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Пропустить {count} файл","Пропустить {count} файла","Пропустить {count} файлов","Пропустить {count} файлов"]},"Skip this file":{msgid:"Skip this file",msgstr:["Пропустить этот файл"]},"Unknown size":{msgid:"Unknown size",msgstr:["Неизвестный размер"]},Upload:{msgid:"Upload",msgstr:["Загрузить"]},"Upload files":{msgid:"Upload files",msgstr:["Загрузить файлы"]},"Upload folders":{msgid:"Upload folders",msgstr:["Загрузить папки"]},"Upload from device":{msgid:"Upload from device",msgstr:["Загрузить с устройства"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Загрузка была отменена"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Загрузка была пропущена"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:["Загрузка \xab{folder}\xbb была пропущена"]},"Upload progress":{msgid:"Upload progress",msgstr:["Прогресс загрузки"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Когда выбрана входящая папка, все конфликтующие файлы в ней также будут перезаписаны."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Когда выбрана входящая папка, содержимое записывается в существующую папку и выполняется рекурсивное разрешение конфликтов."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Какие файлы вы хотите сохранить?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Вы можете переименовать файл, пропустить этот файл или отменить всю операцию."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Для продолжения вам нужно выбрать по крайней мере одну версию каждого файла."]}}}}},{locale:"sc",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Sardinian (https://www.transifex.com/nextcloud/teams/64236/sc/)","Content-Type":"text/plain; charset=UTF-8",Language:"sc","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Sardinian (https://www.transifex.com/nextcloud/teams/64236/sc/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sc\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"si",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Sinhala (https://www.transifex.com/nextcloud/teams/64236/si/)","Content-Type":"text/plain; charset=UTF-8",Language:"si","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Sinhala (https://www.transifex.com/nextcloud/teams/64236/si/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: si\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"sk",json:{charset:"utf-8",headers:{"Last-Translator":"Tomas Rusnak , 2024","Language-Team":"Slovak (Slovakia) (https://app.transifex.com/nextcloud/teams/64236/sk_SK/)","Content-Type":"text/plain; charset=UTF-8",Language:"sk_SK","Plural-Forms":"nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJozef Gaal , 2024\nTomas Rusnak , 2024\n"},msgstr:["Last-Translator: Tomas Rusnak , 2024\nLanguage-Team: Slovak (Slovakia) (https://app.transifex.com/nextcloud/teams/64236/sk_SK/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sk_SK\nPlural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:["„{segment}“ je zak\xe1zan\xfd n\xe1zov s\xfaboru alebo priečinka."]},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" je z\xe1kazan\xfd typ s\xfaboru.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}“ je zak\xe1zan\xe9 v n\xe1zve s\xfaboru alebo adres\xe1ra.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} s\xfabor m\xe1 konflikt","{count} s\xfabory maj\xfa konflikt","{count} s\xfaborov m\xe1 konflikt","{count} s\xfaborov m\xe1 konflikt"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} s\xfaborov\xfd konflikt v {dirname}","{count} s\xfaborov\xe9 konflikty v {dirname}","{count} s\xfaborov\xfdch konfliktov v {dirname}","{count} s\xfaborov\xfdch konfliktov v {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["{seconds} sek\xfand zost\xe1va"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} zost\xe1va"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["zost\xe1va niekoľko sek\xfand"]},Cancel:{msgid:"Cancel",msgstr:["Zrušiť"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Zrušiť cel\xfa oper\xe1ciu"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Zrušiť nahr\xe1vanie"]},Continue:{msgid:"Continue",msgstr:["Pokračovať"]},"Create new":{msgid:"Create new",msgstr:["Vytvoriť nov\xe9"]},"estimating time left":{msgid:"estimating time left",msgstr:["odhadovanie zost\xe1vaj\xfaceho času"]},"Existing version":{msgid:"Existing version",msgstr:["Existuj\xfaca verzia"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['N\xe1zvy s\xfaborov nesm\xfa končiť znakom "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Ak vyberiete obe verzie, k n\xe1zvu prich\xe1dzaj\xfaceho s\xfaboru sa prid\xe1 č\xedslo."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Neplatn\xfd n\xe1zov s\xfaboru"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["D\xe1tum poslednej \xfapravy nezn\xe1my"]},New:{msgid:"New",msgstr:["Nov\xfd"]},"New filename":{msgid:"New filename",msgstr:["Nov\xfd n\xe1zov s\xfaboru"]},"New version":{msgid:"New version",msgstr:["Nov\xe1 verzia"]},paused:{msgid:"paused",msgstr:["pozastaven\xe9"]},"Preview image":{msgid:"Preview image",msgstr:["N\xe1hľad obr\xe1zka"]},Rename:{msgid:"Rename",msgstr:["Premenovať"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Označiť všetky v\xfdberov\xe9 pol\xedčka"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Vybrať všetky existuj\xface s\xfabory"]},"Select all new files":{msgid:"Select all new files",msgstr:["Vybrať všetky nov\xe9 s\xfabory"]},Skip:{msgid:"Skip",msgstr:["Preskočiť"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Preskočiť tento s\xfabor","Preskočiť {count} s\xfabory","Preskočiť {count} s\xfaborov","Preskočiť {count} s\xfaborov"]},"Unknown size":{msgid:"Unknown size",msgstr:["Nezn\xe1ma veľkosť"]},Upload:{msgid:"Upload",msgstr:["Nahrať"]},"Upload files":{msgid:"Upload files",msgstr:["Nahrať s\xfabory"]},"Upload folders":{msgid:"Upload folders",msgstr:["Nahrať priečinky"]},"Upload from device":{msgid:"Upload from device",msgstr:["Nahrať zo zariadenia"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Nahr\xe1vanie bolo zrušen\xe9"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Nahr\xe1vanie bolo preskočen\xe9"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Nahr\xe1vanie "{folder}" bolo preskočen\xe9']},"Upload progress":{msgid:"Upload progress",msgstr:["Priebeh nahr\xe1vania"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Keď je vybran\xfd prich\xe1dzaj\xfaci priečinok, prep\xedšu sa aj všetky konfliktn\xe9 s\xfabory v ňom."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Po v\xfdbere prich\xe1dzaj\xfaceho priečinka sa obsah zap\xedše do existuj\xfaceho priečinka a vykon\xe1 sa rekurz\xedvne riešenie konfliktov."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Ktor\xe9 s\xfabory chcete ponechať?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["S\xfabor m\xf4žete premenovať, preskočiť alebo zrušiť cel\xfa oper\xe1ciu."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Ak chcete pokračovať, mus\xedte vybrať aspoň jednu verziu každ\xe9ho s\xfaboru."]}}}}},{locale:"sl",json:{charset:"utf-8",headers:{"Last-Translator":"Simon Bogina, 2024","Language-Team":"Slovenian (https://app.transifex.com/nextcloud/teams/64236/sl/)","Content-Type":"text/plain; charset=UTF-8",Language:"sl","Plural-Forms":"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nJan Kraljič , 2024\nSimon Bogina, 2024\n"},msgstr:["Last-Translator: Simon Bogina, 2024\nLanguage-Team: Slovenian (https://app.transifex.com/nextcloud/teams/64236/sl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sl\nPlural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" je prepovedano ime datoteka ali mape.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" je prepovedan tip datoteke.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" ni dovoljeno v imenu datoteke ali mape.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["1{count} datoteka je v konfliktu","1{count} datoteki sta v konfiktu","1{count} datotek je v konfliktu","{count} datotek je v konfliktu"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} datoteka je v konfiktu v {dirname}","{count} datoteki sta v konfiktu v {dirname}","{count} datotek je v konfiktu v {dirname}","{count} konfliktov datotek v {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["še {seconds} sekund"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["še {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["še nekaj sekund"]},Cancel:{msgid:"Cancel",msgstr:["Prekliči"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Prekliči celotni postopek"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Prekliči pošiljanje"]},Continue:{msgid:"Continue",msgstr:["Nadaljuj"]},"Create new":{msgid:"Create new",msgstr:["Ustvari nov"]},"estimating time left":{msgid:"estimating time left",msgstr:["ocenjujem čas do konca"]},"Existing version":{msgid:"Existing version",msgstr:["Obstoječa različica"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Imena datotek se ne smejo končati s "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Če izberete obe različici, bo imenu dohodne datoteke na koncu dodana številka."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Nepravilno ime datoteke"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Datum zadnje spremembe neznan"]},New:{msgid:"New",msgstr:["Nov"]},"New filename":{msgid:"New filename",msgstr:["Novo ime datoteke"]},"New version":{msgid:"New version",msgstr:["Nova različica"]},paused:{msgid:"paused",msgstr:["v premoru"]},"Preview image":{msgid:"Preview image",msgstr:["Predogled slike"]},Rename:{msgid:"Rename",msgstr:["Preimenuj"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Izberi vsa potrditvena polja"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Označi vse obstoječe datoteke"]},"Select all new files":{msgid:"Select all new files",msgstr:["Označi vse nove datoteke"]},Skip:{msgid:"Skip",msgstr:["Preskoči"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Preskoči datoteko","Preskoči {count} datoteki","Preskoči {count} datotek","Preskoči {count} datotek"]},"Unknown size":{msgid:"Unknown size",msgstr:["Neznana velikost"]},Upload:{msgid:"Upload",msgstr:["Naloži"]},"Upload files":{msgid:"Upload files",msgstr:["Naloži datoteke"]},"Upload folders":{msgid:"Upload folders",msgstr:["Naloži mape"]},"Upload from device":{msgid:"Upload from device",msgstr:["Naloži iz naprave"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Nalaganje je bilo preklicano"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Nalaganje je bilo preskočeno"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Nalaganje "{folder}" je bilo preskočeno']},"Upload progress":{msgid:"Upload progress",msgstr:["Napredek nalaganja"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Ko je izbrana dohodna mapa, bodo vse datototeke v konfliktu znotraj nje prepisane."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Ko je izbrana dohodna mapa, je vsebina vpisana v obstoječo mapo in je izvedeno rekurzivno reševanje konfliktov."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Katere datoteke želite obdržati?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Datoteko lahko preimenujete, preskočite ali prekličete celo operacijo."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Izbrati morate vsaj eno različico vsake datoteke da nadaljujete."]}}}}},{locale:"sq",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Albanian (https://www.transifex.com/nextcloud/teams/64236/sq/)","Content-Type":"text/plain; charset=UTF-8",Language:"sq","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Albanian (https://www.transifex.com/nextcloud/teams/64236/sq/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sq\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"sr",json:{charset:"utf-8",headers:{"Last-Translator":"Иван Пешић, 2024","Language-Team":"Serbian (https://app.transifex.com/nextcloud/teams/64236/sr/)","Content-Type":"text/plain; charset=UTF-8",Language:"sr","Plural-Forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nИван Пешић, 2024\n"},msgstr:["Last-Translator: Иван Пешић, 2024\nLanguage-Team: Serbian (https://app.transifex.com/nextcloud/teams/64236/sr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sr\nPlural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:["„{segment}” је забрањено име фајла или фолдера."]},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:["„{segment}” је забрањен тип фајла."]},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:["„{segment}” није дозвољено унутар имена фајла или фолдера."]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} фајл конфликт","{count} фајл конфликта","{count} фајл конфликта"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} фајл конфликт у {dirname}","{count} фајл конфликта у {dirname}","{count} фајл конфликта у {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["преостало је {seconds} секунди"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} преостало"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["преостало је неколико секунди"]},Cancel:{msgid:"Cancel",msgstr:["Откажи"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Отказује комплетну операцију"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Обустави отпремања"]},Continue:{msgid:"Continue",msgstr:["Настави"]},"Create new":{msgid:"Create new",msgstr:["Креирај ново"]},"estimating time left":{msgid:"estimating time left",msgstr:["процена преосталог времена"]},"Existing version":{msgid:"Existing version",msgstr:["Постојећа верзија"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:["Имена фајлова не смеју да се завршавају на „{segment}”."]},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Ако изаберете обе верзије, на име долазног фајла ће се додати број."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Неисправно име фајла"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Није познат датум последње измене"]},New:{msgid:"New",msgstr:["Ново"]},"New filename":{msgid:"New filename",msgstr:["Ново име фајла"]},"New version":{msgid:"New version",msgstr:["Нова верзија"]},paused:{msgid:"paused",msgstr:["паузирано"]},"Preview image":{msgid:"Preview image",msgstr:["Слика прегледа"]},Rename:{msgid:"Rename",msgstr:["Промени име"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Штиклирај сва поља за штиклирање"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Изабери све постојеће фајлове"]},"Select all new files":{msgid:"Select all new files",msgstr:["Изабери све нове фајлове"]},Skip:{msgid:"Skip",msgstr:["Прескочи"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["Прескочи овај фајл","Прескочи {count} фајла","Прескочи {count} фајлова"]},"Unknown size":{msgid:"Unknown size",msgstr:["Непозната величина"]},Upload:{msgid:"Upload",msgstr:["Отпреми"]},"Upload files":{msgid:"Upload files",msgstr:["Отпреми фајлове"]},"Upload folders":{msgid:"Upload folders",msgstr:["Отпреми фолдере"]},"Upload from device":{msgid:"Upload from device",msgstr:["Отпреми са уређаја"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Отпремање је отказано"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Отпремање је прескочено"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:["Отпремање „{folder}”је прескочено"]},"Upload progress":{msgid:"Upload progress",msgstr:["Напредак отпремања"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Када се изабере долазни фолдер, сва имена фајлова са конфликтом унутар њега ће се такође преписати."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Када се изабере долазни фолдер, садржај се уписује у постојећи фолдер и извршава се рекурзивно разрешавање конфликата."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Које фајлове желите да задржите?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Можете или да промените име фајлу, прескочите овај фајл или откажете комплетну операцију."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Морате да изаберете барем једну верзију сваког фајла да наставите."]}}}}},{locale:"sr@latin",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Serbian (Latin) (https://www.transifex.com/nextcloud/teams/64236/sr@latin/)","Content-Type":"text/plain; charset=UTF-8",Language:"sr@latin","Plural-Forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Serbian (Latin) (https://www.transifex.com/nextcloud/teams/64236/sr@latin/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sr@latin\nPlural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"sv",json:{charset:"utf-8",headers:{"Last-Translator":"Magnus H\xf6glund, 2025","Language-Team":"Swedish (https://app.transifex.com/nextcloud/teams/64236/sv/)","Content-Type":"text/plain; charset=UTF-8",Language:"sv","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nMagnus H\xf6glund, 2025\n"},msgstr:["Last-Translator: Magnus H\xf6glund, 2025\nLanguage-Team: Swedish (https://app.transifex.com/nextcloud/teams/64236/sv/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sv\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" \xe4r ett f\xf6rbjudet fil- eller mappnamn.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" \xe4r en f\xf6rbjuden filtyp.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" \xe4r inte till\xe5tet i ett fil- eller mappnamn.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} filkonflikt","{count} filkonflikter"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} filkonflikt i {dirname}","{count} filkonflikter i {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} sekunder kvar","{seconds} sekunder kvar"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} kvarst\xe5r"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["n\xe5gra sekunder kvar"]},assembling:{msgid:"assembling",msgstr:["Sammanst\xe4ller"]},Cancel:{msgid:"Cancel",msgstr:["Avbryt"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Avbryt hela operationen"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Avbryt uppladdningar"]},Continue:{msgid:"Continue",msgstr:["Forts\xe4tt"]},"Create new":{msgid:"Create new",msgstr:["Skapa ny"]},"estimating time left":{msgid:"estimating time left",msgstr:["uppskattar kvarst\xe5ende tid"]},"Existing version":{msgid:"Existing version",msgstr:["Nuvarande version"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Misslyckades med att sammanst\xe4lla delarna"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Kunde inte ladda upp filen"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Filnamn f\xe5r inte sluta med "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Om du v\xe4ljer b\xe5da versionerna kommer den inkommande filen att l\xe4ggas till ett nummer i namnet."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Ogiltigt filnamn"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Senaste \xe4ndringsdatum ok\xe4nt"]},New:{msgid:"New",msgstr:["Ny"]},"New filename":{msgid:"New filename",msgstr:["Nytt filnamn"]},"New version":{msgid:"New version",msgstr:["Ny version"]},paused:{msgid:"paused",msgstr:["pausad"]},"Preview image":{msgid:"Preview image",msgstr:["F\xf6rhandsgranska bild"]},Rename:{msgid:"Rename",msgstr:["Byt namn"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Markera alla kryssrutor"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["V\xe4lj alla befintliga filer"]},"Select all new files":{msgid:"Select all new files",msgstr:["V\xe4lj alla nya filer"]},Skip:{msgid:"Skip",msgstr:["Hoppa \xf6ver"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Hoppa \xf6ver {count} fil","Hoppa \xf6ver {count} filer"]},"Skip this file":{msgid:"Skip this file",msgstr:["Hoppa \xf6ver denna fil"]},"Unknown size":{msgid:"Unknown size",msgstr:["Ok\xe4nd storlek"]},Upload:{msgid:"Upload",msgstr:["Ladda upp"]},"Upload files":{msgid:"Upload files",msgstr:["Ladda upp filer"]},"Upload folders":{msgid:"Upload folders",msgstr:["Ladda upp mappar"]},"Upload from device":{msgid:"Upload from device",msgstr:["Ladda upp fr\xe5n enhet"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Uppladdningen har avbrutits"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Uppladdningen har hoppats \xf6ver"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Uppladdningen av "{folder}" har hoppats \xf6ver']},"Upload progress":{msgid:"Upload progress",msgstr:["Uppladdningsf\xf6rlopp"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["N\xe4r en inkommande mapp v\xe4ljs skrivs \xe4ven alla konfliktande filer i den \xf6ver."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["N\xe4r en inkommande mapp v\xe4ljs skrivs inneh\xe5llet in i den befintliga mappen och en rekursiv konfliktl\xf6sning utf\xf6rs."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Vilka filer vill du beh\xe5lla?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Du kan antingen byta namn p\xe5 filen, hoppa \xf6ver den h\xe4r filen eller avbryta hela operationen."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Du m\xe5ste v\xe4lja minst en version av varje fil f\xf6r att forts\xe4tta."]}}}}},{locale:"sw",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Swahili (https://www.transifex.com/nextcloud/teams/64236/sw/)","Content-Type":"text/plain; charset=UTF-8",Language:"sw","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Swahili (https://www.transifex.com/nextcloud/teams/64236/sw/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sw\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"ta",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Tamil (https://www.transifex.com/nextcloud/teams/64236/ta/)","Content-Type":"text/plain; charset=UTF-8",Language:"ta","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Tamil (https://www.transifex.com/nextcloud/teams/64236/ta/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ta\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"th",json:{charset:"utf-8",headers:{"Last-Translator":"Phongpanot Phairat , 2022","Language-Team":"Thai (Thailand) (https://www.transifex.com/nextcloud/teams/64236/th_TH/)","Content-Type":"text/plain; charset=UTF-8",Language:"th_TH","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nPhongpanot Phairat , 2022\n"},msgstr:["Last-Translator: Phongpanot Phairat , 2022\nLanguage-Team: Thai (Thailand) (https://www.transifex.com/nextcloud/teams/64236/th_TH/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: th_TH\nPlural-Forms: nplurals=1; plural=0;\n"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["เหลืออีก {seconds} วินาที"]},"{time} left":{msgid:"{time} left",comments:{extracted:"time has the format 00:00:00"},msgstr:["เหลืออีก {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["เหลืออีกไม่กี่วินาที"]},Add:{msgid:"Add",msgstr:["เพิ่ม"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["ยกเลิกการอัปโหลด"]},"estimating time left":{msgid:"estimating time left",msgstr:["กำลังคำนวณเวลาที่เหลือ"]},paused:{msgid:"paused",msgstr:["หยุดชั่วคราว"]},"Upload files":{msgid:"Upload files",msgstr:["อัปโหลดไฟล์"]}}}}},{locale:"tk",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Turkmen (https://www.transifex.com/nextcloud/teams/64236/tk/)","Content-Type":"text/plain; charset=UTF-8",Language:"tk","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Turkmen (https://www.transifex.com/nextcloud/teams/64236/tk/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: tk\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"tr",json:{charset:"utf-8",headers:{"Last-Translator":"Kaya Zeren , 2025","Language-Team":"Turkish (https://app.transifex.com/nextcloud/teams/64236/tr/)","Content-Type":"text/plain; charset=UTF-8",Language:"tr","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nKaya Zeren , 2025\n"},msgstr:["Last-Translator: Kaya Zeren , 2025\nLanguage-Team: Turkish (https://app.transifex.com/nextcloud/teams/64236/tr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: tr\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" dosya ya da klas\xf6r adına izin verilmiyor.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" dosya t\xfcr\xfcne izin verilmiyor.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['Bir dosya ya da klas\xf6r adında "{segment}" ifadesine izin verilmiyor.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} dosya \xe7akışması var","{count} dosya \xe7akışması var"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{dirname} klas\xf6r\xfcnde {count} dosya \xe7akışması var","{dirname} klas\xf6r\xfcnde {count} dosya \xe7akışması var"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} saniye kaldı","{seconds} saniye kaldı"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} kaldı"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["bir ka\xe7 saniye kaldı"]},assembling:{msgid:"assembling",msgstr:["birleştiriliyor"]},Cancel:{msgid:"Cancel",msgstr:["İptal"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["T\xfcm işlemi iptal et"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Y\xfcklemeleri iptal et"]},Continue:{msgid:"Continue",msgstr:["İlerle"]},"Create new":{msgid:"Create new",msgstr:["Yeni ekle"]},"estimating time left":{msgid:"estimating time left",msgstr:["\xf6ng\xf6r\xfclen kalan s\xfcre"]},"Existing version":{msgid:"Existing version",msgstr:["Var olan s\xfcr\xfcm"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Par\xe7alar birleştirilemedi"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Dosya y\xfcklenemedi"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Dosya adları "{segment}" ile bitmemeli.']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["İki s\xfcr\xfcm\xfc de se\xe7erseniz, gelen dosyanın adına bir sayı eklenir."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Dosya adı ge\xe7ersiz"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Son değiştirilme tarihi bilinmiyor"]},New:{msgid:"New",msgstr:["Yeni"]},"New filename":{msgid:"New filename",msgstr:["Yeni dosya adı"]},"New version":{msgid:"New version",msgstr:["Yeni s\xfcr\xfcm"]},paused:{msgid:"paused",msgstr:["duraklatıldı"]},"Preview image":{msgid:"Preview image",msgstr:["G\xf6rsel \xf6n izlemesi"]},Rename:{msgid:"Rename",msgstr:["Yeniden adlandır"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["T\xfcm kutuları işaretle"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["T\xfcm var olan dosyaları se\xe7"]},"Select all new files":{msgid:"Select all new files",msgstr:["T\xfcm yeni dosyaları se\xe7"]},Skip:{msgid:"Skip",msgstr:["Atla"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["{count} dosyayı atla","{count} dosyayı atla"]},"Skip this file":{msgid:"Skip this file",msgstr:["Bu dosyayı atla"]},"Unknown size":{msgid:"Unknown size",msgstr:["Boyut bilinmiyor"]},Upload:{msgid:"Upload",msgstr:["Y\xfckle"]},"Upload files":{msgid:"Upload files",msgstr:["Dosyaları y\xfckle"]},"Upload folders":{msgid:"Upload folders",msgstr:["Klas\xf6rleri y\xfckle"]},"Upload from device":{msgid:"Upload from device",msgstr:["Aygıttan y\xfckle"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Y\xfckleme iptal edildi"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Y\xfckleme atlandı"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['"{folder}" klas\xf6r\xfcn\xfcn y\xfcklenmesi atlandı']},"Upload progress":{msgid:"Upload progress",msgstr:["Y\xfckleme ilerlemesi"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Bir gelen klas\xf6r se\xe7ildiğinde, i\xe7indeki \xe7akışan dosyaların da \xfczerine yazılır."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Bir gelen klas\xf6r\xfc se\xe7ildiğinde i\xe7erik var olan klas\xf6re yazılır ve yinelemeli bir \xe7akışma \xe7\xf6z\xfcm\xfc uygulanır."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Hangi dosyaları tutmak istiyorsunuz?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Dosya adını değiştirebilir, bu dosyayı atlayabilir ya da t\xfcm işlemi iptal edebilirsiniz."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["İlerlemek i\xe7in her dosyanın en az bir s\xfcr\xfcm\xfcn\xfc se\xe7melisiniz."]}}}}},{locale:"ug",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Uyghur (https://www.transifex.com/nextcloud/teams/64236/ug/)","Content-Type":"text/plain; charset=UTF-8",Language:"ug","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Uyghur (https://www.transifex.com/nextcloud/teams/64236/ug/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ug\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"uk",json:{charset:"utf-8",headers:{"Last-Translator":"O St , 2025","Language-Team":"Ukrainian (https://app.transifex.com/nextcloud/teams/64236/uk/)","Content-Type":"text/plain; charset=UTF-8",Language:"uk","Plural-Forms":"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nO St , 2025\n"},msgstr:["Last-Translator: O St , 2025\nLanguage-Team: Ukrainian (https://app.transifex.com/nextcloud/teams/64236/uk/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: uk\nPlural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" не є дозволеним ім\'ям файлу або каталогу.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" не є дозволеним типом файлу.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" не дозволене сполучення символів в назві файлу або каталогу.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} конфліктний файл","{count} конфліктних файли","{count} конфліктних файлів","{count} конфліктних файлів"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count} конфліктний файл у каталозі {dirname}","{count} конфліктних файли у каталозі {dirname}","{count} конфліктних файлів у каталозі {dirname}","{count} конфліктних файлів у каталозі {dirname}"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} секунда залишилася","{seconds} секунди залишилося","{seconds} секунд залишилося","{seconds} секунд залишилося"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["Залишилося {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["залишилося кілька секунд"]},assembling:{msgid:"assembling",msgstr:["збірка"]},Cancel:{msgid:"Cancel",msgstr:["Скасувати"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Скасувати операцію повністю"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Скасувати завантаження"]},Continue:{msgid:"Continue",msgstr:["Продовжити"]},"Create new":{msgid:"Create new",msgstr:["Створити новий"]},"estimating time left":{msgid:"estimating time left",msgstr:["оцінка часу, що залишився"]},"Existing version":{msgid:"Existing version",msgstr:["Присутня версія"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Не вдалося зібрати частинки докупи"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Не вдалося завантажити файл"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Ім\'я файлів не можуть закінчуватися на "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Якщо буде вибрано обидві версії, до імени вхідного файлу було додано цифру."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Недійсне ім'я файлу"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Дата останньої зміни невідома"]},New:{msgid:"New",msgstr:["Нове"]},"New filename":{msgid:"New filename",msgstr:["Нове ім'я файлу"]},"New version":{msgid:"New version",msgstr:["Нова версія"]},paused:{msgid:"paused",msgstr:["призупинено"]},"Preview image":{msgid:"Preview image",msgstr:["Попередній перегляд"]},Rename:{msgid:"Rename",msgstr:["Перейменувати"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Вибрати все"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Вибрати усі присутні файли"]},"Select all new files":{msgid:"Select all new files",msgstr:["Вибрати усі нові файли"]},Skip:{msgid:"Skip",msgstr:["Пропустити"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Пропустити {count} файл","Пропустити {count} файли","Пропустити {count} файлів","Пропустити {count} файлів"]},"Skip this file":{msgid:"Skip this file",msgstr:["Пропустити цей файл"]},"Unknown size":{msgid:"Unknown size",msgstr:["Невідомий розмір"]},Upload:{msgid:"Upload",msgstr:["Завантажити"]},"Upload files":{msgid:"Upload files",msgstr:["Завантажити файли"]},"Upload folders":{msgid:"Upload folders",msgstr:["Завантажити каталоги"]},"Upload from device":{msgid:"Upload from device",msgstr:["Завантажити з пристрою"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Завантаження скасовано"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Завантаження пропущено"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Завантаження "{folder}" пропущено']},"Upload progress":{msgid:"Upload progress",msgstr:["Поступ завантаження"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Усі конфліктні файли у вибраному каталозі призначення буде перезаписано поверх."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Якщо буде вибрано вхідний каталог, вміст буде записано до наявного каталогу та вирішено конфлікти у відповідних файлах каталогу та підкаталогів."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Які файли залишити?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Ви можете або перейменувати цей файл, пропустити або скасувати дію з файлом."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Для продовження потрібно вибрати принаймні одну версію для кожного файлу."]}}}}},{locale:"ur_PK",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2022","Language-Team":"Urdu (Pakistan) (https://www.transifex.com/nextcloud/teams/64236/ur_PK/)","Content-Type":"text/plain; charset=UTF-8",Language:"ur_PK","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nTransifex Bot <>, 2022\n"},msgstr:["Last-Translator: Transifex Bot <>, 2022\nLanguage-Team: Urdu (Pakistan) (https://www.transifex.com/nextcloud/teams/64236/ur_PK/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ur_PK\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},"{estimate} seconds left":{msgid:"{estimate} seconds left",msgstr:[""]},"{hours} hours and {minutes} minutes left":{msgid:"{hours} hours and {minutes} minutes left",msgstr:[""]},"{minutes} minutes left":{msgid:"{minutes} minutes left",msgstr:[""]},"a few seconds left":{msgid:"a few seconds left",msgstr:[""]},Add:{msgid:"Add",msgstr:[""]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:[""]},"estimating time left":{msgid:"estimating time left",msgstr:[""]},paused:{msgid:"paused",msgstr:[""]}}}}},{locale:"uz",json:{charset:"utf-8",headers:{"Last-Translator":"Khurshid Ibatov , 2025","Language-Team":"Uzbek (https://app.transifex.com/nextcloud/teams/64236/uz/)","Content-Type":"text/plain; charset=UTF-8",Language:"uz","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nKhurshid Ibatov , 2025\n"},msgstr:["Last-Translator: Khurshid Ibatov , 2025\nLanguage-Team: Uzbek (https://app.transifex.com/nextcloud/teams/64236/uz/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: uz\nPlural-Forms: nplurals=1; plural=0;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" taqiqlangan fayl yoki papka nomidir.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" taqiqlangan fayl turi hisoblanadi.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" fayl yoki papka nomi ichida ruxsat berilmaydi.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} fayllar ziddiyati"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{count}fayl ziddiyatlari {dirname} da"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} soniya qoldi"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} qoldi"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["bir necha soniya qoldi"]},assembling:{msgid:"assembling",msgstr:["yig'ish"]},Cancel:{msgid:"Cancel",msgstr:["Bekor qilish"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Butun operatsiyani bekor qiling"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Yuklashni bekor qilish"]},Continue:{msgid:"Continue",msgstr:["Davom eting"]},"Create new":{msgid:"Create new",msgstr:["Yangi yaratish"]},"estimating time left":{msgid:"estimating time left",msgstr:["qolgan vaqtni hisoblash"]},"Existing version":{msgid:"Existing version",msgstr:["Mavjud versiya"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Bo'laklarni birlashtirib bo'lmadi"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Fayl yuklanmadi"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['Fayl nomlari bilan tugamasligi kerak "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Agar siz ikkala versiyani tanlasangiz, kiruvchi fayl nomiga qo'shilgan raqamga ega bo'ladi."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["Fayl nomi noto‘g‘ri"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Oxirgi tahrirlangan sana noma'lum"]},New:{msgid:"New",msgstr:["Yangi"]},"New filename":{msgid:"New filename",msgstr:["Yangi nom faylga"]},"New version":{msgid:"New version",msgstr:["Yangi versiya"]},paused:{msgid:"paused",msgstr:["tanaffus"]},"Preview image":{msgid:"Preview image",msgstr:["Rasmni oldindan ko'rish"]},Rename:{msgid:"Rename",msgstr:["Qayta nomlash"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Barcha katakchalarni belgilang"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Barcha mavjud fayllarni tanlang"]},"Select all new files":{msgid:"Select all new files",msgstr:["Barcha yangi fayllarni tanlang"]},Skip:{msgid:"Skip",msgstr:["Oʻtkazib yuborish"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Oʻtkazib yuborish {count} fayllarini"]},"Skip this file":{msgid:"Skip this file",msgstr:["Oʻtkazib yuborish ushbu faylni"]},"Unknown size":{msgid:"Unknown size",msgstr:["Noma'lum o'lcham"]},Upload:{msgid:"Upload",msgstr:["Yuklash"]},"Upload files":{msgid:"Upload files",msgstr:["Fayllarni yuklash"]},"Upload folders":{msgid:"Upload folders",msgstr:["Jildlarni yuklash"]},"Upload from device":{msgid:"Upload from device",msgstr:["Qurilmadan yuklash"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Yuklash bekor qilindi"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Yuklash oʻtkazib yuborildi"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:[' "{folder}" ni yuklash bekor qilindi']},"Upload progress":{msgid:"Upload progress",msgstr:["Yuklash jarayoni"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Kiruvchi jild tanlanganda, undagi har qanday ziddiyatli fayllar ham ustiga yoziladi."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Kiruvchi jild tanlanganda, kontent mavjud jildga yoziladi va nizolarni rekursiv hal qilish amalga oshiriladi."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Qaysi fayllarni saqlamoqchisiz?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Siz fayl nomini o'zgartirishingiz, ushbu faylni o'tkazib yuborishingiz yoki butun operatsiyani bekor qilishingiz mumkin."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Davom etish uchun har bir faylning kamida bitta versiyasini tanlashingiz kerak."]}}}}},{locale:"vi",json:{charset:"utf-8",headers:{"Last-Translator":"nhatCreA, 2025","Language-Team":"Vietnamese (https://app.transifex.com/nextcloud/teams/64236/vi/)","Content-Type":"text/plain; charset=UTF-8",Language:"vi","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nnhatCreA, 2025\n"},msgstr:["Last-Translator: nhatCreA, 2025\nLanguage-Team: Vietnamese (https://app.transifex.com/nextcloud/teams/64236/vi/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: vi\nPlural-Forms: nplurals=1; plural=0;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" l\xe0 t\xean thư mục bị cấm đặt.']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" l\xe0 loại tệp bị cấm.']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" kh\xf4ng được ph\xe9p đặt trong t\xean tệp hoặc thư mục.']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} tệp tin xung đột"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:['"{count}" tệp tin lỗi ở thư mục "{dirname}"']},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["{seconds} gi\xe2y trước"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["{time} trước"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["v\xe0i gi\xe2y trước"]},assembling:{msgid:"assembling",msgstr:["đang cấu tr\xfac"]},Cancel:{msgid:"Cancel",msgstr:["Huỷ"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["Huỷ to\xe0n bộ thao t\xe1c"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["Huỷ tải l\xean"]},Continue:{msgid:"Continue",msgstr:["Tiếp Tục"]},"Create new":{msgid:"Create new",msgstr:["Tạo mới"]},"estimating time left":{msgid:"estimating time left",msgstr:["ước t\xednh thời gian c\xf2n lại"]},"Existing version":{msgid:"Existing version",msgstr:["Phi\xean bản hiện tại"]},"Failed to assemble the chunks together":{msgid:"Failed to assemble the chunks together",msgstr:["Kh\xf4ng thể assemble c\xe1c chunks lại với nhau"]},"Failed to upload the file":{msgid:"Failed to upload the file",msgstr:["Tải l\xean tệp tin thất bại"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['T\xean tập tin kh\xf4ng được kết th\xfac bằng "{segment}".']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["Nếu bạn chọn cả hai, tệp tin đến sẽ c\xf3 th\xeam một chữ số v\xe0o t\xean."]},"Invalid filename":{msgid:"Invalid filename",msgstr:["T\xean tệp tin kh\xf4ng hợp lệ"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["Ng\xe0y sửa dổi lần cuối kh\xf4ng x\xe1c định"]},New:{msgid:"New",msgstr:["Tạo Mới"]},"New filename":{msgid:"New filename",msgstr:["T\xean tệp tin mới"]},"New version":{msgid:"New version",msgstr:["Phi\xean bản mới"]},paused:{msgid:"paused",msgstr:["đ\xe3 tạm dừng"]},"Preview image":{msgid:"Preview image",msgstr:["Xem trước ảnh"]},Rename:{msgid:"Rename",msgstr:["Đổi t\xean"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["Chọn tất cả"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["Chọn tất cả c\xe1c tập tin đang tồn tại"]},"Select all new files":{msgid:"Select all new files",msgstr:["Chọn tất cả c\xe1c tập tin mới"]},Skip:{msgid:"Skip",msgstr:["Bỏ qua"]},"Skip {count} file":{msgid:"Skip {count} file",msgid_plural:"Skip {count} files",msgstr:["Bỏ qua {count} tệp"]},"Skip this file":{msgid:"Skip this file",msgstr:["Bỏ qua tệp n\xe0y"]},"Unknown size":{msgid:"Unknown size",msgstr:["Kh\xf4ng r\xf5 dung lượng"]},Upload:{msgid:"Upload",msgstr:["Tải L\xean"]},"Upload files":{msgid:"Upload files",msgstr:["Tải l\xean tệp tin"]},"Upload folders":{msgid:"Upload folders",msgstr:["Tải l\xean thư mục"]},"Upload from device":{msgid:"Upload from device",msgstr:["Tải l\xean từ thiết bị"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["Tải l\xean đ\xe3 bị huỷ"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["Tải l\xean đ\xe3 bỏ qua"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['Tải l\xean "{folder}" đ\xe3 bị bỏ qua']},"Upload progress":{msgid:"Upload progress",msgstr:["Tiến tr\xecnh tải l\xean"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["Khi bạn chọn một thư mục để đưa v\xe0o, bất kỳ tệp n\xe0o trong đ\xf3 g\xe2y xung đột cũng sẽ bị ghi đ\xe8."]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["Khi chọn một thư mục để đưa v\xe0o, nội dung sẽ được ghi v\xe0o thư mục hiện c\xf3, v\xe0 hệ thống sẽ tự động giải quyết c\xe1c xung đột một c\xe1ch chi tiết v\xe0 cẩn thận."]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["Bạn muốn giữ tệp n\xe0o?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["Bạn c\xf3 thể đổi t\xean tệp, bỏ qua tệp n\xe0y, hoặc hủy to\xe0n bộ thao t\xe1c."]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["Bạn cần chọn \xedt nhất một phi\xean bản cho mỗi tệp để tiếp tục."]}}}}},{locale:"zh_CN",json:{charset:"utf-8",headers:{"Last-Translator":"Gloryandel, 2024","Language-Team":"Chinese (China) (https://app.transifex.com/nextcloud/teams/64236/zh_CN/)","Content-Type":"text/plain; charset=UTF-8",Language:"zh_CN","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nGloryandel, 2024\n"},msgstr:["Last-Translator: Gloryandel, 2024\nLanguage-Team: Chinese (China) (https://app.transifex.com/nextcloud/teams/64236/zh_CN/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: zh_CN\nPlural-Forms: nplurals=1; plural=0;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" 是被禁止的文件名或文件夹名。']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" 是被禁止的文件类型。']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" 不允许包含在文件名或文件夹名中。']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count}文件冲突"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["在{dirname}目录下有{count}个文件冲突"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["剩余 {seconds} 秒"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["剩余 {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["还剩几秒"]},Cancel:{msgid:"Cancel",msgstr:["取消"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["取消整个操作"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["取消上传"]},Continue:{msgid:"Continue",msgstr:["继续"]},"Create new":{msgid:"Create new",msgstr:["新建"]},"estimating time left":{msgid:"estimating time left",msgstr:["估计剩余时间"]},"Existing version":{msgid:"Existing version",msgstr:["服务端版本"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['文件名不得以 "{segment}" 结尾。']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["如果同时选择两个版本,则上传文件的名称中将添加一个数字。"]},"Invalid filename":{msgid:"Invalid filename",msgstr:["无效文件名"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["文件最后修改日期未知"]},New:{msgid:"New",msgstr:["新建"]},"New filename":{msgid:"New filename",msgstr:["新文件名"]},"New version":{msgid:"New version",msgstr:["上传版本"]},paused:{msgid:"paused",msgstr:["已暂停"]},"Preview image":{msgid:"Preview image",msgstr:["图片预览"]},Rename:{msgid:"Rename",msgstr:["重命名"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["选择所有的选择框"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["保留所有服务端版本"]},"Select all new files":{msgid:"Select all new files",msgstr:["保留所有上传版本"]},Skip:{msgid:"Skip",msgstr:["跳过"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["跳过{count}个文件"]},"Unknown size":{msgid:"Unknown size",msgstr:["文件大小未知"]},Upload:{msgid:"Upload",msgstr:["上传"]},"Upload files":{msgid:"Upload files",msgstr:["上传文件"]},"Upload folders":{msgid:"Upload folders",msgstr:["上传文件夹"]},"Upload from device":{msgid:"Upload from device",msgstr:["从设备上传"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["上传已取消"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["上传已跳过"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['已跳过上传"{folder}"']},"Upload progress":{msgid:"Upload progress",msgstr:["上传进度"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["当选择上传文件夹时,其中任何冲突的文件也都会被覆盖。"]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["选择上传文件夹后,内容将写入现有文件夹,并递归执行冲突解决。"]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["你要保留哪些文件?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["您可以重命名文件、跳过此文件或取消整个操作。"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["每个文件至少选择保留一个版本"]}}}}},{locale:"zh_HK",json:{charset:"utf-8",headers:{"Last-Translator":"Caf\xe9 Tango, 2025","Language-Team":"Chinese (Hong Kong) (https://app.transifex.com/nextcloud/teams/64236/zh_HK/)","Content-Type":"text/plain; charset=UTF-8",Language:"zh_HK","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\nCaf\xe9 Tango, 2025\n"},msgstr:["Last-Translator: Caf\xe9 Tango, 2025\nLanguage-Team: Chinese (Hong Kong) (https://app.transifex.com/nextcloud/teams/64236/zh_HK/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: zh_HK\nPlural-Forms: nplurals=1; plural=0;\n"]},'"{segment}" is a forbidden file or folder name.':{msgid:'"{segment}" is a forbidden file or folder name.',msgstr:['"{segment}" 是禁止使用的檔案或資料夾名稱。']},'"{segment}" is a forbidden file type.':{msgid:'"{segment}" is a forbidden file type.',msgstr:['"{segment}" 是禁止使用的檔案類型。']},'"{segment}" is not allowed inside a file or folder name.':{msgid:'"{segment}" is not allowed inside a file or folder name.',msgstr:['"{segment}" 不允許出現在檔案或資料夾名稱中。']},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} 個檔案衝突"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{dirname} 中有 {count} 個檔案衝突"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgid_plural:"{seconds} seconds left",msgstr:["剩餘 {seconds} 秒"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["剩餘 {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["還剩幾秒"]},assembling:{msgid:"assembling",msgstr:["組裝"]},Cancel:{msgid:"Cancel",msgstr:["取消"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["取消整個操作"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["取消上傳"]},Continue:{msgid:"Continue",msgstr:["繼續"]},"Create new":{msgid:"Create new",msgstr:["創建新"]},"estimating time left":{msgid:"estimating time left",msgstr:["估計剩餘時間"]},"Existing version":{msgid:"Existing version",msgstr:["既有版本"]},"Failed assembling the chunks together":{msgid:"Failed assembling the chunks together",msgstr:["組裝這些部分時失敗"]},"Failed uploading the file":{msgid:"Failed uploading the file",msgstr:["上傳文件失敗"]},'Filenames must not end with "{segment}".':{msgid:'Filenames must not end with "{segment}".',msgstr:['檔案名不得以 "{segment}" 結尾。']},"If you select both versions, the incoming file will have a number added to its name.":{msgid:"If you select both versions, the incoming file will have a number added to its name.",msgstr:["若您選取兩個版本,傳入檔案的名稱將會新增編號。"]},"Invalid filename":{msgid:"Invalid filename",msgstr:["無效的檔案名"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["最後修改日期不詳"]},New:{msgid:"New",msgstr:["新增"]},"New filename":{msgid:"New filename",msgstr:["新檔案名"]},"New version":{msgid:"New version",msgstr:["新版本 "]},paused:{msgid:"paused",msgstr:["已暫停"]},"Preview image":{msgid:"Preview image",msgstr:["預覽圖片"]},Rename:{msgid:"Rename",msgstr:["重新命名"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["選取所有核取方塊"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["選取所有既有檔案"]},"Select all new files":{msgid:"Select all new files",msgstr:["選取所有新檔案"]},Skip:{msgid:"Skip",msgstr:["跳過"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["略過 {count} 個檔案"]},"Unknown size":{msgid:"Unknown size",msgstr:["大小不詳"]},Upload:{msgid:"Upload",msgstr:["上傳"]},"Upload files":{msgid:"Upload files",msgstr:["上傳檔案"]},"Upload folders":{msgid:"Upload folders",msgstr:["上傳資料夾"]},"Upload from device":{msgid:"Upload from device",msgstr:["從裝置上傳"]},"Upload has been cancelled":{msgid:"Upload has been cancelled",msgstr:["上傳已被取消"]},"Upload has been skipped":{msgid:"Upload has been skipped",msgstr:["上傳已被跳過"]},'Upload of "{folder}" has been skipped':{msgid:'Upload of "{folder}" has been skipped',msgstr:['"{folder}" 的上傳已被跳過']},"Upload progress":{msgid:"Upload progress",msgstr:["上傳進度"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["選取傳入資料夾後,其中任何的衝突檔案都會被覆寫。"]},"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.":{msgid:"When an incoming folder is selected, the content is written into the existing folder and a recursive conflict resolution is performed.",msgstr:["選擇傳入資料夾後,內容將寫入現有資料夾並執行遞歸衝突解決。"]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["您想保留哪些檔案?"]},"You can either rename the file, skip this file or cancel the whole operation.":{msgid:"You can either rename the file, skip this file or cancel the whole operation.",msgstr:["您可以選擇重新命名檔案、跳過此檔案或取消整個操作。"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["您必須為每個檔案都至少選取一個版本以繼續。"]}}}}},{locale:"zh_TW",json:{charset:"utf-8",headers:{"Last-Translator":"黃柏諺 , 2024","Language-Team":"Chinese (Taiwan) (https://app.transifex.com/nextcloud/teams/64236/zh_TW/)","Content-Type":"text/plain; charset=UTF-8",Language:"zh_TW","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJoas Schilling, 2024\n黃柏諺 , 2024\n"},msgstr:["Last-Translator: 黃柏諺 , 2024\nLanguage-Team: Chinese (Taiwan) (https://app.transifex.com/nextcloud/teams/64236/zh_TW/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: zh_TW\nPlural-Forms: nplurals=1; plural=0;\n"]},"{count} file conflict":{msgid:"{count} file conflict",msgid_plural:"{count} files conflict",msgstr:["{count} 個檔案衝突"]},"{count} file conflict in {dirname}":{msgid:"{count} file conflict in {dirname}",msgid_plural:"{count} file conflicts in {dirname}",msgstr:["{dirname} 中有 {count} 個檔案衝突"]},"{seconds} seconds left":{msgid:"{seconds} seconds left",msgstr:["剩餘 {seconds} 秒"]},"{time} left":{msgid:"{time} left",comments:{extracted:"TRANSLATORS time has the format 00:00:00"},msgstr:["剩餘 {time}"]},"a few seconds left":{msgid:"a few seconds left",msgstr:["還剩幾秒"]},Cancel:{msgid:"Cancel",msgstr:["取消"]},"Cancel the entire operation":{msgid:"Cancel the entire operation",msgstr:["取消整個操作"]},"Cancel uploads":{msgid:"Cancel uploads",msgstr:["取消上傳"]},Continue:{msgid:"Continue",msgstr:["繼續"]},"estimating time left":{msgid:"estimating time left",msgstr:["估計剩餘時間"]},"Existing version":{msgid:"Existing version",msgstr:["既有版本"]},"If you select both versions, the copied file will have a number added to its name.":{msgid:"If you select both versions, the copied file will have a number added to its name.",msgstr:["若您選取兩個版本,複製的檔案的名稱將會新增編號。"]},"Last modified date unknown":{msgid:"Last modified date unknown",msgstr:["最後修改日期未知"]},New:{msgid:"New",msgstr:["新增"]},"New version":{msgid:"New version",msgstr:["新版本"]},paused:{msgid:"paused",msgstr:["已暫停"]},"Preview image":{msgid:"Preview image",msgstr:["預覽圖片"]},"Select all checkboxes":{msgid:"Select all checkboxes",msgstr:["選取所有核取方塊"]},"Select all existing files":{msgid:"Select all existing files",msgstr:["選取所有既有檔案"]},"Select all new files":{msgid:"Select all new files",msgstr:["選取所有新檔案"]},"Skip this file":{msgid:"Skip this file",msgid_plural:"Skip {count} files",msgstr:["略過 {count}\xa0檔案"]},"Unknown size":{msgid:"Unknown size",msgstr:["未知大小"]},"Upload cancelled":{msgid:"Upload cancelled",msgstr:["已取消上傳"]},"Upload files":{msgid:"Upload files",msgstr:["上傳檔案"]},"Upload progress":{msgid:"Upload progress",msgstr:["上傳進度"]},"When an incoming folder is selected, any conflicting files within it will also be overwritten.":{msgid:"When an incoming folder is selected, any conflicting files within it will also be overwritten.",msgstr:["選取傳入資料夾後,其中任何的衝突檔案都會被覆寫。"]},"Which files do you want to keep?":{msgid:"Which files do you want to keep?",msgstr:["您想保留哪些檔案?"]},"You need to select at least one version of each file to continue.":{msgid:"You need to select at least one version of each file to continue.",msgstr:["您必須為每個檔案都至少選取一個版本以繼續。"]}}}}}].map(e=>cf.addTranslation(e.locale,e.json));let cm=cf.build(),cg=cm.ngettext.bind(cm),cp=cm.gettext.bind(cm);class c_ extends Error{constructor(e){super(cp("Upload has been cancelled"),{cause:e})}}let cv=(0,uX.YK)().setApp("@nextcloud/upload").detectUser().build();async function cb(e,t,i){let n,r={headers:{},onUploadProgress:()=>{},onUploadRetry:()=>{},retries:5,...i};return n=t instanceof Blob?t:await t(),r.destinationFile&&(r.headers.Destination=r.destinationFile),r.headers["Content-Type"]||(r.headers["Content-Type"]="application/octet-stream"),await aw.Ay.request({method:"PUT",url:e,data:n,signal:r.signal,onUploadProgress:r.onUploadProgress,headers:r.headers,"axios-retry":{retries:r.retries,retryDelay:(e,t)=>ci(e,t,1e3),retryCondition:e=>507!==e.status&&(423===e.status||ce(e)),onRetry:r.onUploadRetry}})}ch(aw.Ay,{retries:0});let cy=function(e,t,i){return 0===t&&e.size<=i?Promise.resolve(new Blob([e],{type:e.type||"application/octet-stream"})):Promise.resolve(new Blob([e.slice(t,t+i)],{type:"application/octet-stream"}))},cF=async function(e,t=5,i=!1){let n;n=i?`${(0,O.$_)()}/public.php/dav/uploads/${uW()}`:(0,O.dC)(`dav/uploads/${(0,j.HW)()?.uid}`);let r=[...Array(16)].map(()=>Math.floor(16*Math.random()).toString(16)).join(""),a=`web-file-upload-${r}`,s=`${n}/${a}`,o=e?{Destination:e}:void 0;return await aw.Ay.request({method:"MKCOL",url:s,headers:o,"axios-retry":{retries:t,retryDelay:(e,t)=>ci(e,t,1e3)}}),cv.debug("Created temporary upload workspace",{url:s}),s},ck=function(e){let t=window.OC?.appConfig?.files?.max_chunk_size;if(t<=0)return 0;if(!Number(t))return 0xa00000;let i=Math.max(Number(t),5242880);return void 0===e?i:Math.max(i,Math.ceil(e/1e4))};var cw=((T=cw||{})[T.INITIALIZED=0]="INITIALIZED",T[T.UPLOADING=1]="UPLOADING",T[T.ASSEMBLING=2]="ASSEMBLING",T[T.FINISHED=3]="FINISHED",T[T.CANCELLED=4]="CANCELLED",T[T.FAILED=5]="FAILED",T);class cC{_source;_file;_isChunked;_chunks;_size;_uploaded=0;_startTime=0;_status=0;_controller;_response=null;constructor(e,t=!1,i,n){const r=Math.min(ck()>0?Math.ceil(i/ck()):1,1e4);this._source=e,this._isChunked=t&&ck()>0&&r>1,this._chunks=this._isChunked?r:1,this._size=i,this._file=n,this._controller=new AbortController}get source(){return this._source}get file(){return this._file}get isChunked(){return this._isChunked}get chunks(){return this._chunks}get size(){return this._size}get startTime(){return this._startTime}set response(e){this._response=e}get response(){return this._response}get uploaded(){return this._uploaded}set uploaded(e){if(e>=this._size){this._status=this._isChunked?2:3,this._uploaded=this._size;return}this._status=1,this._uploaded=e,0===this._startTime&&(this._startTime=new Date().getTime())}get status(){return this._status}set status(e){this._status=e}get signal(){return this._controller.signal}cancel(){this._controller.abort(),this._status=4}}let cA=e=>"FileSystemDirectoryEntry"in window&&e instanceof FileSystemDirectoryEntry,cE=e=>"FileSystemFileEntry"in window&&e instanceof FileSystemFileEntry;class cS extends File{_originalName;_path;_children;constructor(e){super([],dU(e),{type:"httpd/unix-directory",lastModified:0}),this._children=new Map,this._originalName=dU(e),this._path=e}get size(){return this.children.reduce((e,t)=>e+t.size,0)}get lastModified(){return this.children.reduce((e,t)=>Math.max(e,t.lastModified),0)}get originalName(){return this._originalName}get children(){return Array.from(this._children.values())}get webkitRelativePath(){return this._path}getChild(e){return this._children.get(e)??null}async addChildren(e){for(let t of e)await this.addChild(t)}async addChild(e){let t=this._path&&`${this._path}/`;if(cE(e))e=await new Promise((t,i)=>e.file(t,i));else if(cA(e)){let i=e.createReader(),n=await new Promise((e,t)=>i.readEntries(e,t)),r=new cS(`${t}${e.name}`);await r.addChildren(n),this._children.set(e.name,r);return}let i=e.webkitRelativePath??e.name;if(i.includes("/")){if(!i.startsWith(this._path))throw Error(`File ${i} is not a child of ${this._path}`);let n=i.slice(t.length),r=dU(n);if(r===n)this._children.set(r,e);else{let i=n.slice(0,n.indexOf("/"));if(this._children.has(i))await this._children.get(i).addChild(e);else{let n=new cS(`${t}${i}`);await n.addChild(e),this._children.set(i,n)}}}else this._children.set(e.name,e)}}class cx extends dl.m{_done=0;_total=0;_progress=0;_status=0;_startTime=-1;_elapsedTime=0;_speed=-1;_eta=1/0;_cutoffTime=2.5;constructor(e={}){super(),e.start&&this.resume(),e.total&&this.update(0,e.total),this._cutoffTime=e.cutoffTime??2.5}add(e){this.update(this._done+e)}update(e,t){if(2!==this.status)return;t&&t>0&&(this._total=t);let i=e-this._done,n=(Date.now()-this._startTime)/1e3;this._startTime=Date.now(),this._elapsedTime+=n,this._done=e,this._progress=this._done/this._total;let r=this._cutoffTime+n;if(this._elapsedTime>r){let e=n/(n+1/this._cutoffTime),t=this._done-i+(1-e)*i;this._speed=Math.round(t/this._elapsedTime)}else if(-1===this._speed&&this._elapsedTime>n){let t=(this._total-e)/(e/this._elapsedTime);(this._eta!==1/0||t<=2*this._cutoffTime)&&(this._eta=t)}this._speed>0&&(this._eta=Math.round((this._total-this._done)/this._speed)),this.dispatchTypedEvent("update",new CustomEvent("update",{cancelable:!1}))}reset(){this._done=0,this._total=0,this._progress=0,this._elapsedTime=0,this._eta=1/0,this._speed=-1,this._startTime=-1,this._status=0,this.dispatchTypedEvent("reset",new CustomEvent("reset"))}pause(){2===this._status&&(this._status=1,this._elapsedTime+=(Date.now()-this._startTime)/1e3,this.dispatchTypedEvent("pause",new CustomEvent("pause")))}resume(){2!==this._status&&(this._startTime=Date.now(),this._status=2,this.dispatchTypedEvent("resume",new CustomEvent("resume")))}get status(){return this._status}get progress(){return Math.round(1e4*this._progress)/100}get time(){return this._eta}get timeReadable(){if(this._eta===1/0)return cp("estimating time left");if(this._eta<10)return cp("a few seconds left");if(this._eta<60)return cg("{seconds} seconds left","{seconds} seconds left",this._eta,{seconds:this._eta});let e=String(Math.floor(this._eta/3600)).padStart(2,"0"),t=String(Math.floor(this._eta%3600/60)).padStart(2,"0"),i=String(this._eta%60).padStart(2,"0");return cp("{time} left",{time:`${e}:${t}:${i}`})}get speed(){return this._speed}get speedReadable(){return this._speed>0?`${dj(this._speed,!0)}∕s`:""}}class cD{_destinationFolder;_isPublic;_customHeaders;_uploadQueue=[];_jobQueue=new d0({concurrency:(0,aB.F)().files?.chunked_upload?.max_parallel_count??5});_queueSize=0;_queueProgress=0;_queueStatus=0;_eta=new cx;_notifiers=[];constructor(e=!1,t){if(this._isPublic=e,this._customHeaders={},!t){let i;const n=`${da}${dr}`;if(e)i="anonymous";else{const e=(0,j.HW)()?.uid;if(!e)throw Error("User is not logged in");i=e}t=new u9({id:0,owner:i,permissions:u2.ALL,root:dr,source:n})}this.destination=t,cv.debug("Upload workspace initialized",{destination:this.destination,root:this.root,isPublic:e,maxChunksSize:ck()})}get destination(){return this._destinationFolder}set destination(e){if(!e||e.type!==u1.Folder||!e.source)throw Error("Invalid destination folder");cv.debug("Destination set",{folder:e}),this._destinationFolder=e}get root(){return this._destinationFolder.source}get customHeaders(){return structuredClone(this._customHeaders)}setCustomHeader(e,t=""){this._customHeaders[e]=t}deleteCustomerHeader(e){delete this._customHeaders[e]}get queue(){return this._uploadQueue}reset(){this._eta.reset(),(0!==this._uploadQueue.length||0!==this._jobQueue.size)&&(this._uploadQueue.splice(0,this._uploadQueue.length),this._jobQueue.clear(),this._queueSize=0,this._queueProgress=0,this._queueStatus=0,cv.debug("Uploader state reset"))}pause(){this._eta.pause(),this._jobQueue.pause(),this._queueStatus=2,this.updateStats(),cv.debug("Uploader paused")}start(){this._eta.resume(),this._jobQueue.start(),this._queueStatus=1,this.updateStats(),cv.debug("Uploader resumed")}get eta(){return this._eta}get info(){return{size:this._queueSize,progress:this._queueProgress,status:this._queueStatus}}updateStats(){let e=this._uploadQueue.map(e=>e.size).reduce((e,t)=>e+t,0),t=this._uploadQueue.map(e=>e.uploaded).reduce((e,t)=>e+t,0);if(this._eta.update(t,e),this._queueSize=e,this._queueProgress=t,2!==this._queueStatus){let e=this._uploadQueue.find(({status:e})=>[cw.INITIALIZED,cw.UPLOADING,cw.ASSEMBLING].includes(e));this._jobQueue.size>0||e?this._queueStatus=1:(this.eta.reset(),this._queueStatus=0)}}addNotifier(e){this._notifiers.push(e)}_notifyAll(e){for(let t of this._notifiers)try{t(e)}catch(t){cv.warn("Error in upload notifier",{error:t,source:e.source})}}batchUpload(e,t,i){return i||(i=async e=>e),new dH(async(n,r,a)=>{let s=new cS("");await s.addChildren(t);let o=`${this.root.replace(/\/$/,"")}/${e.replace(/^\//,"")}`,l=new cC(o,!1,0,s);l.status=cw.UPLOADING,this._uploadQueue.push(l),cv.debug("Starting new batch upload",{target:o});try{let t=ds(this.root,this._customHeaders),r=this.uploadDirectory(e,s,i,t);a(()=>r.cancel());let o=await r;l.status=cw.FINISHED,n(o)}catch(e){(0,aw.FZ)(e)||e instanceof c_?(cv.info("Upload cancelled by user",{error:e}),l.status=cw.CANCELLED,r(new c_(e))):(cv.error("Error in batch upload",{error:e}),l.status=cw.FAILED,r(e))}finally{this._notifyAll(l),this.updateStats()}})}createDirectory(e,t,i){let n=(0,dq.normalize)(`${e}/${t.name}`).replace(/\/$/,""),r=`${this.root.replace(/\/$/,"")}/${n.replace(/^\//,"")}`;if(!t.name)throw Error("Can not create empty directory");let a=new cC(r,!1,0,t);return this._uploadQueue.push(a),new dH(async(e,r,s)=>{let o=new AbortController;s(()=>o.abort()),a.signal.addEventListener("abort",()=>r(cp("Upload has been cancelled"))),await this._jobQueue.add(async()=>{a.status=cw.UPLOADING;try{await i.createDirectory(n,{signal:o.signal}),e(a)}catch(i){(0,aw.FZ)(i)||i instanceof c_?(a.status=cw.CANCELLED,r(new c_(i))):i&&"object"==typeof i&&"status"in i&&405===i.status?(cv.debug("Directory already exists, writing into it",{directory:t.name}),a.status=cw.FINISHED,e(a)):(a.status=cw.FAILED,r(i))}finally{this._notifyAll(a),this.updateStats()}})})}uploadDirectory(e,t,i,n){let r=(0,dq.normalize)(`${e}/${t.name}`).replace(/\/$/,"");return new dH(async(a,s,o)=>{let l=new AbortController;o(()=>l.abort());let u=await i(t.children,r);if(!1===u){cv.debug("Upload canceled by user",{directory:t}),s(new c_("Conflict resolution cancelled by user"));return}if(0===u.length&&t.children.length>0){cv.debug("Skipping directory, as all files were skipped by user",{directory:t}),a([]);return}let d=[],c=[];l.signal.addEventListener("abort",()=>{d.forEach(e=>e.cancel()),c.forEach(e=>e.cancel())}),cv.debug("Start directory upload",{directory:t});try{for(let a of(t.name&&(c.push(this.createDirectory(e,t,n)),await c.at(-1)),u))a instanceof cS?d.push(this.uploadDirectory(r,a,i,n)):c.push(this.upload(`${r}/${a.name}`,a));let s=await Promise.all(c),o=await Promise.all(d);a([s,...o].flat())}catch(e){l.abort(e),s(e)}})}upload(e,t,i,n=5){i=i||this.root;let r=`${i.replace(/\/$/,"")}/${e.replace(/^\//,"")}`,{origin:a}=new URL(r),s=a+dz(r.slice(a.length));return this.eta.resume(),cv.debug(`Uploading ${t.name} to ${s}`),new dH(async(e,i,a)=>{cE(t)&&(t=await new Promise(e=>t.file(e,i)));let o=t,l=(0,aB.F)().dav?.public_shares_chunking??!1,u=ck("size"in o?o.size:void 0),d=this._isPublic&&!l||0===u||"size"in o&&o.size{try{c.response=await cb(s,t,{signal:c.signal,onUploadProgress:({bytes:e})=>{c.uploaded+=.9*e,this.updateStats()},onUploadRetry:()=>{c.uploaded=0,this.updateStats()},headers:{...this._customHeaders,...this._mtimeHeader(o),"Content-Type":o.type}}),c.uploaded=c.size,this.updateStats(),cv.debug(`Successfully uploaded ${o.name}`,{file:o,upload:c}),e(c)}catch(e){if((0,aw.FZ)(e)||e instanceof c_){c.status=cw.CANCELLED,i(new c_(e));return}e?.response&&(c.response=e.response),c.status=cw.FAILED,cv.error(`Failed uploading ${o.name}`,{error:e,file:o,upload:c}),i(cp("Failed to upload the file"))}this._notifyAll(c)};this._jobQueue.add(n),this.updateStats()}else{cv.debug("Initializing chunked upload",{file:o,upload:c});let t=await cF(s,n,this._isPublic),r=[];for(let e=0;ecy(o,i,u),d=()=>{let r=0;return cb(`${t}/${e+1}`,l,{signal:c.signal,destinationFile:s,retries:n,onUploadProgress:({bytes:e})=>{let t=.9*e;r+=t,c.uploaded+=t,this.updateStats()},onUploadRetry:()=>{c.uploaded-=r,r=0,this.updateStats()},headers:{...this._customHeaders,...this._mtimeHeader(o),"OC-Total-Length":o.size,"Content-Type":"application/octet-stream"}}).then(()=>{c.uploaded+=a-i-r,this.updateStats()}).catch(t=>{if(t?.response?.status===507)throw cv.error("Upload failed, not enough space on the server or quota exceeded. Cancelling the remaining chunks",{error:t,upload:c}),c.cancel(),c.status=cw.FAILED,t;throw(0,aw.FZ)(t)||(cv.error(`Chunk ${e+1} ${i} - ${a} uploading failed`,{error:t,upload:c}),c.cancel(),c.status=cw.FAILED),t})};r.push(this._jobQueue.add(d))}let a=async()=>{try{await Promise.all(r),c.status=cw.ASSEMBLING,this.updateStats(),c.response=await aw.Ay.request({method:"MOVE",url:`${t}/.file`,headers:{...this._customHeaders,...this._mtimeHeader(o),"OC-Total-Length":o.size,Destination:s}}),c.status=cw.FINISHED,this.updateStats(),cv.debug(`Successfully uploaded ${o.name}`,{file:o,upload:c}),e(c)}catch(e){(0,aw.FZ)(e)||e instanceof c_?(c.status=cw.CANCELLED,i(new c_(e))):(c.status=cw.FAILED,i(cp("Failed to assemble the chunks together"))),aw.Ay.request({method:"DELETE",url:`${t}`})}finally{this._notifyAll(c)}};this._jobQueue.add(a)}return this._jobQueue.onIdle().then(()=>this.reset()),c})}_mtimeHeader(e){let t=Math.floor(e.lastModified/1e3);return t>0?{"X-OC-Mtime":t}:{}}}function cT(e=uq(),t=!1){return(t||void 0===window._nc_uploader)&&(window._nc_uploader=new cD(e)),window._nc_uploader}function cM({message:e,token:t,uploadId:i,index:n,file:r,localUrl:a,messageType:s=rL,actorId:o,actorType:l,actorDisplayName:u,parent:d,silent:c=!1,threadId:h,threadTitle:f,threadReplies:m,isThread:g}){let p="temp-"+new Date().getTime(),_={};return r&&(p+="-"+i+"-"+Math.random(),_.file={type:"file",file:r,mimetype:r.type,id:p,name:r.newName||r.name,uploadId:i,localUrl:a,index:n}),{id:p,token:t,timestamp:0,expirationTimestamp:0,systemMessage:"",markdown:aG(t,"markdown-messages"),messageType:s,message:e,messageParameters:_,parent:d,isReplyable:!1,reactions:{},referenceId:sM().stringify(sB()(p)),actorId:o,actorType:l,actorDisplayName:u,silent:c,threadId:h,threadTitle:f,threadReplies:m,isThread:g}}function cI(){let e=of();return{createTemporaryMessage:function(t){return cM({...t,actorId:e.actorId??"",actorType:e.actorType??"",actorDisplayName:e.displayName})}}}function cB(){return(0,uG.UU)((0,O.dC)("dav"),{headers:{requesttoken:(0,j.do)()||""}})}async function cP({path:e,shareWith:t,referenceId:i,talkMetaData:n}){return aw.Ay.post((0,O.KT)("apps/files_sharing/api/v1/shares"),{shareType:r8,path:e,shareWith:t,referenceId:i,talkMetaData:n})}async function cL(){return aw.Ay.get((0,O.KT)("apps/files/api/v1/templates"))}async function cN({filePath:e,templatePath:t,templateType:i}){return aw.Ay.post((0,O.KT)("apps/files/api/v1/templates/create"),{filePath:e,templatePath:t,templateType:i})}async function cR(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/settings/user"),{key:"attachment_folder",value:e})}async function cj(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/settings/user"),{key:"read_status_privacy",value:e})}async function cO(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/settings/user"),{key:"typing_privacy",value:e})}async function cz(e,t){if(e)return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/settings/user"),{key:"play_sounds",value:t});ak.setItem("play_sounds",t)}async function cU(e){return c$("spreed","calls_start_without_media",e?"yes":"no")}async function cq(e){return c$("spreed","blur_virtual_background",e?"yes":"no")}async function cW(e){return c$("spreed","conversations_list_style",e)}async function cV(e){return c$("spreed","chat_style",e)}async function cH(e,t){if(e)return c$("spreed","live_transcription_target_language_id",t);try{ak.setItem("liveTranscriptionTargetLanguageId",t)}catch(e){return!1}return!0}async function c$(e,t,i){return aw.Ay.post((0,O.KT)("apps/provisioning_api/api/v1/config/users/{appId}/{configKey}",{appId:e,configKey:t}),{configValue:i})}let cG=void 0!==aX("local","chat","style"),cX=!!(0,j.HW)()?.uid,cK=nO("settings",()=>{let e=(0,z.KR)((0,X.C)("spreed","read_status_privacy",an)),t=(0,z.KR)((0,X.C)("spreed","typing_privacy",an)),i=(0,z.KR)("false"!==ak.getItem("showMediaSettings")),n=(0,z.KR)("false"!==ak.getItem("noiseSuppression")),r=(0,z.KR)("false"!==ak.getItem("echoCancellation")),a=(0,z.KR)("false"!==ak.getItem("autoGainControl")),s=(0,z.KR)(aX("local","call","start-without-media")),o=(0,z.KR)(aX("local","call","blur-virtual-background")),l=(0,z.KR)(aX("local","conversations","list-style")),u=(0,z.KR)(cG?aX("local","chat","style")??"split":"unified"),d=(0,z.KR)(aX("local","call","live-transcription-target-language-id"));cX||null===ak.getItem("liveTranscriptionTargetLanguageId")||(d.value=ak.getItem("liveTranscriptionTargetLanguageId"));let c=(0,z.KR)((0,X.C)("spreed","attachment_folder",""));async function h(t){await cj(t),e.value=t}async function f(e){await cO(e),t.value=e}function m(e){ak.setItem("showMediaSettings",e.toString()),i.value=e}function g(e){ak.setItem("noiseSuppression",e.toString()),n.value=e}function p(e){ak.setItem("echoCancellation",e.toString()),r.value=e}function _(e){ak.setItem("autoGainControl",e.toString()),a.value=e}async function b(e){await cq(e),o.value=e}async function y(e){await cU(e),s.value=e}async function F(e){await cW(e),l.value=e}async function k(e){await cR(e),c.value=e}async function w(e){await cV(e),u.value=e}async function C(e){await cH(cX,e),d.value=e}return{readStatusPrivacy:e,typingStatusPrivacy:t,showMediaSettings:i,noiseSuppression:n,echoCancellation:r,autoGainControl:a,startWithoutMedia:s,blurVirtualBackgroundEnabled:o,conversationsListStyle:l,attachmentFolder:c,attachmentFolderFreeSpace:(0,z.KR)((0,X.C)("spreed","attachment_folder_free_space",0)),chatStyle:u,liveTranscriptionTargetLanguageId:d,updateReadStatusPrivacy:h,updateTypingStatusPrivacy:f,setShowMediaSettings:m,setNoiseSuppression:g,setEchoCancellation:p,setAutoGainControl:_,setBlurVirtualBackgroundEnabled:b,updateStartWithoutMedia:y,updateConversationsListStyle:F,updateAttachmentFolder:k,updateChatStyle:w,updateLiveTranscriptionTargetLanguageId:C}}),cY=/\.[0-9a-z]+$/i,cQ=/ \(\d+\)$/;function cZ(e){return e.match(cY)?.[0]??""}function cJ(e){return parseInt(e.replace(cY,"").match(cQ)?.[0]?.match(/\d+/)?.[0]??1)}function c0(e){return e.replace(cY,"").replace(cQ,"")}function c1(e){return c0(e)+cZ(e)}async function c2(e,t,i,n){if(!n&&await e.exists(t+i)===!1)return{uniquePath:i,suffix:cJ(i)};let r=cZ(i),a=c0(i),s=n||cJ(i);for(;;){s++;let i=a+` (${s})`+r;if(await e.exists(t+i)===!1)return{uniquePath:i,suffix:s}}}function c3(e){let t=e.map(([e,{file:t}])=>c1(t.newName||t.name)),i=new Set(t);return t.length!==i.size}function c4(e){let t=new Set,i=[],n=[];for(let r of e){let e=c1(r.at(1).file.newName||r.at(1).file.name);t.has(e)?n.push(r):(i.push(r),t.add(e))}return{uniques:i,duplicates:n}}async function c6(e){try{let t=await e.response.text(),i=new DOMParser().parseFromString(t,"application/xml").getElementsByTagName("s:message")[0];return i?.textContent}catch(e){console.error((0,K.t)("spreed","Error while parsing a PROPFIND error"))}}let c5={getUploadsArray:e=>t=>e.uploads[t]?Object.entries(e.uploads[t].files):[],getInitialisedUploads:(e,t)=>e=>t.getUploadsArray(e).filter(([e,t])=>"initialised"===t.status),getPendingUploads:(e,t)=>e=>t.getUploadsArray(e).filter(([e,t])=>"pendingUpload"===t.status),getFailedUploads:(e,t)=>e=>t.getUploadsArray(e).filter(([e,t])=>"failedUpload"===t.status),getUploadingFiles:(e,t)=>e=>t.getUploadsArray(e).filter(([e,t])=>"uploading"===t.status),getShareableFiles:(e,t)=>e=>t.getUploadsArray(e).filter(([e,t])=>"successUpload"===t.status),getLocalUrl:e=>t=>e.localUrls[t],getUploadFile:e=>(t,i)=>e.uploads[t]?.files[i],currentUploadId:e=>e.currentUploadId,areFileTemplatesInitialised:e=>e.fileTemplatesInitialised,fileTemplates:e=>e.fileTemplates},c8={state:function e(){return{uploads:{},currentUploadId:void 0,localUrls:{},fileTemplatesInitialised:!1,fileTemplates:[]}},mutations:{addFileToBeUploaded(e,{file:t,temporaryMessage:i,localUrl:n,token:r}){let a=i.messageParameters.file.uploadId,s=i.messageParameters.file.index;e.uploads[a]||(e.uploads[a]={token:r,files:{}}),e.uploads[a].files[s]={file:t,status:"initialised",totalSize:t.size,temporaryMessage:i},n&&(e.localUrls[i.referenceId]=n)},markFileAsInitializedUpload(e,{uploadId:t,index:i}){e.uploads[t].files[i].status="initialised"},markFileAsPendingUpload(e,{uploadId:t,index:i,sharePath:n}){e.uploads[t].files[i].status="pendingUpload",e.uploads[t].files[i].sharePath=n},markFileAsFailedUpload(e,{uploadId:t,index:i,status:n}){e.uploads[t].files[i].status="failedUpload"},markFileAsSuccessUpload(e,{uploadId:t,index:i,sharePath:n}){e.uploads[t].files[i].status="successUpload"},markFileAsUploading(e,{uploadId:t,index:i}){e.uploads[t].files[i].status="uploading"},markFileAsSharing(e,{uploadId:t,index:i}){e.uploads[t].files[i].status="sharing"},markFileAsShared(e,{uploadId:t,index:i}){e.uploads[t].files[i].status="shared"},setTemporaryMessageForFile(e,{uploadId:t,index:i,temporaryMessage:n}){console.debug("uploadId: "+t+" index: "+i),e.uploads[t].files[i].temporaryMessage=n},setCurrentUploadId(e,t){e.currentUploadId=t},removeFileFromSelection(e,t){let i=e.currentUploadId;for(let n in e.uploads[i].files)e.uploads[i].files[n].temporaryMessage.id===t&&delete e.uploads[i].files[n]},discardUpload(e,{uploadId:t}){delete e.uploads[t]},storeFilesTemplates(e,t){e.fileTemplates=t,e.fileTemplatesInitialised=!0},markFileTemplatesInitialised(e){e.fileTemplatesInitialised=!0}},getters:c5,actions:{initialiseUpload(e,{uploadId:t,token:i,threadId:n,files:r,rename:a=!1,isVoiceMessage:s}){e.commit("setCurrentUploadId",t);let{createTemporaryMessage:o}=cI(e);for(let l=0;l{let u=l.file.newName||l.file.name,d=a.attachmentFolder+"/"+u;try{let t=c1(d),a=o[t],{uniquePath:l,suffix:u}=await c2(n,s,d,a);o[t]=u,e.commit("markFileAsPendingUpload",{uploadId:i,index:r,sharePath:l})}catch(a){if(console.error('Error while uploading file "%s": %s',u,a.message),a.response){let e=await c6(a);e?(0,$.s)(e):(0,$.s)((0,K.t)("spreed",'Error while uploading file "{fileName}"',{fileName:u}))}e.commit("markFileAsFailedUpload",{uploadId:i,index:r});let{id:n}=l.temporaryMessage;e.dispatch("markTemporaryMessageAsFailed",{token:t,id:n,uploadId:i,reason:"failed-upload"})}},u=e.getters.getInitialisedUploads(i);if(c3(u)){let{uniques:e,duplicates:t}=c4(u);for(let i of(await Promise.all(e.map(l)),t))await l(i)}else await Promise.all(u.map(l))},async processUpload(e,{token:t,uploadId:i}){let n=async([n,r])=>{let a=r.file,s=a.newName||a.name;try{e.commit("markFileAsUploading",{uploadId:i,index:n});let t=cT();await t.upload(r.sharePath,a),e.commit("markFileAsSuccessUpload",{uploadId:i,index:n})}catch(l){let a="failed-upload";l.response?(console.error('Error while uploading file "%s": %s',s,l.message),507===l.response.status?(a="quota",(0,$.s)((0,K.t)("spreed",'Not enough free space to upload file "{fileName}"',{fileName:s}))):(0,$.s)((0,K.t)("spreed",'Error while uploading file "{fileName}"',{fileName:s}))):(console.error('Error while uploading file "%s": %s',s,l.message),(0,$.s)((0,K.t)("spreed",'Error while uploading file "{fileName}"',{fileName:s}))),e.commit("markFileAsFailedUpload",{uploadId:i,index:n});let{id:o}=r.temporaryMessage;e.dispatch("markTemporaryMessageAsFailed",{token:t,id:o,uploadId:i,reason:a})}},r=e.getters.getPendingUploads(i);await Promise.all(r.map(n))},async shareFiles(e,{token:t,uploadId:i,lastIndex:n,caption:r,options:a}){for await(let s of e.getters.getShareableFiles(i)){if(!s)continue;let[o,l]=s,{id:u,messageType:d,referenceId:c}=l.temporaryMessage||{},h=JSON.stringify(Object.assign(d!==rL?{messageType:d}:{},r&&o===n?{caption:r}:{},a?.silent?{silent:a.silent}:{},a?.threadId?{threadId:a.threadId}:{},a?.threadTitle?{threadTitle:a.threadTitle}:{},a?.parent?{replyTo:a.parent.id}:{}));await e.dispatch("shareFile",{token:t,path:l.sharePath,index:o,uploadId:i,id:u,referenceId:c,talkMetaData:h})}},async shareFile(e,{token:t,path:i,index:n,uploadId:r,id:a,referenceId:s,talkMetaData:o}){try{r&&e.dispatch("markFileAsSharing",{uploadId:r,index:n}),await cP({path:i,shareWith:t,referenceId:s,talkMetaData:o}),r&&e.dispatch("markFileAsShared",{uploadId:r,index:n})}catch(i){console.error("Error while sharing file: ",i),i?.response?.status===403?(0,$.s)((0,K.t)("spreed","You are not allowed to share files")):i?.response?.data?.ocs?.meta?.message?(0,$.s)(i.response.data.ocs.meta.message):(0,$.s)((0,K.t)("spreed","Error while sharing file")),r&&e.dispatch("markTemporaryMessageAsFailed",{token:t,id:a,uploadId:r,reason:"failed-share"})}},retryUploadFiles(e,{token:t,uploadId:i,caption:n}){e.getters.getFailedUploads(i).forEach(([n,r])=>{e.dispatch("removeTemporaryMessageFromStore",{token:t,id:r.temporaryMessage.id}),e.commit("markFileAsInitializedUpload",{uploadId:i,index:n})}),n&&oQ().setChatInput({token:t,text:n}),e.commit("setCurrentUploadId",i)},markFileAsSharing({commit:e,state:t},{uploadId:i,index:n}){if("successUpload"!==t.uploads[i].files[n].status)throw Error("Item is already being shared");e("markFileAsSharing",{uploadId:i,index:n})},markFileAsShared(e,{uploadId:t,index:i}){e.commit("markFileAsShared",{uploadId:t,index:i})},removeFileFromSelection({commit:e},t){e("removeFileFromSelection",t)},async getFileTemplates({commit:e,getters:t}){if(t.fileTemplates.length){console.debug("Skip file templates setup as already done"),e("markFileTemplatesInitialised");return}if(null===of().userId){console.debug("Skip file templates setup for participants that are not logged in"),e("markFileTemplatesInitialised");return}try{let t=await cL();e("storeFilesTemplates",t.data.ocs.data)}catch(e){console.error("An error happened when trying to load the templates",e)}}}};var c9=__webpack_require__(88055),c7=__webpack_require__.n(c9);let he={[n0]:ag.USER,[n9]:ag.FEDERATED_USER,[n2]:ag.EMAIL,[n1]:ag.GUEST},ht=[rE,rS,rx,rA,r_,rv,rM,rI];function hi(e,t){return t===ATTENDEE.ACTOR_TYPE.GUESTS?`${MENTION.TYPE.GUEST}/${e}`:e}function hn(e){return he[e]??MENTION.TYPE.GUEST}function hr(e){return e.systemMessage===ry&&e.actorType===n1&&e.actorId===rr||ht.includes(e.systemMessage)}function ha(e,t){for(let i of t)if(e.has(i))return!0;return!1}function hs(e,t){return t?t===e.threadId:!e.isThread||e.id===e.threadId||e.id.toString().startsWith("temp-")}function ho(e){return Array.from(e).filter(e=>Number.isInteger(e))}let hl=nO("chat",()=>{let e=ed(),t=oQ(),i=(0,z.Kh)({}),n=(0,z.Kh)({}),r=(0,z.Kh)({});function a(t,{messageId:r=0,threadId:o=0}={messageId:0,threadId:0}){if(!e.state.messagesStore.messages[t]||!i[t])return[];if(o){if(!n[t]?.[o])return[];let e=r<=0?n[t][o][0]:n[t][o].find(e=>e.has(r))??n[t][o][0];return s(t,e,o)}let l=r<=0?i[t][0]:i[t].find(e=>e.has(r))??i[t][0];return s(t,l)}function s(t,i,n){return Array.from(i).sort((e,t)=>e-t).reduce((i,r)=>{let a=e.state.messagesStore.messages[t][r];return a&&!hr(a)&&hs(a,n)&&i.push(a),i},[])}function o(e,{messageId:t=0,threadId:r=0}={messageId:0,threadId:0}){return r?!!n[e]?.[r]&&-1!==n[e][r].findIndex(e=>e.has(t)):!!i[e]&&-1!==i[e].findIndex(e=>e.has(t))}function l(e,{messageId:t=0,threadId:r=0}={messageId:0,threadId:0}){return i[e]?r?o(e,{messageId:r,threadId:r})?r:Math.min(...ho(t<=0?n[e][r][0]:n[e][r].find(e=>e.has(t))??n[e][r][0])):Math.min(...ho(t<=0?i[e][0]:i[e].find(e=>e.has(t))??i[e][0])):t}function u(e,{messageId:t=0,threadId:r=0}={messageId:0,threadId:0}){let a;return((r?n[e][r]?.length:i[e]?.length)??0)<=1||(a=r?t<=0?n[e][r][0]:n[e][r].find(e=>e.has(t))??n[e][r][0]:t<=0?i[e][0]:i[e].find(e=>e.has(t))??i[e][0]).size>10}function d(e,{messageId:t=0,threadId:r=0}={messageId:0,threadId:0}){return i[e]?r?n[e]?.[r]?Math.max(...ho(t<=0?n[e][r][0]:n[e][r].find(e=>e.has(t))??n[e][r][0])):r:Math.max(...ho(t<=0?i[e][0]:i[e].find(e=>e.has(t))??i[e][0])):t}function c(e){return r[e]}function h(e,t){r[e]=t}function f(t,{messageId:i=0,threadId:n=0}={messageId:0,threadId:0}){let r=e.state.messagesStore.messages[t][i];if(r)return hs(r,n)?i:a(t,{messageId:i,threadId:n}).at(-1)?.id}function m(n,r,a){let s={},l=r.reduce((e,t)=>(t.token!==n?console.error('processChatBlocks: message token "%s" mismatch called token "%s" \n If you see this, please report issue to developers on Github',t.token,n):(e.add(t.id),t.isThread&&t.threadId&&(s[t.threadId]||(s[t.threadId]=new Set),s[t.threadId].add(t.id))),e),new Set);if(a?.threadId)return void g(n,a.threadId,l,a);if(a?.mergeBy){l.add(a.mergeBy);let r=Object.keys(s);if(r.length){let l=i[n]?.find(e=>e.has(a.mergeBy));r.forEach(i=>{let r=t.getThread(n,+i)?.last?.id;if(r&&o(n,{messageId:r,threadId:+i}))return void s[i].add(r);if(l)for(let t of l){let r=e.state.messagesStore.messages[n][t];if(r&&r.threadId===+i){s[r.threadId].add(t);break}}})}}i[n]=p(i[n],l),Object.entries(s).forEach(([e,t])=>{g(n,e,t)})}function g(e,t,i,r){if(n[e]||(n[e]={}),!n[e][t]){n[e][t]=[i];return}r?.mergeBy&&i.add(r.mergeBy),n[e][t]=p(n[e][t],i)}function p(e,t){if(!e||0===e.length)return[t];let i=!1,n=e.reduce((e,n)=>(!i&&_(n,t)&&(i=!0),0!==e.length&&i&&_(e[e.length-1],n)||e.push(n),e),[]);if(!i){let e=Math.max(...t),i=n.findIndex(t=>Math.max(...t)(r.forEach(e=>t.delete(e)),t.size>0&&e.push(t),e),[]),0===i[e].length&&delete i[e];let a=Object.keys(n[e]||{}),s={};for(let t of a)s[t]=n[e][t].reduce((e,t)=>(r.forEach(e=>t.delete(e)),t.size>0&&e.push(t),e),[]),0===s[t].length&&delete s[t];0===Object.keys(s).length?delete n[e]:n[e]=s}function F(e,t){if(!i[e])return;let r=i[e].findIndex(e=>Math.max(...e)Math.max(...e){let e=(0,K.t)("spreed","Guest"),t=(0,z.KR)({});function i(i,n){return t.value[i]?.[n]??e}function n(t,n){let r=i(t,n);return r===e?r:(0,K.t)("spreed","{guest} (guest)",{guest:r})}function r({token:i,actorId:n,actorDisplayName:r},{noUpdate:a}){if(t.value[i]||(t.value[i]={}),t.value[i][n]&&""!==r){if(a)return}else t.value[i][n]=e;r&&(t.value[i][n]=r)}async function a(e,t){if(!t)return;let n=of(),a=n.actorId,s=i(e,a);try{n.setDisplayName(t),r({token:e,actorId:a,actorDisplayName:t},{noUpdate:!1}),await on(e,t),(0,j.L$)(t)}catch(t){n.setDisplayName(s),r({token:e,actorId:a,actorDisplayName:s},{noUpdate:!1}),console.error(t)}}return{guestUserName:(0,z.KR)((0,j.P$)()||""),getGuestName:i,getGuestNameWithGuestSuffix:n,addGuestName:r,submitGuestUsername:a}});async function hd({token:e,question:t,options:i,resultMode:n,maxVotes:r,threadId:a}){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/poll/{token}",{token:e}),{question:t,options:i,resultMode:n,maxVotes:r,draft:!1,threadId:a})}async function hc({token:e,question:t,options:i,resultMode:n,maxVotes:r}){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/poll/{token}",{token:e}),{question:t,options:i,resultMode:n,maxVotes:r,draft:!0})}async function hh({token:e,pollId:t,question:i,options:n,resultMode:r,maxVotes:a}){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/poll/{token}/draft/{pollId}",{token:e,pollId:t}),{question:i,options:n,resultMode:r,maxVotes:a})}async function hf(e){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/poll/{token}/drafts",{token:e}))}async function hm(e,t){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/poll/{token}/{pollId}",{token:e,pollId:t}))}async function hg(e,t,i){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/poll/{token}/{pollId}",{token:e,pollId:t}),{optionIds:i})}async function hp(e,t){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/poll/{token}/{pollId}",{token:e,pollId:t}))}async function h_(e,t){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/poll/{token}/{pollId}",{token:e,pollId:t}))}let hv=nO("polls",{state:()=>({polls:{},drafts:{},debouncedFunctions:{},activePoll:null,pollToastsQueue:{}}),getters:{getPoll:e=>(t,i)=>e.polls[t]?.[i],getDrafts:e=>t=>Object.values(Object(e.drafts[t])),draftsLoaded:e=>t=>void 0!==e.drafts[t],isNewPoll:e=>t=>void 0!==e.pollToastsQueue[t]},actions:{addPoll({token:e,poll:t}){this.polls[e]||(this.polls[e]={}),this.polls[e][t.id]=t},addPollDraft({token:e,draft:t}){this.drafts[e]||(this.drafts[e]={}),this.drafts[e][t.id]=t},async getPollDrafts(e){try{let t=await hf(e);if(0===t.data.ocs.data.length){this.drafts[e]={};return}for(let i of t.data.ocs.data)this.addPollDraft({token:e,draft:i})}catch(e){console.error(e)}},deleteDraft({token:e,pollId:t}){this.drafts[e]?.[t]&&delete this.drafts[e][t]},async getPollData({token:e,pollId:t}){try{let i=await hm(e,t);this.addPoll({token:e,poll:i.data.ocs.data})}catch(e){console.error(e)}},debounceGetPollData({token:e,pollId:t}){if(this.debouncedFunctions[e]||(this.debouncedFunctions[e]={}),!this.debouncedFunctions[e]?.[t]){let i=(0,Y.A)(async()=>{await this.getPollData({token:e,pollId:t})},5e3);this.debouncedFunctions[e][t]=i}this.debouncedFunctions[e][t]()},async createPoll({token:e,form:t,threadId:i}){try{let n=await hd({token:e,...t,threadId:i});return this.addPoll({token:e,poll:n.data.ocs.data}),n.data.ocs.data}catch(e){console.error(e)}},async createPollDraft({token:e,form:t}){try{let i=await hc({token:e,...t});return this.addPollDraft({token:e,draft:i.data.ocs.data}),(0,$.i)((0,K.t)("spreed","Poll draft has been saved")),i.data.ocs.data}catch(e){(0,$.s)((0,K.t)("spreed","An error occurred while saving the draft")),console.error(e)}},async updatePollDraft({token:e,pollId:t,form:i}){try{let n=await hh({token:e,pollId:t,...i});return this.addPollDraft({token:e,draft:n.data.ocs.data}),(0,$.i)((0,K.t)("spreed","Poll draft has been saved")),n.data.ocs.data}catch(e){(0,$.s)((0,K.t)("spreed","An error occurred while saving the draft")),console.error(e)}},async submitVote({token:e,pollId:t,optionIds:i}){try{let n=await hg(e,t,i);this.addPoll({token:e,poll:n.data.ocs.data})}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while submitting your vote"))}},async endPoll({token:e,pollId:t}){try{let i=await hp(e,t);this.addPoll({token:e,poll:i.data.ocs.data})}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while ending the poll"))}},async deletePollDraft({token:e,pollId:t}){try{await h_(e,t),this.deleteDraft({token:e,pollId:t})}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while deleting the poll draft"))}},setActivePoll({token:e,pollId:t,name:i}){this.activePoll={token:e,id:t,name:i}},removeActivePoll(){this.activePoll&&(this.activePoll=null)},addPollToast({token:e,message:t}){let i=t.messageParameters.object.id,n=t.messageParameters.object.name,r=(0,$.e)((0,K.t)("spreed",'Poll "{name}" was created by {user}. Click to vote',{name:n,user:t.actorDisplayName}),{onClick:()=>{this.activePoll||this.setActivePoll({token:e,pollId:i,name:n})},timeout:$.r});this.pollToastsQueue[i]=r},hidePollToast(e){this.pollToastsQueue[e]&&(this.pollToastsQueue[e].hideToast(),delete this.pollToastsQueue[e])},hideAllPollToasts(){for(let e in this.pollToastsQueue)this.hidePollToast(e)}}});function hb(e){let t=new AbortController;return{request:function(i,n){return e(i,{signal:t.signal,...n})},cancel:()=>t.abort()}}function hy(e,t,i=!1){if(t<=0)return[e];let n=[];if(i)for(let i=e.length;i>0;i-=t)n.unshift(e.slice(Math.max(0,i-t),i));else for(let i=0;i{console.debug(`[DEBUG] spreed: ${e} | ${hw(performance.now()-hk[e])}`,t),hk[e]=performance.now()};function hA(e,t){let i=of();if(!t.messageParameters)return!1;for(let e in t.messageParameters){let n=t.messageParameters[e];if("call"===n.type||"guest"===n.type&&i.isActorGuest&&n.id==="guest/"+i.actorId||"user"===n.type&&i.isActorUser&&n.id===i.userId)return!0}return!1}function hE(e){let t=document.getElementById(`message_${e}`);return null!==t&&null!==t.offsetParent}let hS={isMessagesListPopulated:e=>t=>!!e.loadedMessages[t],messagesList:e=>t=>e.messages[t]?Object.values(e.messages[t]):[],message:e=>(t,i)=>e.messages[t]?.[i]?e.messages[t][i]:{},getTemporaryReferences:e=>(t,i)=>e.messages[t]?Object.values(e.messages[t]).filter(e=>e.referenceId===i&&(""+e.id).startsWith("temp-")):[],getVisualLastReadMessageId:e=>t=>e.visualLastReadMessageId[t]?e.visualLastReadMessageId[t]:null,getLastCallStartedMessageId:(e,t)=>e=>t.messagesList(e).findLast(e=>e.systemMessage===rh)?.id,getFirstDisplayableMessageIdAfterReadMarker:(e,t)=>(i,n)=>e.messages[i]?t.messagesList(i).find(e=>e.id>=n&&!String(e.id).startsWith("temp-")&&!hr(e))?.id:null,getFirstDisplayableMessageIdBeforeReadMarker:(e,t)=>(i,n)=>e.messages[i]?t.messagesList(i).findLast(e=>e.id0!==Object.keys(e.cancelPostNewMessage).length},hx={state:function e(){return{messages:{},visualLastReadMessageId:{},loadedMessages:{},cancelFetchMessages:null,cancelGetMessageContext:null,cancelPollNewMessages:{},cancelPostNewMessage:{}}},mutations:{setCancelFetchMessages(e,t){e.cancelFetchMessages=t},setCancelGetMessageContext(e,t){e.cancelGetMessageContext=t},setCancelPollNewMessages(e,{requestId:t,cancelFunction:i}){i?e.cancelPollNewMessages[t]=i:delete e.cancelPollNewMessages[t]},setCancelPostNewMessage(e,{messageId:t,cancelFunction:i}){i?e.cancelPostNewMessage[t]=i:delete e.cancelPostNewMessage[t]},addMessage(e,{token:t,message:i}){e.messages[t]||(e.messages[t]={});let n=e.messages[t][i.id],r=!i.parent&&n?.parent?{...i,parent:n.parent}:i;r.parent&&(r.parent.isThread=r.isThread),e.messages[t][i.id]=r},deleteMessage(e,{token:t,id:i}){e.messages[t][i]&&delete e.messages[t][i]},markMessageAsDeleting(e,{token:t,id:i,placeholder:n}){e.messages[t][i]&&(e.messages[t][i].messageType=rj,e.messages[t][i].message=n)},addTemporaryMessage(e,{token:t,message:i}){e.messages[t]||(e.messages[t]={}),e.messages[t][i.id]=i},markTemporaryMessageAsFailed(e,{token:t,id:i,uploadId:n,reason:r}){e.messages[t][i]&&(e.messages[t][i].sendingFailure=r,n&&(e.messages[t][i].uploadId=n))},setVisualLastReadMessageId(e,{token:t,id:i}){e.visualLastReadMessageId[t]=i},purgeMessagesStore(e,t){e.visualLastReadMessageId[t]&&delete e.visualLastReadMessageId[t],e.messages[t]&&delete e.messages[t]},clearMessagesHistory(e,{token:t,id:i}){if(e.visualLastReadMessageId[t]&&e.visualLastReadMessageId[t]e!==n))},easeMessageList(e,{token:t,lastReadMessage:i}){if(!e.messages[t])return;let n=Object.keys(e.messages[t]).sort((e,t)=>t-e);if(n.length<300)return;let r=n.findIndex(e=>+e===i),a=-1!==r?n.slice(r+99):n.slice(199);a.shift();let s=-1!==r&&r>100?n.slice(0,r-99):[];s.pop(),a.forEach(i=>{delete e.messages[t][i]}),s.forEach(i=>{delete e.messages[t][i]}),hl().removeMessagesFromChatBlocks(t,[...a,...s].map(e=>+e))}},getters:hS,actions:{processMessage(e,{token:t,message:i,fromRealtime:n=!1}){if(i.token!==t)return void console.error('processMessage: message token "%s" mismatch called token "%s" \n If you see this, please report issue to developers on Github',i.token,t);let r=up(),a=of(),s=oQ(),o=e.getters.conversation(t);if(hr(i)){if(i.systemMessage===rA){hv().debounceGetPollData({token:t,pollId:i.messageParameters.poll.id}),o?.lastMessage?.id&&i.id>o.lastMessage.id&&e.dispatch("updateConversationLastMessage",{token:t,lastMessage:i}),e.commit("addMessage",{token:t,message:i});return}if(i.systemMessage!==rM||s.getThread(t,i.threadId)||s.fetchSingleThread(t,i.threadId),i.systemMessage===rI&&s.updateThreadTitle(t,i.threadId,i.threadTitle),!i.parent)return void e.commit("addMessage",{token:t,message:i});let l=e.getters.message(t,i.parent.id);0!==Object.keys(l).length&&JSON.stringify(l)!==JSON.stringify(i.parent)&&(n&&!i.parent.reactionsSelf&&(i.parent.reactionsSelf=l.reactionsSelf??[],i.systemMessage===rE&&a.checkIfSelfIsActor(i)&&!i.parent.reactionsSelf.includes(i.message)?i.parent.reactionsSelf=[...i.parent.reactionsSelf,i.message]:i.systemMessage===rx&&a.checkIfSelfIsActor(i)&&i.parent.reactionsSelf.includes(i.message)&&(i.parent.reactionsSelf=i.parent.reactionsSelf.filter(e=>e!==i.message))),e.commit("addMessage",{token:t,message:i.parent}));let u=uh();if(i.systemMessage===r_?(u.resetReactions(t,i.parent.id),r.deleteSharedItemFromMessage(t,i.parent.id)):u.processReaction(t,i),[r_,rv].includes(i.systemMessage)){i.parent.id===o.lastMessage?.id&&e.dispatch("updateConversationLastMessage",{token:t,lastMessage:i.parent});let n=s.getThread(t,i.parent.threadId);if(n&&(n.last?.id===i.parent.id||n.first?.id===i.parent.id)){let e={thread:{...n.thread,lastActivity:i.parent.timestamp},first:n.first?.id===i.parent.id?i.parent:void 0,last:n.last?.id===i.parent.id?i.parent:void 0};s.updateThread(t,i.parent.threadId,e)}e.getters.messagesList(t).filter(e=>e.parent?.id===i.parent.id&&JSON.stringify(e.parent)!==JSON.stringify(i.parent)).forEach(n=>{e.commit("addMessage",{token:t,message:{...n,parent:i.parent}})})}return i.systemMessage!==ry||i.parent.metaData||(r.deleteSharedItemFromMessage(t,i.parent.id,rZ),r.updateOtherStoresWithPinInformation({token:t,messageId:i.parent.id,action:"unpin"})),void e.commit("addMessage",{token:t,message:i})}if(i.referenceId){let n=e.getters.getTemporaryReferences(t,i.referenceId);n.length>0&&(a.checkIfSelfIsActor(i)&&o?.lastReadMessage&&i.id>o.lastReadMessage&&e.dispatch("updateLastReadMessage",{token:t,id:i.id,updateVisually:!0}),n.forEach(i=>{e.dispatch("removeTemporaryMessageFromStore",{token:t,id:i.id})}))}if(o?.lastMessage&&i.id>o.lastMessage.id&&e.dispatch("updateConversationLastMessage",{token:t,lastMessage:i}),[rh,rc,ro,rl].includes(i.systemMessage)&&o?.lastMessage&&i.id>o.lastMessage.id&&(e.dispatch("overwriteHasCallByChat",{token:t,hasCall:i.systemMessage===rh,lastActivity:i.timestamp}),i.systemMessage!==rl||o.type===nJ.TYPE.ONE_TO_ONE||a.checkIfSelfIsActor(i)||(aT().setCallHasJustEnded(i.timestamp),e.dispatch("leaveCall",{token:t,participantIdentifier:a.participantIdentifier}))),i.systemMessage===rC&&hv().getPollData({token:t,pollId:i.messageParameters.poll.id}),i.systemMessage===rp&&(r.purgeSharedItemsStore(t,i.id),s.clearThreads(t,i.id),e.dispatch("clearMessagesHistory",{token:t,id:i.id})),i.systemMessage!==ry||i.parent?.metaData||(r.deleteSharedItemFromMessage(t,i.parent.id,rZ),r.updateOtherStoresWithPinInformation({token:t,messageId:i.parent.id,action:"unpin"})),i.systemMessage===rb&&i.parent?.metaData&&(r.addSharedItemFromMessage(t,i.parent,rZ),r.updateOtherStoresWithPinInformation({token:t,messageId:i.parent.id,metaData:i.parent.metaData,action:"pin"})),e.commit("addMessage",{token:t,message:i}),i.isThread){let e=s.getThread(t,i.threadId);if(e){if(e.thread.title!==i.threadTitle||e.thread.numReplies!==i.threadReplies||e.thread.lastMessageIde.startsWith("file")))},async deleteMessage(e,{token:t,id:i,placeholder:n}){let r={...e.getters.message(t,i)};e.commit("markMessageAsDeleting",{token:t,id:i,placeholder:n});try{let n=await sO({token:t,id:i});return e.dispatch("processMessage",{token:t,message:n.data.ocs.data,fromRealtime:!0}),n.status}catch(i){throw e.commit("addMessage",{token:t,message:r}),i}},async editMessage(e,{token:t,messageId:i,updatedMessage:n}){iZ.emit("editing-message-processing",{messageId:i,value:!0});let r={...e.getters.message(t,i)};e.commit("addMessage",{token:t,message:{...r,message:n}});try{let r=await sz({token:t,messageId:i,updatedMessage:n});e.dispatch("processMessage",{token:t,message:r.data.ocs.data,fromRealtime:!0}),iZ.emit("editing-message-processing",{messageId:i,value:!1})}catch(n){throw console.error(n),e.commit("addMessage",{token:t,message:r}),iZ.emit("editing-message-processing",{messageId:i,value:!1}),n}},addTemporaryMessage(e,{token:t,message:i}){e.commit("addTemporaryMessage",{token:t,message:i}),hl().addMessageToChatBlocks(t,i),e.dispatch("updateConversationLastActive",t)},markTemporaryMessageAsFailed(e,{token:t,id:i,uploadId:n,reason:r}){e.commit("markTemporaryMessageAsFailed",{token:t,id:i,uploadId:n,reason:r})},removeTemporaryMessageFromStore(e,{token:t,id:i}){e.commit("deleteMessage",{token:t,id:i}),hl().removeMessagesFromChatBlocks(t,i)},setVisualLastReadMessageId(e,{token:t,id:i}){e.commit("setVisualLastReadMessageId",{token:t,id:i})},purgeMessagesStore(e,t){e.commit("purgeMessagesStore",t),hl().purgeChatStore(t)},clearMessagesHistory(e,{token:t,id:i}){e.commit("clearMessagesHistory",{token:t,id:i}),hl().clearMessagesHistory(t,i)},async clearLastReadMessage(e,{token:t,updateVisually:i=!1}){let n=e.getters.conversation(t);aG(t,"chat-read-last")?e.dispatch("updateLastReadMessage",{token:t,id:null,updateVisually:i}):n?.lastMessage?.id&&e.dispatch("updateLastReadMessage",{token:t,id:n.lastMessage.id,updateVisually:i})},async updateLastReadMessage(e,{token:t,id:i=0,updateVisually:n=!1}){let r=e.getters.conversation(t);if(!r||r.lastReadMessage===i)return;if(0===i)return void console.warn("updateLastReadMessage: should not set read marker with id=0");let a=null===i?r.lastMessage?.id:i;a&&e.dispatch("updateConversationLastReadMessage",{token:t,lastReadMessage:a});let s=a??e.getters.messagesList(t).at(-1)?.id;if(n&&s&&e.commit("setVisualLastReadMessageId",{token:t,id:s}),of().userId){let n=await sH(t,i);e.dispatch("addConversation",n.data.ocs.data)}},async fetchMessages(e,{token:t,lastKnownMessageId:i,includeLastKnown:n,threadId:r,requestOptions:a,minimumVisible:s,lookIntoFuture:o=nV}){s=void 0===s?nW:s,e.dispatch("cancelFetchMessages");let{request:l,cancel:u}=hb(sP);e.commit("setCancelFetchMessages",u);let d=await l({token:t,lastKnownMessageId:i,includeLastKnown:n,threadId:r,lookIntoFuture:o,limit:nq},a),c="x-chat-last-given"in d.headers,h=c?parseInt(d.headers["x-chat-last-given"],10):i;if("x-chat-last-common-read"in d.headers){let i=parseInt(d.headers["x-chat-last-common-read"],10);e.dispatch("updateLastCommonReadMessage",{token:t,lastCommonReadMessage:i})}return(hl().processChatBlocks(t,d.data.ocs.data,{mergeBy:+i,threadId:r}),d.data.ocs.data.forEach(i=>{i.actorType===n1&&hu().addGuestName(i,{noUpdate:!0}),e.dispatch("processMessage",{token:t,message:i}),c||(h=o===nH?Math.max(h,i.id):Math.min(h,i.id)),!hr(i)&&(!i.isThread||r||i.id===i.threadId)&&s--}),e.commit("loadedMessagesOfConversation",{token:t}),s>0)?(hC(`${t} | fetch history`,"first chunk"),await e.dispatch("fetchMessages",{token:t,lastKnownMessageId:h,includeLastKnown:n,threadId:r,lookIntoFuture:o,minimumVisible:s})):d},async getMessageContext(e,{token:t,messageId:i,threadId:n,requestOptions:r,minimumVisible:a}){a=void 0===a?Math.floor(nW/2):a,e.dispatch("cancelGetMessageContext");let{request:s,cancel:o}=hb(sN);e.commit("setCancelGetMessageContext",o);let l=await s({token:t,messageId:i,threadId:n,limit:nq/2},r),u=i,d=i;if("x-chat-last-common-read"in l.headers){let i=parseInt(l.headers["x-chat-last-common-read"],10);e.dispatch("updateLastCommonReadMessage",{token:t,lastCommonReadMessage:i})}return(hl().processChatBlocks(t,l.data.ocs.data,{threadId:n}),l.data.ocs.data.forEach(i=>{i.actorType===n1&&hu().addGuestName(i,{noUpdate:!0}),e.dispatch("processMessage",{token:t,message:i}),d=Math.max(d,i.id),u=0===u?i.id:Math.min(u,i.id),!hr(i)&&(!i.isThread||n||i.id===i.threadId)&&a--}),e.commit("loadedMessagesOfConversation",{token:t}),a>0)?(hC(`${t} | get context`,"first chunk"),await e.dispatch("fetchMessages",{token:t,lastKnownMessageId:u,includeLastKnown:!1,threadId:n,lookIntoFuture:nV,minimumVisible:2*a})):l},cancelFetchMessages:e=>!!e.state.cancelFetchMessages&&(e.state.cancelFetchMessages("canceled"),e.commit("setCancelFetchMessages",null),!0),cancelGetMessageContext:e=>!!e.state.cancelGetMessageContext&&(e.state.cancelGetMessageContext("canceled"),e.commit("setCancelGetMessageContext",null),!0),async pollNewMessages(e,{token:t,lastKnownMessageId:i,requestId:n,timeout:r,requestOptions:a}){let s=of();if(e.dispatch("cancelPollNewMessages",{requestId:n}),!i)return void console.warn("Trying to load messages without the required parameter");let{request:o,cancel:l}=hb(sL);e.commit("setCancelPollNewMessages",{cancelFunction:l,requestId:n});let u=await o({token:t,lastKnownMessageId:i,limit:nq,timeout:r},a);if(e.commit("setCancelPollNewMessages",{requestId:n}),"x-chat-last-common-read"in u.headers){let i=parseInt(u.headers["x-chat-last-common-read"],10);e.dispatch("updateLastCommonReadMessage",{token:t,lastCommonReadMessage:i})}let d=e.getters.conversation(t),c=s.actorId,h=s.actorType,f=0,m=d.unreadMention,g=null,p=!d?.lastMessage?.id||i>=d.lastMessage.id;return hl().processChatBlocks(t,u.data.ocs.data,{mergeBy:+i}),u.data.ocs.data.forEach(i=>{i.actorType===n1&&hu().addGuestName(i,{noUpdate:!1}),e.dispatch("processMessage",{token:t,message:i,fromRealtime:p}),g&&!(i.id>g.id)||hr(i)||(!i.systemMessage&&((c!==i.actorId||h!==i.actorType)&&f++,!m&&hA(e,i)&&(m=!0)),g=i),d.lastReadMessage===i.id&&(f=0,m=d.unreadMention)}),d?.lastMessage&&g.id>d.lastMessage.id&&f>0&&e.commit("updateUnreadMessages",{token:t,unreadMessages:d.unreadMessages+f,unreadMention:d.unreadMention!==m?m:void 0}),e.commit("loadedMessagesOfConversation",{token:t}),u},cancelPollNewMessages:(e,{requestId:t})=>!!e.state.cancelPollNewMessages[t]&&(e.state.cancelPollNewMessages[t]("canceled"),e.commit("setCancelPollNewMessages",{requestId:t}),!0),updateMessageMetadata(e,{token:t,id:i,metaData:n}){let r=e.getters.message(t,i);if(0!==Object.keys(r).length){if(0===Object.keys(n).length){let{metaData:i,...n}=r;e.commit("addMessage",{token:t,message:n});return}e.commit("addMessage",{token:t,message:{...r,metaData:n}})}},async postNewMessage(e,{token:t,temporaryMessage:i,options:n}){e.dispatch("addTemporaryMessage",{token:t,message:i});let{request:r,cancel:a}=hb(sR);e.commit("setCancelPostNewMessage",{messageId:i.id,cancelFunction:a});let s=setTimeout(()=>{e.dispatch("cancelPostNewMessage",{messageId:i.id}),e.dispatch("markTemporaryMessageAsFailed",{token:t,id:i.id,reason:"timeout"})},3e4);try{let a=hl(),o=e.rootGetters.conversation(t),l=o?.lastMessage&&"id"in o.lastMessage?o.lastMessage.id:a.getLastKnownId(t,{threadId:i.threadId}),u=await r({token:t,message:i.message,actorDisplayName:i.actorDisplayName,referenceId:i.referenceId,replyTo:i.parent?.id,threadId:i.threadId,silent:i.silent,threadTitle:i.threadTitle},n);if(clearTimeout(s),e.commit("setCancelPostNewMessage",{messageId:i.id,cancelFunction:null}),"x-chat-last-common-read"in u.headers){let i=parseInt(u.headers["x-chat-last-common-read"],10);e.dispatch("updateLastCommonReadMessage",{token:t,lastCommonReadMessage:i})}return e.state.messages[t]?.[u.data.ocs.data.id]||(a.processChatBlocks(t,[u.data.ocs.data],{mergeBy:l}),e.dispatch("processMessage",{token:t,message:u.data.ocs.data,fromRealtime:!0})),u}catch(r){s&&clearTimeout(s),e.commit("setCancelPostNewMessage",{messageId:i.id,cancelFunction:null});let n=null;throw console.error("error while submitting message %s",r),r.isAxiosError&&(n=r?.response?.status),403===n?((0,$.s)((0,K.t)("spreed","No permission to post messages in this conversation")),e.dispatch("markTemporaryMessageAsFailed",{token:t,id:i.id,reason:"read-only"})):412===n?((0,$.s)((0,K.t)("spreed","No permission to post messages in this conversation")),e.dispatch("markTemporaryMessageAsFailed",{token:t,id:i.id,reason:"lobby"})):((0,$.s)((0,K.t)("spreed","Could not post message: {errorMessage}",{errorMessage:r.message||r})),e.dispatch("markTemporaryMessageAsFailed",{token:t,id:i.id,reason:"other"})),r}},cancelPostNewMessage:(e,{messageId:t})=>!!e.state.cancelPostNewMessage[t]&&(e.state.cancelPostNewMessage[t]("canceled"),e.commit("setCancelPostNewMessage",{messageId:t,cancelFunction:null}),!0),async forwardMessage(e,{targetToken:t,messageToBeForwarded:i}){let n=c7()(i);if(!t){let i=e.getters.conversationsList.find(e=>e.type===nJ.TYPE.NOTE_TO_SELF);i||(i=(await se()).data.ocs.data,e.dispatch("addConversation",i)),t=i.token}if(n.token=t,n.silent=!1,delete n.threadId,delete n.isThread,delete n.threadTitle,delete n.threadReplies,n.parent&&delete n.parent,n.messageParameters?.object){let e=n.messageParameters.object;return await sV(t,{objectId:e.id,objectType:e.type,metaData:JSON.stringify(e),referenceId:""})}for(let e in n.messageParameters)if(e.startsWith("mention")){let t=n.messageParameters[e],i=e.includes("mention-call")?`**${t.name}**`:`@"${t.id}"`;n.message=n.message.replace(`{${e}}`,i)}return await sR(n)},async removeExpiredMessages(e,{token:t}){if(!e.state.messages[t])return;let i=oQ(),n=up(),r=hl(),a=uA(Date.now());e.getters.messagesList(t).forEach(s=>{s.expirationTimestamp&&a>s.expirationTimestamp&&(s.isThread&&i.removeMessageFromThread(t,s.threadId,s.id),e.commit("deleteMessage",{token:t,id:s.id}),r.removeMessagesFromChatBlocks(t,s.id),n.deleteSharedItemFromMessage(t,s.id))}),n.purgeExpiredSharedItems(t,a)},async easeMessageList(e,{token:t}){let i=e.getters.conversation(t)?.lastReadMessage;e.commit("easeMessageList",{token:t,lastReadMessage:i})},loadedMessagesOfConversation(e,{token:t}){e.commit("loadedMessagesOfConversation",{token:t})}}};var hD=__webpack_require__(45471),hT=__webpack_require__.n(hD);async function hM(e,t,i){return aw.Ay.post((0,O.KT)("/apps/spreed/api/v1/ban/{token}",{token:e}),t,i)}function hI(e){return Array.isArray(e)?"roomId"in e[0]:"roomId"in e}function hB(e){return"sessionid"in e}function hP(e){return!("roomId"in e)&&"sessionId"in e}let hL=nO("session",{state:()=>({sessions:{}}),getters:{getSession:e=>t=>{if(t)return e.sessions[t]},getAttendeeInCall:e=>t=>Object.values(e.sessions).reduce((e,i)=>i.attendeeId!==t?e:e|(i.inCall??0),0),orphanSessions:e=>Object.values(e.sessions).filter(e=>!e.attendeeId)},actions:{addSession(e){return this.sessions[e.signalingSessionId]=e,e},deleteSession(e){this.sessions[e]&&delete this.sessions[e]},updateSession(e,t){this.sessions[e]&&(this.sessions[e]={...this.sessions[e],...t})},findOrCreateSession(e,t){let i,n,r,a=hB(t)?t.sessionid:t.sessionId;if(!a)return console.error("Can not define sessionId from the payload: %s",JSON.stringify(t)),null;let s=this.getSession(a);if(s)return s;if(!(i=hB(t)?t.roomsessionid:hI(t)?t.sessionId:t.nextcloudSessionId))return console.debug("Ignored session: %s",JSON.stringify(t)),null;if(hB(t)){let a=t.userid?t.federated?n9:n0:n1;n=hz.getters.findParticipant(e,{sessionId:i,actorId:t.userid,actorType:a}),r=n?.inCall}else n=hz.getters.findParticipant(e,{sessionId:i,actorId:t.actorId,actorType:t.actorType}),r=t.inCall;return this.addSession({attendeeId:n?.attendeeId,token:e,signalingSessionId:a,sessionId:i,inCall:r})},updateSessions(e,t){let i=!1,n=new Set;for(let r of t){let t=this.findOrCreateSession(e,r);if(t){if(n.add(t.signalingSessionId),!t.attendeeId){console.debug("Possible orphan session: %s",JSON.stringify(r)),i=!0;continue}hB(r)?this.updateParticipantJoinedFromStandaloneSignaling(e,t.attendeeId,r):hP(r)&&this.updateParticipantChangedFromStandaloneSignaling(e,t.attendeeId,r)}}if(hI(t))for(let i of(this.updateParticipantsFromInternalSignaling(e,t),Object.keys(this.sessions)))n.has(i)||this.deleteSession(i);return i},updateSessionsLeft(e,t){for(let i of t)this.updateParticipantLeftFromStandaloneSignaling(e,i)},updateParticipantsFromInternalSignaling(e,t){let i={};for(let e of t){let t=this.getSession(e.sessionId);this.updateSession(e.sessionId,{inCall:e.inCall});let n=t?.attendeeId;n&&(i[n]?(i[n].sessionIds.push(e.sessionId),i[n].inCall=i[n].inCall|e.inCall,i[n].lastPing=Math.max(i[n].lastPing,e.lastPing)):i[n]={inCall:e.inCall,lastPing:e.lastPing,permissions:e.participantPermissions,sessionIds:[e.sessionId]})}for(let t of hz.getters.participantsList(e)){let{attendeeId:n,sessionIds:r}=t;i[n]?hz.commit("updateParticipant",{token:e,attendeeId:n,updatedData:i[n]}):0!==r.length&&hz.commit("updateParticipant",{token:e,attendeeId:n,updatedData:{inCall:rq.CALL_FLAG.DISCONNECTED,sessionIds:[]}})}},updateParticipantJoinedFromStandaloneSignaling(e,t,i){if(!i.roomsessionid||i.user&&"callid"in i.user)return;let n=hz.getters.getParticipant(e,t);if(!n)return;let r={displayName:i.user?.displayname??n.displayName,sessionIds:[...new Set([...n.sessionIds,i.roomsessionid])]};hz.commit("updateParticipant",{token:e,attendeeId:t,updatedData:r})},updateParticipantLeftFromStandaloneSignaling(e,t){let i=this.getSession(t);this.deleteSession(t);let n=i?.attendeeId;if(!n)return;let r=hz.getters.getParticipant(e,n);if(!r)return;let a=r.sessionIds.filter(e=>e!==i.sessionId),s=a.length?this.getAttendeeInCall(n):rq.CALL_FLAG.DISCONNECTED;hz.commit("updateParticipant",{token:e,attendeeId:n,updatedData:{sessionIds:a,inCall:s}})},updateParticipantChangedFromStandaloneSignaling(e,t,i){let n=hu();this.updateSession(i.sessionId,{inCall:i.inCall});let r=hz.getters.getParticipant(e,t);if(!r)return;let a={displayName:i.displayName??r.displayName,participantType:i.participantType,permissions:i.participantPermissions,inCall:this.getAttendeeInCall(t),lastPing:i.lastPing};hz.commit("updateParticipant",{token:e,attendeeId:t,updatedData:a}),(r.participantType===rq.TYPE.GUEST||r.participantType===rq.TYPE.GUEST_MODERATOR)&&a.displayName!==r.displayName&&n.addGuestName({token:e,actorId:sM().stringify(hT()(r.sessionIds[0])),actorDisplayName:a.displayName},{noUpdate:!1})},updateParticipantsDisconnectedFromStandaloneSignaling(e){for(let t of hz.getters.participantsList(e))hz.commit("updateParticipant",{token:e,attendeeId:t.attendeeId,updatedData:{inCall:rq.CALL_FLAG.DISCONNECTED}})}}}),hN=u_(ul);function hR(e){e.actorType===n0&&(0,G.Ic)("user_status:status.updated",{status:e.status,message:e.statusMessage,icon:e.statusIcon,clearAt:e.statusClearAt,userId:e.actorId})}let hj={isInCall:e=>t=>!!(e.inCall[t]&&Object.keys(e.inCall[t]).length>0),isJoiningCall:e=>t=>!!(e.joiningCall[t]&&Object.keys(e.joiningCall[t]).length>0),isConnecting:e=>t=>!!(e.connecting[t]&&Object.keys(e.connecting[t]).length>0),connectionFailed:e=>t=>e.connectionFailed[t],participantsList:e=>t=>e.attendees[t]?Object.values(e.attendees[t]):[],externalTypingSignals:e=>t=>{if(!e.typing[t])return[];let i=of();return Object.keys(e.typing[t]).filter(e=>i.sessionId!==e)},actorIsTyping:e=>{if(!e.typing[hN.token])return!1;let t=of();return Object.keys(e.typing[hN.token]).some(e=>t.sessionId===e)},participantsListTyping:(e,t)=>e=>{if(!t.externalTypingSignals(e).length)return[];let i=of();return t.participantsList(e).filter(n=>t.externalTypingSignals(e).some(e=>n.sessionIds.includes(e))&&!i.checkIfSelfIsActor(n))},getParticipantSpeakingInformation:e=>t=>e.speaking[t],participantRaisedHandList:e=>e.participantRaisedHands,getParticipantRaisedHand:e=>t=>{for(let i=0;i(t,i)=>e.attendees[t]&&e.attendees[t][i]?e.attendees[t][i]:null,participantsInitialised:e=>t=>e.initialised[t],findParticipant:e=>(t,i)=>e.attendees[t]?i.attendeeId?e.attendees[t][i.attendeeId]??null:Object.entries(e.attendees[t]).find(([e,t])=>i.actorType&&i.actorId&&t.actorType===i.actorType&&t.actorId===i.actorId||i.sessionId&&t.sessionIds.includes(i.sessionId))?.[1]??null:null,getPeer:e=>(t,i,n)=>{if(e.peers[t]&&Object.hasOwn(e.peers[t],i))return e.peers[t][i];if(e.attendees[t]&&n){let i=null;if(Object.keys(e.attendees[t]).forEach(r=>{e.attendees[t][r].actorType===n0&&e.attendees[t][r].actorId===n&&(i=r)}),i)return e.attendees[t][i]}return{}},getPhoneStatus:e=>t=>e.phones[t]?.state?.status,getPhoneMute:e=>t=>e.phones[t]?.mute,participantsInCall:e=>t=>e.attendees[t]?Object.values(e.attendees[t]).filter(e=>e.inCall!==rq.CALL_FLAG.DISCONNECTED).length:0,getParticipantBySessionId:e=>(t,i)=>Object.values(Object(e.attendees[t])).find(e=>e.sessionIds.includes(i))},hO={state:function e(){return{attendees:{},peers:{},phones:{},inCall:{},joiningCall:{},connecting:{},connectionFailed:{},typing:{},speaking:{},participantRaisedHands:{},initialised:{},cancelFetchParticipants:null,speakingInterval:null}},mutations:{addParticipant(e,{token:t,participant:i}){e.attendees[t]||(e.attendees[t]={}),e.attendees[t][i.attendeeId]=i},updateParticipant(e,{token:t,attendeeId:i,updatedData:n}){e.attendees[t]&&e.attendees[t][i]?e.attendees[t][i]={...e.attendees[t][i],...n}:console.error("Error while updating the participant")},deleteParticipant(e,{token:t,attendeeId:i}){e.attendees[t]&&e.attendees[t][i]?delete e.attendees[t][i]:console.error("The conversation you are trying to purge doesn't exist")},setParticipantsInitialised(e,{token:t,initialised:i}){e.initialised[t]=i},setInCall(e,{token:t,sessionId:i,flags:n}){n===rq.CALL_FLAG.DISCONNECTED?e.inCall[t]&&e.inCall[t][i]&&delete e.inCall[t][i]:(e.inCall[t]||(e.inCall[t]={}),e.inCall[t][i]=n)},connectionFailed(e,{token:t,payload:i}){e.connectionFailed[t]=i},clearConnectionFailed(e,t){delete e.connectionFailed[t]},joiningCall(e,{token:t,sessionId:i,flags:n}){e.joiningCall[t]||(e.joiningCall[t]={}),e.joiningCall[t][i]=n},finishedJoiningCall(e,{token:t,sessionId:i}){e.joiningCall[t]&&e.joiningCall[t][i]&&(delete e.joiningCall[t][i],Object.keys(e.joiningCall[t]).length||delete e.joiningCall[t])},connecting(e,{token:t,sessionId:i,flags:n}){e.connecting[t]||(e.connecting[t]={}),e.connecting[t][i]=n},finishedConnecting(e,{token:t,sessionId:i}){e.connecting[t]&&e.connecting[t][i]&&(delete e.connecting[t][i],Object.keys(e.connecting[t]).length||delete e.connecting[t])},setTyping(e,{token:t,sessionId:i,typing:n,expirationTimeout:r}){e.typing[t]||(e.typing[t]={}),e.typing[t][i]&&clearTimeout(e.typing[t][i].expirationTimeout),n?e.typing[t][i]={expirationTimeout:r}:delete e.typing[t][i]},setSpeaking(e,{attendeeId:t,speaking:i}){e.speaking[t]||(e.speaking[t]={speaking:i,lastTimestamp:Date.now(),totalCountedTime:0}),e.speaking[t].speaking=i},setSpeakingInterval(e,t){e.speakingInterval=t},updateTimeSpeaking(e,{attendeeId:t,speaking:i}){if(!e.speaking[t])return;let n=Date.now(),r=e.speaking[t].speaking;(r||i)&&(r&&(e.speaking[t].totalCountedTime+=n-e.speaking[t].lastTimestamp),e.speaking[t].lastTimestamp=n)},purgeSpeakingStore(e){e.speaking={},e.speakingInterval&&(clearInterval(e.speakingInterval),e.speakingInterval=null)},setParticipantHandRaised(e,{sessionId:t,raisedHand:i}){if(!t)throw Error("Missing or empty sessionId argument in call to setParticipantHandRaised");i&&i.state?e.participantRaisedHands[t]=i:delete e.participantRaisedHands[t]},clearParticipantHandRaised(e){e.participantRaisedHands={}},purgeParticipantsStore(e,t){e.attendees[t]&&delete e.attendees[t]},addPeer(e,{token:t,peer:i}){e.peers[t]||(e.peers[t]={}),e.peers[t][i.sessionId]=i},purgePeersStore(e,t){e.peers[t]&&delete e.peers[t]},setCancelFetchParticipants(e,t){e.cancelFetchParticipants=t},setPhoneState(e,{callid:t,value:i={}}){e.phones[t]||(e.phones[t]={state:null,mute:0}),e.phones[t].state=i},setPhoneMute(e,{callid:t,value:i}){e.phones[t]||(e.phones[t]={state:null,mute:0}),e.phones[t].mute=i},deletePhoneState(e,t){delete e.phones[t]}},getters:hj,actions:{addParticipant({commit:e},{token:t,participant:i}){e("addParticipant",{token:t,participant:i})},addParticipantOnce({commit:e,getters:t},{token:i,participant:n}){t.findParticipant(i,n)||(e("addParticipant",{token:i,participant:n}),e("setParticipantsInitialised",{token:i,initialised:!1}))},async promoteToModerator({commit:e,getters:t},{token:i,attendeeId:n}){let r=t.getParticipant(i,n);r&&(await oe(i,{attendeeId:n}),e("updateParticipant",{token:i,attendeeId:n,updatedData:{participantType:r.participantType===rq.TYPE.GUEST?rq.TYPE.GUEST_MODERATOR:rq.TYPE.MODERATOR}}))},async demoteFromModerator({commit:e,getters:t},{token:i,attendeeId:n}){let r=t.getParticipant(i,n);r&&(await ot(i,{attendeeId:n}),e("updateParticipant",{token:i,attendeeId:n,updatedData:{participantType:r.participantType===rq.TYPE.GUEST_MODERATOR?rq.TYPE.GUEST:rq.TYPE.USER}}))},async removeParticipant({commit:e,getters:t},{token:i,attendeeId:n,banParticipant:r,internalNote:a=""}){let s=t.getParticipant(i,n);if(s){if(aG(i,"ban-v1")&&r)try{await hM(i,{actorId:s.actorId,actorType:s.actorType,internalNote:a}),(0,$.i)((0,K.t)("spreed","Participant is banned successfully"))}catch(e){throw(0,$.s)((0,K.t)("spreed","Error while banning the participant")),e}else await s7(i,n);e("deleteParticipant",{token:i,attendeeId:n})}},purgeParticipantsStore({commit:e},t){e("purgeParticipantsStore",t)},addPeer({commit:e},{token:t,peer:i}){e("addPeer",{token:t,peer:i})},purgePeersStore({commit:e},t){e("purgePeersStore",t)},updateSessionId({commit:e,getters:t},{token:i,participantIdentifier:n,sessionId:r}){let a=t.findParticipant(i,n);if(!a)return void console.error("Participant not found for conversation",i,n);let s={sessionId:r,inCall:rq.CALL_FLAG.DISCONNECTED};e("updateParticipant",{token:i,attendeeId:a.attendeeId,updatedData:s})},updateUser({commit:e,getters:t},{token:i,participantIdentifier:n,updatedData:r}){let a=t.findParticipant(i,n);a?e("updateParticipant",{token:i,attendeeId:a.attendeeId,updatedData:r}):console.error("Participant not found for conversation",i,n)},async fetchParticipants(e,{token:t}){e.dispatch("cancelFetchParticipants");let{request:i,cancel:n}=hb(oi);e.commit("setCancelFetchParticipants",n);try{let n=await i(t),r=!!n.headers["x-nextcloud-has-user-statuses"];return e.dispatch("patchParticipants",{token:t,newParticipants:n.data.ocs.data,hasUserStatuses:r}),!1===e.state.initialised[t]&&e.commit("setParticipantsInitialised",{token:t,initialised:!0}),e.commit("setCancelFetchParticipants",null),n}catch(i){return i?.response?.status===403?e.dispatch("fetchConversation",{token:t}):(0,aw.FZ)(i)||(console.error(i),(0,$.s)((0,K.t)("spreed","An error occurred while fetching the participants"))),null}},async patchParticipants(e,{token:t,newParticipants:i,hasUserStatuses:n}){let r=hu(),a=hL();for(let n of Object.keys(Object(e.state.attendees[t])))i.some(e=>e.attendeeId===+n)||e.commit("deleteParticipant",{token:t,attendeeId:n});i.forEach(i=>{for(let r of(e.state.attendees[t]?.[i.attendeeId]?e.dispatch("updateParticipantIfHasChanged",{token:t,participant:i,hasUserStatuses:n}):(e.dispatch("addParticipant",{token:t,participant:i}),n&&hR(i)),a.orphanSessions.filter(e=>i.sessionIds.includes(e.sessionId))))a.updateSession(r.signalingSessionId,{attendeeId:i.attendeeId,inCall:r.inCall??i.inCall});(i.participantType===rq.TYPE.GUEST||i.participantType===rq.TYPE.GUEST_MODERATOR)&&r.addGuestName({token:t,actorId:sM().stringify(hT()(i.sessionIds[0])),actorDisplayName:i.displayName},{noUpdate:!1})})},updateParticipantIfHasChanged(e,{token:t,participant:i,hasUserStatuses:n}){let{attendeeId:r}=i,a=e.state.attendees[t][r],s=Object.entries(i).filter(([e,t])=>"sessionIds"===e?JSON.stringify(a[e])!==JSON.stringify(t):a[e]!==t);if(0===s.length)return!1;let o=Object.fromEntries(s);return e.commit("updateParticipant",{token:t,attendeeId:r,updatedData:o}),n&&s.some(([e])=>e.startsWith("status"))&&hR(i),!0},cancelFetchParticipants:e=>!!e.state.cancelFetchParticipants&&(e.state.cancelFetchParticipants("canceled"),e.commit("setCancelFetchParticipants",null),!0),async joinCall({commit:e,getters:t,state:i},{token:n,participantIdentifier:r,flags:a,silent:s,recordingConsent:o,silentFor:l}){let{sessionId:u}=r??{};if(!u)return void console.error("Trying to join call without sessionId");let d=t.findParticipant(n,r);if(!d)return void console.error("Participant not found for conversation",n,r);let c=!1,h=null;e("joiningCall",{token:n,sessionId:u,flags:a});let f=([t,i])=>{e("setInCall",{token:t,sessionId:u,flags:i}),e("finishedJoiningCall",{token:t,sessionId:u}),c?b():(e("connecting",{token:t,sessionId:u,flags:i}),h=setTimeout(()=>{b()},1e4))},m=([t,i])=>{b(),e("connectionFailed",{token:t,payload:i}),e("setInCall",{token:t,sessionId:r.sessionId,flags:rq.CALL_FLAG.DISCONNECTED})},g=(t,r)=>{let s=t[0].find(e=>e[r]===u);if(s&&s.inCall!==rq.CALL_FLAG.DISCONNECTED){if(i.joiningCall[n]?.[u]){c=!0,e("connecting",{token:n,sessionId:u,flags:a});return}b()}},p=e=>{g(e,"sessionId")},_=e=>{g(e,"nextcloudSessionId")},b=()=>{e("finishedConnecting",{token:n,sessionId:u}),e("finishedJoiningCall",{token:n,sessionId:u}),iZ.off("signaling-join-call",f),iZ.off("signaling-join-call-failed",m),iZ.off("signaling-users-in-room",p),iZ.off("signaling-users-changed",_),clearTimeout(h)};iZ.once("signaling-join-call",f),iZ.once("signaling-join-call-failed",m),iZ.on("signaling-users-in-room",p),iZ.on("signaling-users-changed",_);try{let i={inCall:await E1(n,a,s,o,l)};e("updateParticipant",{token:n,attendeeId:d.attendeeId,updatedData:i}),aT().handleJoinCall(t.conversation(n))}catch(e){console.error("Error while joining call: ",e)}},async leaveCall({commit:e,getters:t},{token:i,participantIdentifier:n,all:r=!1}){n?.sessionId||console.error("Trying to leave call without sessionId");let a=t.findParticipant(i,n);if(!a)return void console.error("Participant not found for conversation",i,n);let s=aT();s.isLiveTranscriptionEnabled&&s.disableLiveTranscription(i),await E2(i,r);let o={inCall:rq.CALL_FLAG.DISCONNECTED};e("updateParticipant",{token:i,attendeeId:a.attendeeId,updatedData:o}),e("clearParticipantHandRaised"),e("setInCall",{token:i,sessionId:n.sessionId,flags:rq.CALL_FLAG.DISCONNECTED})},async resendInvitations(e,{token:t,attendeeId:i,actorId:n}){if(i)try{await or(t,i),(0,$.i)((0,K.t)("spreed","Invitation was sent to {actorId}",{actorId:n}))}catch(e){(0,$.s)((0,K.t)("spreed","Could not send invitation to {actorId}",{actorId:n}))}else try{await or(t),(0,$.i)((0,K.t)("spreed","Invitations sent"))}catch(e){(0,$.s)((0,K.t)("spreed","Error occurred when sending invitations"))}},async sendCallNotification(e,{token:t,attendeeId:i}){await oa(t,{attendeeId:i})},async joinConversation(e,{token:t}){let i=i1.getItem("joined_conversation")===t,n=of();try{let r=await s4({token:t,forceJoin:i});return n.setCurrentParticipant(r.data.ocs.data),e.dispatch("addConversation",r.data.ocs.data),e.dispatch("updateSessionId",{token:t,participantIdentifier:n.participantIdentifier,sessionId:r.data.ocs.data.sessionId}),r.data.ocs.data.remoteServer&&await aY(r),i1.setItem("joined_conversation",t),iZ.emit("joined-conversation",{token:t}),r}catch(i){if(i?.response?.status===409&&i?.response?.data?.ocs?.data){let n=i.response.data.ocs.data,r=uA(Date.now())-40;n.inCall!==rq.CALL_FLAG.DISCONNECTED&&(r-=20),r>n.lastPing?(console.debug("Force joining automatically because the old session didn't ping for 40 seconds"),await e.dispatch("forceJoinConversation",{token:t})):iZ.emit("session-conflict-confirmation",t)}else i?.response?.status===403&&i?.response?.data?.ocs?.data?.error==="ban"?iZ.emit("forbidden-route",i.response.data.ocs.data):(console.error(i),(0,$.s)((0,K.t)("spreed","Failed to join the conversation.")+"\n"+aN))}},async forceJoinConversation(e,{token:t}){i1.setItem("joined_conversation",t),await e.dispatch("joinConversation",{token:t})},async leaveConversation(e,{token:t}){let i=of();e.getters.isInCall(t)&&await e.dispatch("leaveCall",{token:t,participantIdentifier:i.participantIdentifier}),await s5(t)},async removeCurrentUserFromConversation(e,{token:t}){await s9(t),await e.dispatch("deleteConversation",t),aP.postMessage({message:"force-fetch-all-conversations",options:{all:!0}})},async grantAllPermissionsToParticipant(e,{token:t,attendeeId:i}){await os(t,i);let n={permissions:rq.PERMISSIONS.MAX_CUSTOM,attendeePermissions:rq.PERMISSIONS.MAX_CUSTOM};e.commit("updateParticipant",{token:t,attendeeId:i,updatedData:n})},async removeAllPermissionsFromParticipant(e,{token:t,attendeeId:i}){await oo(t,i);let n={permissions:rq.PERMISSIONS.CUSTOM,attendeePermissions:rq.PERMISSIONS.CUSTOM};e.commit("updateParticipant",{token:t,attendeeId:i,updatedData:n})},async setPermissions(e,{token:t,attendeeId:i,method:n,permissions:r}){await ol(t,i,n,r);let a={permissions:r,attendeePermissions:r};e.commit("updateParticipant",{token:t,attendeeId:i,updatedData:a})},async sendTypingSignal(e,{typing:t}){hN.currentConversationIsJoined&&await ou(t)},async setTyping(e,{token:t,sessionId:i,typing:n}){if(n){let n=setTimeout(()=>{e.commit("setTyping",{token:t,sessionId:i,typing:!1})},15e3);e.commit("setTyping",{token:t,sessionId:i,typing:!0,expirationTimeout:n})}else e.commit("setTyping",{token:t,sessionId:i,typing:!1})},setSpeaking(e,{attendeeId:t,speaking:i}){if(e.commit("updateTimeSpeaking",{attendeeId:t,speaking:i}),e.commit("setSpeaking",{attendeeId:t,speaking:i}),!e.state.speakingInterval&&i){let t=setInterval(()=>{e.dispatch("updateIntervalTimeSpeaking")},1e3);e.commit("setSpeakingInterval",t)}},updateIntervalTimeSpeaking(e){if(e.state.speaking&&e.state.speakingInterval)for(let t in e.state.speaking)e.state.speaking[t].speaking&&e.commit("updateTimeSpeaking",{attendeeId:t,speaking:!0})},purgeSpeakingStore(e){e.commit("purgeSpeakingStore")},setParticipantHandRaised(e,{sessionId:t,raisedHand:i}){e.commit("setParticipantHandRaised",{sessionId:t,raisedHand:i})},processDialOutAnswer(e,{callid:t}){e.commit("setPhoneState",{callid:t})},processTransientCallStatus(e,{value:t}){e.commit("setPhoneState",{callid:t.callid,value:t}),("cleared"===t.status||"rejected"===t.status)&&setTimeout(()=>{e.commit("deletePhoneState",t.callid)},5e3)},addPhonesStates(e,{phoneStates:t}){Object.values(t).forEach(t=>{e.commit("setPhoneState",{callid:t.callid,value:t})})},deletePhoneState(e,{callid:t}){e.commit("deletePhoneState",t)},setPhoneMute(e,{callid:t,value:i}){e.commit("setPhoneMute",{callid:t,value:i})},clearConnectionFailed(e,t){e.commit("clearConnectionFailed",t)}}},hz=eG({modules:{conversationsStore:uz,fileUploadStore:c8,messagesStore:hx,participantsStore:hO},mutations:{},strict:!1});var hU="2.0.9",hq=500,hW="user-agent",hV="",hH="?",h$="function",hG="object",hX="string",hK="undefined",hY="browser",hQ="cpu",hZ="device",hJ="engine",h0="os",h1="result",h2="name",h3="type",h4="vendor",h6="version",h5="architecture",h8="major",h9="model",h7="console",fe="mobile",ft="tablet",fi="smarttv",fn="wearable",fr="xr",fa="embedded",fs="fetcher",fo="inapp",fl="brands",fu="formFactors",fd="fullVersionList",fc="platform",fh="platformVersion",ff="bitness",fm="sec-ch-ua",fg=fm+"-full-version-list",fp=fm+"-arch",f_=fm+"-"+ff,fv=fm+"-form-factors",fb=fm+"-"+fe,fy=fm+"-"+h9,fF=fm+"-"+fc,fk=fF+"-version",fw=[fl,fd,fe,h9,fc,fh,h5,fu,ff],fC="Amazon",fA="Apple",fE="ASUS",fS="BlackBerry",fx="Google",fD="Huawei",fT="Lenovo",fM="Honor",fI="LG",fB="Microsoft",fP="Motorola",fL="Nvidia",fN="OnePlus",fR="OPPO",fj="Samsung",fO="Sharp",fz="Sony",fU="Xiaomi",fq="Zebra",fW="Chrome",fV="Chromium",fH="Chromecast",f$="Edge",fG="Firefox",fX="Opera",fK="Facebook",fY="Sogou",fQ="Mobile ",fZ=" Browser",fJ="Windows",f0=typeof window!==hK&&window.navigator?window.navigator:void 0,f1=f0&&f0.userAgentData?f0.userAgentData:void 0,f2=function(e,t){var i={},n=t;if(!f6(t))for(var r in n={},t)for(var a in t[r])n[a]=t[r][a].concat(n[a]?n[a]:[]);for(var s in e)i[s]=n[s]&&n[s].length%2==0?n[s].concat(e[s]):e[s];return i},f3=function(e){for(var t={},i=0;i0){for(var i in e)if(f9(t)==f9(e[i]))return!0;return!1}return!!f5(e)&&f9(t)==f9(e)},f6=function(e,t){for(var i in e)return/^(browser|cpu|device|engine|os)$/.test(i)||!!t&&f6(e[i])},f5=function(e){return typeof e===hX},f8=function(e){if(e){for(var t=[],i=mt(/\\?\"/g,e).split(","),n=0;n-1){var r=mn(i[n]).split(";v=");t[n]={brand:r[0],version:r[1]}}else t[n]=mn(i[n]);return t}},f9=function(e){return f5(e)?e.toLowerCase():e},f7=function(e){return f5(e)?mt(/[^\d\.]/g,e).split(".")[0]:void 0},me=function(e){for(var t in e)if(e.hasOwnProperty(t)){var i=e[t];typeof i==hG&&2==i.length?this[i[0]]=i[1]:this[i]=void 0}return this},mt=function(e,t){return f5(t)?t.replace(e,hV):t},mi=function(e){return mt(/\\?\"/g,e)},mn=function(e,t){return e=mt(/^\s\s*/,String(e)),typeof t===hK?e:e.substring(0,t)},mr=function(e,t){if(e&&t)for(var i,n,r,a,s,o,l=0;l0?2===a.length?typeof a[1]==h$?this[a[0]]=a[1].call(this,o):this[a[0]]=a[1]:a.length>=3&&(typeof a[1]!==h$||a[1].exec&&a[1].test?3==a.length?this[a[0]]=o?o.replace(a[1],a[2]):void 0:4==a.length?this[a[0]]=o?a[3].call(this,o.replace(a[1],a[2])):void 0:a.length>4&&(this[a[0]]=o?a[3].apply(this,[o.replace(a[1],a[2])].concat(a.slice(4))):void 0):a.length>3?this[a[0]]=o?a[1].apply(this,a.slice(2)):void 0:this[a[0]]=o?a[1].call(this,o,a[2]):void 0):this[a]=o||void 0;l+=2}},ma=function(e,t){for(var i in t)if(typeof t[i]===hG&&t[i].length>0){for(var n=0;n2&&this.set(h9,"iPad").set(h3,ft);break;case h0:!this.get(h2)&&f1&&f1[fc]&&this.set(h2,f1[fc]);break;case h1:var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set(hY,t(hY)).set(hQ,t(hQ)).set(hZ,t(hZ)).set(hJ,t(hJ)).set(h0,t(h0))}return this},mf.prototype.parseUA=function(){switch(this.itemType!=h1&&mr.call(this.data,this.ua,this.rgxMap),this.itemType){case hY:this.set(h8,f7(this.get(h6)));break;case h0:if("iOS"==this.get(h2)&&"18.6"==this.get(h6)){var e=/\) Version\/([\d\.]+)/.exec(this.ua);e&&parseInt(e[1].substring(0,2),10)>=26&&this.set(h6,e[1])}}return this},mf.prototype.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case hY:case hJ:var i,n=e[fd]||e[fl];if(n)for(var r=0;r=13?"11":"10"),this.set(h2,c).set(h6,h)}this.get(h2)==fJ&&"Xbox"==e[h9]&&this.set(h2,"Xbox").set(h6,void 0);break;case h1:var f=this.data,m=function(t){return f[t].getItem().setCH(e).parseCH().get()};this.set(hY,m(hY)).set(hQ,m(hQ)).set(hZ,m(hZ)).set(hJ,m(hJ)).set(h0,m(h0))}return this},mm.VERSION=hU,mm.BROWSER=f3([h2,h6,h8,h3]),mm.CPU=f3([h5]),mm.DEVICE=f3([h9,h4,h3,h7,fe,fi,ft,fn,fa]),mm.ENGINE=mm.OS=f3([h2,h6]);let mg=new mm,mp=mg.getBrowser();mg.getOS().name;let m_="Firefox"===mp.name||"Mobile Firefox"===mp.name,mv="Chrome"===mp.name||"Chromium"===mp.name||"Mobile Chrome"===mp.name,mb="Opera"===mp.name,my="Safari"===mp.name||"Mobile Safari"===mp.name,mF="Edge"===mp.name,mk="Brave"===mp.name,mw="IE"===mp.name||"IEMobile"===mp.name,mC="Yandex"===mp.name,mA=mp.major?parseInt(mp.major,10):0,mE=mv||mb||my||mF||mk||mC,mS=m_&&mA<52||mv&&mA<49||mb&&mA<72||my&&mA<12||mw,mx=(0,K.t)("spreed","The browser you're using is not fully supported by Nextcloud Talk. Please use the latest version of Mozilla Firefox, Microsoft Edge, Google Chrome, Opera or Apple Safari.");var mD=__webpack_require__(96302),mT=__webpack_require__.n(mD),mM=__webpack_require__(67526),mI=__webpack_require__(2543);let mB="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),mP=new Uint8Array(16);function mL(){if(!a){if("u"= 16");if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){if((i=i||0)<0||i+16>t.length)throw RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[i+e]=n[e];return t}return mR(n)}let mO=function(e,t,i){return!mB||t||e?mj(e,t,i):mB()},mz=of(ul),mU={Base:{},Internal:{},Standalone:{},createConnection:e=>(e||console.error("Signaling settings are not given"),"internal"!==e.signalingMode)?new mU.Standalone(e,e.server):new mU.Internal(e)};function mq(e){mU.Base.prototype.constructor.apply(this,arguments),this.hideWarning=e.hideWarning,this.spreedArrayConnection=[],this.pullMessageErrorToast=null,this.pullMessagesFails=0,this.pullMessagesRequest=null,this.isSendingMessages=!1,this.sendInterval=window.setInterval((function(){this.sendPendingMessages()}).bind(this),500),this._joinCallAgainOnceDisconnected=!1,mU.Base.prototype._trigger.call(this,"settingsUpdated",[e])}function mW(e,t){mU.Base.prototype.constructor.apply(this,arguments),"string"==typeof t&&(t=[t]);let i=Math.floor(Math.random()*t.length),n=t[i];n.startsWith("https://")?n="wss://"+n.slice(8):n.startsWith("http://")&&(n="ws://"+n.slice(7)),n.endsWith("/")&&(n=n.slice(0,-1)),this.url=n+"/spreed",this.welcomeTimeoutMs=3e3,this.initialReconnectIntervalMs=1e3,this.maxReconnectIntervalMs=16e3,this.reconnectIntervalMs=this.initialReconnectIntervalMs,this.helloResponseErrorCount=0,this.ownSessionJoined=!1,this.joinedUsers={},this.rooms=[],this.connect(),mU.Base.prototype._trigger.call(this,"settingsUpdated",[e])}mU.Base=function(e){this.settings=e,this.sessionId="",this.currentRoomToken=null,this.currentCallToken=null,this.currentCallFlags=null,this.currentCallSilent=null,this.currentCallSilentFor=[],this.currentCallRecordingConsent=null,this.nextcloudSessionId=null,this.handlers={},this.features={},this._sendVideoIfAvailable=!0,this.signalingConnectionTimeout=null,this.signalingConnectionWarning=null,this.signalingConnectionError=null},mU.Base.prototype.on=function(e,t){Object.hasOwn(this.handlers,e)?this.handlers[e].push(t):this.handlers[e]=[t];let i=[];switch(e){case"stunservers":case"turnservers":(i=this.settings[e]||[]).length&&t(i)}},mU.Base.prototype.off=function(e,t){if(!Object.hasOwn(this.handlers,e))return;let i=this.handlers[e].indexOf(t);for(;-1!==i;)this.handlers[e].splice(i,1),i=this.handlers[e].indexOf(t)},mU.Base.prototype._trigger=function(e,t){let i=this.handlers[e];if(i){i=i.slice(0);for(let e=0,n=i.length;ee.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase();iZ.emit("signaling-"+n(e),t)},mU.Base.prototype.setSettings=function(e){e&&(this.settings=e,this._trigger("settingsUpdated",[e]),this._pendingUpdateSettingsPromise&&(this._pendingUpdateSettingsPromise.resolve(),delete this._pendingUpdateSettingsPromise))},mU.Base.prototype.getSessionId=function(){return this.sessionId},mU.Base.prototype.getCurrentCallFlags=function(){return this.currentCallFlags},mU.Base.prototype._resetCurrentCallParameters=function(){this.currentCallToken=null,this.currentCallFlags=null,this.currentCallSilent=null,this.currentCallSilentFor=[],this.currentCallRecordingConsent=null},mU.Base.prototype.disconnect=function(){this.sessionId="",this._trigger("sessionId",[this.sessionId]),this._resetCurrentCallParameters()},mU.Base.prototype.hasFeature=function(e){return this.features&&this.features[e]},mU.Base.prototype.emit=function(e,t){switch(e){case"joinRoom":this.joinRoom(t);break;case"joinCall":this.joinCall(t,arguments[2]);break;case"leaveRoom":this.leaveCurrentRoom();break;case"leaveCall":this.leaveCurrentCall();break;case"message":this.sendCallMessage(t)}},mU.Base.prototype.leaveCurrentRoom=function(){this.currentRoomToken&&(this.leaveRoom(this.currentRoomToken),this.currentRoomToken=null,this.nextcloudSessionId=null)},mU.Base.prototype.updateCurrentCallFlags=function(e){return new Promise((t,i)=>{this.currentCallToken?this.updateCallFlags(this.currentCallToken,e).then(()=>{t()}).catch(e=>{i(e)}):t()})},mU.Base.prototype.leaveCurrentCall=function(){return new Promise((e,t)=>{this.currentCallToken?(this.leaveCall(this.currentCallToken).then(()=>{e()}).catch(e=>{t(e)}),this._resetCurrentCallParameters()):e()})},mU.Base.prototype.joinRoom=function(e,t){return new Promise((i,n)=>{console.debug("Joined"),this.currentRoomToken=e,this.nextcloudSessionId=t,this._trigger("joinRoom",[e]),i(),this.currentCallToken===e?this.joinCall(e,this.currentCallFlags,this.currentCallSilent,this.currentCallRecordingConsent,this.currentCallSilentFor):this._resetCurrentCallParameters(),this._joinRoomSuccess(e,t)})},mU.Base.prototype._leaveRoomSuccess=function(){},mU.Base.prototype.leaveRoom=function(e){this.leaveCurrentCall().then(()=>(this._trigger("leaveRoom",[e]),this._doLeaveRoom(e),new Promise((t,i)=>{this._leaveRoomSuccess(e),t(),e===this.currentRoomToken&&(this.currentRoomToken=null,this.nextcloudSessionId=null)})))},mU.Base.prototype.getSendVideoIfAvailable=function(){return this._sendVideoIfAvailable},mU.Base.prototype.setSendVideoIfAvailable=function(e){this._sendVideoIfAvailable=e},mU.Base.prototype._joinCallSuccess=function(){},mU.Base.prototype.joinCall=function(e,t,i,n,r){return new Promise((a,s)=>{this._trigger("beforeJoinCall",[e]),aw.Ay.post((0,O.KT)("apps/spreed/api/v4/call/{token}",{token:e}),{flags:t,silent:i,recordingConsent:n,silentFor:r}).then((function(){this.currentCallToken=e,this.currentCallFlags=t,this.currentCallSilent=i,this.currentCallRecordingConsent=n,this.currentCallSilentFor=r,this._trigger("joinCall",[e,t]),a(),this._joinCallSuccess(e)}).bind(this)).catch((function(t){s(Error()),console.error("Connection failed, reason: ",t),this._trigger("joinCallFailed",[e,t.response?.data?.ocs])}).bind(this))})},mU.Base.prototype._leaveCallSuccess=function(){},mU.Base.prototype.updateCallFlags=function(e,t){return new Promise((i,n)=>{e?aw.Ay.put((0,O.KT)("apps/spreed/api/v4/call/{token}",{token:e}),{flags:t}).then((function(){this.currentCallFlags=t,this._trigger("updateCallFlags",[e,t]),i()}).bind(this)).catch(function(){n(Error())}):n(Error())})},mU.Base.prototype.leaveCall=function(e,t,i=!1){return new Promise((n,r)=>{e?(this._trigger("beforeLeaveCall",[e,t]),aw.Ay.delete((0,O.KT)("apps/spreed/api/v4/call/{token}",{token:e}),{data:{all:i}}).then((function(){this._trigger("leaveCall",[e,t]),this._leaveCallSuccess(e),n(),t||e!==this.currentCallToken||this._resetCurrentCallParameters()}).bind(this)).catch((function(){this._trigger("leaveCall",[e,t]),r(Error()),t||e!==this.currentCallToken||this._resetCurrentCallParameters()}).bind(this))):r(Error())})},mq.prototype=new mU.Base,mq.prototype.constructor=mq,mU.Internal=mq,mU.Internal.prototype.disconnect=function(){this.spreedArrayConnection=[],this.sendInterval&&(window.clearInterval(this.sendInterval),this.sendInterval=null),mU.Base.prototype.disconnect.apply(this,arguments)},mU.Internal.prototype.on=function(e){mU.Base.prototype.on.apply(this,arguments),"connect"===e&&this._sendMessageWithCallback(e)},mU.Internal.prototype.forceReconnect=function(e,t){e&&console.warn("Forced reconnects with a new session are not supported in the internal signaling; same session as before will be used"),void 0!==t&&(this.currentCallFlags=t),this.leaveCall(this.currentCallToken,!0).then(()=>{this._joinCallAgainOnceDisconnected=!0})},mU.Internal.prototype._sendMessageWithCallback=function(e){let t=[{ev:e}];this._sendMessages(t).then((function(t){this._trigger(e,[t.data.ocs.data])}).bind(this)).catch(function(e){console.error(e),(0,$.s)((0,K.t)("spreed","Sending signaling message has failed"))})},mU.Internal.prototype._sendMessages=function(e){return aw.Ay.post((0,O.KT)("apps/spreed/api/v3/signaling/{token}",{token:this.currentRoomToken}),{messages:JSON.stringify(e)})},mU.Internal.prototype._joinRoomSuccess=function(e,t){this._joinCallAgainOnceDisconnected=!1,this.sessionId=t,this._trigger("sessionId",[this.sessionId]),this._startPullingMessages(),this._trigger("supportedFeatures",[])},mU.Internal.prototype._doLeaveRoom=function(e){this._joinCallAgainOnceDisconnected=!1,this.pullMessagesRequest?.("canceled")},mU.Internal.prototype.sendCallMessage=function(e){OC.debug&&console.debug("Sending",e),"answer"===e.type?console.debug("ANSWER",e):"offer"===e.type&&console.debug("OFFER",e),this.spreedArrayConnection.push({ev:"message",fn:JSON.stringify(e),sessionId:this.sessionId})},mU.Internal.prototype._startPullingMessages=function(){let e=this.currentRoomToken;if(!e)return;null!==this.pullMessagesRequest&&this.pullMessagesRequest("canceled");let{request:t,cancel:i}=hb(a1);this.pullMessagesRequest=i,t(e).then((function(e){this.pullMessagesFails=0,this.pullMessageErrorToast&&(this.pullMessageErrorToast.hideToast(),this.pullMessageErrorToast=null),e.data.ocs.data.forEach(e=>{let t;switch(OC.debug&&console.debug("Received",e),this._trigger("onBeforeReceiveMessage",[e]),e.type){case"usersInRoom":this._trigger("usersInRoom",[e.data]),this._trigger("participantListChanged"),t=e.data.find(e=>e.sessionId===this.sessionId),this._joinCallAgainOnceDisconnected&&!t.inCall&&(this._joinCallAgainOnceDisconnected=!1,this.joinCall(this.currentCallToken,this.currentCallFlags,this.currentCallSilent,this.currentCallRecordingConsent,this.currentCallSilentFor));break;case"message":"string"==typeof e.data&&(e.data=JSON.parse(e.data)),this._trigger("message",[e.data]);break;default:console.error("Unknown Signaling Message",e)}this._trigger("onAfterReceiveMessage",[e])}),this._startPullingMessages()}).bind(this)).catch((function(t){if(e!==this.currentRoomToken);else if((0,aw.FZ)(t))console.debug("Pulling messages request was cancelled");else if(t?.response?.status===409)console.error("Session was killed but the conversation still exists"),this._trigger("pullMessagesStoppedOnFail"),iZ.emit("duplicate-session-detected");else if(t?.response?.status===404||t?.response?.status===403)console.error("Conversation was not found anymore"),iZ.emit("deleted-session-detected");else if(e){if(1===this.pullMessagesFails&&(this.pullMessageErrorToast=(0,$.s)((0,K.t)("spreed","Lost connection to signaling server. Trying to reconnect."),{timeout:$.r})),30===this.pullMessagesFails){this.pullMessageErrorToast&&this.pullMessageErrorToast.hideToast(),this.pullMessageErrorToast=(0,$.s)((0,K.t)("spreed","Lost connection to signaling server.")+"\n"+aN,{timeout:$.r});return}this.pullMessagesFails++,window.setTimeout((function(){this._startPullingMessages()}).bind(this),1e4)}}).bind(this))},mU.Internal.prototype.sendPendingMessages=function(){if(!this.spreedArrayConnection.length||this.isSendingMessages)return;let e=this.spreedArrayConnection.length;this.isSendingMessages=!0,this._sendMessages(this.spreedArrayConnection).then((function(){this.spreedArrayConnection.splice(0,e),this.isSendingMessages=!1}).bind(this)).catch((function(){console.error("Sending pending signaling messages has failed."),this.isSendingMessages=!1}).bind(this))},mU.Internal.prototype._joinCallSuccess=function(e){this.hideWarning||iZ.emit("signaling-internal-show-warning",e)},mW.prototype=new mU.Base,mW.prototype.constructor=mW,mU.Standalone=mW,mU.Standalone.prototype.reconnect=function(){if(this.reconnectTimer)return;let e=this.reconnectIntervalMs-this.reconnectIntervalMs/2+this.reconnectIntervalMs*Math.random();console.info("Reconnect in",e),this.reconnectTimer=window.setTimeout((function(){this.reconnectTimer=null,this.connect()}).bind(this),e),this.reconnectIntervalMs=2*this.reconnectIntervalMs,this.reconnectIntervalMs>this.maxReconnectIntervalMs&&(this.reconnectIntervalMs=this.maxReconnectIntervalMs),this.socket&&(this.socket.close(),this.socket=null)},mU.Standalone.prototype.connect=function(){if(null===this.signalingConnectionError&&null===this.signalingConnectionWarning&&(this.signalingConnectionTimeout=setTimeout(()=>{this.signalingConnectionWarning=(0,$.k)((0,K.t)("spreed","Connecting is taking longer than expected …"),{timeout:$.r})},2e3)),this._pendingUpdateSettingsPromise){console.info("Deferring establishing signaling connection until signaling settings are updated"),this._pendingUpdateSettingsPromise.then(()=>{this.reconnect()});return}console.debug("Connecting to "+this.url+" for "+this.settings.token),this.callbacks={},this.id=1,this.pendingMessages=[],this.connected=!1,this._forceReconnect=!1,this._isRejoiningConversationWithNewSession=!1,this.socket=new WebSocket(this.url),window.signalingSocket=this.socket,this.socket.onopen=(function(e){console.debug("Connected",e),null!==this.signalingConnectionTimeout&&(clearTimeout(this.signalingConnectionTimeout),this.signalingConnectionTimeout=null),null!==this.signalingConnectionWarning&&(this.signalingConnectionWarning.hideToast(),this.signalingConnectionWarning=null),this.reconnectIntervalMs=this.initialReconnectIntervalMs,this.settings.helloAuthParams["2.0"]?this.waitForWelcomeTimeout=setTimeout(this.welcomeTimeout.bind(this),this.welcomeTimeoutMs):this.sendHello()}).bind(this),this.socket.onerror=(function(e){console.error("Error",e),null!==this.signalingConnectionTimeout&&(clearTimeout(this.signalingConnectionTimeout),this.signalingConnectionTimeout=null),null!==this.signalingConnectionWarning&&(this.signalingConnectionWarning.hideToast(),this.signalingConnectionWarning=null),null===this.signalingConnectionError&&(this.signalingConnectionError=(0,$.s)((0,K.t)("spreed","Failed to connect. Retrying …"),{timeout:$.r})),this.reconnect()}).bind(this),this.socket.onclose=(function(e){console.debug("Close",e),null!==this.signalingConnectionTimeout&&(clearTimeout(this.signalingConnectionTimeout),this.signalingConnectionTimeout=null),null!==this.signalingConnectionWarning&&(this.signalingConnectionWarning.hideToast(),this.signalingConnectionWarning=null),1001===e.code&&null!==this.signalingConnectionError&&(this.signalingConnectionError.hideToast(),this.signalingConnectionError=null),this.socket&&1001!==e.code&&(console.debug("Reconnecting socket as the connection was closed unexpected"),this.reconnect())}).bind(this),this.socket.onmessage=(function(e){let t=e.data;"string"==typeof t&&(t=JSON.parse(t)),OC.debug&&console.debug("Received",t);let i=t.id;if(i&&Object.hasOwn(this.callbacks,i)){let e=this.callbacks[i];delete this.callbacks[i],e(t)}this._trigger("onBeforeReceiveMessage",[t]);let n={};switch(t.type){case"welcome":this.welcomeReceived(t);break;case"hello":i||this.helloResponseReceived(t);break;case"room":this.currentRoomToken&&t.room.roomid!==this.currentRoomToken?(this._trigger("roomChanged",[this.currentRoomToken,t.room.roomid]),this.joinedUsers={},this.currentRoomToken=null,this.nextcloudSessionId=null):iZ.emit("should-refresh-conversations");break;case"event":this.processEvent(t);break;case"message":t.message.data.from=t.message.sender.sessionid,this._trigger("message",[t.message.data]);break;case"control":n.type="control",n.payload=t.control.data,n.from=t.control.sender.sessionid,this._trigger("message",[n]);break;case"dialout":this.processDialOutEvent(t);break;case"transient":this.processTransientEvent(t);break;case"error":switch(t.error.code){case"processing_failed":console.error("An error occurred processing the signaling message, please ask your server administrator to check the log file");break;case"token_expired":this.processErrorTokenExpired();break;default:console.error("Ignore unknown error: %s",JSON.stringify(t.error)),this._trigger("error",[t.error])}break;default:i||console.error("Ignore unknown event",t)}this._trigger("onAfterReceiveMessage",[t])}).bind(this)},mU.Standalone.prototype.welcomeReceived=function(e){let t;if(console.debug("Welcome received",e),null!==this.waitForWelcomeTimeout&&(clearTimeout(this.waitForWelcomeTimeout),this.waitForWelcomeTimeout=null),this.features={},e.welcome&&e.welcome.features){let i=e.welcome.features;for(t=0;t{hz.commit("setInCall",{token:this.currentRoomToken,sessionId:this.nextcloudSessionId,flags:rq.CALL_FLAG.DISCONNECTED}),this.nextcloudSessionId=e.data.ocs.data.sessionId,mz.setCurrentParticipant(e.data.ocs.data),hz.commit("setInCall",{token:this.currentRoomToken,sessionId:this.nextcloudSessionId,flags:this.currentCallFlags||rq.CALL_FLAG.DISCONNECTED}),this.sendBye(),this.socket&&this.socket.close()})):this.socket&&this.socket.close()},mU.Standalone.prototype.sendCallMessage=function(e){"control"===e.type?this.doSend({type:"control",control:{recipient:{type:"session",sessionid:e.to},data:e.payload}}):this.doSend({type:"message",message:{recipient:{type:"session",sessionid:e.to},data:e}})},mU.Standalone.prototype.sendRoomMessage=function(e){this.currentCallToken?this.doSend({type:"message",message:{recipient:{type:"room"},data:e}}):console.warn("Not in a room, not sending room message",e)},mU.Standalone.prototype.doSend=function(e,t){if(!this.connected&&"hello"!==e.type||null===this.socket)return void this.pendingMessages.push([e,t]);if(t){let i=this.id++;this.callbacks[i]=t,e.id=""+i}OC.debug&&console.debug("Sending",e),this.socket.send(JSON.stringify(e))},mU.Standalone.prototype._getBackendUrl=function(e){return(0,O.KT)("apps/spreed/api/v3/signaling/backend",{},{baseURL:e})},mU.Standalone.prototype.sendHello=function(){let e;if(this.resumeId){console.debug("Trying to resume session",this.sessionId);let e={type:"hello",hello:{version:"1.0",resumeid:this.resumeId}};this.doSend(e,this.helloResponseReceived.bind(this));return}this._forceReconnect=!1;let t=this._getBackendUrl();e=this.hasFeature("hello-v2")&&this.settings.helloAuthParams["2.0"]?"2.0":"1.0";let i=["chat-relay"];Ao.isSupported().then(()=>{i.push("encryption")}).catch(()=>{}).finally(()=>{let n={type:"hello",hello:{version:e,auth:{url:t,params:this.settings.helloAuthParams[e]}}};i.length>0&&(n.hello.features=i),this.settings.helloAuthParams.internal&&(n.hello.auth.type="internal",n.hello.auth.params=this.settings.helloAuthParams.internal),this.doSend(n,this.helloResponseReceived.bind(this))})},mU.Standalone.prototype.helloResponseReceived=function(e){let t;if(console.debug("Hello response received",e),"hello"!==e.type){if(this.resumeId){this.resumeId="",this.sendHello();return}this.helloResponseErrorCount++,null===this.signalingConnectionError&&this.helloResponseErrorCount<5?this.signalingConnectionError=(0,$.s)((0,K.t)("spreed","Failed to connect. Retrying …"),{timeout:$.r}):5===this.helloResponseErrorCount&&(this.signalingConnectionError&&this.signalingConnectionError.hideToast(),this.signalingConnectionError=(0,$.s)((0,K.t)("spreed","Failed to connect. The signaling server may be set up incorrectly"),{timeout:$.r})),console.error("Could not connect to server using backend url %s %o",this._getBackendUrl(),e),this.reconnect();return}this.helloResponseErrorCount=0,null!==this.signalingConnectionError&&(this.signalingConnectionError.hideToast(),this.signalingConnectionError=null);let i=!!this.resumeId;if(this.connected=!0,this._forceReconnect&&i){console.info("Perform pending forced reconnect"),this.forceReconnect(!0);return}if(this.sessionId=e.hello.sessionid,this._trigger("sessionId",[this.sessionId]),this.resumeId=e.hello.resumeid,this.features={},e.hello.server&&e.hello.server.features){let i=e.hello.server.features;for(t=0;t{i=e,n=t}),this._pendingJoinRoomPromise.resolve=i,this._pendingJoinRoomPromise.reject=n,this._pendingJoinRoomPromise.token=e,console.info("Not connected to signaling server yet, defer joining room",e),this.currentRoomToken=e,this.nextcloudSessionId=t),this._pendingJoinRoomPromise}if(this._pendingJoinRoomPromise&&this._pendingJoinRoomPromise.token!==e&&(this._pendingJoinRoomPromise.reject(),delete this._pendingJoinRoomPromise),!this._pendingJoinRoomPromise)return mU.Base.prototype.joinRoom.apply(this,arguments);let i=this._pendingJoinRoomPromise;return delete this._pendingJoinRoomPromise,mU.Base.prototype.joinRoom.apply(this,arguments).then(()=>{i.resolve()}).catch(e=>{i.reject(e)}),i},mU.Standalone.prototype._joinRoomSuccess=function(e,t){if(!this.sessionId)return void console.error("No hello response received yet, not joining room",e);console.debug("Join room",e);let i={type:"room",room:{roomid:e,sessionid:t}};this.settings.federation?.server&&(i.room.federation={signaling:this.settings.federation.server,url:this._getBackendUrl(this.settings.federation.nextcloudServer),roomid:this.settings.federation.roomId,token:this.settings.federation.helloAuthParams.token}),this.doSend(i,(function(t){this.joinResponseReceived(t,e)}).bind(this))},mU.Standalone.prototype.joinCall=function(e,t,i,n,r){if(this.signalingRoomJoined!==e){if(console.debug("Not joined room yet, not joining call",e),this.pendingJoinCall&&this.pendingJoinCall.token===e)return this.pendingJoinCall.promise;this.pendingJoinCall&&this.pendingJoinCall.token!==e&&this.pendingJoinCall.reject(Error("Pending join call canceled for "+this.pendingJoinCall.token));let a=new Promise((a,s)=>{this.pendingJoinCall={token:e,flags:t,silent:i,recordingConsent:n,silentFor:r,resolve:a,reject:s}});return this.pendingJoinCall.promise=a,this.pendingJoinCall.promise}return this.settings.helloAuthParams.internal?new Promise((a,s)=>{this._trigger("beforeJoinCall",[e]),this.currentCallToken=e,this.currentCallFlags=t,this.currentCallSilent=i,this.currentCallRecordingConsent=n,this.currentCallSilentFor=r,this._trigger("joinCall",[e,t]),a()}):mU.Base.prototype.joinCall.apply(this,arguments)},mU.Standalone.prototype.joinResponseReceived=function(e,t){if(console.debug("Joined",e,t),this.signalingRoomJoined=t,this.pendingJoinCall&&t===this.pendingJoinCall.token){let e=this.pendingJoinCall.resolve,i=this.pendingJoinCall.reject,{flags:n,silent:r,recordingConsent:a,silentFor:s}=this.pendingJoinCall;this.joinCall(t,n,r,a,s).then(()=>{e()}).catch(e=>{i(e)}),this.pendingJoinCall=null}this.roomCollection&&(this.roomCollection.forEach(function(e){e.get("token")===t&&e.set("lastPing",uA(Date.now()))}),this.roomCollection.sort()),this._trigger("supportedFeatures",Object.keys(this.features))},mU.Standalone.prototype._doLeaveRoom=function(e){console.debug("Leave room",e),this.doSend({type:"room",room:{roomid:""}},(function(e){console.debug("Left",e),this.signalingRoomJoined=null;let t=Object.keys(this.joinedUsers);t.length&&this._trigger("usersLeft",[t]),this.joinedUsers={}}).bind(this))},mU.Standalone.prototype.processEvent=function(e){switch(e.event.target){case"room":this.processRoomEvent(e);break;case"roomlist":this.processRoomListEvent(e);break;case"participants":this.processRoomParticipantsEvent(e);break;default:console.error("Unsupported event target",e)}},mU.Standalone.prototype.processDialOutEvent=function(e){e.dialout.callid?hz.dispatch("processDialOutAnswer",{callid:e.dialout.callid}):e.dialout.error&&console.debug(e.dialout.error)},mU.Standalone.prototype.processTransientEvent=function(e){switch(e.transient.type){case"set":e.transient.key.startsWith("callstatus_")&&hz.dispatch("processTransientCallStatus",{value:e.transient.value});break;case"remove":break;case"initial":e.transient.data&&hz.dispatch("addPhonesStates",{phoneStates:e.transient.data});break;default:console.error("Unsupported event type",e)}},mU.Standalone.prototype.processRoomEvent=function(e){let t,i=[],n=[];switch(e.event.type){case"join":if((i=e.event.join||[]).length){console.debug("Users joined",i);let e=!1;for(t=0;t{if("active-since"===e)return;let n=e;"lobby-state"===e?n="lobbyState":"lobby-timer"===e?n="lobbyTimer":"read-only"===e?n="readOnly":"sip-enabled"===e&&(n="sipEnabled"),i[n]=t[e]}),iZ.emit("should-refresh-conversations",{token:e.event.update.roomid,properties:i});break}case"disinvite":if(e.event?.disinvite?.roomid===this.currentRoomToken){if(this._isRejoiningConversationWithNewSession)return void console.debug('Rejoining conversation with new session, "disinvite" message ignored');console.error("User or session was removed from the conversation, redirecting"),iZ.emit("deleted-session-detected");break}default:console.debug("Room list event",e),iZ.emit("should-refresh-conversations")}},mU.Standalone.prototype.processRoomParticipantsEvent=function(e){switch(e.event.type){case"update":e.event.update.all?0===e.event.update.incall?this._trigger("allUsersChangedInCallToDisconnected"):console.error("Unknown room participant event",e):(console.debug("Users changed",e.event.update.users||[]),this._trigger("usersChanged",[e.event.update.users||[]])),this._trigger("participantListChanged");break;case"flags":this._trigger("participantFlagsChanged",[e.event.flags||[]]);break;default:console.error("Unknown room participant event",e)}},mU.Standalone.prototype.processErrorTokenExpired=function(){if(console.info("The signaling token is expired, need to update settings"),!this._pendingUpdateSettingsPromise){let e;this._pendingUpdateSettingsPromise=new Promise((t,i)=>{e=t}),this._pendingUpdateSettingsPromise.resolve=e}this._trigger("updateSettings")},mU.Standalone.prototype.requestOffer=function(e,t,i){this.hasFeature("mcu")?("string"!=typeof e&&(e=e.sessionId||e.sessionid),console.debug("Request offer from",e,i),this.doSend({type:"message",message:{recipient:{type:"session",sessionid:e},data:{type:"requestoffer",roomType:t,sid:i}}})):console.warn("Can't request an offer without a MCU.")},mU.Standalone.prototype.sendOffer=function(e,t){this.hasFeature("mcu")?("string"!=typeof e&&(e=e.sessionId||e.sessionid),console.debug("Send offer to",e),this.doSend({type:"message",message:{recipient:{type:"session",sessionid:e},data:{type:"sendoffer",roomType:t}}})):console.warn("Can't send an offer without a MCU.")};let mV=mU;var mH=__webpack_require__(40537),m$=__webpack_require__.n(mH);let mG=!0,mX=!0;function mK(e,t,i){let n=e.match(t);return n&&n.length>=i&&parseFloat(n[i],10)}function mY(e,t,i){if(!e.RTCPeerConnection)return;let n=e.RTCPeerConnection.prototype,r=n.addEventListener;n.addEventListener=function(e,n){if(e!==t)return r.apply(this,arguments);let a=e=>{let t=i(e);t&&(n.handleEvent?n.handleEvent(t):n(t))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(n,a),r.apply(this,[e,a])};let a=n.removeEventListener;n.removeEventListener=function(e,i){if(e!==t||!this._eventMap||!this._eventMap[t]||!this._eventMap[t].has(i))return a.apply(this,arguments);let n=this._eventMap[t].get(i);return this._eventMap[t].delete(i),0===this._eventMap[t].size&&delete this._eventMap[t],0===Object.keys(this._eventMap).length&&delete this._eventMap,a.apply(this,[e,n])},Object.defineProperty(n,"on"+t,{get(){return this["_on"+t]},set(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}function mQ(e){return"boolean"!=typeof e?Error("Argument type: "+typeof e+". Please use a boolean."):(mG=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function mZ(e){return"boolean"!=typeof e?Error("Argument type: "+typeof e+". Please use a boolean."):(mX=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function mJ(){"object"==typeof window&&!mG&&"u">typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}function m0(e,t){mX&&console.warn(e+" is deprecated, please use "+t+" instead.")}function m1(e){let t={browser:null,version:null};if(void 0===e||!e.navigator||!e.navigator.userAgent)return t.browser="Not a browser.",t;let{navigator:i}=e;if(i.userAgentData&&i.userAgentData.brands){let e=i.userAgentData.brands.find(e=>"Chromium"===e.brand);if(e)return{browser:"chrome",version:parseInt(e.version,10)}}return i.mozGetUserMedia?(t.browser="firefox",t.version=parseInt(mK(i.userAgent,/Firefox\/(\d+)\./,1))):i.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection?(t.browser="chrome",t.version=parseInt(mK(i.userAgent,/Chrom(e|ium)\/(\d+)\./,2))):e.RTCPeerConnection&&i.userAgent.match(/AppleWebKit\/(\d+)\./)?(t.browser="safari",t.version=parseInt(mK(i.userAgent,/AppleWebKit\/(\d+)\./,1)),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype,t._safariVersion=mK(i.userAgent,/Version\/(\d+(\.?\d+))/,1)):t.browser="Not a supported browser.",t}function m2(e){return"[object Object]"===Object.prototype.toString.call(e)}function m3(e){return m2(e)?Object.keys(e).reduce(function(t,i){let n=m2(e[i]),r=n?m3(e[i]):e[i],a=n&&!Object.keys(r).length;return void 0===r||a?t:Object.assign(t,{[i]:r})},{}):e}function m4(e,t,i){!t||i.has(t.id)||(i.set(t.id,t),Object.keys(t).forEach(n=>{n.endsWith("Id")?m4(e,e.get(t[n]),i):n.endsWith("Ids")&&t[n].forEach(t=>{m4(e,e.get(t),i)})}))}function m6(e,t,i){let n=i?"outbound-rtp":"inbound-rtp",r=new Map;if(null===t)return r;let a=[];return e.forEach(e=>{"track"===e.type&&e.trackIdentifier===t.id&&a.push(e)}),a.forEach(t=>{e.forEach(i=>{i.type===n&&i.trackId===t.id&&m4(e,i,r)})}),r}let m5=mJ;function m8(e,t){let i=e&&e.navigator;if(!i.mediaDevices)return;let n=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;let t={};return Object.keys(e).forEach(i=>{if("require"===i||"advanced"===i||"mediaSource"===i)return;let n="object"==typeof e[i]?e[i]:{ideal:e[i]};void 0!==n.exact&&"number"==typeof n.exact&&(n.min=n.max=n.exact);let r=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==n.ideal){t.optional=t.optional||[];let e={};"number"==typeof n.ideal?(e[r("min",i)]=n.ideal,t.optional.push(e),(e={})[r("max",i)]=n.ideal):e[r("",i)]=n.ideal,t.optional.push(e)}void 0!==n.exact&&"number"!=typeof n.exact?(t.mandatory=t.mandatory||{},t.mandatory[r("",i)]=n.exact):["min","max"].forEach(e=>{void 0!==n[e]&&(t.mandatory=t.mandatory||{},t.mandatory[r(e,i)]=n[e])})}),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},r=function(e,r){if(t.version>=61)return r(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"==typeof e.audio){let t=function(e,t,i){t in e&&!(i in e)&&(e[i]=e[t],delete e[t])};t((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),t(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=n(e.audio)}if(e&&"object"==typeof e.video){let a=e.video.facingMode;a=a&&("object"==typeof a?a:{ideal:a});let s=t.version<66;if(a&&("user"===a.exact||"environment"===a.exact||"user"===a.ideal||"environment"===a.ideal)&&!(i.mediaDevices.getSupportedConstraints&&i.mediaDevices.getSupportedConstraints().facingMode&&!s)){let t;if(delete e.video.facingMode,"environment"===a.exact||"environment"===a.ideal?t=["back","rear"]:("user"===a.exact||"user"===a.ideal)&&(t=["front"]),t)return i.mediaDevices.enumerateDevices().then(i=>{let s=(i=i.filter(e=>"videoinput"===e.kind)).find(e=>t.some(t=>e.label.toLowerCase().includes(t)));return!s&&i.length&&t.includes("back")&&(s=i[i.length-1]),s&&(e.video.deviceId=a.exact?{exact:s.deviceId}:{ideal:s.deviceId}),e.video=n(e.video),m5("chrome: "+JSON.stringify(e)),r(e)})}e.video=n(e.video)}return m5("chrome: "+JSON.stringify(e)),r(e)},a=function(e){return t.version>=64?e:{name:({PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"})[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString(){return this.name+(this.message&&": ")+this.message}}},s=function(e,t,n){r(e,e=>{i.webkitGetUserMedia(e,t,e=>{n&&n(a(e))})})};if(i.getUserMedia=s.bind(i),i.mediaDevices.getUserMedia){let e=i.mediaDevices.getUserMedia.bind(i.mediaDevices);i.mediaDevices.getUserMedia=function(t){return r(t,t=>e(t).then(e=>{if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(e=>{e.stop()}),new DOMException("","NotFoundError");return e},e=>Promise.reject(a(e))))}}}function m9(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function m7(e){if("object"!=typeof e||!e.RTCPeerConnection||"ontrack"in e.RTCPeerConnection.prototype)mY(e,"track",e=>(e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e));else{Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get(){return this._ontrack},set(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});let t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){return this._ontrackpoly||(this._ontrackpoly=t=>{t.stream.addEventListener("addtrack",i=>{let n;n=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===i.track.id):{track:i.track};let r=new Event("track");r.track=i.track,r.receiver=n,r.transceiver={receiver:n},r.streams=[t.stream],this.dispatchEvent(r)}),t.stream.getTracks().forEach(i=>{let n;n=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===i.id):{track:i};let r=new Event("track");r.track=i,r.receiver=n,r.transceiver={receiver:n},r.streams=[t.stream],this.dispatchEvent(r)})},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}}function ge(e){if("object"==typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){let t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};let i=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,n){let r=i.apply(this,arguments);return r||(r=t(this,e),this._senders.push(r)),r};let n=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){n.apply(this,arguments);let t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}let i=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._senders=this._senders||[],i.apply(this,[e]),e.getTracks().forEach(e=>{this._senders.push(t(this,e))})};let n=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){this._senders=this._senders||[],n.apply(this,[e]),e.getTracks().forEach(e=>{let t=this._senders.find(t=>t.track===e);t&&this._senders.splice(this._senders.indexOf(t),1)})}}else if("object"==typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){let t=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function gt(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver))return;if(!("getStats"in e.RTCRtpSender.prototype)){let t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});let i=e.RTCPeerConnection.prototype.addTrack;i&&(e.RTCPeerConnection.prototype.addTrack=function(){let e=i.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){let e=this;return this._pc.getStats().then(t=>m6(t,e.track,!0))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){let t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),mY(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){let e=this;return this._pc.getStats().then(t=>m6(t,e.track,!1))}}if(!("getStats"in e.RTCRtpSender.prototype&&"getStats"in e.RTCRtpReceiver.prototype))return;let t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){let e,t,i,n=arguments[0];return(this.getSenders().forEach(t=>{t.track===n&&(e?i=!0:e=t)}),this.getReceivers().forEach(e=>(e.track===n&&(t?i=!0:t=e),e.track===n)),i||e&&t)?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):e?e.getStats():t?t.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return t.apply(this,arguments)}}function gi(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(e=>this._shimmedLocalStreams[e][0])};let t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,i){if(!i)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};let n=t.apply(this,arguments);return this._shimmedLocalStreams[i.id]?-1===this._shimmedLocalStreams[i.id].indexOf(n)&&this._shimmedLocalStreams[i.id].push(n):this._shimmedLocalStreams[i.id]=[i,n],n};let i=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")});let t=this.getSenders();i.apply(this,arguments);let n=this.getSenders().filter(e=>-1===t.indexOf(e));this._shimmedLocalStreams[e.id]=[e].concat(n)};let n=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],n.apply(this,arguments)};let r=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach(t=>{let i=this._shimmedLocalStreams[t].indexOf(e);-1!==i&&this._shimmedLocalStreams[t].splice(i,1),1===this._shimmedLocalStreams[t].length&&delete this._shimmedLocalStreams[t]}),r.apply(this,arguments)}}function gn(e,t){if(!e.RTCPeerConnection)return;if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return gi(e);let i=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){let e=i.apply(this);return this._reverseStreams=this._reverseStreams||{},e.map(e=>this._reverseStreams[e.id])};let n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")}),!this._reverseStreams[t.id]){let i=new e.MediaStream(t.getTracks());this._streams[t.id]=i,this._reverseStreams[i.id]=t,t=i}n.apply(this,[t])};let r=e.RTCPeerConnection.prototype.removeStream;function a(e,t){let i=t.sdp;return Object.keys(e._reverseStreams||[]).forEach(t=>{let n=e._reverseStreams[t],r=e._streams[n.id];i=i.replace(RegExp(r.id,"g"),n.id)}),new RTCSessionDescription({type:t.type,sdp:i})}function s(e,t){let i=t.sdp;return Object.keys(e._reverseStreams||[]).forEach(t=>{let n=e._reverseStreams[t],r=e._streams[n.id];i=i.replace(RegExp(n.id,"g"),r.id)}),new RTCSessionDescription({type:t.type,sdp:i})}e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},r.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,i){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");let n=[].slice.call(arguments,1);if(1!==n.length||!n[0].getTracks().find(e=>e===t))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(this.getSenders().find(e=>e.track===t))throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};let r=this._streams[i.id];if(r)r.addTrack(t),Promise.resolve().then(()=>{this.dispatchEvent(new Event("negotiationneeded"))});else{let n=new e.MediaStream([t]);this._streams[i.id]=n,this._reverseStreams[n.id]=i,this.addStream(n)}return this.getSenders().find(e=>e.track===t)},["createOffer","createAnswer"].forEach(function(t){let i=e.RTCPeerConnection.prototype[t],n={[t](){let e=arguments,t=arguments.length&&"function"==typeof arguments[0];return t?i.apply(this,[t=>{let i=a(this,t);e[0].apply(null,[i])},t=>{e[1]&&e[1].apply(null,t)},arguments[2]]):i.apply(this,arguments).then(e=>a(this,e))}};e.RTCPeerConnection.prototype[t]=n[t]});let o=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type&&(arguments[0]=s(this,arguments[0])),o.apply(this,arguments)};let l=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get(){let e=l.get.apply(this);return""===e.type?e:a(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){let t;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(e._pc!==this)throw new DOMException("Sender was not created by this connection.","InvalidAccessError");this._streams=this._streams||{},Object.keys(this._streams).forEach(i=>{this._streams[i].getTracks().find(t=>e.track===t)&&(t=this._streams[i])}),t&&(1===t.getTracks().length?this.removeStream(this._reverseStreams[t.id]):t.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}}function gr(e,t){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(t){let i=e.RTCPeerConnection.prototype[t],n={[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),i.apply(this,arguments)}};e.RTCPeerConnection.prototype[t]=n[t]})}function ga(e,t){mY(e,"negotiationneeded",e=>{let i=e.target;if(!(t.version<72)&&(!i.getConfiguration||"plan-b"!==i.getConfiguration().sdpSemantics)||"stable"===i.signalingState)return e})}function gs(e,t){let i=e&&e.navigator,n=e&&e.MediaStreamTrack;if(i.getUserMedia=function(e,t,n){m0("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),i.mediaDevices.getUserMedia(e).then(t,n)},!(t.version>55&&"autoGainControl"in i.mediaDevices.getSupportedConstraints())){let e=function(e,t,i){t in e&&!(i in e)&&(e[i]=e[t],delete e[t])},t=i.mediaDevices.getUserMedia.bind(i.mediaDevices);if(i.mediaDevices.getUserMedia=function(i){return"object"==typeof i&&"object"==typeof i.audio&&(e((i=JSON.parse(JSON.stringify(i))).audio,"autoGainControl","mozAutoGainControl"),e(i.audio,"noiseSuppression","mozNoiseSuppression")),t(i)},n&&n.prototype.getSettings){let t=n.prototype.getSettings;n.prototype.getSettings=function(){let i=t.apply(this,arguments);return e(i,"mozAutoGainControl","autoGainControl"),e(i,"mozNoiseSuppression","noiseSuppression"),i}}if(n&&n.prototype.applyConstraints){let t=n.prototype.applyConstraints;n.prototype.applyConstraints=function(i){return"audio"===this.kind&&"object"==typeof i&&(e(i=JSON.parse(JSON.stringify(i)),"autoGainControl","mozAutoGainControl"),e(i,"noiseSuppression","mozNoiseSuppression")),t.apply(this,[i])}}}}function go(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&(e.navigator.mediaDevices.getDisplayMedia=function(i){if(!(i&&i.video)){let e=new DOMException("getDisplayMedia without video constraints is undefined");return e.name="NotFoundError",e.code=8,Promise.reject(e)}return!0===i.video?i.video={mediaSource:t}:i.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(i)})}function gl(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function gu(e,t){if("object"!=typeof e||!(e.RTCPeerConnection||e.mozRTCPeerConnection))return;!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(t){let i=e.RTCPeerConnection.prototype[t],n={[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),i.apply(this,arguments)}};e.RTCPeerConnection.prototype[t]=n[t]});let i={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},n=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){let[e,r,a]=arguments;return n.apply(this,[e||null]).then(e=>{if(t.version<53&&!r)try{e.forEach(e=>{e.type=i[e.type]||e.type})}catch(t){if("TypeError"!==t.name)throw t;e.forEach((t,n)=>{e.set(n,Object.assign({},t,{type:i[t.type]||t.type}))})}return e}).then(r,a)}}function gd(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender)||e.RTCRtpSender&&"getStats"in e.RTCRtpSender.prototype)return;let t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});let i=e.RTCPeerConnection.prototype.addTrack;i&&(e.RTCPeerConnection.prototype.addTrack=function(){let e=i.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}function gc(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender)||e.RTCRtpSender&&"getStats"in e.RTCRtpReceiver.prototype)return;let t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){let e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),mY(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}function gh(e){!e.RTCPeerConnection||"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){m0("removeStream","removeTrack"),this.getSenders().forEach(t=>{t.track&&e.getTracks().includes(t.track)&&this.removeTrack(t)})})}function gf(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}function gm(e){if(!("object"==typeof e&&e.RTCPeerConnection))return;let t=e.RTCPeerConnection.prototype.addTransceiver;t&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];let e=arguments[1]&&arguments[1].sendEncodings;void 0===e&&(e=[]);let i=(e=[...e]).length>0;i&&e.forEach(e=>{if("rid"in e&&!/^[a-z0-9]{0,16}$/i.test(e.rid))throw TypeError("Invalid RID value provided.");if("scaleResolutionDownBy"in e&&!(parseFloat(e.scaleResolutionDownBy)>=1))throw RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in e&&!(parseFloat(e.maxFramerate)>=0))throw RangeError("max_framerate must be >= 0.0")});let n=t.apply(this,arguments);if(i){let{sender:t}=n,i=t.getParameters();"encodings"in i&&(1!==i.encodings.length||0!==Object.keys(i.encodings[0]).length)||(i.encodings=e,t.sendEncodings=e,this.setParametersPromises.push(t.setParameters(i).then(()=>{delete t.sendEncodings}).catch(()=>{delete t.sendEncodings})))}return n})}function gg(e){if(!("object"==typeof e&&e.RTCRtpSender))return;let t=e.RTCRtpSender.prototype.getParameters;t&&(e.RTCRtpSender.prototype.getParameters=function(){let e=t.apply(this,arguments);return"encodings"in e||(e.encodings=[].concat(this.sendEncodings||[{}])),e})}function gp(e){if(!("object"==typeof e&&e.RTCPeerConnection))return;let t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>t.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):t.apply(this,arguments)}}function g_(e){if(!("object"==typeof e&&e.RTCPeerConnection))return;let t=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>t.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):t.apply(this,arguments)}}function gv(e){if("object"==typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){let t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach(i=>t.call(this,i,e)),e.getVideoTracks().forEach(i=>t.call(this,i,e))},e.RTCPeerConnection.prototype.addTrack=function(e,...i){return i&&i.forEach(e=>{this._localStreams?this._localStreams.includes(e)||this._localStreams.push(e):this._localStreams=[e]}),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){this._localStreams||(this._localStreams=[]);let t=this._localStreams.indexOf(e);if(-1===t)return;this._localStreams.splice(t,1);let i=e.getTracks();this.getSenders().forEach(e=>{i.includes(e.track)&&this.removeTrack(e)})})}}function gb(e){if("object"==typeof e&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in e.RTCPeerConnection.prototype))){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get(){return this._onaddstream},set(e){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=e=>{e.streams.forEach(e=>{if(this._remoteStreams||(this._remoteStreams=[]),this._remoteStreams.includes(e))return;this._remoteStreams.push(e);let t=new Event("addstream");t.stream=e,this.dispatchEvent(t)})})}});let t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){let e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(t){t.streams.forEach(t=>{if(e._remoteStreams||(e._remoteStreams=[]),e._remoteStreams.indexOf(t)>=0)return;e._remoteStreams.push(t);let i=new Event("addstream");i.stream=t,e.dispatchEvent(i)})}),t.apply(e,arguments)}}}function gy(e){if("object"!=typeof e||!e.RTCPeerConnection)return;let t=e.RTCPeerConnection.prototype,i=t.createOffer,n=t.createAnswer,r=t.setLocalDescription,a=t.setRemoteDescription,s=t.addIceCandidate;t.createOffer=function(e,t){let n=arguments.length>=2?arguments[2]:arguments[0],r=i.apply(this,[n]);return t?(r.then(e,t),Promise.resolve()):r},t.createAnswer=function(e,t){let i=arguments.length>=2?arguments[2]:arguments[0],r=n.apply(this,[i]);return t?(r.then(e,t),Promise.resolve()):r};let o=function(e,t,i){let n=r.apply(this,[e]);return i?(n.then(t,i),Promise.resolve()):n};t.setLocalDescription=o,t.setRemoteDescription=o=function(e,t,i){let n=a.apply(this,[e]);return i?(n.then(t,i),Promise.resolve()):n},t.addIceCandidate=function(e,t,i){let n=s.apply(this,[e]);return i?(n.then(t,i),Promise.resolve()):n}}function gF(e){let t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){let e=t.mediaDevices,i=e.getUserMedia.bind(e);t.mediaDevices.getUserMedia=e=>i(gk(e))}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=(function(e,i,n){t.mediaDevices.getUserMedia(e).then(i,n)}).bind(t))}function gk(e){return e&&void 0!==e.video?Object.assign({},e,{video:m3(e.video)}):e}function gw(e){if(!e.RTCPeerConnection)return;let t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,i){if(e&&e.iceServers){let t=[];for(let i=0;it.generateCertificate})}function gC(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function gA(e){let t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){void 0!==e.offerToReceiveAudio&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);let t=this.getTransceivers().find(e=>"audio"===e.receiver.track.kind);!1===e.offerToReceiveAudio&&t?"sendrecv"===t.direction?t.setDirection?t.setDirection("sendonly"):t.direction="sendonly":"recvonly"===t.direction&&(t.setDirection?t.setDirection("inactive"):t.direction="inactive"):!0!==e.offerToReceiveAudio||t||this.addTransceiver("audio",{direction:"recvonly"}),void 0!==e.offerToReceiveVideo&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);let i=this.getTransceivers().find(e=>"video"===e.receiver.track.kind);!1===e.offerToReceiveVideo&&i?"sendrecv"===i.direction?i.setDirection?i.setDirection("sendonly"):i.direction="sendonly":"recvonly"===i.direction&&(i.setDirection?i.setDirection("inactive"):i.direction="inactive"):!0!==e.offerToReceiveVideo||i||this.addTransceiver("video",{direction:"recvonly"})}return t.apply(this,arguments)}}function gE(e){"object"!=typeof e||e.AudioContext||(e.AudioContext=e.webkitAudioContext)}var gS=__webpack_require__(37963),gx=__webpack_require__.n(gS);function gD(e){if(!e.RTCIceCandidate||e.RTCIceCandidate&&"foundation"in e.RTCIceCandidate.prototype)return;let t=e.RTCIceCandidate;e.RTCIceCandidate=function(e){if("object"==typeof e&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substring(2)),e.candidate&&e.candidate.length){let i=new t(e),n=gx().parseCandidate(e.candidate);for(let e in n)e in i||Object.defineProperty(i,e,{value:n[e]});return i.toJSON=function(){return{candidate:i.candidate,sdpMid:i.sdpMid,sdpMLineIndex:i.sdpMLineIndex,usernameFragment:i.usernameFragment}},i}return new t(e)},e.RTCIceCandidate.prototype=t.prototype,mY(e,"icecandidate",t=>(t.candidate&&Object.defineProperty(t,"candidate",{value:new e.RTCIceCandidate(t.candidate),writable:"false"}),t))}function gT(e){!e.RTCIceCandidate||e.RTCIceCandidate&&"relayProtocol"in e.RTCIceCandidate.prototype||mY(e,"icecandidate",e=>{if(e.candidate){let t=gx().parseCandidate(e.candidate.candidate);"relay"===t.type&&(e.candidate.relayProtocol=({0:"tls",1:"tcp",2:"udp"})[t.priority>>24])}return e})}function gM(e,t){if(!e.RTCPeerConnection)return;"sctp"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"sctp",{get(){return void 0===this._sctp?null:this._sctp}});let i=function(e){if(!e||!e.sdp)return!1;let t=gx().splitSections(e.sdp);return t.shift(),t.some(e=>{let t=gx().parseMLine(e);return t&&"application"===t.kind&&-1!==t.protocol.indexOf("SCTP")})},n=function(e){let t=e.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===t||t.length<2)return -1;let i=parseInt(t[1],10);return i!=i?-1:i},r=function(e){let i=65536;return"firefox"===t.browser&&(i=t.version<57?-1===e?16384:0x7ffffff5:t.version<60?57===t.version?65535:65536:0x7ffffff5),i},a=function(e,i){let n=65536;"firefox"===t.browser&&57===t.version&&(n=65535);let r=gx().matchPrefix(e.sdp,"a=max-message-size:");return r.length>0?n=parseInt(r[0].substring(19),10):"firefox"===t.browser&&-1!==i&&(n=0x7ffffff5),n},s=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===t.browser&&t.version>=76){let{sdpSemantics:e}=this.getConfiguration();"plan-b"===e&&Object.defineProperty(this,"sctp",{get(){return void 0===this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(i(arguments[0])){let e,t=n(arguments[0]),i=r(t),s=a(arguments[0],t);e=0===i&&0===s?1/0:0===i||0===s?Math.max(i,s):Math.min(i,s);let o={};Object.defineProperty(o,"maxMessageSize",{get:()=>e}),this._sctp=o}return s.apply(this,arguments)}}function gI(e){if(!(e.RTCPeerConnection&&"createDataChannel"in e.RTCPeerConnection.prototype))return;function t(e,t){let i=e.send;e.send=function(){let n=arguments[0],r=n.length||n.size||n.byteLength;if("open"===e.readyState&&t.sctp&&r>t.sctp.maxMessageSize)throw TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return i.apply(e,arguments)}}let i=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){let e=i.apply(this,arguments);return t(e,this),e},mY(e,"datachannel",e=>(t(e.channel,e.target),e))}function gB(e){if(!e.RTCPeerConnection||"connectionState"in e.RTCPeerConnection.prototype)return;let t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get(){return({completed:"connected",checking:"connecting"})[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get(){return this._onconnectionstatechange||null},set(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach(e=>{let i=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=e=>{let t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;let i=new Event("connectionstatechange",e);t.dispatchEvent(i)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),i.apply(this,arguments)}})}function gP(e,t){if(!e.RTCPeerConnection||"chrome"===t.browser&&t.version>=71||"safari"===t.browser&&t._safariVersion>=13.1)return;let i=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(t){if(t&&t.sdp&&-1!==t.sdp.indexOf("\na=extmap-allow-mixed")){let i=t.sdp.split("\n").filter(e=>"a=extmap-allow-mixed"!==e.trim()).join("\n");e.RTCSessionDescription&&t instanceof e.RTCSessionDescription?arguments[0]=new e.RTCSessionDescription({type:t.type,sdp:i}):t.sdp=i}return i.apply(this,arguments)}}function gL(e,t){if(!(e.RTCPeerConnection&&e.RTCPeerConnection.prototype))return;let i=e.RTCPeerConnection.prototype.addIceCandidate;i&&0!==i.length&&(e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===t.browser&&t.version<78||"firefox"===t.browser&&t.version<68||"safari"===t.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():i.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}function gN(e,t){if(!(e.RTCPeerConnection&&e.RTCPeerConnection.prototype))return;let i=e.RTCPeerConnection.prototype.setLocalDescription;i&&0!==i.length&&(e.RTCPeerConnection.prototype.setLocalDescription=function(){let e=arguments[0]||{};if("object"!=typeof e||e.type&&e.sdp)return i.apply(this,arguments);if(!(e={type:e.type,sdp:e.sdp}).type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":e.type="offer";break;default:e.type="answer"}return e.sdp||"offer"!==e.type&&"answer"!==e.type?i.apply(this,[e]):("offer"===e.type?this.createOffer:this.createAnswer).apply(this).then(e=>i.apply(this,[e]))})}let gR=function({window:e}={},t={shimChrome:!0,shimFirefox:!0,shimSafari:!0}){let i=mJ,n=m1(e),r={browserDetails:n,commonShim:P,extractVersion:mK,disableLog:mQ,disableWarnings:mZ,sdp:gS};switch(n.browser){case"chrome":if(!M||!gr||!t.shimChrome){i("Chrome shim is not included in this adapter release.");break}if(null===n.version){i("Chrome shim can not determine version, not shimming.");break}i("adapter.js shimming chrome."),r.browserShim=M,gL(e,n),gN(e,n),m8(e,n),m9(e,n),gr(e,n),m7(e,n),gn(e,n),ge(e,n),gt(e,n),ga(e,n),gD(e,n),gT(e,n),gB(e,n),gM(e,n),gI(e,n),gP(e,n);break;case"firefox":if(!I||!gu||!t.shimFirefox){i("Firefox shim is not included in this adapter release.");break}i("adapter.js shimming firefox."),r.browserShim=I,gL(e,n),gN(e,n),gs(e,n),gu(e,n),gl(e,n),gh(e,n),gd(e,n),gc(e,n),gf(e,n),gm(e,n),gg(e,n),gp(e,n),g_(e,n),gD(e,n),gB(e,n),gM(e,n),gI(e,n);break;case"safari":if(!B||!t.shimSafari){i("Safari shim is not included in this adapter release.");break}i("adapter.js shimming safari."),r.browserShim=B,gL(e,n),gN(e,n),gw(e,n),gA(e,n),gy(e,n),gv(e,n),gb(e,n),gC(e,n),gF(e,n),gE(e,n),gD(e,n),gT(e,n),gM(e,n),gI(e,n),gP(e,n);break;default:i("Unsupported browser!")}return r}({window:"u"{!1===e||t._initialStreamSetup||(t.pc.getSenders().forEach(e=>{e.track&&t.handleSentTrackEnabledChanged(e.track,null)}),t._initialStreamSetup=!0)}),"failed"===t.pc.iceConnectionState&&"offer"===t.pc.localDescription.type&&(t.parent.emit("iceFailed",t),t.send("connectivityError"))}),this.pc.addEventListener("connectionstatechange",function(){"failed"!==t.pc.connectionState||"failed"!==t.pc.iceConnectionState&&"offer"===t.pc.localDescription.type&&(t.parent.emit("iceFailed",t),t.send("connectivityError"))}),this.pc.addEventListener("signalingstatechange",this.emit.bind(this,"signalingStateChange")),this.logger=this.parent.logger,!e.receiverOnly&&("screen"===e.type?this.parent.localScreen&&this.sharemyscreen&&(this.logger.log("adding local screen stream to peer connection"),this.pc.addStream(this.parent.localScreen),this.broadcaster=e.broadcaster):(this.parent.sentStreams.forEach(function(e){e.getTracks().forEach(function(i){("video"!==i.kind||t.sendVideoIfAvailable)&&t.pc.addTrack(i,e)})}),this.handleSentTrackReplacedBound=this.handleSentTrackReplaced.bind(this),this.parent.on("sentTrackReplaced",this.handleSentTrackReplacedBound),this.handleSentTrackEnabledChangedBound=this.handleSentTrackEnabledChanged.bind(this),this.parent.on("sentTrackEnabledChanged",this.handleSentTrackEnabledChangedBound))),this.on("*",function(){t.parent.emit.apply(t.parent,arguments)})}function gV(e){for(var t=e.split("\r\n"),i=!1,n=[-1],r=[-1],a=null,s=null,o=null,l=null,u=-1,d=0;d-1){u=d;break}continue}if(i){var f=t[d].match(/a=ssrc-group:FID (\d+) (\d+)/);if(f){n[0]=f[1],r[0]=f[2],t.splice(d,1),d--;continue}if(n[0]){var m=t[d].match("a=ssrc:"+n[0]+" cname:(.+)");if(m&&(a=m[1]),(m=t[d].match("a=ssrc:"+n[0]+" msid:(.+)"))&&(s=m[1]),(m=t[d].match("a=ssrc:"+n[0]+" mslabel:(.+)"))&&(o=m[1]),(m=t[d].match("a=ssrc:"+n[0]+" label:(.+)"))&&(l=m[1]),0===t[d].indexOf("a=ssrc:"+r[0])||0===t[d].indexOf("a=ssrc:"+n[0])){t.splice(d,1),d--;continue}}if(0==t[d].length){t.splice(d,1),d--;continue}}}if(n[0]<0){u=-1,i=!1;for(var d=0;d-1){u=d;break}continue}if(i){if(n[0]<0){var g=t[d].match(/a=ssrc:(\d+)/);if(g){n[0]=g[1],t.splice(d,1),d--;continue}}else{var m=t[d].match("a=ssrc:"+n[0]+" cname:(.+)");if(m&&(a=m[1]),(m=t[d].match("a=ssrc:"+n[0]+" msid:(.+)"))&&(s=m[1]),(m=t[d].match("a=ssrc:"+n[0]+" mslabel:(.+)"))&&(o=m[1]),(m=t[d].match("a=ssrc:"+n[0]+" label:(.+)"))&&(l=m[1]),0===t[d].indexOf("a=ssrc:"+r[0])||0===t[d].indexOf("a=ssrc:"+n[0])){t.splice(d,1),d--;continue}}if(0===t[d].length){t.splice(d,1),d--;continue}}}}if(n[0]<0)return console.warn("Couldn't find the video SSRC, simulcasting NOT enabled"),e;u<0&&(u=t.length),n[1]=Math.floor(0xffffffff*Math.random()),n[2]=Math.floor(0xffffffff*Math.random()),r[1]=Math.floor(0xffffffff*Math.random()),r[2]=Math.floor(0xffffffff*Math.random());for(var d=0;d{"video"!==e.mid||e.stopped||(this._remoteVideoShouldBeBlocked?(e.direction="inactive",this._remoteVideoBlocked=!0):this._remoteVideoBlocked=!1)}),e!==this._remoteVideoBlocked&&this.emit("remoteVideoBlocked",this._remoteVideoBlocked)},gW.prototype.answer=function(){this.pc.createAnswer().then((function(e){this.pc.setLocalDescription(e).then((function(){this.parent.config.nick&&(e={type:e.type,sdp:e.sdp,nick:this.parent.config.nick}),this.send("answer",e)}).bind(this)).catch(function(e){console.warn("setLocalDescription for answer failed: ",e)})}).bind(this)).catch(function(e){console.warn("createAnswer failed: ",e)})},gW.prototype.handleAnswer=function(e){this.pc.setRemoteDescription(e).catch(function(e){console.warn("setRemoteDescription for answer failed: ",e)})},gW.prototype.selectSimulcastStream=function(e,t){(this.substream!==e||this.temporal!==t)&&(console.debug("Changing simulcast stream",this.id,this,e,t),this.send("selectStream",{substream:e,temporal:t}),this.substream=e,this.temporal=t)},gW.prototype.handleMessage=function(e){let t=this;this.logger.log("getting",e.type,e),"offer"===e.type?(this.nick||(this.nick=e.payload.nick),delete e.payload.nick,this.handleOffer(e.payload)):"answer"===e.type?(this.nick||(this.nick=e.payload.nick),delete e.payload.nick,this.handleAnswer(e.payload)):"candidate"===e.type?this.pc.addIceCandidate(e.payload.candidate):"connectivityError"===e.type?this.parent.emit("connectivityError",t):"mute"===e.type?this.parent.emit("mute",{id:e.from,name:e.payload.name}):"unmute"===e.type?this.parent.emit("unmute",{id:e.from,name:e.payload.name}):"endOfCandidates"===e.type?this.pc.addIceCandidate(""):"unshareScreen"===e.type&&(this.parent.emit("unshareScreen",{id:e.from}),this.end())},gW.prototype.send=function(e,t){let i={to:this.id,sid:this.sid,broadcaster:this.broadcaster,roomType:this.type,type:e,payload:t};this.logger.log("sending",e,i),this.parent.emit("message",i)},gW.prototype.sendDirectly=function(e,t,i){let n={type:t,payload:i};this.logger.log("sending via datachannel",e,t,n);let r=this.getDataChannel(e);return!!r&&("open"!==r.readyState?(Object.hasOwn(this.pendingDCMessages,e)||(this.pendingDCMessages[e]=[]),this.pendingDCMessages[e].push(n),!1):(r.send(JSON.stringify(n)),!0))},gW.prototype._observeDataChannel=function(e){let t=this;e.onclose=this.emit.bind(this,"channelClose",e),e.onerror=this.emit.bind(this,"channelError",e),e.onmessage=function(i){t.emit("channelMessage",t,e.label,JSON.parse(i.data),e,i)},e.onopen=function(){if(t.emit("channelOpen",e),Object.hasOwn(t.pendingDCMessages,e.label)){let i=t.pendingDCMessages[e.label].slice();t.pendingDCMessages[e.label]=[];for(let n=0;n{this._processPendingReplaceTracksPromise=null}).catch(()=>{this._processPendingReplaceTracksPromise=null})),this._processPendingReplaceTracksPromise},gW.prototype._processPendingReplaceTracksAsync=async function(){for(;this._pendingReplaceTracksQueue.length>0;){if("new"===this.pc.iceConnectionState)return!1;let e=this._pendingReplaceTracksQueue.shift();try{await this._replaceTrack(e.newTrack,e.oldTrack,e.stream)}catch(e){return!1}}return!0},gW.prototype._replaceTrack=async function(e,t,i){let n=!1,r=[];return(this.pc.getSenders().forEach(i=>{if(i.track!==t&&i.trackDisabled!==t||(i.track||i.trackDisabled)&&!t)return;if(!i.track&&!e){i.trackDisabled===t&&(i.trackDisabled=e);return}if(!i.kind&&i.track?i.kind=i.track.kind:!i.kind&&i.trackDisabled?i.kind=i.trackDisabled.kind:i.kind||this.pc.getTransceivers().forEach(e=>{e.sender===i&&(i.kind=this._getTransceiverKind(e))}),!i.track&&i.kind&&i.kind!==e.kind)return;n=!0;let a=i.trackDisabled;if(e&&!e.enabled?i.trackDisabled=e:i.trackDisabled=null,!i.track&&!e.enabled)return;i.track&&e&&!e.enabled&&!my&&(e=null);let s=i.replaceTrack(e);s.catch(n=>{i.trackDisabled=a,"InvalidModificationError"===n.name?console.debug("Track could not be replaced, negotiation needed"):console.error("Track could not be replaced: ",n,t,e)}),r.push(s)}),!n&&e)?(this.pc.addTrack(e,i),Promise.reject(Error("Track added instead of replaced"))):Promise.allSettled(r)},gW.prototype.handleSentTrackEnabledChanged=function(e,t){let i=this.pc.getSenders().find(t=>t.track===e),n=this.pc.getSenders().find(t=>t.trackDisabled===e);e.enabled&&n||!e.enabled&&i?this.handleSentTrackReplacedBound(e,e,t):i||n||console.error("No sender found to handle localTrackEnabledChanged",e,t)},gW.prototype.setRemoteVideoBlocked=function(e){if(this.receiverOnly&&this.parent.config.connection.hasFeature("update-sdp")){if(this.receiverOnly&&this.parent.config.connection.hasFeature("update-sdp"))return void this.send("selectStream",{video:!e});this._remoteVideoShouldBeBlocked=e,this.pc.getTransceivers().forEach(t=>{"video"!==t.mid||t.stopped||(e?t.direction="inactive":t.direction="recvonly")})}},gW.prototype.handleRemoteStreamAdded=function(e){let t=this;this.stream?this.logger.warn("Already have a remote stream"):(this.stream=e.stream,this.stream.getTracks().forEach(function(e){e.addEventListener("ended",function(){gq(t.stream)&&t.end()})}),this.parent.emit("peerStreamAdded",this))},gW.prototype.handleStreamRemoved=function(){let e=this.parent.peers.indexOf(this);e>-1&&(this.parent.peers.splice(e,1),this.closed=!0,this.parent.emit("peerStreamRemoved",this))},gW.prototype.handleDataChannelAdded=function(e){let t=e.channel;this.channels[t.label]=t,this._observeDataChannel(t)};let gH=gW;var g$=__webpack_require__(11199),gG=__webpack_require__.n(g$);let gX=function(){function e(){this._handlers=[]}function t(e,t){Object.hasOwn(this._handlers,e)?this._handlers[e].push(t):this._handlers[e]=[t]}function i(e,t){let i=this._handlers[e];if(!i)return;let n=i.indexOf(t);-1!==n&&i.splice(n,1)}function n(e,t){let i=this._handlers[e];if(i){t||(t=[]),t.unshift(this),i=i.slice(0);for(let e=0;et.inputTrackId===e);if(r){if(r.trackSource!==i||r.outputTrackId!==n)throw Error("Input track id is already connected to another source: ",e,r.trackSource,r.outputTrackId);return}this.getInputTrack(e)!==i.getOutputTrack(n)&&this._setInputTrack(e,i.getOutputTrack(n)),i.on("outputTrackSet",this._handleOutputTrackSetBound),i.on("outputTrackEnabled",this._handleOutputTrackEnabledBound),this._connectedTrackSources.push({trackSource:i,outputTrackId:n,inputTrackId:e})}function i(e,t,n="default"){let r=this._connectedTrackSources.findIndex(i=>i.trackSource===t&&i.outputTrackId===n&&i.inputTrackId===e);-1!==r&&(this._connectedTrackSources.splice(r,1),t.off("outputTrackSet",this._handleOutputTrackSetBound),t.off("outputTrackEnabled",this._handleOutputTrackEnabledBound),null!==this.getInputTrack(e)&&this._setInputTrack(e,null))}function n(e="default"){if(!Object.hasOwn(this._inputTracks,e))throw Error("Invalid track id: "+e);return this._inputTracks[e]}function r(e="default"){if(Object.hasOwn(this._inputTracks,e))throw Error("Invalid track id: "+e);this._inputTracks[e]=null}function a(e="default"){if(!Object.hasOwn(this._inputTracks,e))throw Error("Invalid track id: "+e);if(this._connectedTrackSources.find(t=>t.inputTrackId===e))throw Error("Connected input track slot can not be removed: "+e);delete this._inputTracks[e]}function s(e,t,i){this._connectedTrackSources.forEach(n=>{n.trackSource===e&&n.outputTrackId===t&&this._setInputTrack(n.inputTrackId,i)})}function o(e,t,i){this._connectedTrackSources.forEach(n=>{n.trackSource===e&&n.outputTrackId===t&&this._setInputTrackEnabled(n.inputTrackId,i)})}function l(e,t){if(!Object.hasOwn(this._inputTracks,e))throw Error("Invalid track id: "+e);let i=this._inputTracks[e];this._inputTracks[e]=t,this._handleInputTrack(e,t,i)}function u(e,t){if(!Object.hasOwn(this._inputTracks,e))throw Error("Invalid track id: "+e);this._inputTracks[e]&&this._handleInputTrackEnabled(e,t)}function d(e,t,i){}function c(e,t){}return function(){this._superTrackSinkMixin=this._superTrackSinkMixin||e,this.connectTrackSource=this.connectTrackSource||t,this.disconnectTrackSource=this.disconnectTrackSource||i,this.getInputTrack=this.getInputTrack||n,this._addInputTrackSlot=this._addInputTrackSlot||r,this._removeInputTrackSlot=this._removeInputTrackSlot||a,this._handleOutputTrackSet=this._handleOutputTrackSet||s,this._handleOutputTrackEnabled=this._handleOutputTrackEnabled||o,this._setInputTrack=this._setInputTrack||l,this._setInputTrackEnabled=this._setInputTrackEnabled||u,this._handleInputTrack=this._handleInputTrack||d,this._handleInputTrackEnabled=this._handleInputTrackEnabled||c}}(),gY=function(){function e(){this._outputTracks={},this._connectedTrackSinks={},this._removeTrackWhenEndedHandlers={}}function t(e,i,n="default"){i.connectTrackSource(n,this,e)}function i(e,t,n="default"){t.disconnectTrackSource(n,this,e)}function n(e="default"){if(!Object.hasOwn(this._outputTracks,e))throw Error("Invalid track id: "+e);return this._outputTracks[e]}function r(e="default"){if(Object.hasOwn(this._outputTracks,e))throw Error("Invalid track id: "+e);this._outputTracks[e]=null}function a(e="default"){if(!Object.hasOwn(this._outputTracks,e))throw Error("Invalid track id: "+e);delete this._outputTracks[e]}function s(e,t){if(!Object.hasOwn(this._outputTracks,e))throw Error("Invalid track id: "+e);this._outputTracks[e]&&1===Object.values(this._outputTracks).filter(t=>t===this._outputTracks[e]).length&&this._outputTracks[e].removeEventListener("ended",this._removeTrackWhenEndedHandlers[this._outputTracks[e].id]),this._outputTracks[e]=t,this._outputTracks[e]&&1===Object.values(this._outputTracks).filter(t=>t===this._outputTracks[e]).length&&(this._removeTrackWhenEndedHandlers[t.id]=()=>{this._removeTrackWhenEnded(t)},this._outputTracks[e].addEventListener("ended",this._removeTrackWhenEndedHandlers[t.id])),this._trigger("outputTrackSet",[e,t])}function o(e){Object.keys(this._outputTracks).forEach(t=>{this._outputTracks[t]===e&&this._outputTracks[t].removeEventListener("ended",this._removeTrackWhenEndedHandlers[this._outputTracks[t].id])})}function l(e){Object.keys(this._outputTracks).forEach(t=>{this._outputTracks[t]===e&&this._setOutputTrack(t,null)})}function u(e,t){if(!Object.hasOwn(this._outputTracks,e))throw Error("Invalid track id: "+e);this._outputTracks[e]&&(this._outputTracks[e].enabled=t,this._trigger("outputTrackEnabled",[e,t]))}return function(){this._superTrackSourceMixin=this._superTrackSourceMixin||e,this.connectTrackSink=this.connectTrackSink||t,this.disconnectTrackSink=this.disconnectTrackSink||i,this.getOutputTrack=this.getOutputTrack||n,this._addOutputTrackSlot=this._addOutputTrackSlot||r,this._removeOutputTrackSlot=this._removeOutputTrackSlot||a,this._setOutputTrack=this._setOutputTrack||s,this._disableRemoveTrackWhenEnded=this._disableRemoveTrackWhenEnded||o,this._removeTrackWhenEnded=this._removeTrackWhenEnded||l,this._setOutputTrackEnabled=this._setOutputTrackEnabled||u}}();class gQ{constructor(){this._superEmitterMixin(),this._superTrackSinkMixin(),this._superTrackSourceMixin()}}gX.apply(gQ.prototype),gK.apply(gQ.prototype),gY.apply(gQ.prototype);class gZ extends gQ{constructor(){super(),this._addInputTrackSlot(),this._addOutputTrackSlot()}_handleInputTrack(e,t,i){if(i&&this._startBlackVideoWhenTrackEndedHandler&&(i.removeEventListener("ended",this._startBlackVideoWhenTrackEndedHandler),this._startBlackVideoWhenTrackEndedHandler=null),t&&(this._disableRemoveTrackWhenEnded(t),this._startBlackVideoWhenTrackEndedHandler=()=>{this._startBlackVideo(t.getSettings())},t.addEventListener("ended",this._startBlackVideoWhenTrackEndedHandler)),this._stopBlackVideo(),t&&t.enabled)return void this._setOutputTrack("default",this.getInputTrack());let n=t?t.getSettings():i?.getSettings();this._startBlackVideo(n)}_handleInputTrackEnabled(e,t){if((!t||this._outputStream)&&(t||!this._outputStream)){if(t){this._stopBlackVideo(),this._setOutputTrack("default",this.getInputTrack());return}if(this._outputStream)return void this._setOutputTrackEnabled("default",!1);this._startBlackVideo(this.getInputTrack().getSettings())}}_startBlackVideo(e){if(this._outputStream)return;let{width:t,height:i}=e??{width:640,height:480},n=document.createElement("canvas");n.width=parseInt(t,10),n.height=parseInt(i,10);let r=n.getContext("2d");this._outputStream=n.captureStream(),r.fillStyle="black",r.fillRect(0,0,n.width,n.height),this._renderInterval=setInterval(()=>{r.fillRect(0,0,n.width,n.height)},100),this._setOutputTrack("default",this._outputStream.getVideoTracks()[0]),this._disableOrRemoveOutputTrackTimeout=setTimeout(()=>{clearTimeout(this._disableOrRemoveOutputTrackTimeout),this._disableOrRemoveOutputTrackTimeout=null,clearInterval(this._renderInterval),this._renderInterval=null,this.getInputTrack()?this._setOutputTrackEnabled("default",!1):(this._stopBlackVideo(),this._setOutputTrack("default",null))},5e3)}_stopBlackVideo(){this._outputStream&&(clearTimeout(this._disableOrRemoveOutputTrackTimeout),this._disableOrRemoveOutputTrackTimeout=null,clearInterval(this._renderInterval),this._renderInterval=null,this._outputStream.getTracks().forEach(e=>{this._disableRemoveTrackWhenEnded(e),e.stop()}),this._outputStream=null)}}class gJ{constructor(){this._superEmitterMixin(),this._superTrackSourceMixin()}}gX.apply(gJ.prototype),gY.apply(gJ.prototype);class g0 extends gJ{constructor(e){super(),this._addOutputTrackSlot("audio"),this._addOutputTrackSlot("video"),this._handleAudioInputIdChangedBound=this._handleAudioInputIdChanged.bind(this),this._handleVideoInputIdChangedBound=this._handleVideoInputIdChanged.bind(this),this._audioAllowed=!0,this._videoAllowed=!0,this._active=!1}isAudioAllowed(){return this._audioAllowed}isVideoAllowed(){return this._videoAllowed}setAudioAllowed(e){if(this._audioAllowed!==e&&(this._audioAllowed=e,this._active)){if(e)return void this._handleAudioInputIdChangedBound(Ex,Ex.get("audioInputId"));this.getOutputTrack("audio")&&this.getOutputTrack("audio").stop(),this._setOutputTrack("audio",null)}}setVideoAllowed(e){if(this._videoAllowed!==e&&(this._videoAllowed=e,this._active)){if(e)return void this._handleVideoInputIdChangedBound(Ex,Ex.get("videoInputId"));this.getOutputTrack("video")&&this.getOutputTrack("video").stop(),this._setOutputTrack("video",null)}}async start(e){let t,i;this._active=!0,Ex.enableDeviceEvents(),Ex.disableDeviceEvents();let n={audio:this._audioAllowed,video:this._videoAllowed};if([t,i]=await this._startAudioAndVideo(n),i&&!1!==n.audio&&!1!==n.video&&(e(i),[t,i]=await this._startAudioOnly(n)),i)throw Ex.on("change:audioInputId",this._handleAudioInputIdChangedBound),Ex.on("change:videoInputId",this._handleVideoInputIdChangedBound),i;let r=t.getAudioTracks().length>0?t.getAudioTracks()[0]:null;t.getAudioTracks().length>1&&console.error("More than a single audio track returned by getUserMedia, only the first one will be used");let a=t.getVideoTracks().length>0?t.getVideoTracks()[0]:null;t.getVideoTracks().length>1&&console.error("More than a single video track returned by getUserMedia, only the first one will be used"),this._setOutputTrack("audio",r),this._setOutputTrack("video",a),Ex.on("change:audioInputId",this._handleAudioInputIdChangedBound),Ex.on("change:videoInputId",this._handleVideoInputIdChangedBound)}async _startAudioAndVideo(e){let t;this._adjustVideoConstraintsForChromium(e);try{t=await Ex.getUserMedia(e)}catch(e){return[null,e]}return e.video&&0===t.getVideoTracks().length?[null,Error("Video expected but not received")]:[t,null]}async _startAudioOnly(e){let t;e.video=!1;try{t=await Ex.getUserMedia(e)}catch(e){return[null,e]}return[t,null]}stop(){this.getOutputTrack("audio")&&(this.getOutputTrack("audio").stop(),this._setOutputTrack("audio",null)),this.getOutputTrack("video")&&(this.getOutputTrack("video").stop(),this._setOutputTrack("video",null)),Ex.off("change:audioInputId",this._handleAudioInputIdChangedBound),Ex.off("change:videoInputId",this._handleVideoInputIdChangedBound),this._active=!1}_adjustVideoConstraintsForChromium(e){!mE||e.video&&(e.video instanceof Object||(e.video={}),e.video.width=1920,e.video.height=1200,e.video.frameRate=60)}_handleAudioInputIdChanged(e,t){if(!this._audioAllowed)return;if(this._pendingAudioInputIdChangedCount)return void this._pendingAudioInputIdChangedCount++;this._pendingAudioInputIdChangedCount=1;let i=()=>{let t=this._pendingAudioInputIdChangedCount>1;this._pendingAudioInputIdChangedCount=0,t&&this._handleAudioInputIdChanged(e,e.get("audioInputId"))};if(null===t){this.getOutputTrack("audio")&&this.getOutputTrack("audio").stop(),this._setOutputTrack("audio",null),i();return}if(this.getOutputTrack("audio")){let e=this.getOutputTrack("audio").getSettings();if(e&&e.deviceId===t)return void i()}e.getUserMedia({audio:!0}).then(e=>{let t=e.getTracks()[0];e.getTracks().length>1&&console.error("More than a single audio track returned by getUserMedia, only the first one will be used"),this.getOutputTrack("audio")&&this.getOutputTrack("audio").stop(),this._setOutputTrack("audio",t),i()}).catch(()=>{this.getOutputTrack("audio")&&this.getOutputTrack("audio").stop(),this._setOutputTrack("audio",null),i()})}_handleVideoInputIdChanged(e,t){if(!this._videoAllowed)return;if(this._pendingVideoInputIdChangedCount)return void this._pendingVideoInputIdChangedCount++;this._pendingVideoInputIdChangedCount=1;let i=()=>{let t=this._pendingVideoInputIdChangedCount>1;this._pendingVideoInputIdChangedCount=0,t&&this._handleVideoInputIdChanged(e,e.get("videoInputId"))};if(null===t){this.getOutputTrack("video")&&this.getOutputTrack("video").stop(),this._setOutputTrack("video",null),i();return}if(this.getOutputTrack("video")){let e=this.getOutputTrack("video").getSettings();if(e&&e.deviceId===t)return void i()}let n={video:!0};this._adjustVideoConstraintsForChromium(n),e.getUserMedia(n).then(e=>{let t=e.getTracks()[0];e.getTracks().length>1&&console.error("More than a single video track returned by getUserMedia, only the first one will be used"),this.getOutputTrack("video")&&this.getOutputTrack("video").stop(),this._setOutputTrack("video",t),i()}).catch(()=>{this.getOutputTrack("video")&&this.getOutputTrack("video").stop(),this._setOutputTrack("video",null),i()})}}var g1=__webpack_require__(66885),g2=__webpack_require__.n(g1);class g3{constructor(){this._superTrackSinkMixin()}}gK.apply(g3.prototype);class g4 extends g3{constructor(){super(),this._superEmitterMixin(),this._addInputTrackSlot(),this._speaking=!1,this._audioEnabled=!1}_handleInputTrack(e,t){let i;this._audioMonitor&&(this._audioMonitor.stop(),this._audioMonitor=null),this._clonedTrack&&(this._clonedTrack.stop(),this._clonedTrack=null),this._speaking=!1,this._audioEnabled=!1,t&&(this._audioEnabled=t.enabled,this._clonedTrack=t.clone(),this._clonedTrack.enabled=!0,this._audioMonitor=g2()(new MediaStream([this._clonedTrack])),this._audioMonitor.on("speaking",()=>{i&&clearTimeout(i),this._speaking=!0,this._audioEnabled?this._trigger("speaking"):this._trigger("speakingWhileMuted")}),this._audioMonitor.on("stopped_speaking",()=>{i&&clearTimeout(i),i=setTimeout(()=>{this._speaking=!1,this._audioEnabled?this._trigger("stoppedSpeaking"):this._trigger("stoppedSpeakingWhileMuted")},1e3)}),this._audioMonitor.on("volume_change",(e,t)=>{this._trigger("volumeChange",[e,t])}))}_handleInputTrackEnabled(e,t){this._audioEnabled===t||(this._audioEnabled=t,this._speaking&&(t?(this._trigger("stoppedSpeakingWhileMuted"),this._trigger("speaking")):(this._trigger("stoppedSpeaking"),this._trigger("speakingWhileMuted"))))}}gX.apply(g4.prototype);class g6 extends gQ{constructor(){super(),this._addInputTrackSlot(),this._addOutputTrackSlot()}async applyConstraints(e){this.getOutputTrack()&&(await this.getOutputTrack().applyConstraints(e),this._setOutputTrack("default",this.getOutputTrack()))}_handleInputTrack(e,t){this._setOutputTrack("default",t)}_handleInputTrackEnabled(e,t){this._setOutputTrackEnabled("default",t)}}class g5 extends gQ{constructor(){super(),this._addInputTrackSlot(),this._addOutputTrackSlot(),this._enabled=!0}isEnabled(){return this._enabled}setEnabled(e){this._enabled=e,this._setOutputTrackEnabled("default",e)}_handleInputTrack(e,t){t&&t.enabled!==this._enabled&&(t.enabled=this._enabled),this._setOutputTrack("default",t)}_handleInputTrackEnabled(e,t){t!==this._enabled&&this._setOutputTrackEnabled("default",this._enabled)}}class g8 extends g3{constructor(){super(),this._superEmitterMixin(),this._stream=null,this._trackEnabledStates={}}addInputTrackSlot(e){this._addInputTrackSlot(e)}getStream(){return this._stream}_handleInputTrack(e,t,i){if(t===i){t&&this._trackEnabledStates[e]!==t.enabled&&(this._trackEnabledStates[e]=t.enabled,this._trigger("trackEnabled",[t,t.enabled]));return}if(!this._stream&&t&&(this._stream=new MediaStream,this._trigger("streamSet",[this._stream,null])),this._stream&&i&&this._stream.removeTrack(i),this._stream&&t&&this._stream.addTrack(t),this._trackEnabledStates[e]=t?.enabled,this._trigger("trackReplaced",[t,i]),this._stream&&0===this._stream.getTracks().length){let e=this._stream;this._stream=null,this._trigger("streamSet",[null,e])}}_handleInputTrackEnabled(e,t){this._trackEnabledStates[e]=t,this._trigger("trackEnabled",[this.getInputTrack(e),t])}}gX.apply(g8.prototype);var g9=__webpack_require__(8950),g7="u">typeof self?self:{};function pe(e,t){i:{for(var i=["CLOSURE_FLAGS"],n=g7,r=0;rtypeof TextDecoder,pr="u">typeof TextEncoder;function pa(e){if(pr)e=(l||=new TextEncoder).encode(e);else{let i=0,n=new Uint8Array(3*e.length);for(let r=0;r>6|192;else{if(t>=55296&&t<=57343){if(t<=56319&&r=56320&&a<=57343){t=1024*(t-55296)+a-56320+65536,n[i++]=t>>18|240,n[i++]=t>>12&63|128,n[i++]=t>>6&63|128,n[i++]=63&t|128;continue}r--}t=65533}n[i++]=t>>12|224,n[i++]=t>>6&63|128}n[i++]=63&t|128}}e=i===n.length?n:n.subarray(0,i)}return e}function ps(e){g7.setTimeout(()=>{throw e},0)}var po,pl,pu,pd,pc,ph,pf,pm,pg,pp,p_,pv,pb,py,pF,pk,pw,pC,pA,pE,pS,px,pD,pT,pM,pI,pB,pP=pe(0x2461fc15,!1),pL=pe(0x2c9bb5e3,!0),pN=pe(0x31272377,!0),pR=pe(0x312743dc,pe(1,!0));function pj(){var e=g7.navigator;return e&&(e=e.userAgent)?e:""}let pO=g7.navigator;function pz(e){return pz[" "](e),e}pB=pO&&pO.userAgentData||null,pz[" "]=function(){};let pU={},pq=null;function pW(e){let t=e.length,i=3*t/4;i%3?i=Math.floor(i):-1!="=.".indexOf(e[t-1])&&(i=-1!="=.".indexOf(e[t-2])?i-2:i-1);let n=new Uint8Array(i),r=0;return function(e,t){function i(t){for(;n>4),64!=r&&(t(n<<4&240|r>>2),64!=a&&t(r<<6&192|a))}}(e,function(e){n[r++]=e}),r!==i?n.subarray(0,r):n}function pV(){if(!pq){pq={};var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"];for(let i=0;i<5;i++){let n=e.concat(t[i].split(""));pU[i]=n;for(let e=0;etypeof Uint8Array,p$=!(!(pP&&pB&&pB.brands.length>0)&&(-1!=pj().indexOf("Trident")||-1!=pj().indexOf("MSIE")))&&"function"==typeof btoa;let pG=/[-_.]/g,pX={"-":"+",_:"/",".":"="};function pK(e){return pX[e]||""}function pY(e){if(!p$)return pW(e);let t=new Uint8Array((e=atob(e=pG.test(e)?e.replace(pG,pK):e)).length);for(let i=0;i=t||(i[e]=n+1,p3(e=Error(),"incident"),ps(e))}}function p5(){return"function"==typeof BigInt}var p8="function"==typeof Symbol&&"symbol"==typeof Symbol();function p9(e,t,i=!1){return"function"==typeof Symbol&&"symbol"==typeof Symbol()?i&&Symbol.for&&e?Symbol.for(e):null!=e?Symbol(e):Symbol():t}var p7=p9("jas",void 0,!0),_e=p9(void 0,"0di"),_t=p9(void 0,"1oa"),_i=p9(void 0,Symbol()),_n=p9(void 0,"0ub"),_r=p9(void 0,"0ubs"),_a=p9(void 0,"0ubsb"),_s=p9(void 0,"0actk"),_o=p9("m_m","Pa",!0),_l=p9();let _u={Ga:{value:0,configurable:!0,writable:!0,enumerable:!1}},_d=Object.defineProperties,_c=p8?p7:"Ga",_h=[];function _f(e,t){p8||_c in e||_d(e,_u),e[_c]|=t}function _m(e,t){p8||_c in e||_d(e,_u),e[_c]=t}function _g(e){return _f(e,34),e}function _p(e){return _f(e,8192),e}_m(_h,7),wI=Object.freeze(_h);var __={};function _v(e,t){return void 0===t?e.h!==_b&&!!(2&e.v[_c]):!!(2&t)&&e.h!==_b}let _b={};function _y(e,t){if(null!=e){if("string"==typeof e)e=e?new p1(e,pZ):pJ();else if(e.constructor!==p1)if(pQ(e))e=e.length?new p1(new Uint8Array(e),pZ):pJ();else{if(!t)throw Error();e=void 0}}return e}class _F{constructor(e,t,i){this.g=e,this.h=t,this.l=i}next(){let e=this.g.next();return e.done||(e.value=this.h.call(this.l,e.value)),e}[Symbol.iterator](){return this}}var _k=Object.freeze({});function _w(e,t,i){var n;let r=128&t?0:-1,a=e.length;(n=!!a)&&(n=null!=(n=e[a-1])&&"object"==typeof n&&n.constructor===Object);let s=a+(n?-1:0);for(t=128&t?1:0;t"number"==typeof e),_x=_E(e=>"string"==typeof e),_D=_E(e=>"boolean"==typeof e),_T="function"==typeof g7.BigInt&&"bigint"==typeof g7.BigInt(0);function _M(e){var t=e;if(_x(t)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t))throw Error(String(t))}else if(_S(t)&&!Number.isSafeInteger(t))throw Error(String(t));return _T?BigInt(e):e=_D(e)?e?"1":"0":_x(e)?e.trim()||"0":String(e)}var _I=_E(e=>_T?e>=_P&&e<=_N:"-"===e[0]?_R(e,_B):_R(e,_L));let _B=Number.MIN_SAFE_INTEGER.toString(),_P=_T?BigInt(Number.MIN_SAFE_INTEGER):void 0,_L=Number.MAX_SAFE_INTEGER.toString(),_N=_T?BigInt(Number.MAX_SAFE_INTEGER):void 0;function _R(e,t){if(e.length>t.length)return!1;if(e.lengthr)return!1;if(n>>0;_z=t,_U=(e-t)/0x100000000>>>0}function _W(e){if(e<0){_q(-e);let[t,i]=_J(_z,_U);_z=t>>>0,_U=i>>>0}else _q(e)}function _V(e){let t=_O||=new DataView(new ArrayBuffer(8));t.setFloat32(0,+e,!0),_U=0,_z=t.getUint32(0,!0)}function _H(e,t){let i=0x100000000*t+(e>>>0);return Number.isSafeInteger(i)?i:_K(e,t)}function _$(e,t){return _M(p5()?BigInt.asUintN(64,(BigInt(t>>>0)<>>0)):_K(e,t))}function _G(e,t){let i=0x80000000&t;return i&&(t=~t>>>0,0==(e=1+~e>>>0)&&(t=t+1>>>0)),"number"==typeof(e=_H(e,t))?i?-e:e:i?"-"+e:e}function _X(e,t){return p5()?_M(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(t))<>>=0,(t>>>=0)<=2097151)var i=""+(0x100000000*t+e);else p5()?i=""+(BigInt(t)<>>24|t<<8))+6710656*(t=t>>16&65535),i+=8147497*t,t*=2,e>=1e7&&(i+=e/1e7>>>0,e%=1e7),i>=1e7&&(t+=i/1e7>>>0,i%=1e7),i=t+_Y(i)+_Y(e));return i}function _Y(e){return e=String(e),"0000000".slice(e.length)+e}function _Q(e,t){if(0x80000000&t)if(p5())e=""+(BigInt(0|t)<>>0));else{let[i,n]=_J(e,t);e="-"+_K(i,n)}else e=_K(e,t);return e}function _Z(e){if(e.length<16)_W(Number(e));else if(p5())_z=Number((e=BigInt(e))&BigInt(0xffffffff))>>>0,_U=Number(e>>BigInt(32)&BigInt(0xffffffff));else{let t=+("-"===e[0]);_U=_z=0;let i=e.length;for(let n=t,r=(i-t)%6+t;r<=i;n=r,r+=6){let t=Number(e.slice(n,r));_U*=1e6,(_z=1e6*_z+t)>=0x100000000&&(_U+=Math.trunc(_z/0x100000000),_U>>>=0,_z>>>=0)}if(t){let[e,t]=_J(_z,_U);_z=e,_U=t}}}function _J(e,t){return t=~t,e?e=1+~e:t+=1,[e,t]}function _0(e){return Array.prototype.slice.call(e)}let _1="function"==typeof BigInt?BigInt.asIntN:void 0,_2="function"==typeof BigInt?BigInt.asUintN:void 0,_3=Number.isSafeInteger,_4=Number.isFinite,_6=Math.trunc,_5=_M(0);function _8(e){if(null!=e&&"number"!=typeof e)throw Error(`Value of float/double field must be a number, found ${typeof e}: ${e}`);return e}function _9(e){return null==e||"number"==typeof e?e:"NaN"===e||"Infinity"===e||"-Infinity"===e?Number(e):void 0}function _7(e){if(null!=e&&"boolean"!=typeof e){var t=typeof e;throw Error(`Expected boolean but got ${"object"!=t?t:e?Array.isArray(e)?"array":t:"null"}: ${e}`)}return e}function ve(e){return null==e||"boolean"==typeof e?e:"number"==typeof e?!!e:void 0}let vt=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function vi(e){switch(typeof e){case"bigint":return!0;case"number":return _4(e);case"string":return vt.test(e);default:return!1}}function vn(e){if(null==e)return e;if("string"==typeof e&&e)e*=1;else if("number"!=typeof e)return;return _4(e)?0|e:void 0}function vr(e){if(null==e)return e;if("string"==typeof e&&e)e*=1;else if("number"!=typeof e)return;return _4(e)?e>>>0:void 0}function va(e){let t=e.length;return("-"===e[0]?t<20||20===t&&e<="-9223372036854775808":t<19||19===t&&e<="9223372036854775807")?e:(_Z(e),_Q(_z,_U))}function vs(e){return _3(e=_6(e))||(_W(e),e=_G(_z,_U)),e}function vo(e){var t=_6(Number(e));return _3(t)?String(t):(-1!==(t=e.indexOf("."))&&(e=e.substring(0,t)),va(e))}function vl(e){var t=_6(Number(e));return _3(t)?_M(t):(-1!==(t=e.indexOf("."))&&(e=e.substring(0,t)),p5()?_M(_1(64,BigInt(e))):_M(va(e)))}function vu(e){return _3(e)?e=_M(vs(e)):(_3(e=_6(e))?e=String(e):(_W(e),e=_Q(_z,_U)),e=_M(e)),e}function vd(e){return null==e?e:"bigint"==typeof e?e=_I(e)||_I(e=_1(64,e))?Number(e):String(e):vi(e)?"number"==typeof e?vs(e):vo(e):void 0}function vc(e){let t=typeof e;return null==e?e:"bigint"===t?_M(_1(64,e)):vi(e)?"string"===t?vl(e):vu(e):void 0}function vh(e){if("string"!=typeof e)throw Error();return e}function vf(e){if(null!=e&&"string"!=typeof e)throw Error();return e}function vm(e){return null==e||"string"==typeof e?e:void 0}function vg(e,t,i,n){return null!=e&&e[_o]===__?e:Array.isArray(e)?((n=(i=0|e[_c])|32&n|2&n)!==i&&_m(e,n),new t(e)):(i?2&n?((e=t[_e])||(_g((e=new t).v),e=t[_e]=e),t=e):t=new t:t=void 0,t)}function vp(e,t,i){if(t)i:{if(!vi(t=e))throw p4("int64");switch(typeof t){case"string":t=vl(t);break i;case"bigint":t=_M(_1(64,t));break i;default:t=vu(t)}}else t=vc(e);return null==(e=t)?i?_5:void 0:e}let v_={},vv=function(){try{return pz(new class extends Map{constructor(){super()}}),!1}catch{return!0}}();class vb{constructor(){this.g=new Map}get(e){return this.g.get(e)}set(e,t){return this.g.set(e,t),this.size=this.g.size,this}delete(e){return e=this.g.delete(e),this.size=this.g.size,e}clear(){this.g.clear(),this.size=this.g.size}has(e){return this.g.has(e)}entries(){return this.g.entries()}keys(){return this.g.keys()}values(){return this.g.values()}forEach(e,t){return this.g.forEach(e,t)}[Symbol.iterator](){return this.entries()}}let vy=vv?(Object.setPrototypeOf(vb.prototype,Map.prototype),Object.defineProperties(vb.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),vb):class extends Map{constructor(){super()}};function vF(e){return e}function vk(e){if(2&e.J)throw Error("Cannot mutate an immutable Map")}var vw=class extends vy{constructor(e,t,i=vF,n=vF){super(),this.J=0|e[_c],this.K=t,this.S=i,this.fa=this.K?vC:n;for(let r=0;r{e.call(t,r.get(n),n,r)}):super.forEach(e,t)}set(e,t){return vk(this),null==(e=this.S(e,!0,!1))?this:null==t?(super.delete(e),this):super.set(e,this.fa(t,!0,!0,this.K,!1,this.J))}Ma(e){let t=this.S(e[0],!1,!0);e=e[1],e=this.K?void 0===e?null:e:this.fa(e,!1,!0,void 0,!1,this.J),super.set(t,e)}has(e){return super.has(this.S(e,!1,!1))}get(e){e=this.S(e,!1,!1);let t=super.get(e);if(void 0!==t){var i=this.K;return i?((i=this.fa(t,!1,!0,i,this.ra,this.J))!==t&&super.set(e,i),i):t}}[Symbol.iterator](){return this.entries()}};function vC(e,t,i,n,r,a){return e=vg(e,n,i,a),r&&(e=vW(e)),e}function vA(e){return[e,this.get(e)]}function vE(){return c||=new vw(_g([]),void 0,void 0,void 0,v_)}function vS(e){return _i?e[_i]:void 0}function vx(e,t){for(let i in e)isNaN(i)||t(e,+i,e[i])}vw.prototype.toJSON=void 0;var vD=class{};let vT={Ka:!0};function vM(e,t){t<100||p6(_r,1)}function vI(e,t,i,n){let r,a=void 0!==n;n=!!n;var s,o=_i;!a&&p8&&o&&(s=e[o])&&vx(s,vM),o=[];var l=e.length;s=0xffffffff;let u=!1,d=!!(64&t),c=d?128&t?0:-1:void 0;1&t||(null!=(r=l&&e[l-1])&&"object"==typeof r&&r.constructor===Object?s=--l:r=void 0,!d||128&t||a||(u=!0,s=s-c+c)),t=void 0;for(var h=0;h=s){let e=h-c;(t??={})[e]=r}else o[h]=r}if(r)for(let e in r){let a;null!=(l=r[e])&&null!=(l=i(l,n))&&(h=+e,d&&!Number.isNaN(h)&&(a=h+c){t[i]=_0(n)}),t.da=e.da,t}(e)),o}function vB(e){return e[0]=vP(e[0]),e[1]=vP(e[1]),e}function vP(e){switch(typeof e){case"number":return Number.isFinite(e)?e:""+e;case"bigint":return _I(e)?Number(e):""+e;case"boolean":return+!!e;case"object":if(Array.isArray(e)){var t=0|e[_c];return 0===e.length&&1&t?void 0:vI(e,t,vP)}if(null!=e&&e[_o]===__)return vL(e);if(e instanceof p1){if(null==(t=e.g))e="";else if("string"==typeof t)e=t;else{if(p$){for(var i="",n=0,r=t.length-10240;n>2];a=i[(3&a)<<4|s>>4],s=i[(15&s)<<2|o>>6],o=i[63&o],n[u++]=l+a+s+o}switch(l=0,o=r,t.length-e){case 2:o=i[(15&(l=t[e+1]))<<2]||r;case 1:t=t[e],n[u]=i[t>>2]+i[(3&t)<<4|l>>4]+o+r}t=n.join("")}e=e.g=t}break}return e instanceof vw?e=0!==e.size?e.V(vB):void 0:void 0}return e}function vL(e){return vI(e=e.v,0|e[_c],vP)}function vN(e,t){return vR(e,t[0],t[1])}function vR(e,t,i,n=0){if(null==e){var r=32;i?(e=[i],r|=128):e=[],t&&(r=-0xffc001&r|(1023&t)<<14)}else{if(!Array.isArray(e))throw Error("narr");if(r=0|e[_c],pL&&1&r)throw Error("rfarr");if(2048&r&&!(2&r)&&function(){if(pL)throw Error("carr");p6(_s,5)}(),256&r)throw Error("farr");if(64&r)return(r|n)!==r&&_m(e,r|n),e;if(i&&(r|=128,i!==e[0]))throw Error("mid");i:{r|=64;var a=(i=e).length;if(a){var s=a-1;let e=i[s];if(null!=e&&"object"==typeof e&&e.constructor===Object){if((s-=t=128&r?0:-1)>=1024)throw Error("pvtlmt");for(var o in e)(a=+o)1024)throw Error("spvt");r=-0xffc001&r|(1023&o)<<14}}}return _m(e,64|r|n),e}function vj(e,t){if("object"!=typeof e)return e;if(Array.isArray(e)){var i=0|e[_c];return 0===e.length&&1&i?void 0:vO(e,i,t)}if(null!=e&&e[_o]===__)return vU(e);if(e instanceof vw){if(2&(t=e.J))return e;if(!e.size)return;if(i=_g(e.V()),e.K)for(e=0;e=o)if(null!=(r=e[o])&&"object"==typeof r&&r.constructor===Object)i=r[t],a=!0;else{if(s!==o)return;i=r}else i=e[s];if(n&&null!=i){if(null==(n=n(i)))return n;if(!Object.is(n,i))return a?r[t]=n:e[s]=n,n}return i}}function vZ(e,t,i,n){vH(e),vJ(e=e.v,0|e[_c],t,i,n)}function vJ(e,t,i,n,r){let a=i+(r?0:-1);var s=e.length-1;if(s>=1+(r?0:-1)&&a>=s){let r=e[s];if(null!=r&&"object"==typeof r&&r.constructor===Object)return r[i]=n,t}return a<=s?e[a]=n:void 0!==n&&(i>=(s=(t??=0|e[_c])>>14&1023||0x20000000)?null!=n&&(e[s+(r?0:-1)]={[i]:n}):e[a]=n),t}function v0(){return void 0===_k?2:4}function v1(e,t,i,n,r){let a=e.v,s=0|a[_c];n=_v(e,s)?1:n,r=!!r||3===n,2===n&&vV(e)&&(s=0|(a=e.v)[_c]);let o=(e=v3(a,t))===wI?7:0|e[_c],l=v4(o,s);var u=!(4&l);if(u){4&l&&(e=_0(e),o=0,l=bh(l,s),s=vJ(a,s,t,e));let n=0,r=0;for(;n{let n=vg(e,i,!1,t);return a=n!==e&&null!=n,n})))return a&&!_v(n)&&v$(e,t),n}function bs(e,t,i,n){let r=e.v,a=0|r[_c];if(null==(t=ba(r,a,t,i,n)))return t;if(!_v(e,a=0|r[_c])){let s=vW(t);s!==t&&(vV(e)&&(a=0|(r=e.v)[_c]),a=vJ(r,a,i,t=s,n),v$(r,a))}return t}function bo(e,t,i,n,r,a,s,o){var l=_v(e,i);a=l?1:a,s=!!s||3===a,l=o&&!l,(2===a||l)&&vV(e)&&(i=0|(t=e.v)[_c]);var u=(e=v3(t,r))===wI?7:0|e[_c],d=v4(u,i);if(o=!(4&d)){var c=e,h=i;let t=!!(2&d);t&&(h|=2);let r=!t,a=!0,s=0,o=0;for(;s32)for(r|=(127&i)>>4,a=3;a<32&&128&i;a+=7)r|=(127&(i=s[o++]))<>>0,r>>>0);throw Error()}function bA(e){let t=0,i=e.g,n=i+10,r=e.h;for(;i>>0}function bx(e){var t=e.h;let i=e.g;var n=t[i],r=t[i+1];let a=t[i+2];return t=t[i+3],bT(e,e.g+4),e=2*((r=(n|r<<8|a<<16|t<<24)>>>0)>>31)+1,n=r>>>23&255,r&=8388607,255==n?r?NaN:1/0*e:0==n?1401298464324817e-60*e*r:e*Math.pow(2,n-150)*(r+8388608)}function bD(e){return bE(e)}function bT(e,t){if(e.g=t,t>e.l)throw Error()}function bM(e,t){if(t<0)throw Error();let i=e.g;if((t=i+t)>e.l)throw Error();return e.g=t,i}function bI(e,t){if(0==t)return pJ();var i=bM(e,t);return e.Y&&e.j?i=e.h.subarray(i,i+t):(e=e.h,i=i===(t=i+t)?new Uint8Array(0):_j?e.slice(i,t):new Uint8Array(e.subarray(i,t))),0==i.length?pJ():new p1(i,pZ)}var bB=[];function bP(e,t,i,n){if(bW.length){let r=bW.pop();return r.o(n),r.g.init(e,t,i,n),r}return new bq(e,t,i,n)}function bL(e){e.g.clear(),e.l=-1,e.h=-1,bW.length<100&&bW.push(e)}function bN(e){var t=e.g;if(t.g==t.l)return!1;e.m=e.g.g;var i=bS(e.g);if(t=i>>>3,!((i&=7)>=0&&i<=5)||t<1)throw Error();return e.l=t,e.h=i,!0}function bR(e){switch(e.h){case 0:0!=e.h?bR(e):bA(e.g);break;case 1:bT(e=e.g,e.g+8);break;case 2:if(2!=e.h)bR(e);else{var t=bS(e.g);bT(e=e.g,e.g+t)}break;case 5:bT(e=e.g,e.g+4);break;case 3:for(t=e.l;;){if(!bN(e))throw Error();if(4==e.h){if(e.l!=t)throw Error();break}bR(e)}break;default:throw Error()}}function bj(e,t,i){let n=e.g.l;var r=bS(e.g);let a=(r=e.g.g+r)-n;if(a<=0&&(e.g.l=r,i(t,e,void 0,void 0,void 0),a=r-e.g.g),a)throw Error();return e.g.g=r,e.g.l=n,t}function bO(e){var t=bS(e.g),i=bM(e=e.g,t);if(e=e.h,pn){var n,r=e;(n=o)||(n=o=new TextDecoder("utf-8",{fatal:!0})),t=i+t,r=0===i&&t===r.length?r:r.subarray(i,t);try{var a=n.decode(r)}catch(e){if(void 0===s){try{n.decode(new Uint8Array([128]))}catch(e){}try{n.decode(new Uint8Array([97])),s=!0}catch(e){s=!1}}throw s||(o=void 0),e}}else{t=(a=i)+t,i=[];let s,o=null;for(;a=t?pt():(s=e[a++],l<194||128!=(192&s)?(a--,pt()):i.push((31&l)<<6|63&s)):l<240?a>=t-1?pt():128!=(192&(s=e[a++]))||224===l&&s<160||237===l&&s>=160||128!=(192&(n=e[a++]))?(a--,pt()):i.push((15&l)<<12|(63&s)<<6|63&n):l<=244?a>=t-2?pt():128!=(192&(s=e[a++]))||s-144+(l<<28)>>30!=0||128!=(192&(n=e[a++]))||128!=(192&(r=e[a++]))?(a--,pt()):(l=((7&l)<<18|(63&s)<<12|(63&n)<<6|63&r)-65536,i.push(55296+(l>>10&1023),56320+(1023&l))):pt(),i.length>=8192&&(o=pi(o,i),i.length=0)}a=pi(o,i)}return a}function bz(e){let t=bS(e.g);return bI(e.g,t)}function bU(e,t,i){var n=bS(e.g);for(n=e.g.g+n;e.g.g>>0,this.g=t>>>0}};function b$(e){return e?/^-?\d+$/.test(e)?(_Z(e),new bG(_z,_U)):null:g||=new bG(0,0)}var bG=class{constructor(e,t){this.h=e>>>0,this.g=t>>>0}};function bX(e,t,i){for(;i>0||t>127;)e.g.push(127&t|128),t=(t>>>7|i<<25)>>>0,i>>>=7;e.g.push(t)}function bK(e,t){for(;t>127;)e.g.push(127&t|128),t>>>=7;e.g.push(t)}function bY(e,t){if(t>=0)bK(e,t);else{for(let i=0;i<9;i++)e.g.push(127&t|128),t>>=7;e.g.push(1)}}function bQ(e){var t=_z;e.g.push(t>>>0&255),e.g.push(t>>>8&255),e.g.push(t>>>16&255),e.g.push(t>>>24&255)}function bZ(e,t){0!==t.length&&(e.l.push(t),e.h+=t.length)}function bJ(e,t,i){bK(e.g,8*t+i)}function b0(e,t){return bJ(e,t,2),t=e.g.end(),bZ(e,t),t.push(e.h),t}function b1(e,t){var i=t.pop();for(i=e.h+e.g.length()-i;i>127;)t.push(127&i|128),i>>>=7,e.h++;t.push(i),e.h++}function b2(e,t,i){bJ(e,t,2),bK(e.g,i.length),bZ(e,e.g.end()),bZ(e,i)}function b3(e,t,i,n){null!=i&&(t=b0(e,t),n(i,e),b1(e,t))}function b4(){let e=class{constructor(){throw Error()}};return Object.setPrototypeOf(e,e.prototype),e}var b6=b4(),b5=b4(),b8=b4(),b9=b4(),b7=b4(),ye=b4(),yt=b4(),yi=b4(),yn=b4(),yr=b4();function ya(e,t,i){var n=e.v;_i&&_i in n&&(n=n[_i])&&delete n[t.g],t.h?t.j(e,t.h,t.g,i,t.l):t.j(e,t.g,i,t.l)}var ys=class{constructor(e,t){this.v=vR(e,t,void 0,2048)}toJSON(){return vL(this)}j(){var e=kL,t=this.v,i=e.g,n=_i;if(p8&&n&&null!=t[n]?.[i]&&p6(_n,3),t=e.g,_l&&_i&&void 0===_l&&(n=(i=this.v)[_i])&&(n=n.da))try{n(i,t,vT)}catch(e){ps(e)}return e.h?e.m(this,e.h,e.g,e.l):e.m(this,e.g,e.defaultValue,e.l)}clone(){let e=this.v,t=0|e[_c];return vG(this,e,t)?vz(this,e,!0):new this.constructor(vq(e,t,!1))}};ys.prototype[_o]=__,ys.prototype.toString=function(){return this.v.toString()};var yo=class{constructor(e,t,i){this.g=e,this.h=t,e=b6,this.l=!!e&&i===e}};function yl(e,t){return new yo(e,t,b6)}function yu(e,t,i,n,r){b3(e,i,yb(t,n),r)}let yd=yl(function(e,t,i,n,r){return 2===e.h&&(bj(e,br(t,n,i),r),!0)},yu),yc=yl(function(e,t,i,n,r){return 2===e.h&&(bj(e,br(t,n,i),r),!0)},yu);var yh=Symbol(),yf=Symbol(),ym=Symbol(),yg=Symbol(),yp=Symbol();function y_(e,t,i,n){var r=n[e];if(r)return r;(r={}).qa=n,r.T=function(e){switch(typeof e){case"boolean":return h||=[0,void 0,!0];case"number":return e>0?void 0:0===e?f||=[0,void 0]:[-e,void 0];case"string":return[0,e];case"object":return e}}(n[0]);var a=n[1];let s=1;a&&a.constructor===Object&&(r.ba=a,"function"==typeof(a=n[++s])&&(r.ma=!0,p??=a,_??=n[s+1],a=n[s+=2]));let o={};for(;a&&Array.isArray(a)&&a.length&&"number"==typeof a[0]&&a[0]>0;){for(var l=0;lr(e,t,i,n):r}function yF(e,t,i,n,r){let a,s,o=i.g;e[t]=(e,t,i)=>o(e,t,i,s||=y_(yf,yy,yF,n).T,a||=yk(n),r)}function yk(e){let t=e[ym];if(null!=t)return t;let i=y_(yf,yy,yF,e);return t=i.ma?(e,t)=>p(e,t,i):(e,t)=>{for(;bN(t)&&4!=t.h;){var n=t.l,r=i[n];if(null==r){var a=i.ba;a&&(a=a[n])&&null!=(a=yC(a))&&(r=i[n]=a)}if(null==r||!r(t,e,n)){if(r=(a=t).m,bR(a),a.ha)var s=void 0;else s=a.g.g-r,a.g.g=r,s=bI(a.g,s);r=void 0,a=e,s&&((r=a[_i]??(a[_i]=new vD))[n]??(r[n]=[])).push(s)}}return(e=vS(e))&&(e.da=i.qa[yp]),!0},e[ym]=t,e[yp]=yw.bind(e),t}function yw(e,t,i,n){var r=this[yf];let a=this[ym],s=vN(void 0,r.T),o=vS(e);if(o){var l=!1,u=r.ba;if(u){if(r=(t,i,r)=>{if(0!==r.length)if(u[i])for(let e of r){t=bP(e);try{l=!0,a(s,t)}finally{bL(t)}}else n?.(e,i,r)},null==t)vx(o,r);else if(null!=o){let e=o[t];e&&r(o,t,e)}if(l){let n=0|e[_c];if(2&n&&2048&n&&!i?.Ka)throw Error();let r=_A(n),a=(t,a)=>{if(null!=vQ(e,t,r)){if(1===i?.Qa)return;throw Error()}null!=a&&(n=vJ(e,n,t,a,r)),delete o[t]};null==t?_w(s,0|s[_c],(e,t)=>{a(e,t)}):a(t,vQ(s,t,r))}}}}function yC(e){let t=(e=yv(e))[0].g;if(e=e[1]){let i=yk(e),n=y_(yf,yy,yF,e).T;return(e,r,a)=>t(e,r,a,n,i)}return t}function yA(e,t,i){e[t]=i.h}function yE(e,t,i,n){let r,a,s=i.h;e[t]=(e,t,i)=>s(e,t,i,a||=y_(yh,yA,yE,n).T,r||=yS(n))}function yS(e){let t=e[yg];if(!t){let i=y_(yh,yA,yE,e);t=(e,t)=>yx(e,t,i),e[yg]=t}return t}function yx(e,t,i){_w(e,0|e[_c],(e,n)=>{if(null!=n){var r=function(e,t){var i=e[t];if(i)return i;if((i=e.ba)&&(i=i[t])){var n=(i=yv(i))[0].h;if(i=i[1]){let t=yS(i),r=y_(yh,yA,yE,i).T;i=e.ma?_(r,t):(e,i,a)=>n(e,i,a,r,t)}else i=n;return e[t]=i}}(i,e);r?r(t,n,e):e<500||p6(_a,3)}}),(e=vS(e))&&vx(e,(e,i,n)=>{for(bZ(t,t.g.end()),e=0;e{b3(e,i,vN([a,t],n),r)});else if(Array.isArray(t)){for(let a=0;a>BigInt(32))),bX(e.g,i.h,i.g);break;default:i=b$(t),bX(e.g,i.h,i.g)}}function yR(e,t,i){null!=(t=vn(t))&&null!=t&&(bJ(e,i,0),bY(e.g,t))}function yj(e,t,i){null!=(t=ve(t))&&(bJ(e,i,0),e.g.g.push(+!!t))}function yO(e,t,i){null!=(t=vm(t))&&b2(e,i,pa(t))}function yz(e,t,i,n,r){b3(e,i,yb(t,n),r)}function yU(e,t,i){null!=(t=null==t||"string"==typeof t||t instanceof p1?t:void 0)&&b2(e,i,bw(t,!0).buffer)}function yq(e,t,i){return(5===e.h||2===e.h)&&(t=v7(t,0|t[_c],i),2==e.h?bU(e,bx,t):t.push(bx(e.g)),!0)}var yW=yM(function(e,t,i){return 5===e.h&&(yB(t,i,bx(e.g)),!0)},yL,yi),yV=yI(yq,function(e,t,i){if(null!=(t=yT(_9,t)))for(let s=0;s=0?e=String(t):(-1!==(t=e.indexOf("."))&&(e=e.substring(0,t)),(t="-"!==e[0]&&((t=e.length)<20||20===t&&e<="18446744073709551615"))||(_Z(e),e=_K(_z,_U))),e;if("number"===t)return(e=_6(e))>=0&&_3(e)||(_W(e),e=_H(_z,_U)),e}}(t))&&("string"==typeof t&&bV(t),null!=t))switch(bJ(e,i,0),typeof t){case"number":e=e.g,_W(t),bX(e,_z,_U);break;case"bigint":i=new bH(Number((i=BigInt.asUintN(64,t))&BigInt(0xffffffff)),Number(i>>BigInt(32))),bX(e.g,i.h,i.g);break;default:i=bV(t),bX(e.g,i.h,i.g)}},yt),yY=yM(function(e,t,i){return 0===e.h&&(yB(t,i,bE(e.g)),!0)},yR,b9),yQ=yI(function(e,t,i){return(0===e.h||2===e.h)&&(t=v7(t,0|t[_c],i),2==e.h?bU(e,bE,t):t.push(bE(e.g)),!0)},function(e,t,i){if(null!=(t=yT(vn,t))&&t.length){i=b0(e,i);for(let i=0;i{{let a={ea:!0};n&&Object.assign(a,n),i=bP(i,void 0,void 0,a);try{let n=new e,a=n.v;yk(t)(a,i);var r=n}finally{bL(i)}}return r}}function Fn(e){return function(){let t=new class{constructor(){this.l=[],this.h=0,this.g=new class{constructor(){this.g=[]}length(){return this.g.length}end(){let e=this.g;return this.g=[],e}}}};yx(this.v,t,y_(yh,yA,yE,e)),bZ(t,t.g.end());let i=new Uint8Array(t.h),n=t.l,r=n.length,a=0;for(let e=0;ee;e=Fo.createPolicy("goog#html",{createHTML:t,createScript:t,createScriptURL:t})}catch(e){}return e}()),e=(t=Fs)?t.createScriptURL(e):e,new class{constructor(e){this.g=e}toString(){return this.g+""}}(e)}function Fu(e,...t){if(0===t.length)return Fl(e[0]);let i=e[0];for(let n=0;n({index:bm(e,1)??0??-1,score:bp(e,2)??0,categoryName:vm(vY(e,3))??""??"",displayName:vm(vY(e,4))??""??""})),headIndex:t,headName:i}}function kY(e){let t={classifications:bl(e,FX,1).map(e=>kK(bs(e,FP,4)?.g()??[],bm(e,2)??0,vm(vY(e,3))??""))};return null!=function(e){return vd(pR?vY(e,2,void 0,void 0,vc):vY(e,2))}(e)&&(t.timestampMs=kX(bg(e))),t}function kQ(e){var t=v1(e,3,_9,v0()),i=v1(e,2,vn,v0()),n=v1(e,1,vm,v0()),r=v1(e,9,vm,v0());let a={categories:[],keypoints:[]};for(let e=0;ee>127?e-256:e)}function k1(e,t){if(e.length!==t.length)throw Error(`Cannot compute cosine similarity between embeddings of different sizes (${e.length} vs. ${t.length}).`);let i=0,n=0,r=0;for(let a=0;atypeof OffscreenCanvas&&(!function(e=navigator){return(e=e.userAgent).includes("Safari")&&!e.includes("Chrome")}(e)||!!((e=e.userAgent.match(/Version\/([\d]+).*Safari/))&&e.length>=1&&Number(e[1])>=17))}async function k8(e){if("function"!=typeof importScripts){let t=document.createElement("script");return t.src=e.toString(),t.crossOrigin="anonymous",new Promise((e,i)=>{t.addEventListener("load",()=>{e()},!1),t.addEventListener("error",e=>{i(e)},!1),document.body.appendChild(t)})}try{importScripts(e.toString())}catch(t){if(!(t instanceof TypeError))throw t;await self.import(e.toString())}}function k9(e){return void 0!==e.videoWidth?[e.videoWidth,e.videoHeight]:void 0!==e.naturalWidth?[e.naturalWidth,e.naturalHeight]:void 0!==e.displayWidth?[e.displayWidth,e.displayHeight]:[e.width,e.height]}function k7(e,t,i){e.m||console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"),i(t=e.i.stringToNewUTF8(t)),e.i._free(t)}function we(e,t,i){if(!e.i.canvas)throw Error("No OpenGL canvas configured.");if(i?e.i._bindTextureToStream(i):e.i._bindTextureToCanvas(),!(i=e.i.canvas.getContext("webgl2")||e.i.canvas.getContext("webgl")))throw Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`.");e.i.gpuOriginForWebTexturesIsBottomLeft&&i.pixelStorei(i.UNPACK_FLIP_Y_WEBGL,!0),i.texImage2D(i.TEXTURE_2D,0,i.RGBA,i.RGBA,i.UNSIGNED_BYTE,t),e.i.gpuOriginForWebTexturesIsBottomLeft&&i.pixelStorei(i.UNPACK_FLIP_Y_WEBGL,!1);let[n,r]=k9(t);return e.l&&(n!==e.i.canvas.width||r!==e.i.canvas.height)&&(e.i.canvas.width=n,e.i.canvas.height=r),[n,r]}function wt(e,t,i){e.m||console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");let n=new Uint32Array(t.length);for(let i=0;i>2),i(t),n))e.i._free(r);e.i._free(t)}function wi(e,t,i){e.i.simpleListeners=e.i.simpleListeners||{},e.i.simpleListeners[t]=i}function wn(e,t,i){let n=[];e.i.simpleListeners=e.i.simpleListeners||{},e.i.simpleListeners[t]=(e,t,r)=>{t?(i(n,r),n=[]):n.push(e)}}async function wr(e,t,i,n){return e=await (async(e,t,i,n,r)=>{if(t&&await k8(t),!self.ModuleFactory||i&&(await k8(i),!self.ModuleFactory))throw Error("ModuleFactory not set.");return self.Module&&r&&((t=self.Module).locateFile=r.locateFile,r.mainScriptUrlOrBlob&&(t.mainScriptUrlOrBlob=r.mainScriptUrlOrBlob)),r=await self.ModuleFactory(self.Module||r),self.ModuleFactory=self.Module=void 0,new e(r,n)})(e,i.wasmLoaderPath,i.assetLoaderPath,t,{locateFile:e=>e.endsWith(".wasm")?i.wasmBinaryPath.toString():i.assetBinaryPath&&e.endsWith(".data")?i.assetBinaryPath.toString():e}),await e.o(n),e}function wa(e,t){let i=bs(e.baseOptions,F8,1)||new F8;"string"==typeof t?(vZ(i,2,vf(t)),vZ(i,1)):t instanceof Uint8Array&&(vZ(i,1,_y(t,!1)),vZ(i,2)),bd(e.baseOptions,0,1,i)}function ws(e){try{let t=e.H.length;if(1===t)throw Error(e.H[0].message);if(t>1)throw Error("Encountered multiple errors: "+e.H.map(e=>e.message).join(", "))}finally{e.H=[]}}function wo(e,t){e.C=Math.max(e.C,t)}function wl(e,t){e.B=new Fw,bb(e.B,2,"PassThroughCalculator"),FF(e.B,"free_memory"),Fk(e.B,"free_memory_unused_out"),Fx(t,"free_memory"),FS(t,e.B)}function wu(e,t){FF(e.B,t),Fk(e.B,t+"_unused_out")}function wd(e){e.g.addBoolToStream(!0,"free_memory",e.C)}k6.forVisionTasks=function(e){return k4("vision",e)},k6.forTextTasks=function(e){return k4("text",e)},k6.forGenAiExperimentalTasks=function(e){return k4("genai_experimental",e)},k6.forGenAiTasks=function(e){return k4("genai",e)},k6.forAudioTasks=function(e){return k4("audio",e)},k6.isSimdSupported=function(){return k3()};var wc=class{constructor(e){this.g=e,this.H=[],this.C=0,this.g.setAutoRenderToScreen(!1)}l(e,t=!0){if(t){let t=e.baseOptions||{};if(e.baseOptions?.modelAssetBuffer&&e.baseOptions?.modelAssetPath)throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");if(!(bs(this.baseOptions,F8,1)?.g()||bs(this.baseOptions,F8,1)?.l()||e.baseOptions?.modelAssetBuffer||e.baseOptions?.modelAssetPath))throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");if(function(e,t){let i=bs(e.baseOptions,F6,3);if(!i){var n=i=new F6;bc(n,4,F5,new Fg)}"delegate"in t&&("GPU"===t.delegate?bc(t=i,2,F5,n=new Fc):bc(t=i,4,F5,n=new Fg)),bd(e.baseOptions,0,3,i)}(this,t),t.modelAssetPath)return fetch(t.modelAssetPath.toString()).then(e=>{if(e.ok)return e.arrayBuffer();throw Error(`Failed to fetch model: ${t.modelAssetPath} (${e.status})`)}).then(e=>{try{this.g.i.FS_unlink("/model.dat")}catch{}this.g.i.FS_createDataFile("/","model.dat",new Uint8Array(e),!0,!1,!1),wa(this,"/model.dat"),this.m(),this.L()});if(t.modelAssetBuffer instanceof Uint8Array)wa(this,t.modelAssetBuffer);else if(t.modelAssetBuffer)return(async function(e){let t=[];for(var i=0;;){let{done:n,value:r}=await e.read();if(n)break;t.push(r),i+=r.length}if(0===t.length)return new Uint8Array(0);if(1===t.length)return t[0];for(let n of(e=new Uint8Array(i),i=0,t))e.set(n,i),i+=n.length;return e})(t.modelAssetBuffer).then(e=>{wa(this,e),this.m(),this.L()})}return this.m(),this.L(),Promise.resolve()}L(){}ca(){let e;if(this.g.ca(t=>{e=FI(t)}),!e)throw Error("Failed to retrieve CalculatorGraphConfig");return e}setGraph(e,t){this.g.attachErrorListener((e,t)=>{this.H.push(Error(t))}),this.g.Ja(),this.g.setGraph(e,t),this.B=void 0,ws(this)}finishProcessing(){this.g.finishProcessing(),ws(this)}close(){this.B=void 0,this.g.closeGraph()}};function wh(e,t){if(!e)throw Error(`Unable to obtain required WebGL resource: ${t}`);return e}wc.prototype.close=wc.prototype.close;class wf{constructor(e,t,i,n){this.g=e,this.h=t,this.m=i,this.l=n}bind(){this.g.bindVertexArray(this.h)}close(){this.g.deleteVertexArray(this.h),this.g.deleteBuffer(this.m),this.g.deleteBuffer(this.l)}}function wm(e,t,i){let n=e.g;if(i=wh(n.createShader(i),"Failed to create WebGL shader"),n.shaderSource(i,t),n.compileShader(i),!n.getShaderParameter(i,n.COMPILE_STATUS))throw Error(`Could not compile WebGL shader: ${n.getShaderInfoLog(i)}`);return n.attachShader(e.h,i),i}function wg(e,t){let i=e.g,n=wh(i.createVertexArray(),"Failed to create vertex array");i.bindVertexArray(n);let r=wh(i.createBuffer(),"Failed to create buffer");i.bindBuffer(i.ARRAY_BUFFER,r),i.enableVertexAttribArray(e.O),i.vertexAttribPointer(e.O,2,i.FLOAT,!1,0,0),i.bufferData(i.ARRAY_BUFFER,new Float32Array([-1,-1,-1,1,1,1,1,-1]),i.STATIC_DRAW);let a=wh(i.createBuffer(),"Failed to create buffer");return i.bindBuffer(i.ARRAY_BUFFER,a),i.enableVertexAttribArray(e.L),i.vertexAttribPointer(e.L,2,i.FLOAT,!1,0,0),i.bufferData(i.ARRAY_BUFFER,new Float32Array(t?[0,1,0,0,1,0,1,1]:[0,0,0,1,1,1,1,0]),i.STATIC_DRAW),i.bindBuffer(i.ARRAY_BUFFER,null),i.bindVertexArray(null),new wf(i,n,r,a)}function wp(e,t){if(e.g){if(t!==e.g)throw Error("Cannot change GL context once initialized")}else e.g=t}function w_(e,t,i,n){return wp(e,t),e.h||(e.m(),e.D()),i?(e.u||(e.u=wg(e,!0)),i=e.u):(e.A||(e.A=wg(e,!1)),i=e.A),t.useProgram(e.h),i.bind(),e.l(),e=n(),i.g.bindVertexArray(null),e}function wv(e,t,i){return wp(e,t),e=wh(t.createTexture(),"Failed to create texture"),t.bindTexture(t.TEXTURE_2D,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,i??t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,i??t.LINEAR),t.bindTexture(t.TEXTURE_2D,null),e}function wb(e,t,i){wp(e,t),e.B||(e.B=wh(t.createFramebuffer(),"Failed to create framebuffe.")),t.bindFramebuffer(t.FRAMEBUFFER,e.B),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,i,0)}function wy(e){e.g?.bindFramebuffer(e.g.FRAMEBUFFER,null)}var wF=class{H(){return"\n precision mediump float;\n varying vec2 vTex;\n uniform sampler2D inputTexture;\n void main() {\n gl_FragColor = texture2D(inputTexture, vTex);\n }\n "}m(){let e=this.g;if(this.h=wh(e.createProgram(),"Failed to create WebGL program"),this.X=wm(this,"\n attribute vec2 aVertex;\n attribute vec2 aTex;\n varying vec2 vTex;\n void main(void) {\n gl_Position = vec4(aVertex, 0.0, 1.0);\n vTex = aTex;\n }",e.VERTEX_SHADER),this.W=wm(this,this.H(),e.FRAGMENT_SHADER),e.linkProgram(this.h),!e.getProgramParameter(this.h,e.LINK_STATUS))throw Error(`Error during program linking: ${e.getProgramInfoLog(this.h)}`);this.O=e.getAttribLocation(this.h,"aVertex"),this.L=e.getAttribLocation(this.h,"aTex")}D(){}l(){}close(){if(this.h){let e=this.g;e.deleteProgram(this.h),e.deleteShader(this.X),e.deleteShader(this.W)}this.B&&this.g.deleteFramebuffer(this.B),this.A&&this.A.close(),this.u&&this.u.close()}},wk=class extends wF{H(){return"\n precision mediump float;\n uniform sampler2D backgroundTexture;\n uniform sampler2D maskTexture;\n uniform sampler2D colorMappingTexture;\n varying vec2 vTex;\n void main() {\n vec4 backgroundColor = texture2D(backgroundTexture, vTex);\n float category = texture2D(maskTexture, vTex).r;\n vec4 categoryColor = texture2D(colorMappingTexture, vec2(category, 0.0));\n gl_FragColor = mix(backgroundColor, categoryColor, categoryColor.a);\n }\n "}D(){let e=this.g;e.activeTexture(e.TEXTURE1),this.C=wv(this,e,e.LINEAR),e.activeTexture(e.TEXTURE2),this.j=wv(this,e,e.NEAREST)}m(){super.m();let e=this.g;this.P=wh(e.getUniformLocation(this.h,"backgroundTexture"),"Uniform location"),this.U=wh(e.getUniformLocation(this.h,"colorMappingTexture"),"Uniform location"),this.M=wh(e.getUniformLocation(this.h,"maskTexture"),"Uniform location")}l(){super.l();let e=this.g;e.uniform1i(this.M,0),e.uniform1i(this.P,1),e.uniform1i(this.U,2)}close(){this.C&&this.g.deleteTexture(this.C),this.j&&this.g.deleteTexture(this.j),super.close()}},ww=class extends wF{H(){return"\n precision mediump float;\n uniform sampler2D maskTexture;\n uniform sampler2D defaultTexture;\n uniform sampler2D overlayTexture;\n varying vec2 vTex;\n void main() {\n float confidence = texture2D(maskTexture, vTex).r;\n vec4 defaultColor = texture2D(defaultTexture, vTex);\n vec4 overlayColor = texture2D(overlayTexture, vTex);\n // Apply the alpha from the overlay and merge in the default color\n overlayColor = mix(defaultColor, overlayColor, overlayColor.a);\n gl_FragColor = mix(defaultColor, overlayColor, confidence);\n }\n "}D(){let e=this.g;e.activeTexture(e.TEXTURE1),this.j=wv(this,e),e.activeTexture(e.TEXTURE2),this.C=wv(this,e)}m(){super.m();let e=this.g;this.M=wh(e.getUniformLocation(this.h,"defaultTexture"),"Uniform location"),this.P=wh(e.getUniformLocation(this.h,"overlayTexture"),"Uniform location"),this.I=wh(e.getUniformLocation(this.h,"maskTexture"),"Uniform location")}l(){super.l();let e=this.g;e.uniform1i(this.I,0),e.uniform1i(this.M,1),e.uniform1i(this.P,2)}close(){this.j&&this.g.deleteTexture(this.j),this.C&&this.g.deleteTexture(this.C),super.close()}};function wC(e,t){switch(t){case 0:return e.g.find(e=>e instanceof Uint8Array);case 1:return e.g.find(e=>e instanceof Float32Array);case 2:return e.g.find(e=>"u">typeof WebGLTexture&&e instanceof WebGLTexture);default:throw Error(`Type is not supported: ${t}`)}}function wA(e){var t=wC(e,1);if(!t){if(t=wC(e,0))t=new Float32Array(t).map(e=>e/255);else{t=new Float32Array(e.width*e.height);let n=wS(e);var i=wD(e);if(wb(i,n,wE(e)),"iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"document"in self&&"ontouchend"in self.document){i=new Float32Array(e.width*e.height*4),n.readPixels(0,0,e.width,e.height,n.RGBA,n.FLOAT,i);for(let e=0,n=0;eMath.round(255*e))),e.g.push(t)),t}ia(){return wA(this)}N(){return wE(this)}clone(){let e=[];for(let t of this.g){let i;if(t instanceof Uint8Array)i=new Uint8Array(t);else if(t instanceof Float32Array)i=new Float32Array(t);else{if(!(t instanceof WebGLTexture))throw Error(`Type is not supported: ${t}`);{let e=wS(this),t=wD(this);e.activeTexture(e.TEXTURE1),i=wv(t,e,this.m?e.LINEAR:e.NEAREST),e.bindTexture(e.TEXTURE_2D,i);let n=wx(this);e.texImage2D(e.TEXTURE_2D,0,n,this.width,this.height,0,e.RED,e.FLOAT,null),e.bindTexture(e.TEXTURE_2D,null),wb(t,e,i),w_(t,e,!1,()=>{wT(this),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.drawArrays(e.TRIANGLE_FAN,0,4),wM(this)}),wy(t),wM(this)}}e.push(i)}return new wP(e,this.m,this.R(),this.canvas,this.l,this.width,this.height)}close(){this.j&&wS(this).deleteTexture(wC(this,2)),wL=-1}};wP.prototype.close=wP.prototype.close,wP.prototype.clone=wP.prototype.clone,wP.prototype.getAsWebGLTexture=wP.prototype.N,wP.prototype.getAsFloat32Array=wP.prototype.ia,wP.prototype.getAsUint8Array=wP.prototype.ja,wP.prototype.hasWebGLTexture=wP.prototype.R,wP.prototype.hasFloat32Array=wP.prototype.ka,wP.prototype.hasUint8Array=wP.prototype.Fa;var wL=250;let wN={color:"white",lineWidth:4,radius:6};function wR(e){return{...wN,fillColor:(e=e||{}).color,...e}}function wj(e,t){return e instanceof Function?e(t):e}function wO(e,t,i){return Math.max(Math.min(t,i),Math.min(Math.max(t,i),e))}function wz(e){if(!e.l)throw Error("CPU rendering requested but CanvasRenderingContext2D not provided.");return e.l}function wU(e){if(!e.j)throw Error("GPU rendering requested but WebGL2RenderingContext not provided.");return e.j}function wq(e,t,i){if(t.R())i(t.N());else{let n=t.ka()?t.ia():t.ja();e.m=e.m??new wF;let r=wU(e);i((e=new wP([n],t.m,!1,r.canvas,e.m,t.width,t.height)).N()),e.close()}}function wW(e,t,i,n){let r=function(e){return e.g||(e.g=new wk),e.g}(e),a=wU(e),s=Array.isArray(i)?new ImageData(new Uint8ClampedArray(i),1,1):i;w_(r,a,!0,()=>{!function(e,t,i,n){let r=e.g;if(r.activeTexture(r.TEXTURE0),r.bindTexture(r.TEXTURE_2D,t),r.activeTexture(r.TEXTURE1),r.bindTexture(r.TEXTURE_2D,e.C),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,r.RGBA,r.UNSIGNED_BYTE,i),e.I&&function(e,t){if(e!==t)return!1;for(let[n,r]of(e=e.entries(),t=t.entries(),e)){e=n;let a=r;var i=t.next();if(i.done)return!1;let[s,o]=i.value;if(i=o,e!==s||a[0]!==i[0]||a[1]!==i[1]||a[2]!==i[2]||a[3]!==i[3])return!1}return!!t.next().done}(e.I,n))r.activeTexture(r.TEXTURE2),r.bindTexture(r.TEXTURE_2D,e.j);else{e.I=n;let t=Array(1024).fill(0);n.forEach((e,i)=>{if(4!==e.length)throw Error(`Color at index ${i} is not a four-channel value.`);t[4*i]=e[0],t[4*i+1]=e[1],t[4*i+2]=e[2],t[4*i+3]=e[3]}),r.activeTexture(r.TEXTURE2),r.bindTexture(r.TEXTURE_2D,e.j),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,256,1,0,r.RGBA,r.UNSIGNED_BYTE,new Uint8Array(t))}}(r,t,s,n),a.clearColor(0,0,0,0),a.clear(a.COLOR_BUFFER_BIT),a.drawArrays(a.TRIANGLE_FAN,0,4);let e=r.g;e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,null),e.activeTexture(e.TEXTURE1),e.bindTexture(e.TEXTURE_2D,null),e.activeTexture(e.TEXTURE2),e.bindTexture(e.TEXTURE_2D,null)})}function wV(e,t,i,n){let r=wU(e),a=function(e){return e.h||(e.h=new ww),e.h}(e),s=Array.isArray(i)?new ImageData(new Uint8ClampedArray(i),1,1):i,o=Array.isArray(n)?new ImageData(new Uint8ClampedArray(n),1,1):n;w_(a,r,!0,()=>{var e=a.g;e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,t),e.activeTexture(e.TEXTURE1),e.bindTexture(e.TEXTURE_2D,a.j),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,s),e.activeTexture(e.TEXTURE2),e.bindTexture(e.TEXTURE_2D,a.C),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,o),r.clearColor(0,0,0,0),r.clear(r.COLOR_BUFFER_BIT),r.drawArrays(r.TRIANGLE_FAN,0,4),r.bindTexture(r.TEXTURE_2D,null),(e=a.g).activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,null),e.activeTexture(e.TEXTURE1),e.bindTexture(e.TEXTURE_2D,null),e.activeTexture(e.TEXTURE2),e.bindTexture(e.TEXTURE_2D,null)})}var wH=class{constructor(e,t){"u">typeof CanvasRenderingContext2D&&e instanceof CanvasRenderingContext2D||e instanceof OffscreenCanvasRenderingContext2D?(this.l=e,this.j=t):this.j=e}ya(e,t){if(e){var i=wz(this);t=wR(t),i.save();var n=i.canvas,r=0;for(let a of e)i.fillStyle=wj(t.fillColor,{index:r,from:a}),i.strokeStyle=wj(t.color,{index:r,from:a}),i.lineWidth=wj(t.lineWidth,{index:r,from:a}),(e=new Path2D).arc(a.x*n.width,a.y*n.height,wj(t.radius,{index:r,from:a}),0,2*Math.PI),i.fill(e),i.stroke(e),++r;i.restore()}}xa(e,t,i){if(e&&t){var n=wz(this);i=wR(i),n.save();var r=n.canvas,a=0;for(let s of t){n.beginPath(),t=e[s.start];let o=e[s.end];t&&o&&(n.strokeStyle=wj(i.color,{index:a,from:t,to:o}),n.lineWidth=wj(i.lineWidth,{index:a,from:t,to:o}),n.moveTo(t.x*r.width,t.y*r.height),n.lineTo(o.x*r.width,o.y*r.height)),++a,n.stroke()}n.restore()}}ua(e,t){let i=wz(this);t=wR(t),i.save(),i.beginPath(),i.lineWidth=wj(t.lineWidth,{}),i.strokeStyle=wj(t.color,{}),i.fillStyle=wj(t.fillColor,{}),i.moveTo(e.originX,e.originY),i.lineTo(e.originX+e.width,e.originY),i.lineTo(e.originX+e.width,e.originY+e.height),i.lineTo(e.originX,e.originY+e.height),i.lineTo(e.originX,e.originY),i.stroke(),i.fill(),i.restore()}va(e,t,i=[0,0,0,255]){this.l?function(e,t,i,n){let r=wU(e);wq(e,t,t=>{wW(e,t,i,n),(t=wz(e)).drawImage(r.canvas,0,0,t.canvas.width,t.canvas.height)})}(this,e,i,t):wW(this,e.N(),i,t)}wa(e,t,i){this.l?function(e,t,i,n){let r=wU(e);wq(e,t,t=>{wV(e,t,i,n),(t=wz(e)).drawImage(r.canvas,0,0,t.canvas.width,t.canvas.height)})}(this,e,t,i):wV(this,e.N(),t,i)}close(){this.g?.close(),this.g=void 0,this.h?.close(),this.h=void 0,this.m?.close(),this.m=void 0}};function w$(e,t){switch(t){case 0:return e.g.find(e=>e instanceof ImageData);case 1:return e.g.find(e=>"u">typeof ImageBitmap&&e instanceof ImageBitmap);case 2:return e.g.find(e=>"u">typeof WebGLTexture&&e instanceof WebGLTexture);default:throw Error(`Type is not supported: ${t}`)}}function wG(e){var t=w$(e,0);if(!t){t=wK(e);let i=wY(e),n=new Uint8Array(e.width*e.height*4);wb(i,t,wX(e)),t.readPixels(0,0,e.width,e.height,t.RGBA,t.UNSIGNED_BYTE,n),wy(i),t=new ImageData(new Uint8ClampedArray(n.buffer),e.width,e.height),e.g.push(t)}return t}function wX(e){let t=w$(e,2);if(!t){let i=wK(e);t=wQ(e);let n=w$(e,1)||wG(e);i.texImage2D(i.TEXTURE_2D,0,i.RGBA,i.RGBA,i.UNSIGNED_BYTE,n),wZ(e)}return t}function wK(e){if(!e.canvas)throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");return e.h||(e.h=wh(e.canvas.getContext("webgl2"),"You cannot use a canvas that is already bound to a different type of rendering context.")),e.h}function wY(e){return e.l||(e.l=new wF),e.l}function wQ(e){let t=wK(e);t.viewport(0,0,e.width,e.height),t.activeTexture(t.TEXTURE0);let i=w$(e,2);return i||(i=wv(wY(e),t),e.g.push(i),e.m=!0),t.bindTexture(t.TEXTURE_2D,i),i}function wZ(e){e.h.bindTexture(e.h.TEXTURE_2D,null)}function wJ(e){let t=wK(e);return w_(wY(e),t,!0,()=>(function(e,t){let i=e.canvas;if(i.width===e.width&&i.height===e.height)return t();let n=i.width,r=i.height;return i.width=e.width,i.height=e.height,e=t(),i.width=n,i.height=r,e})(e,()=>{if(t.bindFramebuffer(t.FRAMEBUFFER,null),t.clearColor(0,0,0,0),t.clear(t.COLOR_BUFFER_BIT),t.drawArrays(t.TRIANGLE_FAN,0,4),!(e.canvas instanceof OffscreenCanvas))throw Error("Conversion to ImageBitmap requires that the MediaPipe Tasks is initialized with an OffscreenCanvas");return e.canvas.transferToImageBitmap()}))}wH.prototype.close=wH.prototype.close,wH.prototype.drawConfidenceMask=wH.prototype.wa,wH.prototype.drawCategoryMask=wH.prototype.va,wH.prototype.drawBoundingBox=wH.prototype.ua,wH.prototype.drawConnectors=wH.prototype.xa,wH.prototype.drawLandmarks=wH.prototype.ya,wH.lerp=function(e,t,i,n,r){return wO(n*(1-(e-t)/(i-t))+r*(1-(i-e)/(i-t)),n,r)},wH.clamp=wO;var w0=class{constructor(e,t,i,n,r,a,s){this.g=e,this.j=t,this.m=i,this.canvas=n,this.l=r,this.width=a,this.height=s,(this.j||this.m)&&0==--w1&&console.error("You seem to be creating MPImage instances without invoking .close(). This leaks resources.")}Ea(){return!!w$(this,0)}la(){return!!w$(this,1)}R(){return!!w$(this,2)}Ca(){return wG(this)}Ba(){var e=w$(this,1);return e||(wX(this),wQ(this),e=wJ(this),wZ(this),this.g.push(e),this.j=!0),e}N(){return wX(this)}clone(){let e=[];for(let t of this.g){let i;if(t instanceof ImageData)i=new ImageData(t.data,this.width,this.height);else if(t instanceof WebGLTexture){let e=wK(this),t=wY(this);e.activeTexture(e.TEXTURE1),i=wv(t,e),e.bindTexture(e.TEXTURE_2D,i),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,this.width,this.height,0,e.RGBA,e.UNSIGNED_BYTE,null),e.bindTexture(e.TEXTURE_2D,null),wb(t,e,i),w_(t,e,!1,()=>{wQ(this),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.drawArrays(e.TRIANGLE_FAN,0,4),wZ(this)}),wy(t),wZ(this)}else{if(!(t instanceof ImageBitmap))throw Error(`Type is not supported: ${t}`);wX(this),wQ(this),i=wJ(this),wZ(this)}e.push(i)}return new w0(e,this.la(),this.R(),this.canvas,this.l,this.width,this.height)}close(){this.j&&w$(this,1).close(),this.m&&wK(this).deleteTexture(w$(this,2)),w1=-1}};w0.prototype.close=w0.prototype.close,w0.prototype.clone=w0.prototype.clone,w0.prototype.getAsWebGLTexture=w0.prototype.N,w0.prototype.getAsImageBitmap=w0.prototype.Ba,w0.prototype.getAsImageData=w0.prototype.Ca,w0.prototype.hasWebGLTexture=w0.prototype.R,w0.prototype.hasImageBitmap=w0.prototype.la,w0.prototype.hasImageData=w0.prototype.Ea;var w1=250;function w2(...e){return e.map(([e,t])=>({start:e,end:t}))}let w3=function(e){return class extends e{Ja(){this.i._registerModelResourcesGraphService()}}}((w4=class{constructor(e,t){this.l=!0,this.i=e,this.g=null,this.h=0,this.m="function"==typeof this.i._addIntToInputStream,void 0!==t?this.i.canvas=t:k5()?this.i.canvas=new OffscreenCanvas(1,1):(console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."),this.i.canvas=document.createElement("canvas"))}async initializeGraph(e){let t=await (await fetch(e)).arrayBuffer();e=!(e.endsWith(".pbtxt")||e.endsWith(".textproto")),this.setGraph(new Uint8Array(t),e)}setGraphFromString(e){this.setGraph((new TextEncoder).encode(e),!1)}setGraph(e,t){let i=e.length,n=this.i._malloc(i);this.i.HEAPU8.set(e,n),t?this.i._changeBinaryGraph(i,n):this.i._changeTextGraph(i,n),this.i._free(n)}configureAudio(e,t,i,n,r){this.i._configureAudio||console.warn('Attempting to use configureAudio without support for input audio. Is build dep ":gl_graph_runner_audio" missing?'),k7(this,n||"input_audio",n=>{k7(this,r=r||"audio_header",r=>{this.i._configureAudio(n,r,e,t??0,i)})})}setAutoResizeCanvas(e){this.l=e}setAutoRenderToScreen(e){this.i._setAutoRenderToScreen(e)}setGpuBufferVerticalFlip(e){this.i.gpuOriginForWebTexturesIsBottomLeft=e}ca(e){wi(this,"__graph_config__",t=>{e(t)}),k7(this,"__graph_config__",e=>{this.i._getGraphConfig(e,void 0)}),delete this.i.simpleListeners.__graph_config__}attachErrorListener(e){this.i.errorListener=e}attachEmptyPacketListener(e,t){this.i.emptyPacketListeners=this.i.emptyPacketListeners||{},this.i.emptyPacketListeners[e]=t}addAudioToStream(e,t,i){this.addAudioToStreamWithShape(e,0,0,t,i)}addAudioToStreamWithShape(e,t,i,n,r){let a=4*e.length;this.h!==a&&(this.g&&this.i._free(this.g),this.g=this.i._malloc(a),this.h=a),this.i.HEAPF32.set(e,this.g/4),k7(this,n,e=>{this.i._addAudioToInputStream(this.g,t,i,e,r)})}addGpuBufferToStream(e,t,i){k7(this,t,t=>{let[n,r]=we(this,e,t);this.i._addBoundTextureToStream(t,n,r,i)})}addBoolToStream(e,t,i){k7(this,t,t=>{this.i._addBoolToInputStream(e,t,i)})}addDoubleToStream(e,t,i){k7(this,t,t=>{this.i._addDoubleToInputStream(e,t,i)})}addFloatToStream(e,t,i){k7(this,t,t=>{this.i._addFloatToInputStream(e,t,i)})}addIntToStream(e,t,i){k7(this,t,t=>{this.i._addIntToInputStream(e,t,i)})}addUintToStream(e,t,i){k7(this,t,t=>{this.i._addUintToInputStream(e,t,i)})}addStringToStream(e,t,i){k7(this,t,t=>{k7(this,e,e=>{this.i._addStringToInputStream(e,t,i)})})}addStringRecordToStream(e,t,i){k7(this,t,t=>{wt(this,Object.keys(e),n=>{wt(this,Object.values(e),r=>{this.i._addFlatHashMapToInputStream(n,r,Object.keys(e).length,t,i)})})})}addProtoToStream(e,t,i,n){k7(this,i,i=>{k7(this,t,t=>{let r=this.i._malloc(e.length);this.i.HEAPU8.set(e,r),this.i._addProtoToInputStream(r,e.length,t,i,n),this.i._free(r)})})}addEmptyPacketToStream(e,t){k7(this,e,e=>{this.i._addEmptyPacketToInputStream(e,t)})}addBoolVectorToStream(e,t,i){k7(this,t,t=>{let n=this.i._allocateBoolVector(e.length);if(!n)throw Error("Unable to allocate new bool vector on heap.");for(let t of e)this.i._addBoolVectorEntry(n,t);this.i._addBoolVectorToInputStream(n,t,i)})}addDoubleVectorToStream(e,t,i){k7(this,t,t=>{let n=this.i._allocateDoubleVector(e.length);if(!n)throw Error("Unable to allocate new double vector on heap.");for(let t of e)this.i._addDoubleVectorEntry(n,t);this.i._addDoubleVectorToInputStream(n,t,i)})}addFloatVectorToStream(e,t,i){k7(this,t,t=>{let n=this.i._allocateFloatVector(e.length);if(!n)throw Error("Unable to allocate new float vector on heap.");for(let t of e)this.i._addFloatVectorEntry(n,t);this.i._addFloatVectorToInputStream(n,t,i)})}addIntVectorToStream(e,t,i){k7(this,t,t=>{let n=this.i._allocateIntVector(e.length);if(!n)throw Error("Unable to allocate new int vector on heap.");for(let t of e)this.i._addIntVectorEntry(n,t);this.i._addIntVectorToInputStream(n,t,i)})}addUintVectorToStream(e,t,i){k7(this,t,t=>{let n=this.i._allocateUintVector(e.length);if(!n)throw Error("Unable to allocate new unsigned int vector on heap.");for(let t of e)this.i._addUintVectorEntry(n,t);this.i._addUintVectorToInputStream(n,t,i)})}addStringVectorToStream(e,t,i){k7(this,t,t=>{let n=this.i._allocateStringVector(e.length);if(!n)throw Error("Unable to allocate new string vector on heap.");for(let t of e)k7(this,t,e=>{this.i._addStringVectorEntry(n,e)});this.i._addStringVectorToInputStream(n,t,i)})}addBoolToInputSidePacket(e,t){k7(this,t,t=>{this.i._addBoolToInputSidePacket(e,t)})}addDoubleToInputSidePacket(e,t){k7(this,t,t=>{this.i._addDoubleToInputSidePacket(e,t)})}addFloatToInputSidePacket(e,t){k7(this,t,t=>{this.i._addFloatToInputSidePacket(e,t)})}addIntToInputSidePacket(e,t){k7(this,t,t=>{this.i._addIntToInputSidePacket(e,t)})}addUintToInputSidePacket(e,t){k7(this,t,t=>{this.i._addUintToInputSidePacket(e,t)})}addStringToInputSidePacket(e,t){k7(this,t,t=>{k7(this,e,e=>{this.i._addStringToInputSidePacket(e,t)})})}addProtoToInputSidePacket(e,t,i){k7(this,i,i=>{k7(this,t,t=>{let n=this.i._malloc(e.length);this.i.HEAPU8.set(e,n),this.i._addProtoToInputSidePacket(n,e.length,t,i),this.i._free(n)})})}addBoolVectorToInputSidePacket(e,t){k7(this,t,t=>{let i=this.i._allocateBoolVector(e.length);if(!i)throw Error("Unable to allocate new bool vector on heap.");for(let t of e)this.i._addBoolVectorEntry(i,t);this.i._addBoolVectorToInputSidePacket(i,t)})}addDoubleVectorToInputSidePacket(e,t){k7(this,t,t=>{let i=this.i._allocateDoubleVector(e.length);if(!i)throw Error("Unable to allocate new double vector on heap.");for(let t of e)this.i._addDoubleVectorEntry(i,t);this.i._addDoubleVectorToInputSidePacket(i,t)})}addFloatVectorToInputSidePacket(e,t){k7(this,t,t=>{let i=this.i._allocateFloatVector(e.length);if(!i)throw Error("Unable to allocate new float vector on heap.");for(let t of e)this.i._addFloatVectorEntry(i,t);this.i._addFloatVectorToInputSidePacket(i,t)})}addIntVectorToInputSidePacket(e,t){k7(this,t,t=>{let i=this.i._allocateIntVector(e.length);if(!i)throw Error("Unable to allocate new int vector on heap.");for(let t of e)this.i._addIntVectorEntry(i,t);this.i._addIntVectorToInputSidePacket(i,t)})}addUintVectorToInputSidePacket(e,t){k7(this,t,t=>{let i=this.i._allocateUintVector(e.length);if(!i)throw Error("Unable to allocate new unsigned int vector on heap.");for(let t of e)this.i._addUintVectorEntry(i,t);this.i._addUintVectorToInputSidePacket(i,t)})}addStringVectorToInputSidePacket(e,t){k7(this,t,t=>{let i=this.i._allocateStringVector(e.length);if(!i)throw Error("Unable to allocate new string vector on heap.");for(let t of e)k7(this,t,e=>{this.i._addStringVectorEntry(i,e)});this.i._addStringVectorToInputSidePacket(i,t)})}attachBoolListener(e,t){wi(this,e,t),k7(this,e,e=>{this.i._attachBoolListener(e)})}attachBoolVectorListener(e,t){wn(this,e,t),k7(this,e,e=>{this.i._attachBoolVectorListener(e)})}attachIntListener(e,t){wi(this,e,t),k7(this,e,e=>{this.i._attachIntListener(e)})}attachIntVectorListener(e,t){wn(this,e,t),k7(this,e,e=>{this.i._attachIntVectorListener(e)})}attachUintListener(e,t){wi(this,e,t),k7(this,e,e=>{this.i._attachUintListener(e)})}attachUintVectorListener(e,t){wn(this,e,t),k7(this,e,e=>{this.i._attachUintVectorListener(e)})}attachDoubleListener(e,t){wi(this,e,t),k7(this,e,e=>{this.i._attachDoubleListener(e)})}attachDoubleVectorListener(e,t){wn(this,e,t),k7(this,e,e=>{this.i._attachDoubleVectorListener(e)})}attachFloatListener(e,t){wi(this,e,t),k7(this,e,e=>{this.i._attachFloatListener(e)})}attachFloatVectorListener(e,t){wn(this,e,t),k7(this,e,e=>{this.i._attachFloatVectorListener(e)})}attachStringListener(e,t){wi(this,e,t),k7(this,e,e=>{this.i._attachStringListener(e)})}attachStringVectorListener(e,t){wn(this,e,t),k7(this,e,e=>{this.i._attachStringVectorListener(e)})}attachProtoListener(e,t,i){wi(this,e,t),k7(this,e,e=>{this.i._attachProtoListener(e,i||!1)})}attachProtoVectorListener(e,t,i){wn(this,e,t),k7(this,e,e=>{this.i._attachProtoVectorListener(e,i||!1)})}attachAudioListener(e,t,i){this.i._attachAudioListener||console.warn('Attempting to use attachAudioListener without support for output audio. Is build dep ":gl_graph_runner_audio_out" missing?'),wi(this,e,(e,i)=>{t(e=new Float32Array(e.buffer,e.byteOffset,e.length/4),i)}),k7(this,e,e=>{this.i._attachAudioListener(e,i||!1)})}finishProcessing(){this.i._waitUntilIdle()}closeGraph(){this.i._closeGraph(),this.i.simpleListeners=void 0,this.i.emptyPacketListeners=void 0}},class extends w4{get ga(){return this.i}pa(e,t,i){k7(this,t,t=>{let[n,r]=we(this,e,t);this.ga._addBoundTextureAsImageToStream(t,n,r,i)})}Z(e,t){wi(this,e,t),k7(this,e,e=>{this.ga._attachImageListener(e)})}aa(e,t){wn(this,e,t),k7(this,e,e=>{this.ga._attachImageVectorListener(e)})}}));var w4,w6=class extends w3{};async function w5(e,t,i){return async function(e,t,i,n){return wr(e,t,i,n)}(e,i.canvas??(k5()?void 0:document.createElement("canvas")),t,i)}function w8(e,t,i,n){if(e.U){let a=new FG;if(i?.regionOfInterest){if(!e.oa)throw Error("This task doesn't support region-of-interest.");var r=i.regionOfInterest;if(r.left>=r.right||r.top>=r.bottom)throw Error("Expected RectF with left < right and top < bottom.");if(r.left<0||r.top<0||r.right>1||r.bottom>1)throw Error("Expected RectF values to be in [0,1].");bv(a,1,(r.left+r.right)/2),bv(a,2,(r.top+r.bottom)/2),bv(a,4,r.right-r.left),bv(a,3,r.bottom-r.top)}else bv(a,1,.5),bv(a,2,.5),bv(a,4,1),bv(a,3,1);if(i?.rotationDegrees){if(i?.rotationDegrees%90!=0)throw Error("Expected rotation to be a multiple of 90\xb0.");if(bv(a,5,-Math.PI*i.rotationDegrees/180),i?.rotationDegrees%180!=0){let[e,n]=k9(t);i=bp(a,3)*n/e,r=bp(a,4)*e/n,bv(a,4,i),bv(a,3,r)}}e.g.addProtoToStream(a.g(),"mediapipe.NormalizedRect",e.U,n)}e.g.pa(t,e.X,n??performance.now()),e.finishProcessing()}function w9(e,t,i){if(e.baseOptions?.g())throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");w8(e,t,i,e.C+1)}function w7(e,t,i,n){if(!e.baseOptions?.g())throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");w8(e,t,i,n)}function Ce(e,t,i,n){var r=t.data;let a=t.width,s=a*(t=t.height);if((r instanceof Uint8Array||r instanceof Float32Array)&&r.length!==s)throw Error("Unsupported channel count: "+r.length/s);return e=new wP([r],i,!1,e.g.i.canvas,e.P,a,t),n?e.clone():e}var Ct=class extends wc{constructor(e,t,i,n){super(e),this.g=e,this.X=t,this.U=i,this.oa=n,this.P=new wF}l(e,t=!0){if("runningMode"in e&&vZ(this.baseOptions,2,_7(!!e.runningMode&&"IMAGE"!==e.runningMode)),void 0!==e.canvas&&this.g.i.canvas!==e.canvas)throw Error("You must create a new task to reset the canvas.");return super.l(e,t)}close(){this.P.close(),super.close()}};Ct.prototype.close=Ct.prototype.close;var Ci=class extends Ct{constructor(e,t){super(new w6(e,t),"image_in","norm_rect_in",!1),this.j={detections:[]},bd(e=this.h=new kt,0,1,t=new F9),bv(this.h,2,.5),bv(this.h,3,.3)}get baseOptions(){return bs(this.h,F9,1)}set baseOptions(e){bd(this.h,0,1,e)}o(e){return"minDetectionConfidence"in e&&bv(this.h,2,e.minDetectionConfidence??.5),"minSuppressionThreshold"in e&&bv(this.h,3,e.minSuppressionThreshold??.3),this.l(e)}F(e,t){return this.j={detections:[]},w9(this,e,t),this.j}G(e,t,i){return this.j={detections:[]},w7(this,e,i,t),this.j}m(){var e=new FT;Fx(e,"image_in"),Fx(e,"norm_rect_in"),FD(e,"detections");let t=new Fv;ya(t,kn,this.h);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.face_detector.FaceDetectorGraph"),FF(i,"IMAGE:image_in"),FF(i,"NORM_RECT:norm_rect_in"),Fk(i,"DETECTIONS:detections"),i.o(t),FS(e,i),this.g.attachProtoVectorListener("detections",(e,t)=>{for(let t of e)e=Fz(t),this.j.detections.push(kQ(e));wo(this,t)}),this.g.attachEmptyPacketListener("detections",e=>{wo(this,e)}),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};Ci.prototype.detectForVideo=Ci.prototype.G,Ci.prototype.detect=Ci.prototype.F,Ci.prototype.setOptions=Ci.prototype.o,Ci.createFromModelPath=async function(e,t){return w5(Ci,e,{baseOptions:{modelAssetPath:t}})},Ci.createFromModelBuffer=function(e,t){return w5(Ci,e,{baseOptions:{modelAssetBuffer:t}})},Ci.createFromOptions=function(e,t){return w5(Ci,e,t)};var Cn=w2([61,146],[146,91],[91,181],[181,84],[84,17],[17,314],[314,405],[405,321],[321,375],[375,291],[61,185],[185,40],[40,39],[39,37],[37,0],[0,267],[267,269],[269,270],[270,409],[409,291],[78,95],[95,88],[88,178],[178,87],[87,14],[14,317],[317,402],[402,318],[318,324],[324,308],[78,191],[191,80],[80,81],[81,82],[82,13],[13,312],[312,311],[311,310],[310,415],[415,308]),Cr=w2([263,249],[249,390],[390,373],[373,374],[374,380],[380,381],[381,382],[382,362],[263,466],[466,388],[388,387],[387,386],[386,385],[385,384],[384,398],[398,362]),Ca=w2([276,283],[283,282],[282,295],[295,285],[300,293],[293,334],[334,296],[296,336]),Cs=w2([474,475],[475,476],[476,477],[477,474]),Co=w2([33,7],[7,163],[163,144],[144,145],[145,153],[153,154],[154,155],[155,133],[33,246],[246,161],[161,160],[160,159],[159,158],[158,157],[157,173],[173,133]),Cl=w2([46,53],[53,52],[52,65],[65,55],[70,63],[63,105],[105,66],[66,107]),Cu=w2([469,470],[470,471],[471,472],[472,469]),Cd=w2([10,338],[338,297],[297,332],[332,284],[284,251],[251,389],[389,356],[356,454],[454,323],[323,361],[361,288],[288,397],[397,365],[365,379],[379,378],[378,400],[400,377],[377,152],[152,148],[148,176],[176,149],[149,150],[150,136],[136,172],[172,58],[58,132],[132,93],[93,234],[234,127],[127,162],[162,21],[21,54],[54,103],[103,67],[67,109],[109,10]),Cc=[...Cn,...Cr,...Ca,...Co,...Cl,...Cd],Ch=w2([127,34],[34,139],[139,127],[11,0],[0,37],[37,11],[232,231],[231,120],[120,232],[72,37],[37,39],[39,72],[128,121],[121,47],[47,128],[232,121],[121,128],[128,232],[104,69],[69,67],[67,104],[175,171],[171,148],[148,175],[118,50],[50,101],[101,118],[73,39],[39,40],[40,73],[9,151],[151,108],[108,9],[48,115],[115,131],[131,48],[194,204],[204,211],[211,194],[74,40],[40,185],[185,74],[80,42],[42,183],[183,80],[40,92],[92,186],[186,40],[230,229],[229,118],[118,230],[202,212],[212,214],[214,202],[83,18],[18,17],[17,83],[76,61],[61,146],[146,76],[160,29],[29,30],[30,160],[56,157],[157,173],[173,56],[106,204],[204,194],[194,106],[135,214],[214,192],[192,135],[203,165],[165,98],[98,203],[21,71],[71,68],[68,21],[51,45],[45,4],[4,51],[144,24],[24,23],[23,144],[77,146],[146,91],[91,77],[205,50],[50,187],[187,205],[201,200],[200,18],[18,201],[91,106],[106,182],[182,91],[90,91],[91,181],[181,90],[85,84],[84,17],[17,85],[206,203],[203,36],[36,206],[148,171],[171,140],[140,148],[92,40],[40,39],[39,92],[193,189],[189,244],[244,193],[159,158],[158,28],[28,159],[247,246],[246,161],[161,247],[236,3],[3,196],[196,236],[54,68],[68,104],[104,54],[193,168],[168,8],[8,193],[117,228],[228,31],[31,117],[189,193],[193,55],[55,189],[98,97],[97,99],[99,98],[126,47],[47,100],[100,126],[166,79],[79,218],[218,166],[155,154],[154,26],[26,155],[209,49],[49,131],[131,209],[135,136],[136,150],[150,135],[47,126],[126,217],[217,47],[223,52],[52,53],[53,223],[45,51],[51,134],[134,45],[211,170],[170,140],[140,211],[67,69],[69,108],[108,67],[43,106],[106,91],[91,43],[230,119],[119,120],[120,230],[226,130],[130,247],[247,226],[63,53],[53,52],[52,63],[238,20],[20,242],[242,238],[46,70],[70,156],[156,46],[78,62],[62,96],[96,78],[46,53],[53,63],[63,46],[143,34],[34,227],[227,143],[123,117],[117,111],[111,123],[44,125],[125,19],[19,44],[236,134],[134,51],[51,236],[216,206],[206,205],[205,216],[154,153],[153,22],[22,154],[39,37],[37,167],[167,39],[200,201],[201,208],[208,200],[36,142],[142,100],[100,36],[57,212],[212,202],[202,57],[20,60],[60,99],[99,20],[28,158],[158,157],[157,28],[35,226],[226,113],[113,35],[160,159],[159,27],[27,160],[204,202],[202,210],[210,204],[113,225],[225,46],[46,113],[43,202],[202,204],[204,43],[62,76],[76,77],[77,62],[137,123],[123,116],[116,137],[41,38],[38,72],[72,41],[203,129],[129,142],[142,203],[64,98],[98,240],[240,64],[49,102],[102,64],[64,49],[41,73],[73,74],[74,41],[212,216],[216,207],[207,212],[42,74],[74,184],[184,42],[169,170],[170,211],[211,169],[170,149],[149,176],[176,170],[105,66],[66,69],[69,105],[122,6],[6,168],[168,122],[123,147],[147,187],[187,123],[96,77],[77,90],[90,96],[65,55],[55,107],[107,65],[89,90],[90,180],[180,89],[101,100],[100,120],[120,101],[63,105],[105,104],[104,63],[93,137],[137,227],[227,93],[15,86],[86,85],[85,15],[129,102],[102,49],[49,129],[14,87],[87,86],[86,14],[55,8],[8,9],[9,55],[100,47],[47,121],[121,100],[145,23],[23,22],[22,145],[88,89],[89,179],[179,88],[6,122],[122,196],[196,6],[88,95],[95,96],[96,88],[138,172],[172,136],[136,138],[215,58],[58,172],[172,215],[115,48],[48,219],[219,115],[42,80],[80,81],[81,42],[195,3],[3,51],[51,195],[43,146],[146,61],[61,43],[171,175],[175,199],[199,171],[81,82],[82,38],[38,81],[53,46],[46,225],[225,53],[144,163],[163,110],[110,144],[52,65],[65,66],[66,52],[229,228],[228,117],[117,229],[34,127],[127,234],[234,34],[107,108],[108,69],[69,107],[109,108],[108,151],[151,109],[48,64],[64,235],[235,48],[62,78],[78,191],[191,62],[129,209],[209,126],[126,129],[111,35],[35,143],[143,111],[117,123],[123,50],[50,117],[222,65],[65,52],[52,222],[19,125],[125,141],[141,19],[221,55],[55,65],[65,221],[3,195],[195,197],[197,3],[25,7],[7,33],[33,25],[220,237],[237,44],[44,220],[70,71],[71,139],[139,70],[122,193],[193,245],[245,122],[247,130],[130,33],[33,247],[71,21],[21,162],[162,71],[170,169],[169,150],[150,170],[188,174],[174,196],[196,188],[216,186],[186,92],[92,216],[2,97],[97,167],[167,2],[141,125],[125,241],[241,141],[164,167],[167,37],[37,164],[72,38],[38,12],[12,72],[38,82],[82,13],[13,38],[63,68],[68,71],[71,63],[226,35],[35,111],[111,226],[101,50],[50,205],[205,101],[206,92],[92,165],[165,206],[209,198],[198,217],[217,209],[165,167],[167,97],[97,165],[220,115],[115,218],[218,220],[133,112],[112,243],[243,133],[239,238],[238,241],[241,239],[214,135],[135,169],[169,214],[190,173],[173,133],[133,190],[171,208],[208,32],[32,171],[125,44],[44,237],[237,125],[86,87],[87,178],[178,86],[85,86],[86,179],[179,85],[84,85],[85,180],[180,84],[83,84],[84,181],[181,83],[201,83],[83,182],[182,201],[137,93],[93,132],[132,137],[76,62],[62,183],[183,76],[61,76],[76,184],[184,61],[57,61],[61,185],[185,57],[212,57],[57,186],[186,212],[214,207],[207,187],[187,214],[34,143],[143,156],[156,34],[79,239],[239,237],[237,79],[123,137],[137,177],[177,123],[44,1],[1,4],[4,44],[201,194],[194,32],[32,201],[64,102],[102,129],[129,64],[213,215],[215,138],[138,213],[59,166],[166,219],[219,59],[242,99],[99,97],[97,242],[2,94],[94,141],[141,2],[75,59],[59,235],[235,75],[24,110],[110,228],[228,24],[25,130],[130,226],[226,25],[23,24],[24,229],[229,23],[22,23],[23,230],[230,22],[26,22],[22,231],[231,26],[112,26],[26,232],[232,112],[189,190],[190,243],[243,189],[221,56],[56,190],[190,221],[28,56],[56,221],[221,28],[27,28],[28,222],[222,27],[29,27],[27,223],[223,29],[30,29],[29,224],[224,30],[247,30],[30,225],[225,247],[238,79],[79,20],[20,238],[166,59],[59,75],[75,166],[60,75],[75,240],[240,60],[147,177],[177,215],[215,147],[20,79],[79,166],[166,20],[187,147],[147,213],[213,187],[112,233],[233,244],[244,112],[233,128],[128,245],[245,233],[128,114],[114,188],[188,128],[114,217],[217,174],[174,114],[131,115],[115,220],[220,131],[217,198],[198,236],[236,217],[198,131],[131,134],[134,198],[177,132],[132,58],[58,177],[143,35],[35,124],[124,143],[110,163],[163,7],[7,110],[228,110],[110,25],[25,228],[356,389],[389,368],[368,356],[11,302],[302,267],[267,11],[452,350],[350,349],[349,452],[302,303],[303,269],[269,302],[357,343],[343,277],[277,357],[452,453],[453,357],[357,452],[333,332],[332,297],[297,333],[175,152],[152,377],[377,175],[347,348],[348,330],[330,347],[303,304],[304,270],[270,303],[9,336],[336,337],[337,9],[278,279],[279,360],[360,278],[418,262],[262,431],[431,418],[304,408],[408,409],[409,304],[310,415],[415,407],[407,310],[270,409],[409,410],[410,270],[450,348],[348,347],[347,450],[422,430],[430,434],[434,422],[313,314],[314,17],[17,313],[306,307],[307,375],[375,306],[387,388],[388,260],[260,387],[286,414],[414,398],[398,286],[335,406],[406,418],[418,335],[364,367],[367,416],[416,364],[423,358],[358,327],[327,423],[251,284],[284,298],[298,251],[281,5],[5,4],[4,281],[373,374],[374,253],[253,373],[307,320],[320,321],[321,307],[425,427],[427,411],[411,425],[421,313],[313,18],[18,421],[321,405],[405,406],[406,321],[320,404],[404,405],[405,320],[315,16],[16,17],[17,315],[426,425],[425,266],[266,426],[377,400],[400,369],[369,377],[322,391],[391,269],[269,322],[417,465],[465,464],[464,417],[386,257],[257,258],[258,386],[466,260],[260,388],[388,466],[456,399],[399,419],[419,456],[284,332],[332,333],[333,284],[417,285],[285,8],[8,417],[346,340],[340,261],[261,346],[413,441],[441,285],[285,413],[327,460],[460,328],[328,327],[355,371],[371,329],[329,355],[392,439],[439,438],[438,392],[382,341],[341,256],[256,382],[429,420],[420,360],[360,429],[364,394],[394,379],[379,364],[277,343],[343,437],[437,277],[443,444],[444,283],[283,443],[275,440],[440,363],[363,275],[431,262],[262,369],[369,431],[297,338],[338,337],[337,297],[273,375],[375,321],[321,273],[450,451],[451,349],[349,450],[446,342],[342,467],[467,446],[293,334],[334,282],[282,293],[458,461],[461,462],[462,458],[276,353],[353,383],[383,276],[308,324],[324,325],[325,308],[276,300],[300,293],[293,276],[372,345],[345,447],[447,372],[352,345],[345,340],[340,352],[274,1],[1,19],[19,274],[456,248],[248,281],[281,456],[436,427],[427,425],[425,436],[381,256],[256,252],[252,381],[269,391],[391,393],[393,269],[200,199],[199,428],[428,200],[266,330],[330,329],[329,266],[287,273],[273,422],[422,287],[250,462],[462,328],[328,250],[258,286],[286,384],[384,258],[265,353],[353,342],[342,265],[387,259],[259,257],[257,387],[424,431],[431,430],[430,424],[342,353],[353,276],[276,342],[273,335],[335,424],[424,273],[292,325],[325,307],[307,292],[366,447],[447,345],[345,366],[271,303],[303,302],[302,271],[423,266],[266,371],[371,423],[294,455],[455,460],[460,294],[279,278],[278,294],[294,279],[271,272],[272,304],[304,271],[432,434],[434,427],[427,432],[272,407],[407,408],[408,272],[394,430],[430,431],[431,394],[395,369],[369,400],[400,395],[334,333],[333,299],[299,334],[351,417],[417,168],[168,351],[352,280],[280,411],[411,352],[325,319],[319,320],[320,325],[295,296],[296,336],[336,295],[319,403],[403,404],[404,319],[330,348],[348,349],[349,330],[293,298],[298,333],[333,293],[323,454],[454,447],[447,323],[15,16],[16,315],[315,15],[358,429],[429,279],[279,358],[14,15],[15,316],[316,14],[285,336],[336,9],[9,285],[329,349],[349,350],[350,329],[374,380],[380,252],[252,374],[318,402],[402,403],[403,318],[6,197],[197,419],[419,6],[318,319],[319,325],[325,318],[367,364],[364,365],[365,367],[435,367],[367,397],[397,435],[344,438],[438,439],[439,344],[272,271],[271,311],[311,272],[195,5],[5,281],[281,195],[273,287],[287,291],[291,273],[396,428],[428,199],[199,396],[311,271],[271,268],[268,311],[283,444],[444,445],[445,283],[373,254],[254,339],[339,373],[282,334],[334,296],[296,282],[449,347],[347,346],[346,449],[264,447],[447,454],[454,264],[336,296],[296,299],[299,336],[338,10],[10,151],[151,338],[278,439],[439,455],[455,278],[292,407],[407,415],[415,292],[358,371],[371,355],[355,358],[340,345],[345,372],[372,340],[346,347],[347,280],[280,346],[442,443],[443,282],[282,442],[19,94],[94,370],[370,19],[441,442],[442,295],[295,441],[248,419],[419,197],[197,248],[263,255],[255,359],[359,263],[440,275],[275,274],[274,440],[300,383],[383,368],[368,300],[351,412],[412,465],[465,351],[263,467],[467,466],[466,263],[301,368],[368,389],[389,301],[395,378],[378,379],[379,395],[412,351],[351,419],[419,412],[436,426],[426,322],[322,436],[2,164],[164,393],[393,2],[370,462],[462,461],[461,370],[164,0],[0,267],[267,164],[302,11],[11,12],[12,302],[268,12],[12,13],[13,268],[293,300],[300,301],[301,293],[446,261],[261,340],[340,446],[330,266],[266,425],[425,330],[426,423],[423,391],[391,426],[429,355],[355,437],[437,429],[391,327],[327,326],[326,391],[440,457],[457,438],[438,440],[341,382],[382,362],[362,341],[459,457],[457,461],[461,459],[434,430],[430,394],[394,434],[414,463],[463,362],[362,414],[396,369],[369,262],[262,396],[354,461],[461,457],[457,354],[316,403],[403,402],[402,316],[315,404],[404,403],[403,315],[314,405],[405,404],[404,314],[313,406],[406,405],[405,313],[421,418],[418,406],[406,421],[366,401],[401,361],[361,366],[306,408],[408,407],[407,306],[291,409],[409,408],[408,291],[287,410],[410,409],[409,287],[432,436],[436,410],[410,432],[434,416],[416,411],[411,434],[264,368],[368,383],[383,264],[309,438],[438,457],[457,309],[352,376],[376,401],[401,352],[274,275],[275,4],[4,274],[421,428],[428,262],[262,421],[294,327],[327,358],[358,294],[433,416],[416,367],[367,433],[289,455],[455,439],[439,289],[462,370],[370,326],[326,462],[2,326],[326,370],[370,2],[305,460],[460,455],[455,305],[254,449],[449,448],[448,254],[255,261],[261,446],[446,255],[253,450],[450,449],[449,253],[252,451],[451,450],[450,252],[256,452],[452,451],[451,256],[341,453],[453,452],[452,341],[413,464],[464,463],[463,413],[441,413],[413,414],[414,441],[258,442],[442,441],[441,258],[257,443],[443,442],[442,257],[259,444],[444,443],[443,259],[260,445],[445,444],[444,260],[467,342],[342,445],[445,467],[459,458],[458,250],[250,459],[289,392],[392,290],[290,289],[290,328],[328,460],[460,290],[376,433],[433,435],[435,376],[250,290],[290,392],[392,250],[411,416],[416,433],[433,411],[341,463],[463,464],[464,341],[453,464],[464,465],[465,453],[357,465],[465,412],[412,357],[343,412],[412,399],[399,343],[360,363],[363,440],[440,360],[437,399],[399,456],[456,437],[420,456],[456,363],[363,420],[401,435],[435,288],[288,401],[372,383],[383,353],[353,372],[339,255],[255,249],[249,339],[448,261],[261,255],[255,448],[133,243],[243,190],[190,133],[133,155],[155,112],[112,133],[33,246],[246,247],[247,33],[33,130],[130,25],[25,33],[398,384],[384,286],[286,398],[362,398],[398,414],[414,362],[362,463],[463,341],[341,362],[263,359],[359,467],[467,263],[263,249],[249,255],[255,263],[466,467],[467,260],[260,466],[75,60],[60,166],[166,75],[238,239],[239,79],[79,238],[162,127],[127,139],[139,162],[72,11],[11,37],[37,72],[121,232],[232,120],[120,121],[73,72],[72,39],[39,73],[114,128],[128,47],[47,114],[233,232],[232,128],[128,233],[103,104],[104,67],[67,103],[152,175],[175,148],[148,152],[119,118],[118,101],[101,119],[74,73],[73,40],[40,74],[107,9],[9,108],[108,107],[49,48],[48,131],[131,49],[32,194],[194,211],[211,32],[184,74],[74,185],[185,184],[191,80],[80,183],[183,191],[185,40],[40,186],[186,185],[119,230],[230,118],[118,119],[210,202],[202,214],[214,210],[84,83],[83,17],[17,84],[77,76],[76,146],[146,77],[161,160],[160,30],[30,161],[190,56],[56,173],[173,190],[182,106],[106,194],[194,182],[138,135],[135,192],[192,138],[129,203],[203,98],[98,129],[54,21],[21,68],[68,54],[5,51],[51,4],[4,5],[145,144],[144,23],[23,145],[90,77],[77,91],[91,90],[207,205],[205,187],[187,207],[83,201],[201,18],[18,83],[181,91],[91,182],[182,181],[180,90],[90,181],[181,180],[16,85],[85,17],[17,16],[205,206],[206,36],[36,205],[176,148],[148,140],[140,176],[165,92],[92,39],[39,165],[245,193],[193,244],[244,245],[27,159],[159,28],[28,27],[30,247],[247,161],[161,30],[174,236],[236,196],[196,174],[103,54],[54,104],[104,103],[55,193],[193,8],[8,55],[111,117],[117,31],[31,111],[221,189],[189,55],[55,221],[240,98],[98,99],[99,240],[142,126],[126,100],[100,142],[219,166],[166,218],[218,219],[112,155],[155,26],[26,112],[198,209],[209,131],[131,198],[169,135],[135,150],[150,169],[114,47],[47,217],[217,114],[224,223],[223,53],[53,224],[220,45],[45,134],[134,220],[32,211],[211,140],[140,32],[109,67],[67,108],[108,109],[146,43],[43,91],[91,146],[231,230],[230,120],[120,231],[113,226],[226,247],[247,113],[105,63],[63,52],[52,105],[241,238],[238,242],[242,241],[124,46],[46,156],[156,124],[95,78],[78,96],[96,95],[70,46],[46,63],[63,70],[116,143],[143,227],[227,116],[116,123],[123,111],[111,116],[1,44],[44,19],[19,1],[3,236],[236,51],[51,3],[207,216],[216,205],[205,207],[26,154],[154,22],[22,26],[165,39],[39,167],[167,165],[199,200],[200,208],[208,199],[101,36],[36,100],[100,101],[43,57],[57,202],[202,43],[242,20],[20,99],[99,242],[56,28],[28,157],[157,56],[124,35],[35,113],[113,124],[29,160],[160,27],[27,29],[211,204],[204,210],[210,211],[124,113],[113,46],[46,124],[106,43],[43,204],[204,106],[96,62],[62,77],[77,96],[227,137],[137,116],[116,227],[73,41],[41,72],[72,73],[36,203],[203,142],[142,36],[235,64],[64,240],[240,235],[48,49],[49,64],[64,48],[42,41],[41,74],[74,42],[214,212],[212,207],[207,214],[183,42],[42,184],[184,183],[210,169],[169,211],[211,210],[140,170],[170,176],[176,140],[104,105],[105,69],[69,104],[193,122],[122,168],[168,193],[50,123],[123,187],[187,50],[89,96],[96,90],[90,89],[66,65],[65,107],[107,66],[179,89],[89,180],[180,179],[119,101],[101,120],[120,119],[68,63],[63,104],[104,68],[234,93],[93,227],[227,234],[16,15],[15,85],[85,16],[209,129],[129,49],[49,209],[15,14],[14,86],[86,15],[107,55],[55,9],[9,107],[120,100],[100,121],[121,120],[153,145],[145,22],[22,153],[178,88],[88,179],[179,178],[197,6],[6,196],[196,197],[89,88],[88,96],[96,89],[135,138],[138,136],[136,135],[138,215],[215,172],[172,138],[218,115],[115,219],[219,218],[41,42],[42,81],[81,41],[5,195],[195,51],[51,5],[57,43],[43,61],[61,57],[208,171],[171,199],[199,208],[41,81],[81,38],[38,41],[224,53],[53,225],[225,224],[24,144],[144,110],[110,24],[105,52],[52,66],[66,105],[118,229],[229,117],[117,118],[227,34],[34,234],[234,227],[66,107],[107,69],[69,66],[10,109],[109,151],[151,10],[219,48],[48,235],[235,219],[183,62],[62,191],[191,183],[142,129],[129,126],[126,142],[116,111],[111,143],[143,116],[118,117],[117,50],[50,118],[223,222],[222,52],[52,223],[94,19],[19,141],[141,94],[222,221],[221,65],[65,222],[196,3],[3,197],[197,196],[45,220],[220,44],[44,45],[156,70],[70,139],[139,156],[188,122],[122,245],[245,188],[139,71],[71,162],[162,139],[149,170],[170,150],[150,149],[122,188],[188,196],[196,122],[206,216],[216,92],[92,206],[164,2],[2,167],[167,164],[242,141],[141,241],[241,242],[0,164],[164,37],[37,0],[11,72],[72,12],[12,11],[12,38],[38,13],[13,12],[70,63],[63,71],[71,70],[31,226],[226,111],[111,31],[36,101],[101,205],[205,36],[203,206],[206,165],[165,203],[126,209],[209,217],[217,126],[98,165],[165,97],[97,98],[237,220],[220,218],[218,237],[237,239],[239,241],[241,237],[210,214],[214,169],[169,210],[140,171],[171,32],[32,140],[241,125],[125,237],[237,241],[179,86],[86,178],[178,179],[180,85],[85,179],[179,180],[181,84],[84,180],[180,181],[182,83],[83,181],[181,182],[194,201],[201,182],[182,194],[177,137],[137,132],[132,177],[184,76],[76,183],[183,184],[185,61],[61,184],[184,185],[186,57],[57,185],[185,186],[216,212],[212,186],[186,216],[192,214],[214,187],[187,192],[139,34],[34,156],[156,139],[218,79],[79,237],[237,218],[147,123],[123,177],[177,147],[45,44],[44,4],[4,45],[208,201],[201,32],[32,208],[98,64],[64,129],[129,98],[192,213],[213,138],[138,192],[235,59],[59,219],[219,235],[141,242],[242,97],[97,141],[97,2],[2,141],[141,97],[240,75],[75,235],[235,240],[229,24],[24,228],[228,229],[31,25],[25,226],[226,31],[230,23],[23,229],[229,230],[231,22],[22,230],[230,231],[232,26],[26,231],[231,232],[233,112],[112,232],[232,233],[244,189],[189,243],[243,244],[189,221],[221,190],[190,189],[222,28],[28,221],[221,222],[223,27],[27,222],[222,223],[224,29],[29,223],[223,224],[225,30],[30,224],[224,225],[113,247],[247,225],[225,113],[99,60],[60,240],[240,99],[213,147],[147,215],[215,213],[60,20],[20,166],[166,60],[192,187],[187,213],[213,192],[243,112],[112,244],[244,243],[244,233],[233,245],[245,244],[245,128],[128,188],[188,245],[188,114],[114,174],[174,188],[134,131],[131,220],[220,134],[174,217],[217,236],[236,174],[236,198],[198,134],[134,236],[215,177],[177,58],[58,215],[156,143],[143,124],[124,156],[25,110],[110,7],[7,25],[31,228],[228,25],[25,31],[264,356],[356,368],[368,264],[0,11],[11,267],[267,0],[451,452],[452,349],[349,451],[267,302],[302,269],[269,267],[350,357],[357,277],[277,350],[350,452],[452,357],[357,350],[299,333],[333,297],[297,299],[396,175],[175,377],[377,396],[280,347],[347,330],[330,280],[269,303],[303,270],[270,269],[151,9],[9,337],[337,151],[344,278],[278,360],[360,344],[424,418],[418,431],[431,424],[270,304],[304,409],[409,270],[272,310],[310,407],[407,272],[322,270],[270,410],[410,322],[449,450],[450,347],[347,449],[432,422],[422,434],[434,432],[18,313],[313,17],[17,18],[291,306],[306,375],[375,291],[259,387],[387,260],[260,259],[424,335],[335,418],[418,424],[434,364],[364,416],[416,434],[391,423],[423,327],[327,391],[301,251],[251,298],[298,301],[275,281],[281,4],[4,275],[254,373],[373,253],[253,254],[375,307],[307,321],[321,375],[280,425],[425,411],[411,280],[200,421],[421,18],[18,200],[335,321],[321,406],[406,335],[321,320],[320,405],[405,321],[314,315],[315,17],[17,314],[423,426],[426,266],[266,423],[396,377],[377,369],[369,396],[270,322],[322,269],[269,270],[413,417],[417,464],[464,413],[385,386],[386,258],[258,385],[248,456],[456,419],[419,248],[298,284],[284,333],[333,298],[168,417],[417,8],[8,168],[448,346],[346,261],[261,448],[417,413],[413,285],[285,417],[326,327],[327,328],[328,326],[277,355],[355,329],[329,277],[309,392],[392,438],[438,309],[381,382],[382,256],[256,381],[279,429],[429,360],[360,279],[365,364],[364,379],[379,365],[355,277],[277,437],[437,355],[282,443],[443,283],[283,282],[281,275],[275,363],[363,281],[395,431],[431,369],[369,395],[299,297],[297,337],[337,299],[335,273],[273,321],[321,335],[348,450],[450,349],[349,348],[359,446],[446,467],[467,359],[283,293],[293,282],[282,283],[250,458],[458,462],[462,250],[300,276],[276,383],[383,300],[292,308],[308,325],[325,292],[283,276],[276,293],[293,283],[264,372],[372,447],[447,264],[346,352],[352,340],[340,346],[354,274],[274,19],[19,354],[363,456],[456,281],[281,363],[426,436],[436,425],[425,426],[380,381],[381,252],[252,380],[267,269],[269,393],[393,267],[421,200],[200,428],[428,421],[371,266],[266,329],[329,371],[432,287],[287,422],[422,432],[290,250],[250,328],[328,290],[385,258],[258,384],[384,385],[446,265],[265,342],[342,446],[386,387],[387,257],[257,386],[422,424],[424,430],[430,422],[445,342],[342,276],[276,445],[422,273],[273,424],[424,422],[306,292],[292,307],[307,306],[352,366],[366,345],[345,352],[268,271],[271,302],[302,268],[358,423],[423,371],[371,358],[327,294],[294,460],[460,327],[331,279],[279,294],[294,331],[303,271],[271,304],[304,303],[436,432],[432,427],[427,436],[304,272],[272,408],[408,304],[395,394],[394,431],[431,395],[378,395],[395,400],[400,378],[296,334],[334,299],[299,296],[6,351],[351,168],[168,6],[376,352],[352,411],[411,376],[307,325],[325,320],[320,307],[285,295],[295,336],[336,285],[320,319],[319,404],[404,320],[329,330],[330,349],[349,329],[334,293],[293,333],[333,334],[366,323],[323,447],[447,366],[316,15],[15,315],[315,316],[331,358],[358,279],[279,331],[317,14],[14,316],[316,317],[8,285],[285,9],[9,8],[277,329],[329,350],[350,277],[253,374],[374,252],[252,253],[319,318],[318,403],[403,319],[351,6],[6,419],[419,351],[324,318],[318,325],[325,324],[397,367],[367,365],[365,397],[288,435],[435,397],[397,288],[278,344],[344,439],[439,278],[310,272],[272,311],[311,310],[248,195],[195,281],[281,248],[375,273],[273,291],[291,375],[175,396],[396,199],[199,175],[312,311],[311,268],[268,312],[276,283],[283,445],[445,276],[390,373],[373,339],[339,390],[295,282],[282,296],[296,295],[448,449],[449,346],[346,448],[356,264],[264,454],[454,356],[337,336],[336,299],[299,337],[337,338],[338,151],[151,337],[294,278],[278,455],[455,294],[308,292],[292,415],[415,308],[429,358],[358,355],[355,429],[265,340],[340,372],[372,265],[352,346],[346,280],[280,352],[295,442],[442,282],[282,295],[354,19],[19,370],[370,354],[285,441],[441,295],[295,285],[195,248],[248,197],[197,195],[457,440],[440,274],[274,457],[301,300],[300,368],[368,301],[417,351],[351,465],[465,417],[251,301],[301,389],[389,251],[394,395],[395,379],[379,394],[399,412],[412,419],[419,399],[410,436],[436,322],[322,410],[326,2],[2,393],[393,326],[354,370],[370,461],[461,354],[393,164],[164,267],[267,393],[268,302],[302,12],[12,268],[312,268],[268,13],[13,312],[298,293],[293,301],[301,298],[265,446],[446,340],[340,265],[280,330],[330,425],[425,280],[322,426],[426,391],[391,322],[420,429],[429,437],[437,420],[393,391],[391,326],[326,393],[344,440],[440,438],[438,344],[458,459],[459,461],[461,458],[364,434],[434,394],[394,364],[428,396],[396,262],[262,428],[274,354],[354,457],[457,274],[317,316],[316,402],[402,317],[316,315],[315,403],[403,316],[315,314],[314,404],[404,315],[314,313],[313,405],[405,314],[313,421],[421,406],[406,313],[323,366],[366,361],[361,323],[292,306],[306,407],[407,292],[306,291],[291,408],[408,306],[291,287],[287,409],[409,291],[287,432],[432,410],[410,287],[427,434],[434,411],[411,427],[372,264],[264,383],[383,372],[459,309],[309,457],[457,459],[366,352],[352,401],[401,366],[1,274],[274,4],[4,1],[418,421],[421,262],[262,418],[331,294],[294,358],[358,331],[435,433],[433,367],[367,435],[392,289],[289,439],[439,392],[328,462],[462,326],[326,328],[94,2],[2,370],[370,94],[289,305],[305,455],[455,289],[339,254],[254,448],[448,339],[359,255],[255,446],[446,359],[254,253],[253,449],[449,254],[253,252],[252,450],[450,253],[252,256],[256,451],[451,252],[256,341],[341,452],[452,256],[414,413],[413,463],[463,414],[286,441],[441,414],[414,286],[286,258],[258,441],[441,286],[258,257],[257,442],[442,258],[257,259],[259,443],[443,257],[259,260],[260,444],[444,259],[260,467],[467,445],[445,260],[309,459],[459,250],[250,309],[305,289],[289,290],[290,305],[305,290],[290,460],[460,305],[401,376],[376,435],[435,401],[309,250],[250,392],[392,309],[376,411],[411,433],[433,376],[453,341],[341,464],[464,453],[357,453],[453,465],[465,357],[343,357],[357,412],[412,343],[437,343],[343,399],[399,437],[344,360],[360,440],[440,344],[420,437],[437,456],[456,420],[360,420],[420,363],[363,360],[361,401],[401,288],[288,361],[265,372],[372,353],[353,265],[390,339],[339,249],[249,390],[339,448],[448,255],[255,339]);function Cf(e){e.j={faceLandmarks:[],faceBlendshapes:[],facialTransformationMatrixes:[]}}var Cm=class extends Ct{constructor(e,t){super(new w6(e,t),"image_in","norm_rect",!1),this.j={faceLandmarks:[],faceBlendshapes:[],facialTransformationMatrixes:[]},this.outputFacialTransformationMatrixes=this.outputFaceBlendshapes=!1,bd(e=this.h=new ks,0,1,t=new F9),this.A=new ka,bd(this.h,0,3,this.A),this.u=new kt,bd(this.h,0,2,this.u),b_(this.u,4,1),bv(this.u,2,.5),bv(this.A,2,.5),bv(this.h,4,.5)}get baseOptions(){return bs(this.h,F9,1)}set baseOptions(e){bd(this.h,0,1,e)}o(e){return"numFaces"in e&&b_(this.u,4,e.numFaces??1),"minFaceDetectionConfidence"in e&&bv(this.u,2,e.minFaceDetectionConfidence??.5),"minTrackingConfidence"in e&&bv(this.h,4,e.minTrackingConfidence??.5),"minFacePresenceConfidence"in e&&bv(this.A,2,e.minFacePresenceConfidence??.5),"outputFaceBlendshapes"in e&&(this.outputFaceBlendshapes=!!e.outputFaceBlendshapes),"outputFacialTransformationMatrixes"in e&&(this.outputFacialTransformationMatrixes=!!e.outputFacialTransformationMatrixes),this.l(e)}F(e,t){return Cf(this),w9(this,e,t),this.j}G(e,t,i){return Cf(this),w7(this,e,i,t),this.j}m(){var e=new FT;Fx(e,"image_in"),Fx(e,"norm_rect"),FD(e,"face_landmarks");let t=new Fv;ya(t,kl,this.h);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"),FF(i,"IMAGE:image_in"),FF(i,"NORM_RECT:norm_rect"),Fk(i,"NORM_LANDMARKS:face_landmarks"),i.o(t),FS(e,i),this.g.attachProtoVectorListener("face_landmarks",(e,t)=>{for(let t of e)e=FV(t),this.j.faceLandmarks.push(kZ(e));wo(this,t)}),this.g.attachEmptyPacketListener("face_landmarks",e=>{wo(this,e)}),this.outputFaceBlendshapes&&(FD(e,"blendshapes"),Fk(i,"BLENDSHAPES:blendshapes"),this.g.attachProtoVectorListener("blendshapes",(e,t)=>{if(this.outputFaceBlendshapes)for(let t of e)e=FN(t),this.j.faceBlendshapes.push(kK(e.g()??[]));wo(this,t)}),this.g.attachEmptyPacketListener("blendshapes",e=>{wo(this,e)})),this.outputFacialTransformationMatrixes&&(FD(e,"face_geometry"),Fk(i,"FACE_GEOMETRY:face_geometry"),this.g.attachProtoVectorListener("face_geometry",(e,t)=>{if(this.outputFacialTransformationMatrixes)for(let t of e)(e=bs(e=kr(t),FH,2))&&this.j.facialTransformationMatrixes.push({rows:bm(e,1)??0??0,columns:bm(e,2)??0??0,data:v1(e,3,_9,v0()).slice()??[]});wo(this,t)}),this.g.attachEmptyPacketListener("face_geometry",e=>{wo(this,e)})),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};Cm.prototype.detectForVideo=Cm.prototype.G,Cm.prototype.detect=Cm.prototype.F,Cm.prototype.setOptions=Cm.prototype.o,Cm.createFromModelPath=function(e,t){return w5(Cm,e,{baseOptions:{modelAssetPath:t}})},Cm.createFromModelBuffer=function(e,t){return w5(Cm,e,{baseOptions:{modelAssetBuffer:t}})},Cm.createFromOptions=function(e,t){return w5(Cm,e,t)},Cm.FACE_LANDMARKS_LIPS=Cn,Cm.FACE_LANDMARKS_LEFT_EYE=Cr,Cm.FACE_LANDMARKS_LEFT_EYEBROW=Ca,Cm.FACE_LANDMARKS_LEFT_IRIS=Cs,Cm.FACE_LANDMARKS_RIGHT_EYE=Co,Cm.FACE_LANDMARKS_RIGHT_EYEBROW=Cl,Cm.FACE_LANDMARKS_RIGHT_IRIS=Cu,Cm.FACE_LANDMARKS_FACE_OVAL=Cd,Cm.FACE_LANDMARKS_CONTOURS=Cc,Cm.FACE_LANDMARKS_TESSELATION=Ch;var Cg=w2([0,1],[1,2],[2,3],[3,4],[0,5],[5,6],[6,7],[7,8],[5,9],[9,10],[10,11],[11,12],[9,13],[13,14],[14,15],[15,16],[13,17],[0,17],[17,18],[18,19],[19,20]);function Cp(e){e.gestures=[],e.landmarks=[],e.worldLandmarks=[],e.handedness=[]}function C_(e){return 0===e.gestures.length?{gestures:[],landmarks:[],worldLandmarks:[],handedness:[],handednesses:[]}:{gestures:e.gestures,landmarks:e.landmarks,worldLandmarks:e.worldLandmarks,handedness:e.handedness,handednesses:e.handedness}}function Cv(e,t=!0){let i=[];for(let r of e){var n=FN(r);for(let i of(e=[],n.g()))n=t&&null!=bm(i,1)?bm(i,1)??0:-1,e.push({score:bp(i,2)??0,index:n,categoryName:vm(vY(i,3))??""??"",displayName:vm(vY(i,4))??""??""});i.push(e)}return i}var Cb=class extends Ct{constructor(e,t){super(new w6(e,t),"image_in","norm_rect",!1),this.gestures=[],this.landmarks=[],this.worldLandmarks=[],this.handedness=[],bd(e=this.j=new kg,0,1,t=new F9),this.u=new km,bd(this.j,0,2,this.u),this.D=new kf,bd(this.u,0,3,this.D),this.A=new kh,bd(this.u,0,2,this.A),this.h=new kc,bd(this.j,0,3,this.h),bv(this.A,2,.5),bv(this.u,4,.5),bv(this.D,2,.5)}get baseOptions(){return bs(this.j,F9,1)}set baseOptions(e){bd(this.j,0,1,e)}o(e){if(b_(this.A,3,e.numHands??1),"minHandDetectionConfidence"in e&&bv(this.A,2,e.minHandDetectionConfidence??.5),"minTrackingConfidence"in e&&bv(this.u,4,e.minTrackingConfidence??.5),"minHandPresenceConfidence"in e&&bv(this.D,2,e.minHandPresenceConfidence??.5),e.cannedGesturesClassifierOptions){var t=new ku,i=t,n=kG(e.cannedGesturesClassifierOptions,bs(this.h,ku,3)?.l());bd(i,0,2,n),bd(this.h,0,3,t)}else void 0===e.cannedGesturesClassifierOptions&&bs(this.h,ku,3)?.g();return e.customGesturesClassifierOptions?(bd(i=t=new ku,0,2,n=kG(e.customGesturesClassifierOptions,bs(this.h,ku,4)?.l())),bd(this.h,0,4,t)):void 0===e.customGesturesClassifierOptions&&bs(this.h,ku,4)?.g(),this.l(e)}Ha(e,t){return Cp(this),w9(this,e,t),C_(this)}Ia(e,t,i){return Cp(this),w7(this,e,i,t),C_(this)}m(){var e=new FT;Fx(e,"image_in"),Fx(e,"norm_rect"),FD(e,"hand_gestures"),FD(e,"hand_landmarks"),FD(e,"world_hand_landmarks"),FD(e,"handedness");let t=new Fv;ya(t,ky,this.j);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"),FF(i,"IMAGE:image_in"),FF(i,"NORM_RECT:norm_rect"),Fk(i,"HAND_GESTURES:hand_gestures"),Fk(i,"LANDMARKS:hand_landmarks"),Fk(i,"WORLD_LANDMARKS:world_hand_landmarks"),Fk(i,"HANDEDNESS:handedness"),i.o(t),FS(e,i),this.g.attachProtoVectorListener("hand_landmarks",(e,t)=>{for(let t of e){e=FV(t);let i=[];for(let t of bl(e,FW,1))i.push({x:bp(t,1)??0,y:bp(t,2)??0,z:bp(t,3)??0,visibility:bp(t,4)??0});this.landmarks.push(i)}wo(this,t)}),this.g.attachEmptyPacketListener("hand_landmarks",e=>{wo(this,e)}),this.g.attachProtoVectorListener("world_hand_landmarks",(e,t)=>{for(let t of e){e=Fq(t);let i=[];for(let t of bl(e,FU,1))i.push({x:bp(t,1)??0,y:bp(t,2)??0,z:bp(t,3)??0,visibility:bp(t,4)??0});this.worldLandmarks.push(i)}wo(this,t)}),this.g.attachEmptyPacketListener("world_hand_landmarks",e=>{wo(this,e)}),this.g.attachProtoVectorListener("hand_gestures",(e,t)=>{this.gestures.push(...Cv(e,!1)),wo(this,t)}),this.g.attachEmptyPacketListener("hand_gestures",e=>{wo(this,e)}),this.g.attachProtoVectorListener("handedness",(e,t)=>{this.handedness.push(...Cv(e)),wo(this,t)}),this.g.attachEmptyPacketListener("handedness",e=>{wo(this,e)}),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};function Cy(e){return{landmarks:e.landmarks,worldLandmarks:e.worldLandmarks,handednesses:e.handedness,handedness:e.handedness}}Cb.prototype.recognizeForVideo=Cb.prototype.Ia,Cb.prototype.recognize=Cb.prototype.Ha,Cb.prototype.setOptions=Cb.prototype.o,Cb.createFromModelPath=function(e,t){return w5(Cb,e,{baseOptions:{modelAssetPath:t}})},Cb.createFromModelBuffer=function(e,t){return w5(Cb,e,{baseOptions:{modelAssetBuffer:t}})},Cb.createFromOptions=function(e,t){return w5(Cb,e,t)},Cb.HAND_CONNECTIONS=Cg;var CF=class extends Ct{constructor(e,t){super(new w6(e,t),"image_in","norm_rect",!1),this.landmarks=[],this.worldLandmarks=[],this.handedness=[],bd(e=this.h=new km,0,1,t=new F9),this.u=new kf,bd(this.h,0,3,this.u),this.j=new kh,bd(this.h,0,2,this.j),b_(this.j,3,1),bv(this.j,2,.5),bv(this.u,2,.5),bv(this.h,4,.5)}get baseOptions(){return bs(this.h,F9,1)}set baseOptions(e){bd(this.h,0,1,e)}o(e){return"numHands"in e&&b_(this.j,3,e.numHands??1),"minHandDetectionConfidence"in e&&bv(this.j,2,e.minHandDetectionConfidence??.5),"minTrackingConfidence"in e&&bv(this.h,4,e.minTrackingConfidence??.5),"minHandPresenceConfidence"in e&&bv(this.u,2,e.minHandPresenceConfidence??.5),this.l(e)}F(e,t){return this.landmarks=[],this.worldLandmarks=[],this.handedness=[],w9(this,e,t),Cy(this)}G(e,t,i){return this.landmarks=[],this.worldLandmarks=[],this.handedness=[],w7(this,e,i,t),Cy(this)}m(){var e=new FT;Fx(e,"image_in"),Fx(e,"norm_rect"),FD(e,"hand_landmarks"),FD(e,"world_hand_landmarks"),FD(e,"handedness");let t=new Fv;ya(t,kF,this.h);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"),FF(i,"IMAGE:image_in"),FF(i,"NORM_RECT:norm_rect"),Fk(i,"LANDMARKS:hand_landmarks"),Fk(i,"WORLD_LANDMARKS:world_hand_landmarks"),Fk(i,"HANDEDNESS:handedness"),i.o(t),FS(e,i),this.g.attachProtoVectorListener("hand_landmarks",(e,t)=>{for(let t of e)e=FV(t),this.landmarks.push(kZ(e));wo(this,t)}),this.g.attachEmptyPacketListener("hand_landmarks",e=>{wo(this,e)}),this.g.attachProtoVectorListener("world_hand_landmarks",(e,t)=>{for(let t of e)e=Fq(t),this.worldLandmarks.push(kJ(e));wo(this,t)}),this.g.attachEmptyPacketListener("world_hand_landmarks",e=>{wo(this,e)}),this.g.attachProtoVectorListener("handedness",(e,t)=>{var i=this.handedness,n=i.push;let r=[];for(let t of e){e=FN(t);let i=[];for(let t of e.g())i.push({score:bp(t,2)??0,index:bm(t,1)??0??-1,categoryName:vm(vY(t,3))??""??"",displayName:vm(vY(t,4))??""??""});r.push(i)}n.call(i,...r),wo(this,t)}),this.g.attachEmptyPacketListener("handedness",e=>{wo(this,e)}),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};CF.prototype.detectForVideo=CF.prototype.G,CF.prototype.detect=CF.prototype.F,CF.prototype.setOptions=CF.prototype.o,CF.createFromModelPath=function(e,t){return w5(CF,e,{baseOptions:{modelAssetPath:t}})},CF.createFromModelBuffer=function(e,t){return w5(CF,e,{baseOptions:{modelAssetBuffer:t}})},CF.createFromOptions=function(e,t){return w5(CF,e,t)},CF.HAND_CONNECTIONS=Cg;var Ck=w2([0,1],[1,2],[2,3],[3,7],[0,4],[4,5],[5,6],[6,8],[9,10],[11,12],[11,13],[13,15],[15,17],[15,19],[15,21],[17,19],[12,14],[14,16],[16,18],[16,20],[16,22],[18,20],[11,23],[12,24],[23,24],[23,25],[24,26],[25,27],[26,28],[27,29],[28,30],[29,31],[30,32],[27,31],[28,32]);function Cw(e){e.h={faceLandmarks:[],faceBlendshapes:[],poseLandmarks:[],poseWorldLandmarks:[],poseSegmentationMasks:[],leftHandLandmarks:[],leftHandWorldLandmarks:[],rightHandLandmarks:[],rightHandWorldLandmarks:[]}}function CC(e){try{if(!e.D)return e.h;e.D(e.h)}finally{wd(e)}}function CA(e,t){e=FV(e),t.push(kZ(e))}var CE=class extends Ct{constructor(e,t){super(new w6(e,t),"input_frames_image",null,!1),this.h={faceLandmarks:[],faceBlendshapes:[],poseLandmarks:[],poseWorldLandmarks:[],poseSegmentationMasks:[],leftHandLandmarks:[],leftHandWorldLandmarks:[],rightHandLandmarks:[],rightHandWorldLandmarks:[]},this.outputPoseSegmentationMasks=this.outputFaceBlendshapes=!1,bd(e=this.j=new kA,0,1,t=new F9),this.I=new kf,bd(this.j,0,2,this.I),this.W=new kk,bd(this.j,0,3,this.W),this.u=new kt,bd(this.j,0,4,this.u),this.O=new ka,bd(this.j,0,5,this.O),this.A=new kw,bd(this.j,0,6,this.A),this.M=new kC,bd(this.j,0,7,this.M),bv(this.u,2,.5),bv(this.u,3,.3),bv(this.O,2,.5),bv(this.A,2,.5),bv(this.A,3,.3),bv(this.M,2,.5),bv(this.I,2,.5)}get baseOptions(){return bs(this.j,F9,1)}set baseOptions(e){bd(this.j,0,1,e)}o(e){return"minFaceDetectionConfidence"in e&&bv(this.u,2,e.minFaceDetectionConfidence??.5),"minFaceSuppressionThreshold"in e&&bv(this.u,3,e.minFaceSuppressionThreshold??.3),"minFacePresenceConfidence"in e&&bv(this.O,2,e.minFacePresenceConfidence??.5),"outputFaceBlendshapes"in e&&(this.outputFaceBlendshapes=!!e.outputFaceBlendshapes),"minPoseDetectionConfidence"in e&&bv(this.A,2,e.minPoseDetectionConfidence??.5),"minPoseSuppressionThreshold"in e&&bv(this.A,3,e.minPoseSuppressionThreshold??.3),"minPosePresenceConfidence"in e&&bv(this.M,2,e.minPosePresenceConfidence??.5),"outputPoseSegmentationMasks"in e&&(this.outputPoseSegmentationMasks=!!e.outputPoseSegmentationMasks),"minHandLandmarksConfidence"in e&&bv(this.I,2,e.minHandLandmarksConfidence??.5),this.l(e)}F(e,t,i){let n="function"!=typeof t?t:{};return this.D="function"==typeof t?t:i,Cw(this),w9(this,e,n),CC(this)}G(e,t,i,n){let r="function"!=typeof i?i:{};return this.D="function"==typeof i?i:n,Cw(this),w7(this,e,r,t),CC(this)}m(){var e=new FT;Fx(e,"input_frames_image"),FD(e,"pose_landmarks"),FD(e,"pose_world_landmarks"),FD(e,"face_landmarks"),FD(e,"left_hand_landmarks"),FD(e,"left_hand_world_landmarks"),FD(e,"right_hand_landmarks"),FD(e,"right_hand_world_landmarks");let t=new Fv,i=new Fr;bb(i,1,"type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"),function(e,t){if(null!=t)if(Array.isArray(t))vZ(e,2,vI(t,0,vP));else{if(!("string"==typeof t||t instanceof p1||pQ(t)))throw Error("invalid value in Any.value field: "+t+" expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");v9(e,2,_y(t,!1),pJ())}}(i,this.j.g());let n=new Fw;bb(n,2,"mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"),bf(n,8,Fr,i),FF(n,"IMAGE:input_frames_image"),Fk(n,"POSE_LANDMARKS:pose_landmarks"),Fk(n,"POSE_WORLD_LANDMARKS:pose_world_landmarks"),Fk(n,"FACE_LANDMARKS:face_landmarks"),Fk(n,"LEFT_HAND_LANDMARKS:left_hand_landmarks"),Fk(n,"LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"),Fk(n,"RIGHT_HAND_LANDMARKS:right_hand_landmarks"),Fk(n,"RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"),n.o(t),FS(e,n),wl(this,e),this.g.attachProtoListener("pose_landmarks",(e,t)=>{CA(e,this.h.poseLandmarks),wo(this,t)}),this.g.attachEmptyPacketListener("pose_landmarks",e=>{wo(this,e)}),this.g.attachProtoListener("pose_world_landmarks",(e,t)=>{var i=this.h.poseWorldLandmarks;e=Fq(e),i.push(kJ(e)),wo(this,t)}),this.g.attachEmptyPacketListener("pose_world_landmarks",e=>{wo(this,e)}),this.outputPoseSegmentationMasks&&(Fk(n,"POSE_SEGMENTATION_MASK:pose_segmentation_mask"),wu(this,"pose_segmentation_mask"),this.g.Z("pose_segmentation_mask",(e,t)=>{this.h.poseSegmentationMasks=[Ce(this,e,!0,!this.D)],wo(this,t)}),this.g.attachEmptyPacketListener("pose_segmentation_mask",e=>{this.h.poseSegmentationMasks=[],wo(this,e)})),this.g.attachProtoListener("face_landmarks",(e,t)=>{CA(e,this.h.faceLandmarks),wo(this,t)}),this.g.attachEmptyPacketListener("face_landmarks",e=>{wo(this,e)}),this.outputFaceBlendshapes&&(FD(e,"extra_blendshapes"),Fk(n,"FACE_BLENDSHAPES:extra_blendshapes"),this.g.attachProtoListener("extra_blendshapes",(e,t)=>{var i=this.h.faceBlendshapes;this.outputFaceBlendshapes&&(e=FN(e),i.push(kK(e.g()??[]))),wo(this,t)}),this.g.attachEmptyPacketListener("extra_blendshapes",e=>{wo(this,e)})),this.g.attachProtoListener("left_hand_landmarks",(e,t)=>{CA(e,this.h.leftHandLandmarks),wo(this,t)}),this.g.attachEmptyPacketListener("left_hand_landmarks",e=>{wo(this,e)}),this.g.attachProtoListener("left_hand_world_landmarks",(e,t)=>{var i=this.h.leftHandWorldLandmarks;e=Fq(e),i.push(kJ(e)),wo(this,t)}),this.g.attachEmptyPacketListener("left_hand_world_landmarks",e=>{wo(this,e)}),this.g.attachProtoListener("right_hand_landmarks",(e,t)=>{CA(e,this.h.rightHandLandmarks),wo(this,t)}),this.g.attachEmptyPacketListener("right_hand_landmarks",e=>{wo(this,e)}),this.g.attachProtoListener("right_hand_world_landmarks",(e,t)=>{var i=this.h.rightHandWorldLandmarks;e=Fq(e),i.push(kJ(e)),wo(this,t)}),this.g.attachEmptyPacketListener("right_hand_world_landmarks",e=>{wo(this,e)}),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};CE.prototype.detectForVideo=CE.prototype.G,CE.prototype.detect=CE.prototype.F,CE.prototype.setOptions=CE.prototype.o,CE.createFromModelPath=function(e,t){return w5(CE,e,{baseOptions:{modelAssetPath:t}})},CE.createFromModelBuffer=function(e,t){return w5(CE,e,{baseOptions:{modelAssetBuffer:t}})},CE.createFromOptions=function(e,t){return w5(CE,e,t)},CE.HAND_CONNECTIONS=Cg,CE.POSE_CONNECTIONS=Ck,CE.FACE_LANDMARKS_LIPS=Cn,CE.FACE_LANDMARKS_LEFT_EYE=Cr,CE.FACE_LANDMARKS_LEFT_EYEBROW=Ca,CE.FACE_LANDMARKS_LEFT_IRIS=Cs,CE.FACE_LANDMARKS_RIGHT_EYE=Co,CE.FACE_LANDMARKS_RIGHT_EYEBROW=Cl,CE.FACE_LANDMARKS_RIGHT_IRIS=Cu,CE.FACE_LANDMARKS_FACE_OVAL=Cd,CE.FACE_LANDMARKS_CONTOURS=Cc,CE.FACE_LANDMARKS_TESSELATION=Ch;var CS=class extends Ct{constructor(e,t){super(new w6(e,t),"input_image","norm_rect",!0),this.j={classifications:[]},bd(e=this.h=new kx,0,1,t=new F9)}get baseOptions(){return bs(this.h,F9,1)}set baseOptions(e){bd(this.h,0,1,e)}o(e){return bd(this.h,0,2,kG(e,bs(this.h,F1,2))),this.l(e)}sa(e,t){return this.j={classifications:[]},w9(this,e,t),this.j}ta(e,t,i){return this.j={classifications:[]},w7(this,e,i,t),this.j}m(){var e=new FT;Fx(e,"input_image"),Fx(e,"norm_rect"),FD(e,"classifications");let t=new Fv;ya(t,kD,this.h);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"),FF(i,"IMAGE:input_image"),FF(i,"NORM_RECT:norm_rect"),Fk(i,"CLASSIFICATIONS:classifications"),i.o(t),FS(e,i),this.g.attachProtoListener("classifications",(e,t)=>{this.j=kY(FK(e)),wo(this,t)}),this.g.attachEmptyPacketListener("classifications",e=>{wo(this,e)}),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};CS.prototype.classifyForVideo=CS.prototype.ta,CS.prototype.classify=CS.prototype.sa,CS.prototype.setOptions=CS.prototype.o,CS.createFromModelPath=function(e,t){return w5(CS,e,{baseOptions:{modelAssetPath:t}})},CS.createFromModelBuffer=function(e,t){return w5(CS,e,{baseOptions:{modelAssetBuffer:t}})},CS.createFromOptions=function(e,t){return w5(CS,e,t)};var Cx=class extends Ct{constructor(e,t){super(new w6(e,t),"image_in","norm_rect",!0),this.h=new kT,this.embeddings={embeddings:[]},bd(e=this.h,0,1,t=new F9)}get baseOptions(){return bs(this.h,F9,1)}set baseOptions(e){bd(this.h,0,1,e)}o(e){var t=this.h,i=bs(this.h,F3,2);return i=i?i.clone():new F3,void 0!==e.l2Normalize?vZ(i,1,_7(e.l2Normalize)):"l2Normalize"in e&&vZ(i,1),void 0!==e.quantize?vZ(i,2,_7(e.quantize)):"quantize"in e&&vZ(i,2),bd(t,0,2,i),this.l(e)}za(e,t){return w9(this,e,t),this.embeddings}Aa(e,t,i){return w7(this,e,i,t),this.embeddings}m(){var e=new FT;Fx(e,"image_in"),Fx(e,"norm_rect"),FD(e,"embeddings_out");let t=new Fv;ya(t,kM,this.h);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"),FF(i,"IMAGE:image_in"),FF(i,"NORM_RECT:norm_rect"),Fk(i,"EMBEDDINGS:embeddings_out"),i.o(t),FS(e,i),this.g.attachProtoListener("embeddings_out",(e,t)=>{e=F0(e),this.embeddings=function(e){return{embeddings:bl(e,FZ,1).map(e=>{let t={headIndex:bm(e,3)??0??-1,headName:vm(vY(e,4))??""??""};var i=e.v;return void 0!==ba(i,0|i[_c],FY,be(e,1))?t.floatEmbedding=(e=v1(e=bs(e,FY,be(e,1),void 0),1,_9,v0())).slice():(i=new Uint8Array(0),t.quantizedEmbedding=bs(e,FQ,be(e,2),void 0)?.na()?.h()??i),t}),timestampMs:kX(bg(e))}}(e),wo(this,t)}),this.g.attachEmptyPacketListener("embeddings_out",e=>{wo(this,e)}),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};Cx.cosineSimilarity=function(e,t){if(e.floatEmbedding&&t.floatEmbedding)e=k1(e.floatEmbedding,t.floatEmbedding);else{if(!e.quantizedEmbedding||!t.quantizedEmbedding)throw Error("Cannot compute cosine similarity between quantized and float embeddings.");e=k1(k0(e.quantizedEmbedding),k0(t.quantizedEmbedding))}return e},Cx.prototype.embedForVideo=Cx.prototype.Aa,Cx.prototype.embed=Cx.prototype.za,Cx.prototype.setOptions=Cx.prototype.o,Cx.createFromModelPath=function(e,t){return w5(Cx,e,{baseOptions:{modelAssetPath:t}})},Cx.createFromModelBuffer=function(e,t){return w5(Cx,e,{baseOptions:{modelAssetBuffer:t}})},Cx.createFromOptions=function(e,t){return w5(Cx,e,t)};var CD=class{constructor(e,t,i){this.confidenceMasks=e,this.categoryMask=t,this.qualityScores=i}close(){this.confidenceMasks?.forEach(e=>{e.close()}),this.categoryMask?.close()}};function CT(e){let t=(function(e){return bl(e,Fw,1)})(e.ca()).filter(e=>(vm(vY(e,1))??"").includes("mediapipe.tasks.TensorsToSegmentationCalculator"));if(e.u=[],t.length>1)throw Error("The graph has more than one mediapipe.tasks.TensorsToSegmentationCalculator.");1===t.length&&(bs(t[0],Fv,7)?.j()?.g()??new Map).forEach((t,i)=>{e.u[Number(i)]=vm(vY(t,1))??""})}function CM(e){e.categoryMask=void 0,e.confidenceMasks=void 0,e.qualityScores=void 0}function CI(e){try{let t=new CD(e.confidenceMasks,e.categoryMask,e.qualityScores);if(!e.j)return t;e.j(t)}finally{wd(e)}}CD.prototype.close=CD.prototype.close;var CB=class extends Ct{constructor(e,t){super(new w6(e,t),"image_in","norm_rect",!1),this.u=[],this.outputCategoryMask=!1,this.outputConfidenceMasks=!0,this.h=new kN,this.A=new kI,bd(this.h,0,3,this.A),bd(e=this.h,0,1,t=new F9)}get baseOptions(){return bs(this.h,F9,1)}set baseOptions(e){bd(this.h,0,1,e)}o(e){return void 0!==e.displayNamesLocale?vZ(this.h,2,vf(e.displayNamesLocale)):"displayNamesLocale"in e&&vZ(this.h,2),"outputCategoryMask"in e&&(this.outputCategoryMask=e.outputCategoryMask??!1),"outputConfidenceMasks"in e&&(this.outputConfidenceMasks=e.outputConfidenceMasks??!0),super.l(e)}L(){CT(this)}segment(e,t,i){let n="function"!=typeof t?t:{};return this.j="function"==typeof t?t:i,CM(this),w9(this,e,n),CI(this)}La(e,t,i,n){let r="function"!=typeof i?i:{};return this.j="function"==typeof i?i:n,CM(this),w7(this,e,r,t),CI(this)}Da(){return this.u}m(){var e=new FT;Fx(e,"image_in"),Fx(e,"norm_rect");let t=new Fv;ya(t,kR,this.h);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"),FF(i,"IMAGE:image_in"),FF(i,"NORM_RECT:norm_rect"),i.o(t),FS(e,i),wl(this,e),this.outputConfidenceMasks&&(FD(e,"confidence_masks"),Fk(i,"CONFIDENCE_MASKS:confidence_masks"),wu(this,"confidence_masks"),this.g.aa("confidence_masks",(e,t)=>{this.confidenceMasks=e.map(e=>Ce(this,e,!0,!this.j)),wo(this,t)}),this.g.attachEmptyPacketListener("confidence_masks",e=>{this.confidenceMasks=[],wo(this,e)})),this.outputCategoryMask&&(FD(e,"category_mask"),Fk(i,"CATEGORY_MASK:category_mask"),wu(this,"category_mask"),this.g.Z("category_mask",(e,t)=>{this.categoryMask=Ce(this,e,!1,!this.j),wo(this,t)}),this.g.attachEmptyPacketListener("category_mask",e=>{this.categoryMask=void 0,wo(this,e)})),FD(e,"quality_scores"),Fk(i,"QUALITY_SCORES:quality_scores"),this.g.attachFloatVectorListener("quality_scores",(e,t)=>{this.qualityScores=e,wo(this,t)}),this.g.attachEmptyPacketListener("quality_scores",e=>{this.categoryMask=void 0,wo(this,e)}),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};CB.prototype.getLabels=CB.prototype.Da,CB.prototype.segmentForVideo=CB.prototype.La,CB.prototype.segment=CB.prototype.segment,CB.prototype.setOptions=CB.prototype.o,CB.createFromModelPath=function(e,t){return w5(CB,e,{baseOptions:{modelAssetPath:t}})},CB.createFromModelBuffer=function(e,t){return w5(CB,e,{baseOptions:{modelAssetBuffer:t}})},CB.createFromOptions=function(e,t){return w5(CB,e,t)};var CP=class{constructor(e,t,i){this.confidenceMasks=e,this.categoryMask=t,this.qualityScores=i}close(){this.confidenceMasks?.forEach(e=>{e.close()}),this.categoryMask?.close()}};CP.prototype.close=CP.prototype.close;var CL=class extends Ct{constructor(e,t){super(new w6(e,t),"image_in","norm_rect_in",!1),this.outputCategoryMask=!1,this.outputConfidenceMasks=!0,this.h=new kN,this.u=new kI,bd(this.h,0,3,this.u),bd(e=this.h,0,1,t=new F9)}get baseOptions(){return bs(this.h,F9,1)}set baseOptions(e){bd(this.h,0,1,e)}o(e){return"outputCategoryMask"in e&&(this.outputCategoryMask=e.outputCategoryMask??!1),"outputConfidenceMasks"in e&&(this.outputConfidenceMasks=e.outputConfidenceMasks??!0),super.l(e)}segment(e,t,i,n){let r="function"!=typeof i?i:{};if(this.j="function"==typeof i?i:n,this.qualityScores=this.categoryMask=this.confidenceMasks=void 0,i=this.C+1,n=new kU,t.keypoint&&t.scribble)throw Error("Cannot provide both keypoint and scribble.");if(t.keypoint){var a=new kj;v9(a,3,_7(!0),!1),v9(a,1,_8(t.keypoint.x),0),v9(a,2,_8(t.keypoint.y),0),bc(n,1,kq,a)}else{if(!t.scribble)throw Error("Must provide either a keypoint or a scribble.");{let e=new kz;for(a of t.scribble)v9(t=new kj,3,_7(!0),!1),v9(t,1,_8(a.x),0),v9(t,2,_8(a.y),0),bf(e,1,kj,t);bc(n,2,kq,e)}}this.g.addProtoToStream(n.g(),"mediapipe.tasks.vision.interactive_segmenter.proto.RegionOfInterest","roi_in",i),w9(this,e,r);i:{try{let e=new CP(this.confidenceMasks,this.categoryMask,this.qualityScores);if(!this.j){var s=e;break i}this.j(e)}finally{wd(this)}s=void 0}return s}m(){var e=new FT;Fx(e,"image_in"),Fx(e,"roi_in"),Fx(e,"norm_rect_in");let t=new Fv;ya(t,kR,this.h);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"),FF(i,"IMAGE:image_in"),FF(i,"ROI:roi_in"),FF(i,"NORM_RECT:norm_rect_in"),i.o(t),FS(e,i),wl(this,e),this.outputConfidenceMasks&&(FD(e,"confidence_masks"),Fk(i,"CONFIDENCE_MASKS:confidence_masks"),wu(this,"confidence_masks"),this.g.aa("confidence_masks",(e,t)=>{this.confidenceMasks=e.map(e=>Ce(this,e,!0,!this.j)),wo(this,t)}),this.g.attachEmptyPacketListener("confidence_masks",e=>{this.confidenceMasks=[],wo(this,e)})),this.outputCategoryMask&&(FD(e,"category_mask"),Fk(i,"CATEGORY_MASK:category_mask"),wu(this,"category_mask"),this.g.Z("category_mask",(e,t)=>{this.categoryMask=Ce(this,e,!1,!this.j),wo(this,t)}),this.g.attachEmptyPacketListener("category_mask",e=>{this.categoryMask=void 0,wo(this,e)})),FD(e,"quality_scores"),Fk(i,"QUALITY_SCORES:quality_scores"),this.g.attachFloatVectorListener("quality_scores",(e,t)=>{this.qualityScores=e,wo(this,t)}),this.g.attachEmptyPacketListener("quality_scores",e=>{this.categoryMask=void 0,wo(this,e)}),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};CL.prototype.segment=CL.prototype.segment,CL.prototype.setOptions=CL.prototype.o,CL.createFromModelPath=function(e,t){return w5(CL,e,{baseOptions:{modelAssetPath:t}})},CL.createFromModelBuffer=function(e,t){return w5(CL,e,{baseOptions:{modelAssetBuffer:t}})},CL.createFromOptions=function(e,t){return w5(CL,e,t)};var CN=class extends Ct{constructor(e,t){super(new w6(e,t),"input_frame_gpu","norm_rect",!1),this.j={detections:[]},bd(e=this.h=new kW,0,1,t=new F9)}get baseOptions(){return bs(this.h,F9,1)}set baseOptions(e){bd(this.h,0,1,e)}o(e){return void 0!==e.displayNamesLocale?vZ(this.h,2,vf(e.displayNamesLocale)):"displayNamesLocale"in e&&vZ(this.h,2),void 0!==e.maxResults?b_(this.h,3,e.maxResults):"maxResults"in e&&vZ(this.h,3),void 0!==e.scoreThreshold?bv(this.h,4,e.scoreThreshold):"scoreThreshold"in e&&vZ(this.h,4),void 0!==e.categoryAllowlist?by(this.h,5,e.categoryAllowlist):"categoryAllowlist"in e&&vZ(this.h,5),void 0!==e.categoryDenylist?by(this.h,6,e.categoryDenylist):"categoryDenylist"in e&&vZ(this.h,6),this.l(e)}F(e,t){return this.j={detections:[]},w9(this,e,t),this.j}G(e,t,i){return this.j={detections:[]},w7(this,e,i,t),this.j}m(){var e=new FT;Fx(e,"input_frame_gpu"),Fx(e,"norm_rect"),FD(e,"detections");let t=new Fv;ya(t,kV,this.h);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.ObjectDetectorGraph"),FF(i,"IMAGE:input_frame_gpu"),FF(i,"NORM_RECT:norm_rect"),Fk(i,"DETECTIONS:detections"),i.o(t),FS(e,i),this.g.attachProtoVectorListener("detections",(e,t)=>{for(let t of e)e=Fz(t),this.j.detections.push(kQ(e));wo(this,t)}),this.g.attachEmptyPacketListener("detections",e=>{wo(this,e)}),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};CN.prototype.detectForVideo=CN.prototype.G,CN.prototype.detect=CN.prototype.F,CN.prototype.setOptions=CN.prototype.o,CN.createFromModelPath=async function(e,t){return w5(CN,e,{baseOptions:{modelAssetPath:t}})},CN.createFromModelBuffer=function(e,t){return w5(CN,e,{baseOptions:{modelAssetBuffer:t}})},CN.createFromOptions=function(e,t){return w5(CN,e,t)};var CR=class{constructor(e,t,i){this.landmarks=e,this.worldLandmarks=t,this.segmentationMasks=i}close(){this.segmentationMasks?.forEach(e=>{e.close()})}};function Cj(e){e.landmarks=[],e.worldLandmarks=[],e.segmentationMasks=void 0}function CO(e){try{let t=new CR(e.landmarks,e.worldLandmarks,e.segmentationMasks);if(!e.u)return t;e.u(t)}finally{wd(e)}}CR.prototype.close=CR.prototype.close;var Cz=class extends Ct{constructor(e,t){super(new w6(e,t),"image_in","norm_rect",!1),this.landmarks=[],this.worldLandmarks=[],this.outputSegmentationMasks=!1,bd(e=this.h=new kH,0,1,t=new F9),this.A=new kC,bd(this.h,0,3,this.A),this.j=new kw,bd(this.h,0,2,this.j),b_(this.j,4,1),bv(this.j,2,.5),bv(this.A,2,.5),bv(this.h,4,.5)}get baseOptions(){return bs(this.h,F9,1)}set baseOptions(e){bd(this.h,0,1,e)}o(e){return"numPoses"in e&&b_(this.j,4,e.numPoses??1),"minPoseDetectionConfidence"in e&&bv(this.j,2,e.minPoseDetectionConfidence??.5),"minTrackingConfidence"in e&&bv(this.h,4,e.minTrackingConfidence??.5),"minPosePresenceConfidence"in e&&bv(this.A,2,e.minPosePresenceConfidence??.5),"outputSegmentationMasks"in e&&(this.outputSegmentationMasks=e.outputSegmentationMasks??!1),this.l(e)}F(e,t,i){let n="function"!=typeof t?t:{};return this.u="function"==typeof t?t:i,Cj(this),w9(this,e,n),CO(this)}G(e,t,i,n){let r="function"!=typeof i?i:{};return this.u="function"==typeof i?i:n,Cj(this),w7(this,e,r,t),CO(this)}m(){var e=new FT;Fx(e,"image_in"),Fx(e,"norm_rect"),FD(e,"normalized_landmarks"),FD(e,"world_landmarks"),FD(e,"segmentation_masks");let t=new Fv;ya(t,k$,this.h);let i=new Fw;bb(i,2,"mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"),FF(i,"IMAGE:image_in"),FF(i,"NORM_RECT:norm_rect"),Fk(i,"NORM_LANDMARKS:normalized_landmarks"),Fk(i,"WORLD_LANDMARKS:world_landmarks"),i.o(t),FS(e,i),wl(this,e),this.g.attachProtoVectorListener("normalized_landmarks",(e,t)=>{for(let t of(this.landmarks=[],e))e=FV(t),this.landmarks.push(kZ(e));wo(this,t)}),this.g.attachEmptyPacketListener("normalized_landmarks",e=>{this.landmarks=[],wo(this,e)}),this.g.attachProtoVectorListener("world_landmarks",(e,t)=>{for(let t of(this.worldLandmarks=[],e))e=Fq(t),this.worldLandmarks.push(kJ(e));wo(this,t)}),this.g.attachEmptyPacketListener("world_landmarks",e=>{this.worldLandmarks=[],wo(this,e)}),this.outputSegmentationMasks&&(Fk(i,"SEGMENTATION_MASK:segmentation_masks"),wu(this,"segmentation_masks"),this.g.aa("segmentation_masks",(e,t)=>{this.segmentationMasks=e.map(e=>Ce(this,e,!0,!this.u)),wo(this,t)}),this.g.attachEmptyPacketListener("segmentation_masks",e=>{this.segmentationMasks=[],wo(this,e)})),e=e.g(),this.setGraph(new Uint8Array(e),!0)}};Cz.prototype.detectForVideo=Cz.prototype.G,Cz.prototype.detect=Cz.prototype.F,Cz.prototype.setOptions=Cz.prototype.o,Cz.createFromModelPath=function(e,t){return w5(Cz,e,{baseOptions:{modelAssetPath:t}})},Cz.createFromModelBuffer=function(e,t){return w5(Cz,e,{baseOptions:{modelAssetBuffer:t}})},Cz.createFromOptions=function(e,t){return w5(Cz,e,t)},Cz.POSE_CONNECTIONS=Ck;let CU=1,Cq=2,CW=3,CV=` var timer; onmessage = function(request) { switch (request.data.id) { case ${CU}: { timer = setTimeout(() => { postMessage({ id: ${CW} }); }, request.data.timeMs); break; } case ${Cq}: { if (timer) { clearTimeout(timer); } break; } } }; `,CH=URL.createObjectURL(new Blob([CV],{type:"application/javascript"}));class C${constructor(e){if(this.canvas=e,this.gl=e.getContext("webgl2",{premultipliedAlpha:!1,alpha:!0}),!this.gl)throw Error("WebGL2 not available");const t=this.gl;this._compileShader=(e,t,i)=>{let n=e.createShader(t);if(e.shaderSource(n,i),e.compileShader(n),!e.getShaderParameter(n,e.COMPILE_STATUS))throw Error(e.getShaderInfoLog(n));return n},this._linkProgram=(e,t,i)=>{let n=e.createProgram();if(e.attachShader(n,this._compileShader(e,e.VERTEX_SHADER,t)),e.attachShader(n,this._compileShader(e,e.FRAGMENT_SHADER,i)),e.linkProgram(n),!e.getProgramParameter(n,e.LINK_STATUS))throw Error(e.getProgramInfoLog(n));return n};const i=`#version 300 es in vec2 a_pos; in vec2 a_texCoord; out vec2 v_texCoord; void main() { gl_Position = vec4(a_pos, 0.0, 1.0); v_texCoord = a_texCoord; }`,n=`#version 300 es in vec2 a_pos; in vec2 a_texCoord; out vec2 v_texCoord; void main() { // Flipping Y is required when rendering to canvas gl_Position = vec4(a_pos * vec2(1.0, -1.0), 0.0, 1.0); v_texCoord = a_texCoord; }`,r=`#version 300 es precision highp float; uniform sampler2D u_inputFrame; uniform sampler2D u_segmentationMask; uniform vec2 u_texelSize; uniform float u_step; uniform float u_radius; uniform float u_offset; uniform float u_sigmaTexel; uniform float u_sigmaColor; in vec2 v_texCoord; out vec4 outColor; float gaussian(float x, float sigma) { float coeff = -0.5 / (sigma * sigma * 4.0 + 1.0e-6); return exp((x * x) * coeff); } void main() { vec2 centerCoord = v_texCoord; vec3 centerColor = texture(u_inputFrame, centerCoord).rgb; float newVal = 0.0; float spaceWeight = 0.0; float colorWeight = 0.0; float totalWeight = 0.0; // Subsample kernel space for (float i = -u_radius + u_offset; i <= u_radius; i += u_step) { for (float j = -u_radius + u_offset; j <= u_radius; j += u_step) { vec2 shift = vec2(j, i) * u_texelSize; vec2 coord = centerCoord + shift; vec3 frameColor = texture(u_inputFrame, coord).rgb; float outVal = texture(u_segmentationMask, coord).r; spaceWeight = gaussian(distance(centerCoord, coord), u_sigmaTexel); colorWeight = gaussian(distance(centerColor, frameColor), u_sigmaColor); totalWeight += spaceWeight * colorWeight; newVal += spaceWeight * colorWeight * outVal; } } newVal /= totalWeight; outColor = vec4(vec3(0.0), newVal); }`,a=`#version 300 es precision highp float; uniform sampler2D u_inputFrame; uniform sampler2D u_personMask; uniform vec2 u_texelSize; in vec2 v_texCoord; out vec4 outColor; const float offset[5] = float[](0.0, 1.0, 2.0, 3.0, 4.0); const float weight[5] = float[](0.2270270270, 0.1945945946, 0.1216216216, 0.0540540541, 0.0162162162); void main() { vec4 centerColor = texture(u_inputFrame, v_texCoord); float personMask = texture(u_personMask, v_texCoord).a; vec4 frameColor = centerColor * weight[0] * (1.0 - personMask); for (int i = 1; i < 5; i++) { vec2 offsetVec = vec2(offset[i]) * u_texelSize; vec2 texCoord = v_texCoord + offsetVec; frameColor += texture(u_inputFrame, texCoord) * weight[i] * (1.0 - texture(u_personMask, texCoord).a); texCoord = v_texCoord - offsetVec; frameColor += texture(u_inputFrame, texCoord) * weight[i] * (1.0 - texture(u_personMask, texCoord).a); } outColor = vec4(frameColor.rgb + (1.0 - frameColor.a) * centerColor.rgb, 1.0); }`,s=`#version 300 es in vec2 a_pos; void main() { gl_Position = vec4(a_pos, 0.0, 1.0); }`,o=`#version 300 es precision highp float; uniform vec4 u_color; out vec4 outColor; void main() { outColor = u_color; }`,l=`#version 300 es precision highp float; uniform sampler2D u_inputFrame; uniform sampler2D u_personMask; uniform sampler2D u_blurredFrame; uniform sampler2D u_background; uniform vec2 u_coverage; uniform float u_lightWrapping; uniform int u_mode; uniform vec2 u_bgScale; in vec2 v_texCoord; out vec4 outColor; vec3 screen(vec3 a, vec3 b) { return 1.0 - (1.0 - a) * (1.0 - b); } vec3 linearDodge(vec3 a, vec3 b) { return a + b; } void main() { vec3 frameColor = texture(u_inputFrame, v_texCoord).rgb; float personMask = texture(u_personMask, v_texCoord).a; vec3 bgColor; if (u_mode == 1) { // Blur mode bgColor = texture(u_blurredFrame, v_texCoord).rgb; } else { // Background image mode vec2 bgCoord = (v_texCoord - 0.5) / u_bgScale + 0.5; bgColor = texture(u_background, bgCoord).rgb; // Apply light wrapping float lightWrapMask = 1.0 - max(0.0, personMask - u_coverage.y) / (1.0 - u_coverage.y); vec3 lightWrap = u_lightWrapping * lightWrapMask * bgColor; frameColor = screen(frameColor, lightWrap); } // Apply coverage smoothing personMask = smoothstep(u_coverage.x, u_coverage.y, personMask); outColor = vec4(mix(bgColor, frameColor, personMask), 1.0); }`;this.progBilateral=this._linkProgram(t,i,r),this.progBlur=this._linkProgram(t,i,a),this.progBlend=this._linkProgram(t,n,l),this.progHUD=this._linkProgram(t,s,o),this.vertexArray=t.createVertexArray(),t.bindVertexArray(this.vertexArray),this.positionBuffer=t.createBuffer(),t.bindBuffer(t.ARRAY_BUFFER,this.positionBuffer),t.bufferData(t.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,1]),t.STATIC_DRAW),this.texCoordBuffer=t.createBuffer(),t.bindBuffer(t.ARRAY_BUFFER,this.texCoordBuffer),t.bufferData(t.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,1,1]),t.STATIC_DRAW),this.texFrame=this._makeTex(),this.texMask=this._makeTex(),this.texMaskFiltered=this._makeTex(),this.texBg=this._makeTex(),this.texBlurred1=this._makeTex(),this.texBlurred2=this._makeTex(),this.fboMask=t.createFramebuffer(),this.fboBlur1=t.createFramebuffer(),this.fboBlur2=t.createFramebuffer(),this.progBlit=null,this.blitBuf=null,this.blitPosLoc=null,this.blitSamplerLoc=null,this.sigmaSpace=10,this.sigmaColor=.15,this.coverage=[.45,.75],this.lightWrapping=.3,this.progressBarColor=[0,.4,.62,1],this.bgScale=[1,1],this.lastOutW=0,this.lastOutH=0}_makeTex(){let e=this.gl,t=e.createTexture();return e.bindTexture(e.TEXTURE_2D,t),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),t}_upload(e,t,i={}){let n=this.gl;if(!t||t instanceof HTMLImageElement&&(!t.complete||0===t.naturalWidth)||t instanceof HTMLVideoElement&&(0===t.videoWidth||0===t.videoHeight)||t instanceof HTMLCanvasElement&&(0===t.width||0===t.height))return;let r=void 0!==i.flipY&&i.flipY;n.bindTexture(n.TEXTURE_2D,e),n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,r),i.min&&n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,i.min),i.mag&&n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,i.mag),n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,t)}_initBlitResources(e){if(this.progBlit)return;let t=` attribute vec2 a_pos; varying vec2 v_uv; void main() { v_uv = (a_pos + 1.0) * 0.5; gl_Position = vec4(a_pos, 0.0, 1.0); }`,i=` precision mediump float; varying vec2 v_uv; uniform sampler2D u_tex; void main() { gl_FragColor = texture2D(u_tex, v_uv); }`;this.progBlit=this._linkProgram(e,t,i),this.blitBuf=e.createBuffer(),e.bindBuffer(e.ARRAY_BUFFER,this.blitBuf),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,-1,1,1,-1,1]),e.STATIC_DRAW),this.blitPosLoc=e.getAttribLocation(this.progBlit,"a_pos"),this.blitSamplerLoc=e.getUniformLocation(this.progBlit,"u_tex")}_blitTextureToCanvas(e){let t=e.canvas.getContext("webgl2");if(!t)return void console.error("Could not get WebGL context from mask canvas.");this._initBlitResources(t);let i=e.getAsWebGLTexture(),{width:n,height:r}=e;t.useProgram(this.progBlit),t.bindBuffer(t.ARRAY_BUFFER,this.blitBuf),t.enableVertexAttribArray(this.blitPosLoc),t.vertexAttribPointer(this.blitPosLoc,2,t.FLOAT,!1,0,0),t.activeTexture(t.TEXTURE0),t.bindTexture(t.TEXTURE_2D,i),t.uniform1i(this.blitSamplerLoc,0),t.bindFramebuffer(t.FRAMEBUFFER,null),t.viewport(0,0,n,r),t.clearColor(0,0,0,0),t.clear(t.COLOR_BUFFER_BIT),t.drawArrays(t.TRIANGLES,0,6)}_setupVertexAttributes(e){let t=this.gl,i=t.getAttribLocation(e,"a_pos");-1!==i&&(t.bindBuffer(t.ARRAY_BUFFER,this.positionBuffer),t.enableVertexAttribArray(i),t.vertexAttribPointer(i,2,t.FLOAT,!1,0,0));let n=t.getAttribLocation(e,"a_texCoord");-1!==n&&(t.bindBuffer(t.ARRAY_BUFFER,this.texCoordBuffer),t.enableVertexAttribArray(n),t.vertexAttribPointer(n,2,t.FLOAT,!1,0,0))}_applyBilateralFilter(e,t){let i=this.gl;i.bindFramebuffer(i.FRAMEBUFFER,this.fboMask),i.framebufferTexture2D(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.TEXTURE_2D,this.texMaskFiltered,0),i.viewport(0,0,e,t),i.useProgram(this.progBilateral),this._setupVertexAttributes(this.progBilateral);let n=1/e,r=1/t,a=.66,s=Math.max(1,Math.sqrt(this.sigmaSpace)*a),o=this.sigmaSpace,l=s>1?.5*s:0,u=Math.max(n,r)*this.sigmaSpace;i.uniform1i(i.getUniformLocation(this.progBilateral,"u_inputFrame"),0),i.uniform1i(i.getUniformLocation(this.progBilateral,"u_segmentationMask"),1),i.uniform2f(i.getUniformLocation(this.progBilateral,"u_texelSize"),n,r),i.uniform1f(i.getUniformLocation(this.progBilateral,"u_step"),s),i.uniform1f(i.getUniformLocation(this.progBilateral,"u_radius"),o),i.uniform1f(i.getUniformLocation(this.progBilateral,"u_offset"),l),i.uniform1f(i.getUniformLocation(this.progBilateral,"u_sigmaTexel"),u),i.uniform1f(i.getUniformLocation(this.progBilateral,"u_sigmaColor"),this.sigmaColor),i.activeTexture(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,this.texFrame),i.activeTexture(i.TEXTURE1),i.bindTexture(i.TEXTURE_2D,this.texMask),i.drawArrays(i.TRIANGLE_STRIP,0,4)}_applyMultiPassBlur(e,t){let i=this.gl,n=.5*e,r=.5*t,a=1/n,s=1/r;i.bindTexture(i.TEXTURE_2D,this.texBlurred1),i.texImage2D(i.TEXTURE_2D,0,i.RGBA,n,r,0,i.RGBA,i.UNSIGNED_BYTE,null),i.bindTexture(i.TEXTURE_2D,this.texBlurred2),i.texImage2D(i.TEXTURE_2D,0,i.RGBA,n,r,0,i.RGBA,i.UNSIGNED_BYTE,null),i.bindFramebuffer(i.FRAMEBUFFER,this.fboBlur1),i.framebufferTexture2D(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.TEXTURE_2D,this.texBlurred1,0),i.bindFramebuffer(i.FRAMEBUFFER,this.fboBlur2),i.framebufferTexture2D(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.TEXTURE_2D,this.texBlurred2,0),i.viewport(0,0,n,r),i.useProgram(this.progBlur),this._setupVertexAttributes(this.progBlur),i.uniform1i(i.getUniformLocation(this.progBlur,"u_inputFrame"),0),i.uniform1i(i.getUniformLocation(this.progBlur,"u_personMask"),1),i.activeTexture(i.TEXTURE1),i.bindTexture(i.TEXTURE_2D,this.texMaskFiltered);for(let e=0;e<3;e++)i.uniform2f(i.getUniformLocation(this.progBlur,"u_texelSize"),0,s),i.bindFramebuffer(i.FRAMEBUFFER,this.fboBlur1),0===e?(i.activeTexture(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,this.texFrame)):(i.activeTexture(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,this.texBlurred2)),i.drawArrays(i.TRIANGLE_STRIP,0,4),i.uniform2f(i.getUniformLocation(this.progBlur,"u_texelSize"),a,0),i.bindFramebuffer(i.FRAMEBUFFER,this.fboBlur2),i.activeTexture(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,this.texBlurred1),i.drawArrays(i.TRIANGLE_STRIP,0,4)}_drawProgressBar(e,t){let i=this.gl,n=Math.max(16,Math.floor(.25*e)),r=Math.min(8,Math.floor(.05*t)),a=Math.max(120,Math.floor(.9*e))*performance.now()/1e3%(e+n),s=Math.floor(e-a);i.enable(i.SCISSOR_TEST),i.useProgram(this.progHUD),this._setupVertexAttributes(this.progHUD);let o=i.getUniformLocation(this.progHUD,"u_color");i.uniform4f(o,this.progressBarColor[0],this.progressBarColor[1],this.progressBarColor[2],this.progressBarColor[3]),i.scissor(s,0,n,r),i.drawArrays(i.TRIANGLE_STRIP,0,4),i.disable(i.SCISSOR_TEST)}_calcBgScale(e,t,i){let n=t/i,r=e.width/e.height,a=1,s=1;r>n?a=r/n:s=n/r,this.bgScale=[a,s]}_renderWithoutEffects(e,t){let i=this.gl;i.bindFramebuffer(i.FRAMEBUFFER,null),i.viewport(0,0,e,t),i.clearColor(0,0,0,1),i.clear(i.COLOR_BUFFER_BIT),i.useProgram(this.progBlend),this._setupVertexAttributes(this.progBlend),i.uniform1i(i.getUniformLocation(this.progBlend,"u_inputFrame"),0),i.uniform1i(i.getUniformLocation(this.progBlend,"u_personMask"),1),i.uniform1i(i.getUniformLocation(this.progBlend,"u_blurredFrame"),2),i.uniform1i(i.getUniformLocation(this.progBlend,"u_background"),3),i.uniform2f(i.getUniformLocation(this.progBlend,"u_coverage"),0,0),i.uniform1f(i.getUniformLocation(this.progBlend,"u_lightWrapping"),0),i.uniform1i(i.getUniformLocation(this.progBlend,"u_mode"),-1),i.activeTexture(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,this.texFrame),i.activeTexture(i.TEXTURE1),i.bindTexture(i.TEXTURE_2D,null),i.activeTexture(i.TEXTURE2),i.bindTexture(i.TEXTURE_2D,null),i.activeTexture(i.TEXTURE3),i.bindTexture(i.TEXTURE_2D,null),i.drawArrays(i.TRIANGLE_STRIP,0,4)}render(e){let t=this.gl,{videoEl:i,mask:n,bgSource:r,refreshBg:a,mode:s,outW:o,outH:l,edgeFeatherPx:u=5,showProgress:d=!1}=e;if(o&&l&&!(o<=0)&&!(l<=0)){if((this.canvas.width!==o||this.canvas.height!==l)&&(this.canvas.width=o,this.canvas.height=l),this._upload(this.texFrame,i),-1===s||!n){this._renderWithoutEffects(o,l),d&&this._drawProgressBar(o,l);return}t.bindTexture(t.TEXTURE_2D,this.texMaskFiltered),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,o,l,0,t.RGBA,t.UNSIGNED_BYTE,null),n&&(this._blitTextureToCanvas(n),this._upload(this.texMask,n.canvas,{flipY:!0})),0===s&&r&&(a&&this._upload(this.texBg,r),(a||o!==this.lastOutW||l!==this.lastOutH)&&this._calcBgScale(r,o,l)),this.lastOutW=o,this.lastOutH=l,t.bindVertexArray(this.vertexArray),n&&this._applyBilateralFilter(o,l),1===s&&this._applyMultiPassBlur(o,l),t.bindFramebuffer(t.FRAMEBUFFER,null),t.viewport(0,0,o,l),t.useProgram(this.progBlend),this._setupVertexAttributes(this.progBlend),this.coverage=[.45,.7-.01*u],t.uniform1i(t.getUniformLocation(this.progBlend,"u_inputFrame"),0),t.uniform1i(t.getUniformLocation(this.progBlend,"u_personMask"),1),t.uniform1i(t.getUniformLocation(this.progBlend,"u_blurredFrame"),2),t.uniform1i(t.getUniformLocation(this.progBlend,"u_background"),3),t.uniform2f(t.getUniformLocation(this.progBlend,"u_coverage"),this.coverage[0],this.coverage[1]),t.uniform1f(t.getUniformLocation(this.progBlend,"u_lightWrapping"),this.lightWrapping),t.uniform1i(t.getUniformLocation(this.progBlend,"u_mode"),s),t.uniform2f(t.getUniformLocation(this.progBlend,"u_bgScale"),this.bgScale[0],this.bgScale[1]),t.activeTexture(t.TEXTURE0),t.bindTexture(t.TEXTURE_2D,this.texFrame),t.activeTexture(t.TEXTURE1),t.bindTexture(t.TEXTURE_2D,this.texMaskFiltered),t.activeTexture(t.TEXTURE2),t.bindTexture(t.TEXTURE_2D,this.texBlurred2),t.activeTexture(t.TEXTURE3),t.bindTexture(t.TEXTURE_2D,this.texBg),t.clearColor(0,0,0,1),t.clear(t.COLOR_BUFFER_BIT),t.drawArrays(t.TRIANGLE_STRIP,0,4),d&&this._drawProgressBar(o,l)}}dispose(){let e=this.gl;e&&(e.deleteTexture(this.texFrame),e.deleteTexture(this.texMask),e.deleteTexture(this.texMaskFiltered),e.deleteTexture(this.texBg),e.deleteTexture(this.texBlurred1),e.deleteTexture(this.texBlurred2),e.deleteBuffer(this.positionBuffer),e.deleteBuffer(this.texCoordBuffer),e.deleteProgram(this.progBilateral),e.deleteProgram(this.progBlur),e.deleteProgram(this.progBlend),e.deleteProgram(this.progHUD),e.deleteFramebuffer(this.fboMask),e.deleteFramebuffer(this.fboBlur1),e.deleteFramebuffer(this.fboBlur2),e.deleteVertexArray(this.vertexArray),this.texFrame=this.texMask=this.texMaskFiltered=null,this.texBg=this.texBlurred1=this.texBlurred2=null,this.positionBuffer=this.texCoordBuffer=this.blitBuf=null,this.progBilateral=this.progBlur=this.progBlend=this.progBlit=null,this.fboMask=this.fboBlur1=this.fboBlur2=null,this.vertexArray=null)}}let CG=null;class CX{constructor(e){this._options=e,this._loadPromise=new Promise((e,t)=>{this._loadPromiseResolve=e,this._loadPromiseReject=t}),this._loaded=!1,this._loadFailed=!1,this._isFirstBgChange=!0,this.setVirtualBackground(this._options.virtualBackground),this._useWebGL=this._options.webGL,this._segmentationPixelCount=this._options.width*this._options.height,this._initMediaPipe().catch(e=>console.error(e)),this._onMaskFrameTimer=this._onMaskFrameTimer.bind(this),this._renderMask=this._renderMask.bind(this),this._tempImageData=null,this._maskWidth=0,this._maskHeight=0,this._outputCanvasElement=document.createElement("canvas"),this._useWebGL||this._outputCanvasElement.getContext("2d"),this._inputVideoElement=document.createElement("video"),this._bgChanged=!1,this._prevBgMode=null}async _initMediaPipe(){try{CG||(CG=await k6.isSimdSupported()?{wasmLoaderPath:new URL(__webpack_require__(98084),__webpack_require__.b).pathname,wasmBinaryPath:new URL(__webpack_require__(40133),__webpack_require__.b).pathname}:{wasmLoaderPath:new URL(__webpack_require__(76939),__webpack_require__.b).pathname,wasmBinaryPath:new URL(__webpack_require__(48014),__webpack_require__.b).pathname}),this._imageSegmenter=await CB.createFromOptions(CG,{baseOptions:{modelAssetPath:new URL(__webpack_require__(51348),__webpack_require__.b).pathname,delegate:"GPU"},runningMode:"VIDEO",outputCategoryMask:!1,outputConfidenceMasks:!0}),this._loaded=!0,this._loadPromiseResolve()}catch(e){console.error("MediaPipe Tasks initialization failed:",e),this._loadFailed=!0,this._loadPromiseReject(e)}}async _runInference(){let e;if(this._imageSegmenter&&this._loaded)try{(e=await this._imageSegmenter.segmentForVideo(this._inputVideoElement,performance.now())).confidenceMasks&&e.confidenceMasks.length>0&&this._processSegmentationResult(e),this.runPostProcessing(),this._lastFrameId=this._frameId}catch(e){console.error("MediaPipe inference failed:",e)}finally{e?.categoryMask&&e.categoryMask.close(),e?.confidenceMasks?.length&&e.confidenceMasks.forEach(e=>e.close())}}_processSegmentationResult(e){let t=e.confidenceMasks;if(!t||0===t.length)return;let i=t[0],n=this._useWebGL?i:i.getAsFloat32Array(),r=i.width,a=i.height;if(this._useWebGL)this._lastMask=n;else{this._segmentationMask&&this._segmentationMask.width===this._options.width&&this._segmentationMask.height===this._options.height||(this._segmentationMask=new ImageData(this._options.width,this._options.height)),(this._tempCanvas.width!==r||this._tempCanvas.height!==a)&&(this._tempCanvas.width=r,this._tempCanvas.height=a);let e=this._tempCanvas,t=this._tempCanvasCtx;this._tempImageData&&this._maskWidth===r&&this._maskHeight===a||(this._tempImageData=new ImageData(r,a),this._maskWidth=r,this._maskHeight=a);for(let e=0;econsole.error(e))):this._useWebGL&&this.runPostProcessing(),this._maskFrameTimerWorker.postMessage({id:1,timeMs:1e3/this._frameRate,message:"this._maskFrameTimerWorker"})}_onMaskFrameTimer(e){3===e.data.id&&this._renderMask()}async load(){return this._loadPromise}didLoadFail(){return this._loadFailed}getVirtualBackground(){return this._options.virtualBackground}setVirtualBackground(e){if((this._options.virtualBackground.backgroundType!=this._options.virtualBackground.backgroundType===al||this._virtualImage?.complete&&this._virtualImage?.naturalWidth>0)&&(this._prevBgMode=this._isFirstBgChange?null:this._options.virtualBackground.backgroundType),this._virtualImage=null,this._virtualVideo=null,this._bgChanged=!1,this._isFirstBgChange=!1,this._options.virtualBackground=e,this._options.virtualBackground.backgroundType===al){this._virtualImage=new Image,this._virtualImage.onload=()=>{this._bgChanged=!0},this._virtualImage.src=this._options.virtualBackground.virtualSource;return}if(this._options.virtualBackground.backgroundType===au){this._virtualVideo=document.createElement("video"),this._virtualVideo.crossOrigin="anonymous",this._virtualVideo.loop=!0,this._virtualVideo.muted=!0,this._virtualVideo.src=this._options.virtualBackground.virtualSource,this._running&&this._virtualVideo.play();return}this._options.virtualBackground.backgroundType===ad&&(this._virtualVideo=document.createElement("video"),this._virtualVideo.srcObject=this._options.virtualBackground.virtualSource,this._running&&this._virtualVideo.play())}runPostProcessing(){let e=this._inputVideoElement.videoHeight,t=this._inputVideoElement.videoWidth,{backgroundType:i}=this._options.virtualBackground,n=t/720,r=this._options.virtualBackground.blurValue*n,a=(i===al?4:8)*n;if(this._outputCanvasElement.width&&this._outputCanvasElement.height)if(this._outputCanvasElement.width=t,this._outputCanvasElement.height=e,this._useWebGL){if(!this._glFx)return;let n=-1,r=null,s=!1;this._lastMask&&(n=1,(i===al||i===au||i===ad)&&(n=0,i===al?this._virtualImage?.complete&&this._virtualImage?.naturalWidth>0?(r=this._virtualImage,(s=this._bgChanged)&&(this._bgChanged=!1)):this._prevBgMode===ao?n=1:null===this._prevBgMode&&(n=-1):(r=this._virtualVideo,s=!0))),this._glFx.render({videoEl:this._inputVideoElement,mask:this._lastMask,bgSource:r,mode:n,outW:t,outH:e,edgeFeatherPx:a,refreshBg:s,showProgress:!this._lastMask||i===al&&!this._virtualImage?.complete})}else if(this._outputCanvasCtx.globalCompositeOperation="copy",this._outputCanvasCtx.filter=`blur(${a}px)`,this._outputCanvasCtx.drawImage(this._segmentationMaskCanvas,0,0,this._options.width,this._options.height,0,0,this._inputVideoElement.videoWidth,this._inputVideoElement.videoHeight),this._outputCanvasCtx.globalCompositeOperation="source-in",this._outputCanvasCtx.filter="none",this._outputCanvasCtx.drawImage(this._inputVideoElement,0,0),this._outputCanvasCtx.globalCompositeOperation="destination-over",i===al||i===au||i===ad){let e,t,n;i===al?(t=(e=this._virtualImage).naturalWidth,n=e.naturalHeight):(t=(e=this._virtualVideo).videoWidth,n=e.videoHeight);let r=this._outputCanvasElement.width,a=this._outputCanvasElement.height,[s,o,l,u]=CX.getSourcePropertiesForDrawingBackgroundImage(t,n,r,a);this._outputCanvasCtx.drawImage(e,s,o,l,u,0,0,r,a)}else this._outputCanvasCtx.filter=`blur(${r}px)`,this._outputCanvasCtx.drawImage(this._inputVideoElement,0,0)}static getSourcePropertiesForDrawingBackgroundImage(e,t,i,n){let r=0,a=0,s=e,o=t;if(e<=0||t<=0||i<=0||n<=0)return[r,a,s,o];let l=i/n;return e/t>l?r=(e-(s=t*l))/2:a=(t-(o=e/l))/2,[r,a,s,o]}isEnabled(e){return e.isVideoTrack()&&"camera"===e.videoType}startEffect(e){this._running=!0,this._stream=e,this._maskFrameTimerWorker=new Worker(CH,{name:"Blur effect worker"}),this._maskFrameTimerWorker.onmessage=this._onMaskFrameTimer;let t=this._stream.getVideoTracks()[0],{height:i,frameRate:n,width:r}=t.getSettings?t.getSettings():t.getConstraints();return this._frameRate=parseInt(n,10),this._outputCanvasElement.width=parseInt(r,10),this._outputCanvasElement.height=parseInt(i,10),this._useWebGL?this._glFx||(this._glFx=new C$(this._outputCanvasElement)):(this._outputCanvasCtx=this._outputCanvasElement.getContext("2d"),this._segmentationMask=new ImageData(this._options.width,this._options.height),this._segmentationMaskCanvas=document.createElement("canvas"),this._segmentationMaskCanvas.width=this._options.width,this._segmentationMaskCanvas.height=this._options.height,this._segmentationMaskCtx=this._segmentationMaskCanvas.getContext("2d",{willReadFrequently:!0}),this._tempCanvas=document.createElement("canvas"),this._tempCanvasCtx=this._tempCanvas.getContext("2d",{willReadFrequently:!0})),this._inputVideoElement.autoplay=!0,this._inputVideoElement.srcObject=this._stream,this._inputVideoElement.onloadeddata=()=>{this._maskFrameTimerWorker.postMessage({id:1,timeMs:1e3/this._frameRate,message:"this._maskFrameTimerWorker"}),this._inputVideoElement.onloadeddata=null},this._virtualVideo&&this._virtualVideo.play(),this._frameId=-1,this._lastFrameId=-1,this._bgChanged=!0,this._outputStream=this._outputCanvasElement.captureStream(this._frameRate),this._outputStream}updateInputStream(){let e=this._stream.getVideoTracks()[0],{frameRate:t}=e.getSettings?e.getSettings():e.getConstraints();this._frameRate=parseInt(t,10),this._outputStream.getVideoTracks()[0].applyConstraints({frameRate:this._frameRate}).catch(e=>{console.error("Frame rate could not be adjusted in background effect",e)}),this._frameId=-1,this._lastFrameId=-1}stopEffect(){this._running=!1,this._maskFrameTimerWorker&&(this._maskFrameTimerWorker.postMessage({id:2,message:"stopEffect"}),this._maskFrameTimerWorker.terminate()),this._virtualVideo&&this._virtualVideo.pause(),this._glFx&&(this._glFx.dispose(),this._glFx=null),this._segmentationMask=null,this._segmentationMaskCanvas=null,this._segmentationMaskCtx=null,this._tempCanvas=null,this._tempCanvasCtx=null,this._isFirstBgChange=!0,this._prevBgMode=null}destroy(){this.stopEffect(),this._imageSegmenter?.close(),this._imageSegmenter=null}}class CK extends gQ{static _wasmSupported;static _canvasFilterSupported;static _webGLSupported;static isSupported(){return this.isWasmSupported()&&(this.isWebGLSupported()||this.isCanvasFilterSupported())}static _checkWasmSupport(){if(!g9.support()){this._wasmSupported=!1,console.error("Looks like WebAssembly is disabled or not supported on this browser, virtual background will not be available");return}this._wasmSupported=!0}static isWasmSupported(){return void 0===this._wasmSupported&&this._checkWasmSupport(),this._wasmSupported}static isCanvasFilterSupported(){if(void 0===this._canvasFilterSupported)if(my)this._canvasFilterSupported=!1;else{let e=document.createElement("canvas"),t=e.getContext("2d");this._canvasFilterSupported=void 0!==t.filter,e.remove()}return this._canvasFilterSupported}static isWebGLSupported(){if(void 0===this._webGLSupported){let e,t;try{t=(e=document.createElement("canvas")).getContext("webgl2"),this._webGLSupported=!!t}catch(e){this._webGLSupported=!1}finally{t=null,e=null}}return this._webGLSupported}constructor(){super(),this._addInputTrackSlot(),this._addOutputTrackSlot(),this._initVideoStreamBackgroundEffect(),this._inputStream=null,this._outputStream=null,this._enabled=!0}_initVideoStreamBackgroundEffect(){let e={height:256,width:256};if(!CK.isWasmSupported())return;let t={backgroundType:ao,blurValue:ac},i={...e,virtualBackground:t,webGL:CK.isWebGLSupported()};this._videoStreamBackgroundEffect=new CX(i),this._videoStreamBackgroundEffect.load().catch(()=>{this._trigger("loadFailed"),this.setEnabled(!1)})}isAvailable(){return!!CK.isSupported()&&!this._videoStreamBackgroundEffect.didLoadFail()}isEnabled(){return this._enabled}setEnabled(e){if(this.isAvailable()||(e=!1),this._enabled!==e){if(this._enabled=e,!e){this._stopEffect(),this.getOutputTrack()!==this.getInputTrack()&&this._setOutputTrack("default",this.getInputTrack());return}this.getInputTrack()&&this.getInputTrack().enabled&&this._startEffect()}}_handleInputTrack(e,t,i){this.isAvailable()&&this._enabled?t===i&&null!==t&&t.enabled?this._videoStreamBackgroundEffect.updateInputStream():(this._stopEffect(),t&&t.enabled)?this._startEffect():this._setOutputTrack("default",this.getInputTrack()):this._setOutputTrack("default",t)}_handleInputTrackEnabled(e,t){if(!this.isAvailable()||!this._enabled)return void this._setOutputTrackEnabled("default",t);if(!t){this._stopEffect(),this._setOutputTrack("default",this.getInputTrack());return}this._startEffect()}_startEffect(){this._inputStream||(this._inputStream=new MediaStream,this._inputStream.addTrack(this.getInputTrack()),this._outputStream=this._videoStreamBackgroundEffect.startEffect(this._inputStream),this._setOutputTrack("default",this._outputStream.getVideoTracks()[0]))}_stopEffect(){this._outputStream&&(this._videoStreamBackgroundEffect.stopEffect(),this._outputStream.getTracks().forEach(e=>{this._disableRemoveTrackWhenEnded(e),e.stop()}),this._inputStream=null,this._outputStream=null)}getVirtualBackground(){if(this.isAvailable())return this._videoStreamBackgroundEffect.getVirtualBackground()}setVirtualBackground(e){this.isAvailable()&&this._videoStreamBackgroundEffect.setVirtualBackground(e)}destroy(){this._stopEffect(),this._videoStreamBackgroundEffect.destroy(),this._videoStreamBackgroundEffect=null}}function CY(e,t,i){let n,r=3==arguments.length,a=r?i:t;if("u"{this.emit("virtualBackgroundLoadFailed")}),this._blackVideoEnforcer=new gZ,this._speaking=void 0,this._speakingMonitor=new g4,this._speakingMonitor.on("speaking",()=>{this.emit("speaking"),this._speaking=!0}),this._speakingMonitor.on("speakingWhileMuted",()=>{this.emit("speakingWhileMuted")}),this._speakingMonitor.on("stoppedSpeaking",()=>{this.emit("stoppedSpeaking"),this._speaking=!1}),this._speakingMonitor.on("stoppedSpeakingWhileMuted",()=>{this.emit("stoppedSpeakingWhileMuted")}),this._speakingMonitor.on("volumeChange",(e,t,i)=>{this.emit("volumeChange",t,i)}),this._trackToStream=new g8,this._trackToStream.addInputTrackSlot("audio"),this._trackToStream.addInputTrackSlot("video"),this._trackToSentStream=new g8,this._trackToSentStream.addInputTrackSlot("audio"),this._trackToSentStream.addInputTrackSlot("video"),this._handleStreamSetBound=this._handleStreamSet.bind(this),this._handleTrackReplacedBound=this._handleTrackReplaced.bind(this),this._handleTrackEnabledBound=this._handleTrackEnabled.bind(this),this._mediaDevicesSource.connectTrackSink("audio",this._audioTrackEnabler),this._mediaDevicesSource.connectTrackSink("video",this._videoTrackEnabler),this._audioTrackEnabler.connectTrackSink("default",this._speakingMonitor),this._audioTrackEnabler.connectTrackSink("default",this._trackToStream,"audio"),this._audioTrackEnabler.connectTrackSink("default",this._trackToSentStream,"audio"),this._videoTrackEnabler.connectTrackSink("default",this._videoTrackConstrainer),this._videoTrackConstrainer.connectTrackSink("default",this._virtualBackground),this._virtualBackground.connectTrackSink("default",this._trackToStream,"video"),this._virtualBackground.connectTrackSink("default",this._blackVideoEnforcer,"default"),this._blackVideoEnforcer.connectTrackSink("default",this._trackToSentStream,"video")}function CZ(e){let t,i=this,n=e||{};for(t in this.config={debug:!1,peerConnectionConfig:{iceServers:[]},receiveMedia:{offerToReceiveAudio:1,offerToReceiveVideo:1},enableDataChannels:!0,enableSimulcast:!1,maxBitrates:{high:9e5,medium:3e5,low:1e5}},this.logger=function(){return e.debug?e.logger||console:e.logger||gG()}(),n)Object.hasOwn(n,t)&&(this.config[t]=n[t]);gO().support||this.logger.error("Your browser doesn't seem to support WebRTC"),this.peers=[],CQ.call(this,this.config),this.on("unshareScreen",function(e){i.getPeers(e.id,"screen").forEach(function(e){e.sharemyscreen||e.end()})}),this.config.debug&&this.on("*",function(e,t,n){let r;(r=i.config.logger===gG()?console:i.logger).log("event:",e,t,n)})}function CJ(e){let t,i,n=this,r=e||{},a=this.config={connection:null,debug:!1,enableDataChannels:!0,enableSimulcast:!1,maxBitrates:{high:9e5,medium:3e5,low:1e5},autoRequestMedia:!1,receiveMedia:{offerToReceiveAudio:1,offerToReceiveVideo:1}};for(t in this.logger=function(){return e.debug?e.logger||console:e.logger||gG()}(),r)Object.hasOwn(r,t)&&(this.config[t]=r[t]);let s=window.navigator.mediaDevices&&window.navigator.mediaDevices.getDisplayMedia||window.navigator.webkitGetUserMedia||window.navigator.userAgent.match("Firefox");if(gO().supportScreenSharing="https:"===window.location.protocol&&s,this.capabilities=gO(),gU().call(this),null===this.config.connection)throw Error("no connection object given in the configuration");(i=this.connection=this.config.connection).on("message",function(e){let t,i=n.webrtc.getPeers(e.from,e.roomType);"offer"===e.type?(i.length&&i.forEach(function(i){i.sid===e.sid&&(t=i)}),t||(t=n.webrtc.createPeer({id:e.from,sid:e.sid,type:e.roomType,enableDataChannels:n.config.enableDataChannels&&"screen"!==e.roomType,sharemyscreen:"screen"===e.roomType&&!e.broadcaster,broadcaster:"screen"!==e.roomType||e.broadcaster?null:n.connection.getSessionId(),sendVideoIfAvailable:n.connection.getSendVideoIfAvailable(),receiverOnly:n.connection.hasFeature("mcu")}),n.emit("createdPeer",t)),t.handleMessage(e)):"control"===e.type?"forceMute"===e.payload.action&&(e.payload.peerId===n.connection.getSessionId()?n.webrtc.isAudioEnabled()&&(n.mute(),n.emit("forcedMute")):n.emit("mute",{id:e.payload.peerId})):"nickChanged"===e.type?n.emit("nick",{id:e.from,name:e.payload.name}):"reaction"===e.type?n.emit("reaction",{id:e.from,reaction:e.payload.reaction}):"raiseHand"===e.type?n.emit("raisedHand",{id:e.from,raised:e.payload}):"transcript"===e.type?n.emit("transcript",{id:e.speakerSessionId,message:e.message,languageId:e.langId,final:void 0===e.final||e.final}):i.length&&i.forEach(function(t){e.sid&&!n.connection.hasFeature("mcu")?t.sid===e.sid&&t.handleMessage(e):t.handleMessage(e)})}),i.on("remove",function(e){e.id!==n.connection.getSessionId()&&n.webrtc.removePeers(e.id,e.type)}),e.logger=this.logger,e.debug=!1,this.webrtc=new CZ(e),["mute","unmute","pauseVideo","resumeVideo","enableVirtualBackground","setVirtualBackground","disableVirtualBackground","isVirtualBackgroundEnabled","getVirtualBackground","pause","resume","sendToAll","sendDirectlyToAll","getPeers","createPeer","removePeers"].forEach(function(e){n[e]=n.webrtc[e].bind(n.webrtc)}),this.webrtc.on("*",function(){n.emit.apply(n,arguments)}),a.debug&&this.on("*",this.logger.log.bind(this.logger,"SimpleWebRTC event:")),this.webrtc.on("message",function(e){n.connection.emit("message",e)}),i.on("stunservers",function(e){n.webrtc.config.peerConnectionConfig.iceServers=e,n.emit("stunservers",e)}),i.on("turnservers",function(e){n.webrtc.config.peerConnectionConfig.iceServers=n.webrtc.config.peerConnectionConfig.iceServers.concat(e),n.emit("turnservers",e)}),this.webrtc.on("iceFailed",function(){}),this.webrtc.on("connectivityError",function(){}),this.webrtc.on("audioOn",function(){n.webrtc.sendToAll("unmute",{name:"audio"})}),this.webrtc.on("audioOff",function(){n.webrtc.sendToAll("mute",{name:"audio"})}),this.webrtc.on("videoOn",function(){n.webrtc.sendToAll("unmute",{name:"video"})}),this.webrtc.on("videoOff",function(){n.webrtc.sendToAll("mute",{name:"video"})}),this.webrtc.on("localScreen",function(e){n.emit("localScreenAdded"),n.connection.emit("shareScreen")}),this.webrtc.on("localScreenStopped",function(){n.stopScreenShare()})}async function C0(e){let t=new TextEncoder;return crypto.subtle.deriveBits({name:"HKDF",salt:t.encode("TalkFrameRatchetKey"),hash:"SHA-256",info:new ArrayBuffer},e,256)}async function C1(e){return crypto.subtle.importKey("raw",e,"HKDF",!1,["deriveBits","deriveKey"])}m$().inherits(CQ,gU()),CQ.prototype.isLocalMediaActive=function(){return this._localMediaActive},CQ.prototype.hasAudioTrack=function(){return this._trackToStream.getStream()&&this._trackToStream.getStream().getAudioTracks().length>0},CQ.prototype.hasVideoTrack=function(){return this._trackToStream.getStream()&&this._trackToStream.getStream().getVideoTracks().length>0},CQ.prototype.start=function(e,t,i){let n=this,r=e||{audio:!0,video:!0};if(r.audio?this.allowAudio():this.disallowAudio(),r.video?this.allowVideo():this.disallowVideo(),!r.audio&&!r.video)return(n.emit("localStream",null),t)?t(null,null,r):void 0;if(!Ex.isSupported()){let e=Error("MediaStreamError");return(e.name="NotSupportedError",t)?t(e,null):void 0}this.emit("localStreamRequested",i);let a=e=>{n.emit("localStreamRequestFailedRetryNoVideo",e)};this._mediaDevicesSource.start(a).then(()=>{if(n.localStreams.push(n._trackToStream.getStream()),n.sentStreams.push(n._trackToSentStream.getStream()),n.emit("localStream",n._trackToStream.getStream()),n._trackToStream.on("streamSet",n._handleStreamSetBound),n._trackToStream.on("trackReplaced",n._handleTrackReplacedBound),n._trackToStream.on("trackEnabled",n._handleTrackEnabledBound),n._trackToSentStream.on("streamSet",n._handleStreamSetBound),n._trackToSentStream.on("trackReplaced",n._handleTrackReplacedBound),n._trackToSentStream.on("trackEnabled",n._handleTrackEnabledBound),n._localMediaActive=!0,t){let e={audio:n._trackToStream.getStream().getAudioTracks().length>0,video:n._trackToStream.getStream().getVideoTracks().length>0};return t(null,n._trackToStream.getStream(),e)}}).catch(e=>{if(n.emit("localStreamRequestFailed"),n._trackToStream.on("streamSet",n._handleStreamSetBound),n._trackToStream.on("trackReplaced",n._handleTrackReplacedBound),n._trackToStream.on("trackEnabled",n._handleTrackEnabledBound),n._trackToSentStream.on("streamSet",n._handleStreamSetBound),n._trackToSentStream.on("trackReplaced",n._handleTrackReplacedBound),n._trackToSentStream.on("trackEnabled",n._handleTrackEnabledBound),n._localMediaActive=!0,t)return t(e,null)})},CQ.prototype._handleStreamSet=function(e,t,i){i&&this._removeStream(i),t&&(e===this._trackToStream?this.localStreams.push(t):this.sentStreams.push(t))},CQ.prototype._handleTrackReplaced=function(e,t,i){e===this._trackToStream?(this.emit("localStreamChanged",e.getStream()),this.emit("localTrackReplaced",t,i,e.getStream())):this.emit("sentTrackReplaced",t,i,e.getStream())},CQ.prototype._handleTrackEnabled=function(e,t){e===this._trackToStream?this.emit("localTrackEnabledChanged",t,e.getStream()):this.emit("sentTrackEnabledChanged",t,e.getStream())},CQ.prototype.stop=function(){this._trackToStream.off("streamSet",this._handleStreamSetBound),this._trackToStream.off("trackReplaced",this._handleTrackReplacedBound),this._trackToStream.off("trackEnabled",this._handleTrackEnabledBound),this._trackToSentStream.off("streamSet",this._handleStreamSetBound),this._trackToSentStream.off("trackReplaced",this._handleTrackReplacedBound),this._trackToSentStream.off("trackEnabled",this._handleTrackEnabledBound),this.stopStream(),this.stopScreenShare(),this._localMediaActive=!1},CQ.prototype.stopStream=function(){let e=this._trackToStream.getStream(),t=this._trackToSentStream.getStream();this._mediaDevicesSource.stop(),e&&this._removeStream(e),t&&this._removeStream(t)},CQ.prototype.startScreenShare=function(e,t,i){let n=this;this.emit("localScreenRequested"),"function"!=typeof t||i||(i=t,t=null),CY(e,t,function(e,t){if(e?(console.error("Error when starting screen share: ",e),n.emit("localScreenRequestFailed")):(n.localScreens.push(t),t.getTracks().forEach(function(e){e.addEventListener("ended",function(){let e=!0;t.getTracks().forEach(function(t){e="ended"===t.readyState&&e}),e&&n._removeStream(t)})}),n.emit("localScreen",t)),i)return i(e,t)})},CQ.prototype.stopScreenShare=function(){let e=this;this.localScreens.forEach(function(t){t.getTracks().forEach(e=>e.stop()),e._removeStream(t)})},CQ.prototype.isAudioAllowed=function(){return this._mediaDevicesSource.isAudioAllowed()},CQ.prototype.disallowAudio=function(){this._mediaDevicesSource.setAudioAllowed(!1),this.emit("audioDisallowed")},CQ.prototype.allowAudio=function(){this._mediaDevicesSource.setAudioAllowed(!0),this.emit("audioAllowed")},CQ.prototype.mute=function(){this._setAudioEnabled(!1),this.emit("audioOff")},CQ.prototype.unmute=function(){this._setAudioEnabled(!0),this.emit("audioOn")},CQ.prototype.isVideoAllowed=function(){return this._mediaDevicesSource.isVideoAllowed()},CQ.prototype.disallowVideo=function(){this._mediaDevicesSource.setVideoAllowed(!1),this.emit("videoDisallowed")},CQ.prototype.allowVideo=function(){this._mediaDevicesSource.setVideoAllowed(!0),this.emit("videoAllowed")},CQ.prototype.pauseVideo=function(){this._setVideoEnabled(!1),this.emit("videoOff")},CQ.prototype.resumeVideo=function(){this._setVideoEnabled(!0),this.emit("videoOn")},CQ.prototype.enableVirtualBackground=function(){this._virtualBackground.setEnabled(!0),this.emit("virtualBackgroundOn")},CQ.prototype.setVirtualBackground=function(e){this._virtualBackground.setVirtualBackground(e),this.emit("virtualBackgroundSet",e)},CQ.prototype.disableVirtualBackground=function(){this._virtualBackground.setEnabled(!1),this.emit("virtualBackgroundOff")},CQ.prototype.pause=function(){this.mute(),this.pauseVideo()},CQ.prototype.resume=function(){this.unmute(),this.resumeVideo()},CQ.prototype._setAudioEnabled=function(e){this._audioTrackEnabler.setEnabled(e)},CQ.prototype._setVideoEnabled=function(e){this._videoTrackEnabler.setEnabled(e)},CQ.prototype.isSpeaking=function(){return this._speaking},CQ.prototype.isAudioEnabled=function(){let e=!0,t=!1;return this.localStreams.forEach(function(i){let n=i.getAudioTracks();n.length>0&&(t=!0,n.forEach(function(t){e=e&&t.enabled}))}),!!t&&e},CQ.prototype.isVideoEnabled=function(){let e=!0,t=!1;return this.localStreams.forEach(function(i){let n=i.getVideoTracks();n.length>0&&(t=!0,n.forEach(function(t){e=e&&t.enabled}))}),!!t&&e},CQ.prototype.isVirtualBackgroundAvailable=function(){return this._virtualBackground.isAvailable()},CQ.prototype.isVirtualBackgroundEnabled=function(){return this._virtualBackground.isEnabled()},CQ.prototype.getVirtualBackground=function(){return this._virtualBackground.getVirtualBackground()},CQ.prototype._removeStream=function(e){let t=this.localStreams.indexOf(e);if(t>-1){this.localStreams.splice(t,1),this.emit("localStreamStopped",e);return}if((t=this.sentStreams.indexOf(e))>-1){this.sentStreams.splice(t,1),this.emit("sentStreamStopped",e);return}(t=this.localScreens.indexOf(e))>-1&&(this.localScreens.splice(t,1),this.emit("localScreenStopped",e))},Object.defineProperty(CQ.prototype,"localScreen",{get(){return this.localScreens.length>0?this.localScreens[0]:null}}),m$().inherits(CZ,CQ),CZ.prototype.createPeer=function(e){e.parent=this;let t=new gH(e);return this.peers.push(t),t},CZ.prototype.removePeers=function(e,t){this.getPeers(e,t).forEach(function(e){e.end()})},CZ.prototype.getPeers=function(e,t){return this.peers.filter(function(i){return(!e||i.id===e)&&(!t||i.type===t)})},CZ.prototype.sendToAll=function(e,t){this.emit("sendToAll",e,t)},CZ.prototype.sendDirectlyToAll=function(e,t,i){this.peers.forEach(function(n){n.enableDataChannels&&n.sendDirectly(e,t,i)})},CJ.prototype=Object.create(gU().prototype,{constructor:{value:CJ}}),CJ.prototype.leaveCall=function(){if(this.roomName){for(;this.webrtc.peers.length;)this.webrtc.peers[0].end();this.getLocalScreen()&&this.stopScreenShare(),this.emit("leftRoom",this.roomName),this.stopLocalVideo(),this.roomName=void 0}},CJ.prototype.disconnect=function(){this.emit("disconnected")},CJ.prototype.joinCall=function(e,t){this.config.autoRequestMedia&&this.startLocalVideo(t),this.roomName=e,this.emit("joinedRoom",e)},CJ.prototype.startLocalVideo=function(e){let t=this;this.webrtc.start(e,function(e,i,n){e?t.emit("localMediaError",e):t.emit("localMediaStarted",n)})},CJ.prototype.stopLocalVideo=function(){this.webrtc.stop()},CJ.prototype.shareScreen=function(e,t){this.webrtc.startScreenShare(e,t)},CJ.prototype.getLocalScreen=function(){return this.webrtc.localScreen},CJ.prototype.stopScreenShare=function(){this.connection.emit("unshareScreen"),this.getLocalScreen()&&this.webrtc.stopScreenShare(),this.webrtc.peers.forEach(function(e){"screen"===e.type&&e.sharemyscreen&&e.send("unshareScreen"),e.broadcaster&&e.end()})};class C2{constructor(){this.promise=new Promise((e,t)=>{this.resolve=(...t)=>{this.clearRejectTimeout(),e(...t)},this.reject=(...e)=>{this.clearRejectTimeout(),t(...e)}}),this.then=this.promise.then.bind(this.promise),this.catch=this.promise.catch.bind(this.promise)}clearRejectTimeout(){clearTimeout(this._timeout)}setRejectTimeout(e){this._timeout=setTimeout(()=>{this.reject(Error("timeout"))},e)}}let C3=Symbol("kJitsiE2EE");class C4{constructor({sharedKey:e}={}){this._worker=new Worker(new URL(__webpack_require__.p+__webpack_require__.u("src_utils_e2ee_JitsiEncryptionWorker_worker_js"),__webpack_require__.b)),this._worker.onerror=e=>console.error(e),this._worker.postMessage({operation:"initialize",sharedKey:e})}cleanup(e){this._worker.postMessage({operation:"cleanup",participantId:e})}cleanupAll(){this._worker.postMessage({operation:"cleanupAll"})}handleReceiver(e,t,i){if(!e[C3])if(e[C3]=!0,window.RTCRtpScriptTransform){let t={operation:"decode",participantId:i};e.transform=new RTCRtpScriptTransform(this._worker,t)}else{let t=e.createEncodedStreams();this._worker.postMessage({operation:"decode",readableStream:t.readable,writableStream:t.writable,participantId:i},[t.readable,t.writable])}}handleSender(e,t,i){if(!e[C3])if(e[C3]=!0,window.RTCRtpScriptTransform){let t={operation:"encode",participantId:i};e.transform=new RTCRtpScriptTransform(this._worker,t)}else{let t=e.createEncodedStreams();this._worker.postMessage({operation:"encode",readableStream:t.readable,writableStream:t.writable,participantId:i},[t.readable,t.writable])}}setKey(e,t,i){this._worker.postMessage({operation:"setKey",key:t,keyIndex:i,participantId:e})}}let C6=__webpack_require__.p+"olm.wasm?v=69a7d16a6e46effa",C5=!1,C8=async function(){C5||(await mT().init({locateFile:()=>(0,O.fg)("spreed","js",C6.split("/").pop())}),C5=!0,console.debug("Initialized Olm version",mT().get_library_version().join(".")))},C9=window.RTCRtpScriptTransform&&window.RTCRtpSender&&"transform"in RTCRtpSender.prototype||window.RTCRtpReceiver&&"createEncodedStreams"in RTCRtpReceiver.prototype&&window.RTCRtpSender&&"createEncodedStreams"in RTCRtpSender.prototype,C7=5e3,Ae=5e3,At="encryption.start",Ai="encryption.finish",An="encryption.setkey",Ar="encryption.gotkey",Aa="encryption.error";class As{static async isSupported(){if(!C9)throw Error("stream transform is not supported");return await C8(),!0}static isEnabled(){if(!aG("local","call-end-to-end-encryption"))return!1;let e=aX("local","call","end-to-end-encryption");return e||void 0===e}constructor(e){this.signaling=e,this._webrtc=null,this._key=this._generateKey(),this._keyIndex=0,this._sessions={},this._requests=new Map,this._account=new(mT()).Account,this._account.create(),this._keys=JSON.parse(this._account.identity_keys()),this.context=new C4,this._handleSessionIdBound=this._handleSessionId.bind(this),this.signaling.on("sessionId",this._handleSessionIdBound),this._handleUsersJoinedBound=this._handleUsersJoined.bind(this),this.signaling.on("usersJoined",this._handleUsersJoinedBound),this._handleUsersLeftBound=this._handleUsersLeft.bind(this),this.signaling.on("usersLeft",this._handleUsersLeftBound),this._handleMessageBound=this._handleMessage.bind(this),this.signaling.on("message",this._handleMessageBound),this._rotateKey=(0,Y.A)(this._rotateKeyImpl,C7),this._ratchetKey=(0,Y.A)(this._ratchetKeyImpl,C7),this._handlePeerCreatedBound=this._handlePeerCreated.bind(this),this._handleSessionId(e.sessionId||""),this._handleUsersJoined(Object.values(e.joinedUsers))}setWebRtc(e){this._webrtc&&this._webrtc.off("createdPeer",this._handlePeerCreatedBound),e.on("createdPeer",this._handlePeerCreatedBound),this._webrtc=e}close(){this.signaling.off("sessionId",this._handleSessionIdBound),this.signaling.off("usersJoined",this._handleUsersJoinedBound),this.signaling.off("usersLeft",this._handleUsersLeftBound),this.signaling.off("message",this._handleMessageBound),this._webrtc&&(this._webrtc.off("createdPeer",this._handlePeerCreatedBound),this._webrtc=null),this._sessions={},this._account&&(this._account.free(),this._account=null),this.context.cleanupAll()}_handleSessionId(e){this._sessionId=e,e&&this.context.setKey(e,this._key,this._keyIndex)}_handleUsersJoined(e){e.forEach(e=>{e.sessionid{delete this._sessions[e],this.context.cleanup(e)}),this._rotateKey()}_handleMessage(e){let t=e.from;switch(e.payload?.type){case At:this._processStartSession(t,e);break;case Ai:this._processFinishSession(t,e);break;case An:this._processSessionSetKey(t,e);break;case Ar:this._processSessionGotKey(t,e);break;case Aa:this._processError(t,e)}}_sessionData(e){return this._sessions[e]=this._sessions[e]||{},this._sessions[e]}_startSession(e){let t=this._sessionData(e);if(t.session)return console.error("Already have a session"),Promise.reject(Error("Already have a session"));if(t.startMsgId)return console.error("Session request already started"),Promise.reject(Error("Session request already started"));console.debug("Starting e2s session with",e),this._account.generate_one_time_keys(1);let i=Object.values(JSON.parse(this._account.one_time_keys()).curve25519)[0];if(!i)return Promise.reject(Error("No one-time key created"));this._account.mark_keys_as_published();let n=mO(),r={type:"message",to:e,payload:{id:n,type:At,identity:this._keys.curve25519,key:i}};t.startMsgId=n;let a=new C2;return a.setRejectTimeout(Ae),a.catch(i=>{console.debug("Starting e2e session failed",e,i),this._requests.delete(n),delete t.startMsgId}),this._requests.set(n,a),this.signaling.sendCallMessage(r),a}async _rotateKeyImpl(){console.debug("Rotating key"),this._rotating=!0;try{this._key=this._generateKey();let e=await this._updateKey(this._key);this.context.setKey(this._sessionId,this._key,e)}finally{this._rotating=!1}}async _ratchetKeyImpl(){if(this._rotating)return void console.debug("Not ratchetting key, currently rotating");console.debug("Ratchetting key");let e=await C1(this._key),t=await C0(e);this._key=new Uint8Array(t);let i=this._updateCurrentKey(this._key);this._sessionId&&this.context.setKey(this._sessionId,this._key,i)}_generateKey(){return window.crypto.getRandomValues(new Uint8Array(32))}async _updateKey(e){this._key=e,this._keyIndex++;let t=[];return Object.entries(this._sessions).forEach(e=>{let[i,n]=e;t.push(this._sendKey(i,n))}),await Promise.allSettled(t),this._keyIndex}_updateCurrentKey(e){return this._key=e,this._keyIndex}_encryptKey(e){let t={};return void 0!==this._key&&(t.key=!!this._key&&mM.fromByteArray(this._key),t.index=this._keyIndex),e.encrypt(JSON.stringify(t))}_processStartSession(e,t){let i=this._sessionData(e);if(i.session){console.warn("Already has a session",e),this._sendError(e,"Session already created");return}console.debug("Received e2s session request from",e);let n=t.payload,r=new(mT()).Session;r.create_outbound(this._account,n.identity,n.key),i.session=r;let a={type:"message",to:e,payload:{id:n.id,type:Ai,key:this._encryptKey(r)}};this.signaling.sendCallMessage(a)}_processFinishSession(e,t){let i=this._sessionData(e);if(i.session){console.warn("Already has a session",e),this._sendError(e,"Session already created");return}let n=t.payload;if(n.id!==i.startMsgId){console.warn("Received finish with wrong id",e),this._sendError(e,"Finish has wrong id");return}console.debug("Finished e2s session with",e);let r=new(mT()).Session;r.create_inbound(this._account,n.key.body),this._account.remove_one_time_keys(r);let a=r.decrypt(n.key.type,n.key.body);i.session=r,delete i.startMsgId;let s=this._requests.get(n.id);this._requests.delete(n.id),s.resolve();let o=JSON.parse(a);if(o.key){let t=mM.toByteArray(o.key),n=o.index;i.lastKey=t,console.debug("Key updated",e,n,o.key),this.context.setKey(e,t,n)}void 0!==this._key&&this._sendKey(e,i)}_processSessionSetKey(e,t){let i=this._sessionData(e);if(!i.session){console.warn("No session found",e),this._sendError(e,"No session for setting key");return}let n=t.payload,r=JSON.parse(i.session.decrypt(n.key.type,n.key.body));if(void 0!==r.key&&void 0!==r.index){let t=mM.toByteArray(r.key),a=r.index;(0,mI.isEqual)(i.lastKey,t)||(i.lastKey=t,console.debug("Key updated",e,a,r.key),this.context.setKey(e,t,a));let s={type:"message",to:e,payload:{id:n.id,type:Ar,key:this._encryptKey(i.session)}};this.signaling.sendCallMessage(s)}}_processSessionGotKey(e,t){let i=this._sessionData(e);if(!i.session){console.warn("No session found",e),this._sendError(e,"No session for confirming key");return}let n=t.payload,r=JSON.parse(i.session.decrypt(n.key.type,n.key.body));if(void 0!==r.key&&void 0!==r.index){let t=mM.toByteArray(r.key),n=r.index;(0,mI.isEqual)(i.lastKey,t)||(i.lastKey=t,console.debug("Key updated",e,n,r.key),this.context.setKey(e,t,n))}let a=this._requests.get(n.id);this._requests.delete(n.id),a.resolve()}_processError(e,t){console.error("Received error",e,t.payload.error)}_sendError(e,t){let i={type:"message",to:e,payload:{type:Aa,error:t}};this.signaling.sendCallMessage(i)}_sendKey(e,t){if(t||(t=this._sessionData(e)),!t.session)return console.warn("No session found",e,t),Promise.reject(Error("No session found"));let i=mO(),n={type:"message",to:e,payload:{id:i,type:An,key:this._encryptKey(t.session)}},r=new C2;return r.setRejectTimeout(Ae),r.catch(()=>{this._requests.delete(i)}),this._requests.set(i,r),this.signaling.sendCallMessage(n),r}_handlePeerCreated(e){e.id===this._sessionId?e.pc.getSenders().forEach(t=>{this.context.handleSender(t,t.track.kind,e.id)}):(e.stream&&this._processReceivePeerStream(e,e.stream),e.pc.addEventListener("addstream",t=>{this._processReceivePeerStream(e,t.stream)}))}_findReceiverForTrack(e,t){return e&&e.getReceivers().find(e=>e.track===t)}_processReceivePeerStream(e,t){t.getTracks().forEach(t=>{let i=this._findReceiverForTrack(e.pc,t);this.context.handleReceiver(i,i.track.kind,e.id)}),t.addEventListener("addtrack",t=>{let i=this._findReceiverForTrack(e.pc,t.track);this.context.handleReceiver(i,i.track.kind,e.id)})}}let Ao=As;function Al(){this._superEmitterMixin(),this._signaling=null,this._participants=[],this._handleLeaveRoomBound=this._handleLeaveRoom.bind(this),this._handleUsersInRoomBound=this._handleUsersInRoom.bind(this),this._handleUsersJoinedBound=this._handleUsersJoined.bind(this),this._handleUsersLeftBound=this._handleUsersLeft.bind(this)}function Au(e){this._store=e,this._actorStore=of(ul),this._tokenStore=u_(ul),this._signaling=null,this._signalingParticipantList=new Al,this._handleMessageBound=this._handleMessage.bind(this),this._handleParticipantsJoinedBound=this._handleParticipantsJoined.bind(this),this._handleParticipantsLeftBound=this._handleParticipantsLeft.bind(this)}Al.prototype={destroy(){this._signaling&&(this._signaling.off("leaveRoom",this._handleLeaveRoomBound),this._signaling.off("usersInRoom",this._handleUsersInRoomBound),this._signaling.off("usersJoined",this._handleUsersJoinedBound),this._signaling.off("usersLeft",this._handleUsersLeftBound)),this._destroyed=!0,this._participants=[]},setSignaling(e){!this._destroyed&&(this._signaling&&(this._signaling.off("leaveRoom",this._handleLeaveRoomBound),this._signaling.off("usersInRoom",this._handleUsersInRoomBound),this._signaling.off("usersJoined",this._handleUsersJoinedBound),this._signaling.off("usersLeft",this._handleUsersLeftBound)),this._signaling=e,this._signaling&&(this._signaling.on("leaveRoom",this._handleLeaveRoomBound),this._signaling.on("usersInRoom",this._handleUsersInRoomBound),this._signaling.on("usersJoined",this._handleUsersJoinedBound),this._signaling.on("usersLeft",this._handleUsersLeftBound)))},getParticipants(){return this._participants},_handleLeaveRoom(e){this._participants.length>0&&this._trigger("participantsLeft",[this._participants]),this._participants=[]},_handleUsersInRoom(e){let t=[],i=[],n=[];for(let n of e){let e={nextcloudSessionId:n.sessionId,signalingSessionId:n.sessionId};n.userId&&(e.userId=n.userId),t.push(e),this._participants.find(t=>t.signalingSessionId===e.signalingSessionId)||i.push(e)}for(let e of this._participants)t.find(t=>t.signalingSessionId===e.signalingSessionId)||n.push(e);this._participants=t,i.length>0&&this._trigger("participantsJoined",[i]),n.length>0&&this._trigger("participantsLeft",[n])},_handleUsersJoined(e){let t=[];for(let i of e){let e={nextcloudSessionId:i.roomsessionid,signalingSessionId:i.sessionid};i.userid&&(e.userId=i.userid),this._participants.push(e),t.push(e)}t.length>0&&this._trigger("participantsJoined",[t])},_handleUsersLeft(e){let t=[];for(let i of e){let e=this._participants.findIndex(e=>e.signalingSessionId===i);e>=0&&(t.push(this._participants[e]),this._participants.splice(e,1))}t.length>0&&this._trigger("participantsLeft",[t])}},gX.apply(Al.prototype),Au.prototype={destroy(){this._signaling&&(this._signaling.off("message",this._handleMessageBound),this._signalingParticipantList.off("participantsJoined",this._handleParticipantsJoinedBound),this._signalingParticipantList.off("participantsLeft",this._handleParticipantsLeftBound)),this._signalingParticipantList.destroy(),this._destroyed=!0},setSignaling(e){!this._destroyed&&(this._signaling&&(this._signaling.off("message",this._handleMessageBound),this._signalingParticipantList.off("participantsJoined",this._handleParticipantsJoinedBound),this._signalingParticipantList.off("participantsLeft",this._handleParticipantsLeftBound)),this._signaling=e,this._signalingParticipantList.setSignaling(e),this._signaling&&(this._signaling.on("message",this._handleMessageBound),this._signalingParticipantList.on("participantsJoined",this._handleParticipantsJoinedBound),this._signalingParticipantList.on("participantsLeft",this._handleParticipantsLeftBound)))},setTyping(e){if(this._destroyed||!this._signaling||!this._tokenStore.currentConversationIsJoined)return;let t=this._actorStore.sessionId;for(let i of this._signalingParticipantList.getParticipants())i.nextcloudSessionId!==t&&this._signaling.emit("message",{type:e?"startedTyping":"stoppedTyping",to:i.signalingSessionId});this._store.dispatch("setTyping",{token:this._tokenStore.token,sessionId:this._actorStore.sessionId,typing:e})},_handleMessage(e){if("startedTyping"!==e.type&&"stoppedTyping"!==e.type)return;let t=this._signalingParticipantList.getParticipants().find(t=>t.signalingSessionId===e.from);t&&this._store.dispatch("setTyping",{token:this._tokenStore.token,sessionId:t.nextcloudSessionId,typing:"startedTyping"===e.type})},_handleParticipantsJoined(e,t){if(this._store.getters.actorIsTyping)for(let e of t)this._signaling.emit("message",{type:"startedTyping",to:e.signalingSessionId})},_handleParticipantsLeft(e,t){for(let e of t)this._store.dispatch("setTyping",{token:this._tokenStore.token,sessionId:e.nextcloudSessionId,typing:!1})}};let Ad=0,Ac=1;function Ah(e,t=Ad,i=3){this._count=e,this._type=t,this._extraWeightForEachElement=(i-1)/(e-1),this._rawValues=[],this._relativeValues=[],this._hasEnoughData=!1}Ah.prototype={reset(){this._rawValues=[],this._relativeValues=[],this._hasEnoughData=!1},add(e){(this._type===Ad&&this._rawValues.length===this._count||this._type===Ac&&this._rawValues.length>=this._count-1)&&(this._hasEnoughData=!0),this._rawValues.length===this._count&&(this._rawValues.shift(),this._relativeValues.shift());let t=e;if(this._type===Ad){let i=this._rawValues.length?this._rawValues.at(-1):e;t=e-i}this._rawValues.push(e),this._relativeValues.push(t)},getLastRawValue(){return this._rawValues.length<1?NaN:this._rawValues.at(-1)},getLastRelativeValue(){return this._relativeValues.length<1?NaN:this._relativeValues.at(-1)},hasEnoughData(){return this._hasEnoughData},getWeightedAverage(){let e=0,t=0;for(let i=0;i{this._handleCallParticipantAddedBound(this._callParticipantCollection,e)})}function Ax(e,t,i,n){let r=e.devices.map(e=>e.deviceId),a=(t,i)=>{let n=r.includes(t.deviceId)?"":" (unplugged)",a=()=>"audioinput"===t.kind?t.deviceId===e.audioInputId?" (selected)":"":"audiooutput"===t.kind?t.deviceId===e.audioOutputId?" (selected)":"":"videoinput"===t.kind?t.deviceId===e.videoInputId?" (selected)":"":void 0;return` ${i+1}. ${t.label} | ${t.deviceId}`+n+a()};return`Media devices: Audio input: ${t.map(a).join("\n")} Audio output: ${i.map(a).join("\n")} Video input: ${n.map(a).join("\n")} `}function AD(e,t){return t.find(t=>e.some(e=>e.kind===t.kind&&e.deviceId===t.deviceId))?.deviceId}function AT(e,t){return console.debug("Registering new device:",e),[...t,e]}function AM({kind:e,devices:t,inputList:i,inputId:n}){if(!n)return null;let r=t.filter(t=>t.kind===e),a=r.find(e=>e.deviceId===n);if(!a)return null;let s=i.findIndex(e=>r.some(t=>t.deviceId===e.deviceId)),o=-1===s?i.length:s,l=i.findIndex(e=>e.deviceId===n);if(l===o)return null;let u=i.slice();return l>0&&u.splice(l,1),u.splice(o,0,a),u}function AI(e,t,i,n){let r=null,a=null,s=null;for(let o of e)o.deviceId&&"audioinput"===o.kind?t.some(e=>e.deviceId===o.deviceId)||(r=AT(o,r??t)):o.deviceId&&"audiooutput"===o.kind?i.some(e=>e.deviceId===o.deviceId)||(a=AT(o,a??i)):o.deviceId&&"videoinput"===o.kind&&!n.some(e=>e.deviceId===o.deviceId)&&(s=AT(o,s??n));return{newAudioInputList:r,newAudioOutputList:a,newVideoInputList:s}}Aw.prototype={getConnectionQualityAudio(){return this._connectionQuality.audio},getConnectionQualityVideo(){return this._connectionQuality.video},_setConnectionQualityAudio(e){this._connectionQuality.audio!==e&&(this._connectionQuality.audio=e,this._trigger("change:connectionQualityAudio",[e]))},_setConnectionQualityVideo(e){this._connectionQuality.video!==e&&(this._connectionQuality.video=e,this._trigger("change:connectionQualityVideo",[e]))},setPeerConnection(e,t=null,i=AF){this._peerConnection&&(this._peerConnection.removeEventListener("iceconnectionstatechange",this._handleIceConnectionStateChangedBound),this._peerConnection.removeEventListener("connectionstatechange",this._handleConnectionStateChangedBound),this._stopGetStatsInterval()),this._peerConnection=e,this._peerDirection=t,this._peerType=i,this._setConnectionQualityAudio(Af),this._setConnectionQualityVideo(Af),this._peerConnection&&(this._peerConnection.addEventListener("iceconnectionstatechange",this._handleIceConnectionStateChangedBound),this._peerConnection.addEventListener("connectionstatechange",this._handleConnectionStateChangedBound),this._handleIceConnectionStateChangedBound())},setAnalysisEnabledAudio(e){this._analysisEnabled.audio!==e&&(this._analysisEnabled.audio=e,e?this._resetStats("audio"):this._setConnectionQualityAudio(Af))},setAnalysisEnabledVideo(e){this._analysisEnabled.video!==e&&(this._analysisEnabled.video=e,e?this._resetStats("video"):this._setConnectionQualityVideo(Af))},_resetStats(e){this._packets[e].reset(),this._packetsLost[e].reset(),this._packetsLostRatio[e].reset(),this._packetsPerSecond[e].reset(),this._timestamps[e].reset(),this._timestampsForLogs[e].reset()},_handleIceConnectionStateChanged(){if(!this._peerConnection||"connected"!==this._peerConnection.iceConnectionState&&"completed"!==this._peerConnection.iceConnectionState&&"disconnected"!==this._peerConnection.iceConnectionState||"failed"===this._peerConnection.connectionState){this._setConnectionQualityAudio(Af),this._setConnectionQualityVideo(Af),this._stopGetStatsInterval();return}this._getStatsInterval||(this._resetStats("audio"),this._resetStats("video"),this._getStatsInterval=window.setInterval(()=>{this._peerConnection.getStats().then(this._processStatsBound)},1e3))},_handleConnectionStateChanged(){this._peerConnection&&"failed"===this._peerConnection.connectionState&&"failed"!==this._peerConnection.iceConnectionState&&this._handleIceConnectionStateChanged()},_stopGetStatsInterval(){window.clearInterval(this._getStatsInterval),this._getStatsInterval=null},_processStats(e){if(!this._peerConnection||"connected"!==this._peerConnection.iceConnectionState&&"completed"!==this._peerConnection.iceConnectionState&&"disconnected"!==this._peerConnection.iceConnectionState||"failed"===this._peerConnection.connectionState)return;let t=7;for(let e of["audio","video"])this._rtcStats[e].length===t&&this._rtcStats[e].shift(),this._rtcStats[e].push([]);this._peerDirection===Ab?this._processSenderStats(e):this._peerDirection===Ay&&this._processReceiverStats(e),this._analysisEnabled.audio&&this._setConnectionQualityAudio(this._calculateConnectionQualityAudio()),this._analysisEnabled.video&&this._setConnectionQualityVideo(this._calculateConnectionQualityVideo())},_processSenderStats(e){let t={audio:-1,video:-1},i={audio:-1,video:-1},n={audio:-1,video:-1},r={audio:-1,video:-1},a={audio:-1,video:-1},s={audio:-1,video:-1},o={audio:-1,video:-1},l={audio:-1,video:-1};for(let t of e.values())this._analysisEnabled[t.kind]&&("outbound-rtp"===t.type?(this._rtcStats[t.kind].at(-1).push(t),"packetsSent"in t&&"kind"in t&&(r[t.kind]=-1===r[t.kind]?t.packetsSent:r[t.kind]+t.packetsSent,"timestamp"in t&&"kind"in t&&(o[t.kind]=t.timestamp))):"remote-inbound-rtp"===t.type&&(this._rtcStats[t.kind].at(-1).push(t),"packetsReceived"in t&&"kind"in t&&(i[t.kind]=-1===i[t.kind]?t.packetsReceived:i[t.kind]+t.packetsReceived,"timestamp"in t&&"kind"in t&&(s[t.kind]=t.timestamp)),"packetsLost"in t&&"kind"in t&&(n[t.kind]=-1===n[t.kind]?t.packetsLost:n[t.kind]+t.packetsLost),"roundTripTime"in t&&"kind"in t&&(l[t.kind]=-1===l[t.kind]?t.roundTripTime:Math.max(l[t.kind],t.roundTripTime))));for(let e of["audio","video"])i[e]>=0&&n[e]>=0?(t[e]=i[e]+n[e],a[e]=s[e]):r[e]>=0&&(t[e]=r[e],a[e]=o[e]),n[e]>=0&&n[e]=0&&t[e]=0&&n[e]>=0&&(t[e]=i[e]+n[e]),n[e]>=0&&n[e]0;){let t=this._stagedPackets[e].shift(),i=this._stagedPacketsLost[e].shift(),n=this._stagedTimestamps[e].shift(),r=this._stagedRoundTripTime[e].shift();this._commitStats(e,t,i,n,r)}},_stageStats(e,t,i,n,r){this._stagedPackets[e].push(t),this._stagedPacketsLost[e].push(i),this._stagedTimestamps[e].push(n),this._stagedRoundTripTime[e].push(r)},_distributeStagedStats(e){let t=this._packets[e].getLastRawValue(),i=this._packetsLost[e].getLastRawValue(),n=this._timestamps[e].getLastRawValue(),r=0,a=0,s=0;if(this._stagedTimestamps[e][this._stagedTimestamps[e].length-1]!==n){if(this._stagedTimestamps[e][0]===n){let t=(this._stagedTimestamps[e][this._stagedTimestamps[e].length-1]-n)/this._stagedTimestamps[e].length;for(let i=0;i=0&&this._packets[e].add(t),i>=0&&this._packetsLost[e].add(i),t>=0&&i>=0){let t=1.5;this._packets[e].getLastRelativeValue()>0&&(t=this._packetsLost[e].getLastRelativeValue()/this._packets[e].getLastRelativeValue()),this._packetsLostRatio[e].add(t)}if(n>=0&&(this._timestamps[e].add(n),this._timestampsForLogs[e].add(n)),t>=0&&n>=0){let t=this._timestamps[e].getLastRelativeValue()/1e3,i=this._packets[e].getLastRelativeValue()/t;this._packetsPerSecond[e].add(i)}void 0!==r&&r>=0&&this._roundTripTime[e].add(r)},_calculateConnectionQualityAudio(){return this._calculateConnectionQuality("audio")},_calculateConnectionQualityVideo(){return this._calculateConnectionQuality("video")},_calculateConnectionQuality(e){let t=this._packets[e],i=this._packetsLost[e],n=this._timestamps[e],r=this._packetsLostRatio[e],a=this._packetsPerSecond[e],s=this._roundTripTime[e];if(!t.hasEnoughData()||!i.hasEnoughData()||!n.hasEnoughData())return Af;if(this._stagedPackets[e].length>0)return this._connectionQuality[e];let o=r.getWeightedAverage();return o>=1?(this._logStats(e,"No transmitted data, packet lost ratio: "+o),Av):s.hasEnoughData()&&s.getWeightedAverage()>1.5?(this._logStats(e,"High round trip time: "+s.getWeightedAverage()),A_):(10>a.getWeightedAverage()&&this._logStats(e,"Low packets per second: "+a.getWeightedAverage()),o>.3)?(this._logStats(e,"High packet lost ratio: "+o),A_):o>.2?Ap:o>.1?Ag:Am},_getLogTag(e){let t=e;return this._peerType===Ak&&(t+=" (screen)"),"PeerConnectionAnalyzer: "+t},_logStats(e,t){let i=this._getLogTag(e);t&&console.debug("%s: %s",i,t),console.debug("%s: Packets: %s",i,this._packets[e].toString()),console.debug("%s: Packets lost: %s",i,this._packetsLost[e].toString()),console.debug("%s: Packets lost ratio: %s",i,this._packetsLostRatio[e].toString()),console.debug("%s: Packets per second: %s",i,this._packetsPerSecond[e].toString()),console.debug("%s: Round trip time: %s",i,this._roundTripTime[e].toString()),console.debug("%s: Timestamps: %s",i,this._timestampsForLogs[e].toString()),this._logRtcStats(i,e)},_logRtcStats(e,t){this._rtcStats[t].forEach((t,i)=>{t.length?t.forEach((t,n)=>{console.debug("%s: %i-%i: %s",e,i,n,JSON.stringify(t))}):console.debug("%s: %i: no matching type",e,i)})}},gX.apply(Aw.prototype),AC.prototype={destroy(){this._localCallParticipantModel&&(this._localCallParticipantModel.off("change:peer",this._handlePeerChangeBound),this._localCallParticipantModel.off("change:screenPeer",this._handleScreenPeerChangeBound)),this._callParticipantModel&&(this._callParticipantModel.off("change:peer",this._handlePeerChangeBound),this._callParticipantModel.off("change:screenPeer",this._handleScreenPeerChangeBound)),this._stopListeningToAudioVideoChanges(),this._stopListeningToScreenChanges(),this._localMediaModel=null,this._localCallParticipantModel=null,this._callParticipantModel=null,this._peer=null,this._screenPeer=null,this._senderPeerConnectionAnalyzer=null,this._receiverPeerConnectionAnalyzer=null,this._senderScreenPeerConnectionAnalyzer=null,this._receiverScreenPeerConnectionAnalyzer=null},setSenderParticipant(e,t){this.destroy(),this._localMediaModel=e,this._localCallParticipantModel=t,this._localCallParticipantModel&&(this._senderPeerConnectionAnalyzer=new Aw,this._senderScreenPeerConnectionAnalyzer=new Aw,this._localCallParticipantModel.on("change:peer",this._handlePeerChangeBound),this._handlePeerChange(this._localCallParticipantModel,this._localCallParticipantModel.get("peer")),this._localCallParticipantModel.on("change:screenPeer",this._handleScreenPeerChangeBound),this._handleScreenPeerChange(this._localCallParticipantModel,this._localCallParticipantModel.get("screenPeer")))},setReceiverParticipant(e){this.destroy(),this._callParticipantModel=e,this._callParticipantModel&&(this._receiverPeerConnectionAnalyzer=new Aw,this._receiverScreenPeerConnectionAnalyzer=new Aw,this._callParticipantModel.on("change:peer",this._handlePeerChangeBound),this._handlePeerChange(this._callParticipantModel,this._callParticipantModel.get("peer")),this._callParticipantModel.on("change:screenPeer",this._handleScreenPeerChangeBound),this._handleScreenPeerChange(this._callParticipantModel,this._callParticipantModel.get("screenPeer")))},setSenderReceiverParticipant(e,t){this.destroy(),this._localMediaModel=e,this._callParticipantModel=t,this._callParticipantModel&&(this._senderPeerConnectionAnalyzer=new Aw,this._receiverPeerConnectionAnalyzer=new Aw,this._senderScreenPeerConnectionAnalyzer=new Aw,this._receiverScreenPeerConnectionAnalyzer=new Aw,this._callParticipantModel.on("change:peer",this._handlePeerChangeBound),this._handlePeerChange(this._callParticipantModel,this._callParticipantModel.get("peer")),this._callParticipantModel.on("change:screenPeer",this._handleScreenPeerChangeBound),this._handleScreenPeerChange(this._callParticipantModel,this._callParticipantModel.get("screenPeer")))},_handlePeerChange(e,t){this._peer&&this._stopListeningToAudioVideoChanges(),this._peer=t,t&&this._startListeningToAudioVideoChanges()},_handleScreenPeerChange(e,t){this._screenPeer&&this._stopListeningToScreenChanges(),this._screenPeer=t,t&&this._startListeningToScreenChanges()},_startListeningToAudioVideoChanges(){this._localMediaModel&&(this._senderPeerConnectionAnalyzer.setPeerConnection(this._peer.pc,Ab),this._senderPeerConnectionAnalyzer.on("change:connectionQualityAudio",this._handleConnectionQualityAudioChangeBound),this._senderPeerConnectionAnalyzer.on("change:connectionQualityVideo",this._handleConnectionQualityVideoChangeBound),this._localMediaModel.on("change:audioEnabled",this._handleSenderAudioEnabledChangeBound),this._localMediaModel.on("change:videoEnabled",this._handleSenderVideoEnabledChangeBound),this._handleSenderAudioEnabledChange(this._localMediaModel,this._localMediaModel.get("audioEnabled")),this._handleSenderVideoEnabledChange(this._localMediaModel,this._localMediaModel.get("videoEnabled"))),this._callParticipantModel&&(this._receiverPeerConnectionAnalyzer.setPeerConnection(this._peer.pc,Ay),this._receiverPeerConnectionAnalyzer.on("change:connectionQualityAudio",this._handleConnectionQualityAudioChangeBound),this._receiverPeerConnectionAnalyzer.on("change:connectionQualityVideo",this._handleConnectionQualityVideoChangeBound),this._callParticipantModel.on("change:audioAvailable",this._handleReceiverAudioAvailableChangeBound),this._callParticipantModel.on("change:videoAvailable",this._handleReceiverVideoAvailableChangeBound),this._handleReceiverAudioAvailableChange(this._localMediaModel,this._callParticipantModel.get("audioAvailable")),this._handleReceiverVideoAvailableChange(this._localMediaModel,this._callParticipantModel.get("videoAvailable")))},_startListeningToScreenChanges(){this._localMediaModel&&(this._senderScreenPeerConnectionAnalyzer.setPeerConnection(this._screenPeer.pc,Ab,Ak),this._senderScreenPeerConnectionAnalyzer.on("change:connectionQualityVideo",this._handleConnectionQualityScreenChangeBound),this._senderScreenPeerConnectionAnalyzer.setAnalysisEnabledAudio(!1),this._senderScreenPeerConnectionAnalyzer.setAnalysisEnabledVideo(!0)),this._callParticipantModel&&(this._receiverScreenPeerConnectionAnalyzer.setPeerConnection(this._screenPeer.pc,Ay,Ak),this._receiverScreenPeerConnectionAnalyzer.on("change:connectionQualityVideo",this._handleConnectionQualityScreenChangeBound),this._receiverScreenPeerConnectionAnalyzer.setAnalysisEnabledAudio(!1),this._receiverScreenPeerConnectionAnalyzer.setAnalysisEnabledVideo(!0))},_stopListeningToAudioVideoChanges(){this._localMediaModel&&(this._senderPeerConnectionAnalyzer.setPeerConnection(null),this._senderPeerConnectionAnalyzer.off("change:connectionQualityAudio",this._handleConnectionQualityAudioChangeBound),this._senderPeerConnectionAnalyzer.off("change:connectionQualityVideo",this._handleConnectionQualityVideoChangeBound),this._localMediaModel.off("change:audioEnabled",this._handleSenderAudioEnabledChangeBound),this._localMediaModel.off("change:videoEnabled",this._handleSenderVideoEnabledChangeBound)),this._callParticipantModel&&(this._receiverPeerConnectionAnalyzer.setPeerConnection(null),this._receiverPeerConnectionAnalyzer.off("change:connectionQualityAudio",this._handleConnectionQualityAudioChangeBound),this._receiverPeerConnectionAnalyzer.off("change:connectionQualityVideo",this._handleConnectionQualityVideoChangeBound),this._callParticipantModel.off("change:audioAvailable",this._handleReceiverAudioAvailableChangeBound),this._callParticipantModel.off("change:videoAvailable",this._handleReceiverVideoAvailableChangeBound))},_stopListeningToScreenChanges(){this._localMediaModel&&(this._senderScreenPeerConnectionAnalyzer.setPeerConnection(null),this._senderPeerConnectionAnalyzer.off("change:connectionQualityVideo",this._handleConnectionQualityScreenChangeBound)),this._callParticipantModel&&(this._receiverScreenPeerConnectionAnalyzer.setPeerConnection(null),this._receiverPeerConnectionAnalyzer.off("change:connectionQualityVideo",this._handleConnectionQualityScreenChangeBound))},_handleConnectionQualityAudioChange(e,t){e===this._senderPeerConnectionAnalyzer?this._trigger("change:senderConnectionQualityAudio",[t]):e===this._receiverPeerConnectionAnalyzer&&this._trigger("change:receiverConnectionQualityAudio",[t])},_handleConnectionQualityVideoChange(e,t){e===this._senderPeerConnectionAnalyzer?this._trigger("change:senderConnectionQualityVideo",[t]):e===this._receiverPeerConnectionAnalyzer&&this._trigger("change:receiverConnectionQualityVideo",[t])},_handleConnectionQualityScreenChange(e,t){e===this._senderScreenPeerConnectionAnalyzer?this._trigger("change:senderConnectionQualityScreen",[t]):e===this._receiverScreenPeerConnectionAnalyzer&&this._trigger("change:receiverConnectionQualityScreen",[t])},_handleSenderAudioEnabledChange(e,t){this._senderPeerConnectionAnalyzer.setAnalysisEnabledAudio(t)},_handleSenderVideoEnabledChange(e,t){this._senderPeerConnectionAnalyzer.setAnalysisEnabledVideo(t)},_handleReceiverAudioAvailableChange(e,t){this._receiverPeerConnectionAnalyzer.setAnalysisEnabledAudio(t)},_handleReceiverVideoAvailableChange(e,t){this._receiverPeerConnectionAnalyzer.setAnalysisEnabledVideo(t)}},gX.apply(AC.prototype),AA.prototype={get(e){return this.attributes[e]},set(e,t){this.attributes[e]=t,this._trigger("change:"+e,[t])},destroy(){this._localParticipantAnalyzer&&(this._localParticipantAnalyzer.off("change:senderConnectionQualityAudio",this._handleSenderConnectionQualityAudioChangeBound),this._localParticipantAnalyzer.off("change:senderConnectionQualityVideo",this._handleSenderConnectionQualityVideoChangeBound),this._localParticipantAnalyzer.off("change:senderConnectionQualityScreen",this._handleSenderConnectionQualityScreenChangeBound),this._localParticipantAnalyzer.destroy())},_handleSenderConnectionQualityAudioChange(e,t){this.set("senderConnectionQualityAudio",t)},_handleSenderConnectionQualityVideoChange(e,t){this.set("senderConnectionQualityVideo",t)},_handleSenderConnectionQualityScreenChange(e,t){this.set("senderConnectionQualityScreen",t)}},gX.apply(AA.prototype),AS.prototype={destroy(){this._callParticipantCollection.off("add",this._handleCallParticipantAddedBound),this._callParticipantCollection.off("remove",this._handleCallParticipantRemovedBound),this._callParticipantCollection.callParticipantModels.forEach(e=>{this._handleCallParticipantRemovedBound(this._callParticipantCollection,e)}),this._mixAudio&&(this._audioElement.srcObject=null,this._audioContext.close())},_handleCallParticipantAdded(e,t){t.on("change:stream",this._handleStreamChangedBound),t.on("change:screen",this._handleScreenChangedBound),t.on("change:audioAvailable",this._handleAudioAvailableChangedBound),this._handleStreamChangedBound(t,t.get("stream")),this._handleScreenChangedBound(t,t.get("screen"))},_handleCallParticipantRemoved(e,t){t.off("change:stream",this._handleStreamChangedBound),t.off("change:screen",this._handleScreenChangedBound),t.off("change:audioAvailable",this._handleAudioAvailableChangedBound),this._handleStreamChangedBound(t,null),this._handleScreenChangedBound(t,null)},_handleStreamChanged(e,t){let i=e.get("peerId")+"-stream",n=!e.get("audioAvailable");this._mixAudio?this._setAudioNode(i,t,n):this._setAudioElement(i,t,n)},_handleScreenChanged(e,t){let i=e.get("peerId")+"-screen";this._mixAudio?this._setAudioNode(i,t):this._setAudioElement(i,t)},_setAudioNode(e,t,i=!1){let n=this._audioNodes.get(e);if(n&&(n.connected&&n.audioSource.disconnect(this._audioDestination),this._audioNodes.delete(e)),!t)return;let r=this._audioContext.createMediaStreamSource(t);i||r.connect(this._audioDestination),this._audioNodes.set(e,{audioSource:r,connected:!i})},_setAudioElement(e,t,i=!1){let n=this._audioElements.get(e);n&&(n.srcObject=null,this._audioElements.delete(e)),t&&(n=AE(t,null,{audio:!0}),this._setAudioElementOutput(Ex.attributes.audioOutputId,n),i&&(n.muted=!0),this._audioElements.set(e,n))},async setGeneralAudioOutput(e){if(!Ex.isAudioOutputSelectSupported)return void console.debug("Your browser does not support audio output selecting");if(this._mixAudio)await this._setAudioElementOutput(e,this._audioElement);else{let t=[];for(let i of this._audioElements.values())t.push(this._setAudioElementOutput(e,i));await Promise.all(t)}},async _setAudioElementOutput(e,t=null){t instanceof HTMLAudioElement&&(await t.setSinkId(e),console.debug("Set audio output to %s",e))},_handleAudioAvailableChanged(e,t){if(this._mixAudio){let i=this._audioNodes.get(e.get("peerId")+"-stream");if(!i)return;t&&!i.connected?(i.audioSource.connect(this._audioDestination),i.connected=!0):!t&&i.connected&&(i.audioSource.disconnect(this._audioDestination),i.connected=!1,this._audioElement.srcObject=this._audioDestination.stream);return}let i=this._audioElements.get(e.get("peerId")+"-stream");i&&(i.muted=!t)}};let AB="local-storage-null-device-id";function AP(){this._superEmitterMixin(),this.attributes=(0,z.Kh)({devices:[],audioInputId:void 0,audioOutputId:void 0,videoInputId:void 0,noiseSuppression:"false"!==ak.getItem("noiseSuppression"),echoCancellation:"false"!==ak.getItem("echoCancellation"),autoGainControl:"false"!==ak.getItem("autoGainControl")}),this.isAudioOutputSelectSupported=!!new Audio().setSinkId,this._enabledCount=0,this._knownDevices={};let e=ak.getItem("audioInputPreferences");this._preferenceAudioInputList=null!==e?JSON.parse(e):[];let t=ak.getItem("audioOutputPreferences");this._preferenceAudioOutputList=null!==t?JSON.parse(t):[];let i=ak.getItem("videoInputPreferences");this._preferenceVideoInputList=null!==i?JSON.parse(i):[],this._tracks=[],this._updateDevicesBound=this._updateDevices.bind(this),this._pendingEnumerateDevicesPromise=null,ak.getItem("audioInputId")===AB&&(this.attributes.audioInputId=null),ak.getItem("audioOutputId")===AB&&(this.attributes.audioOutputId=null),ak.getItem("videoInputId")===AB&&(this.attributes.videoInputId=null)}AP.prototype={get(e){return this.attributes[e]},set(e,t){this.attributes[e]=t,this._trigger("change:"+e,[t]),this._storeDeviceId(e,t),console.debug("Storing device selection in the browser storage: ",e,t)},_storeDeviceId(e,t){["audioInputId","audioOutputId","videoInputId"].includes(e)&&(null===t&&(t=AB),t?ak.setItem(e,t):ak.removeItem(e))},isSupported:()=>navigator&&navigator.mediaDevices&&navigator.mediaDevices.getUserMedia&&navigator.mediaDevices.enumerateDevices,enableDeviceEvents(){this.isSupported()&&(this._enabledCount++,this._updateDevices(),navigator.mediaDevices.addEventListener("devicechange",this._updateDevicesBound))},disableDeviceEvents(){this.isSupported()&&(this._enabledCount--,this._enabledCount||navigator.mediaDevices.removeEventListener("devicechange",this._updateDevicesBound))},_updateDevices(e){this._pendingEnumerateDevicesPromise=navigator.mediaDevices.enumerateDevices().then(t=>{let i=this.attributes.audioInputId,n=this.attributes.audioOutputId,r=this.attributes.videoInputId,a=AD(this.attributes.devices,this._preferenceAudioInputList),s=AD(this.attributes.devices,this._preferenceAudioOutputList),o=AD(this.attributes.devices,this._preferenceVideoInputList),l=this.attributes.noiseSuppression,u=this.attributes.echoCancellation,d=this.attributes.autoGainControl;this.attributes.devices.filter(e=>!t.find(t=>e.deviceId===t.deviceId&&e.kind===t.kind)).forEach(e=>{this._removeDevice(e)}),t.forEach(e=>{this._updateOrAddDevice(e)}),this._populatePreferences(t);let c=!1;(void 0===this.attributes.audioInputId||this.attributes.audioInputId===a)&&(this.attributes.audioInputId=AD(t,this._preferenceAudioInputList)||t.find(e=>"audioinput"===e.kind)?.deviceId,c=!0),(void 0===this.attributes.audioOutputId||this.attributes.audioOutputId===s)&&(this.attributes.audioOutputId=AD(t,this._preferenceAudioOutputList)||t.find(e=>"audiooutput"===e.kind)?.deviceId,c=!0),(void 0===this.attributes.videoInputId||this.attributes.videoInputId===o)&&(this.attributes.videoInputId=AD(t,this._preferenceVideoInputList)||t.find(e=>"videoinput"===e.kind)?.deviceId,c=!0),e?.audio&&"boolean"!=typeof e.audio&&("noiseSuppression"in e.audio&&(this.attributes.noiseSuppression=e.audio.noiseSuppression),"echoCancellation"in e.audio&&(this.attributes.echoCancellation=e.audio.echoCancellation),"autoGainControl"in e.audio&&(this.attributes.autoGainControl=e.audio.autoGainControl)),c&&console.debug(Ax(this.attributes,this._preferenceAudioInputList,this._preferenceAudioOutputList,this._preferenceVideoInputList)),(i!==this.attributes.audioInputId||l!==this.attributes.noiseSuppression||u!==this.attributes.echoCancellation||d!==this.attributes.autoGainControl)&&this._trigger("change:audioInputId",[this.attributes.audioInputId]),n!==this.attributes.audioOutputId&&this._trigger("change:audioOutputId",[this.attributes.audioOutputId]),r!==this.attributes.videoInputId&&this._trigger("change:videoInputId",[this.attributes.videoInputId]),this._pendingEnumerateDevicesPromise=null}).catch(function(e){console.error("Could not update known media devices: "+e.name+": "+e.message),this._pendingEnumerateDevicesPromise=null})},_populatePreferences(e){let{newAudioInputList:t,newAudioOutputList:i,newVideoInputList:n}=AI(e,this._preferenceAudioInputList,this._preferenceAudioOutputList,this._preferenceVideoInputList);t&&(this._preferenceAudioInputList=t,ak.setItem("audioInputPreferences",JSON.stringify(this._preferenceAudioInputList))),i&&(this._preferenceAudioOutputList=i,ak.setItem("audioOutputPreferences",JSON.stringify(this._preferenceAudioOutputList))),n&&(this._preferenceVideoInputList=n,ak.setItem("videoInputPreferences",JSON.stringify(this._preferenceVideoInputList)))},updatePreferences(e){if("audioinput"===e){let t=AM({kind:e,devices:this.attributes.devices,inputList:this._preferenceAudioInputList,inputId:this.attributes.audioInputId});t&&(this._preferenceAudioInputList=t,ak.setItem("audioInputPreferences",JSON.stringify(t)))}else if("audiooutput"===e){let t=AM({kind:e,devices:this.attributes.devices,inputList:this._preferenceAudioOutputList,inputId:this.attributes.audioOutputId});t&&(this._preferenceAudioOutputList=t,ak.setItem("audioOutputPreferences",JSON.stringify(t))),ak.getItem("audioOutputDevicePreferred")||ak.setItem("audioOutputDevicePreferred",!0)}else if("videoinput"===e){let t=AM({kind:e,devices:this.attributes.devices,inputList:this._preferenceVideoInputList,inputId:this.attributes.videoInputId});t&&(this._preferenceVideoInputList=t,ak.setItem("videoInputPreferences",JSON.stringify(t)))}},listDevices(){this.attributes.devices.length?console.info(Ax(this.attributes,this._preferenceAudioInputList,this._preferenceAudioOutputList,this._preferenceVideoInputList)):navigator.mediaDevices.enumerateDevices().then(e=>{console.info(Ax({devices:e,audioInputId:this.attributes.audioInputId,audioOutputId:this.attributes.audioOutputId,videoInputId:this.attributes.videoInputId},this._preferenceAudioInputList,this._preferenceAudioOutputList,this._preferenceVideoInputList))})},_removeDevice(e){let t=this.attributes.devices.findIndex(t=>t.deviceId===e.deviceId&&t.kind===e.kind);t>=0&&(this.attributes.devices=this.attributes.devices.splice(t,1)),"audioinput"===e.kind&&e.deviceId===this.attributes.audioInputId?this.attributes.audioInputId=void 0:"audiooutput"===e.kind&&e.deviceId===this.attributes.audioOutputId?this.attributes.audioOutputId=void 0:"videoinput"===e.kind&&e.deviceId===this.attributes.videoInputId&&(this.attributes.videoInputId=void 0)},_updateOrAddDevice(e){let t=this.attributes.devices.find(t=>t.deviceId===e.deviceId&&t.kind===e.kind);t?(e.label&&(t.label=e.label),t.groupId=e.groupId,t.kind=e.kind):this._addDevice(e)},_addDevice(e){let t={deviceId:e.deviceId,groupId:e.groupId,kind:e.kind,label:e.label},i=this._knownDevices[t.kind+"-"+t.deviceId];i?(t.fallbackLabel=i.fallbackLabel,t.label=t.label?t.label:i.label):"default"===t.deviceId||""===t.deviceId?t.fallbackLabel=(0,K.t)("spreed","Default"):"audioinput"===t.kind?t.fallbackLabel=(0,K.t)("spreed","Microphone {number}",{number:Object.values(this._knownDevices).filter(e=>"audioinput"===e.kind&&""!==e.deviceId).length+1}):"videoinput"===t.kind?t.fallbackLabel=(0,K.t)("spreed","Camera {number}",{number:Object.values(this._knownDevices).filter(e=>"videoinput"===e.kind&&""!==e.deviceId).length+1}):"audiooutput"===t.kind&&(t.fallbackLabel=(0,K.t)("spreed","Speaker {number}",{number:Object.values(this._knownDevices).filter(e=>"audioutput"===e.kind&&""!==e.deviceId).length+1})),this._knownDevices[t.kind+"-"+t.deviceId]=t,this.attributes.devices=[...this.attributes.devices,t]},getUserMedia(e){return this.isSupported()?this._pendingEnumerateDevicesPromise?this._pendingEnumerateDevicesPromise.then(()=>this._getUserMediaInternal(e)).catch(()=>this._getUserMediaInternal(e)):this._getUserMediaInternal(e):new Promise((e,t)=>{t(new DOMException("MediaDevicesManager is not supported","NotSupportedError"))})},_getUserMediaInternal(e){return e.audio&&(!0===e.audio||!e.audio.deviceId)&&(null===this.attributes.audioInputId?e.audio=!1:(!0===e.audio&&(e.audio={}),this.attributes.audioInputId&&(e.audio.deviceId={exact:this.attributes.audioInputId}),e.audio.noiseSuppression="false"!==ak.getItem("noiseSuppression"),e.audio.echoCancellation="false"!==ak.getItem("echoCancellation"),e.audio.autoGainControl="false"!==ak.getItem("autoGainControl"))),e.video&&(!0===e.video||!e.video.deviceId)&&(null===this.attributes.videoInputId?e.video=!1:this.attributes.videoInputId&&(!0===e.video&&(e.video={}),e.video.deviceId={exact:this.attributes.videoInputId})),this._stopIncompatibleTracks(e),navigator.mediaDevices.getUserMedia(e).then(t=>(this._registerStream(t),this._updateSelectedDevicesFromGetUserMediaResult(t),this._updateDevices(e),t)).catch(t=>{throw this._updateDevices(e),t})},_stopIncompatibleTracks(e){this._tracks.forEach(t=>{if(e.audio&&e.audio.deviceId&&"audio"===t.kind){let i={deviceId:e.audio.deviceId.exact||e.audio.deviceId.ideal||e.audio.deviceId,noiseSuppression:e.audio.noiseSuppression??this.attributes.noiseSuppression,echoCancellation:e.audio.echoCancellation??this.attributes.echoCancellation,autoGainControl:e.audio.autoGainControl??this.attributes.autoGainControl},n=t.getSettings();n&&Object.keys(i).some(e=>n[e]!==i[e])&&t.stop()}if(e.video&&e.video.deviceId&&"video"===t.kind){let i={deviceId:e.video.deviceId.exact||e.video.deviceId.ideal||e.video.deviceId},n=t.getSettings();n&&n.deviceId!==i.deviceId&&t.stop()}})},_registerStream(e){e.getTracks().forEach(e=>{this._registerTrack(e)})},_registerTrack(e){this._tracks.push(e),e.addEventListener("ended",()=>{let t=this._tracks.indexOf(e);t>=0&&this._tracks.splice(t,1)}),e.addEventListener("cloned",e=>{this._registerTrack(e.detail)})},_updateSelectedDevicesFromGetUserMediaResult(e){if(this.attributes.audioInputId){let t=e.getAudioTracks(),i=t.length>0?t[0].getSettings():null;i&&i.deviceId&&this.attributes.audioInputId!==i.deviceId&&(console.debug("Input audio device overridden in getUserMedia: Expected: "+this.attributes.audioInputId+" Found: "+i.deviceId),this.set("audioInputId",i.deviceId))}if(this.attributes.videoInputId){let t=e.getVideoTracks(),i=t.length>0?t[0].getSettings():null;i&&i.deviceId&&this.attributes.videoInputId!==i.deviceId&&(console.debug("Input video device overridden in getUserMedia: Expected: "+this.attributes.videoInputId+" Found: "+i.deviceId),this.set("videoInputId",i.deviceId))}}},gX.apply(AP.prototype);let AL="new",AN="checking",AR="connected",Aj="completed",AO="disconnected",Az="disconnected-long",AU="failed",Aq="failed-no-restart",AW="closed";function AV(e){this._superEmitterMixin(),this.attributes=(0,z.Kh)({peerId:null,nextcloudSessionId:null,peer:null,screenPeer:null,actorType:void 0,actorId:void 0,userId:void 0,name:void 0,internal:void 0,connectionState:AL,negotiating:!1,connecting:!1,initialConnection:!0,connectedAtLeastOnce:!1,stream:null,audioAvailable:void 0,speaking:void 0,videoBlocked:void 0,videoAvailable:void 0,screen:null,raisedHand:{state:!1,timestamp:null}}),this.set("peerId",e.peerId),this._webRtc=e.webRtc,this._handlePeerStreamAddedBound=this._handlePeerStreamAdded.bind(this),this._handlePeerStreamRemovedBound=this._handlePeerStreamRemoved.bind(this),this._handleNickBound=this._handleNick.bind(this),this._handleMuteBound=this._handleMute.bind(this),this._handleUnmuteBound=this._handleUnmute.bind(this),this._handleExtendedIceConnectionStateChangeBound=this._handleExtendedIceConnectionStateChange.bind(this),this._handleSignalingStateChangeBound=this._handleSignalingStateChange.bind(this),this._handleChannelMessageBound=this._handleChannelMessage.bind(this),this._handleRaisedHandBound=this._handleRaisedHand.bind(this),this._handleRemoteVideoBlockedBound=this._handleRemoteVideoBlocked.bind(this),this._handleReactionBound=this._handleReaction.bind(this),this._handleTranscriptBound=this._handleTranscript.bind(this),this._webRtc.on("peerStreamAdded",this._handlePeerStreamAddedBound),this._webRtc.on("peerStreamRemoved",this._handlePeerStreamRemovedBound),this._webRtc.on("nick",this._handleNickBound),this._webRtc.on("mute",this._handleMuteBound),this._webRtc.on("unmute",this._handleUnmuteBound),this._webRtc.on("channelMessage",this._handleChannelMessageBound),this._webRtc.on("raisedHand",this._handleRaisedHandBound),this._webRtc.on("reaction",this._handleReactionBound),this._webRtc.on("transcript",this._handleTranscriptBound)}function AH(){this._superEmitterMixin(),this.callParticipantModels=(0,z.Kh)([])}AV.prototype={destroy(){this.get("peer")&&(this.get("peer").off("extendedIceConnectionStateChange",this._handleExtendedIceConnectionStateChangeBound),this.get("peer").off("signalingStateChange",this._handleSignalingStateChangeBound),this.get("peer").off("remoteVideoBlocked",this._handleRemoteVideoBlockedBound)),this._webRtc.off("peerStreamAdded",this._handlePeerStreamAddedBound),this._webRtc.off("peerStreamRemoved",this._handlePeerStreamRemovedBound),this._webRtc.off("nick",this._handleNickBound),this._webRtc.off("mute",this._handleMuteBound),this._webRtc.off("unmute",this._handleUnmuteBound),this._webRtc.off("channelMessage",this._handleChannelMessageBound),this._webRtc.off("raisedHand",this._handleRaisedHandBound),this._webRtc.off("reaction",this._handleReactionBound)},get(e){return this.attributes[e]},set(e,t){this.attributes[e]!==t&&(this.attributes[e]=t,this._trigger("change:"+e,[t]))},_handlePeerStreamAdded(e){this.get("peer")===e?(this.set("stream",this.get("peer").stream||null),void 0!==this.get("peer").nick&&this.set("name",this.get("peer").nick)):this.get("screenPeer")===e&&this.set("screen",this.get("screenPeer").stream||null)},_handlePeerStreamRemoved(e){this.get("peer")===e?(this.set("stream",null),this.set("audioAvailable",void 0),this.set("speaking",void 0),this.set("videoAvailable",void 0)):this.get("screenPeer")===e&&this.set("screen",null)},_handleNick(e){this.get("peerId")===e.id&&this.set("name",e.name||null)},_handleMute(e){this.get("peer")&&this.get("peer").id===e.id&&("video"===e.name?this.set("videoAvailable",!1):(this.set("audioAvailable",!1),this.set("speaking",!1)))},forceMute(){this.get("peer")&&(this._webRtc.sendToAll("control",{action:"forceMute",peerId:this.get("peer").id}),this._handleMute({id:this.get("peer").id}))},_handleUnmute(e){this.get("peer")&&this.get("peer").id===e.id&&("video"===e.name?this.set("videoAvailable",!0):this.set("audioAvailable",!0))},_handleChannelMessage(e,t,i){this.get("peer")&&this.get("peer").id===e.id&&("speaking"===i.type?this.set("speaking",!0):"stoppedSpeaking"===i.type&&this.set("speaking",!1))},_handleRaisedHand(e){this.get("peerId")===e.id&&this.set("raisedHand",e.raised)},setPeer(e){if(e&&this.get("peerId")!==e.id&&console.warn("Mismatch between stored peer ID and ID of given peer: ",this.get("peerId"),e.id),this.get("peer")&&(this.get("peer").off("extendedIceConnectionStateChange",this._handleExtendedIceConnectionStateChangeBound),this.get("peer").off("signalingStateChange",this._handleSignalingStateChangeBound),this.get("peer").off("remoteVideoBlocked",this._handleRemoteVideoBlockedBound)),this.set("peer",e?(0,z.IG)(e):null),!this.get("peer")){this.set("connectionState",Aj),this.set("negotiating",!1),this.set("connecting",!1),this.set("audioAvailable",!1),this.set("speaking",!1),this.set("videoAvailable",!1),this.set("videoBlocked",!1);return}"failed"===this.get("peer").pc.connectionState&&"disconnected"===this.get("peer").pc.iceConnectionState?this._handleExtendedIceConnectionStateChange(this.get("peer").pc.connectionState):this._handleExtendedIceConnectionStateChange(this.get("peer").pc.iceConnectionState),this._handleSignalingStateChange(this.get("peer").pc.signalingState),this._handlePeerStreamAdded(this.get("peer")),this._handleRemoteVideoBlocked(void 0),this.get("peer").on("extendedIceConnectionStateChange",this._handleExtendedIceConnectionStateChangeBound),this.get("peer").on("signalingStateChange",this._handleSignalingStateChangeBound),this.get("peer").on("remoteVideoBlocked",this._handleRemoteVideoBlockedBound),void 0!==this._simulcastVideoQuality&&this.setSimulcastVideoQuality(this._simulcastVideoQuality.spatial,this._simulcastVideoQuality.temporal),void 0!==this._videoBlocked&&this.setVideoBlocked(this._videoBlocked)},_handleExtendedIceConnectionStateChange(e){let t=(function(){void 0!==this.get("peer").nick&&this.set("name",this.get("peer").nick)}).bind(this);switch(e){case"new":this.set("connectionState",AL),this.set("connecting",!0),this.set("audioAvailable",void 0),this.set("speaking",void 0),this.set("videoAvailable",void 0);break;case"checking":this.set("connectionState",AN),this.set("connecting",!0),this.set("audioAvailable",void 0),this.set("speaking",void 0),this.set("videoAvailable",void 0);break;case"connected":this.set("connectionState",AR),this.set("connecting",!1),this.set("initialConnection",!1),this.set("connectedAtLeastOnce",!0),t();break;case"completed":this.set("connectionState",Aj),this.set("connecting",!1),this.set("initialConnection",!1),this.set("connectedAtLeastOnce",!0),t();break;case"disconnected":this.set("connectionState",AO);break;case"disconnected-long":this.set("connectionState",Az);break;case"failed":this.set("connectionState",AU),this.set("connecting",!1),this.set("initialConnection",!1);break;case"failed-no-restart":this.set("connectionState",Aq),this.set("connecting",!1),this.set("initialConnection",!1);break;case"closed":this.set("connectionState",AW),this.set("connecting",!1),this.set("initialConnection",!1);break;default:console.error("Unexpected (extended) ICE connection state: ",e)}},_handleSignalingStateChange(e){this.set("negotiating","stable"!==e&&"closed"!==e)},setScreenPeer(e){e&&this.get("peerId")!==e.id&&console.warn("Mismatch between stored peer ID and ID of given screen peer: ",this.get("peerId"),e.id),this.set("screenPeer",e?(0,z.IG)(e):null),this._handlePeerStreamAdded(this.get("screenPeer")),void 0!==this._simulcastScreenQuality&&this.setSimulcastScreenQuality(this._simulcastScreenQuality)},setActor(e,t){this.set("actorType",e),this.set("actorId",t)},setUserId(e){this.set("userId",e)},setNextcloudSessionId(e){this.set("nextcloudSessionId",e)},setVideoBlocked(e){this._videoBlocked=e,this.get("peer")&&this.get("peer").setRemoteVideoBlocked(e)},_handleRemoteVideoBlocked(e){this.set("videoBlocked",e)},setSimulcastVideoQuality(e,t){this._simulcastVideoQuality={spatial:e,temporal:t},this.get("peer")&&this.get("peer").enableSimulcast&&this.get("peer").selectSimulcastStream(e,t)},setSimulcastScreenQuality(e){this._simulcastScreenQuality=e,this.get("screenPeer")&&this.get("screenPeer").enableSimulcast&&this.get("screenPeer").selectSimulcastStream(e,e)},_handleReaction(e){this.get("peerId")===e.id&&this._trigger("reaction",[e.reaction])},_handleTranscript(e){this.get("peerId")===e.id&&this._trigger("transcript",[e.message,e.languageId,e.final])}},gX.apply(AV.prototype),AH.prototype={add(e){let t=new AV(e);return this.callParticipantModels.push(t),this._trigger("add",[t]),t},get(e){return this.callParticipantModels.find(function(t){return t.attributes.peerId===e})},remove(e){let t=this.callParticipantModels.findIndex(function(t){return t.attributes.peerId===e});if(-1!==t){let e=this.callParticipantModels[t];return this.callParticipantModels.splice(t,1),this._trigger("remove",[e]),e.destroy(),!0}return!1}},gX.apply(AH.prototype);let A$=of(ul);function AG(){this._superEmitterMixin(),this.attributes=(0,z.Kh)({peerId:null,peer:null,screenPeer:null,guestName:null,peerNeeded:!1,connectionState:null}),this._handleForcedMuteBound=this._handleForcedMute.bind(this),this._handleExtendedIceConnectionStateChangeBound=this._handleExtendedIceConnectionStateChange.bind(this)}function AX(){this._superEmitterMixin(),this._tokenStore=u_(ul),this.attributes=(0,z.Kh)({localStreamRequestVideoError:null,localStream:null,audioAvailable:!1,audioEnabled:!1,speaking:!1,speakingWhileMuted:!1,currentVolume:-100,volumeThreshold:-100,videoAvailable:!1,videoEnabled:!1,virtualBackgroundAvailable:!1,virtualBackgroundEnabled:!1,virtualBackgroundType:null,virtualBackgroundBlurStrength:null,virtualBackgroundUrl:null,localScreen:null,token:"",raisedHand:{state:!1,timestamp:Date.now()}}),this._handleLocalStreamRequestedBound=this._handleLocalStreamRequested.bind(this),this._handleLocalStreamBound=this._handleLocalStream.bind(this),this._handleLocalStreamRequestFailedRetryNoVideoBound=this._handleLocalStreamRequestFailedRetryNoVideo.bind(this),this._handleLocalStreamRequestFailedBound=this._handleLocalStreamRequestFailed.bind(this),this._handleLocalStreamChangedBound=this._handleLocalStreamChanged.bind(this),this._handleLocalTrackEnabledChangedBound=this._handleLocalTrackEnabledChanged.bind(this),this._handleLocalStreamStoppedBound=this._handleLocalStreamStopped.bind(this),this._handleAudioDisallowedBound=this._handleAudioDisallowed.bind(this),this._handleVolumeChangeBound=this._handleVolumeChange.bind(this),this._handleSpeakingBound=this._handleSpeaking.bind(this),this._handleStoppedSpeakingBound=this._handleStoppedSpeaking.bind(this),this._handleSpeakingWhileMutedBound=this._handleSpeakingWhileMuted.bind(this),this._handleStoppedSpeakingWhileMutedBound=this._handleStoppedSpeakingWhileMuted.bind(this),this._handleVideoDisallowedBound=this._handleVideoDisallowed.bind(this),this._handleVirtualBackgroundLoadFailedBound=this._handleVirtualBackgroundLoadFailed.bind(this),this._handleVirtualBackgroundOnBound=this._handleVirtualBackgroundOn.bind(this),this._handleVirtualBackgroundSetBound=this._handleVirtualBackgroundSet.bind(this),this._handleVirtualBackgroundOffBound=this._handleVirtualBackgroundOff.bind(this),this._handleLocalScreenBound=this._handleLocalScreen.bind(this),this._handleLocalScreenStoppedBound=this._handleLocalScreenStopped.bind(this)}AG.prototype={get(e){return this.attributes[e]},set(e,t){this.attributes[e]!==t&&(this.attributes[e]=t,this._trigger("change:"+e,[t]))},setWebRtc(e){this._webRtc&&(this._webRtc.off("forcedMute",this._handleForcedMuteBound),this._unwatchDisplayNameChange()),this._webRtc=e,this.set("peerId",this._webRtc.connection.getSessionId()),this.set("guestName",null),this._webRtc.on("forcedMute",this._handleForcedMuteBound),this._unwatchDisplayNameChange=(0,z.wB)(()=>A$.displayName,this.setGuestName.bind(this))},setPeerId(e){this.set("peerId",e)},setPeer(e){(e&&this.get("peerId")!==e.id&&console.warn("Mismatch between stored peer ID and ID of given peer: ",this.get("peerId"),e.id),this.get("peer")&&this.get("peer").off("extendedIceConnectionStateChange",this._handleExtendedIceConnectionStateChangeBound),this.set("peer",e),this.get("peer"))?("failed"===this.get("peer").pc.connectionState&&"disconnected"===this.get("peer").pc.iceConnectionState?this._handleExtendedIceConnectionStateChange(this.get("peer").pc.connectionState):this._handleExtendedIceConnectionStateChange(this.get("peer").pc.iceConnectionState),this.get("peer").on("extendedIceConnectionStateChange",this._handleExtendedIceConnectionStateChangeBound)):this.set("connectionState",null)},setScreenPeer(e){e&&this.get("peerId")!==e.id&&console.warn("Mismatch between stored peer ID and ID of given screen peer: ",this.get("peerId"),e.id),this.set("screenPeer",e)},setGuestName(e){if(!this._webRtc)throw Error("WebRtc not initialized yet");this.set("guestName",e),this._webRtc.webrtc.emit("nickChanged",e)},setPeerNeeded(e){this.set("peerNeeded",e)},_handleForcedMute(){this._trigger("forcedMute")},_handleExtendedIceConnectionStateChange(e){switch(e){case"new":this.set("connectionState",AL);break;case"checking":this.set("connectionState",AN);break;case"connected":this.set("connectionState",AR);break;case"completed":this.set("connectionState",Aj);break;case"disconnected":this.set("connectionState",AO);break;case"disconnected-long":this.set("connectionState",Az);break;case"failed":this.set("connectionState",AU);break;case"closed":this.set("connectionState",AW);break;default:console.error("Unexpected (extended) ICE connection state: ",e)}},sendReaction(e){if(!this._webRtc)throw Error("WebRtc not initialized yet");this._webRtc.sendToAll("reaction",{reaction:e})}},gX.apply(AG.prototype),AX.prototype={get(e){return this.attributes[e]},set(e,t){this.attributes[e]!==t&&(this.attributes[e]=t,this._trigger("change:"+e,[t]))},getWebRtc(){return this._webRtc},setWebRtc(e){this._webRtc&&this._webRtc.webrtc&&(this._webRtc.webrtc.off("localStreamRequested",this._handleLocalStreamRequestedBound),this._webRtc.webrtc.off("localStream",this._handleLocalStreamBound),this._webRtc.webrtc.off("localStreamRequestFailedRetryNoVideo",this._handleLocalStreamRequestFailedBound),this._webRtc.webrtc.off("localStreamRequestFailed",this._handleLocalStreamRequestFailedBound),this._webRtc.webrtc.off("localStreamChanged",this._handleLocalStreamChangedBound),this._webRtc.webrtc.off("localTrackEnabledChanged",this._handleLocalTrackEnabledChangedBound),this._webRtc.webrtc.off("localStreamStopped",this._handleLocalStreamStoppedBound),this._webRtc.webrtc.off("audioDisallowed",this._handleAudioDisallowedBound),this._webRtc.webrtc.off("volumeChange",this._handleVolumeChangeBound),this._webRtc.webrtc.off("speaking",this._handleSpeakingBound),this._webRtc.webrtc.off("stoppedSpeaking",this._handleStoppedSpeakingBound),this._webRtc.webrtc.off("speakingWhileMuted",this._handleSpeakingWhileMutedBound),this._webRtc.webrtc.off("stoppedSpeakingWhileMuted",this._handleStoppedSpeakingWhileMutedBound),this._webRtc.webrtc.off("videoDisallowed",this._handleVideoDisallowedBound),this._webRtc.webrtc.off("virtualBackgroundLoadFailed",this._handleVirtualBackgroundLoadFailedBound),this._webRtc.webrtc.off("virtualBackgroundOn",this._handleVirtualBackgroundOnBound),this._webRtc.webrtc.off("virtualBackgroundSet",this._handleVirtualBackgroundSetBound),this._webRtc.webrtc.off("virtualBackgroundOff",this._handleVirtualBackgroundOffBound),this._webRtc.webrtc.off("localScreen",this._handleLocalScreenBound),this._webRtc.webrtc.off("localScreenStopped",this._handleLocalScreenStoppedBound)),this._webRtc=e,this.set("localStream",null),this.set("audioAvailable",!1),this.set("audioEnabled",!1),this.set("speaking",!1),this.set("speakingWhileMuted",!1),this.set("currentVolume",-100),this.set("volumeThreshold",-100),this.set("videoAvailable",!1),this.set("videoEnabled",!1),this.set("virtualBackgroundAvailable",this._webRtc.webrtc.isVirtualBackgroundAvailable()),this.set("virtualBackgroundEnabled",this._webRtc.webrtc.isVirtualBackgroundEnabled()),this._webRtc.webrtc.isVirtualBackgroundAvailable()&&this._setVirtualBackgroundTypeAndParameters(this._webRtc.webrtc.getVirtualBackground()),this.set("localScreen",null),this._webRtc.webrtc.on("localStreamRequested",this._handleLocalStreamRequestedBound),this._webRtc.webrtc.on("localStream",this._handleLocalStreamBound),this._webRtc.webrtc.on("localStreamRequestFailedRetryNoVideo",this._handleLocalStreamRequestFailedRetryNoVideoBound),this._webRtc.webrtc.on("localStreamRequestFailed",this._handleLocalStreamRequestFailedBound),this._webRtc.webrtc.on("localStreamChanged",this._handleLocalStreamChangedBound),this._webRtc.webrtc.on("localTrackEnabledChanged",this._handleLocalTrackEnabledChangedBound),this._webRtc.webrtc.on("localStreamStopped",this._handleLocalStreamStoppedBound),this._webRtc.webrtc.on("audioDisallowed",this._handleAudioDisallowedBound),this._webRtc.webrtc.on("volumeChange",this._handleVolumeChangeBound),this._webRtc.webrtc.on("speaking",this._handleSpeakingBound),this._webRtc.webrtc.on("stoppedSpeaking",this._handleStoppedSpeakingBound),this._webRtc.webrtc.on("speakingWhileMuted",this._handleSpeakingWhileMutedBound),this._webRtc.webrtc.on("stoppedSpeakingWhileMuted",this._handleStoppedSpeakingWhileMutedBound),this._webRtc.webrtc.on("videoDisallowed",this._handleVideoDisallowedBound),this._webRtc.webrtc.on("virtualBackgroundLoadFailed",this._handleVirtualBackgroundLoadFailedBound),this._webRtc.webrtc.on("virtualBackgroundOn",this._handleVirtualBackgroundOnBound),this._webRtc.webrtc.on("virtualBackgroundSet",this._handleVirtualBackgroundSetBound),this._webRtc.webrtc.on("virtualBackgroundOff",this._handleVirtualBackgroundOffBound),this._webRtc.webrtc.on("localScreen",this._handleLocalScreenBound),this._webRtc.webrtc.on("localScreenStopped",this._handleLocalScreenStoppedBound)},_handleLocalStreamRequested(e){"retry-no-video"!==e&&this.set("localStreamRequestVideoError",null)},_handleLocalStream(e){this.set("localStream",e),this._setInitialState(e)},_handleLocalStreamRequestFailedRetryNoVideo(e){e&&"NotFoundError"!==e.name&&this.set("localStreamRequestVideoError",e)},_handleLocalStreamRequestFailed(){this.set("localStream",null),this._setInitialState(null)},_setInitialState(e){this.set("token",this._tokenStore.token),this._updateMediaAvailability(e),this.set("raisedHand",{state:!1,timestamp:Date.now()})},_handleLocalStreamChanged(e){this.set("localStream",e),this._updateMediaAvailability(e)},_updateMediaAvailability(e){e&&e.getAudioTracks().length>0?(this.set("audioAvailable",!0),this.set("audioEnabled",e.getAudioTracks()[0].enabled)):(this.disableAudio(),this.set("audioEnabled",!1),this.set("audioAvailable",!1)),e&&e.getVideoTracks().length>0?(this.set("videoAvailable",!0),this.set("videoEnabled",e.getVideoTracks()[0].enabled)):(this.disableVideo(),this.set("videoEnabled",!1),this.set("videoAvailable",!1))},_handleLocalTrackEnabledChanged(e,t){"audio"===e.kind?this.set("audioEnabled",e.enabled):"video"===e.kind&&this.set("videoEnabled",e.enabled)},_handleLocalStreamStopped(e){this.get("localStream")===e&&(this.set("localStream",null),this.set("audioEnabled",!1),this.set("audioAvailable",!1),this.set("videoEnabled",!1),this.set("videoAvailable",!1))},_handleAudioDisallowed(){this.disableAudio()},_handleVolumeChange(e,t){this.get("audioAvailable")&&(this.set("currentVolume",e),this.set("volumeThreshold",t))},_handleSpeaking(){this.get("audioAvailable")&&this.set("speaking",!0)},_handleStoppedSpeaking(){this.get("audioAvailable")&&this.set("speaking",!1)},_handleSpeakingWhileMuted(){this.get("audioAvailable")&&this.set("speakingWhileMuted",!0)},_handleStoppedSpeakingWhileMuted(){this.get("audioAvailable")&&this.set("speakingWhileMuted",!1)},_handleVideoDisallowed(){this.disableVideo()},_handleVirtualBackgroundLoadFailed(){this.set("virtualBackgroundAvailable",!1)},_handleVirtualBackgroundOn(){this.set("virtualBackgroundEnabled",!0)},_setVirtualBackgroundTypeAndParameters(e){if(this.set("virtualBackgroundType",e.backgroundType),e.backgroundType===ao){this.set("virtualBackgroundBlurStrength",e.blurValue),this.set("virtualBackgroundUrl",null);return}(e.backgroundType===al||e.backgroundType===au)&&(this.set("virtualBackgroundUrl",e.virtualSource),this.set("virtualBackgroundBlurStrength",null))},_handleVirtualBackgroundSet(e){this._setVirtualBackgroundTypeAndParameters(e)},_handleVirtualBackgroundOff(){this.set("virtualBackgroundEnabled",!1)},_handleLocalScreen(e){this.set("localScreen",e)},_handleLocalScreenStopped(){this.set("localScreen",null)},enableAudio(){if(!this._webRtc)throw Error("WebRtc not initialized yet");ak.removeItem("audioDisabled_"+this.get("token")),this._webRtc.unmute()},disableAudio(){if(!this._webRtc)throw Error("WebRtc not initialized yet");ak.setItem("audioDisabled_"+this.get("token"),"true"),this._webRtc.mute()},enableVideo(){if(!this._webRtc)throw Error("WebRtc not initialized yet");ak.removeItem("videoDisabled_"+this.get("token")),this._webRtc.resumeVideo()},disableVideo(){if(!this._webRtc)throw Error("WebRtc not initialized yet");ak.setItem("videoDisabled_"+this.get("token"),"true"),this._webRtc.pauseVideo()},enableVirtualBackground(){if(!this._webRtc)throw Error("WebRtc not initialized yet");ak.setItem("virtualBackgroundEnabled_"+this.get("token"),"true"),this._webRtc.enableVirtualBackground()},setVirtualBackgroundBlur(e,t=!1){if(!this._webRtc)throw Error("WebRtc not initialized yet");e||(e=ac),t||(ak.setItem("virtualBackgroundType_"+this.get("token"),ao),ak.setItem("virtualBackgroundBlurStrength_"+this.get("token"),e),ak.removeItem("virtualBackgroundUrl_"+this.get("token"))),this._webRtc.setVirtualBackground({backgroundType:ao,blurValue:e})},setVirtualBackgroundImage(e){if(!this._webRtc)throw Error("WebRtc not initialized yet");ak.setItem("virtualBackgroundType_"+this.get("token"),al),ak.setItem("virtualBackgroundUrl_"+this.get("token"),e),ak.removeItem("virtualBackgroundBlurStrength_"+this.get("token")),this._webRtc.setVirtualBackground({backgroundType:al,virtualSource:e})},setVirtualBackgroundVideo(e){if(!this._webRtc)throw Error("WebRtc not initialized yet");ak.setItem("virtualBackgroundType_"+this.get("token"),au),ak.setItem("virtualBackgroundUrl_"+this.get("token"),e),ak.removeItem("virtualBackgroundBlurStrength_"+this.get("token")),this._webRtc.setVirtualBackground({backgroundType:au,virtualSource:e})},disableVirtualBackground(){if(!this._webRtc)throw Error("WebRtc not initialized yet");ak.removeItem("virtualBackgroundEnabled_"+this.get("token")),this._webRtc.disableVirtualBackground()},shareScreen(e,t){if(!this._webRtc)throw Error("WebRtc not initialized yet");this._webRtc.shareScreen(e,t)},stopSharingScreen(){if(!this._webRtc)throw Error("WebRtc not initialized yet");this._webRtc.stopScreenShare()},toggleHandRaised(e){if(!this._webRtc)throw Error("WebRtc not initialized yet");let t={state:e,timestamp:Date.now()};this._webRtc.sendToAll("raiseHand",t),this.set("raisedHand",t)}},gX.apply(AX.prototype);let AK=0,AY=1,AQ=2,AZ=3,AJ=4;function A0(e){this._trackConstrainer=e,this._currentQuality=void 0,this._knownValidConstraintsForQuality={}}function A1(e,t,i){this._localMediaModel=e,this._callParticipantCollection=t,this._videoConstrainer=new A0(i),this._gracePeriodAfterSpeakingTimeout=null,this._speakingOrInGracePeriodAfterSpeaking=!1,this._availableVideosThreshold={},this._availableVideosThreshold[AK]=15,this._availableVideosThreshold[AY]=10,this._availableVideosThreshold[AQ]=7,this._availableVideosThreshold[AZ]=4,this._availableAudiosThreshold={},this._availableAudiosThreshold[AK]=40,this._availableAudiosThreshold[AY]=30,this._availableAudiosThreshold[AQ]=20,this._availableAudiosThreshold[AZ]=10,this._handleLocalVideoAvailableChangeBound=this._handleLocalVideoAvailableChange.bind(this),this._handleAddParticipantBound=this._handleAddParticipant.bind(this),this._handleRemoveParticipantBound=this._handleRemoveParticipant.bind(this),this._handleLocalAudioEnabledChangeBound=this._handleLocalAudioEnabledChange.bind(this),this._handleLocalSpeakingChangeBound=this._handleLocalSpeakingChange.bind(this),this._adjustVideoQualityIfNeededBound=this._adjustVideoQualityIfNeeded.bind(this),this._localMediaModel.on("change:videoAvailable",this._handleLocalVideoAvailableChangeBound),this._localMediaModel.get("videoAvailable")&&this._startListeningToChanges()}A0.prototype={async applyConstraints(e){if(this._pendingApplyConstraintsCount){console.debug("Deferring applying constraints for quality "+e),this._pendingApplyConstraintsCount++,this._lastPendingQuality=e;return}this._pendingApplyConstraintsCount=1,await this._applyConstraints(e),this._resetPendingApplyConstraintsCount()},_resetPendingApplyConstraintsCount(){let e=this._pendingApplyConstraintsCount>1;this._pendingApplyConstraintsCount=0,e&&this.applyConstraints(this._lastPendingQuality)},async _applyConstraints(e){if(e!==this._currentQuality){if(!this._trackConstrainer.getOutputTrack()||"video"!==this._trackConstrainer.getOutputTrack().kind)return void console.warn("No video track to adjust its quality found");await this._applyRoughConstraints(this._trackConstrainer,e),this._currentQuality=e}},async _applyRoughConstraints(e,t){let i=this._knownValidConstraintsForQuality[t];i||(i=this._getConstraintsForQuality(t));try{await e.applyConstraints(i),this._knownValidConstraintsForQuality[t]=i,console.debug("Changed quality to %d",t)}catch(a){console.warn("Failed to set quality %d",t,a);let n={width:i.width,height:i.height};await this._applyRoughResolutionConstraints(e,n);let r={width:i.width,height:i.height,frameRate:i.frameRate};try{await this._applyRoughFrameRateConstraints(e,r),this._knownValidConstraintsForQuality[t]=r}catch(e){this._knownValidConstraintsForQuality[t]=n}console.debug("Changed quality to "+t)}},async _applyRoughResolutionConstraints(e,t){try{await e.applyConstraints(t),console.debug("Changed resolution",t)}catch(i){if(console.warn("Failed to set resolution",t,i),!this._increaseMaxResolution(t)&&!this._decreaseMinResolution(t))throw console.warn("Resolution range can not be further increased"),i;this._applyRoughResolutionConstraints(e,t)}},async _applyRoughFrameRateConstraints(e,t){try{await e.applyConstraints(t),console.debug("Changed frame rate",t)}catch(i){if(console.warn("Failed to set frame rate",t,i),!this._increaseMaxFrameRate(t)&&!this._decreaseMinFrameRate(t))throw console.warn("Frame rate range can not be further increased"),i;this._applyRoughFrameRateConstraints(e,t)}},_getConstraintsForQuality:e=>e===AJ?{width:{ideal:720,min:640},height:{ideal:540,min:480},frameRate:{max:30,ideal:30,min:20},resizeMode:"none"}:e===AZ?{width:{max:640,ideal:560,min:480},height:{max:480,ideal:420,min:320},frameRate:{max:24,ideal:24,min:15},resizeMode:"none"}:e===AQ?{width:{max:480,ideal:360,min:320},height:{max:320,ideal:270,min:240},frameRate:{max:15,ideal:15,min:8},resizeMode:"none"}:e===AY?{width:{max:320},height:{max:240},frameRate:{max:8},resizeMode:"none"}:{width:{max:320},height:{max:240},frameRate:{max:1},resizeMode:"none"},_increaseMaxResolution(e){let t=!1;if(e.width&&e.width.max){let i=e.width.max;e.width.max=Math.min(Math.round(1.5*e.width.max),1920),t=i!==e.width.max}if(e.height&&e.height.max){let i=e.height.max;e.height.max=Math.min(Math.round(1.5*e.height.max),1080),t=i!==e.height.max}return t},_decreaseMinResolution(e){let t=!1;if(e.width&&e.width.min){let i=e.width.min;e.width.min=Math.max(Math.round(e.width.min/1.5),64),t=i!==e.width.min}if(e.height&&e.height.min){let i=e.height.min;e.height.min=Math.max(Math.round(e.height.min/1.5),64),t=i!==e.height.min}return t},_increaseMaxFrameRate(e){let t=!1;if(e.frameRate&&e.frameRate.max){let i=e.frameRate.max;e.frameRate.max=Math.min(Math.round(1.5*e.frameRate.max),60),t=i!==e.frameRate.max}return t},_decreaseMinFrameRate(e){let t=!1;if(e.frameRate&&e.frameRate.min){let i=e.frameRate.min;e.frameRate.min=Math.max(Math.round(e.frameRate.min/1.5),1),t=i!==e.frameRate.min}return t}},A1.prototype={destroy(){this._localMediaModel.off("change:videoAvailable",this._handleLocalVideoAvailableChangeBound),this._stopListeningToChanges()},_handleLocalVideoAvailableChange(e,t){t?this._startListeningToChanges():this._stopListeningToChanges()},_startListeningToChanges(){this._localMediaModel.on("change:videoEnabled",this._adjustVideoQualityIfNeededBound),this._localMediaModel.on("change:audioEnabled",this._handleLocalAudioEnabledChangeBound),this._localMediaModel.on("change:speaking",this._handleLocalSpeakingChangeBound),this._callParticipantCollection.on("add",this._handleAddParticipantBound),this._callParticipantCollection.on("remove",this._handleRemoveParticipantBound),this._callParticipantCollection.callParticipantModels.forEach(e=>{e.on("change:videoAvailable",this._adjustVideoQualityIfNeededBound),e.on("change:audioAvailable",this._adjustVideoQualityIfNeededBound)}),this._handleLocalSpeakingChange(),this._handleLocalAudioEnabledChange(),this._adjustVideoQualityIfNeeded()},_stopListeningToChanges(){this._localMediaModel.off("change:videoEnabled",this._adjustVideoQualityIfNeededBound),this._localMediaModel.off("change:audioEnabled",this._handleLocalAudioEnabledChangeBound),this._localMediaModel.off("change:speaking",this._handleLocalSpeakingChangeBound),this._callParticipantCollection.off("add",this._handleAddParticipantBound),this._callParticipantCollection.off("remove",this._handleRemoveParticipantBound),this._callParticipantCollection.callParticipantModels.forEach(e=>{e.off("change:videoAvailable",this._adjustVideoQualityIfNeededBound),e.off("change:audioAvailable",this._adjustVideoQualityIfNeededBound)})},_handleAddParticipant(e,t){t.on("change:videoAvailable",this._adjustVideoQualityIfNeededBound),t.on("change:audioAvailable",this._adjustVideoQualityIfNeededBound),this._adjustVideoQualityIfNeeded()},_handleRemoveParticipant(e,t){t.off("change:videoAvailable",this._adjustVideoQualityIfNeededBound),t.off("change:audioAvailable",this._adjustVideoQualityIfNeededBound),this._adjustVideoQualityIfNeeded()},_handleLocalAudioEnabledChange(){this._localMediaModel.get("audioEnabled")||(window.clearTimeout(this._gracePeriodAfterSpeakingTimeout),this._gracePeriodAfterSpeakingTimeout=null,this._speakingOrInGracePeriodAfterSpeaking=!1,this._adjustVideoQualityIfNeeded())},_handleLocalSpeakingChange(){if(this._localMediaModel.get("speaking")){window.clearTimeout(this._gracePeriodAfterSpeakingTimeout),this._gracePeriodAfterSpeakingTimeout=null,this._speakingOrInGracePeriodAfterSpeaking=!0,this._adjustVideoQualityIfNeeded();return}this._gracePeriodAfterSpeakingTimeout=window.setTimeout(()=>{this._speakingOrInGracePeriodAfterSpeaking=!1,this._adjustVideoQualityIfNeeded()},5e3)},_adjustVideoQualityIfNeeded(){if(!this._localMediaModel.get("videoAvailable")||!this._localMediaModel.get("videoEnabled"))return;let e=this._getQualityForState();this._videoConstrainer.applyConstraints(e)},_getQualityForState(){if(this._speakingOrInGracePeriodAfterSpeaking)return AJ;let e=0,t=0;this._callParticipantCollection.callParticipantModels.forEach(i=>{i.get("videoAvailable")&&e++,i.get("audioAvailable")&&t++});for(let i=AK;i=this._availableVideosThreshold[i]||t>=this._availableAudiosThreshold[i])return i;return AJ}};class A2{#Q;#Z;#J;#ee;#et;#ei;#en;#er;#ea;#es;#eo;constructor(e,t,i,n){this.#Q=e,this.#Z=of(ul),this.#J=u_(ul),this.#ee=t,this.#et=i,this.#ei=n,this.#en=this.#el.bind(this),this.#er=this.#eu.bind(this),this.#ea=this.#ed.bind(this),this.#es=this.#ec.bind(this),this.#eo=this.#eh.bind(this),this.#ee.on("change:speaking",this.#ea),this.#ee.on("change:stoppedSpeaking",this.#ea),this.#et.on("change:peerId",this.#es),this.#ei.on("add",this.#en),this.#ei.on("remove",this.#er)}destroy(){this.#ee.off("change:speaking",this.#ea),this.#ee.off("change:stoppedSpeaking",this.#ea),this.#et.off("change:peerId",this.#es),this.#ei.off("add",this.#en),this.#ei.off("remove",this.#er),this.#ei.callParticipantModels.forEach(e=>{e.off("change:speaking",this.#eo),e.off("change:stoppedSpeaking",this.#eo)}),this.#Q.dispatch("purgeSpeakingStore")}#el(e,t){t.on("change:speaking",this.#eo),t.on("change:stoppedSpeaking",this.#eo)}#eu(e,t){t.off("change:speaking",this.#eo),t.off("change:stoppedSpeaking",this.#eo)}#ed(e,t){this.#Q.dispatch("setSpeaking",{attendeeId:this.#Z.attendeeId,speaking:t})}#ec(){this.#Q.dispatch("setSpeaking",{attendeeId:this.#Z.attendeeId,speaking:this.#ee.attributes.speaking})}#eh(e,t){let i=this.#Q.getters.findParticipant(this.#J.token,{sessionId:e.attributes.nextcloudSessionId})?.attendeeId;i&&this.#Q.dispatch("setSpeaking",{attendeeId:i,speaking:t})}}let A3=!!(0,j.HW)()?.uid,A4=!1;A4=A3?(0,X.C)("spreed","play_sounds",!1):ak.getItem("play_sounds")?"no"!==ak.getItem("play_sounds"):(0,X.C)("spreed","play_sounds",!1);let A6=new Audio().canPlayType("audio/ogg")?".ogg":".flac",A5=!!new Audio().setSinkId,A8=nO("sounds",{state:()=>({shouldPlaySounds:A4,audioObjectsCreated:!1,audioObjects:{join:null,leave:null,wait:null},audioObjectsPromises:{join:null,leave:null,wait:null},audioOutputDeviceId:void 0}),actions:{async setShouldPlaySounds(e){await cz(A3,e?"yes":"no"),this.shouldPlaySounds=e},playAudio(e){this.audioObjectsCreated||this.initAudioObjects(),this.audioObjectsPromises[e]=this.audioObjects[e].play(),this.audioObjectsPromises[e].catch(e=>{console.error(e)})},pauseAudio(e){this.audioObjectsPromises[e]&&this.audioObjects[e].pause()},createAudioObject(e,t,i){let n=new Audio((0,O.fg)("spreed","img",t+A6));n.load(),n.volume=i,n.addEventListener("pause",()=>{this.audioObjectsPromises[e]=null,n.currentTime=0}),n.addEventListener("ended",()=>{this.audioObjectsPromises[e]=null}),this.audioObjects[e]=n},initAudioObjects(){this.audioObjectsCreated||(this.createAudioObject("join","join_call",.75),this.createAudioObject("leave","leave_call",.75),this.createAudioObject("wait","LibremPhoneCall",.5),this.audioObjectsCreated=!0)},async setGeneralAudioOutput(e){if(A5){this.audioObjectsCreated||this.initAudioObjects();try{for(let t in this.audioObjects)this.pauseAudio(t),await this.audioObjects[t].setSinkId(e)}catch(e){console.error(e)}this.audioOutputDeviceId=e}}}}),A9=A8(ul),A7={BLOCK_SOUND_TIMEOUT:3e3,isInCall:!1,lastPlayedJoin:0,lastPlayedLeave:0,playedWaiting:0,backgroundInterval:null,_stopWaiting(){console.debug("Stop waiting sound"),A9.pauseAudio("wait"),clearInterval(this.backgroundInterval)},async playWaiting(){A9.shouldPlaySounds&&(console.debug("Playing waiting sound"),A9.playAudio("wait"),this.playedWaiting=0,this.backgroundInterval=setInterval(()=>{!A9.shouldPlaySounds||this.playedWaiting>=3?this._stopWaiting():(console.debug("Playing waiting sound"),A9.playAudio("wait"),this.playedWaiting++)},15e3))},async playJoin(e,t){if(this._stopWaiting(),!A9.shouldPlaySounds)return;if(e)this.isInCall=!0;else if(!this.isInCall)return;let i=new Date().getTime();if(!e&&this.lastPlayedJoin>=i-this.BLOCK_SOUND_TIMEOUT){this.lastPlayedJoin>=i-this.BLOCK_SOUND_TIMEOUT&&console.debug("Skipping join sound because it was played %.2f seconds ago",i-this.lastPlayedJoin);return}e?console.debug("Playing join sound because of self joining"):(this.lastPlayedJoin=i,console.debug("Playing join sound")),t?await this.playWaiting():A9.playAudio("join")},async playLeave(e,t){if(this._stopWaiting(),!A9.shouldPlaySounds||!this.isInCall)return;let i=new Date().getTime();if(!e&&this.lastPlayedLeave>=i-this.BLOCK_SOUND_TIMEOUT){this.lastPlayedLeave>=i-this.BLOCK_SOUND_TIMEOUT&&console.debug("Skipping leave sound because it was played %f.2 seconds ago",i-this.lastPlayedLeave);return}e?(console.debug("Playing leave sound because of self leaving"),this.isInCall=!1):console.debug("Playing leave sound"),this.lastPlayedLeave=i,A9.playAudio("leave"),t&&this.playWaiting()}},Ee=[],Et=[],Ei={},En=null,Er=null,Ea=rq.CALL_FLAG.DISCONNECTED,Es=!1,Eo=[],El=null,Eu=null,Ed=!1,Ec=null,Eh=of(ul),Ef=u_(ul);function Em(e,t){return e.filter(e=>!t.includes(e))}function Eg(e,t){let i=e.getSessionId(),n=e.hasFeature("mcu");if(n&&!y.webrtc.getPeers(i,"screen").length&&(Er&&Er.end(),Er=y.webrtc.createPeer({id:i,type:"screen",sharemyscreen:!0,enableDataChannels:!1,enableSimulcast:e.hasFeature("simulcast"),receiveMedia:{offerToReceiveAudio:0,offerToReceiveVideo:0},broadcaster:i}),y.emit("createdPeer",Er),Er.start(),Eu.setScreenPeer(Er)),t!==i){if(n)e.sendOffer(t,"screen");else if(!n&&!y.webrtc.getPeers(t,"screen").find(function(e){return!0===e.sharemyscreen})){let n=y.webrtc.createPeer({id:t,type:"screen",sharemyscreen:!0,enableDataChannels:!1,enableSimulcast:e.hasFeature("simulcast"),receiveMedia:{offerToReceiveAudio:0,offerToReceiveVideo:0},broadcaster:i});y.emit("createdPeer",n),n.start()}}}function Ep(e){let t=e.getSessionId();if(!y.webrtc.localStreams.length||y.webrtc.getPeers(t,"video").length)return;En&&(Eo[En.id]&&(clearInterval(Eo[En.id]),delete Eo[En.id]),En.end());let i=function(){En=y.webrtc.createPeer({id:t,type:"video",enableDataChannels:!0,enableSimulcast:e.hasFeature("simulcast"),receiveMedia:{offerToReceiveAudio:0,offerToReceiveVideo:0},sendVideoIfAvailable:e.getSendVideoIfAvailable()}),y.emit("createdPeer",En),En.start(),Eu.setPeer(En)};i(),Eo[En.id]=setInterval(function(){if(En&&En.end(),t!==e.getSessionId()){console.debug("No answer received for own peer but current session id changed, not sending offer again",t,e.getSessionId()),clearInterval(Eo[t]),delete Eo[t];return}console.debug("No answer received for own peer, sending offer again",t),i()},1e4)}function E_(){y.webrtc.isVideoEnabled()?y.webrtc.emit("videoOn"):y.webrtc.emit("videoOff"),y.webrtc.isAudioEnabled()?(y.webrtc.emit("audioOn"),y.webrtc.isSpeaking()?y.webrtc.emit("speaking"):y.webrtc.emit("stoppedSpeaking")):y.webrtc.emit("audioOff")}function Ev(){y.webrtc.emit("nickChanged",Eh.displayName)}function Eb(e){e||(e=0,clearTimeout(Ec)),Ec=setTimeout(function(){if(E_(),Ev(),e?e*=2:e=1e3,e>16e3){Ec=null;return}Eb(e)},e)}function Ey(e){let t=e;return Object.hasOwn(t,"inCall")&&(t=t.inCall),((t=t||rq.CALL_FLAG.DISCONNECTED)&(rq.CALL_FLAG.WITH_AUDIO|rq.CALL_FLAG.WITH_VIDEO))!=0}function EF(e,t,i){let n=e.getSessionId(),r=e.hasFeature("mcu"),a=!1,s=!1;t.forEach(function(i){if(!i.inCall)return;let s=i.sessionId||i.sessionid;if(!s||s===n||Et.includes(s)){s===n&&Et.includes(s)&&A7.playJoin(!0,1===t.length);return}Et.push(s);let o=i.userId||i.userid||null,l=i.nextcloudSessionId||i.nextcloudsessionid||s,u=El.get(s);u||(u=El.add({peerId:s,webRtc:y})),u.setActor(i.actorType,i.actorId),u.setUserId(o),u.setNextcloudSessionId(l),i.internal&&u.set("internal",!0),(!e.hasFeature("mcu")||!i||Ey(i))&&(e.hasFeature("mcu")||!i||Ey(i)||y.webrtc.localStreams.length)||(u.setPeer(null),e.hasFeature("mcu")?Eb():Ev()),a=!0;let d=function(){let t=y.webrtc.createPeer({id:s,type:"video",enableDataChannels:!0,enableSimulcast:e.hasFeature("simulcast"),receiveMedia:{offerToReceiveAudio:1,offerToReceiveVideo:1},sendVideoIfAvailable:e.getSendVideoIfAvailable()});y.emit("createdPeer",t),t.start()};y.webrtc.getPeers(s,"video").length||(r&&Ey(i)?(e.requestOffer(i,"video"),clearInterval(Eo[i.sessionId]),Eo[i.sessionId]=setInterval(function(){console.debug("No offer received for new peer, request offer again",s),e.requestOffer(i,"video")},1e4)):!r&&Ey(Ea)&&(!Ey(i)||sn?Eo[s]=setInterval(function(){y.webrtc.getPeers(s,"video").forEach(function(e){e.end()}),console.debug("No offer nor answer received, sending offer again",s),d()},1e4):console.debug("User has no streams, not sending another offer",s)),y.getLocalScreen()&&Eg(e,s)}),i.forEach(function(e){console.debug("Remove disconnected peer",e),y.removePeers(e),El.remove(e)&&(s=!0),Eo[e]&&(clearInterval(Eo[e]),delete Eo[e],s=!0)}),Et=Em(Et,i),Ea!==rq.CALL_FLAG.DISCONNECTED&&(a?A7.playJoin():s&&A7.playLeave(!1,0===Et.length))}function Ek(e,t){let i,n=Ea,r=e.getSessionId(),a=[],s={};for(i in Ea=rq.CALL_FLAG.DISCONNECTED,t){if(!Object.hasOwn(t,i))continue;let e=t[i];if(e.inCall){if(i===r){Ea=e.inCall;continue}a.push(i),s[i]=e}}if(e.hasFeature("mcu")&&(En||a.length>0&&y.webrtc.localStreams.length)?(Ep(e),Eu.setPeerNeeded(!0)):Eu.setPeerNeeded(!1),n===rq.CALL_FLAG.DISCONNECTED&&Ea!==rq.CALL_FLAG.DISCONNECTED?A7.playJoin(!0,0===Object.keys(s).length):n!==rq.CALL_FLAG.DISCONNECTED&&Ea===rq.CALL_FLAG.DISCONNECTED&&A7.playLeave(!0),n!==rq.CALL_FLAG.DISCONNECTED&&Ea===rq.CALL_FLAG.DISCONNECTED&&Es&&(console.info("Force leaving the call for current participant"),hz.dispatch("leaveCall",{token:Ef.token,participantIdentifier:Eh.participantIdentifier})),Ea===rq.CALL_FLAG.DISCONNECTED)return void EF(e,[],Et);let o=Em(a,Et),l=Em(Et,a),u=[];o.forEach(function(e){u.push(s[e])}),(u.length||l.length)&&EF(e,u,l)}function Ew(e,t,i){El=t,Eu=i,e.on("usersLeft",function(t){Es&&(t.forEach(function(e){delete Ei[e]}),EF(e,[],t))}),e.on("usersChanged",function(t){Es&&(t.forEach(function(e){Ei[e.sessionId||e.sessionid]=e}),Ek(e,Ei))}),e.on("allUsersChangedInCallToDisconnected",function(){Es&&Ek(e,Ei={})}),e.on("participantFlagsChanged",function(e){if(!Es)return;let t=El.get(e.sessionid);t&&(t.set("speaking",(e.flags&rq.SIP_FLAG.SPEAKING)>0),t.set("audioAvailable",(e.flags&rq.SIP_FLAG.MUTE_MICROPHONE)==0),t.set("raisedHand",{state:(e.flags&rq.SIP_FLAG.RAISE_HAND)!=0,timestamp:Date.now()}))}),e.on("usersInRoom",function(t){Es&&(Ei={},t.forEach(function(e){Ei[e.sessionId||e.sessionid]=e}),Ek(e,Ei))}),e.on("beforeJoinCall",function(e,t){Es=!0}),e.on("beforeLeaveCall",function(e,t){Es=!1}),e.on("leaveCall",function(t,i){if(i){Ea=rq.CALL_FLAG.DISCONNECTED;return}E(),A7.playLeave(!0),En&&Eo[En.id]&&(clearInterval(Eo[En.id]),delete Eo[En.id]),Ea=rq.CALL_FLAG.DISCONNECTED,EF(e,[],Et),Ei={},y.leaveCall()}),e.on("message",function(t){if(!Es){console.debug("Message received when not in the call, ignore",t.type,t),t.type="message-to-ignore";return}if("answer"===t.type&&"video"===t.roomType&&Eo[t.from]){clearInterval(Eo[t.from]),delete Eo[t.from];return}if("offer"!==t.type)return;let i=y.webrtc.peers.find(function(e){return!e.sharemyscreen&&e.id===t.from&&e.type===t.roomType&&e.sid!==t.sid});i&&i.end(),"video"===t.roomType&&Eo[t.from]&&(clearInterval(Eo[t.from]),delete Eo[t.from]),e.hasFeature("mcu")&&"screen"===t.roomType&&(t.broadcaster=t.from)}),y=new CJ({autoRequestMedia:!0,debug:!1,autoAdjustMic:!1,audioFallback:!0,connection:e,enableDataChannels:!0,enableSimulcast:e.hasFeature("simulcast"),nick:Eh.displayName}),window.OCA.Talk||(window.OCA.Talk=(0,z.Kh)({})),window.OCA.Talk.SimpleWebRTC=y,e.on("pullMessagesStoppedOnFail",function(){y.leaveCall()}),y.startMedia=function(e,t){let i={audio:!t||!!(t&rq.CALL_FLAG.WITH_AUDIO),video:!t||!!(t&rq.CALL_FLAG.WITH_VIDEO)};y.joinCall(e,i)};let n=function(t,i,n){if(e.hasFeature&&e.hasFeature("mcu")){En&&En.sendDirectly(t,i,n);return}y.sendDirectlyToAll(t,i,n)};function r(t){e.hasFeature("mcu")?Eb():E_(),Ee[t.id]>0&&(Ee[t.id]=0)}function a(t){setTimeout(function(){"disconnected"===t.pc.iceConnectionState&&(t.emit("extendedIceConnectionStateChange","disconnected-long"),!e.hasFeature("mcu")&&Ee[t.id]<5&&"offer"===t.pc.localDescription.type&&"stable"===t.pc.signalingState&&(Ee[t.id]++,console.debug("ICE restart after disconnect.",t.id,t),t.icerestart()))},5e3)}function s(t){Ed||e.settings.turnservers.length||((0,$.s)((0,K.t)("spreed","Could not establish a connection with at least one participant. A TURN server might be needed for your scenario. Please ask your administrator to set one up following {linkstart}this documentation{linkend}.").replace("{linkstart}",'').replace("{linkend}"," ↗"),{timeout:$.r,isHTML:!0}),Ed=!0),e.hasFeature("mcu")?(console.debug("Request offer again",t.id,t),e.requestOffer(t.id,"video"),clearInterval(Eo[t.id]),Eo[t.id]=setInterval(function(){console.debug("No offer received, request offer again",t.id,t),e.requestOffer(t.id,"video")},1e4)):Ee[t.id]<5?"offer"===t.pc.localDescription.type&&"stable"===t.pc.signalingState&&(Ee[t.id]++,console.debug("ICE restart after failure.",t.id,t),t.icerestart()):(console.error("ICE failed after 5 tries.",t.id,t),t.emit("extendedIceConnectionStateChange","failed-no-restart"))}function o(e){Ee[e.id]=0,e.pc.addEventListener("iceconnectionstatechange",function(){switch(e.emit("extendedIceConnectionStateChange",e.pc.iceConnectionState),e.pc.iceConnectionState){case"checking":console.debug("Connecting to peer...",e.id,e);break;case"connected":case"completed":console.debug("Connection established.",e.id,e),r(e);break;case"disconnected":console.debug("Disconnected.",e.id,e),a(e);break;case"failed":console.debug("Connection failed.",e.id,e),s(e);break;case"closed":console.debug("Connection closed.",e.id,e)}})}function l(e){e.pc.addEventListener("connectionstatechange",function(){"failed"!==e.pc.connectionState||"failed"!==e.pc.iceConnectionState&&(e.emit("extendedIceConnectionStateChange",e.pc.connectionState),s(e))})}function u(e){e.pc.addEventListener("signalingstatechange",function(){e.emit("signalingStateChange",e.pc.signalingState)})}function d(e){e.pc.addEventListener("iceconnectionstatechange",function(){switch(e.emit("extendedIceConnectionStateChange",e.pc.iceConnectionState),e.pc.iceConnectionState){case"checking":console.debug("Connecting own peer...",e.id,e);break;case"connected":case"completed":console.debug("Connection established (own peer).",e.id,e);break;case"disconnected":console.debug("Disconnected (own peer).",e.id,e),setTimeout(function(){"disconnected"===e.pc.iceConnectionState&&e.emit("extendedIceConnectionStateChange","disconnected-long")},5e3);break;case"failed":console.debug("Connection failed (own peer).",e.id,e);break;case"closed":console.debug("Connection closed (own peer).",e.id,e)}})}let c=function(e,t){En&&(Eo[En.id]&&(clearInterval(Eo[En.id]),delete Eo[En.id]),En.end()),EF(e,[],Et),Ei={},e.forceReconnect(!0,t)};function h(t){t.pc.addEventListener("negotiationneeded",function(){if(e.hasFeature("mcu")&&t.id!==e.getSessionId()){let i=e.hasFeature("update-sdp");if(i&&("failed"===t.pc.iceConnectionState||"failed"===t.pc.connectionState)&&(i=!1),i&&Eo[t.id])return;e.requestOffer(t.id,"video",i?t.sid:void 0),clearInterval(Eo[t.id]),Eo[t.id]=setInterval(function(){console.debug("(update)",t.id,t),e.requestOffer(t.id,"video",i?t.sid:void 0)},1e4);return}if("new"!==t.pc.iceConnectionState&&"checking"!==t.pc.iceConnectionState){let i=t.pc.getSenders().find(e=>e.track&&"audio"===e.track.kind||e.trackDisabled&&"audio"===e.trackDisabled.kind),n=t.pc.getSenders().find(e=>e.track&&"video"===e.track.kind||e.trackDisabled&&"video"===e.trackDisabled.kind),r=e.getCurrentCallFlags();i?r|=rq.CALL_FLAG.WITH_AUDIO:r&=~rq.CALL_FLAG.WITH_AUDIO,n?r|=rq.CALL_FLAG.WITH_VIDEO:r&=~rq.CALL_FLAG.WITH_VIDEO,c(e,r)}})}let f=t=>{let i=t.find(t=>(t.sessionId||t.sessionid)===e.getSessionId());if(!i||!i.inCall||void 0===i.participantPermissions)return;let n=!!(i.participantPermissions&rq.PERMISSIONS.PUBLISH_AUDIO),r=!!(i.participantPermissions&rq.PERMISSIONS.PUBLISH_VIDEO);if(y.webrtc.isAudioAllowed()===n&&y.webrtc.isVideoAllowed()===r)return;let a=!1,s=!1;y.webrtc.getPeers(null,"video").forEach(e=>{let t=e.pc.getSenders().find(e=>"audio"===e.kind||e.track&&"audio"===e.track.kind||e.trackDisabled&&"audio"===e.trackDisabled.kind),i=e.pc.getSenders().find(e=>"video"===e.kind||e.track&&"video"===e.track.kind||e.trackDisabled&&"video"===e.trackDisabled.kind);a||=!!t,s||=!!i});let o=a&&!n||s&&!r;if(n?y.webrtc.isAudioAllowed()||y.webrtc.mute():y.webrtc.disallowAudio(),r?y.webrtc.isVideoAllowed()||y.webrtc.pauseVideo():y.webrtc.disallowVideo(),y.webrtc.isLocalMediaActive()&&!n&&!r){y.stopLocalVideo(),(!e.hasFeature("mcu")||En)&&c(e,rq.CALL_FLAG.IN_CALL);return}if(y.webrtc.isLocalMediaActive()&&o){let t=e.getCurrentCallFlags();n||(t&=~rq.CALL_FLAG.WITH_AUDIO),r||(t&=~rq.CALL_FLAG.WITH_VIDEO),c(e,t);return}if(y.webrtc.isLocalMediaActive()||!n&&!r)return;let l=t=>{y.off("localMediaStarted",l),y.off("localMediaError",u);let i=rq.CALL_FLAG.IN_CALL;t&&(t.audio&&(i|=rq.CALL_FLAG.WITH_AUDIO),t.video&&e.getSendVideoIfAvailable()&&(i|=rq.CALL_FLAG.WITH_VIDEO)),c(e,i)},u=()=>{y.off("localMediaStarted",l),y.off("localMediaError",u)};y.on("localMediaStarted",l),y.on("localMediaError",u);let d={audio:n,video:r};y.startLocalVideo(d)};function m(e,t,i){return new Promise((n,r)=>{e.pc.getStats(t).then(function(t){let a=!1;t.forEach(function(t){if(!a&&t.mediaType===i&&Object.hasOwn(t,"bytesReceived")&&t.bytesReceived>0){if("video"===i&&t.bytesReceived<2e3){a=!0;return}y.emit("unmute",{id:e.id,name:i}),a=!0}}),a?n():r(Error("No bytes received"))})})}function g(e){clearInterval(e.check_audio_interval),e.check_audio_interval=null}function p(e){clearInterval(e.check_video_interval),e.check_video_interval=null}function _(e,t){y.getPeers(e,"video").forEach(function(e){"audio"===t?g(e):"video"===t&&p(e)})}function b(e){g(e),p(e)}function F(e,t){b(e),e.check_video_interval=setInterval(function(){t.getVideoTracks().forEach(function(t){m(e,t,"video").then(function(){p(e)}).catch(()=>{})})},1e3),e.check_audio_interval=setInterval(function(){t.getAudioTracks().forEach(function(t){m(e,t,"audio").then(function(){g(e)}).catch(()=>{})})},1e3)}e.on("usersInRoom",function(e){f(e)}),e.on("usersChanged",function(e){f(e)}),y.on("createdPeer",function(t){if(console.debug("Peer created",t.id,t),t.id!==e.getSessionId()&&!t.sharemyscreen){let e=El.get(t.id);e||(e=El.add({peerId:t.id,webRtc:y})),"video"===t.type?e.setPeer(t):e.setScreenPeer(t),e.get("internal")&&(t.enableDataChannels=!1)}"video"===t.type&&(t.id===e.getSessionId()?d(t):(o(t),l(t),u(t)),h(t),t.getDataChannel("status"))}),e.hasFeature("mcu")&&(y.on("mute",function(e){_(e.id,e.name)}),y.on("unmute",function(e){_(e.id,e.name)})),y.on("peerStreamAdded",function(t){e.hasFeature("mcu")&&"screen"!==t.type&&F(t,t.stream)}),y.on("peerStreamRemoved",function(e){b(e)}),y.on("peerEnded",function(e){En===e&&(En=null,Eu.setPeer(En)),Er===e&&(Er=null,Eu.setScreenPeer(Er))}),y.webrtc.on("videoOn",function(){if(e.getSendVideoIfAvailable())return;e.setSendVideoIfAvailable(!0);let t=e.getCurrentCallFlags();c(e,t|=rq.CALL_FLAG.WITH_VIDEO)}),y.webrtc.on("iceFailed",function(){e.hasFeature("mcu")&&c(e)});let k=null,w=null,C=null,A=function(){clearTimeout(k),k=null,w&&(w.hideToast(),w=null)},E=function(){C&&(C.hideToast(),C=null)};function S(){let e=rq.CALL_FLAG.IN_CALL;return y.webrtc.hasAudioTrack()&&(e|=rq.CALL_FLAG.WITH_AUDIO),y.webrtc.hasVideoTrack()&&(e|=rq.CALL_FLAG.WITH_VIDEO),e}function x(){return e.hasFeature("mcu")?!!En:y.webrtc.getPeers(null,"video").length>0||Object.keys(Eo).length>0}return y.on("localStreamRequested",function(){A(),k=setTimeout(function(){w=(0,$.s)((0,K.t)("spreed","This is taking longer than expected. Are the media permissions already granted (or rejected)? If yes please restart your browser, as audio and video are failing"),{timeout:$.r})},1e4)}),e.on("leaveRoom",function(t){e.currentRoomToken===t&&(A(),E())}),e.on("joinCall",function(t){let i=S();if(e.getCurrentCallFlags()!==i){if(e.getCurrentCallFlags()===rq.CALL_FLAG.IN_CALL)return void c(e,i);e.updateCurrentCallFlags(i)}}),y.on("localTrackReplaced",function(t,i){let n=S();t&&Et.length>0&&(!x()||e.getCurrentCallFlags()===rq.CALL_FLAG.IN_CALL)?c(e,n):e.getCurrentCallFlags()!==n&&e.updateCurrentCallFlags(n)}),y.on("localMediaStarted",function(){console.info("localMediaStarted"),A(),e.hasFeature("mcu")&&Ep(e)}),y.on("localMediaError",function(e){let t;if(console.warn("Access to microphone & camera failed",e),A(),"TypeError"===e.name)return;let i=$.r;"NotSupportedError"===e.name&&y.capabilities.supportRTCPeerConnection||"NotAllowedError"===e.name&&e.message&&e.message.includes("Only secure origins")?t=(0,K.t)("spreed","Access to microphone & camera is only possible with HTTPS")+": "+(0,K.t)("spreed","Please move your setup to HTTPS"):"NotAllowedError"===e.name?(t=(0,K.t)("spreed","Access to microphone & camera was denied"),i=$.q):y.capabilities.support?(t=(0,K.t)("spreed","Error while accessing microphone & camera"),console.error("Error while accessing microphone & camera: ",e.message,e.name)):(console.error("WebRTC not supported"),t=(0,K.t)("spreed","WebRTC is not supported in your browser")+": "+(0,K.t)("spreed","Please use a different browser like Firefox or Chrome")),C=(0,$.s)(t,{timeout:i})}),y.on("channelOpen",function(e){console.debug("%s datachannel is open",e.label)}),y.on("channelMessage",function(e,t,i){if("audioOn"===i.type)y.emit("unmute",{id:e.id,name:"audio"});else if("audioOff"===i.type)y.emit("mute",{id:e.id,name:"audio"});else if("videoOn"===i.type)y.emit("unmute",{id:e.id,name:"video"});else if("videoOff"===i.type)y.emit("mute",{id:e.id,name:"video"});else if("nickChanged"===i.type){let t="string"==typeof i.payload?i.payload:i.payload.name;y.emit("nick",{id:e.id,name:t})}else"speaking"===i.type||"stoppedSpeaking"===i.type||console.debug("Unknown message type %s from %s datachannel",i.type,t,i,e.id,e)}),y.on("sendToAll",function(t,i){for(let n in Ei){if(!Ei[n].inCall||n===e.getSessionId())continue;let r={to:n,roomType:"video",type:t,payload:i};e.emit("message",r)}}),y.on("speaking",function(){n("status","speaking")}),y.on("stoppedSpeaking",function(){n("status","stoppedSpeaking")}),y.on("audioOn",function(){n("status","audioOn")}),y.on("audioOff",function(){n("status","audioOff")}),y.on("videoOn",function(){n("status","videoOn")}),y.on("videoOff",function(){n("status","videoOff")}),y.on("nickChanged",function(t){let i;n("status","nickChanged",i=null===e.settings.userId?t:{name:t,userid:e.settings.userId}),y.sendToAll("nickChanged",{name:t})}),y.on("localScreenAdded",function(){let t=e.getSessionId();for(let i in Ei)if(Object.hasOwn(Ei,i)){if(!Ei[i].inCall)continue;if(i===t)continue;Eg(e,i)}}),y.on("localScreenStopped",function(){e.hasFeature("mcu")&&e.sendRoomMessage({roomType:"screen",type:"unshareScreen"})}),y.on("disconnected",function(){En&&(Eo[En.id]&&(clearInterval(Eo[En.id]),delete Eo[En.id]),En.end()),Er&&Er.end(),Ea=rq.CALL_FLAG.DISCONNECTED,EF(e,[],Et),Ei={}}),y}__webpack_require__(59191),__webpack_require__(16988);let EC=null,EA=new AH,EE=new AG,ES=new AX,Ex=new AP,ED=null,ET=null,EM=null,EI=null,EB=aX("local","chat","typing-privacy")===ai?new Au(hz):null,EP=null,EL=null,EN={},ER=null;async function Ej(e,t){EP&&(EP("canceled"),EP=null);let{request:i,cancel:n}=hb(a0);EP=n;let r=null;try{(r=(await i({token:e},t)).data.ocs.data).token=e,EP=null}catch(t){(0,aw.FZ)(t)?console.debug("Getting the signaling settings for "+e+" was cancelled by a newer getSignalingSettings"):console.warn("Failed to get the signaling settings for "+e)}return r}async function EO(e,t,i){return Ej(e,{headers:{"Talk-Recording-Random":t,"Talk-Recording-Checksum":i}})}async function Ez(e){let t=await Ej(e);if(t){if(EL&&EL.settings.server!==t.server&&(EC&&(EC.disconnect(),EC=null),EL.disconnect(),EL=null,ER&&(ER.close(),ER=null),EN={}),EL)EL.setSettings(t);else if((EL=mV.createConnection(t)).on("updateSettings",async function(){let t=await Ej(e);console.debug("Received updated settings",t),EL.setSettings(t)}),EB?.setSignaling(EL),ER&&(ER.close(),ER=null),Ao.isEnabled()){let e;try{e=await Ao.isSupported()}catch(e){console.error("Encryption is not supported",e)}e&&(ER=new Ao(EL),EC&&ER.setWebRtc(EC))}EN[e]=!0}}let EU=null,Eq=null,EW=null;function EV(e,t,i,n,r){let a=rq.CALL_FLAG.IN_CALL;t&&(t.audio&&(a|=rq.CALL_FLAG.WITH_AUDIO),t.video&&e.getSendVideoIfAvailable()&&(a|=rq.CALL_FLAG.WITH_VIDEO)),e.joinCall(EU,a,i,n,r).then(()=>{Eq(a)}).catch(e=>{EY(EU),EW(e)})}function EH(){EC||(EC=Ew(EL,EA,EE),ER&&ER.setWebRtc(EC),EE.setWebRtc(EC),ES.setWebRtc(EC),EL.on("sessionId",e=>{EE.setPeerId(e)}))}async function E$(e,t){await Ez(e),EN[e]&&await EL.joinRoom(e,t)}async function EG(e,t,i,n,r){if(EN[e]){EU=e,EH(),EM=new A1(ES,EA,EC.webrtc._videoTrackConstrainer),EI=new A2(hz,ES,EE,EA),ED=EL.hasFeature("mcu")?new AA(ES,EE,EA):new AA(ES,null,EA),ET=new AS(EA,my);let a=EL;return new Promise((s,o)=>{Eq=s,EW=o;let l=!ak.getItem("audioDisabled_"+e),u=!ak.getItem("videoDisabled_"+e),d=!!ak.getItem("virtualBackgroundEnabled_"+e),c=ak.getItem("virtualBackgroundType_"+e),h=ak.getItem("virtualBackgroundBlurStrength_"+e),f=ak.getItem("virtualBackgroundUrl_"+e);ES.set("token",e),l?ES.enableAudio():ES.disableAudio(),u?ES.enableVideo():ES.disableVideo(),d?ES.enableVirtualBackground():ES.disableVirtualBackground(),c===al?ES.setVirtualBackgroundImage(f):c===au?ES.setVirtualBackgroundVideo(f):ES.setVirtualBackgroundBlur(h);let m=e=>{EC.off("localMediaStarted",m),EC.off("localMediaError",g),EV(a,e,i,n,r)},g=()=>{EC.off("localMediaStarted",m),EC.off("localMediaError",g),EV(a,null,i,n,r)};EC.on("localMediaStarted",m),EC.on("localMediaError",g),EC.startMedia(e,t)})}}async function EX(e){let t,i,n=new Promise((e,n)=>{t=e,i=n}),r=()=>{e.off("connect",r),e.off("error",a),t()},a=t=>{("invalid_token"===t.code||"invalid_client_type"===t.code)&&(e.off("connect",r),e.off("error",a),"invalid_token"===t.code?i(Error("Authentication failed for signaling server: "+e.settings.server)):"invalid_client_type"===t.code&&i(Error("Internal clients are not supported by the signaling server, is 'internalsecret' set in the signaling server configuration file?")))};e.on("connect",r),e.on("error",a),await n}async function EK(e,t,i){Ex.set("audioInputId",null),Ex.set("videoInputId",null),t.helloAuthParams.internal=i,EL=mV.createConnection(t),await EX(EL),EL.doSend({type:"internal",internal:{type:"incall",incall:{incall:rq.CALL_FLAG.IN_CALL}}}),await EL.joinRoom(e),EU=e,EH(),ET=new AS(EA);let n=EL;return new Promise((t,i)=>{Eq=t,EW=i;let r=!0;ES.disableAudio(),ES.disableVideo(),ES.disableVirtualBackground();let a=e=>{EC.off("localMediaStarted",a),EC.off("localMediaError",s),EV(n,e,r)},s=()=>{EC.off("localMediaStarted",a),EC.off("localMediaError",s),EV(n,null,r)};EC.on("localMediaStarted",a),EC.on("localMediaError",s),EC.startMedia(e,rq.CALL_FLAG.IN_CALL)})}async function EY(e,t=!1){EM.destroy(),EM=null,EI.destroy(),EI=null,ED.destroy(),ED=null,ET.destroy(),ET=null,EN[e]&&await EL.leaveCall(e,!1,t)}async function EQ(e){EN[e]&&await EL.leaveRoom(e)}function EZ(){EL&&EL.disconnect()}async function EJ(e){await EL.sendCallMessage(e)}function E0(e){EB?.setTyping(e)}async function E1(e,t,i,n,r){return EG(e,t,i,n,r)}async function E2(e,t=!1){try{await EY(e,t)}catch(e){console.debug("Error while leaving call: ",e)}}async function E3(e,t){return await aw.Ay.get((0,O.KT)("apps/spreed/api/v4/call/{token}",{token:e}),t)}async function E4(e,t){return aw.Ay.post((0,O.KT)("apps/spreed/api/v4/call/{token}/dialout/{attendeeId}",{token:e,attendeeId:t}))}async function E6(e){await Se(e,{type:"hangup"})}async function E5(e){await Se(e,{type:"mute",audio:rq.SIP_DIALOUT_FLAG.MUTE_MICROPHONE})}async function E8(e){await Se(e,{type:"mute",audio:rq.SIP_DIALOUT_FLAG.NONE})}async function E9(e){await Se(e,{type:"mute",audio:rq.SIP_DIALOUT_FLAG.MUTE_MICROPHONE|rq.SIP_DIALOUT_FLAG.MUTE_SPEAKER})}async function E7(e,t){await Se(e,{type:"dtmf",digit:t})}async function Se(e,t){if(!e)return void console.debug("Session ID has not been provided");try{await EJ({type:"control",payload:t,to:e})}catch(e){console.debug("Error while sending message: ",e)}}let St={name:"CallButton",components:{NcActions:e3.A,NcActionButton:e2.N,NcButton:e7.A,IconArrowLeft:iu,IconChevronUp:tl,IconPhone:i_,IconPhoneDialOutline:iC,IconPhoneHangupOutline:iM,IconPhoneOffOutline:ij,IconPhoneOutline:iH,NcLoadingIcon:te.N},props:{disabled:{type:Boolean,default:!1},isMediaSettings:{type:Boolean,default:!1},silentCall:{type:Boolean,default:!1},isRecordingFromStart:{type:Boolean,default:!1},recordingConsentGiven:{type:Boolean,default:!1},isScreensharing:{type:Boolean,default:!1},hideText:{type:Boolean,default:!1},shrinkOnMobile:{type:Boolean,default:!1}},setup:()=>({actorStore:of(),tokenStore:u_(),token:iQ(),isInCall:aI(),breakoutRoomsStore:oE(),callViewStore:aT(),talkHashStore:aR(),settingsStore:cK(),soundsStore:A8(),isMobile:(0,Z.al)()}),data:()=>({loading:!1,callEnabled:!1}),computed:{isNextcloudTalkHashDirty(){return this.talkHashStore.isNextcloudTalkHashDirty||this.talkHashStore.isNextcloudTalkProxyHashDirty[this.token]},conversation(){return this.$store.getters.conversation(this.token)||this.$store.getters.dummyConversation},showButtonText(){return!this.hideText&&(!this.isMobile||!this.shrinkOnMobile)},showRecordingWarning(){return[nY,nQ,nX,nK].includes(this.conversation.callRecording)||this.conversation.recordingConsent===nZ},showMediaSettings(){return this.settingsStore.showMediaSettings},participantType(){return this.conversation.participantType},canEndForAll(){return(this.participantType===rq.TYPE.OWNER||this.participantType===rq.TYPE.MODERATOR||this.participantType===rq.TYPE.GUEST_MODERATOR)&&!this.isBreakoutRoom},hasCall(){return this.conversation.hasCall},startCallButtonDisabled(){return this.disabled||this.callViewStore.callHasJustEnded&&!this.hasCall||!this.conversation.canStartCall&&!this.hasCall||this.isInLobby||this.conversation.readOnly||this.isNextcloudTalkHashDirty||!this.tokenStore.currentConversationIsJoined||mS},leaveCallLabel:()=>(0,K.t)("spreed","Leave call"),backToMainRoomLabel:()=>(0,K.t)("spreed","Back to main room"),leaveCallActionsLabel:()=>(0,K.t)("spreed","More actions"),startCallLabel(){return this.hasCall&&!this.isInLobby?(0,K.t)("spreed","Join call"):this.isJoiningCall?(0,K.t)("spreed","Connecting …"):this.silentCall?(0,K.t)("spreed","Start call silently"):(0,K.t)("spreed","Start call")},endCallLabel:()=>(0,K.t)("spreed","End call"),startCallTitle(){return this.isNextcloudTalkHashDirty?(0,K.t)("spreed","Nextcloud Talk was updated, you cannot start or join a call.")+" "+aL:this.callViewStore.callHasJustEnded?(0,K.t)("spreed","This call has just ended"):mS?mx:this.conversation.canStartCall||this.hasCall?"":(0,K.t)("spreed","You will be able to join the call only after a moderator starts it.")},showStartCallButton(){return this.callEnabled&&this.conversation.type!==nJ.TYPE.NOTE_TO_SELF&&this.conversation.readOnly===nJ.STATE.READ_WRITE&&(!this.conversation.remoteServer||aG(this.token,"federation-v2"))&&!this.isInCall},showLeaveCallButton(){return this.conversation.readOnly===nJ.STATE.READ_WRITE&&this.isInCall},isBreakoutRoom(){return this.conversation.objectType===nJ.OBJECT_TYPE.BREAKOUT_ROOM},isPhoneRoom(){return this.conversation.objectId===nJ.OBJECT_ID.PHONE_OUTGOING&&(this.conversation.objectType===nJ.OBJECT_TYPE.PHONE_LEGACY||this.conversation.objectType===nJ.OBJECT_TYPE.PHONE_PERSISTENT||this.conversation.objectType===nJ.OBJECT_TYPE.PHONE_TEMPORARY)},isInLobby(){return this.$store.getters.isInLobby},isJoiningCall(){return this.$store.getters.isJoiningCall(this.token)},leaveCallButtonVariant(){return this.isScreensharing?"tertiary":this.isBreakoutRoom?"primary":"error"}},watch:{token(e,t){this.callViewStore.resetCallHasJustEnded(),this.talkHashStore.resetTalkProxyHashDirty(t)}},mounted(){this.callEnabled=(0,X.C)("spreed","call_enabled")},methods:{t:K.t,isParticipantTypeModerator:e=>[rq.TYPE.OWNER,rq.TYPE.MODERATOR,rq.TYPE.GUEST_MODERATOR].includes(e),async joinCall(){let e=rq.CALL_FLAG.IN_CALL;if(this.conversation.permissions&rq.PERMISSIONS.PUBLISH_AUDIO&&(e|=rq.CALL_FLAG.WITH_AUDIO),this.conversation.permissions&rq.PERMISSIONS.PUBLISH_VIDEO&&!this.isPhoneRoom&&(e|=rq.CALL_FLAG.WITH_VIDEO),console.info("Joining call"),this.loading=!0,(0,G.Ic)("toggle-navigation",{open:!1}),await this.$store.dispatch("joinCall",{token:this.token,participantIdentifier:this.actorStore.participantIdentifier,flags:e,silent:!!this.hasCall||this.silentCall,recordingConsent:this.recordingConsentGiven}),this.loading=!1,this.isRecordingFromStart&&this.$store.dispatch("startCallRecording",{token:this.token,callRecording:nX}),this.isPhoneRoom){let e=this.$store.getters.participantsList(this.token).find(e=>e.actorType===n7)?.attendeeId;e&&this.dialOutPhoneNumber(e)}},async leaveCall(e=!1){e?console.info("End meeting for everyone"):console.info("Leaving call"),this.callViewStore.setSelectedVideoPeerId(null),this.loading=!0,this.isMobile||(0,G.Ic)("toggle-navigation",{open:!0}),await this.$store.dispatch("leaveCall",{token:this.token,participantIdentifier:this.actorStore.participantIdentifier,all:e}),this.loading=!1},handleClick(){if(this.soundsStore.initAudioObjects(),this.isMediaSettings||this.isPhoneRoom){(0,G.Ic)("talk:media-settings:hide"),this.joinCall();return}this.showRecordingWarning||this.showMediaSettings?(0,G.Ic)("talk:media-settings:show"):((0,G.Ic)("talk:media-settings:hide"),this.joinCall())},async switchToParentRoom(){iZ.emit("switch-to-conversation",{token:this.breakoutRoomsStore.getParentRoomToken(this.token)})},async dialOutPhoneNumber(e){try{await E4(this.token,e)}catch(e){e?.response?.data?.ocs?.data?.message?(0,$.s)((0,K.t)("spreed","Phone number could not be called: {error}",{error:e?.response?.data?.ocs?.data?.message})):(console.error(e),(0,$.s)((0,K.t)("spreed","Phone number could not be called")))}}}},Si=(0,to.default)(St,[["render",it],["__scopeId","data-v-4cbe2873"]]);function Sn(e,t,i,n,r,a){let s=(0,z.g2)("IconEmoticonOutline"),o=(0,z.g2)("NcActionButton"),l=(0,z.g2)("NcActionButtonGroup"),u=(0,z.g2)("NcActions");return(0,z.uX)(),(0,z.Wv)(u,{variant:"tertiary",title:a.t("spreed","Send a reaction"),"aria-label":a.t("spreed","Send a reaction"),class:"reaction"},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{size:20})]),default:(0,z.k6)(()=>[(0,z.bF)(l,{class:"reaction__group",style:(0,z.Tr)({"--reactions-in-single-row":a.reactionsInSingleRow})},{default:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(i.supportedReactions,(e,t)=>((0,z.uX)(),(0,z.Wv)(o,{key:t,"aria-label":a.t("spreed","React with {reaction}",{reaction:e}),class:"reaction__button",onClick:t=>a.throttledSendReaction(e)},{icon:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e),1)]),_:2},1032,["aria-label","onClick"]))),128))]),_:1},8,["style"])]),_:1},8,["title","aria-label"])}var Sr=__webpack_require__(69106),Sa=__webpack_require__(34163),Ss=__webpack_require__(65112);(0,Sr.r)();let So=(0,z.pM)({name:"NcActionButtonGroup",inject:{isInSemanticMenu:{from:Ss.a,default:!1}},props:{name:{required:!1,default:void 0,type:String}},setup:()=>({labelId:(0,Sa.c)()}),methods:{t:Sr.a}}),Sl=["role"],Su=["id"],Sd=["aria-labelledby"];function Sc(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("li",{class:"nc-button-group-base",role:e.isInSemanticMenu&&"presentation"},[e.name?((0,z.uX)(),(0,z.CE)("div",{key:0,id:e.labelId},(0,z.v_)(e.name),9,Su)):(0,z.Q3)("",!0),(0,z.Lk)("ul",{class:"nc-button-group-content",role:"group","aria-labelledby":e.name?e.labelId:void 0},[(0,z.RG)(e.$slots,"default")],8,Sd)],8,Sl)}let Sh=(0,e4._)(So,[["render",Sc],["__scopeId","data-v-6a2b8de0"]]),Sf=["aria-hidden","aria-label"],Sm=["fill","width","height"],Sg={d:"M12,17.5C14.33,17.5 16.3,16.04 17.11,14H6.89C7.69,16.04 9.67,17.5 12,17.5M8.5,11A1.5,1.5 0 0,0 10,9.5A1.5,1.5 0 0,0 8.5,8A1.5,1.5 0 0,0 7,9.5A1.5,1.5 0 0,0 8.5,11M15.5,11A1.5,1.5 0 0,0 17,9.5A1.5,1.5 0 0,0 15.5,8A1.5,1.5 0 0,0 14,9.5A1.5,1.5 0 0,0 15.5,11M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Sp={key:0};function S_(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon emoticon-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Sg,[i.title?((0,z.uX)(),(0,z.CE)("title",Sp,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Sm))],16,Sf)}let Sv={name:"EmoticonOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sb=(0,to.default)(Sv,[["render",S_]]),Sy={name:"ReactionMenu",components:{NcActions:e3.A,NcActionButton:e2.N,NcActionButtonGroup:Sh,IconEmoticonOutline:Sb},props:{token:{type:String,required:!0},localCallParticipantModel:{type:Object,required:!0},supportedReactions:{type:Array,validator:e=>e.every(e=>"string"==typeof e),required:!0}},data:()=>({throttleTimer:null}),computed:{reactionsInSingleRow(){return Math.ceil(this.supportedReactions.length/2)}},methods:{t:K.t,throttledSendReaction(e){this.throttleTimer||(this.sendReaction(e),this.throttleTimer=setTimeout(()=>{this.throttleTimer=null},2e3))},sendReaction(e){this.localCallParticipantModel.sendReaction(e),(0,G.Ic)("send-reaction",{model:this.localCallParticipantModel,reaction:e})}}},SF=(0,to.default)(Sy,[["render",Sn],["__scopeId","data-v-32d49ea8"]]),Sk={class:"buttons-bar"},Sw={class:"network-connection-state"},SC={class:"hint"},SA={class:"hint__actions"};function SE(e,t,i,n,r,a){let s=(0,z.g2)("IconNetworkStrength2Alert"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("NcPopover"),u=(0,z.g2)("LocalAudioControlButton"),d=(0,z.g2)("LocalVideoControlButton"),c=(0,z.g2)("NcIconSvgWrapper"),h=(0,z.g2)("IconMonitorOff"),f=(0,z.g2)("IconMonitor"),m=(0,z.g2)("NcActionButton"),g=(0,z.g2)("NcActions"),p=(0,z.g2)("IconMonitorShare");return(0,z.uX)(),(0,z.CE)("div",Sk,[(0,z.Lk)("div",Sw,[a.qualityWarningTooltip?((0,z.uX)(),(0,z.Wv)(l,{key:0,boundary:r.boundaryElement,"aria-label":a.qualityWarningAriaLabel,trigger:"hover",autoHide:!1,noFocusTrap:"",shown:a.showQualityWarningTooltip},{trigger:(0,z.k6)(()=>[(0,z.bF)(o,{id:"quality_warning_button",variant:"tertiary-no-background",class:"trigger","aria-label":a.qualityWarningAriaLabel,onClick:t[0]||(t[0]=e=>r.mouseover=!r.mouseover)},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{fillColor:"#e9322d",size:20})]),_:1},8,["aria-label"])]),default:(0,z.k6)(()=>[(0,z.Lk)("div",SC,[(0,z.Lk)("span",null,(0,z.v_)(a.qualityWarningTooltip.content),1),(0,z.Lk)("div",SA,[a.qualityWarningTooltip.action?((0,z.uX)(),(0,z.Wv)(o,{key:0,variant:"primary",class:"hint__button",onClick:a.executeQualityWarningTooltipAction},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.qualityWarningTooltip.actionLabel),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),r.isQualityWarningTooltipDismissed?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(o,{key:1,variant:"tertiary",class:"hint__button",onClick:a.dismissQualityWarningTooltip},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Dismiss")),1)]),_:1},8,["onClick"]))])])]),_:1},8,["boundary","aria-label","shown"])):(0,z.Q3)("",!0)]),(0,z.bF)(u,{token:i.token,conversation:a.conversation,model:i.model,showDevices:!i.isSidebar,variant:"tertiary"},null,8,["token","conversation","model","showDevices"]),(0,z.bF)(d,{token:i.token,conversation:a.conversation,model:i.model,showDevices:!i.isSidebar,variant:"tertiary"},null,8,["token","conversation","model","showDevices"]),i.hideVirtualBackgroundShortcut?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(o,{key:0,"aria-label":a.t("spreed","Select virtual background"),title:a.t("spreed","Select virtual background"),variant:"tertiary",onClick:t[1]||(t[1]=(0,z.D$)(e=>a.emit("talk:media-settings:show","backgrounds"),["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(c,{svg:n.IconBackground,size:20},null,8,["svg"])]),_:1},8,["aria-label","title"])),!i.isSidebar&&a.isScreensharing?((0,z.uX)(),(0,z.Wv)(g,{key:1,id:"screensharing-button",open:r.screenSharingMenuOpen,"onUpdate:open":t[2]||(t[2]=e=>r.screenSharingMenuOpen=e),title:a.screenSharingButtonTitle,variant:"error","aria-label":a.screenSharingButtonAriaLabel,class:(0,z.C4)([a.screenSharingButtonClass,"app-navigation-entry-utils-menu-button"]),boundariesElement:r.boundaryElement,disabled:!a.isScreensharingAllowed},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),default:(0,z.k6)(()=>[(0,z.bF)(m,{closeAfterClick:"",onClick:a.showScreen},{icon:(0,z.k6)(()=>[(0,z.bF)(f,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Show your screen")),1)]),_:1},8,["onClick"]),(0,z.bF)(m,{closeAfterClick:"",onClick:a.stopScreen},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Stop screensharing")),1)]),_:1},8,["onClick"])]),_:1},8,["open","title","aria-label","class","boundariesElement","disabled"])):i.isSidebar?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(o,{key:2,title:a.screenSharingButtonTitle,variant:"tertiary","aria-label":a.screenSharingButtonAriaLabel,disabled:!a.isScreensharingAllowed,onClick:(0,z.D$)(a.toggleScreenSharingMenu,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(p,{size:20})]),_:1},8,["title","aria-label","disabled","onClick"]))])}var SS=__webpack_require__(70580),Sx=__webpack_require__.n(SS),SD=__webpack_require__(82510),ST=__webpack_require__(68690);let SM=["aria-hidden","aria-label"],SI=["fill","width","height"],SB={d:"M21,16H3V4H21M21,2H3C1.89,2 1,2.89 1,4V16A2,2 0 0,0 3,18H10V20H8V22H16V20H14V18H21A2,2 0 0,0 23,16V4C23,2.89 22.1,2 21,2Z"},SP={key:0};function SL(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon monitor-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",SB,[i.title?((0,z.uX)(),(0,z.CE)("title",SP,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,SI))],16,SM)}let SN={name:"MonitorIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},SR=(0,to.default)(SN,[["render",SL]]),Sj=["aria-hidden","aria-label"],SO=["fill","width","height"],Sz={d:"M14,18V20H16V22H8V20H10V18H3A2,2 0 0,1 1,16V4L0,3L1.41,1.58L22.16,22.34L20.75,23.75L15,18H14M3,16H13L3,6V16M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H20.66L18.66,16H21V4H6.66L4.66,2H21Z"},SU={key:0};function Sq(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon monitor-off-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Sz,[i.title?((0,z.uX)(),(0,z.CE)("title",SU,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,SO))],16,Sj)}let SW={name:"MonitorOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},SV=(0,to.default)(SW,[["render",Sq]]),SH=["aria-hidden","aria-label"],S$=["fill","width","height"],SG={d:"M23 4V16C23 17.11 22.11 18 21 18H15V16H21V4H3V16H9V18H3C1.9 18 1 17.11 1 16V4C1 2.89 1.89 2 3 2H21C22.1 2 23 2.89 23 4M13 13H16L12 9L8 13H11V20H8V22H16V20H13V13Z"},SX={key:0};function SK(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon monitor-share-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",SG,[i.title?((0,z.uX)(),(0,z.CE)("title",SX,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,S$))],16,SH)}let SY={name:"MonitorShareIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},SQ=(0,to.default)(SY,[["render",SK]]),SZ=["aria-hidden","aria-label"],SJ=["fill","width","height"],S0={d:"M21 1L1 21H17V19H13V11.8L19 5.8V9H21M19 11V17H21V11M19 19V21H21V19"},S1={key:0};function S2(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon network-strength2-alert-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",S0,[i.title?((0,z.uX)(),(0,z.CE)("title",S1,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,SJ))],16,SZ)}let S3={name:"NetworkStrength2AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},S4=(0,to.default)(S3,[["render",S2]]),S6={class:"local-audio-control-wrapper"},S5={class:"popover-hint"};function S8(e,t,i,n,r,a){let s=(0,z.g2)("VolumeIndicator"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("NcPopover"),u=(0,z.g2)("IconChevronUp"),d=(0,z.g2)("NcActionCaption"),c=(0,z.g2)("NcActionButton"),h=(0,z.g2)("NcActionSeparator"),f=(0,z.g2)("NcActions");return(0,z.uX)(),(0,z.CE)("div",S6,[(0,z.bF)(l,{ref:"popover",boundary:n.boundaryElement,showTriggers:[],hideTriggers:["click"],autoHide:!1,noFocusTrap:"",shown:n.popupShown},{trigger:(0,z.k6)(()=>[(0,z.bF)(o,{title:a.audioButtonTitle,variant:n.audioStreamError?"error":i.variant,"aria-label":a.audioButtonAriaLabel,class:(0,z.C4)({"no-audio-available":!a.isAudioAvailable,"audio-control-button":i.showDevices}),disabled:n.resumeAudioAfterChange,onClick:(0,z.D$)(a.toggleAudio,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{audioPreviewAvailable:a.isAudioAvailable,audioEnabled:a.showMicrophoneOn||n.resumeAudioAfterChange,currentVolume:i.model.attributes.currentVolume,volumeThreshold:i.model.attributes.volumeThreshold,overlayMutedColor:"#888888"},null,8,["audioPreviewAvailable","audioEnabled","currentVolume","volumeThreshold"])]),_:1},8,["title","variant","aria-label","class","disabled","onClick"])]),default:(0,z.k6)(()=>[(0,z.Lk)("div",S5,[(0,z.Lk)("span",null,(0,z.v_)(n.speakingWhileMutedWarner?.message),1)])]),_:1},8,["boundary","shown"]),i.showDevices?((0,z.uX)(),(0,z.Wv)(f,{key:0,disabled:!a.isAudioAllowed&&!n.audioOutputSupported||!!n.audioStreamError,class:(0,z.C4)(["audio-selector-button",{"no-audio-available":!a.isAudioAvailable}]),onOpen:n.updateDevices},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:16})]),default:(0,z.k6)(()=>[a.isAudioAllowed?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.bF)(d,{name:a.t("spreed","Select a microphone")},null,8,["name"]),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.audioInputDevices,e=>((0,z.uX)(),(0,z.Wv)(c,{key:e.deviceId??"none",class:"audio-selector__action",type:"radio",modelValue:n.audioInputId,value:e.deviceId,title:e.label,onClick:t=>a.handleAudioInputIdChange(e.deviceId)},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e.label),1)]),_:2},1032,["modelValue","value","title","onClick"]))),128))],64)):(0,z.Q3)("",!0),a.isAudioAllowed&&n.audioOutputSupported?((0,z.uX)(),(0,z.Wv)(h,{key:1})):(0,z.Q3)("",!0),n.audioOutputSupported?((0,z.uX)(),(0,z.CE)(z.FK,{key:2},[(0,z.bF)(d,{name:a.t("spreed","Select a speaker")},null,8,["name"]),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.audioOutputDevices,e=>((0,z.uX)(),(0,z.Wv)(c,{key:e.deviceId??"none",class:"audio-selector__action",type:"radio",modelValue:n.audioOutputId,value:e.deviceId,title:e.label,onClick:t=>a.handleAudioOutputIdChange(e.deviceId)},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e.label),1)]),_:2},1032,["modelValue","value","title","onClick"]))),128))],64)):(0,z.Q3)("",!0),(0,z.bF)(h),a.isAudioAllowed?((0,z.uX)(),(0,z.Wv)(c,{key:"advanced-settings",class:"audio-selector__action",closeAfterClick:"",onClick:a.openAdvancedSettings},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Microphone settings")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),(0,z.bF)(c,{key:"media-settings",class:"audio-selector__action",closeAfterClick:"",onClick:t[0]||(t[0]=e=>a.emit("talk:media-settings:show"))},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Check devices")),1)]),_:1})]),_:1},8,["disabled","class","onOpen"])):(0,z.Q3)("",!0)])}let S9={name:"NcActionCaption",inject:{isInSemanticMenu:{from:Ss.a,default:!1}},props:{name:{type:String,required:!0}}},S7=["role"];function xe(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("li",{class:"app-navigation-caption",role:a.isInSemanticMenu&&"presentation"},(0,z.v_)(i.name),9,S7)}let xt=(0,e4._)(S9,[["render",xe],["__scopeId","data-v-1009e96c"]]);var xi=__webpack_require__(52480);let xn=(0,z.pM)({__name:"NcFormBox",props:{row:{type:Boolean}},setup(e){let t=(0,z.D)();return(0,z.Gt)(xi.N,{isInFormBox:!0,formBoxItemClass:t.ncFormBox__item}),(e,t)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)([e.$style.ncFormBox,e.row?e.$style.ncFormBox_row:e.$style.ncFormBox_col])},[(0,z.RG)(e.$slots,"default",{itemClass:e.$style.ncFormBox__item})],2))}}),xr={$style:{"material-design-icon":"_material-design-icon_mubdv",ncFormBox:"_ncFormBox_TawZT",ncFormBox_row:"_ncFormBox_row_ZnhfS",ncFormBox__item:"_ncFormBox__item_7zc34",ncFormBox_col:"_ncFormBox_col_wHCZx"}},xa=(0,e4._)(xn,[["__cssModules",xr]]);var xs=__webpack_require__(97172);let xo=["id"],xl=(0,z.pM)({inheritAttrs:!1,__name:"NcFormBoxItem",props:{tag:{},label:{default:()=>void 0},description:{default:()=>void 0},invertedAccent:{type:Boolean,default:!1},class:{default:()=>void 0},itemClasses:{default:()=>void 0}},emits:["click"],setup(e){let t=(0,z.Ht)(),{formBoxItemClass:i}=(0,xi.u)(),n=(0,Sa.c)(),r=()=>!!e.description||!!t.description;return(t,a)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)([e.class,t.$style.formBoxItem,(0,z.R1)(i),{[t.$style.formBoxItem_inverted]:t.invertedAccent&&r(),[t.$style.formBoxItem_legacy]:(0,z.R1)(xs.i)}])},[(0,z.Lk)("span",{class:(0,z.C4)(t.$style.formBoxItem__content)},[((0,z.uX)(),(0,z.Wv)((0,z.$y)(t.tag),(0,z.v6)({class:[t.$style.formBoxItem__element,t.itemClasses]},t.$attrs,{onClick:a[0]||(a[0]=e=>t.$emit("click",e))}),{default:(0,z.k6)(()=>[(0,z.RG)(t.$slots,"default",{descriptionId:(0,z.R1)(n)},()=>[(0,z.eW)((0,z.v_)(t.label||"⚠️ Label is missing"),1)])]),_:3},16,["class"])),r()?((0,z.uX)(),(0,z.CE)("span",{key:0,id:(0,z.R1)(n),class:(0,z.C4)(t.$style.formBoxItem__description)},[(0,z.RG)(t.$slots,"description",{},()=>[(0,z.eW)((0,z.v_)(t.description),1)])],10,xo)):(0,z.Q3)("",!0)],2),(0,z.Lk)("span",{class:(0,z.C4)(t.$style.formBoxItem__icon)},[(0,z.RG)(t.$slots,"icon",{descriptionId:(0,z.R1)(n)},()=>[a[1]||(a[1]=(0,z.eW)(" ⚠️ Icon is missing ",-1))])],2)],2))}}),xu={$style:{"material-design-icon":"_material-design-icon_D2F-K",formBoxItem:"_formBoxItem_74l6r",formBoxItem_legacy:"_formBoxItem_legacy_IgNr3",formBoxItem_inverted:"_formBoxItem_inverted_9GGkh",formBoxItem__element:"_formBoxItem__element_YEZDA",formBoxItem__description:"_formBoxItem__description_1GjPD",formBoxItem__content:"_formBoxItem__content_CcZbG",formBoxItem__icon:"_formBoxItem__icon_eZXNE"}},xd=(0,e4._)(xl,[["__cssModules",xu]]);var xc=__webpack_require__(1176);let xh=["id","aria-describedby","disabled"],xf=(0,z.pM)({__name:"NcFormBoxSwitch",props:(0,z.zz)({label:{default:()=>void 0},description:{default:()=>void 0},disabled:{type:Boolean,default:!1}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:(0,z.zz)(["enable","disable"],["update:modelValue"]),setup(e,{emit:t}){let i=(0,z.fn)(e,"modelValue"),n=t,r=(0,Sa.c)();return(0,z.wB)(i,()=>{i.value?n("enable"):n("disable")},{flush:"sync"}),(e,t)=>((0,z.uX)(),(0,z.Wv)(xd,{tag:"label",for:(0,z.R1)(r)},(0,z.eX)({icon:(0,z.k6)(({descriptionId:n})=>[(0,z.bo)((0,z.Lk)("input",{id:(0,z.R1)(r),"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),class:(0,z.C4)(e.$style.formBoxSwitch__input),type:"checkbox",role:"switch","aria-describedby":n,disabled:e.disabled},null,10,xh),[[z.lH,i.value]]),(0,z.bF)(xc.N,{checked:i.value,inline:""},null,8,["checked"])]),_:2},[e.$slots.default||e.label?{name:"default",fn:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"default",{},()=>[(0,z.eW)((0,z.v_)(e.label),1)])]),key:"0"}:void 0,e.$slots.description||e.description?{name:"description",fn:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"description",{},()=>[(0,z.eW)((0,z.v_)(e.description),1)])]),key:"1"}:void 0]),1032,["for"]))}}),xm={$style:{"material-design-icon":"_material-design-icon_YAxyJ",formBoxSwitch__input:"_formBoxSwitch__input_e7y7s"}},xg=(0,e4._)(xf,[["__cssModules",xm]]),xp=0,x_=(0,z.KR)(null),xv=(0,i$.F)(function(){let e=!1,t=0,i=0,n=A8(),r=(0,z.KR)(null),a=(0,z.KR)(null);window.OCA.Talk.mediaDevicesManager=Ex;let s=(0,z.KR)(-100),o=(0,z.KR)(-100),l=(0,z.KR)(null),u=(0,z.KR)(null),d=(0,z.KR)(null),c=(0,z.KR)(null),h=(0,z.KR)(null),f=(0,z.EW)(()=>Ex.attributes.devices),m=(0,z.EW)({get:()=>Ex.attributes.audioInputId,set(e){Ex.set("audioInputId",e)}}),g=(0,z.EW)(()=>!!m.value&&!!u.value),p=(0,z.EW)(()=>{if(!u.value)return null;let e=u.value.getAudioTracks();return e.length<1?null:e[0].getSettings().deviceId}),_=(0,z.EW)({get:()=>Ex.attributes.audioOutputId,set(e){Ex.set("audioOutputId",e)}}),b=(0,z.EW)(()=>Ex.isAudioOutputSelectSupported),y=(0,z.EW)({get:()=>Ex.attributes.videoInputId,set(e){Ex.set("videoInputId",e)}}),F=(0,z.EW)(()=>!!y.value&&!!c.value),k=(0,z.EW)(()=>{if(!c.value)return null;let e=c.value.getVideoTracks();return e.length<1?null:e[0].getSettings().deviceId});function w(){e||(e=!0,Ex.isSupported()||(d.value={message:"MediaDevicesManager is not supported",name:"NotSupportedError"},h.value={message:"MediaDevicesManager is not supported",name:"NotSupportedError"}),l.value=new CK,l.value.setEnabled(!1),a.value=new g8,a.value.addInputTrackSlot("video"),l.value.connectTrackSink("default",a.value,"video"),Ex.enableDeviceEvents(),D(),B(),Ex.attributes.audioOutputId!==n.audioOutputDeviceId&&n.setGeneralAudioOutput(Ex.attributes.audioOutputId))}function C(){e&&(e=!1,E(),M(),Ex.disableDeviceEvents(),a.value=null,l.value&&(l.value.destroy(),l.value=null),x_.value=null)}function A(e){u.value=e,e&&(r.value=g2()(e),r.value.on("volume_change",(e,t)=>{s.value=e,o.value=t}))}function E(){u.value&&(u.value.getTracks().forEach(e=>e.stop()),u.value=null,d.value=null,r.value&&(r.value.off("volume_change"),r.value.stop(),r.value=null))}function S(){let e=t>1;t=0,e&&D()}function x(e){x_.value=e,x_.value&&c.value&&T(c.value)}function D(i=!1){!Ex.isSupported()||!i&&p.value&&p.value===m.value||(t?t++:(E(),null!==m.value&&void 0!==m.value&&(t=1,Ex.getUserMedia({audio:!0}).then(t=>{d.value=null,e?A(t):t.getTracks().forEach(e=>e.stop())}).catch(e=>{console.error("Error getting audio stream: "+e.name+": "+e.message),d.value=e,A(null)}).finally(()=>{S()}))))}function T(e){if(c.value=e,!x_.value)return;if(!e)return void l.value._setInputTrack("default",null);l.value._setInputTrack("default",c.value.getVideoTracks()[0]);let t={autoplay:!0,mirror:!0,muted:!0};AE(a.value.getStream(),x_.value,t)}function M(){l.value._setInputTrack("default",null),c.value&&(c.value.getTracks().forEach(e=>e.stop()),c.value=null,h.value=null,x_.value&&(x_.value.srcObject=null))}function I(){let e=i>1;i=0,e&&B()}function B(){!Ex.isSupported()||k.value&&k.value===y.value||(i?i++:(M(),null!==y.value&&void 0!==y.value&&(i=1,Ex.getUserMedia({video:!0}).then(t=>{h.value=null,e?T(t):t.getTracks().forEach(e=>e.stop())}).catch(e=>{console.error("Error getting video stream: "+e.name+": "+e.message),h.value=e,T(null)}).finally(()=>{I()}))))}return(0,z.wB)(m,()=>{e&&D()}),(0,z.wB)(_,t=>{e&&void 0!==t&&(n.setGeneralAudioOutput(t),ET&&ET.setGeneralAudioOutput(t))}),(0,z.wB)(y,()=>{e&&B()}),(0,z.xo)(()=>{C()}),{devices:f,updateDevices:function(){Ex._updateDevices()},currentVolume:s,currentThreshold:o,audioPreviewAvailable:g,videoPreviewAvailable:F,audioInputId:m,audioOutputId:_,videoInputId:y,audioOutputSupported:b,updateAudioStream:D,subscribeToDevices:function(){0===xp&&w(),xp++},unsubscribeFromDevices:function(){0===xp?console.error("Attempt to unsubscribe from devices when no subscribers"):0==--xp&&C()},audioStream:u,audioStreamError:d,videoStream:c,videoStreamError:h,updatePreferences:function(e){Ex.updatePreferences(e)},virtualBackground:l,registerVideoElement:x}}),xb=(0,z.pM)({__name:"AdvancedAudioDialog",props:{container:{}},emits:["close"],setup(e,{emit:t}){let i=t,n=(0,K.t)("spreed","Enable noise suppression"),r=(0,K.t)("spreed","Reduce background noises for better voice quality"),a=(0,K.t)("spreed","Enable echo cancellation"),s=(0,K.t)("spreed","Minimize echo effect from own surrounding"),o=(0,K.t)("spreed","Enable auto gain control"),l=(0,K.t)("spreed","Dynamically adjust microphone volume for consistent level"),u=cK(),{audioPreviewAvailable:d,updateAudioStream:c}=xv(),h={noiseSuppression:u.noiseSuppression,echoCancellation:u.echoCancellation,autoGainControl:u.autoGainControl};function f(e){e?d.value&&(h.noiseSuppression!==u.noiseSuppression||h.echoCancellation!==u.echoCancellation||h.autoGainControl!==u.autoGainControl)&&c(!0):(u.setNoiseSuppression(h.noiseSuppression),u.setEchoCancellation(h.echoCancellation),u.setAutoGainControl(h.autoGainControl)),i("close",e)}return(t,i)=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(ox.A),{name:(0,z.R1)(K.t)("spreed","Microphone settings"),container:e.container,size:"normal",buttons:[{label:(0,z.R1)(K.t)("spreed","Cancel"),variant:"tertiary",callback:()=>void 0},{label:(0,z.R1)(K.t)("spreed","Save"),variant:"primary",callback:()=>!0}],closeOnClickOutside:"",onClosing:f},{default:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(xa),null,{default:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(xg),{modelValue:(0,z.R1)(u).noiseSuppression,label:(0,z.R1)(n),description:(0,z.R1)(r),"onUpdate:modelValue":(0,z.R1)(u).setNoiseSuppression},null,8,["modelValue","label","description","onUpdate:modelValue"]),(0,z.bF)((0,z.R1)(xg),{modelValue:(0,z.R1)(u).echoCancellation,label:(0,z.R1)(a),description:(0,z.R1)(s),"onUpdate:modelValue":(0,z.R1)(u).setEchoCancellation},null,8,["modelValue","label","description","onUpdate:modelValue"]),(0,z.bF)((0,z.R1)(xg),{modelValue:(0,z.R1)(u).autoGainControl,label:(0,z.R1)(o),description:(0,z.R1)(l),"onUpdate:modelValue":(0,z.R1)(u).setAutoGainControl},null,8,["modelValue","label","description","onUpdate:modelValue"])]),_:1})]),_:1},8,["name","container","buttons"]))}});function xy(e,t,i,n,r,a){let s=(0,z.g2)("IconMicrophone"),o=(0,z.g2)("NcIconSvgWrapper");return(0,z.uX)(),(0,z.CE)("span",{class:(0,z.C4)(["volume-indicator-wrapper",{overload:a.hasOverload}]),style:(0,z.Tr)({height:i.size+"px",width:i.size+"px"})},[(0,z.Lk)("span",{class:"volume-indicator volume-indicator-primary",style:(0,z.Tr)({height:a.iconPrimaryHeight+"px"})},[i.audioEnabled?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:i.size,fillColor:i.primaryColor},null,8,["size","fillColor"])):((0,z.uX)(),(0,z.Wv)(o,{key:1,inline:"",svg:n.IconMicrophoneOffOutline,size:i.size,style:(0,z.Tr)({color:i.primaryColor})},null,8,["svg","size","style"]))],4),i.audioPreviewAvailable?((0,z.uX)(),(0,z.CE)("span",{key:0,class:(0,z.C4)(["volume-indicator volume-indicator-overlay",{"volume-indicator-overlay-mute":!i.audioEnabled}]),style:(0,z.Tr)({height:a.iconOverlayHeight+"px"})},[i.audioEnabled?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:i.size,fillColor:i.overlayColor},null,8,["size","fillColor"])):((0,z.uX)(),(0,z.Wv)(o,{key:1,inline:"",svg:n.IconMicrophoneOffOutline,size:i.size,style:(0,z.Tr)({color:i.overlayMutedColor})},null,8,["svg","size","style"]))],6)):(0,z.Q3)("",!0)],6)}let xF=["aria-hidden","aria-label"],xk=["fill","width","height"],xw={d:"M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z"},xC={key:0};function xA(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon microphone-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",xw,[i.title?((0,z.uX)(),(0,z.CE)("title",xC,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,xk))],16,xF)}let xE={name:"MicrophoneIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},xS=(0,to.default)(xE,[["render",xA]]),xx='\n \n\n',xD={name:"VolumeIndicator",components:{IconMicrophone:xS,NcIconSvgWrapper:SD.A},props:{audioPreviewAvailable:{type:Boolean,required:!0},audioEnabled:{type:Boolean,required:!0},currentVolume:{type:Number,required:!0},volumeThreshold:{type:Number,required:!0},overloadLimit:{type:Number,default:-25},size:{type:Number,default:20},primaryColor:{type:String,default:void 0},overlayColor:{type:String,default:void 0},overlayMutedColor:{type:String,default:void 0}},setup:()=>({IconMicrophoneOffOutline:xx}),computed:{iconOffsetBottom(){return this.size/8},iconPrimaryHeight(){return this.audioPreviewAvailable?this.size-this.iconOffsetBottom-this.currentVolumeIndicatorHeight:this.size},iconOverlayHeight(){return this.iconOffsetBottom/2+this.currentVolumeIndicatorHeight},hasOverload(){return this.audioPreviewAvailable&&this.currentVolumeIndicatorHeight===this.size-this.iconOffsetBottom},currentVolumeIndicatorHeight(){return!this.audioPreviewAvailable||this.currentVolumer.value.showPopup,e=>{n.value=e&&m(i.value?.$el)}),(0,z.xo)(()=>{r.value.destroy()}));let{devices:a,audioInputId:s,audioOutputId:o,audioStreamError:l,updateDevices:u,audioOutputSupported:d,updatePreferences:c,subscribeToDevices:h,unsubscribeFromDevices:f}=xv();function m(e){if(!e)return!1;let t=e.getBoundingClientRect();return document.elementsFromPoint(t.left,t.top)?.[0]===e}return{boundaryElement:t,popover:i,popupShown:n,speakingWhileMutedWarner:r,devices:a,audioInputId:s,audioOutputId:o,audioStreamError:l,updateDevices:u,audioOutputSupported:d,updatePreferences:c,subscribeToDevices:h,unsubscribeFromDevices:f,resumeAudioAfterChange:(0,z.KR)(!1)}},computed:{isAudioAllowed(){return this.conversation.permissions&rq.PERMISSIONS.PUBLISH_AUDIO},isAudioAvailable(){return this.model.attributes.audioAvailable},showMicrophoneOn(){return this.isAudioAvailable&&this.model.attributes.audioEnabled},audioButtonTitle(){return this.isAudioAllowed?this.isAudioAvailable?this.model.attributes.audioEnabled?this.disableKeyboardShortcuts?(0,K.t)("spreed","Mute audio"):(0,K.t)("spreed","Mute audio (M)"):this.disableKeyboardShortcuts?(0,K.t)("spreed","Unmute audio"):(0,K.t)("spreed","Unmute audio (M)"):(0,K.t)("spreed","No audio. Click to select device"):(0,K.t)("spreed","You are not allowed to enable audio")},audioButtonAriaLabel(){return this.isAudioAvailable?this.model.attributes.audioEnabled?(0,K.t)("spreed","Mute audio"):(0,K.t)("spreed","Unmute audio"):(0,K.t)("spreed","No audio. Click to select device")},audioInputDevices(){return[...this.devices.filter(e=>"audioinput"===e.kind).map(e=>({deviceId:e.deviceId,label:e.label||e.fallbackLabel})),{deviceId:null,label:(0,K.t)("spreed","None")}]},audioOutputDevices(){return this.devices.filter(e=>"audiooutput"===e.kind).map(e=>({deviceId:e.deviceId,label:e.label||e.fallbackLabel}))}},watch:{isAudioAvailable(e){e&&this.resumeAudioAfterChange&&(this.model.enableAudio(),this.resumeAudioAfterChange=!1)},audioInputId(e){!e&&this.resumeAudioAfterChange&&(this.resumeAudioAfterChange=!1)}},created(){(0,Q.C)("m",this.toggleAudio),(0,Q.C)(" ",this.toggleAudio,{push:!0})},mounted(){this.subscribeToDevices()},beforeUnmount(){this.unsubscribeFromDevices()},methods:{t:K.t,emit:G.Ic,toggleAudio(){this.isAudioAllowed&&this.isAudioAvailable?this.model.attributes.audioEnabled?this.model.disableAudio():this.model.enableAudio():(0,G.Ic)("talk:media-settings:show")},handleAudioInputIdChange(e){this.showDevices&&this.showMicrophoneOn&&(this.resumeAudioAfterChange=!0),this.audioInputId=e,this.updatePreferences("audioinput")},handleAudioOutputIdChange(e){this.audioOutputId=e,this.updatePreferences("audiooutput")},async openAdvancedSettings(){await (0,oS.S)(xb)&&(this.resumeAudioAfterChange=!0)}}},xB=(0,to.default)(xI,[["render",S8],["__scopeId","data-v-1b378ab2"]]),xP={class:"local-video-control-wrapper"};function xL(e,t,i,n,r,a){let s=(0,z.g2)("IconVideo"),o=(0,z.g2)("IconVideoOffOutline"),l=(0,z.g2)("NcButton"),u=(0,z.g2)("IconChevronUp"),d=(0,z.g2)("NcActionCaption"),c=(0,z.g2)("NcActionButton"),h=(0,z.g2)("NcActionSeparator"),f=(0,z.g2)("NcActions");return(0,z.uX)(),(0,z.CE)("div",xP,[(0,z.bF)(l,{title:a.videoButtonTitle,variant:n.videoStreamError?"error":i.variant,"aria-label":a.videoButtonAriaLabel,class:(0,z.C4)({"no-video-available":!a.isVideoAvailable,"video-control-button":i.showDevices}),disabled:n.resumeVideoAfterChange,onClick:(0,z.D$)(a.toggleVideo,["stop"])},{icon:(0,z.k6)(()=>[a.showVideoOn||n.resumeVideoAfterChange?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(o,{key:1,size:20}))]),_:1},8,["title","variant","aria-label","class","disabled","onClick"]),i.showDevices?((0,z.uX)(),(0,z.Wv)(f,{key:0,disabled:!a.isVideoAvailable||!a.isVideoAllowed||!!n.videoStreamError,class:"video-selector-button",onOpen:n.updateDevices},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:16})]),default:(0,z.k6)(()=>[(0,z.bF)(d,{name:a.t("spreed","Select a video device")},null,8,["name"]),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.videoDevices,e=>((0,z.uX)(),(0,z.Wv)(c,{key:e.deviceId??"none",class:"video-selector__action",type:"radio",modelValue:n.videoInputId,value:e.deviceId,title:e.label,onClick:t=>a.handleVideoInputIdChange(e.deviceId)},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e.label),1)]),_:2},1032,["modelValue","value","title","onClick"]))),128)),(0,z.bF)(h),(0,z.bF)(c,{key:"media-settings",class:"video-selector__action",closeAfterClick:"",onClick:t[0]||(t[0]=e=>a.emit("talk:media-settings:show"))},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Check devices")),1)]),_:1})]),_:1},8,["disabled","onOpen"])):(0,z.Q3)("",!0)])}let xN=["aria-hidden","aria-label"],xR=["fill","width","height"],xj={d:"M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z"},xO={key:0};function xz(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon video-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",xj,[i.title?((0,z.uX)(),(0,z.CE)("title",xO,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,xR))],16,xN)}let xU={name:"VideoIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},xq=(0,to.default)(xU,[["render",xz]]),xW=["aria-hidden","aria-label"],xV=["fill","width","height"],xH={d:"M3.41,1.86L2,3.27L4.73,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16C16.21,18 16.39,17.92 16.55,17.82L19.73,21L21.14,19.59L12.28,10.73L3.41,1.86M5,16V8H6.73L14.73,16H5M15,8V10.61L21,16.61V6.5L17,10.5V7A1,1 0 0,0 16,6H10.39L12.39,8H15Z"},x$={key:0};function xG(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon video-off-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",xH,[i.title?((0,z.uX)(),(0,z.CE)("title",x$,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,xV))],16,xW)}let xX={name:"VideoOffOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},xK=(0,to.default)(xX,[["render",xG]]),xY={name:"LocalVideoControlButton",components:{NcActions:e3.A,NcActionButton:e2.N,NcActionCaption:xt,NcActionSeparator:e9,NcButton:e7.A,IconChevronUp:tl,IconVideo:xq,IconVideoOffOutline:xK},props:{conversation:{type:Object,required:!0},model:{type:Object,required:!0},disableKeyboardShortcuts:{type:Boolean,default:OCP.Accessibility.disableKeyboardShortcuts()},variant:{type:String,default:"tertiary-no-background"},token:{type:String,required:!0},showDevices:{type:Boolean,default:!1}},setup(e){let{devices:t,videoInputId:i,videoStreamError:n,updateDevices:r,updatePreferences:a,subscribeToDevices:s,unsubscribeFromDevices:o}=xv();return{devices:t,videoInputId:i,videoStreamError:n,updateDevices:r,updatePreferences:a,subscribeToDevices:s,unsubscribeFromDevices:o,resumeVideoAfterChange:(0,z.KR)(!1)}},computed:{isVideoAllowed(){return this.conversation.permissions&rq.PERMISSIONS.PUBLISH_VIDEO},isVideoAvailable(){return this.model.attributes.videoAvailable},showVideoOn(){return this.isVideoAvailable&&this.model.attributes.videoEnabled},videoButtonTitle(){return this.isVideoAllowed?this.isVideoAvailable?this.model.attributes.videoEnabled?this.disableKeyboardShortcuts?(0,K.t)("spreed","Disable video"):(0,K.t)("spreed","Disable video (V)"):!this.model.getWebRtc()||!this.model.getWebRtc().connection||this.model.getWebRtc().connection.getSendVideoIfAvailable()?this.disableKeyboardShortcuts?(0,K.t)("spreed","Enable video"):(0,K.t)("spreed","Enable video (V)"):this.disableKeyboardShortcuts?(0,K.t)("spreed","Enable video - Your connection will be briefly interrupted when enabling the video for the first time"):(0,K.t)("spreed","Enable video (V) - Your connection will be briefly interrupted when enabling the video for the first time"):(0,K.t)("spreed","No video. Click to select device"):(0,K.t)("spreed","You are not allowed to enable video")},videoButtonAriaLabel(){return this.isVideoAvailable?this.model.attributes.videoEnabled?(0,K.t)("spreed","Disable video"):!this.model.getWebRtc()||!this.model.getWebRtc().connection||this.model.getWebRtc().connection.getSendVideoIfAvailable()?(0,K.t)("spreed","Enable video"):(0,K.t)("spreed","Enable video. Your connection will be briefly interrupted when enabling the video for the first time"):(0,K.t)("spreed","No video. Click to select device")},videoDevices(){return[...this.devices.filter(e=>"videoinput"===e.kind).map(e=>({deviceId:e.deviceId,label:e.label||e.fallbackLabel})),{deviceId:null,label:(0,K.t)("spreed","None")}]}},watch:{isVideoAvailable(e){e&&this.resumeVideoAfterChange&&(this.model.enableVideo(),this.resumeVideoAfterChange=!1)},videoInputId(e){!e&&this.resumeVideoAfterChange&&(this.resumeVideoAfterChange=!1)}},created(){(0,Q.C)("v",this.toggleVideo)},mounted(){this.subscribeToDevices()},beforeUnmount(){this.unsubscribeFromDevices()},methods:{t:K.t,emit:G.Ic,toggleVideo(){this.isVideoAllowed&&this.isVideoAvailable?this.model.attributes.videoEnabled?this.model.disableVideo():this.model.enableVideo():(0,G.Ic)("talk:media-settings:show")},handleVideoInputIdChange(e){this.showDevices&&this.showVideoOn&&(this.resumeVideoAfterChange=!0),this.videoInputId=e,this.updatePreferences("videoinput")}}},xQ=(0,to.default)(xY,[["render",xL],["__scopeId","data-v-7669919c"]]),xZ='',xJ={name:"TopBarMediaControls",components:{LocalAudioControlButton:xB,LocalVideoControlButton:xQ,NcActionButton:e2.N,NcActions:e3.A,NcButton:e7.A,NcIconSvgWrapper:SD.A,NcPopover:ST.N,IconMonitor:SR,IconMonitorOff:SV,IconMonitorShare:SQ,IconNetworkStrength2Alert:S4},props:{token:{type:String,required:!0},model:{type:Object,required:!0},localCallParticipantModel:{type:Object,required:!0},isSidebar:{type:Boolean,default:!1},hideVirtualBackgroundShortcut:{type:Boolean,default:!1}},setup:()=>({IconBackground:xZ,isInCall:aI(),callAnalyzer:ED}),data:()=>({screenSharingMenuOpen:!1,boundaryElement:document.querySelector(".main-view"),mouseover:!1,qualityWarningInGracePeriodTimeout:null,isQualityWarningTooltipDismissed:!1}),computed:{conversation(){return this.$store.getters.conversation(this.token)||this.$store.getters.dummyConversation},isScreensharingAllowed(){return this.conversation.permissions&rq.PERMISSIONS.PUBLISH_SCREEN},screenSharingButtonClass(){return{"screensharing-enabled":this.isScreensharingAllowed&&this.isScreensharing,"no-screensharing-available":!this.isScreensharingAllowed}},isScreensharing(){return this.model.attributes.localScreen},screenSharingButtonTitle(){return this.isScreensharingAllowed?this.screenSharingMenuOpen?null:this.isScreensharingAllowed?this.isScreensharing?(0,K.t)("spreed","Screensharing options"):(0,K.t)("spreed","Enable screensharing"):(0,K.t)("spreed","No screensharing"):(0,K.t)("spreed","You are not allowed to enable screensharing")},screenSharingButtonAriaLabel(){return this.screenSharingMenuOpen||this.isScreensharing?(0,K.t)("spreed","Screensharing options"):(0,K.t)("spreed","Enable screensharing")},showQualityWarningTooltip(){return this.qualityWarningTooltip&&(!this.isQualityWarningTooltipDismissed||this.mouseover)},showQualityWarning(){return this.senderConnectionQualityIsBad||this.qualityWarningInGracePeriodTimeout},senderConnectionQualityIsBad(){return this.senderConnectionQualityAudioIsBad||this.senderConnectionQualityVideoIsBad||this.senderConnectionQualityScreenIsBad},senderConnectionQualityAudioIsBad:()=>ED&&(ED.attributes.senderConnectionQualityAudio===A_||ED.attributes.senderConnectionQualityAudio===Av),senderConnectionQualityVideoIsBad:()=>ED&&(ED.attributes.senderConnectionQualityVideo===A_||ED.attributes.senderConnectionQualityVideo===Av),senderConnectionQualityScreenIsBad:()=>ED&&(ED.attributes.senderConnectionQualityScreen===A_||ED.attributes.senderConnectionQualityScreen===Av),qualityWarningAriaLabel(){let e="";return!this.model.attributes.audioEnabled&&this.model.attributes.videoEnabled&&this.model.attributes.localScreen?(0,K.t)("spreed","Bad sent video and screen quality."):!this.model.attributes.audioEnabled&&this.model.attributes.localScreen?(0,K.t)("spreed","Bad sent screen quality."):!this.model.attributes.audioEnabled&&this.model.attributes.videoEnabled?(0,K.t)("spreed","Bad sent video quality."):this.model.attributes.videoEnabled&&this.model.attributes.localScreen?(0,K.t)("spreed","Bad sent audio, video and screen quality."):this.model.attributes.localScreen?(0,K.t)("spreed","Bad sent audio and screen quality."):this.model.attributes.videoEnabled?(0,K.t)("spreed","Bad sent audio and video quality."):(0,K.t)("spreed","Bad sent audio quality.")},qualityWarningTooltip(){if(!this.showQualityWarning)return null;let e=this.model.attributes.virtualBackgroundAvailable&&this.model.attributes.virtualBackgroundEnabled;if(!this.model.attributes.audioEnabled&&this.model.attributes.videoEnabled&&e&&this.model.attributes.localScreen)return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to see your screen. To improve the situation try to disable the background blur or your video while doing a screen share."),actionLabel:(0,K.t)("spreed","Disable background blur"),action:"disableVirtualBackground"};if(!this.model.attributes.audioEnabled&&this.model.attributes.videoEnabled&&this.model.attributes.localScreen)return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to see your screen. To improve the situation try to disable your video while doing a screenshare."),actionLabel:(0,K.t)("spreed","Disable video"),action:"disableVideo"};if(!this.model.attributes.audioEnabled&&this.model.attributes.localScreen)return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to see your screen."),actionLabel:"",action:""};if(!this.model.attributes.audioEnabled&&this.model.attributes.videoEnabled)return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to see you."),actionLabel:"",action:""};if(this.model.attributes.videoEnabled&&e&&this.model.attributes.localScreen)return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to understand and see you. To improve the situation try to disable the background blur or your video while doing a screenshare."),actionLabel:(0,K.t)("spreed","Disable background blur"),action:"disableVirtualBackground"};else if(this.model.attributes.videoEnabled&&this.model.attributes.localScreen)return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to understand and see you. To improve the situation try to disable your video while doing a screenshare."),actionLabel:(0,K.t)("spreed","Disable video"),action:"disableVideo"};else if(this.model.attributes.localScreen)return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to understand you and see your screen. To improve the situation try to disable your screenshare."),actionLabel:(0,K.t)("spreed","Disable screenshare"),action:"disableScreenShare"};else if(this.model.attributes.videoEnabled&&e)return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to understand and see you. To improve the situation try to disable the background blur or your video."),actionLabel:(0,K.t)("spreed","Disable background blur"),action:"disableVirtualBackground"};else if(this.model.attributes.videoEnabled)return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to understand and see you. To improve the situation try to disable your video."),actionLabel:(0,K.t)("spreed","Disable video"),action:"disableVideo"};else return{content:(0,K.t)("spreed","Your internet connection or computer are busy and other participants might be unable to understand you."),actionLabel:"",action:""}}},watch:{senderConnectionQualityIsBad(e){e&&(this.qualityWarningInGracePeriodTimeout&&window.clearTimeout(this.qualityWarningInGracePeriodTimeout),this.qualityWarningInGracePeriodTimeout=window.setTimeout(()=>{this.qualityWarningInGracePeriodTimeout=null},1e4))}},methods:{emit:G.Ic,t:K.t,toggleScreenSharingMenu(){if(this.isScreensharingAllowed){if(!this.model.getWebRtc().capabilities.supportScreenSharing)return void("https:"===window.location.protocol?(0,$.h)((0,K.t)("spreed","Screen sharing is not supported by your browser.")):(0,$.h)((0,K.t)("spreed","Screen sharing requires the page to be loaded through HTTPS.")));this.isScreensharing||this.startShareScreen()}},showScreen(){this.isScreensharing&&(0,G.Ic)("switch-screen-to-id",this.localCallParticipantModel.attributes.peerId)},stopScreen(){this.model.stopSharingScreen()},startShareScreen(e){this.model.shareScreen(e,function(e){if(e)switch(e.name){case"HTTPS_REQUIRED":(0,$.h)((0,K.t)("spreed","Screensharing requires the page to be loaded through HTTPS."));break;case"PERMISSION_DENIED":case"NotAllowedError":break;default:(0,$.h)((0,K.t)("spreed","An error occurred while starting screensharing."))}})},executeQualityWarningTooltipAction(){""!==this.qualityWarningTooltip.action&&("disableScreenShare"===this.qualityWarningTooltip.action?(this.model.stopSharingScreen(),this.dismissQualityWarningTooltip()):"disableVirtualBackground"===this.qualityWarningTooltip.action?(this.model.disableVirtualBackground(),this.dismissQualityWarningTooltip()):"disableVideo"===this.qualityWarningTooltip.action&&(this.model.disableVideo(),this.dismissQualityWarningTooltip()))},dismissQualityWarningTooltip(){this.isQualityWarningTooltipDismissed=!0}}},x0=(0,to.default)(xJ,[["render",SE],["__scopeId","data-v-6d9aadfc"]]),x1=(0,z.KR)(null!==document.fullscreenElement);function x2(){let e=()=>{x1.value=null!==document.fullscreenElement,x1.value?document.body.classList.add("talk-in-fullscreen"):document.body.classList.remove("talk-in-fullscreen")};return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),(0,z.xo)(()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e)}),(0,z.tB)(x1)}async function x3(){(0,G.Ic)("toggle-navigation",{open:!1}),document.body.requestFullscreen?await document.body.requestFullscreen():document.body.webkitRequestFullscreen&&await document.body.webkitRequestFullscreen()}async function x4(){document.exitFullscreen?await document.exitFullscreen():document.webkitExitFullscreen&&await document.webkitExitFullscreen()}function x6(){x1.value?x4():x3()}let x5=(0,i$.F)(x2),x8=null,x9=null,x7=nO("liveTranscription",{state:()=>({languages:null,translationLanguages:null}),actions:{getLiveTranscriptionLanguages(){return this.languages},async loadLiveTranscriptionLanguages(){if(!this.languages){if(x8)return void await x8;x8=aE();try{let e=await x8;this.languages=e.data.ocs.data}catch(e){throw x8=null,this.languages=null,console.error("Error while getting available live transcription languages",e),e}}},getLiveTranscriptionTargetLanguages(){return this.translationLanguages?.targetLanguages},getLiveTranscriptionDefaultTargetLanguageId(){return this.translationLanguages?.defaultTargetLanguageId},async loadLiveTranscriptionTranslationLanguages(){if(!this.translationLanguages){if(x9)return void await x9;x9=aS();try{let e=await x9;this.translationLanguages=e.data.ocs.data}catch(e){throw x9=null,this.translationLanguages=null,console.error("Error while getting available live transcription translation languages",e),e}}}}}),De={key:0,class:"bottom-bar-call-controls"},Dt={class:"bottom-bar-call-controls"},Di={key:1,class:"live-transcription-button-wrapper"},Dn=3e3,Dr=38,Da=236,Ds=(0,z.pM)({__name:"BottomBar",props:{isSidebar:{type:Boolean,default:!1}},setup(e){let t=OCP.Accessibility.disableKeyboardShortcuts(),i=ed(),n=iQ(),r=of(),a=oE(),s=!e.isSidebar&&x5(),o=aT(),l=x7(),u=cK(),d=(0,z.KR)(!1),c=(0,z.rk)("bottomBar"),h=(0,z.rk)("callButtonWithActions"),f=(0,Z.al)(),m=(0,z.EW)(()=>i.getters.conversation(n.value)||i.getters.dummyConversation),g=(0,z.EW)(()=>aX(n.value,"call","supported-reactions")||[]),p=(0,z.EW)(()=>g.value&&g.value.length>0),_=(0,z.EW)(()=>[rq.TYPE.OWNER,rq.TYPE.MODERATOR,rq.TYPE.GUEST_MODERATOR].includes(m.value.participantType)),b=(0,z.EW)(()=>aX(n.value,"call","live-transcription")||!1),y=(0,z.EW)(()=>aX(n.value,"call","live-translation")||!1),F=(0,z.EW)(()=>o.isLiveTranscriptionEnabled&&x.value===S.Original?(0,K.t)("spreed","Disable live transcription"):(0,K.t)("spreed","Enable live transcription")),k=(0,z.EW)(()=>o.isLiveTranscriptionEnabled&&x.value===S.Target?(0,K.t)("spreed","Disable live translation"):(0,K.t)("spreed","Enable live translation")),w=(0,z.EW)(()=>{let e=m.value.liveTranscriptionLanguageId||"en",t=l.getLiveTranscriptionLanguages()?.[e]?.name??e;return(0,K.t)("spreed","Original language: {languageName}",{languageName:t})}),C=(0,z.EW)(()=>{let e=A.value;if(!e)return(0,K.t)("spreed","Translated language");let t=l.getLiveTranscriptionTargetLanguages()?.[e]?.name??e;return(0,K.t)("spreed","Translated language: {languageName}",{languageName:t})}),A=(0,z.EW)(()=>{let e=u.liveTranscriptionTargetLanguageId;return e||l.getLiveTranscriptionDefaultTargetLanguageId()}),E=(0,z.EW)(()=>{let e=l.getLiveTranscriptionTargetLanguages(),t=m.value.liveTranscriptionLanguageId||"en";return A.value&&A.value!==t&&e&&e[A.value]}),S={Original:"original",Target:"target"},x=(0,z.KR)(S.Original),D=(0,z.EW)(()=>!0===ES.attributes.raisedHand.state),T=(0,z.EW)(()=>D.value?t?(0,K.t)("spreed","Lower hand"):(0,K.t)("spreed","Lower hand (R)"):t?(0,K.t)("spreed","Raise hand"):(0,K.t)("spreed","Raise hand (R)")),M=(0,z.EW)(()=>(0,z.BA)(s)?(0,K.t)("spreed","Exit full screen (F)"):(0,K.t)("spreed","Full screen (F)")),I=(0,z.EW)(()=>P.value?(0,K.t)("spreed","Speaker view"):(0,K.t)("spreed","Grid view")),B=(0,z.EW)(()=>!o.isEmptyCallView),P=(0,z.EW)(()=>o.isGrid),N=(0,z.EW)(()=>m.value.objectType===nJ.OBJECT_TYPE.BREAKOUT_ROOM),R=["virtualBackground","liveTranscription","raiseHand","callLayout","fullscreen"],j=(0,z.EW)(()=>({fullscreen:!e.isSidebar,callLayout:B.value,raiseHand:!0,liveTranscription:b.value,virtualBackground:!e.isSidebar})),O=(0,z.KR)({...j.value}),q=(0,z.EW)(()=>Object.values(O.value).some(Boolean));function W(){if(!c.value)return;let e=c.value.clientWidth-h.value.clientWidth-28;if(e<=Da)return void R.forEach(e=>{O.value[e]=!0});let t=Math.floor((e-Da)/Dr);R.filter(e=>j.value[e]).forEach((e,i)=>{O.value[e]=i>=t})}let V=(0,Y.A)(W,200);function H(){l.loadLiveTranscriptionLanguages(),l.loadLiveTranscriptionTranslationLanguages()}async function G(){d.value||(d.value=!0,o.isLiveTranscriptionEnabled?await er():(await en(),x.value===S.Target&&await ea()),d.value=!1)}async function X(){d.value||(o.isLiveTranscriptionEnabled&&x.value===S.Original?(d.value=!0,await er(),d.value=!1):await et())}async function ee(){d.value||(o.isLiveTranscriptionEnabled&&x.value===S.Target?(d.value=!0,await er(),d.value=!1):await ei())}async function et(){if(!d.value){if(d.value=!0,!o.isLiveTranscriptionEnabled&&!await en()){d.value=!1;return}await es(),d.value=!1}}async function ei(){if(!d.value){if(d.value=!0,!o.isLiveTranscriptionEnabled&&!await en()){d.value=!1;return}await ea(),d.value=!1}}async function en(){try{await l.loadLiveTranscriptionLanguages()}catch(e){return(0,$.s)((0,K.t)("spreed","Error when trying to load the available live transcription languages")),!1}try{await o.enableLiveTranscription(n.value)}catch(e){return(0,$.s)((0,K.t)("spreed","Failed to enable live transcription")),!1}return!0}async function er(){try{await o.disableLiveTranscription(n.value)}catch(e){}}async function ea(){if(x.value!==S.Target){try{await o.setLiveTranscriptionTargetLanguage(n.value,A.value)}catch(e){(0,$.s)((0,K.t)("spreed","Failed to enable live translations"));return}x.value=S.Target}}async function es(){if(x.value!==S.Original){try{await o.setLiveTranscriptionTargetLanguage(n.value,null)}catch(e){(0,$.s)((0,K.t)("spreed","Failed to disable live translations"));return}x.value=S.Original}}(0,J.wYm)(c,()=>{V()}),(0,z.sV)(()=>{W()}),(0,z.hi)(()=>{V.clear?.()});let eo=Dn,el=null,eu=null;function ec(){let e=!D.value;if(ES.toggleHandRaised(e),i.dispatch("setParticipantHandRaised",{sessionId:r.sessionId,raisedHand:ES.attributes.raisedHand}),N.value&&!_.value){if(0!==Object.keys(i.getters.participantRaisedHandList).filter(e=>e!==r.sessionId).length)return;let t=m.value.breakoutRoomStatus===nJ.BREAKOUT_ROOM_STATUS.STATUS_ASSISTANCE_REQUESTED;e&&!t?a.requestAssistance(n.value):!e&&t&&a.dismissRequestAssistance(n.value)}}function eh(){o.setCallViewMode({token:n.value,isGrid:!P.value,clearLast:!1}),o.setSelectedVideoPeerId(null)}return(0,z.wB)(()=>ES.attributes.speaking,e=>{if(null!==eu&&!e){eo=Math.max(0,eo-(Date.now()-el)),clearTimeout(eu),eu=null;return}e&&null===eu&&D.value&&(el=Date.now(),eu=setTimeout(()=>{eu=null,el=null,eo=Dn,D.value&&ec()},eo))}),(0,Q.C)("r",ec),(t,i)=>((0,z.uX)(),(0,z.CE)("div",{ref_key:"bottomBar",ref:c,class:"bottom-bar","data-theme-dark":""},[e.isSidebar?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",De,[O.value.fullscreen?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:0,"aria-label":M.value,variant:(0,z.R1)(s)?"secondary":"tertiary",title:M.value,onClick:(0,z.R1)(x6)},{icon:(0,z.k6)(()=>[(0,z.R1)(s)?((0,z.uX)(),(0,z.Wv)(tk,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(tg,{key:0,size:20}))]),_:1},8,["aria-label","variant","title","onClick"])),B.value&&!O.value.callLayout?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:1,variant:"tertiary","aria-label":I.value,title:I.value,onClick:eh},{icon:(0,z.k6)(()=>[P.value?((0,z.uX)(),(0,z.Wv)(t3,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(ie,{key:0,size:20}))]),_:1},8,["aria-label","title"])):(0,z.Q3)("",!0)])),(0,z.Lk)("div",Dt,[(0,z.bF)(x0,{token:(0,z.R1)(n),model:(0,z.R1)(ES),isSidebar:e.isSidebar,hideVirtualBackgroundShortcut:O.value.virtualBackground,localCallParticipantModel:(0,z.R1)(EE)},null,8,["token","model","isSidebar","hideVirtualBackgroundShortcut","localCallParticipantModel"]),p.value?((0,z.uX)(),(0,z.Wv)(SF,{key:0,token:(0,z.R1)(n),supportedReactions:g.value,localCallParticipantModel:(0,z.R1)(EE)},null,8,["token","supportedReactions","localCallParticipantModel"])):(0,z.Q3)("",!0),b.value&&!O.value.liveTranscription?((0,z.uX)(),(0,z.CE)("div",Di,[(0,z.bF)((0,z.R1)(e7.A),{title:F.value,"aria-label":F.value,variant:(0,z.R1)(o).isLiveTranscriptionEnabled?"secondary":"tertiary",disabled:d.value,class:(0,z.C4)({"translation-button":y.value}),onClick:G},{icon:(0,z.k6)(()=>[d.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(te.N),{key:0,size:20})):(0,z.R1)(o).isLiveTranscriptionEnabled?((0,z.uX)(),(0,z.Wv)(tW,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(tY,{key:2,size:20}))]),_:1},8,["title","aria-label","variant","disabled","class"]),y.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e3.A),{key:0,class:"language-selector-button",onOpen:H},{icon:(0,z.k6)(()=>[(0,z.bF)(tl,{size:16})]),default:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e2.N),{class:"language-selector__action",type:"radio",disabled:d.value,modelValue:x.value,value:S.Original,title:w.value,closeAfterClick:"",onClick:et},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(w.value),1)]),_:1},8,["disabled","modelValue","value","title"]),(0,z.bF)((0,z.R1)(e9)),(0,z.bF)((0,z.R1)(e2.N),{class:"language-selector__action",type:"radio",disabled:d.value||!E.value,modelValue:x.value,value:S.Target,title:C.value,closeAfterClick:"",onClick:ei},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(C.value),1)]),_:1},8,["disabled","modelValue","value","title"])]),_:1})):(0,z.Q3)("",!0)])):(0,z.Q3)("",!0),e.isSidebar||O.value.raiseHand?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:2,title:T.value,"aria-label":T.value,variant:D.value?"secondary":"tertiary",onClick:ec},{icon:(0,z.k6)(()=>[D.value?((0,z.uX)(),(0,z.Wv)(tD,{key:0,size:18})):((0,z.uX)(),(0,z.Wv)(tN,{key:1,size:18}))]),_:1},8,["title","aria-label","variant"]))]),(0,z.Lk)("div",{ref_key:"callButtonWithActions",ref:h,class:"bottom-bar-options call-options"},[q.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e3.A),{key:0,forceMenu:""},{default:(0,z.k6)(()=>[!e.isSidebar&&O.value.fullscreen?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:0,"aria-label":M.value,variant:(0,z.R1)(s)?"secondary":"tertiary",title:M.value,onClick:(0,z.R1)(x6)},{icon:(0,z.k6)(()=>[(0,z.R1)(s)?((0,z.uX)(),(0,z.Wv)(tk,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(tg,{key:0,size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(M.value),1)]),_:1},8,["aria-label","variant","title","onClick"])):(0,z.Q3)("",!0),O.value.callLayout&&B.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:1,variant:"tertiary","aria-label":I.value,title:I.value,onClick:eh},{icon:(0,z.k6)(()=>[P.value?((0,z.uX)(),(0,z.Wv)(t3,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(ie,{key:0,size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(I.value),1)]),_:1},8,["aria-label","title"])):(0,z.Q3)("",!0),b.value&&O.value.liveTranscription?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:2,title:F.value,"aria-label":F.value,variant:(0,z.R1)(o).isLiveTranscriptionEnabled&&x.value===S.Target?"secondary":"tertiary",disabled:d.value,onClick:X},{icon:(0,z.k6)(()=>[d.value&&x.value===S.Original?((0,z.uX)(),(0,z.Wv)((0,z.R1)(te.N),{key:0,size:20})):(0,z.R1)(o).isLiveTranscriptionEnabled&&x.value===S.Original?((0,z.uX)(),(0,z.Wv)(tW,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(tY,{key:2,size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(F.value),1)]),_:1},8,["title","aria-label","variant","disabled"])):(0,z.Q3)("",!0),y.value&&O.value.liveTranscription?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:3,title:k.value,"aria-label":k.value,variant:(0,z.R1)(o).isLiveTranscriptionEnabled&&x.value===S.Target?"secondary":"tertiary",disabled:d.value||!E.value,onClick:ee},{icon:(0,z.k6)(()=>[d.value&&x.value===S.Target?((0,z.uX)(),(0,z.Wv)((0,z.R1)(te.N),{key:0,size:20})):(0,z.R1)(o).isLiveTranscriptionEnabled&&x.value===S.Target?((0,z.uX)(),(0,z.Wv)(tW,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(tY,{key:2,size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(k.value),1)]),_:1},8,["title","aria-label","variant","disabled"])):(0,z.Q3)("",!0),!e.isSidebar&&O.value.raiseHand?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:4,title:T.value,"aria-label":T.value,variant:D.value?"secondary":"tertiary",onClick:ec},{icon:(0,z.k6)(()=>[D.value?((0,z.uX)(),(0,z.Wv)(tD,{key:0,size:18})):((0,z.uX)(),(0,z.Wv)(tN,{key:1,size:18}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(T.value),1)]),_:1},8,["title","aria-label","variant"])):(0,z.Q3)("",!0)]),_:1})):(0,z.Q3)("",!0),(0,z.bF)(Si,{class:"call-button",hideText:e.isSidebar||(0,z.R1)(f),isScreensharing:!!(0,z.R1)(ES).attributes.localScreen},null,8,["hideText","isScreensharing"])],512)],512))}}),Do=(0,to.default)(Ds,[["__scopeId","data-v-0b608a91"]]),Dl=["alt","src"],Du={key:0,class:"dev-mode__title"},Dd={key:0,class:"dev-mode__data"};function Dc(e,t,i,n,r,a){let s=(0,z.g2)("IconChevronDown"),o=(0,z.g2)("IconChevronUp"),l=(0,z.g2)("NcButton"),u=(0,z.g2)("IconChevronLeft"),d=(0,z.g2)("EmptyCallView"),c=(0,z.g2)("VideoVue"),h=(0,z.g2)("VideoBottomBar"),f=(0,z.g2)("LocalVideo"),m=(0,z.g2)("IconChevronRight"),g=(0,z.g2)("TransitionWrapper");return(0,z.uX)(),(0,z.CE)("div",{ref:"gridWrapper",class:(0,z.C4)(["grid-main-wrapper",{"is-grid":!i.isStripe,overlap:i.isOverlap}])},[i.isStripe&&!i.isRecording?((0,z.uX)(),(0,z.Wv)(l,{key:0,class:"stripe--collapse",variant:"tertiary-no-background",title:a.stripeButtonTitle,"aria-label":a.stripeButtonTitle,onClick:a.handleClickStripeCollapse},{icon:(0,z.k6)(()=>[a.stripeOpen?((0,z.uX)(),(0,z.Wv)(s,{key:0,fillColor:"#ffffff",size:20})):((0,z.uX)(),(0,z.Wv)(o,{key:1,fillColor:"#ffffff",size:20}))]),_:1},8,["title","aria-label","onClick"])):(0,z.Q3)("",!0),(0,z.bF)(g,{name:i.isStripe?"slide-down":void 0},{default:(0,z.k6)(()=>[!i.isStripe||a.stripeOpen?((0,z.uX)(),(0,z.CE)("div",{key:0,class:"wrapper",style:(0,z.Tr)(a.wrapperStyle)},[(0,z.Lk)("div",{class:(0,z.C4)([i.isStripe?"stripe-wrapper":"grid-wrapper"])},[a.hasPreviousPage&&r.gridWidth>0?((0,z.uX)(),(0,z.Wv)(l,{key:0,variant:"tertiary-no-background",class:"grid-navigation grid-navigation__previous","aria-label":a.t("spreed","Previous page of videos"),onClick:a.handleClickPrevious},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{class:"bidirectional-icon",fillColor:"#ffffff",size:20})]),_:1},8,["aria-label","onClick"])):(0,z.Q3)("",!0),(0,z.Lk)("div",{ref:"grid",class:(0,z.C4)(["grid",{stripe:i.isStripe}]),style:(0,z.Tr)(a.gridStyle),onMousemove:t[0]||(t[0]=(...e)=>a.handleMovement&&a.handleMovement(...e)),onWheel:t[1]||(t[1]=(...e)=>r.debounceHandleWheelEvent&&r.debounceHandleWheelEvent(...e)),onKeydown:t[2]||(t[2]=(...e)=>a.handleMovement&&a.handleMovement(...e))},[n.devMode||a.isLessThanTwoVideos&&i.isStripe?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[0!==a.videos.length||i.isStripe?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(d,{key:0,class:"video",isGrid:!0})),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.displayedVideos,e=>((0,z.uX)(),(0,z.Wv)(c,{key:e.attributes.peerId,class:(0,z.C4)({video:!i.isStripe}),showVideoOverlay:r.showVideoOverlay,token:i.token,model:e,isGrid:!0,showTalkingHighlight:!i.isStripe,isStripe:i.isStripe,isPromoted:i.sharedDatas[e.attributes.peerId].promoted,isSelected:a.isSelected(e),sharedData:i.sharedDatas[e.attributes.peerId],onClickVideo:t=>a.handleClickVideo(t,e.attributes.peerId)},null,8,["class","showVideoOverlay","token","model","showTalkingHighlight","isStripe","isPromoted","isSelected","sharedData","onClickVideo"]))),128))],64)),n.devMode?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.displayedVideos,e=>((0,z.uX)(),(0,z.CE)("div",{key:e,class:(0,z.C4)(["dev-mode-video video",{"dev-mode-screenshot":n.screenshotMode}])},[(0,z.Lk)("img",{alt:a.placeholderName(e),src:a.placeholderImage(e)},null,8,Dl),(0,z.bF)(h,{hasShadow:!1,model:a.placeholderModel(e),sharedData:a.placeholderSharedData(e),token:i.token,participantName:a.placeholderName(e,!n.screenshotMode)},null,8,["model","sharedData","token","participantName"])],2))),128)),n.screenshotMode?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("h1",Du," Dev mode on ;-) "))],64)):(0,z.Q3)("",!0),i.isStripe||i.isRecording?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(f,{key:2,ref:"localVideo",class:"video",isGrid:"",fitVideo:!1,token:i.token,localMediaModel:i.localMediaModel,localCallParticipantModel:i.localCallParticipantModel,onClickVideo:a.handleClickLocalVideo},null,8,["token","localMediaModel","localCallParticipantModel","onClickVideo"]))],38),a.hasNextPage&&r.gridWidth>0?((0,z.uX)(),(0,z.Wv)(l,{key:1,variant:"tertiary-no-background",class:"grid-navigation grid-navigation__next","aria-label":a.t("spreed","Next page of videos"),onClick:a.handleClickNext},{icon:(0,z.k6)(()=>[(0,z.bF)(m,{class:"bidirectional-icon",fillColor:"#ffffff",size:20})]),_:1},8,["aria-label","onClick"])):(0,z.Q3)("",!0)],2),i.isStripe&&!i.isRecording?((0,z.uX)(),(0,z.Wv)(f,{key:0,ref:"localVideo",class:(0,z.C4)(["video",{"local-video--highlighted":a.isLessThanTwoVideos&&i.isStripe}]),isStripe:!0,showControls:!1,token:i.token,localMediaModel:i.localMediaModel,localCallParticipantModel:i.localCallParticipantModel,onClickVideo:a.handleClickLocalVideo},null,8,["class","token","localMediaModel","localCallParticipantModel","onClickVideo"])):(0,z.Q3)("",!0),n.devMode?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(l,{variant:"tertiary",class:"dev-mode__toggle","aria-label":"Toggle screenshot mode",onClick:t[3]||(t[3]=e=>n.screenshotMode=!n.screenshotMode)},{icon:(0,z.k6)(()=>[n.screenshotMode?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(u,{key:0,class:"bidirectional-icon",fillColor:"#00FF41",size:20}))]),_:1}),n.screenshotMode?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",Dd,[t[9]||(t[9]=(0,z.Lk)("span",null,"GRID INFO",-1)),(0,z.Lk)("button",{onClick:t[4]||(t[4]=(...e)=>a.disableDevMode&&a.disableDevMode(...e))}," Disable "),t[10]||(t[10]=(0,z.Lk)("span",null,"Debug info",-1)),(0,z.Lk)("button",{onClick:t[5]||(t[5]=(...e)=>a.gridDebugInformation&&a.gridDebugInformation(...e))}," Log "),t[11]||(t[11]=(0,z.Lk)("span",null,"Videos (total):",-1)),(0,z.Lk)("span",null,(0,z.v_)(a.videosCount),1),t[12]||(t[12]=(0,z.Lk)("span",null,"Displayed videos:",-1)),(0,z.Lk)("span",null,(0,z.v_)(a.displayedVideos.length),1),t[13]||(t[13]=(0,z.Lk)("span",null,"Max per page:",-1)),(0,z.Lk)("span",null,"~"+(0,z.v_)(n.videosCap),1),t[14]||(t[14]=(0,z.Lk)("span",null,"Grid width:",-1)),(0,z.Lk)("span",null,(0,z.v_)(r.gridWidth)+"px",1),t[15]||(t[15]=(0,z.Lk)("span",null,"Grid height:",-1)),(0,z.Lk)("span",null,(0,z.v_)(r.gridHeight)+"px",1),t[16]||(t[16]=(0,z.Lk)("span",null,"Min video width:",-1)),(0,z.Lk)("span",null,(0,z.v_)(a.minWidth)+"px",1),t[17]||(t[17]=(0,z.Lk)("span",null,"Min video Height:",-1)),(0,z.Lk)("span",null,(0,z.v_)(a.minHeight)+"px",1),t[18]||(t[18]=(0,z.Lk)("span",null,"Grid aspect ratio:",-1)),(0,z.Lk)("span",null,(0,z.v_)(a.gridAspectRatio),1),t[19]||(t[19]=(0,z.Lk)("span",null,"Number of pages:",-1)),(0,z.Lk)("span",null,(0,z.v_)(a.numberOfPages),1),t[20]||(t[20]=(0,z.Lk)("span",null,"Current page:",-1)),(0,z.Lk)("span",null,(0,z.v_)(r.currentPage),1),t[21]||(t[21]=(0,z.Lk)("span",null,"Dummies:",-1)),(0,z.bo)((0,z.Lk)("input",{"onUpdate:modelValue":t[6]||(t[6]=e=>n.dummies=e),type:"number"},null,512),[[z.Jo,n.dummies,void 0,{number:!0}]]),t[22]||(t[22]=(0,z.Lk)("span",null,"Stripe mode:",-1)),(0,z.bo)((0,z.Lk)("input",{"onUpdate:modelValue":t[7]||(t[7]=e=>a.devStripe=e),type:"checkbox"},null,512),[[z.lH,a.devStripe]]),t[23]||(t[23]=(0,z.Lk)("span",null,"Screenshot mode:",-1)),(0,z.bo)((0,z.Lk)("input",{"onUpdate:modelValue":t[8]||(t[8]=e=>n.screenshotMode=e),type:"checkbox"},null,512),[[z.lH,n.screenshotMode]])]))],64)):(0,z.Q3)("",!0)],4)):(0,z.Q3)("",!0)]),_:1},8,["name"])],2)}let Dh=["aria-hidden","aria-label"],Df=["fill","width","height"],Dm={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Dg={key:0};function Dp(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Dm,[i.title?((0,z.uX)(),(0,z.CE)("title",Dg,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Df))],16,Dh)}let D_={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Dv=(0,to.default)(D_,[["render",Dp]]),Db=["aria-hidden","aria-label"],Dy=["fill","width","height"],DF={d:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"},Dk={key:0};function Dw(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon chevron-left-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",DF,[i.title?((0,z.uX)(),(0,z.CE)("title",Dk,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Dy))],16,Db)}let DC={name:"ChevronLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},DA=(0,to.default)(DC,[["render",Dw]]),DE=["aria-hidden","aria-label"],DS=["fill","width","height"],Dx={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},DD={key:0};function DT(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Dx,[i.title?((0,z.uX)(),(0,z.CE)("title",DD,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,DS))],16,DE)}let DM={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},DI=(0,to.default)(DM,[["render",DT]]);function DB(e,t,i,n,r,a){return i.group?((0,z.uX)(),(0,z.Wv)(z.F,{key:0,tag:"span",class:"transition-group",name:i.name},{default:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"default",{},void 0,!0)]),_:3},8,["name"])):((0,z.uX)(),(0,z.Wv)(z.eB,{key:1,name:i.name},{default:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"default",{},void 0,!0)]),_:3},8,["name"]))}let DP={name:"TransitionWrapper",props:{name:{type:String,default:void 0,validator:e=>["fade","radial-reveal","slide-up","slide-right","slide-down","zoom"].includes(e)},group:{type:Boolean,default:!1}}},DL=(0,to.default)(DP,[["render",DB],["__scopeId","data-v-da059424"]]),DN={key:0,class:"emptycontent-additional"};function DR(e,t,i,n,r,a){let s=(0,z.g2)("NcButton");return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["empty-call-view",{"empty-call-view--sidebar":i.isSidebar,"empty-call-view--small":i.isSmall}]),"data-theme-dark":""},[((0,z.uX)(),(0,z.Wv)((0,z.$y)(a.emptyCallViewIcon),{size:i.isSidebar?32:64,class:"empty-call-view__icon"},null,8,["size"])),(0,z.Lk)("h2",null,(0,z.v_)(a.title),1),i.isSmall?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[a.message?((0,z.uX)(),(0,z.CE)("p",DN,(0,z.v_)(a.message),1)):(0,z.Q3)("",!0),a.showLink?((0,z.uX)(),(0,z.Wv)(s,{key:1,variant:"primary",onClick:(0,z.D$)(a.handleCopyLink,["stop"])},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Copy link")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0)],64))],2)}let Dj=["aria-hidden","aria-label"],DO=["fill","width","height"],Dz={d:"M13.07 10.41A5 5 0 0 0 13.07 4.59A3.39 3.39 0 0 1 15 4A3.5 3.5 0 0 1 15 11A3.39 3.39 0 0 1 13.07 10.41M5.5 7.5A3.5 3.5 0 1 1 9 11A3.5 3.5 0 0 1 5.5 7.5M7.5 7.5A1.5 1.5 0 1 0 9 6A1.5 1.5 0 0 0 7.5 7.5M16 17V19H2V17S2 13 9 13 16 17 16 17M14 17C13.86 16.22 12.67 15 9 15S4.07 16.31 4 17M15.95 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13Z"},DU={key:0};function Dq(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon account-multiple-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Dz,[i.title?((0,z.uX)(),(0,z.CE)("title",DU,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,DO))],16,Dj)}let DW={name:"AccountMultipleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},DV=(0,to.default)(DW,[["render",Dq]]),DH=["aria-hidden","aria-label"],D$=["fill","width","height"],DG={d:"M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z"},DX={key:0};function DK(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon link-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",DG,[i.title?((0,z.uX)(),(0,z.CE)("title",DX,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,D$))],16,DH)}let DY={name:"LinkIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},DQ=(0,to.default)(DY,[["render",DK]]);function DZ(e,t,i={}){return(0,O.Jv)(e,t,{baseURL:(0,O.$_)(),...i})}function DJ(e,t){return void 0!==t?DZ("/call/{token}#message_{messageId}",{token:e,messageId:t}):DZ("/call/{token}",{token:e})}async function D0(e,t){try{await navigator.clipboard.writeText(DJ(e,t)),(0,$.i)((0,K.t)("spreed","Conversation link copied to clipboard"))}catch(e){(0,$.s)((0,K.t)("spreed","The link could not be copied"))}}let D1={name:"EmptyCallView",components:{NcButton:e7.A,NcLoadingIcon:te.N,IconAccountMultipleOutline:DV,IconLink:DQ,IconPhoneOutline:iH},props:{isGrid:{type:Boolean,default:!1},isSidebar:{type:Boolean,default:!1},isSmall:{type:Boolean,default:!1}},setup:()=>({token:iQ()}),computed:{isConnecting(){return this.$store.getters.isConnecting(this.token)},conversation(){return this.$store.getters.conversation(this.token)},isGroupConversation(){return this.conversation&&this.conversation.type===nJ.TYPE.GROUP},isPublicConversation(){return this.conversation&&this.conversation.type===nJ.TYPE.PUBLIC},isOneToOneConversation(){return this.conversation?.type===nJ.TYPE.ONE_TO_ONE||this.conversation?.type===nJ.TYPE.ONE_TO_ONE_FORMER},isPasswordRequestConversation(){return this.conversation&&this.conversation.objectType===nJ.OBJECT_TYPE.VIDEO_VERIFICATION},isFileConversation(){return this.conversation&&this.conversation.objectType===nJ.OBJECT_TYPE.FILE},isPhoneConversation(){return this.conversation&&(this.conversation.objectType===nJ.OBJECT_TYPE.PHONE_LEGACY||this.conversation.objectType===nJ.OBJECT_TYPE.PHONE_PERSISTENT||this.conversation.objectType===nJ.OBJECT_TYPE.PHONE_TEMPORARY)},conversationDisplayName(){return this.conversation&&this.conversation.displayName},canInviteOthers(){return this.conversation&&(this.conversation.participantType===rq.TYPE.OWNER||this.conversation.participantType===rq.TYPE.MODERATOR)},canInviteOthersInPublicConversations(){return this.canInviteOthers||this.conversation&&this.conversation.participantType===rq.TYPE.GUEST_MODERATOR},emptyCallViewIcon(){return this.isConnecting?te.N:this.isPhoneConversation?iH:this.isPublicConversation?DQ:DV},title(){return this.isConnecting?(0,K.t)("spreed","Connecting …"):this.isPhoneConversation?(0,K.t)("spreed","Calling …"):this.isOneToOneConversation?(0,K.t)("spreed","Waiting for {user} to join the call",{user:this.conversationDisplayName}):(0,K.t)("spreed","Waiting for others to join the call …")},message(){return this.isConnecting||this.isPasswordRequestConversation||this.isFileConversation||!this.isGroupConversation&&!this.isPublicConversation||this.isGroupConversation&&!this.canInviteOthers||this.isPhoneConversation?"":this.isGroupConversation?(0,K.t)("spreed","You can invite others in the participant tab of the sidebar"):this.isPublicConversation&&this.canInviteOthersInPublicConversations?(0,K.t)("spreed","You can invite others in the participant tab of the sidebar or share this link to invite others!"):(0,K.t)("spreed","Share this link to invite others!")},showLink(){return this.isPublicConversation&&!this.isPasswordRequestConversation&&!this.isFileConversation}},methods:{t:K.t,handleCopyLink(){D0(this.token)}}},D2=(0,to.default)(D1,[["render",DR],["__scopeId","data-v-590eeac2"]]),D3=["src"],D4={key:1,class:"avatar-container"},D6={class:"bottom-bar"};function D5(e,t,i,n,r,a){let s=(0,z.g2)("IconAccountOffOutline"),o=(0,z.g2)("NcLoadingIcon"),l=(0,z.g2)("VideoBackground"),u=(0,z.g2)("AvatarWrapper"),d=(0,z.g2)("NcButton");return(0,z.uX)(),(0,z.CE)("div",{ref:"videoContainer",class:(0,z.C4)(["localVideoContainer",a.videoContainerClass]),onMouseover:t[2]||(t[2]=e=>r.mouseover=!0),onMouseleave:t[3]||(t[3]=e=>r.mouseover=!1),onClick:t[4]||(t[4]=t=>e.$emit("clickVideo"))},[a.screenshotModeUrl?((0,z.uX)(),(0,z.CE)("img",{key:0,class:"dev-mode-video--self videoWrapper",alt:"dev-mode-video--self",src:a.screenshotModeUrl},null,8,D3)):(0,z.Q3)("",!0),(0,z.bo)((0,z.Lk)("div",{class:"videoWrapper",style:(0,z.Tr)(a.videoWrapperStyle)},[(0,z.Lk)("video",{id:"localVideo",ref:"video",disablePictureInPicture:"true",class:(0,z.C4)([i.fitVideo?"video--fit":"video--fill","video"]),onPlaying:t[0]||(t[0]=(...e)=>a.updateVideoAspectRatio&&a.updateVideoAspectRatio(...e))},null,34),i.isPresenterOverlay&&r.mouseover?((0,z.uX)(),(0,z.Wv)(s,{key:0,class:"presenter-icon__hide","aria-label":a.t("spreed","Hide presenter video"),title:a.t("spreed","Hide presenter video"),size:32,onClick:t[1]||(t[1]=t=>e.$emit("clickPresenter"))},null,8,["aria-label","title"])):(0,z.Q3)("",!0),a.isNotConnected?((0,z.uX)(),(0,z.Wv)(o,{key:1,size:a.avatarSize/2,class:"video-loading"},null,8,["size"])):(0,z.Q3)("",!0)],4),[[z.aG,!a.screenshotModeUrl&&i.localMediaModel.attributes.videoEnabled]]),a.screenshotModeUrl||i.localMediaModel.attributes.videoEnabled||i.isSidebar?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",D4,[i.isGrid||i.isStripe?((0,z.uX)(),(0,z.Wv)(l,{key:0})):(0,z.Q3)("",!0),(0,z.bF)(u,{id:a.userId,token:i.token,name:a.displayName,source:n.actorStore.actorType,size:a.avatarSize,loading:a.isNotConnected,disableMenu:"",disableTooltip:""},null,8,["id","token","name","source","size","loading"])])),(0,z.Lk)("div",D6,[i.isBig?((0,z.uX)(),(0,z.Wv)(d,{key:0,variant:"tertiary",class:"bottom-bar__button",onClick:a.handleStopFollowing},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.stopFollowingLabel),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0)])],34)}let D8=["aria-hidden","aria-label"],D9=["fill","width","height"],D7={d:"M2.75,7L4.03,5.75L13.26,15L20,21.72L18.73,23L15.73,20H4V17C4,15.14 6.61,13.92 9.09,13.36L2.75,7M20,17V19.18L18.1,17.28V17C18.1,16.74 17.6,16.35 16.8,16L14,13.18C16.71,13.63 20,14.91 20,17M5.9,17V18.1H13.83L10.72,15C8.19,15.3 5.9,16.45 5.9,17M12,4A4,4 0 0,1 16,8C16,9.95 14.6,11.58 12.75,11.93L8.07,7.25C8.42,5.4 10.05,4 12,4M12,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6Z"},Te={key:0};function Tt(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon account-off-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",D7,[i.title?((0,z.uX)(),(0,z.CE)("title",Te,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,D9))],16,D8)}let Ti={name:"AccountOffOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Tn=(0,to.default)(Ti,[["render",Tt]]),Tr=["aria-label"];function Ta(e,t,i,n,r,a){let s=(0,z.g2)("NcAvatar"),o=(0,z.g2)("WebIcon"),l=(0,z.g2)("NcLoadingIcon");return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["avatar-wrapper",a.avatarClass]),style:(0,z.Tr)(a.avatarStyle)},[a.isSpecialAvatar?((0,z.uX)(),(0,z.Wv)(s,{key:(n.isDarkTheme?"dark-":"light-")+"_"+i.id,class:"avatar",user:i.id,url:a.isFederatedUser?a.avatarUrl:void 0,iconClass:a.iconClass,displayName:i.name,disableTooltip:i.disableTooltip,disableMenu:"",isNoUser:"",hideStatus:!i.showUserStatus,verboseStatus:!1,preloadedUserStatus:i.preloadedUserStatus??{},size:i.size},(0,z.eX)({_:2},[a.characterIcon?{name:"icon",fn:(0,z.k6)(()=>[(0,z.Lk)("div",{class:(0,z.C4)(["avatar",a.characterIconClass])},(0,z.v_)(a.characterIcon),3)]),key:"0"}:void 0]),1032,["user","url","iconClass","displayName","disableTooltip","hideStatus","preloadedUserStatus","size"])):((0,z.uX)(),(0,z.Wv)(s,{key:i.id+(n.isDarkTheme?"-dark":"-light"),user:i.id,displayName:i.name,menuContainer:i.menuContainer,disableTooltip:i.disableTooltip,disableMenu:i.disableMenu,hideStatus:!i.showUserStatus,verboseStatus:!i.showUserStatusCompact,preloadedUserStatus:i.preloadedUserStatus,size:i.size},null,8,["user","displayName","menuContainer","disableTooltip","disableMenu","hideStatus","verboseStatus","preloadedUserStatus","size"])),i.showUserStatus&&a.isFederatedUser?((0,z.uX)(),(0,z.CE)("span",{key:2,class:"avatar-wrapper__user-status",role:"img","aria-hidden":"false","aria-label":a.t("spreed","Federated user")},[(0,z.bF)(o,{size:14})],8,Tr)):(0,z.Q3)("",!0),i.loading?((0,z.uX)(),(0,z.Wv)(l,{key:3,size:i.size/2,class:"loading-avatar"},null,8,["size"])):(0,z.Q3)("",!0)],6)}var Ts=__webpack_require__(27359);let To=new WeakMap,Tl={mounted(e,t){let i,n=!t.modifiers.bubble;if("function"==typeof t.value)i=(0,J.X2F)(e,t.value,{capture:n});else{let[r,a]=t.value;i=(0,J.X2F)(e,r,Object.assign({capture:n},a))}To.set(e,i)},unmounted(e){let t=To.get(e);t&&"function"==typeof t?t():null==t||t.stop(),To.delete(e)}},Tu={mounted(e,t){"function"==typeof t.value?(0,J.BLq)(e,t.value):(0,J.BLq)(e,...t.value)}};!function(){let e=!1,t=(0,z.IJ)(!1);(i,n)=>{if(t.value=n.value,e)return;e=!0;let r=(0,J.K$F)(i,n.value);(0,z.wB)(t,e=>r.value=e)}}();var Td=__webpack_require__(55357);function Tc(e,t,i){let n={type:String(e)};return null==i&&("string"==typeof t||Array.isArray(t))?i=t:Object.assign(n,t),Array.isArray(i)?n.children=i:null!=i&&(n.value=String(i)),n}var Th=__webpack_require__(47970),Tf=__webpack_require__(82834),Tm=__webpack_require__(3168);let Tg=/(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig,Tp=/(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig,T_=(0,z.pM)({name:"NcLink",props:{href:{type:String,required:!0}},render(){return(0,z.h)("a",{href:this.href,rel:"noopener noreferrer",target:"_blank",class:"rich-text--external-link"},[this.href.trim()])}});function Tv({autolink:e,useMarkdown:t,useExtendedMarkdown:i}){return function(n){!i&&t&&e&&(0,Th.YR)(n,e=>"text"===e.type,(e,t,i)=>{let n=Tb(e.value);return n="string"==typeof n?[Tc("text",n)]:n.map(e=>"string"==typeof e?Tc("text",e):Tc("link",{url:e.props.href},[Tc("text",e.props.href)])).filter(e=>e).flat(),i.children.splice(t,1,...n),[Tf._Z,(t??0)+n.length]})}}function Tb(e){let t=Tp.exec(e),i=[],n=0;for(;null!==t;){let r,a=t[2],s=e.substring(n,t.index+t[1].length);" "===a[0]&&(s+=a[0],a=a.substring(1).trim());let o=a[a.length-1];("."===o||","===o||";"===o||"("===t[0][0]&&")"===o)&&(a=a.substring(0,a.length-1),r=o),i.push(s),i.push({component:T_,props:{href:a}}),r&&i.push(r),n=t.index+t[0].length,t=Tp.exec(e)}return(i.push(e.substring(n)),e===i.map(e=>"string"==typeof e?e:e.props.href).join(""))?i:(Tm.l.error("[NcRichText] Failed to reassemble the chunked text: "+e),e)}function Ty(e,t){let i=(e,t)=>e.startsWith(t)?e.slice(t.length):e,n=(e,...t)=>t.reduce((e,t)=>i(e,t),e);if(!e)return null;let r=/^https?:\/\//.test(t),a=/^[a-z][a-z0-9+.-]*:.+/.test(t);if(!r&&a||r&&!t.startsWith((0,O.$_)())||!r&&!t.startsWith("/"))return null;let s=r?n(t,(0,O.$_)(),"/index.php"):t,o=n(e.options.history.base,(0,O.aU)(),"/index.php"),l=n(s,o)||"/",u=e.resolve(l);return u.matched.length?u.fullPath:null}var TF=__webpack_require__(53340);function Tk(e){return window._nc_contacts_menu_hooks?Object.values(window._nc_contacts_menu_hooks).filter(t=>t.enabled(e)):[]}__webpack_require__(49765);let Tw=new Int32Array(4);class TC{static hashStr(e,t=!1){return this.onePassHasher.start().appendStr(e).end(t)}static hashAsciiStr(e,t=!1){return this.onePassHasher.start().appendAsciiStr(e).end(t)}static stateIdentity=new Int32Array([0x67452301,-0x10325477,-0x67452302,0x10325476]);static buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);static hexChars="0123456789abcdef";static hexOut=[];static onePassHasher=new TC;static _hex(e){let t,i,n,r,a=TC.hexChars,s=TC.hexOut;for(r=0;r<4;r+=1)for(i=8*r,t=e[r],n=0;n<8;n+=2)s[i+1+n]=a.charAt(15&t),t>>>=4,s[i+0+n]=a.charAt(15&t),t>>>=4;return s.join("")}static _md5cycle(e,t){let i=e[0],n=e[1],r=e[2],a=e[3];i+=(n&r|~n&a)+t[0]-0x28955b88|0,a+=((i=(i<<7|i>>>25)+n|0)&n|~i&r)+t[1]-0x173848aa|0,r+=((a=(a<<12|a>>>20)+i|0)&i|~a&n)+t[2]+0x242070db|0,n+=((r=(r<<17|r>>>15)+a|0)&a|~r&i)+t[3]-0x3e423112|0,i+=((n=(n<<22|n>>>10)+r|0)&r|~n&a)+t[4]-0xa83f051|0,a+=((i=(i<<7|i>>>25)+n|0)&n|~i&r)+t[5]+0x4787c62a|0,r+=((a=(a<<12|a>>>20)+i|0)&i|~a&n)+t[6]-0x57cfb9ed|0,n+=((r=(r<<17|r>>>15)+a|0)&a|~r&i)+t[7]-0x2b96aff|0,i+=((n=(n<<22|n>>>10)+r|0)&r|~n&a)+t[8]+0x698098d8|0,a+=((i=(i<<7|i>>>25)+n|0)&n|~i&r)+t[9]-0x74bb0851|0,r+=((a=(a<<12|a>>>20)+i|0)&i|~a&n)+t[10]-42063|0,n+=((r=(r<<17|r>>>15)+a|0)&a|~r&i)+t[11]-0x76a32842|0,i+=((n=(n<<22|n>>>10)+r|0)&r|~n&a)+t[12]+0x6b901122|0,a+=((i=(i<<7|i>>>25)+n|0)&n|~i&r)+t[13]-0x2678e6d|0,r+=((a=(a<<12|a>>>20)+i|0)&i|~a&n)+t[14]-0x5986bc72|0,n+=((r=(r<<17|r>>>15)+a|0)&a|~r&i)+t[15]+0x49b40821|0,i+=((n=(n<<22|n>>>10)+r|0)&a|r&~a)+t[1]-0x9e1da9e|0,a+=((i=(i<<5|i>>>27)+n|0)&r|n&~r)+t[6]-0x3fbf4cc0|0,r+=((a=(a<<9|a>>>23)+i|0)&n|i&~n)+t[11]+0x265e5a51|0,n+=((r=(r<<14|r>>>18)+a|0)&i|a&~i)+t[0]-0x16493856|0,i+=((n=(n<<20|n>>>12)+r|0)&a|r&~a)+t[5]-0x29d0efa3|0,a+=((i=(i<<5|i>>>27)+n|0)&r|n&~r)+t[10]+0x2441453|0,r+=((a=(a<<9|a>>>23)+i|0)&n|i&~n)+t[15]-0x275e197f|0,n+=((r=(r<<14|r>>>18)+a|0)&i|a&~i)+t[4]-0x182c0438|0,i+=((n=(n<<20|n>>>12)+r|0)&a|r&~a)+t[9]+0x21e1cde6|0,a+=((i=(i<<5|i>>>27)+n|0)&r|n&~r)+t[14]-0x3cc8f82a|0,r+=((a=(a<<9|a>>>23)+i|0)&n|i&~n)+t[3]-0xb2af279|0,n+=((r=(r<<14|r>>>18)+a|0)&i|a&~i)+t[8]+0x455a14ed|0,i+=((n=(n<<20|n>>>12)+r|0)&a|r&~a)+t[13]-0x561c16fb|0,a+=((i=(i<<5|i>>>27)+n|0)&r|n&~r)+t[2]-0x3105c08|0,r+=((a=(a<<9|a>>>23)+i|0)&n|i&~n)+t[7]+0x676f02d9|0,n+=((r=(r<<14|r>>>18)+a|0)&i|a&~i)+t[12]-0x72d5b376|0,i+=((n=(n<<20|n>>>12)+r|0)^r^a)+t[5]-378558|0,a+=((i=(i<<4|i>>>28)+n|0)^n^r)+t[8]-0x788e097f|0,r+=((a=(a<<11|a>>>21)+i|0)^i^n)+t[11]+0x6d9d6122|0,n+=((r=(r<<16|r>>>16)+a|0)^a^i)+t[14]-0x21ac7f4|0,i+=((n=(n<<23|n>>>9)+r|0)^r^a)+t[1]-0x5b4115bc|0,a+=((i=(i<<4|i>>>28)+n|0)^n^r)+t[4]+0x4bdecfa9|0,r+=((a=(a<<11|a>>>21)+i|0)^i^n)+t[7]-0x944b4a0|0,n+=((r=(r<<16|r>>>16)+a|0)^a^i)+t[10]-0x41404390|0,i+=((n=(n<<23|n>>>9)+r|0)^r^a)+t[13]+0x289b7ec6|0,a+=((i=(i<<4|i>>>28)+n|0)^n^r)+t[0]-0x155ed806|0,r+=((a=(a<<11|a>>>21)+i|0)^i^n)+t[3]-0x2b10cf7b|0,n+=((r=(r<<16|r>>>16)+a|0)^a^i)+t[6]+0x4881d05|0,i+=((n=(n<<23|n>>>9)+r|0)^r^a)+t[9]-0x262b2fc7|0,a+=((i=(i<<4|i>>>28)+n|0)^n^r)+t[12]-0x1924661b|0,r+=((a=(a<<11|a>>>21)+i|0)^i^n)+t[15]+0x1fa27cf8|0,n+=((r=(r<<16|r>>>16)+a|0)^a^i)+t[2]-0x3b53a99b|0,n=(n<<23|n>>>9)+r|0,i+=(r^(n|~a))+t[0]-0xbd6ddbc|0,i=(i<<6|i>>>26)+n|0,a+=(n^(i|~r))+t[7]+0x432aff97|0,a=(a<<10|a>>>22)+i|0,r+=(i^(a|~n))+t[14]-0x546bdc59|0,r=(r<<15|r>>>17)+a|0,n+=(a^(r|~i))+t[5]-0x36c5fc7|0,n=(n<<21|n>>>11)+r|0,i+=(r^(n|~a))+t[12]+0x655b59c3|0,i=(i<<6|i>>>26)+n|0,a+=(n^(i|~r))+t[3]-0x70f3336e|0,a=(a<<10|a>>>22)+i|0,r+=(i^(a|~n))+t[10]-1051523|0,r=(r<<15|r>>>17)+a|0,n+=(a^(r|~i))+t[1]-0x7a7ba22f|0,n=(n<<21|n>>>11)+r|0,i+=(r^(n|~a))+t[8]+0x6fa87e4f|0,i=(i<<6|i>>>26)+n|0,a+=(n^(i|~r))+t[15]-0x1d31920|0,a=(a<<10|a>>>22)+i|0,r+=(i^(a|~n))+t[6]-0x5cfebcec|0,r=(r<<15|r>>>17)+a|0,n+=(a^(r|~i))+t[13]+0x4e0811a1|0,n=(n<<21|n>>>11)+r|0,i+=(r^(n|~a))+t[4]-0x8ac817e|0,i=(i<<6|i>>>26)+n|0,a+=(n^(i|~r))+t[11]-0x42c50dcb|0,a=(a<<10|a>>>22)+i|0,r+=(i^(a|~n))+t[2]+0x2ad7d2bb|0,r=(r<<15|r>>>17)+a|0,n+=(a^(r|~i))+t[9]-0x14792c6f|0,n=(n<<21|n>>>11)+r|0,e[0]=i+e[0]|0,e[1]=n+e[1]|0,e[2]=r+e[2]|0,e[3]=a+e[3]|0}_dataLength=0;_bufferLength=0;_state=new Int32Array(4);_buffer=new ArrayBuffer(68);_buffer8;_buffer32;constructor(){this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(TC.stateIdentity),this}appendStr(e){let t=this._buffer8,i=this._buffer32,n=this._bufferLength,r,a;for(a=0;a>>6)+192,t[n++]=63&r|128;else if(r<55296||r>56319)t[n++]=(r>>>12)+224,t[n++]=r>>>6&63|128,t[n++]=63&r|128;else{if((r=(r-55296)*1024+(e.charCodeAt(++a)-56320)+65536)>1114111)throw Error("Unicode standard supports code points up to U+10FFFF");t[n++]=(r>>>18)+240,t[n++]=r>>>12&63|128,t[n++]=r>>>6&63|128,t[n++]=63&r|128}n>=64&&(this._dataLength+=64,TC._md5cycle(this._state,i),n-=64,i[0]=i[16])}return this._bufferLength=n,this}appendAsciiStr(e){let t=this._buffer8,i=this._buffer32,n=this._bufferLength,r,a=0;for(;;){for(r=Math.min(e.length-a,64-n);r--;)t[n++]=e.charCodeAt(a++);if(n<64)break;this._dataLength+=64,TC._md5cycle(this._state,i),n=0}return this._bufferLength=n,this}appendByteArray(e){let t=this._buffer8,i=this._buffer32,n=this._bufferLength,r,a=0;for(;;){for(r=Math.min(e.length-a,64-n);r--;)t[n++]=e[a++];if(n<64)break;this._dataLength+=64,TC._md5cycle(this._state,i),n=0}return this._bufferLength=n,this}getState(){let e=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[e[0],e[1],e[2],e[3]]}}setState(e){let t,i=e.buffer,n=e.state,r=this._state;for(this._dataLength=e.length,this._bufferLength=e.buflen,r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],t=0;t>2)+1;this._dataLength+=t;let a=8*this._dataLength;if(i[t]=128,i[t+1]=i[t+2]=i[t+3]=0,n.set(TC.buffer32Identity.subarray(r),r),t>55&&(TC._md5cycle(this._state,n),n.set(TC.buffer32Identity)),a<=0xffffffff)n[14]=a;else{let t=a.toString(16).match(/(.*?)(.{0,8})$/);if(null===t)return e?Tw:"";let i=parseInt(t[2],16),r=parseInt(t[1],16)||0;n[14]=i,n[15]=r}return TC._md5cycle(this._state,n),e?this._state:TC._hex(this._state)}}if("5d41402abc4b2a76b9719d911017c592"!==TC.hashStr("hello"))throw Error("Md5 self test failed.");var TA=__webpack_require__(80652);function TE(e){let t=e;null===e.match(/^([0-9a-f]{4}-?){8}$/)&&(t=TC.hashStr(e)),t=t.replace(/[^0-9a-f]/g,"");let i=0;for(let e=0;e=(t?.size||64)?64:512,n=t?.isGuest?"/guest":"",r=t?.isDarkTheme??(0,TD.H)(document.body)?"/dark":"";return(0,O.Jv)(`/avatar${n}/{user}/{size}${r}`,{user:e,size:i})}let TM='\x3c!--\n - SPDX-FileCopyrightText: 2020 Google Inc.\n - SPDX-License-Identifier: Apache-2.0\n--\x3e\n\n \n\n',TI='\x3c!--\n - SPDX-FileCopyrightText: 2020 Google Inc.\n - SPDX-License-Identifier: Apache-2.0\n--\x3e\n\n \n\n',TB='\x3c!--\n - SPDX-FileCopyrightText: 2020 Google Inc.\n - SPDX-License-Identifier: Apache-2.0\n--\x3e\n\n \n\n',TP='\x3c!--\n - SPDX-FileCopyrightText: 2020 Google Inc.\n - SPDX-License-Identifier: Apache-2.0\n--\x3e\n\n \n\n',TL='\x3c!--\n - SPDX-FileCopyrightText: 2020 Google Inc.\n - SPDX-License-Identifier: Apache-2.0\n--\x3e\n\n \n\n';function TN(e){switch(e){case"away":return(0,Sr.a)("away");case"busy":return(0,Sr.a)("busy");case"dnd":return(0,Sr.a)("do not disturb");case"online":return(0,Sr.a)("online");case"invisible":return(0,Sr.a)("invisible");case"offline":return(0,Sr.a)("offline");default:return e}}(0,Sr.r)(Sr.Q),(0,Sr.r)(Sr.R);let TR=["aria-hidden","aria-label","innerHTML"],Tj=(0,z.pM)({__name:"NcUserStatusIcon",props:(0,z.zz)({user:{default:void 0},ariaHidden:{type:[Boolean,String],default:!1}},{status:{},statusModifiers:{}}),emits:["update:status"],setup(e){let t=(0,z.fn)(e,"status"),i=e,n=(0,z.EW)(()=>t.value&&["invisible","offline"].includes(t.value)),r=(0,z.EW)(()=>t.value&&(!i.ariaHidden||"false"===i.ariaHidden)?(0,Sr.a)("User status: {status}",{status:TN(t.value)}):void 0);(0,z.wB)(()=>i.user,async e=>{if(!t.value&&e&&(0,aB.F)()?.user_status?.enabled)try{let{data:i}=await aw.Ay.get((0,O.KT)("/apps/user_status/api/v1/statuses/{user}",{user:e}));t.value=i.ocs?.data?.status}catch(e){Tm.l.debug("Error while fetching user status",{error:e})}},{immediate:!0});let a={online:TL,away:TM,busy:TI,dnd:TB,invisible:TP,offline:TP},s=(0,z.EW)(()=>t.value&&a[t.value]);return(e,i)=>t.value?((0,z.uX)(),(0,z.CE)("span",{key:0,class:(0,z.C4)(["user-status-icon",{"user-status-icon--invisible":n.value}]),"aria-hidden":!r.value||void 0,"aria-label":r.value,role:"img",innerHTML:s.value},null,10,TR)):(0,z.Q3)("",!0)}}),TO=(0,e4._)(Tj,[["__scopeId","data-v-881a79fb"]]);var Tz=__webpack_require__(70974),TU=__webpack_require__(97201);let Tq={name:"NcActionText",mixins:[__webpack_require__(63825).A],inject:{isInSemanticMenu:{from:Ss.a,default:!1}}},TW=["role"],TV={key:0,class:"action-text__longtext-wrapper"},TH={class:"action-text__name"},T$=["textContent"],TG=["textContent"],TX={key:2,class:"action-text__text"};function TK(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("li",{class:"action",role:a.isInSemanticMenu&&"presentation"},[(0,z.Lk)("span",{class:"action-text",onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},[(0,z.RG)(e.$slots,"icon",{},()=>[""!==e.icon?((0,z.uX)(),(0,z.CE)("span",{key:0,"aria-hidden":"true",class:(0,z.C4)(["action-text__icon",[e.isIconUrl?"action-text__icon--url":e.icon]]),style:(0,z.Tr)({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)):(0,z.Q3)("",!0)],!0),e.name?((0,z.uX)(),(0,z.CE)("span",TV,[(0,z.Lk)("strong",TH,(0,z.v_)(e.name),1),(0,z.Lk)("span",{class:"action-text__longtext",textContent:(0,z.v_)(e.text)},null,8,T$)])):e.isLongText?((0,z.uX)(),(0,z.CE)("span",{key:1,class:"action-text__longtext",textContent:(0,z.v_)(e.text)},null,8,TG)):((0,z.uX)(),(0,z.CE)("span",TX,(0,z.v_)(e.text),1)),(0,z.Q3)("",!0)])],8,TW)}let TY=(0,e4._)(Tq,[["render",TK],["__scopeId","data-v-fa684b48"]]);var TQ=__webpack_require__(56575),TZ=__webpack_require__(47031);(0,Sr.r)(Sr.m);let TJ={data:()=>({hasStatus:!1,userStatus:{status:null,message:null,icon:null}}),methods:{async fetchUserStatus(e){if(!e)return;let t=(0,aB.F)();if(Object.hasOwn(t,"user_status")&&t.user_status.enabled&&(0,j.HW)())try{let{data:t}=await aw.Ay.get((0,O.KT)("apps/user_status/api/v1/statuses/{userId}",{userId:e}));this.setUserStatus(t.ocs.data)}catch(e){if(404===e.response.status&&e.response.data.ocs?.data?.length===0)return;Tm.l.error("Failed to fetch user status",{error:e})}},setUserStatus({status:e,message:t,icon:i}){this.userStatus.status=e||"",this.userStatus.message=t||"",this.userStatus.icon=i||"",this.hasStatus=!!e}}},T0=(0,i0.c0)("nextcloud").persist().build();function T1(e){let t=T0.getItem("user-has-avatar."+e);return"string"==typeof t?!!t:null}function T2(e,t){e&&T0.setItem("user-has-avatar."+e,t)}let T3={name:"NcAvatar",directives:{ClickOutside:Tl},components:{IconDotsHorizontal:Td.I,NcActions:Td.N,NcButton:TQ.N,NcIconSvgWrapper:TZ.N,NcLoadingIcon:te.N,NcUserStatusIcon:TO},mixins:[TJ],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},hideStatus:{type:Boolean,default:!1},verboseStatus:{type:Boolean,default:!1},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},noPlaceholder:{type:Boolean,default:!1},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},menuContainer:{type:[Boolean,String,Object,Element],default:"body"}},setup:()=>({isDarkTheme:(0,Ts.b)()}),data:()=>({avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuLoading:!1,contactsMenuData:{},contactsMenuActions:[],contactsMenuOpenState:!1}),computed:{avatarAriaLabel(){if(this.hasMenu)return this.canDisplayUserStatus||this.showUserStatusIconOnAvatar?(0,Sr.a)("Avatar of {displayName}, {status}",{displayName:this.displayName??this.user,status:TN(this.userStatus.status)}):(0,Sr.a)("Avatar of {displayName}",{displayName:this.displayName??this.user})},canDisplayUserStatus(){return!this.hideStatus&&this.hasStatus&&["online","away","busy","dnd"].includes(this.userStatus.status)},showUserStatusIconOnAvatar(){return!this.hideStatus&&!this.verboseStatus&&this.hasStatus&&"dnd"!==this.userStatus.status&&this.userStatus.icon},userIdentifier(){return this.isDisplayNameDefined?this.displayName:this.isUserDefined?this.user:""},isUserDefined(){return void 0!==this.user},isDisplayNameDefined(){return void 0!==this.displayName},isUrlDefined(){return void 0!==this.url},hasMenu(){return!this.disableMenu&&(this.isMenuLoaded?this.menu.length>0:!(this.user===(0,j.HW)()?.uid||this.userDoesNotExist||this.url))},showInitials(){return!this.noPlaceholder&&this.userDoesNotExist&&!(this.iconClass||this.$slots.icon)},avatarStyle(){return{"--avatar-size":this.size+"px",lineHeight:this.showInitials?this.size+"px":0,fontSize:Math.round(.45*this.size)+"px"}},initialsWrapperStyle(){let{r:e,g:t,b:i}=TS(this.userIdentifier);return{backgroundColor:`rgba(${e}, ${t}, ${i}, 0.1)`}},initialsStyle(){let{r:e,g:t,b:i}=TS(this.userIdentifier);return{color:`rgb(${e}, ${t}, ${i})`}},tooltip(){return this.disableTooltip?null:this.tooltipMessage?this.tooltipMessage:this.displayName},initials(){let e="?";if(this.showInitials){let t=this.userIdentifier.trim();if(""===t)return e;let i=t.match(/[\p{L}\p{N}\s]/gu);if(!i)return e;let n=i.join(""),r=n.lastIndexOf(" ");e=String.fromCodePoint(n.codePointAt(0)),-1!==r&&(e=e.concat(String.fromCodePoint(n.codePointAt(r+1))))}return e.toLocaleUpperCase()},menu(){let e=this.contactsMenuActions.map(e=>{let t=Ty(this.$router,e.hyperlink);return{ncActionComponent:t?TU.N:Tz.N,ncActionComponentProps:t?{to:t,icon:e.icon}:{href:e.hyperlink,icon:e.icon},text:e.title}});for(let t of Tk(this.contactsMenuData))try{e.push({ncActionComponent:e2.N,ncActionComponentProps:{onClick:()=>t.callback(this.contactsMenuData)},text:t.displayName(this.contactsMenuData),iconSvg:t.iconSvg(this.contactsMenuData)})}catch(e){Tm.l.error(`Failed to render ContactsMenu action ${t.id}`,{error:e,action:t})}function t(e){let t=document.createTextNode(e),i=document.createElement("p");return i.appendChild(t),i.innerHTML}if(!this.hideStatus&&(this.userStatus.icon||this.userStatus.message)){let i=` ${t(this.userStatus.icon)} `;return[{ncActionComponent:TY,ncActionComponentProps:{},iconSvg:this.userStatus.icon?i:void 0,text:`${this.userStatus.message}`}].concat(e)}return e}},watch:{url(){this.userDoesNotExist=!1,this.loadAvatarUrl()},user(){this.userDoesNotExist=!1,this.isMenuLoaded=!1,this.loadAvatarUrl()}},mounted(){this.loadAvatarUrl(),(0,G.B1)("settings:avatar:updated",this.loadAvatarUrl),(0,G.B1)("settings:display-name:updated",this.loadAvatarUrl),this.hideStatus||!this.user||this.isNoUser?!this.hideStatus&&this.preloadedUserStatus&&this.setUserStatus(this.preloadedUserStatus):(this.preloadedUserStatus?this.setUserStatus(this.preloadedUserStatus):this.fetchUserStatus(this.user),(0,G.B1)("user_status:status.updated",this.handleUserStatusUpdated))},beforeUnmount(){(0,G.al)("settings:avatar:updated",this.loadAvatarUrl),(0,G.al)("settings:display-name:updated",this.loadAvatarUrl),(0,G.al)("user_status:status.updated",this.handleUserStatusUpdated)},methods:{t:Sr.a,handleUserStatusUpdated(e){this.user===e.userId&&(this.userStatus={status:e.status,icon:e.icon,message:e.message},this.hasStatus=null!==e.status)},async toggleMenu(e){("keydown"!==e.type||"Enter"===e.key)&&(this.contactsMenuOpenState||await this.fetchContactsMenu(),this.contactsMenuOpenState=!this.contactsMenuOpenState)},closeMenu(){this.contactsMenuOpenState=!1},async fetchContactsMenu(){this.contactsMenuLoading=!0;try{let e=encodeURIComponent(this.user),{data:t}=await aw.Ay.post((0,O.Jv)("contactsmenu/findOne"),`shareType=0&shareWith=${e}`);this.contactsMenuData=t,this.contactsMenuActions=t.topAction?[t.topAction].concat(t.actions):t.actions}catch{this.contactsMenuOpenState=!1}this.contactsMenuLoading=!1,this.isMenuLoaded=!0},loadAvatarUrl(){if(this.isAvatarLoaded=!1,!this.isUrlDefined&&(!this.isUserDefined||this.isNoUser||this.iconClass||this.$slots.icon)){this.isAvatarLoaded=!0,this.userDoesNotExist=!0;return}if(this.isUrlDefined)return void this.updateImageIfValid(this.url);if(this.size<=64){let e=this.avatarUrlGenerator(this.user,64),t=[e+" 1x",this.avatarUrlGenerator(this.user,512)+" 8x"].join(", ");this.updateImageIfValid(e,t)}else{let e=this.avatarUrlGenerator(this.user,512);this.updateImageIfValid(e)}},avatarUrlGenerator(e,t){let i=TT(e,{size:t,isDarkTheme:this.isDarkTheme,isGuest:this.isGuest});return e===(0,j.HW)()?.uid&&"u">typeof oc_userconfig&&(i+="?v="+window.oc_userconfig.avatar.version),i},updateImageIfValid(e,t=null){let i=T1(this.user);if(this.isUserDefined&&"boolean"==typeof i){this.isAvatarLoaded=!0,this.avatarUrlLoaded=e,t&&(this.avatarSrcSetLoaded=t),!1===i&&(this.userDoesNotExist=!0);return}let n=new Image;n.onload=()=>{this.avatarUrlLoaded=e,t&&(this.avatarSrcSetLoaded=t),this.isAvatarLoaded=!0,T2(this.user,!0)},n.onerror=t=>{Tm.l.debug("[NcAvatar] Invalid avatar url",{error:t,url:e}),this.avatarUrlLoaded=null,this.avatarSrcSetLoaded=null,this.userDoesNotExist=!0,this.isAvatarLoaded=!1,T2(this.user,!1)},t&&(n.srcset=t),n.src=e}}},T4=["title"],T6=["src","srcset"],T5={key:2,class:"avatardiv__user-status avatardiv__user-status--icon"};function T8(e,t,i,n,r,a){let s=(0,z.g2)("NcLoadingIcon"),o=(0,z.g2)("IconDotsHorizontal"),l=(0,z.g2)("NcButton"),u=(0,z.g2)("NcIconSvgWrapper"),d=(0,z.g2)("NcActions"),c=(0,z.g2)("NcUserStatusIcon"),h=(0,z.gN)("click-outside");return(0,z.bo)(((0,z.uX)(),(0,z.CE)("span",{class:(0,z.C4)(["avatardiv popovermenu-wrapper",{"avatardiv--unknown":r.userDoesNotExist,"avatardiv--with-menu":a.hasMenu,"avatardiv--with-menu-loading":r.contactsMenuLoading}]),style:(0,z.Tr)(a.avatarStyle),title:a.tooltip},[(0,z.RG)(e.$slots,"icon",{},()=>[i.iconClass?((0,z.uX)(),(0,z.CE)("span",{key:0,class:(0,z.C4)([i.iconClass,"avatar-class-icon"])},null,2)):r.isAvatarLoaded&&!r.userDoesNotExist?((0,z.uX)(),(0,z.CE)("img",{key:1,src:r.avatarUrlLoaded,srcset:r.avatarSrcSetLoaded,alt:""},null,8,T6)):(0,z.Q3)("",!0)],!0),a.hasMenu&&0===a.menu.length?((0,z.uX)(),(0,z.Wv)(l,{key:0,"aria-label":a.avatarAriaLabel,class:"action-item action-item__menutoggle",variant:"tertiary-no-background",onClick:a.toggleMenu},{icon:(0,z.k6)(()=>[r.contactsMenuLoading?((0,z.uX)(),(0,z.Wv)(s,{key:0})):((0,z.uX)(),(0,z.Wv)(o,{key:1,size:20}))]),_:1},8,["aria-label","onClick"])):a.hasMenu?((0,z.uX)(),(0,z.Wv)(d,{key:1,open:r.contactsMenuOpenState,"onUpdate:open":t[0]||(t[0]=e=>r.contactsMenuOpenState=e),"aria-label":a.avatarAriaLabel,container:i.menuContainer,forceMenu:"",manualOpen:"",variant:"tertiary-no-background",onClick:a.toggleMenu},(0,z.eX)({default:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.menu,(e,t)=>((0,z.uX)(),(0,z.Wv)((0,z.$y)(e.ncActionComponent),(0,z.v6)({key:t},{ref_for:!0},e.ncActionComponentProps),(0,z.eX)({default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(e.text),1)]),_:2},[e.iconSvg?{name:"icon",fn:(0,z.k6)(()=>[(0,z.bF)(u,{svg:e.iconSvg},null,8,["svg"])]),key:"0"}:void 0]),1040))),128))]),_:2},[r.contactsMenuLoading?{name:"icon",fn:(0,z.k6)(()=>[(0,z.bF)(s)]),key:"0"}:void 0]),1032,["open","aria-label","container","onClick"])):(0,z.Q3)("",!0),a.showUserStatusIconOnAvatar?((0,z.uX)(),(0,z.CE)("span",T5,(0,z.v_)(e.userStatus.icon),1)):a.canDisplayUserStatus?((0,z.uX)(),(0,z.Wv)(c,{key:3,class:"avatardiv__user-status",status:e.userStatus.status,"aria-hidden":String(a.hasMenu)},null,8,["status","aria-hidden"])):(0,z.Q3)("",!0),a.showInitials?((0,z.uX)(),(0,z.CE)("span",{key:4,style:(0,z.Tr)(a.initialsWrapperStyle),class:"avatardiv__initials-wrapper"},[(0,z.Lk)("span",{style:(0,z.Tr)(a.initialsStyle),class:"avatardiv__initials"},(0,z.v_)(a.initials),5)],4)):(0,z.Q3)("",!0)],14,T4)),[[h,a.closeMenu]])}let T9=(0,e4._)(T3,[["render",T8],["__scopeId","data-v-72a1eed6"]]),T7=["aria-hidden","aria-label"],Me=["fill","width","height"],Mt={d:"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Mi={key:0};function Mn(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon web-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Mt,[i.title?((0,z.uX)(),(0,z.CE)("title",Mi,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Me))],16,T7)}let Mr={name:"WebIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ma=(0,to.default)(Mr,[["render",Mn]]),Ms={name:"AvatarWrapper",components:{NcAvatar:T9,WebIcon:Ma,NcLoadingIcon:te.N},props:{token:{type:String,default:null},name:{type:String,required:!0},id:{type:String,default:null},source:{type:String,default:null},size:{type:Number,default:ah.SIZE.DEFAULT},condensed:{type:Boolean,default:!1},condensedOverlap:{type:Number,default:2},offline:{type:Boolean,default:!1},highlighted:{type:Boolean,default:!1},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},showUserStatus:{type:Boolean,default:!1},showUserStatusCompact:{type:Boolean,default:!1},preloadedUserStatus:{type:Object,default:void 0},menuContainer:{type:String,default:void 0},loading:{type:Boolean,default:!1}},setup:()=>({isDarkTheme:(0,Ts.b)(),failed:(0,z.KR)(!1)}),computed:{iconClass(){if(!this.source)return"";switch(this.source){case n0:case n8:return this.failed?"icon-user":"";case n2:return"new"===this.token?"icon-mail":this.hasCustomName?"":"icon-user";case n1:return this.hasCustomName?"":"icon-user";case n9:return this.token&&!this.failed?"":"icon-user";case re:return"icon-user";case n7:return"icon-phone";case n5:return[ra,rs].includes(this.id)?"icon-changelog":"";case n4:return"icon-team";default:return"icon-contacts"}},characterIconClass(){return this.source===n2&&"new"!==this.token&&this.hasCustomName||this.source===n1&&this.hasCustomName?"guest":this.isBot?"bot":void 0},avatarClass(){return{"avatar-wrapper--dark":this.isDarkTheme,"avatar-wrapper--offline":this.offline,"avatar-wrapper--condensed":this.condensed,"avatar-wrapper--highlighted":this.highlighted}},avatarStyle(){return{"--avatar-size":this.size+"px","--condensed-overlap":this.condensedOverlap}},isFederatedUser(){return this.source===n9},isBot(){return this.source===n5&&this.id!==ra&&this.id!==rs},isGuestUser(){return[n1,n2].includes(this.source)},hasCustomName(){return this.name?.trim()&&this.name!==(0,K.t)("spreed","Guest")},characterIcon(){return this.isBot?">_":this.isGuestUser&&this.hasCustomName&&"new"!==this.token?this.name?.trim()?.toUpperCase()?.charAt(0)??"?":""},avatarUrl(){return a3(this.token,this.id,this.isDarkTheme,this.size>ah.SIZE.MEDIUM?512:64)},isSpecialAvatar(){return this.isGuestUser||this.iconClass||this.isBot||this.isFederatedUser&&this.token}},watch:{avatarUrl(){this.failed=!1}},methods:{t:K.t}},Mo=(0,to.default)(Ms,[["render",Ta],["__scopeId","data-v-6174ea76"]]),Ml=(0,z.pM)({__name:"VideoBackground",setup(e){let t=(0,Ts.b)();return(e,i)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["video-background",{"dark-theme":(0,z.R1)(t)}])},null,2))}}),Mu=(0,to.default)(Ml,[["__scopeId","data-v-07978f79"]]);function Md(e){return(0,O.fg)("spreed","docs","screenshotplaceholders/placeholder-"+e%9+".jpeg")}function Mc(e,t=!1){switch(e%9){case 0:return"Sandra McKinney"+(t?` | ${e}`:"");case 1:return"Chris Wurst"+(t?` | ${e}`:"");case 2:return"Edeltraut Bobb"+(t?` | ${e}`:"");case 3:return"Arthur Blitz"+(t?` | ${e}`:"");case 4:return"Roeland Douma"+(t?` | ${e}`:"");case 5:return"Vanessa Steg"+(t?` | ${e}`:"");case 6:return"Emily Grant"+(t?` | ${e}`:"");case 7:return"Tobias Kaminsky"+(t?` | ${e}`:"");default:return"Adrian Ada"+(t?` | ${e}`:"")}}function Mh(e){return{attributes:{audioAvailable:[1,2,4,5,7,8].includes(e%9),audioEnabled:e%9==8,videoAvailable:!0,screen:!1,currentVolume:.75,volumeThreshold:.75,localScreen:!1,raisedHand:{state:[0,1,6].includes(e%9)}},forceMute:()=>{},on:()=>{},off:()=>{},getWebRtc:()=>({connection:{getSendVideoIfAvailable:()=>{}}})}}function Mf(){return{videoEnabled:{isVideoEnabled:()=>!0},remoteVideoBlocker:{isVideoEnabled:()=>!0},screenVisible:!1}}let Mm={name:"LocalVideo",components:{AvatarWrapper:Mo,IconAccountOffOutline:Tn,NcButton:e7.A,VideoBackground:Mu,NcLoadingIcon:te.N},props:{token:{type:String,required:!0},localMediaModel:{type:Object,required:!0},localCallParticipantModel:{type:Object,required:!0},isGrid:{type:Boolean,default:!1},isStripe:{type:Boolean,default:!1},fitVideo:{type:Boolean,default:!1},isSidebar:{type:Boolean,default:!1},showControls:{type:Boolean,default:!0},unSelectable:{type:Boolean,default:!1},isBig:{type:Boolean,default:!1},isSmall:{type:Boolean,default:!1},isPresenterOverlay:{type:Boolean,default:!1}},emits:["clickVideo","clickPresenter"],setup:()=>({devMode:(0,z.WQ)("CallView:devModeEnabled",(0,z.KR)(!1)),screenshotMode:(0,z.WQ)("CallView:screenshotModeEnabled",(0,z.KR)(!1)),callViewStore:aT(),actorStore:of()}),data:()=>({notificationHandle:null,videoAspectRatio:null,containerAspectRatio:null,resizeObserver:null,mouseover:!1}),computed:{stopFollowingLabel:()=>(0,K.t)("spreed","Back"),isNotConnected(){return this.localCallParticipantModel.attributes.peerNeeded&&this.localCallParticipantModel.attributes.connectionState!==AR&&this.localCallParticipantModel.attributes.connectionState!==Aj},videoContainerClass(){return{"not-connected":this.isNotConnected,"video-container-grid":this.isGrid,"video-container-stripe":this.isStripe,"video-container-big":this.isBig,"video-container-small":this.isSmall,presenter:this.isPresenterOverlay&&this.mouseover,"presenter-overlay":this.isPresenterOverlay,"hover-shadow":this.isSelectable&&this.mouseover,speaking:this.localMediaModel.attributes.speaking}},videoWrapperStyle(){if(this.containerAspectRatio&&this.videoAspectRatio&&this.isBig&&!this.isGrid)return this.containerAspectRatio>this.videoAspectRatio?`width: ${this.$refs.videoContainer.clientHeight*this.videoAspectRatio}px`:`height: ${this.$refs.videoContainer.clientWidth/this.videoAspectRatio}px`},userId(){return this.actorStore.userId},displayName(){return this.actorStore.displayName},avatarSize(){return!this.isStripe&&(this.isBig||this.isGrid)?this.containerAspectRatio?Math.min(ah.SIZE.FULL,this.$refs.videoContainer.clientHeight/2,this.$refs.videoContainer.clientWidth/2):ah.SIZE.FULL:ah.SIZE.LARGE},localStreamVideoError(){return this.localMediaModel.attributes.localStream&&this.localMediaModel.attributes.localStreamRequestVideoError},hasLocalVideo(){return this.localMediaModel.attributes.videoEnabled},isSelected(){return"local"===this.callViewStore.selectedVideoPeerId},isSelectable(){return!this.unSelectable&&!this.isSidebar&&this.hasLocalVideo&&"local"!==this.callViewStore.selectedVideoPeerId},screenshotModeUrl(){return this.screenshotMode?Md(8):""}},watch:{localCallParticipantModel:{immediate:!0,handler(e,t){t&&t.off("forcedMute",this._handleForcedMute),e&&e.on("forcedMute",this._handleForcedMute)}},"localMediaModel.attributes.localStream":function(e){this._setLocalStream(e)},localStreamVideoError:{immediate:!0,handler(e){e&&("NotAllowedError"===e.name?this.notificationHandle=(0,$.s)((0,K.t)("spreed","Access to camera was denied")):"NotReadableError"===e.name||"AbortError"===e.name?this.notificationHandle=(0,$.s)((0,K.t)("spreed","Error while accessing camera: It is likely in use by another program"),{timeout:$.r}):(console.error("Error while accessing camera: ",e.message,e.name),this.notificationHandle=(0,$.s)((0,K.t)("spreed","Error while accessing camera"),{timeout:$.r})))}}},mounted(){this._setLocalStream(this.localMediaModel.attributes.localStream),(this.isBig||this.isGrid)&&(this.resizeObserver=new ResizeObserver(this.updateContainerAspectRatio),this.resizeObserver.observe(this.$refs.videoContainer))},beforeUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()},unmounted(){this.notificationHandle&&this.notificationHandle.hideToast(),this.localCallParticipantModel&&this.localCallParticipantModel.off("forcedMute",this._handleForcedMute)},methods:{t:K.t,_handleForcedMute(){(0,$.e)((0,K.t)("spreed","You have been muted by a moderator"),{selector:void 0})},_setLocalStream(e){if(!e)return;let t={autoplay:!0,mirror:!0,muted:!0};AE(e,this.$refs.video,t)},handleStopFollowing(){this.callViewStore.setSelectedVideoPeerId(null),this.callViewStore.stopPresentation(this.token)},updateContainerAspectRatio([{target:e}]){this.containerAspectRatio=e.clientWidth/e.clientHeight},updateVideoAspectRatio(){this.isBig&&(this.videoAspectRatio=this.localMediaModel.attributes.localStream.getVideoTracks()?.[0].getSettings().aspectRatio??this.$refs.video.videoWidth/this.$refs.video.videoHeight)}}},Mg=(0,to.default)(Mm,[["render",D5],["__scopeId","data-v-9efde1ce"]]),Mp={key:0,class:"status-indicator raiseHandIndicator"},M_={key:1,class:"bottom-bar"},Mv={key:0,class:"media-indicators"},Mb={key:3,class:"status-indicator iceFailedIndicator"};function My(e,t,i,n,r,a){let s=(0,z.g2)("IconHandBackLeft"),o=(0,z.g2)("IconMicrophone"),l=(0,z.g2)("NcIconSvgWrapper"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("IconVideo"),c=(0,z.g2)("IconVideoOffOutline"),h=(0,z.g2)("IconMonitor"),f=(0,z.g2)("IconAlertCircleOutline");return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["wrapper",{"wrapper--big":i.isBig}]),onMouseover:t[0]||(t[0]=(0,z.D$)(e=>r.mouseover=!0,["stop"])),onMouseleave:t[1]||(t[1]=(0,z.D$)(e=>r.mouseover=!1,["stop"]))},[a.showRaiseHandIndicator?((0,z.uX)(),(0,z.CE)("div",Mp,[(0,z.bF)(s,{size:18,fillColor:"#ffffff"})])):(0,z.Q3)("",!0),i.isSidebar?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",M_,[(0,z.bo)((0,z.Lk)("div",{class:(0,z.C4)(["participant-name",{"participant-name--active":a.isCurrentlyActive,"participant-name--has-shadow":i.hasShadow}])},(0,z.v_)(i.participantName),3),[[z.aG,a.showParticipantName]]),i.isScreen?(0,z.Q3)("",!0):(0,z.bo)(((0,z.uX)(),(0,z.CE)("div",Mv,[a.showAudioIndicator?((0,z.uX)(),(0,z.Wv)(u,{key:0,title:a.audioButtonTitle,"aria-label":a.audioButtonTitle,class:"audioIndicator",variant:"tertiary-no-background",disabled:a.isAudioButtonDisabled,onClick:(0,z.D$)(a.forceMute,["stop"])},{icon:(0,z.k6)(()=>[i.model.attributes.audioAvailable?((0,z.uX)(),(0,z.Wv)(o,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(l,{key:1,svg:n.IconMicrophoneOffOutline,size:20},null,8,["svg"]))]),_:1},8,["title","aria-label","disabled","onClick"])):(0,z.Q3)("",!0),a.showVideoIndicator?((0,z.uX)(),(0,z.Wv)(u,{key:1,title:a.videoButtonTitle,"aria-label":a.videoButtonTitle,class:"videoIndicator",variant:"tertiary-no-background",onClick:(0,z.D$)(a.toggleVideo,["stop"])},{icon:(0,z.k6)(()=>[a.isRemoteVideoEnabled?((0,z.uX)(),(0,z.Wv)(d,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(c,{key:1,size:20}))]),_:1},8,["title","aria-label","onClick"])):(0,z.Q3)("",!0),a.showScreenSharingIndicator?((0,z.uX)(),(0,z.Wv)(u,{key:2,title:a.t("spreed","Show screen"),"aria-label":a.t("spreed","Show screen"),class:(0,z.C4)(["screenSharingIndicator",{"screen-visible":i.sharedData.screenVisible}]),variant:"tertiary-no-background",onClick:(0,z.D$)(a.switchToScreen,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),_:1},8,["title","aria-label","class","onClick"])):(0,z.Q3)("",!0),a.connectionStateFailedNoRestart?((0,z.uX)(),(0,z.CE)("div",Mb,[(0,z.bF)(f,{size:20})])):(0,z.Q3)("",!0)],512)),[[z.aG,i.showVideoOverlay]]),a.showStopFollowingButton?((0,z.uX)(),(0,z.Wv)(u,{key:1,class:"following-button",variant:"tertiary",onClick:a.handleStopFollowing},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Stop following")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0)]))],34)}let MF=["aria-hidden","aria-label"],Mk=["fill","width","height"],Mw={d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"},MC={key:0};function MA(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon alert-circle-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Mw,[i.title?((0,z.uX)(),(0,z.CE)("title",MC,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Mk))],16,MF)}let ME={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},MS=(0,to.default)(ME,[["render",MA]]),Mx={name:"VideoBottomBar",components:{IconAlertCircleOutline:MS,IconHandBackLeft:tD,IconMicrophone:xS,IconMonitor:SR,IconVideo:xq,IconVideoOffOutline:xK,NcButton:e7.A,NcIconSvgWrapper:SD.A},inheritAttrs:!1,props:{token:{type:String,required:!0},isSidebar:{type:Boolean,default:!1},hasShadow:{type:Boolean,default:!1},isBig:{type:Boolean,default:!1},participantName:{type:String,default:""},showVideoOverlay:{type:Boolean,default:!0},model:{type:Object,required:!0},sharedData:{type:Object,required:!0},isScreen:{type:Boolean,default:!1},isPromoted:{type:Boolean,default:!1},isSelected:{type:Boolean,default:!1}},emits:["bottomBarHover"],setup:()=>({IconMicrophoneOffOutline:xx,callViewStore:aT(),actorStore:of()}),data:()=>({mouseover:!1}),computed:{connectionStateFailedNoRestart(){return this.model.attributes.connectionState===Aq},showRaiseHandIndicator(){return!this.connectionStateFailedNoRestart&&this.model.attributes.raisedHand.state},showStopFollowingButton(){return this.isBig&&null!==this.callViewStore.selectedVideoPeerId},showAudioIndicator(){return!this.connectionStateFailedNoRestart&&!this.isAudioButtonHidden},isAudioButtonHidden(){return this.model.attributes.audioAvailable&&!this.canFullModerate},isAudioButtonDisabled(){return!this.model.attributes.audioAvailable||!this.canFullModerate},audioButtonTitle(){return this.model.attributes.audioAvailable?(0,K.t)("spreed","Mute"):(0,K.t)("spreed","Muted")},showVideoIndicator(){return!this.connectionStateFailedNoRestart&&this.model.attributes.videoAvailable},isRemoteVideoEnabled(){return this.sharedData.remoteVideoBlocker?.isVideoEnabled()},isRemoteVideoBlocked(){return this.sharedData.remoteVideoBlocker&&!this.sharedData.remoteVideoBlocker.isVideoEnabled()},videoButtonTitle(){return this.isRemoteVideoEnabled?(0,K.t)("spreed","Disable video"):(0,K.t)("spreed","Enable video")},showScreenSharingIndicator(){return!this.connectionStateFailedNoRestart&&this.model.attributes.screen},isCurrentlyActive(){return this.isSelected||this.model.attributes.speaking},showParticipantName(){return!this.model.attributes.videoAvailable||this.isRemoteVideoBlocked||this.showVideoOverlay||this.isPromoted||this.isCurrentlyActive},participantType(){return this.$store.getters.conversation(this.token)?.participantType||(this.actorStore.isLoggedIn?rq.TYPE.USER:rq.TYPE.GUEST)},canFullModerate(){return this.participantType===rq.TYPE.OWNER||this.participantType===rq.TYPE.MODERATOR}},watch:{mouseover(e){this.isBig&&this.$emit("bottomBarHover",e)}},methods:{t:K.t,forceMute(){this.model.forceMute()},toggleVideo(){this.sharedData.remoteVideoBlocker.setVideoEnabled(!this.isRemoteVideoEnabled)},switchToScreen(){this.sharedData.screenVisible&&this.isBig||(0,G.Ic)("switch-screen-to-id",this.model.attributes.peerId)},handleStopFollowing(){this.callViewStore.stopPresentation(this.token),this.callViewStore.setSelectedVideoPeerId(null)}}},MD=(0,to.default)(Mx,[["render",My],["__scopeId","data-v-127ab268"]]),MT=["id"],MM=["disablePictureInPicture"],MI=["src"],MB={key:1,class:"avatar-container"},MP={key:2,class:"placeholder-for-promoted"};function ML(e,t,i,n,r,a){let s=(0,z.g2)("IconAccountOffOutline"),o=(0,z.g2)("NcLoadingIcon"),l=(0,z.g2)("ScreenShare"),u=(0,z.g2)("VideoBackground"),d=(0,z.g2)("AvatarWrapper"),c=(0,z.g2)("IconAccountCircleOutline"),h=(0,z.g2)("VideoBottomBar");return(0,z.bo)(((0,z.uX)(),(0,z.CE)("div",{id:(i.placeholderForPromoted?"placeholder-":"")+"container_"+a.peerId+"_video_incoming",ref:"videoContainer",class:(0,z.C4)(["video-container",a.containerClass]),onMouseover:t[2]||(t[2]=e=>r.mouseover=!0),onMouseleave:t[3]||(t[3]=e=>r.mouseover=!1),onClick:t[4]||(t[4]=t=>e.$emit("clickVideo"))},[(0,z.bo)((0,z.Lk)("div",{class:(0,z.C4)([a.videoWrapperClass,"videoWrapper"]),style:(0,z.Tr)(a.videoWrapperStyle)},[(0,z.Lk)("video",{ref:"video",disablePictureInPicture:!i.isBig,class:(0,z.C4)([i.fitVideo?"video--fit":"video--fill","video"]),onPlaying:t[0]||(t[0]=(...e)=>a.updateVideoAspectRatio&&a.updateVideoAspectRatio(...e))},null,42,MM),i.isPresenterOverlay&&r.mouseover?((0,z.uX)(),(0,z.Wv)(s,{key:0,class:"presenter-icon__hide","aria-label":a.t("spreed","Hide presenter video"),title:a.t("spreed","Hide presenter video"),size:32,onClick:t[1]||(t[1]=t=>e.$emit("clickPresenter"))},null,8,["aria-label","title"])):(0,z.Q3)("",!0),a.isLoading?((0,z.uX)(),(0,z.Wv)(o,{key:1,size:a.avatarSize/2,class:"video-loading"},null,8,["size"])):(0,z.Q3)("",!0),a.screenshotModeUrl&&i.isPresenterOverlay?((0,z.uX)(),(0,z.CE)("img",{key:2,class:"dev-mode-video--presenter",alt:"dev-mode-video--presenter",src:a.screenshotModeUrl},null,8,MI)):(0,z.Q3)("",!0)],6),[[z.aG,a.showVideo]]),a.showSharedScreen?((0,z.uX)(),(0,z.Wv)(l,{key:0,isBig:i.isBig,token:i.token,callParticipantModel:i.model,sharedData:i.sharedData},null,8,["isBig","token","callParticipantModel","sharedData"])):(0,z.Q3)("",!0),a.showBackgroundAndAvatar?((0,z.uX)(),(0,z.CE)("div",MB,[(0,z.bF)(u),(0,z.bF)(d,{id:a.participantUserId,token:i.token,name:a.displayName,source:a.participantActorType,size:a.avatarSize,loading:a.isLoading,disableMenu:"",disableTooltip:""},null,8,["id","token","name","source","size","loading"])])):(0,z.Q3)("",!0),a.showPlaceholderForPromoted?((0,z.uX)(),(0,z.CE)("div",MP,[i.isPromoted||i.isSelected?((0,z.uX)(),(0,z.Wv)(c,{key:0,fillColor:"#FFFFFF",size:64})):(0,z.Q3)("",!0)])):(0,z.Q3)("",!0),a.connectionMessage?((0,z.uX)(),(0,z.CE)("div",{key:3,class:(0,z.C4)([a.connectionMessageClass,"connection-message"])},(0,z.v_)(a.connectionMessage),3)):(0,z.Q3)("",!0),i.hideBottomBar?(0,z.Q3)("",!0):(0,z.RG)(e.$slots,"bottomBar",{key:4},()=>[(0,z.bF)(h,(0,z.v6)({hasShadow:a.hasVideo,participantName:a.participantName},e.$props,{onBottomBarHover:a.handleHoverEvent}),null,16,["hasShadow","participantName","onBottomBarHover"])],!0)],42,MT)),[[z.aG,!i.placeholderForPromoted||i.sharedData.promoted]])}let MN=["aria-hidden","aria-label"],MR=["fill","width","height"],Mj={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7.07,18.28C7.5,17.38 10.12,16.5 12,16.5C13.88,16.5 16.5,17.38 16.93,18.28C15.57,19.36 13.86,20 12,20C10.14,20 8.43,19.36 7.07,18.28M18.36,16.83C16.93,15.09 13.46,14.5 12,14.5C10.54,14.5 7.07,15.09 5.64,16.83C4.62,15.5 4,13.82 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,13.82 19.38,15.5 18.36,16.83M12,6C10.06,6 8.5,7.56 8.5,9.5C8.5,11.44 10.06,13 12,13C13.94,13 15.5,11.44 15.5,9.5C15.5,7.56 13.94,6 12,6M12,11A1.5,1.5 0 0,1 10.5,9.5A1.5,1.5 0 0,1 12,8A1.5,1.5 0 0,1 13.5,9.5A1.5,1.5 0 0,1 12,11Z"},MO={key:0};function Mz(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon account-circle-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Mj,[i.title?((0,z.uX)(),(0,z.CE)("title",MO,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,MR))],16,MN)}let MU={name:"AccountCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mq=(0,to.default)(MU,[["render",Mz]]),MW=["id"],MV=["disablePictureInPicture"];function MH(e,t,i,n,r,a){let s=(0,z.g2)("VideoBottomBar");return(0,z.uX)(),(0,z.CE)("div",{id:a.screenContainerId,class:"screenContainer",onDblclickCapture:t[0]||(t[0]=(...e)=>n.onDoubleClick&&n.onDoubleClick(...e))},[(0,z.bo)((0,z.Lk)("video",{ref:"screen",disablePictureInPicture:i.isBig?"false":"true",class:(0,z.C4)(["screen",n.screenClass])},null,10,MV),[[z.aG,i.localMediaModel&&i.localMediaModel.attributes.localScreen||i.callParticipantModel&&i.callParticipantModel.attributes.screen]]),i.isBig?((0,z.uX)(),(0,z.Wv)(s,{key:0,token:i.token,sharedData:i.sharedData,isBig:"",isScreen:"",model:a.model,participantName:a.remoteParticipantName},null,8,["token","sharedData","model","participantName"])):(0,z.Q3)("",!0)],40,MW)}var M$=__webpack_require__(66611),MG=__webpack_require__.n(M$);let MX=1,MK=4,MY=8,MQ={name:"ScreenShare",components:{VideoBottomBar:MD},props:{token:{type:String,required:!0},localMediaModel:{type:Object,default:null},callParticipantModel:{type:Object,default:null},sharedData:{type:Object,required:!0},isBig:{type:Boolean,default:!1}},setup(e){let t=hu(),i=(0,z.KR)(null),n=(0,z.KR)(null),r=(0,z.KR)({x:0,y:0,scale:1}),a=(0,z.KR)(!1),s=(0,z.EW)(()=>e.isBig?["screen--fit",1===r.value.scale?"screen--magnify":a.value?"screen--grabbing":"screen--grab"]:["screen--fill"]);return(0,z.sV)(()=>{e.isBig&&(n.value=MG()(i.value,{minZoom:MX,maxZoom:MY,bounds:!0,boundsPadding:1}),n.value.on("zoom",e=>{r.value=e.getTransform()}),n.value.on("panstart",()=>{a.value=!0}),n.value.on("panend",()=>{a.value=!1}))}),(0,z.xo)(()=>{n.value?.dispose()}),{guestNameStore:t,screen:i,screenClass:s,onDoubleClick:function(e){if(!n.value)return;e.preventDefault(),e.stopPropagation();let t=e.currentTarget.getBoundingClientRect(),i=e.clientX-t.left,a=e.clientY-t.top;1===r.value.scale?n.value.smoothZoom(i,a,MK):n.value.smoothZoomAbs(i,a,0)}}},computed:{model(){return this.callParticipantModel?this.callParticipantModel:this.localMediaModel},screenContainerId(){return this.localMediaModel?"localScreenContainer":"container_"+this.callParticipantModel.attributes.peerId+"_screen_incoming"},remoteSessionHash(){return this.callParticipantModel?sM().stringify(hT()(this.callParticipantModel.attributes.nextcloudSessionId)):null},remoteParticipantName(){if(!this.callParticipantModel)return(0,K.t)("spreed","You");let e=this.callParticipantModel.attributes.name;return this.callParticipantModel.attributes.userId||e||void 0===e||(e=this.guestNameStore.getGuestName(this.token,this.remoteSessionHash)),e}},watch:{"localMediaModel.attributes.localScreen":function(e){this._setScreen(e)},"callParticipantModel.attributes.screen":function(e){this._setScreen(e)}},mounted(){this.localMediaModel?this._setScreen(this.localMediaModel.attributes.localScreen):this._setScreen(this.callParticipantModel.attributes.screen)},methods:{t:K.t,_setScreen(e){if(!e){this.$refs.screen.srcObject=null;return}AE(e,this.$refs.screen),this.$refs.screen.muted=!0}}},MZ=(0,to.default)(MQ,[["render",MH],["__scopeId","data-v-0d956773"]]),MJ={name:"VideoVue",components:{AvatarWrapper:Mo,VideoBackground:Mu,ScreenShare:MZ,VideoBottomBar:MD,NcLoadingIcon:te.N,IconAccountCircleOutline:Mq,IconAccountOffOutline:Tn},props:{token:{type:String,required:!0},placeholderForPromoted:{type:Boolean,default:!1},model:{type:Object,required:!0},sharedData:{type:Object,required:!0},showVideoOverlay:{type:Boolean,default:!0},isGrid:{type:Boolean,default:!1},fitVideo:{type:Boolean,default:!1},isPresenterOverlay:{type:Boolean,default:!1},isBig:{type:Boolean,default:!1},isStripe:{type:Boolean,default:!1},isPromoted:{type:Boolean,default:!1},isSelected:{type:Boolean,default:!1},isSidebar:{type:Boolean,default:!1},isOneToOne:{type:Boolean,default:!1},unSelectable:{type:Boolean,default:!1},hideBottomBar:{type:Boolean,default:!1}},emits:["clickVideo","clickPresenter","forcePromoteVideo"],setup(){let e=(0,z.WQ)("CallView:screenshotModeEnabled",(0,z.KR)(!1));return{callViewStore:aT(),guestNameStore:hu(),screenshotMode:e}},data:()=>({videoAspectRatio:null,containerAspectRatio:null,resizeObserver:null,mouseover:!1}),computed:{videoWrapperStyle(){if(this.containerAspectRatio&&this.videoAspectRatio&&this.isBig&&!this.isGrid)return this.containerAspectRatio>this.videoAspectRatio?`width: ${this.$refs.videoContainer.clientHeight*this.videoAspectRatio}px`:`height: ${this.$refs.videoContainer.clientWidth/this.videoAspectRatio}px`},isSelectable(){return!this.isStripe||!this.isSelected},wasConnectedAtLeastOnce(){return this.model.attributes.connectedAtLeastOnce},isConnected(){return this.model.attributes.connectionState===AR||this.model.attributes.connectionState===Aj},isLoading(){return!this.isConnected&&this.model.attributes.connectionState!==Aq},isDisconnected(){return this.model.attributes.connectionState!==AL&&this.model.attributes.connectionState!==AN&&this.model.attributes.connectionState!==AR&&this.model.attributes.connectionState!==Aj},isReconnecting(){return this.model.attributes.connectionState===AU||!this.model.attributes.initialConnection&&(this.model.attributes.negotiating&&!this.isConnected||this.model.attributes.connecting)},isNoLongerTryingToReconnect(){return this.model.attributes.connectionState===Aq},connectionMessage(){return!this.wasConnectedAtLeastOnce&&this.isNoLongerTryingToReconnect?(0,K.t)("spreed","Connection could not be established …"):this.isNoLongerTryingToReconnect?(0,K.t)("spreed","Connection was lost and could not be re-established …"):!this.wasConnectedAtLeastOnce&&this.isReconnecting?(0,K.t)("spreed","Connection could not be established. Trying again …"):this.isReconnecting?(0,K.t)("spreed","Connection lost. Trying to reconnect …"):this.isDisconnected?(0,K.t)("spreed","Connection problems …"):null},containerClass(){return{"videoContainer-dummy":this.placeholderForPromoted,"not-connected":!this.placeholderForPromoted&&!this.isConnected,speaking:!this.placeholderForPromoted&&this.isSpeaking&&!this.isBig,hover:this.mouseover&&!this.unSelectable&&!this.isBig,promoted:!this.placeholderForPromoted&&this.sharedData.promoted&&!this.isGrid,presenter:this.isPresenterOverlay&&this.mouseover,"video-container-grid":this.isGrid,"video-container-big":this.isBig,"one-to-one":this.isOneToOne,"presenter-overlay":this.isPresenterOverlay}},videoWrapperClass(){return{"presenter-overlay":this.isPresenterOverlay}},avatarSize(){return!this.isStripe&&(this.isBig||this.isGrid)?this.containerAspectRatio?Math.min(ah.SIZE.FULL,this.$refs.videoContainer.clientHeight/2,this.$refs.videoContainer.clientWidth/2):ah.SIZE.FULL:ah.SIZE.LARGE},connectionMessageClass(){return{"below-avatar":this.showBackgroundAndAvatar}},sessionHash(){return sM().stringify(hT()(this.nextcloudSessionId))},peerData(){let e=this.$store.getters.getPeer(this.token,this.nextcloudSessionId,this.model.attributes.userId);return e.actorId||(iZ.emit("refresh-peer-list"),e={actorType:"",actorId:"",displayName:""}),e},participant(){return this.$store.getters.findParticipant(this.token,{sessionId:this.nextcloudSessionId})||{}},participantActorType(){return this.model.attributes.actorType?this.model.attributes.actorType:this.participant?.actorType?this.participant.actorType:this.peerData?.actorType?this.peerData.actorType:this.participantUserId?n0:n1},participantUserId(){return this.model.attributes.actorId?this.model.attributes.actorId:this.model.attributes.userId?this.model.attributes.userId:this.participant?.actorType?this.participant?.actorType===n0&&this.participant?.actorId?this.participant.actorId:null:this.peerData.actorType===n0||this.peerData.actorType===n9?this.peerData.actorId:null},displayName(){if(this.model.attributes.name)return this.model.attributes.name;if(this.participant?.displayName)return this.participant.displayName;let e=this.model.attributes.name;return this.model.attributes.userId||e||void 0===e||(e=this.guestNameStore.getGuestName(this.token,this.sessionHash)),e||(e=this.peerData.displayName),e?.trim()??""},participantName(){return uM(this.displayName,this.participantActorType)},isSpeaking(){return this.model.attributes.speaking},hasVideo(){return!this.model.attributes.videoBlocked&&this.model.attributes.videoAvailable&&this.sharedData.remoteVideoBlocker.isVideoEnabled()&&"object"==typeof this.model.attributes.stream},hasSelectedVideo(){return null!==this.callViewStore.selectedVideoPeerId},hasSharedScreen(){return this.model.attributes.screen},isSharedScreenPromoted(){return this.sharedData.screenVisible&&(!this.hasSelectedVideo||this.isSelected)},showSharedScreen(){return this.isBig?this.hasSharedScreen:this.isStripe?!this.isSharedScreenPromoted&&!(this.isSelected?this.isSelected:this.isPromoted)&&this.hasSharedScreen:this.hasSharedScreen&&!this.isPresenterOverlay},showVideo(){return this.hasSharedScreen?!this.showSharedScreen&&this.hasVideo&&!this.isSelected||this.isPresenterOverlay:this.isStripe?this.hasSelectedVideo?!this.isSelected&&this.hasVideo:!this.isPromoted&&this.hasVideo:this.hasVideo},showPlaceholderForPromoted(){return!!this.isStripe&&!this.showVideo&&!this.showSharedScreen&&(this.hasSelectedVideo?this.isSelected:this.isPromoted)},showBackgroundAndAvatar(){return!this.showSharedScreen&&!this.showVideo&&!this.showPlaceholderForPromoted},peerId(){return this.model.attributes.peerId},nextcloudSessionId(){return this.model.attributes.nextcloudSessionId},screenshotModeUrl(){return this.screenshotMode?Md(6):""}},watch:{"model.attributes.stream":function(e){this._setStream(e)},isSelected(e){e&&(this.mouseover=!1)}},mounted(){this.sharedData.remoteVideoBlocker.increaseVisibleCounter(),this._setStream(this.model.attributes.stream),(this.isBig||this.isGrid)&&(this.resizeObserver=new ResizeObserver(this.updateContainerAspectRatio),this.resizeObserver.observe(this.$refs.videoContainer))},beforeUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()},unmounted(){this.sharedData.remoteVideoBlocker.decreaseVisibleCounter()},methods:{t:K.t,_setStream(e){e&&(AE(e,this.$refs.video),this.$refs.video.muted=!0,"scaleX(1)"===this.$refs.video.style.transform&&(this.$refs.video.style.transform=""))},updateContainerAspectRatio([{target:e}]){this.containerAspectRatio=e.clientWidth/e.clientHeight},updateVideoAspectRatio(){this.isBig&&(this.videoAspectRatio=this.model.attributes.stream.getVideoTracks()?.[0].getSettings().aspectRatio??this.$refs.video.videoWidth/this.$refs.video.videoHeight)},handleHoverEvent(e){this.$emit("forcePromoteVideo",e?this.model:null)}}},M0=(0,to.default)(MJ,[["render",ML],["__scopeId","data-v-511352b0"]]),M1=parseInt((0,X.C)("spreed","grid_videos_limit"),10)||0,M2=(0,X.C)("spreed","grid_videos_limit_enforced")||!1,M3=8,M4={name:"VideosGrid",components:{VideoVue:M0,LocalVideo:Mg,EmptyCallView:D2,NcButton:e7.A,TransitionWrapper:DL,VideoBottomBar:MD,IconChevronDown:Dv,IconChevronLeft:DA,IconChevronRight:DI,IconChevronUp:tl},props:{hasPagination:{type:Boolean,default:!1},isStripe:{type:Boolean,default:!1},isSidebar:{type:Boolean,default:!1},isRecording:{type:Boolean,default:!1},callParticipantModels:{type:Array,required:!0},localMediaModel:{type:Object,required:!0},localCallParticipantModel:{type:Object,required:!0},token:{type:String,required:!0},isOverlap:{type:Boolean,default:!1},sharedDatas:{type:Object,required:!0},isLocalVideoSelectable:{type:Boolean,default:!1},screens:{type:Array,default:()=>[]}},emits:["selectVideo","clickLocalVideo"],setup(){let e=(0,z.WQ)("CallView:devModeEnabled",(0,z.KR)(!1)),t=(0,z.WQ)("CallView:screenshotModeEnabled",(0,z.KR)(!1));return{devMode:e,dummies:(0,z.KR)(4),screenshotMode:t,videosCap:M1,videosCapEnforced:M2,callViewStore:aT(),actorStore:of()}},data:()=>({gridWidth:0,gridHeight:0,columns:0,rows:0,currentPage:0,showVideoOverlay:!0,showVideoOverlayTimer:null,resizeObserver:null,debounceMakeGrid:()=>{},debounceHandleWheelEvent:()=>{},tempPromotedModels:[],unpromoteSpeakerTimer:{},promotedHistoryMask:[]}),computed:{stripeButtonTitle(){return this.stripeOpen?(0,K.t)("spreed","Collapse stripe"):(0,K.t)("spreed","Expand stripe")},videos(){return this.devMode?Array.from(Array(this.dummies).keys()):this.callParticipantModels},videosCount(){return this.isStripe||0!==this.videos.length?this.videos.length:1},videoWidth(){return(this.gridWidth-M3*(this.columns-1))/this.columns},videoHeight(){return(this.gridHeight-M3*(this.rows-1))/this.rows},displayedVideos(){if(!this.slots)return[];let e=this.videosCap&&this.videosCapEnforced?Math.min(this.videosCap,this.slots):this.slots;return(this.currentPage+1)*e>=this.orderedVideos.length?this.orderedVideos.slice(this.currentPage*e):this.orderedVideos.slice(this.currentPage*e,(this.currentPage+1)*e)},isLessThanTwoVideos(){return this.videos.length<=1&&!this.screens.length},dpiFactor(){if(this.isStripe)return 1;let e=window.devicePixelRatio;return e<.5?.5:e>2?2:e},minWidth(){return this.isStripe||this.isSidebar?200:320},minHeight(){return this.isStripe||this.isSidebar?150:240},dpiAwareMinWidth(){return this.minWidth/this.dpiFactor},dpiAwareMinHeight(){return this.minHeight/this.dpiFactor},gridAspectRatio(){return(this.gridWidth/this.gridHeight).toPrecision([2])},targetAspectRatio(){return this.isStripe?1:1.5},columnsMax(){let e=Math.floor((this.gridWidth-M3*(this.columns-1))/this.dpiAwareMinWidth),t=Math.floor((this.gridWidth-M3*this.columns)/this.dpiAwareMinWidth),i=e===this.columns?e:t;return i<=1?1:i},rowsMax(){return 1>Math.floor((this.gridHeight-M3*(this.rows-1))/this.dpiAwareMinHeight)?1:Math.floor((this.gridHeight-M3*(this.rows-1))/this.dpiAwareMinHeight)},slots(){return this.isStripe?this.rows*this.columns:this.rows*this.columns-1},numberOfPages(){return Math.ceil(this.videosCount/this.slots)},hasNextPage(){return 0!==this.displayedVideos.length&&!!this.hasPagination&&this.displayedVideos.at(-1)!==this.orderedVideos.at(-1)},hasPreviousPage(){return 0!==this.displayedVideos.length&&!!this.hasPagination&&this.displayedVideos[0]!==this.orderedVideos[0]},gridStyle(){let e=this.columns,t=this.rows;return 0!==this.videos.length||this.isStripe||(e=1,t=2),{gridTemplateColumns:`repeat(${e}, minmax(${this.dpiAwareMinWidth}px, 1fr))`,gridTemplateRows:`repeat(${t}, minmax(${this.dpiAwareMinHeight}px, 1fr))`}},hasVideoOverflow(){return this.videosCount>this.slots},wrapperStyle(){return this.isStripe?"height: 250px":"height: 100%"},stripeOpen(){return this.callViewStore.isStripeOpen&&!this.isRecording},participantsInitialised(){return this.$store.getters.participantsInitialised(this.token)},isGuestNonModerator(){return this.actorStore.isActorGuest&&this.$store.getters.conversation(this.token).participantType!==rq.TYPE.GUEST_MODERATOR},orderedVideos(){if(this.isGuestNonModerator||this.devMode)return this.videos;let e={modelsWithScreenshare:[],modelsTempPromoted:[],modelsWithVideoEnabled:[],modelsWithAudioOnly:[],modelsWithNoPermissions:[]},t=new Set(this.screens),i=new Set(this.tempPromotedModels.map(e=>e.attributes.nextcloudSessionId)),n=new Map,r=new Map;return this.callParticipantModels.forEach(a=>{t.has(a.attributes.peerId)?e.modelsWithScreenshare.push(a):i.has(a.attributes.nextcloudSessionId)?e.modelsTempPromoted.push(a):this.isModelWithVideo(a)?n.set(a.attributes.nextcloudSessionId,a):this.participantsInitialised&&this.isModelWithAudio(a)?r.set(a.attributes.nextcloudSessionId,a):e.modelsWithNoPermissions.push(a)}),e.modelsWithVideoEnabled=this.getOrderedTiles(n,this.promotedHistoryMask),e.modelsWithAudioOnly=this.getOrderedTiles(r,this.promotedHistoryMask),[...e.modelsWithScreenshare,...e.modelsTempPromoted,...e.modelsWithVideoEnabled,...e.modelsWithAudioOnly,...e.modelsWithNoPermissions]},speakers(){return this.callParticipantModels.filter(e=>e.attributes.speaking)},speakersWithAudioOff(){return this.tempPromotedModels.filter(e=>!e.attributes.audioAvailable)},devStripe:{get(){return this.isStripe},set(e){this.callViewStore.setCallViewMode({token:this.token,isGrid:!e,clearLast:!1})}}},watch:{"videos.length":function(){this.makeGrid()},isStripe(){this.rebuildGrid(),this.currentPage=0},stripeOpen(){this.rebuildGrid()},numberOfPages(){this.currentPage>=this.numberOfPages&&(this.currentPage=Math.max(0,this.numberOfPages-1))},speakers(e){e.forEach(e=>{this.promoteSpeaker(e),clearTimeout(this.unpromoteSpeakerTimer[e.attributes.nextcloudSessionId])})},speakersWithAudioOff(e,t){e.forEach(e=>{t.includes(e)||(this.unpromoteSpeakerTimer[e.attributes.nextcloudSessionId]=setTimeout(()=>{this.unpromoteSpeaker(e)},1e4))})}},mounted(){this.debounceMakeGrid=(0,Y.A)(this.makeGrid,200),this.debounceHandleWheelEvent=(0,Y.A)(this.handleWheelEvent,50),this.resizeObserver=new ResizeObserver(this.debounceMakeGrid),this.resizeObserver.observe(this.$refs.gridWrapper),this.makeGrid(),OC.debug&&(OCA.Talk.gridDebugInformation=this.gridDebugInformation,OCA.Talk.gridDevModeEnable=this.enableDevMode)},beforeUnmount(){this.debounceMakeGrid.clear?.(),this.debounceHandleWheelEvent.clear?.(),this.resizeObserver&&this.resizeObserver.disconnect(),OC.debug&&(OCA.Talk.gridDebugInformation=void 0,OCA.Talk.gridDevModeEnable=void 0)},methods:{t:K.t,gridDebugInformation(){console.info("Grid debug information",{minWidth:this.minWidth,minHeight:this.minHeight,videosCap:this.videosCap,videosCapEnforced:this.videosCapEnforced,targetAspectRatio:this.targetAspectRatio,videosCount:this.videosCount,videoWidth:this.videoWidth,videoHeight:this.videoHeight,devicePixelRatio:window.devicePixelRatio,dpiFactor:this.dpiFactor,dpiAwareMinWidth:this.dpiAwareMinWidth,dpiAwareMinHeight:this.dpiAwareMinHeight,gridAspectRatio:this.gridAspectRatio,columnsMax:this.columnsMax,rowsMax:this.rowsMax,numberOfPages:this.numberOfPages,bodyWidth:document.body.clientWidth,bodyHeight:document.body.clientHeight,gridWidth:this.$refs.grid.clientWidth,gridHeight:this.$refs.grid.clientHeight})},rebuildGrid(){console.debug("isStripe: ",this.isStripe),console.debug("stripeOpen: ",this.stripeOpen),console.debug("previousGridWidth: ",this.gridWidth,"previousGridHeight: ",this.gridHeight),console.debug("newGridWidth: ",this.gridWidth,"newGridHeight: ",this.gridHeight),(!this.isStripe||this.stripeOpen)&&this.$nextTick(this.makeGrid)},placeholderImage:Md,placeholderName:Mc,placeholderModel:Mh,placeholderSharedData:Mf,enableDevMode(){this.screenshotMode=!1,this.devMode=!0},disableDevMode(){this.screenshotMode=!1,this.devMode=!1},makeGrid(){if(this.$refs.grid){if(this.gridWidth=this.$refs.grid.clientWidth,this.gridHeight=this.$refs.grid.clientHeight,0===this.videos.length){this.columns=0,this.rows=0;return}this.devMode&&console.debug("Recreating grid: videos: ",this.videos.length,"columns: ",this.columnsMax+", rows: "+this.rowsMax),this.columns=this.columnsMax,this.rows=this.rowsMax,0!==this.videosCap&&this.videosCount>this.videosCap?this.shrinkGrid(this.videosCap):this.shrinkGrid(this.videosCount)}},async shrinkGrid(e){if(this.devMode&&console.debug("Shrinking grid: columns",this.columns+", rows: "+this.rows),1===this.rows&&1===this.columns)return;let t=this.columns,i=this.rows,n=this.isStripe?t*i:t*i-1;for(;e=2&&t--,e>(n=this.isStripe?t*i:t*i-1)){t++;break}}else if(i>=2&&i--,e>(n=this.isStripe?t*i:t*i-1)){i++;break}if(r===t&&a===i)break}this.columns=t,this.rows=i},handleWheelEvent(e){!(this.gridWidth<=0)&&(e.deltaY<0&&this.hasPreviousPage?this.handleClickPrevious():e.deltaY>0&&this.hasNextPage&&this.handleClickNext())},handleClickNext(){this.currentPage++,console.debug("handleclicknext, ","currentPage ",this.currentPage,"slots ",this.slot,"videos.length ",this.videos.length)},handleClickPrevious(){this.currentPage--,console.debug("handleclickprevious, ","currentPage ",this.currentPage,"slots ",this.slots,"videos.length ",this.videos.length)},handleClickStripeCollapse(){this.callViewStore.setCallViewMode({token:this.token,isStripeOpen:!this.stripeOpen,clearLast:!1})},handleMovement(){this.setTimerForUiControls()},setTimerForUiControls(){null!==this.showVideoOverlayTimer&&clearTimeout(this.showVideoOverlayTimer),this.showVideoOverlay=!0,this.showVideoOverlayTimer=setTimeout(()=>{this.showVideoOverlay=!1},5e3)},handleClickVideo(e,t){console.debug("selected-video peer id",t),this.$emit("selectVideo",t)},handleClickLocalVideo(){this.$emit("clickLocalVideo")},isSelected(e){return e.attributes.peerId===this.callViewStore.selectedVideoPeerId},isModelWithVideo:e=>e.attributes.videoAvailable&&"object"==typeof e.attributes.stream,isModelWithAudio(e){let t=this.$store.getters.getParticipantBySessionId(this.token,e.attributes.nextcloudSessionId);return!!t&&t?.permissions&rq.PERMISSIONS.PUBLISH_AUDIO},unpromoteSpeaker(e){let t=this.tempPromotedModels.indexOf(e);-1!==t&&this.tempPromotedModels.splice(t,1)},promoteSpeaker(e){let t=e.attributes.nextcloudSessionId;if(!this.orderedVideos.slice(0,this.slots).find(e=>e.attributes.nextcloudSessionId===t)&&!this.screens.includes(e.attributes.peerId)&&!this.tempPromotedModels.includes(e)){let i=this.promotedHistoryMask.indexOf(t);-1!==i&&this.promotedHistoryMask.splice(i,1),this.tempPromotedModels.unshift(e),this.promotedHistoryMask.unshift(t)}},getOrderedTiles(e,t){let i=[],n=[];return t.forEach(t=>{e.has(t)&&i.push(e.get(t))}),e.forEach((e,i)=>{t.includes(i)||n.push(e)}),[...i,...n]}}},M6=(0,to.default)(M4,[["render",Dc],["__scopeId","data-v-2c2db414"]]),M5={ref:"transcript",class:"transcript"};function M8(e,t,i,n,r,a){let s=(0,z.g2)("TranscriptBlock");return(0,z.uX)(),(0,z.CE)("div",M5,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(r.transcriptBlocks,e=>((0,z.uX)(),(0,z.Wv)(s,{ref_for:!0,ref:"transcriptBlocks",key:e.id,token:i.token,model:e.model,chunks:e.chunks,rightToLeft:e.rightToLeft},null,8,["token","model","chunks","rightToLeft"]))),128))],512)}let M9={class:"transcript-block__avatar"},M7={class:"transcript-block__text"},Ie={class:"transcript-block__author"},It={ref:"chunksWrapper",class:"transcript-block__chunks"},Ii=["lang"];function In(e,t,i,n,r,a){let s=(0,z.g2)("AvatarWrapper");return(0,z.uX)(),(0,z.CE)("div",{class:"transcript-block",style:(0,z.Tr)(a.transcriptBlockStyle)},[(0,z.Lk)("div",M9,[(0,z.bF)(s,{id:a.actorId,token:i.token,name:a.actorDisplayName,source:a.actorType,size:r.AVATAR.SIZE.SMALL,disableMenu:!0},null,8,["id","token","name","source","size"])]),(0,z.Lk)("div",M7,[(0,z.Lk)("p",Ie,(0,z.v_)(a.actorInfo),1),(0,z.Lk)("p",It,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.chunksWithSeparator,(e,t)=>((0,z.uX)(),(0,z.CE)("span",{ref_for:!0,ref:"chunks",key:t,lang:e.languageId},(0,z.v_)(e.message),9,Ii))),128))],512)])],4)}let Ir={name:"TranscriptBlock",components:{AvatarWrapper:Mo},props:{token:{type:String,required:!0},model:{type:Object,required:!0},chunks:{type:Array,required:!0},rightToLeft:{type:Boolean,required:!1,default:!1}},setup:()=>({liveTranscriptionStore:x7()}),data:()=>({AVATAR:ah,resizeObserver:null,lines:[]}),computed:{transcriptBlockStyle(){return{direction:this.rightToLeft?"rtl":"ltr"}},actorId(){return this.model.attributes.actorId||""},actorType(){return this.model.attributes.actorType||""},actorDisplayName(){return this.model.attributes.name||""},actorDisplayNameWithFallback(){return uM(this.actorDisplayName,this.actorType)},remoteServer(){return this.actorType===n9?"("+this.actorId.split("@").pop()+")":""},actorInfo(){return[this.actorDisplayNameWithFallback,this.remoteServer].filter(e=>e).join(" ")},liveTranscriptionLanguages(){let e=this.liveTranscriptionStore.getLiveTranscriptionLanguages();return e||{}},liveTranscriptionTargetLanguages(){let e=this.liveTranscriptionStore.getLiveTranscriptionTargetLanguages();return e||{}},chunksWithSeparator(){let e=[];if(!this.chunks.length)return e;e.push({message:this.chunks[0].message,languageId:this.chunks[0].languageId.replace("_","-")});for(let t=1;tn||Number.isNaN(n))&&this.$refs.chunksWrapper.style.setProperty("min-height",`${i}px`)},removeLastChunkFromLines(){if(!this.lines.length)return;let e=this.lines.at(-1).lastChunkIndex;for(;this.lines.length&&this.lines.at(-1).firstChunkIndex===this.lines.at(-1).lastChunkIndex;)this.lines.splice(-1,1);this.lines.length&&this.lines.at(-1).lastChunkIndex===e&&this.lines.at(-1).lastChunkIndex--},updateLines(){if(!this.$refs.chunks||!this.$refs.chunks.length)return;if(this.removeLastChunkFromLines(),!this.lines.length){let e=this.$refs.chunks[0].getClientRects().length;for(let t=0;t=this.$refs.chunks.length-1)return;let t=this.$refs.chunks[e],i=t.getClientRects()[t.getClientRects().length-1].top;for(let n=e+1;n{let r=this.$refs.chunks[i.lastChunkIndex].getClientRects();n>0&&i.lastChunkIndex===this.lines[n-1].lastChunkIndex?t++:t=0;let a=r[t],s=e-(a.bottom-a.top);return{top:a.top-s/2,bottom:a.bottom+s/2}})},getSeparatorBetweenChunks(e,t){return e.languageId!==t.languageId?" ":this.liveTranscriptionLanguages[e.languageId]?.metadata?this.liveTranscriptionLanguages[e.languageId].metadata.separator:this.liveTranscriptionTargetLanguages[e.languageId]?.metadata?this.liveTranscriptionTargetLanguages[e.languageId].metadata.separator:" "}}},Ia={name:"LiveTranscriptionRenderer",components:{TranscriptBlock:(0,to.default)(Ir,[["render",In],["__scopeId","data-v-61fc2150"]])},props:{token:{type:String,required:!0},callParticipantModels:{type:Array,required:!0}},setup:()=>({liveTranscriptionStore:x7()}),data:()=>({registeredModels:{},resizeObserver:null,transcriptBlocks:[],lastScrolledToBlockAndLine:null,pendingScrollToBottomLineByLine:void 0}),computed:{liveTranscriptionLanguages(){let e=this.liveTranscriptionStore.getLiveTranscriptionLanguages();return e||{}},liveTranscriptionTargetLanguages(){let e=this.liveTranscriptionStore.getLiveTranscriptionTargetLanguages();return e||{}}},watch:{callParticipantModels:{immediate:!0,handler(e){e.filter(e=>!this.registeredModels[e.attributes.peerId]).forEach(e=>{this.registeredModels[e.attributes.peerId]=e,this.registeredModels[e.attributes.peerId].on("transcript",this.handleTranscript)}),Object.keys(this.registeredModels).filter(t=>!e.find(e=>e.attributes.peerId===t)).forEach(e=>{this.registeredModels[e].off("transcript",this.handleTranscript),delete this.registeredModels[e]})}}},mounted(){this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.$refs.transcript)},beforeUnmount(){Object.keys(this.registeredModels).forEach(e=>{this.registeredModels[e].off("transcript",this.handleTranscript),delete this.registeredModels[e]}),this.resizeObserver.disconnect(),clearTimeout(this.pendingScrollToBottomLineByLine)},methods:{handleResize(e,t){if(!this.$refs.transcriptBlocks)return;for(let e=0;e{this.scrollToBottomLineByLine()})},scrollToBottomLineByLine(){if(!this.pendingScrollToBottomLineByLine){if(!this.scrollToNextLine())return void this.removeNoLongerVisibleTranscriptBlocks();this.pendingScrollToBottomLineByLine=setTimeout(()=>{this.pendingScrollToBottomLineByLine=void 0,this.scrollToBottomLineByLine()},2e3)}},scrollToNextLine(){if(!this.lastScrolledToBlockAndLine)return this.scrollToBlockAndLine(0,0),!0;let e=this.$refs.transcriptBlocks[this.lastScrolledToBlockAndLine.block].getLineBoundaries();return(this.lastScrolledToBlockAndLine.line>=e.length&&(this.lastScrolledToBlockAndLine.line=e.length-1),this.lastScrolledToBlockAndLine.linee);i++)t++;return t}}},Is=(0,to.default)(Ia,[["render",M8],["__scopeId","data-v-b560a0c8"]]),Io={ref:"presenterOverlayContainer",class:"presenter-overlay__container"};function Il(e,t,i,n,r,a){let s=(0,z.g2)("LocalVideo"),o=(0,z.g2)("VideoVue"),l=(0,z.g2)("VueDraggableResizable"),u=(0,z.g2)("AccountBox"),d=(0,z.g2)("NcButton");return(0,z.uX)(),(0,z.CE)("div",Io,[i.isCollapsed?((0,z.uX)(),(0,z.Wv)(d,{key:1,"aria-label":a.t("spreed","Show presenter"),title:a.t("spreed","Show presenter"),class:"presenter-overlay--collapsed",variant:"tertiary-no-background",onClick:t[4]||(t[4]=t=>e.$emit("click"))},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{fillColor:"#ffffff",size:20})]),_:1},8,["aria-label","title"])):((0,z.uX)(),(0,z.Wv)(l,{key:0,ref:"presenterOverlay",parent:"",class:"presenter-overlay",resizable:!1,h:r.presenterOverlaySize,w:r.presenterOverlaySize,x:n.isDirectionRTL?n.parentWidth-r.presenterOverlaySize-10:10,y:10,onDragging:t[2]||(t[2]=e=>r.isDragging=!0),onDragstop:t[3]||(t[3]=e=>r.isDragging=!1)},{default:(0,z.k6)(()=>[i.isLocalPresenter?((0,z.uX)(),(0,z.Wv)(s,{key:0,class:"presenter-overlay__video",token:i.token,localMediaModel:i.localMediaModel,localCallParticipantModel:i.model,isPresenterOverlay:"",unSelectable:"",hideBottomBar:"",onClickPresenter:t[0]||(t[0]=t=>e.$emit("click"))},null,8,["token","localMediaModel","localCallParticipantModel"])):((0,z.uX)(),(0,z.Wv)(o,{key:1,token:i.token,class:(0,z.C4)([{dragging:r.isDragging},"presenter-overlay__video"]),model:i.model,sharedData:i.sharedData,isPresenterOverlay:"",unSelectable:"",hideBottomBar:"",onClickPresenter:t[1]||(t[1]=t=>e.$emit("click"))},null,8,["token","class","model","sharedData"]))]),_:1},8,["h","w","x"]))],512)}function Iu(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)}function Id(e,t,i,n=1){let[r,a]="number"==typeof n?[n,n]:n;return[Math.round(t/r/e[0])*e[0],Math.round(i/a/e[1])*e[1]]}function Ic(e,t,i){return e-t-i}function Ih(e,t,i){return e-t-i}function If(e,t,i){return null!==t&&eIu(n[e]));if(!Iu(n[r]))return!1;do{if(n[r](t))return!0;if(n===i)break;n=n.parentNode}while(n);return!1}function Ig(e){let t=window.getComputedStyle(e);return[parseFloat(t.getPropertyValue("width"),10),parseFloat(t.getPropertyValue("height"),10)]}function Ip(e,t,i){e&&(e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener?e.addEventListener(t,i,!0):e["on"+t]=i)}function I_(e,t,i){e&&(e.detachEvent?e.detachEvent("on"+t,i):e.removeEventListener?e.removeEventListener(t,i,!0):e["on"+t]=null)}let Iv=(e,t)=>{let i=e.__vccOpts||e;for(let[e,n]of t)i[e]=n;return i},Ib={start:"mousedown",move:"mousemove",stop:"mouseup"},Iy={start:"touchstart",move:"touchmove",stop:"touchend"},IF={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},Ik={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},Iw=Ib,IC={replace:!0,name:"vue-draggable-resizable",props:{className:{type:String,default:"vdr"},classNameDraggable:{type:String,default:"draggable"},classNameResizable:{type:String,default:"resizable"},classNameDragging:{type:String,default:"dragging"},classNameResizing:{type:String,default:"resizing"},classNameActive:{type:String,default:"active"},classNameHandle:{type:String,default:"handle"},disableUserSelect:{type:Boolean,default:!0},enableNativeDrag:{type:Boolean,default:!1},preventDeactivation:{type:Boolean,default:!1},active:{type:Boolean,default:!1},draggable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},lockAspectRatio:{type:Boolean,default:!1},w:{type:[Number,String],default:200,validator:e=>"number"==typeof e?e>0:"auto"===e},h:{type:[Number,String],default:200,validator:e=>"number"==typeof e?e>0:"auto"===e},minWidth:{type:Number,default:0,validator:e=>e>=0},minHeight:{type:Number,default:0,validator:e=>e>=0},maxWidth:{type:Number,default:null,validator:e=>e>=0},maxHeight:{type:Number,default:null,validator:e=>e>=0},x:{type:Number,default:0},y:{type:Number,default:0},z:{type:[String,Number],default:"auto",validator:e=>"string"==typeof e?"auto"===e:e>=0},handles:{type:Array,default:()=>["tl","tm","tr","mr","br","bm","bl","ml"],validator:e=>{let t=new Set(["tl","tm","tr","mr","br","bm","bl","ml"]);return new Set(e.filter(e=>t.has(e))).size===e.length}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},axis:{type:String,default:"both",validator:e=>["x","y","both"].includes(e)},grid:{type:Array,default:()=>[1,1]},parent:{type:Boolean,default:!1},scale:{type:[Number,Array],default:1,validator:e=>"number"==typeof e?e>0:2===e.length&&e[0]>0&&e[1]>0},onDragStart:{type:Function,default:()=>!0},onDrag:{type:Function,default:()=>!0},onResizeStart:{type:Function,default:()=>!0},onResize:{type:Function,default:()=>!0}},data:function(){return{left:this.x,top:this.y,right:null,bottom:null,width:null,height:null,widthTouched:!1,heightTouched:!1,aspectFactor:null,parentWidth:null,parentHeight:null,handle:null,enabled:this.active,resizing:!1,dragging:!1,dragEnable:!1,resizeEnable:!1,zIndex:this.z}},created:function(){this.maxWidth&&this.minWidth>this.maxWidth&&console.warn("[Vdr warn]: Invalid prop: minWidth cannot be greater than maxWidth"),this.maxHeight&&this.minHeight>this.maxHeight&&console.warn("[Vdr warn]: Invalid prop: minHeight cannot be greater than maxHeight"),this.resetBoundsAndMouseState()},mounted:function(){this.enableNativeDrag||(this.$el.ondragstart=()=>!1);let[e,t]=this.getParentSize();this.parentWidth=e,this.parentHeight=t;let[i,n]=Ig(this.$el);this.aspectFactor=("auto"!==this.w?this.w:i)/("auto"!==this.h?this.h:n),this.width="auto"!==this.w?this.w:i,this.height="auto"!==this.h?this.h:n,this.right=this.parentWidth-this.width-this.left,this.bottom=this.parentHeight-this.height-this.top,this.active&&this.$emit("activated"),Ip(document.documentElement,"mousedown",this.deselect),Ip(document.documentElement,"touchend touchcancel",this.deselect),Ip(window,"resize",this.checkParentSize)},beforeUnmount:function(){I_(document.documentElement,"mousedown",this.deselect),I_(document.documentElement,"touchstart",this.handleUp),I_(document.documentElement,"mousemove",this.move),I_(document.documentElement,"touchmove",this.move),I_(document.documentElement,"mouseup",this.handleUp),I_(document.documentElement,"touchend touchcancel",this.deselect),I_(window,"resize",this.checkParentSize)},methods:{resetBoundsAndMouseState(){this.mouseClickPosition={mouseX:0,mouseY:0,x:0,y:0,w:0,h:0},this.bounds={minLeft:null,maxLeft:null,minRight:null,maxRight:null,minTop:null,maxTop:null,minBottom:null,maxBottom:null}},checkParentSize(){if(this.parent){let[e,t]=this.getParentSize();this.parentWidth=e,this.parentHeight=t,this.right=this.parentWidth-this.width-this.left,this.bottom=this.parentHeight-this.height-this.top}},getParentSize(){if(this.parent){let e=window.getComputedStyle(this.$el.parentNode,null);return[parseInt(e.getPropertyValue("width"),10),parseInt(e.getPropertyValue("height"),10)]}return[null,null]},elementTouchDown(e){Iw=Iy,this.elementDown(e)},elementMouseDown(e){Iw=Ib,this.elementDown(e)},elementDown(e){if(e instanceof MouseEvent&&0!==e.button)return;let t=e.target||e.srcElement;if(this.$el.contains(t)){if(!1===this.onDragStart(e))return;if(this.dragHandle&&!Im(t,this.dragHandle,this.$el)||this.dragCancel&&Im(t,this.dragCancel,this.$el)){this.dragging=!1;return}this.enabled||(this.enabled=!0,this.$emit("activated"),this.$emit("update:active",!0)),this.draggable&&(this.dragEnable=!0),this.mouseClickPosition.mouseX=e.touches?e.touches[0].pageX:e.pageX,this.mouseClickPosition.mouseY=e.touches?e.touches[0].pageY:e.pageY,this.mouseClickPosition.left=this.left,this.mouseClickPosition.right=this.right,this.mouseClickPosition.top=this.top,this.mouseClickPosition.bottom=this.bottom,this.parent&&(this.bounds=this.calcDragLimits()),Ip(document.documentElement,Iw.move,this.move),Ip(document.documentElement,Iw.stop,this.handleUp)}},calcDragLimits(){return{minLeft:this.left%this.grid[0],maxLeft:Math.floor((this.parentWidth-this.width-this.left)/this.grid[0])*this.grid[0]+this.left,minRight:this.right%this.grid[0],maxRight:Math.floor((this.parentWidth-this.width-this.right)/this.grid[0])*this.grid[0]+this.right,minTop:this.top%this.grid[1],maxTop:Math.floor((this.parentHeight-this.height-this.top)/this.grid[1])*this.grid[1]+this.top,minBottom:this.bottom%this.grid[1],maxBottom:Math.floor((this.parentHeight-this.height-this.bottom)/this.grid[1])*this.grid[1]+this.bottom}},deselect(e){let t=e.target||e.srcElement,i=RegExp(this.className+"-([trmbl]{2})","");this.$el.contains(t)||i.test(t.className)||(this.enabled&&!this.preventDeactivation&&(this.enabled=!1,this.$emit("deactivated"),this.$emit("update:active",!1)),I_(document.documentElement,Iw.move,this.handleResize)),this.resetBoundsAndMouseState()},handleTouchDown(e,t){Iw=Iy,this.handleDown(e,t)},handleDown(e,t){t instanceof MouseEvent&&1!==t.which||!1!==this.onResizeStart(e,t)&&(t.stopPropagation&&t.stopPropagation(),this.lockAspectRatio&&!e.includes("m")?this.handle="m"+e.substring(1):this.handle=e,this.resizeEnable=!0,this.mouseClickPosition.mouseX=t.touches?t.touches[0].pageX:t.pageX,this.mouseClickPosition.mouseY=t.touches?t.touches[0].pageY:t.pageY,this.mouseClickPosition.left=this.left,this.mouseClickPosition.right=this.right,this.mouseClickPosition.top=this.top,this.mouseClickPosition.bottom=this.bottom,this.bounds=this.calcResizeLimits(),Ip(document.documentElement,Iw.move,this.handleResize),Ip(document.documentElement,Iw.stop,this.handleUp))},calcResizeLimits(){let e=this.minW,t=this.minH,i=this.maxW,n=this.maxH,r=this.aspectFactor,[a,s]=this.grid,o=this.width,l=this.height,u=this.left,d=this.top,c=this.right,h=this.bottom;this.lockAspectRatio&&(e/t>r?t=e/r:e=r*t,i&&n?(i=Math.min(i,r*n),n=Math.min(n,i/r)):i?n=i/r:n&&(i=r*n)),i-=i%a,n-=n%s;let f={minLeft:null,maxLeft:null,minTop:null,maxTop:null,minRight:null,maxRight:null,minBottom:null,maxBottom:null};return this.parent?(f.minLeft=u%a,f.maxLeft=u+Math.floor((o-e)/a)*a,f.minTop=d%s,f.maxTop=d+Math.floor((l-t)/s)*s,f.minRight=c%a,f.maxRight=c+Math.floor((o-e)/a)*a,f.minBottom=h%s,f.maxBottom=h+Math.floor((l-t)/s)*s,i&&(f.minLeft=Math.max(f.minLeft,this.parentWidth-c-i),f.minRight=Math.max(f.minRight,this.parentWidth-u-i)),n&&(f.minTop=Math.max(f.minTop,this.parentHeight-h-n),f.minBottom=Math.max(f.minBottom,this.parentHeight-d-n)),this.lockAspectRatio&&(f.minLeft=Math.max(f.minLeft,u-d*r),f.minTop=Math.max(f.minTop,d-u/r),f.minRight=Math.max(f.minRight,c-h*r),f.minBottom=Math.max(f.minBottom,h-c/r))):(f.minLeft=null,f.maxLeft=u+Math.floor((o-e)/a)*a,f.minTop=null,f.maxTop=d+Math.floor((l-t)/s)*s,f.minRight=null,f.maxRight=c+Math.floor((o-e)/a)*a,f.minBottom=null,f.maxBottom=h+Math.floor((l-t)/s)*s,i&&(f.minLeft=-(c+i),f.minRight=-(u+i)),n&&(f.minTop=-(h+n),f.minBottom=-(d+n)),this.lockAspectRatio&&i&&n&&(f.minLeft=Math.min(f.minLeft,-(c+i)),f.minTop=Math.min(f.minTop,-(n+h)),f.minRight=Math.min(f.minRight,-u-i),f.minBottom=Math.min(f.minBottom,-d-n))),f},move(e){this.resizing?this.handleResize(e):this.dragEnable&&this.handleDrag(e)},handleDrag(e){let t=this.axis,i=this.grid,n=this.bounds,r=this.mouseClickPosition,[a,s]=Id(i,t&&"y"!==t?r.mouseX-(e.touches?e.touches[0].pageX:e.pageX):0,t&&"x"!==t?r.mouseY-(e.touches?e.touches[0].pageY:e.pageY):0,this.scale),o=If(r.left-a,n.minLeft,n.maxLeft),l=If(r.top-s,n.minTop,n.maxTop);if(!1===this.onDrag(o,l))return;let u=If(r.right+a,n.minRight,n.maxRight),d=If(r.bottom+s,n.minBottom,n.maxBottom);this.left=o,this.top=l,this.right=u,this.bottom=d,this.$emit("dragging",this.left,this.top),this.dragging=!0},moveHorizontally(e){let[t,i]=Id(this.grid,e,this.top,1),n=If(t,this.bounds.minLeft,this.bounds.maxLeft);this.left=n,this.right=this.parentWidth-this.width-n},moveVertically(e){let[t,i]=Id(this.grid,this.left,e,1),n=If(i,this.bounds.minTop,this.bounds.maxTop);this.top=n,this.bottom=this.parentHeight-this.height-n},handleResize(e){let t=this.left,i=this.top,n=this.right,r=this.bottom,a=this.mouseClickPosition,s=this.aspectFactor,o=a.mouseX-(e.touches?e.touches[0].pageX:e.pageX),l=a.mouseY-(e.touches?e.touches[0].pageY:e.pageY);!this.widthTouched&&o&&(this.widthTouched=!0),!this.heightTouched&&l&&(this.heightTouched=!0);let[u,d]=Id(this.grid,o,l,this.scale);this.handle.includes("b")?(r=If(a.bottom+d,this.bounds.minBottom,this.bounds.maxBottom),this.lockAspectRatio&&this.resizingOnY&&(n=this.right-(this.bottom-r)*s)):this.handle.includes("t")&&(i=If(a.top-d,this.bounds.minTop,this.bounds.maxTop),this.lockAspectRatio&&this.resizingOnY&&(t=this.left-(this.top-i)*s)),this.handle.includes("r")?(n=If(a.right+u,this.bounds.minRight,this.bounds.maxRight),this.lockAspectRatio&&this.resizingOnX&&(r=this.bottom-(this.right-n)/s)):this.handle.includes("l")&&(t=If(a.left-u,this.bounds.minLeft,this.bounds.maxLeft),this.lockAspectRatio&&this.resizingOnX&&(i=this.top-(this.left-t)/s));let c=Ic(this.parentWidth,t,n),h=Ih(this.parentHeight,i,r);!1!==this.onResize(this.handle,t,i,c,h)&&(this.left=t,this.top=i,this.right=n,this.bottom=r,this.width=c,this.height=h,this.$emit("resizing",this.left,this.top,this.width,this.height),this.resizing=!0)},changeWidth(e){let[t,i]=Id(this.grid,e,0,1),n=If(this.parentWidth-t-this.left,this.bounds.minRight,this.bounds.maxRight),r=this.bottom;this.lockAspectRatio&&(r=this.bottom-(this.right-n)/this.aspectFactor);let a=Ic(this.parentWidth,this.left,n),s=Ih(this.parentHeight,this.top,r);this.right=n,this.bottom=r,this.width=a,this.height=s},changeHeight(e){let[t,i]=Id(this.grid,0,e,1),n=If(this.parentHeight-i-this.top,this.bounds.minBottom,this.bounds.maxBottom),r=this.right;this.lockAspectRatio&&(r=this.right-(this.bottom-n)*this.aspectFactor);let a=Ic(this.parentWidth,this.left,r),s=Ih(this.parentHeight,this.top,n);this.right=r,this.bottom=n,this.width=a,this.height=s},handleUp(e){this.handle=null,this.resetBoundsAndMouseState(),this.dragEnable=!1,this.resizeEnable=!1,this.resizing&&(this.resizing=!1,this.$emit("resizeStop",this.left,this.top,this.width,this.height)),this.dragging&&(this.dragging=!1,this.$emit("dragStop",this.left,this.top)),I_(document.documentElement,Iw.move,this.handleResize)}},computed:{style(){return{transform:`translate(${this.left}px, ${this.top}px)`,width:this.computedWidth,height:this.computedHeight,zIndex:this.zIndex,...this.dragging&&this.disableUserSelect?IF:Ik}},actualHandles(){return this.resizable?this.handles:[]},computedWidth(){return"auto"!==this.w||this.widthTouched?this.width+"px":"auto"},computedHeight(){return"auto"!==this.h||this.heightTouched?this.height+"px":"auto"},minW(){return this.minWidth},minH(){return this.minHeight},maxW(){return this.maxWidth},maxH(){return this.maxHeight},resizingOnX(){return!!this.handle&&(this.handle.includes("l")||this.handle.includes("r"))},resizingOnY(){return!!this.handle&&(this.handle.includes("t")||this.handle.includes("b"))},isCornerHandle(){return!!this.handle&&["tl","tr","br","bl"].includes(this.handle)}},watch:{active(e){this.enabled=e,e?this.$emit("activated"):this.$emit("deactivated")},z(e){(e>=0||"auto"===e)&&(this.zIndex=e)},x(e){this.resizing||this.dragging||(this.parent&&(this.bounds=this.calcDragLimits()),this.moveHorizontally(e))},y(e){this.resizing||this.dragging||(this.parent&&(this.bounds=this.calcDragLimits()),this.moveVertically(e))},lockAspectRatio(e){e?this.aspectFactor=this.width/this.height:this.aspectFactor=void 0},w(e){this.resizing||this.dragging||(this.parent&&(this.bounds=this.calcResizeLimits()),this.changeWidth(e))},h(e){this.resizing||this.dragging||(this.parent&&(this.bounds=this.calcResizeLimits()),this.changeHeight(e))}}},IA=["onMousedown","onTouchstart"],IE=Iv(IC,[["render",function(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("div",{style:(0,z.Tr)(a.style),class:(0,z.C4)([{[i.classNameActive]:e.enabled,[i.classNameDragging]:e.dragging,[i.classNameResizing]:e.resizing,[i.classNameDraggable]:i.draggable,[i.classNameResizable]:i.resizable},i.className]),onMousedown:t[0]||(t[0]=(...e)=>a.elementMouseDown&&a.elementMouseDown(...e)),onTouchstart:t[1]||(t[1]=(...e)=>a.elementTouchDown&&a.elementTouchDown(...e))},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.actualHandles,t=>((0,z.uX)(),(0,z.CE)("div",{key:t,class:(0,z.C4)([i.classNameHandle,i.classNameHandle+"-"+t]),style:(0,z.Tr)({display:e.enabled?"block":"none"}),onMousedown:(0,z.D$)(e=>a.handleDown(t,e),["stop","prevent"]),onTouchstart:(0,z.D$)(e=>a.handleTouchDown(t,e),["stop","prevent"])},[(0,z.RG)(e.$slots,t)],46,IA))),128)),(0,z.RG)(e.$slots,"default")],38)}]]);function IS(e){IS.installed||(IS.installed=!0,e.component("VueDraggableResizable",IE))}let Ix={install:IS},ID=null;"u">typeof window?ID=window.Vue:"u">typeof global&&(ID=global.Vue),ID&&ID.use(Ix);let IT=["aria-hidden","aria-label"],IM=["fill","width","height"],II={d:"M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z"},IB={key:0};function IP(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon account-box-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",II,[i.title?((0,z.uX)(),(0,z.CE)("title",IB,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,IM))],16,IT)}let IL={name:"AccountBoxOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},IN=(0,to.default)(IL,[["render",IP]]),IR=(0,K.V8)(),Ij={name:"PresenterOverlay",components:{AccountBox:IN,VueDraggableResizable:IE,NcButton:e7.A,LocalVideo:Mg,VideoVue:M0},props:{token:{type:String,required:!0},model:{type:Object,required:!0},sharedData:{type:Object,required:!0},isCollapsed:{type:Boolean,required:!0},isLocalPresenter:{type:Boolean,default:!1},localMediaModel:{type:Object,default:null}},emits:["click"],setup:()=>({parentWidth:(0,z.KR)(document.getElementById("videos").getBoundingClientRect().width),isDirectionRTL:IR}),data:()=>({resizeObserver:null,presenterOverlaySize:128,isDragging:!1}),mounted(){this.resizeObserver=new ResizeObserver(this.updateSize),this.resizeObserver.observe(this.$refs.presenterOverlayContainer)},beforeUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()},methods:{t:K.t,updateSize(){if(!this.$refs.presenterOverlay)return;let e=Math.round(.1*this.$refs.presenterOverlayContainer.clientWidth);this.presenterOverlaySize=Math.min(Math.max(e,100),242),this.$refs.presenterOverlay.checkParentSize(),this.$refs.presenterOverlay.right<0&&this.$refs.presenterOverlay.parentWidth>this.presenterOverlaySize&&this.$refs.presenterOverlay.moveHorizontally(this.$refs.presenterOverlay.parentWidth-this.presenterOverlaySize),this.$refs.presenterOverlay.bottom<0&&this.$refs.presenterOverlay.parentHeight>this.presenterOverlaySize&&this.$refs.presenterOverlay.moveVertically(this.$refs.presenterOverlay.parentHeight-this.presenterOverlaySize)}}},IO=(0,to.default)(Ij,[["render",Il],["__scopeId","data-v-2e2aab1e"]]),Iz={class:"toaster"},IU=["src","alt"],Iq={key:1,class:"toast__reaction"},IW={class:"toast__name"};function IV(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("ul",Iz,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(r.toasts,e=>((0,z.uX)(),(0,z.CE)("li",{key:e.seed,class:"toast",style:(0,z.Tr)(a.styled(e.name,e.seed))},[e.reactionURL?((0,z.uX)(),(0,z.CE)("img",{key:0,class:"toast__reaction-img",src:e.reactionURL,alt:e.reaction,width:"34",height:"34"},null,8,IU)):((0,z.uX)(),(0,z.CE)("span",Iq,(0,z.v_)(e.reaction),1)),(0,z.Lk)("span",IW,(0,z.v_)(e.name),1)],4))),128))])}let IH={"❤️":"Heart.gif","\uD83C\uDF89":"Party.gif","\uD83D\uDC4F":"Clap.gif","\uD83D\uDC4B":"Wave.gif","\uD83D\uDC4D":"Thumbs-up.gif","\uD83D\uDC4E":"Thumbs-down.gif","\uD83D\uDD25":"Fire.gif","\uD83D\uDE02":"Joy.gif","\uD83E\uDD29":"Star-struck.gif","\uD83E\uDD14":"Thinking-face.gif","\uD83D\uDE32":"Surprised.gif","\uD83D\uDE25":"Concerned.gif"},I$=2e3,IG=500,IX=0,IK={name:"ReactionToaster",props:{token:{type:String,required:!0},supportedReactions:{type:Array,validator:e=>e.every(e=>"string"==typeof e),required:!0},callParticipantModels:{type:Array,required:!0}},setup:()=>({guestNameStore:hu(),actorStore:of()}),data:()=>({registeredModels:{},reactionsQueue:[],intervalId:null,toasts:[]}),computed:{participants(){return this.$store.getters.participantsList(this.token)}},watch:{callParticipantModels:{handler(e){e.filter(e=>!this.registeredModels[e.attributes.peerId]).forEach(e=>{this.registeredModels[e.attributes.peerId]=e,this.registeredModels[e.attributes.peerId].on("reaction",this.handleReaction)}),Object.keys(this.registeredModels).filter(t=>!e.find(e=>e.attributes.peerId===t)).forEach(e=>{this.registeredModels[e].off("reaction",this.handleReaction),delete this.registeredModels[e]})},immediate:!0}},mounted(){this.intervalId=setInterval(this.processReactionsQueue,IG),(0,G.B1)("send-reaction",this.handleOwnReaction)},beforeUnmount(){clearInterval(this.intervalId),(0,G.al)("send-reaction",this.handleOwnReaction),Object.keys(this.registeredModels).forEach(e=>{this.registeredModels[e].off("reaction",this.handleReaction),delete this.registeredModels[e]})},methods:{t:K.t,handleOwnReaction({model:e,reaction:t}){this.handleReaction(e,t,!0)},handleReaction(e,t,i=!1){!OC.debug&&this.reactionsQueue.some(t=>t.id===e.attributes.peerId)||this.supportedReactions.includes(t)&&this.reactionsQueue.push({id:e.attributes.peerId,reaction:t,reactionURL:this.getReactionURL(t),name:i?this.actorStore.displayName||(0,K.t)("spreed","Guest"):this.getParticipantName(e),seed:Math.random(),timestamp:Date.now()})},processReactionsQueue(){if(0===this.reactionsQueue.length)return;let e=Date.now();if(!(et.timestamp>=e-3e4),0===this.reactionsQueue.length))return;IX=e+IG,this.toasts.push(this.reactionsQueue.shift()),setTimeout(()=>{this.toasts.shift()},I$)}},getParticipantName(e){let{name:t,nextcloudSessionId:i}=e.attributes;if(t)return t;let n=this.participants.find(e=>e.sessionIds.includes(i));return n?.displayName?n.displayName:this.guestNameStore.getGuestName(this.token,sM().stringify(hT()(i)))},getReactionURL:e=>IH[e]?(0,O.d0)("spreed","emojis/"+IH[e]):void 0,styled(e,t){let i=TS(e);return{"--background-color":`rgb(${i.r}, ${i.g}, ${i.b})`,"--animation-length":`${I$+300}ms`,"--horizontal-offset":`${10+20*t}%`,"--vertical-offset":30+5*t}}}},IY=(0,to.default)(IK,[["render",IV],["__scopeId","data-v-7c23e6f9"]]),IQ={ref:"ghost",class:"viewer-overlay-ghost"},IZ={class:"video-overlay__top-bar"},IJ={class:"viewer-overlay__bottom-bar"};function I0(e,t,i,n,r,a){let s=(0,z.g2)("ChevronDown"),o=(0,z.g2)("ChevronUp"),l=(0,z.g2)("NcButton"),u=(0,z.g2)("ArrowExpand"),d=(0,z.g2)("ScreenShare"),c=(0,z.g2)("VideoVue"),h=(0,z.g2)("EmptyCallView"),f=(0,z.g2)("LocalVideo"),m=(0,z.g2)("LocalAudioControlButton"),g=(0,z.g2)("LocalVideoControlButton"),p=(0,z.g2)("TransitionWrapper");return(0,z.uX)(),(0,z.CE)("div",IQ,[((0,z.uX)(),(0,z.Wv)(z.Im,{to:"body"},[(0,z.Lk)("div",{class:"viewer-overlay app-talk",style:(0,z.Tr)(a.computedStyle)},[(0,z.Lk)("div",{class:(0,z.C4)(["viewer-overlay__collapse",{collapsed:r.isCollapsed}])},[(0,z.bF)(l,{variant:"secondary",class:"viewer-overlay__button","aria-label":r.isCollapsed?a.t("spreed","Collapse"):a.t("spreed","Expand"),onClick:t[0]||(t[0]=(0,z.D$)(e=>r.isCollapsed=!r.isCollapsed,["stop"]))},{icon:(0,z.k6)(()=>[r.isCollapsed?((0,z.uX)(),(0,z.Wv)(o,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(s,{key:0,size:20}))]),_:1},8,["aria-label"])],2),(0,z.bF)(p,{name:"slide-down"},{default:(0,z.k6)(()=>[(0,z.bo)((0,z.Lk)("div",{class:"viewer-overlay__video-container",tabindex:"0",onClick:t[1]||(t[1]=(...e)=>a.maximize&&a.maximize(...e))},[(0,z.Lk)("div",IZ,[(0,z.bF)(l,{variant:"secondary",class:"viewer-overlay__button","aria-label":a.t("spreed","Expand"),onClick:(0,z.D$)(a.maximize,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),_:1},8,["aria-label","onClick"])]),a.showLocalScreen?((0,z.uX)(),(0,z.Wv)(d,{key:0,token:i.token,localMediaModel:i.localModel,sharedData:i.localSharedData},null,8,["token","localMediaModel","sharedData"])):i.model&&i.screens[i.model.attributes.peerId]?((0,z.uX)(),(0,z.Wv)(d,{key:1,token:i.token,callParticipantModel:i.model,sharedData:i.sharedData},null,8,["token","callParticipantModel","sharedData"])):i.model?((0,z.uX)(),(0,z.Wv)(c,{key:2,class:"viewer-overlay__video",token:i.token,model:i.model,sharedData:i.sharedData,isGrid:"",unSelectable:"",hideBottomBar:"",onClickVideo:a.maximize},{bottomBar:(0,z.k6)(()=>[...t[2]||(t[2]=[])]),_:1},8,["token","model","sharedData","onClickVideo"])):((0,z.uX)(),(0,z.Wv)(h,{key:3,isSmall:""})),i.localModel.attributes.videoEnabled?((0,z.uX)(),(0,z.Wv)(f,{key:4,class:"viewer-overlay__local-video",token:i.token,showControls:!1,localMediaModel:i.localModel,localCallParticipantModel:i.localCallParticipantModel,isSmall:"",unSelectable:""},null,8,["token","localMediaModel","localCallParticipantModel"])):(0,z.Q3)("",!0),(0,z.Lk)("div",IJ,[(0,z.bF)(m,{class:"viewer-overlay__button",token:i.token,conversation:a.conversation,model:i.localModel,variant:"secondary",disableKeyboardShortcuts:""},null,8,["token","conversation","model"]),(0,z.bF)(g,{class:"viewer-overlay__button",token:i.token,conversation:a.conversation,model:i.localModel,variant:"secondary",disableKeyboardShortcuts:""},null,8,["token","conversation","model"])])],512),[[z.aG,!r.isCollapsed]])]),_:1})],4)]))],512)}let I1=["aria-hidden","aria-label"],I2=["fill","width","height"],I3={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},I4={key:0};function I6(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon arrow-expand-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",I3,[i.title?((0,z.uX)(),(0,z.CE)("title",I4,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,I2))],16,I1)}let I5={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},I8=(0,to.default)(I5,[["render",I6]]),I9={name:"ViewerOverlayCallView",components:{EmptyCallView:D2,LocalAudioControlButton:xB,LocalVideoControlButton:xQ,ScreenShare:MZ,LocalVideo:Mg,ChevronUp:tl,ChevronDown:Dv,NcButton:e7.A,TransitionWrapper:DL,VideoVue:M0,ArrowExpand:I8},props:{token:{type:String,required:!0},model:{type:Object,required:!1,default:null},sharedData:{type:Object,required:!1,default:null},localModel:{type:Object,required:!1,default:()=>ES},localCallParticipantModel:{type:Object,required:!1,default:()=>EE},localSharedData:{type:Object,required:!0,default:()=>{}},screens:{type:Array,required:!1,default:()=>[]}},setup:()=>({callViewStore:aT()}),data:()=>({isCollapsed:!1,observer:null,position:{right:0,left:0,bottom:0}}),computed:{conversation(){return this.$store.getters.conversation(this.token)},hasLocalScreen(){return!!this.localModel.attributes.localScreen},showLocalScreen(){return this.hasLocalScreen&&this.screens[0]===EE.attributes.peerId},computedStyle(){return{[(0,K.V8)()?"left":"right"]:this.position[(0,K.V8)()?"left":"right"]+"px",bottom:this.position.bottom+"px"}}},mounted(){this.updatePosition(),this.observer=new ResizeObserver(this.updatePosition),this.observer.observe(this.$refs.ghost)},beforeUnmount(){this.observer.disconnect()},methods:{t:K.t,maximize(){OCA.Viewer&&OCA.Viewer.close(),this.callViewStore.setIsViewerOverlay(!1)},updatePosition(){let{left:e,right:t,bottom:i}=this.$refs.ghost.getBoundingClientRect();(0,K.V8)()?this.position.left=e:this.position.right=window.innerWidth-t,this.position.bottom=window.innerHeight-i}}},I7=(0,to.default)(I9,[["render",I0],["__scopeId","data-v-ffed6baa"]]);function Be(e,t){let i=e.split(".").map(Number),n=t.split(".").map(Number);for(let e=0;e(n[e]??0);return!0}function Bt(e){this._model=e,this._blocked=!1,this._enabled=!0,this._visibleCounter=1,this._blockVideoTimeout=null,this.decreaseVisibleCounter()}function Bi(){if(!("wakeLock"in navigator))return;let e=navigator.wakeLock.request("screen").catch(()=>{});(0,z.hi)(async()=>{let t=await e;t?.release()})}Bt.prototype={destroy(){this._destroyed=!0,clearTimeout(this._blockVideoTimeout)},isVideoEnabled(){return this._enabled},setVideoEnabled(e){if(this._destroyed)return;this._enabled=e;let t=this._blockVideoTimeout;clearTimeout(this._blockVideoTimeout),this._blockVideoTimeout=null,(this._visibleCounter||t)&&this._setVideoBlocked(!e)},increaseVisibleCounter(){this._destroyed||(this._visibleCounter++,clearTimeout(this._blockVideoTimeout),this._blockVideoTimeout=null,this._enabled&&this._setVideoBlocked(!1))},decreaseVisibleCounter(){this._destroyed||(this._visibleCounter<=0?console.error("Visible counter decreased when not visible"):(this._visibleCounter--,!(this._visibleCounter>0)&&this._enabled&&(clearTimeout(this._blockVideoTimeout),this._blockVideoTimeout=setTimeout(()=>{this._setVideoBlocked(!0),this._blockVideoTimeout=null},5e3))))},_setVideoBlocked(e){this._blocked!==e&&(this._blocked=e,this._model.setVideoBlocked(e))}};let Bn=Be((0,X.C)("core","config",{}).version??"29.0.0.0","29.0.4.0"),Br={name:"CallView",components:{BottomBar:Do,EmptyCallView:D2,VideosGrid:M6,LiveTranscriptionRenderer:Is,LocalVideo:Mg,PresenterOverlay:IO,ReactionToaster:IY,ScreenShare:MZ,VideoBottomBar:MD,VideoVue:M0,ViewerOverlayCallView:I7},props:{token:{type:String,required:!0},isSidebar:{type:Boolean,default:!1},isRecording:{type:Boolean,default:!1}},setup(){Bi();let e=(0,z.KR)(!1);(0,z.Gt)("CallView:devModeEnabled",e);let t=(0,z.KR)(!1);(0,z.Gt)("CallView:screenshotModeEnabled",t);let i=cK();!i.showMediaSettings&&i.startWithoutMedia&&(ES.disableAudio(),ES.disableVideo());let n=(0,z.KR)("false"!==ak.getItem("background-blurred"));return{localMediaModel:ES,localCallParticipantModel:EE,callParticipantCollection:EA,devMode:e,callViewStore:aT(),isBackgroundBlurred:n}},data:()=>({screens:[],sharedDatas:{},raisedHandUnwatchers:{},speakingUnwatchers:{},screenUnwatchers:{},speakers:[],localSharedData:{screenVisible:!0},showPresenterOverlay:!0,debounceFetchPeers:()=>{},forcePromotedModel:null}),computed:{promotedParticipantModel(){return this.forcePromotedModel??this.callParticipantModels.find(e=>this.sharedDatas[e.attributes.peerId].promoted)??this.callParticipantModels[0]},callParticipantModels:()=>EA.callParticipantModels.filter(e=>!e.attributes.internal||e.attributes.videoAvailable),callParticipantModelsWithScreen(){return this.callParticipantModels.filter(e=>e.attributes.screen)},localScreen:()=>ES.attributes.localScreen,screenSharingActive(){return this.screens.length>0},isViewerOverlay(){return this.callViewStore.isViewerOverlay},isGrid(){return this.callViewStore.isGrid&&!this.isSidebar},selectedVideoPeerId(){return this.callViewStore.selectedVideoPeerId},selectedCallParticipantModel(){return this.showSelectedVideo&&this.selectedVideoPeerId?this.callParticipantModels.find(e=>e.attributes.peerId===this.selectedVideoPeerId):null},hasSelectedScreen(){return null!==this.selectedVideoPeerId&&this.screens.includes(this.selectedVideoPeerId)},hasSelectedVideo(){return null!==this.selectedVideoPeerId&&!this.screens.includes(this.selectedVideoPeerId)},isOneToOne(){return 1===this.callParticipantModels.length},showFullPage(){return this.isOneToOne&&!(this.showLocalScreen||this.showRemoteScreen||this.showSelectedScreen)},hasLocalVideo(){return this.localMediaModel.attributes.videoEnabled},hasLocalScreen(){return!!this.localMediaModel.attributes.localScreen},hasRemoteScreen(){return this.callParticipantModelsWithScreen.length>0},showSelectedVideo(){return this.hasSelectedVideo&&!this.showLocalVideo},showSelectedScreen(){return this.hasSelectedScreen&&!this.showLocalVideo},showLocalVideo(){return this.hasLocalVideo&&"local"===this.selectedVideoPeerId},showLocalScreen(){return this.hasLocalScreen&&null===this.selectedVideoPeerId&&this.screens[0]===EE.attributes.peerId},showRemoteScreen(){return null!==this.shownRemoteScreenPeerId&&!this.showSelectedVideo&&!this.showSelectedScreen},shownRemoteScreenPeerId(){return this.screenSharingActive&&this.hasRemoteScreen?this.screens.includes(this.selectedVideoPeerId)?this.selectedVideoPeerId:this.hasSelectedScreen?null:this.screens[0]:null},shownRemoteScreenCallParticipantModel(){return this.shownRemoteScreenPeerId?this.callParticipantModels.find(e=>e.attributes.peerId===this.shownRemoteScreenPeerId):null},shouldShowPresenterOverlay(){return this.showLocalScreen&&this.hasLocalVideo||(this.showRemoteScreen||this.showSelectedScreen)&&(this.shownRemoteScreenCallParticipantModel?.attributes.videoAvailable||this.isModelWithVideo(this.shownRemoteScreenCallParticipantModel))},presenterModel(){return this.showLocalScreen?this.localCallParticipantModel:this.shownRemoteScreenCallParticipantModel},presenterSharedData(){return this.showLocalScreen?this.localSharedData:this.sharedDatas[this.shownRemoteScreenPeerId]},presenterVideoBlockerEnabled(){return this.sharedDatas[this.shownRemoteScreenPeerId]?.remoteVideoBlocker?.isVideoEnabled()},showEmptyCallView(){return!this.callParticipantModels.length&&!this.screenSharingActive&&!this.devMode},supportedReactions(){return aX(this.token,"call","supported-reactions")},callContainerClass(){if(!Bn)return this.isBackgroundBlurred?"call-container__blurred":"call-container__non-blurred"},isLiveTranscriptionEnabled(){return this.callViewStore.isLiveTranscriptionEnabled}},watch:{"localCallParticipantModel.attributes.peerId":function(e,t){let i=this.screens.indexOf(t);-1!==i&&(this.screens[i]=e)},localScreen(e){this._setScreenAvailable(EE.attributes.peerId,e)},callParticipantModels(e){this.updateDataFromCallParticipantModels(e)},isGrid(){this.adjustSimulcastQuality()},selectedVideoPeerId(){this.adjustSimulcastQuality()},speakers:{deep:!0,handler(){this._setPromotedParticipant()}},shownRemoteScreenPeerId(e){e&&this._setPromotedParticipant()},screens:{deep:!0,handler(){this._setScreenVisible()}},callParticipantModelsWithScreen(e,t){e.length>t.length?this.callViewStore.startPresentation(this.token):0!==e.length||!(t.length>0)||this.hasLocalScreen||this.selectedVideoPeerId||this.callViewStore.stopPresentation(this.token)},showLocalScreen(e){e?this.callViewStore.startPresentation(this.token):0!==this.callParticipantModelsWithScreen.length||this.selectedVideoPeerId||this.callViewStore.stopPresentation(this.token)},hasLocalVideo(e){"local"!==this.selectedVideoPeerId||e||this.callViewStore.setSelectedVideoPeerId(null)},presenterVideoBlockerEnabled(e){this.showPresenterOverlay=e},showEmptyCallView:{immediate:!0,handler(e){this.callViewStore.setIsEmptyCallView(e)}}},created(){this.updateDataFromCallParticipantModels(this.callParticipantModels)},mounted(){this.debounceFetchPeers=(0,Y.A)(this.fetchPeers,1500),iZ.on("refresh-peer-list",this.debounceFetchPeers),EA.on("remove",this._lowerHandWhenParticipantLeaves),(0,G.B1)("switch-screen-to-id",this._switchScreenToId),(0,G.B1)("set-background-blurred",this.setBackgroundBlurred)},beforeUnmount(){this.debounceFetchPeers.clear?.(),this.callViewStore.setIsEmptyCallView(!0),iZ.off("refresh-peer-list",this.debounceFetchPeers),EA.off("remove",this._lowerHandWhenParticipantLeaves),(0,G.al)("switch-screen-to-id",this._switchScreenToId),(0,G.al)("set-background-blurred",this.setBackgroundBlurred)},methods:{t:K.t,placeholderImage:Md,placeholderName:Mc,placeholderModel:Mh,placeholderSharedData:Mf,updateDataFromCallParticipantModels(e){let t=e.filter(e=>!this.sharedDatas[e.attributes.peerId]);Object.keys(this.sharedDatas).filter(t=>void 0===e.find(e=>e.attributes.peerId===t)).forEach(e=>{this.sharedDatas[e].remoteVideoBlocker.destroy(),delete this.sharedDatas[e],this.speakingUnwatchers[e](),delete this.speakingUnwatchers[e],this.screenUnwatchers[e](),delete this.screenUnwatchers[e],this.raisedHandUnwatchers[e](),delete this.raisedHandUnwatchers[e];let t=this.speakers.findIndex(t=>t.id===e);this.speakers.splice(t,1),this._setScreenAvailable(e,!1)}),t.forEach(e=>{let t={promoted:!1,remoteVideoBlocker:new Bt(e),screenVisible:!1};this.sharedDatas[e.attributes.peerId]=t,this.speakingUnwatchers[e.attributes.peerId]=this.$watch(function(){return e.attributes.speaking},function(t){this._setSpeaking(e.attributes.peerId,t)}),this.speakers.push({id:e.attributes.peerId,active:!1}),this.screenUnwatchers[e.attributes.peerId]=this.$watch(function(){return e.attributes.screen},function(t){this._setScreenAvailable(e.attributes.peerId,t)}),this.raisedHandUnwatchers[e.attributes.peerId]=this.$watch(function(){return e.attributes.raisedHand},function(t){this._handleParticipantRaisedHand(e,t)}),this.adjustSimulcastQualityForParticipant(e)})},_setSpeaking(e,t){if(t){let t=this.speakers.findIndex(t=>t.id===e),i=this.speakers[t];i.active=!0,this.speakers.splice(t,1),this.speakers.unshift(i);return}let i=this.speakers.findIndex(t=>t.id===e),n=this.speakers[i];if(n.active=!1,0===i){this.speakers.shift();let e=this.speakers.findIndex(e=>!e.active);-1===e?this.speakers.push(n):this.speakers.splice(e,0,n)}},_handleParticipantRaisedHand(e,t){let i=e.attributes.name||e.attributes.userId;i?t?.state&&(0,$.h)((0,K.t)("spreed","{nickName} raised their hand.",{nickName:i})):t?.state&&(0,$.h)((0,K.t)("spreed","A participant raised their hand.")),this.$store.dispatch("setParticipantHandRaised",{sessionId:e.attributes.nextcloudSessionId,raisedHand:t})},_lowerHandWhenParticipantLeaves(e,t){this.$store.dispatch("setParticipantHandRaised",{sessionId:t.attributes.nextcloudSessionId,raisedHand:!1})},_setScreenAvailable(e,t){if(t)return void this.screens.unshift(e);let i=this.screens.indexOf(e);-1!==i&&this.screens.splice(i,1)},_setPromotedParticipant(){let e=null;!this.screenSharingActive&&this.speakers.length?e=this.speakers[0].id:this.shownRemoteScreenPeerId&&this.sharedDatas[this.shownRemoteScreenPeerId]&&(e=this.shownRemoteScreenPeerId),e&&this.sharedDatas[e]&&(Object.keys(this.sharedDatas).forEach(e=>{this.sharedDatas[e].promoted=!1}),this.sharedDatas[e].promoted=!0),this.adjustSimulcastQuality()},_switchScreenToId(e){let t=this.screens.indexOf(e);-1!==t&&(this.callViewStore.presentationStarted?this.callViewStore.setCallViewMode({token:this.token,isGrid:!1,isStripeOpen:!1,clearLast:!1}):this.callViewStore.startPresentation(this.token),this.callViewStore.setSelectedVideoPeerId(null),this.screens.splice(t,1),this.screens.unshift(e))},_setScreenVisible(){if(this.localSharedData.screenVisible=!1,Object.values(this.sharedDatas).forEach(e=>{e.screenVisible=!1}),this.screens.length){if(this.screens[0]===this.localCallParticipantModel.attributes.peerId){this.localSharedData.screenVisible=!0;return}this.sharedDatas[this.screens[0]].screenVisible=!0}},handleSelectVideo(e){this.isSidebar||(this.callViewStore.setSelectedVideoPeerId(e),this.callViewStore.setCallViewMode({token:this.token,isGrid:!1,isStripeOpen:!1,clearLast:!1}))},handleClickLocalVideo(){this.hasLocalVideo&&!this.isSidebar&&(this.callViewStore.setSelectedVideoPeerId("local"),this.callViewStore.setCallViewMode({token:this.token,isGrid:!1,isStripeOpen:!1,clearLast:!1}))},async fetchPeers(){if(this.isRecording)return;let e=this.token;try{let t=await E3(e);this.$store.dispatch("purgePeersStore"),t.data.ocs.data.forEach(t=>{this.$store.dispatch("addPeer",{token:e,peer:t})})}catch(e){console.error(e)}},adjustSimulcastQuality(){this.callParticipantModels.forEach(e=>{this.adjustSimulcastQualityForParticipant(e)})},adjustSimulcastQualityForParticipant(e){this.isGrid?e.setSimulcastVideoQuality(aa,as):this.sharedDatas[e.attributes.peerId].promoted||this.selectedVideoPeerId===e.attributes.peerId?e.setSimulcastVideoQuality(as,as):e.setSimulcastVideoQuality(ar,as)},setBackgroundBlurred(e){this.isBackgroundBlurred=e},isModelWithVideo(e){return!!e&&e.attributes.videoAvailable&&this.sharedDatas[e.attributes.peerId].remoteVideoBlocker.isVideoEnabled()&&"object"==typeof e.attributes.stream},toggleShowPresenterOverlay(){this.showLocalScreen||this.presenterVideoBlockerEnabled?this.showPresenterOverlay=!this.showPresenterOverlay:this.sharedDatas[this.shownRemoteScreenPeerId].remoteVideoBlocker.setVideoEnabled(!0)}}},Ba=(0,to.default)(Br,[["render",H],["__scopeId","data-v-4db0d0de"]]),Bs=(0,z.pM)({__name:"RecordingApp",setup(e){let t=(0,q.n)(),i=(0,q.t)(),n=A8(),r=iQ(),a=u_();return(0,z.KC)(async()=>{await t.isReady(),"recording"===i.name&&(a.updateToken(i.params.token),await n.setShouldPlaySounds(!1)),window.addEventListener("unload",()=>{console.info("Navigating away, leaving conversation"),r.value&&EZ()})}),(e,t)=>((0,z.uX)(),(0,z.Wv)(Ba,{token:(0,z.R1)(r),isRecording:""},null,8,["token"]))}}),Bo=/#/g,Bl=/&/g,Bu=/\//g,Bd=/=/g,Bc=/\?/g,Bh=/\+/g,Bf=/%5B/g,Bm=/%5D/g,Bg=/%5E/g,Bp=/%60/g,B_=/%7B/g,Bv=/%7C/g,Bb=/%7D/g,By=/%20/g;function BF(e){return null==e?"":encodeURI(""+e).replace(Bv,"|").replace(Bf,"[").replace(Bm,"]")}function Bk(e){return BF(e).replace(B_,"{").replace(Bb,"}").replace(Bg,"^")}function Bw(e){return BF(e).replace(Bh,"%2B").replace(By,"+").replace(Bo,"%23").replace(Bl,"%26").replace(Bp,"`").replace(B_,"{").replace(Bb,"}").replace(Bg,"^")}function BC(e){return Bw(e).replace(Bd,"%3D")}function BA(e){return BF(e).replace(Bo,"%23").replace(Bc,"%3F")}function BE(e){return BA(e).replace(Bu,"%2F")}function BS(e){if(null==e)return null;try{return decodeURIComponent(""+e)}catch(e){}return""+e}let Bx=/\/$/,BD=e=>e.replace(Bx,"");function BT(e,t,i="/"){let n,r={},a="",s="",o=t.indexOf("#"),l=t.indexOf("?");return(l=o>=0&&l>o?-1:l)>=0&&(n=t.slice(0,l),r=e((a=t.slice(l,o>0?o:t.length)).slice(1))),o>=0&&(n=n||t.slice(0,o),s=t.slice(o,t.length)),{fullPath:(n=Bj(null!=n?n:t,i))+a+s,path:n,query:r,hash:BS(s)}}function BM(e,t){let i=t.query?e(t.query):"";return t.path+(i&&"?")+i+(t.hash||"")}function BI(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function BB(e,t,i){let n=t.matched.length-1,r=i.matched.length-1;return n>-1&&n===r&&BP(t.matched[n],i.matched[r])&&BL(t.params,i.params)&&e(t.query)===e(i.query)&&t.hash===i.hash}function BP(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function BL(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var i in e)if(!BN(e[i],t[i]))return!1;return!0}function BN(e,t){return(0,q.h)(e)?BR(e,t):(0,q.h)(t)?BR(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function BR(e,t){return(0,q.h)(t)?e.length===t.length&&e.every((e,i)=>e===t[i]):1===e.length&&e[0]===t}function Bj(e,t){let i,n;if(e.startsWith("/"))return e;if(!e)return t;let r=t.split("/"),a=e.split("/"),s=a[a.length-1];(".."===s||"."===s)&&a.push("");let o=r.length-1;for(i=0;i1&&o--;else break;return r.slice(0,o).join("/")+"/"+a.slice(i).join("/")}let BO={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Bz=function(e){return e.pop="pop",e.push="push",e}({}),BU=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Bq(e){if(!e)if(q.b){let t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),BD(e)}let BW=/^[^#]+#/;function BV(e,t){return e.replace(BW,"#")+t}function BH(e,t){let i=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-i.left-(t.left||0),top:n.top-i.top-(t.top||0)}}let B$=()=>({left:window.scrollX,top:window.scrollY});function BG(e){let t;if("el"in e){let i=e.el,n="string"==typeof i&&i.startsWith("#"),r="string"==typeof i?n?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!r)return;t=BH(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function BX(e,t){return(history.state?history.state.position-t:-1)+e}let BK=new Map;function BY(e,t){BK.set(e,t)}function BQ(e){let t=BK.get(e);return BK.delete(e),t}function BZ(e){return"string"==typeof e||e&&"object"==typeof e}function BJ(e){return"string"==typeof e||"symbol"==typeof e}function B0(e){let t={};if(""===e||"?"===e)return t;let i=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;ee&&Bw(e)):[n&&Bw(n)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+i,null!=e&&(t+="="+e))})}return t}function B2(e){let t={};for(let i in e){let n=e[i];void 0!==n&&(t[i]=(0,q.h)(n)?n.map(e=>null==e?null:""+e):null==n?n:""+n)}return t}function B3(){let e=[];return{add:function(t){return e.push(t),()=>{let i=e.indexOf(t);i>-1&&e.splice(i,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function B4(e,t,i,n,r,a=e=>e()){let s=n&&(n.enterCallbacks[r]=n.enterCallbacks[r]||[]);return()=>new Promise((o,l)=>{let u=e=>{!1===e?l((0,q.u)(q.c.NAVIGATION_ABORTED,{from:i,to:t})):e instanceof Error?l(e):BZ(e)?l((0,q.u)(q.c.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(s&&n.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),o())},d=Promise.resolve(a(()=>e.call(n&&n.instances[r],t,i,u)));e.length<3&&(d=d.then(u)),d.catch(e=>l(e))})}function B6(e,t,i,n,r=e=>e()){let a=[];for(let s of e)for(let e in s.components){let o=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if((0,q._)(o)){let l=(o.__vccOpts||o)[t];l&&a.push(B4(l,i,n,s,e,r))}else{let l=o();a.push(()=>l.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${s.path}"`);let o=(0,q.g)(a)?a.default:a;s.mods[e]=a,s.components[e]=o;let l=(o.__vccOpts||o)[t];return l&&B4(l,i,n,s,e,r)()}))}}return a}function B5(e,t){let i=[],n=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;sBP(e,a))?n.push(a):i.push(a));let o=e.matched[s];o&&!t.matched.find(e=>BP(e,o))&&r.push(o)}return[i,n,r]}function B8(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}let B9=0xec4899,B7=2450411,Pe=8702998,Pt=2282478,Pi=0xfb923c,Pn=6710886;function Pr(e){let t=[],{record:i}=e;null!=i.name&&t.push({label:String(i.name),textColor:0,backgroundColor:Pt}),i.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Pi}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:B9}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Pe}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:B7}),i.redirect&&t.push({label:"string"==typeof i.redirect?`redirect: ${i.redirect}`:"redirects",textColor:0xffffff,backgroundColor:Pn});let n=i.__vd_id;return null==n&&(i.__vd_id=n=String(Pa++)),{id:n,label:i.path,tags:t,children:e.children.map(Pr)}}let Pa=0,Ps=/^\/(.*)\/([a-z]*)$/;function Po(e){e.__vd_match=!1,e.children.forEach(Po)}function Pl(e,t){let i={};for(let n in e)t.includes(n)||(i[n]=e[n]);return i}let Pu=()=>location.protocol+"//"+location.host;function Pd(e,t){let{pathname:i,search:n,hash:r}=t,a=e.indexOf("#");if(a>-1){let t=r.includes(e.slice(a))?e.slice(a).length:1,i=r.slice(t);return"/"!==i[0]&&(i="/"+i),BI(i,"")}return BI(i,e)+n+r}function Pc(e,t,i,n){let r=[],a=[],s=null,o=({state:a})=>{let o=Pd(e,location),l=i.value,u=t.value,d=0;if(a){if(i.value=o,t.value=a,s&&s===l){s=null;return}d=u?a.position-u.position:0}else n(o);r.forEach(e=>{e(i.value,l,{delta:d,type:Bz.pop,direction:d?d>0?BU.forward:BU.back:BU.unknown})})};function l(){s=i.value}function u(e){r.push(e);let t=()=>{let t=r.indexOf(e);t>-1&&r.splice(t,1)};return a.push(t),t}function d(){if("hidden"===document.visibilityState){let{history:e}=window;e.state&&e.replaceState((0,q.p)({},e.state,{scroll:B$()}),"")}}function c(){for(let e of a)e();a=[],window.removeEventListener("popstate",o),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",o),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:l,listen:u,destroy:c}}function Ph(e,t,i,n=!1,r=!1){return{back:e,current:t,forward:i,replaced:n,position:window.history.length,scroll:r?B$():null}}function Pf(e){let{history:t,location:i}=window,n={value:Pd(e,i)},r={value:t.state};function a(n,a,s){let o=e.indexOf("#"),l=o>-1?(i.host&&document.querySelector("base")?e:e.slice(o))+n:Pu()+e+n;try{t[s?"replaceState":"pushState"](a,"",l),r.value=a}catch(e){console.error(e),i[s?"replace":"assign"](l)}}function s(e,i){a(e,(0,q.p)({},t.state,Ph(r.value.back,e,r.value.forward,!0),i,{position:r.value.position}),!0),n.value=e}function o(e,i){let s=(0,q.p)({},r.value,t.state,{forward:e,scroll:B$()});a(s.current,s,!0),a(e,(0,q.p)({},Ph(n.value,e,null),{position:s.position+1},i),!1),n.value=e}return r.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:n,state:r,push:o,replace:s}}function Pm(e){let t=Pf(e=Bq(e)),i=Pc(e,t.state,t.location,t.replace);function n(e,t=!0){t||i.pauseListeners(),history.go(e)}let r=(0,q.p)({location:"",base:e,go:n,createHref:BV.bind(null,e)},t,i);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Pg=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Pp=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Pp||{});let P_={type:Pg.Static,value:""},Pv=/[a-zA-Z0-9_]/;function Pb(e){let t,i;if(!e)return[[]];if("/"===e)return[[P_]];if(!e.startsWith("/"))throw Error(`Invalid path "${e}"`);function n(e){throw Error(`ERR (${r})/"${u}": ${e}`)}let r=Pp.Static,a=r,s=[];function o(){t&&s.push(t),t=[]}let l=0,u="",d="";function c(){u&&(r===Pp.Static?t.push({type:Pg.Static,value:u}):r===Pp.Param||r===Pp.ParamRegExp||r===Pp.ParamRegExpEnd?(t.length>1&&("*"===i||"+"===i)&&n(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),t.push({type:Pg.Param,value:u,regexp:d,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):n("Invalid state to consume buffer"),u="")}function h(){u+=i}for(;lt.length?1===t.length&&t[0]===Pk.Static+Pk.Segment?1:-1:0}function PE(e,t){let i=0,n=e.score,r=t.score;for(;i0&&t[t.length-1]<0}let Px={strict:!1,end:!0,sensitive:!1};function PD(e,t,i){let n=PC(Pb(e.path),i),r=(0,q.p)(n,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function PT(e,t){let i=[],n=new Map;function r(e){return n.get(e)}function a(e,i,n){let r,o,u=!n,d=PI(e);d.aliasOf=n&&n.record;let c=(0,q.v)(t,e),h=[d];if("alias"in e)for(let t of"string"==typeof e.alias?[e.alias]:e.alias)h.push(PI((0,q.p)({},d,{components:n?n.record.components:d.components,path:t,aliasOf:n?n.record:d})));for(let t of h){let{path:h}=t;if(i&&"/"!==h[0]){let e=i.record.path,n="/"===e[e.length-1]?"":"/";t.path=i.record.path+(h&&n+h)}if(r=PD(t,i,c),n?n.alias.push(r):((o=o||r)!==r&&o.alias.push(r),u&&e.name&&!PP(r)&&s(e.name)),Pj(r)&&l(r),d.children){let e=d.children;for(let t=0;t{s(o)}:q.y}function s(e){if(BJ(e)){let t=n.get(e);t&&(n.delete(e),i.splice(i.indexOf(t),1),t.children.forEach(s),t.alias.forEach(s))}else{let t=i.indexOf(e);t>-1&&(i.splice(t,1),e.record.name&&n.delete(e.record.name),e.children.forEach(s),e.alias.forEach(s))}}function o(){return i}function l(e){let t=PN(e,i);i.splice(t,0,e),e.record.name&&!PP(e)&&n.set(e.record.name,e)}function u(e,t){let r,a,s,o={};if("name"in e&&e.name){if(!(r=n.get(e.name)))throw(0,q.u)(q.c.MATCHER_NOT_FOUND,{location:e});s=r.record.name,o=(0,q.p)(PM(t.params,r.keys.filter(e=>!e.optional).concat(r.parent?r.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&PM(e.params,r.keys.map(e=>e.name))),a=r.stringify(o)}else if(null!=e.path)a=e.path,(r=i.find(e=>e.re.test(a)))&&(o=r.parse(a),s=r.record.name);else{if(!(r=t.name?n.get(t.name):i.find(e=>e.re.test(t.path))))throw(0,q.u)(q.c.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=r.record.name,o=(0,q.p)({},t.params,e.params),a=r.stringify(o)}let l=[],u=r;for(;u;)l.unshift(u.record),u=u.parent;return{name:s,path:a,params:o,matched:l,meta:PL(l)}}return t=(0,q.v)(Px,t),e.forEach(e=>a(e)),{addRoute:a,resolve:u,removeRoute:s,clearRoutes:function(){i.length=0,n.clear()},getRoutes:o,getRecordMatcher:r}}function PM(e,t){let i={};for(let n of t)n in e&&(i[n]=e[n]);return i}function PI(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:PB(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function PB(e){let t={},i=e.props||!1;if("component"in e)t.default=i;else for(let n in e.components)t[n]="object"==typeof i?i[n]:i;return t}function PP(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function PL(e){return e.reduce((e,t)=>(0,q.p)(e,t.meta),{})}function PN(e,t){let i=0,n=t.length;for(;i!==n;){let r=i+n>>1;0>PE(e,t[r])?n=r:i=r+1}let r=PR(e);return r&&(n=t.lastIndexOf(r,n-1)),n}function PR(e){let t=e;for(;t=t.parent;)if(Pj(t)&&0===PE(e,t))return t}function Pj({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function PO(e){let t=(0,z.WQ)(q.a),i=(0,z.WQ)(q.i),n=(0,z.EW)(()=>{let i=(0,z.R1)(e.to);return t.resolve(i)}),r=(0,z.EW)(()=>{let{matched:e}=n.value,{length:t}=e,r=e[t-1],a=i.matched;if(!r||!a.length)return -1;let s=a.findIndex(BP.bind(null,r));if(s>-1)return s;let o=PV(e[t-2]);return t>1&&PV(r)===o&&a[a.length-1].path!==o?a.findIndex(BP.bind(null,e[t-2])):s}),a=(0,z.EW)(()=>r.value>-1&&PW(i.params,n.value.params)),s=(0,z.EW)(()=>r.value>-1&&r.value===i.matched.length-1&&BL(i.params,n.value.params));function o(i={}){if(Pq(i)){let i=t[(0,z.R1)(e.replace)?"replace":"push"]((0,z.R1)(e.to)).catch(q.y);return e.viewTransition&&"u">typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>i),i}return Promise.resolve()}return{route:n,href:(0,z.EW)(()=>n.value.href),isActive:a,isExactActive:s,navigate:o}}function Pz(e){return 1===e.length?e[0]:e}let PU=(0,z.pM)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:PO,setup(e,{slots:t}){let i=(0,z.Kh)(PO(e)),{options:n}=(0,z.WQ)(q.a),r=(0,z.EW)(()=>({[PH(e.activeClass,n.linkActiveClass,"router-link-active")]:i.isActive,[PH(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{let n=t.default&&Pz(t.default(i));return e.custom?n:(0,z.h)("a",{"aria-current":i.isExactActive?e.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:r.value},n)}}});function Pq(e){if(!e.metaKey&&!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function PW(e,t){for(let i in t){let n=t[i],r=e[i];if("string"==typeof n){if(n!==r)return!1}else if(!(0,q.h)(r)||r.length!==n.length||n.some((e,t)=>e.valueOf()!==r[t].valueOf()))return!1}return!0}function PV(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}let PH=(e,t,i)=>null!=e?e:null!=t?t:i;function P$(e,t){if(!e)return null;let i=e(t);return 1===i.length?i[0]:i}let PG=(0,z.pM)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:i}){let n=(0,z.WQ)(q.o),r=(0,z.EW)(()=>e.route||n.value),a=(0,z.WQ)(q.s,0),s=(0,z.EW)(()=>{let e,t=(0,z.R1)(a),{matched:i}=r.value;for(;(e=i[t])&&!e.components;)t++;return t}),o=(0,z.EW)(()=>r.value.matched[s.value]);(0,z.Gt)(q.s,(0,z.EW)(()=>s.value+1)),(0,z.Gt)(q.r,o),(0,z.Gt)(q.o,r);let l=(0,z.KR)();return(0,z.wB)(()=>[l.value,o.value,e.name],([e,t,i],[n,r,a])=>{t&&(t.instances[i]=e,r&&r!==t&&e&&e===n&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&BP(t,r)&&n||(t.enterCallbacks[i]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{let n=r.value,a=e.name,s=o.value,u=s&&s.components[a];if(!u)return P$(i.default,{Component:u,route:n});let d=s.props[a],c=d?!0===d?n.params:"function"==typeof d?d(n):d:null,h=e=>{e.component.isUnmounted&&(s.instances[a]=null)},f=(0,z.h)(u,(0,q.p)({},c,t,{onVnodeUnmounted:h,ref:l}));return P$(i.default,{Component:f,route:n})||f}}});function PX(e){let t,i,n,r=PT(e.routes,e),a=e.parseQuery||B0,s=e.stringifyQuery||B1,o=e.history,l=B3(),u=B3(),d=B3(),c=(0,z.IJ)(BO),h=BO;q.b&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");let f=q.f.bind(null,e=>""+e),m=q.f.bind(null,BE),g=q.f.bind(null,BS);function p(e,t){let i,n;return BJ(e)?(i=r.getRecordMatcher(e),n=t):n=e,r.addRoute(n,i)}function _(e){let t=r.getRecordMatcher(e);t&&r.removeRoute(t)}function b(){return r.getRoutes().map(e=>e.record)}function y(e){return!!r.getRecordMatcher(e)}function F(e,t){let i;if(t=(0,q.p)({},t||c.value),"string"==typeof e){let i=BT(a,e,t.path),n=r.resolve({path:i.path},t),s=o.createHref(i.fullPath);return(0,q.p)(i,n,{params:g(n.params),hash:BS(i.hash),redirectedFrom:void 0,href:s})}if(null!=e.path)i=(0,q.p)({},e,{path:BT(a,e.path,t.path).path});else{let n=(0,q.p)({},e.params);for(let e in n)null==n[e]&&delete n[e];i=(0,q.p)({},e,{params:m(n)}),t.params=m(t.params)}let n=r.resolve(i,t),l=e.hash||"";n.params=f(g(n.params));let u=BM(s,(0,q.p)({},e,{hash:Bk(l),path:n.path})),d=o.createHref(u);return(0,q.p)({fullPath:u,hash:l,query:s===B1?B2(e.query):e.query||{}},n,{redirectedFrom:void 0,href:d})}function k(e){return"string"==typeof e?BT(a,e,c.value.path):(0,q.p)({},e)}function w(e,t){if(h!==e)return(0,q.u)(q.c.NAVIGATION_CANCELLED,{from:t,to:e})}function C(e){return S(e)}function A(e){return C((0,q.p)(k(e),{replace:!0}))}function E(e,t){let i=e.matched[e.matched.length-1];if(i&&i.redirect){let{redirect:n}=i,r="function"==typeof n?n(e,t):n;return"string"==typeof r&&((r=r.includes("?")||r.includes("#")?r=k(r):{path:r}).params={}),(0,q.p)({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)}}function S(e,t){let i,n=h=F(e),r=c.value,a=e.state,o=e.force,l=!0===e.replace,u=E(n,r);if(u)return S((0,q.p)(k(u),{state:"object"==typeof u?(0,q.p)({},a,u.state):a,force:o,replace:l}),t||n);let d=n;return d.redirectedFrom=t,!o&&BB(s,r,n)&&(i=(0,q.u)(q.c.NAVIGATION_DUPLICATED,{to:d,from:r}),W(r,r,!0,!1)),(i?Promise.resolve(i):T(d,r)).catch(e=>(0,q.d)(e)?(0,q.d)(e,q.c.NAVIGATION_GUARD_REDIRECT)?e:O(e):R(e,d,r)).then(e=>{if(e){if((0,q.d)(e,q.c.NAVIGATION_GUARD_REDIRECT))return S((0,q.p)({replace:l},k(e.to),{state:"object"==typeof e.to?(0,q.p)({},a,e.to.state):a,force:o}),t||d)}else e=I(d,r,!0,l,a);return M(d,r,e),e})}function x(e,t){let i=w(e,t);return i?Promise.reject(i):Promise.resolve()}function D(e){let t=H.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function T(e,t){let i,[n,r,a]=B5(e,t);for(let r of(i=B6(n.reverse(),"beforeRouteLeave",e,t),n))r.leaveGuards.forEach(n=>{i.push(B4(n,e,t))});let s=x.bind(null,e,t);return i.push(s),G(i).then(()=>{for(let n of(i=[],l.list()))i.push(B4(n,e,t));return i.push(s),G(i)}).then(()=>{for(let n of(i=B6(r,"beforeRouteUpdate",e,t),r))n.updateGuards.forEach(n=>{i.push(B4(n,e,t))});return i.push(s),G(i)}).then(()=>{for(let n of(i=[],a))if(n.beforeEnter)if((0,q.h)(n.beforeEnter))for(let r of n.beforeEnter)i.push(B4(r,e,t));else i.push(B4(n.beforeEnter,e,t));return i.push(s),G(i)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),(i=B6(a,"beforeRouteEnter",e,t,D)).push(s),G(i))).then(()=>{for(let n of(i=[],u.list()))i.push(B4(n,e,t));return i.push(s),G(i)}).catch(e=>(0,q.d)(e,q.c.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function M(e,t,i){d.list().forEach(n=>D(()=>n(e,t,i)))}function I(e,t,i,n,r){let a=w(e,t);if(a)return a;let s=t===BO,l=q.b?history.state:{};i&&(n||s?o.replace(e.fullPath,(0,q.p)({scroll:s&&l&&l.scroll},r)):o.push(e.fullPath,r)),c.value=e,W(e,t,i,s),O()}function B(){t||(t=o.listen((e,t,i)=>{if(!$.listening)return;let n=F(e),r=E(n,$.currentRoute.value);if(r)return void S((0,q.p)(r,{replace:!0,force:!0}),n).catch(q.y);h=n;let a=c.value;q.b&&BY(BX(a.fullPath,i.delta),B$()),T(n,a).catch(e=>(0,q.d)(e,q.c.NAVIGATION_ABORTED|q.c.NAVIGATION_CANCELLED)?e:(0,q.d)(e,q.c.NAVIGATION_GUARD_REDIRECT)?(S((0,q.p)(k(e.to),{force:!0}),n).then(e=>{(0,q.d)(e,q.c.NAVIGATION_ABORTED|q.c.NAVIGATION_DUPLICATED)&&!i.delta&&i.type===Bz.pop&&o.go(-1,!1)}).catch(q.y),Promise.reject()):(i.delta&&o.go(-i.delta,!1),R(e,n,a))).then(e=>{(e=e||I(n,a,!1))&&(i.delta&&!(0,q.d)(e,q.c.NAVIGATION_CANCELLED)?o.go(-i.delta,!1):i.type===Bz.pop&&(0,q.d)(e,q.c.NAVIGATION_ABORTED|q.c.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),M(n,a,e)}).catch(q.y)}))}let P=B3(),N=B3();function R(e,t,i){O(e);let n=N.list();return n.length?n.forEach(n=>n(e,t,i)):console.error(e),Promise.reject(e)}function j(){return i&&c.value!==BO?Promise.resolve():new Promise((e,t)=>{P.add([e,t])})}function O(e){return i||(i=!e,B(),P.list().forEach(([t,i])=>e?i(e):t()),P.reset()),e}function W(t,i,n,r){let{scrollBehavior:a}=e;if(!q.b||!a)return Promise.resolve();let s=!n&&BQ(BX(t.fullPath,0))||(r||!n)&&history.state&&history.state.scroll||null;return(0,z.dY)().then(()=>a(t,i,s)).then(e=>e&&BG(e)).catch(e=>R(e,t,i))}let V=e=>o.go(e),H=new Set,$={currentRoute:c,listening:!0,addRoute:p,removeRoute:_,clearRoutes:r.clearRoutes,hasRoute:y,getRoutes:b,resolve:F,options:e,push:C,replace:A,go:V,back:()=>V(-1),forward:()=>V(1),beforeEach:l.add,beforeResolve:u.add,afterEach:d.add,onError:N.add,isReady:j,install(e){e.component("RouterLink",PU),e.component("RouterView",PG),e.config.globalProperties.$router=$,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,z.R1)(c)}),q.b&&!n&&c.value===BO&&(n=!0,C(o.location).catch(e=>{}));let r={};for(let e in BO)Object.defineProperty(r,e,{get:()=>c.value[e],enumerable:!0});e.provide(q.a,$),e.provide(q.i,(0,z.Gc)(r)),e.provide(q.o,c);let a=e.unmount;H.add(e),e.unmount=function(){H.delete(e),H.size<1&&(h=BO,t&&t(),t=null,c.value=BO,n=!1,i=!1),a()}}};function G(e){return e.reduce((e,t)=>e.then(()=>D(t)),Promise.resolve())}return $}let PK={class:"messages-list-dragover-wrapper"},PY={class:"scroll-to-bottom"};function PQ(e,t,i,n,r,a){let s=(0,z.g2)("GuestWelcomeWindow"),o=(0,z.g2)("NcIconSvgWrapper"),l=(0,z.g2)("IconAccountOutline"),u=(0,z.g2)("IconAlertOctagonOutline"),d=(0,z.g2)("NcEmptyContent"),c=(0,z.g2)("TransitionWrapper"),h=(0,z.g2)("ThreadHeader"),f=(0,z.g2)("MessagesList"),m=(0,z.g2)("IconChevronDoubleDown"),g=(0,z.g2)("NcButton"),p=(0,z.g2)("NewMessage"),_=(0,z.g2)("NewMessageUploadEditor");return(0,z.uX)(),(0,z.CE)("div",{class:"chatView",onDragover:t[1]||(t[1]=(0,z.D$)((...e)=>a.handleDragOver&&a.handleDragOver(...e),["prevent"])),onDragleave:t[2]||(t[2]=(0,z.D$)((...e)=>a.handleDragLeave&&a.handleDragLeave(...e),["prevent"])),onDrop:t[3]||(t[3]=(0,z.D$)((...e)=>a.handleDropFiles&&a.handleDropFiles(...e),["prevent"]))},[a.showGuestWelcomeWindow?((0,z.uX)(),(0,z.Wv)(s,{key:0,token:n.token},null,8,["token"])):(0,z.Q3)("",!0),(0,z.Lk)("div",PK,[(0,z.bF)(c,{name:"slide-up",mode:"out-in"},{default:(0,z.k6)(()=>[(0,z.bo)((0,z.bF)(d,{name:a.dropHintText,class:"dragover"},{icon:(0,z.k6)(()=>[a.isGuest||a.isReadOnly?a.isGuest?((0,z.uX)(),(0,z.Wv)(l,{key:1})):a.isReadOnly?((0,z.uX)(),(0,z.Wv)(u,{key:2})):(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(o,{key:0,svg:n.IconFileUpload},null,8,["svg"]))]),_:1},8,["name"]),[[z.aG,r.isDraggingOver]])]),_:1}),i.isSidebar&&n.threadId?((0,z.uX)(),(0,z.Wv)(h,{key:0,standalone:""})):(0,z.Q3)("",!0),(0,z.bF)(f,{isChatScrolledToBottom:r.isChatScrolledToBottom,"onUpdate:isChatScrolledToBottom":t[0]||(t[0]=e=>r.isChatScrolledToBottom=e),role:"region","aria-label":a.t("spreed","Conversation messages"),token:n.token,isVisible:i.isVisible},null,8,["isChatScrolledToBottom","aria-label","token","isVisible"])]),(0,z.Lk)("div",PY,[(0,z.bF)(c,{name:"fade"},{default:(0,z.k6)(()=>[(0,z.bo)((0,z.bF)(g,{variant:"secondary","aria-label":a.t("spreed","Scroll to bottom"),title:a.t("spreed","Scroll to bottom"),class:"scroll-to-bottom__button",onClick:a.scrollToBottom},{icon:(0,z.k6)(()=>[(0,z.bF)(m,{size:20})]),_:1},8,["aria-label","title","onClick"]),[[z.aG,!r.isChatScrolledToBottom&&!a.isLoadingChat]])]),_:1})]),(0,z.bF)(p,{role:"region",token:n.token,hasTypingIndicator:"","aria-label":a.t("spreed","Post message")},null,8,["token","aria-label"]),(0,z.bF)(_)],32)}var PZ=__webpack_require__(59904);let PJ=["aria-hidden","aria-label"],P0=["fill","width","height"],P1={d:"M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6M12,13C14.67,13 20,14.33 20,17V20H4V17C4,14.33 9.33,13 12,13M12,14.9C9.03,14.9 5.9,16.36 5.9,17V18.1H18.1V17C18.1,16.36 14.97,14.9 12,14.9Z"},P2={key:0};function P3(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon account-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",P1,[i.title?((0,z.uX)(),(0,z.CE)("title",P2,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,P0))],16,PJ)}let P4={name:"AccountOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},P6=(0,to.default)(P4,[["render",P3]]),P5=["aria-hidden","aria-label"],P8=["fill","width","height"],P9={d:"M8.27,3L3,8.27V15.73L8.27,21H15.73C17.5,19.24 21,15.73 21,15.73V8.27L15.73,3M9.1,5H14.9L19,9.1V14.9L14.9,19H9.1L5,14.9V9.1M11,15H13V17H11V15M11,7H13V13H11V7"},P7={key:0};function Le(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon alert-octagon-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",P9,[i.title?((0,z.uX)(),(0,z.CE)("title",P7,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,P8))],16,P5)}let Lt={name:"AlertOctagonOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Li=(0,to.default)(Lt,[["render",Le]]),Ln=["aria-hidden","aria-label"],Lr=["fill","width","height"],La={d:"M16.59,5.59L18,7L12,13L6,7L7.41,5.59L12,10.17L16.59,5.59M16.59,11.59L18,13L12,19L6,13L7.41,11.59L12,16.17L16.59,11.59Z"},Ls={key:0};function Lo(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon chevron-double-down-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",La,[i.title?((0,z.uX)(),(0,z.CE)("title",Ls,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Lr))],16,Ln)}let Ll={name:"ChevronDoubleDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Lu=(0,to.default)(Ll,[["render",Lo]]),Ld={class:"modal__content"},Lc={class:"conversation-information"},Lh=["id"],Lf={class:"description"},Lm={for:"textField"},Lg={class:"login-info"};function Lp(e,t,i,n,r,a){let s=(0,z.g2)("ConversationIcon"),o=(0,z.g2)("NcTextField"),l=(0,z.g2)("Check"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("NcModal");return(0,z.uX)(),(0,z.Wv)(d,{noClose:"",labelId:n.dialogHeaderId,size:"small"},{default:(0,z.k6)(()=>[(0,z.Lk)("div",Ld,[(0,z.Lk)("div",Lc,[(0,z.bF)(s,{item:a.conversation,hideUserStatus:""},null,8,["item"]),(0,z.Lk)("h2",{id:n.dialogHeaderId,class:"nc-dialog-alike-header"},(0,z.v_)(a.conversationDisplayName),9,Lh)]),(0,z.Lk)("p",Lf,(0,z.v_)(a.conversationDescription),1),(0,z.Lk)("label",Lm,(0,z.v_)(a.t("spreed","Enter your name")),1),(0,z.bF)(o,{id:"textField",modelValue:n.guestUserName,"onUpdate:modelValue":t[0]||(t[0]=e=>n.guestUserName=e),placeholder:a.t("spreed","Guest"),class:"username-form__input",showTrailingButton:!1,labelOutside:"",onKeydown:(0,z.jR)(a.handleChooseUserName,["enter"])},null,8,["modelValue","placeholder","onKeydown"]),(0,z.bF)(u,{class:"submit-button",variant:"primary",disabled:a.invalidGuestUsername,onClick:a.handleChooseUserName},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Submit name and join"))+" ",1)]),_:1},8,["disabled","onClick"]),t[1]||(t[1]=(0,z.Lk)("div",{class:"separator"},null,-1)),(0,z.Lk)("div",Lg,[(0,z.Lk)("span",null,(0,z.v_)(a.t("spreed","Do you already have an account?")),1),(0,z.bF)(u,{variant:"secondary",href:a.getLoginUrl()},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Log in")),1)]),_:1},8,["href"])])])]),_:1},8,["labelId"])}var L_=__webpack_require__(96170);let Lv=["aria-hidden","aria-label"],Lb=["fill","width","height"],Ly={d:"M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"},LF={key:0};function Lk(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon check-bold-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Ly,[i.title?((0,z.uX)(),(0,z.CE)("title",LF,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Lb))],16,Lv)}let Lw={name:"CheckBoldIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},LC=(0,to.default)(Lw,[["render",Lk]]),LA=["src","width","height","alt"],LE=["aria-label"],LS={key:2,class:"overlap-icon"},Lx={class:"hidden-visually"},LD={key:3,class:"overlap-icon"},LT={class:"hidden-visually"};function LM(e,t,i,n,r,a){let s=(0,z.g2)("NcAvatar"),o=(0,z.g2)("IconVideo"),l=(0,z.g2)("IconStar");return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["conversation-icon",[a.themeClass,{offline:i.offline}]]),style:(0,z.Tr)({"--icon-size":`${i.size}px`})},[a.isOneToOne?((0,z.uX)(),(0,z.Wv)(s,{key:i.item.token+(n.isDarkTheme?"-dark":"-light"),size:i.size,user:i.item.name,disableMenu:i.disableMenu,displayName:i.item.displayName,preloadedUserStatus:a.preloadedUserStatus,hideStatus:i.hideUserStatus,verboseStatus:i.showUserOnlineStatus,class:"conversation-icon__avatar"},null,8,["size","user","disableMenu","displayName","preloadedUserStatus","hideStatus","verboseStatus"])):((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[a.iconClass?((0,z.uX)(),(0,z.CE)("div",{key:0,class:(0,z.C4)(["avatar icon",a.iconClass])},null,2)):((0,z.uX)(),(0,z.CE)("img",{key:a.avatarUrl,src:a.avatarUrl,width:i.size,height:i.size,alt:i.item.displayName,class:"avatar icon",onError:t[0]||(t[0]=(...e)=>n.onError&&n.onError(...e))},null,40,LA)),!i.hideUserStatus&&a.conversationType?((0,z.uX)(),(0,z.CE)("span",{key:2,class:"conversation-icon__type",role:"img","aria-hidden":"false","aria-label":a.conversationType.label},[((0,z.uX)(),(0,z.Wv)((0,z.$y)(a.conversationType.icon),{size:.3*i.size},null,8,["size"]))],8,LE)):(0,z.Q3)("",!0)],64)),a.showCall?((0,z.uX)(),(0,z.CE)("div",LS,[(0,z.bF)(o,{size:.5*i.size,fillColor:"#E9322D"},null,8,["size"]),(0,z.Lk)("span",Lx,(0,z.v_)(a.t("spreed","Call in progress")),1)])):a.showFavorite?((0,z.uX)(),(0,z.CE)("div",LD,[(0,z.bF)(l,{size:.5*i.size,fillColor:"#FFCC00"},null,8,["size"]),(0,z.Lk)("span",LT,(0,z.v_)(a.t("spreed","Favorite")),1)])):(0,z.Q3)("",!0)],6)}let LI=["aria-hidden","aria-label"],LB=["fill","width","height"],LP={d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"},LL={key:0};function LN(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon star-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",LP,[i.title?((0,z.uX)(),(0,z.CE)("title",LL,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,LB))],16,LI)}let LR={name:"StarIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Lj=(0,to.default)(LR,[["render",LN]]),LO=(aG("local","archived-conversations-v2"),aG("local","avatar"));function Lz(e){return e.unreadMention||e.unreadMentionDirect||e.unreadMessages>0&&(e.type===nJ.TYPE.ONE_TO_ONE||e.type===nJ.TYPE.ONE_TO_ONE_FORMER)}function LU(e){return e.objectType===nJ.OBJECT_TYPE.EVENT}function Lq(e){if(!LU(e)||!e.objectId)return{start:null,end:null};let t=e.objectId.split("#");if(2!==t.length)return{start:null,end:null};let[i,n]=t.map(e=>1e3*Number(e));return isNaN(i)||isNaN(n)?{start:null,end:null}:{start:i,end:n}}function LW(e){let t=Lq(e).start;return!!t&&t-Date.now()<16*ONE_HOUR_IN_MS}function LV(e,t){if(e.isDummyConversation)return e.type===nJ.TYPE.PUBLIC?"icon-public":"icon-contacts";if(!LO||t){if(e.objectType===nJ.OBJECT_TYPE.FILE||e.type===nJ.TYPE.NOTE_TO_SELF)return"icon-file";if(e.objectType===nJ.OBJECT_TYPE.VIDEO_VERIFICATION)return"icon-password";if(e.objectType===nJ.OBJECT_TYPE.EMAIL)return"icon-mail";else if(e.objectType===nJ.OBJECT_TYPE.PHONE_LEGACY||e.objectType===nJ.OBJECT_TYPE.PHONE_PERSISTENT||e.objectType===nJ.OBJECT_TYPE.PHONE_TEMPORARY)return"icon-phone";else if(e.objectType===nJ.OBJECT_TYPE.EVENT)return"icon-event";else if(e.objectType===nJ.OBJECT_TYPE.CIRCLES)return"icon-team";else if(e.type===nJ.TYPE.CHANGELOG)return"icon-changelog";else if(e.type===nJ.TYPE.ONE_TO_ONE_FORMER)return"icon-user";else if(e.type===nJ.TYPE.GROUP)return"icon-contacts";else if(e.type===nJ.TYPE.PUBLIC)return"icon-public";return}if(!e.token){if(e.objectType===nJ.OBJECT_TYPE.CIRCLES)return"icon-team";if(e.type===nJ.TYPE.GROUP)return"icon-contacts"}}function LH(e){if(e&&"object"==typeof e){if("statusMessage"in e)return{status:e.status||null,message:e.statusMessage||null,icon:e.statusIcon||null};if("status"in e){if("object"==typeof e.status)return{status:e.status.status||null,message:e.status.message||null,icon:e.status.icon||null};else if("string"==typeof e.status&&""===e.status)return{status:null,message:null,icon:null}}if("sessionIds"in e&&e.sessionIds.length>0&&(e.actorType===n1||e.actorType===n2)&&e.sessionIds&&e.sessionIds.length>0)return{status:"online",message:null,icon:""}}}function L$(e){if(!e)return"";let t=LH(e);if(!t)return"";let i=t.icon??"";return t.message?i+=" "+t.message:"dnd"===t.status?i+=" "+(0,K.t)("spreed","Do not disturb"):"away"===t.status&&(i+=" "+(0,K.t)("spreed","Away")),i}let LG=aG("local","avatar"),LX={name:"ConversationIcon",components:{IconStar:Lj,IconVideo:xq,NcAvatar:T9},props:{hideFavorite:{type:Boolean,default:!0},hideCall:{type:Boolean,default:!0},disableMenu:{type:Boolean,default:!0},hideUserStatus:{type:Boolean,default:!1},showUserOnlineStatus:{type:Boolean,default:!1},item:{type:Object,default:()=>({objectType:"",type:0,displayName:"",isFavorite:!1})},offline:{type:Boolean,default:!1},size:{type:Number,default:ah.SIZE.DEFAULT}},setup(){let e=(0,Ts.b)(),t=(0,z.KR)(!1);function i(){t.value=!0}return{isDarkTheme:e,failed:t,onError:i}},computed:{showCall(){return!this.hideCall&&this.item.hasCall},showFavorite(){return!this.hideFavorite&&this.item.isFavorite},preloadedUserStatus(){if(!this.hideUserStatus)return LH(this.item)},canRequestAvatar(){return!!LG&&!this.item.isDummyConversation&&(this.item.attendeeId||this.item.listable!==nJ.LISTABLE.NONE)},iconClass(){return LV(this.item,this.failed||!this.canRequestAvatar)},themeClass(){return`conversation-icon--${this.isDarkTheme?"dark":"bright"}`},isOneToOne(){return this.item.type===nJ.TYPE.ONE_TO_ONE},conversationType(){return this.item.remoteServer?{key:"federated",icon:Ma,label:(0,K.t)("spreed","Federated conversation")}:this.item.type===nJ.TYPE.PUBLIC?{key:"public",icon:DQ,label:(0,K.t)("spreed","Public conversation")}:null},avatarUrl(){if(this.canRequestAvatar)return a2(this.item.token,this.isDarkTheme,this.item.avatarVersion)}},methods:{t:K.t}},LK=(0,to.default)(LX,[["render",LM],["__scopeId","data-v-778f7384"]]),LY={name:"GuestWelcomeWindow",components:{NcModal:L_.N,NcTextField:oD.A,ConversationIcon:LK,NcButton:e7.A,Check:LC},props:{token:{type:String,required:!0}},setup(){let e=hu();return{guestNameStore:e,guestUserName:(0,z.KR)(""),dialogHeaderId:`guest-welcome-header-${(0,z.Bi)()}`}},computed:{conversation(){return this.$store.getters.conversation(this.token)},conversationDisplayName(){return this.conversation?.displayName},conversationDescription(){return this.conversation?.description},invalidGuestUsername(){return""===this.guestUserName.trim()}},methods:{t:K.t,handleChooseUserName(){this.guestNameStore.submitGuestUsername(this.token,this.guestUserName)},getLoginUrl(){let e=window.location.pathname,t=(0,O.Jv)("/login"),i=encodeURIComponent(e);return`${t}?redirect_url=${i}`}}},LQ=(0,to.default)(LY,[["render",Lp],["__scopeId","data-v-252c804e"]]),LZ={ref:"scrollerLoader",class:"scroller__loading"},LJ=["data-date-timestamp"],L0={key:0,class:"message-unread-marker"},L1={class:"message-unread-marker__wrapper"},L2={class:"message-unread-marker__text"},L3={key:0,class:"scroller__loading-new"},L4={class:"scroller__loading-new-wrapper"};function L6(e,t,i,n,r,a){let s=(0,z.g2)("PinnedMessage"),o=(0,z.g2)("LoadingPlaceholder"),l=(0,z.g2)("IconMessageOutline"),u=(0,z.g2)("NcEmptyContent"),d=(0,z.g2)("NcLoadingIcon"),c=(0,z.g2)("TransitionWrapper"),h=(0,z.g2)("ScheduledDateTime"),f=(0,z.g2)("StaticDateTime"),m=(0,z.g2)("NcAssistantButton"),g=(0,z.gN)("intersection-observer");return(0,z.uX)(),(0,z.CE)("div",{ref:"scroller",class:(0,z.C4)(["scroller messages-list__scroller",{"scroller--chatScrolledToBottom":i.isChatScrolledToBottom,"scroller--isScrolling":r.isScrolling}]),onScroll:t[0]||(t[0]=(...e)=>a.onScroll&&a.onScroll(...e)),onScrollend:t[1]||(t[1]=(...e)=>a.endScroll&&a.endScroll(...e))},[a.showPinnedMessages?((0,z.uX)(),(0,z.Wv)(s,{key:0,class:"message__pinned"})):(0,z.Q3)("",!0),n.isInitialisingMessages?((0,z.uX)(),(0,z.Wv)(o,{key:1,type:"messages",class:"messages-list__placeholder",count:15})):a.showEmptyContent?((0,z.uX)(),(0,z.Wv)(u,{key:2,class:"messages-list__empty-content",name:a.t("spreed","No messages"),description:a.t("spreed","All messages have expired or have been deleted.")},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{size:64})]),_:1},8,["name","description"])):((0,z.uX)(),(0,z.CE)(z.FK,{key:3},[(0,z.bF)(c,{name:"fade"},{default:(0,z.k6)(()=>[(0,z.Lk)("div",LZ,[n.loadingOldMessages?((0,z.uX)(),(0,z.Wv)(d,{key:0,class:"scroller__loading-element",size:32})):(0,z.Q3)("",!0)],512)]),_:1}),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(r.messagesGroupedByDateByAuthor,(e,t)=>((0,z.uX)(),(0,z.CE)("ul",{key:`section_${t}`,ref_for:!0,ref:`dateGroup-${i.token}`,"data-date-timestamp":t,class:(0,z.C4)(["scroller__content",{"has-sticky":t===r.stickyDate}])},[((0,z.uX)(),(0,z.CE)("li",{key:`${a.currentDay}_${t}`,class:"messages-date"},[a.showScheduledMessages?((0,z.uX)(),(0,z.Wv)(h,{key:0,time:1e3*t,class:"messages-date__text",role:"heading","aria-level":"3"},null,8,["time"])):((0,z.uX)(),(0,z.Wv)(f,{key:1,time:1e3*t,class:"messages-date__text",role:"heading","aria-level":"3"},null,8,["time"]))])),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(e,e=>((0,z.uX)(),(0,z.CE)(z.FK,{key:e.id},[((0,z.uX)(),(0,z.Wv)((0,z.$y)(n.messagesGroupComponent[e.type]),{token:i.token,messages:e.messages,previousMessageId:e.previousMessageId,nextMessageId:e.nextMessageId},null,8,["token","messages","previousMessageId","nextMessageId"])),a.isLastReadMessage(e)?(0,z.bo)(((0,z.uX)(),(0,z.CE)("div",L0,[(0,z.Lk)("div",L1,[(0,z.Lk)("span",L2,(0,z.v_)(a.t("spreed","Unread messages")),1),a.shouldShowSummaryOption?((0,z.uX)(),(0,z.Wv)(m,{key:0,disabled:r.loadingSummary,onClick:a.generateSummary},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Generate summary")),1)]),_:1},8,["disabled","onClick"])):(0,z.Q3)("",!0)])])),[[g,a.lastReadMessageVisibilityChanged]]):(0,z.Q3)("",!0)],64))),128))],10,LJ))),128)),(0,z.bF)(c,{name:"fade"},{default:(0,z.k6)(()=>[n.loadingNewMessages?((0,z.uX)(),(0,z.CE)("span",L3,[(0,z.Lk)("span",L4,[(0,z.bF)(d,{size:20}),(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Loading …")),1)])])):(0,z.Q3)("",!0)]),_:1})],64))],34)}var L5=__webpack_require__(98190);let L8=["id"],L9=["id"],L7=["d","fill"],Ne=(0,z.pM)({__name:"NcAssistantIcon",props:{inline:{type:Boolean},size:{default:20}},setup(e){(0,z.$9)(e=>({"6629513e":r.value}));let t=e,i=(0,Ts.b)(),n=(0,Sa.c)(),r=(0,z.EW)(()=>`${t.size}px`);return(e,t)=>((0,z.uX)(),(0,z.CE)("span",{"aria-hidden":"true",class:(0,z.C4)([e.$style.assistantIcon,e.inline&&e.$style.assistantIcon_inline]),role:"img"},[((0,z.uX)(),(0,z.CE)("svg",{class:(0,z.C4)(e.$style.assistantIcon__svg),viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[(0,z.Lk)("defs",null,[(0,z.R1)(i)?((0,z.uX)(),(0,z.CE)("linearGradient",{key:0,id:(0,z.R1)(n),gradientTransform:"rotateX(285)"},[...t[0]||(t[0]=[(0,z.Lk)("stop",{offset:"15%","stop-color":"#CDACE7"},null,-1),(0,z.Lk)("stop",{offset:"40%","stop-color":"#008FDB"},null,-1),(0,z.Lk)("stop",{offset:"82%","stop-color":"#A180E0"},null,-1)])],8,L8)):((0,z.uX)(),(0,z.CE)("linearGradient",{key:1,id:(0,z.R1)(n),gradientTransform:"rotateX(285)"},[...t[1]||(t[1]=[(0,z.Lk)("stop",{offset:"15%","stop-color":"#9669D3"},null,-1),(0,z.Lk)("stop",{offset:"40%","stop-color":"#00679E"},null,-1),(0,z.Lk)("stop",{offset:"80%","stop-color":"#492083"},null,-1)])],8,L9))]),(0,z.Lk)("path",{d:(0,z.R1)(L5.p),fill:`url('#${(0,z.R1)(n)}')`},null,8,L7)],2))],2))}}),Nt={$style:{"material-design-icon":"_material-design-icon_mH0R6",assistantIcon:"_assistantIcon_2koBz",assistantIcon_inline:"_assistantIcon_inline_kJSUg",assistantIcon__svg:"_assistantIcon__svg_V8CXC"}},Ni=(0,e4._)(Ne,[["__cssModules",Nt]]),Nn=(0,z.pM)({__name:"NcAssistantButton",props:{disabled:{type:Boolean},text:{default:""},variant:{default:"secondary"}},emits:["click"],setup:e=>(e,t)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)([{[e.$style.assistantButton_disabled]:e.disabled,[e.$style.assistantButton_primary]:"primary"===e.variant},e.$style.assistantButton])},[(0,z.bF)(TQ.N,{class:(0,z.C4)(e.$style.assistantButton__button),disabled:e.disabled,variant:"tertiary",onClick:t[0]||(t[0]=t=>e.$emit("click",t))},(0,z.eX)({icon:(0,z.k6)(()=>["primary"===e.variant?((0,z.uX)(),(0,z.Wv)(TZ.N,{key:0,class:(0,z.C4)(e.$style.assistantButton__icon),path:(0,z.R1)(L5.p)},null,8,["class","path"])):((0,z.uX)(),(0,z.Wv)(Ni,{key:1}))]),_:2},[e.text||e.$slots.default?{name:"default",fn:(0,z.k6)(()=>[(0,z.Lk)("div",{class:(0,z.C4)(e.$style.assistantButton__text)},[(0,z.RG)(e.$slots,"default",{},()=>[(0,z.eW)((0,z.v_)(e.text),1)])],2)]),key:"0"}:void 0]),1032,["class","disabled"])],2))}),Nr={$style:{"material-design-icon":"_material-design-icon_M4rJ-",assistantButton:"_assistantButton_BP0M8",assistantButton_disabled:"_assistantButton_disabled_UipGr",assistantButton_primary:"_assistantButton_primary_-LVsB",assistantButton__icon:"_assistantButton__icon_fQ0PP",assistantButton__text:"_assistantButton__text_3VzI1",assistantButton__button:"_assistantButton__button_FAn7N"}},Na=(0,e4._)(Nn,[["__cssModules",Nr]]),Ns=["aria-hidden","aria-label"],No=["fill","width","height"],Nl={d:"M20 2H4C2.9 2 2 2.9 2 4V22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2M20 16H5.2L4 17.2V4H20V16Z"},Nu={key:0};function Nd(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon message-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Nl,[i.title?((0,z.uX)(),(0,z.CE)("title",Nu,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,No))],16,Ns)}let Nc={name:"MessageOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Nh=(0,to.default)(Nc,[["render",Nd]]),Nf={key:1,class:"placeholder-item__info"};function Nm(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("ul",{class:(0,z.C4)("placeholder-list placeholder-list--"+i.type)},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.placeholderData,(e,n)=>((0,z.uX)(),(0,z.CE)("li",{key:n,class:"placeholder-item"},["event-cards"!==i.type?((0,z.uX)(),(0,z.CE)("div",{key:0,class:"placeholder-item__avatar",style:(0,z.Tr)({"--avatar-size":e.avatarSize})},[...t[0]||(t[0]=[(0,z.Lk)("div",{class:"placeholder-item__avatar-circle"},null,-1)])],4)):(0,z.Q3)("",!0),(0,z.Lk)("div",{class:"placeholder-item__content",style:(0,z.Tr)({"--last-line-width":e.width})},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(e.amount,e=>((0,z.uX)(),(0,z.CE)("div",{key:e,class:"placeholder-item__content-line"}))),128))],4),"messages"===i.type?((0,z.uX)(),(0,z.CE)("div",Nf)):(0,z.Q3)("",!0)]))),128))],2)}let Ng={name:"LoadingPlaceholder",props:{type:{type:String,required:!0,validator:e=>["conversations","messages","participants","event-cards"].includes(e)},count:{type:Number,default:5}},computed:{placeholderData(){let e=[];for(let t=0;t{let i=new Date(+(0,z.BA)(e)),n=i.getFullYear()===new Date().getFullYear(),r=uD(i),a=(0,z.BA)(t)?(0,K.lO)():(0,K.Z0)(),s={dateStyle:void 0,timeStyle:void 0};return(0,z.BA)(t)&&6>=Math.abs(r)?(s.hour="numeric",s.minute="numeric"):(s.year=n?void 0:"numeric",s.month="long",s.day="numeric"),{locale:a,format:s}}),n=(0,TF.a)(+(0,z.BA)(e),i);return(0,z.EW)(()=>{if(!N_((0,z.BA)(e)))return String((0,z.BA)(e));let i=uT(+(0,z.BA)(e),{limitToWeek:!0,showWeekDay:(0,z.BA)(t)});return i?(0,K.t)("spreed","{relativeDate}, {absoluteDate}",{relativeDate:i,absoluteDate:n.value},{escape:!1}):n.value})}let Nb=(0,z.pM)({__name:"ScheduledDateTime",props:{time:{}},setup(e){let t=e,i=Nv(t.time),n=(0,z.EW)(()=>{let e=uD(+t.time);return e>=2&&e<=7?(0,K.t)("spreed","Scheduled {datetime}",{datetime:i.value},{escape:!1}):(0,K.t)("spreed","Scheduled for {datetime}",{datetime:i.value},{escape:!1})});return(e,t)=>((0,z.uX)(),(0,z.CE)("span",null,(0,z.v_)(n.value),1))}}),Ny={class:"static-datetime"},NF=(0,z.pM)({__name:"StaticDateTime",props:{time:{},calendar:{type:Boolean,default:!1}},setup(e){let t=e,i=Nv(t.time,t.calendar);return(e,t)=>((0,z.uX)(),(0,z.CE)("span",Ny,(0,z.v_)((0,z.R1)(i)),1))}}),Nk=(0,to.default)(NF,[["__scopeId","data-v-00fe342b"]]),Nw={key:0,class:"messages__avatar-wrapper"},NC={key:0,class:"messages__author","aria-level":"4"};function NA(e,t,i,n,r,a){let s=(0,z.g2)("AvatarWrapper"),o=(0,z.g2)("MessageItem");return(0,z.uX)(),(0,z.CE)("li",{class:(0,z.C4)(["wrapper",{outgoing:a.isSelfActor&&n.isSplitViewEnabled,incoming:!a.isSelfActor&&n.isSplitViewEnabled}]),tabindex:"-1"},[n.isSplitViewEnabled&&a.isSelfActor&&a.showAuthor?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",Nw,[(0,z.bF)(s,{id:a.actorId,class:(0,z.C4)(["messages__avatar",{"messages__avatar--offseted":a.isPinnedMessageShown}]),token:i.token,name:n.actorDisplayName,source:a.actorType,size:n.AVATAR.SIZE.SMALL,disableMenu:a.disableMenu,disableTooltip:""},null,8,["id","class","token","name","source","size","disableMenu"])])),(0,z.Lk)("div",{class:(0,z.C4)(["messages__content",{"small-view":n.isSmallMobile||n.isSidebar}])},[a.showAuthor?((0,z.uX)(),(0,z.CE)("li",NC,(0,z.v_)(n.actorInfo),1)):(0,z.Q3)("",!0),(0,z.Lk)("ul",{class:(0,z.C4)(["messages",{"messages-bubble":n.isSplitViewEnabled}])},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(i.messages,(e,t)=>((0,z.uX)(),(0,z.Wv)(o,{key:e.id,class:(0,z.C4)({incoming:!a.isSelfActor&&n.isSplitViewEnabled,outgoing:a.isSelfActor&&n.isSplitViewEnabled}),message:e,nextMessageId:i.messages[t+1]&&i.messages[t+1].id||i.nextMessageId,previousMessageId:t>0&&i.messages[t-1].id||i.previousMessageId,isSelfActor:a.isSelfActor},null,8,["class","message","nextMessageId","previousMessageId","isSelfActor"]))),128))],2)],2)],2)}let NE=["id","data-message-id","data-next-message-id","data-previous-message-id"],NS={class:"message-body"},Nx=["title","aria-label"];function ND(e,t,i,n,r,a){let s=(0,z.g2)("ReactionsWrapper"),o=(0,z.g2)("MessageBody"),l=(0,z.g2)("ScheduledMessageActions"),u=(0,z.g2)("MessageButtonsBar"),d=(0,z.g2)("IconPin"),c=(0,z.g2)("MessageForwarder");return(0,z.uX)(),(0,z.CE)("li",{id:`message_${i.message.id}`,"data-message-id":i.message.id,"data-next-message-id":i.nextMessageId,"data-previous-message-id":i.previousMessageId,class:(0,z.C4)(["message",{"message--hovered":a.showMessageButtonsBar,"message--pinned":!n.isSplitViewEnabled&&a.isPinned,"message--sided":n.isSplitViewEnabled,"message--small-view":(n.isSmallMobile||n.isSidebar)&&n.isSplitViewEnabled,"message--deleted":a.isDeletedMessage}]),tabindex:"0",onMouseover:t[6]||(t[6]=(...e)=>a.handleMouseover&&a.handleMouseover(...e)),onMouseleave:t[7]||(t[7]=(...e)=>a.handleMouseleave&&a.handleMouseleave(...e))},[(0,z.Lk)("div",NS,[(0,z.bF)(o,{richParameters:a.richParameters,isDeleting:r.isDeleting,hasCall:a.conversation.hasCall,message:i.message,readInfo:a.readInfo,isShortSimpleMessage:a.isShortSimpleMessage,isThreadStarterMessage:a.isThreadStarterMessage,isSelfActor:i.isSelfActor},{default:(0,z.k6)(()=>[Object.keys(i.message.reactions).length?((0,z.uX)(),(0,z.Wv)(s,{key:0,id:i.message.id,token:i.message.token,canReact:a.canReact,showControls:r.isHovered||r.isFollowUpEmojiPickerOpen,isSelfActor:i.isSelfActor,onEmojiPickerToggled:a.toggleFollowUpEmojiPicker},null,8,["id","token","canReact","showControls","isSelfActor","onEmojiPickerToggled"])):(0,z.Q3)("",!0)]),_:1},8,["richParameters","isDeleting","hasCall","message","readInfo","isShortSimpleMessage","isThreadStarterMessage","isSelfActor"])]),(0,z.Lk)("div",{class:(0,z.C4)(["message-body__scroll",{overlay:n.isSplitViewEnabled&&(!a.isShortSimpleMessage||n.isSmallMobile||n.isSidebar)&&r.isReactionsMenuOpen}])},[a.showMessageButtonsBar?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[a.showScheduledMessages?((0,z.uX)(),(0,z.Wv)(l,{key:0,isActionMenuOpen:r.isActionMenuOpen,"onUpdate:isActionMenuOpen":t[0]||(t[0]=e=>r.isActionMenuOpen=e),message:i.message,class:(0,z.C4)(["message-buttons-bar",{outlined:a.buttonsBarOutlined}]),onEdit:a.handleEdit},null,8,["isActionMenuOpen","message","class","onEdit"])):((0,z.uX)(),(0,z.Wv)(u,{key:1,isActionMenuOpen:r.isActionMenuOpen,"onUpdate:isActionMenuOpen":t[1]||(t[1]=e=>r.isActionMenuOpen=e),isEmojiPickerOpen:r.isEmojiPickerOpen,"onUpdate:isEmojiPickerOpen":t[2]||(t[2]=e=>r.isEmojiPickerOpen=e),isReactionsMenuOpen:r.isReactionsMenuOpen,"onUpdate:isReactionsMenuOpen":t[3]||(t[3]=e=>r.isReactionsMenuOpen=e),isForwarderOpen:r.isForwarderOpen,"onUpdate:isForwarderOpen":t[4]||(t[4]=e=>r.isForwarderOpen=e),class:(0,z.C4)(["message-buttons-bar",{outlined:a.buttonsBarOutlined}]),canReact:a.canReact,message:i.message,richParameters:a.richParameters,previousMessageId:i.previousMessageId,readInfo:a.readInfo,isThreadStarterMessage:a.isThreadStarterMessage,onReply:a.handleReply,onEdit:a.handleEdit,onDelete:a.handleDelete},null,8,["isActionMenuOpen","isEmojiPickerOpen","isReactionsMenuOpen","isForwarderOpen","class","canReact","message","richParameters","previousMessageId","readInfo","isThreadStarterMessage","onReply","onEdit","onDelete"]))],64)):n.isSplitViewEnabled&&a.isPinned?((0,z.uX)(),(0,z.CE)("div",{key:1,class:"icon-pin-highlighted",title:a.t("spreed","Pinned"),"aria-label":a.t("spreed","Pinned")},[(0,z.bF)(d,{size:16})],8,Nx)):(0,z.Q3)("",!0)],2),r.isForwarderOpen?((0,z.uX)(),(0,z.Wv)(c,{key:0,id:i.message.id,token:i.message.token,onClose:t[5]||(t[5]=e=>r.isForwarderOpen=!1)},null,8,["id","token"])):(0,z.Q3)("",!0)],42,NE)}let NT=["aria-hidden","aria-label"],NM=["fill","width","height"],NI={d:"M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12M8.8,14L10,12.8V4H14V12.8L15.2,14H8.8Z"},NB={key:0};function NP(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon pin-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",NI,[i.title?((0,z.uX)(),(0,z.CE)("title",NB,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,NM))],16,NT)}let NL={name:"PinOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},NN=(0,to.default)(NL,[["render",NP]]),NR=["title","aria-label"],Nj=["title","aria-label"];function NO(e,t,i,n,r,a){let s=(0,z.g2)("IconEmoticonOutline"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("IconArrowLeftTop"),u=(0,z.g2)("IconDotsHorizontal"),d=(0,z.g2)("IconCheckAll"),c=(0,z.g2)("IconCheck"),h=(0,z.g2)("IconClockOutline"),f=(0,z.g2)("NcActionText"),m=(0,z.g2)("IconClockEditOutline"),g=(0,z.g2)("IconPin"),p=(0,z.g2)("IconBellOffOutline"),_=(0,z.g2)("NcActionSeparator"),b=(0,z.g2)("IconAlarm"),y=(0,z.g2)("NcActionButton"),F=(0,z.g2)("IconUnpin"),k=(0,z.g2)("IconAccountOutline"),w=(0,z.g2)("IconPencilOutline"),C=(0,z.g2)("IconContentCopy"),A=(0,z.g2)("IconOpenInNew"),E=(0,z.g2)("IconMessageBadgeOutline"),S=(0,z.g2)("IconFileOutline"),x=(0,z.g2)("NcActionLink"),D=(0,z.g2)("NcIconSvgWrapper"),T=(0,z.g2)("IconForumOutline"),M=(0,z.g2)("IconNoteEditOutline"),I=(0,z.g2)("IconArrowRightTop"),B=(0,z.g2)("IconTranslate"),P=(0,z.g2)("IconTrashCanOutline"),N=(0,z.g2)("IconArrowLeft"),R=(0,z.g2)("IconCloseCircleOutline"),j=(0,z.g2)("IconCalendarClockOutline"),O=(0,z.g2)("NcActionInput"),q=(0,z.g2)("NcActionCaption"),W=(0,z.g2)("NcActions"),V=(0,z.g2)("IconPlus"),H=(0,z.g2)("NcEmojiPicker"),$=(0,z.gN)("click-outside");return(0,z.bo)(((0,z.uX)(),(0,z.CE)("div",null,[i.isReactionsMenuOpen?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(o,{variant:"tertiary","aria-label":a.t("spreed","Close reactions menu"),onClick:a.closeReactionsMenu},{icon:(0,z.k6)(()=>[(0,z.bF)(N,{class:"bidirectional-icon",size:20})]),_:1},8,["aria-label","onClick"]),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(r.frequentlyUsedEmojis,e=>((0,z.uX)(),(0,z.Wv)(o,{key:e,variant:"tertiary","aria-label":a.t("spreed","React with {emoji}",{emoji:e}),onClick:t=>a.handleReactionClick(e)},{icon:(0,z.k6)(()=>[(0,z.Lk)("span",null,(0,z.v_)(e),1)]),_:2},1032,["aria-label","onClick"]))),128)),(0,z.bF)(H,{boundary:a.boundariesElement,placement:"auto",onSelect:a.handleReactionClick,onAfterShow:a.onEmojiPickerOpen,onAfterHide:a.onEmojiPickerClose},{default:(0,z.k6)(()=>[(0,z.bF)(o,{variant:"tertiary","aria-label":a.t("spreed","React with another emoji")},{icon:(0,z.k6)(()=>[(0,z.bF)(V,{size:20})]),_:1},8,["aria-label"])]),_:1},8,["boundary","onSelect","onAfterShow","onAfterHide"])],64)):((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[i.canReact?((0,z.uX)(),(0,z.Wv)(o,{key:0,variant:"tertiary","aria-label":a.t("spreed","Add a reaction to this message"),title:a.t("spreed","Add a reaction to this message"),onClick:a.openReactionsMenu},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{size:20})]),_:1},8,["aria-label","title","onClick"])):(0,z.Q3)("",!0),a.canReply?((0,z.uX)(),(0,z.Wv)(o,{key:1,variant:"tertiary","aria-label":a.t("spreed","Reply"),title:a.t("spreed","Reply"),onClick:a.handleReply},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{class:"bidirectional-icon",size:20})]),_:1},8,["aria-label","title","onClick"])):(0,z.Q3)("",!0),i.isActionMenuOpen?((0,z.uX)(),(0,z.Wv)(W,{key:3,forceMenu:"",open:"",placement:"bottom-end",boundariesElement:a.boundariesElement,onClose:a.onMenuClose},{default:(0,z.k6)(()=>[null===r.submenu?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.bF)(f,null,{icon:(0,z.k6)(()=>[i.readInfo.showCommonReadIcon?((0,z.uX)(),(0,z.CE)("span",{key:0,title:i.readInfo.commonReadIconTitle,"aria-label":i.readInfo.commonReadIconTitle},[(0,z.bF)(d,{size:16})],8,NR)):i.readInfo.showSentIcon?((0,z.uX)(),(0,z.CE)("span",{key:1,title:i.readInfo.sentIconTitle,"aria-label":i.readInfo.sentIconTitle},[(0,z.bF)(c,{size:16})],8,Nj)):((0,z.uX)(),(0,z.Wv)(h,{key:2,size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.messageDateTime),1)]),_:1}),i.message.lastEditTimestamp?((0,z.uX)(),(0,z.Wv)(f,{key:0,class:"label-timestamp",name:a.lastEditActorLabel},{icon:(0,z.k6)(()=>[(0,z.bF)(m,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.editedDateTime),1)]),_:1},8,["name"])):(0,z.Q3)("",!0),a.isMessagePinned?((0,z.uX)(),(0,z.Wv)(f,{key:1,class:"label-timestamp",name:a.pinDurationLabel?a.pinAuthorLabel:void 0},{icon:(0,z.k6)(()=>[(0,z.bF)(g,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.pinDurationLabel||a.pinAuthorLabel),1)]),_:1},8,["name"])):(0,z.Q3)("",!0),i.readInfo.showSilentIcon?((0,z.uX)(),(0,z.Wv)(f,{key:2},{icon:(0,z.k6)(()=>[(0,z.bF)(p,{size:16})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(i.readInfo.silentIconTitle),1)]),_:1})):(0,z.Q3)("",!0),(0,z.bF)(_),n.supportReminders&&!a.isCurrentGuest?((0,z.uX)(),(0,z.Wv)(y,{key:"set-reminder-menu",isMenu:"",onClick:t[0]||(t[0]=(0,z.D$)(e=>r.submenu="reminder",["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(b,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Set reminder")),1)]),_:1})):(0,z.Q3)("",!0),n.supportPinMessage&&a.isModerator?((0,z.uX)(),(0,z.CE)(z.FK,{key:4},[a.isMessagePinned?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(y,{key:"pin-message",isMenu:"",onClick:t[1]||(t[1]=(0,z.D$)(e=>r.submenu="pin",["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(g,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Pin message")),1)]),_:1})),a.isMessagePinned?((0,z.uX)(),(0,z.Wv)(y,{key:"unpin-message",closeAfterClick:"",onClick:a.unpinMessage},{icon:(0,z.k6)(()=>[(0,z.bF)(F,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Unpin message")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0),a.isPrivateReplyable?((0,z.uX)(),(0,z.Wv)(y,{key:"reply-privately",closeAfterClick:"",onClick:(0,z.D$)(a.handlePrivateReply,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(k,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Reply privately")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),n.isEditable?((0,z.uX)(),(0,z.Wv)(y,{key:"edit-message","aria-label":a.t("spreed","Edit message"),closeAfterClick:"",onClick:(0,z.D$)(a.editMessage,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(w,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Edit message")),1)]),_:1},8,["aria-label","onClick"])):(0,z.Q3)("",!0),n.isFileShareWithoutCaption?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(y,{key:"copy-message",closeAfterClick:"",onClick:(0,z.D$)(a.handleCopyMessageText,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(C,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Copy message")),1)]),_:1},8,["onClick"])),(0,z.bF)(y,{key:"copy-message-link",closeAfterClick:"",onClick:(0,z.D$)(a.handleCopyMessageLink,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(A,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Copy message link")),1)]),_:1},8,["onClick"]),(0,z.bF)(y,{key:"mark-as-unread",closeAfterClick:"",onClick:(0,z.D$)(a.handleMarkAsUnread,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(E,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Mark as unread")),1)]),_:1},8,["onClick"]),n.isFileShare?((0,z.uX)(),(0,z.CE)(z.FK,{key:8},[(0,z.bF)(_),(0,z.bF)(x,{href:a.messageFile.link},{icon:(0,z.k6)(()=>[(0,z.bF)(S,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Go to file")),1)]),_:1},8,["href"]),n.hideDownloadOption?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(x,{key:0,href:a.linkToFileDownload,download:a.messageFile.name,closeAfterClick:""},{icon:(0,z.k6)(()=>[(0,z.bF)(D,{svg:n.IconFileDownload,size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Download file")),1)]),_:1},8,["href","download"]))],64)):(0,z.Q3)("",!0),i.isThreadStarterMessage?((0,z.uX)(),(0,z.CE)(z.FK,{key:9},[(0,z.bF)(_),(0,z.bF)(y,{closeAfterClick:"",onClick:t[2]||(t[2]=e=>n.threadId=i.message.threadId)},{icon:(0,z.k6)(()=>[(0,z.bF)(T,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Go to thread")),1)]),_:1}),a.isModeratorOrOwner?((0,z.uX)(),(0,z.Wv)(y,{key:"edit-thread",closeAfterClick:"",onClick:(0,z.D$)(a.renameThread,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(w,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Edit thread details")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0),a.canForwardMessage&&!a.isInNoteToSelf?((0,z.uX)(),(0,z.Wv)(y,{key:"forward-to-note",closeAfterClick:"",onClick:a.forwardToNote},{icon:(0,z.k6)(()=>[(0,z.bF)(M,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Note to self")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),a.canForwardMessage?((0,z.uX)(),(0,z.Wv)(y,{key:"forward-message",closeAfterClick:"",onClick:(0,z.D$)(a.openForwarder,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(I,{class:"bidirectional-icon",size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Forward message")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),n.messageActions.length>0?((0,z.uX)(),(0,z.Wv)(_,{key:12})):(0,z.Q3)("",!0),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(n.messageActions,e=>((0,z.uX)(),(0,z.Wv)(y,{key:e.label,icon:e.icon,closeAfterClick:"",onClick:t=>a.handleMessageAction(e)},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e.label),1)]),_:2},1032,["icon","onClick"]))),128)),n.isTranslationAvailable&&!n.isFileShareWithoutCaption?((0,z.uX)(),(0,z.Wv)(y,{key:"translate-message",closeAfterClick:"",onClick:a.handleTranslateMessage},{icon:(0,z.k6)(()=>[(0,z.bF)(B,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Translate")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),n.isDeleteable?((0,z.uX)(),(0,z.CE)(z.FK,{key:14},[(0,z.bF)(_),(0,z.bF)(y,{key:"delete-message",closeAfterClick:"",onClick:(0,z.D$)(a.handleDelete,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(P,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Delete")),1)]),_:1},8,["onClick"])],64)):(0,z.Q3)("",!0)],64)):n.supportReminders&&"reminder"===r.submenu?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(y,{key:"action-back","aria-label":a.t("spreed","Back"),onClick:t[3]||(t[3]=(0,z.D$)(e=>r.submenu=null,["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(N,{class:"bidirectional-icon"})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Back")),1)]),_:1},8,["aria-label"]),r.currentReminder?((0,z.uX)(),(0,z.Wv)(y,{key:"remove-reminder",closeAfterClick:"",onClick:(0,z.D$)(a.removeReminder,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(R,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.clearReminderLabel),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),(0,z.bF)(_),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(n.getCustomDateOptions(),e=>((0,z.uX)(),(0,z.Wv)(y,{key:e.key,"aria-label":e.ariaLabel,closeAfterClick:"",onClick:(0,z.D$)(t=>a.setReminder(e.timestamp),["stop"])},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e.label),1)]),_:2},1032,["aria-label","onClick"]))),128)),(0,z.bF)(_),(0,z.bF)(O,{modelValue:a.customReminderDateTime,"onUpdate:modelValue":t[4]||(t[4]=e=>a.customReminderDateTime=e),type:"datetime-local",isNativePicker:"",min:new Date},{icon:(0,z.k6)(()=>[(0,z.bF)(j,{size:20})]),_:1},8,["modelValue","min"]),(0,z.bF)(y,{key:"set-reminder","aria-label":a.t("spreed","Set custom reminder"),closeAfterClick:"",onClick:t[5]||(t[5]=(0,z.D$)(e=>a.setReminder(r.customReminderTimestamp),["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(c,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Set custom reminder")),1)]),_:1},8,["aria-label"])],64)):"pin"===r.submenu?((0,z.uX)(),(0,z.CE)(z.FK,{key:2},[(0,z.bF)(y,{key:"action-back","aria-label":a.t("spreed","Back"),onClick:t[6]||(t[6]=(0,z.D$)(e=>r.submenu=null,["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(N,{class:"bidirectional-icon"})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Back")),1)]),_:1},8,["aria-label"]),(0,z.bF)(_),(0,z.bF)(q,{name:a.t("spreed","Keep pinned for")},null,8,["name"]),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(n.PIN_DURATION_OPTIONS,e=>((0,z.uX)(),(0,z.Wv)(y,{key:e.key,"aria-label":e.ariaLabel,closeAfterClick:"",onClick:(0,z.D$)(t=>a.pinMessage(e.value),["stop"])},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e.label),1)]),_:2},1032,["aria-label","onClick"]))),128)),(0,z.bF)(_),(0,z.bF)(O,{modelValue:a.customPinDateTime,"onUpdate:modelValue":t[7]||(t[7]=e=>a.customPinDateTime=e),type:"datetime-local",isNativePicker:"",min:new Date},{icon:(0,z.k6)(()=>[(0,z.bF)(j,{size:20})]),_:1},8,["modelValue","min"]),(0,z.bF)(y,{key:"set-pin-custom","aria-label":a.t("spreed","Set custom period"),closeAfterClick:"",onClick:t[8]||(t[8]=(0,z.D$)(e=>a.pinMessage({custom:r.customPinTimestamp}),["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(c,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Set custom period")),1)]),_:1},8,["aria-label"])],64)):(0,z.Q3)("",!0)]),_:1},8,["boundariesElement","onClose"])):((0,z.uX)(),(0,z.Wv)(o,{key:2,variant:"tertiary","aria-label":a.t("spreed","More actions"),title:a.t("spreed","More actions"),onClick:a.onMenuOpen},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),_:1},8,["aria-label","title","onClick"]))],64))])),[[$,a.handleClickOutside]])}var Nz=__webpack_require__(43850),NU=JSON.parse('{"compressed":true,"categories":[{"id":"smileys","name":"Smileys & Emotion","emojis":["grinning","smiley","smile","grin","laughing","sweat_smile","rolling_on_the_floor_laughing","joy","slightly_smiling_face","upside_down_face","melting_face","wink","blush","innocent","smiling_face_with_3_hearts","heart_eyes","star-struck","kissing_heart","kissing","relaxed","kissing_closed_eyes","kissing_smiling_eyes","smiling_face_with_tear","yum","stuck_out_tongue","stuck_out_tongue_winking_eye","zany_face","stuck_out_tongue_closed_eyes","money_mouth_face","hugging_face","face_with_hand_over_mouth","face_with_open_eyes_and_hand_over_mouth","face_with_peeking_eye","shushing_face","thinking_face","saluting_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless","no_mouth","dotted_line_face","face_in_clouds","smirk","unamused","face_with_rolling_eyes","grimacing","face_exhaling","lying_face","shaking_face","relieved","pensive","sleepy","drooling_face","sleeping","mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","dizzy_face","face_with_spiral_eyes","exploding_head","face_with_cowboy_hat","partying_face","disguised_face","sunglasses","nerd_face","face_with_monocle","confused","face_with_diagonal_mouth","worried","slightly_frowning_face","white_frowning_face","open_mouth","hushed","astonished","flushed","pleading_face","face_holding_back_tears","frowning","anguished","fearful","cold_sweat","disappointed_relieved","cry","sob","scream","confounded","persevere","disappointed","sweat","weary","tired_face","yawning_face","triumph","rage","angry","face_with_symbols_on_mouth","smiling_imp","imp","skull","skull_and_crossbones","hankey","clown_face","japanese_ogre","japanese_goblin","ghost","alien","space_invader","robot_face","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","see_no_evil","hear_no_evil","speak_no_evil","love_letter","cupid","gift_heart","sparkling_heart","heartpulse","heartbeat","revolving_hearts","two_hearts","heart_decoration","heavy_heart_exclamation_mark_ornament","broken_heart","heart_on_fire","mending_heart","heart","pink_heart","orange_heart","yellow_heart","green_heart","blue_heart","light_blue_heart","purple_heart","brown_heart","black_heart","grey_heart","white_heart","kiss","100","anger","boom","dizzy","sweat_drops","dash","hole","speech_balloon","eye-in-speech-bubble","left_speech_bubble","right_anger_bubble","thought_balloon","zzz"]},{"id":"people","name":"People & Body","emojis":["wave","raised_back_of_hand","raised_hand_with_fingers_splayed","hand","spock-hand","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","leftwards_pushing_hand","rightwards_pushing_hand","ok_hand","pinched_fingers","pinching_hand","v","crossed_fingers","hand_with_index_finger_and_thumb_crossed","i_love_you_hand_sign","the_horns","call_me_hand","point_left","point_right","point_up_2","middle_finger","point_down","point_up","index_pointing_at_the_viewer","+1","-1","fist","facepunch","left-facing_fist","right-facing_fist","clap","raised_hands","heart_hands","open_hands","palms_up_together","handshake","pray","writing_hand","nail_care","selfie","muscle","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","anatomical_heart","lungs","tooth","bone","eyes","eye","tongue","lips","biting_lip","baby","child","boy","girl","adult","person_with_blond_hair","man","bearded_person","man_with_beard","woman_with_beard","red_haired_man","curly_haired_man","white_haired_man","bald_man","woman","red_haired_woman","red_haired_person","curly_haired_woman","curly_haired_person","white_haired_woman","white_haired_person","bald_woman","bald_person","blond-haired-woman","blond-haired-man","older_adult","older_man","older_woman","person_frowning","man-frowning","woman-frowning","person_with_pouting_face","man-pouting","woman-pouting","no_good","man-gesturing-no","woman-gesturing-no","ok_woman","man-gesturing-ok","woman-gesturing-ok","information_desk_person","man-tipping-hand","woman-tipping-hand","raising_hand","man-raising-hand","woman-raising-hand","deaf_person","deaf_man","deaf_woman","bow","man-bowing","woman-bowing","face_palm","man-facepalming","woman-facepalming","shrug","man-shrugging","woman-shrugging","health_worker","male-doctor","female-doctor","student","male-student","female-student","teacher","male-teacher","female-teacher","judge","male-judge","female-judge","farmer","male-farmer","female-farmer","cook","male-cook","female-cook","mechanic","male-mechanic","female-mechanic","factory_worker","male-factory-worker","female-factory-worker","office_worker","male-office-worker","female-office-worker","scientist","male-scientist","female-scientist","technologist","male-technologist","female-technologist","singer","male-singer","female-singer","artist","male-artist","female-artist","pilot","male-pilot","female-pilot","astronaut","male-astronaut","female-astronaut","firefighter","male-firefighter","female-firefighter","cop","male-police-officer","female-police-officer","sleuth_or_spy","male-detective","female-detective","guardsman","male-guard","female-guard","ninja","construction_worker","male-construction-worker","female-construction-worker","person_with_crown","prince","princess","man_with_turban","man-wearing-turban","woman-wearing-turban","man_with_gua_pi_mao","person_with_headscarf","person_in_tuxedo","man_in_tuxedo","woman_in_tuxedo","bride_with_veil","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast-feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","angel","santa","mrs_claus","mx_claus","superhero","male_superhero","female_superhero","supervillain","male_supervillain","female_supervillain","mage","male_mage","female_mage","fairy","male_fairy","female_fairy","vampire","male_vampire","female_vampire","merperson","merman","mermaid","elf","male_elf","female_elf","genie","male_genie","female_genie","zombie","male_zombie","female_zombie","troll","massage","man-getting-massage","woman-getting-massage","haircut","man-getting-haircut","woman-getting-haircut","walking","man-walking","woman-walking","standing_person","man_standing","woman_standing","kneeling_person","man_kneeling","woman_kneeling","person_with_probing_cane","man_with_probing_cane","woman_with_probing_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","runner","man-running","woman-running","dancer","man_dancing","man_in_business_suit_levitating","dancers","men-with-bunny-ears-partying","women-with-bunny-ears-partying","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","fencer","horse_racing","skier","snowboarder","golfer","man-golfing","woman-golfing","surfer","man-surfing","woman-surfing","rowboat","man-rowing-boat","woman-rowing-boat","swimmer","man-swimming","woman-swimming","person_with_ball","man-bouncing-ball","woman-bouncing-ball","weight_lifter","man-lifting-weights","woman-lifting-weights","bicyclist","man-biking","woman-biking","mountain_bicyclist","man-mountain-biking","woman-mountain-biking","person_doing_cartwheel","man-cartwheeling","woman-cartwheeling","wrestlers","man-wrestling","woman-wrestling","water_polo","man-playing-water-polo","woman-playing-water-polo","handball","man-playing-handball","woman-playing-handball","juggling","man-juggling","woman-juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","bath","sleeping_accommodation","people_holding_hands","two_women_holding_hands","man_and_woman_holding_hands","two_men_holding_hands","couplekiss","woman-kiss-man","man-kiss-man","woman-kiss-woman","couple_with_heart","woman-heart-man","man-heart-man","woman-heart-woman","family","man-woman-boy","man-woman-girl","man-woman-girl-boy","man-woman-boy-boy","man-woman-girl-girl","man-man-boy","man-man-girl","man-man-girl-boy","man-man-boy-boy","man-man-girl-girl","woman-woman-boy","woman-woman-girl","woman-woman-girl-boy","woman-woman-boy-boy","woman-woman-girl-girl","man-boy","man-boy-boy","man-girl","man-girl-boy","man-girl-girl","woman-boy","woman-boy-boy","woman-girl","woman-girl-boy","woman-girl-girl","speaking_head_in_silhouette","bust_in_silhouette","busts_in_silhouette","people_hugging","footprints"]},{"id":"nature","name":"Animals & Nature","emojis":["monkey_face","monkey","gorilla","orangutan","dog","dog2","guide_dog","service_dog","poodle","wolf","fox_face","raccoon","cat","cat2","black_cat","lion_face","tiger","tiger2","leopard","horse","moose","donkey","racehorse","unicorn_face","zebra_face","deer","bison","cow","ox","water_buffalo","cow2","pig","pig2","boar","pig_nose","ram","sheep","goat","dromedary_camel","camel","llama","giraffe_face","elephant","mammoth","rhinoceros","hippopotamus","mouse","mouse2","rat","hamster","rabbit","rabbit2","chipmunk","beaver","hedgehog","bat","bear","polar_bear","koala","panda_face","sloth","otter","skunk","kangaroo","badger","feet","turkey","chicken","rooster","hatching_chick","baby_chick","hatched_chick","bird","penguin","dove_of_peace","eagle","duck","swan","owl","dodo","feather","flamingo","peacock","parrot","wing","black_bird","goose","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t-rex","whale","whale2","dolphin","seal","fish","tropical_fish","blowfish","shark","octopus","shell","coral","jellyfish","snail","butterfly","bug","ant","bee","beetle","ladybug","cricket","cockroach","spider","spider_web","scorpion","mosquito","fly","worm","microbe","bouquet","cherry_blossom","white_flower","lotus","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","hyacinth","seedling","potted_plant","evergreen_tree","deciduous_tree","palm_tree","cactus","ear_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaves","empty_nest","nest_with_eggs","mushroom"]},{"id":"foods","name":"Food & Drink","emojis":["grapes","melon","watermelon","tangerine","lemon","banana","pineapple","mango","apple","green_apple","pear","peach","cherries","strawberry","blueberries","kiwifruit","tomato","olive","coconut","avocado","eggplant","potato","carrot","corn","hot_pepper","bell_pepper","cucumber","leafy_green","broccoli","garlic","onion","peanuts","beans","chestnut","ginger_root","pea_pod","bread","croissant","baguette_bread","flatbread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","fries","pizza","hotdog","sandwich","taco","burrito","tamale","stuffed_flatbread","falafel","egg","fried_egg","shallow_pan_of_food","stew","fondue","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento","rice_cracker","rice_ball","rice","curry","ramen","spaghetti","sweet_potato","oden","sushi","fried_shrimp","fish_cake","moon_cake","dango","dumpling","fortune_cookie","takeout_box","crab","lobster","shrimp","squid","oyster","icecream","shaved_ice","ice_cream","doughnut","cookie","birthday","cake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","coffee","teapot","tea","sake","champagne","wine_glass","cocktail","tropical_drink","beer","beers","clinking_glasses","tumbler_glass","pouring_liquid","cup_with_straw","bubble_tea","beverage_box","mate_drink","ice_cube","chopsticks","knife_fork_plate","fork_and_knife","spoon","hocho","jar","amphora"]},{"id":"activity","name":"Activities","emojis":["jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","bamboo","dolls","flags","wind_chime","rice_scene","red_envelope","ribbon","gift","reminder_ribbon","admission_tickets","ticket","medal","trophy","sports_medal","first_place_medal","second_place_medal","third_place_medal","soccer","baseball","softball","basketball","volleyball","football","rugby_football","tennis","flying_disc","bowling","cricket_bat_and_ball","field_hockey_stick_and_ball","ice_hockey_stick_and_puck","lacrosse","table_tennis_paddle_and_ball","badminton_racquet_and_shuttlecock","boxing_glove","martial_arts_uniform","goal_net","golf","ice_skate","fishing_pole_and_fish","diving_mask","running_shirt_with_sash","ski","sled","curling_stone","dart","yo-yo","kite","gun","8ball","crystal_ball","magic_wand","video_game","joystick","slot_machine","game_die","jigsaw","teddy_bear","pinata","mirror_ball","nesting_dolls","spades","hearts","diamonds","clubs","chess_pawn","black_joker","mahjong","flower_playing_cards","performing_arts","frame_with_picture","art","thread","sewing_needle","yarn","knot"]},{"id":"places","name":"Travel & Places","emojis":["earth_africa","earth_americas","earth_asia","globe_with_meridians","world_map","japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","bricks","rock","wood","hut","house_buildings","derelict_house_building","house","house_with_garden","office","post_office","european_post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","european_castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","city_sunset","city_sunrise","bridge_at_night","hotsprings","carousel_horse","playground_slide","ferris_wheel","roller_coaster","barber","circus_tent","steam_locomotive","railway_car","bullettrain_side","bullettrain_front","train2","metro","light_rail","station","tram","monorail","mountain_railway","train","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","car","oncoming_automobile","blue_car","pickup_truck","truck","articulated_lorry","tractor","racing_car","racing_motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bike","scooter","skateboard","roller_skate","busstop","motorway","railway_track","oil_drum","fuelpump","wheel","rotating_light","traffic_light","vertical_traffic_light","octagonal_sign","construction","anchor","ring_buoy","boat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arriving","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass","hourglass_flowing_sand","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","clock12","clock1230","clock1","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","clock10","clock1030","clock11","clock1130","new_moon","waxing_crescent_moon","first_quarter_moon","moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","thermometer","sunny","full_moon_with_face","sun_with_face","ringed_planet","star","star2","stars","milky_way","cloud","partly_sunny","thunder_cloud_and_rain","mostly_sunny","barely_sunny","partly_sunny_rain","rain_cloud","snow_cloud","lightning","tornado","fog","wind_blowing_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","zap","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean"]},{"id":"objects","name":"Objects","emojis":["eyeglasses","dark_sunglasses","goggles","lab_coat","safety_vest","necktie","shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one-piece_swimsuit","briefs","shorts","bikini","womans_clothes","folding_hand_fan","purse","handbag","pouch","shopping_bags","school_satchel","thong_sandal","mans_shoe","athletic_shoe","hiking_boot","womans_flat_shoe","high_heel","sandal","ballet_shoes","boot","hair_pick","crown","womans_hat","tophat","mortar_board","billed_cap","military_helmet","helmet_with_white_cross","prayer_beads","lipstick","ring","gem","mute","speaker","sound","loud_sound","loudspeaker","mega","postal_horn","bell","no_bell","musical_score","musical_note","notes","studio_microphone","level_slider","control_knobs","microphone","headphones","radio","saxophone","accordion","guitar","musical_keyboard","trumpet","violin","banjo","drum_with_drumsticks","long_drum","maracas","flute","iphone","calling","phone","telephone_receiver","pager","fax","battery","low_battery","electric_plug","computer","desktop_computer","printer","keyboard","three_button_mouse","trackball","minidisc","floppy_disk","cd","dvd","abacus","movie_camera","film_frames","film_projector","clapper","tv","camera","camera_with_flash","video_camera","vhs","mag","mag_right","candle","bulb","flashlight","izakaya_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","moneybag","coin","yen","dollar","euro","pound","money_with_wings","credit_card","receipt","chart","email","e-mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","postbox","ballot_box_with_ballot","pencil2","black_nib","lower_left_fountain_pen","lower_left_ballpoint_pen","lower_left_paintbrush","lower_left_crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","calendar","spiral_note_pad","spiral_calendar_pad","card_index","chart_with_upwards_trend","chart_with_downwards_trend","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","lock","unlock","lock_with_ink_pen","closed_lock_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger_knife","crossed_swords","bomb","boomerang","bow_and_arrow","shield","carpentry_saw","wrench","screwdriver","nut_and_bolt","gear","compression","scales","probing_cane","link","chains","hook","toolbox","magnet","ladder","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","crutch","stethoscope","x-ray","door","elevator","mirror","window","bed","couch_and_lamp","chair","toilet","plunger","shower","bathtub","mouse_trap","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","bucket","soap","bubbles","toothbrush","sponge","fire_extinguisher","shopping_trolley","smoking","coffin","headstone","funeral_urn","nazar_amulet","hamsa","moyai","placard","identification_card"]},{"id":"symbols","name":"Symbols","emojis":["atm","put_litter_in_its_place","potable_water","wheelchair","mens","womens","restroom","baby_symbol","wc","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","no_entry_sign","no_bicycles","no_smoking","do_not_litter","non-potable_water","no_pedestrians","no_mobile_phones","underage","radioactive_sign","biohazard_sign","arrow_up","arrow_upper_right","arrow_right","arrow_lower_right","arrow_down","arrow_lower_left","arrow_left","arrow_upper_left","arrow_up_down","left_right_arrow","leftwards_arrow_with_hook","arrow_right_hook","arrow_heading_up","arrow_heading_down","arrows_clockwise","arrows_counterclockwise","back","end","on","soon","top","place_of_worship","atom_symbol","om_symbol","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah_with_nine_branches","six_pointed_star","khanda","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","twisted_rightwards_arrows","repeat","repeat_one","arrow_forward","fast_forward","black_right_pointing_double_triangle_with_vertical_bar","black_right_pointing_triangle_with_double_vertical_bar","arrow_backward","rewind","black_left_pointing_double_triangle_with_vertical_bar","arrow_up_small","arrow_double_up","arrow_down_small","arrow_double_down","double_vertical_bar","black_square_for_stop","black_circle_for_record","eject","cinema","low_brightness","high_brightness","signal_strength","wireless","vibration_mode","mobile_phone_off","female_sign","male_sign","transgender_symbol","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_equals_sign","infinity","bangbang","interrobang","question","grey_question","grey_exclamation","exclamation","wavy_dash","currency_exchange","heavy_dollar_sign","medical_symbol","recycle","fleur_de_lis","trident","name_badge","beginner","o","white_check_mark","ballot_box_with_check","heavy_check_mark","x","negative_squared_cross_mark","curly_loop","loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_black_star","sparkle","copyright","registered","tm","hash","keycap_star","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","capital_abcd","abcd","1234","symbols","abc","a","ab","b","cl","cool","free","information_source","id","m","new","ng","o2","ok","parking","sos","up","vs","koko","sa","u6708","u6709","u6307","ideograph_advantage","u5272","u7121","u7981","accept","u7533","u5408","u7a7a","congratulations","secret","u55b6","u6e80","red_circle","large_orange_circle","large_yellow_circle","large_green_circle","large_blue_circle","large_purple_circle","large_brown_circle","black_circle","white_circle","large_red_square","large_orange_square","large_yellow_square","large_green_square","large_blue_square","large_purple_square","large_brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","small_red_triangle","small_red_triangle_down","diamond_shape_with_a_dot_inside","radio_button","white_square_button","black_square_button"]},{"id":"flags","name":"Flags","emojis":["checkered_flag","cn","crossed_flags","de","es","flag-ac","flag-ad","flag-ae","flag-af","flag-ag","flag-ai","flag-al","flag-am","flag-ao","flag-aq","flag-ar","flag-as","flag-at","flag-au","flag-aw","flag-ax","flag-az","flag-ba","flag-bb","flag-bd","flag-be","flag-bf","flag-bg","flag-bh","flag-bi","flag-bj","flag-bl","flag-bm","flag-bn","flag-bo","flag-bq","flag-br","flag-bs","flag-bt","flag-bv","flag-bw","flag-by","flag-bz","flag-ca","flag-cc","flag-cd","flag-cf","flag-cg","flag-ch","flag-ci","flag-ck","flag-cl","flag-cm","flag-co","flag-cp","flag-cr","flag-cu","flag-cv","flag-cw","flag-cx","flag-cy","flag-cz","flag-dg","flag-dj","flag-dk","flag-dm","flag-do","flag-dz","flag-ea","flag-ec","flag-ee","flag-eg","flag-eh","flag-england","flag-er","flag-et","flag-eu","flag-fi","flag-fj","flag-fk","flag-fm","flag-fo","flag-ga","flag-gd","flag-ge","flag-gf","flag-gg","flag-gh","flag-gi","flag-gl","flag-gm","flag-gn","flag-gp","flag-gq","flag-gr","flag-gs","flag-gt","flag-gu","flag-gw","flag-gy","flag-hk","flag-hm","flag-hn","flag-hr","flag-ht","flag-hu","flag-ic","flag-id","flag-ie","flag-il","flag-im","flag-in","flag-io","flag-iq","flag-ir","flag-is","flag-je","flag-jm","flag-jo","flag-ke","flag-kg","flag-kh","flag-ki","flag-km","flag-kn","flag-kp","flag-kw","flag-ky","flag-kz","flag-la","flag-lb","flag-lc","flag-li","flag-lk","flag-lr","flag-ls","flag-lt","flag-lu","flag-lv","flag-ly","flag-ma","flag-mc","flag-md","flag-me","flag-mf","flag-mg","flag-mh","flag-mk","flag-ml","flag-mm","flag-mn","flag-mo","flag-mp","flag-mq","flag-mr","flag-ms","flag-mt","flag-mu","flag-mv","flag-mw","flag-mx","flag-my","flag-mz","flag-na","flag-nc","flag-ne","flag-nf","flag-ng","flag-ni","flag-nl","flag-no","flag-np","flag-nr","flag-nu","flag-nz","flag-om","flag-pa","flag-pe","flag-pf","flag-pg","flag-ph","flag-pk","flag-pl","flag-pm","flag-pn","flag-pr","flag-ps","flag-pt","flag-pw","flag-py","flag-qa","flag-re","flag-ro","flag-rs","flag-rw","flag-sa","flag-sb","flag-sc","flag-scotland","flag-sd","flag-se","flag-sg","flag-sh","flag-si","flag-sj","flag-sk","flag-sl","flag-sm","flag-sn","flag-so","flag-sr","flag-ss","flag-st","flag-sv","flag-sx","flag-sy","flag-sz","flag-ta","flag-tc","flag-td","flag-tf","flag-tg","flag-th","flag-tj","flag-tk","flag-tl","flag-tm","flag-tn","flag-to","flag-tr","flag-tt","flag-tv","flag-tw","flag-tz","flag-ua","flag-ug","flag-um","flag-uy","flag-uz","flag-va","flag-vc","flag-ve","flag-vg","flag-vi","flag-vn","flag-vu","flag-wales","flag-wf","flag-ws","flag-xk","flag-ye","flag-yt","flag-za","flag-zm","flag-zw","fr","gb","it","jp","kr","pirate_flag","rainbow-flag","ru","transgender_flag","triangular_flag_on_post","us","waving_black_flag","waving_white_flag"]}],"emojis":{"100":{"subcategory":"emotion","a":"Hundred Points Symbol","b":"1F4AF","d":true,"e":true,"f":true,"h":true,"j":["hundred_points","score","perfect","numbers","century","exam","quiz","test","pass","hundred","100"],"k":[28,7],"o":0},"1234":{"subcategory":"alphanum","a":"Input Symbol for Numbers","b":"1F522","d":true,"e":true,"f":true,"h":true,"j":["input_numbers","numbers","blue-square","1234","1","2","3","4"],"k":[29,60],"o":0},"grinning":{"subcategory":"face-smiling","a":"Grinning Face","b":"1F600","d":true,"e":true,"f":true,"h":true,"j":["grinning_face","face","smile","happy","joy",":D","grin"],"k":[32,21],"m":":D","o":1},"smiley":{"subcategory":"face-smiling","a":"Smiling Face with Open Mouth","b":"1F603","d":true,"e":true,"f":true,"h":true,"j":["grinning_face_with_big_eyes","face","happy","joy","haha",":D",":)","smile","funny"],"k":[32,24],"l":["=)","=-)"],"m":":)","o":0},"smile":{"subcategory":"face-smiling","a":"Smiling Face with Open Mouth and Smiling Eyes","b":"1F604","d":true,"e":true,"f":true,"h":true,"j":["grinning_face_with_smiling_eyes","face","happy","joy","funny","haha","laugh","like",":D",":)","smile"],"k":[32,25],"l":["C:","c:",":D",":-D"],"m":":)","o":0},"grin":{"subcategory":"face-smiling","a":"Grinning Face with Smiling Eyes","b":"1F601","d":true,"e":true,"f":true,"h":true,"j":["beaming_face_with_smiling_eyes","face","happy","smile","joy","kawaii"],"k":[32,22],"o":0},"laughing":{"subcategory":"face-smiling","a":"Smiling Face with Open Mouth and Tightly-Closed Eyes","b":"1F606","d":true,"e":true,"f":true,"h":true,"j":["grinning_squinting_face","happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],"k":[32,27],"l":[":>",":->"],"n":["satisfied"],"o":0},"sweat_smile":{"subcategory":"face-smiling","a":"Smiling Face with Open Mouth and Cold Sweat","b":"1F605","d":true,"e":true,"f":true,"h":true,"j":["grinning_face_with_sweat","face","hot","happy","laugh","sweat","smile","relief"],"k":[32,26],"o":0},"rolling_on_the_floor_laughing":{"subcategory":"face-smiling","a":"Rolling on the Floor Laughing","b":"1F923","d":true,"e":true,"f":true,"h":true,"j":["rolling_on_the_floor_laughing","face","rolling","floor","laughing","lol","haha","rofl"],"k":[40,17],"o":3},"joy":{"subcategory":"face-smiling","a":"Face with Tears of Joy","b":"1F602","d":true,"e":true,"f":true,"h":true,"j":["face_with_tears_of_joy","face","cry","tears","weep","happy","happytears","haha"],"k":[32,23],"o":0},"slightly_smiling_face":{"subcategory":"face-smiling","a":"Slightly Smiling Face","b":"1F642","d":true,"e":true,"f":true,"h":true,"j":["slightly_smiling_face","face","smile"],"k":[33,29],"l":[":)","(:",":-)"],"o":1},"upside_down_face":{"subcategory":"face-smiling","a":"Upside-Down Face","b":"1F643","d":true,"e":true,"f":true,"h":true,"j":["upside_down_face","face","flipped","silly","smile"],"k":[33,30],"o":1},"melting_face":{"subcategory":"face-smiling","a":"Melting Face","b":"1FAE0","d":true,"e":true,"f":true,"h":true,"j":["melting face","hot","heat"],"k":[55,30],"o":14},"wink":{"subcategory":"face-smiling","a":"Winking Face","b":"1F609","d":true,"e":true,"f":true,"h":true,"j":["winking_face","face","happy","mischievous","secret",";)","smile","eye"],"k":[32,30],"l":[";)",";-)"],"m":";)","o":0},"blush":{"subcategory":"face-smiling","a":"Smiling Face with Smiling Eyes","b":"1F60A","d":true,"e":true,"f":true,"h":true,"j":["smiling_face_with_smiling_eyes","face","smile","happy","flushed","crush","embarrassed","shy","joy"],"k":[32,31],"m":":)","o":0},"innocent":{"subcategory":"face-smiling","a":"Smiling Face with Halo","b":"1F607","d":true,"e":true,"f":true,"h":true,"j":["smiling_face_with_halo","face","angel","heaven","halo","innocent"],"k":[32,28],"o":1},"smiling_face_with_3_hearts":{"subcategory":"face-affection","a":"Smiling Face with Smiling Eyes and Three Hearts","b":"1F970","d":true,"e":true,"f":true,"h":true,"j":["smiling_face_with_hearts","face","love","like","affection","valentines","infatuation","crush","hearts","adore"],"k":[43,60],"o":11},"heart_eyes":{"subcategory":"face-affection","a":"Smiling Face with Heart-Shaped Eyes","b":"1F60D","d":true,"e":true,"f":true,"h":true,"j":["smiling_face_with_heart_eyes","face","love","like","affection","valentines","infatuation","crush","heart"],"k":[32,34],"o":0},"star-struck":{"subcategory":"face-affection","a":"Grinning Face with Star Eyes","b":"1F929","d":true,"e":true,"f":true,"h":true,"j":["star_struck","face","smile","starry","eyes","grinning"],"k":[40,40],"n":["grinning_face_with_star_eyes"],"o":5},"kissing_heart":{"subcategory":"face-affection","a":"Face Throwing a Kiss","b":"1F618","d":true,"e":true,"f":true,"h":true,"j":["face_blowing_a_kiss","face","love","like","affection","valentines","infatuation","kiss"],"k":[32,45],"l":[":*",":-*"],"o":0},"kissing":{"subcategory":"face-affection","a":"Kissing Face","b":"1F617","d":true,"e":true,"f":true,"h":true,"j":["kissing_face","love","like","face","3","valentines","infatuation","kiss"],"k":[32,44],"o":1},"relaxed":{"subcategory":"face-affection","a":"White Smiling Face","b":"263A-FE0F","c":"263A","d":true,"e":true,"f":true,"h":true,"j":["smiling_face","face","blush","massage","happiness"],"k":[57,35],"o":0},"kissing_closed_eyes":{"subcategory":"face-affection","a":"Kissing Face with Closed Eyes","b":"1F61A","d":true,"e":true,"f":true,"h":true,"j":["kissing_face_with_closed_eyes","face","love","like","affection","valentines","infatuation","kiss"],"k":[32,47],"o":0},"kissing_smiling_eyes":{"subcategory":"face-affection","a":"Kissing Face with Smiling Eyes","b":"1F619","d":true,"e":true,"f":true,"h":true,"j":["kissing_face_with_smiling_eyes","face","affection","valentines","infatuation","kiss"],"k":[32,46],"o":1},"smiling_face_with_tear":{"subcategory":"face-affection","a":"Smiling Face with Tear","b":"1F972","d":true,"e":true,"f":true,"h":true,"j":["smiling face with tear","sad","cry","pretend"],"k":[44,1],"o":13},"yum":{"subcategory":"face-tongue","a":"Face Savouring Delicious Food","b":"1F60B","d":true,"e":true,"f":true,"h":true,"j":["face_savoring_food","happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],"k":[32,32],"o":0},"stuck_out_tongue":{"subcategory":"face-tongue","a":"Face with Stuck-out Tongue","b":"1F61B","d":true,"e":true,"f":true,"h":true,"j":["face_with_tongue","face","prank","childish","playful","mischievous","smile","tongue"],"k":[32,48],"l":[":p",":-p",":P",":-P",":b",":-b"],"m":":p","o":1},"stuck_out_tongue_winking_eye":{"subcategory":"face-tongue","a":"Face with Stuck-out Tongue and Winking Eye","b":"1F61C","d":true,"e":true,"f":true,"h":true,"j":["winking_face_with_tongue","face","prank","childish","playful","mischievous","smile","wink","tongue"],"k":[32,49],"l":[";p",";-p",";b",";-b",";P",";-P"],"m":";p","o":0},"zany_face":{"subcategory":"face-tongue","a":"Grinning Face with One Large and One Small Eye","b":"1F92A","d":true,"e":true,"f":true,"h":true,"j":["zany_face","face","goofy","crazy"],"k":[40,41],"n":["grinning_face_with_one_large_and_one_small_eye"],"o":5},"stuck_out_tongue_closed_eyes":{"subcategory":"face-tongue","a":"Face with Stuck-out Tongue and Tightly-Closed Eyes","b":"1F61D","d":true,"e":true,"f":true,"h":true,"j":["squinting_face_with_tongue","face","prank","playful","mischievous","smile","tongue"],"k":[32,50],"o":0},"money_mouth_face":{"subcategory":"face-tongue","a":"Money-Mouth Face","b":"1F911","d":true,"e":true,"f":true,"h":true,"j":["money_mouth_face","face","rich","dollar","money"],"k":[39,0],"o":1},"hugging_face":{"subcategory":"face-hand","a":"Hugging Face","b":"1F917","d":true,"e":true,"f":true,"h":true,"j":["hugging_face","face","smile","hug"],"k":[39,6],"o":1},"face_with_hand_over_mouth":{"subcategory":"face-hand","a":"Smiling Face with Smiling Eyes and Hand Covering Mouth","b":"1F92D","d":true,"e":true,"f":true,"h":true,"j":["face_with_hand_over_mouth","face","whoops","shock","surprise"],"k":[40,44],"n":["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],"o":5},"face_with_open_eyes_and_hand_over_mouth":{"subcategory":"face-hand","a":"Face with Open Eyes and Hand over Mouth","b":"1FAE2","d":true,"e":true,"f":true,"h":true,"j":["face with open eyes and hand over mouth","silence","secret","shock","surprise"],"k":[55,32],"o":14},"face_with_peeking_eye":{"subcategory":"face-hand","a":"Face with Peeking Eye","b":"1FAE3","d":true,"e":true,"f":true,"h":true,"j":["face with peeking eye","scared","frightening","embarrassing","shy"],"k":[55,33],"o":14},"shushing_face":{"subcategory":"face-hand","a":"Face with Finger Covering Closed Lips","b":"1F92B","d":true,"e":true,"f":true,"h":true,"j":["shushing_face","face","quiet","shhh"],"k":[40,42],"n":["face_with_finger_covering_closed_lips"],"o":5},"thinking_face":{"subcategory":"face-hand","a":"Thinking Face","b":"1F914","d":true,"e":true,"f":true,"h":true,"j":["thinking_face","face","hmmm","think","consider"],"k":[39,3],"o":1},"saluting_face":{"subcategory":"face-hand","a":"Saluting Face","b":"1FAE1","d":true,"e":true,"f":true,"h":true,"j":["saluting face","respect","salute"],"k":[55,31],"o":14},"zipper_mouth_face":{"subcategory":"face-neutral-skeptical","a":"Zipper-Mouth Face","b":"1F910","d":true,"e":true,"f":true,"h":true,"j":["zipper_mouth_face","face","sealed","zipper","secret"],"k":[38,60],"o":1},"face_with_raised_eyebrow":{"subcategory":"face-neutral-skeptical","a":"Face with One Eyebrow Raised","b":"1F928","d":true,"e":true,"f":true,"h":true,"j":["face_with_raised_eyebrow","face","distrust","scepticism","disapproval","disbelief","surprise","suspicious"],"k":[40,39],"n":["face_with_one_eyebrow_raised"],"o":5},"neutral_face":{"subcategory":"face-neutral-skeptical","a":"Neutral Face","b":"1F610","d":true,"e":true,"f":true,"h":true,"j":["neutral_face","indifference","meh",":|","neutral"],"k":[32,37],"l":[":|",":-|"],"o":0},"expressionless":{"subcategory":"face-neutral-skeptical","a":"Expressionless Face","b":"1F611","d":true,"e":true,"f":true,"h":true,"j":["expressionless_face","face","indifferent","-_-","meh","deadpan"],"k":[32,38],"o":1},"no_mouth":{"subcategory":"face-neutral-skeptical","a":"Face Without Mouth","b":"1F636","d":true,"e":true,"f":true,"h":true,"j":["face_without_mouth","face"],"k":[33,17],"o":1},"dotted_line_face":{"subcategory":"face-neutral-skeptical","a":"Dotted Line Face","b":"1FAE5","d":true,"e":true,"f":true,"h":true,"j":["dotted line face","invisible","lonely","isolation","depression"],"k":[55,35],"o":14},"face_in_clouds":{"subcategory":"face-neutral-skeptical","a":"Face in Clouds","b":"1F636-200D-1F32B-FE0F","c":"1F636-200D-1F32B","d":true,"e":true,"f":true,"h":true,"j":["face in clouds","shower","steam","dream"],"k":[33,16],"o":13},"smirk":{"subcategory":"face-neutral-skeptical","a":"Smirking Face","b":"1F60F","d":true,"e":true,"f":true,"h":true,"j":["smirking_face","face","smile","mean","prank","smug","sarcasm"],"k":[32,36],"o":0},"unamused":{"subcategory":"face-neutral-skeptical","a":"Unamused Face","b":"1F612","d":true,"e":true,"f":true,"h":true,"j":["unamused_face","indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","ugh","side_eye"],"k":[32,39],"m":":(","o":0},"face_with_rolling_eyes":{"subcategory":"face-neutral-skeptical","a":"Face with Rolling Eyes","b":"1F644","d":true,"e":true,"f":true,"h":true,"j":["face_with_rolling_eyes","face","eyeroll","frustrated"],"k":[33,31],"o":1},"grimacing":{"subcategory":"face-neutral-skeptical","a":"Grimacing Face","b":"1F62C","d":true,"e":true,"f":true,"h":true,"j":["grimacing_face","face","grimace","teeth"],"k":[33,4],"o":1},"face_exhaling":{"subcategory":"face-neutral-skeptical","a":"Face Exhaling","b":"1F62E-200D-1F4A8","d":true,"e":true,"f":true,"h":true,"j":["face exhaling","relieve","relief","tired","sigh"],"k":[33,6],"o":13},"lying_face":{"subcategory":"face-neutral-skeptical","a":"Lying Face","b":"1F925","d":true,"e":true,"f":true,"h":true,"j":["lying_face","face","lie","pinocchio"],"k":[40,19],"o":3},"shaking_face":{"subcategory":"face-neutral-skeptical","a":"Shaking Face","b":"1FAE8","d":true,"e":true,"f":false,"h":false,"j":["shaking face","dizzy","shock","blurry","earthquake"],"k":[55,38],"o":15},"relieved":{"subcategory":"face-sleepy","a":"Relieved Face","b":"1F60C","d":true,"e":true,"f":true,"h":true,"j":["relieved_face","face","relaxed","phew","massage","happiness"],"k":[32,33],"o":0},"pensive":{"subcategory":"face-sleepy","a":"Pensive Face","b":"1F614","d":true,"e":true,"f":true,"h":true,"j":["pensive_face","face","sad","depressed","upset"],"k":[32,41],"o":0},"sleepy":{"subcategory":"face-sleepy","a":"Sleepy Face","b":"1F62A","d":true,"e":true,"f":true,"h":true,"j":["sleepy_face","face","tired","rest","nap"],"k":[33,2],"o":0},"drooling_face":{"subcategory":"face-sleepy","a":"Drooling Face","b":"1F924","d":true,"e":true,"f":true,"h":true,"j":["drooling_face","face"],"k":[40,18],"o":3},"sleeping":{"subcategory":"face-sleepy","a":"Sleeping Face","b":"1F634","d":true,"e":true,"f":true,"h":true,"j":["sleeping_face","face","tired","sleepy","night","zzz"],"k":[33,13],"o":1},"mask":{"subcategory":"face-unwell","a":"Face with Medical Mask","b":"1F637","d":true,"e":true,"f":true,"h":true,"j":["face_with_medical_mask","face","sick","ill","disease","covid"],"k":[33,18],"o":0},"face_with_thermometer":{"subcategory":"face-unwell","a":"Face with Thermometer","b":"1F912","d":true,"e":true,"f":true,"h":true,"j":["face_with_thermometer","sick","temperature","thermometer","cold","fever","covid"],"k":[39,1],"o":1},"face_with_head_bandage":{"subcategory":"face-unwell","a":"Face with Head-Bandage","b":"1F915","d":true,"e":true,"f":true,"h":true,"j":["face_with_head_bandage","injured","clumsy","bandage","hurt"],"k":[39,4],"o":1},"nauseated_face":{"subcategory":"face-unwell","a":"Nauseated Face","b":"1F922","d":true,"e":true,"f":true,"h":true,"j":["nauseated_face","face","vomit","gross","green","sick","throw up","ill"],"k":[40,16],"o":3},"face_vomiting":{"subcategory":"face-unwell","a":"Face with Open Mouth Vomiting","b":"1F92E","d":true,"e":true,"f":true,"h":true,"j":["face_vomiting","face","sick"],"k":[40,45],"n":["face_with_open_mouth_vomiting"],"o":5},"sneezing_face":{"subcategory":"face-unwell","a":"Sneezing Face","b":"1F927","d":true,"e":true,"f":true,"h":true,"j":["sneezing_face","face","gesundheit","sneeze","sick","allergy"],"k":[40,38],"o":3},"hot_face":{"subcategory":"face-unwell","a":"Overheated Face","b":"1F975","d":true,"e":true,"f":true,"h":true,"j":["hot_face","face","feverish","heat","red","sweating"],"k":[44,4],"o":11},"cold_face":{"subcategory":"face-unwell","a":"Freezing Face","b":"1F976","d":true,"e":true,"f":true,"h":true,"j":["cold_face","face","blue","freezing","frozen","frostbite","icicles"],"k":[44,5],"o":11},"woozy_face":{"subcategory":"face-unwell","a":"Face with Uneven Eyes and Wavy Mouth","b":"1F974","d":true,"e":true,"f":true,"h":true,"j":["woozy_face","face","dizzy","intoxicated","tipsy","wavy"],"k":[44,3],"o":11},"dizzy_face":{"subcategory":"face-unwell","a":"Dizzy Face","b":"1F635","d":true,"e":true,"f":true,"h":true,"j":["dizzy_face","spent","unconscious","xox","dizzy"],"k":[33,15],"o":0},"face_with_spiral_eyes":{"subcategory":"face-unwell","a":"Face with Spiral Eyes","b":"1F635-200D-1F4AB","d":true,"e":true,"f":true,"h":true,"j":["face with spiral eyes","sick","ill","confused","nauseous","nausea"],"k":[33,14],"o":13},"exploding_head":{"subcategory":"face-unwell","a":"Shocked Face with Exploding Head","b":"1F92F","d":true,"e":true,"f":true,"h":true,"j":["exploding_head","face","shocked","mind","blown"],"k":[40,46],"n":["shocked_face_with_exploding_head"],"o":5},"face_with_cowboy_hat":{"subcategory":"face-hat","a":"Face with Cowboy Hat","b":"1F920","d":true,"e":true,"f":true,"h":true,"j":["cowboy_hat_face","face","cowgirl","hat"],"k":[40,14],"o":3},"partying_face":{"subcategory":"face-hat","a":"Face with Party Horn and Party Hat","b":"1F973","d":true,"e":true,"f":true,"h":true,"j":["partying_face","face","celebration","woohoo"],"k":[44,2],"o":11},"disguised_face":{"subcategory":"face-hat","a":"Disguised Face","b":"1F978","d":true,"e":true,"f":true,"h":true,"j":["disguised face","pretent","brows","glasses","moustache"],"k":[44,12],"o":13},"sunglasses":{"subcategory":"face-glasses","a":"Smiling Face with Sunglasses","b":"1F60E","d":true,"e":true,"f":true,"h":true,"j":["smiling_face_with_sunglasses","face","cool","smile","summer","beach","sunglass"],"k":[32,35],"l":["8)"],"o":1},"nerd_face":{"subcategory":"face-glasses","a":"Nerd Face","b":"1F913","d":true,"e":true,"f":true,"h":true,"j":["nerd_face","face","nerdy","geek","dork"],"k":[39,2],"o":1},"face_with_monocle":{"subcategory":"face-glasses","a":"Face with Monocle","b":"1F9D0","d":true,"e":true,"f":true,"h":true,"j":["face_with_monocle","face","stuffy","wealthy"],"k":[47,13],"o":5},"confused":{"subcategory":"face-concerned","a":"Confused Face","b":"1F615","d":true,"e":true,"f":true,"h":true,"j":["confused_face","face","indifference","huh","weird","hmmm",":/"],"k":[32,42],"l":[":\\\\",":-\\\\",":/",":-/"],"o":1},"face_with_diagonal_mouth":{"subcategory":"face-concerned","a":"Face with Diagonal Mouth","b":"1FAE4","d":true,"e":true,"f":true,"h":true,"j":["face with diagonal mouth","skeptic","confuse","frustrated","indifferent"],"k":[55,34],"o":14},"worried":{"subcategory":"face-concerned","a":"Worried Face","b":"1F61F","d":true,"e":true,"f":true,"h":true,"j":["worried_face","face","concern","nervous",":("],"k":[32,52],"o":1},"slightly_frowning_face":{"subcategory":"face-concerned","a":"Slightly Frowning Face","b":"1F641","d":true,"e":true,"f":true,"h":true,"j":["slightly_frowning_face","face","frowning","disappointed","sad","upset"],"k":[33,28],"o":1},"white_frowning_face":{"subcategory":"face-concerned","a":"Frowning Face","b":"2639-FE0F","c":"2639","d":true,"e":true,"f":true,"h":true,"j":["frowning_face","face","sad","upset","frown"],"k":[57,34],"o":0},"open_mouth":{"subcategory":"face-concerned","a":"Face with Open Mouth","b":"1F62E","d":true,"e":true,"f":true,"h":true,"j":["face_with_open_mouth","face","surprise","impressed","wow","whoa",":O"],"k":[33,7],"l":[":o",":-o",":O",":-O"],"o":1},"hushed":{"subcategory":"face-concerned","a":"Hushed Face","b":"1F62F","d":true,"e":true,"f":true,"h":true,"j":["hushed_face","face","woo","shh"],"k":[33,8],"o":1},"astonished":{"subcategory":"face-concerned","a":"Astonished Face","b":"1F632","d":true,"e":true,"f":true,"h":true,"j":["astonished_face","face","xox","surprised","poisoned"],"k":[33,11],"o":0},"flushed":{"subcategory":"face-concerned","a":"Flushed Face","b":"1F633","d":true,"e":true,"f":true,"h":true,"j":["flushed_face","face","blush","shy","flattered"],"k":[33,12],"o":0},"pleading_face":{"subcategory":"face-concerned","a":"Face with Pleading Eyes","b":"1F97A","d":true,"e":true,"f":true,"h":true,"j":["pleading_face","face","begging","mercy","cry","tears","sad","grievance"],"k":[44,14],"o":11},"face_holding_back_tears":{"subcategory":"face-concerned","a":"Face Holding Back Tears","b":"1F979","d":true,"e":true,"f":true,"h":true,"j":["face holding back tears","touched","gratitude","cry"],"k":[44,13],"o":14},"frowning":{"subcategory":"face-concerned","a":"Frowning Face with Open Mouth","b":"1F626","d":true,"e":true,"f":true,"h":true,"j":["frowning_face_with_open_mouth","face","aw","what"],"k":[32,59],"o":1},"anguished":{"subcategory":"face-concerned","a":"Anguished Face","b":"1F627","d":true,"e":true,"f":true,"h":true,"j":["anguished_face","face","stunned","nervous"],"k":[32,60],"l":["D:"],"o":1},"fearful":{"subcategory":"face-concerned","a":"Fearful Face","b":"1F628","d":true,"e":true,"f":true,"h":true,"j":["fearful_face","face","scared","terrified","nervous"],"k":[33,0],"o":0},"cold_sweat":{"subcategory":"face-concerned","a":"Face with Open Mouth and Cold Sweat","b":"1F630","d":true,"e":true,"f":true,"h":true,"j":["anxious_face_with_sweat","face","nervous","sweat"],"k":[33,9],"o":0},"disappointed_relieved":{"subcategory":"face-concerned","a":"Disappointed but Relieved Face","b":"1F625","d":true,"e":true,"f":true,"h":true,"j":["sad_but_relieved_face","face","phew","sweat","nervous"],"k":[32,58],"o":0},"cry":{"subcategory":"face-concerned","a":"Crying Face","b":"1F622","d":true,"e":true,"f":true,"h":true,"j":["crying_face","face","tears","sad","depressed","upset",":\'("],"k":[32,55],"l":[":\'("],"m":":\'(","o":0},"sob":{"subcategory":"face-concerned","a":"Loudly Crying Face","b":"1F62D","d":true,"e":true,"f":true,"h":true,"j":["loudly_crying_face","sobbing","face","cry","tears","sad","upset","depressed"],"k":[33,5],"m":":\'(","o":0},"scream":{"subcategory":"face-concerned","a":"Face Screaming in Fear","b":"1F631","d":true,"e":true,"f":true,"h":true,"j":["face_screaming_in_fear","face","munch","scared","omg"],"k":[33,10],"o":0},"confounded":{"subcategory":"face-concerned","a":"Confounded Face","b":"1F616","d":true,"e":true,"f":true,"h":true,"j":["confounded_face","face","confused","sick","unwell","oops",":S"],"k":[32,43],"o":0},"persevere":{"subcategory":"face-concerned","a":"Persevering Face","b":"1F623","d":true,"e":true,"f":true,"h":true,"j":["persevering_face","face","sick","no","upset","oops"],"k":[32,56],"o":0},"disappointed":{"subcategory":"face-concerned","a":"Disappointed Face","b":"1F61E","d":true,"e":true,"f":true,"h":true,"j":["disappointed_face","face","sad","upset","depressed",":("],"k":[32,51],"l":["):",":(",":-("],"m":":(","o":0},"sweat":{"subcategory":"face-concerned","a":"Face with Cold Sweat","b":"1F613","d":true,"e":true,"f":true,"h":true,"j":["downcast_face_with_sweat","face","hot","sad","tired","exercise"],"k":[32,40],"o":0},"weary":{"subcategory":"face-concerned","a":"Weary Face","b":"1F629","d":true,"e":true,"f":true,"h":true,"j":["weary_face","face","tired","sleepy","sad","frustrated","upset"],"k":[33,1],"o":0},"tired_face":{"subcategory":"face-concerned","a":"Tired Face","b":"1F62B","d":true,"e":true,"f":true,"h":true,"j":["tired_face","sick","whine","upset","frustrated"],"k":[33,3],"o":0},"yawning_face":{"subcategory":"face-concerned","a":"Yawning Face","b":"1F971","d":true,"e":true,"f":true,"h":true,"j":["yawning_face","tired","sleepy"],"k":[44,0],"o":12},"triumph":{"subcategory":"face-negative","a":"Face with Look of Triumph","b":"1F624","d":true,"e":true,"f":true,"h":true,"j":["face_with_steam_from_nose","face","gas","phew","proud","pride","triumph"],"k":[32,57],"o":0},"rage":{"subcategory":"face-negative","a":"Pouting Face","b":"1F621","d":true,"e":true,"f":true,"h":true,"j":["pouting_face","angry","mad","hate","despise"],"k":[32,54],"o":0},"angry":{"subcategory":"face-negative","a":"Angry Face","b":"1F620","d":true,"e":true,"f":true,"h":true,"j":["angry_face","mad","face","annoyed","frustrated"],"k":[32,53],"l":[">:(",">:-("],"o":0},"face_with_symbols_on_mouth":{"subcategory":"face-negative","a":"Serious Face with Symbols Covering Mouth","b":"1F92C","d":true,"e":true,"f":true,"h":true,"j":["face_with_symbols_on_mouth","face","swearing","cursing","cussing","profanity","expletive"],"k":[40,43],"n":["serious_face_with_symbols_covering_mouth"],"o":5},"smiling_imp":{"subcategory":"face-negative","a":"Smiling Face with Horns","b":"1F608","d":true,"e":true,"f":true,"h":true,"j":["smiling_face_with_horns","devil","horns"],"k":[32,29],"o":1},"imp":{"subcategory":"face-negative","a":"Imp","b":"1F47F","d":true,"e":true,"f":true,"h":true,"j":["angry_face_with_horns","devil","angry","horns"],"k":[25,9],"o":0},"skull":{"subcategory":"face-negative","a":"Skull","b":"1F480","d":true,"e":true,"f":true,"h":true,"j":["skull","dead","skeleton","creepy","death","dead"],"k":[25,10],"o":0},"skull_and_crossbones":{"subcategory":"face-negative","a":"Skull and Crossbones","b":"2620-FE0F","c":"2620","d":true,"e":true,"f":true,"h":true,"j":["skull_and_crossbones","poison","danger","deadly","scary","death","pirate","evil"],"k":[57,26],"o":1},"hankey":{"subcategory":"face-costume","a":"Pile of Poo","b":"1F4A9","d":true,"e":true,"f":true,"h":true,"j":["pile_of_poo","hankey","shitface","fail","turd","shit"],"k":[27,57],"n":["poop","shit"],"o":0},"clown_face":{"subcategory":"face-costume","a":"Clown Face","b":"1F921","d":true,"e":true,"f":true,"h":true,"j":["clown_face","face"],"k":[40,15],"o":3},"japanese_ogre":{"subcategory":"face-costume","a":"Japanese Ogre","b":"1F479","d":true,"e":true,"f":true,"h":true,"j":["ogre","monster","red","mask","halloween","scary","creepy","devil","demon","japanese_ogre"],"k":[24,59],"o":0},"japanese_goblin":{"subcategory":"face-costume","a":"Japanese Goblin","b":"1F47A","d":true,"e":true,"f":true,"h":true,"j":["goblin","red","evil","mask","monster","scary","creepy","japanese_goblin"],"k":[24,60],"o":0},"ghost":{"subcategory":"face-costume","a":"Ghost","b":"1F47B","d":true,"e":true,"f":true,"h":true,"j":["ghost","halloween","spooky","scary"],"k":[25,0],"o":0},"alien":{"subcategory":"face-costume","a":"Extraterrestrial Alien","b":"1F47D","d":true,"e":true,"f":true,"h":true,"j":["alien","UFO","paul","weird","outer_space"],"k":[25,7],"o":0},"space_invader":{"subcategory":"face-costume","a":"Alien Monster","b":"1F47E","d":true,"e":true,"f":true,"h":true,"j":["alien_monster","game","arcade","play"],"k":[25,8],"o":0},"robot_face":{"subcategory":"face-costume","a":"Robot Face","b":"1F916","d":true,"e":true,"f":true,"h":true,"j":["robot","computer","machine","bot"],"k":[39,5],"o":1},"smiley_cat":{"subcategory":"cat-face","a":"Smiling Cat Face with Open Mouth","b":"1F63A","d":true,"e":true,"f":true,"h":true,"j":["grinning_cat","animal","cats","happy","smile"],"k":[33,21],"o":0},"smile_cat":{"subcategory":"cat-face","a":"Grinning Cat Face with Smiling Eyes","b":"1F638","d":true,"e":true,"f":true,"h":true,"j":["grinning_cat_with_smiling_eyes","animal","cats","smile"],"k":[33,19],"o":0},"joy_cat":{"subcategory":"cat-face","a":"Cat Face with Tears of Joy","b":"1F639","d":true,"e":true,"f":true,"h":true,"j":["cat_with_tears_of_joy","animal","cats","haha","happy","tears"],"k":[33,20],"o":0},"heart_eyes_cat":{"subcategory":"cat-face","a":"Smiling Cat Face with Heart-Shaped Eyes","b":"1F63B","d":true,"e":true,"f":true,"h":true,"j":["smiling_cat_with_heart_eyes","animal","love","like","affection","cats","valentines","heart"],"k":[33,22],"o":0},"smirk_cat":{"subcategory":"cat-face","a":"Cat Face with Wry Smile","b":"1F63C","d":true,"e":true,"f":true,"h":true,"j":["cat_with_wry_smile","animal","cats","smirk"],"k":[33,23],"o":0},"kissing_cat":{"subcategory":"cat-face","a":"Kissing Cat Face with Closed Eyes","b":"1F63D","d":true,"e":true,"f":true,"h":true,"j":["kissing_cat","animal","cats","kiss"],"k":[33,24],"o":0},"scream_cat":{"subcategory":"cat-face","a":"Weary Cat Face","b":"1F640","d":true,"e":true,"f":true,"h":true,"j":["weary_cat","animal","cats","munch","scared","scream"],"k":[33,27],"o":0},"crying_cat_face":{"subcategory":"cat-face","a":"Crying Cat Face","b":"1F63F","d":true,"e":true,"f":true,"h":true,"j":["crying_cat","animal","tears","weep","sad","cats","upset","cry"],"k":[33,26],"o":0},"pouting_cat":{"subcategory":"cat-face","a":"Pouting Cat Face","b":"1F63E","d":true,"e":true,"f":true,"h":true,"j":["pouting_cat","animal","cats"],"k":[33,25],"o":0},"see_no_evil":{"subcategory":"monkey-face","a":"See-No-Evil Monkey","b":"1F648","d":true,"e":true,"f":true,"h":true,"j":["see_no_evil_monkey","monkey","animal","nature","haha"],"k":[34,25],"o":0},"hear_no_evil":{"subcategory":"monkey-face","a":"Hear-No-Evil Monkey","b":"1F649","d":true,"e":true,"f":true,"h":true,"j":["hear_no_evil_monkey","animal","monkey","nature"],"k":[34,26],"o":0},"speak_no_evil":{"subcategory":"monkey-face","a":"Speak-No-Evil Monkey","b":"1F64A","d":true,"e":true,"f":true,"h":true,"j":["speak_no_evil_monkey","monkey","animal","nature","omg"],"k":[34,27],"o":0},"love_letter":{"subcategory":"heart","a":"Love Letter","b":"1F48C","d":true,"e":true,"f":true,"h":true,"j":["love_letter","email","like","affection","envelope","valentines"],"k":[26,39],"o":0},"cupid":{"subcategory":"heart","a":"Heart with Arrow","b":"1F498","d":true,"e":true,"f":true,"h":true,"j":["heart_with_arrow","love","like","heart","affection","valentines"],"k":[27,40],"o":0},"gift_heart":{"subcategory":"heart","a":"Heart with Ribbon","b":"1F49D","d":true,"e":true,"f":true,"h":true,"j":["heart_with_ribbon","love","valentines"],"k":[27,45],"o":0},"sparkling_heart":{"subcategory":"heart","a":"Sparkling Heart","b":"1F496","d":true,"e":true,"f":true,"h":true,"j":["sparkling_heart","love","like","affection","valentines"],"k":[27,38],"o":0},"heartpulse":{"subcategory":"heart","a":"Growing Heart","b":"1F497","d":true,"e":true,"f":true,"h":true,"j":["growing_heart","like","love","affection","valentines","pink"],"k":[27,39],"o":0},"heartbeat":{"subcategory":"heart","a":"Beating Heart","b":"1F493","d":true,"e":true,"f":true,"h":true,"j":["beating_heart","love","like","affection","valentines","pink","heart"],"k":[27,35],"o":0},"revolving_hearts":{"subcategory":"heart","a":"Revolving Hearts","b":"1F49E","d":true,"e":true,"f":true,"h":true,"j":["revolving_hearts","love","like","affection","valentines"],"k":[27,46],"o":0},"two_hearts":{"subcategory":"heart","a":"Two Hearts","b":"1F495","d":true,"e":true,"f":true,"h":true,"j":["two_hearts","love","like","affection","valentines","heart"],"k":[27,37],"o":0},"heart_decoration":{"subcategory":"heart","a":"Heart Decoration","b":"1F49F","d":true,"e":true,"f":true,"h":true,"j":["heart_decoration","purple-square","love","like"],"k":[27,47],"o":0},"heavy_heart_exclamation_mark_ornament":{"subcategory":"heart","a":"Heart Exclamation","b":"2763-FE0F","c":"2763","d":true,"e":true,"f":true,"h":true,"j":["heart_exclamation","decoration","love"],"k":[59,38],"o":1},"broken_heart":{"subcategory":"heart","a":"Broken Heart","b":"1F494","d":true,"e":true,"f":true,"h":true,"j":["broken_heart","sad","sorry","break","heart","heartbreak"],"k":[27,36],"l":["F.emoji(e))||[],i.map(e=>e.getSkin(n))}function NV(e){Nz.frequently.add(e)}function NH(){return Math.min(Math.max(Number.parseInt(Nq.getItem("NcEmojiPicker::currentSkinTone")??"1"),1),6)}function N$(e){e=Math.min(Math.max(e,1),6),Nq.setItem("NcEmojiPicker::currentSkinTone",e.toString())}var NG=__webpack_require__(30064);let NX={role:"tablist",class:"emoji-mart-anchors"},NK=["aria-label","aria-selected","data-title","onClick"],NY=["innerHTML"];function NQ(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("div",NX,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(i.categories,t=>((0,z.uX)(),(0,z.CE)("button",{role:"tab",type:"button","aria-label":t.name,"aria-selected":t.id==i.activeCategory.id,key:t.id,class:(0,z.C4)({"emoji-mart-anchor":!0,"emoji-mart-anchor-selected":t.id==i.activeCategory.id}),style:(0,z.Tr)({color:t.id==i.activeCategory.id?i.color:""}),"data-title":i.i18n.categories[t.id],onClick:i=>e.$emit("click",t)},[(0,z.Lk)("div",{"aria-hidden":"true",innerHTML:e.svgs[t.id]},null,8,NY),(0,z.Lk)("span",{"aria-hidden":"true",class:"emoji-mart-anchor-bar",style:(0,z.Tr)({backgroundColor:i.color})},null,4)],14,NK))),128))])}let NZ={activity:'',custom:'',flags:'',foods:'',nature:'',objects:'',smileys:'',people:' ',places:'',recent:'',symbols:''},NJ={props:{i18n:{type:Object,required:!0},color:{type:String},categories:{type:Array,required:!0},activeCategory:{type:Object,default:()=>({})}},emits:["click"],created(){this.svgs=NZ}},N0=(0,to.default)(NJ,[["render",NQ]]),N1=["aria-label"],N2={class:"emoji-mart-category-label"},N3={class:"emoji-mart-category-label"},N4=["aria-label","data-title","title","onMouseenter","onMouseleave","onClick"],N6={key:0},N5={class:"emoji-mart-no-results-label"};function N8(e,t,i,n,r,a){let s=(0,z.g2)("emoji");return a.isVisible&&(a.isSearch||a.hasResults)?((0,z.uX)(),(0,z.CE)("section",{key:0,class:(0,z.C4)({"emoji-mart-category":!0,"emoji-mart-no-results":!a.hasResults}),"aria-label":i.i18n.categories[i.id]},[(0,z.Lk)("div",N2,[(0,z.Lk)("h3",N3,(0,z.v_)(i.i18n.categories[i.id]),1)]),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.emojiObjects,({emojiObject:e,emojiView:t})=>((0,z.uX)(),(0,z.CE)(z.FK,null,[t.canRender?((0,z.uX)(),(0,z.CE)("button",{"aria-label":t.ariaLabel,role:"option","aria-selected":"false","aria-posinset":"1","aria-setsize":"1812",type:"button","data-title":e.short_name,key:e.id,title:t.title,class:(0,z.C4)(["emoji-mart-emoji",a.activeClass(e)]),onMouseenter:e=>i.emojiProps.onEnter(t.getEmoji()),onMouseleave:e=>i.emojiProps.onLeave(t.getEmoji()),onClick:e=>i.emojiProps.onClick(t.getEmoji())},[(0,z.Lk)("span",{class:(0,z.C4)(t.cssClass),style:(0,z.Tr)(t.cssStyle)},(0,z.v_)(t.content),7)],42,N4)):(0,z.Q3)("",!0)],64))),256)),a.hasResults?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",N6,[(0,z.bF)(s,{data:i.data,emoji:"sleuth_or_spy",native:i.emojiProps.native,skin:i.emojiProps.skin,set:i.emojiProps.set},null,8,["data","native","skin","set"]),(0,z.Lk)("div",N5,(0,z.v_)(i.i18n.notfound),1)]))],10,N1)):(0,z.Q3)("",!0)}let N9=String.fromCodePoint||function(){var e,t,i=16384,n=[],r=-1,a=arguments.length;if(!a)return"";for(var s="";++r1114111||Math.floor(o)!=o)throw RangeError("Invalid code point: "+o);o<=65535?n.push(o):(o-=65536,e=(o>>10)+55296,t=o%1024+56320,n.push(e,t)),(r+1===a||n.length>i)&&(s+=String.fromCharCode.apply(null,n),n.length=0)}return s};function N7(e){var t=e.split("-").map(e=>`0x${e}`);return N9.apply(null,t)}function Re(e){return e.reduce((e,t)=>(-1===e.indexOf(t)&&e.push(t),e),[])}function Rt(e,t){let i=Re(e),n=Re(t);return i.filter(e=>n.indexOf(e)>=0)}function Ri(e,t){var i={};for(let n in e){let r=e[n],a=r;Object.prototype.hasOwnProperty.call(t,n)&&(a=t[n]),"object"==typeof a&&(a=Ri(r,a)),i[n]=a}return i}function Rn(){if("u"{let t=[];var i=(e,i)=>{e&&(Array.isArray(e)?e:[e]).forEach(e=>{(i?e.split(/[-|_|\s]+/):[e]).forEach(e=>{e=e.toLowerCase(),-1==t.indexOf(e)&&t.push(e)})})};return i(e.short_names,!0),i(e.name,!0),i(e.keywords,!1),i(e.emoticons,!1),t.join(",")};function Rs(e){for(let t of Object.getOwnPropertyNames(e)){let i=e[t];e[t]=i&&"object"==typeof i?Rs(i):i}return Object.freeze(e)}let Ro=e=>{if(!e.compressed)return e;for(let t in e.compressed=!1,e.emojis){let i=e.emojis[t];for(let e in Rr)i[e]=i[Rr[e]],delete i[Rr[e]];i.short_names||(i.short_names=[]),i.short_names.unshift(t),i.sheet_x=i.sheet[0],i.sheet_y=i.sheet[1],delete i.sheet,i.text||(i.text=""),i.added_in||(i.added_in=6),i.added_in=i.added_in.toFixed(1),i.search=Ra(i)}return Rs(e)};var Rl="emoji-mart";let Ru=JSON;var Rd="u">typeof window&&"localStorage"in window;function Rc(e,t){if(w)w(e,t);else{if(!Rd)return;try{window.localStorage[`${Rl}.${e}`]=Ru.stringify(t)}catch(e){}}}let Rh=function(e){for(let t in e){let i=e[t];Rc(t,i)}},Rf=Rc,Rm=function(e){if(k)return k(e);if(Rd){try{var t=window.localStorage[`${Rl}.${e}`]}catch(e){return}if(t)return JSON.parse(t)}},Rg=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","hankey"],Rp={};function R_(){A=!0,C=Rm("frequently")}let Rv=function(e){A||R_();var{id:t}=e;C||(C=Rp),C[t]||(C[t]=0),C[t]+=1,Rf("last",t),Rf("frequently",C)},Rb=function(e){if(A||R_(),!C){Rp={};let t=[],i=Math.min(e,Rg.length);for(let e=0;eC[e]-C[t]).reverse().slice(0,t),r=Rm("last");return r&&-1==n.indexOf(r)&&(n.pop(),n.push(r)),n},Ry=61,RF=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,Rk=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"];class Rw{constructor(e,{emojisToShowFilter:t,include:i,exclude:n,custom:r,recent:a,recentLength:s=20}={}){this._data=Ro(e),this._emojisFilter=t||null,this._include=i||null,this._exclude=n||null,this._custom=r||[],this._recent=a||Rb(s),this._emojis={},this._nativeEmojis={},this._emoticons={},this._categories=[],this._recentCategory={id:"recent",name:"Recent",emojis:[]},this._customCategory={id:"custom",name:"Custom",emojis:[]},this._searchIndex={},this.buildIndex(),Object.freeze(this)}buildIndex(){let e=this._data.categories;if(this._include&&(e=(e=e.filter(e=>this._include.includes(e.id))).sort((e,t)=>{let i=this._include.indexOf(e.id),n=this._include.indexOf(t.id);return in)})),e.forEach(e=>{if(!this.isCategoryNeeded(e.id))return;let t={id:e.id,name:e.name,emojis:[]};e.emojis.forEach(e=>{let i=this.addEmoji(e);i&&t.emojis.push(i)}),t.emojis.length&&this._categories.push(t)}),this.isCategoryNeeded("custom")){if(this._custom.length>0)for(let e of this._custom)this.addCustomEmoji(e);this._customCategory.emojis.length&&this._categories.push(this._customCategory)}this.isCategoryNeeded("recent")&&(this._recent.length&&this._recent.map(e=>{for(let t of this._customCategory.emojis)if(t.id===e)return void this._recentCategory.emojis.push(t);this.hasEmoji(e)&&this._recentCategory.emojis.push(this.emoji(e))}),this._recentCategory.emojis.length&&this._categories.unshift(this._recentCategory))}findEmoji(e,t){let i=e.match(RF);if(i&&(e=i[1],i[2]&&(t=parseInt(i[2],10))),this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),this._emojis.hasOwnProperty(e)){let i=this._emojis[e];return t?i.getSkin(t):i}return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}categories(){return this._categories}emoji(e){this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]);let t=this._emojis[e];if(!t)throw Error("Can not find emoji by id: "+e);return t}firstEmoji(){let e=this._emojis[Object.keys(this._emojis)[0]];if(!e)throw Error("Can not get first emoji");return e}hasEmoji(e){return this._data.aliases.hasOwnProperty(e)&&(e=this._data.aliases[e]),!!this._emojis[e]}nativeEmoji(e){return this._nativeEmojis.hasOwnProperty(e)?this._nativeEmojis[e]:null}search(e,t){if(t||(t=75),!e.length)return null;if("-"==e||"-1"==e)return[this.emoji("-1")];let i=e.toLowerCase().split(/[\s|,|\-|_]+/),n=[];i.length>2&&(i=[i[0],i[1]]);var r=null;return(r=(n=i.map(e=>{let t=this._emojis,i=this._searchIndex,n=0;for(let r=0;rr[e.id]-r[t.id])}t=i.emojis}return i.results}).filter(e=>e)).length>1?Rt.apply(null,n):n.length?n[0]:[])&&r.length>t&&(r=r.slice(0,t)),r}addCustomEmoji(e){let t=Object.assign({},e,{id:e.short_names[0],custom:!0});t.search||(t.search=Ra(t));let i=new RC(t);return this._emojis[i.id]=i,this._customCategory.emojis.push(i),i}addEmoji(e){let t=this._data.emojis[e];if(!this.isEmojiNeeded(t))return!1;let i=new RC(t);if(this._emojis[e]=i,i.native&&(this._nativeEmojis[i.native]=i),i._skins)for(let e in i._skins){let t=i._skins[e];t.native&&(this._nativeEmojis[t.native]=t)}return i.emoticons&&i.emoticons.forEach(t=>{this._emoticons[t]||(this._emoticons[t]=e)}),i}isCategoryNeeded(e){let t=!this._include||!this._include.length||this._include.indexOf(e)>-1,i=!!this._exclude&&!!this._exclude.length&&this._exclude.indexOf(e)>-1;return!!t&&!i}isEmojiNeeded(e){return!this._emojisFilter||this._emojisFilter(e)}}class RC{constructor(e){if(this._data=Object.assign({},e),this._skins=null,this._data.skin_variations)for(var t in this._skins=[],Rk){let i=Rk[t],n=this._data.skin_variations[i],r=Object.assign({},e);for(let e in n)r[e]=n[e];delete r.skin_variations,r.skin_tone=parseInt(t)+1,this._skins.push(new RC(r))}for(let e in this._sanitized=RE(this._data),this._sanitized)this[e]=this._sanitized[e];this.short_names=this._data.short_names,this.short_name=this._data.short_names[0],Object.freeze(this)}getSkin(e){return e&&"native"!=e&&this._skins?this._skins[e-1]:this}getPosition(){let e=Ry-1,t=+(100/e*this._data.sheet_x).toFixed(2),i=+(100/e*this._data.sheet_y).toFixed(2);return`${t}% ${i}%`}ariaLabel(){return[this.native].concat(this.short_names).filter(Boolean).join(", ")}}class RA{constructor(e,t,i,n,r,a,s){this._emoji=e,this._native=n,this._skin=t,this._set=i,this._fallback=r,this.canRender=this._canRender(),this.cssClass=this._cssClass(),this.cssStyle=this._cssStyle(s),this.content=this._content(),this.title=!0===a?e.short_name:null,this.ariaLabel=e.ariaLabel(),Object.freeze(this)}getEmoji(){return this._emoji.getSkin(this._skin)}_canRender(){return this._isCustom()||this._isNative()||this._hasEmoji()||this._fallback}_cssClass(){return["emoji-set-"+this._set,"emoji-type-"+this._emojiType()]}_cssStyle(e){let t={};return this._isCustom()?t={backgroundImage:"url("+this.getEmoji()._data.imageUrl+")",backgroundSize:"100%",width:e+"px",height:e+"px"}:this._hasEmoji()&&!this._isNative()&&(t={backgroundPosition:this.getEmoji().getPosition()}),e&&(t=this._isNative()?Object.assign(t,{fontSize:Math.round(.95*e*10)/10+"px"}):Object.assign(t,{width:e+"px",height:e+"px"})),t}_content(){return this._isCustom()?"":this._isNative()?this.getEmoji().native:this._hasEmoji()?"":this._fallback?this._fallback(this.getEmoji()):null}_isNative(){return this._native}_isCustom(){return this.getEmoji().custom}_hasEmoji(){if(!this.getEmoji()._data)return!1;let e=this.getEmoji()._data["has_img_"+this._set];return void 0===e||e}_emojiType(){return this._isCustom()?"custom":this._isNative()?"native":this._hasEmoji()?"image":"fallback"}}function RE(e){var{name:t,short_names:i,skin_tone:n,skin_variations:r,emoticons:a,unified:s,custom:o,imageUrl:l}=e,u=e.id||i[0],d=`:${u}:`;return o?{id:u,name:t,colons:d,emoticons:a,custom:o,imageUrl:l}:(n&&(d+=`:skin-tone-${n}:`),{id:u,name:t,colons:d,emoticons:a,unified:s.toLowerCase(),skin:n||(r?1:null),native:N7(s)})}function RS(e,t,i,n,r,a){return a.view.canRender?((0,z.uX)(),(0,z.Wv)((0,z.$y)(e.tag),{key:0,title:a.view.title,"aria-label":a.view.ariaLabel,"data-title":a.title,class:"emoji-mart-emoji",onMouseenter:a.onMouseEnter,onMouseleave:a.onMouseLeave,onClick:a.onClick},{default:(0,z.k6)(()=>[(0,z.Lk)("span",{class:(0,z.C4)(a.view.cssClass),style:(0,z.Tr)(a.view.cssStyle)},(0,z.v_)(a.view.content),7)]),_:1},40,["title","aria-label","data-title","onMouseenter","onMouseleave","onClick"])):(0,z.Q3)("",!0)}let Rx={perLine:{type:Number,default:9},maxSearchResults:{type:Number,default:75},emojiSize:{type:Number,default:24},title:{type:String,default:"Emoji Mart™"},emoji:{type:String,default:"department_store"},color:{type:String,default:"#ae65c5"},set:{type:String,default:"apple"},skin:{type:Number,default:null},defaultSkin:{type:Number,default:1},native:{type:Boolean,default:!1},emojiTooltip:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},i18n:{type:Object,default:()=>({})},showPreview:{type:Boolean,default:!0},showSearch:{type:Boolean,default:!0},showCategories:{type:Boolean,default:!0},showSkinTones:{type:Boolean,default:!0},infiniteScroll:{type:Boolean,default:!0},pickerStyles:{type:Object,default:()=>({})}},RD={props:{native:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!1},fallback:{type:Function},skin:{type:Number,default:1},set:{type:String,default:"apple"},emoji:{type:[String,Object],required:!0},size:{type:Number,default:null},tag:{type:String,default:"span"},data:{type:Object,required:!0}},emits:["click","mouseenter","mouseleave"],computed:{view(){return new RA(this.emojiObject,this.skin,this.set,this.native,this.fallback,this.tooltip,this.size)},sanitizedData(){return this.emojiObject._sanitized},title(){return this.tooltip?this.emojiObject.short_name:null},emojiObject(){return"string"==typeof this.emoji?this.data.findEmoji(this.emoji):this.emoji}},created(){},methods:{onClick(){this.$emit("click",this.emojiObject)},onMouseEnter(){this.$emit("mouseenter",this.emojiObject)},onMouseLeave(){this.$emit("mouseleave",this.emojiObject)}}},RT=(0,to.default)(RD,[["render",RS]]),RM={props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},id:{type:String,required:!0},name:{type:String,required:!0},emojis:{type:Array},emojiProps:{type:Object,required:!0}},methods:{activeClass:function(e){return this.emojiProps.selectedEmoji&&this.emojiProps.selectedEmojiCategory&&this.emojiProps.selectedEmoji.id==e.id&&this.emojiProps.selectedEmojiCategory.id==this.id?"emoji-mart-emoji-selected":""}},computed:{isVisible(){return!!this.emojis},isSearch(){return"Search"==this.name},hasResults(){return this.emojis.length>0},emojiObjects(){return this.emojis.map(e=>({emojiObject:e,emojiView:new RA(e,this.emojiProps.skin,this.emojiProps.set,this.emojiProps.native,this.emojiProps.fallback,this.emojiProps.emojiTooltip,this.emojiProps.emojiSize)}))}},components:{Emoji:RT}},RI=(0,to.default)(RM,[["render",N8]]),RB={class:"emoji-mart-preview"},RP={class:"emoji-mart-preview-emoji"},RL={class:"emoji-mart-preview-data"},RN={class:"emoji-mart-preview-name"},RR={class:"emoji-mart-preview-shortnames"},Rj={class:"emoji-mart-preview-emoticons"},RO={class:"emoji-mart-preview-emoji"},Rz={class:"emoji-mart-preview-data"},RU={class:"emoji-mart-title-label"},Rq={key:0,class:"emoji-mart-preview-skins"};function RW(e,t,i,n,r,a){let s=(0,z.g2)("emoji"),o=(0,z.g2)("skins");return(0,z.uX)(),(0,z.CE)("div",RB,[i.emoji?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.Lk)("div",RP,[(0,z.bF)(s,{data:i.data,emoji:i.emoji,native:i.emojiProps.native,skin:i.emojiProps.skin,set:i.emojiProps.set},null,8,["data","emoji","native","skin","set"])]),(0,z.Lk)("div",RL,[(0,z.Lk)("div",RN,(0,z.v_)(i.emoji.name),1),(0,z.Lk)("div",RR,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.emojiShortNames,e=>((0,z.uX)(),(0,z.CE)("span",{key:e,class:"emoji-mart-preview-shortname"},":"+(0,z.v_)(e)+":",1))),128))]),(0,z.Lk)("div",Rj,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.emojiEmoticons,e=>((0,z.uX)(),(0,z.CE)("span",{key:e,class:"emoji-mart-preview-emoticon"},(0,z.v_)(e),1))),128))])])],64)):((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.Lk)("div",RO,[(0,z.bF)(s,{data:i.data,emoji:i.idleEmoji,native:i.emojiProps.native,skin:i.emojiProps.skin,set:i.emojiProps.set},null,8,["data","emoji","native","skin","set"])]),(0,z.Lk)("div",Rz,[(0,z.Lk)("span",RU,(0,z.v_)(i.title),1)]),i.showSkinTones?((0,z.uX)(),(0,z.CE)("div",Rq,[(0,z.bF)(o,{skin:i.skinProps.skin,onChange:t[0]||(t[0]=e=>i.onSkinChange(e))},null,8,["skin"])])):(0,z.Q3)("",!0)],64))])}let RV=["onClick"];function RH(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)({"emoji-mart-skin-swatches":!0,"emoji-mart-skin-swatches-opened":r.opened})},[((0,z.uX)(),(0,z.CE)(z.FK,null,(0,z.pI)(6,e=>(0,z.Lk)("span",{key:e,class:(0,z.C4)({"emoji-mart-skin-swatch":!0,"emoji-mart-skin-swatch-selected":i.skin==e})},[(0,z.Lk)("span",{class:(0,z.C4)("emoji-mart-skin emoji-mart-skin-tone-"+e),onClick:t=>a.onClick(e)},null,10,RV)],2)),64))],2)}let R$={props:{skin:{type:Number,required:!0}},emits:["change"],data:()=>({opened:!1}),methods:{onClick(e){this.opened&&e!=this.skin&&this.$emit("change",e),this.opened=!this.opened}}},RG=(0,to.default)(R$,[["render",RH]]),RX={props:{data:{type:Object,required:!0},title:{type:String,required:!0},emoji:{type:[String,Object]},idleEmoji:{type:[String,Object],required:!0},showSkinTones:{type:Boolean,default:!0},emojiProps:{type:Object,required:!0},skinProps:{type:Object,required:!0},onSkinChange:{type:Function,required:!0}},computed:{emojiData(){return this.emoji?this.emoji:{}},emojiShortNames(){return this.emojiData.short_names},emojiEmoticons(){return this.emojiData.emoticons}},components:{Emoji:RT,Skins:RG}},RK=(0,to.default)(RX,[["render",RW]]),RY={class:"emoji-mart-search"},RQ=["placeholder"];function RZ(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("div",RY,[(0,z.bo)((0,z.Lk)("input",{type:"text",placeholder:i.i18n.search,role:"textbox","aria-autocomplete":"list","aria-owns":"emoji-mart-list","aria-label":"Search for an emoji","aria-describedby":"emoji-mart-search-description",onKeydown:[t[0]||(t[0]=(0,z.jR)(t=>e.$emit("arrowLeft",t),["left"])),t[1]||(t[1]=(0,z.jR)(()=>e.$emit("arrowRight"),["right"])),t[2]||(t[2]=(0,z.jR)(()=>e.$emit("arrowDown"),["down"])),t[3]||(t[3]=(0,z.jR)(t=>e.$emit("arrowUp",t),["up"])),t[4]||(t[4]=(0,z.jR)(()=>e.$emit("enter"),["enter"]))],"onUpdate:modelValue":t[5]||(t[5]=e=>r.value=e)},null,40,RQ),[[z.Jo,r.value]]),t[6]||(t[6]=(0,z.Lk)("span",{class:"hidden",id:"emoji-picker-search-description"},"Use the left, right, up and down arrow keys to navigate the emoji search results.",-1))])}let RJ={props:{data:{type:Object,required:!0},i18n:{type:Object,required:!0},autoFocus:{type:Boolean,default:!1},onSearch:{type:Function,required:!0},onArrowLeft:{type:Function,required:!1},onArrowRight:{type:Function,required:!1},onArrowDown:{type:Function,required:!1},onArrowUp:{type:Function,required:!1},onEnter:{type:Function,required:!1}},emits:["search","enter","arrowUp","arrowDown","arrowRight","arrowLeft"],data:()=>({value:""}),computed:{emojiIndex(){return this.data}},watch:{value(){this.$emit("search",this.value)}},methods:{clear(){this.value=""}},mounted(){let e=this.$el.querySelector("input");this.autoFocus&&e.focus()}},R0=(0,to.default)(RJ,[["render",RZ]]),R1={key:0,class:"emoji-mart-bar emoji-mart-bar-anchors"},R2={id:"emoji-mart-list",ref:"scrollContent",role:"listbox","aria-expanded":"true"},R3={key:0,class:"emoji-mart-bar emoji-mart-bar-preview"};function R4(e,t,i,n,r,a){let s=(0,z.g2)("anchors"),o=(0,z.g2)("search"),l=(0,z.g2)("category"),u=(0,z.g2)("preview");return(0,z.uX)(),(0,z.CE)("section",{class:"emoji-mart emoji-mart-static",style:(0,z.Tr)(a.customStyles)},[e.showCategories?((0,z.uX)(),(0,z.CE)("div",R1,[(0,z.bF)(s,{data:i.data,i18n:a.mergedI18n,color:e.color,categories:r.view.allCategories,"active-category":r.view.activeCategory,onClick:a.onAnchorClick},null,8,["data","i18n","color","categories","active-category","onClick"])])):(0,z.Q3)("",!0),(0,z.RG)(e.$slots,"searchTemplate",{data:i.data,i18n:e.i18n,autoFocus:e.autoFocus,onSearch:a.onSearch},()=>[e.showSearch?((0,z.uX)(),(0,z.Wv)(o,{key:0,ref:"search",data:i.data,i18n:a.mergedI18n,"auto-focus":e.autoFocus,"on-search":a.onSearch,onSearch:a.onSearch,onArrowLeft:a.onArrowLeft,onArrowRight:a.onArrowRight,onArrowDown:a.onArrowDown,onArrowUp:a.onArrowUp,onEnter:a.onEnter,onSelect:a.onTextSelect},null,8,["data","i18n","auto-focus","on-search","onSearch","onArrowLeft","onArrowRight","onArrowDown","onArrowUp","onEnter","onSelect"])):(0,z.Q3)("",!0)]),(0,z.Lk)("div",{role:"tabpanel",class:"emoji-mart-scroll",ref:"scroll",onScroll:t[0]||(t[0]=(...e)=>a.onScroll&&a.onScroll(...e))},[(0,z.Lk)("div",R2,[(0,z.RG)(e.$slots,"customCategory"),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(r.view.filteredCategories,(t,n)=>(0,z.bo)(((0,z.uX)(),(0,z.Wv)(l,{ref_for:!0,ref:"categories_"+n,key:t.id,data:i.data,i18n:a.mergedI18n,id:t.id,name:t.name,emojis:t.emojis,"emoji-props":a.emojiProps},null,8,["data","i18n","id","name","emojis","emoji-props"])),[[z.aG,e.infiniteScroll||t==r.view.activeCategory||a.isSearching]])),128))],512)],544),(0,z.RG)(e.$slots,"previewTemplate",{data:i.data,title:e.title,emoji:r.view.previewEmoji,idleEmoji:a.idleEmoji,showSkinTones:e.showSkinTones,emojiProps:a.emojiProps,skinProps:a.skinProps,onSkinChange:a.onSkinChange},()=>[e.showPreview?((0,z.uX)(),(0,z.CE)("div",R3,[(0,z.bF)(u,{data:i.data,title:e.title,emoji:r.view.previewEmoji,"idle-emoji":a.idleEmoji,"show-skin-tones":e.showSkinTones,"emoji-props":a.emojiProps,"skin-props":a.skinProps,"on-skin-change":a.onSkinChange},null,8,["data","title","emoji","idle-emoji","show-skin-tones","emoji-props","skin-props","on-skin-change"])])):(0,z.Q3)("",!0)])],4)}__webpack_require__(62379);class R6{constructor(e){this._vm=e,this._data=e.data,this._perLine=e.perLine,this._categories=[],this._categories.push(...this._data.categories()),this._categories=this._categories.filter(e=>e.emojis.length>0),this._categories[0].first=!0,Object.freeze(this._categories),this.activeCategory=this._categories[0],this.searchEmojis=null,this.previewEmoji=null,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=-1}onScroll(){let e=this._vm.$refs.scroll;if(!e)return;let t=e.scrollTop,i=this.filteredCategories[0];for(let e=0,n=this.filteredCategories.length;et)break;i=n}this.activeCategory=i}get allCategories(){return this._categories}get filteredCategories(){return this.searchEmojis?[{id:"search",name:"Search",emojis:this.searchEmojis}]:this._categories.filter(e=>e.emojis.length>0)}get previewEmojiCategory(){return this.previewEmojiCategoryIdx>=0?this.filteredCategories[this.previewEmojiCategoryIdx]:null}onAnchorClick(e){if(this.searchEmojis)return;let t=this.filteredCategories.indexOf(e),i=this._vm.getCategoryComponent(t),n=()=>{if(i){let t=i.$el.offsetTop;e.first&&(t=0),this._vm.$refs.scroll.scrollTop=t}};this._vm.infiniteScroll?n():this.activeCategory=this.filteredCategories[t]}onSearch(e){let t=this._data.search(e,this.maxSearchResults);this.searchEmojis=t,this.previewEmojiCategoryIdx=0,this.previewEmojiIdx=0,this.updatePreviewEmoji()}onEmojiEnter(e){this.previewEmoji=e,this.previewEmojiIdx=-1,this.previewEmojiCategoryIdx=-1}onEmojiLeave(e){this.previewEmoji=null}onArrowLeft(){this.previewEmojiIdx>0?this.previewEmojiIdx-=1:(this.previewEmojiCategoryIdx-=1,this.previewEmojiCategoryIdx<0?this.previewEmojiCategoryIdx=0:this.previewEmojiIdx=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length-1),this.updatePreviewEmoji()}onArrowRight(){this.previewEmojiIdx=this.filteredCategories.length?this.previewEmojiCategoryIdx=this.filteredCategories.length-1:this.previewEmojiIdx=0),this.updatePreviewEmoji()}onArrowDown(){if(-1==this.previewEmojiIdx)return this.onArrowRight();let e=this.filteredCategories[this.previewEmojiCategoryIdx].emojis.length,t=this._perLine;this.previewEmojiIdx+t>e&&(t=e%this._perLine);for(let e=0;e0?this.filteredCategories[this.previewEmojiCategoryIdx-1].emojis.length%this._perLine:0);for(let t=0;t{let e=this._vm.$refs.scroll,t=e.querySelector(".emoji-mart-emoji-selected"),i=e.offsetTop-e.offsetHeight;t&&t.offsetTop+t.offsetHeight>i+e.scrollTop&&(e.scrollTop+=t.offsetHeight),t&&t.offsetTope.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",js,[i.title?((0,z.uX)(),(0,z.CE)("title",jo,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ja))],16,jr)}let ju=(0,e4._)(jn,[["render",jl]]);(0,Sr.r)(Sr.v,Sr.u,Sr.s,Sr.q);let jd={search:(0,Sr.a)("Search emoji"),notfound:(0,Sr.a)("No emoji found"),categories:{search:(0,Sr.a)("Search results"),recent:(0,Sr.a)("Frequently used"),smileys:(0,Sr.a)("Smileys & Emotion"),people:(0,Sr.a)("People & Body"),nature:(0,Sr.a)("Animals & Nature"),foods:(0,Sr.a)("Food & Drink"),activity:(0,Sr.a)("Activities"),places:(0,Sr.a)("Travel & Places"),objects:(0,Sr.a)("Objects"),symbols:(0,Sr.a)("Symbols"),flags:(0,Sr.a)("Flags"),custom:(0,Sr.a)("Custom")}},jc=[new TA.C(255,222,52,(0,Sr.a)("Neutral skin color")),new TA.C(228,205,166,(0,Sr.a)("Light skin tone")),new TA.C(250,221,192,(0,Sr.a)("Medium light skin tone")),new TA.C(174,129,87,(0,Sr.a)("Medium skin tone")),new TA.C(158,113,88,(0,Sr.a)("Medium dark skin tone")),new TA.C(96,79,69,(0,Sr.a)("Dark skin tone"))],jh={name:"NcEmojiPicker",components:{IconCircle:ju,NcButton:TQ.N,NcColorPicker:je.N,NcPopover:ST.N,NcTextField:ji._,Emoji:RT,Picker:R9},props:{activeSet:{type:String,default:"native"},showPreview:{type:Boolean,default:!1},allowUnselect:{type:Boolean,default:!1},selectedEmoji:{type:String,default:""},previewFallbackEmoji:{type:String,default:"grinning"},previewFallbackName:{type:String,default:(0,Sr.a)("Pick an emoji")},closeOnSelect:{type:Boolean,default:!0},container:{type:[Boolean,String,Object,Element],default:"body"}},emits:["select","selectData","unselect"],setup:()=>(E||(E=new Rw(NU)),{emojiIndex:E,skinTonePalette:jc,i18n:jd}),data(){let e=NH();return{currentColor:jc[e-1],currentSkinTone:e,search:"",open:!1}},computed:{native(){return"native"===this.activeSet}},created(){(0,jt.u)(()=>this.open)},methods:{t:Sr.a,clearSearch(){this.search="",this.$refs.search.focus()},onChangeSkinTone(e){let t=this.skinTonePalette.findIndex(t=>t.color.toLowerCase()===e.toLowerCase());t>-1&&(this.currentSkinTone=t+1,this.currentColor=this.skinTonePalette[t],N$(this.currentSkinTone))},select(e){this.$emit("select",e.native),this.$emit("selectData",e),this.closeOnSelect&&(this.open=!1)},unselect(){this.$emit("unselect")},afterShow(){this.$refs.search.focus()},afterHide(){(!document.activeElement||this.$refs.picker.$el.contains(document.activeElement)||!(0,R7.tp)(document.activeElement))&&this.$refs.popover.$el.querySelector('button, [role="button"]')?.focus()},handleTabNavigationSkippingEmojis(e){let t=e.target,i=Array.from(this.$refs.picker.$el.querySelectorAll("button:not(.emoji-mart-emoji), input"));e.shiftKey?(i.findLast(e=>t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)||i.at(-1)).focus():(i.find(e=>t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)||i[0]).focus()},async callPickerArrowHandlerWithScrollFix(e,t){this.$refs.picker[e](t),await this.$nextTick();let i=this.$refs.picker.$el.querySelector(".emoji-mart-emoji-selected");i?.scrollIntoView({block:"center",inline:"center"})}}},jf={class:"nc-emoji-picker-container"},jm={class:"search__wrapper"},jg={class:"emoji-mart-category-label"},jp={class:"emoji-mart-category-label"};function j_(e,t,i,n,r,a){let s=(0,z.g2)("NcTextField"),o=(0,z.g2)("IconCircle"),l=(0,z.g2)("NcButton"),u=(0,z.g2)("NcColorPicker"),d=(0,z.g2)("Emoji"),c=(0,z.g2)("Picker"),h=(0,z.g2)("NcPopover");return(0,z.uX)(),(0,z.Wv)(h,{ref:"popover",shown:r.open,"onUpdate:shown":t[6]||(t[6]=e=>r.open=e),container:i.container,popupRole:"dialog",noFocusTrap:!0,onAfterShow:a.afterShow,onAfterHide:a.afterHide},{trigger:(0,z.k6)(t=>[(0,z.RG)(e.$slots,"default",(0,z._B)((0,z.Ng)(t)),void 0,!0)]),default:(0,z.k6)(()=>[(0,z.Lk)("div",jf,[(0,z.bF)(c,(0,z.v6)({ref:"picker",color:"var(--color-primary-element)",data:n.emojiIndex,emoji:i.previewFallbackEmoji,i18n:n.i18n,native:a.native,emojiSize:20,perLine:8,pickerStyles:{width:"320px"},showPreview:i.showPreview,skin:r.currentSkinTone,showSkinTones:!1,title:i.previewFallbackName,role:"dialog","aria-modal":"true","aria-label":a.t("Emoji picker")},e.$attrs,{onKeydown:(0,z.jR)((0,z.D$)(a.handleTabNavigationSkippingEmojis,["prevent"]),["tab"]),onSelect:a.select}),(0,z.eX)({searchTemplate:(0,z.k6)(({onSearch:d})=>[(0,z.Lk)("div",jm,[(0,z.bF)(s,{ref:"search",modelValue:r.search,"onUpdate:modelValue":[t[0]||(t[0]=e=>r.search=e),e=>d(r.search)],class:"search",label:a.t("Search"),labelVisible:!0,placeholder:n.i18n.search,trailingButtonIcon:"close",trailingButtonLabel:a.t("Clear search"),showTrailingButton:""!==r.search,onKeydown:[t[1]||(t[1]=(0,z.jR)(e=>a.callPickerArrowHandlerWithScrollFix("onArrowLeft",e),["left"])),t[2]||(t[2]=(0,z.jR)(e=>a.callPickerArrowHandlerWithScrollFix("onArrowRight",e),["right"])),t[3]||(t[3]=(0,z.jR)(e=>a.callPickerArrowHandlerWithScrollFix("onArrowDown",e),["down"])),t[4]||(t[4]=(0,z.jR)(e=>a.callPickerArrowHandlerWithScrollFix("onArrowUp",e),["up"])),t[5]||(t[5]=(0,z.jR)(t=>e.$refs.picker.onEnter(t),["enter"]))],onTrailingButtonClick:e=>{a.clearSearch(),d("")}},null,8,["modelValue","label","placeholder","trailingButtonLabel","showTrailingButton","onTrailingButtonClick","onUpdate:modelValue"]),(0,z.bF)(u,{paletteOnly:"",container:i.container,palette:n.skinTonePalette,modelValue:r.currentColor.color,"onUpdate:modelValue":a.onChangeSkinTone},{default:(0,z.k6)(()=>[(0,z.bF)(l,{"aria-label":a.t("Skin tone"),variant:"tertiary-no-background"},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{style:(0,z.Tr)({color:r.currentColor.color}),title:r.currentColor.name,size:20},null,8,["style","title"])]),_:1},8,["aria-label"])]),_:1},8,["container","palette","modelValue","onUpdate:modelValue"])])]),_:2},[i.allowUnselect&&i.selectedEmoji?{name:"customCategory",fn:(0,z.k6)(()=>[(0,z.Lk)("div",jg,[(0,z.Lk)("h3",jp,(0,z.v_)(a.t("Selected")),1)]),(0,z.bF)(d,{class:"emoji-selected",data:n.emojiIndex,emoji:i.selectedEmoji,native:"",size:32,onClick:a.unselect},null,8,["data","emoji","onClick"]),(0,z.bF)(d,{class:"emoji-delete",data:n.emojiIndex,emoji:":x:",native:"",size:10,onClick:a.unselect},null,8,["data","onClick"])]),key:"0"}:void 0]),1040,["data","emoji","i18n","native","showPreview","skin","title","aria-label","onKeydown","onSelect"])])]),_:3},8,["shown","container","onAfterShow","onAfterHide"])}let jv=(0,e4._)(jh,[["render",j_],["__scopeId","data-v-11acdb77"]]),jb=["aria-hidden","aria-label"],jy=["fill","width","height"],jF={d:"M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z"},jk={key:0};function jw(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon alarm-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",jF,[i.title?((0,z.uX)(),(0,z.CE)("title",jk,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,jy))],16,jb)}let jC={name:"AlarmIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},jA=(0,to.default)(jC,[["render",jw]]),jE=["aria-hidden","aria-label"],jS=["fill","width","height"],jx={d:"M20 13.5V20H18V13.5C18 11 16 9 13.5 9H7.83L10.91 12.09L9.5 13.5L4 8L9.5 2.5L10.92 3.91L7.83 7H13.5C17.09 7 20 9.91 20 13.5Z"},jD={key:0};function jT(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon arrow-left-top-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",jx,[i.title?((0,z.uX)(),(0,z.CE)("title",jD,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,jS))],16,jE)}let jM={name:"ArrowLeftTopIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},jI=(0,to.default)(jM,[["render",jT]]),jB=["aria-hidden","aria-label"],jP=["fill","width","height"],jL={d:"M20 8L14.5 13.5L13.09 12.09L16.17 9H10.5C8 9 6 11 6 13.5V20H4V13.5C4 9.91 6.91 7 10.5 7H16.17L13.08 3.91L14.5 2.5L20 8Z"},jN={key:0};function jR(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon arrow-right-top-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",jL,[i.title?((0,z.uX)(),(0,z.CE)("title",jN,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,jP))],16,jB)}let jj={name:"ArrowRightTopIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},jO=(0,to.default)(jj,[["render",jR]]),jz=["aria-hidden","aria-label"],jU=["fill","width","height"],jq={d:"M22.11,21.46L2.39,1.73L1.11,3L5.83,7.72C5.29,8.73 5,9.86 5,11V17L3,19V20H18.11L20.84,22.73L22.11,21.46M7,18V11C7,10.39 7.11,9.79 7.34,9.23L16.11,18H7M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M8.29,5.09C8.82,4.75 9.4,4.5 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V15.8L17,13.8V11A5,5 0 0,0 12,6C11.22,6 10.45,6.2 9.76,6.56L8.29,5.09Z"},jW={key:0};function jV(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon bell-off-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",jq,[i.title?((0,z.uX)(),(0,z.CE)("title",jW,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,jU))],16,jz)}let jH={name:"BellOffOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},j$=(0,to.default)(jH,[["render",jV]]),jG=["aria-hidden","aria-label"],jX=["fill","width","height"],jK={d:"M6 1V3H5C3.89 3 3 3.89 3 5V19C3 20.1 3.89 21 5 21H11.1C12.36 22.24 14.09 23 16 23C19.87 23 23 19.87 23 16C23 14.09 22.24 12.36 21 11.1V5C21 3.9 20.11 3 19 3H18V1H16V3H8V1M5 5H19V7H5M5 9H19V9.67C18.09 9.24 17.07 9 16 9C12.13 9 9 12.13 9 16C9 17.07 9.24 18.09 9.67 19H5M16 11.15C18.68 11.15 20.85 13.32 20.85 16C20.85 18.68 18.68 20.85 16 20.85C13.32 20.85 11.15 18.68 11.15 16C11.15 13.32 13.32 11.15 16 11.15M15 13V16.69L18.19 18.53L18.94 17.23L16.5 15.82V13Z"},jY={key:0};function jQ(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon calendar-clock-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",jK,[i.title?((0,z.uX)(),(0,z.CE)("title",jY,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,jX))],16,jG)}let jZ={name:"CalendarClockOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},jJ=(0,to.default)(jZ,[["render",jQ]]),j0=["aria-hidden","aria-label"],j1=["fill","width","height"],j2={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},j3={key:0};function j4(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon check-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",j2,[i.title?((0,z.uX)(),(0,z.CE)("title",j3,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,j1))],16,j0)}let j6={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},j5=(0,to.default)(j6,[["render",j4]]),j8=["aria-hidden","aria-label"],j9=["fill","width","height"],j7={d:"M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z"},Oe={key:0};function Ot(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon check-all-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",j7,[i.title?((0,z.uX)(),(0,z.CE)("title",Oe,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,j9))],16,j8)}let Oi={name:"CheckAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},On=(0,to.default)(Oi,[["render",Ot]]),Or=["aria-hidden","aria-label"],Oa=["fill","width","height"],Os={d:"M21 13.1C20.9 13.1 20.7 13.2 20.6 13.3L19.6 14.3L21.7 16.4L22.7 15.4C22.9 15.2 22.9 14.8 22.7 14.6L21.4 13.3C21.3 13.2 21.2 13.1 21 13.1M19.1 14.9L13 20.9V23H15.1L21.2 16.9L19.1 14.9M12.5 7V12.2L16.5 14.6L15.5 15.6L11 13V7H12.5M11 21.9C5.9 21.4 2 17.1 2 12C2 6.5 6.5 2 12 2C17.3 2 21.6 6.1 22 11.3C21.7 11.2 21.4 11.1 21 11.1C20.6 11.1 20.3 11.2 20 11.3C19.6 7.2 16.2 4 12 4C7.6 4 4 7.6 4 12C4 16.1 7.1 19.5 11.1 19.9L11 20.1V21.9Z"},Oo={key:0};function Ol(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon clock-edit-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Os,[i.title?((0,z.uX)(),(0,z.CE)("title",Oo,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Oa))],16,Or)}let Ou={name:"ClockEditOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Od=(0,to.default)(Ou,[["render",Ol]]),Oc=["aria-hidden","aria-label"],Oh=["fill","width","height"],Of={d:"M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z"},Om={key:0};function Og(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon clock-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Of,[i.title?((0,z.uX)(),(0,z.CE)("title",Om,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Oh))],16,Oc)}let Op={name:"ClockOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},O_=(0,to.default)(Op,[["render",Og]]),Ov=["aria-hidden","aria-label"],Ob=["fill","width","height"],Oy={d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z"},OF={key:0};function Ok(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon close-circle-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Oy,[i.title?((0,z.uX)(),(0,z.CE)("title",OF,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Ob))],16,Ov)}let Ow={name:"CloseCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},OA=(0,to.default)(Ow,[["render",Ok]]),OE=["aria-hidden","aria-label"],OS=["fill","width","height"],Ox={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},OD={key:0};function OT(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon content-copy-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Ox,[i.title?((0,z.uX)(),(0,z.CE)("title",OD,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,OS))],16,OE)}let OM={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},OI=(0,to.default)(OM,[["render",OT]]),OB=["aria-hidden","aria-label"],OP=["fill","width","height"],OL={d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"},ON={key:0};function OR(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon dots-horizontal-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",OL,[i.title?((0,z.uX)(),(0,z.CE)("title",ON,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,OP))],16,OB)}let Oj={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},OO=(0,to.default)(Oj,[["render",OR]]),Oz=["aria-hidden","aria-label"],OU=["fill","width","height"],Oq={d:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z"},OW={key:0};function OV(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon file-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Oq,[i.title?((0,z.uX)(),(0,z.CE)("title",OW,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,OU))],16,Oz)}let OH={name:"FileOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},O$=(0,to.default)(OH,[["render",OV]]),OG=["aria-hidden","aria-label"],OX=["fill","width","height"],OK={d:"M15,4V11H5.17L4,12.17V4H15M16,2H3A1,1 0 0,0 2,3V17L6,13H16A1,1 0 0,0 17,12V3A1,1 0 0,0 16,2M21,6H19V15H6V17A1,1 0 0,0 7,18H18L22,22V7A1,1 0 0,0 21,6Z"},OY={key:0};function OQ(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon forum-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",OK,[i.title?((0,z.uX)(),(0,z.CE)("title",OY,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,OX))],16,OG)}let OZ={name:"ForumOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},OJ=(0,to.default)(OZ,[["render",OQ]]),O0=["aria-hidden","aria-label"],O1=["fill","width","height"],O2={d:"M22 7V16C22 17.1 21.1 18 20 18H6L2 22V4C2 2.9 2.9 2 4 2H14.1C14 2.3 14 2.7 14 3S14 3.7 14.1 4H4V16H20V7.9C20.7 7.8 21.4 7.4 22 7M16 3C16 4.7 17.3 6 19 6S22 4.7 22 3 20.7 0 19 0 16 1.3 16 3Z"},O3={key:0};function O4(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon message-badge-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",O2,[i.title?((0,z.uX)(),(0,z.CE)("title",O3,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,O1))],16,O0)}let O6={name:"MessageBadgeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},O5=(0,to.default)(O6,[["render",O4]]),O8=["aria-hidden","aria-label"],O9=["fill","width","height"],O7={d:"M18.13 12L19.39 10.74C19.83 10.3 20.39 10.06 21 10V9L15 3H5C3.89 3 3 3.89 3 5V19C3 20.1 3.89 21 5 21H11V19.13L11.13 19H5V5H12V12H18.13M14 4.5L19.5 10H14V4.5M19.13 13.83L21.17 15.87L15.04 22H13V19.96L19.13 13.83M22.85 14.19L21.87 15.17L19.83 13.13L20.81 12.15C21 11.95 21.33 11.95 21.53 12.15L22.85 13.47C23.05 13.67 23.05 14 22.85 14.19Z"},ze={key:0};function zt(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon note-edit-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",O7,[i.title?((0,z.uX)(),(0,z.CE)("title",ze,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,O9))],16,O8)}let zi={name:"NoteEditOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zn=(0,to.default)(zi,[["render",zt]]),zr=["aria-hidden","aria-label"],za=["fill","width","height"],zs={d:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"},zo={key:0};function zl(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon open-in-new-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",zs,[i.title?((0,z.uX)(),(0,z.CE)("title",zo,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,za))],16,zr)}let zu={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zd=(0,to.default)(zu,[["render",zl]]),zc=["aria-hidden","aria-label"],zh=["fill","width","height"],zf={d:"M14.06,9L15,9.94L5.92,19H5V18.08L14.06,9M17.66,3C17.41,3 17.15,3.1 16.96,3.29L15.13,5.12L18.88,8.87L20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18.17,3.09 17.92,3 17.66,3M14.06,6.19L3,17.25V21H6.75L17.81,9.94L14.06,6.19Z"},zm={key:0};function zg(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon pencil-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",zf,[i.title?((0,z.uX)(),(0,z.CE)("title",zm,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,zh))],16,zc)}let zp={name:"PencilOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},z_=(0,to.default)(zp,[["render",zg]]),zv=["aria-hidden","aria-label"],zb=["fill","width","height"],zy={d:"M8,6.2V4H7V2H17V4H16V12L18,14V16H17.8L14,12.2V4H10V8.2L8,6.2M20,20.7L18.7,22L12.8,16.1V22H11.2V16H6V14L8,12V11.3L2,5.3L3.3,4L20,20.7M8.8,14H10.6L9.7,13.1L8.8,14Z"},zF={key:0};function zk(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon pin-off-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",zy,[i.title?((0,z.uX)(),(0,z.CE)("title",zF,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,zb))],16,zv)}let zw={name:"PinOffOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zC=(0,to.default)(zw,[["render",zk]]),zA=["aria-hidden","aria-label"],zE=["fill","width","height"],zS={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},zx={key:0};function zD(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon plus-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",zS,[i.title?((0,z.uX)(),(0,z.CE)("title",zx,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,zE))],16,zA)}let zT={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zM=(0,to.default)(zT,[["render",zD]]),zI=["aria-hidden","aria-label"],zB=["fill","width","height"],zP={d:"M12.87,15.07L10.33,12.56L10.36,12.53C12.1,10.59 13.34,8.36 14.07,6H17V4H10V2H8V4H1V6H12.17C11.5,7.92 10.44,9.75 9,11.35C8.07,10.32 7.3,9.19 6.69,8H4.69C5.42,9.63 6.42,11.17 7.67,12.56L2.58,17.58L4,19L9,14L12.11,17.11L12.87,15.07M18.5,10H16.5L12,22H14L15.12,19H19.87L21,22H23L18.5,10M15.88,17L17.5,12.67L19.12,17H15.88Z"},zL={key:0};function zN(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon translate-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",zP,[i.title?((0,z.uX)(),(0,z.CE)("title",zL,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,zB))],16,zI)}let zR={name:"TranslateIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zj=(0,to.default)(zR,[["render",zN]]),zO=["aria-hidden","aria-label"],zz=["fill","width","height"],zU={d:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z"},zq={key:0};function zW(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon trash-can-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",zU,[i.title?((0,z.uX)(),(0,z.CE)("title",zq,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,zz))],16,zO)}let zV={name:"TrashCanOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zH=(0,to.default)(zV,[["render",zW]]),z$={class:"translate-dialog__wrapper"};function zG(e,t,i,n,r,a){let s=(0,z.g2)("NcSelect"),o=(0,z.g2)("IconArrowRight"),l=(0,z.g2)("NcLoadingIcon"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("NcRichText"),c=(0,z.g2)("IconContentCopy"),h=(0,z.g2)("NcDialog");return(0,z.uX)(),(0,z.Wv)(h,{class:"translate-dialog",name:a.t("spreed","Translate message"),size:"large",closeOnClickOutside:"","onUpdate:open":t[2]||(t[2]=t=>e.$emit("close"))},(0,z.eX)({_:2},[r.isMounted?{name:"default",fn:(0,z.k6)(()=>[(0,z.Lk)("div",z$,[(0,z.bF)(s,{modelValue:r.selectedFrom,"onUpdate:modelValue":t[0]||(t[0]=e=>r.selectedFrom=e),class:"translate-dialog__select",inputId:"from","aria-label-combobox":a.t("spreed","Source language to translate from"),placeholder:a.t("spreed","Translate from"),options:a.optionsFrom,noWrap:""},null,8,["modelValue","aria-label-combobox","placeholder","options"]),(0,z.bF)(o,{class:"bidirectional-icon"}),(0,z.bF)(s,{modelValue:r.selectedTo,"onUpdate:modelValue":t[1]||(t[1]=e=>r.selectedTo=e),class:"translate-dialog__select",inputId:"to","aria-label-combobox":a.t("spreed","Target language to translate into"),placeholder:a.t("spreed","Translate to"),options:a.optionsTo,noWrap:""},null,8,["modelValue","aria-label-combobox","placeholder","options"]),(0,z.bF)(u,{variant:"primary",disabled:r.isLoading,class:"translate-dialog__button",onClick:a.handleTranslate},(0,z.eX)({default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(r.isLoading?a.t("spreed","Translating"):a.t("spreed","Translate")),1)]),_:2},[r.isLoading?{name:"icon",fn:(0,z.k6)(()=>[(0,z.bF)(l)]),key:"0"}:void 0]),1032,["disabled","onClick"])]),(0,z.bF)(d,{class:"translate-dialog__message translate-dialog__message-source",text:i.message,arguments:i.richParameters,referenceLimit:0},null,8,["text","arguments"]),r.translatedMessage?((0,z.uX)(),(0,z.Wv)(d,{key:0,class:"translate-dialog__message translate-dialog__message-translation",text:r.translatedMessage,arguments:i.richParameters,referenceLimit:0},null,8,["text","arguments"])):(0,z.Q3)("",!0)]),key:"0"}:void 0,r.translatedMessage?{name:"actions",fn:(0,z.k6)(()=>[(0,z.bF)(u,{onClick:a.handleCopyTranslation},{icon:(0,z.k6)(()=>[(0,z.bF)(c)]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Copy translated text")),1)]),_:1},8,["onClick"])]),key:"1"}:void 0]),1032,["name"])}let zX="object"==typeof self?self:globalThis,zK=(e,t)=>{let i=(t,i)=>(e.set(i,t),t),n=r=>{if(e.has(r))return e.get(r);let[a,s]=t[r];switch(a){case 0:case -1:return i(s,r);case 1:{let e=i([],r);for(let t of s)e.push(n(t));return e}case 2:{let e=i({},r);for(let[t,i]of s)e[n(t)]=n(i);return e}case 3:return i(new Date(s),r);case 4:{let{source:e,flags:t}=s;return i(new RegExp(e,t),r)}case 5:{let e=i(new Map,r);for(let[t,i]of s)e.set(n(t),n(i));return e}case 6:{let e=i(new Set,r);for(let t of s)e.add(n(t));return e}case 7:{let{name:e,message:t}=s;return i(new zX[e](t),r)}case 8:return i(BigInt(s),r);case"BigInt":return i(Object(BigInt(s)),r)}return i(new zX[a](s),r)};return n},zY=e=>zK(new Map,e)(0),zQ="",{toString:zZ}={},{keys:zJ}=Object,z0=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let i=zZ.call(e).slice(8,-1);switch(i){case"Array":return[1,zQ];case"Object":return[2,zQ];case"Date":return[3,zQ];case"RegExp":return[4,zQ];case"Map":return[5,zQ];case"Set":return[6,zQ]}return i.includes("Array")?[1,i]:i.includes("Error")?[7,i]:[2,i]},z1=([e,t])=>0===e&&("function"===t||"symbol"===t),z2=(e,t,i,n)=>{let r=(e,t)=>{let r=n.push(e)-1;return i.set(t,r),r},a=n=>{if(i.has(n))return i.get(n);let[s,o]=z0(n);switch(s){case 0:{let t=n;switch(o){case"bigint":s=8,t=n.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+o);t=null;break;case"undefined":return r([-1],n)}return r([s,t],n)}case 1:{if(o)return r([o,[...n]],n);let e=[],t=r([s,e],n);for(let t of n)e.push(a(t));return t}case 2:{if(o)switch(o){case"BigInt":return r([o,n.toString()],n);case"Boolean":case"Number":case"String":return r([o,n.valueOf()],n)}if(t&&"toJSON"in n)return a(n.toJSON());let i=[],l=r([s,i],n);for(let t of zJ(n))(e||!z1(z0(n[t])))&&i.push([a(t),a(n[t])]);return l}case 3:return r([s,n.toISOString()],n);case 4:{let{source:e,flags:t}=n;return r([s,{source:e,flags:t}],n)}case 5:{let t=[],i=r([s,t],n);for(let[i,r]of n)(e||!(z1(z0(i))||z1(z0(r))))&&t.push([a(i),a(r)]);return i}case 6:{let t=[],i=r([s,t],n);for(let i of n)(e||!z1(z0(i)))&&t.push(a(i));return i}}let{message:l}=n;return r([s,{name:o,message:l}],n)};return a},z3=(e,{json:t,lossy:i}={})=>{let n=[];return z2(!(t||i),!!t,new Map,n)(e),n},z4="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?zY(z3(e,t)):structuredClone(e):(e,t)=>zY(z3(e,t));var z6=__webpack_require__(29747);let z5=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,z8=/^[a-zA-Z]:\\/;function z9(e){if("string"!=typeof e)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!z8.test(e)&&z5.test(e)}function z7(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ue(e){return e.join(" ").trim()}let Ut=["http","https"],Ui=["nofollow"],Un={};function Ur(e){let t=e||Un,i=t.protocols||Ut,n=(0,z6.a)(t.test);return function(e){(0,Th.YR)(e,"element",function(e,r,a){if("a"===e.tagName&&"string"==typeof e.properties.href&&n(e,r,a)){let n=e.properties.href;if(z9(n)?i.includes(n.slice(0,n.indexOf(":"))):n.startsWith("//")){let i=Ua(t.content,e),n=i&&!Array.isArray(i)?[i]:i,r=Ua(t.rel,e)||Ui,a="string"==typeof r?z7(r):r,s=Ua(t.target,e),o=Ua(t.properties,e);if(o&&Object.assign(e.properties,z4(o)),a.length>0&&(e.properties.rel=[...a]),s&&(e.properties.target=s),n){let i=Ua(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:z4(i),children:z4(n)})}}}})}}function Ua(e,t){return"function"==typeof e?e(t):e}function Us(e,t){let i=t||{};return(""===e[e.length-1]?[...e,""]:e).join((i.padRight?" ":"")+","+(!1===i.padLeft?"":" ")).trim()}var Uo=__webpack_require__(97471);let Ul=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Uu=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ud={};function Uc(e,t){return((t||Ud).jsx?Uu:Ul).test(e)}let Uh=/[ \t\n\f\r]/g;function Uf(e){return"object"==typeof e?"text"===e.type&&Um(e.value):Um(e)}function Um(e){return""===e.replace(Uh,"")}class Ug{constructor(e,t,i){this.normal=t,this.property=e,i&&(this.space=i)}}function Up(e,t){let i={},n={};for(let t of e)Object.assign(i,t.property),Object.assign(n,t.normal);return new Ug(i,n,t)}function U_(e){return e.toLowerCase()}Ug.prototype.normal={},Ug.prototype.property={},Ug.prototype.space=void 0;class Uv{constructor(e,t){this.attribute=t,this.property=e}}Uv.prototype.attribute="",Uv.prototype.booleanish=!1,Uv.prototype.boolean=!1,Uv.prototype.commaOrSpaceSeparated=!1,Uv.prototype.commaSeparated=!1,Uv.prototype.defined=!1,Uv.prototype.mustUseProperty=!1,Uv.prototype.number=!1,Uv.prototype.overloadedBoolean=!1,Uv.prototype.property="",Uv.prototype.spaceSeparated=!1,Uv.prototype.space=void 0;let Ub=0,Uy=US(),UF=US(),Uk=US(),Uw=US(),UC=US(),UA=US(),UE=US();function US(){return 2**++Ub}let Ux=Object.keys(N);class UD extends Uv{constructor(e,t,i,n){let r=-1;if(super(e,t),UT(this,"space",n),"number"==typeof i)for(;++r"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function UB(e,t){return t in e?e[t]:t}function UP(e,t){return UB(e,t.toLowerCase())}let UL=UM({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:UA,acceptCharset:UC,accessKey:UC,action:null,allow:null,allowFullScreen:Uy,allowPaymentRequest:Uy,allowUserMedia:Uy,alt:null,as:null,async:Uy,autoCapitalize:null,autoComplete:UC,autoFocus:Uy,autoPlay:Uy,blocking:UC,capture:null,charSet:null,checked:Uy,cite:null,className:UC,cols:Uw,colSpan:null,content:null,contentEditable:UF,controls:Uy,controlsList:UC,coords:Uw|UA,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Uy,defer:Uy,dir:null,dirName:null,disabled:Uy,download:Uk,draggable:UF,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Uy,formTarget:null,headers:UC,height:Uw,hidden:Uk,high:Uw,href:null,hrefLang:null,htmlFor:UC,httpEquiv:UC,id:null,imageSizes:null,imageSrcSet:null,inert:Uy,inputMode:null,integrity:null,is:null,isMap:Uy,itemId:null,itemProp:UC,itemRef:UC,itemScope:Uy,itemType:UC,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Uy,low:Uw,manifest:null,max:null,maxLength:Uw,media:null,method:null,min:null,minLength:Uw,multiple:Uy,muted:Uy,name:null,nonce:null,noModule:Uy,noValidate:Uy,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Uy,optimum:Uw,pattern:null,ping:UC,placeholder:null,playsInline:Uy,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Uy,referrerPolicy:null,rel:UC,required:Uy,reversed:Uy,rows:Uw,rowSpan:Uw,sandbox:UC,scope:null,scoped:Uy,seamless:Uy,selected:Uy,shadowRootClonable:Uy,shadowRootDelegatesFocus:Uy,shadowRootMode:null,shape:null,size:Uw,sizes:null,slot:null,span:Uw,spellCheck:UF,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Uw,step:null,style:null,tabIndex:Uw,target:null,title:null,translate:null,type:null,typeMustMatch:Uy,useMap:null,value:UF,width:Uw,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:UC,axis:null,background:null,bgColor:null,border:Uw,borderColor:null,bottomMargin:Uw,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Uy,declare:Uy,event:null,face:null,frame:null,frameBorder:null,hSpace:Uw,leftMargin:Uw,link:null,longDesc:null,lowSrc:null,marginHeight:Uw,marginWidth:Uw,noResize:Uy,noHref:Uy,noShade:Uy,noWrap:Uy,object:null,profile:null,prompt:null,rev:null,rightMargin:Uw,rules:null,scheme:null,scrolling:UF,standby:null,summary:null,text:null,topMargin:Uw,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Uw,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Uy,disableRemotePlayback:Uy,prefix:null,property:null,results:Uw,security:null,unselectable:null},space:"html",transform:UP}),UN=UM({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:UE,accentHeight:Uw,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Uw,amplitude:Uw,arabicForm:null,ascent:Uw,attributeName:null,attributeType:null,azimuth:Uw,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Uw,by:null,calcMode:null,capHeight:Uw,className:UC,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Uw,diffuseConstant:Uw,direction:null,display:null,dur:null,divisor:Uw,dominantBaseline:null,download:Uy,dx:null,dy:null,edgeMode:null,editable:null,elevation:Uw,enableBackground:null,end:null,event:null,exponent:Uw,externalResourcesRequired:null,fill:null,fillOpacity:Uw,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:UA,g2:UA,glyphName:UA,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Uw,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Uw,horizOriginX:Uw,horizOriginY:Uw,id:null,ideographic:Uw,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Uw,k:Uw,k1:Uw,k2:Uw,k3:Uw,k4:Uw,kernelMatrix:UE,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Uw,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Uw,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Uw,overlineThickness:Uw,paintOrder:null,panose1:null,path:null,pathLength:Uw,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:UC,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Uw,pointsAtY:Uw,pointsAtZ:Uw,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:UE,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:UE,rev:UE,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:UE,requiredFeatures:UE,requiredFonts:UE,requiredFormats:UE,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Uw,specularExponent:Uw,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Uw,strikethroughThickness:Uw,string:null,stroke:null,strokeDashArray:UE,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Uw,strokeOpacity:Uw,strokeWidth:null,style:null,surfaceScale:Uw,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:UE,tabIndex:Uw,tableValues:null,target:null,targetX:Uw,targetY:Uw,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:UE,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Uw,underlineThickness:Uw,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Uw,values:null,vAlphabetic:Uw,vMathematical:Uw,vectorEffect:null,vHanging:Uw,vIdeographic:Uw,version:null,vertAdvY:Uw,vertOriginX:Uw,vertOriginY:Uw,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Uw,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:UB}),UR=UM({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),Uj=UM({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:UP}),UO=UM({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Uz=Up([UI,UL,UR,Uj,UO],"html"),UU=Up([UI,UN,UR,Uj,UO],"svg"),Uq=/[A-Z]/g,UW=/-[a-z]/g,UV=/^data[-\w.:]+$/i;function UH(e,t){let i=U_(t),n=t,r=Uv;if(i in e.normal)return e.property[e.normal[i]];if(i.length>4&&"data"===i.slice(0,4)&&UV.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(UW,UG);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!UW.test(e)){let i=e.replace(Uq,U$);"-"!==i.charAt(0)&&(i="-"+i),t="data"+i}}r=UD}return new r(n,t)}function U$(e){return"-"+e.toLowerCase()}function UG(e){return e.charAt(1).toUpperCase()}let UX={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var UK=__webpack_require__(35229);let UY=UZ("end"),UQ=UZ("start");function UZ(e){return t;function t(t){let i=t&&t.position&&t.position[e]||{};if("number"==typeof i.line&&i.line>0&&"number"==typeof i.column&&i.column>0)return{line:i.line,column:i.column,offset:"number"==typeof i.offset&&i.offset>-1?i.offset:void 0}}}function UJ(e){let t=UQ(e),i=UY(e);if(t&&i)return{start:t,end:i}}function U0(e){return e&&"object"==typeof e?"position"in e||"type"in e?U2(e.position):"start"in e||"end"in e?U2(e):"line"in e||"column"in e?U1(e):"":""}function U1(e){return U3(e&&e.line)+":"+U3(e&&e.column)}function U2(e){return U1(e&&e.start)+"-"+U1(e&&e.end)}function U3(e){return e&&"number"==typeof e?e:1}class U4 extends Error{constructor(e,t,i){super(),"string"==typeof t&&(i=t,t=void 0);let n="",r={},a=!1;if(t&&(r="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?n=e:!r.cause&&e&&(a=!0,n=e.message,r.cause=e),!r.ruleId&&!r.source&&"string"==typeof i){const e=i.indexOf(":");-1===e?r.ruleId=i:(r.source=i.slice(0,e),r.ruleId=i.slice(e+1))}if(!r.place&&r.ancestors&&r.ancestors){const e=r.ancestors[r.ancestors.length-1];e&&(r.place=e.position)}const s=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=s?s.line:void 0,this.name=U0(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=a&&r.cause&&"string"==typeof r.cause.stack?r.cause.stack:"",this.actual,this.expected,this.note,this.url}}U4.prototype.file="",U4.prototype.name="",U4.prototype.reason="",U4.prototype.message="",U4.prototype.stack="",U4.prototype.column=void 0,U4.prototype.line=void 0,U4.prototype.ancestors=void 0,U4.prototype.cause=void 0,U4.prototype.fatal=void 0,U4.prototype.place=void 0,U4.prototype.ruleId=void 0,U4.prototype.source=void 0;let U6={}.hasOwnProperty,U5=new Map,U8=/[A-Z]/g,U9=new Set(["table","tbody","thead","tfoot","tr"]),U7=new Set(["td","th"]),qt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function qi(e,t){let i;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let n=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");i=qf(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=qh(n,t.jsx,t.jsxs)}let r={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?UU:Uz,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},a=qn(r,e,void 0);return a&&"string"!=typeof a?a:r.create(e,r.Fragment,{children:a||void 0},void 0)}function qn(e,t,i){return"element"===t.type?qr(e,t,i):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?qa(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?qo(e,t,i):"mdxjsEsm"===t.type?qs(e,t):"root"===t.type?ql(e,t,i):"text"===t.type?qu(e,t):void 0}function qr(e,t,i){let n=e.schema,r=n;"svg"===t.tagName.toLowerCase()&&"html"===n.space&&(e.schema=r=UU),e.ancestors.push(t);let a=qb(e,t.tagName,!1),s=qm(e,t),o=qp(e,t);return U9.has(t.tagName)&&(o=o.filter(function(e){return"string"!=typeof e||!Uf(e)})),qd(e,s,a,t),qc(s,o),e.ancestors.pop(),e.schema=n,e.create(t,a,s,i)}function qa(e,t){if(t.data&&t.data.estree&&e.evaluater){let i=t.data.estree.body[0];return(0,Uo.ok)("ExpressionStatement"===i.type),e.evaluater.evaluateExpression(i.expression)}qy(e,t.position)}function qs(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);qy(e,t.position)}function qo(e,t,i){let n=e.schema,r=n;"svg"===t.name&&"html"===n.space&&(e.schema=r=UU),e.ancestors.push(t);let a=null===t.name?e.Fragment:qb(e,t.name,!0),s=qg(e,t),o=qp(e,t);return qd(e,s,a,t),qc(s,o),e.ancestors.pop(),e.schema=n,e.create(t,a,s,i)}function ql(e,t,i){let n={};return qc(n,qp(e,t)),e.create(t,e.Fragment,n,i)}function qu(e,t){return t.value}function qd(e,t,i,n){"string"!=typeof i&&i!==e.Fragment&&e.passNode&&(t.node=n)}function qc(e,t){if(t.length>0){let i=t.length>1?t:t[0];i&&(e.children=i)}}function qh(e,t,i){return n;function n(e,n,r,a){let s=Array.isArray(r.children)?i:t;return a?s(n,r,a):s(n,r)}}function qf(e,t){return i;function i(i,n,r,a){let s=Array.isArray(r.children),o=UQ(i);return t(n,r,a,s,{columnNumber:o?o.column-1:void 0,fileName:e,lineNumber:o?o.line:void 0},void 0)}}function qm(e,t){let i,n,r={};for(n in t.properties)if("children"!==n&&U6.call(t.properties,n)){let a=q_(e,n,t.properties[n]);if(a){let[n,s]=a;e.tableCellAlignToStyle&&"align"===n&&"string"==typeof s&&U7.has(t.tagName)?i=s:r[n]=s}}return i&&((r.style||(r.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=i),r}function qg(e,t){let i={};for(let n of t.attributes)if("mdxJsxExpressionAttribute"===n.type)if(n.data&&n.data.estree&&e.evaluater){let t=n.data.estree.body[0];(0,Uo.ok)("ExpressionStatement"===t.type);let r=t.expression;(0,Uo.ok)("ObjectExpression"===r.type);let a=r.properties[0];(0,Uo.ok)("SpreadElement"===a.type),Object.assign(i,e.evaluater.evaluateExpression(a.argument))}else qy(e,t.position);else{let r,a=n.name;if(n.value&&"object"==typeof n.value)if(n.value.data&&n.value.data.estree&&e.evaluater){let t=n.value.data.estree.body[0];(0,Uo.ok)("ExpressionStatement"===t.type),r=e.evaluater.evaluateExpression(t.expression)}else qy(e,t.position);else r=null===n.value||n.value;i[a]=r}return i}function qp(e,t){let i=[],n=-1,r=e.passKeys?new Map:U5;for(;++n0?{type:"text",value:s}:void 0),!1===s?n.lastIndex=i+1:(o!==i&&d.push({type:"text",value:e.value.slice(o,i)}),Array.isArray(s)?d.push(...s):s&&d.push(s),o=i+c[0].length,u=!0),!n.global)break;c=n.exec(e.value)}return u?(oa?0:a+t:t>a?a:t,i=i>0?i:0,n.length<1e4)(r=Array.from(n)).unshift(t,i),e.splice(...r);else for(i&&e.splice(t,i);s0?(qO(e,e.length,0,t),e):t}class qU{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(e,t,i){let n=t||0;this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-n,1/0);return i&&qq(this.left,i),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),qq(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),qq(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e-1&&e.test(String.fromCharCode(t))}}function We(e,t,i,n){let r=n?n-1:1/0,a=0;return s;function s(n){return q5(n)?(e.enter(i),o(n)):t(n)}function o(n){return q5(n)&&a++n))return;let o=r.events.length,l=o;for(;l--;)if("exit"===r.events[l][0]&&"chunkFlow"===r.events[l][1].type){if(e){i=r.events[l][1].end;break}e=!0}for(_(s),a=o;at;){let t=a[i];r.containerState=t[1],t[0].exit.call(r,e)}a.length=t}function b(){t.write([null]),i=void 0,t=void 0,r.containerState._closeFlow=void 0}}function Ws(e,t,i){return We(e,e.attempt(this.parser.constructs.document,t,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}let Wo={partial:!0,tokenize:Wl};function Wl(e,t,i){return n;function n(t){return q5(t)?We(e,r,"linePrefix")(t):r(t)}function r(e){return null===e||q4(e)?t(e):i(e)}}let Wu={resolve:Wc,tokenize:Wh},Wd={partial:!0,tokenize:Wf};function Wc(e){return qW(e),e}function Wh(e,t){let i;return n;function n(t){return e.enter("content"),i=e.enter("chunkContent",{contentType:"content"}),r(t)}function r(t){return null===t?a(t):q4(t)?e.check(Wd,s,a)(t):(e.consume(t),r)}function a(i){return e.exit("chunkContent"),e.exit("content"),t(i)}function s(t){return e.consume(t),e.exit("chunkContent"),i.next=e.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,r}}function Wf(e,t,i){let n=this;return r;function r(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),We(e,a,"linePrefix")}function a(r){if(null===r||q4(r))return i(r);let a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(r):e.interrupt(n.parser.constructs.flow,i,t)(r)}}let Wm={tokenize:Wg};function Wg(e){let t=this,i=e.attempt(Wo,n,e.attempt(this.parser.constructs.flowInitial,r,We(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Wu,r)),"linePrefix")));return i;function n(n){return null===n?void e.consume(n):(e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,i)}function r(n){return null===n?void e.consume(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,i)}}let Wp={resolveAll:Wy()},W_=Wb("string"),Wv=Wb("text");function Wb(e){return{resolveAll:Wy("text"===e?WF:void 0),tokenize:t};function t(t){let i=this,n=this.parser.constructs[e],r=t.attempt(n,a,s);return a;function a(e){return l(e)?r(e):s(e)}function s(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return l(e)?(t.exit("data"),r(e)):(t.consume(e),o)}function l(e){if(null===e)return!0;let t=n[e],r=-1;if(t)for(;++r=3&&(null===a||q4(a))?(e.exit("thematicBreak"),t(a)):i(a)}function l(t){return t===n?(e.consume(t),r++,l):(e.exit("thematicBreakSequence"),q5(t)?We(e,o,"whitespace")(t):o(t))}}let WC={continuation:{tokenize:Wx},exit:WT,name:"list",tokenize:WS},WA={partial:!0,tokenize:WM},WE={partial:!0,tokenize:WD};function WS(e,t,i){let n=this,r=n.events[n.events.length-1],a=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,s=0;return o;function o(t){let r=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===r?!n.containerState.marker||t===n.containerState.marker:q1(t)){if(n.containerState.type||(n.containerState.type=r,e.enter(r,{_container:!0})),"listUnordered"===r)return e.enter("listItemPrefix"),42===t||45===t?e.check(Wk,i,u)(t):u(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return i(t)}function l(t){return q1(t)&&++s<10?(e.consume(t),l):(!n.interrupt||s<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):i(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(Wo,n.interrupt?i:d,e.attempt(WA,h,c))}function d(e){return n.containerState.initialBlankLine=!0,a++,h(e)}function c(t){return q5(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):i(t)}function h(i){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(i)}}function Wx(e,t,i){let n=this;return n.containerState._closeFlow=void 0,e.check(Wo,r,a);function r(i){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,We(e,t,"listItemIndent",n.containerState.size+1)(i)}function a(i){return n.containerState.furtherBlankLines||!q5(i)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(i)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(WE,t,s)(i))}function s(r){return n.containerState._closeFlow=!0,n.interrupt=void 0,We(e,e.attempt(WC,t,i),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}function WD(e,t,i){let n=this;return We(e,r,"listItemIndent",n.containerState.size+1);function r(e){let r=n.events[n.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===n.containerState.size?t(e):i(e)}}function WT(e){e.exit(this.containerState.type)}function WM(e,t,i){let n=this;return We(e,r,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(e){let r=n.events[n.events.length-1];return!q5(e)&&r&&"listItemPrefixWhitespace"===r[1].type?t(e):i(e)}}let WI={continuation:{tokenize:WP},exit:WL,name:"blockQuote",tokenize:WB};function WB(e,t,i){let n=this;return r;function r(t){if(62===t){let i=n.containerState;return i.open||(e.enter("blockQuote",{_container:!0}),i.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return i(t)}function a(i){return q5(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(i))}}function WP(e,t,i){let n=this;return r;function r(t){return q5(t)?We(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)}function a(n){return e.attempt(WI,t,i)(n)}}function WL(e){e.exit("blockQuote")}function WN(e,t,i,n,r,a,s,o,l){let u=l||1/0,d=0;return c;function c(t){return 60===t?(e.enter(n),e.enter(r),e.enter(a),e.consume(t),e.exit(a),h):null===t||32===t||41===t||q0(t)?i(t):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),g(t))}function h(i){return 62===i?(e.enter(a),e.consume(i),e.exit(a),e.exit(r),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),f(i))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(o),h(t)):null===t||60===t||q4(t)?i(t):(e.consume(t),92===t?m:f)}function m(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function g(r){return!d&&(null===r||41===r||q6(r))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(r)):d999||null===u||91===u||93===u&&!s||94===u&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?i(u):93===u?(e.exit(a),e.enter(r),e.consume(u),e.exit(r),e.exit(n),t):q4(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),c(u))}function c(t){return null===t||91===t||93===t||q4(t)||l++>999?(e.exit("chunkString"),d(t)):(e.consume(t),s||(s=!q5(t)),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function Wj(e,t,i,n,r,a){let s;return o;function o(t){return 34===t||39===t||40===t?(e.enter(n),e.enter(r),e.consume(t),e.exit(r),s=40===t?41:t,l):i(t)}function l(i){return i===s?(e.enter(r),e.consume(i),e.exit(r),e.exit(n),t):(e.enter(a),u(i))}function u(t){return t===s?(e.exit(a),l(s)):null===t?i(t):q4(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),We(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return t===s||null===t||q4(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:d)}function c(t){return t===s||92===t?(e.consume(t),d):d(t)}}function WO(e,t){let i;return n;function n(r){return q4(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),i=!0,n):q5(r)?We(e,n,i?"linePrefix":"lineSuffix")(r):t(r)}}function Wz(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let WU={name:"definition",tokenize:WW},Wq={partial:!0,tokenize:WV};function WW(e,t,i){let n,r=this;return a;function a(t){return e.enter("definition"),s(t)}function s(t){return WR.call(r,e,o,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}function o(t){return(n=Wz(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):i(t)}function l(t){return q6(t)?WO(e,u)(t):u(t)}function u(t){return WN(e,d,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function d(t){return e.attempt(Wq,c,c)(t)}function c(t){return q5(t)?We(e,h,"whitespace")(t):h(t)}function h(a){return null===a||q4(a)?(e.exit("definition"),r.parser.defined.push(n),t(a)):i(a)}}function WV(e,t,i){return n;function n(t){return q6(t)?WO(e,r)(t):i(t)}function r(t){return Wj(e,a,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return q5(t)?We(e,s,"whitespace")(t):s(t)}function s(e){return null===e||q4(e)?t(e):i(e)}}let WH={name:"codeIndented",tokenize:WG},W$={partial:!0,tokenize:WX};function WG(e,t,i){let n=this;return r;function r(t){return e.enter("codeIndented"),We(e,a,"linePrefix",5)(t)}function a(e){let t=n.events[n.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?s(e):i(e)}function s(t){return null===t?l(t):q4(t)?e.attempt(W$,s,l)(t):(e.enter("codeFlowValue"),o(t))}function o(t){return null===t||q4(t)?(e.exit("codeFlowValue"),s(t)):(e.consume(t),o)}function l(i){return e.exit("codeIndented"),t(i)}}function WX(e,t,i){let n=this;return r;function r(t){return n.parser.lazy[n.now().line]?i(t):q4(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r):We(e,a,"linePrefix",5)(t)}function a(e){let a=n.events[n.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):q4(e)?r(e):i(e)}}let WK={name:"headingAtx",resolve:WY,tokenize:WQ};function WY(e,t){let i,n,r=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),r-2>a&&"whitespace"===e[r][1].type&&(r-=2),"atxHeadingSequence"===e[r][1].type&&(a===r-1||r-4>a&&"whitespace"===e[r-2][1].type)&&(r-=a+1===r?2:4),r>a&&(i={type:"atxHeadingText",start:e[a][1].start,end:e[r][1].end},n={type:"chunkText",start:e[a][1].start,end:e[r][1].end,contentType:"text"},qO(e,a,r-a+1,[["enter",i,t],["enter",n,t],["exit",n,t],["exit",i,t]])),e}function WQ(e,t,i){let n=0;return r;function r(t){return e.enter("atxHeading"),a(t)}function a(t){return e.enter("atxHeadingSequence"),s(t)}function s(t){return 35===t&&n++<6?(e.consume(t),s):null===t||q6(t)?(e.exit("atxHeadingSequence"),o(t)):i(t)}function o(i){return 35===i?(e.enter("atxHeadingSequence"),l(i)):null===i||q4(i)?(e.exit("atxHeading"),t(i)):q5(i)?We(e,o,"whitespace")(i):(e.enter("atxHeadingText"),u(i))}function l(t){return 35===t?(e.consume(t),l):(e.exit("atxHeadingSequence"),o(t))}function u(t){return null===t||35===t||q6(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),u)}}let WZ={name:"setextUnderline",resolveTo:WJ,tokenize:W0};function WJ(e,t){let i,n,r,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){i=a;break}"paragraph"===e[a][1].type&&(n=a)}else"content"===e[a][1].type&&e.splice(a,1),r||"definition"!==e[a][1].type||(r=a);let s={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[n][1].type="setextHeadingText",r?(e.splice(n,0,["enter",s,t]),e.splice(r+1,0,["exit",e[i][1],t]),e[i][1].end={...e[r][1].end}):e[i][1]=s,e.push(["exit",s,t]),e}function W0(e,t,i){let n,r=this;return a;function a(t){let a,o=r.events.length;for(;o--;)if("lineEnding"!==r.events[o][1].type&&"linePrefix"!==r.events[o][1].type&&"content"!==r.events[o][1].type){a="paragraph"===r.events[o][1].type;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||a)?(e.enter("setextHeadingLine"),n=t,s(t)):i(t)}function s(t){return e.enter("setextHeadingLineSequence"),o(t)}function o(t){return t===n?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),q5(t)?We(e,l,"lineSuffix")(t):l(t))}function l(n){return null===n||q4(n)?(e.exit("setextHeadingLine"),t(n)):i(n)}}let W1=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],W2=["pre","script","style","textarea"],W3={concrete:!0,name:"htmlFlow",resolveTo:W5,tokenize:W8},W4={partial:!0,tokenize:W7},W6={partial:!0,tokenize:W9};function W5(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function W8(e,t,i){let n,r,a,s,o,l=this;return u;function u(e){return d(e)}function d(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}function c(s){return 33===s?(e.consume(s),h):47===s?(e.consume(s),r=!0,g):63===s?(e.consume(s),n=3,l.interrupt?t:j):qQ(s)?(e.consume(s),a=String.fromCharCode(s),p):i(s)}function h(r){return 45===r?(e.consume(r),n=2,f):91===r?(e.consume(r),n=5,s=0,m):qQ(r)?(e.consume(r),n=4,l.interrupt?t:j):i(r)}function f(n){return 45===n?(e.consume(n),l.interrupt?t:j):i(n)}function m(n){let r="CDATA[";return n===r.charCodeAt(s++)?(e.consume(n),s===r.length)?l.interrupt?t:D:m:i(n)}function g(t){return qQ(t)?(e.consume(t),a=String.fromCharCode(t),p):i(t)}function p(s){if(null===s||47===s||62===s||q6(s)){let o=47===s,u=a.toLowerCase();return!o&&!r&&W2.includes(u)?(n=1,l.interrupt?t(s):D(s)):W1.includes(a.toLowerCase())?(n=6,o)?(e.consume(s),_):l.interrupt?t(s):D(s):(n=7,l.interrupt&&!l.parser.lazy[l.now().line]?i(s):r?b(s):y(s))}return 45===s||qZ(s)?(e.consume(s),a+=String.fromCharCode(s),p):i(s)}function _(n){return 62===n?(e.consume(n),l.interrupt?t:D):i(n)}function b(t){return q5(t)?(e.consume(t),b):S(t)}function y(t){return 47===t?(e.consume(t),S):58===t||95===t||qQ(t)?(e.consume(t),F):q5(t)?(e.consume(t),y):S(t)}function F(t){return 45===t||46===t||58===t||95===t||qZ(t)?(e.consume(t),F):k(t)}function k(t){return 61===t?(e.consume(t),w):q5(t)?(e.consume(t),k):y(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?i(t):34===t||39===t?(e.consume(t),o=t,C):q5(t)?(e.consume(t),w):A(t)}function C(t){return t===o?(e.consume(t),o=null,E):null===t||q4(t)?i(t):(e.consume(t),C)}function A(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||q6(t)?k(t):(e.consume(t),A)}function E(e){return 47===e||62===e||q5(e)?y(e):i(e)}function S(t){return 62===t?(e.consume(t),x):i(t)}function x(t){return null===t||q4(t)?D(t):q5(t)?(e.consume(t),x):i(t)}function D(t){return 45===t&&2===n?(e.consume(t),B):60===t&&1===n?(e.consume(t),P):62===t&&4===n?(e.consume(t),O):63===t&&3===n?(e.consume(t),j):93===t&&5===n?(e.consume(t),R):q4(t)&&(6===n||7===n)?(e.exit("htmlFlowData"),e.check(W4,z,T)(t)):null===t||q4(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),D)}function T(t){return e.check(W6,M,z)(t)}function M(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||q4(t)?T(t):(e.enter("htmlFlowData"),D(t))}function B(t){return 45===t?(e.consume(t),j):D(t)}function P(t){return 47===t?(e.consume(t),a="",N):D(t)}function N(t){if(62===t){let i=a.toLowerCase();return W2.includes(i)?(e.consume(t),O):D(t)}return qQ(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),N):D(t)}function R(t){return 93===t?(e.consume(t),j):D(t)}function j(t){return 62===t?(e.consume(t),O):45===t&&2===n?(e.consume(t),j):D(t)}function O(t){return null===t||q4(t)?(e.exit("htmlFlowData"),z(t)):(e.consume(t),O)}function z(i){return e.exit("htmlFlow"),t(i)}}function W9(e,t,i){let n=this;return r;function r(t){return q4(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):i(t)}function a(e){return n.parser.lazy[n.now().line]?i(e):t(e)}}function W7(e,t,i){return n;function n(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(Wo,t,i)}}let Ve={partial:!0,tokenize:Vn},Vt={concrete:!0,name:"codeFenced",tokenize:Vi};function Vi(e,t,i){let n,r=this,a={partial:!0,tokenize:k},s=0,o=0;return l;function l(e){return u(e)}function u(t){let i=r.events[r.events.length-1];return s=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,n=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(t)}function d(t){return t===n?(o++,e.consume(t),d):o<3?i(t):(e.exit("codeFencedFenceSequence"),q5(t)?We(e,c,"whitespace")(t):c(t))}function c(i){return null===i||q4(i)?(e.exit("codeFencedFence"),r.interrupt?t(i):e.check(Ve,g,F)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(i))}function h(t){return null===t||q4(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):q5(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),We(e,f,"whitespace")(t)):96===t&&t===n?i(t):(e.consume(t),h)}function f(t){return null===t||q4(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(t))}function m(t){return null===t||q4(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===n?i(t):(e.consume(t),m)}function g(t){return e.attempt(a,F,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),_}function _(t){return s>0&&q5(t)?We(e,b,"linePrefix",s+1)(t):b(t)}function b(t){return null===t||q4(t)?e.check(Ve,g,F)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||q4(t)?(e.exit("codeFlowValue"),b(t)):(e.consume(t),y)}function F(i){return e.exit("codeFenced"),t(i)}function k(e,t,i){let a=0;return s;function s(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),q5(t)?We(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===n?(e.enter("codeFencedFenceSequence"),d(t)):i(t)}function d(t){return t===n?(a++,e.consume(t),d):a>=o?(e.exit("codeFencedFenceSequence"),q5(t)?We(e,c,"whitespace")(t):c(t)):i(t)}function c(n){return null===n||q4(n)?(e.exit("codeFencedFence"),t(n)):i(n)}}}function Vn(e,t,i){let n=this;return r;function r(t){return null===t?i(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)}function a(e){return n.parser.lazy[n.now().line]?i(e):t(e)}}let Vr=document.createElement("i");function Va(e){let t="&"+e+";";Vr.innerHTML=t;let i=Vr.textContent;return(59!==i.charCodeAt(i.length-1)||"semi"===e)&&i!==t&&i}let Vs={name:"characterReference",tokenize:Vo};function Vo(e,t,i){let n,r,a=this,s=0;return o;function o(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l}function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),n=31,r=qZ,d(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),n=6,r=q2,d):(e.enter("characterReferenceValue"),n=7,r=q1,d(t))}function d(o){if(59===o&&s){let n=e.exit("characterReferenceValue");return r!==qZ||Va(a.sliceSerialize(n))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):i(o)}return r(o)&&s++1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;let c={...e[i][1].end},h={...e[d][1].start};VD(c,-o),VD(h,o),a={type:o>1?"strongSequence":"emphasisSequence",start:c,end:{...e[i][1].end}},s={type:o>1?"strongSequence":"emphasisSequence",start:{...e[d][1].start},end:h},r={type:o>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[d][1].start}},n={type:o>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[i][1].end={...a.start},e[d][1].start={...s.end},l=[],e[i][1].end.offset-e[i][1].start.offset&&(l=qz(l,[["enter",e[i][1],t],["exit",e[i][1],t]])),l=qz(l,[["enter",n,t],["enter",a,t],["exit",a,t],["enter",r,t]]),l=qz(l,Vh(t.parser.constructs.insideSpan.null,e.slice(i+1,d),t)),l=qz(l,[["exit",r,t],["enter",s,t],["exit",s,t],["exit",n,t]]),e[d][1].end.offset-e[d][1].start.offset?(u=2,l=qz(l,[["enter",e[d][1],t],["exit",e[d][1],t]])):u=0,qO(e,i-1,d-i+3,l),d=i+l.length-u-2;break}}for(d=-1;++d-1){let e=i[0];"string"==typeof e?i[0]=e.slice(r):i.shift()}s>0&&i.push(e[a].slice(0,s))}return i}function VG(e,t){let i,n=-1,r=[];for(;++n13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(65535&i)==65535||(65535&i)==65534||i>1114111?"�":String.fromCodePoint(i)}let VZ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function VJ(e){return e.replace(VZ,V0)}function V0(e,t,i){if(t)return t;if(35===i.charCodeAt(0)){let e=i.charCodeAt(1),t=120===e||88===e;return VQ(i.slice(t?2:1),t?16:10)}return Va(i)||e}let V1={}.hasOwnProperty;function V2(e,t,i){return"string"!=typeof t&&(i=t,t=void 0),V3(i)(qH(VX(i).document().write(VY()(e,t,!0))))}function V3(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(er),autolinkProtocol:E,autolinkEmail:E,atxHeading:a(ee),blockQuote:a(K),characterEscape:E,characterReference:E,codeFenced:a(Y),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Y,s),codeText:a(Q,s),codeTextData:E,data:E,codeFlowValue:E,definition:a(Z),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(J),hardBreakEscape:a(et),hardBreakTrailing:a(et),htmlFlow:a(ei,s),htmlFlowData:E,htmlText:a(ei,s),htmlTextData:E,image:a(en),label:s,link:a(er),listItem:a(es),listItemValue:h,listOrdered:a(ea,c),listUnordered:a(ea),paragraph:a(eo),reference:q,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(ee),strong:a(el),thematicBreak:a(ed)},exit:{atxHeading:l(),atxHeadingSequence:k,autolink:l(),autolinkEmail:X,autolinkProtocol:G,blockQuote:l(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:V,characterReferenceMarkerNumeric:V,characterReferenceValue:H,characterReference:$,codeFenced:l(p),codeFencedFence:g,codeFencedFenceInfo:f,codeFencedFenceMeta:m,codeFlowValue:S,codeIndented:l(_),codeText:l(I),codeTextData:S,data:S,definition:l(),definitionDestinationString:F,definitionLabelString:b,definitionTitleString:y,emphasis:l(),hardBreakEscape:l(D),hardBreakTrailing:l(D),htmlFlow:l(T),htmlFlowData:S,htmlText:l(M),htmlTextData:S,image:l(P),label:R,labelText:N,lineEnding:x,link:l(B),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:W,resourceDestinationString:j,resourceTitleString:O,resource:z,setextHeading:l(A),setextHeadingLineSequence:C,setextHeadingText:w,strong:l(),thematicBreak:l()}};V6(t,(e||{}).mdastExtensions||[]);let i={};return n;function n(e){let n={type:"root",children:[]},a={stack:[n],tokenStack:[],config:t,enter:o,exit:u,buffer:s,resume:d,data:i},l=[],c=-1;for(;++c0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||V8).call(a,void 0,e[0])}for(n.position={start:V4(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:V4(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c55295&&a<57344){let t=e.charCodeAt(i+1);a<56320&&t>56319&&t<57344?(s=String.fromCharCode(a,t),r=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(n,i),encodeURIComponent(s)),n=i+r+1,s=""),r&&(i+=r,r=0)}return t.join("")+e.slice(n)}function He(e,t){let i=[{type:"text",value:"↩"}];return t>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),i}function Ht(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Hi(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=e.options.footnoteBackContent||He,n=e.options.footnoteBackLabel||Ht,r=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[],l=-1;for(;++l0&&c.push({type:"text",value:" "});let e="string"==typeof i?i:i(l,d);"string"==typeof e&&(e={type:"text",value:e}),c.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof n?n:n(l,d),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let f=a[a.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...c)}else a.push(...c);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(a,!0)};e.patch(r,m),o.push(m)}if(0!==o.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...z4(s),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:"\n"}]}}function Hn(e,t){let i=t.referenceType,n="]";if("collapsed"===i?n+="[]":"full"===i&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+n}];let r=e.all(t),a=r[0];a&&"text"===a.type?a.value="["+a.value:r.unshift({type:"text",value:"["});let s=r[r.length-1];return s&&"text"===s.type?s.value+=n:r.push({type:"text",value:n}),r}function Hr(e){let t=!1;if("list"===e.type){t=e.spread||!1;let i=e.children,n=-1;for(;!t&&++n1:t}let Hs=9,Ho=32;function Hl(e){let t=String(e),i=/\r?\n|\r/g,n=i.exec(t),r=0,a=[];for(;n;)a.push(Hu(t.slice(r,n.index),r>0,!0),n[0]),r=n.index+n[0].length,n=i.exec(t);return a.push(Hu(t.slice(r),r>0,!1)),a.join("")}function Hu(e,t,i){let n=0,r=e.length;if(t){let t=e.codePointAt(n);for(;t===Hs||t===Ho;)n++,t=e.codePointAt(n)}if(i){let t=e.codePointAt(r-1);for(;t===Hs||t===Ho;)r--,t=e.codePointAt(r-1)}return r>n?e.slice(n,r):""}let Hd={blockquote:function(e,t){let i={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,i),e.applyData(t,i)},break:function(e,t){let i={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,i),[e.applyData(t,i),{type:"text",value:"\n"}]},code:function(e,t){let i=t.value?t.value+"\n":"",n={},r=t.lang?t.lang.split(/\s+/):[];r.length>0&&(n.className=["language-"+r[0]]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:i}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let i={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},emphasis:function(e,t){let i={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},footnoteReference:function(e,t){let i,n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=V7(r.toLowerCase()),s=e.footnoteOrder.indexOf(r),o=e.footnoteCounts.get(r);void 0===o?(o=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=s+1,o+=1,e.footnoteCounts.set(r,o);let l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let i={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},html:function(e,t){if(e.options.allowDangerousHtml){let i={type:"raw",value:t.value};return e.patch(t,i),e.applyData(t,i)}},imageReference:function(e,t){let i=String(t.identifier).toUpperCase(),n=e.definitionById.get(i);if(!n)return Hn(e,t);let r={src:V7(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let i={src:V7(t.url)};null!==t.alt&&void 0!==t.alt&&(i.alt=t.alt),null!==t.title&&void 0!==t.title&&(i.title=t.title);let n={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,n),e.applyData(t,n)},inlineCode:function(e,t){let i={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,i);let n={type:"element",tagName:"code",properties:{},children:[i]};return e.patch(t,n),e.applyData(t,n)},linkReference:function(e,t){let i=String(t.identifier).toUpperCase(),n=e.definitionById.get(i);if(!n)return Hn(e,t);let r={href:V7(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let i={href:V7(t.url)};null!==t.title&&void 0!==t.title&&(i.title=t.title);let n={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},listItem:function(e,t,i){let n=e.all(t),r=i?Hr(i):Ha(t),a={},s=[];if("boolean"==typeof t.checked){let e,i=n[0];i&&"element"===i.type&&"p"===i.tagName?e=i:(e={type:"element",tagName:"p",properties:{},children:[]},n.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o0){let n={type:"element",tagName:"tbody",properties:{},children:e.wrap(i,!0)},a=UQ(t.children[1]),s=UY(t.children[t.children.length-1]);a&&s&&(n.position={start:a,end:s}),r.push(n)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let i={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},tableRow:function(e,t,i){let n=i?i.children:void 0,r=0===(n?n.indexOf(t):1)?"th":"td",a=i&&"table"===i.type?i.align:void 0,s=a?a.length:t.children.length,o=-1,l=[];for(;++o0&&i.push({type:"text",value:"\n"}),i}function Hb(e){let t=0,i=e.charCodeAt(t);for(;9===i||32===i;)t++,i=e.charCodeAt(t);return e.slice(t)}function Hy(e,t){let i=Hm(e,t),n=i.one(e,void 0),r=Hi(i),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return r&&((0,Uo.ok)("children"in a),a.children.push({type:"text",value:"\n"},r)),a}function HF(e,t){return e&&"run"in e?async function(i,n){let r=Hy(i,{file:n,...t});await e.run(r,n)}:function(i,n){return Hy(i,{file:n,...e||t})}}function Hk(e){(0,Th.YR)(e,function(e,t,i){if(void 0!==t&&i&&"paragraph"===e.type&&e.children.every(function(e){return"text"===e.type&&/^\s*$/.test(e.value)}))return i.children.splice(t,1),t})}function Hw(e={except:["http","https"]}){return function(t){let i=new Map;(0,Th.YR)(t,"definition",function(t,n,r){if(i.set(t.identifier,t.url),r&&"number"==typeof n){let i=t.url;if(i&&i.includes(":")&&!e.except.some(e=>i.startsWith(`${e}:`)))return r.children.splice(n,1),n}}),(0,Th.YR)(t,function(t,n,r){if(r&&"number"==typeof n&&("link"===t.type||"linkReference"===t.type)){let a="link"===t.type?t.url:i.get(t.identifier);if(a&&a.includes(":")&&!e.except.some(e=>a.startsWith(`${e}:`)))return r.children.splice(n,1,...t.children),n}}),Hk(t)}}function HC(e){if(e)throw e}var HA=__webpack_require__(92849);function HE(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function HS(){let e=[],t={run:i,use:n};return t;function i(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);function a(i,...s){let o=e[++n],l=-1;if(i)return void r(i);for(;++lt.length;o&&t.push(r);try{s=e.apply(this,t)}catch(t){let e=t;if(o&&i)throw e;return r(e)}o||(s instanceof Promise?s.then(a,r):s instanceof Error?r(s):a(s))}function r(e,...n){i||(i=!0,t(e,...n))}function a(e){r(null,e)}}let HD=HP,HT=HL,HM=HN,HI=HR,HB="/";function HP(e,t){let i;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');Hz(e);let n=0,r=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(i){n=a+1;break}}else r<0&&(i=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(i){n=a+1;break}}else s<0&&(i=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(r=a):(o=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function HL(e){let t;if(Hz(e),0===e.length)return".";let i=-1,n=e.length;for(;--n;)if(47===e.codePointAt(n)){if(t){i=n;break}}else t||(t=!0);return i<0?47===e.codePointAt(0)?"/":".":1===i&&47===e.codePointAt(0)?"//":e.slice(0,i)}function HN(e){let t;Hz(e);let i=e.length,n=-1,r=0,a=-1,s=0;for(;i--;){let o=e.codePointAt(i);if(47===o){if(t){r=i+1;break}continue}n<0&&(t=!0,n=i+1),46===o?a<0?a=i:1!==s&&(s=1):a>-1&&(s=-1)}return a<0||n<0||0===s||1===s&&a===n-1&&a===r+1?"":e.slice(a,n)}function HR(...e){let t,i=-1;for(;++i0&&47===e.codePointAt(e.length-1)&&(i+="/"),t?"/"+i:i}function HO(e,t){let i,n,r="",a=0,s=-1,o=0,l=-1;for(;++l<=e.length;){if(l2){if((n=r.lastIndexOf("/"))!==r.length-1){n<0?(r="",a=0):a=(r=r.slice(0,n)).length-1-r.lastIndexOf("/"),s=l,o=0;continue}}else if(r.length>0){r="",a=0,s=l,o=0;continue}}t&&(r=r.length>0?r+"/..":"..",a=2)}else r.length>0?r+="/"+e.slice(s+1,l):r=e.slice(s+1,l),a=l-s-1;s=l,o=0}else 46===i&&o>-1?o++:o=-1}return r}function Hz(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let HU=Hq;function Hq(){return"/"}function HW(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function HV(e){if("string"==typeof e)e=new URL(e);else if(!HW(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return HH(e)}function HH(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,i=-1;for(;++i0){let[n,...a]=t,s=i[r][1];HE(s)&&HE(n)&&(n=HA(!0,s,n)),i[r]=[e,n,...a]}}}}let H1=new H0().freeze();function H2(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function H3(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function H4(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function H6(e){if(!HE(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function H5(e,t,i){if(!i)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function H8(e){return H9(e)?e:new HG(e)}function H9(e){return!!(e&&"object"==typeof e&&"message"in e&&"messages"in e)}function H7(e){return"string"==typeof e||$e(e)}function $e(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}var $t=__webpack_require__(82014),$i=__webpack_require__(32505),$n=__webpack_require__(70561);function $r(e,t,i=()=>{},n){let r={hasInteractiveView:!0,fullWidth:!1,...n};window._vue_richtext_widgets[e]?Tm.l.error(`[ReferencePicker]: Widget for id ${e} already registered`):window._vue_richtext_widgets[e]={id:e,callback:t,onDestroy:i,...r}}function $a(e,t){let{richObjectType:i,richObject:n,accessible:r,interactive:a}=t;if("open-graph"!==i){if(!window._vue_richtext_widgets[i])return void Tm.l.error("Widget for rich object type "+i+" not registered");window._vue_richtext_widgets[i].callback(e,{richObjectType:i,richObject:n,accessible:r,interactive:a})}}function $s(e,t){"open-graph"===e||window._vue_richtext_widgets[e]&&window._vue_richtext_widgets[e].onDestroy(t)}function $o(e){return!!window._vue_richtext_widgets[e]}function $l(e){return!!window._vue_richtext_widgets[e]?.hasInteractiveView}function $u(e){return!!window._vue_richtext_widgets[e]?.fullWidth}function $d(e){return!!window._vue_richtext_custom_picker_elements[e]}function $c(e){let t=window._vue_richtext_custom_picker_elements[e]?.size;return t&&["small","normal","large","full"].includes(t)?t:null}function $h(e,t,i=()=>{},n="large"){window._vue_richtext_custom_picker_elements[e]?Tm.l.error(`Custom reference picker element for id ${e} already registered`):window._vue_richtext_custom_picker_elements[e]={id:e,callback:t,onDestroy:i,size:n}}function $f(e,t){let{providerId:i,accessible:n}=t;return window._vue_richtext_custom_picker_elements[i]?window._vue_richtext_custom_picker_elements[i].callback(e,{providerId:i,accessible:n}):void Tm.l.error(`Custom reference picker element for reference provider ID ${i} not registered`)}function $m(e,t,i){window._vue_richtext_custom_picker_elements[e]&&window._vue_richtext_custom_picker_elements[e].onDestroy(t,i)}window._vue_richtext_widgets??={},window._registerWidget??=(e,t,i,n)=>{$r(e,t,i,n)},window._vue_richtext_custom_picker_elements??={},window._registerCustomPickerElement??=$h;var $g=__webpack_require__(30854),$p=__webpack_require__(42531),$_=__webpack_require__(18421);let $v={name:"ArrowLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$b=["aria-hidden","aria-label"],$y=["fill","width","height"],$F={d:"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"},$k={key:0};function $w(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon arrow-left-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",$F,[i.title?((0,z.uX)(),(0,z.CE)("title",$k,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,$y))],16,$b)}let $C=(0,e4._)($v,[["render",$w]]),$A={name:"NcCustomPickerElement",props:{provider:{type:Object,required:!0}},emits:["cancel","submit"],data(){return{isRegistered:$d(this.provider.id),renderResult:null}},mounted(){this.isRegistered&&this.renderElement()},beforeUnmount(){this.isRegistered&&$m(this.provider.id,this.$el,this.renderResult)},methods:{renderElement(){this.$refs.domElement&&(this.$refs.domElement.innerHTML=""),Promise.resolve($f(this.$refs.domElement,{providerId:this.provider.id,accessible:!1})).then(e=>{this.renderResult=e,this.renderResult.object?._isVue&&this.renderResult.object?.$on&&(this.renderResult.object.$on("submit",this.onSubmit),this.renderResult.object.$on("cancel",this.onCancel)),this.renderResult.element.addEventListener("submit",e=>{this.onSubmit(e.detail)}),this.renderResult.element.addEventListener("cancel",this.onCancel)})},onSubmit(e){this.$emit("submit",e)},onCancel(){this.$emit("cancel")}}},$E={ref:"domElement"};function $S(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("div",$E,null,512)}let $x=(0,e4._)($A,[["render",$S],["__scopeId","data-v-e408867a"]]),$D={name:"LinkVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$T=["aria-hidden","aria-label"],$M=["fill","width","height"],$I={d:"M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z"},$B={key:0};function $P(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon link-variant-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",$I,[i.title?((0,z.uX)(),(0,z.CE)("title",$B,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,$M))],16,$T)}let $L=(0,e4._)($D,[["render",$P]]);(0,Sr.r)(Sr.W);let $N="any-link",$R={id:$N,title:(0,Sr.a)("Any link"),order:0,icon_url:(0,O.d0)("core","filetypes/link.svg")};function $j(e){return e===$N?$R:$O().find(t=>t.id===e)}function $O(){return window._vue_richtext_reference_providers.filter(e=>{let t=!!e.search_providers_ids&&e.search_providers_ids.length>0||$d(e.id);return t||Tm.l.debug(`[smart picker] ${e.id} reference provider is discoverable but does not have any related search provider or custom picker component registered`),t})}function $z(e){let t=window._vue_richtext_reference_provider_timestamps;return e.sort((e,t)=>e.order===t.order?0:e.order>t.order?1:-1).sort((e,i)=>{let n=t[e.id],r=t[i.id];return n===r?0:void 0===r?-1:void 0===n?1:n>r?-1:1})}function $U(e,t){let i=$O(),n=RegExp(e.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&"),"i"),r=$z(i).filter(e=>e.title.match(n)),a=t?r.slice(0,t):r;return(""===e||0===a.length)&&a.push($R),a}async function $q(e){let t=Math.floor(Date.now()/1e3),i=(0,O.KT)("references/provider/{providerId}",{providerId:e});await aw.Ay.put(i,{timestamp:t}),window._vue_richtext_reference_provider_timestamps[e]=t}function $W(e){try{return new URL(e),!0}catch{return!1}}window._vue_richtext_reference_providers??=(0,X.C)("core","reference-provider-list",[]),window._vue_richtext_reference_provider_timestamps??=(0,X.C)("core","reference-provider-timestamps",{}),(0,Sr.r)(Sr.Y,Sr.X);let $V={name:"NcProviderList",components:{NcSelect:$_.N,NcHighlight:$p._,NcEmptyContent:$g.N,LinkVariantIcon:$L},emits:["selectProvider","submit"],data:()=>({selectedProvider:null,query:"",multiselectPlaceholder:(0,Sr.a)("Select provider"),providerIconAlt:(0,Sr.a)("Provider icon")}),computed:{options(){let e=[];return""!==this.query&&$W(this.query)&&e.push({id:this.query,title:this.query,isLink:!0}),e.push(...$U(this.query)),e}},methods:{focus(){setTimeout(()=>{this.$refs["provider-select"]?.$el?.querySelector("#provider-select-input")?.focus()},300)},onProviderSelected(e){null!==e&&(e.isLink?this.$emit("submit",e.title):this.$emit("selectProvider",e),this.selectedProvider=null)},onSearch(e){this.query=e}}},$H={class:"provider-list"},$$={key:0,class:"provider"},$G={key:1,class:"provider"},$X=["src","alt"];function $K(e,t,i,n,r,a){let s=(0,z.g2)("LinkVariantIcon"),o=(0,z.g2)("NcHighlight"),l=(0,z.g2)("NcSelect"),u=(0,z.g2)("NcEmptyContent");return(0,z.uX)(),(0,z.CE)("div",$H,[(0,z.bF)(l,{ref:"provider-select",modelValue:r.selectedProvider,"onUpdate:modelValue":[t[0]||(t[0]=e=>r.selectedProvider=e),a.onProviderSelected],class:"provider-list--select",inputId:"provider-select-input",label:"title",placeholder:r.multiselectPlaceholder,options:a.options,appendToBody:!1,clearSearchOnSelect:!0,clearSearchOnBlur:()=>!1,filterable:!1,onSearch:a.onSearch},{option:(0,z.k6)(e=>[e.isLink?((0,z.uX)(),(0,z.CE)("div",$$,[(0,z.bF)(s,{class:"link-icon",size:20}),(0,z.Lk)("span",null,(0,z.v_)(e.title),1)])):((0,z.uX)(),(0,z.CE)("div",$G,[(0,z.Lk)("img",{class:"provider-icon",src:e.icon_url,alt:r.providerIconAlt},null,8,$X),(0,z.bF)(o,{class:"option-text",search:r.query,text:e.title},null,8,["search","text"])]))]),_:1},8,["modelValue","placeholder","options","onSearch","onUpdate:modelValue"]),(0,z.bF)(u,{class:"provider-list--empty-content"},{icon:(0,z.k6)(()=>[(0,z.bF)(s)]),_:1})])}let $Y=(0,e4._)($V,[["render",$K],["__scopeId","data-v-ea81d3af"]]);(0,Sr.r)(Sr.Z);let $Q=["src"],$Z={class:"widget-default--details"},$J={class:"widget-default--name"},$0={class:"widget-default--link"},$1=18e4,$2=(0,z.pM)({__name:"NcReferenceWidget",props:{reference:{},interactive:{type:Boolean,default:!0},interactiveOptIn:{type:Boolean,default:!1}},setup(e){let t=e,i=(0,z.WQ)(q.a,null),n=(0,z.KR)(!1),r=(0,z.rk)("customWidget"),a=(0,z.rk)("widgetRoot"),{width:s}=(0,J.Lhy)(a);(0,J.BLq)(a,([e])=>{(0,z.dY)(()=>{n.value=e.isIntersecting})});let o=(0,z.KR)(!1),l=(0,z.KR)(!1),u=null,d=(0,z.EW)(()=>!t.interactiveOptIn&&t.interactive||o.value),c=(0,z.EW)(()=>$u(t.reference.richObjectType)),h=(0,z.EW)(()=>$o(t.reference.richObjectType)),f=(0,z.EW)(()=>h.value&&$l(t.reference.richObjectType)),m=(0,z.EW)(()=>!t.reference.accessible),g=(0,z.EW)(()=>[450,550,650,1/0].findIndex(e=>s.value{if(0===g.value)return{display:"none"};let e=g.value;return{lineClamp:e,webkitLineClamp:e}}),_=(0,z.EW)(()=>{let e=t.reference.openGraphObject.link;return e?e.startsWith("https://")?e.substring(8):e.startsWith("http://")?e.substring(7):e:""}),b=(0,z.EW)(()=>Ty(i,t.reference.openGraphObject.link)),y=(0,z.EW)(()=>b.value?PU:"a"),F=(0,z.EW)(()=>b.value?{to:b.value}:{href:t.reference.openGraphObject.link,target:"_blank"});function k(){o.value=!0,w()}function w(){if(!r.value||"open-graph"===t.reference.richObjectType)return;r.value.innerHTML="";let e=document.createElement("div");e.style.width="100%",r.value.appendChild(e),(0,z.dY)(()=>{$a(e,{...t.reference,interactive:d.value}),l.value=!0})}function C(){l.value&&a.value&&($s(t.reference.richObjectType,a.value),l.value=!1)}return(0,z.wB)(n,e=>{if(!e){u=setTimeout(()=>{n.value||C()},$1);return}u&&(clearTimeout(u),u=null),l.value||w()},{immediate:!0}),(0,z.xo)(()=>{C()}),(e,t)=>((0,z.uX)(),(0,z.CE)("div",{ref_key:"widgetRoot",ref:a,class:(0,z.C4)({"toggle-interactive":f.value&&!d.value})},[e.reference&&h.value?((0,z.uX)(),(0,z.CE)("div",{key:0,ref_key:"customWidget",ref:r,class:(0,z.C4)(["widget-custom",{"full-width":c.value}])},null,2)):!m.value&&e.reference&&e.reference.openGraphObject&&!h.value?((0,z.uX)(),(0,z.Wv)((0,z.$y)(y.value),(0,z.v6)({key:1},F.value,{rel:"noopener noreferrer",class:"widget-default"}),{default:(0,z.k6)(()=>[e.reference.openGraphObject.thumb?((0,z.uX)(),(0,z.CE)("img",{key:0,class:"widget-default--image",src:e.reference.openGraphObject.thumb},null,8,$Q)):(0,z.Q3)("",!0),(0,z.Lk)("div",$Z,[(0,z.Lk)("p",$J,(0,z.v_)(e.reference.openGraphObject.name),1),(0,z.Lk)("p",{class:"widget-default--description",style:(0,z.Tr)(p.value)},(0,z.v_)(e.reference.openGraphObject.description),5),(0,z.Lk)("p",$0,(0,z.v_)(_.value),1)])]),_:1},16)):(0,z.Q3)("",!0),e.interactiveOptIn&&f.value&&!d.value?((0,z.uX)(),(0,z.Wv)(TQ.N,{key:2,class:"toggle-interactive--button",onClick:k},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)((0,z.R1)(Sr.a)("Enable interactive view")),1)]),_:1})):(0,z.Q3)("",!0)],2))}}),$3=(0,e4._)($2,[["__scopeId","data-v-8ce33442"]]);(0,Sr.r)(Sr._);let $4={name:"NcRawLinkInput",components:{LinkVariantIcon:$L,NcEmptyContent:$g.N,NcLoadingIcon:te.N,NcReferenceWidget:$3,NcTextField:ji._},props:{provider:{type:Object,required:!0}},emits:["submit"],data:()=>({inputValue:"",loading:!1,reference:null,abortController:null,inputPlaceholder:(0,Sr.a)("Enter link")}),computed:{isLinkValid(){return $W(this.inputValue)},debouncedUpdateReference(){return(0,Y.A)(this.updateReference,500)}},methods:{focus(){this.$refs["url-input"].$el.getElementsByTagName("input")[0]?.focus()},onSubmit(e){let t=e.target.value;this.isLinkValid&&this.$emit("submit",t)},onClear(){this.inputValue="",this.reference=null},onInput(){this.reference=null,this.abortController&&this.abortController.abort(),this.isLinkValid&&this.debouncedUpdateReference()},updateReference(){this.loading=!0,this.abortController=new AbortController,aw.Ay.get((0,O.KT)("references/resolve",2)+"?reference="+encodeURIComponent(this.inputValue),{signal:this.abortController.signal}).then(e=>{this.reference=e.data.ocs.data.references[this.inputValue]}).catch(e=>{Tm.l.error("[NcRawLinkInput] Failed to update reference",{error:e})}).then(()=>{this.loading=!1})}}},$6={class:"raw-link"},$5={class:"input-wrapper"},$8=["src"];function $9(e,t,i,n,r,a){let s=(0,z.g2)("NcLoadingIcon"),o=(0,z.g2)("LinkVariantIcon"),l=(0,z.g2)("NcTextField"),u=(0,z.g2)("NcReferenceWidget"),d=(0,z.g2)("NcEmptyContent");return(0,z.uX)(),(0,z.CE)("div",$6,[(0,z.Lk)("div",$5,[(0,z.bF)(l,{ref:"url-input",modelValue:r.inputValue,"onUpdate:modelValue":[t[0]||(t[0]=e=>r.inputValue=e),a.onInput],showTrailingButton:""!==r.inputValue,label:r.inputPlaceholder,onTrailingButtonClick:a.onClear,onKeyup:(0,z.jR)(a.onSubmit,["enter"])},{default:(0,z.k6)(()=>[r.loading?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:16})):((0,z.uX)(),(0,z.Wv)(o,{key:1,size:16}))]),_:1},8,["modelValue","showTrailingButton","label","onTrailingButtonClick","onUpdate:modelValue","onKeyup"])]),null!==r.reference?((0,z.uX)(),(0,z.Wv)(u,{key:0,class:"reference-widget",reference:r.reference},null,8,["reference"])):((0,z.uX)(),(0,z.Wv)(d,{key:1,class:"raw-link--empty-content"},{icon:(0,z.k6)(()=>[i.provider.icon_url?((0,z.uX)(),(0,z.CE)("img",{key:0,class:"provider-icon",src:i.provider.icon_url},null,8,$8)):((0,z.uX)(),(0,z.Wv)(o,{key:1}))]),_:1}))])}let $7=(0,e4._)($4,[["render",$9],["__scopeId","data-v-918730b9"]]),Gt={name:"NcSearchResult",components:{NcHighlight:$p._},props:{entry:{type:Object,required:!0},query:{type:String,required:!0}}},Gi={class:"result"},Gn=["src"],Gr={class:"result--content"},Ga={class:"result--content--name"},Gs={class:"result--content--subline"};function Go(e,t,i,n,r,a){let s=(0,z.g2)("NcHighlight");return(0,z.uX)(),(0,z.CE)("div",Gi,[i.entry.icon?((0,z.uX)(),(0,z.CE)("div",{key:0,class:(0,z.C4)([{[i.entry.icon]:!0,rounded:i.entry.rounded},"result--icon-class"])},null,2)):((0,z.uX)(),(0,z.CE)("img",{key:1,class:(0,z.C4)(["result--image",{rounded:i.entry.rounded}]),src:i.entry.thumbnailUrl},null,10,Gn)),(0,z.Lk)("div",Gr,[(0,z.Lk)("span",Ga,[(0,z.bF)(s,{search:i.query,text:i.entry.title},null,8,["search","text"])]),(0,z.Lk)("span",Gs,[(0,z.bF)(s,{search:i.query,text:i.entry.subline},null,8,["search","text"])])])])}let Gl=(0,e4._)(Gt,[["render",Go],["__scopeId","data-v-059edcfb"]]);(0,Sr.r)(Sr.$,Sr.Y,Sr.q);let Gu=5,Gd={name:"NcSearch",components:{LinkVariantIcon:$L,DotsHorizontalIcon:Td.I,NcEmptyContent:$g.N,NcSelect:$_.N,NcSearchResult:Gl},props:{provider:{type:Object,required:!0},showEmptyContent:{type:Boolean,default:!0},searchPlaceholder:{type:String,default:null}},emits:["submit"],data:()=>({searchQuery:"",selectedResult:null,resultsBySearchProvider:{},searching:!1,searchingMoreOf:null,abortController:null,noOptionsText:(0,Sr.a)("Start typing to search"),providerIconAlt:(0,Sr.a)("Provider icon")}),computed:{mySearchPlaceholder(){return this.searchPlaceholder||(0,Sr.a)("Search")},searchProviderIds(){return this.provider.search_providers_ids},options(){if(""===this.searchQuery)return[];let e=[];return $W(this.searchQuery)&&e.push(this.rawLinkEntry),e.push(...this.formattedSearchResults),e},rawLinkEntry(){return{id:"rawLinkEntry",resourceUrl:this.searchQuery,isRawLink:!0}},formattedSearchResults(){let e=[];return this.searchProviderIds.forEach(t=>{if(this.resultsBySearchProvider[t].entries.length>0){(this.searchProviderIds.length>1||this.resultsBySearchProvider[t].entries.length>1)&&e.push({id:"groupTitle-"+t,name:this.resultsBySearchProvider[t].name,isCustomGroupTitle:!0,providerId:t});let i=this.resultsBySearchProvider[t].entries.map((e,i)=>({id:"provider-"+t+"-entry-"+i,...e}));e.push(...i),this.resultsBySearchProvider[t].isPaginated&&e.push({id:"moreOf-"+t,name:this.resultsBySearchProvider[t].name,isMore:!0,providerId:t,isLoading:this.searchingMoreOf===t})}}),e},debouncedUpdateSearch(){return(0,Y.A)(this.updateSearch,500)}},mounted(){this.resetResults()},beforeUnmount(){this.cancelSearchRequests()},methods:{t:Sr.a,resetResults(){let e={};this.searchProviderIds.forEach(t=>{e[t]={entries:[]}}),this.resultsBySearchProvider=e},focus(){setTimeout(()=>{this.$refs["search-select"]?.$el?.querySelector("#search-select-input")?.focus()},300)},cancelSearchRequests(){this.abortController&&this.abortController.abort()},onSearchInput(e){this.searchQuery=e,this.debouncedUpdateSearch()},onSelectResultSelected(e){null!==e&&(e.resourceUrl?(this.cancelSearchRequests(),this.$emit("submit",e.resourceUrl)):e.isMore&&this.searchMoreOf(e.providerId).then(()=>{this.selectedResult=null}))},searchMoreOf(e){return this.searchingMoreOf=e,this.cancelSearchRequests(),this.searchProviders(e)},updateSearch(){if(this.cancelSearchRequests(),this.resetResults(),""===this.searchQuery){this.searching=!1;return}return this.searchProviders()},searchProviders(e=null){return this.abortController=new AbortController,this.searching=!0,Promise.allSettled(null===e?[...this.searchProviderIds].map(e=>this.searchOneProvider(e)):[this.searchOneProvider(e,this.resultsBySearchProvider[e]?.cursor??null)]).then(e=>{e.find(e=>"rejected"===e.status&&("CanceledError"===e.reason.name||"ERR_CANCELED"===e.reason.code))||(this.searching=!1,this.searchingMoreOf=null)})},searchOneProvider(e,t=null){let i=null===t?(0,O.KT)("search/providers/{providerId}/search?term={term}&limit={limit}",{providerId:e,term:this.searchQuery,limit:Gu}):(0,O.KT)("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}",{providerId:e,term:this.searchQuery,limit:Gu,cursor:t});return aw.Ay.get(i,{signal:this.abortController.signal}).then(t=>{let i=t.data.ocs.data;this.resultsBySearchProvider[e].name=i.name,this.resultsBySearchProvider[e].cursor=i.cursor,this.resultsBySearchProvider[e].isPaginated=i.isPaginated,this.resultsBySearchProvider[e].entries.push(...i.entries)})}}},Gc={key:0,class:"custom-option"},Gh={class:"option-text"},Gf={key:2,class:"custom-option group-name"},Gm=["src"],Gg={class:"option-text"},Gp={key:3,class:"custom-option"},G_={key:0,class:"option-simple-icon icon-loading-small"},Gv={class:"option-text"},Gb=["alt","src"];function Gy(e,t,i,n,r,a){let s=(0,z.g2)("LinkVariantIcon"),o=(0,z.g2)("NcSearchResult"),l=(0,z.g2)("DotsHorizontalIcon"),u=(0,z.g2)("NcSelect"),d=(0,z.g2)("NcEmptyContent");return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["smart-picker-search",{"with-empty-content":i.showEmptyContent}])},[(0,z.bF)(u,{ref:"search-select",modelValue:r.selectedResult,"onUpdate:modelValue":[t[0]||(t[0]=e=>r.selectedResult=e),a.onSelectResultSelected],class:"smart-picker-search--select",inputId:"search-select-input",label:"name",placeholder:a.mySearchPlaceholder,options:a.options,appendToBody:!1,closeOnSelect:!1,clearSearchOnSelect:!1,clearSearchOnBlur:()=>!1,resetFocusOnOptionsChange:!1,filterable:!1,autoscroll:!0,resetOnOptionsChange:!1,loading:r.searching,onSearch:a.onSearchInput},{option:(0,z.k6)(e=>[e.isRawLink?((0,z.uX)(),(0,z.CE)("div",Gc,[(0,z.bF)(s,{class:"option-simple-icon",size:20}),(0,z.Lk)("span",Gh,(0,z.v_)(a.t("Raw link {options}",{options:e.resourceUrl})),1)])):e.resourceUrl?((0,z.uX)(),(0,z.Wv)(o,{key:1,class:"search-result",entry:e,query:r.searchQuery},null,8,["entry","query"])):e.isCustomGroupTitle?((0,z.uX)(),(0,z.CE)("span",Gf,[i.provider.icon_url?((0,z.uX)(),(0,z.CE)("img",{key:0,class:"provider-icon group-name-icon",src:i.provider.icon_url},null,8,Gm)):(0,z.Q3)("",!0),(0,z.Lk)("span",Gg,[(0,z.Lk)("strong",null,(0,z.v_)(e.name),1)])])):e.isMore?((0,z.uX)(),(0,z.CE)("span",Gp,[e.isLoading?((0,z.uX)(),(0,z.CE)("span",G_)):((0,z.uX)(),(0,z.Wv)(l,{key:1,class:"option-simple-icon",size:20})),(0,z.Lk)("span",Gv,(0,z.v_)(a.t('Load more "{options}"',{options:e.name})),1)])):(0,z.Q3)("",!0)]),"no-options":(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(r.noOptionsText),1)]),_:1},8,["modelValue","placeholder","options","loading","onSearch","onUpdate:modelValue"]),i.showEmptyContent?((0,z.uX)(),(0,z.Wv)(d,{key:0,class:"smart-picker-search--empty-content"},{icon:(0,z.k6)(()=>[i.provider.icon_url?((0,z.uX)(),(0,z.CE)("img",{key:0,class:"provider-icon",alt:r.providerIconAlt,src:i.provider.icon_url},null,8,Gb)):((0,z.uX)(),(0,z.Wv)(s,{key:1}))]),_:1})):(0,z.Q3)("",!0)],2)}let GF=(0,e4._)(Gd,[["render",Gy],["__scopeId","data-v-af9d145f"]]),Gk={providerList:1,standardLinkInput:2,searchInput:3,customElement:4},Gw={name:"NcReferencePicker",components:{NcCustomPickerElement:$x,NcProviderList:$Y,NcRawLinkInput:$7,NcSearch:GF},props:{initialProvider:{type:Object,default:()=>null},width:{type:Number,default:null},focusOnCreate:{type:Boolean,default:!0}},emits:["cancel","cancelRawLink","cancelSearch","providerSelected","submit"],data(){return{MODES:Gk,selectedProvider:this.initialProvider}},computed:{mode(){return null===this.selectedProvider?Gk.providerList:$d(this.selectedProvider.id)?Gk.customElement:this.selectedProvider.search_providers_ids?Gk.searchInput:Gk.standardLinkInput},pickerWrapperStyle(){return{width:this.width?this.width+"px":void 0}}},mounted(){this.focusOnCreate&&(this.initialProvider?setTimeout(()=>{this.$refs["url-input"]?.focus()},300):this.$nextTick(()=>{this.$refs["provider-list"]?.focus()}))},methods:{onEscapePressed(){null!==this.selectedProvider?this.deselectProvider():this.cancelProviderSelection()},onProviderSelected(e){this.selectedProvider=e,this.$emit("providerSelected",e),this.$nextTick(()=>{this.$refs["url-input"]?.focus()})},cancelCustomElement(){this.deselectProvider()},cancelSearch(){this.$emit("cancelSearch",this.selectedProvider?.title),this.deselectProvider()},cancelRawLinkInput(){this.$emit("cancelRawLink",this.selectedProvider?.title),this.deselectProvider()},cancelProviderSelection(){this.$emit("cancel")},submitLink(e){null!==this.selectedProvider&&$q(this.selectedProvider.id),this.$emit("submit",e),this.deselectProvider()},deselectProvider(){this.selectedProvider=null,this.$emit("providerSelected",null),setTimeout(()=>{this.$refs["provider-list"]?.focus()},300)}}},GC={key:3,class:"custom-element-wrapper"};function GA(e,t,i,n,r,a){let s=(0,z.g2)("NcProviderList"),o=(0,z.g2)("NcRawLinkInput"),l=(0,z.g2)("NcSearch"),u=(0,z.g2)("NcCustomPickerElement");return(0,z.uX)(),(0,z.CE)("div",{class:"reference-picker",style:(0,z.Tr)(a.pickerWrapperStyle),tabindex:"-1",onKeydown:t[0]||(t[0]=(0,z.jR)((0,z.D$)((...e)=>a.onEscapePressed&&a.onEscapePressed(...e),["stop","prevent"]),["esc"]))},[a.mode===r.MODES.providerList?((0,z.uX)(),(0,z.Wv)(s,{key:0,ref:"provider-list",onSelectProvider:a.onProviderSelected,onSubmit:a.submitLink,onCancel:a.cancelProviderSelection},null,8,["onSelectProvider","onSubmit","onCancel"])):a.mode===r.MODES.standardLinkInput?((0,z.uX)(),(0,z.Wv)(o,{key:1,ref:"url-input",provider:r.selectedProvider,onSubmit:a.submitLink,onCancel:a.cancelRawLinkInput},null,8,["provider","onSubmit","onCancel"])):a.mode===r.MODES.searchInput?((0,z.uX)(),(0,z.Wv)(l,{key:2,ref:"url-input",provider:r.selectedProvider,onCancel:a.cancelSearch,onSubmit:a.submitLink},null,8,["provider","onCancel","onSubmit"])):a.mode===r.MODES.customElement?((0,z.uX)(),(0,z.CE)("div",GC,[(0,z.bF)(u,{provider:r.selectedProvider,class:"custom-element",onSubmit:a.submitLink,onCancel:a.cancelCustomElement},null,8,["provider","onSubmit","onCancel"])])):(0,z.Q3)("",!0)],36)}let GE=(0,e4._)(Gw,[["render",GA],["__scopeId","data-v-5e2e9195"]]);(0,Sr.r)(Sr.a0,Sr.A);let GS={name:"NcReferencePickerModal",components:{NcReferencePicker:GE,NcModal:L_.N,NcButton:TQ.N,ArrowLeftIcon:$C,CloseIcon:$n.I},props:{initialProvider:{type:Object,default:()=>null},focusOnCreate:{type:Boolean,default:!0},isInsideViewer:{type:Boolean,default:!1}},emits:["cancel","submit"],data(){return{show:!0,selectedProvider:this.initialProvider,backButtonTitle:(0,Sr.a)("Back to provider selection"),closeButtonTitle:(0,Sr.a)("Close"),closeButtonLabel:(0,Sr.a)("Close Smart Picker")}},computed:{isProviderSelected(){return null!==this.selectedProvider},showBackButton(){return null===this.initialProvider&&this.isProviderSelected},modalSize(){return this.isProviderSelected&&$d(this.selectedProvider.id)?$c(this.selectedProvider.id)??"large":"normal"},showModalName(){return!this.isProviderSelected||!$d(this.selectedProvider.id)},modalName(){return this.isProviderSelected?this.selectedProvider.title:(0,Sr.a)("Smart Picker")}},mounted(){if(this.isInsideViewer){let e=this.$refs.modal_content;(0,G.Ic)("viewer:trapElements:changed",e)}},methods:{onCancel(){this.show=!1,this.$emit("cancel")},onSubmit(e){this.show=!1,this.$emit("submit",e)},onProviderSelect(e){this.selectedProvider=e,null===e&&null!==this.initialProvider&&this.onCancel()},onBackClicked(){this.$refs.referencePicker.deselectProvider()}}},Gx={ref:"modal_content",class:"reference-picker-modal--content"},GD={key:1};function GT(e,t,i,n,r,a){let s=(0,z.g2)("ArrowLeftIcon"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("CloseIcon"),u=(0,z.g2)("NcReferencePicker"),d=(0,z.g2)("NcModal");return r.show?((0,z.uX)(),(0,z.Wv)(d,{key:0,size:a.modalSize,class:"reference-picker-modal",onClose:a.onCancel},{default:(0,z.k6)(()=>[(0,z.Lk)("div",Gx,[a.showBackButton?((0,z.uX)(),(0,z.Wv)(o,{key:0,"aria-label":r.backButtonTitle,title:r.backButtonTitle,class:"back-button",onClick:a.onBackClicked},{icon:(0,z.k6)(()=>[(0,z.bF)(s)]),_:1},8,["aria-label","title","onClick"])):(0,z.Q3)("",!0),(0,z.bF)(o,{class:"close-button","aria-label":r.closeButtonLabel,title:r.closeButtonTitle,variant:"tertiary",onClick:a.onCancel},{icon:(0,z.k6)(()=>[(0,z.bF)(l)]),_:1},8,["aria-label","title","onClick"]),a.showModalName?((0,z.uX)(),(0,z.CE)("h2",GD,(0,z.v_)(a.modalName),1)):(0,z.Q3)("",!0),(0,z.bF)(u,{ref:"referencePicker",initialProvider:i.initialProvider,focusOnCreate:i.focusOnCreate,onProviderSelected:a.onProviderSelect,onSubmit:a.onSubmit,onCancel:a.onCancel},null,8,["initialProvider","focusOnCreate","onProviderSelected","onSubmit","onCancel"])],512)]),_:1},8,["size","onClose"])):(0,z.Q3)("",!0)}let GM=(0,e4._)(GS,[["render",GT],["__scopeId","data-v-bf0a25ee"]]);async function GI(e,t){let i="referencePickerModal",n=document.createElement("div");n.id=i,document.body.append(n);let{promise:r,reject:a,resolve:s}=Promise.withResolvers(),o=e&&$j(e)||null,l=(0,z.Ef)(GM,{initialProvider:o,isInsideViewer:t,onCancel(){l.unmount(),a(Error("User cancellation"))},onSubmit(e){l.unmount(),s(e)}});return l.mount(n),r}(0,Sr.r)(Sr.e);let GB=2e3;function GP(e){let t=(0,z.KR)(!1),i=(0,z.EW)(()=>t.value?L5.d:L5.e),n=(0,z.EW)(()=>t.value?(0,Sr.a)("Copied"):(0,Sr.a)("Copy to clipboard"));async function r(){if(t.value)return;let i=(0,z.BA)(e);try{await navigator.clipboard.writeText(i)}catch{prompt("",i)}t.value=!0,setTimeout(()=>{t.value=!1},GB)}return{isCopied:t,copy:r,icon:i,altText:n}}let GL={name:"NcReferenceList",components:{NcReferenceWidget:$3},props:{text:{type:String,default:""},referenceData:{type:Array,default:null},limit:{type:Number,default:1},displayFallback:{type:Boolean,default:!1},interactive:{type:Boolean,default:!0},interactiveOptIn:{type:Boolean,default:!1}},emits:["loaded"],data:()=>({references:null,loading:!0}),computed:{isVisible(){return this.loading||0!==this.displayedReferences.length},values(){return this.referenceData?this.referenceData:!this.displayFallback||this.loading||this.references?this.references?Object.values(this.references):[]:[this.fallbackReference]},firstReference(){return this.values[0]??null},displayedReferences(){return this.values.filter(Boolean).slice(0,this.limit)},fallbackReference(){return{accessible:!0,openGraphObject:{id:this.text,link:this.text,name:this.text},richObjectType:"open-graph"}}},watch:{text:"fetch"},mounted(){this.fetch()},methods:{fetch(){if(this.loading=!0,this.referenceData||!new RegExp(Tg).exec(this.text)){this.references=null,this.loading=!1;return}this.resolve().then(e=>{this.references=e.data.ocs.data.references,this.loading=!1,this.$emit("loaded")}).catch(e=>{Tm.l.error("[NcReferenceList] Failed to extract references",{error:e}),this.loading=!1,this.$emit("loaded")})},resolve(){let e=new RegExp(Tg).exec(this.text.trim()),t=null===(0,j.HW)();return 1===this.limit&&e?t?aw.Ay.get((0,O.KT)("references/resolvePublic")+`?reference=${encodeURIComponent(e[0])}&sharingToken=${(0,$i.G)()}`):aw.Ay.get((0,O.KT)("references/resolve")+`?reference=${encodeURIComponent(e[0])}`):t?aw.Ay.post((0,O.KT)("references/extractPublic"),{text:this.text,resolve:!0,limit:this.limit,sharingToken:(0,$i.G)()}):aw.Ay.post((0,O.KT)("references/extract"),{text:this.text,resolve:!0,limit:this.limit})}}};function GN(e,t,i,n,r,a){let s=(0,z.g2)("NcReferenceWidget");return a.isVisible?((0,z.uX)(),(0,z.CE)("div",{key:0,class:(0,z.C4)(["widgets--list",{"icon-loading":r.loading}])},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.displayedReferences,e=>((0,z.uX)(),(0,z.Wv)(s,{key:e.openGraphObject?.id,reference:e,interactive:i.interactive,interactiveOptIn:i.interactiveOptIn},null,8,["reference","interactive","interactiveOptIn"]))),128))],2)):(0,z.Q3)("",!0)}let GR=(0,e4._)(GL,[["render",GN],["__scopeId","data-v-9cde5a6a"]]);function Gj(e,t){let i=String(e);if("string"!=typeof t)throw TypeError("Expected character");let n=0,r=i.indexOf(t);for(;-1!==r;)n++,r=i.indexOf(t,r+t.length);return n}let GO=GG(/[A-Za-z]/),Gz=GG(/[\dA-Za-z]/);function GU(e){return null!==e&&(e<32||127===e)}function Gq(e){return null!==e&&e<-2}function GW(e){return null!==e&&(e<0||32===e)}function GV(e){return -2===e||-1===e||32===e}let GH=GG(RegExp("\\p{P}|\\p{S}","u")),G$=GG(/\s/);function GG(e){return t;function t(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function GX(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}let GK=function(e){if(null==e)return G0;if("function"==typeof e)return GJ(e);if("object"==typeof e)return Array.isArray(e)?GY(e):GQ(e);if("string"==typeof e)return GZ(e);throw Error("Expected function, string, or object as test")};function GY(e){let t=[],i=-1;for(;++i":""))+")"})}return l;function l(){let o,l,u,d=G3;if(r(e,t,n[n.length-1]||void 0)&&(d=G9(i(e,n)))[0]===G6)return d;if("children"in e&&e.children){let t=e;if(t.children&&d[0]!==G5)for(l=-1+a,u=n.concat(t);l>-1&&l0?{type:"text",value:a}:void 0),!1===a?n.lastIndex=i+1:(o!==i&&d.push({type:"text",value:e.value.slice(o,i)}),Array.isArray(a)?d.push(...a):a&&d.push(a),o=i+c[0].length,u=!0),!n.global)break;c=n.exec(e.value)}return u?(o?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let i=t[0],n=i.indexOf(")"),r=Gj(e,"("),a=Gj(e,")");for(;-1!==n&&r>a;)e+=i.slice(0,n+1),n=(i=i.slice(n+1)).indexOf(")"),a++;return[e,i]}function Xv(e,t){let i=e.input.charCodeAt(e.index-1);return(0===e.index||G$(i)||GH(i))&&(!t||47!==i)}function Xb(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function Xy(){this.buffer()}function XF(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Xk(){this.buffer()}function Xw(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function XC(e){let t=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=Xb(this.sliceSerialize(e)).toLowerCase(),i.label=t}function XA(e){this.exit(e)}function XE(e){let t=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=Xb(this.sliceSerialize(e)).toLowerCase(),i.label=t}function XS(e){this.exit(e)}function Xx(e,t,i,n){let r=i.createTracker(n),a=r.move("[^"),s=i.enter("footnoteReference"),o=i.enter("reference");return a+=r.move(i.safe(i.associationId(e),{after:"]",before:a})),o(),s(),a+=r.move("]")}function XD(){return{enter:{gfmFootnoteCallString:Xy,gfmFootnoteCall:XF,gfmFootnoteDefinitionLabelString:Xk,gfmFootnoteDefinition:Xw},exit:{gfmFootnoteCallString:XC,gfmFootnoteCall:XA,gfmFootnoteDefinitionLabelString:XE,gfmFootnoteDefinition:XS}}}function XT(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:i,footnoteReference:Xx},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function i(e,i,n,r){let a=n.createTracker(r),s=a.move("[^"),o=n.enter("footnoteDefinition"),l=n.enter("label");return s+=a.move(n.safe(n.associationId(e),{before:s,after:"]"})),l(),s+=a.move("]:"),e.children&&e.children.length>0&&(a.shift(4),s+=a.move((t?"\n":" ")+n.indentLines(n.containerFlow(e,a.current()),t?XI:XM))),o(),s}}function XM(e,t,i){return 0===t?e:XI(e,t,i)}function XI(e,t,i){return(i?"":" ")+e}Xx.peek=function e(){return"["};let XB=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function XP(){return{canContainEols:["delete"],enter:{strikethrough:XN},exit:{strikethrough:XR}}}function XL(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:XB}],handlers:{delete:Xj}}}function XN(e){this.enter({type:"delete",children:[]},e)}function XR(e){this.exit(e)}function Xj(e,t,i,n){let r=i.createTracker(n),a=i.enter("strikethrough"),s=r.move("~~");return s+=i.containerPhrasing(e,{...r.current(),before:s,after:"~"}),s+=r.move("~~"),a(),s}function XO(){return"~"}function Xz(e){return e.length}function XU(e,t){let i=t||{},n=(i.align||[]).concat(),r=i.stringLength||Xz,a=[],s=[],o=[],l=[],u=0,d=-1;for(;++du&&(u=e[d].length);++al[a])&&(l[a]=e)}t.push(s)}s[d]=t,o[d]=n}let c=-1;if("object"==typeof n&&"length"in n)for(;++cl[c]&&(l[c]=r),f[c]=r),h[c]=s}s.splice(1,0,h),o.splice(1,0,f),d=-1;let m=[];for(;++d"+(i?"":" ")+e}function XH(e,t){return X$(e,t.inConstruct,!0)&&!X$(e,t.notInConstruct,!1)}function X$(e,t,i){if("string"==typeof t&&(t=[t]),!t||0===t.length)return i;let n=-1;for(;++ns&&(s=a):a=1,r=n+t.length,n=i.indexOf(t,r);return s}function XX(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function XK(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function XY(e,t,i){return(i?"":" ")+e}function XQ(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function XZ(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function XJ(e){return"&#x"+e.toString(16).toUpperCase()+";"}function X0(e){return null===e||GW(e)||G$(e)?1:GH(e)?2:void 0}function X1(e,t,i){let n=X0(e),r=X0(t);return void 0===n?void 0===r?"_"===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===r?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===n?void 0===r?{inside:!1,outside:!1}:1===r?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===r?{inside:!1,outside:!1}:1===r?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function X2(e,t,i,n){let r=XZ(i),a=i.enter("emphasis"),s=i.createTracker(n),o=s.move(r),l=s.move(i.containerPhrasing(e,{after:r,before:o,...s.current()})),u=l.charCodeAt(0),d=X1(n.before.charCodeAt(n.before.length-1),u,r);d.inside&&(l=XJ(u)+l.slice(1));let c=l.charCodeAt(l.length-1),h=X1(n.after.charCodeAt(0),c,r);h.inside&&(l=l.slice(0,-1)+XJ(c));let f=s.move(r);return a(),i.attentionEncodeSurroundingInfo={after:h.outside,before:d.outside},o+l+f}function X3(e,t,i){return i.options.emphasis||"*"}Xj.peek=XO,X2.peek=X3;let X4={};function X6(e,t){let i=X4;return X5(e,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}function X5(e,t,i){if(X9(e)){if("value"in e)return"html"!==e.type||i?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return X8(e.children,t,i)}return Array.isArray(e)?X8(e,t,i):""}function X8(e,t,i){let n=[],r=-1;for(;++r",...l.current()})),u+=l.move(">")):(o=i.enter("destinationRaw"),u+=l.move(i.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=i.enter(`title${a}`),u+=l.move(" "+r),u+=l.move(i.safe(e.title,{before:u,after:r,...l.current()})),u+=l.move(r),o()),u+=l.move(")"),s(),u}function Kn(){return"!"}function Kr(e,t,i,n){let r=e.referenceType,a=i.enter("imageReference"),s=i.enter("label"),o=i.createTracker(n),l=o.move("!["),u=i.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(u+"]["),s();let d=i.stack;i.stack=[],s=i.enter("reference");let c=i.safe(i.associationId(e),{before:l,after:"]",...o.current()});return s(),i.stack=d,a(),"full"!==r&&u&&u===c?"shortcut"===r?l=l.slice(0,-1):l+=o.move("]"):l+=o.move(c+"]"),l}function Ka(){return"!"}function Ks(e,t,i){let n=e.value||"",r="`",a=-1;for(;RegExp("(^|[^`])"+r+"([^`]|$)").test(n);)r+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a\u007F]/.test(e.url))}function Ku(e,t,i,n){let r,a,s=XQ(i),o='"'===s?"Quote":"Apostrophe",l=i.createTracker(n);if(Kl(e,i)){let t=i.stack;i.stack=[],r=i.enter("autolink");let n=l.move("<");return n+=l.move(i.containerPhrasing(e,{before:n,after:">",...l.current()})),n+=l.move(">"),r(),i.stack=t,n}r=i.enter("link"),a=i.enter("label");let u=l.move("[");return u+=l.move(i.containerPhrasing(e,{before:u,after:"](",...l.current()})),u+=l.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=i.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(i.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(a=i.enter("destinationRaw"),u+=l.move(i.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),a(),e.title&&(a=i.enter(`title${o}`),u+=l.move(" "+s),u+=l.move(i.safe(e.title,{before:u,after:s,...l.current()})),u+=l.move(s),a()),u+=l.move(")"),r(),u}function Kd(e,t,i){return Kl(e,i)?"<":"["}function Kc(e,t,i,n){let r=e.referenceType,a=i.enter("linkReference"),s=i.enter("label"),o=i.createTracker(n),l=o.move("["),u=i.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(u+"]["),s();let d=i.stack;i.stack=[],s=i.enter("reference");let c=i.safe(i.associationId(e),{before:l,after:"]",...o.current()});return s(),i.stack=d,a(),"full"!==r&&u&&u===c?"shortcut"===r?l=l.slice(0,-1):l+=o.move("]"):l+=o.move(c+"]"),l}function Kh(){return"["}function Kf(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Km(e){let t=Kf(e),i=e.options.bulletOther;if(!i)return"*"===t?"-":"*";if("*"!==i&&"+"!==i&&"-"!==i)throw Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+i+"`) to be different");return i}function Kg(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Kp(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function K_(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Kv(e,t,i,n){let r=K_(i),a=i.bulletCurrent||Kf(i);t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===i.options.incrementListMarker?0:t.children.indexOf(e))+a);let s=a.length+1;("tab"===r||"mixed"===r&&(t&&"list"===t.type&&t.spread||e.spread))&&(s=4*Math.ceil(s/4));let o=i.createTracker(n);o.move(a+" ".repeat(s-a.length)),o.shift(s);let l=i.enter("listItem"),u=i.indentLines(i.containerFlow(e,o.current()),d);return l(),u;function d(e,t,i){return t?(i?"":" ".repeat(s))+e:(i?a:a+" ".repeat(s-a.length))+e}}Ke.peek=Kt,Ki.peek=Kn,Kr.peek=Ka,Ks.peek=Ko,Ku.peek=Kd,Kc.peek=Kh;let Kb=GK(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ky(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}function KF(e,t,i,n){let r=Ky(i),a=i.enter("strong"),s=i.createTracker(n),o=s.move(r+r),l=s.move(i.containerPhrasing(e,{after:r,before:o,...s.current()})),u=l.charCodeAt(0),d=X1(n.before.charCodeAt(n.before.length-1),u,r);d.inside&&(l=XJ(u)+l.slice(1));let c=l.charCodeAt(l.length-1),h=X1(n.after.charCodeAt(0),c,r);h.inside&&(l=l.slice(0,-1)+XJ(c));let f=s.move(r+r);return a(),i.attentionEncodeSurroundingInfo={after:h.outside,before:d.outside},o+l+f}function Kk(e,t,i){return i.options.strong||"*"}function Kw(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}KF.peek=Kk;let KC=Ks,KA=Kv;function KE(){return{enter:{table:KS,tableData:KM,tableHeader:KM,tableRow:KD},exit:{codeText:KI,table:Kx,tableData:KT,tableHeader:KT,tableRow:KT}}}function KS(e){let t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function Kx(e){this.exit(e),this.data.inTable=void 0}function KD(e){this.enter({type:"tableRow",children:[]},e)}function KT(e){this.exit(e)}function KM(e){this.enter({type:"tableCell",children:[]},e)}function KI(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,KB));let i=this.stack[this.stack.length-1];i.type,i.value=t,this.exit(e)}function KB(e,t){return"|"===t?t:e}function KP(e){let t=e||{},i=t.tableCellPadding,n=t.tablePipeAlign,r=t.stringLength,a=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:s,tableCell:l,tableRow:o}};function s(e,t,i,n){return u(d(e,i,n),e.align)}function o(e,t,i,n){let r=u([c(e,i,n)]);return r.slice(0,r.indexOf("\n"))}function l(e,t,i,n){let r=i.enter("tableCell"),s=i.enter("phrasing"),o=i.containerPhrasing(e,{...n,before:a,after:a});return s(),r(),o}function u(e,t){return XU(e,{align:t,alignDelimiters:n,padding:i,stringLength:r})}function d(e,t,i){let n=e.children,r=-1,a=[],s=t.enter("table");for(;++ra?0:a+t:t>a?a:t,i=i>0?i:0,n.length<1e4)(r=Array.from(n)).unshift(t,i),e.splice(...r);else for(i&&e.splice(t,i);s0&&!i&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}function Yo(e,t,i){let n=[],r=-1;for(;++r999||93===o&&!n||null===o||91===o||GW(o))return i(o);if(93===o){e.exit("chunkString");let n=e.exit("gfmFootnoteCallString");return a.includes(Xb(r.sliceSerialize(n)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):i(o)}return GW(o)||(n=!0),s++,e.consume(o),92===o?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function Yp(e,t,i){let n,r,a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o=0;return l;function l(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):i(t)}function d(t){if(o>999||93===t&&!r||null===t||91===t||GW(t))return i(t);if(93===t){e.exit("chunkString");let i=e.exit("gfmFootnoteDefinitionLabelString");return n=Xb(a.sliceSerialize(i)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return GW(t)||(r=!0),o++,e.consume(t),92===t?c:d}function c(t){return 91===t||92===t||93===t?(e.consume(t),o++,d):d(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(n)||s.push(n),Yl(e,f,"gfmFootnoteDefinitionWhitespace")):i(t)}function f(e){return t(e)}}function Y_(e,t,i){return e.check(Yu,t,e.attempt(Yc,t,i))}function Yv(e){e.exit("gfmFootnoteDefinition")}function Yb(e,t,i){let n=this;return Yl(e,r,"gfmFootnoteDefinitionIndent",5);function r(e){let r=n.events[n.events.length-1];return r&&"gfmFootnoteDefinitionIndent"===r[1].type&&4===r[2].sliceSerialize(r[1],!0).length?t(e):i(e)}}function Yy(e){let t=(e||{}).singleTilde,i={name:"strikethrough",tokenize:r,resolveAll:n};return null==t&&(t=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function n(e,t){let i=-1;for(;++i1?n(a):(e.consume(a),s++,l);if(s<2&&!t)return n(a);let u=e.exit("strikethroughSequenceTemporary"),d=X0(a);return u._open=!d||2===d&&!!o,u._close=!o||2===o&&!!d,i(a)}}}class YF{constructor(){this.map=[]}add(e,t,i){Yk(this,e,t,i)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,i=[];for(;t>0;)t-=1,i.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];i.push(e.slice()),e.length=0;let n=i.pop();for(;n;){for(let t of n)e.push(t);n=i.pop()}this.map.length=0}}function Yk(e,t,i,n){let r=0;if(0!==i||0!==n.length){for(;r-1;){let e=r.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let n=t>-1?r.events[t][1].type:null,a="tableHead"===n||"tableRow"===n?w:l;return a===w&&r.parser.lazy[r.now().line]?i(e):a(e)}function l(t){return e.enter("tableHead"),e.enter("tableRow"),u(t)}function u(e){return 124===e||(n=!0,s+=1),d(e)}function d(t){return null===t?i(t):Gq(t)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f):i(t):GV(t)?Yl(e,d,"whitespace")(t):(s+=1,n&&(n=!1,a+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),n=!0,d):(e.enter("data"),c(t))}function c(t){return null===t||124===t||GW(t)?(e.exit("data"),d(t)):(e.consume(t),92===t?h:c)}function h(t){return 92===t||124===t?(e.consume(t),c):c(t)}function f(t){return(r.interrupt=!1,r.parser.lazy[r.now().line])?i(t):(e.enter("tableDelimiterRow"),n=!1,GV(t))?Yl(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):m(t)}function m(t){return 45===t||58===t?p(t):124===t?(n=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):k(t)}function g(t){return GV(t)?Yl(e,p,"whitespace")(t):p(t)}function p(t){return 58===t?(s+=1,n=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),_):45===t?(s+=1,_(t)):null===t||Gq(t)?F(t):k(t)}function _(t){return 45===t?(e.enter("tableDelimiterFiller"),b(t)):k(t)}function b(t){return 45===t?(e.consume(t),b):58===t?(n=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return GV(t)?Yl(e,F,"whitespace")(t):F(t)}function F(i){return 124===i?m(i):null===i||Gq(i)?n&&a===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):k(i):k(i)}function k(e){return i(e)}function w(t){return e.enter("tableRow"),C(t)}function C(i){return 124===i?(e.enter("tableCellDivider"),e.consume(i),e.exit("tableCellDivider"),C):null===i||Gq(i)?(e.exit("tableRow"),t(i)):GV(i)?Yl(e,C,"whitespace")(i):(e.enter("data"),A(i))}function A(t){return null===t||124===t||GW(t)?(e.exit("data"),C(t)):(e.consume(t),92===t?E:A)}function E(t){return 92===t||124===t?(e.consume(t),A):A(t)}}function YE(e,t){let i,n,r,a=-1,s=!0,o=0,l=[0,0,0,0],u=[0,0,0,0],d=!1,c=0,h=new YF;for(;++ai[2]+1){let t=i[2]+1,n=i[3]-i[2]-1;e.add(t,n,[])}}e.add(i[3]+1,0,[["exit",s,t]])}return void 0!==r&&(a.end=Object.assign({},YD(t.events,r)),e.add(r,0,[["exit",a,t]]),a=void 0),a}function Yx(e,t,i,n,r){let a=[],s=YD(t.events,i);r&&(r.end=Object.assign({},s),a.push(["exit",r,t])),n.end=Object.assign({},s),a.push(["exit",n,t]),e.add(i+1,0,a)}function YD(e,t){let i=e[t],n="enter"===i[0]?"start":"end";return i[1][n]}let YT={name:"tasklistCheck",tokenize:YI};function YM(){return{text:{91:YT}}}function YI(e,t,i){let n=this;return r;function r(t){return null===n.previous&&n._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):i(t)}function a(t){return GW(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),s):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),s):i(t)}function s(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):i(t)}function o(n){return Gq(n)?t(n):GV(n)?e.check({tokenize:YB},t,i)(n):i(n)}}function YB(e,t,i){return Yl(e,n,"whitespace");function n(e){return null===e?i(e):t(e)}}function YP(e){return KV([K2(),Yh(),Yy(e),YC(),YM()])}let YL={};function YN(e){let t=this,i=e||YL,n=t.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(YP(i)),a.push(Kz()),s.push(KU(i))}let YR=(0,z.pM)({__name:"NcRichTextCopyButton",props:{contentId:{}},setup(e){let{copy:t,icon:i,altText:n}=GP(()=>document.getElementById(e.contentId).textContent);return(e,r)=>((0,z.uX)(),(0,z.Wv)(TQ.N,{variant:"tertiary",size:"small","aria-label":(0,z.R1)(n),title:(0,z.R1)(n),onClick:(0,z.R1)(t)},{icon:(0,z.k6)(()=>[(0,z.bF)(TZ.N,{path:(0,z.R1)(i),inline:""},null,8,["path"])]),_:1},8,["aria-label","title","onClick"]))}});function Yj(e){return"text"===e.type}let YO=function(e){(0,Th.YR)(e,Yj,t);function t(e,t,i){let n=e.value.split(/(\{[a-z\-_.0-9]+\})/ig).map(e=>{let t=e.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!t)return Tc("text",e);let[,i]=t;return Tc("element",{tagName:`#${i}`,children:[]})});i.children.splice(t,1,...n)}},Yz=()=>YO;function YU(e){return["text","code","inlineCode"].includes(e.type)}let Yq=function(){return function(e){(0,Th.YR)(e,YU,(e,t,i)=>(i.children.splice(t,1,{...e,value:e.value.replace(/</gmi,"<").replace(/>/gmi,">")}),[Tf._Z,t+1]))}},YW=["http","https","mailto","tel"],YV=(0,z.KR)(null);async function YH(){YV.value=(await __webpack_require__.e("defaultVendors-node_modules_rehype-highlight_index_js").then(__webpack_require__.bind(__webpack_require__,27752))).default}let Y$={name:"NcRichText",components:{NcReferenceList:GR},props:{text:{type:String,default:""},arguments:{type:Object,default:()=>({})},referenceLimit:{type:Number,default:0},referenceInteractive:{type:Boolean,default:!0},referenceInteractiveOptIn:{type:Boolean,default:!1},references:{type:Array,default:null},useMarkdown:{type:Boolean,default:!1},useExtendedMarkdown:{type:Boolean,default:!1},interactive:{type:Boolean,default:!1},autolink:{type:Boolean,default:!0}},emits:["interactTodo"],data:()=>({parentId:(0,Sa.c)()}),methods:{renderPlaintext(){let e=this.text.split(/(\{[a-z\-_.0-9]+\})/ig).map(e=>{let t=e.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!t)return this.prepareTextNode(e);let i=t[1],n=this.arguments[i];if("object"==typeof n){let{component:e,props:t}=n;return(0,z.h)("string"==typeof e?(0,z.g2)(e):e,{...t,class:"rich-text--component"})}return n?(0,z.h)("span",{class:"rich-text--fallback"},n):e});return(0,z.h)("div",{class:"rich-text--wrapper"},[(0,z.h)("div",{},e.flat()),this.referenceLimit>0?(0,z.h)("div",{class:"rich-text--reference-widget"},[(0,z.h)(GR,{text:this.text,referenceData:this.references,interactive:this.referenceInteractive,interactiveOptIn:this.referenceInteractiveOptIn})]):null])},renderMarkdown(){let e=H1().use(V9).use(Tv,{autolink:this.autolink,useMarkdown:this.useMarkdown,useExtendedMarkdown:this.useExtendedMarkdown}).use(Yq).use(this.useExtendedMarkdown?YN:void 0).use(qB).use(Hw,{except:YW}).use(HF,{handlers:{component:(e,t)=>e(t,t.component,{value:t.value})}}).use(this.useExtendedMarkdown?YV.value:void 0).use(Yz).use(Ur,{target:"_blank",rel:["noopener noreferrer"]}).use(qC,{Fragment:z.FK,jsx:this.createElement,jsxs:this.createElement,elementAttributeNameCase:"html",prefix:!1}).processSync(this.text.replace(/<[^>]+>/g,e=>e.replace(/")).result;return(0,z.h)("div",{class:"rich-text--wrapper rich-text--wrapper-markdown"},[e,this.referenceLimit>0?(0,z.h)("div",{class:"rich-text--reference-widget"},[(0,z.h)(GR,{text:this.text,referenceData:this.references,interactive:this.referenceInteractive,interactiveOptIn:this.referenceInteractiveOptIn})]):null])},prepareTextNode(e){return(this.autolink&&(e=Tb(e)),Array.isArray(e))?e.map(e=>{if("string"==typeof e)return e;let{component:t,props:i}=e,n="NcLink"===t.name?void 0:"rich-text--component";return(0,z.h)(t,{...i,class:n})}):e},createElement(e,t,i){i&&(t.key=i);let n=t.children??[];if(delete t.children,!String(e).startsWith("#")){["h1","h2","h3","h4","h5","h6"].includes(String(e))&&(e=`h${Math.min(+String(e)[1]+3,6)}`);let i=null;if(this.useExtendedMarkdown){if("code"===String(e)&&!YV.value&&t?.class?.includes("language")&&YH(),"pre"===String(e)&&n&&"code"===String(n.type)){let i=this.parentId+"-code-block-"+(0,Sa.c)();return(0,z.h)("p",{class:"rich-text__code-block"},[(0,z.h)(e,{...t,id:i},n),(0,z.h)(YR,{class:"rich-text__code-block-button",contentId:i})])}if("li"===String(e)&&Array.isArray(n)&&0!==n.length&&"input"===n[0].type&&"checkbox"===n[0].props.type){let[r,,...a]=n,s=a.findIndex(e=>["ul","ol","li","blockquote","pre"].includes(e.type));-1!==s&&(i=a[s],a.splice(s));let o=this.parentId+"-markdown-input-"+(0,Sa.c)(),l={...r.props};delete l.checked;let u=(0,z.h)($t.N,{...l,modelValue:r.props.checked,id:o,disabled:!this.interactive,"onUpdate:modelValue":()=>{this.$emit("interactTodo",o)}},{default:()=>a});return(0,z.h)(e,t,[u,i])}}if("a"===String(e)){let e=Ty(this.$router,t.href);if(e)return delete t.href,delete t.target,(0,z.h)(PU,{...t,to:e},{default:()=>n})}return(0,z.h)(e,t,n)}let r=this.arguments[e.slice(1)];return r?r.component?(0,z.h)("string"==typeof r.component?(0,z.g2)(r.component):r.component,{...t,...r.props,class:"rich-text--component"},{default:()=>n}):(0,z.h)("span",{...t},[r]):(0,z.h)("span",{...t,class:"rich-text--fallback"},[`{${e.slice(1)}}`])}},render(){return this.useMarkdown||this.useExtendedMarkdown?this.renderMarkdown():this.renderPlaintext()}},YG=(0,e4._)(Y$,[["__scopeId","data-v-a47e4ba7"]]);var YX=__webpack_require__(3710);let YK=["aria-hidden","aria-label"],YY=["fill","width","height"],YQ={d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"},YZ={key:0};function YJ(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon arrow-right-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",YQ,[i.title?((0,z.uX)(),(0,z.CE)("title",YZ,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,YY))],16,YK)}let Y0={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Y1=(0,to.default)(Y0,[["render",YJ]]);async function Y2(e){return aw.Ay.get((0,O.KT)("/translation/languages"),e)}async function Y3(e,t,i,n){return aw.Ay.post((0,O.KT)("/translation/translate"),{text:e,fromLanguage:t,toLanguage:i},n)}let Y4={name:"MessageTranslateDialog",components:{NcButton:e7.A,NcDialog:ox.A,NcLoadingIcon:te.N,NcRichText:YG,NcSelect:YX.default,IconArrowRight:Y1,IconContentCopy:OI},props:{message:{type:String,required:!0},richParameters:{type:Object,required:!0}},emits:["close"],data:()=>({isMounted:!1,availableLanguages:null,selectedFrom:null,selectedTo:null,isLoading:!1,translatedMessage:""}),computed:{userLanguage:()=>navigator.language.substring(0,2),sourceTree(){let e={};return Array.from(new Set(this.availableLanguages?.map(e=>e.from))).forEach(t=>{e[t]={id:t,label:this.availableLanguages?.find(e=>e.from===t)?.fromLabel,translations:this.availableLanguages?.filter(e=>e.from===t).map(e=>({id:e.to,label:e.toLabel}))}}),e},translationTree(){let e={};return Array.from(new Set(this.availableLanguages?.map(e=>e.to))).forEach(t=>{e[t]={id:t,label:this.availableLanguages?.find(e=>e.to===t)?.toLabel,sources:this.availableLanguages?.filter(e=>e.to===t).map(e=>({id:e.from,label:e.fromLabel}))}}),e},optionsFrom(){return this.selectedTo?.id?this.translationTree[this.selectedTo?.id]?.sources:Object.values(this.sourceTree).map(e=>({id:e.id,label:e.label}))},optionsTo(){return this.selectedFrom?.id?this.sourceTree[this.selectedFrom?.id]?.translations:Object.values(this.translationTree).map(e=>({id:e.id,label:e.label}))}},watch:{selectedTo(){this.translatedMessage=""},selectedFrom(){this.translatedMessage=""}},async created(){let e=await Y2();this.availableLanguages=e.data.ocs.data.languages},mounted(){this.selectedTo=this.optionsTo.find(e=>e.id===this.userLanguage)||null,this.selectedTo&&this.translateMessage(),this.$nextTick(()=>{this.isMounted=!0})},methods:{t:K.t,handleTranslate(){this.translateMessage(this.selectedFrom?.id)},async translateMessage(e=null){try{this.isLoading=!0;let t=await Y3(this.message,e,this.selectedTo?.id);this.translatedMessage=t.data.ocs.data.text}catch(e){console.error(e),(0,$.s)(e.response?.data?.ocs?.data?.message??(0,K.t)("spreed","The message could not be translated"))}finally{this.isLoading=!1}},async handleCopyTranslation(){try{await navigator.clipboard.writeText(this.translatedMessage),(0,$.i)((0,K.t)("spreed","Translation copied to clipboard"))}catch(e){(0,$.s)((0,K.t)("spreed","Translation could not be copied"))}}}},Y6=(0,to.default)(Y4,[["render",zG],["__scopeId","data-v-d5db5e44"]]),Y5='\n \n',Y8=(0,i$.F)(function(){return iY("threadId","0",{transform:{get:e=>e?Number(e):0,set:e=>0!==e?String(e):void 0}})}),Y9=["aria-hidden","aria-label"],Y7=["fill","width","height"],Qe={d:"M20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20M4,6V18H20V6H4M6,9H18V11H6V9M6,13H16V15H6V13Z"},Qt={key:0};function Qi(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon card-text-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Qe,[i.title?((0,z.uX)(),(0,z.CE)("title",Qt,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Y7))],16,Y9)}let Qn={name:"CardTextOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Qr=(0,to.default)(Qn,[["render",Qi]]),Qa=["aria-hidden","aria-label"],Qs=["fill","width","height"],Qo={d:"M20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4M20 18H4V6H20V18M4 0H20V2H4M4 22H20V24H4M12 12C13.38 12 14.5 10.88 14.5 9.5S13.38 7 12 7 9.5 8.12 9.5 9.5 10.62 12 12 12M12 8.5C12.55 8.5 13 8.95 13 9.5S12.55 10.5 12 10.5 11 10.05 11 9.5 11.45 8.5 12 8.5M17 16C17 13.9 13.69 13 12 13S7 13.9 7 16V17H17V16M8.81 15.5C9.42 15 10.84 14.5 12 14.5C13.17 14.5 14.59 15 15.2 15.5H8.81Z"},Ql={key:0};function Qu(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon contacts-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Qo,[i.title?((0,z.uX)(),(0,z.CE)("title",Ql,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Qs))],16,Qa)}let Qd={name:"ContactsOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Qc=(0,to.default)(Qd,[["render",Qu]]),Qh=["aria-hidden","aria-label"],Qf=["fill","width","height"],Qm={d:"M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.96,12.29L11.21,15.83L9.25,13.47L6.5,17H17.5L13.96,12.29Z"},Qg={key:0};function Qp(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon image-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Qm,[i.title?((0,z.uX)(),(0,z.CE)("title",Qg,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Qf))],16,Qh)}let Q_={name:"ImageOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Qv=(0,to.default)(Q_,[["render",Qp]]),Qb=["aria-hidden","aria-label"],Qy=["fill","width","height"],QF={d:"M12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5M12,2A7,7 0 0,1 19,9C19,14.25 12,22 12,22C12,22 5,14.25 5,9A7,7 0 0,1 12,2M12,4A5,5 0 0,0 7,9C7,10 7,12 12,18.71C17,12 17,10 17,9A5,5 0 0,0 12,4Z"},Qk={key:0};function Qw(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon map-marker-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",QF,[i.title?((0,z.uX)(),(0,z.CE)("title",Qk,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Qy))],16,Qb)}let QC={name:"MapMarkerOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},QA=(0,to.default)(QC,[["render",Qw]]),QE=["aria-hidden","aria-label"],QS=["fill","width","height"],Qx={d:"M17.3,11C17.3,14 14.76,16.1 12,16.1C9.24,16.1 6.7,14 6.7,11H5C5,14.41 7.72,17.23 11,17.72V21H13V17.72C16.28,17.23 19,14.41 19,11M10.8,4.9C10.8,4.24 11.34,3.7 12,3.7C12.66,3.7 13.2,4.24 13.2,4.9L13.19,11.1C13.19,11.76 12.66,12.3 12,12.3C11.34,12.3 10.8,11.76 10.8,11.1M12,14A3,3 0 0,0 15,11V5A3,3 0 0,0 12,2A3,3 0 0,0 9,5V11A3,3 0 0,0 12,14Z"},QD={key:0};function QT(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon microphone-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Qx,[i.title?((0,z.uX)(),(0,z.CE)("title",QD,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,QS))],16,QE)}let QM={name:"MicrophoneOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},QI=(0,to.default)(QM,[["render",QT]]),QB=["aria-hidden","aria-label"],QP=["fill","width","height"],QL={d:"M5.76,10H20V18H4V6.47M22,4H18L20,8H17L15,4H13L15,8H12L10,4H8L10,8H7L5,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V4Z"},QN={key:0};function QR(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon movie-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",QL,[i.title?((0,z.uX)(),(0,z.CE)("title",QN,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,QP))],16,QB)}let Qj={name:"MovieOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},QO=(0,to.default)(Qj,[["render",QR]]),Qz=["aria-hidden","aria-label"],QU=["fill","width","height"],Qq={d:"M12 3V13.55A4 4 0 1 0 14 17V7H18V3M10 19A2 2 0 1 1 12 17A2 2 0 0 1 10 19Z"},QW={key:0};function QV(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon music-note-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Qq,[i.title?((0,z.uX)(),(0,z.CE)("title",QW,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,QU))],16,Qz)}let QH={name:"MusicNoteOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Q$=(0,to.default)(QH,[["render",QV]]),QG=["aria-hidden","aria-label"],QX=["fill","width","height"],QK={d:"M3,22V8H7V22H3M10,22V2H14V22H10M17,22V14H21V22H17Z"},QY={key:0};function QQ(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon poll-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",QK,[i.title?((0,z.uX)(),(0,z.CE)("title",QY,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,QX))],16,QG)}let QZ={name:"PollIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},QJ=(0,to.default)(QZ,[["render",QQ]]);function Q0(e){if(!e||Array.isArray(e))return null;if("threadId"in e&&e.isThread)return OJ;let t=e.messageParameters?.file;if(t)return t.mimetype?.startsWith("video")?QO:t.mimetype?.startsWith("image")?Qv:t.mimetype?.startsWith("audio")?e.messageType===rO?QI:Q$:"text/vcard"===t.mimetype?Qc:O$;let i=e.messageParameters?.object;if(i){if(i?.type==="talk-poll")return QJ;if(i?.type==="deck-card")return Qr;if(i?.type==="geo-location")return QA}return null}let Q1=1e3;function Q2({item:e,isSearchResult:t=(0,z.KR)(null),exposeMessagesRef:i=(0,z.KR)(null),exposeDescriptionRef:n=(0,z.KR)(null)}){let r=hl(),a=null!==i.value?i.value:!t.value,s=null!==n.value?n.value:t.value,o=(0,z.EW)(()=>a?e.value.unreadMentionDirect||0!==e.value.unreadMessages&&[nJ.TYPE.ONE_TO_ONE,nJ.TYPE.ONE_TO_ONE_FORMER].includes(e.value.type)?"highlighted":e.value.unreadMention?"outlined":"":""),l=(0,z.EW)(()=>!!e.value?.lastMessage&&!!Object.keys(Object(e.value?.lastMessage)).length),u=(0,z.lW)(()=>e.value.lastMessage),d=(0,z.EW)(()=>a&&l.value?oG(u.value.message,u.value.messageParameters):""),c=(0,z.EW)(()=>a&&l.value&&!u.value.systemMessage.length?uM(u.value.actorDisplayName,u.value.actorType,!0):""),h=(0,z.EW)(()=>{if(!1===t.value&&!e.value.actorId)return{actor:null,icon:null,message:(0,K.t)("spreed","Joining conversation …"),title:(0,K.t)("spreed","Joining conversation …")};let i=Lq(e.value).start;if(e.value.objectType===nJ.OBJECT_TYPE.EVENT&&i&&i>Date.now()){let t=0!==e.value.unreadMessages||r.getMessagesList(e.value.token).some(e=>""===e.systemMessage&&e.messageType!==rj),n="";if(!t&&i-Date.now()=Math.abs(uD(e))?{weekday:"long",hour:"numeric",minute:"numeric"}:{year:t?void 0:"numeric",month:"long",day:"numeric"};n=new Intl.DateTimeFormat((0,K.lO)(),r).format(e)}return{actor:null,icon:null,message:n,title:n}}return a?l.value?""===c.value?{actor:null,icon:Q0(u.value),message:d.value,title:d.value.slice(0,Q1)}:u.value.actorId===e.value.actorId&&u.value.actorType===e.value.actorType?{actor:(0,K.t)("spreed","You:"),icon:Q0(u.value),message:d.value,title:(0,K.t)("spreed","You: {lastMessage}",{lastMessage:d.value},{escape:!1,sanitize:!1}).slice(0,Q1)}:[nJ.TYPE.ONE_TO_ONE,nJ.TYPE.ONE_TO_ONE_FORMER,nJ.TYPE.CHANGELOG].includes(e.value.type)?{actor:null,icon:Q0(u.value),message:d.value,title:d.value.slice(0,Q1)}:{actor:(0,K.t)("spreed","{actor}:",{actor:c.value},{escape:!1,sanitize:!1}),icon:Q0(u.value),message:d.value,title:(0,K.t)("spreed","{actor}: {lastMessage}",{actor:c.value,lastMessage:d.value},{escape:!1,sanitize:!1}).slice(0,Q1)}:{actor:null,icon:null,message:(0,K.t)("spreed","No messages"),title:(0,K.t)("spreed","No messages")}:{actor:null,icon:null,message:s?e.value?.description:"",title:s?e.value?.description:null}}),f=(0,z.EW)(()=>[nJ.TYPE.ONE_TO_ONE,nJ.TYPE.ONE_TO_ONE_FORMER].includes(e.value.type)),m=(0,z.EW)(()=>e.value.readOnly===nJ.STATE.READ_ONLY),g=(0,z.EW)(()=>!m.value&&e.value.participantType!==rq.TYPE.GUEST&&e.value.participantType!==rq.TYPE.GUEST_MODERATOR);return{counterType:o,conversationInformation:h,isOneToOneConversation:f,isConversationReadOnly:m,isConversationModifiable:g}}function Q3(e){return void 0!==e.value}function Q4(e){let t=(0,z.lW)(e),i=ed(),n=of(),r=(0,z.EW)(()=>t.value?.token===""?i.getters.dummyConversation:i.getters.conversation(t.value?.token)),a=n.actorId,s=n.actorType;if(!Q3(r)||!Q3(t))return{isEditable:(0,z.EW)(()=>!1),isDeleteable:(0,z.EW)(()=>!1),isCurrentUserOwnMessage:(0,z.EW)(()=>!1),isBotInOneToOne:(0,z.EW)(()=>!1),isObjectShare:(0,z.EW)(()=>!1),isConversationModifiable:(0,z.EW)(()=>!1),isConversationReadOnly:(0,z.EW)(()=>!1),isFileShareWithoutCaption:(0,z.EW)(()=>!1),isFileShare:(0,z.EW)(()=>!1),hideDownloadOption:(0,z.EW)(()=>!0),remoteServer:(0,z.EW)(()=>""),lastEditor:(0,z.EW)(()=>""),actorDisplayName:(0,z.EW)(()=>""),actorDisplayNameWithFallback:(0,z.EW)(()=>"")};let{isOneToOneConversation:o,isConversationReadOnly:l,isConversationModifiable:u}=Q2({item:r}),d=(0,z.EW)(()=>Object.keys(Object(t.value.messageParameters)).some(e=>e.startsWith("object"))),c=(0,z.EW)(()=>t.value.actorId===a&&t.value.actorType===s),h=(0,z.EW)(()=>t.value.actorId.startsWith(ri)&&t.value.actorType===n5&&(r.value.type===nJ.TYPE.ONE_TO_ONE||r.value.type===nJ.TYPE.ONE_TO_ONE_FORMER)),f=(0,z.EW)(()=>!!aG(t.value.token,"edit-messages")&&!!u.value&&!d.value&&!t.value.systemMessage&&(!!i.getters.isModerator&&!o.value||!!(c.value||h.value))&&(!!aG(t.value.token,"edit-messages-note-to-self")&&r.value.type===nJ.TYPE.NOTE_TO_SELF||Date.now()-1e3*t.value.timestampObject.keys(Object(t.value.messageParameters)).some(e=>e.startsWith("file"))),g=(0,z.EW)(()=>Object.values(Object(t.value.messageParameters)).some(e=>"file"===e.type&&"yes"===e["hide-download"])),p=(0,z.EW)(()=>"{file}"===t.value.message&&m.value),_=(0,z.EW)(()=>(aG(t.value.token,"delete-messages-unlimited")||Date.now()-1e3*t.value.timestamp<6*uv)&&[rL,rO,rz,rU].includes(t.value.messageType)&&(c.value||!o.value&&i.getters.isModerator)&&u.value),b=(0,z.EW)(()=>t.value.actorType===n9?"("+t.value.actorId.split("@").pop()+")":""),y=(0,z.EW)(()=>t.value.lastEditTimestamp?t.value.lastEditActorId===t.value.actorId&&t.value.lastEditActorType===t.value.actorType?(0,K.t)("spreed","(edited)"):t.value.lastEditActorId===a&&t.value.lastEditActorType===s?(0,K.t)("spreed","(edited by you)"):"deleted_users"===t.value.lastEditActorId&&"deleted_users"===t.value.lastEditActorType?(0,K.t)("spreed","(edited by a deleted user)"):(0,K.t)("spreed","(edited by {moderator})",{moderator:t.value.lastEditActorDisplayName}):""),F=(0,z.EW)(()=>[n1,n2].includes(t.value.actorType)?hu().getGuestName(t.value.token,t.value.actorId):t.value.actorDisplayName.trim()),k=(0,z.EW)(()=>uM(F.value,t.value.actorType));return{isEditable:f,isDeleteable:_,isCurrentUserOwnMessage:c,isBotInOneToOne:h,isObjectShare:d,isConversationModifiable:u,isConversationReadOnly:l,isFileShareWithoutCaption:p,isFileShare:m,hideDownloadOption:g,remoteServer:b,lastEditor:y,actorDisplayName:F,actorDisplayNameWithFallback:k}}async function Q6(e,t){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}/{messageId}/reminder",{token:e,messageId:t}))}async function Q5(e,t,i){return aw.Ay.post((0,O.KT)("apps/spreed/api/v1/chat/{token}/{messageId}/reminder",{token:e,messageId:t}),{timestamp:i})}async function Q8(e,t){return aw.Ay.delete((0,O.KT)("apps/spreed/api/v1/chat/{token}/{messageId}/reminder",{token:e,messageId:t}))}async function Q9(){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/upcoming-reminders"))}let Q7=nO("integrations",{state:()=>({messageActions:[],participantSearchActions:[]}),actions:{addMessageAction(e){this.messageActions.push(e)},addParticipantSearchAction(e){this.participantSearchActions.push(e)}}});var Ze=__webpack_require__(71225);window._nc_files_scope??={},window._nc_files_scope.v4_0??={},window._nc_files_scope.v4_0,(0,uX.YK)().setApp("@nextcloud/files").detectUser().build(),Object.freeze({Folder:"folder",File:"file"});let Zt=Object.freeze({NONE:0,READ:1,UPDATE:2,CREATE:4,WRITE:4,DELETE:8,SHARE:16,ALL:31}),Zi=Object.freeze({NEW:"new",FAILED:"failed",LOADING:"loading",LOCKED:"locked"});function Zn(e,t){return null!==e.match(t)}function Zr(e,t){if(e.id&&"number"!=typeof e.id&&"string"!=typeof e.id)throw Error("Invalid id type of value");if(!e.source)throw Error("Missing mandatory source");try{new URL(e.source)}catch{throw Error("Invalid source format, source must be a valid URL")}if(!e.source.startsWith("http"))throw Error("Invalid source format, only http(s) is supported");if(!e.root)throw Error("Missing mandatory root");if("string"!=typeof e.root)throw Error("Invalid root type");if(!e.root.startsWith("/"))throw Error("Root must start with a leading slash");if(!e.source.includes(e.root))throw Error("Root must be part of the source");if(Zn(e.source,t)){let i=e.source.match(t)[0];if(!e.source.includes((0,Ze.fj)(i,e.root)))throw Error("The root must be relative to the service. e.g /files/emma")}if(e.displayname&&"string"!=typeof e.displayname)throw Error("Invalid displayname type");if(e.mtime&&!(e.mtime instanceof Date))throw Error("Invalid mtime type");if(e.crtime&&!(e.crtime instanceof Date))throw Error("Invalid crtime type");if(!e.mime||"string"!=typeof e.mime||!e.mime.match(/^[-\w.]+\/[-+\w.]+$/gi))throw Error("Missing or invalid mandatory mime");if("size"in e&&"number"!=typeof e.size&&void 0!==e.size)throw Error("Invalid size type");if("permissions"in e&&void 0!==e.permissions&&!("number"==typeof e.permissions&&e.permissions>=Zt.NONE&&e.permissions<=Zt.ALL))throw Error("Invalid permissions");if(e.owner&&null!==e.owner&&"string"!=typeof e.owner)throw Error("Invalid owner type");if(e.attributes&&"object"!=typeof e.attributes)throw Error("Invalid attributes type");if(e.status&&!Object.values(Zi).includes(e.status))throw Error("Status must be a valid NodeStatus")}function Za(e){e.mtime&&"string"==typeof e.mtime&&!isNaN(Date.parse(e.mtime))&&JSON.stringify(new Date(e.mtime))===JSON.stringify(e.mtime)&&(e.mtime=new Date(e.mtime)),e.crtime&&"string"==typeof e.crtime&&!isNaN(Date.parse(e.crtime))&&JSON.stringify(new Date(e.crtime))===JSON.stringify(e.crtime)&&(e.crtime=new Date(e.crtime))}function Zs(e){if(e instanceof RegExp)return e;let t=e.match(/(\/?)(.+)\1([a-z]*)/i);if(!t)throw Error("Invalid regular expression format.");let i=Array.from(new Set(t[3])).filter(e=>"gimsuy".includes(e)).join("");return new RegExp(t[2],i)}class Zo{_attributes;_data;_knownDavService=/(remote|public)\.php\/(web)?dav/i;readonlyAttributes=Object.entries(Object.getOwnPropertyDescriptors(Zo.prototype)).filter(e=>"function"==typeof e[1].get&&"__proto__"!==e[0]).map(e=>e[0]);handler={set:(e,t,i)=>!this.readonlyAttributes.includes(t)&&Reflect.set(e,t,i),deleteProperty:(e,t)=>!this.readonlyAttributes.includes(t)&&Reflect.deleteProperty(e,t)};constructor(...[e,t]){e.mime||(e.mime="application/octet-stream"),Za(e),Zr(e,t=Zs(t||this._knownDavService)),this._data={...e,attributes:{}},this._attributes=new Proxy(this._data.attributes,this.handler),this.update(e.attributes??{}),t&&(this._knownDavService=t)}get source(){return this._data.source.replace(/\/$/i,"")}get encodedSource(){let{origin:e}=new URL(this.source);return e+(0,Ze.O0)(this.source.slice(e.length))}get basename(){return(0,Ze.P8)(this.source)}get displayname(){return this._data.displayname||this.basename}set displayname(e){Zr({...this._data,displayname:e},this._knownDavService),this._data.displayname=e}get extension(){return(0,Ze.LC)(this.source)}get dirname(){return(0,Ze.pD)(this.path)}get mime(){return this._data.mime||"application/octet-stream"}set mime(e){e??="application/octet-stream",Zr({...this._data,mime:e},this._knownDavService),this._data.mime=e}get mtime(){return this._data.mtime}set mtime(e){Zr({...this._data,mtime:e},this._knownDavService),this._data.mtime=e}get crtime(){return this._data.crtime}get size(){return this._data.size}set size(e){Zr({...this._data,size:e},this._knownDavService),this.updateMtime(),this._data.size=e}get attributes(){return this._attributes}get permissions(){return null!==this.owner||this.isDavResource?void 0!==this._data.permissions?this._data.permissions:Zt.NONE:Zt.READ}set permissions(e){Zr({...this._data,permissions:e},this._knownDavService),this.updateMtime(),this._data.permissions=e}get owner(){return this.isDavResource?this._data.owner:null}get isDavResource(){return Zn(this.source,this._knownDavService)}get root(){return this._data.root.replace(/^(.+)\/$/,"$1")}get path(){let e=this.source.indexOf("://"),t=this.source.slice(0,e),i=this.source.slice(e+3),n=i.indexOf("/"),r=i.slice(0,n),a=i.slice(n),s=decodeURIComponent(new URL(`${t}://${r}${(0,Ze.O0)(a)}`).pathname);this.isDavResource&&(s=s.split(this._knownDavService).pop());let o=s.indexOf(this.root),l=this.root.replace(/\/$/,"");return s.slice(o+l.length)||"/"}get fileid(){return"number"==typeof this._data?.id?this._data.id:void 0}get id(){if(void 0!==this._data?.id&&("number"!=typeof this._data.id||!(this._data.id<0)))return String(this._data.id)}get status(){return this._data?.status}set status(e){Zr({...this._data,status:e},this._knownDavService),this._data.status=e}move(e){Zr({...this._data,source:e},this._knownDavService);let t=this.basename;this._data.source=e,this.displayname===t&&this.basename!==t&&(this.displayname=this.basename)}rename(e){if(e.includes("/"))throw Error("Invalid basename");this.move((0,Ze.pD)(this.source)+"/"+e)}updateMtime(){this._data.mtime&&(this._data.mtime=new Date)}update(e){for(let[t,i]of Object.entries(e))try{void 0===i?delete this.attributes[t]:this.attributes[t]=i}catch(e){if(e instanceof TypeError)continue;throw e}}clone(){return new this.constructor(structuredClone(this._data),this._knownDavService)}toJSON(){return JSON.stringify([structuredClone(this._data),this._knownDavService.toString()])}}function Zl(e=""){let t=Permission.NONE;return e&&(e.includes("G")&&(t|=Permission.READ),e.includes("W")&&(t|=Permission.WRITE),e.includes("CK")&&(t|=Permission.CREATE),e.includes("NV")&&(t|=Permission.UPDATE),e.includes("D")&&(t|=Permission.DELETE),e.includes("R")&&(t|=Permission.SHARE)),t}let Zu=null,Zd=null;function Zc(){return scopedGlobals.davProperties??=[...Zu],scopedGlobals.davProperties.map(e=>`<${e} />`).join(" ")}function Zh(){return scopedGlobals.davNamespaces??={...Zd},Object.keys(scopedGlobals.davNamespaces).map(e=>`xmlns:${e}="${scopedGlobals.davNamespaces?.[e]}"`).join(" ")}let Zf=function(){return(0,$i.f)()?`/files/${(0,$i.G)()}`:`/files/${(0,j.HW)()?.uid}`}(),Zm=function(){let e=(0,O.dC)("dav");return(0,$i.f)()?e.replace("remote.php","public.php"):e}();function Zg(e,t=(0,j.HW)()?.uid){if(!t)throw TypeError("Cannot generate /files// URL without a user");return Zm+"/files/"+encodeURI(t)+"/"+encodeURI(e)}function Zp(e){return e+"/download"}function Z_(){let e=new Date,t=e.getDay(),i=[];if(17>e.getHours()){let e=new Date().setHours(18,0,0,0);i.push({key:"laterToday",timestamp:e,label:(0,K.t)("spreed","Later today – {timeLocale}",{timeLocale:ux(e,"shortTime")}),ariaLabel:(0,K.t)("spreed","Set time for later today")})}let n=new Date;n.setDate(e.getDate()+1);let r=n.setHours(8,0,0,0);if(i.push({key:"tomorrow",timestamp:r,label:(0,K.t)("spreed","Tomorrow – {timeLocale}",{timeLocale:ux(r,"shortWeekdayWithTime")}),ariaLabel:(0,K.t)("spreed","Set time for tomorrow")}),![0,5,6].includes(t)){let n=new Date;n.setDate(e.getDate()+((13-t)%7||7));let r=n.setHours(8,0,0,0);i.push({key:"thisWeekend",timestamp:r,label:(0,K.t)("spreed","This weekend – {timeLocale}",{timeLocale:ux(r,"shortWeekdayWithTime")}),ariaLabel:(0,K.t)("spreed","Set time for this weekend")})}if(0!==t){let n=new Date;n.setDate(e.getDate()+((8-t)%7||7));let r=n.setHours(8,0,0,0);i.push({key:"nextWeek",timestamp:r,label:(0,K.t)("spreed","Next week – {timeLocale}",{timeLocale:ux(r,"shortWeekdayWithTime")}),ariaLabel:(0,K.t)("spreed","Set time for next week")})}return i}let Zv=[{key:"24_hours",label:(0,K.t)("spreed","24 hours"),value:{duration:ub}},{key:"7_days",label:(0,K.t)("spreed","7 days"),value:{duration:7*ub}},{key:"30_days",label:(0,K.t)("spreed","30 days"),value:{duration:30*ub}},{key:"indefinitely",label:(0,K.t)("spreed","Until unpin"),value:{custom:0}}],Zb={name:"MessageButtonsBar",components:{NcActionButton:e2.N,NcActionCaption:xt,NcActionInput:NG.A,NcActionLink:Tz.N,NcActionSeparator:e9,NcActionText:TY,NcActions:e3.A,NcButton:e7.A,NcEmojiPicker:jv,NcIconSvgWrapper:SD.A,IconAccountOutline:P6,IconAlarm:jA,IconArrowLeft:iu,IconBellOffOutline:j$,IconCalendarClockOutline:jJ,IconCloseCircleOutline:OA,IconCheck:j5,IconCheckAll:On,IconClockEditOutline:Od,IconClockOutline:O_,IconContentCopy:OI,IconDotsHorizontal:OO,IconTrashCanOutline:zH,IconEmoticonOutline:Sb,IconMessageBadgeOutline:O5,IconFileOutline:O$,IconForumOutline:OJ,IconNoteEditOutline:zn,IconOpenInNew:zd,IconPencilOutline:z_,IconPin:NN,IconPlus:zM,IconArrowLeftTop:jI,IconArrowRightTop:jO,IconTranslate:zj,IconUnpin:zC},directives:{ClickOutside:Tl},inject:["getMessagesListScroller"],props:{previousMessageId:{type:[String,Number],required:!0},message:{type:Object,required:!0},isActionMenuOpen:{type:Boolean,required:!0},isEmojiPickerOpen:{type:Boolean,required:!0},isReactionsMenuOpen:{type:Boolean,required:!0},isForwarderOpen:{type:Boolean,required:!0},isThreadStarterMessage:{type:Boolean,default:!1},canReact:{type:Boolean,required:!0},readInfo:{type:Object,required:!0},richParameters:{type:Object,required:!0}},emits:["delete","update:isActionMenuOpen","update:isEmojiPickerOpen","update:isReactionsMenuOpen","update:isForwarderOpen","reply","edit"],setup(e){let{message:t}=(0,z.QW)(e),i=uh(),{messageActions:n}=Q7(),r=of(),a=oQ(),s=Y8(),o=up(),{isEditable:l,isDeleteable:u,isCurrentUserOwnMessage:d,isFileShare:c,isFileShareWithoutCaption:h,hideDownloadOption:f,isConversationReadOnly:m,isConversationModifiable:g}=Q4(t),p=aG(t.value.token,"remind-me-later"),_=aG(t.value.token,"pinned-messages");return{IconFileDownload:Y5,messageActions:n,supportReminders:p,reactionsStore:i,isEditable:l,isCurrentUserOwnMessage:d,isFileShare:c,isFileShareWithoutCaption:h,hideDownloadOption:f,isDeleteable:u,isConversationReadOnly:m,isConversationModifiable:g,isTranslationAvailable:aX(t.value.token,"chat","has-translation-providers")??aX(t.value.token,"chat","translations")?.length>0,actorStore:r,chatExtrasStore:a,threadId:s,getCustomDateOptions:Z_,sharedItemsStore:o,supportPinMessage:_,PIN_DURATION_OPTIONS:Zv}},data:()=>({frequentlyUsedEmojis:[],submenu:null,currentReminder:null,customReminderTimestamp:new Date().setHours(new Date().getHours()+2,0,0,0),customPinTimestamp:new Date().setMinutes(new Date().getMinutes()+5,0,0,0)}),computed:{conversation(){return this.$store.getters.conversation(this.message.token)},boundariesElement(){return this.getMessagesListScroller()},isPrivateReplyable(){return this.message.isReplyable&&(this.conversation.type===nJ.TYPE.PUBLIC||this.conversation.type===nJ.TYPE.GROUP)&&!this.isCurrentUserOwnMessage&&this.message.actorType===n0&&!this.isCurrentGuest},messageFile(){let e=Object.keys(this.message.messageParameters).find(e=>e.startsWith("file"));return this.message.messageParameters[e]},linkToFileDownload(){return(0,j.HW)()?Zg(this.messageFile.path):Zp(this.messageFile.link)},isCurrentGuest(){return this.actorStore.isActorGuest},isDeletedMessage(){return this.message.messageType===rj},isPollMessage(){return this.message.messageType===rL&&this.message.messageParameters?.object?.type==="talk-poll"},isInNoteToSelf(){return this.conversation.type===nJ.TYPE.NOTE_TO_SELF},canForwardMessage(){return!this.isCurrentGuest&&!this.isFileShare&&!this.isDeletedMessage&&!this.isPollMessage},messageDateTime(){return ux(1e3*this.message.timestamp,"shortDateWithTime")},editedDateTime(){return ux(1e3*this.message.lastEditTimestamp,"shortDateWithTime")},customReminderDateTime:{get(){return new Date(this.customReminderTimestamp)},set(e){null!==e&&(this.customReminderTimestamp=e.valueOf())}},customPinDateTime:{get(){return new Date(this.customPinTimestamp)},set(e){null!==e&&(this.customPinTimestamp=e.valueOf())}},clearReminderLabel(){return this.currentReminder?(0,K.t)("spreed","Clear reminder – {timeLocale}",{timeLocale:ux(1e3*this.currentReminder.timestamp,"shortWeekdayWithTime")}):""},lastEditActorLabel(){return(0,K.t)("spreed","Edited by {actor}",{actor:this.message.lastEditActorDisplayName})},canReply(){return this.message.isReplyable&&!this.isConversationReadOnly&&(this.conversation.permissions&rq.PERMISSIONS.CHAT)!=0},isModerator(){return this.$store.getters.isModerator},isModeratorOrOwner(){return this.isCurrentUserOwnMessage||this.isModerator},pinInfo(){return this.message.metaData},isMessagePinned(){return!!this.pinInfo?.pinnedAt},pinAuthorLabel(){return this.pinInfo?this.actorStore.checkIfSelfIsActor({actorId:this.pinInfo.pinnedActorId,actorType:this.pinInfo.pinnedActorType})?(0,K.t)("spreed","Pinned by you"):(0,K.t)("spreed","Pinned by {actor}",{actor:this.pinInfo.pinnedActorDisplayName}):""},pinDurationLabel(){if(!this.isMessagePinned||!this.pinInfo||!this.pinInfo.pinnedUntil)return"";let e=ux(1e3*this.pinInfo.pinnedUntil,"shortDateWithTime");return(0,K.t)("spreed","Until {absoluteDate}",{absoluteDate:e})}},watch:{submenu(e){"reminder"===e&&this.getReminder()}},methods:{t:K.t,handleReply(){!this.threadId&&this.message.isThread&&this.message.id===this.message.threadId?this.threadId=this.message.threadId:this.$emit("reply")},async handlePrivateReply(){let e=await this.$store.dispatch("createOneToOneConversation",this.message.actorId);this.$router.push({name:"conversation",params:{token:e.token}}).catch(e=>console.debug(`Error while pushing the new conversation's route: ${e}`))},async handleCopyMessageText(){let e=o$(this.message.message,this.message.messageParameters);try{await navigator.clipboard.writeText(e),(0,$.i)((0,K.t)("spreed","Message text copied to clipboard"))}catch(e){(0,$.s)((0,K.t)("spreed","Message text could not be copied"))}},handleCopyMessageLink(){D0(this.message.token,this.message.id)},async handleMarkAsUnread(){await this.$store.dispatch("updateLastReadMessage",{token:this.message.token,id:this.previousMessageId,updateVisually:!0})},handleReactionClick(e){this.message.reactionsSelf?.includes(e)?(console.debug("user has already reacted, removing reaction"),this.reactionsStore.removeReactionFromMessage({token:this.message.token,messageId:this.message.id,selectedEmoji:e})):this.reactionsStore.addReactionToMessage({token:this.message.token,messageId:this.message.id,selectedEmoji:e}),this.closeReactionsMenu()},async handleTranslateMessage(){await (0,oS.S)(Y6,{message:this.message.message,richParameters:this.richParameters})},handleMessageAction(e){e.callback({message:this.message,metadata:this.conversation,apiVersion:"v3"})},handleDelete(){this.$emit("delete")},onMenuOpen(){this.$emit("update:isActionMenuOpen",!0)},onMenuClose(){this.$emit("update:isActionMenuOpen",!1)},onEmojiPickerOpen(){this.updateFrequentlyUsedEmojis(),this.$emit("update:isEmojiPickerOpen",!0)},onEmojiPickerClose(){this.$emit("update:isEmojiPickerOpen",!1)},openReactionsMenu(){this.updateFrequentlyUsedEmojis(),this.$emit("update:isReactionsMenuOpen",!0)},async forwardToNote(){try{await this.$store.dispatch("forwardMessage",{messageToBeForwarded:this.$store.getters.message(this.message.token,this.message.id)}),(0,$.i)((0,K.t)("spreed",'Message forwarded to "Note to self"'))}catch(e){console.error('Error while forwarding message to "Note to self"',e),(0,$.s)((0,K.t)("spreed",'Error while forwarding message to "Note to self"'))}},openForwarder(){this.$emit("update:isForwarderOpen",!0)},handleClickOutside(e){e.composedPath().some(e=>e.classList?.contains("v-popper__popper--shown"))||e.composedPath().includes(this.$el)||this.closeReactionsMenu()},closeReactionsMenu(){this.$emit("update:isReactionsMenuOpen",!1),this.$emit("update:isEmojiPickerOpen",!1)},updateFrequentlyUsedEmojis(){this.frequentlyUsedEmojis=NW("",5).map(e=>e.native)},async getReminder(){try{let e=await Q6(this.message.token,this.message.id);this.currentReminder=e.data.ocs.data}catch(e){console.debug(e)}},async removeReminder(){try{await Q8(this.message.token,this.message.id),(0,$.i)((0,K.t)("spreed","A reminder was successfully removed"))}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","Error occurred when removing a reminder"))}},async setReminder(e){try{await Q5(this.message.token,this.message.id,uA(e)),(0,$.i)((0,K.t)("spreed","A reminder was successfully set at {datetime}",{datetime:ux(e,"longDateWithTime")}))}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","Error occurred when creating a reminder"))}},async renameThread(){await this.chatExtrasStore.renameThread(this.message.token,this.message.threadId)},editMessage(){this.isEditable&&this.$emit("edit")},pinMessage({duration:e=null,custom:t=null}){let i=t??Date.now()+e;this.sharedItemsStore.handlePinMessage(this.message.token,this.message.id,uA(i))},unpinMessage(){this.sharedItemsStore.handleUnpinMessage(this.message.token,this.message.id)}}},Zy=(0,to.default)(Zb,[["render",NO],["__scopeId","data-v-8a723c0e"]]),ZF={class:"message-forwarder"};function Zk(e,t,i,n,r,a){let s=(0,z.g2)("RoomSelector"),o=(0,z.g2)("IconCheck"),l=(0,z.g2)("NcEmptyContent"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("NcDialog");return(0,z.uX)(),(0,z.CE)("div",ZF,[n.showForwardedConfirmation?((0,z.uX)(),(0,z.Wv)(d,{key:1,name:a.dialogTitle,closeOnClickOutside:"","onUpdate:open":a.handleClose},{actions:(0,z.k6)(()=>[(0,z.bF)(u,{variant:"tertiary",onClick:a.handleClose},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Dismiss")),1)]),_:1},8,["onClick"]),(0,z.bF)(u,{variant:"primary",onClick:a.openConversation},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Go to conversation")),1)]),_:1},8,["onClick"])]),default:(0,z.k6)(()=>[(0,z.bF)(l,{description:a.t("spreed","The message has been forwarded to {selectedConversationName}",{selectedConversationName:n.selectedConversationName})},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{size:64})]),_:1},8,["description"])]),_:1},8,["name","onUpdate:open"])):((0,z.uX)(),(0,z.Wv)(s,{key:0,showPostableOnly:"",allowFederation:"",dialogTitle:a.dialogTitle,dialogSubtitle:a.dialogSubtitle,onSelect:a.setSelectedConversationToken,onClose:a.handleClose},null,8,["dialogTitle","dialogSubtitle","onSelect","onClose"]))])}let Zw={key:0,class:"selector__subtitle"};function ZC(e,t,i,n,r,a){let s=(0,z.g2)("Magnify"),o=(0,z.g2)("NcTextField"),l=(0,z.g2)("ConversationsSearchListVirtual"),u=(0,z.g2)("MessageOutline"),d=(0,z.g2)("NcEmptyContent"),c=(0,z.g2)("NcButton"),h=(0,z.g2)("NcDialog");return(0,z.uX)(),(0,z.Wv)(h,{name:i.dialogTitle,closeOnClickOutside:"","onUpdate:open":a.close},{default:(0,z.k6)(()=>[i.dialogSubtitle?((0,z.uX)(),(0,z.CE)("p",Zw,(0,z.v_)(i.dialogSubtitle),1)):(0,z.Q3)("",!0),(0,z.bF)(o,{modelValue:r.searchText,"onUpdate:modelValue":t[0]||(t[0]=e=>r.searchText=e),trailingButtonIcon:"close",class:"selector__search",label:a.t("spreed","Search conversations or users"),showTrailingButton:""!==r.searchText,onTrailingButtonClick:a.clearText},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{size:16})]),_:1},8,["modelValue","label","showTrailingButton","onTrailingButtonClick"]),r.loading||a.availableRooms.length>0?((0,z.uX)(),(0,z.Wv)(l,{key:1,conversations:a.availableRooms,loading:r.loading,class:"selector__list",onSelect:a.onSelect},null,8,["conversations","loading","onSelect"])):((0,z.uX)(),(0,z.Wv)(d,{key:2,name:a.noMatchFoundTitle,description:a.noMatchFoundSubtitle},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:64})]),_:1},8,["name","description"]))]),actions:(0,z.k6)(()=>[!r.loading&&a.availableRooms.length>0?((0,z.uX)(),(0,z.Wv)(c,{key:0,class:"selector__action",variant:"primary",disabled:!n.selectedRoom,onClick:a.onSubmit},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Select conversation")),1)]),_:1},8,["disabled","onClick"])):(0,z.Q3)("",!0)]),_:1},8,["name","onUpdate:open"])}let ZA=["aria-hidden","aria-label"],ZE=["fill","width","height"],ZS={d:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"},Zx={key:0};function ZD(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon magnify-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ZS,[i.title?((0,z.uX)(),(0,z.CE)("title",Zx,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ZE))],16,ZA)}let ZT={name:"MagnifyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ZM=(0,to.default)(ZT,[["render",ZD]]),ZI=["title"],ZB={key:0,class:"conversation__subname-actor"},ZP={class:"conversation__subname-message"};function ZL(e,t,i,n,r,a){let s=(0,z.g2)("ConversationIcon"),o=(0,z.g2)("NcListItem");return(0,z.uX)(),(0,z.Wv)(o,{name:i.item.displayName,title:i.item.displayName,active:i.item.token===n.selectedRoom?.token,bold:n.exposeMessagesRef&&!!i.item.unreadMessages,counterNumber:n.exposeMessagesRef?i.item.unreadMessages:0,counterType:n.counterType,onClick:a.onClick},(0,z.eX)({icon:(0,z.k6)(()=>[((0,z.uX)(),(0,z.Wv)(s,{key:i.item.token,item:i.item,hideFavorite:!i.item?.attendeeId,hideCall:!i.item?.attendeeId},null,8,["item","hideFavorite","hideCall"]))]),_:2},[n.conversationInformation.message?{name:"subname",fn:(0,z.k6)(()=>[(0,z.Lk)("span",{class:"conversation__subname",title:n.conversationInformation.title},[n.conversationInformation.actor?((0,z.uX)(),(0,z.CE)("span",ZB,(0,z.v_)(n.conversationInformation.actor),1)):(0,z.Q3)("",!0),n.conversationInformation.icon?((0,z.uX)(),(0,z.Wv)((0,z.$y)(n.conversationInformation.icon),{key:1,class:"conversation__subname-icon",size:16})):(0,z.Q3)("",!0),(0,z.Lk)("span",ZP,(0,z.v_)(n.conversationInformation.message),1)],8,ZI)]),key:"0"}:void 0]),1032,["name","title","active","bold","counterNumber","counterType","onClick"])}let ZN=["title"],ZR=(0,z.pM)({__name:"NcCounterBubble",props:{count:{},active:{type:Boolean},type:{default:""},raw:{type:Boolean}},setup(e){let t=e,i=(0,z.EW)(()=>t.raw?t.count.toString():new Intl.NumberFormat((0,K.lO)(),{notation:"compact",compactDisplay:"short"}).format(t.count)),n=(0,z.EW)(()=>{if(t.raw)return;let e=t.count.toString();if(e!==i.value)return e});return(e,t)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["counter-bubble__counter",{active:e.active,"counter-bubble__counter--highlighted":"highlighted"===e.type,"counter-bubble__counter--outlined":"outlined"===e.type}]),title:n.value},(0,z.v_)(i.value),11,ZN))}}),Zj=(0,e4._)(ZR,[["__scopeId","data-v-36ffc13f"]]),ZO=(0,z.pM)({name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(){return this.vnodes||this.$slots?.default?.({})}}),Zz={name:"NcListItem",components:{NcActions:Td.N,NcCounterBubble:Zj,NcVNodes:ZO},inheritAttrs:!1,props:{details:{type:String,default:""},name:{type:String,default:void 0},to:{type:[String,Object],default:null},href:{type:String,default:"#"},target:{type:String,default:""},anchorId:{type:String,default:""},bold:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},active:{type:Boolean,default:void 0},linkAriaLabel:{type:String,default:""},actionsAriaLabel:{type:String,default:void 0},counterNumber:{type:[Number,String],default:0},counterType:{type:String,default:"",validator:e=>-1!==["highlighted","outlined",""].indexOf(e)},forceDisplayActions:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},oneLine:{type:Boolean,default:!1}},emits:["click","dragstart","update:menuOpen"],data:()=>({hovered:!1,hasActions:!1,hasSubname:!1,displayActionsOnHoverFocus:!1,menuOpen:!1,hasIndicator:!1,hasDetails:!1}),computed:{showAdditionalElements(){return!this.displayActionsOnHoverFocus||this.forceDisplayActions},showDetails(){return(""!==this.details||this.hasDetails)&&(!this.displayActionsOnHoverFocus||this.forceDisplayActions)}},watch:{menuOpen(e){e||this.hovered||(this.displayActionsOnHoverFocus=!1)}},mounted(){this.checkSlots()},updated(){this.checkSlots()},methods:{onClick(e,t,i){this.$emit("click",e),e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||i&&(t?.(e),e.preventDefault())},showActions(){this.hasActions&&(this.displayActionsOnHoverFocus=!0),this.hovered=!1},hideActions(){this.displayActionsOnHoverFocus=!1},handleBlur(e){this.menuOpen||this.$refs["list-item"]?.contains(e.relatedTarget)||this.hideActions()},handleMouseleave(){this.menuOpen||(this.displayActionsOnHoverFocus=!1),this.hovered=!1},handleMouseover(){this.showActions(),this.hovered=!0},handleActionsUpdateOpen(e){this.menuOpen=e,this.$emit("update:menuOpen",e)},checkSlots(){!!this.$slots.actions!==this.hasActions&&(this.hasActions=!!this.$slots.actions),!!this.$slots.subname!==this.hasSubname&&(this.hasSubname=!!this.$slots.subname),!!this.$slots.indicator!==this.hasIndicator&&(this.hasIndicator=!!this.$slots.indicator),!!this.$slots.details!==this.hasDetails&&(this.hasDetails=!!this.$slots.details)}}},ZU=["id","aria-label","href","target","rel","onClick"],Zq={class:"list-item-content"},ZW={class:"list-item-content__main"},ZV={class:"list-item-content__name"},ZH={class:"list-item-content__details"},Z$={key:0,class:"list-item-details__details"},ZG={key:1,class:"list-item-details__extra"},ZX={key:1,class:"list-item-details__indicator"},ZK={key:0,class:"list-item-content__extra-actions"},ZY={key:2,class:"list-item__extra"};function ZQ(e,t,i,n,r,a){let s=(0,z.g2)("NcCounterBubble"),o=(0,z.g2)("NcActions");return(0,z.uX)(),(0,z.Wv)((0,z.$y)(i.to?"router-link":"NcVNodes"),(0,z._B)((0,z.Ng)({...i.to&&{custom:!0,to:i.to}})),{default:(0,z.k6)(({href:n,navigate:l,isActive:u})=>[(0,z.Lk)("li",(0,z.v6)({class:["list-item__wrapper",{"list-item__wrapper--active":i.active??u}]},e.$attrs),[(0,z.Lk)("div",{ref:"list-item",class:(0,z.C4)(["list-item",{"list-item--compact":i.compact,"list-item--one-line":i.oneLine}]),onMouseover:t[5]||(t[5]=(...e)=>a.handleMouseover&&a.handleMouseover(...e)),onMouseleave:t[6]||(t[6]=(...e)=>a.handleMouseleave&&a.handleMouseleave(...e))},[(0,z.Lk)("a",{id:i.anchorId||void 0,"aria-label":i.linkAriaLabel,class:"list-item__anchor",href:n||i.href,target:i.target||("#"===i.href?void 0:"_blank"),rel:"#"===i.href?void 0:"noopener noreferrer",onFocus:t[0]||(t[0]=(...e)=>a.showActions&&a.showActions(...e)),onFocusout:t[1]||(t[1]=(...e)=>a.handleBlur&&a.handleBlur(...e)),onClick:e=>a.onClick(e,l,n),onDragstart:t[2]||(t[2]=t=>e.$emit("dragstart",t)),onKeydown:t[3]||(t[3]=(0,z.jR)((...e)=>a.hideActions&&a.hideActions(...e),["esc"]))},[(0,z.RG)(e.$slots,"icon",{},void 0,!0),(0,z.Lk)("div",Zq,[(0,z.Lk)("div",ZW,[(0,z.Lk)("div",ZV,[(0,z.RG)(e.$slots,"name",{},()=>[(0,z.eW)((0,z.v_)(i.name),1)],!0)]),r.hasSubname?((0,z.uX)(),(0,z.CE)("div",{key:0,class:(0,z.C4)(["list-item-content__subname",{"list-item-content__subname--bold":i.bold}])},[(0,z.RG)(e.$slots,"subname",{},void 0,!0)],2)):(0,z.Q3)("",!0)]),(0,z.Lk)("div",ZH,[a.showDetails?((0,z.uX)(),(0,z.CE)("div",Z$,[(0,z.RG)(e.$slots,"details",{},()=>[(0,z.eW)((0,z.v_)(i.details),1)],!0)])):(0,z.Q3)("",!0),0!==i.counterNumber||r.hasIndicator?(0,z.bo)(((0,z.uX)(),(0,z.CE)("div",ZG,[0!==i.counterNumber?((0,z.uX)(),(0,z.Wv)(s,{key:0,count:i.counterNumber,active:i.active??u,class:"list-item-details__counter",type:i.counterType},null,8,["count","active","type"])):(0,z.Q3)("",!0),r.hasIndicator?((0,z.uX)(),(0,z.CE)("span",ZX,[(0,z.RG)(e.$slots,"indicator",{},void 0,!0)])):(0,z.Q3)("",!0)],512)),[[z.aG,a.showAdditionalElements]]):(0,z.Q3)("",!0)])])],40,ZU),e.$slots["extra-actions"]?((0,z.uX)(),(0,z.CE)("div",ZK,[(0,z.RG)(e.$slots,"extra-actions",{},void 0,!0)])):(0,z.Q3)("",!0),i.forceDisplayActions||r.displayActionsOnHoverFocus?((0,z.uX)(),(0,z.CE)("div",{key:1,class:"list-item-content__actions",onFocusout:t[4]||(t[4]=(...e)=>a.handleBlur&&a.handleBlur(...e))},[(0,z.bF)(o,{ref:"actions",primary:i.active??u,forceMenu:i.forceMenu,"aria-label":i.actionsAriaLabel,"onUpdate:open":a.handleActionsUpdateOpen},(0,z.eX)({default:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"actions",{},void 0,!0)]),_:2},[e.$slots["actions-icon"]?{name:"icon",fn:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"actions-icon",{},void 0,!0)]),key:"0"}:void 0]),1032,["primary","forceMenu","aria-label","onUpdate:open"])],32)):(0,z.Q3)("",!0),e.$slots.extra?((0,z.uX)(),(0,z.CE)("div",ZY,[(0,z.RG)(e.$slots,"extra",{},void 0,!0)])):(0,z.Q3)("",!0)],34)],16)]),_:3},16)}let ZZ=(0,e4._)(Zz,[["render",ZQ],["__scopeId","data-v-bc710154"]]),ZJ={name:"ConversationSearchResult",components:{ConversationIcon:LK,NcListItem:ZZ},props:{item:{type:Object,default:()=>({token:"",participants:[],participantType:0,unreadMessages:0,unreadMention:!1,objectType:"",type:0,displayName:"",isFavorite:!1,notificationLevel:0})}},emits:["click"],setup(e){let{item:t}=(0,z.QW)(e),i=(0,z.WQ)("selectedRoom",null),n=(0,z.WQ)("exposeDescription",(0,z.KR)(!1)),r=(0,z.WQ)("exposeMessages",(0,z.KR)(!1)),{counterType:a,conversationInformation:s}=Q2({item:t,exposeDescriptionRef:n,exposeMessagesRef:r});return{selectedRoom:i,counterType:a,conversationInformation:s,exposeMessagesRef:r}},methods:{onClick(){this.$emit("click",this.item)}}},Z0=(0,to.default)(ZJ,[["render",ZL],["__scopeId","data-v-687a88e2"]]),Z1={name:"RoomSelector",components:{ConversationsSearchListVirtual:(0,z.pM)({__name:"ConversationsSearchListVirtual",props:{conversations:{},loading:{type:Boolean}},emits:["select"],setup(e,{emit:t}){let i=e,n=t,r=ah.SIZE.DEFAULT+8+4,{list:a,containerProps:s,wrapperProps:o}=(0,J.niW)((0,z.lW)(()=>i.conversations),{itemHeight:r,overscan:10});function l(e){n("select",e)}return(t,i)=>((0,z.uX)(),(0,z.CE)("li",{ref:(0,z.R1)(s).ref,style:(0,z.Tr)((0,z.R1)(s).style),onScroll:i[0]||(i[0]=(...e)=>(0,z.R1)(s).onScroll&&(0,z.R1)(s).onScroll(...e))},[e.loading?((0,z.uX)(),(0,z.Wv)(Np,{key:0,type:"conversations"})):((0,z.uX)(),(0,z.CE)("ul",{key:1,style:(0,z.Tr)((0,z.R1)(o).style)},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)((0,z.R1)(a),e=>((0,z.uX)(),(0,z.Wv)(Z0,{key:e.data.id,item:e.data,onClick:l},null,8,["item"]))),128))],4))],36))}}),NcButton:e7.A,NcDialog:ox.A,NcEmptyContent:PZ.A,NcTextField:oD.A,Magnify:ZM,MessageOutline:Nh},props:{dialogTitle:{type:String,default:(0,K.t)("spreed","Link to a conversation")},dialogSubtitle:{type:String,default:""},showPostableOnly:{type:Boolean,default:!1},allowFederation:{type:Boolean,default:!1},listOpenConversations:{type:Boolean,default:!1},isPlugin:{type:Boolean,default:!1}},emits:["close","select"],setup(e){let t=(0,z.KR)(e.isPlugin?null:iQ().value),i=(0,z.KR)(null);return(0,z.Gt)("selectedRoom",i),{currentRoom:t,selectedRoom:i}},data:()=>({rooms:[],searchText:"",loading:!0}),computed:{availableRooms(){return this.rooms.filter(e=>e.type!==nJ.TYPE.CHANGELOG&&e.objectType!==nJ.OBJECT_TYPE.FILE&&e.objectType!==nJ.OBJECT_TYPE.VIDEO_VERIFICATION&&(!this.currentRoom||this.currentRoom!==e.token)&&(!this.showPostableOnly||e.readOnly===nJ.STATE.READ_WRITE)&&(!this.searchText||e.displayName.toLowerCase().includes(this.searchText.toLowerCase())))},noMatchFoundTitle(){return this.listOpenConversations?(0,K.t)("spreed","No open conversations found"):(0,K.t)("spreed","No conversations found")},noMatchFoundSubtitle(){return this.listOpenConversations?(0,K.t)("spreed","Either there are no open conversations or you joined all of them."):(0,K.t)("spreed","Check spelling or use complete words.")}},beforeMount(){this.fetchRooms()},methods:{t:K.t,async fetchRooms(){let e=this.listOpenConversations?await a7(""):await a8({includeStatus:!0});this.rooms=e.data.ocs.data.sort(this.sortConversations).filter(e=>this.allowFederation||!e.remoteServer),this.loading=!1},sortConversations:(e,t)=>e.isFavorite!==t.isFavorite?e.isFavorite?-1:1:t.lastActivity-e.lastActivity,clearText(){this.searchText=""},close(){this.$emit("close")},onSelect(e){this.selectedRoom=e},onSubmit(){this.$emit("select",this.selectedRoom)}}},Z2=(0,to.default)(Z1,[["render",ZC],["__scopeId","data-v-1afde060"]]),Z3={name:"MessageForwarder",components:{IconCheck:j5,NcButton:e7.A,NcDialog:ox.A,NcEmptyContent:PZ.A,RoomSelector:Z2},props:{token:{type:String,required:!0},id:{type:[String,Number],required:!0}},emits:["close"],setup(){let e=(0,z.KR)(null),t=(0,z.KR)(null),i=(0,z.KR)(!1),n=(0,z.KR)("");return{isTalkMainApp:(0,z.WQ)("Talk:isMainApp",!1),selectedConversationToken:e,selectedConversationName:t,showForwardedConfirmation:i,forwardedMessageID:n}},computed:{dialogTitle:()=>(0,K.t)("spreed","Forward message"),dialogSubtitle:()=>(0,K.t)("spreed","Choose a conversation to forward the selected message.")},methods:{t:K.t,async setSelectedConversationToken(e){this.selectedConversationToken=e.token,this.selectedConversationName=e.displayName;try{let e=await this.$store.dispatch("forwardMessage",{targetToken:this.selectedConversationToken,messageToBeForwarded:this.$store.getters.message(this.token,this.id)});this.forwardedMessageID=e.data.ocs.data.id,this.showForwardedConfirmation=!0}catch(e){console.error("Error while forwarding message",e),(0,$.s)((0,K.t)("spreed","Error while forwarding message"))}},openConversation(){if(this.isTalkMainApp)this.$router.push({name:"conversation",hash:`#message_${this.forwardedMessageID}`,params:{token:`${this.selectedConversationToken}`}}).catch(e=>console.debug(`Error while pushing the new conversation's route: ${e}`));else{let e=(0,O.Jv)("/call/{token}#message_{messageId}",{token:this.selectedConversationToken,messageId:this.forwardedMessageID});window.open(e,"_blank").focus()}this.showForwardedConfirmation=!1,this.forwardedMessageID="",this.$emit("close")},handleClose(){this.$emit("close")}}},Z4=(0,to.default)(Z3,[["render",Zk]]),Z6=["aria-hidden","aria-label"],Z5=["fill","width","height"],Z8={d:"M4 6.03L11.5 9.25L4 8.25L4 6.03M11.5 14.75L4 17.97V15.75L11.5 14.75M2 3L2 10L17 12L2 14L2 21L23 12L2 3Z"},Z9={key:0};function Z7(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon send-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Z8,[i.title?((0,z.uX)(),(0,z.CE)("title",Z9,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Z5))],16,Z6)}let Je={name:"SendOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jt=(0,to.default)(Je,[["render",Z7]]),Ji=["aria-hidden","aria-label"],Jn=["fill","width","height"],Jr={d:"M15 16.69V13H16.5V15.82L18.94 17.23L18.19 18.53L15 16.69M21.63 11.85L22 12L21.8 12.08C22.58 13.23 23 14.59 23 16C23 19.87 19.86 23 16 23C14.14 23 12.36 22.26 11.05 20.95C10.08 20 9.42 18.74 9.14 17.41L3 20V4L15.03 9.07C15.35 9 15.67 9 16 9C17.86 9 19.64 9.74 20.95 11.05C21.2 11.3 21.43 11.57 21.63 11.85M12.28 10.07L5 7V10.5L10.37 11.84C10.89 11.14 11.54 10.54 12.28 10.07M10.11 12.22L5 13.5V17L9.04 15.3C9.15 14.17 9.53 13.13 10.11 12.22M20.85 16C20.85 13.32 18.67 11.15 16 11.15C14.71 11.15 13.5 11.66 12.57 12.57C11.66 13.5 11.15 14.71 11.15 16C11.15 18.68 13.32 20.85 16 20.85C16.64 20.85 17.27 20.73 17.86 20.5C18.44 20.24 19 19.88 19.43 19.43C19.88 19 20.24 18.44 20.5 17.86C20.73 17.27 20.85 16.64 20.85 16Z"},Ja={key:0};function Js(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon send-variant-clock-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",Jr,[i.title?((0,z.uX)(),(0,z.CE)("title",Ja,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,Jn))],16,Ji)}let Jo={name:"SendVariantClockOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jl=(0,to.default)(Jo,[["render",Js]]),Ju=(0,z.pM)({__name:"ScheduledMessageActions",props:{message:{},isActionMenuOpen:{type:Boolean}},emits:["update:isActionMenuOpen","edit"],setup(e,{emit:t}){let i=e,n=t,r=(0,z.WQ)("getMessagesListScroller",()=>void 0),a=(0,q.n)(),s=oQ(),o=ed(),l=Y8(),{createTemporaryMessage:u}=cI(),d=(0,z.KR)(null),c=(0,z.KR)(new Date(1e3*i.message.timestamp)),h=(0,z.EW)(()=>(i.message.threadId??0)>0),f=(0,z.EW)(()=>0===i.message.timestamp),m=(0,z.EW)(()=>{let e=o.getters.conversation(i.message.token);return e.readOnly===nJ.STATE.READ_ONLY||(e.permissions&rq.PERMISSIONS.CHAT)==0}),g=(0,z.EW)(()=>f.value?(0,K.t)("spreed","Error when scheduling the message"):ux(1e3*i.message.timestamp,"shortDateWithTime"));async function p(){n("edit")}async function _(e){try{await s.editScheduledMessage(i.message.token,i.message.id,{message:i.message.message,sendAt:uA(e)}),iZ.emit("focus-message",{messageId:i.message.id})}catch(e){(0,$.s)((0,K.t)("spreed","Error when scheduling the message"))}}async function b(){await s.deleteScheduledMessage(i.message.token,i.message.id)}async function y(){let e={message:i.message.message,token:i.message.token,silent:i.message.silent};h.value&&(e.threadId=i.message.threadId,e.isThread=!0),i.message.parent?.id&&!i.message.parent.deleted&&(e.parent=i.message.parent),-1===i.message.threadId&&(e.threadTitle=i.message.threadTitle,e.threadReplies=0,e.isThread=!0);let t=u(e);await a.replace({query:{threadId:e.threadId},hash:""}),s.setShowScheduledMessages(!1),iZ.emit("scroll-chat-to-bottom",{smooth:!0,force:!0}),await o.dispatch("postNewMessage",{token:i.message.token,temporaryMessage:t}),await s.deleteScheduledMessage(i.message.token,i.message.id)}function F(){n("update:isActionMenuOpen",!0)}function k(){n("update:isActionMenuOpen",!1)}return(t,i)=>((0,z.uX)(),(0,z.CE)("div",null,[e.isActionMenuOpen?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e3.A),{key:1,forceMenu:"",open:"",placement:"bottom-end",boundariesElement:(0,z.R1)(r)(),onClose:k},{default:(0,z.k6)(()=>[null===d.value?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.bF)((0,z.R1)(TY),null,{icon:(0,z.k6)(()=>[(0,z.bF)(Jl,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(g.value),1)]),_:1}),m.value?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:"set-schedule-menu",isMenu:"",onClick:i[0]||(i[0]=(0,z.D$)(e=>d.value="schedule",["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(jA,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Reschedule")),1)]),_:1})),m.value?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:"send-message",closeAfterClick:"",onClick:(0,z.D$)(y,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(Jt,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Send now")),1)]),_:1})),h.value?((0,z.uX)(),(0,z.CE)(z.FK,{key:2},[(0,z.bF)((0,z.R1)(e9)),(0,z.bF)((0,z.R1)(e2.N),{closeAfterClick:"",onClick:i[1]||(i[1]=t=>l.value=e.message.threadId)},{icon:(0,z.k6)(()=>[(0,z.bF)(OJ,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Go to thread")),1)]),_:1})],64)):(0,z.Q3)("",!0),(0,z.bF)((0,z.R1)(e9)),f.value||m.value?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:"edit-message",closeAfterClick:"",onClick:(0,z.D$)(p,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(z_,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Edit")),1)]),_:1})),(0,z.bF)((0,z.R1)(e2.N),{key:"delete-message",closeAfterClick:"",onClick:(0,z.D$)(b,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(zH,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Delete")),1)]),_:1})],64)):"schedule"===d.value?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)((0,z.R1)(e2.N),{key:"action-back","aria-label":(0,z.R1)(K.t)("spreed","Back"),onClick:i[2]||(i[2]=(0,z.D$)(e=>d.value=null,["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(iu,{class:"bidirectional-icon"})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Back")),1)]),_:1},8,["aria-label"]),(0,z.bF)((0,z.R1)(e9)),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)((0,z.R1)(Z_)(),e=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:e.key,"aria-label":e.ariaLabel,closeAfterClick:"",onClick:(0,z.D$)(t=>_(e.timestamp),["stop"])},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e.label),1)]),_:2},1032,["aria-label","onClick"]))),128)),(0,z.bF)((0,z.R1)(NG.A),{modelValue:c.value,"onUpdate:modelValue":i[3]||(i[3]=e=>c.value=e),type:"datetime-local",min:new Date,label:(0,z.R1)(K.t)("spreed","Choose a time"),step:300,isNativePicker:""},{icon:(0,z.k6)(()=>[(0,z.bF)(jJ,{size:20})]),_:1},8,["modelValue","min","label"]),(0,z.bF)((0,z.R1)(e2.N),{key:"custom-time-submit",disabled:!c.value,closeAfterClick:"",onClick:i[4]||(i[4]=(0,z.D$)(e=>_(c.value.valueOf()),["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(j5,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Send at custom time")),1)]),_:1},8,["disabled"])],64)):(0,z.Q3)("",!0)]),_:1},8,["boundariesElement"])):((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:0,variant:"tertiary","aria-label":(0,z.R1)(K.t)("spreed","More actions"),title:(0,z.R1)(K.t)("spreed","More actions"),onClick:F},{icon:(0,z.k6)(()=>[(0,z.bF)(OO,{size:20})]),_:1},8,["aria-label","title"]))]))}}),Jd=["href","aria-label"],Jc=["src"],Jh={class:"contact__lineone"},Jf={class:"title"};function Jm(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("a",{class:"contact",href:i.link,"aria-label":a.contactAriaLabel,target:"_blank"},[a.contactPhotoFromBase64?((0,z.uX)(),(0,z.CE)("img",{key:0,class:(0,z.C4)({contact__image:a.contactHasPhoto,contact__icon:!a.contactHasPhoto}),alt:"",src:a.contactPhotoFromBase64},null,10,Jc)):(0,z.Q3)("",!0),(0,z.Lk)("div",Jh,[(0,z.Lk)("div",Jf,(0,z.v_)(a.displayName),1)])],8,Jd)}let Jg={name:"ContactCard",props:{name:{type:String,required:!0},link:{type:String,required:!0},contactName:{type:String,default:""},contactPhoto:{type:String,default:""},contactPhotoMimetype:{type:String,default:""}},computed:{contactHasPhoto(){return this.contactPhotoMimetype&&this.contactPhoto},contactPhotoFromBase64(){return this.contactHasPhoto?"data:"+this.contactPhotoMimetype+";base64,"+this.contactPhoto:OC.MimeType.getIconUrl("text/vcard")},displayName(){return this.contactName||this.name},contactAriaLabel:()=>(0,K.t)("spreed","Contact")},methods:{t:K.t}},Jp=(0,to.default)(Jg,[["render",Jm],["__scopeId","data-v-5f35acc9"]]),J_=["href","aria-label"],Jv={class:"deck-card__lineone"},Jb={class:"title"},Jy={class:"deck-card__linetwo"};function JF(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("a",{class:(0,z.C4)(["deck-card",{wide:i.wide}]),href:i.link,"aria-label":a.deckCardAriaLabel,target:"_blank"},[(0,z.Lk)("div",Jv,[t[0]||(t[0]=(0,z.Lk)("div",{class:"icon-deck"},null,-1)),(0,z.Lk)("div",Jb,(0,z.v_)(i.name),1)]),(0,z.Lk)("div",Jy,[(0,z.Lk)("div",null,(0,z.v_)(a.deckLocation),1)])],10,J_)}let Jk={name:"DeckCard",props:{type:{type:String,required:!0},id:{type:String,required:!0},name:{type:String,required:!0},boardname:{type:String,required:!0},stackname:{type:String,required:!0},link:{type:String,required:!0},wide:{type:Boolean,default:!1}},computed:{deckLocation(){return(0,K.t)("spreed","{stack} in {board}",{stack:this.stackname,board:this.boardname})},deckCardAriaLabel:()=>(0,K.t)("spreed","Deck Card")},methods:{t:K.t}},Jw=(0,to.default)(Jk,[["render",JF],["__scopeId","data-v-457f2464"]]),JC=["href"],JA={key:1};function JE(e,t,i,n,r,a){return i.link?((0,z.uX)(),(0,z.CE)("a",{key:0,href:i.link,class:"external",target:"_blank",rel:"noopener noreferrer"},[(0,z.Lk)("strong",null,(0,z.v_)(i.name),1)],8,JC)):((0,z.uX)(),(0,z.CE)("strong",JA,(0,z.v_)(i.name),1))}let JS={name:"DefaultParameter",props:{type:{type:String,required:!0},id:{type:String,required:!0},name:{type:String,required:!0},link:{type:String,default:""}}},Jx=(0,to.default)(JS,[["render",JE],["__scopeId","data-v-00e3d3cc"]]),JD=["title"],JT=["alt","src"],JM={key:0,class:"play-video-button"},JI={key:0,ref:"blurCanvas",width:"32",height:"32",class:"preview preview-loading"},JB={key:1,class:"name-container"};function JP(e,t,i,n,r,a){let s=(0,z.g2)("IconPlayCircleOutline"),o=(0,z.g2)("NcProgressBar"),l=(0,z.g2)("NcLoadingIcon"),u=(0,z.g2)("TransitionWrapper"),d=(0,z.g2)("IconClose"),c=(0,z.g2)("NcButton");return(0,z.uX)(),(0,z.Wv)((0,z.$y)(a.filePreviewElement),(0,z.v6)({tabindex:a.wrapperTabIndex,class:["file-preview",{"file-preview--viewer-available":a.isViewerAvailable,"file-preview--upload-editor":i.isUploadEditor,"file-preview--shared-items-grid":i.isSharedItems&&!i.rowLayout,"file-preview--row-layout":i.rowLayout}]},a.filePreviewBinding,{onClick:(0,z.D$)(a.handleClick,["exact"]),onKeydown:(0,z.jR)(a.handleClick,["enter"])}),{default:(0,z.k6)(()=>[(0,z.Lk)("span",{title:i.file.name,class:(0,z.C4)(["image-container",{playable:a.isPlayable}]),style:(0,z.Tr)(a.imageContainerStyle)},[(0,z.Lk)("img",{class:(0,z.C4)(["file-preview__image",a.previewImageClass]),alt:i.file.name,src:r.failed?a.defaultIconUrl:a.previewUrl,onLoad:t[0]||(t[0]=(...e)=>a.onLoad&&a.onLoad(...e)),onError:t[1]||(t[1]=(...e)=>a.onError&&a.onError(...e))},null,42,JT),!r.isLoading||a.fallbackLocalUrl?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[a.isPlayable&&!i.smallPreview?((0,z.uX)(),(0,z.CE)("span",JM,[(0,z.bF)(s,{size:48,fillColor:"#ffffff"})])):(0,z.Q3)("",!0),a.showUploadProgress?((0,z.uX)(),(0,z.Wv)(o,{key:1,class:"file-preview__progress",type:"circular",value:a.uploadProgress},null,8,["value"])):(0,z.Q3)("",!0)],64)):r.isLoading?((0,z.uX)(),(0,z.Wv)(u,{key:1,name:"fade"},{default:(0,z.k6)(()=>[i.file.blurhash?((0,z.uX)(),(0,z.CE)("canvas",JI,null,512)):((0,z.uX)(),(0,z.Wv)(l,{key:1,class:"preview preview-loading"}))]),_:1})):(0,z.Q3)("",!0)],14,JD),i.isUploadEditor?((0,z.uX)(),(0,z.Wv)(c,{key:0,class:"remove-file",tabindex:"1",variant:"primary","aria-label":a.removeAriaLabel,onClick:(0,z.D$)(a.handleClick,["stop","prevent"])},{icon:(0,z.k6)(()=>[(0,z.bF)(d)]),_:1},8,["aria-label","onClick"])):(0,z.Q3)("",!0),a.shouldShowFileDetail?((0,z.uX)(),(0,z.CE)("div",JB,(0,z.v_)(a.fileDetail),1)):(0,z.Q3)("",!0)]),_:1},16,["tabindex","class","onClick","onKeydown"])}var JL=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],JN=e=>{let t=0;for(let i=0;i{let t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Jj=e=>{let t=Math.max(0,Math.min(1,e));return t<=.0031308?Math.trunc(12.92*t*255+.5):Math.trunc((1.055*Math.pow(t,.4166666666666667)-.055)*255+.5)},JO=e=>e<0?-1:1,Jz=(e,t)=>JO(e)*Math.pow(Math.abs(e),t),JU=class extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}},Jq=e=>{if(!e||e.length<6)throw new JU("The blurhash string must be at least 6 characters");let t=JN(e[0]),i=Math.floor(t/9)+1,n=t%9+1;if(e.length!==4+2*n*i)throw new JU(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*n*i}`)},JW=e=>{let t=e>>16,i=e>>8&255,n=255&e;return[JR(t),JR(i),JR(n)]},JV=(e,t)=>{let i=Math.floor(e/361),n=Math.floor(e/19)%19,r=e%19;return[Jz((i-9)/9,2)*t,Jz((n-9)/9,2)*t,Jz((r-9)/9,2)*t]},JH=(e,t,i,n)=>{Jq(e),n|=1;let r=JN(e[0]),a=Math.floor(r/9)+1,s=r%9+1,o=(JN(e[1])+1)/166,l=Array(s*a);for(let t=0;t({"3a86fec2":e.color,0x36c809c:r.value}));let t=e,i=(0,z.EW)(()=>Math.max(0,Math.min(100,t.value))/100),n=(0,z.EW)(()=>{if("number"==typeof t.size)return Math.round(t.size);if("circular"===t.type)if("medium"===t.size)return J1;else return J2;return"medium"===t.size?1.5*J0:J0}),r=(0,z.EW)(()=>`${n.value}px`),a=(0,z.EW)(()=>Math.max(J0,n.value/J1*J0)),s=(0,z.EW)(()=>n.value/2),o=(0,z.EW)(()=>n.value/2-a.value),l=(0,z.EW)(()=>2*o.value*Math.PI);return(e,t)=>"circular"===e.type?((0,z.uX)(),(0,z.CE)("span",{key:0,role:"progressbar","aria-valuenow":e.value,class:(0,z.C4)([{"progress-bar--error":e.error},"progress-bar progress-bar--circular"])},[((0,z.uX)(),(0,z.CE)("svg",{height:n.value,width:n.value},[(0,z.Lk)("circle",{stroke:"currentColor",fill:"transparent","stroke-dasharray":`${i.value*l.value} ${(1-i.value)*l.value}`,"stroke-dashoffset":.25*l.value,"stroke-width":a.value,r:o.value,cx:s.value,cy:s.value},null,8,JK),(0,z.Lk)("circle",{stroke:"var(--color-background-darker)",fill:"transparent","stroke-dasharray":`${(1-i.value)*l.value} ${i.value*l.value}`,"stroke-dashoffset":(.25-i.value)*l.value,"stroke-width":a.value,r:o.value,cx:s.value,cy:s.value},null,8,JY)],8,JX))],10,JG)):((0,z.uX)(),(0,z.CE)("div",JQ,[(0,z.Lk)("progress",{class:(0,z.C4)(["progress-bar progress-bar--linear vue",{"progress-bar--error":e.error}]),value:e.value,max:"100"},null,10,JZ),e.showValue?((0,z.uX)(),(0,z.CE)("span",JJ,(0,z.v_)(e.value)+"%",1)):(0,z.Q3)("",!0)]))}}),J4=(0,e4._)(J3,[["__scopeId","data-v-353fa414"]]),J6=["aria-hidden","aria-label"],J5=["fill","width","height"],J8={d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"},J9={key:0};function J7(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon close-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",J8,[i.title?((0,z.uX)(),(0,z.CE)("title",J9,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,J5))],16,J6)}let eee={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eet=(0,to.default)(eee,[["render",J7]]),eei=["aria-hidden","aria-label"],een=["fill","width","height"],eer={d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M10,16.5L16,12L10,7.5V16.5Z"},eea={key:0};function ees(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon play-circle-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eer,[i.title?((0,z.uX)(),(0,z.CE)("title",eea,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,een))],16,eei)}let eeo={name:"PlayCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eel=(0,to.default)(eeo,[["render",ees]]),eeu=["src"];function eed(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("audio",{ref:"audioPlayer",class:"audio-player",controls:"",src:a.fileURL,onEnded:t[0]||(t[0]=(...e)=>a.handleEnded&&a.handleEnded(...e))},(0,z.v_)(a.t("spreed","Your browser does not support playing audio files")),41,eeu)}let eec={name:"AudioPlayer",props:{name:{type:String,required:!0},link:{type:String,default:""},path:{type:String,default:""},localUrl:{type:String,default:""},messageId:{type:Number,default:0},nextMessageId:{type:Number,default:0}},setup:()=>({actorStore:of()}),computed:{internalAbsolutePath(){return this.path.startsWith("/")?this.path:"/"+this.path},fileURL(){if(this.localUrl)return this.localUrl;let e=this.actorStore.userId;return null===e?this.link+"/download/"+(0,Ze.O0)(this.name):(0,O.dC)(`dav/files/${e}`)+(0,Ze.O0)(this.internalAbsolutePath)}},mounted(){iZ.on("audio-player-ended",this.autoPlay)},beforeUnmount(){iZ.off("audio-player-ended",this.autoPlay)},methods:{t:K.t,handleEnded(){this.nextMessageId&&iZ.emit("audio-player-ended",this.nextMessageId)},autoPlay(e){e===this.messageId&&this.$refs.audioPlayer?.play()}}},eeh=(0,to.default)(eec,[["render",eed],["__scopeId","data-v-11e36994"]]);function eef(e){return e.startsWith("/")?e:"/"+e}function eem(e){let t="";return e&OC.PERMISSION_CREATE&&(t+="CK"),e&OC.PERMISSION_READ&&(t+="G"),e&OC.PERMISSION_UPDATE&&(t+="W"),e&OC.PERMISSION_DELETE&&(t+="D"),e&OC.PERMISSION_SHARE&&(t+="R"),t}let eeg=(0,z.KR)(!1);function eep(e){let t=aI(),i=aT();function n(t){return"files"===e?{...t,permissions:eem(t.permissions)}:{fileid:parseInt(t.id,10),filename:eef(t.path),basename:t.name,mime:t.mimetype,hasPreview:"yes"===t.previewAvailable||"yes"===t["preview-available"],etag:t.etag,permissions:eem(t.permissions)}}oA();let r=async(e,r,a,s)=>{if(!OCA.Viewer)return!1;t.value&&i.setIsViewerOverlay(!0),OCA.Viewer.open({path:e,list:r.map(n),fileInfo:n(a),onClose:()=>{eeg.value=!1,i.setIsViewerOverlay(!1)},loadMore:s,canLoop:!1}),await (0,z.dY)(),eeg.value=!0};return{isViewerOpen:eeg,openViewer:r}}let ee_=0,eev=1,eeb=2,eey=3,eeF={name:"FilePreview",components:{NcButton:e7.A,NcLoadingIcon:te.N,NcProgressBar:J4,TransitionWrapper:DL,IconClose:eet,IconPlayCircleOutline:eel},props:{token:{type:String,required:!0},messageId:{type:[String,Number],default:0},nextMessageId:{type:[String,Number],default:0},file:{type:Object,required:!0},referenceId:{type:String,default:""},smallPreview:{type:Boolean,default:!1},isUploadEditor:{type:Boolean,default:!1},rowLayout:{type:Boolean,default:!1},isSharedItems:{type:Boolean,default:!1},itemType:{type:String,default:""}},emits:["removeFile"],setup(){let{openViewer:e}=eep("talk");return{openViewer:e,sharedItemsStore:up(),actorStore:of()}},data:()=>({isLoading:!0,failed:!1,uploadManager:null}),computed:{shouldShowFileDetail(){return(!this.isSharedItems||!!this.rowLayout)&&(!this.file.mimetype.startsWith("image/")||"yes"!==this.file["preview-available"]&&!this.file.localUrl||this.failed||this.isUploadEditor)},fileDetail(){return this.file.name},fallbackLocalUrl(){return this.$store.getters.getLocalUrl(this.referenceId)},filePreviewElement(){return this.isVoiceMessage&&!this.isSharedItems?eeh:this.isUploadEditor||this.isTemporaryUpload?"div":"a"},filePreviewBinding(){return this.isUploadEditor||this.isTemporaryUpload?void 0:this.isVoiceMessage&&!this.isSharedItems?{name:this.file.name,path:this.file.path,link:this.file.link,localUrl:this.fallbackLocalUrl,messageId:Number(this.messageId),nextMessageId:Number(this.nextMessageId)}:{href:this.file.link,target:"_blank",rel:"noopener noreferrer"}},defaultIconUrl(){return OC.MimeType.getIconUrl(this.file.mimetype)||(0,O.d0)("core","filetypes/file")},mediumPreview(){return!this.file.mimetype.startsWith("image/")&&!this.file.mimetype.startsWith("video/")},previewImageClass(){let e="";return this.smallPreview?e+="preview-small ":this.mediumPreview?e+="preview-medium ":e+="preview ",this.failed||this.previewType===eev||this.rowLayout?e+="mimeicon":"yes"===this.file["preview-available"]&&(e+="media"),e},imageContainerStyle(){if(this.previewType===ee_&&!this.isUploadEditor||this.isSharedItems&&!this.rowLayout)return{};if("yes"!==this.file["preview-available"]||this.file.mimetype.startsWith("audio/")||this.failed)return{width:this.smallPreview?"24px":"128px",height:this.smallPreview?"24px":"128px"};let e=this.smallPreview?24:this.mediumPreview?192:600,t=this.smallPreview?24:this.mediumPreview?192:384;if(!this.file.width||!this.file.height)return{};let i=Math.min(t>parseInt(this.file.height,10)?1:t/parseInt(this.file.height,10),e>parseInt(this.file.width,10)?1:e/parseInt(this.file.width,10));return{width:parseInt(this.file.width,10)*i+"px",aspectRatio:this.file.width+"/"+this.file.height}},maxGifSize(){return aX(this.token,"previews","max-gif-size")||3145728},previewType(){return this.hasTemporaryImageUrl?ee_:"yes"!==this.file["preview-available"]?eev:"image/gif"===this.file.mimetype&&parseInt(this.file.size,10)<=this.maxGifSize?eeb:eey},previewUrl(){let e=this.actorStore.userId;if(this.previewType===ee_)return this.file.localUrl;if(this.fallbackLocalUrl)return this.fallbackLocalUrl;if(this.previewType===eev||this.rowLayout)return OC.MimeType.getIconUrl(this.file.mimetype);if(this.previewType===eeb)if(null===e)return this.file.link+"/download/"+(0,Ze.O0)(this.file.name);else return(0,O.dC)(`dav/files/${e}`)+(0,Ze.O0)(this.internalAbsolutePath);let t=384;if(this.smallPreview&&(t=24),t=Math.ceil(t*window.devicePixelRatio),null!==e)return(0,O.Jv)("/core/preview?fileId={fileId}&x=-1&y={height}&a=1",{fileId:this.file.id,height:t});{let e=this.file.link.slice(this.file.link.lastIndexOf("/")+1);return(0,O.Jv)("/apps/files_sharing/publicpreview/{token}?x=-1&y={height}&a=1",{token:e,height:t})}},isViewerAvailable(){return OCA.Viewer?.mimetypes?.includes(this.file.mimetype)},isVoiceMessage(){return this.itemType===rQ},isPlayable(){return!this.failed&&!!this.isViewerAvailable&&this.previewType===eey&&("image/gif"===this.file.mimetype||this.file.mimetype.startsWith("video/"))},internalAbsolutePath(){return this.file.path?this.file.path.startsWith("/")?this.file.path:"/"+this.file.path:""},isTemporaryUpload(){return this.file.id.startsWith("temp")&&this.file.index&&this.file.uploadId},uploadFile(){return this.$store.getters.getUploadFile(this.file.uploadId,this.file.index)},upload(){return this.uploadManager?.queue.find(e=>e._source.includes(this.uploadFile?.sharePath))},uploadProgress(){switch(this.uploadFile?.status){case"shared":case"sharing":case"successUpload":return 100;case"uploading":return this.upload?this.upload._uploaded/this.upload._size*100:100;default:return 0}},showUploadProgress(){return this.isTemporaryUpload&&!this.isUploadEditor&&["shared","sharing","successUpload","uploading","failedUpload"].includes(this.uploadFile?.status)},hasTemporaryImageUrl(){return rJ.includes(this.file.mimetype)&&this.file.localUrl},wrapperTabIndex(){return this.isUploadEditor?"0":void 0},removeAriaLabel(){return(0,K.t)("spreed","Remove {fileName}",{fileName:this.file.name})}},watch:{uploadProgress(e){100===e&&(this.uploadManager=null)}},mounted(){if(this.isTemporaryUpload&&!this.isUploadEditor&&(this.uploadManager=cT()),this.file.blurhash&&this.file.width&&this.file.height){let e=this.$refs.blurCanvas.getContext("2d"),t=e.createImageData(32,32);t.data.set(JH(this.file.blurhash,32,32)),e.putImageData(t,0,0)}},beforeUnmount(){this.uploadManager=null},methods:{t:K.t,onLoad(){this.isLoading=!1},onError(){this.isLoading=!1,this.failed=!0},handleClick(e){if(this.isUploadEditor)return void this.$emit("removeFile",this.file.id);if(this.previewType!==ee_&&this.isViewerAvailable)if(e.stopPropagation(),e.preventDefault(),this.itemType===rG){let e=e=>Object.values(e).reverse().map(e=>e.messageParameters.file),t=e(this.sharedItemsStore.sharedItems(this.token).media),i=async()=>{let{messages:t}=await this.sharedItemsStore.fetchSharedItems(this.token,rG);return e(t)};this.openViewer(this.internalAbsolutePath,t,this.file,i)}else this.openViewer(this.internalAbsolutePath,[this.file],this.file)}}},eek=(0,to.default)(eeF,[["render",JP],["__scopeId","data-v-e86d61fa"]]),eew=["href","aria-label","title"];function eeC(e,t,i,n,r,a){let s=(0,z.g2)("LTileLayer"),o=(0,z.g2)("LControlAttribution"),l=(0,z.g2)("LIcon"),u=(0,z.g2)("LMarker"),d=(0,z.g2)("LMap");return(0,z.uX)(),(0,z.CE)("a",{href:a.mapLink,target:"_blank",rel:"noopener noreferrer",class:(0,z.C4)(["location",{wide:i.wide}]),"aria-label":a.linkAriaLabel,title:i.name},[(0,z.bF)(d,{zoom:r.previewZoom,center:a.center,options:{scrollWheelZoom:!1,zoomControl:!1,dragging:!1,attributionControl:!1},onScroll:t[0]||(t[0]=(0,z.D$)(()=>{},["prevent"]))},{default:(0,z.k6)(()=>[(0,z.bF)(s,{url:r.url},null,8,["url"]),(0,z.bF)(o,{position:"bottomright",prefix:r.attribution},null,8,["prefix"]),(0,z.bF)(u,{latLng:a.center},{default:(0,z.k6)(()=>[(0,z.bF)(l,{iconSize:[26,40],iconAnchor:[13,40],iconUrl:a.iconUrl},null,8,["iconUrl"])]),_:1},8,["latLng"])]),_:1},8,["zoom","center"])],10,eew)}let eeA=(e,t)=>{for(let i of Object.keys(t))e.on(i,t[i])},eeE=e=>{for(let t of Object.keys(e)){let i=e[t];i&&eex(i.cancel)&&i.cancel()}},eeS=e=>e&&"function"==typeof e.charAt?e.charAt(0).toUpperCase()+e.slice(1):e,eex=e=>"function"==typeof e,eeD=(e,t,i)=>{for(let n in i){let r="set"+eeS(n);e[r]?(0,z.wB)(()=>i[n],(t,i)=>{e[r](t,i)}):t[r]&&(0,z.wB)(()=>i[n],e=>{t[r](e)})}},eeT=(e,t,i={})=>{let n={...i};for(let i in e){let r=t[i],a=e[i];r&&(r&&!0===r.custom||void 0!==a&&(n[i]=a))}return n},eeM=e=>{let t={},i={};for(let n in e)n.startsWith("on")&&!n.startsWith("onUpdate")&&"onReady"!==n?t[n.slice(2).toLocaleLowerCase()]=e[n]:i[n]=e[n];return{listeners:t,attrs:i}},eeI=async e=>{let t=await Promise.all([__webpack_require__.e("node_modules_leaflet_dist_images_marker-icon-2x_png").then(__webpack_require__.t.bind(__webpack_require__,18249,17)),__webpack_require__.e("node_modules_leaflet_dist_images_marker-icon_png").then(__webpack_require__.t.bind(__webpack_require__,37024,17)),__webpack_require__.e("node_modules_leaflet_dist_images_marker-shadow_png").then(__webpack_require__.t.bind(__webpack_require__,91071,17))]);delete e.Default.prototype._getIconUrl,e.Default.mergeOptions({iconRetinaUrl:t[0].default,iconUrl:t[1].default,shadowUrl:t[2].default})},eeB=e=>{let t=(0,z.KR)((...t)=>console.warn(`Method ${e} has been invoked without being replaced`)),i=(...e)=>t.value(...e);return i.wrapped=t,(0,z.Gt)(e,i),i},eeP=(e,t)=>e.wrapped.value=t,eeL="object"==typeof self&&self.self===self&&self||"object"==typeof __webpack_require__.g&&__webpack_require__.g.global===__webpack_require__.g&&__webpack_require__.g||globalThis,eeN=e=>{let t=(0,z.WQ)(e);if(void 0===t)throw Error(`Attempt to inject ${e.description} before it was provided.`);return t},eeR=(Symbol.toStringTag,Symbol("useGlobalLeaflet")),eej=Symbol("addLayer"),eeO=Symbol("removeLayer"),eez=Symbol("registerControl"),eeU=Symbol("registerLayerControl"),eeq=Symbol("canSetParentHtml"),eeW=Symbol("setParentHtml"),eeV=Symbol("setIcon"),eeH=Symbol("bindPopup"),ee$=Symbol("bindTooltip"),eeG=Symbol("unbindPopup"),eeX=Symbol("unbindTooltip"),eeK=(Symbol.toStringTag,{options:{type:Object,default:()=>({}),custom:!0}}),eeY=e=>({options:e.options,methods:{}}),eeQ=(Symbol.toStringTag,{...eeK,pane:{type:String},attribution:{type:String},name:{type:String,custom:!0},layerType:{type:String,custom:!0},visible:{type:Boolean,custom:!0,default:!0}}),eeZ=(e,t,i)=>{let n=eeN(eej),r=eeN(eeO),{options:a,methods:s}=eeY(e),o=eeT(e,eeQ,a),l=()=>n({leafletObject:t.value}),u=()=>r({leafletObject:t.value}),d={...s,setAttribution(i){u(),t.value.options.attribution=i,e.visible&&l()},setName(){u(),e.visible&&l()},setLayerType(){u(),e.visible&&l()},setVisible(e){t.value&&(e?l():u())},bindPopup(e){t.value&&eex(t.value.bindPopup)?t.value.bindPopup(e):console.warn("Attempt to bind popup before bindPopup method available on layer.")},bindTooltip(e){t.value&&eex(t.value.bindTooltip)?t.value.bindTooltip(e):console.warn("Attempt to bind tooltip before bindTooltip method available on layer.")},unbindTooltip(){t.value&&(eex(t.value.closeTooltip)&&t.value.closeTooltip(),eex(t.value.unbindTooltip)&&t.value.unbindTooltip())},unbindPopup(){t.value&&(eex(t.value.closePopup)&&t.value.closePopup(),eex(t.value.unbindPopup)&&t.value.unbindPopup())},updateVisibleProp(e){i.emit("update:visible",e)}};return(0,z.Gt)(eeH,d.bindPopup),(0,z.Gt)(ee$,d.bindTooltip),(0,z.Gt)(eeG,d.unbindPopup),(0,z.Gt)(eeX,d.unbindTooltip),(0,z.hi)(()=>{d.unbindPopup(),d.unbindTooltip(),u()}),{options:o,methods:d}},eeJ=(e,t)=>{if(e&&t.default)return(0,z.h)("div",{style:{display:"none"}},t.default())},ee0=(Symbol.toStringTag,{...eeQ,interactive:{type:Boolean,default:void 0},bubblingMouseEvents:{type:Boolean,default:void 0}}),ee1=(e,t,i)=>{let{options:n,methods:r}=eeZ(e,t,i);return{options:eeT(e,ee0,n),methods:r}},ee2=(Symbol.toStringTag,{...ee0,stroke:{type:Boolean,default:void 0},color:{type:String},weight:{type:Number},opacity:{type:Number},lineCap:{type:String},lineJoin:{type:String},dashArray:{type:String},dashOffset:{type:String},fill:{type:Boolean,default:void 0},fillColor:{type:String},fillOpacity:{type:Number},fillRule:{type:String},className:{type:String}}),ee3=(e,t,i)=>{let{options:n,methods:r}=ee1(e,t,i),a=eeT(e,ee2,n),s=eeN(eeO),o={...r,setStroke(e){t.value.setStyle({stroke:e})},setColor(e){t.value.setStyle({color:e})},setWeight(e){t.value.setStyle({weight:e})},setOpacity(e){t.value.setStyle({opacity:e})},setLineCap(e){t.value.setStyle({lineCap:e})},setLineJoin(e){t.value.setStyle({lineJoin:e})},setDashArray(e){t.value.setStyle({dashArray:e})},setDashOffset(e){t.value.setStyle({dashOffset:e})},setFill(e){t.value.setStyle({fill:e})},setFillColor(e){t.value.setStyle({fillColor:e})},setFillOpacity(e){t.value.setStyle({fillOpacity:e})},setFillRule(e){t.value.setStyle({fillRule:e})},setClassName(e){t.value.setStyle({className:e})}};return(0,z.xo)(()=>{s({leafletObject:t.value})}),{options:a,methods:o}},ee4=(Symbol.toStringTag,{...ee2,radius:{type:Number},latLng:{type:[Object,Array],required:!0,custom:!0}}),ee6=(e,t,i)=>{let{options:n,methods:r}=ee3(e,t,i);return{options:eeT(e,ee4,n),methods:{...r,setRadius(e){t.value.setRadius(e)},setLatLng(e){t.value.setLatLng(e)}}}},ee5=(Symbol.toStringTag,{...ee4,radius:{type:Number}}),ee8=(e,t,i)=>{let{options:n,methods:r}=ee6(e,t,i);return{options:eeT(e,ee5,n),methods:{...r}}},ee9=(Symbol.toStringTag,(0,z.pM)({name:"LCircle",props:ee5,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej),{options:s,methods:o}=ee8(e,i,t);return(0,z.sV)(async()=>{let{circle:l}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(l(e.latLng,s));let{listeners:u}=eeM(t.attrs);i.value.on(u),eeD(o,i.value,e),a({...e,...o,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}}),(0,z.pM)({name:"LCircleMarker",props:ee4,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej),{options:s,methods:o}=ee6(e,i,t);return(0,z.sV)(async()=>{let{circleMarker:l}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(l(e.latLng,s));let{listeners:u}=eeM(t.attrs);i.value.on(u),eeD(o,i.value,e),a({...e,...o,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}}),{...eeK,position:{type:String}}),ee7=(e,t)=>{let{options:i,methods:n}=eeY(e),r=eeT(e,ee9,i),a={...n,setPosition(e){t.value&&t.value.setPosition(e)}};return(0,z.hi)(()=>{t.value&&t.value.remove()}),{options:r,methods:a}},ete=e=>e.default?(0,z.h)("div",{ref:"root"},e.default()):null,ett=(Symbol.toStringTag,(0,z.pM)({name:"LControl",props:{...ee9,disableClickPropagation:{type:Boolean,custom:!0,default:!0},disableScrollPropagation:{type:Boolean,custom:!0,default:!1}},setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(),r=(0,z.WQ)(eeR),a=eeN(eez),{options:s,methods:o}=ee7(e,i);return(0,z.sV)(async()=>{let{Control:l,DomEvent:u}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008)),d=l.extend({onAdd:()=>n.value});i.value=(0,z.IG)(new d(s)),eeD(o,i.value,e),a({leafletObject:i.value}),e.disableClickPropagation&&n.value&&u.disableClickPropagation(n.value),e.disableScrollPropagation&&n.value&&u.disableScrollPropagation(n.value),(0,z.dY)(()=>t.emit("ready",i.value))}),{root:n,leafletObject:i}},render(){return ete(this.$slots)}}),{...ee9,prefix:{type:String}}),eti=(e,t)=>{let{options:i,methods:n}=ee7(e,t);return{options:eeT(e,ett,i),methods:{...n,setPrefix(e){t.value.setPrefix(e)}}}},etn=(Symbol.toStringTag,(0,z.pM)({name:"LControlAttribution",props:ett,setup(e,t){let i=(0,z.KR)(),n=(0,z.WQ)(eeR),r=eeN(eez),{options:a,methods:s}=eti(e,i);return(0,z.sV)(async()=>{let{control:o}=n?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(o.attribution(a)),eeD(s,i.value,e),r({leafletObject:i.value}),(0,z.dY)(()=>t.emit("ready",i.value))}),{leafletObject:i}},render:()=>null})),etr={...ee9,collapsed:{type:Boolean,default:void 0},autoZIndex:{type:Boolean,default:void 0},hideSingleBase:{type:Boolean,default:void 0},sortLayers:{type:Boolean,default:void 0},sortFunction:{type:Function}},eta=(e,t)=>{let{options:i}=ee7(e,t);return{options:eeT(e,etr,i),methods:{addLayer(e){"base"===e.layerType?t.value.addBaseLayer(e.leafletObject,e.name):"overlay"===e.layerType&&t.value.addOverlay(e.leafletObject,e.name)},removeLayer(e){t.value.removeLayer(e.leafletObject)}}}},ets=(Symbol.toStringTag,(0,z.pM)({name:"LControlLayers",props:etr,setup(e,t){let i=(0,z.KR)(),n=(0,z.WQ)(eeR),r=eeN(eeU),{options:a,methods:s}=eta(e,i);return(0,z.sV)(async()=>{let{control:o}=n?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(o.layers(void 0,void 0,a)),eeD(s,i.value,e),r({...e,...s,leafletObject:i.value}),(0,z.dY)(()=>t.emit("ready",i.value))}),{leafletObject:i}},render:()=>null}),{...ee9,maxWidth:{type:Number},metric:{type:Boolean,default:void 0},imperial:{type:Boolean,default:void 0},updateWhenIdle:{type:Boolean,default:void 0}}),eto=(e,t)=>{let{options:i,methods:n}=ee7(e,t);return{options:eeT(e,ets,i),methods:n}},etl=(Symbol.toStringTag,(0,z.pM)({name:"LControlScale",props:ets,setup(e,t){let i=(0,z.KR)(),n=(0,z.WQ)(eeR),r=eeN(eez),{options:a,methods:s}=eto(e,i);return(0,z.sV)(async()=>{let{control:o}=n?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(o.scale(a)),eeD(s,i.value,e),r({leafletObject:i.value}),(0,z.dY)(()=>t.emit("ready",i.value))}),{leafletObject:i}},render:()=>null}),{...ee9,zoomInText:{type:String},zoomInTitle:{type:String},zoomOutText:{type:String},zoomOutTitle:{type:String}}),etu=(e,t)=>{let{options:i,methods:n}=ee7(e,t);return{options:eeT(e,etl,i),methods:n}},etd=(Symbol.toStringTag,(0,z.pM)({name:"LControlZoom",props:etl,setup(e,t){let i=(0,z.KR)(),n=(0,z.WQ)(eeR),r=eeN(eez),{options:a,methods:s}=etu(e,i);return(0,z.sV)(async()=>{let{control:o}=n?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(o.zoom(a)),eeD(s,i.value,e),r({leafletObject:i.value}),(0,z.dY)(()=>t.emit("ready",i.value))}),{leafletObject:i}},render:()=>null}),{...eeQ}),etc=(e,t,i)=>{let{options:n,methods:r}=eeZ(e,t,i),a=eeT(e,etd,n),s={...r,addLayer(e){t.value.addLayer(e.leafletObject)},removeLayer(e){t.value.removeLayer(e.leafletObject)}};return(0,z.Gt)(eej,s.addLayer),(0,z.Gt)(eeO,s.removeLayer),{options:a,methods:s}},eth=(Symbol.toStringTag,{...etd}),etf=(e,t,i)=>{let{options:n,methods:r}=etc(e,t,i);return{options:eeT(e,eth,n),methods:{...r}}},etm=(Symbol.toStringTag,(0,z.pM)({props:eth,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej),{methods:s,options:o}=etf(e,i,t);return(0,z.sV)(async()=>{let{featureGroup:l}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(l(void 0,o));let{listeners:u}=eeM(t.attrs);i.value.on(u),eeD(s,i.value,e),a({...e,...s,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}}),{...etd,geojson:{type:[Object,Array],custom:!0},optionsStyle:{type:Function,custom:!0}}),etg=(e,t,i)=>{let{options:n,methods:r}=etc(e,t,i),a=eeT(e,etm,n);return Object.prototype.hasOwnProperty.call(e,"optionsStyle")&&(a.style=e.optionsStyle),{options:a,methods:{...r,setGeojson(e){t.value.clearLayers(),t.value.addData(e)},setOptionsStyle(e){t.value.setStyle(e)},getGeoJSONData:()=>t.value.toGeoJSON(),getBounds:()=>t.value.getBounds()}}},etp=(Symbol.toStringTag,(0,z.pM)({props:etm,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej),{methods:s,options:o}=etg(e,i,t);return(0,z.sV)(async()=>{let{geoJSON:l}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(l(e.geojson,o));let{listeners:u}=eeM(t.attrs);i.value.on(u),eeD(s,i.value,e),a({...e,...s,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}}),{...eeQ,opacity:{type:Number},zIndex:{type:Number},tileSize:{type:[Number,Array,Object]},noWrap:{type:Boolean,default:void 0},minZoom:{type:Number},maxZoom:{type:Number},className:{type:String}}),et_=(e,t,i)=>{let{options:n,methods:r}=eeZ(e,t,i),a=eeT(e,etp,n),s={...r,setTileComponent(){var e;null==(e=t.value)||e.redraw()}};return(0,z.hi)(()=>{t.value.off()}),{options:a,methods:s}},etv=(e,t,i,n)=>e.extend({initialize(e){this.tileComponents={},this.on("tileunload",this._unloadTile),i.setOptions(this,e)},createTile(e){let i=this._tileCoordsToKey(e);this.tileComponents[i]=t.create("div");let r=(0,z.h)({setup:n,props:["coords"]},{coords:e});return(0,z.XX)(r,this.tileComponents[i]),this.tileComponents[i]},_unloadTile(e){let t=this._tileCoordsToKey(e.coords);this.tileComponents[t]&&(this.tileComponents[t].innerHTML="",this.tileComponents[t]=void 0)}}),etb=(Symbol.toStringTag,(0,z.pM)({props:{...etp,childRender:{type:Function,required:!0}},setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(null),r=(0,z.KR)(!1),a=(0,z.WQ)(eeR),s=eeN(eej),{options:o,methods:l}=et_(e,i,t);return(0,z.sV)(async()=>{let{GridLayer:n,DomUtil:u,Util:d}=a?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008)),c=etv(n,u,d,e.childRender);i.value=(0,z.IG)(new c(o));let{listeners:h}=eeM(t.attrs);i.value.on(h),eeD(l,i.value,e),s({...e,...l,leafletObject:i.value}),r.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{root:n,ready:r,leafletObject:i}},render(){return this.ready?(0,z.h)("div",{style:{display:"none"},ref:"root"}):null}}),{iconUrl:{type:String},iconRetinaUrl:{type:String},iconSize:{type:[Object,Array]},iconAnchor:{type:[Object,Array]},popupAnchor:{type:[Object,Array]},tooltipAnchor:{type:[Object,Array]},shadowUrl:{type:String},shadowRetinaUrl:{type:String},shadowSize:{type:[Object,Array]},shadowAnchor:{type:[Object,Array]},bgPos:{type:[Object,Array]},className:{type:String}}),ety=(Symbol.toStringTag,(0,z.pM)({name:"LIcon",props:{...etb,...eeK},setup(e,t){let i,n,r,a,s,o=(0,z.KR)(),l=(0,z.WQ)(eeR),u=eeN(eeq),d=eeN(eeW),c=eeN(eeV),h=(o,l,h)=>{let f=o&&o.innerHTML;if(!l){h&&s&&u()&&d(f);return}let{listeners:m}=eeM(t.attrs);s&&n(s,m);let{options:g}=eeY(e),p=eeT(e,etb,g);f&&(p.html=f),s=p.html?r(p):a(p),i(s,m),c(s)},f=()=>{(0,z.dY)(()=>h(o.value,!0,!1))},m=()=>{(0,z.dY)(()=>h(o.value,!1,!0))},g={setIconUrl:f,setIconRetinaUrl:f,setIconSize:f,setIconAnchor:f,setPopupAnchor:f,setTooltipAnchor:f,setShadowUrl:f,setShadowRetinaUrl:f,setShadowAnchor:f,setBgPos:f,setClassName:f,setHtml:f};return(0,z.sV)(async()=>{let{DomEvent:t,divIcon:s,icon:u}=l?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i=t.on,n=t.off,r=s,a=u,eeD(g,{},e),new MutationObserver(m).observe(o.value,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),f()}),{root:o}},render(){let e=this.$slots.default?this.$slots.default():void 0;return(0,z.h)("div",{ref:"root"},e)}})),etF={...eeQ,opacity:{type:Number},alt:{type:String},interactive:{type:Boolean,default:void 0},crossOrigin:{type:Boolean,default:void 0},errorOverlayUrl:{type:String},zIndex:{type:Number},className:{type:String},url:{type:String,required:!0,custom:!0},bounds:{type:[Array,Object],required:!0,custom:!0}},etk=(e,t,i)=>{let{options:n,methods:r}=eeZ(e,t,i);return{options:eeT(e,etF,n),methods:{...r,setOpacity:e=>t.value.setOpacity(e),setUrl:e=>t.value.setUrl(e),setBounds:e=>t.value.setBounds(e),getBounds:()=>t.value.getBounds(),getElement:()=>t.value.getElement(),bringToFront:()=>t.value.bringToFront(),bringToBack:()=>t.value.bringToBack(),setZIndex:e=>t.value.setZIndex(e)}}};function etw(e,t,i){void 0===t&&(t=50),void 0===i&&(i={});var n,r,a,s=null!=(n=i.isImmediate)&&n,o=null!=(r=i.callback)&&r,l=i.maxWait,u=Date.now(),d=[];function c(){if(void 0!==l){var e=Date.now()-u;if(e+t>=l)return l-e}return t}var h=function(){var t=[].slice.call(arguments),i=this;return new Promise(function(n,r){var l=s&&void 0===a;if(void 0!==a&&clearTimeout(a),a=setTimeout(function(){if(a=void 0,u=Date.now(),!s){var n=e.apply(i,t);o&&o(n),d.forEach(function(e){return(0,e.resolve)(n)}),d=[]}},c()),l){var h=e.apply(i,t);return o&&o(h),n(h)}d.push({resolve:n,reject:r})})};return h.cancel=function(e){void 0!==a&&clearTimeout(a),d.forEach(function(t){return(0,t.reject)(e)}),d=[]},h}Symbol.toStringTag,(0,z.pM)({name:"LImageOverlay",props:etF,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej),{options:s,methods:o}=etk(e,i,t);return(0,z.sV)(async()=>{let{imageOverlay:l}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(l(e.url,e.bounds,s));let{listeners:u}=eeM(t.attrs);i.value.on(u),eeD(o,i.value,e),a({...e,...o,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}}),(0,z.pM)({props:etd,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej),{methods:s}=etc(e,i,t);return(0,z.sV)(async()=>{let{layerGroup:o}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(o(void 0,e.options));let{listeners:l}=eeM(t.attrs);i.value.on(l),eeD(s,i.value,e),a({...e,...s,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}});let etC={...eeK,center:{type:[Object,Array]},bounds:{type:[Array,Object]},maxBounds:{type:[Array,Object]},zoom:{type:Number},minZoom:{type:Number},maxZoom:{type:Number},paddingBottomRight:{type:[Object,Array]},paddingTopLeft:{type:Object},padding:{type:Object},worldCopyJump:{type:Boolean,default:void 0},crs:{type:[String,Object]},maxBoundsViscosity:{type:Number},inertia:{type:Boolean,default:void 0},inertiaDeceleration:{type:Number},inertiaMaxSpeed:{type:Number},easeLinearity:{type:Number},zoomAnimation:{type:Boolean,default:void 0},zoomAnimationThreshold:{type:Number},fadeAnimation:{type:Boolean,default:void 0},markerZoomAnimation:{type:Boolean,default:void 0},noBlockingAnimations:{type:Boolean,default:void 0},useGlobalLeaflet:{type:Boolean,default:!0,custom:!0}},etA=(0,z.pM)({inheritAttrs:!1,emits:["ready","update:zoom","update:center","update:bounds"],props:etC,setup(e,t){let i=(0,z.KR)(),n=(0,z.Kh)({ready:!1,layersToAdd:[],layersInControl:[]}),{options:r}=eeY(e),a=eeT(e,etC,r),{listeners:s,attrs:o}=eeM(t.attrs),l=eeB(eej),u=eeB(eeO),d=eeB(eez),c=eeB(eeU);(0,z.Gt)(eeR,e.useGlobalLeaflet);let h=(0,z.EW)(()=>{let t={};return e.noBlockingAnimations&&(t.animate=!1),t}),f=(0,z.EW)(()=>{let t=h.value;return e.padding&&(t.padding=e.padding),e.paddingTopLeft&&(t.paddingTopLeft=e.paddingTopLeft),e.paddingBottomRight&&(t.paddingBottomRight=e.paddingBottomRight),t}),m={moveend:etw(e=>{n.leafletRef&&(t.emit("update:zoom",n.leafletRef.getZoom()),t.emit("update:center",n.leafletRef.getCenter()),t.emit("update:bounds",n.leafletRef.getBounds()))}),overlayadd(e){let t=n.layersInControl.find(t=>t.name===e.name);t&&t.updateVisibleProp(!0)},overlayremove(e){let t=n.layersInControl.find(t=>t.name===e.name);t&&t.updateVisibleProp(!1)}};(0,z.sV)(async()=>{e.useGlobalLeaflet&&(eeL.L=eeL.L||await Promise.resolve().then(__webpack_require__.t.bind(__webpack_require__,53481,23)));let{map:r,CRS:o,Icon:g,latLngBounds:p,latLng:_,stamp:b}=e.useGlobalLeaflet?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));try{a.beforeMapMount&&await a.beforeMapMount()}catch(e){console.error(`The following error occurred running the provided beforeMapMount hook ${e.message}`)}await eeI(g);let y="string"==typeof a.crs?o[a.crs]:a.crs;a.crs=y||o.EPSG3857;let F={addLayer(e){void 0!==e.layerType&&(void 0===n.layerControl?n.layersToAdd.push(e):n.layersInControl.find(t=>b(t.leafletObject)===b(e.leafletObject))||(n.layerControl.addLayer(e),n.layersInControl.push(e))),!1!==e.visible&&n.leafletRef.addLayer(e.leafletObject)},removeLayer(e){void 0!==e.layerType&&(void 0===n.layerControl?n.layersToAdd=n.layersToAdd.filter(t=>t.name!==e.name):(n.layerControl.removeLayer(e.leafletObject),n.layersInControl=n.layersInControl.filter(t=>b(t.leafletObject)!==b(e.leafletObject)))),n.leafletRef.removeLayer(e.leafletObject)},registerLayerControl(e){n.layerControl=e,n.layersToAdd.forEach(e=>{n.layerControl.addLayer(e)}),n.layersToAdd=[],d(e)},registerControl(e){n.leafletRef.addControl(e.leafletObject)},setZoom(e){e!==n.leafletRef.getZoom()&&n.leafletRef.setZoom(e,h.value)},setCrs(e){let t=n.leafletRef.getBounds();n.leafletRef.options.crs=e,n.leafletRef.fitBounds(t,{animate:!1,padding:[0,0]})},fitBounds(e){n.leafletRef.fitBounds(e,f.value)},setBounds(e){if(!e)return;let t=p(e);t.isValid()&&((n.lastSetBounds||n.leafletRef.getBounds()).equals(t,0)||(n.lastSetBounds=t,n.leafletRef.fitBounds(t)))},setCenter(e){if(null==e)return;let t=_(e),i=n.lastSetCenter||n.leafletRef.getCenter();(i.lat!==t.lat||i.lng!==t.lng)&&(n.lastSetCenter=t,n.leafletRef.panTo(t,h.value))}};eeP(l,F.addLayer),eeP(u,F.removeLayer),eeP(d,F.registerControl),eeP(c,F.registerLayerControl),n.leafletRef=(0,z.IG)(r(i.value,a)),eeD(F,n.leafletRef,e),eeA(n.leafletRef,m),eeA(n.leafletRef,s),n.ready=!0,(0,z.dY)(()=>t.emit("ready",n.leafletRef))}),(0,z.xo)(()=>{eeE(m),n.leafletRef&&(n.leafletRef.off(),n.leafletRef.remove())});let g=(0,z.EW)(()=>n.leafletRef);return{root:i,ready:(0,z.EW)(()=>n.ready),leafletObject:g,attrs:o}},render({attrs:e}){return e.style||(e.style={}),e.style.width||(e.style.width="100%"),e.style.height||(e.style.height="100%"),(0,z.h)("div",{...e,ref:"root"},this.ready&&this.$slots.default?this.$slots.default():{})}}),etE=["Symbol(Comment)","Symbol(Text)"],etS=["LTooltip","LPopup"],etx={...eeQ,draggable:{type:Boolean,default:void 0},icon:{type:[Object]},zIndexOffset:{type:Number},latLng:{type:[Object,Array],custom:!0,required:!0}},etD=(e,t,i)=>{let{options:n,methods:r}=eeZ(e,t,i);return{options:eeT(e,etx,n),methods:{...r,setDraggable(e){t.value.dragging&&(e?t.value.dragging.enable():t.value.dragging.disable())},latLngSync(e){i.emit("update:latLng",e.latlng),i.emit("update:lat-lng",e.latlng)},setLatLng(e){if(null!=e&&t.value){let i=t.value.getLatLng();i&&i.equals(e)||t.value.setLatLng(e)}}}}},etT=(e,t)=>{let i=t.slots.default&&t.slots.default();return i&&i.length&&i.some(etM)};function etM(e){return!(etE.includes(e.type.toString())||etS.includes(e.type.name))}Symbol.toStringTag;let etI=(0,z.pM)({name:"LMarker",props:etx,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej);(0,z.Gt)(eeq,()=>{var e;return!!(null!=(e=i.value)&&e.getElement())}),(0,z.Gt)(eeW,e=>{var t,n;let r=eex(null==(t=i.value)?void 0:t.getElement)&&(null==(n=i.value)?void 0:n.getElement());r&&(r.innerHTML=e)}),(0,z.Gt)(eeV,e=>{var t;return(null==(t=i.value)?void 0:t.setIcon)&&i.value.setIcon(e)});let{options:s,methods:o}=etD(e,i,t),l={moveHandler:etw(o.latLngSync)};return(0,z.sV)(async()=>{let{marker:u,divIcon:d}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));etT(s,t)&&(s.icon=d({className:""})),i.value=(0,z.IG)(u(e.latLng,s));let{listeners:c}=eeM(t.attrs);i.value.on(c),i.value.on("move",l.moveHandler),eeD(o,i.value,e),a({...e,...o,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),(0,z.xo)(()=>eeE(l)),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}}),etB={...ee2,smoothFactor:{type:Number},noClip:{type:Boolean,default:void 0},latLngs:{type:Array,required:!0,custom:!0}},etP=(e,t,i)=>{let{options:n,methods:r}=ee3(e,t,i);return{options:eeT(e,etB,n),methods:{...r,setSmoothFactor(e){t.value.setStyle({smoothFactor:e})},setNoClip(e){t.value.setStyle({noClip:e})},addLatLng(e){t.value.addLatLng(e)}}}},etL=(Symbol.toStringTag,{...etB}),etN=(e,t,i)=>{let{options:n,methods:r}=etP(e,t,i);return{options:eeT(e,etL,n),methods:{...r,toGeoJSON:e=>t.value.toGeoJSON(e)}}},etR=(Symbol.toStringTag,(0,z.pM)({name:"LPolygon",props:etL,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej),{options:s,methods:o}=etN(e,i,t);return(0,z.sV)(async()=>{let{polygon:l}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(l(e.latLngs,s));let{listeners:u}=eeM(t.attrs);i.value.on(u),eeD(o,i.value,e),a({...e,...o,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}}),(0,z.pM)({name:"LPolyline",props:etB,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej),{options:s,methods:o}=etP(e,i,t);return(0,z.sV)(async()=>{let{polyline:l}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(l(e.latLngs,s));let{listeners:u}=eeM(t.attrs);i.value.on(u),eeD(o,i.value,e),a({...e,...o,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}}),{...eeK,content:{type:String,default:null}}),etj=(e,t)=>{let{options:i,methods:n}=eeY(e);return{options:i,methods:{...n,setContent(e){t.value&&null!=e&&t.value.setContent(e)}}}},etO=e=>e.default?(0,z.h)("div",{ref:"root"},e.default()):null,etz=(Symbol.toStringTag,{...etR,latLng:{type:[Object,Array],default:()=>[]}}),etU=(e,t)=>{let{options:i,methods:n}=etj(e,t);return{options:i,methods:n}},etq=(Symbol.toStringTag,(0,z.pM)({name:"LPopup",props:etz,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(null),r=(0,z.WQ)(eeR),a=eeN(eeH),s=eeN(eeG),{options:o,methods:l}=etU(e,i);return(0,z.sV)(async()=>{let{popup:s}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(s(o)),void 0!==e.latLng&&i.value.setLatLng(e.latLng),eeD(l,i.value,e);let{listeners:u}=eeM(t.attrs);i.value.on(u),i.value.setContent(e.content||n.value||""),a(i.value),(0,z.dY)(()=>t.emit("ready",i.value))}),(0,z.xo)(()=>{s()}),{root:n,leafletObject:i}},render(){return etO(this.$slots)}}),{...etL,latLngs:{...etL.latLngs,required:!1},bounds:{type:Object,custom:!0}}),etW=(e,t,i)=>{let{options:n,methods:r}=etN(e,t,i);return{options:eeT(e,etq,n),methods:{...r,setBounds(e){t.value.setBounds(e)},setLatLngs(e){t.value.setBounds(e)}}}},etV=(Symbol.toStringTag,(0,z.pM)({name:"LRectangle",props:etq,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(!1),r=(0,z.WQ)(eeR),a=eeN(eej),{options:s,methods:o}=etW(e,i,t);return(0,z.sV)(async()=>{let{rectangle:l,latLngBounds:u}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008)),d=u(e.bounds?e.bounds:e.latLngs||[]);i.value=(0,z.IG)(l(d,s));let{listeners:c}=eeM(t.attrs);i.value.on(c),eeD(o,i.value,e),a({...e,...o,leafletObject:i.value}),n.value=!0,(0,z.dY)(()=>t.emit("ready",i.value))}),{ready:n,leafletObject:i}},render(){return eeJ(this.ready,this.$slots)}}),{...etp,tms:{type:Boolean,default:void 0},subdomains:{type:[String,Array],validator:e=>"string"==typeof e||!!Array.isArray(e)&&e.every(e=>"string"==typeof e)},detectRetina:{type:Boolean,default:void 0},url:{type:String,required:!0,custom:!0}}),etH=(e,t,i)=>{let{options:n,methods:r}=et_(e,t,i);return{options:eeT(e,etV,n),methods:{...r}}},et$=(Symbol.toStringTag,(0,z.pM)({props:etV,setup(e,t){let i=(0,z.KR)(),n=(0,z.WQ)(eeR),r=eeN(eej),{options:a,methods:s}=etH(e,i,t);return(0,z.sV)(async()=>{let{tileLayer:o}=n?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(o(e.url,a));let{listeners:l}=eeM(t.attrs);i.value.on(l),eeD(s,i.value,e),r({...e,...s,leafletObject:i.value}),(0,z.dY)(()=>t.emit("ready",i.value))}),{leafletObject:i}},render:()=>null})),etG={...etR},etX=(e,t)=>{let{options:i,methods:n}=etj(e,t),r=eeN(eeX);return(0,z.xo)(()=>{r()}),{options:i,methods:n}},etK=(Symbol.toStringTag,(0,z.pM)({name:"LTooltip",props:etG,setup(e,t){let i=(0,z.KR)(),n=(0,z.KR)(null),r=(0,z.WQ)(eeR),a=eeN(ee$),{options:s,methods:o}=etX(e,i);return(0,z.sV)(async()=>{let{tooltip:l}=r?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(l(s)),eeD(o,i.value,e);let{listeners:u}=eeM(t.attrs);i.value.on(u),i.value.setContent(e.content||n.value||""),a(i.value),(0,z.dY)(()=>t.emit("ready",i.value))}),{root:n,leafletObject:i}},render(){return etO(this.$slots)}}),{...etV,layers:{type:String,required:!0},styles:{type:String},format:{type:String},transparent:{type:Boolean,default:void 0},version:{type:String},crs:{type:Object},uppercase:{type:Boolean,default:void 0}}),etY=(e,t,i)=>{let{options:n,methods:r}=etH(e,t,i);return{options:eeT(e,etK,n),methods:{...r}}};Symbol.toStringTag,(0,z.pM)({props:etK,setup(e,t){let i=(0,z.KR)(),n=(0,z.WQ)(eeR),r=eeN(eej),{options:a,methods:s}=etY(e,i,t);return(0,z.sV)(async()=>{let{tileLayer:o}=n?eeL.L:await __webpack_require__.e("defaultVendors-node_modules_leaflet_dist_leaflet-src_esm_js").then(__webpack_require__.bind(__webpack_require__,62008));i.value=(0,z.IG)(o.wms(e.url,a));let{listeners:l}=eeM(t.attrs);i.value.on(l),eeD(s,i.value,e),r({...e,...s,leafletObject:i.value}),(0,z.dY)(()=>t.emit("ready",i.value))}),{leafletObject:i}},render:()=>null});let etQ={name:"LocationCard",components:{LControlAttribution:etn,LIcon:ety,LTileLayer:et$,LMap:etA,LMarker:etI},props:{latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},name:{type:String,default:""},wide:{type:Boolean,default:!1}},data:()=>({url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",previewZoom:13,linkZoom:18,attribution:'© OpenStreetMap contributors'}),computed:{center(){return[this.latitude,this.longitude]},mapLink(){return`https://www.openstreetmap.org/?mlat=${this.latitude}&mlon=${this.longitude}#map=${this.linkZoom}/${this.latitude}/${this.longitude}`},linkAriaLabel:()=>(0,K.t)("spreed","Open this location in OpenStreetMap"),iconUrl:()=>(0,O.d0)("spreed","icon-marker-openstreetmap.svg")},methods:{t:K.t}},etZ=(0,to.default)(etQ,[["render",eeC],["__scopeId","data-v-f4071264"]]),etJ={ref:"mention",class:"mention"};function et0(e,t,i,n,r,a){let s=(0,z.g2)("NcUserBubble");return(0,z.uX)(),(0,z.CE)("span",etJ,[r.size?((0,z.uX)(),(0,z.Wv)(s,{key:n.isDarkTheme?"dark":"light",displayName:i.name,avatarImage:a.avatarUrl,user:i.id,size:r.size,primary:a.primary},null,8,["displayName","avatarImage","user","size","primary"])):(0,z.Q3)("",!0)],512)}let et1={};function et2(e,t){return(0,z.uX)(),(0,z.CE)("div",null,[(0,z.RG)(e.$slots,"trigger")])}let et3=(0,e4._)(et1,[["render",et2]]),et4={class:"user-bubble__name"},et6={key:0,class:"user-bubble__secondary"},et5=(0,z.pM)({__name:"NcUserBubble",props:(0,z.zz)({avatarImage:{default:void 0},user:{default:void 0},displayName:{default:void 0},showUserStatus:{type:Boolean},url:{default:void 0},to:{default:void 0},primary:{type:Boolean},size:{default:20},margin:{default:2}},{open:{type:Boolean},openModifiers:{}}),emits:(0,z.zz)(["click"],["update:open"]),setup(e,{emit:t}){let i=(0,z.fn)(e,"open"),n=e,r=t,a=(0,z.EW)(()=>{if(!n.avatarImage)return!1;try{return new URL(n.avatarImage),!0}catch{return!1}}),s=(0,z.EW)(()=>!!n.avatarImage),o=(0,z.EW)(()=>({marginInlineStart:`${n.margin}px`})),l=(0,z.EW)(()=>{if(!n.url||""===n.url.trim())return!1;try{return new URL(n.url,n.url?.startsWith?.("/")?window.location.href:void 0),!0}catch{return(0,z.R8)("[NcUserBubble] Invalid URL passed",{url:n.url}),!1}}),u=(0,z.EW)(()=>l.value?n.url:void 0),d=(0,z.EW)(()=>l.value?"a":n.to?PU:"div"),c=(0,z.EW)(()=>({height:`${n.size}px`,lineHeight:`${n.size}px`,borderRadius:`${n.size/2}px`}));return(0,z.wB)([()=>n.displayName,()=>n.user],()=>{n.displayName||n.user||(0,z.R8)("[NcUserBubble] At least `displayName` or `user` property should be set.")}),(e,t)=>((0,z.uX)(),(0,z.Wv)((0,z.$y)(e.$slots.default?ST.N:et3),{shown:i.value,"onUpdate:shown":t[1]||(t[1]=e=>i.value=e),class:"user-bubble__wrapper",trigger:"hover focus"},{trigger:(0,z.k6)(({attrs:i})=>[((0,z.uX)(),(0,z.Wv)((0,z.$y)(d.value),(0,z.v6)({class:["user-bubble__content",{"user-bubble__content--primary":e.primary}],style:c.value,to:e.to,href:u.value},i,{onClick:t[0]||(t[0]=e=>r("click",e))}),{default:(0,z.k6)(()=>[(0,z.bF)(T9,{url:s.value&&a.value?e.avatarImage:void 0,iconClass:s.value&&!a.value?e.avatarImage:void 0,user:e.user,displayName:e.displayName,size:e.size-2*e.margin,style:(0,z.Tr)(o.value),disableTooltip:"",disableMenu:"",hideStatus:!e.showUserStatus,class:"user-bubble__avatar"},null,8,["url","iconClass","user","displayName","size","style","hideStatus"]),(0,z.Lk)("span",et4,(0,z.v_)(e.displayName||e.user),1),e.$slots.name?((0,z.uX)(),(0,z.CE)("span",et6,[(0,z.RG)(e.$slots,"name",{},void 0,!0)])):(0,z.Q3)("",!0)]),_:2},1040,["class","style","to","href"]))]),default:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"default",{},void 0,!0)]),_:3},40,["shown"]))}}),et8=(0,e4._)(et5,[["__scopeId","data-v-9189d023"]]),et9={name:"MentionChip",components:{NcUserBubble:et8},props:{token:{type:String,required:!0},type:{type:String,required:!0},id:{type:String,required:!0},name:{type:String,required:!0},server:{type:String,default:""}},setup:()=>({isDarkTheme:(0,Ts.b)(),actorStore:of()}),data:()=>({size:null}),computed:{isMentionToAll(){return this.type===ag.CALL},isGroupMention(){return[ag.USERGROUP,ag.GROUP].includes(this.type)},isTeamMention(){return[ag.CIRCLE,ag.TEAM].includes(this.type)},isMentionToGuest(){return this.type===ag.GUEST||this.type===ag.EMAIL},isRemoteUser(){return[ag.USER,ag.FEDERATED_USER].includes(this.type)&&""!==this.server},isCurrentGuest(){return this.actorStore.isActorGuest&&(this.id==="guest/"+this.actorStore.actorId||this.id===this.actorStore.actorId)},isCurrentUser(){return!this.isRemoteUser&&this.actorStore.isActorUser&&this.id===this.actorStore.userId},isCurrentUserGroup(){return this.isGroupMention&&this.actorStore.isActorMemberOfGroup(this.id)},isCurrentUserTeam(){return this.isTeamMention&&this.actorStore.isActorMemberOfTeam(this.id)},primary(){return this.isMentionToAll||this.isCurrentUser||this.isCurrentUserGroup||this.isCurrentUserTeam||this.isMentionToGuest&&this.isCurrentGuest},avatarUrl(){if(this.isRemoteUser)return this.token?a3(this.token,this.id+"@"+this.server,this.isDarkTheme,64):"icon-user-forced-white";if(this.isGroupMention)return"icon-group-forced-white";if(this.isTeamMention)return"icon-team-forced-white";if(this.isMentionToGuest)return"icon-user-forced-white";if(this.isMentionToAll)return a2(this.id,this.isDarkTheme)}},mounted(){this.size=4*parseInt(window.getComputedStyle(this.$refs.mention).fontSize??15,10)/3}},et7=(0,to.default)(et9,[["render",et0],["__scopeId","data-v-bd59b476"]]),eie={key:0,class:"message-main__thread-title"},eit={key:1,class:"message-main__thread-title"},eii={key:4,class:"message-main__info"},ein={key:0,class:"editor"},eir=["title"],eia=["title","aria-label"],eis=["title","aria-label"],eio=["title","aria-label"],eil=["title","aria-label"],eiu=["title","aria-label"],eid=["title","aria-label"],eic={key:5,class:"message-actions"};function eih(e,t,i,n,r,a){let s=(0,z.g2)("IconForumOutline"),o=(0,z.g2)("IconArrowLeftTop"),l=(0,z.g2)("IconCancel"),u=(0,z.g2)("NcRichText"),d=(0,z.g2)("CallButton"),c=(0,z.g2)("ConversationActionsShortcut"),h=(0,z.g2)("PollCard"),f=(0,z.g2)("MessageQuote"),m=(0,z.g2)("IconPencilOutline"),g=(0,z.g2)("AvatarWrapper"),p=(0,z.g2)("IconReload"),_=(0,z.g2)("NcButton"),b=(0,z.g2)("IconAlertCircleOutline"),y=(0,z.g2)("IconPin"),F=(0,z.g2)("IconCheckAll"),k=(0,z.g2)("IconCheck"),w=(0,z.g2)("IconBellOffOutline");return(0,z.uX)(),(0,z.CE)("div",{ref:"messageMain",class:(0,z.C4)({"message-main":!n.isSplitViewEnabled||a.isSystemMessage,"message-main--sided":n.isSplitViewEnabled&&!a.isSystemMessage,"message-main--compressed":n.isSplitViewEnabled&&i.isShortSimpleMessage,"message-main--compressed-system":n.isSplitViewEnabled&&a.isSystemMessage})},[i.isThreadStarterMessage?((0,z.uX)(),(0,z.CE)("p",eie,[(0,z.bF)(s,{size:16}),(0,z.eW)(" "+(0,z.v_)(a.threadTitle),1)])):a.isScheduledMessage&&a.isThreadReply?((0,z.uX)(),(0,z.CE)("p",eit,[(0,z.bF)(o,{class:"bidirectional-icon",size:16}),(0,z.eW)(" "+(0,z.v_)(a.t("spreed",'Reply to thread "{threadTitle}"',{threadTitle:a.threadTitle})),1)])):(0,z.Q3)("",!0),a.isSystemMessage||a.isDeletedMessage?((0,z.uX)(),(0,z.CE)("div",{key:2,class:(0,z.C4)(["message-main__text",{"system-message":a.isSystemMessage&&!a.showJoinCallButton,"deleted-message":a.isDeletedMessage,"message-highlighted":a.showJoinCallButton,"full-view":!n.isSplitViewEnabled}])},[a.isDeletedMessage?((0,z.uX)(),(0,z.Wv)(l,{key:0,size:16})):(0,z.Q3)("",!0),(0,z.bF)(u,{text:a.renderedMessage,arguments:i.richParameters,autolink:"",dir:"auto",referenceLimit:0},null,8,["text","arguments"]),a.showJoinCallButton?((0,z.uX)(),(0,z.Wv)(d,{key:1,class:"call-button"})):a.showConversationActionsShortcut?((0,z.uX)(),(0,z.Wv)(c,{key:2,token:i.message.token,objectType:a.conversation.objectType,isHighlighted:a.isLastMessage},null,8,["token","objectType","isHighlighted"])):a.showResultsButton?((0,z.uX)(),(0,z.Wv)(h,(0,z.v6)({key:3,token:i.message.token,showAsButton:""},i.message.messageParameters.poll),null,16,["token"])):(0,z.Q3)("",!0)],2)):((0,z.uX)(),(0,z.CE)("div",{key:3,class:(0,z.C4)(["message-main__text markdown-message",{"message-highlighted":a.isNewPollMessage}])},[a.showQuote?((0,z.uX)(),(0,z.Wv)(f,{key:0,message:i.message.parent},null,8,["message"])):(0,z.Q3)("",!0),(0,z.bF)(u,{text:a.renderedMessage,arguments:i.richParameters,class:(0,z.C4)({"single-emoji":a.isSingleEmoji}),autolink:"",dir:"auto",interactive:i.message.markdown&&n.isEditable,useExtendedMarkdown:i.message.markdown,referenceLimit:1,referenceInteractiveOptIn:"",onInteractTodo:a.handleInteraction},null,8,["text","arguments","class","interactive","useExtendedMarkdown","onInteractTodo"])],2)),a.isDeletedMessage?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",eii,[n.isSplitViewEnabled&&a.isOwnMessage&&i.message.lastEditTimestamp?((0,z.uX)(),(0,z.CE)("span",ein,[(0,z.bF)(m,{size:14}),a.isEditorDifferentThenAuthor?((0,z.uX)(),(0,z.Wv)(g,{key:0,id:i.message.lastEditActorId,token:i.message.token,name:i.message.lastEditActorDisplayName,source:i.message.lastEditActorType,size:14,disableMenu:"",disableTooltip:""},null,8,["id","token","name","source"])):(0,z.Q3)("",!0)])):(0,z.Q3)("",!0),i.message.sendingFailure||a.isScheduledSendingFailure?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("span",{key:1,class:(0,z.C4)(["date",{"date--hidden":a.hideDate}]),title:a.messageDate},(0,z.v_)(a.messageTime),11,eir)),i.message.sendingFailure||a.isScheduledSendingFailure?((0,z.uX)(),(0,z.CE)("div",{key:2,title:a.sendingErrorIconTitle,class:(0,z.C4)(["message-status sending-failed",{"retry-option":a.sendingErrorCanRetry}]),"aria-label":a.sendingErrorIconTitle,tabindex:"0",onMouseover:t[0]||(t[0]=e=>r.showReloadButton=!0),onFocus:t[1]||(t[1]=e=>r.showReloadButton=!0),onMouseleave:t[2]||(t[2]=e=>r.showReloadButton=!1),onBlur:t[3]||(t[3]=e=>r.showReloadButton=!1)},[a.sendingErrorCanRetry&&r.showReloadButton?((0,z.uX)(),(0,z.Wv)(_,{key:0,size:"small","aria-label":a.sendingErrorIconTitle,onClick:a.handleRetry},{icon:(0,z.k6)(()=>[(0,z.bF)(p,{size:a.iconMessageDeliverySize},null,8,["size"])]),_:1},8,["aria-label","onClick"])):((0,z.uX)(),(0,z.Wv)(b,{key:1,fillColor:"var(--color-element-error)",size:a.iconMessageDeliverySize},null,8,["size"]))],42,eia)):a.showLoadingIcon?((0,z.uX)(),(0,z.CE)("div",{key:3,title:a.loadingIconTitle,class:"icon-loading-small message-status","aria-label":a.loadingIconTitle},null,8,eis)):!n.isSplitViewEnabled&&a.isMessagePinned?((0,z.uX)(),(0,z.CE)("div",{key:4,class:"message-status highlighted",title:a.t("spreed","Pinned"),"aria-label":a.t("spreed","Pinned")},[(0,z.bF)(y,{size:14})],8,eio)):i.readInfo?.showCommonReadIcon?((0,z.uX)(),(0,z.CE)("div",{key:5,title:i.readInfo.commonReadIconTitle,class:"message-status","aria-label":i.readInfo.commonReadIconTitle},[(0,z.bF)(F,{size:a.iconMessageDeliverySize},null,8,["size"])],8,eil)):i.readInfo?.showSentIcon?((0,z.uX)(),(0,z.CE)("div",{key:6,title:i.readInfo.sentIconTitle,class:"message-status","aria-label":i.readInfo.sentIconTitle},[(0,z.bF)(k,{size:a.iconMessageDeliverySize},null,8,["size"])],8,eiu)):i.readInfo?.showSilentIcon?((0,z.uX)(),(0,z.CE)("div",{key:7,title:i.readInfo.silentIconTitle,class:"message-status","aria-label":i.readInfo.silentIconTitle},[(0,z.bF)(w,{size:a.iconMessageDeliverySize},null,8,["size"])],8,eid)):(0,z.Q3)("",!0)])),a.isDeletedMessage?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",eic,[i.isThreadStarterMessage&&-1!==i.message.threadId?((0,z.uX)(),(0,z.Wv)(_,{key:0,class:(0,z.C4)(["message-actions__thread",{light:n.isSplitViewEnabled&&a.isOwnMessage}]),size:"small",onClick:a.handleThreadClick},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{class:"bidirectional-icon",size:16})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.threadNumReplies),1)]),_:1},8,["class","onClick"])):(0,z.Q3)("",!0),(0,z.RG)(e.$slots,"default",{},void 0,!0)]))],2)}let eif=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,eim=["aria-hidden","aria-label"],eig=["fill","width","height"],eip={d:"M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z"},ei_={key:0};function eiv(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon cancel-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eip,[i.title?((0,z.uX)(),(0,z.CE)("title",ei_,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eig))],16,eim)}let eib={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eiy=(0,to.default)(eib,[["render",eiv]]),eiF=["aria-hidden","aria-label"],eik=["fill","width","height"],eiw={d:"M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z"},eiC={key:0};function eiA(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon reload-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eiw,[i.title?((0,z.uX)(),(0,z.CE)("title",eiC,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eik))],16,eiF)}let eiE={name:"ReloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eiS=(0,to.default)(eiE,[["render",eiA]]),eix={key:0,class:"quote__preview"},eiD=["alt","src"],eiT={class:"quote__main"},eiM={key:0,class:"quote__main-author",role:"heading","aria-level":"4"},eiI={class:"quote__main-author-info"},eiB={class:"quote__main-author-name"},eiP={role:"blockquote",dir:"auto",class:"quote__main-text"},eiL=(0,z.pM)({__name:"MessageQuote",props:{message:{},canCancel:{type:Boolean,default:!1},editMessage:{type:Boolean,default:!1}},setup(e){let t=(0,q.t)(),i=of(),n=oQ(),{isFileShare:r,isObjectShare:a,remoteServer:s,actorDisplayName:o,actorDisplayNameWithFallback:l}=Q4(F(e.message)?(0,z.lW)(()=>e.message):void 0),u=(0,z.EW)(()=>[l.value,s.value].filter(e=>e).join(" ")),d=(0,z.EW)(()=>"#message_"+e.message.id),c=(0,z.EW)(()=>e.canCancel?{tag:"div",link:void 0}:{tag:"router-link",link:{query:t.query,hash:d.value}}),h=(0,z.EW)(()=>!!F(e.message)&&i.checkIfSelfIsActor(e.message)),f=(0,z.KR)(!0),m=(0,z.KR)(!1),g=(0,z.EW)(()=>{if(!F(e.message)||!r||m.value)return;let t=Object.values(e.message.messageParameters).find(e=>"file"===e.type&&"yes"===e["preview-available"]);return t?{alt:t.name,src:(0,O.Jv)("/core/preview?fileId={fileId}&x=32&y=32&a=1",{fileId:t.id})}:void 0}),p=(0,z.EW)(()=>F(e.message)?Q0(e.message):null),_=(0,z.EW)(()=>e.editMessage?(0,K.t)("spreed","(editing)"):F(e.message)&&e.message.lastEditTimestamp?(0,K.t)("spreed","(edited)"):""),b=(0,z.EW)(()=>F(e.message)?oG(e.message.message,e.message.messageParameters):(0,K.t)("spreed","The message has expired or has been deleted")),y=(0,z.EW)(()=>b.value.length>=250?b.value.substring(0,250)+"…":b.value);function F(e){return"messageType"in e}function k(){F(e.message)&&(e.editMessage?n.removeMessageIdToEdit(e.message.token):n.removeParentIdToReply(e.message.token),iZ.emit("focus-chat-input"))}function w(){e.canCancel||t.hash===d.value&&iZ.emit("focus-message",{messageId:e.message.id})}return(t,i)=>((0,z.uX)(),(0,z.Wv)((0,z.$y)(c.value.tag),{to:c.value.link,class:(0,z.C4)(["quote",{"quote--own-message":h.value}]),onClick:w},{default:(0,z.k6)(()=>[(0,z.R1)(r)||(0,z.R1)(a)?((0,z.uX)(),(0,z.CE)("span",eix,[g.value?((0,z.uX)(),(0,z.CE)("img",{key:0,class:"quote__preview-image",alt:g.value.alt,src:g.value.src,onLoad:i[0]||(i[0]=e=>f.value=!1),onError:i[1]||(i[1]=e=>{f.value=!1,m.value=!0})},null,40,eiD)):p.value?((0,z.uX)(),(0,z.Wv)((0,z.$y)(p.value),{key:1,class:"quote__preview-image",fillColor:"var(--color-text-maxcontrast)",size:34})):(0,z.Q3)("",!0),g.value&&f.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(te.N),{key:2,class:"quote__preview--loading"})):(0,z.Q3)("",!0)])):(0,z.Q3)("",!0),(0,z.Lk)("span",eiT,[F(e.message)?((0,z.uX)(),(0,z.CE)("span",eiM,[e.editMessage?((0,z.uX)(),(0,z.Wv)(z_,{key:0,size:16})):(0,z.R1)(r)||(0,z.R1)(a)?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(Mo,{key:1,id:e.message.actorId,token:e.message.token,name:(0,z.R1)(o),source:e.message.actorType,size:(0,z.R1)(ah).SIZE.EXTRA_SMALL,disableMenu:""},null,8,["id","token","name","source","size"])),(0,z.Lk)("span",eiI,[(0,z.Lk)("span",eiB,(0,z.v_)(u.value),1),(0,z.eW)(" "+(0,z.v_)(_.value),1)])])):(0,z.Q3)("",!0),(0,z.Lk)("span",eiP,(0,z.v_)(y.value),1)]),e.canCancel?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:1,class:"quote__button",variant:"tertiary",title:(0,z.R1)(K.t)("spreed","Cancel quote"),"aria-label":(0,z.R1)(K.t)("spreed","Cancel quote"),onClick:k},{icon:(0,z.k6)(()=>[(0,z.bF)(eet,{size:20})]),_:1},8,["title","aria-label"])):(0,z.Q3)("",!0)]),_:1},8,["to","class"]))}}),eiN=(0,to.default)(eiL,[["__scopeId","data-v-b1cbc218"]]),eiR=["aria-hidden","aria-label"],eij=["fill","width","height"],eiO={d:"M21,5L9,17L3.5,11.5L4.91,10.09L9,14.17L19.59,3.59L21,5M3,21V19H21V21H3Z"},eiz={key:0};function eiU(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon check-underline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eiO,[i.title?((0,z.uX)(),(0,z.CE)("title",eiz,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eij))],16,eiR)}let eiq={name:"CheckUnderlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eiW=(0,to.default)(eiq,[["render",eiU]]),eiV={key:0,class:"conversation-actions__buttons"},eiH=(0,z.pM)({__name:"ConversationActionsShortcut",props:{token:{},objectType:{},isHighlighted:{type:Boolean}},setup(e){let t=e,i=aG("local","archived-conversations-v2"),n=(0,z.EW)(()=>aX(t.token,"conversations","retention-event")),r=(0,z.EW)(()=>aX(t.token,"conversations","retention-phone")),a=(0,z.EW)(()=>aX(t.token,"conversations","retention-instant-meetings")),s=ed(),o=(0,q.n)(),l=(0,q.t)(),u=(0,z.EW)(()=>s.getters.isModerator),d=(0,z.EW)(()=>t.objectType===nJ.OBJECT_TYPE.EVENT?n.value:t.objectType===nJ.OBJECT_TYPE.PHONE_TEMPORARY?r.value:t.objectType===nJ.OBJECT_TYPE.INSTANT_MEETING?a.value:0),c=(0,z.EW)(()=>u.value||0!==d.value),h=(0,z.EW)(()=>{if(0===d.value)return(0,K.t)("spreed","Would you like to delete this conversation?");let e=new Intl.RelativeTimeFormat((0,K.Z0)(),{numeric:"always"}).format(d.value,"days");return(0,K.t)("spreed","This conversation will be automatically deleted for everyone {expirationDurationFormatted} of no activity.",{expirationDurationFormatted:e})});async function f(){try{l?.params?.token===t.token&&await o.push({name:"root"}).catch(e=>!(0,q.d)(e,q.l.duplicated)&&Promise.reject(e)),await s.dispatch("deleteConversationFromServer",{token:t.token})}catch(e){console.error(`Error while deleting conversation ${e}`),(0,$.s)((0,K.t)("spreed","Error while deleting conversation"))}}async function m(){await s.dispatch("unbindConversationFromObject",{token:t.token})}async function g(){(0,oS.S)(oT,{name:(0,K.t)("spreed","Delete conversation"),message:(0,K.t)("spreed","Are you sure you want to delete this conversation?"),buttons:[{label:(0,K.t)("spreed","No"),variant:"tertiary"},{label:(0,K.t)("spreed","Yes"),variant:"error",callback:()=>{f()}}]})}return(e,n)=>c.value?((0,z.uX)(),(0,z.CE)("div",{key:0,class:(0,z.C4)(["conversation-actions",{"conversation-actions--highlighted":t.isHighlighted}])},[(0,z.Lk)("p",null,(0,z.v_)(h.value),1),u.value?((0,z.uX)(),(0,z.CE)("div",eiV,[(0,z.bF)((0,z.R1)(e7.A),{variant:"error",onClick:g},{icon:(0,z.k6)(()=>[(0,z.bF)(zH)]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Delete now")),1)]),_:1}),(0,z.R1)(i)?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:0,variant:"secondary",onClick:m},{icon:(0,z.k6)(()=>[(0,z.bF)(eiW)]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Keep")),1)]),_:1})):(0,z.Q3)("",!0)])):(0,z.Q3)("",!0)],2)):(0,z.Q3)("",!0)}}),ei$=(0,to.default)(eiH,[["__scopeId","data-v-415e1670"]]),eiG={class:"poll-card__header poll-card__header--draft"},eiX={class:"poll-card__header-name"},eiK={class:"poll-card__footer"},eiY=["aria-label"],eiQ={class:"poll-card__header"},eiZ={class:"poll-card__header-name"},eiJ={class:"poll-card__footer"};function ei0(e,t,i,n,r,a){let s=(0,z.g2)("IconPoll"),o=(0,z.g2)("IconPencilOutline"),l=(0,z.g2)("NcButton"),u=(0,z.g2)("IconTrashCanOutline"),d=(0,z.gN)("intersection-observer");return i.draft?((0,z.uX)(),(0,z.CE)("div",{key:0,class:"poll-card",onClick:t[0]||(t[0]=(...e)=>a.openDraft&&a.openDraft(...e))},[(0,z.Lk)("span",eiG,[(0,z.bF)(s,{class:"poll-card__header-icon",size:20}),(0,z.Lk)("span",eiX,(0,z.v_)(i.name),1),a.canEditPollDraft?((0,z.uX)(),(0,z.Wv)(l,{key:0,variant:"tertiary",title:a.t("spreed","Edit poll draft"),"aria-label":a.t("spreed","Edit poll draft"),onClick:(0,z.D$)(a.editDraft,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{size:20})]),_:1},8,["title","aria-label","onClick"])):(0,z.Q3)("",!0),(0,z.bF)(l,{variant:"tertiary",title:a.t("spreed","Delete poll draft"),"aria-label":a.t("spreed","Delete poll draft"),onClick:(0,z.D$)(a.deleteDraft,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),_:1},8,["title","aria-label","onClick"])]),(0,z.Lk)("span",eiK,(0,z.v_)(a.pollFooterText),1)])):i.showAsButton?((0,z.uX)(),(0,z.Wv)(l,{key:2,class:"poll-closed",variant:"secondary",onClick:a.openPoll},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","See results")),1)]),_:1},8,["onClick"])):(0,z.bo)(((0,z.uX)(),(0,z.CE)("a",{key:1,"aria-label":a.t("spreed","Poll"),class:"poll-card",role:"button",onClick:t[1]||(t[1]=(...e)=>a.openPoll&&a.openPoll(...e))},[(0,z.Lk)("span",eiQ,[(0,z.bF)(s,{class:"poll-card__header-icon",size:20}),(0,z.Lk)("span",eiZ,(0,z.v_)(i.name),1)]),(0,z.Lk)("span",eiJ,(0,z.v_)(a.pollFooterText),1)],8,eiY)),[[d,a.getPollData]])}let ei1={name:"PollCard",components:{NcButton:e7.A,IconTrashCanOutline:zH,IconPencilOutline:z_,IconPoll:QJ},directives:{IntersectionObserver:Tu},props:{name:{type:String,required:!0},id:{type:String,required:!0},token:{type:String,required:!0},showAsButton:{type:Boolean,default:!1},draft:{type:Boolean,default:!1}},emits:["click"],setup:()=>({pollsStore:hv()}),computed:{poll(){return this.draft?this.pollsStore.drafts[this.token][this.id]:this.pollsStore.getPoll(this.token,this.id)},pollFooterText(){return this.poll?.status===r9?this.poll?.votedSelf.length>0?(0,K.t)("spreed","Open poll • You voted already"):(0,K.t)("spreed","Open poll • Click to vote"):this.draft?(0,K.n)("spreed","Poll draft • %n option","Poll draft • %n options",this.poll?.options?.length):this.poll?.status===r7?(0,K.t)("spreed","Poll • Ended"):(0,K.t)("spreed","Poll")},canEditPollDraft(){return this.draft&&aG(this.token,"edit-draft-poll")}},methods:{t:K.t,n:K.n,getPollData(){this.poll||this.pollsStore.getPollData({token:this.token,pollId:this.id})},openDraft(){this.$emit("click",{id:this.id,action:"fill"})},editDraft(){this.$emit("click",{id:this.id,action:"edit"})},deleteDraft(){this.pollsStore.deletePollDraft({token:this.token,pollId:this.id})},openPoll(){this.pollsStore.setActivePoll({token:this.token,pollId:this.id,name:this.name})}}},ei2=(0,to.default)(ei1,[["render",ei0],["__scopeId","data-v-1bf1699c"]]),ei3=eif(),ei4=/^\s*[-+*]\s.*\[[\sxX]\]/,ei6=/^\s*[-+*]\s.*\[[xX]\]/,ei5={name:"MessageBody",components:{AvatarWrapper:Mo,CallButton:Si,NcButton:e7.A,NcRichText:YG,PollCard:ei2,MessageQuote:eiN,ConversationActionsShortcut:ei$,IconAlertCircleOutline:MS,IconArrowLeftTop:jI,IconBellOffOutline:j$,IconCancel:eiy,IconCheck:j5,IconCheckAll:On,IconForumOutline:OJ,IconPencilOutline:z_,IconPin:NN,IconReload:eiS},props:{message:{type:Object,required:!0},richParameters:{type:Object,required:!0},isDeleting:{type:Boolean,default:!1},hasCall:{type:Boolean,default:!1},readInfo:{type:Object,default:null},isShortSimpleMessage:{type:Boolean,default:!1},isThreadStarterMessage:{type:Boolean,default:!1},isSelfActor:{type:Boolean,default:!1}},setup(e){let{message:t}=(0,z.QW)(e),{isEditable:i,isFileShare:n}=Q4(t),r=Y8(),a=(0,z.WQ)("chatView:isSidebar",!1),s=(0,z.WQ)("messagesList:isSplitViewEnabled",!0);return{isInCall:aI(),chatExtrasStore:oQ(),pollsStore:hv(),threadId:r,isEditable:i,isFileShare:n,isSidebar:a,actorStore:of(),isSplitViewEnabled:s}},data:()=>({isEditing:!1,showReloadButton:!1}),computed:{showQuote(){return!!this.message.parent&&this.message.parent.id!==this.threadId},renderedMessage(){return this.isFileShare&&"{file}"!==this.message.message?"{file}\n\n"+this.message.message:this.isLocationMessageWithName?this.message.message+"\n\n"+this.message.messageParameters.object.name:this.message.message},isSystemMessage(){return""!==this.message.systemMessage},isDeletedMessage(){return this.message.messageType===rj},isNewPollMessage(){return this.message.messageParameters?.object?.type==="talk-poll"&&this.isInCall&&this.pollsStore.isNewPoll(this.message.messageParameters.object.id)},isLocationMessageWithName(){return this.message.messageType===rL&&this.message.messageParameters?.object?.type==="geo-location"&&this.message.messageParameters?.object?.name},isCallEndedMessage(){return[ro,rl].includes(this.message.systemMessage)},isScheduledMessage(){return this.message.referenceId?.startsWith("scheduled-")},isThreadReply(){return this.message.isThread&&this.message.id!==this.message.threadId},threadInfo(){return this.chatExtrasStore.getThread(this.message.token,this.message.threadId)},threadTitle(){return this.threadInfo?.thread.title??this.message.threadTitle??this.message.metaData?.threadTitle},threadNumReplies(){let e=this.threadInfo?.thread.numReplies??this.message.threadReplies;return e?(0,K.n)("spreed","%n reply","%n replies",e):(0,K.t)("spreed","Reply")},conversation(){return this.$store.getters.conversation(this.message.token)},hasRetentionPeriod(){return this.conversation.objectType===nJ.OBJECT_TYPE.EVENT||this.conversation.objectType===nJ.OBJECT_TYPE.PHONE_TEMPORARY||this.conversation.objectType===nJ.OBJECT_TYPE.INSTANT_MEETING},supportUnbindConversation(){return aG(this.message.token,"unbind-conversation")},showConversationActionsShortcut(){return this.supportUnbindConversation&&!this.isInCall&&!this.isSidebar&&this.$store.getters.isModeratorOrUser&&this.hasRetentionPeriod&&this.isCallEndedMessage&&this.message.id>this.lastCallStartedMessageId},isLastMessage(){return this.message.id===this.conversation.lastMessage?.id},isTemporary(){return!this.isScheduledMessage&&0===this.message.timestamp},isScheduledSendingFailure(){return this.isScheduledMessage&&0===this.message.timestamp},hideDate(){return this.isTemporary||this.isDeleting||!!this.message.sendingFailure},messageTime(){return ux(this.isTemporary?Date.now():1e3*this.message.timestamp,"shortTime")},messageDate(){return ux(this.isTemporary?Date.now():1e3*this.message.timestamp,"longDate")},lastCallStartedMessageId(){return this.$store.getters.getLastCallStartedMessageId(this.message.token)},isLastCallStartedMessage(){return this.message.systemMessage===rh&&this.message.id===this.lastCallStartedMessageId},showJoinCallButton(){return this.hasCall&&!this.isInCall&&this.isLastCallStartedMessage},showResultsButton(){return this.message.systemMessage===rC},isSingleEmoji(){if(this.isSystemMessage||this.isDeletedMessage)return;let e=this.renderedMessage.trim(),t=e.match(ei3);return null!==t&&1===t.length&&t[0]===e},showLoadingIcon(){return this.isTemporary||this.isDeleting||this.isEditing},loadingIconTitle:()=>(0,K.t)("spreed","Sending message"),sendingErrorCanRetry(){return["timeout","other","failed-upload"].includes(this.message.sendingFailure)},sendingErrorIconTitle(){return this.sendingErrorCanRetry?(0,K.t)("spreed","Failed to send the message. Click to try again"):this.isScheduledSendingFailure?(0,K.t)("spreed","Error when scheduling the message"):"quota"===this.message.sendingFailure?(0,K.t)("spreed","Not enough free space to upload file"):"failed-share"===this.message.sendingFailure?(0,K.t)("spreed","You are not allowed to share files"):(0,K.t)("spreed","You cannot send messages to this conversation at the moment")},iconMessageDeliverySize(){return this.isSplitViewEnabled?14:16},isOwnMessage(){return this.isSelfActor&&!this.isSystemMessage},isEditorDifferentThenAuthor(){return this.message.lastEditActorId&&this.message.lastEditActorId!==this.message.actorId&&this.message.lastEditActorDisplayName!==this.message.actorDisplayName&&this.message.lastEditActorType!==this.message.actorType},isMessagePinned(){return!!this.message.metaData?.pinnedAt}},watch:{showJoinCallButton(){iZ.emit("scroll-chat-to-bottom",{smooth:!0})}},mounted(){this.isEditable&&iZ.on("editing-message-processing",this.setIsEditing)},beforeUnmount(){iZ.off("editing-message-processing",this.setIsEditing)},methods:{t:K.t,handleRetry(){this.sendingErrorCanRetry&&("failed-upload"===this.message.sendingFailure?this.$store.dispatch("retryUploadFiles",{token:this.message.token,uploadId:this.$store.getters.message(this.message.token,this.message.id)?.uploadId,caption:this.renderedMessage!==this.message.message?this.message.message:void 0}):(iZ.emit("retry-message",this.message.id),iZ.emit("focus-chat-input")))},async handleInteraction(e){if(!this.isEditable)return;let t=e.split("-markdown-input-")[0],i=Array.from(this.$refs.messageMain.querySelectorAll(`span[id^="${t}-markdown-input-"]`)).findIndex(t=>t.id.includes(e));if(-1===i)return;let n=0,r=this.message.message.split("\n");for(let e=0;e((0,z.uX)(),(0,z.Wv)(l,{key:e,delay:200,noFocusTrap:"",triggers:["hover"],popperTriggers:["hover"],onAfterShow:a.fetchReactions},{trigger:(0,z.k6)(()=>[(0,z.bF)(s,{variant:a.userHasReacted(e)?"primary":"secondary",class:"reaction-button--trigger",size:"small",onClick:t=>a.handleReactionClick(e)},{default:(0,z.k6)(()=>[(0,z.Lk)("span",ei9,(0,z.v_)(e),1),(0,z.eW)(" "+(0,z.v_)(a.reactionsCount(e)),1)]),_:2},1032,["variant","onClick"])]),default:(0,z.k6)(()=>[a.hasReactionsLoaded?((0,z.uX)(),(0,z.CE)("div",ei7,[(0,z.Lk)("span",null,[(0,z.eW)((0,z.v_)(a.getReactionSummary(e))+" ",1),4===a.reactionsCount(e)?((0,z.uX)(),(0,z.CE)("span",ene,(0,z.v_)(a.remainingReactionsLabel(e)),1)):a.reactionsCount(e)>4?((0,z.uX)(),(0,z.CE)("a",{key:1,class:"more-reactions-button",role:"button",tabindex:"0",onClick:t[0]||(t[0]=(0,z.D$)(e=>r.showAllReactions=!0,["prevent"]))},(0,z.v_)(a.remainingReactionsLabel(e)),1)):(0,z.Q3)("",!0)])])):((0,z.uX)(),(0,z.CE)("div",ent,[(0,z.bF)(o)]))]),_:2},1032,["onAfterShow"]))),128)),n.isSplitViewEnabled?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[i.showControls?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:"small",title:a.t("spreed","Show all reactions"),"aria-label":a.t("spreed","Show all reactions"),onClick:t[1]||(t[1]=e=>r.showAllReactions=!0)},{default:(0,z.k6)(()=>[(0,z.bF)(u,{size:15})]),_:1},8,["title","aria-label"])):((0,z.uX)(),(0,z.CE)("span",eni))],64)),i.canReact&&i.showControls?((0,z.uX)(),(0,z.Wv)(c,{key:1,perLine:5,onSelect:a.handleReactionClick,onAfterShow:a.emitEmojiPickerStatus,onAfterHide:a.emitEmojiPickerStatus},{default:(0,z.k6)(()=>[(0,z.bF)(s,{size:"small",class:"reaction-button--trigger",title:a.t("spreed","Add more reactions"),"aria-label":a.t("spreed","Add more reactions")},{default:(0,z.k6)(()=>[(0,z.bF)(d,{size:15})]),_:1},8,["title","aria-label"])]),_:1},8,["onSelect","onAfterShow","onAfterHide"])):i.canReact?((0,z.uX)(),(0,z.CE)("span",enn)):(0,z.Q3)("",!0),r.showAllReactions?((0,z.uX)(),(0,z.Wv)(h,{key:3,token:i.token,detailedReactions:a.detailedReactions,reactionsSorted:a.reactionsSorted,onClose:t[2]||(t[2]=e=>r.showAllReactions=!1)},null,8,["token","detailedReactions","reactionsSorted"])):(0,z.Q3)("",!0)],2)):(0,z.Q3)("",!0)}let ena=["aria-hidden","aria-label"],ens=["fill","width","height"],eno={d:"M15 18H18V15H20V18H23V20H20V23H18V20H15V18M12 17.5C9.67 17.5 7.69 16.04 6.89 14H15.69C14.5 14.78 13.62 15.97 13.23 17.36C12.83 17.45 12.42 17.5 12 17.5M8.5 11C7.67 11 7 10.33 7 9.5C7 8.67 7.67 8 8.5 8C9.33 8 10 8.67 10 9.5C10 10.33 9.33 11 8.5 11M15.5 11C14.67 11 14 10.33 14 9.5C14 8.67 14.67 8 15.5 8C16.33 8 17 8.67 17 9.5C17 10.33 16.33 11 15.5 11M12 20L13.07 19.93C13.18 20.61 13.4 21.26 13.72 21.85C13.16 21.95 12.58 22 12 22C6.47 22 2 17.5 2 12C2 6.5 6.47 2 12 2C17.5 2 22 6.5 22 12C22 12.59 21.95 13.16 21.85 13.72C21.26 13.4 20.62 13.18 19.93 13.07L20 12C20 7.58 16.42 4 12 4C7.58 4 4 7.58 4 12C4 16.42 7.58 20 12 20Z"},enl={key:0};function enu(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon emoticon-plus-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eno,[i.title?((0,z.uX)(),(0,z.CE)("title",enl,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ens))],16,ena)}let end={name:"EmoticonPlusOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},enc=(0,to.default)(end,[["render",enu]]),enh=["aria-hidden","aria-label"],enf=["fill","width","height"],enm={d:"M12.1,18.55L12,18.65L11.89,18.55C7.14,14.24 4,11.39 4,8.5C4,6.5 5.5,5 7.5,5C9.04,5 10.54,6 11.07,7.36H12.93C13.46,6 14.96,5 16.5,5C18.5,5 20,6.5 20,8.5C20,11.39 16.86,14.24 12.1,18.55M16.5,3C14.76,3 13.09,3.81 12,5.08C10.91,3.81 9.24,3 7.5,3C4.42,3 2,5.41 2,8.5C2,12.27 5.4,15.36 10.55,20.03L12,21.35L13.45,20.03C18.6,15.36 22,12.27 22,8.5C22,5.41 19.58,3 16.5,3Z"},eng={key:0};function enp(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon heart-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",enm,[i.title?((0,z.uX)(),(0,z.CE)("title",eng,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,enf))],16,enh)}let en_={name:"HeartOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},env=(0,to.default)(en_,[["render",enp]]),enb={class:"reactions__modal"},eny={class:"reactions-list__navigation"},enF={key:1},enk={class:"reactions-list__scrollable"},enw={class:"reactions-item__name"},enC={class:"reactions-item__emojis"};function enA(e,t,i,n,r,a){let s=(0,z.g2)("IconHeartOutline"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("AvatarWrapper"),u=(0,z.g2)("NcLoadingIcon"),d=(0,z.g2)("NcDialog");return(0,z.uX)(),(0,z.Wv)(d,{name:a.t("spreed","Reactions"),closeOnClickOutside:"","onUpdate:open":a.closeModal},{default:(0,z.k6)(()=>[(0,z.Lk)("div",enb,[Object.keys(a.reactionsOverview).length>0?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.Lk)("div",eny,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.reactionsMenu,e=>((0,z.uX)(),(0,z.Wv)(o,{key:e,class:(0,z.C4)({active:r.reactionFilter===e,"all-reactions__button":"♡"===e}),variant:"tertiary",onClick:t=>a.handleTabClick(e)},{default:(0,z.k6)(()=>["♡"===e?((0,z.uX)(),(0,z.Wv)(s,{key:0,size:15})):((0,z.uX)(),(0,z.CE)("span",enF,(0,z.v_)(e),1)),(0,z.eW)(" "+(0,z.v_)(a.reactionsOverview[e].length),1)]),_:2},1032,["class","onClick"]))),128))]),(0,z.Lk)("ul",enk,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.reactionsOverview[r.reactionFilter],e=>((0,z.uX)(),(0,z.CE)("li",{key:e.actorId+e.actorType,class:"reactions-item"},[(0,z.bF)(l,{id:e.actorId,token:i.token,name:e.actorDisplayName,source:e.actorType,size:n.AVATAR.SIZE.SMALL,disableMenu:""},null,8,["id","token","name","source","size"]),(0,z.Lk)("span",enw,(0,z.v_)(e.actorDisplayNameWithFallback),1),(0,z.Lk)("span",enC,(0,z.v_)(e.reaction?.join("")??r.reactionFilter),1)]))),128))])],64)):((0,z.uX)(),(0,z.Wv)(u,{key:1,size:64}))])]),_:1},8,["name","onUpdate:open"])}let enE={name:"ReactionsList",components:{AvatarWrapper:Mo,NcButton:e7.A,NcDialog:ox.A,NcLoadingIcon:te.N,IconHeartOutline:env},props:{token:{type:String,required:!0},detailedReactions:{type:Object,default:()=>{}},reactionsSorted:{type:Array,default:()=>[]}},emits:["close"],setup:()=>({AVATAR:ah,guestNameStore:hu()}),data:()=>({reactionFilter:"♡"}),computed:{reactionsOverview(){let e={},t={};return Object.entries(this.detailedReactions).forEach(([i,n])=>{t[i]=[],n.forEach(n=>{let r=`${n.actorId}-${n.actorType}`,a=this.getDisplayNameForReaction(n),s=uM(a,n.actorType);t[i].push({...n,actorDisplayName:a,actorDisplayNameWithFallback:s}),e[r]?e[r].reaction.push(i):e[r]={actorDisplayName:a,actorDisplayNameWithFallback:s,actorId:n.actorId,actorType:n.actorType,reaction:[i]}})}),{"♡":Object.values(e),...t}},reactionsMenu(){return["♡",...this.reactionsSorted]}},methods:{t:K.t,closeModal(){this.$emit("close")},getDisplayNameForReaction(e){return e.actorType===n1?this.guestNameStore.getGuestNameWithGuestSuffix(this.token,e.actorId):e.actorDisplayName.trim()},handleTabClick(e){this.reactionFilter=e}}},enS=(0,to.default)(enE,[["render",enA],["__scopeId","data-v-61029e7d"]]),enx={name:"ReactionsWrapper",components:{NcButton:e7.A,NcEmojiPicker:jv,NcLoadingIcon:te.N,NcPopover:ST.N,ReactionsList:enS,IconEmoticonPlusOutline:enc,IconHeartOutline:env},props:{token:{type:String,required:!0},canReact:{type:Boolean,default:!1},id:{type:[String,Number],required:!0},showControls:{type:Boolean,default:!1},isSelfActor:{type:Boolean,default:!1}},emits:["emojiPickerToggled"],setup(){let e=(0,z.WQ)("messagesList:isSplitViewEnabled",!0);return{guestNameStore:hu(),reactionsStore:uh(),actorStore:of(),isSplitViewEnabled:e}},data:()=>({showAllReactions:!1}),computed:{hasReactionsLoaded(){return 0!==Object.keys(Object(this.detailedReactions)).length},detailedReactions(){return this.reactionsStore.getReactions(this.token,this.id)},plainReactions(){return this.$store.getters.message(this.token,this.id).reactions},reactionsSelf(){return this.$store.getters.message(this.token,this.id).reactionsSelf},reactionsSorted(){return this.detailedReactions?Object.keys(this.detailedReactions).sort((e,t)=>this.detailedReactions[t].length-this.detailedReactions[e].length):this.plainReactions?Object.keys(this.plainReactions).sort((e,t)=>this.plainReactions[t]-this.plainReactions[e]):void 0}},methods:{t:K.t,n:K.n,fetchReactions(){this.hasOutdatedDetails()&&this.reactionsStore.fetchReactions(this.token,this.id)},hasOutdatedDetails(){if(!this.hasReactionsLoaded)return!0;let e=Object.keys(this.plainReactions);return e.length!==Object.keys(this.detailedReactions).length||e.some(e=>this.plainReactions[e]!==this.detailedReactions[e]?.length)},userHasReacted(e){return this.reactionsSelf?.includes(e)},async handleReactionClick(e){this.canReact?this.userHasReacted(e)?this.reactionsStore.removeReactionFromMessage({token:this.token,messageId:this.id,selectedEmoji:e}):this.reactionsStore.addReactionToMessage({token:this.token,messageId:this.id,selectedEmoji:e}):(0,$.s)((0,K.t)("spreed","No permission to post reactions in this conversation"))},getDisplayNameForReaction(e){return e.actorType===n1?this.guestNameStore.getGuestNameWithGuestSuffix(this.token,e.actorId):uM(e.actorDisplayName,e.actorType)},reactionsCount(e){if(this.detailedReactions&&this.plainReactions)return this.detailedReactions?this.detailedReactions[e]?.length:this.plainReactions[e]},getReactionSummary(e){if(!this.hasReactionsLoaded)return"";let t=this.detailedReactions[e].slice(0,3),i=[];for(let e in t)this.actorStore.checkIfSelfIsActor(t[e])?i.unshift((0,K.t)("spreed","You")):i.push(this.getDisplayNameForReaction(t[e]));return i.join(", ")},emitEmojiPickerStatus(){this.$emit("emojiPickerToggled")},remainingReactionsLabel(e){return 4===this.reactionsCount(e)?(0,K.t)("spreed","and {participant}",{participant:this.getDisplayNameForReaction(this.detailedReactions[e][3])}):(0,K.n)("spreed","and %n other participant","and %n other participants",this.reactionsCount(e)-3)}}},enD={name:"MessageItem",components:{MessageBody:ei8,MessageButtonsBar:Zy,MessageForwarder:Z4,ReactionsWrapper:(0,to.default)(enx,[["render",enr],["__scopeId","data-v-78300d45"]]),ScheduledMessageActions:Ju,IconPin:NN},props:{message:{type:Object,required:!0},previousMessageId:{type:[String,Number],default:0},nextMessageId:{type:[String,Number],default:0},isSelfActor:{type:Boolean,default:!1}},setup(){let e=(0,z.WQ)("chatView:isSidebar",!1),t=Y8(),i=(0,z.WQ)("messagesList:isSplitViewEnabled",!0);return{chatExtrasStore:oQ(),actorStore:of(),isSmallMobile:(0,Z.F)(),isSidebar:e,isSplitViewEnabled:i,threadId:t}},data:()=>({isHovered:!1,isDeleting:!1,isActionMenuOpen:!1,isEmojiPickerOpen:!1,isFollowUpEmojiPickerOpen:!1,isReactionsMenuOpen:!1,isForwarderOpen:!1}),computed:{isScheduledMessage(){return this.message.referenceId?.startsWith("scheduled-")},isTemporary(){return!this.isScheduledMessage&&0===this.message.timestamp},isDeletedMessage(){return this.message.messageType===rj},showScheduledMessages(){return this.chatExtrasStore.showScheduledMessages},conversation(){return""===this.message.token?this.$store.getters.dummyConversation:this.$store.getters.conversation(this.message.token)},showCommonReadIcon(){return this.conversation.lastCommonReadMessage>=this.message.id&&this.showSentIcon&&!this.isDeletedMessage},showSentIcon(){return!this.isTemporary&&!this.isDeleting&&this.isSelfActor&&!this.isDeletedMessage},richParameters(){let e={};return Object.keys(this.message.messageParameters).forEach((function(t){let i=this.message.messageParameters[t].type,n=this.message.messageParameters[t].mimetype,r=ug({messageParameters:this.message.messageParameters,messageType:this.message.messageType});if(Object.values(ag).includes(i))e[t]={component:et7,props:{...this.message.messageParameters[t],token:this.message.token}};else if("file"===i&&"text/vcard"!==n)e[t]={component:eek,props:{token:this.message.token,messageId:this.message.id,nextMessageId:this.nextMessageId,itemType:r,referenceId:this.message.referenceId,file:this.message.messageParameters[t]}};else if("deck-card"===i)e[t]={component:Jw,props:this.message.messageParameters[t]};else if("geo-location"===i)e[t]={component:etZ,props:this.message.messageParameters[t]};else if("talk-poll"===i&&"poll_closed"!==this.message.systemMessage){let i={...this.message.messageParameters[t]};i.token=this.message.token,e[t]={component:ei2,props:i}}else"text/vcard"===n?e[t]={component:Jp,props:this.message.messageParameters[t]}:e[t]={component:Jx,props:this.message.messageParameters[t]}}).bind(this)),e},showMessageButtonsBar(){return!this.isDeletedMessage&&!this.isTemporary&&(this.isHovered||this.isActionMenuOpen||this.isEmojiPickerOpen||this.isFollowUpEmojiPickerOpen||this.isReactionsMenuOpen||this.isForwarderOpen)},readInfo(){return this.showScheduledMessages?{showSilentIcon:this.message.silent,silentIconTitle:(0,K.t)("spreed","Will be sent without notification")}:{showCommonReadIcon:this.showCommonReadIcon,commonReadIconTitle:(0,K.t)("spreed","Message read by everyone who shares their reading status"),showSentIcon:this.showSentIcon,sentIconTitle:(0,K.t)("spreed","Message sent"),showSilentIcon:this.message.silent,silentIconTitle:(0,K.t)("spreed","Sent without notification")}},canReact(){return this.conversation.readOnly!==nJ.STATE.READ_ONLY&&(this.conversation.permissions&rq.PERMISSIONS.CHAT)!=0&&this.message.messageType!==rR&&this.message.messageType!==rj},buttonsBarOutlined(){return!this.isSplitViewEnabled||this.isReactionsMenuOpen},isThreadStarterMessage(){if(!aG(this.message.token,"threads")||this.threadId)return!1;let e=this.message.threadTitle??this.message.metaData?.threadTitle;return(!!this.message.isThread||!!e)&&(this.message.id===this.message.threadId||this.message.id.toString().startsWith("temp-")||this.isScheduledMessage&&-1===this.message.threadId)},isShortSimpleMessage(){return this.message.message.length<=20&&(!this.message.parent||this.message.parent.id===this.threadId)&&!this.isThreadStarterMessage&&0===Object.keys(this.message.messageParameters).length&&0===Object.keys(this.message.reactions).length&&1===this.message.message.split("\n").length},isPinned(){return!!this.message.metaData?.pinnedAt}},methods:{t:K.t,handleMouseover(){this.isHovered||(this.isHovered=!0)},handleMouseleave(){this.isHovered&&(this.isHovered=!1)},handleReply(){this.chatExtrasStore.setParentIdToReply({token:this.message.token,id:this.message.id}),iZ.emit("focus-chat-input")},handleEdit(){this.chatExtrasStore.initiateEditingMessage({token:this.message.token,id:this.message.id,message:this.message.message,messageParameters:this.message.messageParameters})},async handleDelete(){this.isDeleting=!0;try{let e=await this.$store.dispatch("deleteMessage",{token:this.message.token,id:this.message.id,placeholder:(0,K.t)("spreed","Deleting message")});202===e?(0,$.k)((0,K.t)("spreed","Message deleted successfully, but a bot or Matterbridge is configured and the message might already be distributed to other services"),{timeout:2*$.q}):200===e&&(0,$.i)((0,K.t)("spreed","Message deleted successfully"))}catch(e){e?.response?.status===400?(0,$.s)((0,K.t)("spreed","Message could not be deleted because it is too old")):e?.response?.status===405?(0,$.s)((0,K.t)("spreed","Only normal chat messages can be deleted")):((0,$.s)((0,K.t)("spreed","An error occurred while deleting the message")),console.error(e)),this.isDeleting=!1;return}this.isDeleting=!1},toggleFollowUpEmojiPicker(){this.isFollowUpEmojiPickerOpen=!this.isFollowUpEmojiPickerOpen}}},enT={name:"MessagesGroup",components:{AvatarWrapper:Mo,MessageItem:(0,to.default)(enD,[["render",ND],["__scopeId","data-v-1899d729"]])},props:{token:{type:String,required:!0},messages:{type:Array,required:!0},previousMessageId:{type:[String,Number],default:0},nextMessageId:{type:[String,Number],default:0}},setup(e){let{messages:t}=(0,z.QW)(e),{remoteServer:i,lastEditor:n,actorDisplayName:r,actorDisplayNameWithFallback:a}=Q4((0,z.EW)(()=>t.value[0])),s=(0,z.WQ)("chatView:isSidebar",!1),o=(0,z.EW)(()=>[a.value,i.value,n.value].filter(e=>e).join(" ")),l=(0,z.WQ)("messagesList:isSplitViewEnabled",!0);return{AVATAR:ah,guestNameStore:hu(),actorStore:of(),chatExtrasStore:oQ(),actorDisplayName:r,actorInfo:o,isSmallMobile:(0,Z.F)(),isSidebar:s,isSplitViewEnabled:l}},computed:{actorId(){return this.messages[0].actorId},actorType(){return this.messages[0].actorType},disableMenu(){return this.actorStore.isActorGuest||this.actorType===n8},isSelfActor(){return this.actorStore.checkIfSelfIsActor({actorId:this.actorId,actorType:this.actorType})},showAuthor(){return!this.isSplitViewEnabled||!this.isSelfActor||this.isSmallMobile||this.isSidebar},isPinnedMessageShown(){return this.chatExtrasStore.hasPinnedMessageShown(this.token)}},methods:{t:K.t}},enM=(0,to.default)(enT,[["render",NA],["__scopeId","data-v-23a4b532"]]),enI={class:"wrapper wrapper--system"},enB={key:0,class:"messages"};function enP(e,t,i,n,r,a){let s=(0,z.g2)("SystemMessageItem");return(0,z.uX)(),(0,z.CE)("li",enI,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(r.messagesGroupedBySystemMessage,e=>((0,z.uX)(),(0,z.CE)("div",{key:e.id,class:"messages-group__system"},[e.messages?.length>1?((0,z.uX)(),(0,z.CE)("ul",enB,[(0,z.bF)(s,{isCombinedSystemMessage:"",isCombinedSystemMessageCollapsed:e.collapsed,nextMessageId:a.getNextMessageId(e.messages.at(-1)),previousMessageId:a.getPrevMessageId(e.messages.at(0)),lastCollapsedMessageId:e.lastId,message:n.createCombinedSystemMessage(e),onToggleCombinedSystemMessage:t=>a.toggleCollapsed(e)},null,8,["isCombinedSystemMessageCollapsed","nextMessageId","previousMessageId","lastCollapsedMessageId","message","onToggleCombinedSystemMessage"])])):(0,z.Q3)("",!0),(0,z.bo)((0,z.Lk)("ul",{class:(0,z.C4)(["messages",{"messages--collapsed":e.messages?.length>1}])},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(e.messages,t=>((0,z.uX)(),(0,z.Wv)(s,{key:t.id,message:t,isCollapsedSystemMessage:e.messages?.length>1,lastCollapsedMessageId:e.lastId,nextMessageId:a.getNextMessageId(t),previousMessageId:a.getPrevMessageId(t)},null,8,["message","isCollapsedSystemMessage","lastCollapsedMessageId","nextMessageId","previousMessageId"]))),128))],2),[[z.aG,e.messages?.length===1||!e.collapsed]])]))),128))])}let enL=["id","data-message-id","data-next-message-id","data-previous-message-id"],enN={class:"message-body__scroll"},enR={key:0,class:"message-buttons-bar"};function enj(e,t,i,n,r,a){let s=(0,z.g2)("MessageBody"),o=(0,z.g2)("IconUnfoldMoreHorizontal"),l=(0,z.g2)("IconUnfoldLessHorizontal"),u=(0,z.g2)("NcButton");return(0,z.uX)(),(0,z.CE)("li",{id:`message_${i.message.id}`,"data-message-id":i.message.id,"data-next-message-id":i.nextMessageId,"data-previous-message-id":i.previousMessageId,class:"message"},[(0,z.Lk)("div",{class:(0,z.C4)([{"combined-system":i.isCombinedSystemMessage,"combined-system--open":i.isCombinedSystemMessage&&!i.isCombinedSystemMessageCollapsed},"message-body system"])},[(0,z.bF)(s,{richParameters:a.richParameters,hasCall:a.conversation.hasCall,message:i.message},null,8,["richParameters","hasCall","message"])],2),(0,z.Lk)("div",enN,[i.isCombinedSystemMessage?((0,z.uX)(),(0,z.CE)("div",enR,[(0,z.bF)(u,{variant:"tertiary","aria-label":a.t("spreed","Show or collapse system messages"),title:a.t("spreed","Show or collapse system messages"),onClick:a.toggleCombinedSystemMessage},{icon:(0,z.k6)(()=>[i.isCombinedSystemMessageCollapsed?((0,z.uX)(),(0,z.Wv)(o,{key:0})):((0,z.uX)(),(0,z.Wv)(l,{key:1}))]),_:1},8,["aria-label","title","onClick"])])):(0,z.Q3)("",!0)])],8,enL)}let enO=["aria-hidden","aria-label"],enz=["fill","width","height"],enU={d:"M16.59,5.41L15.17,4L12,7.17L8.83,4L7.41,5.41L12,10M7.41,18.59L8.83,20L12,16.83L15.17,20L16.58,18.59L12,14L7.41,18.59Z"},enq={key:0};function enW(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon unfold-less-horizontal-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",enU,[i.title?((0,z.uX)(),(0,z.CE)("title",enq,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,enz))],16,enO)}let enV={name:"UnfoldLessHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},enH=(0,to.default)(enV,[["render",enW]]),en$=["aria-hidden","aria-label"],enG=["fill","width","height"],enX={d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"},enK={key:0};function enY(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon unfold-more-horizontal-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",enX,[i.title?((0,z.uX)(),(0,z.CE)("title",enK,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,enG))],16,en$)}let enQ={name:"UnfoldMoreHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},enZ=(0,to.default)(enQ,[["render",enY]]),enJ={name:"MessageItem",components:{IconUnfoldLessHorizontal:enH,IconUnfoldMoreHorizontal:enZ,MessageBody:ei8,NcButton:e7.A},props:{message:{type:Object,required:!0},isCombinedSystemMessage:{type:Boolean,default:!1},isCombinedSystemMessageCollapsed:{type:Boolean,default:void 0},isCollapsedSystemMessage:{type:Boolean,default:!1},lastCollapsedMessageId:{type:[String,Number],default:0},previousMessageId:{type:[String,Number],default:0},nextMessageId:{type:[String,Number],default:0}},emits:["toggleCombinedSystemMessage"],computed:{conversation(){return this.$store.getters.conversation(this.message.token)},richParameters(){let e={};return Object.keys(this.message.messageParameters).forEach((function(t){let i=this.message.messageParameters[t].type;Object.values(ag).includes(i)?e[t]={component:et7,props:{...this.message.messageParameters[t],token:this.message.token}}:e[t]={component:Jx,props:this.message.messageParameters[t]}}).bind(this)),e}},methods:{t:K.t,toggleCombinedSystemMessage(){this.$emit("toggleCombinedSystemMessage")}}};function en0(){ed();let e=of();function t(t){return t.messageParameters.actor.id===e.actorId&&t.messageParameters.actor.type+"s"===e.actorType}function i(t){return t.messageParameters.user.id===e.actorId&&t.messageParameters.user.type+"s"===e.actorType}return{createCombinedSystemMessage:function({id:n,messages:r,type:a,collapsed:s}){let o=c7()(r[0]);if(o.id=r[0].id+"_combined","call_reconnected"===a)return t(o)?o.message=(0,K.t)("spreed","You reconnected to the call"):o.message=(0,K.t)("spreed","{actor} reconnected to the call"),o;let l=r[0].messageParameters.actor;o.messageParameters={actor:l};let u="guest/cli"===l.id&&"guest"===l.type,d=0,c=!1,h=0;if("user_added"===a&&(r.forEach(e=>{i(e)?c=!0:(o.messageParameters[`user${h}`]=e.messageParameters.user,h++),d++}),e.checkIfSelfIsActor(o)?2===d?o.message=(0,K.t)("spreed","You added {user0} and {user1}"):o.message=(0,K.n)("spreed","You added {user0}, {user1} and %n more participant","You added {user0}, {user1} and %n more participants",d-2):c?2===d?o.message=u?(0,K.t)("spreed","An administrator added you and {user0}"):(0,K.t)("spreed","{actor} added you and {user0}"):o.message=u?(0,K.n)("spreed","An administrator added you, {user0} and %n more participant","An administrator added you, {user0} and %n more participants",d-2):(0,K.n)("spreed","{actor} added you, {user0} and %n more participant","{actor} added you, {user0} and %n more participants",d-2):2===d?o.message=u?(0,K.t)("spreed","An administrator added {user0} and {user1}"):(0,K.t)("spreed","{actor} added {user0} and {user1}"):o.message=u?(0,K.n)("spreed","An administrator added {user0}, {user1} and %n more participant","An administrator added {user0}, {user1} and %n more participants",d-2):(0,K.n)("spreed","{actor} added {user0}, {user1} and %n more participant","{actor} added {user0}, {user1} and %n more participants",d-2)),"user_removed"===a&&(r.forEach(e=>{i(e)?c=!0:(o.messageParameters[`user${h}`]=e.messageParameters.user,h++),d++}),e.checkIfSelfIsActor(o)?2===d?o.message=(0,K.t)("spreed","You removed {user0} and {user1}"):o.message=(0,K.n)("spreed","You removed {user0}, {user1} and %n more participant","You removed {user0}, {user1} and %n more participants",d-2):c?2===d?o.message=u?(0,K.t)("spreed","An administrator removed you and {user0}"):(0,K.t)("spreed","{actor} removed you and {user0}"):o.message=u?(0,K.n)("spreed","An administrator removed you, {user0} and %n more participant","An administrator removed you, {user0} and %n more participants",d-2):(0,K.n)("spreed","{actor} removed you, {user0} and %n more participant","{actor} removed you, {user0} and %n more participants",d-2):2===d?o.message=u?(0,K.t)("spreed","An administrator removed {user0} and {user1}"):(0,K.t)("spreed","{actor} removed {user0} and {user1}"):o.message=u?(0,K.n)("spreed","An administrator removed {user0}, {user1} and %n more participant","An administrator removed {user0}, {user1} and %n more participants",d-2):(0,K.n)("spreed","{actor} removed {user0}, {user1} and %n more participant","{actor} removed {user0}, {user1} and %n more participants",d-2)),"call_joined"===a||"call_left"===a){let e=[];if(r.forEach(i=>{let n=`${i.messageParameters.actor.id}_${i.messageParameters.actor.type}`;!e.includes(n)&&(t(i)?c=!0:(o.messageParameters[`user${h}`]=i.messageParameters.actor,h++),e.push(n),d++)}),1===d)return o.message=r[0].message,o;"call_joined"===a?c?2===d?o.message=(0,K.t)("spreed","You and {user0} joined the call"):o.message=(0,K.n)("spreed","You, {user0} and %n more participant joined the call","You, {user0} and %n more participants joined the call",d-2):2===d?o.message=(0,K.t)("spreed","{user0} and {user1} joined the call"):o.message=(0,K.n)("spreed","{user0}, {user1} and %n more participant joined the call","{user0}, {user1} and %n more participants joined the call",d-2):"call_left"===a&&(c?2===d?o.message=(0,K.t)("spreed","You and {user0} left the call"):o.message=(0,K.n)("spreed","You, {user0} and %n more participant left the call","You, {user0} and %n more participants left the call",d-2):2===d?o.message=(0,K.t)("spreed","{user0} and {user1} left the call"):o.message=(0,K.n)("spreed","{user0}, {user1} and %n more participant left the call","{user0}, {user1} and %n more participants left the call",d-2))}return"moderator_promoted"===a&&(r.forEach(e=>{i(e)?c=!0:(o.messageParameters[`user${h}`]=e.messageParameters.user,h++),d++}),e.checkIfSelfIsActor(o)?2===d?o.message=(0,K.t)("spreed","You promoted {user0} and {user1} to moderators"):o.message=(0,K.n)("spreed","You promoted {user0}, {user1} and %n more participant to moderators","You promoted {user0}, {user1} and %n more participants to moderators",d-2):c?2===d?o.message=u?(0,K.t)("spreed","An administrator promoted you and {user0} to moderators"):(0,K.t)("spreed","{actor} promoted you and {user0} to moderators"):o.message=u?(0,K.n)("spreed","An administrator promoted you, {user0} and %n more participant to moderators","An administrator promoted you, {user0} and %n more participants to moderators",d-2):(0,K.n)("spreed","{actor} promoted you, {user0} and %n more participant to moderators","{actor} promoted you, {user0} and %n more participants to moderators",d-2):2===d?o.message=u?(0,K.t)("spreed","An administrator promoted {user0} and {user1} to moderators"):(0,K.t)("spreed","{actor} promoted {user0} and {user1} to moderators"):o.message=u?(0,K.n)("spreed","An administrator promoted {user0}, {user1} and %n more participant to moderators","An administrator promoted {user0}, {user1} and %n more participants to moderators",d-2):(0,K.n)("spreed","{actor} promoted {user0}, {user1} and %n more participant to moderators","{actor} promoted {user0}, {user1} and %n more participants to moderators",d-2)),"moderator_demoted"===a&&(r.forEach(e=>{i(e)?c=!0:(o.messageParameters[`user${h}`]=e.messageParameters.user,h++),d++}),e.checkIfSelfIsActor(o)?2===d?o.message=(0,K.t)("spreed","You demoted {user0} and {user1} from moderators"):o.message=(0,K.n)("spreed","You demoted {user0}, {user1} and %n more participant from moderators","You demoted {user0}, {user1} and %n more participants from moderators",d-2):c?2===d?o.message=u?(0,K.t)("spreed","An administrator demoted you and {user0} from moderators"):(0,K.t)("spreed","{actor} demoted you and {user0} from moderators"):o.message=u?(0,K.n)("spreed","An administrator demoted you, {user0} and %n more participant from moderators","An administrator demoted you, {user0} and %n more participants from moderators",d-2):(0,K.n)("spreed","{actor} demoted you, {user0} and %n more participant from moderators","{actor} demoted you, {user0} and %n more participants from moderators",d-2):2===d?o.message=u?(0,K.t)("spreed","An administrator demoted {user0} and {user1} from moderators"):(0,K.t)("spreed","{actor} demoted {user0} and {user1} from moderators"):o.message=u?(0,K.n)("spreed","An administrator demoted {user0}, {user1} and %n more participant from moderators","An administrator demoted {user0}, {user1} and %n more participants from moderators",d-2):(0,K.n)("spreed","{actor} demoted {user0}, {user1} and %n more participant from moderators","{actor} demoted {user0}, {user1} and %n more participants from moderators",d-2)),o}}}let en1={name:"MessagesSystemGroup",components:{SystemMessageItem:(0,to.default)(enJ,[["render",enj],["__scopeId","data-v-1d2fc7f5"]])},props:{token:{type:String,required:!0},messages:{type:Array,required:!0},previousMessageId:{type:[String,Number],default:0},nextMessageId:{type:[String,Number],default:0}},setup(){let{createCombinedSystemMessage:e}=en0();return{createCombinedSystemMessage:e}},data:()=>({groupIsCollapsed:{},messagesGroupedBySystemMessage:[]}),watch:{messages:{deep:!0,immediate:!0,handler(e){this.messagesGroupedBySystemMessage=this.groupMessages(e),this.updateCollapsedState()}}},methods:{messagesShouldBeGrouped:(e,t)=>t?e.systemMessage===ru&&e.systemMessage===t.systemMessage?ru:e.systemMessage===rd&&e.systemMessage===t.systemMessage?rd:e.actorId!==t.actorId||e.actorType!==t.actorType?"":e.systemMessage===ru&&t.systemMessage===rd&&e.timestamp-t.timestamp<6e4?"call_reconnected":e.systemMessage===rB&&e.systemMessage===t.systemMessage?rB:e.systemMessage===rP&&e.systemMessage===t.systemMessage?rP:(e.systemMessage===rk||e.systemMessage===rg)&&(t.systemMessage===rk||t.systemMessage===rg)?rk:(e.systemMessage===rF||e.systemMessage===rm)&&(t.systemMessage===rF||t.systemMessage===rm)?rF:"":"",updateCollapsedState(){for(let e of this.messagesGroupedBySystemMessage)void 0!==this.groupIsCollapsed[e.id]?e.collapsed=this.groupIsCollapsed[e.id]:e.collapsed=e.messages.length>1},groupMessages(e){let t=[],i=null,n=!1;for(let r of e){let e=this.messagesShouldBeGrouped(r,i);!e||n?(t.push({id:r.id,lastId:r.id,messages:[r],type:"",collapsed:void 0}),n=!1):("call_reconnected"===e&&(t.push({id:r.id,lastId:r.id,messages:[t.at(-1).messages.pop()],type:"",collapsed:void 0}),t.at(-1).lastId=t.at(-1).messages.at(-1).id,n=!0),t.at(-1).messages.push(r),t.at(-1).lastId=r.id,t.at(-1).type=e),i=r}return t},toggleCollapsed(e){e.collapsed=!e.collapsed,this.groupIsCollapsed[e.id]=e.collapsed},getNextMessageId(e){let t=this.messages[this.messages.findIndex(t=>t.id===e.id)+1];return t?.id||this.nextMessageId},getPrevMessageId(e){let t=this.messages[this.messages.findIndex(t=>t.id===e.id)-1];return t?.id||this.previousMessageId}}},en2=(0,to.default)(en1,[["render",enP],["__scopeId","data-v-51379468"]]),en3=["aria-hidden","aria-label"],en4=["fill","width","height"],en6={d:"M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z"},en5={key:0};function en8(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon pin-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",en6,[i.title?((0,z.uX)(),(0,z.CE)("title",en5,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,en4))],16,en3)}let en9={name:"PinIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},en7=(0,to.default)(en9,[["render",en8]]),ere={key:0,class:"pin_wrapper"},ert={class:"display-name"},eri=(0,z.pM)({__name:"PinnedMessage",setup(e){let t=ed(),i=of(),n=(0,q.t)(),r=iQ(),a=up(),s=(0,z.EW)(()=>t.getters.conversation(r.value)),o=(0,z.EW)(()=>u.value?oG(u.value.message,u.value.messageParameters):""),l=(0,z.EW)(()=>a.sharedItems(r.value).pinned?Object.values(a.sharedItems(r.value).pinned??{}):[]),u=(0,z.EW)(()=>{if(!l.value.length)return null;let e=l.value.find(e=>+e.id===s.value.lastPinnedId);if(!e){let e=a.findMostRecentPinnedMessageId(r.value);return l.value.find(t=>+t.id===e)}return e.id!==s.value.hiddenPinnedId?e:null}),d=(0,z.EW)(()=>{if(!u.value?.metaData)return"";let e=u.value.metaData;return e.pinnedActorId===u.value.actorId&&e.pinnedActorType===u.value.actorType?u.value.actorDisplayName||"":e.pinnedActorId===i.actorId&&e.pinnedActorType===i.actorType?(0,K.t)("spreed","{author} (pinned by you)",{author:u.value.actorDisplayName||""}):(0,K.t)("spreed","{author} (pinned by {actor})",{author:u.value.actorDisplayName||"",actor:e.pinnedActorDisplayName||""})}),c=(0,z.EW)(()=>t.getters.isModerator),h=(0,z.EW)(()=>u.value?.isThread&&u.value.threadId!==u.value.id),f=(0,z.EW)(()=>({name:"conversation",hash:`#message_${u.value.id}`,params:{token:s.value.token},query:{threadId:h.value?u.value.threadId:void 0}}));function m(){u.value?.id&&n.hash==="#message_"+u.value.id&&iZ.emit("focus-message",{messageId:u.value.id})}function g(){a.handleHidePinnedMessage(r.value,u.value.id)}return(0,z.sV)(()=>{a.sharedItems(r.value).pinned||a.fetchPinnedMessages(r.value)}),(e,t)=>u.value?((0,z.uX)(),(0,z.CE)("div",ere,[(0,z.bF)((0,z.R1)(ZZ),{title:o.value,active:!1,to:f.value,onClick:m},{icon:(0,z.k6)(()=>[(0,z.bF)(en7,{class:"pin-icon",size:20})]),name:(0,z.k6)(()=>[(0,z.Lk)("span",ert,(0,z.v_)(d.value),1)]),subname:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(o.value),1)]),actions:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e2.N),{closeAfterClick:"",title:(0,z.R1)(K.t)("spreed","Dismiss"),onClick:(0,z.D$)(g,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(eet,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Dismiss")),1)]),_:1},8,["title"]),c.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:0,closeAfterClick:"",title:(0,z.R1)(K.t)("spreed","Unpin"),onClick:t[0]||(t[0]=(0,z.D$)(e=>(0,z.R1)(a).handleUnpinMessage((0,z.R1)(r),u.value.id),["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(zC,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Unpin")),1)]),_:1},8,["title"])):(0,z.Q3)("",!0)]),_:1},8,["title","to"])])):(0,z.Q3)("",!0)}}),ern=(0,to.default)(eri,[["__scopeId","data-v-13afa91b"]]);function err(){let e=(0,z.KR)(!document.hidden),t=()=>{e.value=!document.hidden};return(0,z.KC)(()=>{document.addEventListener("visibilitychange",t)}),(0,z.xo)(()=>{document.removeEventListener("visibilitychange",t)}),(0,z.tB)(e)}let era=(0,i$.F)(err),ers=Symbol.for("GET_MESSAGES_CONTEXT");function ero(){return(0,z.WQ)(ers)}let erl=10,eru=800,erd=aG("local","chat-summary-api"),erc=aX("local","chat","summary-threshold")??0,erh={system:en2,default:enM},erf={name:"MessagesList",components:{IconMessageOutline:Nh,LoadingPlaceholder:Np,NcEmptyContent:PZ.A,NcAssistantButton:Na,NcLoadingIcon:te.N,PinnedMessage:ern,StaticDateTime:Nk,ScheduledDateTime:Nb,TransitionWrapper:DL},directives:{IntersectionObserver:Tu},provide(){return{getMessagesListScroller:()=>this.$refs.scroller}},props:{token:{type:String,required:!0},isChatScrolledToBottom:{type:Boolean,default:!0},isVisible:{type:Boolean,default:!0}},emits:["update:isChatScrolledToBottom"],setup(e){let{contextMessageId:t,loadingOldMessages:i,loadingNewMessages:n,isInitialisingMessages:r,isChatBeginningReached:a,isChatEndReached:s,getOldMessages:o,getNewMessages:l}=ero(),u=era(),d=(0,z.EW)(()=>u.value&&e.isVisible),c=Y8(),h=cK(),f=(0,z.EW)(()=>h.chatStyle===n$);return(0,z.Gt)("messagesList:isSplitViewEnabled",f),{messagesGroupComponent:erh,chatExtrasStore:oQ(),chatStore:hl(),isChatVisible:d,threadId:c,contextMessageId:t,loadingOldMessages:i,loadingNewMessages:n,isInitialisingMessages:r,isChatBeginningReached:a,isChatEndReached:s,getOldMessages:o,getNewMessages:l}},data:()=>({messagesGroupedByDateByAuthor:{},previousScrollTopValue:null,isFocusingMessage:!1,debounceUpdateReadMarkerPosition:()=>{},debounceHandleScroll:()=>{},isScrolling:null,stickyDate:null,endScrollTimeout:()=>{},isUnreadMarkerSeen:!1,loadingSummary:!1}),computed:{visualLastReadMessageId(){return this.$store.getters.getVisualLastReadMessageId(this.token)},messagesList(){return this.showScheduledMessages?this.chatExtrasStore.getScheduledMessagesList(this.token):this.chatStore.getMessagesList(this.token,{messageId:this.contextMessageId,threadId:this.threadId})},chatLoadedIdentifier(){return this.token+":"+this.contextMessageId+":"+this.threadId+":"+this.isInitialisingMessages},showEmptyContent(){return!this.messagesList.length},isSticky(){return this.isChatScrolledToBottom&&!this.isInitialisingMessages},conversation(){return this.$store.getters.conversation(this.token)},showScheduledMessages(){return this.chatExtrasStore.showScheduledMessages},currentDay:()=>uA(new Date().setHours(0,0,0,0)),shouldShowSummaryOption(){return!(this.conversation.remoteServer||!erd||this.chatExtrasStore.hasChatSummaryTaskRequested(this.token))&&this.conversation.unreadMessages>=erc},showPinnedMessages(){return this.chatExtrasStore.hasPinnedMessageShown(this.token)}},watch:{isChatVisible(e){e&&this.onWindowFocus()},async showScheduledMessages(e){e&&(this.isInitialisingMessages=void 0===this.chatExtrasStore.scheduledMessages[this.token],await this.chatExtrasStore.fetchScheduledMessages(this.token),this.isInitialisingMessages=!1)},isInitialisingMessages(e,t){t&&!e&&this.$nextTick(()=>{this.scrollToFocusedMessage(this.getMessageIdFromHash())})},token(e,t){this.$store.dispatch("easeMessageList",{token:t}),this.isUnreadMarkerSeen=!1},messagesList:{immediate:!0,handler(e,t){let i=this.prepareMessagesGroups(e);!t||t?.length&&e.length&&e[0].token!==t?.at(0)?.token||this.showScheduledMessages?this.messagesGroupedByDateByAuthor=i:this.softUpdateByDateGroups(this.messagesGroupedByDateByAuthor,i),this.scrollToBottom({smooth:!1}),this.$nextTick(()=>{this.isInitialisingMessages||(this.checkChatNotScrollable(),this.conversation?.type===nJ.TYPE.NOTE_TO_SELF&&this.updateTasksCount())})}},chatLoadedIdentifier(){this.stickyDate=null,this.$refs.scroller&&this.$refs.scroller.removeEventListener("wheel",this.handleWheelEvent),this.isInitialisingMessages||this.$nextTick(()=>{this.checkSticky(),!this.isChatBeginningReached&&this.checkChatNotScrollable()&&this.$refs.scroller.addEventListener("wheel",this.handleWheelEvent,{passive:!0})})},visualLastReadMessageId(e,t){if(e===t)return;let i=this.prepareMessagesGroups(this.messagesList);this.softUpdateByDateGroups(this.messagesGroupedByDateByAuthor,i),this.isUnreadMarkerSeen=!1}},mounted(){this.debounceUpdateReadMarkerPosition=(0,Y.A)(this.updateReadMarkerPosition,1e3),this.debounceHandleScroll=(0,Y.A)(this.handleScroll,50),iZ.on("scroll-chat-to-bottom",this.scrollToBottom),iZ.on("focus-message",this.focusMessage),window.addEventListener("focus",this.onWindowFocus),this.resizeObserver=new ResizeObserver(this.updateSize),this.resizeObserver.observe(this.$refs.scroller),this.isInitialisingMessages||this.scrollToBottom({smooth:!1,force:!0})},beforeUnmount(){this.debounceUpdateReadMarkerPosition.clear?.(),this.debounceHandleScroll.clear?.(),window.removeEventListener("focus",this.onWindowFocus),iZ.off("scroll-chat-to-bottom",this.scrollToBottom),iZ.off("focus-message",this.focusMessage),this.resizeObserver&&this.resizeObserver.disconnect()},methods:{t:K.t,n:K.n,updateSize(){this.isChatScrolledToBottom?this.$refs.scroller.scrollTo({top:this.$refs.scroller.scrollHeight}):this.checkChatNotScrollable()},prepareMessagesGroups(e){let t=null,i={},n=null,r=null,a=null;for(let s of e)this.messagesShouldBeGrouped(s,n)?i[t.date][t.groupId].messages.push(s):(r=s.id,i[a=0===s.timestamp?this.currentDay:uA(new Date(1e3*s.timestamp).setHours(0,0,0,0))]||(i[a]={}),i[a][r]={id:s.id,messages:[s],token:this.token,dateTimestamp:a,previousMessageId:n?.id||0,nextMessageId:0,type:0!==s.systemMessage.length?"system":"default"},t&&(i[t.date][t.groupId].nextMessageId=s.id),t={date:a,groupId:s.id}),n=s;return i},softUpdateByDateGroups(e,t){new Set([...Object.keys(e),...Object.keys(t)]).forEach(i=>{t[i]?e[i]?this.softUpdateAuthorGroups(e[i],t[i],i):this.messagesGroupedByDateByAuthor[i]=t[i]:delete this.messagesGroupedByDateByAuthor[i]})},softUpdateAuthorGroups(e,t,i){new Set([...Object.keys(e),...Object.keys(t)]).forEach(n=>{e[n]&&!t[n]?delete this.messagesGroupedByDateByAuthor[i][n]:(!t[n]||e[n])&&this.areGroupsIdentical(t[n],e[n])||(this.messagesGroupedByDateByAuthor[i][n]=t[n])})},areGroupsIdentical:(e,t)=>e.messages.length===t.messages.length&&e.dateSeparator===t.dateSeparator&&e.previousMessageId===t.previousMessageId&&e.nextMessageId===t.nextMessageId&&e.messages.every((e,i)=>t.messages[i].id===e.id&&JSON.stringify(t.messages[i])===JSON.stringify(e)),messagesShouldBeGrouped(e,t){if(!t||e.id===this.visualLastReadMessageId&&t.id>e.id||t.id===this.visualLastReadMessageId&&e.id>t.id||e.lastEditTimestamp||t.lastEditTimestamp||e.actorType===n5&&e.actorId!==ra&&e.actorId!==rs)return!1;let i=0!==e.systemMessage.length;if(i!==(0!==t.systemMessage.length)||!i&&(e.actorType!==t.actorType||e.actorId!==t.actorId||e.actorType===n8&&e.actorDisplayName!==t.actorDisplayName))return!1;let n=this.getDateOfMessage(e),r=this.getDateOfMessage(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()&&n.getDate()===r.getDate()&&3e5>Math.abs(n-r)},getDateOfMessage:e=>e.id.toString().startsWith("temp-")?new Date:new Date(1e3*e.timestamp),getMessageIdFromHash(e){return e?parseInt(e.slice(9),10):this.$route?.hash?.startsWith("#message_")?parseInt(this.$route.hash.slice(9),10):null},scrollToFocusedMessage(e){let t=null;if(e)return void this.focusMessage({messageId:e,smooth:!1,highlight:!0});if(this.visualLastReadMessageId&&(t=this.focusMessage({messageId:this.visualLastReadMessageId,smooth:!1,highlight:!1})),!t){let e=this.$store.getters.getFirstDisplayableMessageIdBeforeReadMarker(this.token,this.visualLastReadMessageId);e&&(t=this.focusMessage({messageId:e,smooth:!1,highlight:!1})),t?this.$store.dispatch("setVisualLastReadMessageId",{token:this.token,id:e}):this.scrollToBottom({smooth:!1,force:!0})}this.debounceUpdateReadMarkerPosition()},checkSticky(){let e=this.$refs["dateGroup-"+this.token];if(!e)return;let t=this.$refs.scroller.getBoundingClientRect();e.forEach(e=>{let i=e.getBoundingClientRect();i.top<=t.top&&i.bottom>=t.top&&(this.stickyDate=e.getAttribute("data-date-timestamp"))})},onScroll(e){this.isScrolling&&clearTimeout(this.endScrollTimeout),this.isScrolling=this.previousScrollTopValue>e.target.scrollTop?"up":"down",this.previousScrollTopValue=e.target.scrollTop,this.endScrollTimeout=setTimeout(this.endScroll,3e3),0===this.$refs.scroller.scrollTop?this.stickyDate=null:this.checkSticky(),this.debounceHandleScroll()},async handleScroll({skipHeightCheck:e=!1}={}){if(!this.$refs.scroller)return;if(!this.chatStore.chatBlocks[this.token])return void console.debug("Ignoring handleScroll as the messages history is empty");if(this.isInitialisingMessages)return void console.debug("Ignore handleScroll as we are initialising the message history");if(this.isFocusingMessage)return void console.debug("Ignore handleScroll as we are programmatically scrolling to focus a message");let{scrollHeight:t,scrollTop:i,clientHeight:n}=this.$refs.scroller,r=Math.abs(t-i-n);if(r0){this.setChatScrolledToBottom(!0),this.debounceUpdateReadMarkerPosition();return}if(r>=erl&&this.setChatScrolledToBottom(!1),t>n&&in&&r=0);)i=t,t=document.getElementById("message_"+t.getAttribute("data-next-message-id"));return i},refreshReadMarkerPosition(){this.conversation&&(console.debug("setVisualLastReadMessageId token="+this.token+" id="+this.conversation.lastReadMessage),this.$store.dispatch("setVisualLastReadMessageId",{token:this.token,id:this.conversation.lastReadMessage}))},getVisualLastReadMessageElement(){let e=document.getElementById("message_"+this.visualLastReadMessageId);return e&&(null===(e=e.closest(".message"))||null===e.offsetParent)&&((e=document.querySelector(".message-unread-marker"))?e=e.closest(".message"):console.warn("Visual last read message element not found")),e},updateReadMarkerPosition(){if(!this.conversation)return;if(0===this.conversation.lastReadMessage){console.debug("clearLastReadMessage because lastReadMessage was 0 token="+this.token),this.$store.dispatch("clearLastReadMessage",{token:this.token,updateVisually:!0});return}if(this.conversation.lastReadMessage===this.conversation.lastMessage?.id)return;let e=this.getVisualLastReadMessageElement();if(this.isSticky&&this.isChatEndReached){console.debug("clearLastReadMessage because of isSticky token="+this.token),this.$store.dispatch("clearLastReadMessage",{token:this.token});return}if(!this.isUnreadMarkerSeen||e&&this.$refs.scroller&&e.offsetTop-this.$refs.scroller.scrollTop>0)return;let t=this.findFirstVisibleMessage(e);if(!t)return void console.warn("First visible message not found: ",t);let i=parseInt(t.getAttribute("data-message-id"),10);i<=this.conversation.lastReadMessage||(console.debug("updateLastReadMessage token="+this.token+" messageId="+i),this.$store.dispatch("updateLastReadMessage",{token:this.token,id:i,updateVisually:!1}))},scrollToBottom(e={}){this.$nextTick(()=>{let t;if(this.$refs.scroller&&!this.isFocusingMessage){if(e?.force)t=this.$refs.scroller.scrollHeight,this.setChatScrolledToBottom(!0);else if(!this.isSticky)return;else if(this.isChatVisible)t=this.$refs.scroller.scrollHeight,this.setChatScrolledToBottom(!0);else{let e=this.$refs.scroller.scrollHeight-this.$refs.scroller.scrollTop-this.$refs.scroller.offsetHeight<40?10:40;t=this.$refs.scroller.scrollTop+e,this.setChatScrolledToBottom(!1)}e?.smooth&&this.$refs.scroller.scrollTop{if(t){let e=r.getBoundingClientRect().top-this.$refs.scrollerLoader.getBoundingClientRect().top;this.$refs.scroller.scrollTop>e&&this.$refs.scroller.scrollTo({top:Math.max(eru,e),behavior:"instant"})}r.scrollIntoView({behavior:t?"smooth":"auto",block:"center",inline:"nearest"})}),this.$refs.scroller&&!t&&(this.$refs.scroller.scrollTop+=this.$refs.scroller.offsetHeight/4),this.checkChatNotScrollable(),i&&r===n&&(n.classList.add("message--highlighted"),setTimeout(()=>{n?.classList.remove("message--highlighted")},5e3)),this.isFocusingMessage=!1,!0},setChatScrolledToBottom(e,{auto:t=!1}={}){let i=e;t&&(i=Math.abs(this.$refs.scroller.scrollHeight-this.$refs.scroller.scrollTop-this.$refs.scroller.clientHeight){this.refreshReadMarkerPosition()},2)},updateTasksCount(){if(!this.$refs.scroller)return;let e=this.$refs.scroller.querySelectorAll(".checkbox-content__icon--checked")?.length,t=this.$refs.scroller.querySelectorAll(".task-list-item")?.length;this.chatExtrasStore.setTasksCounters({tasksCount:t,tasksDoneCount:e})},checkChatNotScrollable(){if(this.isInitialisingMessages)return;let e=!!this.$refs.scroller&&this.$refs.scroller.clientHeight===this.$refs.scroller.scrollHeight;return e&&!this.isChatScrolledToBottom&&this.setChatScrolledToBottom(!0),e},handleWheelEvent(e){if(e.deltaY<0){if(this.isChatBeginningReached)return void this.$refs.scroller.removeEventListener("wheel",this.handleWheelEvent);this.isScrolling="up",this.debounceHandleScroll({skipHeightCheck:!0})}else if(e.deltaY>0){if(this.isChatEndReached)return void this.$refs.scroller.removeEventListener("wheel",this.handleWheelEvent);this.isScrolling="down",this.debounceHandleScroll({skipHeightCheck:!0})}},isLastReadMessage(e){if(!e.nextMessageId)return!1;let t=e.messages.at(-1);return!(this.conversation.lastMessage&&t.id>=this.conversation.lastMessage?.id)&&t.id===this.visualLastReadMessageId},lastReadMessageVisibilityChanged([{isIntersecting:e}]){e&&(this.isUnreadMarkerSeen=!0)},async generateSummary(){this.loadingSummary=!0,await this.chatExtrasStore.requestChatSummary(this.token,this.visualLastReadMessageId),this.loadingSummary=!1}}},erm=(0,to.default)(erf,[["render",L6],["__scopeId","data-v-aff29746"]]),erg={class:"new-message-form__input"},erp={class:"new-message-form__emoji-picker"},er_={key:2,class:"new-message-form__quote"};function erv(e,t,i,n,r,a){let s=(0,z.g2)("NewMessageTypingIndicator"),o=(0,z.g2)("NewMessageAttachments"),l=(0,z.g2)("NewMessageAbsenceInfo"),u=(0,z.g2)("NewMessageChatSummary"),d=(0,z.g2)("IconEmoticonOutline"),c=(0,z.g2)("NcButton"),h=(0,z.g2)("NcEmojiPicker"),f=(0,z.g2)("MessageQuote"),m=(0,z.g2)("IconClose"),g=(0,z.g2)("NcNoteCard"),p=(0,z.g2)("NcTextField"),_=(0,z.g2)("NcRichContenteditable"),b=(0,z.g2)("IconBellOffOutline"),y=(0,z.g2)("IconClockOutline"),F=(0,z.g2)("NcActionButton"),k=(0,z.g2)("IconArrowLeft"),w=(0,z.g2)("NcActionSeparator"),C=(0,z.g2)("IconCalendarClockOutline"),A=(0,z.g2)("NcActionInput"),E=(0,z.g2)("IconCheck"),S=(0,z.g2)("NcActions"),x=(0,z.g2)("NewMessageAudioRecorder"),D=(0,z.g2)("NcLoadingIcon"),T=(0,z.g2)("IconSendVariantClockOutline"),M=(0,z.g2)("IconForumOutline"),I=(0,z.g2)("IconSend"),B=(0,z.g2)("NewMessageNewFileDialog");return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["wrapper",{"wrapper--narrow":n.isSidebar}])},[a.showTypingStatus?((0,z.uX)(),(0,z.Wv)(s,{key:0,token:i.token},null,8,["token"])):(0,z.Q3)("",!0),(0,z.Lk)("input",{id:"file-upload",ref:"fileUploadInput",multiple:"",type:"file",tabindex:"-1","aria-hidden":"true",class:"hidden-visually",onChange:t[0]||(t[0]=(...e)=>a.handleFileInput&&a.handleFileInput(...e))},null,544),(0,z.Lk)("form",{class:"new-message-form",onSubmit:t[11]||(t[11]=(0,z.D$)(()=>{},["prevent"]))},[a.showAttachmentsMenu?((0,z.uX)(),(0,z.Wv)(o,{key:0,class:"new-message-form__attachments",token:i.token,disabled:a.disabled,canUploadFiles:a.canUploadFiles,canShareFiles:a.canShareFiles,canCreatePoll:a.canCreatePoll,canCreateThread:a.canCreateThread,onOpenFileUpload:a.openFileUploadWindow,onCreateThread:a.setCreateThread,onHandleFileShare:a.showFilePicker,onUpdateNewFileDialog:a.updateNewFileDialog},null,8,["token","disabled","canUploadFiles","canShareFiles","canCreatePoll","canCreateThread","onOpenFileUpload","onCreateThread","onHandleFileShare","onUpdateNewFileDialog"])):(0,z.Q3)("",!0),(0,z.Lk)("div",erg,[!i.dialog&&a.userAbsence?((0,z.uX)(),(0,z.Wv)(l,{key:0,class:"new-message-form__note-content",userAbsence:a.userAbsence,displayName:a.conversation.displayName},null,8,["userAbsence","displayName"])):(0,z.Q3)("",!0),!i.dialog&&a.showChatSummary?((0,z.uX)(),(0,z.Wv)(u,{key:1,class:"new-message-form__note-content"})):(0,z.Q3)("",!0),(0,z.Lk)("div",erp,[a.disabled?((0,z.uX)(),(0,z.Wv)(c,{key:1,variant:"tertiary","aria-label":a.t("spreed","Add emoji"),disabled:!0},{icon:(0,z.k6)(()=>[(0,z.bF)(d,{size:20})]),_:1},8,["aria-label"])):((0,z.uX)(),(0,z.Wv)(h,{key:0,keepOpen:"",setReturnFocus:a.getContenteditable,onSelect:a.addEmoji},{default:(0,z.k6)(()=>[(0,z.bF)(c,{disabled:a.disabled,variant:"tertiary","aria-label":a.t("spreed","Add emoji"),"aria-haspopup":!0},{icon:(0,z.k6)(()=>[(0,z.bF)(d,{size:20})]),_:1},8,["disabled","aria-label"])]),_:1},8,["setReturnFocus","onSelect"]))]),a.parentMessage||a.messageToEdit?((0,z.uX)(),(0,z.CE)("div",er_,[(0,z.bF)(f,{message:a.messageToEdit??a.parentMessage,canCancel:!!a.parentMessage,editMessage:!!a.messageToEdit},null,8,["message","canCancel","editMessage"])])):(0,z.Q3)("",!0),a.scheduleMessageTime?((0,z.uX)(),(0,z.Wv)(g,{key:3,class:"new-message-form__hint new-message-form__hint--scheduled",type:"info"},{default:(0,z.k6)(()=>[(0,z.Lk)("p",null,(0,z.v_)(a.scheduleMessageHint),1),(0,z.bF)(c,{variant:"tertiary",size:"small","aria-label":a.t("spreed","Cancel"),title:a.t("spreed","Cancel"),onClick:a.handleAbortEdit},{icon:(0,z.k6)(()=>[(0,z.bF)(m,{size:16})]),_:1},8,["aria-label","title","onClick"])]),_:1})):(0,z.Q3)("",!0),a.showMentionEditHint?((0,z.uX)(),(0,z.Wv)(g,{key:4,class:"new-message-form__hint",type:"warning",text:a.t("spreed","Adding a mention will only notify users who did not read the message.")},null,8,["text"])):(0,z.Q3)("",!0),a.threadCreating?((0,z.uX)(),(0,z.Wv)(p,{key:5,ref:"threadTitleInputRef",modelValue:a.threadTitle,"onUpdate:modelValue":t[1]||(t[1]=e=>a.threadTitle=e),class:"new-message-form__thread-title",label:a.t("spreed","Thread title"),disabled:a.disabled,error:!!r.errorTitle,title:r.errorTitle,showTrailingButton:"",onTrailingButtonClick:t[2]||(t[2]=e=>a.setCreateThread(!1))},null,8,["modelValue","label","disabled","error","title"])):(0,z.Q3)("",!0),((0,z.uX)(),(0,z.Wv)(_,{ref:"richContenteditable",key:i.container,modelValue:r.text,"onUpdate:modelValue":[t[3]||(t[3]=e=>r.text=e),a.handleTyping],class:(0,z.C4)({"new-message-form__input-rich--required":r.errorMessage}),title:r.errorMessage,autoComplete:n.autoComplete,disabled:a.disabled,userData:n.userData,menuContainer:a.containerElement,placeholder:a.placeholderText,"aria-label":a.placeholderText,dir:r.text?"auto":void 0,onKeydown:[(0,z.jR)(a.handleInputEsc,["esc"]),(0,z.jR)((0,z.D$)(a.handleEditLastMessage,["ctrl"]),["up"]),(0,z.jR)((0,z.D$)(a.handleEditLastMessage,["meta"]),["up"])],onPaste:a.handlePastedFiles,onFocus:a.restoreSelectionRange,onBlur:a.preserveSelectionRange,onSubmit:a.handleSubmit},null,8,["modelValue","class","title","autoComplete","disabled","userData","menuContainer","placeholder","aria-label","dir","onKeydown","onUpdate:modelValue","onPaste","onFocus","onBlur","onSubmit"]))]),a.showSendActions?((0,z.uX)(),(0,z.Wv)(S,{key:1,disabled:a.disabled,forceMenu:"",primary:r.silentChat,open:r.isNcActionsOpen,onClose:t[9]||(t[9]=e=>{r.submenu=null,r.isNcActionsOpen=!1})},{icon:(0,z.k6)(()=>[r.silentChat?((0,z.uX)(),(0,z.Wv)(b,{key:0,size:20})):(0,z.Q3)("",!0)]),default:(0,z.k6)(()=>[null===r.submenu?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[n.supportScheduleMessages&&!i.dialog?((0,z.uX)(),(0,z.Wv)(F,{key:"action-schedule",isMenu:"",onClick:t[4]||(t[4]=(0,z.D$)(e=>r.submenu="schedule",["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(y,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Send later")),1)]),_:1})):(0,z.Q3)("",!0),n.isSidebar&&a.showScheduledMessagesToggle?((0,z.uX)(),(0,z.Wv)(F,{key:1,type:"checkbox",modelValue:a.showScheduledMessages,closeAfterClick:"",onClick:t[5]||(t[5]=e=>n.chatExtrasStore.setShowScheduledMessages(!a.showScheduledMessages))},{icon:(0,z.k6)(()=>[(0,z.bF)(y,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Show scheduled messages")),1)]),_:1},8,["modelValue"])):(0,z.Q3)("",!0),(0,z.bF)(F,{key:"silent-send",closeAfterClick:"",modelValue:r.silentChat,description:a.silentSendInfo,onClick:a.toggleSilentChat},{icon:(0,z.k6)(()=>[(0,z.bF)(b,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.silentSendLabel)+" ",1)]),_:1},8,["modelValue","description","onClick"])],64)):"schedule"===r.submenu?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(F,{key:"action-back","aria-label":a.t("spreed","Back"),onClick:t[6]||(t[6]=(0,z.D$)(e=>r.submenu=null,["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(k,{class:"bidirectional-icon"})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Back")),1)]),_:1},8,["aria-label"]),(0,z.bF)(w),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.getCustomDateOptions(),e=>((0,z.uX)(),(0,z.Wv)(F,{key:e.key,"aria-label":e.ariaLabel,closeAfterClick:"",onClick:(0,z.D$)(t=>n.chatExtrasStore.setScheduleMessageTime(e.timestamp),["stop"])},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e.label),1)]),_:2},1032,["aria-label","onClick"]))),128)),(0,z.bF)(A,{modelValue:r.customScheduleTimestamp,"onUpdate:modelValue":t[7]||(t[7]=e=>r.customScheduleTimestamp=e),type:"datetime-local",min:new Date,label:a.t("spreed","Choose a time"),step:300,isNativePicker:""},{icon:(0,z.k6)(()=>[(0,z.bF)(C,{size:20})]),_:1},8,["modelValue","min","label"]),(0,z.bF)(F,{key:"custom-time-submit",disabled:!r.customScheduleTimestamp,closeAfterClick:"",onClick:t[8]||(t[8]=(0,z.D$)(e=>n.chatExtrasStore.setScheduleMessageTime(r.customScheduleTimestamp.valueOf()),["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(E,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Send at custom time")),1)]),_:1},8,["disabled"])],64)):(0,z.Q3)("",!0)]),_:1},8,["disabled","primary","open"])):(0,z.Q3)("",!0),!n.isSidebar&&a.showScheduledMessagesToggle?((0,z.uX)(),(0,z.Wv)(c,{key:2,variant:a.showScheduledMessagesToggleVariant,title:a.t("spreed","Show scheduled messages"),onClick:t[10]||(t[10]=e=>n.chatExtrasStore.setShowScheduledMessages(!a.showScheduledMessages))},{icon:(0,z.k6)(()=>[(0,z.bF)(y,{size:20})]),_:1},8,["variant","title"])):(0,z.Q3)("",!0),a.showAudioRecorder?((0,z.uX)(),(0,z.Wv)(x,{key:3,disabled:a.disabled,onRecording:a.handleRecording,onAudioFile:a.handleAudioFile},null,8,["disabled","onRecording","onAudioFile"])):a.messageToEdit?((0,z.uX)(),(0,z.CE)(z.FK,{key:4},[(0,z.bF)(c,{variant:"tertiary",type:"submit",title:a.t("spreed","Cancel editing"),"aria-label":a.t("spreed","Cancel editing"),onClick:a.handleAbortEdit},{icon:(0,z.k6)(()=>[(0,z.bF)(m,{size:20})]),_:1},8,["title","aria-label","onClick"]),(0,z.bF)(c,{disabled:a.disabledEdit,variant:"tertiary",type:"submit",title:a.t("spreed","Edit message"),"aria-label":a.t("spreed","Edit message"),onClick:a.handleEdit},{icon:(0,z.k6)(()=>[(0,z.bF)(E,{size:20})]),_:1},8,["disabled","title","aria-label","onClick"])],64)):((0,z.uX)(),(0,z.CE)(z.FK,{key:5},[n.supportScheduleMessages&&a.scheduleMessageTime?((0,z.uX)(),(0,z.Wv)(c,{key:0,disabled:a.disabled||!r.text||r.isScheduling,variant:"tertiary",type:"submit",title:a.t("spreed","Schedule message"),"aria-label":a.t("spreed","Schedule message"),onClick:a.handleSubmit},{icon:(0,z.k6)(()=>[r.isScheduling?((0,z.uX)(),(0,z.Wv)(D,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(T,{key:1,size:20}))]),_:1},8,["disabled","title","aria-label","onClick"])):((0,z.uX)(),(0,z.Wv)(c,{key:1,disabled:a.disabled,variant:"tertiary",type:"submit",title:a.sendMessageLabel,"aria-label":a.sendMessageLabel,onClick:a.handleSubmit},{icon:(0,z.k6)(()=>[a.threadCreating?((0,z.uX)(),(0,z.Wv)(M,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(I,{key:1,class:"bidirectional-icon",size:20}))]),_:1},8,["disabled","title","aria-label","onClick"]))],64))],32),-1!==r.showNewFileDialog?((0,z.uX)(),(0,z.Wv)(B,{key:1,token:i.token,showNewFileDialog:r.showNewFileDialog,onDismiss:t[12]||(t[12]=e=>r.showNewFileDialog=-1)},null,8,["token","showNewFileDialog"])):(0,z.Q3)("",!0)],2)}var erb=__webpack_require__(53094);if(Array.prototype.find||(Array.prototype.find=function(e){if(this===null)throw TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw TypeError("predicate must be a function");for(var t,i=Object(this),n=i.length>>>0,r=arguments[1],a=0;a{n.key===t.keyCode&&(e.commandEvent=!0,e.callbacks()[n.value.toLowerCase()](t,i))})}input(e,t){e.inputEvent=!0,e.keyup.call(this,e,t)}click(e,t){let i=e.tribute;if(i.menu&&i.menu.contains(t.target)){let e=t.target;for(t.preventDefault(),t.stopPropagation();"li"!==e.nodeName.toLowerCase();)if(!(e=e.parentNode)||e===i.menu)throw Error("cannot find the
  • container for the click");i.selectItemAtIndex(e.getAttribute("data-index"),t),i.hideMenu()}else i.current.element&&!i.current.externalTrigger&&(i.current.externalTrigger=!1,setTimeout(()=>i.hideMenu()))}keyup(e,t){if(e.inputEvent&&(e.inputEvent=!1),e.updateSelection(this),27!==t.keyCode){if(!e.tribute.allowSpaces&&e.tribute.hasTrailingSpace){e.tribute.hasTrailingSpace=!1,e.commandEvent=!0,e.callbacks().space(t,this);return}if(!e.tribute.isActive)if(e.tribute.autocompleteMode)e.callbacks().triggerChar(t,this,"");else{let i=e.getKeyCode(e,this,t);if(isNaN(i)||!i)return;let n=e.tribute.triggers().find(e=>e.charCodeAt(0)===i);void 0!==n&&e.callbacks().triggerChar(t,this,n)}!(e.tribute.current.mentionText.length{e.keyCode===i.key&&(t=!0)}),!t}return!1}getKeyCode(e,t,i){let n=e.tribute,r=n.range.getTriggerInfo(!1,n.hasTrailingSpace,!0,n.allowSpaces,n.autocompleteMode);return!!r&&r.mentionTriggerChar.charCodeAt(0)}updateSelection(e){this.tribute.current.element=e;let t=this.tribute.range.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);t&&(this.tribute.current.selectedPath=t.mentionSelectedPath,this.tribute.current.mentionText=t.mentionText,this.tribute.current.selectedOffset=t.mentionSelectedOffset)}callbacks(){return{triggerChar:(e,t,i)=>{let n=this.tribute;n.current.trigger=i;let r=n.collection.find(e=>e.trigger===i);n.current.collection=r,n.current.mentionText.length>=n.current.collection.menuShowMinLength&&n.inputEvent&&n.showMenuFor(t,!0)},enter:(e,t)=>{this.tribute.isActive&&this.tribute.current.filteredItems&&(e.preventDefault(),e.stopPropagation(),setTimeout(()=>{this.tribute.selectItemAtIndex(this.tribute.menuSelected,e),this.tribute.hideMenu()},0))},escape:(e,t)=>{this.tribute.isActive&&(e.preventDefault(),e.stopPropagation(),this.tribute.isActive=!1,this.tribute.hideMenu())},tab:(e,t)=>{this.callbacks().enter(e,t)},space:(e,t)=>{this.tribute.isActive&&(this.tribute.spaceSelectsMatch?this.callbacks().enter(e,t):this.tribute.allowSpaces||(e.stopPropagation(),setTimeout(()=>{this.tribute.hideMenu(),this.tribute.isActive=!1},0)))},up:(e,t)=>{if(this.tribute.isActive&&this.tribute.current.filteredItems){e.preventDefault(),e.stopPropagation();let t=this.tribute.current.filteredItems.length,i=this.tribute.menuSelected;t>i&&i>0?(this.tribute.menuSelected--,this.setActiveLi()):0===i&&(this.tribute.menuSelected=t-1,this.setActiveLi(),this.tribute.menu.scrollTop=this.tribute.menu.scrollHeight)}},down:(e,t)=>{if(this.tribute.isActive&&this.tribute.current.filteredItems){e.preventDefault(),e.stopPropagation();let t=this.tribute.current.filteredItems.length-1,i=this.tribute.menuSelected;t>i?(this.tribute.menuSelected++,this.setActiveLi()):t===i&&(this.tribute.menuSelected=0,this.setActiveLi(),this.tribute.menu.scrollTop=0)}},delete:(e,t)=>{this.tribute.isActive&&this.tribute.current.mentionText.length<1?this.tribute.hideMenu():this.tribute.isActive&&this.tribute.showMenuFor(t)}}}setActiveLi(e){let t=this.tribute.menu.querySelectorAll("li"),i=t.length>>>0;e&&(this.tribute.menuSelected=parseInt(e));for(let e=0;et.bottom){let i=e.bottom-t.bottom;this.tribute.menu.scrollTop+=i}else if(e.top{this.tribute.isActive&&this.tribute.showMenuFor(this.tribute.current.element,!1)},300,!1),this.windowResizeEvent=this.debounce(()=>{this.tribute.isActive&&this.tribute.range.positionMenuAtCaret(!0)},300,!1),this.tribute.range.getDocument().addEventListener("MSPointerDown",this.menuClickEvent,!1),this.tribute.range.getDocument().addEventListener("mousedown",this.menuClickEvent,!1),window.addEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.addEventListener("scroll",this.menuContainerScrollEvent,!1):window.addEventListener("scroll",this.menuContainerScrollEvent)}unbind(e){this.tribute.range.getDocument().removeEventListener("mousedown",this.menuClickEvent,!1),this.tribute.range.getDocument().removeEventListener("MSPointerDown",this.menuClickEvent,!1),window.removeEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.removeEventListener("scroll",this.menuContainerScrollEvent,!1):window.removeEventListener("scroll",this.menuContainerScrollEvent)}debounce(e,t,i){var n;return()=>{var r=this,a=arguments,s=()=>{n=null,i||e.apply(r,a)},o=i&&!n;clearTimeout(n),n=setTimeout(s,t),o&&e.apply(r,a)}}}class erw{constructor(e){this.tribute=e,this.tribute.range=this}getDocument(){let e;return(this.tribute.current.collection&&(e=this.tribute.current.collection.iframe),e)?e.contentWindow.document:document}positionMenuAtCaret(e){let t=this.tribute.current,i,n=this.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==n){if(!this.tribute.positionMenu){this.tribute.menu.style.cssText="display: block;";return}i=this.isContentEditable(t.element)?this.getContentEditableCaretPosition(n.mentionPosition):this.getTextAreaOrInputUnderlinePosition(this.tribute.current.element,n.mentionPosition),this.tribute.menu.style.cssText=`top: ${i.top}px; left: ${i.left}px; right: ${i.right}px; bottom: ${i.bottom}px; position: absolute; display: block;`,"auto"===i.left&&(this.tribute.menu.style.left="auto"),"auto"===i.top&&(this.tribute.menu.style.top="auto"),e&&this.scrollIntoView(),window.setTimeout(()=>{let t={width:this.tribute.menu.offsetWidth,height:this.tribute.menu.offsetHeight},n=this.isMenuOffScreen(i,t),r=window.innerWidth>t.width&&(n.left||n.right),a=window.innerHeight>t.height&&(n.top||n.bottom);(r||a)&&(this.tribute.menu.style.cssText="display: none",this.positionMenuAtCaret(e))},0)}else this.tribute.menu.style.cssText="display: none"}get menuContainerIsBody(){return this.tribute.menuContainer===document.body||!this.tribute.menuContainer}selectElement(e,t,i){let n,r=e;if(t)for(var a=0;a=0&&(t=i.substring(0,n))}}else{let e=this.tribute.current.element;if(e){let i=e.selectionStart;e.value&&i>=0&&(t=e.value.substring(0,i))}}return t}getLastWordInText(e){let t=(e=e.replace(/\u00A0/g," ")).split(/\s+/),i=t.length-1;return t[i].trim()}getTriggerInfo(e,t,i,n,r){let a,s,o,l=this.tribute.current;if(this.isContentEditable(l.element)){let e=this.getContentEditableSelectedPath(l);e&&(a=e.selected,s=e.path,o=e.offset)}else a=this.tribute.current.element;let u=this.getTextPrecedingCurrentSelection(),d=this.getLastWordInText(u);if(r)return{mentionPosition:u.length-d.length,mentionText:d,mentionSelectedElement:a,mentionSelectedPath:s,mentionSelectedOffset:o};if(null!=u){let r,l=-1;if(this.tribute.collection.forEach(e=>{let t=e.trigger,n=e.requireLeadingSpace?this.lastIndexWithLeadingSpace(u,t):u.lastIndexOf(t);n>l&&(l=n,r=t,i=e.requireLeadingSpace)}),l>=0&&(0===l||!i||/[\xA0\s]/g.test(u.substring(l-1,l)))){let i=u.substring(l+r.length,u.length);r=u.substring(l,l+r.length);let d=i.substring(0,1),c=i.length>0&&(" "===d||"\xa0"===d);t&&(i=i.trim());let h=n?/[^\S ]/g:/[\xA0\s]/g;if(this.tribute.hasTrailingSpace=h.test(i),!c&&(e||!h.test(i)))return{mentionPosition:l,mentionText:i,mentionSelectedElement:a,mentionSelectedPath:s,mentionSelectedOffset:o,mentionTriggerChar:r}}}}lastIndexWithLeadingSpace(e,t){let i=e.split("").reverse().join(""),n=-1;for(let r=0,a=e.length;r=0;e--)if(t[e]!==i[r-e]){o=!1;break}if(o&&(a||s)){n=e.length-1-r;break}}return n}isContentEditable(e){return"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName}isMenuOffScreen(e,t){let i=window.innerWidth,n=window.innerHeight,r=document.documentElement,a=(window.pageXOffset||r.scrollLeft)-(r.clientLeft||0),s=(window.pageYOffset||r.scrollTop)-(r.clientTop||0),o="number"==typeof e.top?e.top:s+n-e.bottom-t.height,l="number"==typeof e.right?e.right:e.left+t.width,u="number"==typeof e.bottom?e.bottom:e.top+t.height,d="number"==typeof e.left?e.left:a+i-e.right-t.width;return{top:oMath.ceil(a+i),bottom:u>Math.ceil(s+n),left:d{s[e]=o[e]}),r?(s.width=`${parseInt(o.width)-2}px`,e.scrollHeight>parseInt(o.height)&&(s.overflowY="scroll")):s.overflow="hidden",a.textContent=e.value.substring(0,t),"INPUT"===e.nodeName&&(a.textContent=a.textContent.replace(/\s/g,"\xa0"));let l=this.getDocument().createElement("span");l.textContent=e.value.substring(t)||".",a.appendChild(l);let u=e.getBoundingClientRect(),d=document.documentElement,c=(window.pageXOffset||d.scrollLeft)-(d.clientLeft||0),h=(window.pageYOffset||d.scrollTop)-(d.clientTop||0),f=0,m=0;this.menuContainerIsBody&&(f=u.top,m=u.left);let g={top:f+h+l.offsetTop+parseInt(o.borderTopWidth)+parseInt(o.fontSize)-e.scrollTop,left:m+c+l.offsetLeft+parseInt(o.borderLeftWidth)},p=window.innerWidth,_=window.innerHeight,b=this.getMenuDimensions(),y=this.isMenuOffScreen(g,b);y.right&&(g.right=p-g.left,g.left="auto");let F=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;return y.bottom&&(g.bottom=F-(_-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top)+(_-u.top-l.offsetTop),g.top="auto"),(y=this.isMenuOffScreen(g,b)).left&&(g.left=p>b.width?c+p-b.width:c,delete g.right),y.top&&(g.top=_>b.height?h+_-b.height:h,delete g.bottom),this.getDocument().body.removeChild(a),g}getContentEditableCaretPosition(e){let t,i=this.getWindowSelection();(t=this.getDocument().createRange()).setStart(i.anchorNode,e),t.setEnd(i.anchorNode,e),t.collapse(!1);let n=t.getBoundingClientRect(),r=document.documentElement,a=(window.pageXOffset||r.scrollLeft)-(r.clientLeft||0),s=(window.pageYOffset||r.scrollTop)-(r.clientTop||0),o={left:n.left+a,top:n.top+n.height+s},l=window.innerWidth,u=window.innerHeight,d=this.getMenuDimensions(),c=this.isMenuOffScreen(o,d);c.right&&(o.left="auto",o.right=l-n.left-a);let h=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(c.bottom){let e=h-(u-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);o.top="auto",o.bottom=e+(u-n.top)}return(c=this.isMenuOffScreen(o,d)).left&&(o.left=l>d.width?a+l-d.width:a,delete o.right),c.top&&(o.top=u>d.height?s+u-d.height:s,delete o.bottom),this.menuContainerIsBody||(o.left=o.left?o.left-this.tribute.menuContainer.offsetLeft:o.left,o.top=o.top?o.top-this.tribute.menuContainer.offsetTop:o.top),o}scrollIntoView(e){let t=20,i,n=100,r=this.menu;if(void 0===r)return;for(;void 0===i||0===i.height;)if(0===(i=r.getBoundingClientRect()).height&&(void 0===(r=r.childNodes[0])||!r.getBoundingClientRect))return;let a=i.top,s=a+i.height;if(a<0)window.scrollTo(0,window.pageYOffset+i.top-t);else if(s>window.innerHeight){let e=window.pageYOffset+i.top-t;e-window.pageYOffset>n&&(e=window.pageYOffset+n);let r=window.pageYOffset-(window.innerHeight-s);r>e&&(r=e),window.scrollTo(0,r)}}}class erC{constructor(e){this.tribute=e,this.tribute.search=this}simpleFilter(e,t){return t.filter(t=>this.test(e,t))}test(e,t){return null!==this.match(e,t)}match(e,t,i){i=i||{},t.length;let n=i.pre||"",r=i.post||"",a=i.caseSensitive&&t||t.toLowerCase();if(i.skip)return{rendered:t,score:0};e=i.caseSensitive&&e||e.toLowerCase();let s=this.traverse(a,e,0,0,[]);return s?{rendered:this.render(t,s.cache,n,r),score:s.score}:null}traverse(e,t,i,n,r){let a,s;if(t.length===n)return{score:this.calculateScore(r),cache:r.slice()};if(e.length===i||t.length-n>e.length-i)return;let o=t[n],l=e.indexOf(o,i);for(;l>-1&&(r.push(l),s=this.traverse(e,t,l+1,n+1,r),r.pop(),s);)(!a||a.score{r>0&&(e[r-1]+1===n?i+=i+1:i=1),t+=i}),t}render(e,t,i,n){var r=e.substring(0,t[0]);return t.forEach((a,s)=>{r+=i+e[a]+n+e.substring(a+1,t[s+1]?t[s+1]:e.length)}),r}filter(e,t,i){return i=i||{},t.reduce((t,n,r,a)=>{let s=n;i.extract&&((s=i.extract(n))||(s=""));let o=this.match(e,s,i);return null!=o&&(t[t.length]={string:o.rendered,score:o.score,index:r,original:n}),t},[]).sort((e,t)=>{let i=t.score-e.score;return i||e.index-t.index})}}class erA{constructor({values:e=null,iframe:t=null,selectClass:i="highlight",containerClass:n="tribute-container",itemClass:r="",trigger:a="@",autocompleteMode:s=!1,selectTemplate:o=null,menuItemTemplate:l=null,lookup:u="key",fillAttr:d="value",collection:c=null,menuContainer:h=null,noMatchTemplate:f=null,requireLeadingSpace:m=!0,allowSpaces:g=!1,replaceTextSuffix:p=null,positionMenu:_=!0,spaceSelectsMatch:b=!1,searchOpts:y={},menuItemLimit:F=null,menuShowMinLength:k=0}){if(this.autocompleteMode=s,this.menuSelected=0,this.current={},this.inputEvent=!1,this.isActive=!1,this.menuContainer=h,this.allowSpaces=g,this.replaceTextSuffix=p,this.positionMenu=_,this.hasTrailingSpace=!1,this.spaceSelectsMatch=b,this.autocompleteMode&&(a="",g=!1),e)this.collection=[{trigger:a,iframe:t,selectClass:i,containerClass:n,itemClass:r,selectTemplate:(o||erA.defaultSelectTemplate).bind(this),menuItemTemplate:(l||erA.defaultMenuItemTemplate).bind(this),noMatchTemplate:(e=>"string"==typeof e?""===e.trim()?null:e:"function"==typeof e?e.bind(this):f||(function(){return"
  • No Match Found!
  • "}).bind(this))(f),lookup:u,fillAttr:d,values:e,requireLeadingSpace:m,searchOpts:y,menuItemLimit:F,menuShowMinLength:k}];else if(c)this.autocompleteMode&&console.warn("Tribute in autocomplete mode does not work for collections"),this.collection=c.map(e=>({trigger:e.trigger||a,iframe:e.iframe||t,selectClass:e.selectClass||i,containerClass:e.containerClass||n,itemClass:e.itemClass||r,selectTemplate:(e.selectTemplate||erA.defaultSelectTemplate).bind(this),menuItemTemplate:(e.menuItemTemplate||erA.defaultMenuItemTemplate).bind(this),noMatchTemplate:(e=>"string"==typeof e?""===e.trim()?null:e:"function"==typeof e?e.bind(this):f||(function(){return"
  • No Match Found!
  • "}).bind(this))(f),lookup:e.lookup||u,fillAttr:e.fillAttr||d,values:e.values,requireLeadingSpace:e.requireLeadingSpace,searchOpts:e.searchOpts||y,menuItemLimit:e.menuItemLimit||F,menuShowMinLength:e.menuShowMinLength||k}));else throw Error("[Tribute] No collection specified.");new erw(this),new erF(this),new erk(this),new erC(this)}get isActive(){return this._isActive}set isActive(e){if(this._isActive!=e&&(this._isActive=e,this.current.element)){let t=new CustomEvent(`tribute-active-${e}`);this.current.element.dispatchEvent(t)}}static defaultSelectTemplate(e){return void 0===e?`${this.current.collection.trigger}${this.current.mentionText}`:this.range.isContentEditable(this.current.element)?''+(this.current.collection.trigger+e.original[this.current.collection.fillAttr])+"":this.current.collection.trigger+e.original[this.current.collection.fillAttr]}static defaultMenuItemTemplate(e){return e.string}static inputTypes(){return["TEXTAREA","INPUT"]}triggers(){return this.collection.map(e=>e.trigger)}attach(e){if(!e)throw Error("[Tribute] Must pass in a DOM node or NodeList.");if("u">typeof jQuery&&e instanceof jQuery&&(e=e.get()),e.constructor===NodeList||e.constructor===HTMLCollection||e.constructor===Array){let i=e.length;for(var t=0;t{if(!this.isActive)return;let i=this.search.filter(this.current.mentionText,e,{pre:this.current.collection.searchOpts.pre||"",post:this.current.collection.searchOpts.post||"",skip:this.current.collection.searchOpts.skip,extract:e=>{if("string"==typeof this.current.collection.lookup)return e[this.current.collection.lookup];if("function"==typeof this.current.collection.lookup)return this.current.collection.lookup(e,this.current.mentionText);throw Error("Invalid lookup attribute, lookup must be string or function.")}});this.current.collection.menuItemLimit&&(i=i.slice(0,this.current.collection.menuItemLimit)),this.current.filteredItems=i;let n=this.menu.querySelector("ul");if(this.range.positionMenuAtCaret(t),!i.length){let e=new CustomEvent("tribute-no-match",{detail:this.menu});this.current.element.dispatchEvent(e),("function"!=typeof this.current.collection.noMatchTemplate||this.current.collection.noMatchTemplate())&&this.current.collection.noMatchTemplate?"function"==typeof this.current.collection.noMatchTemplate?n.innerHTML=this.current.collection.noMatchTemplate():n.innerHTML=this.current.collection.noMatchTemplate:this.hideMenu();return}n.innerHTML="";let r=this.range.getDocument().createDocumentFragment();i.forEach((e,t)=>{let i=this.range.getDocument().createElement("li");i.setAttribute("data-index",t),i.className=this.current.collection.itemClass,i.addEventListener("mousemove",e=>{let[t,i]=this._findLiTarget(e.target);0!==e.movementY&&this.events.setActiveLi(i)}),this.menuSelected===t&&i.classList.add(this.current.collection.selectClass),i.innerHTML=this.current.collection.menuItemTemplate(e),r.appendChild(i)}),n.appendChild(r)};"function"==typeof this.current.collection.values?this.current.collection.values(this.current.mentionText,i):i(this.current.collection.values)}_findLiTarget(e){if(!e)return[];let t=e.getAttribute("data-index");return t?[e,t]:this._findLiTarget(e.parentNode)}showMenuForCollection(e,t){e!==document.activeElement&&this.placeCaretAtEnd(e),this.current.collection=this.collection[t||0],this.current.externalTrigger=!0,this.current.element=e,e.isContentEditable?this.insertTextAtCursor(this.current.collection.trigger):this.insertAtCaret(e,this.current.collection.trigger),this.showMenuFor(e)}placeCaretAtEnd(e){if(e.focus(),void 0!==window.getSelection&&void 0!==document.createRange){var t=document.createRange();t.selectNodeContents(e),t.collapse(!1);var i=window.getSelection();i.removeAllRanges(),i.addRange(t)}else if(void 0!==document.body.createTextRange){var n=document.body.createTextRange();n.moveToElementText(e),n.collapse(!1),n.select()}}insertTextAtCursor(e){(i=(t=window.getSelection()).getRangeAt(0)).deleteContents();var t,i,n=document.createTextNode(e);i.insertNode(n),i.selectNodeContents(n),i.collapse(!1),t.removeAllRanges(),t.addRange(i)}insertAtCaret(e,t){var i=e.scrollTop,n=e.selectionStart,r=e.value.substring(0,n),a=e.value.substring(e.selectionEnd,e.value.length);e.value=r+t+a,e.selectionStart=n+=t.length,e.selectionEnd=n,e.focus(),e.scrollTop=i}hideMenu(){this.menu&&(this.menu.style.cssText="display: none;",this.isActive=!1,this.menuSelected=0,this.current={})}selectItemAtIndex(e,t){if("number"!=typeof(e=parseInt(e))||isNaN(e))return;let i=this.current.filteredItems[e],n=this.current.collection.selectTemplate(i);null!==n&&this.replaceText(n,t,i)}replaceText(e,t,i){this.range.replaceTriggerText(e,!0,!0,t,i)}_append(e,t,i){if("function"==typeof e.values)throw Error("Unable to append to values, as it is a function.");i?e.values=t:e.values=e.values.concat(t)}append(e,t,i){let n=parseInt(e);if("number"!=typeof n)throw Error("please provide an index for the collection to update.");let r=this.collection[n];this._append(r,t,i)}appendCurrent(e,t){if(this.isActive)this._append(this.current.collection,e,t);else throw Error("No active state. Please use append instead and pass an index.")}detach(e){if(!e)throw Error("[Tribute] Must pass in a DOM node or NodeList.");if("u">typeof jQuery&&e instanceof jQuery&&(e=e.get()),e.constructor===NodeList||e.constructor===HTMLCollection||e.constructor===Array){let i=e.length;for(var t=0;t{e.removeAttribute("data-tribute"),this.isActive=!1,e.tributeMenu&&e.tributeMenu.remove()})}}let erE=erA;__webpack_require__(99418);var erS=__webpack_require__(16824);__webpack_require__(53072);let erx={name:"NcMentionBubble",props:{id:{type:String,required:!0},label:{type:String,required:!1,default:null},icon:{type:String,required:!0},iconUrl:{type:[String,null],default:null},source:{type:String,required:!0},primary:{type:Boolean,default:!1}},setup:()=>({isDarkTheme:(0,Ts.b)()}),computed:{avatarUrl(){return this.iconUrl?this.iconUrl:this.id&&"users"===this.source?TT(this.id,{isDarkTheme:this.isDarkTheme}):null},mentionText(){return this.id.includes(" ")||this.id.includes("/")?`@"${this.id}"`:`@${this.id}`}}},erD={class:"mention-bubble__wrapper"},erT={class:"mention-bubble__content"},erM=["title"],erI={role:"none",class:"mention-bubble__select"};function erB(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",{class:(0,z.C4)(["mention-bubble",{"mention-bubble--primary":i.primary}]),contenteditable:"false"},[(0,z.Lk)("span",erD,[(0,z.Lk)("span",erT,[(0,z.Lk)("span",{class:(0,z.C4)([[i.icon,`mention-bubble__icon--${a.avatarUrl?"with-avatar":""}`],"mention-bubble__icon"]),style:(0,z.Tr)(a.avatarUrl?{backgroundImage:`url(${a.avatarUrl})`}:null)},null,6),(0,z.Lk)("span",{role:"heading",class:"mention-bubble__title",title:i.label},null,8,erM)]),(0,z.Lk)("span",erI,(0,z.v_)(a.mentionText),1)])],2)}let erP=(0,e4._)(erx,[["render",erB],["__scopeId","data-v-45238efd"]]),erL=/(?=[a-z0-9_\-@.'])\B/.source,erN=/(@[a-z0-9_\-@.']+)/.source,erR=/@"(?:guest|email){1}\/[a-f0-9]+"/.source,erj=/@"(?:federated_)?(?:group|team|user){1}\/[a-z0-9_\-@.' /:]+"/.source,erO=/@"[a-z0-9_\-@.' ]+"/.source,erz=`(${erR}|${erj}|${erO})`,erU=RegExp(`${erL}${erN}`,"gi"),erq=RegExp(`${erL}${erz}`,"gi"),erW={props:{userData:{type:Object,default:()=>({})}},methods:{renderContent(e){return SS(e).split(erU).map(e=>e.split(erq)).flat().map(e=>{if(!e.startsWith("@"))return e;let t=e.slice(1).replace(/"/gi,"");return this.genSelectTemplate(t)}).join("").replace(/\n/gmi,"
    ").replace(/&/gmi,"&")},parseContent(e){let t=e;return t=Tx(t=(t=(t=(t=t.replace(/
    /gmi,"\n")).replace(/ /gmi," ")).replace(/&/gmi,"&")).replace(/<\/div>/gmi,"\n"),"
    "),t=Tx(t)},genSelectTemplate(e){if(void 0===e)return`${this.autocompleteTribute.current.collection.trigger}${this.autocompleteTribute.current.mentionText}`;let t=this.userData[e];return t?this.renderComponentHtml(t,erP).replace(/[\n\t]/gmi,"").replace(/>\s+<"):[" ","/",":"].every(t=>!e.includes(t))?`@${e}`:`@"${e}"`},renderComponentHtml(e,t){let i=(0,z.Ef)(t,{...e}),n=document.createElement("div");n.style.display="none",document.body.appendChild(n),i.mount(n);let r=n.innerHTML;return i.unmount(),n.remove(),r}}},erV={name:"NcAutoCompleteResult",components:{NcUserStatusIcon:TO},props:{label:{type:String,required:!1,default:null},subline:{type:String,default:null},id:{type:String,default:null},icon:{type:String,required:!0},iconUrl:{type:String,default:null},source:{type:String,required:!0},status:{type:[Object,Array],default:()=>({})}},setup:()=>({isDarkTheme:(0,Ts.b)()}),computed:{avatarUrl(){return this.iconUrl?this.iconUrl:this.id&&"users"===this.source?TT(this.id,{isDarkTheme:this.isDarkTheme}):null}}},erH={class:"autocomplete-result"},er$={key:0,class:"autocomplete-result__status autocomplete-result__status--icon"},erG={class:"autocomplete-result__content"},erX=["title"],erK={key:0,class:"autocomplete-result__subline"};function erY(e,t,i,n,r,a){let s=(0,z.g2)("NcUserStatusIcon");return(0,z.uX)(),(0,z.CE)("div",erH,[(0,z.Lk)("div",{class:(0,z.C4)([[i.icon,`autocomplete-result__icon--${a.avatarUrl?"with-avatar":""}`],"autocomplete-result__icon"]),style:(0,z.Tr)(a.avatarUrl?{backgroundImage:`url(${a.avatarUrl})`}:null)},[i.status.icon?((0,z.uX)(),(0,z.CE)("span",er$,(0,z.v_)(i.status&&i.status.icon||""),1)):i.status.status&&"offline"!==i.status.status?((0,z.uX)(),(0,z.Wv)(s,{key:1,class:"autocomplete-result__status",status:i.status.status},null,8,["status"])):(0,z.Q3)("",!0)],6),(0,z.Lk)("span",erG,[(0,z.Lk)("span",{class:"autocomplete-result__title",title:i.label},(0,z.v_)(i.label),9,erX),i.subline?((0,z.uX)(),(0,z.CE)("span",erK,(0,z.v_)(i.subline),1)):(0,z.Q3)("",!0)])])}let erQ=(0,e4._)(erV,[["render",erY],["__scopeId","data-v-ca83b679"]]);(0,Sr.r)(Sr.J,Sr.s);let erZ={"material-design-icon":"_material-design-icon_UrExO","tribute-container":"_tribute-container_aTO5r","tribute-container__item":"_tribute-container__item_EHZ07","tribute-container--focus-visible":"_tribute-container--focus-visible_GHsDW","tribute-container-autocomplete":"_tribute-container-autocomplete_YNk1h","tribute-container-emoji":"_tribute-container-emoji_jWgZX","tribute-container-link":"_tribute-container-link_1b7mc","tribute-item":"_tribute-item_p5sRT","tribute-item__title":"_tribute-item__title_VPcy9","tribute-item__icon":"_tribute-item__icon_aTxCU"},erJ=[];["d","D","p","P","s","S","x","X",")","(","|","/"].forEach(e=>{erJ.push(":"+e),erJ.push(":-"+e)});let er0={name:"NcRichContenteditable",mixins:[erW],inheritAttrs:!1,props:{id:{type:String,default:()=>(0,Sa.c)()},label:{type:String,default:""},modelValue:{type:String,required:!0},placeholder:{type:String,default:(0,Sr.a)("Write a message\xa0…")},autoComplete:{type:Function,default:()=>[]},menuContainer:{type:Element,default:()=>document.body},multiline:{type:Boolean,default:!1},contenteditable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},maxlength:{type:Number,default:null},emojiAutocomplete:{type:Boolean,default:!0},linkAutocomplete:{type:Boolean,default:!0},class:{type:[String,Array,Object],default:""}},emits:["paste","update:modelValue","smartPickerSubmit","submit"],setup(){let e=new Intl.Segmenter;return{labelId:(0,Sa.c)(),tributeId:(0,Sa.c)(),segmenter:e,tribute:null,tributeStyleMutationObserver:null}},data(){return{localValue:this.modelValue,isComposing:!1,isAutocompleteOpen:!1,autocompleteActiveId:void 0,isTributeIntegrationDone:!1}},computed:{isEmptyValue(){return!this.localValue||""===this.localValue.trim()},isOverMaxlength(){return!this.isEmptyValue&&!!this.maxlength&&[...this.segmenter.segment(this.localValue)].length>this.maxlength},tooltipString(){return this.isOverMaxlength?(0,Sr.K)("Message limit of %n character reached","Message limit of %n characters reached",this.maxlength):null},canEdit(){return this.contenteditable&&!this.disabled},debouncedAutoComplete(){return(0,Y.A)(async(e,t)=>{this.autoComplete(e,t)},100)}},watch:{modelValue(){let e=this.$refs.contenteditable.innerHTML;this.modelValue.trim()!==this.parseContent(e).trim()&&this.updateContent(this.modelValue)}},mounted(){this.initializeTribute(),this.updateContent(this.modelValue),this.$refs.contenteditable.contentEditable=this.canEdit},beforeUnmount(){this.tribute&&this.tribute.detach(this.$refs.contenteditable),this.tributeStyleMutationObserver&&this.tributeStyleMutationObserver.disconnect()},methods:{focus(){this.$refs.contenteditable.focus()},initializeTribute(){let e=e=>`
    ${e}
    `,t=[];t.push({fillAttr:"id",lookup:e=>`${e.id} ${e.label??e.title}`,requireLeadingSpace:!0,menuItemTemplate:t=>e(this.renderComponentHtml(t.original,erQ)),noMatchTemplate:()=>'',selectTemplate:e=>this.genSelectTemplate(e?.original?.id),values:this.debouncedAutoComplete,containerClass:`${this.$style["tribute-container"]} ${this.$style["tribute-container-autocomplete"]}`,itemClass:this.$style["tribute-container__item"]}),this.emojiAutocomplete&&t.push({trigger:":",lookup:(e,t)=>t,requireLeadingSpace:!0,menuItemTemplate:t=>erJ.includes(t.original)?t.original:e(`${t.original.native} :${t.original.short_name}`),noMatchTemplate:()=>(0,Sr.a)("No emoji found"),selectTemplate:e=>erJ.includes(e.original)?e.original:(NV(e.original),e.original.native),values:(e,t)=>{let i=NW(e);erJ.includes(":"+e)&&i.unshift(":"+e),t(i)},containerClass:`${this.$style["tribute-container"]} ${this.$style["tribute-container-emoji"]}`,itemClass:this.$style["tribute-container__item"]}),this.linkAutocomplete&&t.push({trigger:"/",lookup:(e,t)=>t,requireLeadingSpace:!0,menuItemTemplate:t=>e(` ${t.original.title}`),noMatchTemplate:()=>(0,Sr.a)("No link provider found"),selectTemplate:this.getLink,values:(e,t)=>t($U(e)),containerClass:`${this.$style["tribute-container"]} ${this.$style["tribute-container-link"]}`,itemClass:this.$style["tribute-container__item"]}),this.tribute=new erE({collection:t,allowSpaces:!1,menuContainer:this.menuContainer}),this.tribute.attach(this.$refs.contenteditable)},getLink(e){return GI(e.original.id).then(e=>{let t=document.getElementById("tmp-smart-picker-result-node"),i={result:e,insertText:!0};if(this.$emit("smartPickerSubmit",i),i.insertText){let i=document.createTextNode(e);t.replaceWith(i),this.setCursorAfter(i),this.updateValue(this.$refs.contenteditable.innerHTML)}else t.remove()}).catch(e=>{Tm.l.debug("[NcRichContenteditable] Smart picker promise rejected:",{error:e});let t=document.getElementById("tmp-smart-picker-result-node");this.setCursorAfter(t),t.remove()}),''},setCursorAfter(e){let t=document.createRange();t.setEndAfter(e),t.collapse();let i=window.getSelection();i.removeAllRanges(),i.addRange(t)},moveCursorToEnd(){if(!document.createRange||window.getSelection().rangeCount>0&&this.$refs.contenteditable.contains(window.getSelection().getRangeAt(0).commonAncestorContainer))return;let e=document.createRange();e.selectNodeContents(this.$refs.contenteditable),e.collapse(!1);let t=window.getSelection();t.removeAllRanges(),t.addRange(e)},onInput(e){this.updateValue(e.target.innerHTML)},onPaste(e){if(!this.canEdit)return;e.preventDefault();let t=e.clipboardData;if(this.$emit("paste",e),0!==t.files.length||!Object.values(t.items).find(e=>e?.type.startsWith("text")))return;let i=t.getData("text"),n=window.getSelection().getRangeAt(0);n.deleteContents(),n.insertNode(document.createTextNode(i)),n.collapse(!1),this.updateValue(this.$refs.contenteditable.innerHTML)},updateValue(e){let t=this.parseContent(e).replace(/^\n$/,"");this.localValue=t,this.$emit("update:modelValue",t)},updateContent(e){let t=this.renderContent(e);this.$refs.contenteditable.innerHTML=t,this.localValue=e},onEnter(e){this.multiline||this.isOverMaxlength||this.tribute.isActive||this.isComposing||(e.preventDefault(),e.stopPropagation(),this.$emit("submit",e))},onCtrlEnter(e){this.isOverMaxlength||this.$emit("submit",e)},onKeyUp(e){e.stopImmediatePropagation()},onKeyEsc(e){this.tribute&&this.isAutocompleteOpen&&(e.stopImmediatePropagation(),this.tribute.hideMenu())},getTributeContainer(){return this.tribute.menu},getTributeSelectedItem(){return this.getTributeContainer().querySelector('.highlight [id^="nc-rich-contenteditable-tribute-item-"]')},onTributeActive(e){this.isAutocompleteOpen=e,e?(this.getTributeContainer().setAttribute("class",this.tribute.current.collection.containerClass||this.$style["tribute-container"]),this.setupTributeIntegration(),document.removeEventListener("click",this.hideTribute,!0)):(this.debouncedAutoComplete.clear(),this.autocompleteActiveId=void 0,this.setTributeFocusVisible(!1))},onTributeArrowKeyDown(){this.isAutocompleteOpen&&(this.setTributeFocusVisible(!0),this.onTributeSelectedItemWillChange())},onTributeSelectedItemWillChange(){requestAnimationFrame(()=>{this.autocompleteActiveId=this.getTributeSelectedItem()?.id})},setupTributeIntegration(){if(this.isTributeIntegrationDone)return;this.isTributeIntegrationDone=!0;let e=this.getTributeContainer();e.id=this.tributeId,e.setAttribute("role","listbox"),e.children[0].setAttribute("role","presentation"),this.tributeStyleMutationObserver=new MutationObserver(([{target:e}])=>{"none"!==e.style.display&&this.onTributeSelectedItemWillChange()}).observe(e,{attributes:!0,attributeFilter:["style"]}),e.addEventListener("mousemove",()=>{this.setTributeFocusVisible(!1),this.onTributeSelectedItemWillChange()},{passive:!0})},setTributeFocusVisible(e){e?this.getTributeContainer().classList.add(this.$style["tribute-container--focus-visible"]):this.getTributeContainer().classList.remove(this.$style["tribute-container--focus-visible"])},showTribute(e){this.focus();let t=this.tribute.collection.findIndex(t=>t.trigger===e);this.tribute.showMenuForCollection(this.$refs.contenteditable,t),this.updateValue(this.$refs.contenteditable.innerHTML),document.addEventListener("click",this.hideTribute,!0)},hideTribute(){this.tribute.hideMenu(),document.removeEventListener("click",this.hideTribute,!0)}}},er1=["id","contenteditable","aria-labelledby","aria-placeholder","aria-controls","aria-expanded","aria-activedescendant","title"],er2=["id"];function er3(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["rich-contenteditable",e.$props.class])},[(0,z.Lk)("div",(0,z.v6)({id:i.id,ref:"contenteditable",class:[{"rich-contenteditable__input--empty":a.isEmptyValue,"rich-contenteditable__input--multiline":i.multiline,"rich-contenteditable__input--has-label":i.label,"rich-contenteditable__input--overflow":a.isOverMaxlength,"rich-contenteditable__input--disabled":i.disabled},"rich-contenteditable__input"],contenteditable:a.canEdit,"aria-labelledby":i.label?n.labelId:void 0,"aria-placeholder":i.placeholder,"aria-multiline":"true",role:"textbox","aria-haspopup":"listbox","aria-autocomplete":"inline","aria-controls":n.tributeId,"aria-expanded":r.isAutocompleteOpen?"true":"false","aria-activedescendant":r.autocompleteActiveId,title:a.tooltipString},e.$attrs,{onFocus:t[0]||(t[0]=(...e)=>a.moveCursorToEnd&&a.moveCursorToEnd(...e)),onInput:t[1]||(t[1]=(...e)=>a.onInput&&a.onInput(...e)),onCompositionstart:t[2]||(t[2]=e=>r.isComposing=!0),onCompositionend:t[3]||(t[3]=e=>r.isComposing=!1),onKeydownCapture:t[4]||(t[4]=(0,z.jR)((...e)=>a.onKeyEsc&&a.onKeyEsc(...e),["esc"])),onKeydown:[t[5]||(t[5]=(0,z.jR)((0,z.D$)((...e)=>a.onEnter&&a.onEnter(...e),["exact"]),["enter"])),t[6]||(t[6]=(0,z.jR)((0,z.D$)((...e)=>a.onCtrlEnter&&a.onCtrlEnter(...e),["ctrl","exact","stop","prevent"]),["enter"])),t[9]||(t[9]=(0,z.jR)((0,z.D$)((...e)=>a.onTributeArrowKeyDown&&a.onTributeArrowKeyDown(...e),["exact","stop"]),["up"])),t[10]||(t[10]=(0,z.jR)((0,z.D$)((...e)=>a.onTributeArrowKeyDown&&a.onTributeArrowKeyDown(...e),["exact","stop"]),["down"]))],onPaste:t[7]||(t[7]=(...e)=>a.onPaste&&a.onPaste(...e)),onKeyupCapture:t[8]||(t[8]=(0,z.D$)((...e)=>a.onKeyUp&&a.onKeyUp(...e),["stop","prevent"])),onTributeActiveTrue:t[11]||(t[11]=e=>a.onTributeActive(!0)),onTributeActiveFalse:t[12]||(t[12]=e=>a.onTributeActive(!1))}),null,16,er1),i.label?((0,z.uX)(),(0,z.CE)("div",{key:0,id:n.labelId,class:"rich-contenteditable__label"},(0,z.v_)(i.label),9,er2)):(0,z.Q3)("",!0)],2)}let er4={$style:erZ},er6=(0,e4._)(er0,[["render",er3],["__cssModules",er4],["__scopeId","data-v-faef642b"]]),er5=["aria-hidden","aria-label"],er8=["fill","width","height"],er9={d:"M2,21L23,12L2,3V10L17,12L2,14V21Z"},er7={key:0};function eae(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon send-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",er9,[i.title?((0,z.uX)(),(0,z.CE)("title",er7,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,er8))],16,er5)}let eat={name:"SendIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eai=(0,to.default)(eat,[["render",eae]]),ean={class:"absence-reminder__caption"},ear={key:0},eaa={key:1,class:"absence-reminder__replacement"};function eas(e,t,i,n,r,a){let s=(0,z.g2)("AvatarWrapper"),o=(0,z.g2)("NcUserBubble"),l=(0,z.g2)("IconChevronUp"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("NcNoteCard");return(0,z.uX)(),(0,z.Wv)(d,{type:"info",class:"absence-reminder"},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{id:i.userAbsence.userId,token:n.token,name:i.displayName,source:"users",size:n.AVATAR.SIZE.SMALL,disableMenu:"",disableTooltip:""},null,8,["id","token","name","size"])]),default:(0,z.k6)(()=>[(0,z.Lk)("p",ean,(0,z.v_)(a.userAbsenceCaption),1),a.userAbsencePeriod?((0,z.uX)(),(0,z.CE)("p",ear,(0,z.v_)(a.userAbsencePeriod),1)):(0,z.Q3)("",!0),i.userAbsence.replacementUserId?((0,z.uX)(),(0,z.CE)("div",eaa,[(0,z.Lk)("p",null,(0,z.v_)(a.t("spreed","Replacement:")),1),((0,z.uX)(),(0,z.Wv)(o,{key:n.isDarkTheme?"dark":"light",class:"absence-reminder__replacement__bubble",title:a.t("spreed","Open conversation"),displayName:i.userAbsence.replacementUserDisplayName,user:i.userAbsence.replacementUserId,onClick:a.openConversationWithReplacementUser},null,8,["title","displayName","user","onClick"]))])):(0,z.Q3)("",!0),a.userAbsenceMessage&&r.isTextMoreThanOneLine?((0,z.uX)(),(0,z.Wv)(u,{key:2,class:"absence-reminder__button",variant:"tertiary",title:r.collapsed?a.t("spreed","Expand"):a.t("spreed","Collapse"),"aria-label":r.collapsed?a.t("spreed","Expand"):a.t("spreed","Collapse"),onClick:a.toggleCollapsed},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{class:(0,z.C4)(["icon",{"icon--reverted":!r.collapsed}]),size:20},null,8,["class"])]),_:1},8,["title","aria-label","onClick"])):(0,z.Q3)("",!0),(0,z.Lk)("p",{ref:"absenceMessage",class:(0,z.C4)(["absence-reminder__message",{"absence-reminder__message--collapsed":r.collapsed}])},(0,z.v_)(a.userAbsenceMessage),3)]),_:1})}let eao={name:"NewMessageAbsenceInfo",components:{AvatarWrapper:Mo,IconChevronUp:tl,NcButton:e7.A,NcNoteCard:erb.A,NcUserBubble:et8},props:{userAbsence:{type:Object,required:!0},displayName:{type:String,required:!0}},setup:()=>({AVATAR:ah,isDarkTheme:(0,Ts.b)(),token:iQ()}),data:()=>({collapsed:!0,isTextMoreThanOneLine:!1,resizeObserver:null}),computed:{userAbsenceCaption(){return(0,K.t)("spreed","{user} is out of office and might not respond.",{user:this.displayName},void 0,{escape:!1,sanitize:!1})},userAbsenceMessage(){return this.userAbsence.message||this.userAbsence.shortMessage},userAbsencePeriod(){return this.userAbsence.startDate&&this.userAbsence.endDate?(0,K.t)("spreed","Absence period: {startDate} - {endDate}",{startDate:ux(1e3*this.userAbsence.startDate,"shortDate"),endDate:ux(1e3*this.userAbsence.endDate,"shortDate")}):""}},mounted(){this.setIsTextMoreThanOneLine(),this.resizeObserver=new ResizeObserver(this.setIsTextMoreThanOneLine),this.resizeObserver.observe(this.$refs.absenceMessage)},beforeUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()},methods:{t:K.t,toggleCollapsed(){this.collapsed=!this.collapsed},setIsTextMoreThanOneLine(){this.collapsed&&(this.isTextMoreThanOneLine=this.$refs.absenceMessage?.scrollHeight>this.$refs.absenceMessage?.clientHeight)},async openConversationWithReplacementUser(){this.userAbsence.replacementUserId===(0,j.HW)().uid||this.userAbsence.replacementUserId!==this.userAbsence.userId&&this.$router.push({name:"root",query:{callUser:this.userAbsence.replacementUserId}}).catch(e=>console.debug(`Error while pushing the new conversation's route: ${e}`))}}},eal=(0,to.default)(eao,[["render",eas],["__scopeId","data-v-a3e80dc6"]]);function eau(e,t,i,n,r,a){let s=(0,z.g2)("IconPlus"),o=(0,z.g2)("NcIconSvgWrapper"),l=(0,z.g2)("NcActionButton"),u=(0,z.g2)("IconFolder"),d=(0,z.g2)("IconPoll"),c=(0,z.g2)("IconForumOutline"),h=(0,z.g2)("NcActions");return(0,z.uX)(),(0,z.Wv)(h,{ref:"attachmentsMenu",disabled:i.disabled,forceMenu:!0,"aria-label":a.t("spreed","Share files to the conversation"),"aria-haspopup":!0},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{size:20})]),default:(0,z.k6)(()=>[i.canUploadFiles?((0,z.uX)(),(0,z.Wv)(l,{key:0,closeAfterClick:"",onClick:t[0]||(t[0]=t=>e.$emit("openFileUpload"))},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{svg:n.IconFileUpload,size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Upload from device")),1)]),_:1})):(0,z.Q3)("",!0),i.canShareFiles?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(l,{closeAfterClick:"",onClick:t[1]||(t[1]=t=>e.$emit("handleFileShare"))},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.shareFromNextcloudLabel),1)]),_:1}),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.fileTemplateOptions,(t,i)=>((0,z.uX)(),(0,z.Wv)(l,{key:i,closeAfterClick:"",icon:t.iconClass,onClick:t=>e.$emit("updateNewFileDialog",i)},(0,z.eX)({default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(t.label),1)]),_:2},[t.iconSvgInline?{name:"icon",fn:(0,z.k6)(()=>[(0,z.bF)(o,{svg:t.iconSvgInline,size:20},null,8,["svg"])]),key:"0"}:void 0]),1032,["icon","onClick"]))),128))],64)):(0,z.Q3)("",!0),i.canCreatePoll?((0,z.uX)(),(0,z.Wv)(l,{key:2,closeAfterClick:"",onClick:a.showPollEditor},{icon:(0,z.k6)(()=>[(0,z.bF)(d,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Create new poll")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),i.canCreateThread?((0,z.uX)(),(0,z.Wv)(l,{key:3,closeAfterClick:"",onClick:t[2]||(t[2]=t=>e.$emit("createThread",!0))},{icon:(0,z.k6)(()=>[(0,z.bF)(c,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Create a thread")),1)]),_:1})):(0,z.Q3)("",!0),(0,z.bF)(l,{closeAfterClick:"",onClick:a.showSmartPicker},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{svg:n.IconSmartPicker,size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Smart picker")),1)]),_:1},8,["onClick"])]),_:1},8,["disabled","aria-label"])}let ead=["aria-hidden","aria-label"],eac=["fill","width","height"],eah={d:"M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z"},eaf={key:0};function eam(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon folder-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eah,[i.title?((0,z.uX)(),(0,z.CE)("title",eaf,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eac))],16,ead)}let eag={name:"FolderIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eap=(0,to.default)(eag,[["render",eam]]),ea_='\n \n',eav='\n \n \n\n\n',eab={name:"NewMessageAttachments",components:{NcActionButton:e2.N,NcActions:e3.A,NcIconSvgWrapper:SD.A,IconFolder:eap,IconForumOutline:OJ,IconPlus:zM,IconPoll:QJ},props:{token:{type:String,required:!0},disabled:{type:Boolean,required:!0},canShareFiles:{type:Boolean,required:!0},canUploadFiles:{type:Boolean,required:!0},canCreatePoll:{type:Boolean,required:!0},canCreateThread:{type:Boolean,required:!0}},emits:["updateNewFileDialog","openFileUpload","handleFileShare","createThread"],setup:()=>({IconFileUpload:ea_,IconSmartPicker:eav}),computed:{fileTemplateOptions(){return this.$store.getters.fileTemplates},shareFromNextcloudLabel:()=>(0,K.t)("spreed","Share from Files")},methods:{t:K.t,showSmartPicker(){iZ.emit("smart-picker-open")},showPollEditor(){iZ.emit("poll-editor-open",{token:this.token,id:null,fromDrafts:!1})}}},eay=(0,to.default)(eab,[["render",eau]]),eaF={class:"audio-recorder"},eak={key:1,class:"wrapper"},eaw={class:"audio-recorder__info"},eaC={class:"time"};function eaA(e,t,i,n,r,a){let s=(0,z.g2)("IconMicrophoneOutline"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("IconClose"),u=(0,z.g2)("IconCheck");return(0,z.uX)(),(0,z.CE)("div",eaF,[a.isRecording?((0,z.uX)(),(0,z.CE)("div",eak,[(0,z.bF)(o,{variant:"error",title:a.abortRecordingTitle,"aria-label":a.abortRecordingTitle,onClick:a.abortRecording},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{size:20})]),_:1},8,["title","aria-label","onClick"]),(0,z.Lk)("div",eaw,[t[0]||(t[0]=(0,z.Lk)("div",{class:"recording-indicator fadeOutIn"},null,-1)),(0,z.Lk)("span",eaC,(0,z.v_)(a.parsedRecordTime),1)]),(0,z.bF)(o,{variant:"success",title:a.stopRecordingTitle,"aria-label":a.stopRecordingTitle,class:(0,z.C4)({"audio-recorder__trigger--recording":a.isRecording}),onClick:a.stop},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),_:1},8,["title","aria-label","class","onClick"])])):((0,z.uX)(),(0,z.Wv)(o,{key:0,title:a.startRecordingTitle,"aria-label":a.startRecordingTitle,"aria-description":n.isMediaRecorderLoading?a.t("spreed","Loading …"):void 0,variant:"tertiary",disabled:i.disabled||n.isMediaRecorderLoading,onClick:a.start},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{size:20})]),_:1},8,["title","aria-label","aria-description","disabled","onClick"]))])}let eaE=new Map;function eaS(e,t=!1){if(eaE.has(e))return eaE.get(e);let i=(0,z.IJ)(void 0),n=(0,z.IJ)(!1),r=(0,z.IJ)(!1);async function a(){n.value||r.value||(r.value=!0,i.value=await e(),r.value=!1,n.value=!0)}let s={result:(0,z.nD)(i),isReady:(0,z.nD)(n),isLoading:(0,z.nD)(r),init:a};return eaE.set(e,s),t&&a(),s}async function eax(){let{register:e,MediaRecorder:t}=await __webpack_require__.e("defaultVendors-node_modules_extendable-media-recorder_build_es2019_module_js").then(__webpack_require__.bind(__webpack_require__,4609)),{connect:i}=await __webpack_require__.e("node_modules_extendable-media-recorder-wav-encoder_build_es2019_module_js").then(__webpack_require__.bind(__webpack_require__,50505));return await e(await i()),t}function eaD(){let{isReady:e,isLoading:t,result:i,init:n}=eaS(eax);return{isMediaRecorderReady:e,isMediaRecorderLoading:t,MediaRecorder:i,initMediaRecorder:n}}let eaT={name:"NewMessageAudioRecorder",components:{IconMicrophoneOutline:QI,IconClose:eet,IconCheck:j5,NcButton:e7.A},props:{disabled:{type:Boolean,default:!1}},emits:["recording","audioFile"],setup(){let{isMediaRecorderReady:e,isMediaRecorderLoading:t,initMediaRecorder:i,MediaRecorder:n}=eaD();return{token:iQ(),isMediaRecorderReady:e,isMediaRecorderLoading:t,initMediaRecorder:i,MediaRecorder:n}},data:()=>({audioStream:null,mediaRecorder:null,chunks:[],blob:null,aborted:!1,recordTimer:null,recordTime:{minutes:0,seconds:0}}),computed:{isRecording(){return!!this.mediaRecorder&&"recording"===this.mediaRecorder.state},parsedRecordTime(){let e=2===this.recordTime.seconds.toString().length?this.recordTime.seconds:`0${this.recordTime.seconds}`,t=2===this.recordTime.minutes.toString().length?this.recordTime.minutes:`0${this.recordTime.minutes}`;return`${t}:${e}`},startRecordingTitle:()=>(0,K.t)("spreed","Record voice message"),stopRecordingTitle:()=>(0,K.t)("spreed","End recording and send"),abortRecordingTitle:()=>(0,K.t)("spreed","Dismiss recording"),canStartRecording(){return!this.disabled&&this.encoderReady}},watch:{isRecording(e){console.debug("isRecording",e)}},beforeUnmount(){this.killStreams()},methods:{t:K.t,async start(){await this.initMediaRecorder();try{this.audioStream=await Ex.getUserMedia({audio:!0,video:!1})}catch(e){console.debug(e),this.killStreams(),"NotAllowedError"===e.name?(0,$.s)((0,K.t)("spreed","Access to the microphone was denied")):(0,$.s)((0,K.t)("spreed","Microphone either not available or disabled in settings"));return}try{this.mediaRecorder=new this.MediaRecorder(this.audioStream,{mimeType:"audio/wav"})}catch(e){console.debug(e),this.killStreams(),this.audioStream=null,(0,$.s)((0,K.t)("spreed","Error while recording audio"));return}this.mediaRecorder.onstop=this.generateFile,this.mediaRecorder.ondataavailable=e=>{this.chunks.push(e.data)};try{this.mediaRecorder.start()}catch(e){console.debug(e),this.aborted=!0,this.stop(),this.killStreams(),this.resetComponentData(),(0,$.s)((0,K.t)("spreed","Error while recording audio"));return}console.debug(this.mediaRecorder.state),this.recordTimer=setInterval(()=>{59===this.recordTime.seconds&&(this.recordTime.minutes++,this.recordTime.seconds=0),this.recordTime.seconds++},1e3),this.$emit("recording",!0)},stop(){this.mediaRecorder.stop(),clearInterval(this.recordTimer),this.$emit("recording",!1)},generateFile(){if(this.killStreams(),!this.aborted){this.blob=new Blob(this.chunks,{type:"audio/wav"});let e=this.generateFileName(),t=new File([this.blob],e,{type:"audio/wav"});this.$emit("audioFile",t),this.$emit("recording",!1)}this.resetComponentData()},abortRecording(){this.aborted=!0,this.stop()},resetComponentData(){this.audioStream=null,this.mediaRecorder=null,this.chunks=[],this.blob=null,this.aborted=!1,this.recordTime={minutes:0,seconds:0}},generateFileName(){let e=this.$store.getters.conversation(this.token).name.replace(/\/\\:%/gi," ").replace(/ +/gi," "),t=new Date,i=t.getFullYear()+"-"+("0"+t.getMonth()).slice(-2)+"-"+("0"+t.getDay()).slice(-2);return i+=" "+("0"+t.getHours()).slice(-2)+"-"+("0"+t.getMinutes()).slice(-2)+"-"+("0"+t.getSeconds()).slice(-2),(0,K.t)("spreed","Talk recording from {time} ({conversation})",{time:i,conversation:e}).substring(0,146)+".wav"},killStreams(){this.audioStream?.getTracks().forEach(e=>e.stop())}}},eaM=(0,to.default)(eaT,[["render",eaA],["__scopeId","data-v-6e11e9bb"]]),eaI=(0,z.pM)({__name:"NcAssistantContent",props:{contentClasses:{default:""}},setup:e=>(e,t)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(e.$style.assistantContent)},[(0,z.Lk)("div",{class:(0,z.C4)([e.$style.assistantContent__inner,e.contentClasses])},[(0,z.RG)(e.$slots,"default")],2)],2))}),eaB={$style:{"material-design-icon":"_material-design-icon_nSUHm",assistantContent:"_assistantContent_xKBtA",assistantContent__inner:"_assistantContent__inner_DqkVC"}},eaP=(0,e4._)(eaI,[["__cssModules",eaB]]),eaL={class:"chat-summary__container"},eaN={class:"chat-summary__content"},eaR={class:"chat-summary__header"},eaj={class:"chat-summary__caption"},eaO={key:0},eaz=(0,z.pM)({__name:"NewMessageChatSummary",setup(e){let t,i={},n=(0,z.rk)("chatSummaryRef"),r=(0,z.KR)(!0),a=(0,z.KR)(!1),s=(0,z.KR)(!0),o=(0,z.KR)(!1),l=oQ(),u=iQ(),d=(0,z.KR)(""),c=(0,z.EW)(()=>s.value?(0,K.t)("spreed","Generating summary of unread messages …"):(0,K.t)("spreed","Summary is AI generated and might contain mistakes"));function h(e){let n=l.getChatSummaryTaskQueue(e);if(n.length){for(let r of n){if(r.summary)continue;let{request:n,cancel:a}=hb(ue);i[e]=a,t=setInterval(()=>{f(e,n,r)},5e3);return}d.value=l.getChatSummary(e),s.value=!1}}async function f(e,i,n){try{let r=await i(n.taskId);switch(r.data.ocs.data.task.status){case av:{let i=r.data.ocs.data.task.output?.output||"";l.storeChatSummary(e,n.fromMessageId,i),clearInterval(t),t=void 0,h(e);break}case a_:case aF:case ap:(0,$.s)((0,K.t)("spreed","Error occurred during a summary generation")),g()}}catch(e){if((0,aw.FZ)(e))return;console.error("Error getting chat summary:",e)}}function m(){Object.values(i).forEach(e=>e()),clearInterval(t),t=void 0,l.dismissChatSummary(u.value)}async function g(){for await(let e of(o.value=!0,l.getChatSummaryTaskQueue(u.value)))await ut(e.taskId);o.value=!1,m()}function p(){r.value=!r.value}function _(){n.value&&(a.value=n.value.scrollHeight>n.value.clientHeight,r.value=!a.value)}return(0,z.wB)(d,()=>{(0,z.dY)(()=>{_()})},{immediate:!0}),(0,z.xo)(()=>{Object.values(i).forEach(e=>e())}),(0,z.wB)(u,(e,n)=>{n&&i[n]&&(i[n]?.(),clearInterval(t),t=void 0),e&&(s.value=!0,d.value="",h(e))},{immediate:!0}),(e,t)=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(eaP),{class:"chat-summary"},{default:(0,z.k6)(()=>[(0,z.Lk)("div",eaL,[(0,z.bF)((0,z.R1)(Ni),{class:"chat-summary__icon"}),(0,z.Lk)("div",eaN,[(0,z.Lk)("div",eaR,[(0,z.Lk)("p",eaj,(0,z.v_)(c.value),1),s.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:0,variant:"tertiary",disabled:o.value,onClick:g},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)((0,z.R1)(K.t)("spreed","Cancel")),1)]),_:1},8,["disabled"])):d.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:1,variant:"tertiary",onClick:m},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)((0,z.R1)(K.t)("spreed","Dismiss")),1)]),_:1})):(0,z.Q3)("",!0),a.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:2,variant:"tertiary",title:r.value?(0,z.R1)(K.t)("spreed","Expand"):(0,z.R1)(K.t)("spreed","Collapse"),"aria-label":r.value?(0,z.R1)(K.t)("spreed","Expand"):(0,z.R1)(K.t)("spreed","Collapse"),onClick:p},{icon:(0,z.k6)(()=>[r.value?((0,z.uX)(),(0,z.Wv)(enZ,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(enH,{key:1,size:20}))]),_:1},8,["title","aria-label"])):(0,z.Q3)("",!0)]),s.value?((0,z.uX)(),(0,z.CE)("p",eaO,(0,z.v_)((0,z.R1)(K.t)("spreed","This might take a moment")),1)):((0,z.uX)(),(0,z.CE)("p",{key:1,ref_key:"chatSummaryRef",ref:n,class:(0,z.C4)(["chat-summary__message",{"chat-summary__message--collapsed":r.value}])},(0,z.v_)(d.value),3))])])]),_:1}))}}),eaU=(0,to.default)(eaz,[["__scopeId","data-v-7bd1de41"]]),eaq={key:0,class:"templates-picker__list"};function eaW(e,t,i,n,r,a){let s=(0,z.g2)("NcTextField"),o=(0,z.g2)("NewMessageTemplatePreview"),l=(0,z.g2)("NcLoadingIcon"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("NcDialog");return(0,z.uX)(),(0,z.Wv)(d,{name:a.t("spreed","Create and share a new file"),size:"large",class:"templates-picker",closeOnClickOutside:"","onUpdate:open":a.closeModal},{actions:(0,z.k6)(()=>[(0,z.bF)(u,{variant:"primary",disabled:r.loading||!!r.newFileError,onClick:a.handleCreateNewFile},(0,z.eX)({default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Create file")),1)]),_:2},[r.loading?{name:"icon",fn:(0,z.k6)(()=>[(0,z.bF)(l)]),key:"0"}:void 0]),1032,["disabled","onClick"])]),default:(0,z.k6)(()=>[(0,z.Lk)("form",{class:"templates-picker__form",style:(0,z.Tr)(a.style),onSubmit:t[1]||(t[1]=(0,z.D$)((...e)=>a.handleCreateNewFile&&a.handleCreateNewFile(...e),["prevent"]))},[(0,z.bF)(s,{id:"new-file-form-name",ref:"textField",modelValue:r.newFileTitle,"onUpdate:modelValue":t[0]||(t[0]=e=>r.newFileTitle=e),error:!!r.newFileError,helperText:r.newFileError,label:a.t("spreed","Name of the new file"),placeholder:r.newFileTitle},null,8,["modelValue","error","helperText","label","placeholder"]),a.templates.length>1?((0,z.uX)(),(0,z.CE)("ul",eaq,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.templates,e=>((0,z.uX)(),(0,z.Wv)(o,{key:e.fileid,basename:e.basename,checked:r.checked===e.fileid,fileid:e.fileid,filename:e.filename,previewUrl:e.previewUrl,hasPreview:e.hasPreview,mime:e.mime,ratio:a.fileTemplate.ratio,onCheck:a.onCheck},null,8,["basename","checked","fileid","filename","previewUrl","hasPreview","mime","ratio","onCheck"]))),128))])):(0,z.Q3)("",!0)],36)]),_:1},8,["name","onUpdate:open"])}class eaV extends null{}let eaH=Object.freeze({DEFAULT:"default",HIDDEN:"hidden"});dl.m;function ea$(e,t,i){if(void 0!==e[t]){if("array"===i){if(!Array.isArray(e[t]))throw Error(`View ${t} must be an array`)}else if(typeof e[t]!==i)throw Error(`View ${t} must be a ${i}`);else if("object"===i&&(null===e[t]||Array.isArray(e[t])))throw Error(`View ${t} must be an object`)}}function eaG(e){if("object"!=typeof e||null===e)throw Error("View column must be an object");if(!e.id||"string"!=typeof e.id)throw Error("A column id is required");if(!e.title||"string"!=typeof e.title)throw Error("A column title is required");if(!e.render||"function"!=typeof e.render)throw Error("A render function is required");ea$(e,"sort","function"),ea$(e,"summary","function")}function eaX(e){if(!e.icon||"string"!=typeof e.icon||!isSvg(e.icon))throw Error("View icon is required and must be a valid svg string");if(!e.id||"string"!=typeof e.id)throw Error("View id is required and must be a string");if(!e.getContents||"function"!=typeof e.getContents)throw Error("View getContents is required and must be a function");if(!e.name||"string"!=typeof e.name)throw Error("View name is required and must be a string");if(ea$(e,"caption","string"),ea$(e,"columns","array"),ea$(e,"defaultSortKey","string"),ea$(e,"emptyCaption","string"),ea$(e,"emptyTitle","string"),ea$(e,"emptyView","function"),ea$(e,"expanded","boolean"),ea$(e,"hidden","boolean"),ea$(e,"loadChildViews","function"),ea$(e,"order","number"),ea$(e,"params","object"),ea$(e,"parent","string"),ea$(e,"sticky","boolean"),e.columns&&(e.columns.forEach(eaG),e.columns.reduce((e,t)=>e.add(t.id),new Set).size!==e.columns.length))throw Error("View columns must have unique ids")}let eaK=Object.freeze({UploadFromDevice:0,CreateNew:1,Other:2});class eaY{_entries=[];registerEntry(e){this.validateEntry(e),e.category=e.category??eaK.CreateNew,this._entries.push(e)}unregisterEntry(e){let t="string"==typeof e?this.getEntryIndex(e):this.getEntryIndex(e.id);-1===t?logger.warn("Entry not found, nothing removed",{entry:e,entries:this.getEntries()}):this._entries.splice(t,1)}getEntries(e){return e?this._entries.filter(t=>"function"!=typeof t.enabled||t.enabled(e)):this._entries}getEntryIndex(e){return this._entries.findIndex(t=>t.id===e)}validateEntry(e){if(!e.id||!e.displayName||!e.iconSvgInline||!e.handler)throw Error("Invalid entry");if("string"!=typeof e.id||"string"!=typeof e.displayName)throw Error("Invalid id or displayName property");if(e.iconSvgInline&&"string"!=typeof e.iconSvgInline)throw Error("Invalid icon provided");if(void 0!==e.enabled&&"function"!=typeof e.enabled)throw Error("Invalid enabled property");if("function"!=typeof e.handler)throw Error("Invalid handler property");if("order"in e&&"number"!=typeof e.order)throw Error("Invalid order property");if(-1!==this.getEntryIndex(e.id))throw Error("Duplicate entry")}}function eaQ(e){(eaZ(e),scopedGlobals.filesSidebarActions??=new Map,scopedGlobals.filesSidebarActions.has(e.id))?logger.warn(`Sidebar action with id "${e.id}" already registered. Skipping.`):(scopedGlobals.filesSidebarActions.set(e.id,e),logger.debug(`New sidebar action with id "${e.id}" registered.`))}function eaZ(e){if("object"!=typeof e)throw Error("Sidebar action is not an object");if(!e.id||"string"!=typeof e.id||e.id!==CSS.escape(e.id))throw Error("Sidebar actions need to have an id conforming to the HTML id attribute specifications");if(!e.displayName||"function"!=typeof e.displayName)throw Error("Sidebar actions need to have a displayName function");if(!e.iconSvgInline||"function"!=typeof e.iconSvgInline)throw Error("Sidebar actions need to have a iconSvgInline function");if(!e.enabled||"function"!=typeof e.enabled)throw Error("Sidebar actions need to have an enabled function");if(!e.onClick||"function"!=typeof e.onClick)throw Error("Sidebar actions need to have an onClick function")}function eaJ(e){(ea0(e),scopedGlobals.filesSidebarTabs??=new Map,scopedGlobals.filesSidebarTabs.has(e.id))?logger.warn(`Sidebar tab with id "${e.id}" already registered. Skipping.`):(scopedGlobals.filesSidebarTabs.set(e.id,e),logger.debug(`New sidebar tab with id "${e.id}" registered.`))}function ea0(e){if("object"!=typeof e)throw Error("Sidebar tab is not an object");if(!e.id||"string"!=typeof e.id||e.id!==CSS.escape(e.id))throw Error("Sidebar tabs need to have an id conforming to the HTML id attribute specifications");if(!e.tagName||"string"!=typeof e.tagName)throw Error("Sidebar tabs need to have the tagName name set");if(!e.tagName.match(/^[a-z][a-z0-9-_]+$/))throw Error('Sidebar tab "tagName" is invalid');if(!e.displayName||"string"!=typeof e.displayName)throw Error("Sidebar tabs need to have a name set");if("string"!=typeof e.iconSvgInline||!isSvg(e.iconSvgInline))throw Error("Sidebar tabs need to have an valid SVG icon");if("number"!=typeof e.order)throw Error("Sidebar tabs need to have a numeric order set");if(e.enabled&&"function"!=typeof e.enabled)throw Error('Sidebar tab "enabled" is not a function');if(e.onInit&&"function"!=typeof e.onInit)throw Error('Sidebar tab "onInit" is not a function')}let ea1=Object.freeze({ReservedName:"reserved name",Character:"character",Extension:"extension"});class ea2 extends Error{constructor(e){super(`Invalid ${e.reason} '${e.segment}' in filename '${e.filename}'`,{cause:e})}get filename(){return this.cause.filename}get reason(){return this.cause.reason}get segment(){return this.cause.segment}}function ea3(e){let t=(0,aB.F)().files;for(let i of t.forbidden_filename_characters??["/","\\"])if(e.includes(i))throw new ea2({segment:i,reason:ea1.Character,filename:e});if(e=e.toLocaleLowerCase(),(t.forbidden_filenames??[".htaccess"]).includes(e))throw new ea2({filename:e,segment:e,reason:ea1.ReservedName});let i=e.indexOf(".",1),n=e.substring(0,-1===i?void 0:i);if((t.forbidden_filename_basenames??[]).includes(n))throw new ea2({filename:e,segment:n,reason:ea1.ReservedName});for(let i of t.forbidden_filename_extensions??[])if(e.length>i.length&&e.endsWith(i))throw new ea2({segment:i,reason:ea1.Extension,filename:e})}function ea4(e){return e instanceof Date?e.toISOString():String(e)}Object.freeze({Name:"basename",Modified:"mtime",Size:"size"});let ea6={class:"template-picker__item"},ea5=["id","checked"],ea8=["for"],ea9=["src"],ea7={class:"template-picker__title"};function ese(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("li",ea6,[(0,z.Lk)("input",{id:a.id,checked:i.checked,type:"radio",class:"radio",name:"template-picker",onChange:t[0]||(t[0]=(...e)=>a.onCheck&&a.onCheck(...e))},null,40,ea5),(0,z.Lk)("label",{for:a.id,class:"template-picker__label"},[(0,z.Lk)("div",{class:(0,z.C4)(["template-picker__preview",r.failedPreview?"template-picker__preview--failed":""])},[(0,z.Lk)("img",{class:"template-picker__image",src:a.realPreviewUrl,alt:"",draggable:"false",onError:t[1]||(t[1]=(...e)=>a.onFailure&&a.onFailure(...e))},null,40,ea9)],2),(0,z.Lk)("span",ea7,(0,z.v_)(a.nameWithoutExt),1)],8,ea8)])}function est(e){let t=(e.startsWith("/")?e:`/${e}`).split("/"),i="";return t.forEach(e=>{""!==e&&(i+="/"+encodeURIComponent(e))}),i}function esi(){return!(0,j.HW)()}function esn(){return document.getElementById("sharingToken")&&document.getElementById("sharingToken").value}let esr=256,esa={name:"NewMessageTemplatePreview",inheritAttrs:!1,props:{basename:{type:String,required:!0},checked:{type:Boolean,default:!1},fileid:{type:[String,Number],required:!0},filename:{type:String,required:!0},previewUrl:{type:String,default:null},hasPreview:{type:Boolean,default:!0},mime:{type:String,required:!0},ratio:{type:Number,default:null}},emits:["check"],data:()=>({failedPreview:!1}),computed:{nameWithoutExt(){return this.basename.includes(".")?this.basename.split(".").slice(0,-1).join("."):this.basename},id(){return`template-picker-${this.fileid}`},realPreviewUrl(){return this.failedPreview&&this.mimeIcon?this.mimeIcon:this.previewUrl?this.previewUrl:esi()?(0,O.Jv)(`/apps/files_sharing/publicpreview/${esn()}?fileId=${this.fileid}&file=${est(this.filename)}&x=${esr}&y=${esr}&a=1`):(0,O.Jv)(`/core/preview?fileId=${this.fileid}&x=${esr}&y=${esr}&a=1`)},mimeIcon(){return OC.MimeType.getIconUrl(this.mime)}},methods:{onCheck(){this.$emit("check",this.fileid)},onFailure(){this.failedPreview=!0}}},ess=(0,to.default)(esa,[["render",ese],["__scopeId","data-v-923ac1e6"]]),eso={name:"NewMessageNewFileDialog",components:{NcButton:e7.A,NcDialog:ox.A,NcLoadingIcon:te.N,NcTextField:oD.A,NewMessageTemplatePreview:ess},props:{token:{type:String,required:!0},showNewFileDialog:{type:Number,required:!0}},emits:["dismiss"],setup(){let{openViewer:e}=eep("files");return{openViewer:e,settingsStore:cK()}},data:()=>({newFileTitle:(0,K.t)("spreed","New file"),newFileError:"",checked:-1,loading:!1}),computed:{fileTemplateOptions(){return this.$store.getters.fileTemplates},fileTemplate(){return this.fileTemplateOptions[this.showNewFileDialog]},templates(){return[{basename:(0,K.t)("files","Blank"),fileid:-1,filename:(0,K.t)("files","Blank"),hasPreview:!1,mime:this.fileTemplate?.mimetypes[0]||this.fileTemplate?.mimetypes},...this.fileTemplate.templates]},selectedTemplate(){return this.templates.find(e=>e.fileid===this.checked)},style(){let e=2,t=8,i=(this.fileTemplate.ratio?this.fileTemplate.ratio:1.77)>1?30*t:20*t;return{"--margin":t+"px","--width":i+"px","--border":e+"px","--fullwidth":i+2*(t+e)+"px","--height":this.fileTemplate.ratio?Math.round(i/this.fileTemplate.ratio)+"px":null}}},watch:{fileTemplate:{deep:!0,immediate:!0,handler(e){this.newFileTitle=e.label+e.extension}},newFileTitle(e){try{ea3(e),this.newFileError=""}catch(e){console.error(e),this.newFileError=e.message}},selectedTemplate:{deep:!0,handler(e){-1===e.fileid?this.newFileTitle=this.fileTemplate.label+this.fileTemplate.extension:this.newFileTitle=e.basename}}},mounted(){this.$nextTick(()=>{this.$refs.textField.select()})},methods:{t:K.t,async handleCreateNewFile(){let e;this.loading=!0,this.newFileError="";let t=this.settingsStore.attachmentFolder+"/"+this.newFileTitle.replace("/","");t.endsWith(this.fileTemplate.extension)||(t+=this.fileTemplate.extension);try{e=(await cN({filePath:t,templatePath:-1===this.selectedTemplate.fileid?void 0:this.selectedTemplate?.filename,templateType:-1===this.selectedTemplate.fileid?void 0:this.selectedTemplate?.templateType})).data.ocs.data}catch(e){console.error("Error while creating file",e),e?.response?.data?.ocs?.meta?.message?((0,$.s)(e.response.data.ocs.meta.message),this.newFileError=e.response.data.ocs.meta.message):(0,$.s)((0,K.t)("spreed","Error while creating file")),this.loading=!1;return}await this.$store.dispatch("shareFile",{token:this.token,path:t}),this.loading=!1,this.openViewer(t,[e],e),this.closeModal()},closeModal(){this.newFileError="",this.newFileTitle=(0,K.t)("spreed","New file"),this.$emit("dismiss")},onCheck(e){this.checked=e}}},esl=(0,to.default)(eso,[["render",eaW],["__scopeId","data-v-2af66432"]]),esu={class:"indicator"},esd={class:"indicator__wrapper"},esc={class:"indicator__avatars"},esh=["innerHTML"];function esf(e,t,i,n,r,a){let s=(0,z.g2)("AvatarWrapper");return(0,z.bo)(((0,z.uX)(),(0,z.CE)("div",esu,[(0,z.Lk)("div",esd,[(0,z.Lk)("div",esc,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.visibleParticipants,(e,t)=>((0,z.uX)(),(0,z.Wv)(s,{id:e.actorId,key:t,token:i.token,name:e.displayName,source:e.actorType,size:n.AVATAR.SIZE.EXTRA_SMALL,condensed:"",condensedOverlap:8,disableMenu:"",disableTooltip:""},null,8,["id","token","name","source","size"]))),128))]),(0,z.Lk)("p",{class:"indicator__main",innerHTML:a.indicatorMessage},null,8,esh)])],512)),[[z.aG,a.showIndicatorMessage]])}let esm={name:"NewMessageTypingIndicator",components:{AvatarWrapper:Mo},props:{token:{type:String,required:!0}},setup:()=>({AVATAR:ah,guestNameStore:hu(),actorStore:of()}),computed:{isGuest(){return this.actorStore.isActorGuest},externalTypingSignals(){return this.$store.getters.externalTypingSignals(this.token)},typingParticipants(){return this.$store.getters.participantsListTyping(this.token)},visibleParticipants(){return this.typingParticipants.slice(0,3)},hiddenParticipantsCount(){return this.typingParticipants.slice(3).length},showIndicatorMessage(){return this.isGuest?!!this.externalTypingSignals.length:!!this.typingParticipants.length},indicatorMessage(){if(this.isGuest)return(0,K.t)("spreed","Someone is typing …");if(!this.typingParticipants)return"";let[e,t,i]=this.prepareNamesList();return 1===this.typingParticipants.length?(0,K.t)("spreed","{user1} is typing …",{user1:e},void 0,{escape:!1}):2===this.typingParticipants.length?(0,K.t)("spreed","{user1} and {user2} are typing …",{user1:e,user2:t},void 0,{escape:!1}):3===this.typingParticipants.length?(0,K.t)("spreed","{user1}, {user2} and {user3} are typing …",{user1:e,user2:t,user3:i},void 0,{escape:!1}):(0,K.n)("spreed","{user1}, {user2}, {user3} and %n other are typing …","{user1}, {user2}, {user3} and %n others are typing …",this.hiddenParticipantsCount,{user1:e,user2:t,user3:i},{escape:!1})}},methods:{t:K.t,n:K.n,prepareNamesList(){return this.visibleParticipants.reverse().map(e=>this.getParticipantName(e)).map(e=>e?`${Sx()(e)}`:void 0)},getParticipantName(e){return e?.displayName?e.displayName:this.guestNameStore.getGuestName(this.token,e.actorId)}}},esg=(0,to.default)(esm,[["render",esf],["__scopeId","data-v-143109d8"]]);async function esp(e,t){return aw.Ay.get((0,O.KT)("apps/spreed/api/v1/chat/{token}/mentions",{token:e}),{params:{search:t,includeStatus:!0}})}let es_=(0,z.KR)({});function esv(e){let t=(0,Ts.b)();function i(e,t,i){let n={...e,id:e.mentionId??e.id,status:void 0};return"calls"===e.source?(n.icon="icon-user-forced-white",n.iconUrl=a2(t,i),n.subline=e?.details||(0,K.t)("spreed","Everyone")):e.source===n3?(n.icon="icon-group-forced-white",n.subline=(0,K.t)("spreed","Group")):e.source===n4||e.source===n6?(n.icon="icon-team-forced-white",n.subline=(0,K.t)("spreed","Team")):e.source===n1?(n.icon="icon-user-forced-white",n.subline=(0,K.t)("spreed","Guest")):e.source===n2?(n.icon="icon-user-forced-white",n.subline=e?.details??(0,K.t)("spreed","Guest")):e.source===n9?(n.icon="icon-user-forced-white",n.iconUrl=a3(t,e.id,i,64)):(n.icon="icon-user-forced-white",e.source===n0&&e.id!==e.mentionId&&(n.iconUrl=(0,O.Jv)("avatar/{userId}/64"+(i?"/dark":"")+"?v=0",{userId:e.id})),e.status&&(n.status={status:e.status,icon:e.statusIcon},n.subline=e.statusMessage)),es_.value[t]||(es_.value[t]={}),es_.value[t][n.id]=n,n}async function n(e,t,n){try{return(await esp(e,t)).data.ocs.data.map(t=>i(t,e,n))}catch(e){return console.error("Error while searching possible mentions: ",e),[]}}return{autoComplete:async function(i,r){let a=await n(e.value,i,t.value);a.length&&r(a)},userData:(0,z.EW)(()=>es_.value[e.value]??{})}}function esb(e){let t=e.clipboardData;if(!t)return{kind:"none"};if(t.files&&t.files.length>0)return{kind:"file",files:t.files};if(t.items&&t.items.length>0){let e=[];for(let i=0;i0)return{kind:"file",files:e}}return{kind:"text",text:t.getData("text/plain")}}function esy(e){let t=window.getSelection();if(t&&t.rangeCount>0){if(!e)return t.getRangeAt(0);for(let i=0;i(0,K.t)("spreed","Send without notification"),silentSendInfo(){return this.isOneToOne?(0,K.t)("spreed","The participant will not be notified about new messages"):(0,K.t)("spreed","Participants will not be notified about new messages")},showSendActions(){return!this.broadcast&&!this.isRecordingAudio&&(!this.messageToEdit||this.showScheduledMessages)},showAttachmentsMenu(){return(this.canUploadFiles||this.canShareFiles||this.canCreatePoll||this.canCreateThread)&&!this.broadcast&&!this.upload&&!this.messageToEdit},showAudioRecorder(){return!this.hasText&&this.canUploadFiles&&!this.broadcast&&!this.upload&&!this.messageToEdit&&!this.threadCreating&&!this.scheduleMessageTime&&!this.showScheduledMessages},showTypingStatus(){return this.hasTypingIndicator&&this.supportTypingStatus&&this.settingsStore.typingStatusPrivacy===ai},userAbsence(){return this.groupwareStore.absence[this.token]},showChatSummary(){return this.chatExtrasStore.hasChatSummaryTaskRequested(this.token)},isMobileDevice:()=>/Android|iPhone|iPad|iPod/i.test(navigator.userAgent),chatInput(){return this.chatExtrasStore.getChatInput(this.token)},chatEditInput(){return this.chatExtrasStore.getChatEditInput(this.token)},showMentionEditHint(){return!this.scheduleMessageTime&&/(^|\s)@/.test(this.chatEditInput)},canEditMessage(){return aG(this.token,"edit-messages")&&!this.isReadOnly&&!this.noChatPermission&&!this.actorStore.isActorGuest},supportThreads(){return aG(this.token,"threads")},canCreateThread(){return this.supportThreads&&!this.isReadOnly&&!this.noChatPermission&&!this.threadId&&!this.broadcast&&!this.threadCreating},threadTitle:{get(){return this.chatExtrasStore.getThreadTitle(this.token)},set(e){this.chatExtrasStore.setThreadTitle(this.token,e)}},threadCreating(){return void 0!==this.threadTitle},showScheduledMessagesToggle(){return this.conversation.hasScheduledMessages&&!this.dialog&&!this.isRecordingAudio&&!this.messageToEdit},showScheduledMessagesToggleVariant(){return -1===this.conversation.hasScheduledMessages?"error":this.showScheduledMessages?"secondary":"tertiary"},showScheduledMessages(){return this.chatExtrasStore.showScheduledMessages},scheduleMessageHint(){let e=new Date(this.scheduleMessageTime).toLocaleString(void 0,{dateStyle:"medium",timeStyle:"short"});return(0,K.t)("spreed","Message will be sent {datetimeString}",{datetimeString:e})}},watch:{currentConversationIsJoined(){this.focusInput()},currentUploadId(e){e&&!this.upload?this.text="":e||this.upload||(this.text=this.chatInput),this.silentChat=!!ak.getItem("silentChat_"+this.token)},text(e){this.errorMessage="",this.currentUploadId&&!this.upload||this.dialog&&this.broadcast||this.debouncedUpdateChatInput(e)},threadTitle(e){this.errorTitle=""},messageToEdit(e,t){e?.id!==t?.id&&(e?(this.text=this.chatExtrasStore.getChatEditInput(this.token),-1!==e.threadId&&this.chatExtrasStore.removeThreadTitle(this.token),this.showScheduledMessages&&(this.chatExtrasStore.setScheduleMessageTime(1e3*e.timestamp),this.silentChat=e.silent),this.parentMessage&&this.chatExtrasStore.removeParentIdToReply(this.token)):this.text=this.chatInput,this.$nextTick(()=>{esF(esk(this.getContenteditable()),this.getContenteditable())}))},showScheduledMessages(){this.handleAbortEdit()},parentMessage(e){e&&(this.chatExtrasStore.removeThreadTitle(this.token),this.messageToEdit&&this.chatExtrasStore.removeMessageIdToEdit(this.token))},threadId(e){e&&(this.setCreateThread(!1),this.focusInput())},chatInput(e){(!this.currentUploadId||this.upload)&&oX(this.text)!==e&&(this.text=e)},token:{immediate:!0,handler(e){e?(this.text=this.messageToEdit?this.chatEditInput:this.chatInput,this.silentChat=!!ak.getItem("silentChat_"+this.token)):this.text="",this.clearTypingInterval(),this.checkAbsenceStatus(),this.clearSilentState(),this.chatExtrasStore.setScheduleMessageTime(null)}},submenu(e){if("schedule"===e)if(this.scheduleMessageTime)this.customScheduleTimestamp=new Date(this.scheduleMessageTime);else{let e=new Date;e.setHours(e.getHours()+1,0,0,0),this.customScheduleTimestamp=e}else this.customScheduleTimestamp=null}},created(){(0,Q.C)("c",this.focusInput,{stop:!0,prevent:!0})},mounted(){iZ.on("focus-chat-input",this.focusInput),iZ.on("upload-start",this.handleUploadSideEffects),iZ.on("upload-discard",this.handleUploadSideEffects),iZ.on("retry-message",this.handleRetryMessage),iZ.on("smart-picker-open",this.handleOpenTributeMenu),this.$store.getters.areFileTemplatesInitialised||this.$store.dispatch("getFileTemplates")},beforeUnmount(){iZ.off("focus-chat-input",this.focusInput),iZ.off("upload-start",this.handleUploadSideEffects),iZ.off("upload-discard",this.handleUploadSideEffects),iZ.off("retry-message",this.handleRetryMessage),iZ.off("smart-picker-open",this.handleOpenTributeMenu)},methods:{t:K.t,getCustomDateOptions:Z_,getContenteditable(){return this.$refs.richContenteditable.$refs.contenteditable},handleTyping(){this.showTypingStatus&&!this.messageToEdit&&(this.typingInterval?this.wasTypingWithinInterval=!0:(this.$store.dispatch("sendTypingSignal",{typing:!0}),this.typingInterval=setInterval(()=>{this.wasTypingWithinInterval?(this.$store.dispatch("sendTypingSignal",{typing:!0}),this.wasTypingWithinInterval=!1):this.clearTypingInterval()},1e4)))},clearTypingInterval(){clearInterval(this.typingInterval),this.typingInterval=null,this.wasTypingWithinInterval=!1},resetTypingIndicator(){this.$store.dispatch("sendTypingSignal",{typing:!1}),this.typingInterval&&this.clearTypingInterval()},updateChatInput(e){this.messageToEdit?this.chatExtrasStore.setChatEditInput({token:this.token,text:e,parameters:this.messageToEdit.messageParameters}):e&&e!==this.chatInput?this.chatExtrasStore.setChatInput({token:this.token,text:e}):!e&&this.chatInput&&this.chatExtrasStore.removeChatInput(this.token)},handleUploadSideEffects(){this.upload||this.$nextTick(()=>{this.focusInput()})},async handleSubmit(){if(this.messageToEdit){this.disabledEdit||this.handleEdit();return}if(OC.debug&&this.text.startsWith("/spam ")){let e=/^\/spam (\d+) messages$/i.exec(this.text);if(e)return void await this.handleSubmitSpam(e[1])}if(this.hasText&&(this.text=oX(this.text)),!this.threadCreating||(this.threadTitle||(this.errorTitle=(0,K.t)("spreed","Thread title is required")),this.hasText||(this.errorMessage=(0,K.t)("spreed","Message text is required")),!this.errorTitle&&!this.errorMessage)){if(esE&&this.scheduleMessageTime)return void await this.handleScheduleMessage();if(esE&&!this.scheduleMessageTime&&this.showScheduledMessages){this.submenu="schedule",this.isNcActionsOpen=!0;return}if(this.debouncedUpdateChatInput.clear(),this.chatExtrasStore.removeChatInput(this.token),this.chatExtrasStore.setShowScheduledMessages(!1),this.hasText||this.dialog&&this.upload){let e={message:this.text.trim(),token:this.token,silent:this.silentChat};this.threadId&&(e.threadId=this.threadId,e.isThread=!0),this.parentMessage&&(e.parent=this.parentMessage),this.threadCreating&&(e.threadTitle=this.threadTitle.trim(),e.threadReplies=0,e.isThread=!0);let t=this.createTemporaryMessage(e);this.text="",this.chatExtrasStore.removeThreadTitle(this.token),this.$router.replace({query:this.$route.query,hash:""}),iZ.emit("scroll-chat-to-bottom",{smooth:!0,force:!0}),this.chatExtrasStore.removeParentIdToReply(this.token),this.dialog?await this.submitMessage(this.token,t):await this.postMessage(this.token,t),this.resetTypingIndicator()}}},async postMessage(e,t){try{await this.$store.dispatch("postNewMessage",{token:e,temporaryMessage:t})}catch(e){console.error(e)}},async submitMessage(e,t){this.$emit("submit",{token:e,temporaryMessage:t})},async handleSubmitSpam(e){console.debug("Sending "+e+" lorem ipsum messages");for(let t=0;tnew Promise(t=>setTimeout(t,e)),handleRetryMessage(e){if(""===this.text){let t=this.$store.getters.message(this.token,e);t&&(this.text=t.message||this.text,t.parent&&this.chatExtrasStore.setParentIdToReply({token:this.token,id:t.parent.id}),this.$store.dispatch("removeTemporaryMessageFromStore",{token:this.token,id:e}))}},setCreateThread(e){e?(this.chatExtrasStore.setThreadTitle(this.token,""),this.chatExtrasStore.removeParentIdToReply(this.token),this.chatExtrasStore.removeMessageIdToEdit(this.token),this.$nextTick(()=>{this.threadTitleInputRef.focus()})):(this.chatExtrasStore.removeThreadTitle(this.token),this.chatExtrasStore.removeMessageIdToEdit(this.token),this.chatExtrasStore.setScheduleMessageTime(null))},async showFilePicker(){let e=(0,$.g)((0,K.t)("spreed","File to share")).setMultiSelect(!0).allowDirectories(!0).addButton({label:(0,K.t)("spreed","Choose"),callback:e=>this.handleFileShare(e),variant:"primary"}).build();await e.pickNodes()},handleFileShare(e){e.forEach(({path:e})=>{if(console.debug(`path ${e} selected for sharing`),!e.startsWith("/"))throw Error((0,K.t)("files","Invalid path selected"));this.focusInput();let t=JSON.stringify(Object.assign(this.threadId?{threadId:this.threadId}:{},this.parentMessage?.id?{replyTo:this.parentMessage?.id}:{}));this.chatExtrasStore.removeParentIdToReply(this.token),this.$store.dispatch("shareFile",{token:this.token,path:e,talkMetaData:t})})},handleOpenTributeMenu(){this.$refs.richContenteditable.showTribute("/")},openFileUploadWindow(){this.$refs.fileUploadInput.click()},updateNewFileDialog(e){this.showNewFileDialog=e},handleFileInput(e){let t=Object.values(e.target.files);this.handleFiles(t),e.target.value=""},async handlePastedFiles(e){if(this.messageToEdit||this.scheduleMessageTime||(e.preventDefault(),this.clipboardTimeStamp===e.timeStamp))return;this.clipboardTimeStamp=e.timeStamp;let t=esb(e);"file"===t.kind?this.handleFiles(t.files,!0):this.handleTyping()},handleFiles(e,t=!1,i=!1){if(!this.canUploadFiles)return void(0,$.k)((0,K.t)("spreed","File upload is not available in this conversation"));let n=this.currentUploadId??new Date().getTime();this.$store.dispatch("initialiseUpload",{files:e,token:this.token,threadId:this.threadId,uploadId:n,rename:t,isVoiceMessage:i})},preserveSelectionRange(){this.preservedSelectionRange=esy(this.getContenteditable())},restoreSelectionRange(){esF(this.preservedSelectionRange,this.getContenteditable()),this.preservedSelectionRange=null},addEmoji(e){esC(e,this.getContenteditable(),this.preservedSelectionRange),this.$refs.richContenteditable.updateValue(this.getContenteditable().innerHTML)},handleAudioFile(e){this.handleFiles([e],!1,!0)},handleRecording(e){this.isRecordingAudio=e},async focusInput(){this.isMobileDevice||(await (0,z.dY)(),this.$refs.richContenteditable.focus(),this.restoreSelectionRange())},blurInput(){document.activeElement.blur()},handleInputEsc(){if(this.messageToEdit){this.handleAbortEdit(),this.focusInput();return}this.blurInput()},handleEditLastMessage(e){if(!this.canEditMessage||this.text||this.dialog||this.isRecordingAudio)return;let t=this.chatStore.getMessagesList(this.token,{threadId:this.threadId}).findLast(e=>this.actorStore.checkIfSelfIsActor(e)&&!e.isTemporary&&!e.systemMessage&&Date.now()-1e3*e.timestamp[(0,z.Lk)("div",{class:"upload-editor",onDragover:t[1]||(t[1]=(0,z.D$)((...e)=>a.handleDragOver&&a.handleDragOver(...e),["prevent"])),onDragleave:t[2]||(t[2]=(0,z.D$)((...e)=>a.handleDragLeave&&a.handleDragLeave(...e),["prevent"])),onDrop:t[3]||(t[3]=(0,z.D$)((...e)=>a.handleDropFiles&&a.handleDropFiles(...e),["prevent"]))},[a.isVoiceMessage?((0,z.uX)(),(0,z.Wv)(d,{key:1,name:a.voiceMessageName,localUrl:a.voiceMessageLocalURL},null,8,["name","localUrl"])):((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.Lk)("h2",{id:n.dialogHeaderId,class:"hidden-visually"},(0,z.v_)(a.t("spreed","Upload from device")),9,esD),(0,z.Lk)("input",{id:"file-upload",ref:"fileUploadInput",multiple:"",type:"file",class:"hidden-visually",onChange:t[0]||(t[0]=(...e)=>a.handleFileInput&&a.handleFileInput(...e))},null,544),(0,z.bF)(u,{class:(0,z.C4)(["upload-editor__previews",{"dragging-over":n.isDraggingOver}]),name:"fade",tag:"div",group:""},{default:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.files,e=>((0,z.uX)(),(0,z.Wv)(s,{key:e[1].temporaryMessage.id,token:n.token,isUploadEditor:"",file:e[1].temporaryMessage.messageParameters.file,onRemoveFile:a.handleRemoveFileFromSelection},null,8,["token","file","onRemoveFile"]))),128)),(0,z.bF)(l,{"aria-label":a.addMoreAriaLabel,variant:"tertiary",class:"add-more-button",size:"large",onClick:a.clickImportInput},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{size:48})]),_:1},8,["aria-label","onClick"])]),_:1},8,["class"])],64)),a.supportMediaCaption?((0,z.uX)(),(0,z.Wv)(c,{key:3,ref:"newMessage",role:"region",class:"upload-editor__textfield",upload:"",dialog:"",token:n.token,container:n.modalContainerId,"aria-label":a.t("spreed","Post message"),onSubmit:a.handleUpload,onDismiss:a.handleDismiss},null,8,["token","container","aria-label","onSubmit","onDismiss"])):((0,z.uX)(),(0,z.CE)("div",esT,[(0,z.bF)(l,{variant:"tertiary",onClick:a.handleDismiss},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Dismiss")),1)]),_:1},8,["onClick"]),(0,z.bF)(l,{ref:"submitButton",variant:"primary",onClick:a.handleLegacyUpload},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Send")),1)]),_:1},8,["onClick"])]))],32)]),_:1},8,["id","size","labelId","onClose"])):(0,z.Q3)("",!0)}let esI={name:"NewMessageUploadEditor",components:{NcModal:L_.N,FilePreview:eek,IconPlus:zM,AudioPlayer:eeh,NcButton:e7.A,NewMessage:esx,TransitionWrapper:DL},setup(){let e=(0,z.KR)(null),t=(0,z.KR)(!1);return{modalContainerId:e,isDraggingOver:t,dialogMaskId:`new-message-upload-${(0,z.Bi)()}`,dialogHeaderId:`new-message-upload-header-${(0,z.Bi)()}`,token:iQ(),threadId:Y8()}},computed:{supportMediaCaption(){return aG(this.token,"media-caption")},currentUploadId(){return this.$store.getters.currentUploadId},files(){return this.$store.getters.getInitialisedUploads(this.currentUploadId)},showModal(){return!!this.currentUploadId},addMoreAriaLabel:()=>(0,K.t)("spreed","Add more files"),firstFile(){return this.files?.at(0)?.at(1)},isVoiceMessage(){return!!this.firstFile&&this.firstFile.temporaryMessage.messageType===rO},voiceMessageName(){return this.firstFile?.file?.name?this.firstFile.file.name:""},voiceMessageLocalURL(){return this.$store.getters.getLocalUrl(this.firstFile.temporaryMessage.referenceId)}},watch:{async showModal(e){e&&(await this.$nextTick(),this.modalContainerId=`#${this.dialogMaskId}`,this.supportMediaCaption?this.$refs.newMessage.focusInput():this.$refs.submitButton.$el.focus())}},methods:{t:K.t,handleDismiss(){this.$store.dispatch("discardUpload",this.currentUploadId)},handleLegacyUpload(){this.$store.dispatch("uploadFiles",{token:this.token,uploadId:this.currentUploadId,caption:null,options:null})},async handleUpload({token:e,temporaryMessage:t}){if(this.files.length)await this.$store.dispatch("uploadFiles",{token:e,uploadId:this.currentUploadId,caption:t.message,options:{threadId:t.threadId,threadTitle:t.threadTitle,silent:t.silent,parent:t.parent}});else if(this.$store.dispatch("discardUpload",this.currentUploadId),t.message.trim())try{await this.$store.dispatch("postNewMessage",{token:e,temporaryMessage:t})}catch(e){console.error(e)}},clickImportInput(){this.$refs.fileUploadInput.click()},handleFileInput(e){let t=Object.values(e.target.files);this.$store.dispatch("initialiseUpload",{files:t,token:this.token,threadId:this.threadId,uploadId:this.currentUploadId}),this.$refs.fileUploadInput.value=null},handleRemoveFileFromSelection(e){this.$store.dispatch("removeFileFromSelection",e)},handleDragOver(e){e.dataTransfer.types.includes("Files")&&(this.isDraggingOver=!0)},handleDragLeave(e){e.currentTarget.contains(e.relatedTarget)||(this.isDraggingOver=!1)},handleDropFiles(e){if(!this.isDraggingOver)return;this.isDraggingOver=!1;let t=Object.values(e.dataTransfer.files);this.$store.dispatch("initialiseUpload",{files:t,token:this.token,threadId:this.threadId,uploadId:this.currentUploadId})}}},esB=(0,to.default)(esI,[["render",esM],["__scopeId","data-v-57c8f609"]]),esP=["aria-hidden","aria-label"],esL=["fill","width","height"],esN={d:"M10 21H14C14 22.1 13.1 23 12 23S10 22.1 10 21M21 19V20H3V19L5 17V11C5 7.9 7 5.2 10 4.3V4C10 2.9 10.9 2 12 2S14 2.9 14 4V4.3C17 5.2 19 7.9 19 11V17L21 19M17 11C17 8.2 14.8 6 12 6S7 8.2 7 11V18H17V11Z"},esR={key:0};function esj(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon bell-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",esN,[i.title?((0,z.uX)(),(0,z.CE)("title",esR,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,esL))],16,esP)}let esO={name:"BellOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},esz=(0,to.default)(esO,[["render",esj]]),esU=["aria-hidden","aria-label"],esq=["fill","width","height"],esW={d:"M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M17,11A5,5 0 0,0 12,6A5,5 0 0,0 7,11V18H17V11M19.75,3.19L18.33,4.61C20.04,6.3 21,8.6 21,11H23C23,8.07 21.84,5.25 19.75,3.19M1,11H3C3,8.6 3.96,6.3 5.67,4.61L4.25,3.19C2.16,5.25 1,8.07 1,11Z"},esV={key:0};function esH(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon bell-ring-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",esW,[i.title?((0,z.uX)(),(0,z.CE)("title",esV,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,esq))],16,esU)}let es$={name:"BellRingOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},esG=(0,to.default)(es$,[["render",esH]]),esX={[rq.NOTIFY.DEFAULT]:esz,[rq.NOTIFY.ALWAYS]:esG,[rq.NOTIFY.MENTION]:esz,[rq.NOTIFY.NEVER]:j$},esK=[{value:rq.NOTIFY.DEFAULT,label:(0,K.t)("spreed","Default"),description:(0,K.t)("spreed","Follow conversation settings")},{value:rq.NOTIFY.ALWAYS,label:(0,K.t)("spreed","All messages"),description:void 0},{value:rq.NOTIFY.MENTION,label:(0,K.t)("spreed","@-mentions only"),description:void 0},{value:rq.NOTIFY.NEVER,label:(0,K.t)("spreed","Off"),description:void 0}],esY={key:2,class:"conversation-header"},esQ={class:"conversation-header__text"},esZ={class:"title"},esJ={class:"description"},es0=(0,z.pM)({__name:"ThreadHeader",props:{standalone:{type:Boolean}},setup(e){let t=of(),i=oQ(),n=Y8(),r=iQ(),a=ed(),s=(0,z.EW)(()=>i.getThread(r.value,n.value)),o=(0,z.EW)(()=>s.value?.attendee.notificationLevel??rq.NOTIFY.DEFAULT),l=(0,z.EW)(()=>[rq.NOTIFY.ALWAYS,rq.NOTIFY.MENTION].includes(o.value)?"secondary":"tertiary"),u=(0,z.EW)(()=>a.getters.isModerator||s.value?.first?.actorId===t.actorId&&s.value?.first?.actorType===t.actorType);async function d(){await i.renameThread(r.value,n.value)}return(0,z.wB)(s,e=>{n.value&&void 0===e&&i.fetchSingleThread(r.value,n.value)},{immediate:!0}),(t,a)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["thread-header",{"thread-header--standalone":e.standalone}])},[e.standalone?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:0,title:(0,z.R1)(K.t)("spreed","Back"),"aria-label":(0,z.R1)(K.t)("spreed","Back"),onClick:a[0]||(a[0]=e=>n.value=0)},{icon:(0,z.k6)(()=>[(0,z.bF)(iu,{class:"bidirectional-icon",size:20})]),_:1},8,["title","aria-label"])):((0,z.uX)(),(0,z.Wv)(DI,{key:1,class:"bidirectional-icon",size:20})),s.value?((0,z.uX)(),(0,z.CE)("div",esY,[(0,z.Lk)("div",{class:"conversation-header__thread-icon",style:(0,z.Tr)({"--color-thread-icon":(0,z.R1)(TS)(s.value.thread.title).color})},[(0,z.bF)(OJ,{size:20})],4),(0,z.Lk)("div",esQ,[(0,z.Lk)("p",esZ,(0,z.v_)(s.value.thread.title),1),(0,z.Lk)("p",esJ,(0,z.v_)((0,z.R1)(K.n)("spreed","%n reply","%n replies",s.value.thread.numReplies)),1)])])):(0,z.Q3)("",!0),(0,z.bF)((0,z.R1)(e3.A),{"aria-label":(0,z.R1)(K.t)("spreed","Thread notifications"),title:(0,z.R1)(K.t)("spreed","Thread notifications"),variant:l.value},{icon:(0,z.k6)(()=>[((0,z.uX)(),(0,z.Wv)((0,z.$y)((0,z.R1)(esX)[o.value]),{size:20}))]),default:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)((0,z.R1)(esK),e=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(e2.N),{key:e.value,modelValue:o.value.toString(),value:e.value.toString(),description:e.description,type:"radio",closeAfterClick:"",onClick:t=>(0,z.R1)(i).setThreadNotificationLevel((0,z.R1)(r),(0,z.R1)(n),e.value)},{icon:(0,z.k6)(()=>[((0,z.uX)(),(0,z.Wv)((0,z.$y)((0,z.R1)(esX)[e.value]),{size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(e.label),1)]),_:2},1032,["modelValue","value","description","onClick"]))),128))]),_:1},8,["aria-label","title","variant"]),u.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e3.A),{key:3,"aria-label":(0,z.R1)(K.t)("spreed","Thread actions"),title:(0,z.R1)(K.t)("spreed","Thread actions"),forceMenu:""},{default:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e2.N),{key:"rename-thread",closeAfterClick:"",onClick:d},{icon:(0,z.k6)(()=>[(0,z.bF)(z_,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Edit thread details")),1)]),_:1})]),_:1},8,["aria-label","title"])):(0,z.Q3)("",!0)],2))}}),es1=(0,to.default)(es0,[["__scopeId","data-v-81947228"]]),es2={name:"ChatView",components:{ThreadHeader:es1,NcButton:e7.A,NcEmptyContent:PZ.A,NcIconSvgWrapper:SD.A,MessagesList:erm,NewMessage:esx,NewMessageUploadEditor:esB,TransitionWrapper:DL,GuestWelcomeWindow:LQ,IconAccountOutline:P6,IconAlertOctagonOutline:Li,IconChevronDoubleDown:Lu},props:{isVisible:{type:Boolean,default:!0},isSidebar:{type:Boolean,default:!1}},setup:e=>((0,z.Gt)("chatView:isSidebar",e.isSidebar),{IconFileUpload:ea_,token:iQ(),threadId:Y8(),chatExtrasStore:oQ(),actorStore:of(),settingsStore:cK()}),data:()=>({isChatScrolledToBottom:!1,isDraggingOver:!1}),computed:{isGuest(){return this.actorStore.isActorGuest},isGuestWithoutDisplayName(){return this.isGuest&&!this.actorStore.displayName},canUploadFiles(){return aX(this.token,"attachments","allowed")&&this.actorStore.userId&&0!==this.settingsStore.attachmentFolderFreeSpace&&this.conversation.permissions&rq.PERMISSIONS.CHAT&&!this.conversation.remoteServer},isDragAndDropBlocked(){return void 0!==this.chatExtrasStore.getMessageIdToEdit(this.token)||!this.canUploadFiles||this.chatExtrasStore.scheduleMessageTime},dropHintText(){return this.isGuest?(0,K.t)("spreed","You need to be logged in to upload files"):this.isReadOnly?(0,K.t)("spreed","This conversation is read-only"):(0,K.t)("spreed","Drop your files to upload")},isReadOnly(){return this.conversation?this.conversation.readOnly===nJ.STATE.READ_ONLY:void 0},conversation(){return this.$store.getters.conversation(this.token)},isLoadingChat(){return!this.$store.getters.isMessagesListPopulated(this.token)},showGuestWelcomeWindow(){return this.isGuestWithoutDisplayName&&!this.conversation.hasCall&&!this.conversation.objectType!==nJ.OBJECT_TYPE.VIDEO_VERIFICATION}},methods:{t:K.t,handleDragOver(e){e.dataTransfer.types.includes("Files")&&!this.isDragAndDropBlocked&&(this.isDraggingOver=!0)},handleDragLeave(e){e.currentTarget.contains(e.relatedTarget)||(this.isDraggingOver=!1)},handleDropFiles(e){if(!this.isDraggingOver||this.isDragAndDropBlocked||(this.isDraggingOver=!1,this.isGuest||this.isReadOnly))return;let t=Object.values(e.dataTransfer.files),i=new Date().getTime();this.$store.dispatch("initialiseUpload",{files:t,token:this.token,threadId:this.threadId,uploadId:i})},scrollToBottom(){this.$route.hash?this.$router.replace({query:this.$route.query,hash:""}):(iZ.emit("set-context-id-to-bottom"),iZ.emit("scroll-chat-to-bottom",{smooth:!1,force:!0}))}}},es3=(0,to.default)(es2,[["render",PQ],["__scopeId","data-v-7c131aaa"]]),es4=["aria-hidden","aria-label"],es6=["fill","width","height"],es5={d:"M8.27,3L3,8.27V15.73L8.27,21H15.73C17.5,19.24 21,15.73 21,15.73V8.27L15.73,3M9.1,5H14.9L19,9.1V14.9L14.9,19H9.1L5,14.9V9.1"},es8={key:0};function es9(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon octagon-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",es5,[i.title?((0,z.uX)(),(0,z.CE)("title",es8,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,es6))],16,es4)}let es7={name:"OctagonOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eoe=(0,to.default)(es7,[["render",es9]]);function eot(e,t,i,n,r,a){let s=(0,z.g2)("NcEmptyContent");return(0,z.uX)(),(0,z.Wv)(s,{class:"empty-view",name:i.name,description:i.description},{icon:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"icon",{},void 0,!0)]),_:3},8,["name","description"])}let eoi={name:"EmptyView",components:{NcEmptyContent:PZ.A},props:{name:{type:String,required:!0},description:{type:String,required:!0}}},eon=(0,to.default)(eoi,[["render",eot],["__scopeId","data-v-51aa65e6"]]),eor=(0,z.pM)({__name:"ForbiddenView",setup:e=>(e,t)=>((0,z.uX)(),(0,z.Wv)(eon,{name:(0,z.R1)(K.t)("spreed","You do not have permissions to access this conversation."),description:(0,z.R1)(K.t)("spreed","Join a different conversation or start a new one.")},{icon:(0,z.k6)(()=>[(0,z.bF)(eoe)]),_:1},8,["name","description"]))}),eoa=["aria-hidden","aria-label"],eos=["fill","width","height"],eoo={d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},eol={key:0};function eou(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon refresh-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eoo,[i.title?((0,z.uX)(),(0,z.CE)("title",eol,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eos))],16,eoa)}let eod={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eoc=(0,to.default)(eod,[["render",eou]]),eoh=(0,z.pM)({__name:"CallFailedDialog",props:{token:{type:String,required:!0}},setup(e){let t=e,i=ed(),n={400:(0,K.t)("spreed","Recording consent is required"),403:(0,K.t)("spreed","This conversation is read-only"),404:(0,K.t)("spreed","Conversation not found or not joined"),412:(0,K.t)("spreed","Lobby is still active and you're not a moderator")},r=(0,z.EW)(()=>i.getters.connectionFailed(t.token)),a=`connection-failed-${t.token}`,s=(0,z.EW)(()=>{if(!r.value)return"";let e=r.value.meta?.statuscode;return e&&n[e]?n[e]:r.value?.data?.error?r.value.data.error:aN});function o(){i.dispatch("clearConnectionFailed",t.token)}function l(){window.location.reload()}return(e,t)=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(L_.N),{labelId:a,onClose:o},{default:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(PZ.A),{name:(0,z.R1)(K.t)("spreed","Connection failed"),description:s.value},{icon:(0,z.k6)(()=>[(0,z.bF)(Li)]),action:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e7.A),{variant:"primary",onClick:l},{icon:(0,z.k6)(()=>[(0,z.bF)(eoc)]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Reload")),1)]),_:1})]),_:1},8,["name","description"])]),_:1}))}}),eof={class:"lobby"},eom={class:"lobby__header"},eog={class:"lobby__timer"},eop={key:0,class:"lobby__countdown"},eo_=["title"],eov={class:"lobby__description"};function eob(e,t,i,n,r,a){let s=(0,z.g2)("IconRoomServiceOutline"),o=(0,z.g2)("NcRichText"),l=(0,z.g2)("MediaSettings");return(0,z.uX)(),(0,z.CE)("div",eof,[(0,z.Lk)("div",eom,[(0,z.bF)(s,{size:64}),(0,z.Lk)("h2",null,(0,z.v_)(a.currentConversationName),1),(0,z.Lk)("p",eog,(0,z.v_)(a.t("spreed","You are currently waiting in the lobby")),1),a.lobbyTimer?((0,z.uX)(),(0,z.CE)("p",eop,[(0,z.eW)((0,z.v_)(a.message)+" ",1),a.relativeDate?((0,z.uX)(),(0,z.CE)("span",{key:0,class:"lobby__countdown relative-timestamp",title:a.startTime}," - "+(0,z.v_)(a.relativeDate),9,eo_)):(0,z.Q3)("",!0)])):(0,z.Q3)("",!0),(0,z.Lk)("div",eov,[(0,z.bF)(o,{text:a.conversation.description,dir:"auto",autolink:"",useExtendedMarkdown:""},null,8,["text"])])]),(0,z.bF)(l,{isDialog:!1})])}let eoy=["aria-hidden","aria-label"],eoF=["fill","width","height"],eok={d:"M12,5A2,2 0 0,1 14,7C14,7.24 13.96,7.47 13.88,7.69C17.95,8.5 21,11.91 21,16H3C3,11.91 6.05,8.5 10.12,7.69C10.04,7.47 10,7.24 10,7A2,2 0 0,1 12,5M22,19H2V17H22V19M12,9.5C8.89,9.5 6.25,11.39 5.34,14H18.66C17.75,11.39 15.11,9.5 12,9.5Z"},eow={key:0};function eoC(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon room-service-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eok,[i.title?((0,z.uX)(),(0,z.CE)("title",eow,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eoF))],16,eoy)}let eoA={name:"RoomServiceOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eoE=(0,to.default)(eoA,[["render",eoC]]),eoS={class:"media-settings"},eox=["id"],eoD={key:0},eoT={key:1},eoM={class:"media-settings__preview"},eoI={class:"preview__novideo"},eoB={class:"media-settings__toggles"},eoP={class:"media-settings__device-error"},eoL={class:"media-settings__device-error"},eoN={class:"media-settings__settings"};function eoR(e,t,i,n,r,a){let s=(0,z.g2)("NcCheckboxRadioSwitch"),o=(0,z.g2)("NcNoteCard"),l=(0,z.g2)("IconReflectHorizontal"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("VideoBackground"),c=(0,z.g2)("AvatarWrapper"),h=(0,z.g2)("VolumeIndicator"),f=(0,z.g2)("NcIconSvgWrapper"),m=(0,z.g2)("NcPopover"),g=(0,z.g2)("IconVideo"),p=(0,z.g2)("IconVideoOffOutline"),_=(0,z.g2)("MediaDevicesSelector"),b=(0,z.g2)("MediaDevicesSpeakerTest"),y=(0,z.g2)("IconTune"),F=(0,z.g2)("VideoBackgroundEditor"),k=(0,z.g2)("MediaSettingsTabs"),w=(0,z.g2)("SetGuestUsername"),C=(0,z.g2)("CallButton");return r.show?((0,z.uX)(),(0,z.Wv)((0,z.$y)(i.isDialog?"NcModal":"div"),{key:0,size:i.isDialog?"large":void 0,labelId:i.isDialog?n.dialogHeaderId:void 0,onClose:a.close},{default:(0,z.k6)(()=>[(0,z.Lk)("div",eoS,[i.isDialog?((0,z.uX)(),(0,z.CE)("h2",{key:0,id:n.dialogHeaderId,class:"media-settings__title nc-dialog-alike-header"},(0,z.v_)(a.t("spreed","Check devices")),9,eox)):(0,z.Q3)("",!0),a.showRecordingWarning?((0,z.uX)(),(0,z.Wv)(o,{key:1,class:(0,z.C4)({"media-settings__recording-warning--mobile":n.isMobile}),type:"warning"},{default:(0,z.k6)(()=>[a.isCurrentlyRecording?((0,z.uX)(),(0,z.CE)("p",eoD,[(0,z.Lk)("strong",null,(0,z.v_)(a.t("spreed","The call is being recorded.")),1)])):((0,z.uX)(),(0,z.CE)("p",eoT,[(0,z.Lk)("strong",null,(0,z.v_)(a.t("spreed","The call might be recorded.")),1)])),a.isRecordingConsentRequired?((0,z.uX)(),(0,z.CE)(z.FK,{key:2},[(0,z.Lk)("p",null,(0,z.v_)(a.t("spreed","The recording might include your voice, video from camera, and screen share. Your consent is required before joining the call.")),1),(0,z.bF)(s,{class:"checkbox--warning",modelValue:i.recordingConsentGiven,"onUpdate:modelValue":a.setRecordingConsentGiven},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Give consent to the recording of this call")),1)]),_:1},8,["modelValue","onUpdate:modelValue"])],64)):(0,z.Q3)("",!0)]),_:1},8,["class"])):(0,z.Q3)("",!0),(0,z.Lk)("div",{class:(0,z.C4)(["media-settings__content",{"media-settings__content--mobile":n.isMobile}])},[(0,z.Lk)("div",eoM,[(0,z.bo)((0,z.Lk)("video",{ref:"video",class:(0,z.C4)(["preview__video",{"preview__video--mirrored":r.isMirrored}]),disablePictureInPicture:"",tabindex:"-1"},null,2),[[z.aG,a.showVideo]]),a.showVideo?((0,z.uX)(),(0,z.Wv)(u,{key:0,variant:"secondary",class:"media-settings__preview-mirror",title:a.mirrorToggleLabel,"aria-label":a.mirrorToggleLabel,onClick:t[0]||(t[0]=e=>r.isMirrored=!r.isMirrored)},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{size:20})]),_:1},8,["title","aria-label"])):(0,z.Q3)("",!0),(0,z.bo)((0,z.Lk)("div",eoI,[(0,z.bF)(d,{class:"background-preview"}),(0,z.bF)(c,{id:a.userId,token:n.token,name:a.displayName,source:n.actorStore.actorType,size:n.AVATAR.SIZE.EXTRA_LARGE,disableMenu:"",disableTooltip:""},null,8,["id","token","name","source","size"])],512),[[z.aG,!a.showVideo]]),(0,z.Lk)("div",eoB,[n.audioStreamError?((0,z.uX)(),(0,z.Wv)(m,{key:1,title:a.t("spreed","Show more info"),noFocusTrap:""},{trigger:(0,z.k6)(()=>[(0,z.bF)(u,{variant:"error","aria-label":a.t("spreed","Audio is not available")},{icon:(0,z.k6)(()=>[(0,z.bF)(f,{svg:n.IconMicrophoneOffOutline,size:20},null,8,["svg"])]),_:1},8,["aria-label"])]),default:(0,z.k6)(()=>[(0,z.Lk)("p",eoP,(0,z.v_)(a.audioStreamErrorMessage),1)]),_:1},8,["title"])):((0,z.uX)(),(0,z.Wv)(u,{key:0,variant:"tertiary",title:a.audioButtonTitle,"aria-label":a.audioButtonTitle,disabled:!n.audioPreviewAvailable,onClick:a.toggleAudio},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{audioPreviewAvailable:n.audioPreviewAvailable,audioEnabled:r.audioOn,currentVolume:n.currentVolume,volumeThreshold:n.currentThreshold,overlayMutedColor:"#888888"},null,8,["audioPreviewAvailable","audioEnabled","currentVolume","volumeThreshold"])]),_:1},8,["title","aria-label","disabled","onClick"])),n.videoStreamError?((0,z.uX)(),(0,z.Wv)(m,{key:3,title:a.t("spreed","Show more info"),noFocusTrap:""},{trigger:(0,z.k6)(()=>[(0,z.bF)(u,{variant:"error","aria-label":a.t("spreed","Video is not available")},{icon:(0,z.k6)(()=>[(0,z.bF)(p,{size:20})]),_:1},8,["aria-label"])]),default:(0,z.k6)(()=>[(0,z.Lk)("p",eoL,(0,z.v_)(a.videoStreamErrorMessage),1)]),_:1},8,["title"])):((0,z.uX)(),(0,z.Wv)(u,{key:2,variant:"tertiary",title:a.videoButtonTitle,"aria-label":a.videoButtonTitle,disabled:!n.videoPreviewAvailable,onClick:a.toggleVideo},{icon:(0,z.k6)(()=>[r.videoOn?((0,z.uX)(),(0,z.Wv)(g,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(p,{key:1,size:20}))]),_:1},8,["title","aria-label","disabled","onClick"]))])]),(0,z.Lk)("div",eoN,[(0,z.bF)(k,{active:r.tabContent,"onUpdate:active":t[1]||(t[1]=e=>r.tabContent=e),tabs:n.tabs},{"tab-panel:devices":(0,z.k6)(()=>[(0,z.bF)(_,{kind:"audioinput",devices:n.devices,deviceId:n.audioInputId,onRefresh:n.updateDevices,"onUpdate:deviceId":a.handleAudioInputIdChange},null,8,["devices","deviceId","onRefresh","onUpdate:deviceId"]),(0,z.bF)(_,{kind:"videoinput",devices:n.devices,deviceId:n.videoInputId,onRefresh:n.updateDevices,"onUpdate:deviceId":a.handleVideoInputIdChange},null,8,["devices","deviceId","onRefresh","onUpdate:deviceId"]),n.audioOutputSupported?((0,z.uX)(),(0,z.Wv)(_,{key:0,kind:"audiooutput",devices:n.devices,deviceId:n.audioOutputId,onRefresh:n.updateDevices,"onUpdate:deviceId":a.handleAudioOutputIdChange},{extraAction:(0,z.k6)(()=>[(0,z.bF)(b,{disabled:!!n.audioStreamError},null,8,["disabled"])]),_:1},8,["devices","deviceId","onRefresh","onUpdate:deviceId"])):(0,z.Q3)("",!0),(0,z.bF)(u,{variant:"tertiary",wide:"",onClick:a.openAdvancedSettings},{icon:(0,z.k6)(()=>[(0,z.bF)(y,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Microphone settings")),1)]),_:1},8,["onClick"])]),"tab-panel:backgrounds":(0,z.k6)(()=>[(0,z.bF)(F,{class:"media-settings__tab",token:n.token,skipBlurVirtualBackground:r.skipBlurVirtualBackground,onUpdateBackground:a.handleUpdateVirtualBackground},null,8,["token","skipBlurVirtualBackground","onUpdateBackground"])]),_:1},8,["active","tabs"]),a.isGuest?((0,z.uX)(),(0,z.Wv)(w,{key:0,compact:""})):(0,z.Q3)("",!0),a.showStartRecordingOption?((0,z.uX)(),(0,z.Wv)(s,{key:1,modelValue:r.isRecordingFromStart,"onUpdate:modelValue":t[2]||(t[2]=e=>r.isRecordingFromStart=e),class:"checkbox"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Start recording immediately with the call")),1)]),_:1},8,["modelValue"])):(0,z.Q3)("",!0),a.showNotifyCallOption?((0,z.uX)(),(0,z.Wv)(s,{key:2,modelValue:r.notifyCall,"onUpdate:modelValue":[t[3]||(t[3]=e=>r.notifyCall=e),a.setNotifyCall],class:"checkbox"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Notify all participants about this call")),1)]),_:1},8,["modelValue","onUpdate:modelValue"])):(0,z.Q3)("",!0),a.showUpdateChangesButton?((0,z.uX)(),(0,z.Wv)(u,{key:3,class:"action-button",onClick:a.closeModalAndApplySettings},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(r.isDeviceCheck?a.t("spreed","Save"):a.t("spreed","Apply settings")),1)]),_:1},8,["onClick"])):a.isBeforeJoinCall?((0,z.uX)(),(0,z.Wv)(C,{key:4,class:"action-button",isMediaSettings:"",isRecordingFromStart:r.isRecordingFromStart,disabled:a.disabledCallButton,recordingConsentGiven:i.recordingConsentGiven,silentCall:!r.notifyCall},null,8,["isRecordingFromStart","disabled","recordingConsentGiven","silentCall"])):(0,z.Q3)("",!0)])],2)])]),_:1},40,["size","labelId","onClose"])):(0,z.Q3)("",!0)}var eoj=__webpack_require__(86296);let eoO=["aria-hidden","aria-label"],eoz=["fill","width","height"],eoU={d:"M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z"},eoq={key:0};function eoW(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon cog-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eoU,[i.title?((0,z.uX)(),(0,z.CE)("title",eoq,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eoz))],16,eoO)}let eoV={name:"CogOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eoH=(0,to.default)(eoV,[["render",eoW]]),eo$=["aria-hidden","aria-label"],eoG=["fill","width","height"],eoX={d:"M22,20H14A1,1 0 0,1 13,19V4.97C13,4.5 13.31,4.12 13.74,4C14.19,3.88 14.65,4.08 14.87,4.47L22.89,18.5C23.07,18.81 23.07,19.19 22.89,19.5C22.71,19.81 22.38,20 22,20M2,20C1.62,20 1.29,19.81 1.11,19.5C0.93,19.19 0.93,18.81 1.11,18.5L9.13,4.47C9.35,4.08 9.81,3.88 10.26,4C10.69,4.12 11,4.5 11,4.97V19A1,1 0 0,1 10,20H2M9,18V8.74L3.71,18H9Z"},eoK={key:0};function eoY(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon reflect-horizontal-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eoX,[i.title?((0,z.uX)(),(0,z.CE)("title",eoK,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eoG))],16,eo$)}let eoQ={name:"ReflectHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eoZ=(0,to.default)(eoQ,[["render",eoY]]),eoJ=["aria-hidden","aria-label"],eo0=["fill","width","height"],eo1={d:"M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z"},eo2={key:0};function eo3(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon tune-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eo1,[i.title?((0,z.uX)(),(0,z.CE)("title",eo2,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eo0))],16,eoJ)}let eo4={name:"TuneIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eo6=(0,to.default)(eo4,[["render",eo3]]),eo5={class:"username-form"},eo8=["innerHTML"],eo9={key:2,class:"username-form__display-name"},eo7={class:"login-info"},ele=(0,z.pM)({__name:"SetGuestUsername",props:{compact:{type:Boolean,default:!1}},setup(e){let t=`${(0,O.Jv)("/login")}?redirect_url=${encodeURIComponent(window.location.pathname)}`,i=of(),n=hu(),r=iQ(),a=(0,z.rk)("usernameInput"),s=(0,z.EW)({get:()=>n.guestUserName,set:e=>{n.guestUserName=e,d()}}),o=(0,z.KR)(!1),l=(0,z.EW)(()=>i.displayName||s.value),u=(0,z.EW)(()=>(0,K.t)("spreed","Display name: {name}",{name:`${Sx()(l.value)}`},{escape:!1})),d=(0,Y.A)(f,1e4);(0,z.wB)(l,e=>{e&&e!==s.value&&(s.value=e)});let c=!1;function h(e){e.displayName&&e.displayName!==s.value&&(s.value=e.displayName,f())}function f(){s.value&&(n.submitGuestUsername(r.value,s.value),o.value=!1)}function m(){o.value=!o.value,o.value&&(0,z.dY)(()=>{a.value.focus()})}return s.value&&!i.displayName&&(i.setDisplayName(s.value),c=!0),iZ.once("joined-conversation",()=>{s.value&&c&&(console.debug("Saving guest name from browser storage to the session"),f())}),(0,G.B1)("user:info:changed",h),(0,z.xo)(()=>{(0,G.al)("user:info:changed",h),d.flush?.()}),(i,n)=>((0,z.uX)(),(0,z.CE)("div",eo5,[e.compact?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("h3",{key:0,innerHTML:u.value},null,8,eo8)),o.value||e.compact?((0,z.uX)(),(0,z.CE)("div",eo9,[(0,z.bF)(P6,{class:"username-form__display-name-icon",size:20}),(0,z.bF)((0,z.R1)(oD.A),{ref_key:"usernameInput",ref:a,modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=e=>s.value=e),placeholder:(0,z.R1)(K.t)("spreed","Guest"),class:"username-form__input",label:(0,z.R1)(K.t)("spreed","Display name (required)"),showTrailingButton:!!s.value&&!e.compact,trailingButtonIcon:"arrowEnd",trailingButtonLabel:(0,z.R1)(K.t)("spreed","Save name"),onTrailingButtonClick:n[1]||(n[1]=t=>e.compact?null:f()),onKeydown:[n[2]||(n[2]=(0,z.jR)(t=>e.compact?null:f(),["enter"])),(0,z.jR)(m,["esc"])]},null,8,["modelValue","placeholder","label","showTrailingButton","trailingButtonLabel"])])):((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:1,onClick:m},{icon:(0,z.k6)(()=>[(0,z.bF)(z_,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)((0,z.R1)(K.t)("spreed","Edit display name"))+" ",1)]),_:1})),(0,z.Lk)("div",eo7,[(0,z.Lk)("span",null,(0,z.v_)((0,z.R1)(K.t)("spreed","Do you already have an account?")),1),(0,z.bF)((0,z.R1)(e7.A),{class:"login-info__button",variant:"secondary",href:t},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)((0,z.R1)(K.t)("spreed","Log in")),1)]),_:1})])]))}}),elt=(0,to.default)(ele,[["__scopeId","data-v-7ed64efc"]]),eli=["aria-hidden","aria-label"],eln=["fill","width","height"],elr={d:"M15,8V16H5V8H15M16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5V7A1,1 0 0,0 16,6Z"},ela={key:0};function els(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon video-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",elr,[i.title?((0,z.uX)(),(0,z.CE)("title",ela,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eln))],16,eli)}let elo={name:"VideoOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ell=(0,to.default)(elo,[["render",els]]),elu='\n \n',eld={class:"media-devices-selector"},elc=(0,z.pM)({__name:"MediaDevicesSelector",props:{kind:{},devices:{},deviceId:{default:void 0},enabled:{type:Boolean,default:!0}},emits:["refresh","update:deviceId"],setup(e,{emit:t}){let i=e,n=t,r=(0,z.EW)(()=>{let e=i.devices.filter(e=>e.kind===i.kind).map(e=>({id:e.deviceId,label:e.label||e.fallbackLabel}));return"audiooutput"===i.kind?e:[...e,{id:null,label:(0,K.t)("spreed","None")}]}),a=(0,z.EW)(()=>r.value.length>1),s=(0,z.EW)(()=>{switch(i.kind){case"audioinput":return QI;case"audiooutput":return(0,z.h)(SD.A,{svg:elu,size:20});case"videoinput":return ell;default:return null}}),o=(0,z.EW)(()=>{switch(i.kind){case"audioinput":return a.value?(0,K.t)("spreed","Select microphone"):(0,K.t)("spreed","No microphone available");case"audiooutput":return a.value?(0,K.t)("spreed","Select speaker"):(0,K.t)("spreed","No speaker available");case"videoinput":return a.value?(0,K.t)("spreed","Select camera"):(0,K.t)("spreed","No camera available");default:return""}}),l=(0,z.EW)({get:()=>r.value.find(e=>e.id===i.deviceId)??null,set:e=>{u(e?.id??null)}});function u(e){e===i.deviceId||i.deviceId&&!r.value.find(e=>e.id===i.deviceId)||void 0!==i.deviceId&&n("update:deviceId",e)}return(t,n)=>((0,z.uX)(),(0,z.CE)("div",eld,[((0,z.uX)(),(0,z.Wv)((0,z.$y)(s.value),{class:"media-devices-selector__icon",title:"",size:20})),(0,z.bF)((0,z.R1)(YX.default),{modelValue:l.value,"onUpdate:modelValue":n[0]||(n[0]=e=>l.value=e),inputId:`device-selector-${i.kind}`,options:r.value,label:"label","aria-label-combobox":(0,z.R1)(K.t)("spreed","Select a device"),clearable:!1,placeholder:o.value,disabled:!e.enabled||!a.value,onOpen:n[1]||(n[1]=e=>t.$emit("refresh"))},null,8,["modelValue","inputId","options","aria-label-combobox","placeholder","disabled"]),(0,z.RG)(t.$slots,"extraAction")]))}}),elh=(0,to.default)(elc,[["__scopeId","data-v-4b7f3e48"]]),elf={class:"equalizer"};function elm(e,t,i,n,r,a){let s=(0,z.g2)("NcButton");return(0,z.uX)(),(0,z.Wv)(s,{disabled:i.disabled,class:"media-devices-speaker-test-button",title:a.buttonLabel,"aria-label":a.buttonLabel,variant:"secondary",onClick:a.playTestSound},{icon:(0,z.k6)(()=>[(0,z.Lk)("div",elf,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.equalizerBars,e=>((0,z.uX)(),(0,z.CE)("div",{key:e.key,class:(0,z.C4)(["equalizer__bar",{"equalizer__bar--active":a.isPlayingTestSound}]),style:(0,z.Tr)(e.style)},null,6))),128))])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Test")),1)]),_:1},8,["disabled","title","aria-label","onClick"])}let elg={name:"MediaDevicesSpeakerTest",components:{NcButton:e7.A},props:{disabled:{type:Boolean,default:!1}},setup:()=>({soundsStore:A8()}),computed:{isPlayingTestSound(){return null!==this.soundsStore.audioObjectsPromises.wait},buttonLabel(){return this.isPlayingTestSound?(0,K.t)("spreed","Playing …"):(0,K.t)("spreed","Test speakers")},equalizerBars(){return Array.from([,,,].keys()).map(e=>({key:e,style:{height:this.isPlayingTestSound?100*Math.random()+"%":e%2==0?"40%":"60%",animationDelay:this.isPlayingTestSound?-2*Math.random()+"s":void 0}}))}},beforeUnmount(){this.soundsStore.pauseAudio("wait")},methods:{t:K.t,playTestSound(){this.isPlayingTestSound?this.soundsStore.pauseAudio("wait"):this.soundsStore.playAudio("wait")}}},elp=(0,to.default)(elg,[["render",elm],["__scopeId","data-v-18f3d978"]]),el_={class:"expand-wrapper"},elv={class:"expand-wrapper__content"},elb=(0,z.pM)({__name:"TransitionExpand",props:{show:{type:Boolean},direction:{}},emits:["afterEnter","afterLeave"],setup(e,{emit:t}){let i=t;return(t,n)=>((0,z.uX)(),(0,z.Wv)(z.eB,{name:`expand-${e.direction}`,onAfterEnter:n[0]||(n[0]=e=>i("afterEnter")),onAfterLeave:n[1]||(n[1]=e=>i("afterLeave"))},{default:(0,z.k6)(()=>[(0,z.bo)((0,z.Lk)("div",el_,[(0,z.Lk)("div",elv,[(0,z.RG)(t.$slots,"default")])],512),[[z.aG,e.show]])]),_:3},8,["name"]))}}),ely=(0,to.default)(elb,[["__scopeId","data-v-58435237"]]),elF={class:"tabs"},elk={class:"tab-list",role:"tablist"},elw={class:"tab-panels-container"},elC=["id","inert","aria-hidden","aria-labelledby"],elA=(0,z.pM)({__name:"MediaSettingsTabs",props:{tabs:{},active:{}},emits:["update:active"],setup(e,{emit:t}){let i=e,n=t,r=(0,z.KR)(!!i.active),a=(0,K.V8)(),s=Math.random().toString(36).substring(7),o=(e,t)=>`tab-${s}-${e}-${t}`,l=(0,z.EW)(()=>i.tabs.findIndex(e=>e.id===i.active)),u=(0,z.EW)(()=>-1!==l.value?{transform:`translateX(${(a?1:-1)*l.value*100}%)`}:void 0);function d(e){return e===i.active}function c(e){return r.value&&d(e)}function h(e){d(e)||(n("update:active",e),r.value=!0)}function f(){n("update:active",void 0)}return(t,i)=>((0,z.uX)(),(0,z.CE)("div",elF,[(0,z.Lk)("div",elk,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(e.tabs,e=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{id:o("tab",e.id),key:e.id,role:"tab",variant:c(e.id)?"secondary":"tertiary","aria-selected":c(e.id)?"true":"false","aria-controls":o("panel",e.id),onClick:(0,z.D$)(t=>h(e.id),["stop"])},{icon:(0,z.k6)(()=>[((0,z.uX)(),(0,z.Wv)((0,z.$y)(e.icon),{size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(e.label),1)]),_:2},1032,["id","variant","aria-selected","aria-controls","onClick"]))),128))]),(0,z.bF)(ely,{show:r.value,direction:"vertical",onAfterLeave:f},{default:(0,z.k6)(()=>[(0,z.Lk)("div",elw,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(e.tabs,e=>((0,z.uX)(),(0,z.CE)("div",{id:o("panel",e.id),key:e.id,class:"tab-panel",role:"tabpanel",inert:!d(e.id),"aria-hidden":!d(e.id),"aria-labelledby":o("tab",e.id),style:(0,z.Tr)(u.value)},[(0,z.RG)(t.$slots,`tab-panel:${e.id}`)],12,elC))),128))])]),_:3},8,["show"])]))}}),elE=(0,to.default)(elA,[["__scopeId","data-v-0092cd6a"]]),elS={class:"background-editor"},elx=["aria-label","title","onClick"];function elD(e,t,i,n,r,a){let s=(0,z.g2)("IconCancel"),o=(0,z.g2)("IconBlur"),l=(0,z.g2)("NcIconSvgWrapper"),u=(0,z.g2)("IconFolder"),d=(0,z.g2)("IconCheckBold");return(0,z.uX)(),(0,z.CE)("div",elS,[(0,z.Lk)("button",{key:"clear",class:(0,z.C4)(["background-editor__element",{"background-editor__element--selected":"none"===r.selectedBackground}]),onClick:t[0]||(t[0]=e=>a.handleSelectBackground("none"))},[(0,z.bF)(s,{size:20}),(0,z.eW)(" "+(0,z.v_)(a.t("spreed","None")),1)],2),(0,z.Lk)("button",{key:"blur",class:(0,z.C4)(["background-editor__element",{"background-editor__element--selected":"blur"===r.selectedBackground}]),onClick:t[1]||(t[1]=e=>a.handleSelectBackground("blur"))},[(0,z.bF)(o,{size:20}),(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Blur")),1)],2),n.predefinedBackgrounds?.length?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[n.canUploadBackgrounds?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.Lk)("button",{class:"background-editor__element",onClick:t[2]||(t[2]=(...e)=>a.clickImportInput&&a.clickImportInput(...e))},[(0,z.bF)(l,{svg:n.IconFileUpload,size:20,inline:""},null,8,["svg"]),(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Upload")),1)]),(0,z.Lk)("button",{class:(0,z.C4)(["background-editor__element",{"background-editor__element--selected":a.isCustomBackground}]),onClick:t[3]||(t[3]=(...e)=>a.showFilePicker&&a.showFilePicker(...e))},[(0,z.bF)(u,{size:20}),(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Files")),1)],2)],64)):(0,z.Q3)("",!0),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.predefinedBackgroundsURLs,e=>((0,z.uX)(),(0,z.CE)("button",{key:e,"aria-label":a.ariaLabelForPredefinedBackground(e),title:a.ariaLabelForPredefinedBackground(e),class:(0,z.C4)(["background-editor__element",{"background-editor__element--selected":r.selectedBackground===e}]),style:(0,z.Tr)({"background-image":"url("+e+")"}),onClick:t=>a.handleSelectBackground(e)},[r.selectedBackground===e?((0,z.uX)(),(0,z.Wv)(d,{key:0,size:40,fillColor:"#fff"})):(0,z.Q3)("",!0)],14,elx))),128))],64)):(0,z.Q3)("",!0),(0,z.Lk)("input",{id:"custom-background-file",ref:"fileUploadInput",class:"hidden-visually",multiple:"",type:"file",tabindex:"-1","aria-hidden":"true",onChange:t[4]||(t[4]=(...e)=>a.handleFileInput&&a.handleFileInput(...e))},null,544)])}let elT=["aria-hidden","aria-label"],elM=["fill","width","height"],elI={d:"M14,8.5A1.5,1.5 0 0,0 12.5,10A1.5,1.5 0 0,0 14,11.5A1.5,1.5 0 0,0 15.5,10A1.5,1.5 0 0,0 14,8.5M14,12.5A1.5,1.5 0 0,0 12.5,14A1.5,1.5 0 0,0 14,15.5A1.5,1.5 0 0,0 15.5,14A1.5,1.5 0 0,0 14,12.5M10,17A1,1 0 0,0 9,18A1,1 0 0,0 10,19A1,1 0 0,0 11,18A1,1 0 0,0 10,17M10,8.5A1.5,1.5 0 0,0 8.5,10A1.5,1.5 0 0,0 10,11.5A1.5,1.5 0 0,0 11.5,10A1.5,1.5 0 0,0 10,8.5M14,20.5A0.5,0.5 0 0,0 13.5,21A0.5,0.5 0 0,0 14,21.5A0.5,0.5 0 0,0 14.5,21A0.5,0.5 0 0,0 14,20.5M14,17A1,1 0 0,0 13,18A1,1 0 0,0 14,19A1,1 0 0,0 15,18A1,1 0 0,0 14,17M21,13.5A0.5,0.5 0 0,0 20.5,14A0.5,0.5 0 0,0 21,14.5A0.5,0.5 0 0,0 21.5,14A0.5,0.5 0 0,0 21,13.5M18,5A1,1 0 0,0 17,6A1,1 0 0,0 18,7A1,1 0 0,0 19,6A1,1 0 0,0 18,5M18,9A1,1 0 0,0 17,10A1,1 0 0,0 18,11A1,1 0 0,0 19,10A1,1 0 0,0 18,9M18,17A1,1 0 0,0 17,18A1,1 0 0,0 18,19A1,1 0 0,0 19,18A1,1 0 0,0 18,17M18,13A1,1 0 0,0 17,14A1,1 0 0,0 18,15A1,1 0 0,0 19,14A1,1 0 0,0 18,13M10,12.5A1.5,1.5 0 0,0 8.5,14A1.5,1.5 0 0,0 10,15.5A1.5,1.5 0 0,0 11.5,14A1.5,1.5 0 0,0 10,12.5M10,7A1,1 0 0,0 11,6A1,1 0 0,0 10,5A1,1 0 0,0 9,6A1,1 0 0,0 10,7M10,3.5A0.5,0.5 0 0,0 10.5,3A0.5,0.5 0 0,0 10,2.5A0.5,0.5 0 0,0 9.5,3A0.5,0.5 0 0,0 10,3.5M10,20.5A0.5,0.5 0 0,0 9.5,21A0.5,0.5 0 0,0 10,21.5A0.5,0.5 0 0,0 10.5,21A0.5,0.5 0 0,0 10,20.5M3,13.5A0.5,0.5 0 0,0 2.5,14A0.5,0.5 0 0,0 3,14.5A0.5,0.5 0 0,0 3.5,14A0.5,0.5 0 0,0 3,13.5M14,3.5A0.5,0.5 0 0,0 14.5,3A0.5,0.5 0 0,0 14,2.5A0.5,0.5 0 0,0 13.5,3A0.5,0.5 0 0,0 14,3.5M14,7A1,1 0 0,0 15,6A1,1 0 0,0 14,5A1,1 0 0,0 13,6A1,1 0 0,0 14,7M21,10.5A0.5,0.5 0 0,0 21.5,10A0.5,0.5 0 0,0 21,9.5A0.5,0.5 0 0,0 20.5,10A0.5,0.5 0 0,0 21,10.5M6,5A1,1 0 0,0 5,6A1,1 0 0,0 6,7A1,1 0 0,0 7,6A1,1 0 0,0 6,5M3,9.5A0.5,0.5 0 0,0 2.5,10A0.5,0.5 0 0,0 3,10.5A0.5,0.5 0 0,0 3.5,10A0.5,0.5 0 0,0 3,9.5M6,9A1,1 0 0,0 5,10A1,1 0 0,0 6,11A1,1 0 0,0 7,10A1,1 0 0,0 6,9M6,17A1,1 0 0,0 5,18A1,1 0 0,0 6,19A1,1 0 0,0 7,18A1,1 0 0,0 6,17M6,13A1,1 0 0,0 5,14A1,1 0 0,0 6,15A1,1 0 0,0 7,14A1,1 0 0,0 6,13Z"},elB={key:0};function elP(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon blur-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",elI,[i.title?((0,z.uX)(),(0,z.CE)("title",elB,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,elM))],16,elT)}let elL={name:"BlurIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},elN=(0,to.default)(elL,[["render",elP]]),elR={"1_office":(0,K.t)("spreed","Select virtual office background"),"2_home":(0,K.t)("spreed","Select virtual home background"),"3_abstract":(0,K.t)("spreed","Select virtual abstract background"),"4_beach":(0,K.t)("spreed","Select virtual beach background"),"5_park":(0,K.t)("spreed","Select virtual park background"),"6_theater":(0,K.t)("spreed","Select virtual theater background"),"7_library":(0,K.t)("spreed","Select virtual library background"),"8_space_station":(0,K.t)("spreed","Select virtual space station background")},elj={name:"VideoBackgroundEditor",components:{IconBlur:elN,IconCancel:eiy,IconCheckBold:LC,IconFolder:eap,NcIconSvgWrapper:SD.A},props:{token:{type:String,required:!0},skipBlurVirtualBackground:{type:Boolean,default:!1}},emits:["updateBackground"],setup:()=>({IconFileUpload:ea_,canUploadBackgrounds:aX("local","call","can-upload-background"),predefinedBackgrounds:aX("local","call","predefined-backgrounds"),predefinedBackgroundsV2:aX("local","call","predefined-backgrounds-v2"),settingsStore:cK(),actorStore:of()}),data:()=>({selectedBackground:void 0}),computed:{isCustomBackground(){return"none"!==this.selectedBackground&&"blur"!==this.selectedBackground&&!this.predefinedBackgroundsURLs.includes(this.selectedBackground)},predefinedBackgroundsURLs(){return this.predefinedBackgroundsV2?this.predefinedBackgroundsV2:this.predefinedBackgrounds.map(e=>(0,O.d0)("spreed","backgrounds/"+e))},relativeBackgroundsFolderPath(){return this.settingsStore.attachmentFolder+"/Backgrounds"}},async mounted(){if(this.loadBackground(),null===this.actorStore.userId)return void console.debug("Skip Talk backgrounds folder check and setup for participants that are not logged in");let e="/files/"+this.actorStore.userId+this.relativeBackgroundsFolderPath;try{let t=cB();await t.exists(e)===!1&&await t.createDirectory(e)}catch(e){console.debug(e)}},methods:{t:K.t,handleSelectBackground(e){this.$emit("updateBackground",e),this.selectedBackground=e},clickImportInput(){this.$refs.fileUploadInput.click()},async handleFileInput(e){let t=e.target.files[0];e.target.value="";let i="/files/"+this.actorStore.userId,n=this.settingsStore.attachmentFolder+"/Backgrounds/"+t.name,r=cB(),{uniquePath:a}=await c2(r,i,n);try{let e=await new Blob([t]).arrayBuffer();await r.putFileContents(i+a,e,{contentLength:t.size});let s=await (0,O.Jv)("/core/preview.png?file={path}&x=-1&y={height}&a=1",{path:n,height:1080});this.handleSelectBackground(s)}catch(e){console.debug(e),(0,$.s)((0,K.t)("spreed","Error while uploading the file"))}},async showFilePicker(){let e=(0,$.g)((0,K.t)("spreed","Select a file")).setContainer(".media-settings").startAt(this.relativeBackgroundsFolderPath).setMultiSelect(!1).addButton({label:(0,K.t)("spreed","Confirm"),callback:e=>this.handleFileChoose(e),variant:"primary"}).build();await e.pickNodes()},handleFileChoose(e){let t=e[0]?.path;if(!t)return;if(!t.startsWith("/"))throw Error((0,K.t)("files","Invalid path selected"));let i=(0,O.Jv)("/core/preview.png?file={path}&x=-1&y={height}&a=1",{path:t,height:1080});this.handleSelectBackground(i)},loadBackground(){"true"===ak.getItem("virtualBackgroundEnabled_"+this.token)?ak.getItem("virtualBackgroundType_"+this.token)===ao?this.selectedBackground="blur":ak.getItem("virtualBackgroundType_"+this.token)===al?this.selectedBackground=ak.getItem("virtualBackgroundUrl_"+this.token):this.selectedBackground="none":this.settingsStore.blurVirtualBackgroundEnabled&&!this.skipBlurVirtualBackground?this.selectedBackground="blur":this.selectedBackground="none"},ariaLabelForPredefinedBackground(e){let t=e.split("/").pop().split(".").shift();return elR[t]??(0,K.t)("spreed","Select virtual background from file {fileName}",{fileName:t})}}},elO=(0,to.default)(elj,[["render",elD],["__scopeId","data-v-08754422"]]),elz=void 0!==aX("local","call","start-without-media"),elU=void 0!==aX("local","call","blur-virtual-background"),elq={name:"MediaSettings",components:{AvatarWrapper:Mo,CallButton:Si,MediaDevicesSelector:elh,MediaDevicesSpeakerTest:elp,MediaSettingsTabs:elE,NcActionButton:e2.N,NcActions:e3.A,NcButton:e7.A,NcCheckboxRadioSwitch:eoj.A,NcIconSvgWrapper:SD.A,NcModal:L_.N,NcPopover:ST.N,NcNoteCard:erb.A,VideoBackground:Mu,VideoBackgroundEditor:elO,VolumeIndicator:xT,SetGuestUsername:elt,IconReflectHorizontal:eoZ,IconTune:eo6,IconVideo:xq,IconVideoOffOutline:xK},props:{recordingConsentGiven:{type:Boolean,default:!1},isDialog:{type:Boolean,default:!0}},emits:["update:recordingConsentGiven"],setup(){let e=(0,z.KR)(null),t=aI(),i=hu(),n=cK(),r=`media-settings-header-${(0,z.Bi)()}`,{devices:a,updateDevices:s,updatePreferences:o,currentVolume:l,currentThreshold:u,audioPreviewAvailable:d,videoPreviewAvailable:c,audioInputId:h,audioOutputId:f,videoInputId:m,audioOutputSupported:g,updateAudioStream:p,subscribeToDevices:_,unsubscribeFromDevices:b,audioStreamError:y,videoStreamError:F,virtualBackground:k,registerVideoElement:w}=xv(),C=(0,z.EW)(()=>k.value?.isAvailable()),A={id:"devices",label:(0,K.t)("spreed","Devices"),icon:(0,z.IG)(eoH)},E={id:"backgrounds",label:(0,K.t)("spreed","Backgrounds"),icon:(0,z.IG)(()=>(0,z.h)(SD.A,{svg:xZ}))};return{AVATAR:ah,isInCall:t,guestNameStore:i,settingsStore:n,video:e,devices:a,updateDevices:s,updatePreferences:o,currentVolume:l,currentThreshold:u,audioPreviewAvailable:d,videoPreviewAvailable:c,audioInputId:h,audioOutputId:f,videoInputId:m,audioOutputSupported:g,updateAudioStream:p,subscribeToDevices:_,unsubscribeFromDevices:b,registerVideoElement:w,audioStreamError:y,videoStreamError:F,virtualBackground:k,tabs:(0,z.EW)(()=>C.value?[A,E]:[A]),dialogHeaderId:r,supportStartWithoutMedia:elz,supportDefaultBlurVirtualBackground:elU,actorStore:of(),token:iQ(),isMobile:(0,Z.al)(),IconMicrophoneOffOutline:xx}},data:()=>({show:!1,tabContent:"devices",audioOn:void 0,videoOn:void 0,notifyCall:!0,updatedBackground:void 0,audioDeviceStateChanged:!1,videoDeviceStateChanged:!1,isRecordingFromStart:!1,isPublicShareAuthSidebar:!1,isMirrored:!1,skipBlurVirtualBackground:!1,mediaLoading:!1,isDeviceCheck:!1}),computed:{displayName(){return this.actorStore.displayName},isGuest(){return!this.userId&&this.actorStore.actorType===n1},userId(){return this.actorStore.userId},blurVirtualBackgroundEnabled(){return this.settingsStore.blurVirtualBackgroundEnabled},showVideo(){return this.videoPreviewAvailable&&this.videoOn},audioButtonTitle(){return this.audioPreviewAvailable?this.audioOn?(0,K.t)("spreed","Mute audio"):(0,K.t)("spreed","Unmute audio"):(0,K.t)("spreed","No audio")},videoButtonTitle(){return this.videoPreviewAvailable?this.videoOn?(0,K.t)("spreed","Disable video"):(0,K.t)("spreed","Enable video"):(0,K.t)("spreed","No camera")},mirrorToggleLabel(){return this.isMirrored?(0,K.t)("spreed","Display video as you will see it (mirrored)"):(0,K.t)("spreed","Display video as others will see it")},conversation(){return this.$store.getters.conversation(this.token)||this.$store.getters.dummyConversation},hasCall(){return this.conversation.hasCall},isCurrentlyRecording(){return[nY,nQ,nX,nK].includes(this.conversation.callRecording)},canFullModerate(){return this.conversation.participantType===rq.TYPE.OWNER||this.conversation.participantType===rq.TYPE.MODERATOR},isInLobby(){return this.$store.getters.isInLobby},canModerateRecording(){return this.canFullModerate&&(aX(this.token,"call","recording")||!1)},recordingConsent(){return aX(this.token,"call","recording-consent")},isRecordingConsentRequired(){return this.recordingConsent===nz||this.recordingConsent===nU&&this.conversation.recordingConsent===nZ},isBeforeJoinCall(){return!this.isInCall&&!this.isInLobby&&!this.isDeviceCheck},showRecordingWarning(){return this.isBeforeJoinCall&&(this.isCurrentlyRecording||this.isRecordingConsentRequired)},showNotifyCallOption(){return!this.hasCall&&!this.isPublicShareAuthSidebar&&this.isBeforeJoinCall},showStartRecordingOption(){return!this.hasCall&&this.canModerateRecording&&this.isBeforeJoinCall},showUpdateChangesButton(){return(this.isDeviceCheck||this.isInCall)&&(this.updatedBackground||this.audioDeviceStateChanged||this.videoDeviceStateChanged)},connectionFailed(){return this.$store.getters.connectionFailed(this.token)},startWithoutMediaEnabled(){return this.settingsStore.startWithoutMedia},audioStreamErrorMessage(){if(!this.audioStreamError)return null;if("NotSupportedError"===this.audioStreamError.name&&!window.RTCPeerConnection)return(0,K.t)("spreed","Calls are not supported in your browser");let e="isSecureContext"in window&&!window.isSecureContext,t=this.audioStreamError.message&&this.audioStreamError.message.includes("Only secure origins");return"NotSupportedError"===this.audioStreamError.name&&e||"NotAllowedError"===this.audioStreamError.name&&t?(0,K.t)("spreed","Access to microphone is only possible with HTTPS"):"NotAllowedError"===this.audioStreamError.name?(0,K.t)("spreed","Access to microphone was denied"):(0,K.t)("spreed","Error while accessing microphone")},videoStreamErrorMessage(){if(!this.videoStreamError)return null;if("NotSupportedError"===this.videoStreamError.name&&!window.RTCPeerConnection)return(0,K.t)("spreed","Calls are not supported in your browser");let e="isSecureContext"in window&&!window.isSecureContext,t=this.videoStreamError.message&&this.videoStreamError.message.includes("Only secure origins");return"NotSupportedError"===this.videoStreamError.name&&e||"NotAllowedError"===this.videoStreamError.name&&t?(0,K.t)("spreed","Access to camera is only possible with HTTPS"):"NotAllowedError"===this.videoStreamError.name?(0,K.t)("spreed","Access to camera was denied"):(0,K.t)("spreed","Error while accessing camera")},disabledCallButton(){return this.isRecordingConsentRequired&&!this.recordingConsentGiven||this.isGuest&&!this.guestNameStore.guestUserName.length},forceShowMediaSettings(){return!this.isInCall&&this.isGuest&&this.isDialog}},watch:{show(e){e?(this.subscribeToDevices(),this.$nextTick(()=>{this.registerVideoElement(this.video)}),this.settingsStore.startWithoutMedia?(this.audioOn=!1,ak.setItem("audioDisabled_"+this.token,"true"),this.videoOn=!1,ak.setItem("videoDisabled_"+this.token,"true")):(this.audioOn=!ak.getItem("audioDisabled_"+this.token),this.videoOn=!ak.getItem("videoDisabled_"+this.token)),this.notifyCall="true"!==ak.getItem("silentCall_"+this.token),"true"===ak.getItem("virtualBackgroundEnabled_"+this.token)?ak.getItem("virtualBackgroundType_"+this.token)===ao?this.blurVirtualBackground():ak.getItem("virtualBackgroundType_"+this.token)===al&&this.setVirtualBackgroundImage(ak.getItem("virtualBackgroundUrl_"+this.token)):this.blurVirtualBackgroundEnabled&&!this.skipBlurVirtualBackground?this.blurVirtualBackground():this.clearVirtualBackground()):this.unsubscribeFromDevices()},audioInputId(e){"devices"===this.tabContent&&e&&!this.audioOn&&this.toggleAudio()},videoInputId(e){"devices"===this.tabContent&&e&&!this.videoOn&&this.toggleVideo()},isRecordingFromStart(e){this.setRecordingConsentGiven(e)},isInCall(e){if(e){let e="true"===ak.getItem("virtualBackgroundEnabled_"+this.token);!this.blurVirtualBackgroundEnabled||this.skipBlurVirtualBackground||e||this.blurBackground(!0)}else this.skipBlurVirtualBackground=!1},connectionFailed(e){e&&(this.skipBlurVirtualBackground=!1)},hasCall(e){e&&this.forceShowMediaSettings&&this.showMediaSettings()}},beforeMount(){(0,G.B1)("talk:media-settings:show",this.showMediaSettings),(0,G.B1)("talk:media-settings:hide",this.closeModalAndApplySettings)},mounted(){this.isDialog||this.showMediaSettings()},beforeUnmount(){(0,G.al)("talk:media-settings:show",this.showMediaSettings),(0,G.al)("talk:media-settings:hide",this.closeModalAndApplySettings),this.isDialog||this.close()},methods:{t:K.t,showMediaSettings(e){this.show=!0,"video-verification"===e&&(this.isPublicShareAuthSidebar=!0),"device-check"===e?(this.isDeviceCheck=!0,this.tabContent="devices"):"backgrounds"===e&&(this.isDeviceCheck=!0,this.tabContent="backgrounds")},close(){this.show=!1,this.updatedBackground=void 0,this.audioDeviceStateChanged=!1,this.videoDeviceStateChanged=!1,this.isPublicShareAuthSidebar=!1,this.isDeviceCheck=!1,this.isRecordingFromStart=!1,this.isMirrored=!1,this.updatePreferences("audioinput"),this.updatePreferences("audiooutput"),this.updatePreferences("videoinput")},toggleAudio(){this.audioOn?(ak.setItem("audioDisabled_"+this.token,"true"),this.audioOn=!1):(ak.removeItem("audioDisabled_"+this.token),this.audioOn=!0),this.audioDeviceStateChanged=!0},toggleVideo(){this.videoOn?(ak.setItem("videoDisabled_"+this.token,"true"),this.videoOn=!1):(ak.removeItem("videoDisabled_"+this.token),this.videoOn=!0),this.videoDeviceStateChanged=!0},setNotifyCall(e){e?ak.removeItem("silentCall_"+this.token):ak.setItem("silentCall_"+this.token,"true")},closeModalAndApplySettings(){this.updatedBackground&&this.handleUpdateBackground(this.updatedBackground),this.audioDeviceStateChanged&&this.isInCall&&(this.audioOn?ES.enableAudio():ES.disableAudio()),this.videoDeviceStateChanged&&this.isInCall&&(this.videoOn?ES.enableVideo():ES.disableVideo()),this.close()},handleUpdateBackground(e){this.blurVirtualBackgroundEnabled&&"blur"!==e&&(this.skipBlurVirtualBackground=!0),"none"===e?this.clearBackground():"blur"===e?this.blurBackground(this.blurVirtualBackgroundEnabled):this.setBackgroundImage(e)},handleUpdateVirtualBackground(e){this.updatedBackground=e,"none"===e?this.clearVirtualBackground():"blur"===e?this.blurVirtualBackground():this.setVirtualBackgroundImage(e)},clearVirtualBackground(){this.virtualBackground.setEnabled(!1)},clearBackground(){this.isInCall?ES.disableVirtualBackground():ak.removeItem("virtualBackgroundEnabled_"+this.token)},blurVirtualBackground(){this.virtualBackground.setEnabled(!0),this.virtualBackground.setVirtualBackground({backgroundType:ao,blurValue:ac})},blurBackground(e=!1){this.isInCall?(ES.enableVirtualBackground(),ES.setVirtualBackgroundBlur(ac,e)):e||(this.skipBlurVirtualBackground=!0,ak.setItem("virtualBackgroundEnabled_"+this.token,"true"),ak.setItem("virtualBackgroundType_"+this.token,ao),ak.setItem("virtualBackgroundBlurStrength_"+this.token,ac))},setVirtualBackgroundImage(e){this.virtualBackground.setEnabled(!0),this.virtualBackground.setVirtualBackground({backgroundType:al,virtualSource:e})},setBackgroundImage(e){this.isInCall?(ES.enableVirtualBackground(),ES.setVirtualBackgroundImage(e)):(ak.setItem("virtualBackgroundEnabled_"+this.token,"true"),ak.setItem("virtualBackgroundType_"+this.token,al),ak.setItem("virtualBackgroundUrl_"+this.token,e))},setRecordingConsentGiven(e){this.$emit("update:recordingConsentGiven",e)},handleAudioInputIdChange(e){this.audioInputId=e,this.audioDeviceStateChanged=!0,this.updatePreferences("audioinput")},handleAudioOutputIdChange(e){this.audioOutputId=e,this.updatePreferences("audiooutput")},handleVideoInputIdChange(e){this.videoInputId=e,this.videoDeviceStateChanged=!0,this.updatePreferences("videoinput")},async openAdvancedSettings(){await (0,oS.S)(xb,{container:".media-settings__settings"})},async setBlurVirtualBackgroundEnabled(e){try{await this.settingsStore.setBlurVirtualBackgroundEnabled(e),e?this.blurVirtualBackground():this.virtualBackground.setEnabled(!1)}catch(e){console.error("Failed to set blur background enabled:",e)}}}},elW={name:"LobbyScreen",components:{NcRichText:YG,IconRoomServiceOutline:eoE,MediaSettings:(0,to.default)(elq,[["render",eoR],["__scopeId","data-v-13b20e4b"]])},setup:()=>({token:iQ()}),computed:{conversation(){return this.$store.getters.conversation(this.token)},currentConversationName(){return this.conversation?this.conversation.displayName:""},lobbyTimer(){return 1e3*this.conversation.lobbyTimer},relativeDate(){return Math.abs(Date.now()-this.lobbyTimer)>ub?"":45e3>Math.abs(Date.now()-this.lobbyTimer)?(0,K.t)("spreed","The meeting will start soon"):uS(this.lobbyTimer)},startTime(){return ux(this.lobbyTimer,"longDateWithTime")},message(){return(0,K.t)("spreed","This meeting is scheduled for {startTime}",{startTime:this.startTime})}},methods:{t:K.t}},elV=(0,to.default)(elW,[["render",eob],["__scopeId","data-v-1005a4d8"]]),elH={key:0,class:"poll-modal"},el$={class:"poll-modal__header"},elG=["id"],elX={class:"poll-modal__summary"},elK={key:0,class:"poll-modal__options"},elY={key:1,class:"results__options"},elQ={class:"results__option-title"},elZ={key:0,class:"percentage"},elJ={key:0,class:"results__option__details"},el0={key:1,class:"results__option-subtitle"},el1={key:2,class:"poll-modal__actions"},el2={key:3,class:"poll-modal__actions"};function el3(e,t,i,n,r,a){let s=(0,z.g2)("IconPoll"),o=(0,z.g2)("NcCheckboxRadioSwitch"),l=(0,z.g2)("PollVotersDetails"),u=(0,z.g2)("IconCheck"),d=(0,z.g2)("NcProgressBar"),c=(0,z.g2)("NcButton"),h=(0,z.g2)("IconFileEditOutline"),f=(0,z.g2)("NcActionButton"),m=(0,z.g2)("NcIconSvgWrapper"),g=(0,z.g2)("NcActionLink"),p=(0,z.g2)("IconFileLockOutline"),_=(0,z.g2)("NcActions"),b=(0,z.g2)("NcLoadingIcon"),y=(0,z.g2)("NcModal");return n.id?((0,z.uX)(),(0,z.Wv)(y,{key:0,size:"small",labelId:n.dialogHeaderId,onClose:a.dismissModal},{default:(0,z.k6)(()=>[n.poll?((0,z.uX)(),(0,z.CE)("div",elH,[(0,z.Lk)("div",el$,[(0,z.bF)(s,{size:20}),(0,z.Lk)("span",{id:n.dialogHeaderId,role:"heading","aria-level":"2"},(0,z.v_)(n.name),9,elG)]),(0,z.Lk)("p",elX,(0,z.v_)(a.pollSummaryText),1),"voting"===n.modalPage?((0,z.uX)(),(0,z.CE)("div",elK,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(n.poll.options,(e,i)=>((0,z.uX)(),(0,z.Wv)(o,{key:"option-"+i,modelValue:a.checked,"onUpdate:modelValue":t[0]||(t[0]=e=>a.checked=e),value:i.toString(),type:a.isMultipleAnswers?"checkbox":"radio",name:"answerType"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e),1)]),_:2},1032,["modelValue","value","type"]))),128))])):"results"===n.modalPage?((0,z.uX)(),(0,z.CE)("div",elY,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(n.poll.options,(e,t)=>((0,z.uX)(),(0,z.CE)("div",{key:t,class:"results__option"},[(0,z.Lk)("div",elQ,[(0,z.Lk)("p",null,(0,z.v_)(e),1),a.hasVotesToDisplay?((0,z.uX)(),(0,z.CE)("p",elZ,(0,z.v_)(a.votePercentage[t]+"%"),1)):(0,z.Q3)("",!0)]),a.getFilteredDetails(t).length>0||a.selfHasVotedOption(t)?((0,z.uX)(),(0,z.CE)("div",elJ,[n.poll.details?((0,z.uX)(),(0,z.Wv)(l,{key:0,token:n.token,details:a.getFilteredDetails(t)},null,8,["token","details"])):(0,z.Q3)("",!0),a.selfHasVotedOption(t)?((0,z.uX)(),(0,z.CE)("p",el0,[(0,z.bF)(u,{size:16}),(0,z.eW)(" "+(0,z.v_)(a.t("spreed","You voted for this option")),1)])):(0,z.Q3)("",!0)])):(0,z.Q3)("",!0),a.hasVotesToDisplay?((0,z.uX)(),(0,z.Wv)(d,{key:1,class:"results__option-progress",value:a.votePercentage[t],size:"medium"},null,8,["value"])):(0,z.Q3)("",!0)]))),128))])):(0,z.Q3)("",!0),a.isPollOpen?((0,z.uX)(),(0,z.CE)("div",el1,["voting"===n.modalPage?((0,z.uX)(),(0,z.Wv)(c,{key:0,variant:"primary",disabled:a.disabled,onClick:a.submitVote},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Submit vote")),1)]),_:1},8,["disabled","onClick"])):((0,z.uX)(),(0,z.Wv)(c,{key:1,variant:"secondary",onClick:t[1]||(t[1]=e=>n.modalPage="voting")},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Change your vote")),1)]),_:1})),a.canEndPoll?((0,z.uX)(),(0,z.Wv)(_,{key:2,forceMenu:""},{default:(0,z.k6)(()=>[n.supportPollDrafts&&a.isModerator?((0,z.uX)(),(0,z.Wv)(f,{key:0,onClick:a.createPollDraft},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Save as draft")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),n.supportPollDrafts?((0,z.uX)(),(0,z.Wv)(g,{key:1,href:n.exportPollURI,download:n.exportPollFileName},{icon:(0,z.k6)(()=>[(0,z.bF)(m,{svg:n.IconFileDownload,size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Export draft to file")),1)]),_:1},8,["href","download"])):(0,z.Q3)("",!0),(0,z.bF)(f,{class:"critical",onClick:a.endPoll},{icon:(0,z.k6)(()=>[(0,z.bF)(p,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","End poll"))+" ",1)]),_:1},8,["onClick"])]),_:1})):(0,z.Q3)("",!0)])):n.supportPollDrafts&&a.selfIsOwnerOrModerator?((0,z.uX)(),(0,z.CE)("div",el2,[(0,z.bF)(_,{forceMenu:""},{default:(0,z.k6)(()=>[a.isModerator?((0,z.uX)(),(0,z.Wv)(f,{key:0,onClick:a.createPollDraft},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Save as draft")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),(0,z.bF)(g,{href:n.exportPollURI,download:n.exportPollFileName},{icon:(0,z.k6)(()=>[(0,z.bF)(m,{svg:n.IconFileDownload,size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Export draft to file")),1)]),_:1},8,["href","download"])]),_:1})])):(0,z.Q3)("",!0)])):((0,z.uX)(),(0,z.Wv)(b,{key:1,class:"poll-modal__loading"}))]),_:1},8,["labelId","onClose"])):(0,z.Q3)("",!0)}let el4=["aria-hidden","aria-label"],el6=["fill","width","height"],el5={d:"M10 20H6V4H13V9H18V12.1L20 10.1V8L14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H10V20M20.2 13C20.3 13 20.5 13.1 20.6 13.2L21.9 14.5C22.1 14.7 22.1 15.1 21.9 15.3L20.9 16.3L18.8 14.2L19.8 13.2C19.9 13.1 20 13 20.2 13M20.2 16.9L14.1 23H12V20.9L18.1 14.8L20.2 16.9Z"},el8={key:0};function el9(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon file-edit-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",el5,[i.title?((0,z.uX)(),(0,z.CE)("title",el8,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,el6))],16,el4)}let el7={name:"FileEditOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eue=(0,to.default)(el7,[["render",el9]]),eut=["aria-hidden","aria-label"],eui=["fill","width","height"],eun={d:"M18 13C16.6 13 15.2 14.1 15.2 15.5V17C14.6 17 14 17.6 14 18.2V21.7C14 22.4 14.6 23 15.2 23H20.7C21.4 23 22 22.4 22 21.8V18.3C22 17.6 21.4 17 20.8 17V15.5C20.8 14.1 19.4 13 18 13M18 14.2C18.8 14.2 19.5 14.7 19.5 15.5V17H16.5V15.5C16.5 14.7 17.2 14.2 18 14.2M6 2C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H12V20H6V4H13V9H18V11C18.7 11 19.4 11.2 20 11.4V8L14 2H6Z"},eur={key:0};function eua(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon file-lock-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eun,[i.title?((0,z.uX)(),(0,z.CE)("title",eur,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eui))],16,eut)}let eus={name:"FileLockOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},euo=(0,to.default)(eus,[["render",eua]]),eul={class:"poll-voters-details__popover",tabindex:"0"},euu={class:"poll-voters-details__display-name"};function eud(e,t,i,n,r,a){let s=(0,z.g2)("AvatarWrapper"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("NcPopover");return(0,z.uX)(),(0,z.Wv)(l,{class:"poll-voters-details",trigger:"hover"},{trigger:(0,z.k6)(()=>[(0,z.bF)(o,{variant:"tertiary-no-background","aria-label":a.t("spreed","Voted participants"),class:"poll-voters-details__button"},{icon:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(i.details.slice(0,8),(e,t)=>((0,z.uX)(),(0,z.Wv)(s,{id:e.actorId,key:t,token:i.token,name:a.getDisplayName(e),source:e.actorType,size:n.AVATAR.SIZE.EXTRA_SMALL,condensed:"",disableMenu:"",disableTooltip:""},null,8,["id","token","name","source","size"]))),128))]),_:1},8,["aria-label"])]),default:(0,z.k6)(()=>[(0,z.Lk)("div",eul,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(i.details,(e,t)=>((0,z.uX)(),(0,z.CE)("div",{key:t,class:"poll-voters-details__list-item"},[(0,z.bF)(s,{id:e.actorId,token:i.token,name:e.actorDisplayName.trim(),source:e.actorType,size:n.AVATAR.SIZE.EXTRA_SMALL,disableMenu:""},null,8,["id","token","name","source","size"]),(0,z.Lk)("p",euu,(0,z.v_)(a.getDisplayName(e)),1)]))),128))])]),_:1})}let euc={name:"PollVotersDetails",components:{AvatarWrapper:Mo,NcButton:e7.A,NcPopover:ST.N},props:{token:{type:String,required:!0},details:{type:Array,required:!0}},setup:()=>({AVATAR:ah}),methods:{t:K.t,getDisplayName:e=>uM(e.actorDisplayName,e.actorType)}},euh=(0,to.default)(euc,[["render",eud],["__scopeId","data-v-69bcaf8c"]]);function euf(e){let t=0,i=[];for(let n=0;nt?(t=e[n],i.length=0,i.push(n)):e[n]===t&&i.push(n);return i}function eum(e,t){if(!t)return e;let i=[],n=[],r=[],a=0,s=0;for(let o in e){let l=e[o]/t*100;i.push(Math.round(l)),n.push(Math.floor(l)),r.push(Math.round(l%1*1e3)),a+=i[o],s+=n[o]}if(100===a)return i;for(let e=100-s;e>0;){let t=euf(r);if(t.length>e)break;for(let i of t)n[i]++,r[i]=0,e--}return n}function eug(e,t="text/plain;charset=US-ASCII",i=""){return"data:"+t+i+","+encodeURIComponent(e)}function eup(e){return eug(JSON.stringify(e,null,2),"application/json;charset=utf-8")}let eu_={name:"PollViewer",components:{NcActions:e3.A,NcActionButton:e2.N,NcActionLink:Tz.N,NcCheckboxRadioSwitch:eoj.A,NcLoadingIcon:te.N,NcModal:L_.N,NcButton:e7.A,NcIconSvgWrapper:SD.A,NcProgressBar:J4,PollVotersDetails:euh,IconCheck:j5,IconFileLockOutline:euo,IconFileEditOutline:eue,IconPoll:QJ},setup(){let e=(0,z.KR)([]),t=(0,z.KR)(""),i=(0,z.KR)(!1),n=`guest-welcome-header-${(0,z.Bi)()}`,r=hv(),a=(0,z.EW)(()=>r.activePoll),s=(0,z.EW)(()=>a.value?.name),o=(0,z.EW)(()=>a.value?.id),l=(0,z.EW)(()=>a.value?.token),u=(0,z.EW)(()=>r.getPoll(l.value,o.value)),d=(0,z.EW)(()=>aG(l.value,"talk-polls-drafts")),c=(0,z.EW)(()=>eup({question:u.value.question,options:u.value.options,resultMode:u.value.resultMode,maxVotes:u.value.maxVotes})),h=`Talk Poll ${new Date().toISOString().slice(0,10)}`;return{IconFileDownload:Y5,isInCall:aI(),actorStore:of(),pollsStore:r,voteToSubmit:e,modalPage:t,loading:i,dialogHeaderId:n,name:s,id:o,token:l,poll:u,supportPollDrafts:d,exportPollURI:c,exportPollFileName:h}},computed:{selfHasVoted(){return this.poll?.votedSelf?.length>0},isPollPublic(){return this.poll?.resultMode===ae},isPollOpen(){return this.poll?.status===r9},isPollClosed(){return this.poll?.status===r7},isMultipleAnswers(){return this.poll?.maxVotes===at},checked:{get(){return this.voteToSubmit},set(e){this.voteToSubmit=Array.isArray(e)?e:[e]}},disabled(){return this.loading||0===this.voteToSubmit.length},isModerator(){return this.$store.getters.isModerator},selfIsOwnerOrModerator(){return this.isModerator||this.poll&&this.actorStore.checkIfSelfIsActor(this.poll)},pollSummaryText(){return this.isPollClosed?(0,K.n)("spreed","Poll results • %n vote","Poll results • %n votes",this.poll?.numVoters):this.isPollPublic&&(this.selfIsOwnerOrModerator||this.selfHasVoted)?(0,K.n)("spreed","Open poll • %n vote","Open poll • %n votes",this.poll?.numVoters):!this.isPollPublic&&this.selfHasVoted?(0,K.t)("spreed","Open poll • You voted already"):(0,K.t)("spreed","Open poll")},canEndPoll(){return this.isPollOpen&&this.selfIsOwnerOrModerator},hasVotesToDisplay(){return 0!==Object.keys(Object(this.poll?.votes)).length},votePercentage(){return eum(Object.keys(Object(this.poll?.options)).map(e=>this.poll?.votes["option-"+e]??0),this.poll.numVoters)}},watch:{modalPage(e){"voting"===e&&this.setVoteData()},id(e){this.pollsStore.hidePollToast(e)},isInCall(e){e||this.pollsStore.hideAllPollToasts()},poll:{immediate:!0,handler(e){e?this.selfHasVoted||this.isPollClosed?this.modalPage="results":this.modalPage="voting":this.modalPage=""}}},mounted(){iZ.on("talk:poll-added",this.showPollToast)},beforeUnmount(){iZ.off("talk:poll-added",this.showPollToast)},methods:{t:K.t,n:K.n,getPollData(){this.poll||this.pollsStore.getPollData({token:this.token,pollId:this.id})},setVoteData(){this.voteToSubmit=this.selfHasVoted?this.poll?.votedSelf.map(e=>e.toString()):[]},showPollToast({token:e,message:t}){this.isInCall&&this.pollsStore.addPollToast({token:e,message:t})},dismissModal(){this.pollsStore.removeActivePoll(),this.voteToSubmit=[]},async submitVote(){this.loading=!0;try{await this.pollsStore.submitVote({token:this.token,pollId:this.id,optionIds:this.voteToSubmit.map(e=>+e)}),this.modalPage="results"}catch(e){console.error(e),this.modalPage="voting"}this.loading=!1},async endPoll(){this.loading=!0;try{await this.pollsStore.endPoll({token:this.token,pollId:this.id}),this.modalPage="results"}catch(e){console.error(e)}this.loading=!1},async createPollDraft(){await this.pollsStore.createPollDraft({token:this.token,form:this.poll})},selfHasVotedOption(e){return this.poll?.votedSelf.includes(e)},getFilteredDetails(e){return(this.poll?.details||[]).filter(t=>t.optionId===e)}}},euv=(0,to.default)(eu_,[["render",el3],["__scopeId","data-v-a63234f0"]]),eub=["title","aria-label"],euy={key:0,class:"conversation-header"},euF={class:"conversation-header__extra-icon"},euk={class:"conversation-header__text"},euw={class:"title"},euC={class:"description"},euA=["data-theme-dark"],euE={class:"title"};function euS(e,t,i,n,r,a){let s=(0,z.g2)("IconArrowLeft"),o=(0,z.g2)("ConversationIcon"),l=(0,z.g2)("IconChevronRight"),u=(0,z.g2)("IconClockOutline"),d=(0,z.g2)("ThreadHeader"),c=(0,z.g2)("NcRichText"),h=(0,z.g2)("NcPopover"),f=(0,z.g2)("TasksCounter"),m=(0,z.g2)("CallTime"),g=(0,z.g2)("IconAccountMultiplePlusOutline"),p=(0,z.g2)("IconAccountMultipleOutline"),_=(0,z.g2)("NcButton"),b=(0,z.g2)("ExtendOneToOneDialog"),y=(0,z.g2)("CalendarEventsDialog"),F=(0,z.g2)("CallButton"),k=(0,z.g2)("TopBarMenu"),w=(0,z.g2)("BreakoutRoomsEditor");return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["top-bar",{"top-bar--sidebar":i.isSidebar,"top-bar--in-call":i.isInCall,"top-bar--authorised":a.getUserId}])},[(0,z.Lk)("a",{class:(0,z.C4)(["top-bar__icon-wrapper",{"top-bar__icon-wrapper--with-action":a.showBackAction}]),role:"button",tabindex:0,title:a.conversationIconLabel,"aria-label":a.conversationIconLabel,onClick:t[0]||(t[0]=(...e)=>a.handleClickAvatar&&a.handleClickAvatar(...e))},[(0,z.bo)((0,z.bF)(s,{class:"top-bar__icon-back bidirectional-icon",size:20},null,512),[[z.aG,a.showBackAction]]),((0,z.uX)(),(0,z.Wv)(o,{key:a.conversation.token,offline:a.isOffline,item:a.conversation,size:i.isSidebar?n.AVATAR.SIZE.COMPACT:n.AVATAR.SIZE.DEFAULT,disableMenu:a.showBackAction,showUserOnlineStatus:"",hideFavorite:!1,hideCall:!1},null,8,["offline","item","size","disableMenu"]))],10,eub),!i.isInCall&&n.chatExtrasStore.showScheduledMessages?((0,z.uX)(),(0,z.CE)("div",euy,[(0,z.bF)(l,{class:"bidirectional-icon",size:20}),(0,z.Lk)("div",euF,[(0,z.bF)(u,{size:20})]),(0,z.Lk)("div",euk,[(0,z.Lk)("p",euw,(0,z.v_)(a.t("spreed","Scheduled messages")),1),(0,z.Lk)("p",euC,(0,z.v_)(a.scheduledDescriptionLabel),1)])])):!i.isInCall&&n.threadId?((0,z.uX)(),(0,z.Wv)(d,{key:1,class:"top-bar__wrapper"})):((0,z.uX)(),(0,z.CE)("div",{key:2,class:"top-bar__wrapper","data-theme-dark":!!i.isInCall||void 0},[(0,z.Lk)("a",{role:"button",class:"conversation-header",onClick:t[1]||(t[1]=(...e)=>a.openConversationSettings&&a.openConversationSettings(...e))},[(0,z.Lk)("div",{class:(0,z.C4)(["conversation-header__text",{"conversation-header__text--offline":a.isOffline}])},[(0,z.Lk)("p",euE,(0,z.v_)(a.conversation.displayName),1),a.showUserStatusAsDescription?((0,z.uX)(),(0,z.CE)("p",{key:0,class:(0,z.C4)(["description",{"description__in-chat":!i.isInCall}])},(0,z.v_)(a.statusMessage),3)):(0,z.Q3)("",!0),a.conversation.description?((0,z.uX)(),(0,z.Wv)(h,{key:1,noFocusTrap:"",delay:500,boundary:e.boundaryElement,popperTriggers:["hover"],triggers:["hover"]},{trigger:(0,z.k6)(({attrs:e})=>[(0,z.Lk)("p",(0,z.v6)(e,{class:["description",{"description__in-chat":!i.isInCall}]}),(0,z.v_)(a.conversation.description),17)]),default:(0,z.k6)(()=>[(0,z.bF)(c,{class:"description__popover",text:a.conversation.description,useExtendedMarkdown:""},null,8,["text"])]),_:1},8,["boundary"])):(0,z.Q3)("",!0)],2)]),a.conversation.type===n.CONVERSATION.TYPE.NOTE_TO_SELF?((0,z.uX)(),(0,z.Wv)(f,{key:0})):(0,z.Q3)("",!0),i.isInCall?((0,z.uX)(),(0,z.Wv)(m,{key:1,start:a.conversation.callStartTime},null,8,["start"])):(0,z.Q3)("",!0),i.isInCall&&a.isModeratorOrUser?((0,z.uX)(),(0,z.Wv)(_,{key:2,title:a.participantsInCallAriaLabel,"aria-label":a.participantsInCallAriaLabel,class:"top-bar__participants-button",variant:"tertiary",onClick:t[2]||(t[2]=e=>a.openSidebar("participants"))},(0,z.eX)({icon:(0,z.k6)(()=>[a.canExtendOneToOneConversation?((0,z.uX)(),(0,z.Wv)(g,{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(p,{key:1,size:20}))]),_:2},[a.canExtendOneToOneConversation?void 0:{name:"default",fn:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.participantsInCall),1)]),key:"0"}]),1032,["title","aria-label"])):!i.isSidebar&&a.canExtendOneToOneConversation?((0,z.uX)(),(0,z.Wv)(b,{key:3,token:n.token},null,8,["token"])):(0,z.Q3)("",!0),a.showCalendarEvents?((0,z.uX)(),(0,z.Wv)(y,{key:4,token:n.token},null,8,["token"])):(0,z.Q3)("",!0),i.isInCall?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(F,{key:5,shrinkOnMobile:""})),(0,z.bF)(k,{token:n.token,showActions:!i.isSidebar,isSidebar:i.isSidebar,onOpenBreakoutRoomsEditor:t[3]||(t[3]=t=>e.showBreakoutRoomsEditor=!0)},null,8,["token","showActions","isSidebar"]),e.showBreakoutRoomsEditor?((0,z.uX)(),(0,z.Wv)(w,{key:6,token:n.token,onClose:t[4]||(t[4]=t=>e.showBreakoutRoomsEditor=!1)},null,8,["token"])):(0,z.Q3)("",!0)],8,euA))],2)}let eux=["aria-hidden","aria-label"],euD=["fill","width","height"],euT={d:"M13 11A3 3 0 1 0 10 8A3 3 0 0 0 13 11M13 7A1 1 0 1 1 12 8A1 1 0 0 1 13 7M17.11 10.86A5 5 0 0 0 17.11 5.14A2.91 2.91 0 0 1 18 5A3 3 0 0 1 18 11A2.91 2.91 0 0 1 17.11 10.86M13 13C7 13 7 17 7 17V19H19V17S19 13 13 13M9 17C9 16.71 9.32 15 13 15C16.5 15 16.94 16.56 17 17M24 17V19H21V17A5.6 5.6 0 0 0 19.2 13.06C24 13.55 24 17 24 17M8 12H5V15H3V12H0V10H3V7H5V10H8Z"},euM={key:0};function euI(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon account-multiple-plus-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",euT,[i.title?((0,z.uX)(),(0,z.CE)("title",euM,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,euD))],16,eux)}let euB={name:"AccountMultiplePlusOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},euP=(0,to.default)(euB,[["render",euI]]),euL=["id"],euN={class:"breakout-rooms-editor__main"},euR={class:"breakout-rooms-editor__caption",for:"room-number"},euj={key:0,class:"breakout-rooms-editor__error-hint"},euO={class:"breakout-rooms-editor__caption"},euz={class:"breakout-rooms-editor__buttons"};function euU(e,t,i,n,r,a){let s=(0,z.g2)("NcInputField"),o=(0,z.g2)("NcCheckboxRadioSwitch"),l=(0,z.g2)("NcButton"),u=(0,z.g2)("BreakoutRoomsParticipantsEditor"),d=(0,z.g2)("NcModal");return(0,z.uX)(),(0,z.Wv)(d,{class:(0,z.C4)({"modal-mask__participants-step":n.isEditingParticipants}),container:i.container,labelId:n.dialogHeaderId,onClose:t[7]||(t[7]=t=>e.$emit("close"))},{default:(0,z.k6)(()=>[(0,z.Lk)("div",{class:(0,z.C4)(["breakout-rooms-editor",{"breakout-rooms-editor__participants-step":n.isEditingParticipants}])},[(0,z.Lk)("h2",{id:n.dialogHeaderId,class:"nc-dialog-alike-header"},(0,z.v_)(a.modalTitle),9,euL),n.isEditingParticipants?((0,z.uX)(),(0,z.Wv)(u,{key:1,token:i.token,roomNumber:n.amount,onClose:t[5]||(t[5]=t=>e.$emit("close")),onBack:t[6]||(t[6]=e=>n.isEditingParticipants=!1),onCreateRooms:a.handleCreateRooms},null,8,["token","roomNumber","onCreateRooms"])):((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.Lk)("div",euN,[(0,z.Lk)("label",euR,(0,z.v_)(a.t("spreed","Number of breakout rooms")),1),n.isInvalidAmount?((0,z.uX)(),(0,z.CE)("p",euj,(0,z.v_)(a.t("spreed","You can create from 1 to 20 breakout rooms.")),1)):(0,z.Q3)("",!0),(0,z.bF)(s,{id:"room-number",ref:"inputField",modelValue:n.amount,"onUpdate:modelValue":t[0]||(t[0]=e=>n.amount=e),class:"breakout-rooms-editor__number-input",type:"number",min:"1",max:"20"},null,8,["modelValue"]),(0,z.Lk)("label",euO,(0,z.v_)(a.t("spreed","Assignment method")),1),(0,z.Lk)("fieldset",null,[(0,z.bF)(o,{modelValue:n.mode,"onUpdate:modelValue":t[1]||(t[1]=e=>n.mode=e),value:"1",name:"mode_radio",type:"radio"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Automatically assign participants")),1)]),_:1},8,["modelValue"]),(0,z.bF)(o,{modelValue:n.mode,"onUpdate:modelValue":t[2]||(t[2]=e=>n.mode=e),value:"2",name:"mode_radio",type:"radio"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Manually assign participants")),1)]),_:1},8,["modelValue"]),(0,z.bF)(o,{modelValue:n.mode,"onUpdate:modelValue":t[3]||(t[3]=e=>n.mode=e),value:"3",name:"mode_radio",type:"radio"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Allow participants to choose")),1)]),_:1},8,["modelValue"])])]),(0,z.Lk)("div",euz,["2"===n.mode?((0,z.uX)(),(0,z.Wv)(l,{key:0,variant:"primary",disabled:n.isInvalidAmount,onClick:t[4]||(t[4]=e=>n.isEditingParticipants=!0)},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Assign participants to rooms")),1)]),_:1},8,["disabled"])):((0,z.uX)(),(0,z.Wv)(l,{key:1,variant:"primary",disabled:n.isInvalidAmount,onClick:a.handleCreateRooms},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Create rooms")),1)]),_:1},8,["disabled","onClick"]))])],64))],2)]),_:1},8,["class","container","labelId"])}let euq={class:"participants-editor"},euW={class:"participants-editor__scroller"},euV={class:"participants-editor__buttons"};function euH(e,t,i,n,r,a){let s=(0,z.g2)("SelectableParticipant"),o=(0,z.g2)("BreakoutRoomItem"),l=(0,z.g2)("IconTrashCanOutline"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("IconArrowLeft"),c=(0,z.g2)("Reload"),h=(0,z.g2)("DotsCircle"),f=(0,z.g2)("NcActionButton"),m=(0,z.g2)("NcActions");return(0,z.uX)(),(0,z.CE)("div",euq,[(0,z.Lk)("ul",euW,[(0,z.bF)(o,{key:"unassigned",class:"participants-editor__section",name:a.t("spreed","Unassigned participants")},{default:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.unassignedParticipants,e=>((0,z.uX)(),(0,z.Wv)(s,{key:e.attendeeId,checked:r.selectedParticipants,"onUpdate:checked":t[0]||(t[0]=e=>r.selectedParticipants=e),value:e.attendeeId,participant:e},null,8,["checked","value","participant"]))),128))]),_:1},8,["name"]),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(r.assignments,(e,i)=>((0,z.uX)(),(0,z.Wv)(o,{key:i,class:"participants-editor__section",name:a.roomName(i)},{default:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(e,e=>((0,z.uX)(),(0,z.Wv)(s,{key:e,checked:r.selectedParticipants,"onUpdate:checked":t[1]||(t[1]=e=>r.selectedParticipants=e),value:r.assignments,participant:a.attendeesById[e]},null,8,["checked","value","participant"]))),128))]),_:2},1032,["name"]))),128))]),(0,z.Lk)("div",euV,[a.breakoutRoomsConfigured?((0,z.uX)(),(0,z.Wv)(u,{key:0,class:"delete",title:a.deleteButtonLabel,"aria-label":a.deleteButtonLabel,variant:"error",onClick:a.deleteBreakoutRooms},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.deleteButtonLabel),1)]),_:1},8,["title","aria-label","onClick"])):(0,z.Q3)("",!0),a.isReorganizingAttendees?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(u,{key:1,variant:"tertiary",onClick:a.goBack},{icon:(0,z.k6)(()=>[(0,z.bF)(d,{class:"bidirectional-icon",size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Back")),1)]),_:1},8,["onClick"])),a.hasAssigned?((0,z.uX)(),(0,z.Wv)(u,{key:2,variant:"tertiary",onClick:a.resetAssignments},{icon:(0,z.k6)(()=>[(0,z.bF)(c,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.resetButtonLabel),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),a.hasSelected?((0,z.uX)(),(0,z.Wv)(m,{key:3,variant:"primary",container:".participants-editor__buttons",placement:"top",menuName:a.t("spreed","Assign")},{default:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(r.assignments,(e,t)=>((0,z.uX)(),(0,z.Wv)(f,{key:t,closeAfterClick:"",onClick:e=>a.assignAttendees(t)},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.roomName(t)),1)]),_:2},1032,["onClick"]))),128))]),_:1},8,["menuName"])):(0,z.Q3)("",!0),(0,z.bF)(u,{disabled:!a.hasAssigned,variant:a.hasUnassigned?"secondary":"primary",onClick:a.handleSubmit},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.confirmButtonLabel),1)]),_:1},8,["disabled","variant","onClick"])])])}let eu$=["aria-hidden","aria-label"],euG=["fill","width","height"],euX={d:"M12 19C13.1 19 14 19.9 14 21S13.1 23 12 23 10 22.1 10 21 10.9 19 12 19M12 1C13.1 1 14 1.9 14 3S13.1 5 12 5 10 4.1 10 3 10.9 1 12 1M6 16C7.1 16 8 16.9 8 18S7.1 20 6 20 4 19.1 4 18 4.9 16 6 16M3 10C4.1 10 5 10.9 5 12S4.1 14 3 14 1 13.1 1 12 1.9 10 3 10M6 4C7.1 4 8 4.9 8 6S7.1 8 6 8 4 7.1 4 6 4.9 4 6 4M18 16C19.1 16 20 16.9 20 18S19.1 20 18 20 16 19.1 16 18 16.9 16 18 16M21 10C22.1 10 23 10.9 23 12S22.1 14 21 14 19 13.1 19 12 19.9 10 21 10M18 4C19.1 4 20 4.9 20 6S19.1 8 18 8 16 7.1 16 6 16.9 4 18 4Z"},euK={key:0};function euY(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon dots-circle-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",euX,[i.title?((0,z.uX)(),(0,z.CE)("title",euK,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,euG))],16,eu$)}let euQ={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},euZ=(0,to.default)(euQ,[["render",euY]]),euJ={class:"breakout-room-item__wrapper"},eu0={class:"breakout-room-item__room-name"};function eu1(e,t,i,n,r,a){let s=(0,z.g2)("IconDotsCircle"),o=(0,z.g2)("IconMenuRightOutline"),l=(0,z.g2)("IconMenuDownOutline"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("IconHandBackLeftOutline"),c=(0,z.g2)("NcActionButton"),h=(0,z.g2)("IconSendOutline"),f=(0,z.g2)("NcActions"),m=(0,z.g2)("SendMessageDialog");return(0,z.uX)(),(0,z.CE)("li",{key:a.roomName,class:"breakout-room-item",onMouseenter:t[4]||(t[4]=e=>r.elementHoveredOrFocused=!0),onMouseleave:t[5]||(t[5]=e=>r.elementHoveredOrFocused=!1)},[(0,z.Lk)("div",euJ,[(0,z.bF)(u,{variant:"tertiary","aria-label":a.toggleParticipantsListLabel,onFocus:t[0]||(t[0]=e=>r.elementHoveredOrFocused=!0),onBlur:t[1]||(t[1]=e=>r.elementHoveredOrFocused=!1),onClick:a.toggleParticipantsVisibility},{icon:(0,z.k6)(()=>[r.elementHoveredOrFocused?r.showParticipants?((0,z.uX)(),(0,z.Wv)(l,{key:2,size:20})):((0,z.uX)(),(0,z.Wv)(o,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(s,{key:0,size:20}))]),_:1},8,["aria-label","onClick"]),(0,z.Lk)("span",eu0,(0,z.v_)(a.roomName),1),a.isParticipantsEditor?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[a.showJoinButton?((0,z.uX)(),(0,z.Wv)(u,{key:0,onClick:a.joinRoom},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Join")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),a.canModerate?((0,z.uX)(),(0,z.Wv)(f,{key:1,inline:+!!a.showAssistanceButton,forceMenu:!a.showAssistanceButton},{default:(0,z.k6)(()=>[a.showAssistanceButton?((0,z.uX)(),(0,z.Wv)(c,{key:0,onClick:a.dismissRequestAssistance},{icon:(0,z.k6)(()=>[(0,z.bF)(d,{size:18})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Dismiss request for assistance")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),(0,z.bF)(c,{onClick:t[2]||(t[2]=e=>r.isDialogOpened=!0)},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Send message to room")),1)]),_:1})]),_:1},8,["inline","forceMenu"])):(0,z.Q3)("",!0),r.isDialogOpened?((0,z.uX)(),(0,z.Wv)(m,{key:2,dialogTitle:a.dialogTitle,token:a.roomToken,onSubmit:a.sentMessageToRoom,onClose:t[3]||(t[3]=e=>r.isDialogOpened=!1)},null,8,["dialogTitle","token","onSubmit"])):(0,z.Q3)("",!0)],64))]),(0,z.bo)((0,z.Lk)("ul",null,[(0,z.RG)(e.$slots,"default",{},void 0,!0)],512),[[z.aG,r.showParticipants]])],32)}let eu2=["aria-hidden","aria-label"],eu3=["fill","width","height"],eu4={d:"M18,9V10.5L12,16.5L6,10.5V9H18M12,13.67L14.67,11H9.33L12,13.67Z"},eu6={key:0};function eu5(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon menu-down-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eu4,[i.title?((0,z.uX)(),(0,z.CE)("title",eu6,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,eu3))],16,eu2)}let eu8={name:"MenuDownOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eu9=(0,to.default)(eu8,[["render",eu5]]),eu7=["aria-hidden","aria-label"],ede=["fill","width","height"],edt={d:"M9,6H10.5L16.5,12L10.5,18H9V6M13.67,12L11,9.33V14.67L13.67,12Z"},edi={key:0};function edn(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon menu-right-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",edt,[i.title?((0,z.uX)(),(0,z.CE)("title",edi,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ede))],16,eu7)}let edr={name:"MenuRightOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eda=(0,to.default)(edr,[["render",edn]]);function eds(e,t,i,n,r,a){let s=(0,z.g2)("NewMessage"),o=(0,z.g2)("NcDialog");return(0,z.uX)(),(0,z.Wv)(o,{ref:"dialog",name:i.dialogTitle,closeOnClickOutside:"",size:"normal","onUpdate:open":t[0]||(t[0]=t=>e.$emit("close"))},{default:(0,z.k6)(()=>[(0,z.bF)(s,{ref:"newMessage",role:"region",class:"send-message-dialog",token:i.token,container:r.modalContainerId,"aria-label":i.dialogTitle,dialog:"",broadcast:i.broadcast,onSubmit:a.handleSubmit},null,8,["token","container","aria-label","broadcast","onSubmit"])]),_:1},8,["name"])}let edo={name:"SendMessageDialog",components:{NcDialog:ox.A,NewMessage:esx},props:{token:{type:String,required:!0},dialogTitle:{type:String,default:""},broadcast:{type:Boolean,default:!1}},emits:["close","submit"],data:()=>({modalContainerId:null}),mounted(){this.modalContainerId="#"+this.$refs.dialog.$el.querySelector(".modal-container")?.id,this.$nextTick(()=>{this.$refs.newMessage.focusInput()})},methods:{t:K.t,handleSubmit(e){this.$emit("submit",e)}}},edl=(0,to.default)(edo,[["render",eds],["__scopeId","data-v-155b9843"]]),edu={name:"BreakoutRoomItem",components:{NcActionButton:e2.N,NcActions:e3.A,NcButton:e7.A,SendMessageDialog:edl,IconDotsCircle:euZ,IconHandBackLeftOutline:tN,IconMenuDownOutline:eu9,IconMenuRightOutline:eda,IconSendOutline:Jt},props:{name:{type:String,default:void 0},breakoutRoom:{type:Object,default:void 0},mainConversation:{type:Object,default:void 0}},setup:()=>({breakoutRoomsStore:oE(),token:iQ()}),data:()=>({showParticipants:!0,isDialogOpened:!1,elementHoveredOrFocused:!1}),computed:{participantType(){return this.breakoutRoom?.participantType},roomName(){return this.isParticipantsEditor?this.name:this.breakoutRoom?.displayName},dialogTitle(){return(0,K.t)("spreed",'Send a message to "{roomName}"',{roomName:this.roomName})},roomToken(){return this.breakoutRoom?.token},showJoinButton(){return this.roomToken!==this.token},canFullModerate(){return!this.isParticipantsEditor&&(this.participantType===rq.TYPE.OWNER||this.participantType===rq.TYPE.MODERATOR)},canModerate(){return!this.isParticipantsEditor&&(this.canFullModerate||this.participantType===rq.TYPE.GUEST_MODERATOR)},showAssistanceButton(){return!this.isParticipantsEditor&&this.canModerate&&this.breakoutRoom?.breakoutRoomStatus===nJ.BREAKOUT_ROOM_STATUS.STATUS_ASSISTANCE_REQUESTED},toggleParticipantsListLabel(){return this.showParticipants?(0,K.t)("spreed","Hide list of participants"):(0,K.t)("spreed","Show list of participants")},isParticipantsEditor(){return void 0!==this.name}},watch:{showAssistanceButton(e){e&&(0,$.k)((0,K.t)("spreed","Assistance requested in {roomName}",{roomName:this.roomName}))}},methods:{t:K.t,dismissRequestAssistance(){this.breakoutRoomsStore.dismissRequestAssistance(this.roomToken)},async joinRoom(){if(this.canModerate)iZ.emit("switch-to-conversation",{token:this.roomToken});else try{this.mainConversation.breakoutRoomMode===nJ.BREAKOUT_ROOM_MODE.FREE&&await this.breakoutRoomsStore.switchToBreakoutRoom({token:this.breakoutRoomsStore.getParentRoomToken(this.roomToken),target:this.roomToken}),iZ.emit("switch-to-conversation",{token:this.roomToken})}catch(e){console.debug(e)}},toggleParticipantsVisibility(){this.showParticipants=!this.showParticipants},async sentMessageToRoom({token:e,temporaryMessage:t,options:i}){try{await this.$store.dispatch("postNewMessage",{token:e,temporaryMessage:t,options:i}),(0,$.i)((0,K.t)("spreed",'The message was sent to "{roomName}"',{roomName:this.roomName})),this.isDialogOpened=!1}catch(e){console.error(e)}}}},edd=(0,to.default)(edu,[["render",eu1],["__scopeId","data-v-4c74f10c"]]),edc=["data-nav-id"],edh=["value","aria-label","disabled"],edf={class:"selectable-participant__content"},edm={class:"selectable-participant__content-name"},edg={key:0,class:"selectable-participant__content-subname"};function edp(e,t,i,n,r,a){let s=(0,z.g2)("AvatarWrapper"),o=(0,z.g2)("IconCheck");return(0,z.uX)(),(0,z.CE)("label",{class:"selectable-participant","data-nav-id":a.participantNavigationId},[(0,z.bo)((0,z.Lk)("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>a.modelProxy=e),value:a.value,"aria-label":a.participantAriaLabel,disabled:n.isLocked,type:"checkbox",class:"selectable-participant__checkbox",onKeydown:t[1]||(t[1]=(0,z.jR)((0,z.D$)((...e)=>a.handleEnter&&a.handleEnter(...e),["stop","prevent"]),["enter"]))},null,40,edh),[[z.lH,a.modelProxy]]),(0,z.bF)(s,{id:a.actorId,token:i.participant.roomToken??"new",name:a.computedName,source:a.actorType,disableMenu:"",disableTooltip:"",preloadedUserStatus:a.preloadedUserStatus,showUserStatus:i.showUserStatus},null,8,["id","token","name","source","preloadedUserStatus","showUserStatus"]),(0,z.Lk)("span",edf,[(0,z.Lk)("span",edm,(0,z.v_)(a.computedName),1),a.participantStatus?((0,z.uX)(),(0,z.CE)("span",edg,(0,z.v_)(a.participantStatus),1)):(0,z.Q3)("",!0)]),n.isBulkSelection?((0,z.uX)(),(0,z.Wv)(o,{key:0,class:"selectable-participant__check-icon",size:20})):(0,z.Q3)("",!0)],8,edc)}let ed_={name:"SelectableParticipant",components:{AvatarWrapper:Mo,IconCheck:j5},props:{participant:{type:Object,required:!0},checked:{type:Array,required:!0},showUserStatus:{type:Boolean,default:!0}},emits:["update:checked","clickParticipant"],setup(e){let t=(0,z.WQ)("bulkParticipantsSelection",!1),i=(0,z.WQ)("lockedParticipants",(0,z.KR)([]));return{isBulkSelection:t,isLocked:(0,z.EW)(()=>i.value.some(t=>t.id===e.participant.id&&t.source===e.participant.source))}},computed:{modelProxy:{get(){return this.checked},set(e){this.isLocked||(this.isBulkSelection?this.$emit("update:checked",e):this.$emit("clickParticipant",this.participant))}},value(){return this.participant.attendeeId||this.participant},actorId(){return this.participant.actorId||this.participant.id},actorType(){return this.participant.actorType||this.participant.source},computedName(){return this.participant.displayName||this.participant.label||(0,K.t)("spreed","Guest")},preloadedUserStatus(){return LH(this.participant)},participantStatus(){return this.actorType===n2?this.participant.invitedActorId??"":this.participant.shareWithDisplayNameUnique??L$(this.participant)},participantAriaLabel(){return(0,K.t)("spreed",'Add participant "{user}"',{user:this.computedName})},participantNavigationId(){return this.participant.actorType&&this.participant.actorId?this.participant.actorType+"_"+this.participant.actorId:this.participant.source+"_"+this.participant.id}},methods:{t:K.t,handleEnter(e){this.isBulkSelection?e.target.click():this.$emit("clickParticipant",this.participant)}}},edv=(0,to.default)(ed_,[["render",edp],["__scopeId","data-v-8b9308ac"]]),edb={name:"BreakoutRoomsParticipantsEditor",components:{NcActions:e3.A,NcActionButton:e2.N,DotsCircle:euZ,Reload:eiS,BreakoutRoomItem:edd,SelectableParticipant:edv,NcButton:e7.A,IconArrowLeft:iu,IconTrashCanOutline:zH},props:{token:{type:String,required:!0},roomNumber:{type:Number,default:void 0},breakoutRooms:{type:Array,default:()=>[]}},emits:["back","close"],setup:()=>((0,z.Gt)("bulkParticipantsSelection",!0),{breakoutRoomsStore:oE()}),data:()=>({selectedParticipants:[],assignments:[]}),computed:{participants(){return this.$store.getters.participantsList(this.token).filter(e=>(e.participantType===rq.TYPE.USER||e.participantType===rq.TYPE.GUEST)&&e.actorType===n0)},attendeesById(){return this.$store.state.participantsStore.attendees[this.token]},unassignedParticipants(){if(0===this.assignments.length)return[];let e=this.assignments.flat();return this.participants.filter(t=>!e.includes(t.attendeeId))},hasSelected(){return this.selectedParticipants.length>0},hasAssigned(){return this.assignments.flat().length>0},hasUnassigned(){return this.unassignedParticipants.length>0},isReorganizingAttendees(){return this.breakoutRooms.length},confirmButtonLabel(){return this.isReorganizingAttendees?(0,K.t)("spreed","Confirm"):(0,K.t)("spreed","Create breakout rooms")},resetButtonLabel:()=>(0,K.t)("spreed","Reset"),conversation(){return this.$store.getters.conversation(this.token)},breakoutRoomsConfigured(){return this.conversation.breakoutRoomMode!==nJ.BREAKOUT_ROOM_MODE.NOT_CONFIGURED},deleteButtonLabel:()=>(0,K.t)("spreed","Delete breakout rooms")},created(){this.initialiseAssignments()},methods:{t:K.t,initialiseAssignments(e){this.isReorganizingAttendees&&!e?this.assignments=this.breakoutRooms.map(e=>{let t=this.$store.getters.participantsList(e.token).map(e=>e.actorId);return this.participants.filter(e=>t.includes(e.actorId)).map(e=>e.attendeeId)}):this.assignments=Array.from(Array(this.isReorganizingAttendees?this.breakoutRooms.length:this.roomNumber),()=>[])},assignAttendees(e){this.selectedParticipants.forEach(t=>{if(this.unassignedParticipants.find(e=>e.attendeeId===t))return void this.assignments[e].push(t);let i=this.assignments.findIndex(e=>e.includes(t));i!==e&&(this.assignments[i].splice(this.assignments[i].findIndex(e=>e===t),1),this.assignments[e].push(t))}),this.selectedParticipants=[]},roomName(e){return this.breakoutRooms[e]?.displayName??(0,K.t)("spreed","Room {roomNumber}",{roomNumber:e+1})},resetAssignments(){this.selectedParticipants=[],this.assignments=[],this.initialiseAssignments(!0)},goBack(){this.$emit("back")},handleSubmit(){this.isReorganizingAttendees?this.reorganizeAttendees():this.createRooms()},createAttendeeMap(){let e={};return this.assignments.forEach((t,i)=>{t.forEach(t=>{e[t]=i})}),JSON.stringify(e)},createRooms(){this.breakoutRoomsStore.configureBreakoutRooms({token:this.token,mode:2,amount:this.roomNumber,attendeeMap:this.createAttendeeMap()}),this.$emit("close")},reorganizeAttendees(){this.breakoutRoomsStore.reorganizeAttendees({token:this.token,attendeeMap:this.createAttendeeMap()}),this.$emit("close")},async deleteBreakoutRooms(){await (0,oS.S)(oT,{container:".participants-editor",name:(0,K.t)("spreed","Delete breakout rooms"),message:(0,K.t)("spreed","Current breakout rooms and settings will be lost"),buttons:[{label:(0,K.t)("spreed","Cancel"),variant:"tertiary",callback:()=>void 0},{label:(0,K.t)("spreed","Delete breakout rooms"),variant:"error",callback:()=>!0}]})&&await this.breakoutRoomsStore.deleteBreakoutRooms(this.token)}}},edy={name:"BreakoutRoomsEditor",components:{BreakoutRoomsParticipantsEditor:(0,to.default)(edb,[["render",euH],["__scopeId","data-v-d0d76cb2"]]),NcButton:e7.A,NcCheckboxRadioSwitch:eoj.A,NcInputField:erS.N,NcModal:L_.N},props:{token:{type:String,required:!0},container:{type:String,default:"body"}},emits:["close"],setup(){let e=(0,z.KR)("1"),t=(0,z.KR)(2),i=(0,z.KR)(""),n=(0,z.KR)(!1),r=(0,z.KR)(!1),a=`breakout-rooms-header-${(0,z.Bi)()}`;return{breakoutRoomsStore:oE(),mode:e,amount:t,attendeeMap:i,isEditingParticipants:n,isInvalidAmount:r,dialogHeaderId:a}},computed:{modalTitle(){return this.isEditingParticipants?(0,K.t)("spreed","Assign participants to rooms"):(0,K.t)("spreed","Configure breakout rooms")}},watch:{amount(e){this.isInvalidAmount=isNaN(e)||!this.$refs.inputField.$refs.input?.checkValidity()}},methods:{t:K.t,async handleCreateRooms(){try{await this.breakoutRoomsStore.configureBreakoutRooms({token:this.token,mode:this.mode,amount:this.amount}),this.$emit("close")}catch(e){console.debug(e)}}}},edF=(0,to.default)(edy,[["render",euU],["__scopeId","data-v-1981bed8"]]);var edk=__webpack_require__(60520);let edw={class:"textarea__main-wrapper"},edC=["id","aria-describedby","disabled","placeholder","value"],edA=["for"],edE=["id"],edS=(0,z.pM)({...{inheritAttrs:!1},__name:"NcTextArea",props:(0,z.zz)({disabled:{type:Boolean},error:{type:Boolean},helperText:{default:void 0},id:{default:()=>(0,Sa.c)()},inputClass:{default:""},label:{default:void 0},labelOutside:{type:Boolean},placeholder:{default:void 0},resize:{default:"both"},success:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){let i=(0,z.fn)(e,"modelValue"),n=e;t({focus:u,select:d});let r=(0,z.OA)(),a=(0,z.rk)("input"),s=(0,z.EW)(()=>n.placeholder||(xs.i?n.label:void 0));(0,z.wB)(()=>n.labelOutside,()=>{n.labelOutside||n.label||Tm.l.warn("[NcTextArea] You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation.")});let o=(0,z.EW)(()=>{let e=[];return n.helperText&&e.push(`${n.id}-helper-text`),"string"==typeof r["aria-describedby"]&&e.push(r["aria-describedby"]),e.join(" ")||void 0});function l(e){let{value:t}=e.target;i.value=t}function u(e){a.value.focus(e)}function d(){a.value.select()}return(e,t)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["textarea",[e.$attrs.class,{"textarea--disabled":e.disabled,"textarea--legacy":(0,z.R1)(xs.i)}]])},[(0,z.Lk)("div",edw,[(0,z.Lk)("textarea",(0,z.v6)({...e.$attrs,class:void 0},{id:e.id,ref:"input","aria-describedby":o.value,"aria-live":"polite",class:["textarea__input",[e.inputClass,{"textarea__input--label-outside":e.labelOutside,"textarea__input--legacy":(0,z.R1)(xs.i),"textarea__input--success":e.success,"textarea__input--error":e.error}]],disabled:e.disabled,placeholder:s.value,style:{resize:e.resize},value:i.value,onInput:l}),null,16,edC),e.labelOutside?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("label",{key:0,class:"textarea__label",for:e.id},(0,z.v_)(e.label),9,edA))]),e.helperText?((0,z.uX)(),(0,z.CE)("p",{key:0,id:`${e.id}-helper-text`,class:(0,z.C4)(["textarea__helper-text-message",{"textarea__helper-text-message--error":e.error,"textarea__helper-text-message--success":e.success}])},[e.success?((0,z.uX)(),(0,z.Wv)(TZ.N,{key:0,class:"textarea__helper-text-message__icon",path:(0,z.R1)(L5.d),inline:""},null,8,["path"])):e.error?((0,z.uX)(),(0,z.Wv)(TZ.N,{key:1,class:"textarea__helper-text-message__icon",path:(0,z.R1)(L5.j),inline:""},null,8,["path"])):(0,z.Q3)("",!0),(0,z.eW)(" "+(0,z.v_)(e.helperText),1)],10,edE)):(0,z.Q3)("",!0)],2))}}),edx=(0,e4._)(edS,[["__scopeId","data-v-a0d5539d"]]),edD=["aria-hidden","aria-label"],edT=["fill","width","height"],edM={d:"M15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4M15,5.9C16.16,5.9 17.1,6.84 17.1,8C17.1,9.16 16.16,10.1 15,10.1A2.1,2.1 0 0,1 12.9,8A2.1,2.1 0 0,1 15,5.9M4,7V10H1V12H4V15H6V12H9V10H6V7H4M15,13C12.33,13 7,14.33 7,17V20H23V17C23,14.33 17.67,13 15,13M15,14.9C17.97,14.9 21.1,16.36 21.1,17V18.1H8.9V17C8.9,16.36 12,14.9 15,14.9Z"},edI={key:0};function edB(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon account-plus-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",edM,[i.title?((0,z.uX)(),(0,z.CE)("title",edI,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,edT))],16,edD)}let edP={name:"AccountPlusOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},edL=(0,to.default)(edP,[["render",edB]]),edN=["aria-hidden","aria-label"],edR=["fill","width","height"],edj={d:"M10,13C9.65,13.59 9.36,14.24 9.19,14.93C6.5,15.16 3.9,16.42 3.9,17V18.1H9.2C9.37,18.78 9.65,19.42 10,20H2V17C2,14.34 7.33,13 10,13M10,4A4,4 0 0,1 14,8C14,8.91 13.69,9.75 13.18,10.43C12.32,10.75 11.55,11.26 10.91,11.9L10,12A4,4 0 0,1 6,8A4,4 0 0,1 10,4M10,5.9A2.1,2.1 0 0,0 7.9,8A2.1,2.1 0 0,0 10,10.1A2.1,2.1 0 0,0 12.1,8A2.1,2.1 0 0,0 10,5.9M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14Z"},edO={key:0};function edz(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon account-search-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",edj,[i.title?((0,z.uX)(),(0,z.CE)("title",edO,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,edR))],16,edN)}let edU={name:"AccountSearchOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},edq=(0,to.default)(edU,[["render",edz]]),edW=["aria-hidden","aria-label"],edV=["fill","width","height"],edH={d:"M19 3H18V1H16V3H8V1H6V3H5C3.89 3 3 3.9 3 5V19C3 20.11 3.9 21 5 21H19C20.11 21 21 20.11 21 19V5C21 3.9 20.11 3 19 3M19 19H5V9H19V19M19 7H5V5H19V7Z"},ed$={key:0};function edG(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon calendar-blank-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",edH,[i.title?((0,z.uX)(),(0,z.CE)("title",ed$,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,edV))],16,edW)}let edX={name:"CalendarBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},edK=(0,to.default)(edX,[["render",edG]]),edY={class:"calendar-event"},edQ=["href","title"],edZ={class:"calendar-event__content"},edJ={class:"calendar-event__header"},ed0={class:"calendar-event__header-text"},ed1=(0,z.pM)({__name:"CalendarEventSmall",props:{name:{},start:{},color:{},isRecurring:{type:Boolean},href:{}},setup:e=>(t,i)=>((0,z.uX)(),(0,z.CE)("li",edY,[(0,z.Lk)("a",{class:(0,z.C4)(["calendar-event__item",{"calendar-event__item--thumb":!e.href}]),href:e.href,title:(0,z.R1)(K.t)("spreed","Open Calendar"),tabindex:0,target:"_blank"},[(0,z.Lk)("span",{class:"calendar-event__badge",style:(0,z.Tr)({backgroundColor:e.color})},null,4),(0,z.Lk)("span",edZ,[(0,z.Lk)("span",edJ,[(0,z.Lk)("span",ed0,(0,z.v_)(e.name),1),e.isRecurring?((0,z.uX)(),(0,z.Wv)(eiS,{key:0,size:13})):(0,z.Q3)("",!0)]),(0,z.bF)(Nk,{time:e.start,calendar:""},null,8,["time"])])],10,edQ)]))}),ed2=(0,to.default)(ed1,[["__scopeId","data-v-3e839eb5"]]);(0,Sr.r)(Sr.A);let ed3={key:0,class:"nc-chip__icon"},ed4={class:"nc-chip__text"},ed6=(0,z.pM)({__name:"NcChip",props:{ariaLabelClose:{default:(0,Sr.a)("Close")},actionsContainer:{default:"body"},text:{default:""},iconPath:{default:void 0},iconSvg:{default:void 0},noClose:{type:Boolean},variant:{default:"secondary"}},emits:["close"],setup(e,{emit:t}){let i=e,n=t,r=(0,z.Ht)(),a=(0,z.EW)(()=>!i.noClose),s=()=>!!r.actions,o=()=>!!(i.iconPath||i.iconSvg||r.icon);return(e,t)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["nc-chip",{[`nc-chip--${e.variant}`]:!0,"nc-chip--no-actions":e.noClose&&!s(),"nc-chip--no-icon":!o()}])},[o()?((0,z.uX)(),(0,z.CE)("span",ed3,[(0,z.RG)(e.$slots,"icon",{},()=>[e.iconPath||e.iconSvg?((0,z.uX)(),(0,z.Wv)(TZ.N,{key:0,inline:"",path:e.iconPath,svg:e.iconPath?void 0:e.iconSvg,size:18},null,8,["path","svg"])):(0,z.Q3)("",!0)],!0)])):(0,z.Q3)("",!0),(0,z.Lk)("span",ed4,[(0,z.RG)(e.$slots,"default",{},()=>[(0,z.eW)((0,z.v_)(e.text),1)],!0)]),a.value||s()?((0,z.uX)(),(0,z.Wv)(Td.N,{key:1,class:"nc-chip__actions",container:e.actionsContainer,forceMenu:!a.value,variant:"tertiary-no-background"},{default:(0,z.k6)(()=>[a.value?((0,z.uX)(),(0,z.Wv)(e2.N,{key:0,closeAfterClick:"",onClick:t[0]||(t[0]=e=>n("close"))},{icon:(0,z.k6)(()=>[(0,z.bF)(TZ.N,{path:(0,z.R1)(L5.b),size:20},null,8,["path"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(e.ariaLabelClose),1)]),_:1})):(0,z.Q3)("",!0),(0,z.RG)(e.$slots,"actions",{},void 0,!0)]),_:3},8,["container","forceMenu"])):(0,z.Q3)("",!0)],2))}}),ed5=(0,e4._)(ed6,[["__scopeId","data-v-8f5d3c40"]]),ed8=(0,z.pM)({__name:"ContactSelectionBubble",props:{participant:{}},emits:["update"],setup(e,{emit:t}){let i=e,n=t,r=(0,z.WQ)("lockedParticipants",(0,z.KR)([])),a=(0,z.EW)(()=>r.value.some(e=>"actorId"in i.participant?"actorId"in e?e.actorId===i.participant.actorId&&e.actorType===i.participant.actorType:e.id===i.participant.actorId&&e.source===i.participant.actorType:"actorId"in e?e.actorId===i.participant.id&&e.actorType===i.participant.source:e.id===i.participant.id&&e.source===i.participant.source)),s=(0,z.EW)(()=>"actorId"in i.participant?i.participant.actorId:i.participant.id),o=(0,z.EW)(()=>"actorId"in i.participant?i.participant.actorType:i.participant.source),l=(0,z.EW)(()=>("actorId"in i.participant?i.participant.displayName:i.participant.label)||(0,K.t)("spreed","Guest")),u=(0,z.EW)(()=>"actorId"in i.participant?i.participant.roomToken:"new"),d=(0,z.EW)(()=>(0,K.t)("spreed","Remove participant {name}",{name:l.value}));return(t,i)=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(ed5),{text:l.value,"aria-label-close":d.value,noClose:a.value,onClose:i[0]||(i[0]=t=>n("update",e.participant))},{icon:(0,z.k6)(()=>[(0,z.bF)(Mo,{id:s.value,token:u.value,name:l.value,source:o.value,size:(0,z.R1)(ah).SIZE.EXTRA_SMALL,disableMenu:"",disableTooltip:""},null,8,["id","token","name","source","size"])]),_:1},8,["text","aria-label-close","noClose"]))}});function ed9(e,t,i,n,r,a){let s=(0,z.g2)("IconMagnify"),o=(0,z.g2)("NcTextField");return(0,z.uX)(),(0,z.Wv)(o,{ref:"searchConversations",modelValue:a.modelValue,"onUpdate:modelValue":t[0]||(t[0]=e=>a.modelValue=e),"aria-label":i.placeholderText,"aria-describedby":i.ariaDescribedby,placeholder:i.placeholderText,showTrailingButton:i.isFocused,trailingButtonLabel:a.cancelSearchLabel,class:"search-box",labelOutside:"",onFocus:a.handleFocus,onBlur:a.handleBlur,onTrailingButtonClick:a.abortSearch,onKeydown:(0,z.jR)(a.abortSearch,["esc"])},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{size:16})]),_:1},8,["modelValue","aria-label","aria-describedby","placeholder","showTrailingButton","trailingButtonLabel","onFocus","onBlur","onTrailingButtonClick","onKeydown"])}let ed7={name:"SearchBox",components:{IconMagnify:ZM,NcTextField:oD.A},props:{placeholderText:{type:String,default:(0,K.t)("spreed","Search …")},value:{type:String,required:!0},isFocused:{type:Boolean,required:!0},listRef:{type:Array,default:null},ariaDescribedby:{type:String,default:void 0}},emits:["update:value","update:isFocused","input","abortSearch","blur","focus"],expose:["focus"],computed:{modelValue:{get(){return this.value},set(e){this.updateValue(e)}},isSearching(){return""!==this.value},cancelSearchLabel:()=>(0,K.t)("spreed","Cancel search")},watch:{isFocused(e){e?this.$nextTick(()=>{this.getTrailingButton()?.addEventListener("keydown",this.handleTrailingKeyDown),this.setTrailingTabIndex()}):this.getTrailingButton()?.removeEventListener("keydown",this.handleTrailingKeyDown)},isSearching(){this.setTrailingTabIndex()}},methods:{t:K.t,updateValue(e){this.$emit("update:value",e),this.$emit("input",e)},focus(){this.$refs.searchConversations.focus()},getTrailingButton(){return this.$refs.searchConversations.$el.querySelector(".input-field__trailing-button")},handleTrailingKeyDown(e){"Enter"===e.key&&(e.stopPropagation(),this.abortSearch())},abortSearch(){this.updateValue(""),this.$emit("update:isFocused",!1),this.$emit("abortSearch")},handleFocus(e){this.$emit("update:isFocused",!0),this.$emit("focus",e)},handleBlur(e){if(e.relatedTarget===this.getTrailingButton()){e.preventDefault(),e.relatedTarget.addEventListener("blur",e=>{this.handleBlur(e)});return}!(this.listRef?.length&&this.listRef.some(t=>t?.$el?.contains(e.relatedTarget)))&&(this.$emit("blur",e),this.isSearching||this.$emit("update:isFocused",!1))},setTrailingTabIndex(){this.isSearching?this.getTrailingButton()?.removeAttribute("tabindex"):this.getTrailingButton()?.setAttribute("tabindex","-1")}}},ece=(0,to.default)(ed7,[["render",ed9]]),ect={key:0},eci={class:"upcoming-meeting__time"},ecn={key:0,class:"calendar-events__list"},ecr={key:2,class:"calendar-events__buttons"},eca={class:"calendar-meeting__flex-wrapper"},ecs={key:0,class:"calendar-meeting__header"},eco={key:1,class:"calendar-meeting--loading"},ecl={key:2},ecu={key:0,class:"calendar-meeting__invalid-hint"},ecd={key:1,class:"calendar-meeting__attendees"},ecc=(0,z.pM)({__name:"CalendarEventsDialog",props:{token:{},container:{}},setup(e){let t=e,i=e=>[...e,"click"],n=ed(),r=uo(),a=(0,Z.al)();(0,z.Gt)("bulkParticipantsSelection",!0);let s=(0,z.KR)(!1),o=(0,z.KR)(!1),l=(0,z.KR)(0===Object.keys(r.calendars).length),u=(0,z.KR)(!1),d=(0,z.EW)(()=>r.calendars),c=(0,z.EW)(()=>{let e=uA(Date.now());return r.getAllEvents(t.token).sort((e,t)=>e.start&&t.start?e.start-t.start:0).map(t=>{let i=t.start?t.start<=e?(0,K.t)("spreed","Now"):1e3*t.start:"",n=d.value[t.calendarUri]?.color??TS(t.calendarUri).color;return{...t,start:i,color:n,href:t.calendarAppUrl??void 0}})}),h=(0,z.EW)(()=>{let e=c.value[0].start;if("string"==typeof e)return e;let t=uD(e);if(0===t)return ux(e,"shortTime");if(t<7)return ux(e,"shortWeekdayWithTime");let i=new Date(e).getFullYear()===new Date().getFullYear();return ux(e,i?"shortDateSameYear":"shortDate")}),f=(0,z.EW)(()=>r.writeableCalendars.map(e=>({value:e.uri,label:e.displayname,color:e.color??TS(e.uri).color}))),m=(0,z.EW)(()=>aG(t.token,"schedule-meeting")&&n.getters.isModerator&&0!==f.value.length&&x.value?.type!==nJ.TYPE.ONE_TO_ONE_FORMER),g=(0,z.KR)(null),p=(0,z.KR)(j(1)),_=(0,z.KR)(j(2)),b=(0,z.KR)(""),y=(0,z.KR)(""),F=(0,z.KR)(null),k=(0,z.EW)(()=>{switch(F.value){case null:return"";case"calendar":return(0,K.t)("spreed","Invalid calendar selected");case"start":return(0,K.t)("spreed","Invalid start time selected");case"end":return(0,K.t)("spreed","Invalid end time selected");default:return(0,K.t)("spreed","Unknown error occurred")}}),w=(0,z.KR)(!0),C=(0,z.KR)([]),A=(0,z.EW)(()=>{if(!C.value?.length)return(0,K.t)("spreed","Sending no invitations");let e=I.value.slice(0,2),t=I.value.length-e.length,i=e.map(e=>uM(e.displayName,e.actorType));if(0!==t)return(0,K.n)("spreed","{participant0}, {participant1} and %n other will receive invitations","{participant0}, {participant1} and %n others will receive invitations",t,{participant0:i[0],participant1:i[1]},{escape:!1,sanitize:!1});switch(i.length){case 1:return(0,K.t)("spreed","{participant0} will receive an invitation",{participant0:i[0]},void 0,{escape:!1,sanitize:!1});case 2:return(0,K.t)("spreed","{participant0} and {participant1} will receive invitations",{participant0:i[0],participant1:i[1]},void 0,{escape:!1,sanitize:!1});default:return""}}),E=(0,z.KR)(""),S=(e="")=>e.toLowerCase().includes(E.value.toLowerCase()),x=(0,z.EW)(()=>n.getters.conversation(t.token)),D=(0,z.EW)(()=>x.value?B.value&&1===n.getters.participantsList(t.token).length?[{id:x.value.name,source:n0,displayName:x.value.displayName}]:n.getters.participantsList(t.token).filter(e=>[n0,n2].includes(e.actorType)&&e.attendeeId!==x.value.attendeeId):[]),T=(0,z.EW)(()=>n.getters.participantsInitialised(t.token)),M=(0,z.EW)(()=>D.value.filter(e=>S(e.displayName)||e.actorType===n0&&S(e.actorId)||e.actorType===n2&&e.invitedActorId&&S(e.invitedActorId))),I=(0,z.EW)(()=>D.value.filter(e=>C.value.includes(e.attendeeId)).sort((e,t)=>e.actorType===n0&&t.actorType===n2?-1:e.actorType===n2&&t.actorType===n0?1:e.actorType!==n2||t.actorType!==n2||e.displayName&&t.displayName?0:e.displayName?-1:1)),B=(0,z.EW)(()=>x.value?.type===nJ.TYPE.ONE_TO_ONE||x.value?.type===nJ.TYPE.ONE_TO_ONE_FORMER),P=(0,z.EW)(()=>B.value?(0,K.t)("spreed","Invite {user}",{user:x.value?.displayName??""}):(0,K.t)("spreed","Invite all users and emails in this conversation")),N=(0,Y.A)(R,500);function R(e){p.value<_.value||("end"===e?_.value=new Date(p.value.getTime()+uv):p.value=new Date(_.value.getTime()-uv))}function j(e){let t=new Date;return t.setHours(t.getHours()+e,0,0,0),t}function O(e){C.value=e?D.value.map(e=>e.attendeeId):[]}function q(e){C.value=C.value.filter(t=>e.attendeeId!==t)}function W(e){w.value=D.value.length===e.length}async function V(){await r.getDefaultCalendarUri(),await r.getPersonalCalendars(),l.value=!1}async function H(){if(!g.value){F.value="calendar";return}if(p.value{V()}),(0,z.wB)(s,e=>{e&&(g.value=f.value.find(e=>e.value===r.defaultCalendarUri)??null,p.value=j(1),_.value=j(2),b.value="",y.value="",C.value=D.value.map(e=>e.attendeeId),E.value="",w.value=!0,F.value=null)}),(0,z.wB)([g,p,_],()=>{F.value=null}),(0,z.wB)(D,e=>{w.value&&(C.value=e.map(e=>e.attendeeId))}),(0,z.wB)(p,()=>N("end")),(0,z.wB)(_,()=>N("start")),(t,n)=>x.value?((0,z.uX)(),(0,z.CE)("div",ect,[(0,z.bF)((0,z.R1)(ST.N),{container:e.container,popperHideTriggers:i,noFocusTrap:!m.value&&0===c.value.length,popupRole:"dialog"},{trigger:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e7.A),{class:"upcoming-meeting",title:(0,z.R1)(K.t)("spreed","Upcoming meetings"),"aria-label":(0,z.R1)(K.t)("spreed","Upcoming meetings")},(0,z.eX)({_:2},[c.value[0]&&!(0,z.R1)(a)?{name:"default",fn:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)((0,z.R1)(K.t)("spreed","Meeting"))+" ",1),(0,z.Lk)("span",eci,(0,z.v_)(h.value),1)]),key:"0"}:{name:"icon",fn:(0,z.k6)(()=>[(0,z.bF)(edK,{size:20})]),key:"1"}]),1032,["title","aria-label"])]),default:(0,z.k6)(()=>[!l.value&&c.value.length?((0,z.uX)(),(0,z.CE)("ul",ecn,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(c.value,e=>((0,z.uX)(),(0,z.Wv)(ed2,{key:e.uri,name:e.summary,start:e.start,href:e.href,color:e.color,isRecurring:!!e.recurrenceId},null,8,["name","start","href","color","isRecurring"]))),128))])):((0,z.uX)(),(0,z.Wv)((0,z.R1)(PZ.A),{key:1,class:"calendar-events__empty-content"},{icon:(0,z.k6)(()=>[l.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(te.N),{key:0})):((0,z.uX)(),(0,z.Wv)(edK,{key:1}))]),description:(0,z.k6)(()=>[(0,z.Lk)("p",null,(0,z.v_)(l.value?(0,z.R1)(K.t)("spreed","Loading …"):(0,z.R1)(K.t)("spreed","No upcoming meetings")),1)]),_:1})),m.value?((0,z.uX)(),(0,z.CE)("div",ecr,[(0,z.bF)((0,z.R1)(e7.A),{wide:"",onClick:n[0]||(n[0]=e=>s.value=!0)},{icon:(0,z.k6)(()=>[(0,z.bF)(zM,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Schedule a meeting")),1)]),_:1})])):(0,z.Q3)("",!0)]),_:1},8,["container","noFocusTrap"]),m.value?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.bF)((0,z.R1)(ox.A),{id:"calendar-meeting",open:s.value,"onUpdate:open":n[8]||(n[8]=e=>s.value=e),class:"calendar-meeting",name:(0,z.R1)(K.t)("spreed","Schedule a meeting"),size:"normal",closeOnClickOutside:"",container:e.container},{actions:(0,z.k6)(()=>[k.value?((0,z.uX)(),(0,z.CE)("p",ecu,(0,z.v_)(k.value),1)):(0,z.Q3)("",!0),(0,z.bF)((0,z.R1)(e7.A),{variant:"primary",disabled:!g.value||u.value||!!F.value,onClick:H},{icon:(0,z.k6)(()=>[u.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(te.N),{key:0,size:20})):((0,z.uX)(),(0,z.Wv)(j5,{key:1,size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Save")),1)]),_:1},8,["disabled"])]),default:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(oD.A),{modelValue:b.value,"onUpdate:modelValue":n[1]||(n[1]=e=>b.value=e),label:(0,z.R1)(K.t)("spreed","Meeting title"),labelVisible:""},null,8,["modelValue","label"]),(0,z.bF)((0,z.R1)(edx),{modelValue:y.value,"onUpdate:modelValue":n[2]||(n[2]=e=>y.value=e),label:(0,z.R1)(K.t)("spreed","Description"),resize:"vertical",labelVisible:""},null,8,["modelValue","label"]),(0,z.Lk)("div",eca,[(0,z.bF)((0,z.R1)(edk.N),{id:"schedule_meeting_input",modelValue:p.value,"onUpdate:modelValue":n[3]||(n[3]=e=>p.value=e),class:(0,z.C4)({"invalid-time":"start"===F.value}),min:new Date,step:300,label:(0,z.R1)(K.t)("spreed","From"),type:"datetime-local"},null,8,["modelValue","class","min","label"]),(0,z.bF)((0,z.R1)(edk.N),{id:"schedule_meeting_input",modelValue:_.value,"onUpdate:modelValue":n[4]||(n[4]=e=>_.value=e),class:(0,z.C4)({"invalid-time":"end"===F.value}),min:new Date,step:300,label:(0,z.R1)(K.t)("spreed","To"),type:"datetime-local"},null,8,["modelValue","class","min","label"])]),(0,z.bF)((0,z.R1)(YX.default),{id:"schedule_meeting_select",modelValue:g.value,"onUpdate:modelValue":n[5]||(n[5]=e=>g.value=e),options:f.value,inputLabel:(0,z.R1)(K.t)("spreed","Calendar")},{"selected-option":(0,z.k6)(e=>[(0,z.Lk)("span",{class:"calendar-badge",style:(0,z.Tr)({backgroundColor:e.color})},null,4),(0,z.eW)(" "+(0,z.v_)(e.label),1)]),option:(0,z.k6)(e=>[(0,z.Lk)("span",{class:"calendar-badge",style:(0,z.Tr)({backgroundColor:e.color})},null,4),(0,z.eW)(" "+(0,z.v_)(e.label),1)]),_:1},8,["modelValue","options","inputLabel"]),B.value?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("h5",ecs,(0,z.v_)((0,z.R1)(K.t)("spreed","Attendees")),1)),T.value?0===D.value.length?((0,z.uX)(),(0,z.CE)("p",ecl,(0,z.v_)((0,z.R1)(K.t)("spreed","No other participants to send invitations to.")),1)):((0,z.uX)(),(0,z.CE)(z.FK,{key:3},[(0,z.bF)((0,z.R1)(eoj.A),{modelValue:w.value,"onUpdate:modelValue":[n[6]||(n[6]=e=>w.value=e),O]},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(P.value),1)]),_:1},8,["modelValue"]),B.value||w.value?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:0,variant:"tertiary",onClick:n[7]||(n[7]=e=>o.value=!0)},{icon:(0,z.k6)(()=>[(0,z.bF)(edL,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Add attendees")),1)]),_:1})),(0,z.Lk)("p",null,(0,z.v_)(A.value),1)],64)):((0,z.uX)(),(0,z.CE)("div",eco,[(0,z.bF)((0,z.R1)(te.N)),(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Loading …")),1)]))]),_:1},8,["open","name","container"]),o.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(ox.A),{key:0,open:o.value,"onUpdate:open":n[13]||(n[13]=e=>o.value=e),name:(0,z.R1)(K.t)("spreed","Add attendees"),class:"calendar-meeting",closeOnClickOutside:"",container:"#calendar-meeting"},{actions:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e7.A),{variant:"primary",onClick:n[12]||(n[12]=e=>o.value=!1)},{icon:(0,z.k6)(()=>[(0,z.bF)(j5,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Done")),1)]),_:1})]),default:(0,z.k6)(()=>[(0,z.bF)(ece,{value:E.value,"onUpdate:value":n[9]||(n[9]=e=>E.value=e),class:"calendar-meeting__searchbox",isFocused:"",placeholderText:(0,z.R1)(K.t)("spreed","Search participants"),onAbortSearch:n[10]||(n[10]=e=>E.value="")},null,8,["value","placeholderText"]),C.value.length?((0,z.uX)(),(0,z.Wv)(DL,{key:0,class:"calendar-meeting__attendees-selected",name:"zoom",tag:"div",group:""},{default:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(I.value,e=>((0,z.uX)(),(0,z.Wv)(ed8,{key:e.actorType+e.actorId,participant:e,onUpdate:q},null,8,["participant"]))),128))]),_:1})):(0,z.Q3)("",!0),T.value&&M.value.length?((0,z.uX)(),(0,z.CE)("ul",ecd,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(M.value,e=>((0,z.uX)(),(0,z.Wv)(edv,{key:e.attendeeId,checked:C.value,"onUpdate:checked":[n[11]||(n[11]=e=>C.value=e),W],participant:e},null,8,["checked","participant"]))),128))])):((0,z.uX)(),(0,z.Wv)((0,z.R1)(PZ.A),{key:2,class:"calendar-meeting__empty-content",name:T.value?(0,z.R1)(K.t)("spreed","No results"):(0,z.R1)(K.t)("spreed","Loading …")},{icon:(0,z.k6)(()=>[T.value?((0,z.uX)(),(0,z.Wv)(edq,{key:1})):((0,z.uX)(),(0,z.Wv)((0,z.R1)(te.N),{key:0}))]),_:1},8,["name"]))]),_:1},8,["open","name"])):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0)])):(0,z.Q3)("",!0)}}),ech=(0,to.default)(ecc,[["__scopeId","data-v-43ba7e75"]]),ecf={ref:"wrapper",class:"set-contacts"},ecm={class:"set-contacts__form"};function ecg(e,t,i,n,r,a){let s=(0,z.g2)("Magnify"),o=(0,z.g2)("Close"),l=(0,z.g2)("NcTextField"),u=(0,z.g2)("DialpadPanel"),d=(0,z.g2)("ContactSelectionBubble"),c=(0,z.g2)("TransitionWrapper"),h=(0,z.g2)("SelectPhoneNumber"),f=(0,z.g2)("ParticipantsSearchResults"),m=(0,z.gN)("intersection-observer");return(0,z.uX)(),(0,z.CE)("div",ecf,[(0,z.Lk)("div",ecm,[(0,z.bo)(((0,z.uX)(),(0,z.Wv)(l,{ref:"setContacts",modelValue:r.searchText,"onUpdate:modelValue":t[0]||(t[0]=e=>r.searchText=e),type:"text",class:"set-contacts__form-input",label:a.textFieldLabel,showTrailingButton:a.isSearching,trailingButtonLabel:a.cancelSearchLabel,onTrailingButtonClick:a.abortSearch,onInput:a.handleInput},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{size:20})]),"trailing-button-icon":(0,z.k6)(()=>[(0,z.bF)(o,{size:20})]),_:1},8,["modelValue","label","showTrailingButton","trailingButtonLabel","onTrailingButtonClick","onInput"])),[[m,a.visibilityChanged]]),i.canModerateSipDialOut?((0,z.uX)(),(0,z.Wv)(u,{key:0,value:r.searchText,"onUpdate:value":t[1]||(t[1]=e=>r.searchText=e),container:".set-contacts__form",onSubmit:a.addParticipantPhone},null,8,["value","onSubmit"])):(0,z.Q3)("",!0)]),a.hasSelectedParticipants?((0,z.uX)(),(0,z.Wv)(c,{key:0,class:"selected-participants",name:"zoom",tag:"div",group:""},{default:(0,z.k6)(()=>[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(i.selectedParticipants,e=>((0,z.uX)(),(0,z.Wv)(d,{key:e.source+e.id,participant:e,onUpdate:a.updateSelectedParticipants},null,8,["participant","onUpdate"]))),128))]),_:1})):(0,z.Q3)("",!0),i.canModerateSipDialOut?((0,z.uX)(),(0,z.Wv)(h,{key:1,participantPhoneItem:r.participantPhoneItem,"onUpdate:participantPhoneItem":t[2]||(t[2]=e=>r.participantPhoneItem=e),name:a.t("spreed","Add a phone number"),value:r.searchText,onSelect:a.addParticipantPhone},null,8,["participantPhoneItem","name","value","onSelect"])):(0,z.Q3)("",!0),(0,z.bF)(f,{searchResults:r.searchResults,contactsLoading:r.contactsLoading,noResults:r.noResults,scrollable:"",showSearchHints:!i.onlyUsers,token:i.token,onlyUsers:i.onlyUsers,onClick:a.updateSelectedParticipants,onClickSearchHint:a.focusInput},null,8,["searchResults","contactsLoading","noResults","showSearchHints","token","onlyUsers","onClick","onClickSearchHint"])],512)}function ecp(e,t,i,n,r,a){let s=(0,z.g2)("NcAppNavigationCaption"),o=(0,z.g2)("ParticipantsList"),l=(0,z.g2)("IconAccountPlusOutline"),u=(0,z.g2)("NcButton"),d=(0,z.g2)("NavigationHint"),c=(0,z.g2)("IconAccountSearchOutline"),h=(0,z.g2)("NcEmptyContent");return(0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["participants-search-results",{scrollable:i.scrollable}])},[0!==a.addableUsers.length?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[i.onlyUsers?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(s,{key:0,name:a.t("spreed","Add users")},null,8,["name"])),(0,z.bF)(o,{items:a.addableUsers,isSearchResult:"",onClick:a.handleClickParticipant},null,8,["items","onClick"])],64)):(0,z.Q3)("",!0),i.onlyUsers?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[0!==a.addableGroups.length?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.bF)(s,{name:a.t("spreed","Add groups")},null,8,["name"]),(0,z.bF)(o,{items:a.addableGroups,isSearchResult:"",onClick:a.handleClickParticipant},null,8,["items","onClick"])],64)):(0,z.Q3)("",!0),0!==a.addableEmails.length?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(s,{name:a.t("spreed","Add emails")},null,8,["name"]),(0,z.bF)(o,{items:a.addableEmails,isSearchResult:"",onClick:a.handleClickParticipant},null,8,["items","onClick"])],64)):(0,z.Q3)("",!0),0!==a.addableCircles.length?((0,z.uX)(),(0,z.CE)(z.FK,{key:2},[(0,z.bF)(s,{name:a.t("spreed","Add teams")},null,8,["name"]),(0,z.bF)(o,{items:a.addableCircles,isSearchResult:"",onClick:a.handleClickParticipant},null,8,["items","onClick"])],64)):(0,z.Q3)("",!0),0!==a.integrations.length?((0,z.uX)(),(0,z.CE)(z.FK,{key:3},[(0,z.bF)(s,{name:a.t("spreed","Integrations")},null,8,["name"]),(0,z.Lk)("ul",null,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(a.integrations,(e,t)=>((0,z.uX)(),(0,z.Wv)(u,{key:"integration"+t,variant:"tertiary-no-background",onClick:t=>a.runIntegration(e)},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(e.label),1)]),_:2},1032,["onClick"]))),128))])],64)):(0,z.Q3)("",!0),0!==a.addableRemotes.length?((0,z.uX)(),(0,z.CE)(z.FK,{key:4},[(0,z.bF)(s,{name:a.t("spreed","Add federated users")},null,8,["name"]),(0,z.bF)(o,{items:a.addableRemotes,isSearchResult:"",onClick:a.handleClickParticipant},null,8,["items","onClick"])],64)):(0,z.Q3)("",!0)],64)),a.sourcesWithoutResults&&!i.onlyUsers?((0,z.uX)(),(0,z.Wv)(s,{key:2,name:a.sourcesWithoutResultsList},null,8,["name"])):(0,z.Q3)("",!0),i.contactsLoading?((0,z.uX)(),(0,z.Wv)(d,{key:3,hint:a.t("spreed","Searching …")},null,8,["hint"])):a.sourcesWithoutResults?((0,z.uX)(),(0,z.Wv)(d,{key:4,hint:a.t("spreed","No search results")},null,8,["hint"])):(0,z.Q3)("",!0),i.showSearchHints?((0,z.uX)(),(0,z.CE)(z.FK,{key:5},[i.noResults?((0,z.uX)(),(0,z.Wv)(h,{key:0,name:a.t("spreed","No results")},{icon:(0,z.k6)(()=>[(0,z.bF)(c)]),_:1},8,["name"])):a.displaySearchHint?((0,z.uX)(),(0,z.Wv)(u,{key:1,class:"participants-search-results__hint",variant:"tertiary",onClick:a.handleClickHint},{icon:(0,z.k6)(()=>[(0,z.bF)(c,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Search for more users")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0)],2)}let ec_={name:"NcAppNavigationCaption",components:{NcActions:Td.N},props:{name:{type:String,required:!0},headingId:{type:String,default:null},isHeading:{type:Boolean,default:!1},headingLevel:{type:Number,default:2},...Td.N.props},computed:{actionsProps(){let e=Object.keys(Td.N.props);return Object.fromEntries(Object.entries(this.$props).filter(([t,i])=>e.includes(t)))},wrapperTag(){return this.isHeading?"div":"li"},captionTag(){let e=Math.max(2,this.headingLevel);return this.isHeading?`h${e}`:"span"}}},ecv={key:0,class:"app-navigation-caption__actions"};function ecb(e,t,i,n,r,a){let s=(0,z.g2)("NcActions");return(0,z.uX)(),(0,z.Wv)((0,z.$y)(a.wrapperTag),{class:(0,z.C4)(["app-navigation-caption",{"app-navigation-caption--heading":i.isHeading}])},{default:(0,z.k6)(()=>[((0,z.uX)(),(0,z.Wv)((0,z.$y)(a.captionTag),{id:i.headingId,class:"app-navigation-caption__name"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(i.name),1)]),_:1},8,["id"])),e.$slots.actions?((0,z.uX)(),(0,z.CE)("div",ecv,[(0,z.bF)(s,(0,z._B)((0,z.Ng)(a.actionsProps)),{icon:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"actionsTriggerIcon",{},void 0,!0)]),default:(0,z.k6)(()=>[(0,z.RG)(e.$slots,"actions",{},void 0,!0)]),_:3},16)])):(0,z.Q3)("",!0)]),_:3},8,["class"])}let ecy=(0,e4._)(ec_,[["render",ecb],["__scopeId","data-v-21e6b451"]]),ecF={class:"app-navigation-hint"};function eck(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("li",ecF,(0,z.v_)(i.hint),1)}let ecw={name:"NavigationHint",props:{hint:{type:String,required:!0}}},ecC=(0,to.default)(ecw,[["render",eck],["__scopeId","data-v-e92be808"]]);function ecA(e,t,i,n,r,a){let s=(0,z.g2)("LoadingPlaceholder");return(0,z.uX)(),(0,z.CE)("ul",null,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(i.items,e=>((0,z.uX)(),(0,z.Wv)((0,z.$y)(a.component),{key:a.generateKey(e),checked:n.selectedParticipants,"onUpdate:checked":t[0]||(t[0]=e=>n.selectedParticipants=e),participant:e,showUserStatus:a.showUserStatus,onClickParticipant:a.handleClickParticipant},null,40,["checked","participant","showUserStatus","onClickParticipant"]))),128)),i.loading?((0,z.uX)(),(0,z.Wv)(s,{key:0,type:"participants",count:a.dummyParticipants},null,8,["count"])):(0,z.Q3)("",!0)])}let ecE=["title"],ecS={class:"participant__user-name"},ecx={key:0,class:"participant__user-badge"},ecD={key:1,class:"participant__user-badge"},ecT={key:2,class:"participant__user-badge"},ecM={key:3,class:"participant__user-badge"},ecI=["title"];function ecB(e,t,i,n,r,a){let s=(0,z.g2)("AvatarWrapper"),o=(0,z.g2)("IconPhoneDialOutline"),l=(0,z.g2)("NcButton"),u=(0,z.g2)("IconPhoneHangupOutline"),d=(0,z.g2)("DialpadPanel"),c=(0,z.g2)("IconAccountMinusOutline"),h=(0,z.g2)("IconAccountPlusOutline"),f=(0,z.g2)("IconLockOutline"),m=(0,z.g2)("NcActionText"),g=(0,z.g2)("IconAccountOutline"),p=(0,z.g2)("NcActionButton"),_=(0,z.g2)("IconCrownOutline"),b=(0,z.g2)("IconEmailOutline"),y=(0,z.g2)("IconBellOutline"),F=(0,z.g2)("IconPhoneInTalkOutline"),k=(0,z.g2)("IconPhonePausedOutline"),w=(0,z.g2)("IconMicrophoneOutline"),C=(0,z.g2)("NcIconSvgWrapper"),A=(0,z.g2)("IconContentCopy"),E=(0,z.g2)("NcActionSeparator"),S=(0,z.g2)("IconLockReset"),x=(0,z.g2)("IconLockOpenVariantOutline"),D=(0,z.g2)("IconPencilOutline"),T=(0,z.g2)("IconTrashCanOutline"),M=(0,z.g2)("ParticipantPermissionsEditor"),I=(0,z.g2)("NcCheckboxRadioSwitch"),B=(0,z.g2)("NcTextArea"),P=(0,z.g2)("NcDialog"),N=(0,z.g2)("NcListItem");return(0,z.uX)(),(0,z.Wv)(N,{name:a.computedName,"data-nav-id":a.participantNavigationId,class:(0,z.C4)(["participant",{"participant--offline":a.isOffline}]),"aria-label":a.participantAriaLabel,"actions-aria-label":a.participantSettingsAriaLabel,forceDisplayActions:"",forceMenu:""},(0,z.eX)({icon:(0,z.k6)(()=>[((0,z.uX)(),(0,z.Wv)(s,{id:i.participant.actorId,key:i.participant.attendeeId,token:n.token,name:a.computedName,source:i.participant.actorType,disableTooltip:"",showUserStatus:i.showUserStatus,preloadedUserStatus:a.preloadedUserStatus,highlighted:a.isSpeakingStatusAvailable&&a.isParticipantSpeaking,offline:a.isOffline},null,8,["id","token","name","source","showUserStatus","preloadedUserStatus","highlighted","offline"]))]),name:(0,z.k6)(()=>[(0,z.Lk)("span",{class:"participant__user",title:a.userNameTitle},[(0,z.Lk)("span",ecS,(0,z.v_)(a.computedName),1),a.showModeratorLabel?((0,z.uX)(),(0,z.CE)("span",ecx,"("+(0,z.v_)(a.t("spreed","moderator"))+")",1)):(0,z.Q3)("",!0),a.isBridgeBotUser?((0,z.uX)(),(0,z.CE)("span",ecD,"("+(0,z.v_)(a.t("spreed","bot"))+")",1)):(0,z.Q3)("",!0),a.isGuestActor||a.isEmailActor?((0,z.uX)(),(0,z.CE)("span",ecT,"("+(0,z.v_)(a.t("spreed","guest"))+")",1)):(0,z.Q3)("",!0),a.isSelf||!a.isLobbyEnabled||a.canSkipLobby?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("span",ecM,"("+(0,z.v_)(a.t("spreed","in the lobby"))+")",1))],8,ecE)]),"extra-actions":(0,z.k6)(()=>[n.isInCall&&a.canBeModerated&&a.isPhoneActor?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[i.participant.inCall?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(l,{variant:"error","aria-label":a.t("spreed","Hang up phone"),title:a.t("spreed","Hang up phone"),disabled:r.disabled,onClick:a.hangupPhoneNumber},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),_:1},8,["aria-label","title","disabled","onClick"]),(0,z.bF)(d,{disabled:r.disabled,container:"#tab-participants",dialing:"",onDialType:a.dialType},null,8,["disabled","onDialType"])],64)):((0,z.uX)(),(0,z.Wv)(l,{key:0,variant:"success","aria-label":a.t("spreed","Dial out phone"),title:a.t("spreed","Dial out phone"),disabled:r.disabled,onClick:a.dialOutPhoneNumber},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{size:20})]),_:1},8,["aria-label","title","disabled","onClick"]))],64)):a.callIcon?((0,z.uX)(),(0,z.Wv)((0,z.$y)(a.callIcon.icon),{key:1,class:"participant__call-state",title:a.callIcon.title,size:a.callIcon.size},null,8,["title","size"])):(0,z.Q3)("",!0),a.showToggleLobbyAction?((0,z.uX)(),(0,z.CE)(z.FK,{key:2},[a.canSkipLobby?((0,z.uX)(),(0,z.Wv)(l,{key:0,variant:"tertiary",title:a.t("spreed","Move back to lobby"),"aria-label":a.t("spreed","Move back to lobby"),onClick:t[0]||(t[0]=e=>a.setLobbyPermission(!1))},{icon:(0,z.k6)(()=>[(0,z.bF)(c,{size:20})]),_:1},8,["title","aria-label"])):((0,z.uX)(),(0,z.Wv)(l,{key:1,variant:"tertiary",title:a.t("spreed","Move to conversation"),"aria-label":a.t("spreed","Move to conversation"),onClick:t[1]||(t[1]=e=>a.setLobbyPermission(!0))},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),_:1},8,["title","aria-label"]))],64)):(0,z.Q3)("",!0)]),extra:(0,z.k6)(()=>[a.showPermissionsOptions&&r.permissionsEditor?((0,z.uX)(),(0,z.Wv)(M,{key:0,actorId:i.participant.actorId,closeAfterClick:"",participant:i.participant,token:n.token,onClose:t[4]||(t[4]=e=>r.permissionsEditor=!1)},null,8,["actorId","participant","token"])):(0,z.Q3)("",!0),a.canBeModerated&&r.isRemoveDialogOpen?((0,z.uX)(),(0,z.Wv)(P,{key:1,open:r.isRemoveDialogOpen,"onUpdate:open":t[8]||(t[8]=e=>r.isRemoveDialogOpen=e),name:a.removeParticipantLabel},{actions:(0,z.k6)(()=>[(0,z.bF)(l,{variant:"tertiary",disabled:r.isLoading,onClick:t[7]||(t[7]=e=>r.isRemoveDialogOpen=!1)},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Dismiss")),1)]),_:1},8,["disabled"]),(0,z.bF)(l,{variant:"error",disabled:r.isLoading||!!a.maxLengthWarning,onClick:a.removeParticipant},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Remove")),1)]),_:1},8,["disabled","onClick"])]),default:(0,z.k6)(()=>[(0,z.Lk)("p",null,(0,z.v_)(a.removeDialogMessage),1),a.showBanOption?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.bF)(I,{modelValue:r.isBanParticipant,"onUpdate:modelValue":t[5]||(t[5]=e=>r.isBanParticipant=e)},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Also ban from this conversation")),1)]),_:1},8,["modelValue"]),r.isBanParticipant?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[r.isBanParticipant?((0,z.uX)(),(0,z.Wv)(B,{key:0,modelValue:r.internalNote,"onUpdate:modelValue":t[6]||(t[6]=e=>r.internalNote=e),class:"participant-dialog__input",resize:"vertical",label:a.t("spreed","Internal note (reason to ban)"),error:!!a.maxLengthWarning,helperText:a.maxLengthWarning},null,8,["modelValue","label","error","helperText"])):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0)]),_:1},8,["open","name"])):(0,z.Q3)("",!0)]),_:2},[a.statusMessage?{name:"subname",fn:(0,z.k6)(()=>[(0,z.Lk)("span",{class:(0,z.C4)(["participant__status",{"participant__status--highlighted":a.isParticipantSpeaking}]),title:a.statusMessage},(0,z.v_)(a.statusMessage),11,ecI)]),key:"0"}:void 0,a.showParticipantActions&&a.actionIcon?{name:"actions-icon",fn:(0,z.k6)(()=>[((0,z.uX)(),(0,z.Wv)((0,z.$y)(a.actionIcon),{size:20}))]),key:"1"}:void 0,a.showParticipantActions?{name:"actions",fn:(0,z.k6)(()=>[a.attendeePin?((0,z.uX)(),(0,z.Wv)(m,{key:0,name:a.t("spreed","Dial-in PIN")},{icon:(0,z.k6)(()=>[(0,z.bF)(f,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.attendeePin),1)]),_:1},8,["name"])):(0,z.Q3)("",!0),a.canBeDemoted?((0,z.uX)(),(0,z.Wv)(p,{key:"demote-moderator",closeAfterClick:"",onClick:a.demoteFromModerator},{icon:(0,z.k6)(()=>[(0,z.bF)(g,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Demote from moderator")),1)]),_:1},8,["onClick"])):a.canBePromoted?((0,z.uX)(),(0,z.Wv)(p,{key:"promote-moderator",closeAfterClick:"",onClick:a.promoteToModerator},{icon:(0,z.k6)(()=>[(0,z.bF)(_,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Promote to moderator")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),a.canBeModerated&&a.isEmailActor?((0,z.uX)(),(0,z.Wv)(p,{key:"resend-invitation",closeAfterClick:"",onClick:a.resendInvitation},{icon:(0,z.k6)(()=>[(0,z.bF)(b,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Resend invitation")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),a.canSendCallNotification?((0,z.uX)(),(0,z.Wv)(p,{key:"send-call-notification",closeAfterClick:"",onClick:a.sendCallNotification},{icon:(0,z.k6)(()=>[(0,z.bF)(y,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Send call notification")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),a.canBeModerated&&a.isPhoneActor?((0,z.uX)(),(0,z.CE)(z.FK,{key:5},[a.conversation.hasCall||n.isInCall||i.participant.callId?n.isInCall&&i.participant.callId?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},["hold"===a.phoneMuteState?((0,z.uX)(),(0,z.Wv)(p,{key:"resume-call-phone-number",closeAfterClick:"",onClick:a.unmutePhoneNumber},{icon:(0,z.k6)(()=>[(0,z.bF)(F,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Resume call for phone number")),1)]),_:1},8,["onClick"])):((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(p,{key:"hold-call-phone-number",closeAfterClick:"",onClick:a.holdPhoneNumber},{icon:(0,z.k6)(()=>[(0,z.bF)(k,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Put phone number on hold")),1)]),_:1},8,["onClick"]),"muted"===a.phoneMuteState?((0,z.uX)(),(0,z.Wv)(p,{key:"unmute-call-phone-number",closeAfterClick:"",onClick:a.unmutePhoneNumber},{icon:(0,z.k6)(()=>[(0,z.bF)(w,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Unmute phone number")),1)]),_:1},8,["onClick"])):((0,z.uX)(),(0,z.Wv)(p,{key:"mute-call-phone-number",closeAfterClick:"",onClick:a.mutePhoneNumber},{icon:(0,z.k6)(()=>[(0,z.bF)(C,{svg:n.IconMicrophoneOffOutline,size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Mute phone number")),1)]),_:1},8,["onClick"]))],64))],64)):(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(p,{key:"dial-out-phone-number",closeAfterClick:"",onClick:a.dialOutPhoneNumber},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Dial out phone number")),1)]),_:1},8,["onClick"])),(0,z.bF)(p,{key:"copy-phone-number",closeAfterClick:"",onClick:a.copyPhoneNumber},{icon:(0,z.k6)(()=>[(0,z.bF)(A,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Copy phone number")),1)]),_:1},8,["onClick"])],64)):(0,z.Q3)("",!0),a.canBeModerated&&a.isPhoneActor&&a.showPermissionsOptions?((0,z.uX)(),(0,z.Wv)(E,{key:6})):(0,z.Q3)("",!0),a.showPermissionsOptions?((0,z.uX)(),(0,z.CE)(z.FK,{key:7},[a.hasNonDefaultPermissions?((0,z.uX)(),(0,z.Wv)(p,{key:"reset-permissions",closeAfterClick:"",onClick:a.applyDefaultPermissions},{icon:(0,z.k6)(()=>[(0,z.bF)(S,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Reset custom permissions")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),(0,z.bF)(p,{key:"grant-all-permissions",closeAfterClick:"",onClick:a.grantAllPermissions},{icon:(0,z.k6)(()=>[(0,z.bF)(x,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Grant all permissions")),1)]),_:1},8,["onClick"]),(0,z.bF)(p,{key:"remove-all-permissions",closeAfterClick:"",onClick:a.removeAllPermissions},{icon:(0,z.k6)(()=>[(0,z.bF)(f,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Remove all permissions")),1)]),_:1},8,["onClick"]),(0,z.bF)(p,{key:"edit-permissions",closeAfterClick:"",onClick:t[2]||(t[2]=e=>r.permissionsEditor=!0)},{icon:(0,z.k6)(()=>[(0,z.bF)(D,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Edit permissions")),1)]),_:1})],64)):(0,z.Q3)("",!0),a.showPermissionsOptions&&a.canBeModerated?((0,z.uX)(),(0,z.Wv)(E,{key:8})):(0,z.Q3)("",!0),a.canBeModerated?((0,z.uX)(),(0,z.Wv)(p,{key:"remove-participant",class:"critical",closeAfterClick:"",onClick:t[3]||(t[3]=e=>r.isRemoveDialogOpen=!0)},{icon:(0,z.k6)(()=>[(0,z.bF)(T,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.removeParticipantLabel),1)]),_:1})):(0,z.Q3)("",!0)]),key:"2"}:void 0]),1032,["name","data-nav-id","class","aria-label","actions-aria-label"])}let ecP=["aria-hidden","aria-label"],ecL=["fill","width","height"],ecN={d:"M15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4M15,5.9C16.16,5.9 17.1,6.84 17.1,8C17.1,9.16 16.16,10.1 15,10.1A2.1,2.1 0 0,1 12.9,8A2.1,2.1 0 0,1 15,5.9M1,10V12H9V10H1M15,13C12.33,13 7,14.33 7,17V20H23V17C23,14.33 17.67,13 15,13M15,14.9C17.97,14.9 21.1,16.36 21.1,17V18.1H8.9V17C8.9,16.36 12,14.9 15,14.9Z"},ecR={key:0};function ecj(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon account-minus-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ecN,[i.title?((0,z.uX)(),(0,z.CE)("title",ecR,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ecL))],16,ecP)}let ecO={name:"AccountMinusOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ecz=(0,to.default)(ecO,[["render",ecj]]),ecU=["aria-hidden","aria-label"],ecq=["fill","width","height"],ecW={d:"M12 8L15 13.2L18 10.5L17.3 14H6.7L6 10.5L9 13.2L12 8M12 4L8.5 10L3 5L5 16H19L21 5L15.5 10L12 4M19 18H5V19C5 19.6 5.4 20 6 20H18C18.6 20 19 19.6 19 19V18Z"},ecV={key:0};function ecH(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon crown-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ecW,[i.title?((0,z.uX)(),(0,z.CE)("title",ecV,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ecq))],16,ecU)}let ec$={name:"CrownOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ecG=(0,to.default)(ec$,[["render",ecH]]),ecX=["aria-hidden","aria-label"],ecK=["fill","width","height"],ecY={d:"M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6M20 6L12 11L4 6H20M20 18H4V8L12 13L20 8V18Z"},ecQ={key:0};function ecZ(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon email-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ecY,[i.title?((0,z.uX)(),(0,z.CE)("title",ecQ,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ecK))],16,ecX)}let ecJ={name:"EmailOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ec0=(0,to.default)(ecJ,[["render",ecZ]]),ec1=["aria-hidden","aria-label"],ec2=["fill","width","height"],ec3={d:"M10 13C11.1 13 12 13.89 12 15C12 16.11 11.11 17 10 17S8 16.11 8 15 8.9 13 10 13M18 1C15.24 1 13 3.24 13 6V8H4C2.9 8 2 8.9 2 10V20C2 21.1 2.9 22 4 22H16C17.1 22 18 21.1 18 20V10C18 8.9 17.1 8 16 8H15V6C15 4.34 16.34 3 18 3S21 4.34 21 6V8H23V6C23 3.24 20.76 1 18 1M16 10V20H4V10H16Z"},ec4={key:0};function ec6(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon lock-open-variant-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ec3,[i.title?((0,z.uX)(),(0,z.CE)("title",ec4,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ec2))],16,ec1)}let ec5={name:"LockOpenVariantOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ec8=(0,to.default)(ec5,[["render",ec6]]),ec9=["aria-hidden","aria-label"],ec7=["fill","width","height"],ehe={d:"M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z"},eht={key:0};function ehi(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon lock-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ehe,[i.title?((0,z.uX)(),(0,z.CE)("title",eht,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ec7))],16,ec9)}let ehn={name:"LockOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ehr=(0,to.default)(ehn,[["render",ehi]]),eha=["aria-hidden","aria-label"],ehs=["fill","width","height"],eho={d:"M12.63,2C18.16,2 22.64,6.5 22.64,12C22.64,17.5 18.16,22 12.63,22C9.12,22 6.05,20.18 4.26,17.43L5.84,16.18C7.25,18.47 9.76,20 12.64,20A8,8 0 0,0 20.64,12A8,8 0 0,0 12.64,4C8.56,4 5.2,7.06 4.71,11H7.47L3.73,14.73L0,11H2.69C3.19,5.95 7.45,2 12.63,2M15.59,10.24C16.09,10.25 16.5,10.65 16.5,11.16V15.77C16.5,16.27 16.09,16.69 15.58,16.69H10.05C9.54,16.69 9.13,16.27 9.13,15.77V11.16C9.13,10.65 9.54,10.25 10.04,10.24V9.23C10.04,7.7 11.29,6.46 12.81,6.46C14.34,6.46 15.59,7.7 15.59,9.23V10.24M12.81,7.86C12.06,7.86 11.44,8.47 11.44,9.23V10.24H14.19V9.23C14.19,8.47 13.57,7.86 12.81,7.86Z"},ehl={key:0};function ehu(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon lock-reset-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eho,[i.title?((0,z.uX)(),(0,z.CE)("title",ehl,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ehs))],16,eha)}let ehd={name:"LockResetIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ehc=(0,to.default)(ehd,[["render",ehu]]),ehh=["aria-hidden","aria-label"],ehf=["fill","width","height"],ehm={d:"M20 15.5C18.8 15.5 17.5 15.3 16.4 14.9H16.1C15.8 14.9 15.6 15 15.4 15.2L13.2 17.4C10.4 15.9 8 13.6 6.6 10.8L8.8 8.6C9.1 8.3 9.2 7.9 9 7.6C8.7 6.5 8.5 5.2 8.5 4C8.5 3.5 8 3 7.5 3H4C3.5 3 3 3.5 3 4C3 13.4 10.6 21 20 21C20.5 21 21 20.5 21 20V16.5C21 16 20.5 15.5 20 15.5M5 5H6.5C6.6 5.9 6.8 6.8 7 7.6L5.8 8.8C5.4 7.6 5.1 6.3 5 5M19 19C17.7 18.9 16.4 18.6 15.2 18.2L16.4 17C17.2 17.2 18.1 17.4 19 17.4V19M15 12H17A5 5 0 0 0 12 7V9A3 3 0 0 1 15 12M19 12H21C21 7 16.97 3 12 3V5C15.86 5 19 8.13 19 12Z"},ehg={key:0};function ehp(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon phone-in-talk-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ehm,[i.title?((0,z.uX)(),(0,z.CE)("title",ehg,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ehf))],16,ehh)}let eh_={name:"PhoneInTalkOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ehv=(0,to.default)(eh_,[["render",ehp]]),ehb=["aria-hidden","aria-label"],ehy=["fill","width","height"],ehF={d:"M20 15.5C18.8 15.5 17.5 15.3 16.4 14.9H16.1C15.8 14.9 15.6 15 15.4 15.2L13.2 17.4C10.4 15.9 8 13.6 6.6 10.8L8.8 8.6C9.1 8.3 9.2 7.9 9 7.6C8.7 6.5 8.5 5.2 8.5 4C8.5 3.5 8 3 7.5 3H4C3.5 3 3 3.5 3 4C3 13.4 10.6 21 20 21C20.5 21 21 20.5 21 20V16.5C21 16 20.5 15.5 20 15.5M5 5H6.5C6.6 5.9 6.8 6.8 7 7.6L5.8 8.8C5.4 7.6 5.1 6.3 5 5M19 19C17.7 18.9 16.4 18.6 15.2 18.2L16.4 17C17.2 17.2 18.1 17.4 19 17.4V19M19 10H21V3H19M17 3H15V10H17V3Z"},ehk={key:0};function ehw(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon phone-paused-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ehF,[i.title?((0,z.uX)(),(0,z.CE)("title",ehk,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ehy))],16,ehb)}let ehC={name:"PhonePausedOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ehA=(0,to.default)(ehC,[["render",ehw]]),ehE={class:"dial-panel__select-option"},ehS={class:"dial-panel__select-option"};function ehx(e,t,i,n,r,a){let s=(0,z.g2)("IconDialpad"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("NcSelect"),u=(0,z.g2)("IconBackspaceOutline"),d=(0,z.g2)("NcPopover");return(0,z.uX)(),(0,z.Wv)(d,{id:"dial-popover",ref:"popover",popoverBaseClass:"dial-popover",container:i.container,onShow:a.prefillCode},{trigger:(0,z.k6)(()=>[(0,z.bF)(o,{disabled:i.disabled,"aria-label":a.t("spreed","Open dialpad"),title:a.t("spreed","Open dialpad")},{icon:(0,z.k6)(()=>[(0,z.bF)(s,{size:20})]),_:1},8,["disabled","aria-label","title"])]),default:(0,z.k6)(()=>[(0,z.Lk)("div",{ref:"panel",class:"dial-panel",tabindex:"0",onKeydownCapture:t[1]||(t[1]=(...e)=>a.handleKeyDown&&a.handleKeyDown(...e))},[i.dialing?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(l,{key:0,ref:"regionSelect",modelValue:r.region,"onUpdate:modelValue":t[0]||(t[0]=e=>r.region=e),class:"dial-panel__select",options:n.options,appendToBody:!1,clearable:!1,"aria-label-combobox":a.t("spreed","Select a region"),placeholder:a.t("spreed","Select a region"),label:"dial_and_name","onOption:selected":a.dialCode},{option:(0,z.k6)(({dial_code:e,name:i})=>[(0,z.Lk)("span",ehE,[(0,z.Lk)("b",null,(0,z.v_)(e),1),t[2]||(t[2]=(0,z.eW)()),(0,z.Lk)("em",null,(0,z.v_)(i),1)])]),"selected-option":(0,z.k6)(({dial_code:e,name:i})=>[(0,z.Lk)("span",ehS,[(0,z.Lk)("b",null,(0,z.v_)(e),1),t[3]||(t[3]=(0,z.eW)()),(0,z.Lk)("em",null,(0,z.v_)(i),1)])]),_:1},8,["modelValue","options","aria-label-combobox","placeholder","onOption:selected"])),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(n.buttons,e=>((0,z.uX)(),(0,z.Wv)(o,{key:e.value,class:"dial-panel__button",onClick:t=>a.handlePad(e.value)},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(e.label),1)]),_:2},1032,["onClick"]))),128)),i.dialing?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(o,{key:1,class:"dial-panel__button",variant:"tertiary","aria-label":a.t("spreed","Delete"),onClick:a.handleBackspace},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),_:1},8,["aria-label","onClick"]))],544)]),_:1},8,["container","onShow"])}let ehD=["aria-hidden","aria-label"],ehT=["fill","width","height"],ehM={d:"M19,15.59L17.59,17L14,13.41L10.41,17L9,15.59L12.59,12L9,8.41L10.41,7L14,10.59L17.59,7L19,8.41L15.41,12L19,15.59M22,3A2,2 0 0,1 24,5V19A2,2 0 0,1 22,21H7C6.31,21 5.77,20.64 5.41,20.11L0,12L5.41,3.88C5.77,3.35 6.31,3 7,3H22M22,5H7L2.28,12L7,19H22V5Z"},ehI={key:0};function ehB(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon backspace-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ehM,[i.title?((0,z.uX)(),(0,z.CE)("title",ehI,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ehT))],16,ehD)}let ehP={name:"BackspaceOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ehL=(0,to.default)(ehP,[["render",ehB]]),ehN=["aria-hidden","aria-label"],ehR=["fill","width","height"],ehj={d:"M12,19A2,2 0 0,0 10,21A2,2 0 0,0 12,23A2,2 0 0,0 14,21A2,2 0 0,0 12,19M6,1A2,2 0 0,0 4,3A2,2 0 0,0 6,5A2,2 0 0,0 8,3A2,2 0 0,0 6,1M6,7A2,2 0 0,0 4,9A2,2 0 0,0 6,11A2,2 0 0,0 8,9A2,2 0 0,0 6,7M6,13A2,2 0 0,0 4,15A2,2 0 0,0 6,17A2,2 0 0,0 8,15A2,2 0 0,0 6,13M18,5A2,2 0 0,0 20,3A2,2 0 0,0 18,1A2,2 0 0,0 16,3A2,2 0 0,0 18,5M12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13M18,13A2,2 0 0,0 16,15A2,2 0 0,0 18,17A2,2 0 0,0 20,15A2,2 0 0,0 18,13M18,7A2,2 0 0,0 16,9A2,2 0 0,0 18,11A2,2 0 0,0 20,9A2,2 0 0,0 18,7M12,7A2,2 0 0,0 10,9A2,2 0 0,0 12,11A2,2 0 0,0 14,9A2,2 0 0,0 12,7M12,1A2,2 0 0,0 10,3A2,2 0 0,0 12,5A2,2 0 0,0 14,3A2,2 0 0,0 12,1Z"},ehO={key:0};function ehz(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon dialpad-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ehj,[i.title?((0,z.uX)(),(0,z.CE)("title",ehO,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ehR))],16,ehN)}let ehU={name:"DialpadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ehq=(0,to.default)(ehU,[["render",ehz]]),ehW={AF:{name:"Afghanistan",dial_code:"+93",code:"AF"},AX:{name:"Aland Islands",dial_code:"+358",code:"AX"},AL:{name:"Albania",dial_code:"+355",code:"AL"},DZ:{name:"Algeria",dial_code:"+213",code:"DZ"},AS:{name:"American Samoa",dial_code:"+1684",code:"AS"},AD:{name:"Andorra",dial_code:"+376",code:"AD"},AO:{name:"Angola",dial_code:"+244",code:"AO"},AI:{name:"Anguilla",dial_code:"+1264",code:"AI"},AQ:{name:"Antarctica",dial_code:"+672",code:"AQ"},AG:{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG"},AR:{name:"Argentina",dial_code:"+54",code:"AR"},AM:{name:"Armenia",dial_code:"+374",code:"AM"},AW:{name:"Aruba",dial_code:"+297",code:"AW"},AU:{name:"Australia",dial_code:"+61",code:"AU"},AT:{name:"Austria",dial_code:"+43",code:"AT"},AZ:{name:"Azerbaijan",dial_code:"+994",code:"AZ"},BS:{name:"Bahamas",dial_code:"+1242",code:"BS"},BH:{name:"Bahrain",dial_code:"+973",code:"BH"},BD:{name:"Bangladesh",dial_code:"+880",code:"BD"},BB:{name:"Barbados",dial_code:"+1246",code:"BB"},BY:{name:"Belarus",dial_code:"+375",code:"BY"},BE:{name:"Belgium",dial_code:"+32",code:"BE"},BZ:{name:"Belize",dial_code:"+501",code:"BZ"},BJ:{name:"Benin",dial_code:"+229",code:"BJ"},BM:{name:"Bermuda",dial_code:"+1441",code:"BM"},BT:{name:"Bhutan",dial_code:"+975",code:"BT"},BO:{name:"Bolivia, Plurinational State of",dial_code:"+591",code:"BO"},BA:{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA"},BW:{name:"Botswana",dial_code:"+267",code:"BW"},BR:{name:"Brazil",dial_code:"+55",code:"BR"},IO:{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO"},BN:{name:"Brunei Darussalam",dial_code:"+673",code:"BN"},BG:{name:"Bulgaria",dial_code:"+359",code:"BG"},BF:{name:"Burkina Faso",dial_code:"+226",code:"BF"},BI:{name:"Burundi",dial_code:"+257",code:"BI"},KH:{name:"Cambodia",dial_code:"+855",code:"KH"},CM:{name:"Cameroon",dial_code:"+237",code:"CM"},CA:{name:"Canada",dial_code:"+1",code:"CA"},CV:{name:"Cape Verde",dial_code:"+238",code:"CV"},KY:{name:"Cayman Islands",dial_code:"+345",code:"KY"},CF:{name:"Central African Republic",dial_code:"+236",code:"CF"},TD:{name:"Chad",dial_code:"+235",code:"TD"},CL:{name:"Chile",dial_code:"+56",code:"CL"},CN:{name:"China",dial_code:"+86",code:"CN"},CX:{name:"Christmas Island",dial_code:"+61",code:"CX"},CC:{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC"},CO:{name:"Colombia",dial_code:"+57",code:"CO"},KM:{name:"Comoros",dial_code:"+269",code:"KM"},CG:{name:"Congo",dial_code:"+242",code:"CG"},CD:{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",code:"CD"},CK:{name:"Cook Islands",dial_code:"+682",code:"CK"},CR:{name:"Costa Rica",dial_code:"+506",code:"CR"},CI:{name:"Cote d'Ivoire",dial_code:"+225",code:"CI"},HR:{name:"Croatia",dial_code:"+385",code:"HR"},CU:{name:"Cuba",dial_code:"+53",code:"CU"},CY:{name:"Cyprus",dial_code:"+357",code:"CY"},CZ:{name:"Czech Republic",dial_code:"+420",code:"CZ"},DK:{name:"Denmark",dial_code:"+45",code:"DK"},DJ:{name:"Djibouti",dial_code:"+253",code:"DJ"},DM:{name:"Dominica",dial_code:"+1767",code:"DM"},DO:{name:"Dominican Republic",dial_code:"+1849",code:"DO"},EC:{name:"Ecuador",dial_code:"+593",code:"EC"},EG:{name:"Egypt",dial_code:"+20",code:"EG"},SV:{name:"El Salvador",dial_code:"+503",code:"SV"},GQ:{name:"Equatorial Guinea",dial_code:"+240",code:"GQ"},ER:{name:"Eritrea",dial_code:"+291",code:"ER"},EE:{name:"Estonia",dial_code:"+372",code:"EE"},ET:{name:"Ethiopia",dial_code:"+251",code:"ET"},FK:{name:"Falkland Islands (Malvinas)",dial_code:"+500",code:"FK"},FO:{name:"Faroe Islands",dial_code:"+298",code:"FO"},FJ:{name:"Fiji",dial_code:"+679",code:"FJ"},FI:{name:"Finland",dial_code:"+358",code:"FI"},FR:{name:"France",dial_code:"+33",code:"FR"},GF:{name:"French Guiana",dial_code:"+594",code:"GF"},PF:{name:"French Polynesia",dial_code:"+689",code:"PF"},GA:{name:"Gabon",dial_code:"+241",code:"GA"},GM:{name:"Gambia",dial_code:"+220",code:"GM"},GE:{name:"Georgia",dial_code:"+995",code:"GE"},DE:{name:"Germany",dial_code:"+49",code:"DE"},GH:{name:"Ghana",dial_code:"+233",code:"GH"},GI:{name:"Gibraltar",dial_code:"+350",code:"GI"},GR:{name:"Greece",dial_code:"+30",code:"GR"},GL:{name:"Greenland",dial_code:"+299",code:"GL"},GD:{name:"Grenada",dial_code:"+1473",code:"GD"},GP:{name:"Guadeloupe",dial_code:"+590",code:"GP"},GU:{name:"Guam",dial_code:"+1671",code:"GU"},GT:{name:"Guatemala",dial_code:"+502",code:"GT"},GG:{name:"Guernsey",dial_code:"+44",code:"GG"},GN:{name:"Guinea",dial_code:"+224",code:"GN"},GW:{name:"Guinea-Bissau",dial_code:"+245",code:"GW"},GY:{name:"Guyana",dial_code:"+595",code:"GY"},HT:{name:"Haiti",dial_code:"+509",code:"HT"},VA:{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA"},HN:{name:"Honduras",dial_code:"+504",code:"HN"},HK:{name:"Hong Kong",dial_code:"+852",code:"HK"},HU:{name:"Hungary",dial_code:"+36",code:"HU"},IS:{name:"Iceland",dial_code:"+354",code:"IS"},IN:{name:"India",dial_code:"+91",code:"IN"},ID:{name:"Indonesia",dial_code:"+62",code:"ID"},IR:{name:"Iran",dial_code:"+98",code:"IR"},IQ:{name:"Iraq",dial_code:"+964",code:"IQ"},IE:{name:"Ireland",dial_code:"+353",code:"IE"},IM:{name:"Isle of Man",dial_code:"+44",code:"IM"},IL:{name:"Israel",dial_code:"+972",code:"IL"},IT:{name:"Italy",dial_code:"+39",code:"IT"},JM:{name:"Jamaica",dial_code:"+1876",code:"JM"},JP:{name:"Japan",dial_code:"+81",code:"JP"},JE:{name:"Jersey",dial_code:"+44",code:"JE"},JO:{name:"Jordan",dial_code:"+962",code:"JO"},KZ:{name:"Kazakhstan",dial_code:"+77",code:"KZ"},KE:{name:"Kenya",dial_code:"+254",code:"KE"},KI:{name:"Kiribati",dial_code:"+686",code:"KI"},KP:{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",code:"KP"},KR:{name:"Korea, Republic of South Korea",dial_code:"+82",code:"KR"},KW:{name:"Kuwait",dial_code:"+965",code:"KW"},KG:{name:"Kyrgyzstan",dial_code:"+996",code:"KG"},LA:{name:"Laos",dial_code:"+856",code:"LA"},LV:{name:"Latvia",dial_code:"+371",code:"LV"},LB:{name:"Lebanon",dial_code:"+961",code:"LB"},LS:{name:"Lesotho",dial_code:"+266",code:"LS"},LR:{name:"Liberia",dial_code:"+231",code:"LR"},LY:{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY"},LI:{name:"Liechtenstein",dial_code:"+423",code:"LI"},LT:{name:"Lithuania",dial_code:"+370",code:"LT"},LU:{name:"Luxembourg",dial_code:"+352",code:"LU"},MO:{name:"Macao",dial_code:"+853",code:"MO"},MK:{name:"Macedonia",dial_code:"+389",code:"MK"},MG:{name:"Madagascar",dial_code:"+261",code:"MG"},MW:{name:"Malawi",dial_code:"+265",code:"MW"},MY:{name:"Malaysia",dial_code:"+60",code:"MY"},MV:{name:"Maldives",dial_code:"+960",code:"MV"},ML:{name:"Mali",dial_code:"+223",code:"ML"},MT:{name:"Malta",dial_code:"+356",code:"MT"},MH:{name:"Marshall Islands",dial_code:"+692",code:"MH"},MQ:{name:"Martinique",dial_code:"+596",code:"MQ"},MR:{name:"Mauritania",dial_code:"+222",code:"MR"},MU:{name:"Mauritius",dial_code:"+230",code:"MU"},YT:{name:"Mayotte",dial_code:"+262",code:"YT"},MX:{name:"Mexico",dial_code:"+52",code:"MX"},FM:{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",code:"FM"},MD:{name:"Moldova",dial_code:"+373",code:"MD"},MC:{name:"Monaco",dial_code:"+377",code:"MC"},MN:{name:"Mongolia",dial_code:"+976",code:"MN"},ME:{name:"Montenegro",dial_code:"+382",code:"ME"},MS:{name:"Montserrat",dial_code:"+1664",code:"MS"},MA:{name:"Morocco",dial_code:"+212",code:"MA"},MZ:{name:"Mozambique",dial_code:"+258",code:"MZ"},MM:{name:"Myanmar",dial_code:"+95",code:"MM"},NA:{name:"Namibia",dial_code:"+264",code:"NA"},NR:{name:"Nauru",dial_code:"+674",code:"NR"},NP:{name:"Nepal",dial_code:"+977",code:"NP"},NL:{name:"Netherlands",dial_code:"+31",code:"NL"},AN:{name:"Netherlands Antilles",dial_code:"+599",code:"AN"},NC:{name:"New Caledonia",dial_code:"+687",code:"NC"},NZ:{name:"New Zealand",dial_code:"+64",code:"NZ"},NI:{name:"Nicaragua",dial_code:"+505",code:"NI"},NE:{name:"Niger",dial_code:"+227",code:"NE"},NG:{name:"Nigeria",dial_code:"+234",code:"NG"},NU:{name:"Niue",dial_code:"+683",code:"NU"},NF:{name:"Norfolk Island",dial_code:"+672",code:"NF"},MP:{name:"Northern Mariana Islands",dial_code:"+1670",code:"MP"},NO:{name:"Norway",dial_code:"+47",code:"NO"},OM:{name:"Oman",dial_code:"+968",code:"OM"},PK:{name:"Pakistan",dial_code:"+92",code:"PK"},PW:{name:"Palau",dial_code:"+680",code:"PW"},PS:{name:"Palestinian Territory",dial_code:"+970",code:"PS"},PA:{name:"Panama",dial_code:"+507",code:"PA"},PG:{name:"Papua New Guinea",dial_code:"+675",code:"PG"},PY:{name:"Paraguay",dial_code:"+595",code:"PY"},PE:{name:"Peru",dial_code:"+51",code:"PE"},PH:{name:"Philippines",dial_code:"+63",code:"PH"},PN:{name:"Pitcairn",dial_code:"+872",code:"PN"},PL:{name:"Poland",dial_code:"+48",code:"PL"},PT:{name:"Portugal",dial_code:"+351",code:"PT"},PR:{name:"Puerto Rico",dial_code:"+1939",code:"PR"},QA:{name:"Qatar",dial_code:"+974",code:"QA"},RO:{name:"Romania",dial_code:"+40",code:"RO"},RU:{name:"Russia",dial_code:"+7",code:"RU"},RW:{name:"Rwanda",dial_code:"+250",code:"RW"},RE:{name:"Reunion",dial_code:"+262",code:"RE"},BL:{name:"Saint Barthelemy",dial_code:"+590",code:"BL"},SH:{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH"},KN:{name:"Saint Kitts and Nevis",dial_code:"+1869",code:"KN"},LC:{name:"Saint Lucia",dial_code:"+1758",code:"LC"},MF:{name:"Saint Martin",dial_code:"+590",code:"MF"},PM:{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM"},VC:{name:"Saint Vincent and the Grenadines",dial_code:"+1784",code:"VC"},WS:{name:"Samoa",dial_code:"+685",code:"WS"},SM:{name:"San Marino",dial_code:"+378",code:"SM"},ST:{name:"Sao Tome and Principe",dial_code:"+239",code:"ST"},SA:{name:"Saudi Arabia",dial_code:"+966",code:"SA"},SN:{name:"Senegal",dial_code:"+221",code:"SN"},RS:{name:"Serbia",dial_code:"+381",code:"RS"},SC:{name:"Seychelles",dial_code:"+248",code:"SC"},SL:{name:"Sierra Leone",dial_code:"+232",code:"SL"},SG:{name:"Singapore",dial_code:"+65",code:"SG"},SK:{name:"Slovakia",dial_code:"+421",code:"SK"},SI:{name:"Slovenia",dial_code:"+386",code:"SI"},SB:{name:"Solomon Islands",dial_code:"+677",code:"SB"},SO:{name:"Somalia",dial_code:"+252",code:"SO"},ZA:{name:"South Africa",dial_code:"+27",code:"ZA"},SS:{name:"South Sudan",dial_code:"+211",code:"SS"},GS:{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS"},ES:{name:"Spain",dial_code:"+34",code:"ES"},LK:{name:"Sri Lanka",dial_code:"+94",code:"LK"},SD:{name:"Sudan",dial_code:"+249",code:"SD"},SR:{name:"Suriname",dial_code:"+597",code:"SR"},SJ:{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ"},SZ:{name:"Swaziland",dial_code:"+268",code:"SZ"},SE:{name:"Sweden",dial_code:"+46",code:"SE"},CH:{name:"Switzerland",dial_code:"+41",code:"CH"},SY:{name:"Syrian Arab Republic",dial_code:"+963",code:"SY"},TW:{name:"Taiwan",dial_code:"+886",code:"TW"},TJ:{name:"Tajikistan",dial_code:"+992",code:"TJ"},TZ:{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",code:"TZ"},TH:{name:"Thailand",dial_code:"+66",code:"TH"},TL:{name:"Timor-Leste",dial_code:"+670",code:"TL"},TG:{name:"Togo",dial_code:"+228",code:"TG"},TK:{name:"Tokelau",dial_code:"+690",code:"TK"},TO:{name:"Tonga",dial_code:"+676",code:"TO"},TT:{name:"Trinidad and Tobago",dial_code:"+1868",code:"TT"},TN:{name:"Tunisia",dial_code:"+216",code:"TN"},TR:{name:"Turkey",dial_code:"+90",code:"TR"},TM:{name:"Turkmenistan",dial_code:"+993",code:"TM"},TC:{name:"Turks and Caicos Islands",dial_code:"+1649",code:"TC"},TV:{name:"Tuvalu",dial_code:"+688",code:"TV"},UG:{name:"Uganda",dial_code:"+256",code:"UG"},UA:{name:"Ukraine",dial_code:"+380",code:"UA"},AE:{name:"United Arab Emirates",dial_code:"+971",code:"AE"},GB:{name:"United Kingdom",dial_code:"+44",code:"GB"},US:{name:"United States",dial_code:"+1",code:"US"},UY:{name:"Uruguay",dial_code:"+598",code:"UY"},UZ:{name:"Uzbekistan",dial_code:"+998",code:"UZ"},VU:{name:"Vanuatu",dial_code:"+678",code:"VU"},VE:{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",code:"VE"},VN:{name:"Vietnam",dial_code:"+84",code:"VN"},VG:{name:"Virgin Islands, British",dial_code:"+1284",code:"VG"},VI:{name:"Virgin Islands, U.S.",dial_code:"+1340",code:"VI"},WF:{name:"Wallis and Futuna",dial_code:"+681",code:"WF"},YE:{name:"Yemen",dial_code:"+967",code:"YE"},ZM:{name:"Zambia",dial_code:"+260",code:"ZM"},ZW:{name:"Zimbabwe",dial_code:"+263",code:"ZW"}},ehV=/^[0-9+\-()*#\s]+$/,ehH=[{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"},{value:"5",label:"5"},{value:"6",label:"6"},{value:"7",label:"7"},{value:"8",label:"8"},{value:"9",label:"9"}],eh$=[{value:"+",label:"+"},{value:"0",label:"0"}],ehG=[{value:"*",label:"*"},{value:"0",label:"0"},{value:"#",label:"#"}],ehX={name:"DialpadPanel",components:{IconBackspaceOutline:ehL,IconDialpad:ehq,NcButton:e7.A,NcPopover:ST.N,NcSelect:YX.default},props:{token:{type:String,default:""},value:{type:String,default:""},container:{type:String,default:"#dial-popover"},dialing:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["dialType","update:value","submit"],setup(e){let t=Object.values(ehW).map(e=>({...e,dial_and_name:e.dial_code+" "+e.name}));return{buttons:e.dialing?ehH.concat(ehG):ehH.concat(eh$),options:t}},data:()=>({region:null}),methods:{t:K.t,handlePad(e){this.dialing?this.$emit("dialType",e):this.$emit("update:value",this.value+e)},dialCode(e){this.$emit("update:value",e.dial_code),this.$nextTick(()=>{this.$refs.panel?.focus()})},prefillCode(){if(this.dialing)return;let e=(0,K.JK)().toUpperCase();this.region=ehW[e]||ehW[e.split("_").pop()]||ehW[e.split("_").shift()],this.region&&""===this.value&&this.dialCode(this.region)},handleKeyDown(e){!this.dialing&&this.$refs.regionSelect.$el.contains(e.target)||(ehV.test(e.key)?this.handlePad(e.key):"Backspace"===e.key?this.handleBackspace():"Enter"===e.key&&(this.$emit("submit",e),this.$refs.popover.$refs.popover.hide()))},handleBackspace(){this.$emit("update:value",this.value.slice(0,-1))}}},ehK=(0,to.default)(ehX,[["render",ehx],["__scopeId","data-v-739ee1ca"]]),ehY={class:"wrapper"};function ehQ(e,t,i,n,r,a){let s=(0,z.g2)("PermissionEditor");return(0,z.uX)(),(0,z.CE)("div",ehY,[(0,z.bF)(s,{displayName:a.displayName,permissions:a.permissions,onClose:t[0]||(t[0]=t=>e.$emit("close")),onSubmit:a.handleSubmitPermissions},null,8,["displayName","permissions","onSubmit"])])}let ehZ={class:"wrapper"},ehJ=["id","innerHTML"],eh0={key:1,class:"loading-screen"};function eh1(e,t,i,n,r,a){let s=(0,z.g2)("NcCheckboxRadioSwitch"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("NcModal");return(0,z.uX)(),(0,z.Wv)(l,{size:"small",container:i.nestedContainer,labelId:n.dialogHeaderId,onClose:t[7]||(t[7]=t=>e.$emit("close"))},{default:(0,z.k6)(()=>[(0,z.Lk)("div",ehZ,[i.loading?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.Lk)("p",{id:n.dialogHeaderId,class:"title",innerHTML:a.modalTitle},null,8,ehJ),(0,z.Lk)("form",{onSubmit:t[6]||(t[6]=(0,z.D$)((...e)=>a.handleSubmitPermissions&&a.handleSubmitPermissions(...e),["prevent"]))},[(0,z.bF)(s,{modelValue:n.callStart,"onUpdate:modelValue":t[0]||(t[0]=e=>n.callStart=e),class:"checkbox"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Start a call")),1)]),_:1},8,["modelValue"]),(0,z.bF)(s,{modelValue:n.lobbyIgnore,"onUpdate:modelValue":t[1]||(t[1]=e=>n.lobbyIgnore=e),class:"checkbox"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Skip the lobby")),1)]),_:1},8,["modelValue"]),(0,z.bF)(s,{modelValue:n.chatMessagesAndReactions,"onUpdate:modelValue":t[2]||(t[2]=e=>n.chatMessagesAndReactions=e),class:"checkbox"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Can post messages and reactions")),1)]),_:1},8,["modelValue"]),(0,z.bF)(s,{modelValue:n.publishAudio,"onUpdate:modelValue":t[3]||(t[3]=e=>n.publishAudio=e),class:"checkbox"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Enable the microphone")),1)]),_:1},8,["modelValue"]),(0,z.bF)(s,{modelValue:n.publishVideo,"onUpdate:modelValue":t[4]||(t[4]=e=>n.publishVideo=e),class:"checkbox"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Enable the camera")),1)]),_:1},8,["modelValue"]),(0,z.bF)(s,{modelValue:n.publishScreen,"onUpdate:modelValue":t[5]||(t[5]=e=>n.publishScreen=e),class:"checkbox"},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Share the screen")),1)]),_:1},8,["modelValue"]),(0,z.bF)(o,{type:"submit",class:"button-update-permission",variant:"primary",disabled:a.submitButtonDisabled},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(a.t("spreed","Update permissions")),1)]),_:1},8,["disabled"])],32)],64)),i.loading?((0,z.uX)(),(0,z.CE)("div",eh0,[t[8]||(t[8]=(0,z.Lk)("span",{class:"icon-loading"},null,-1)),(0,z.Lk)("p",null,(0,z.v_)(a.t("spreed","Updating permissions")),1)])):(0,z.Q3)("",!0)])]),_:1},8,["container","labelId"])}let eh2=rq.PERMISSIONS,eh3={name:"PermissionsEditor",components:{NcCheckboxRadioSwitch:eoj.A,NcModal:L_.N,NcButton:e7.A},props:{permissions:{type:Number,default:null},displayName:{type:String,default:""},nestedContainer:{type:String,default:void 0},conversationName:{type:String,default:""},loading:{type:Boolean,default:!1}},emits:["close","submit"],setup(){let e=`permissions-editor-${(0,z.Bi)()}`,t=(0,z.KR)(!1),i=(0,z.KR)(!1),n=(0,z.KR)(!1),r=(0,z.KR)(!1);return{dialogHeaderId:e,callStart:t,lobbyIgnore:i,chatMessagesAndReactions:n,publishAudio:r,publishVideo:(0,z.KR)(!1),publishScreen:(0,z.KR)(!1)}},computed:{modalTitle(){if(this.displayName)return(0,K.t)("spreed","In this conversation {user} can:",{user:this.displayName});if(this.conversationName)return(0,K.t)("spreed","Edit default permissions for participants in {conversationName}",{conversationName:this.conversationName});throw Error("you need to fill either the conversationName or the displayName props")},permissionsWithDefault(){return this.permissions!==eh2.DEFAULT?this.permissions:(0,X.C)("spreed","default_permissions",eh2.MAX_DEFAULT&~eh2.LOBBY_IGNORE)},formPermissions(){return(this.callStart?eh2.CALL_START:0)|eh2.CALL_JOIN|(this.lobbyIgnore?eh2.LOBBY_IGNORE:0)|(this.chatMessagesAndReactions?eh2.CHAT:0)|(this.publishAudio?eh2.PUBLISH_AUDIO:0)|(this.publishVideo?eh2.PUBLISH_VIDEO:0)|(this.publishScreen?eh2.PUBLISH_SCREEN:0)|eh2.CUSTOM},submitButtonDisabled(){return!!(this.permissionsWithDefault&eh2.CALL_START)===this.callStart&&!!(this.permissionsWithDefault&eh2.LOBBY_IGNORE)===this.lobbyIgnore&&!!(this.permissionsWithDefault&eh2.CHAT)===this.chatMessagesAndReactions&&!!(this.permissionsWithDefault&eh2.PUBLISH_AUDIO)===this.publishAudio&&!!(this.permissionsWithDefault&eh2.PUBLISH_VIDEO)===this.publishVideo&&!!(this.permissionsWithDefault&eh2.PUBLISH_SCREEN)===this.publishScreen}},mounted(){this.writePermissionsToComponent(this.permissionsWithDefault)},methods:{t:K.t,writePermissionsToComponent(e){this.callStart=!!(e&eh2.CALL_START),this.lobbyIgnore=!!(e&eh2.LOBBY_IGNORE),this.chatMessagesAndReactions=!!(e&eh2.CHAT),this.publishAudio=!!(e&eh2.PUBLISH_AUDIO),this.publishVideo=!!(e&eh2.PUBLISH_VIDEO),this.publishScreen=!!(e&eh2.PUBLISH_SCREEN)},handleSubmitPermissions(){this.$emit("submit",this.formPermissions)}}},eh4={name:"ParticipantPermissionsEditor",components:{PermissionEditor:(0,to.default)(eh3,[["render",eh1],["__scopeId","data-v-e4f7076a"]])},props:{participant:{type:Object,required:!0},token:{type:String,required:!0}},emits:["close"],computed:{displayName(){return""===this.participant.displayName&&this.isGuest?(0,K.t)("spreed","Guest"):this.participant.displayName},isGuest(){return[rq.TYPE.GUEST,rq.TYPE.GUEST_MODERATOR].includes(this.participant.participantType)},attendeeId(){return this.participant.attendeeId},permissions(){return this.participant.permissions}},methods:{t:K.t,handleSubmitPermissions(e){try{this.$store.dispatch("setPermissions",{token:this.token,attendeeId:this.attendeeId,permissions:e}),(0,$.i)((0,K.t)("spreed","Permissions modified for {displayName}",{displayName:this.displayName}))}catch(e){console.debug(e),(0,$.s)((0,K.t)("spreed","Could not modify permissions for {displayName}",{displayName:this.displayName}))}finally{this.$emit("close")}}}},eh6=(0,to.default)(eh4,[["render",ehQ]]),eh5={name:"ParticipantItem",components:{AvatarWrapper:Mo,DialpadPanel:ehK,NcActionButton:e2.N,NcActionText:TY,NcActionSeparator:e9,NcButton:e7.A,NcCheckboxRadioSwitch:eoj.A,NcDialog:ox.A,NcIconSvgWrapper:SD.A,NcListItem:ZZ,NcTextArea:edx,ParticipantPermissionsEditor:eh6,IconAccountOutline:P6,IconAccountMinusOutline:ecz,IconAccountPlusOutline:edL,IconBellOutline:esz,IconContentCopy:OI,IconCrownOutline:ecG,IconTrashCanOutline:zH,IconEmailOutline:ec0,IconHandBackLeft:tD,IconLockOutline:ehr,IconLockOpenVariantOutline:ec8,IconLockReset:ehc,IconMicrophoneOutline:QI,IconPencilOutline:z_,IconPhoneDialOutline:iC,IconPhoneInTalkOutline:ehv,IconPhoneHangupOutline:iM,IconPhonePausedOutline:ehA,IconTune:eo6,IconVideoOutline:ell},props:{participant:{type:Object,required:!0},showUserStatus:{type:Boolean,default:!0}},setup:()=>({IconMicrophoneOffOutline:xx,isInCall:aI(),actorStore:of(),token:iQ()}),data:()=>({permissionsEditor:!1,isRemoveDialogOpen:!1,isBanParticipant:!1,internalNote:"",disabled:!1,isLoading:!1}),computed:{participantNavigationId(){return this.participant.actorType+"_"+this.participant.actorId},participantSettingsAriaLabel(){return(0,K.t)("spreed",'Settings for participant "{user}"',{user:this.computedName})},participantAriaLabel(){return(0,K.t)("spreed",'Participant "{user}"',{user:this.computedName})},userNameTitle(){let e=this.computedName;return this.showModeratorLabel&&(e+=" ("+(0,K.t)("spreed","moderator")+")"),this.isBridgeBotUser&&(e+=" ("+(0,K.t)("spreed","bot")+")"),(this.isGuestActor||this.isEmailActor)&&(e+=" ("+(0,K.t)("spreed","guest")+")"),e},isSpeakingStatusAvailable(){return this.isInCall&&!!this.participant.inCall&&!!this.timeSpeaking},phoneCallStatus(){if(this.isPhoneActor&&this.participant.callId)return this.$store.getters.getPhoneStatus(this.participant.callId)},phoneMuteState(){if(this.isPhoneActor&&this.participant.callId)switch(this.$store.getters.getPhoneMute(this.participant.callId)){case rq.SIP_DIALOUT_FLAG.MUTE_MICROPHONE:return"muted";case rq.SIP_DIALOUT_FLAG.MUTE_SPEAKER|rq.SIP_DIALOUT_FLAG.MUTE_MICROPHONE:return"hold";case rq.SIP_DIALOUT_FLAG.NONE:default:return}},statusMessage(){if(this.isInCall&&this.phoneCallStatus)switch(this.phoneCallStatus){case"ringing":return"\uD83D\uDCDE "+(0,K.t)("spreed","Ringing …");case"rejected":return"⚠️ "+(0,K.t)("spreed","Call rejected");case"accepted":case"cleared":return""}return this.isSpeakingStatusAvailable?this.isParticipantSpeaking?"\uD83D\uDCAC "+(0,K.t)("spreed","{time} talking …",{time:uE(this.timeSpeaking,!0)}):"\uD83D\uDCAC "+(0,K.t)("spreed","{time} talking time",{time:uE(this.timeSpeaking,!0)}):this.isEmailActor&&this.participant?.invitedActorId?this.participant.invitedActorId:L$(this.participant)},isEmailActor(){return this.participant.actorType===n2},isPhoneActor(){return this.participant.actorType===n7},isUserActor(){return this.participant.actorType===n0},isFederatedActor(){return this.participant.actorType===n9},isGuestActor(){return this.participant.actorType===n1},canSendCallNotification(){return(this.isUserActor||this.isFederatedActor)&&!this.isSelf&&(this.currentParticipant.permissions&rq.PERMISSIONS.CALL_START)!=0&&this.currentParticipant.participantFlags>rq.CALL_FLAG.DISCONNECTED&&this.participant.inCall===rq.CALL_FLAG.DISCONNECTED},computedName(){return uM(this.participant.displayName,this.participant.actorType)},attendeeId(){return this.participant.attendeeId},isHandRaised(){return this.participant.inCall!==rq.CALL_FLAG.DISCONNECTED&&this.$store.getters.getParticipantRaisedHand(this.participant.sessionIds).state},callIcon(){return this.participant.inCall===rq.CALL_FLAG.DISCONNECTED?null:this.isHandRaised?{icon:tD,size:18,title:(0,K.t)("spreed","Raised their hand")}:this.participant.inCall&rq.CALL_FLAG.WITH_VIDEO?{icon:ell,size:20,title:(0,K.t)("spreed","Joined with video")}:this.participant.inCall&rq.CALL_FLAG.WITH_PHONE?{icon:iC,size:20,title:(0,K.t)("spreed","Joined via phone")}:{icon:QI,size:20,title:(0,K.t)("spreed","Joined with audio")}},participantType(){return this.participant.participantType},sessionIds(){return this.participant.sessionIds||[]},participantSpeakingInformation(){return this.$store.getters.getParticipantSpeakingInformation(this.attendeeId)},isParticipantSpeaking(){return this.participantSpeakingInformation?.speaking},attendeePin(){return this.canBeModerated&&this.participant.attendeePin?hF(this.participant.attendeePin):""},currentParticipant(){return this.$store.getters.conversation(this.token)||{sessionId:"0",participantFlags:0,participantType:this.actorStore.isLoggedIn?rq.TYPE.USER:rq.TYPE.GUEST}},conversation(){return this.$store.getters.conversation(this.token)||{type:nJ.TYPE.GROUP}},isBridgeBotUser(){return this.participant.actorType===n0&&this.participant.actorId===rn},isSelf(){return this.actorStore.checkIfSelfIsActor(this.participant)},selfIsModerator(){return this.participantTypeIsModerator(this.currentParticipant.participantType)},isOffline(){return!this.sessionIds.length&&(this.isUserActor||this.isFederatedActor||this.isGuestActor||this.isEmailActor)&&(aG(this.token,"federation-v2")||!this.conversation.remoteServer&&!this.isFederatedActor)},isModerator(){return this.participantTypeIsModerator(this.participantType)},showBanOption(){return this.supportBanV1&&this.participant.actorType!==n9&&this.showPermissionsOptions},showPermissionsOptions(){return this.canBeModerated&&!this.isModerator&&(this.participant.actorType===n0||this.participant.actorType===n9||this.participant.actorType===n1||this.participant.actorType===n2)},maxLengthWarning(){return this.internalNote.length<=4e3?"":(0,K.t)("spreed","The text must be less than or equal to {maxLength} characters long. Your current text is {charactersCount} characters long.",{maxLength:4e3,charactersCount:this.internalNote.length})},removeParticipantLabel(){switch(this.participant.actorType){case n3:return(0,K.t)("spreed","Remove group and members");case n4:return(0,K.t)("spreed","Remove team and members");default:return(0,K.t)("spreed","Remove participant")}},removeDialogMessage(){switch(this.participant.actorType){case n3:return(0,K.t)("spreed",'Do you really want to remove group "{displayName}" and its members from this conversation?',{displayName:this.computedName},void 0,{escape:!1,sanitize:!1});case n4:return(0,K.t)("spreed",'Do you really want to remove team "{displayName}" and its members from this conversation?',{displayName:this.computedName},void 0,{escape:!1,sanitize:!1});default:return(0,K.t)("spreed","Do you really want to remove {displayName} from this conversation?",{displayName:this.computedName},void 0,{escape:!1,sanitize:!1})}},showModeratorLabel(){return this.isModerator&&![nJ.TYPE.ONE_TO_ONE,nJ.TYPE.ONE_TO_ONE_FORMER,nJ.TYPE.CHANGELOG].includes(this.conversation.type)},canBeModerated(){return this.participantType!==rq.TYPE.OWNER&&!this.isSelf&&this.selfIsModerator&&!this.isBridgeBotUser},canBeDemoted(){return this.canBeModerated&&[rq.TYPE.MODERATOR,rq.TYPE.GUEST_MODERATOR].includes(this.participantType)&&(this.participant.actorType===n0||this.participant.actorType===n1||this.participant.actorType===n2)},canBePromoted(){return this.canBeModerated&&!this.isModerator&&(this.participant.actorType===n0||this.participant.actorType===n1||this.participant.actorType===n2)},supportBanV1(){return aG(this.token,"ban-v1")},isLobbyEnabled(){return this.conversation.lobbyState===r1},canSkipLobby(){return this.isModerator||(this.participant.permissions&rq.PERMISSIONS.LOBBY_IGNORE)!=0},showToggleLobbyAction(){return this.canBeModerated&&!this.isModerator&&this.isLobbyEnabled},showParticipantActions(){return this.canBeModerated||this.canSendCallNotification},preloadedUserStatus(){return LH(this.participant)},attendeePermissions(){return this.participant.attendeePermissions},hasNonDefaultPermissions(){return this.attendeePermissions!==rq.PERMISSIONS.DEFAULT},actionIcon(){if(!this.isModerator){if(this.attendeePermissions===rq.PERMISSIONS.MAX_CUSTOM)return ec8;else if(this.attendeePermissions===rq.PERMISSIONS.CUSTOM)return ehr;else if(this.attendeePermissions!==rq.PERMISSIONS.DEFAULT)return eo6}},timeSpeaking(){return this.participantSpeakingInformation&&void 0!==this.isParticipantSpeaking?this.participantSpeakingInformation.totalCountedTime:0}},watch:{attendeeId(){this.permissionsEditor=!1,this.isRemoveDialogOpen=!1,this.isBanParticipant=!1,this.internalNote="",this.disabled=!1,this.isLoading=!1},phoneCallStatus(e){e&&("ringing"===e||"accepted"===e)||(this.disabled=!1)}},methods:{t:K.t,formattedTime:uE,participantTypeIsModerator:e=>[rq.TYPE.OWNER,rq.TYPE.MODERATOR,rq.TYPE.GUEST_MODERATOR].includes(e),async promoteToModerator(){await this.$store.dispatch("promoteToModerator",{token:this.token,attendeeId:this.attendeeId})},async demoteFromModerator(){await this.$store.dispatch("demoteFromModerator",{token:this.token,attendeeId:this.attendeeId})},async resendInvitation(){await this.$store.dispatch("resendInvitations",{token:this.token,attendeeId:this.attendeeId,actorId:this.participant.invitedActorId??this.participant.actorId})},async sendCallNotification(){try{await this.$store.dispatch("sendCallNotification",{token:this.token,attendeeId:this.attendeeId}),(0,$.i)((0,K.t)("spreed","Notification was sent to {displayName}",{displayName:this.computedName}))}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","Could not send notification to {displayName}",{displayName:this.computedName}))}},async removeParticipant(){this.isLoading=!0;try{await this.$store.dispatch("removeParticipant",{token:this.token,attendeeId:this.attendeeId,banParticipant:this.isBanParticipant,internalNote:this.internalNote}),this.isBanParticipant=!1,this.internalNote="",this.isRemoveDialogOpen=!1}catch(e){console.error("Error while removing the participant: ",e)}finally{this.isLoading=!1}},grantAllPermissions(){try{this.$store.dispatch("grantAllPermissionsToParticipant",{token:this.token,attendeeId:this.attendeeId}),(0,$.i)((0,K.t)("spreed","Permissions granted to {displayName}",{displayName:this.computedName}))}catch(e){(0,$.s)((0,K.t)("spreed","Could not modify permissions for {displayName}",{displayName:this.computedName}))}},removeAllPermissions(){try{this.$store.dispatch("removeAllPermissionsFromParticipant",{token:this.token,attendeeId:this.attendeeId}),(0,$.i)((0,K.t)("spreed","Permissions removed for {displayName}",{displayName:this.computedName}))}catch(e){(0,$.s)((0,K.t)("spreed","Could not modify permissions for {displayName}",{displayName:this.computedName}))}},applyDefaultPermissions(){try{this.$store.dispatch("setPermissions",{token:this.token,attendeeId:this.attendeeId,permissions:rq.PERMISSIONS.DEFAULT}),(0,$.i)((0,K.t)("spreed","Permissions set to default for {displayName}",{displayName:this.computedName}))}catch(e){(0,$.s)((0,K.t)("spreed","Could not modify permissions for {displayName}",{displayName:this.computedName}))}},async setLobbyPermission(e){try{await this.$store.dispatch("setPermissions",{token:this.token,attendeeId:this.attendeeId,method:e?"add":"remove",permissions:rq.PERMISSIONS.LOBBY_IGNORE}),e?(0,$.i)((0,K.t)("spreed","Permissions granted to {displayName}",{displayName:this.computedName})):(0,$.i)((0,K.t)("spreed","Permissions removed for {displayName}",{displayName:this.computedName}))}catch(e){(0,$.s)((0,K.t)("spreed","Could not modify permissions for {displayName}",{displayName:this.computedName}))}},async dialOutPhoneNumber(){try{if(this.disabled=!0,!this.isInCall){let e=rq.CALL_FLAG.IN_CALL;e|=rq.CALL_FLAG.WITH_AUDIO,(0,G.Ic)("toggle-navigation",{open:!1}),console.info("Joining call"),await this.$store.dispatch("joinCall",{token:this.token,participantIdentifier:this.actorStore.participantIdentifier,flags:e,silent:!1,recordingConsent:!0})}await E4(this.token,this.participant.attendeeId)}catch(e){this.disabled=!1,e?.response?.data?.ocs?.data?.message?(0,$.s)((0,K.t)("spreed","Phone number could not be called: {error}",{error:e?.response?.data?.ocs?.data?.message})):(console.error(e),(0,$.s)((0,K.t)("spreed","Phone number could not be called")))}},async hangupPhoneNumber(){try{this.disabled=!0,await E6(this.sessionIds[0])}catch(e){(0,$.s)((0,K.t)("spreed","Phone number could not be hung up")),this.disabled=!1}},async holdPhoneNumber(){try{await E9(this.sessionIds[0]),this.$store.dispatch("setPhoneMute",{callid:this.participant.callId,value:rq.SIP_DIALOUT_FLAG.MUTE_MICROPHONE|rq.SIP_DIALOUT_FLAG.MUTE_SPEAKER})}catch(e){(0,$.s)((0,K.t)("spreed","Phone number could not be put on hold"))}},async mutePhoneNumber(){try{await E5(this.sessionIds[0]),this.$store.dispatch("setPhoneMute",{callid:this.participant.callId,value:rq.SIP_DIALOUT_FLAG.MUTE_MICROPHONE})}catch(e){(0,$.s)((0,K.t)("spreed","Phone number could not be muted"))}},async unmutePhoneNumber(){try{await E8(this.sessionIds[0]),this.$store.dispatch("setPhoneMute",{callid:this.participant.callId,value:rq.SIP_DIALOUT_FLAG.NONE})}catch(e){(0,$.s)((0,K.t)("spreed","Phone number could not be unmuted"))}},async dialType(e){try{await E7(this.sessionIds[0],e)}catch(e){(0,$.s)((0,K.t)("spreed","DTMF message could not be sent"))}},async copyPhoneNumber(){try{await navigator.clipboard.writeText(this.participant.phoneNumber),(0,$.i)((0,K.t)("spreed","Phone number copied to clipboard"))}catch(e){(0,$.s)((0,K.t)("spreed","Phone number could not be copied"))}}}},eh8=(0,to.default)(eh5,[["render",ecB],["__scopeId","data-v-538cf4d0"]]),eh9={name:"ParticipantsList",components:{LoadingPlaceholder:Np},props:{items:{type:Array,required:!0},loading:{type:Boolean,default:!1},isSearchResult:{type:Boolean,default:!1}},emits:["click"],setup:e=>({selectedParticipants:e.isSearchResult?(0,z.WQ)("selectedParticipants",[]):void 0,token:iQ()}),computed:{component(){return this.isSearchResult?edv:eh8},showUserStatus(){return this.items.length<100},dummyParticipants(){let e=6-this.items.length;return e>0?e:0}},methods:{async handleClickParticipant(e){this.$emit("click",e)},generateKey(e){let t="";return e.attendeeId?t="attendee#"+e.attendeeId:e.source&&(t="search#"+e.source+"#"+e.id),t}}},eh7=(0,to.default)(eh9,[["render",ecA]]),efe=(0,X.C)("spreed","circles_enabled"),eft={name:"ParticipantsSearchResults",components:{IconAccountPlusOutline:edL,IconAccountSearchOutline:edq,NavigationHint:ecC,NcAppNavigationCaption:ecy,NcButton:e7.A,NcEmptyContent:PZ.A,ParticipantsList:eh7},props:{searchResults:{type:Array,required:!0},contactsLoading:{type:Boolean,required:!0},token:{type:String,default:""},noResults:{type:Boolean,default:!1},onlyUsers:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},showSearchHints:{type:Boolean,default:!1},searchText:{type:String,default:""}},emits:["click","clickSearchHint"],setup(){let{participantSearchActions:e}=Q7();return{isCirclesEnabled:efe,participantSearchActions:e}},computed:{circlesWithoutResults(){return this.isCirclesEnabled&&!this.addableCircles.length},sourcesWithoutResults(){return this.onlyUsers?!this.addableUsers.length:!this.addableUsers.length||!this.addableGroups.length||this.circlesWithoutResults},integrations(){return this.participantSearchActions.filter(e=>e.show(this.searchText))},sourcesWithoutResultsList(){if(this.addableUsers.length)if(!this.addableGroups.length)return this.circlesWithoutResults?(0,K.t)("spreed","Add groups or teams"):(0,K.t)("spreed","Add groups");else return this.circlesWithoutResults?(0,K.t)("spreed","Add teams"):(0,K.t)("spreed","Add other sources");return this.addableGroups.length?this.circlesWithoutResults?(0,K.t)("spreed","Add users or teams"):(0,K.t)("spreed","Add users"):this.circlesWithoutResults?(0,K.t)("spreed","Add users, groups or teams"):(0,K.t)("spreed","Add users or groups")},participants(){return this.$store.getters.participantsList(this.token)},addableUsers(){return this.searchResults.filter(e=>e.source===n0).filter(e=>!this.participants.some(t=>e.id===t.userId))},addableGroups(){return this.searchResults.filter(e=>e.source===n3)},addableEmails(){return this.searchResults.filter(e=>e.source===n2)},addableCircles(){return this.searchResults.filter(e=>e.source===n4)},addableRemotes(){return this.searchResults.filter(e=>e.source===rt).map(e=>({...e,source:n9})).concat(OC.debug?this.addableUsers.map(e=>({...e,id:e.id+"@"+window.location.host,label:e.id+"@"+window.location.host,source:n9})):[])},displaySearchHint(){return!this.contactsLoading&&""===this.searchText}},methods:{t:K.t,handleClickParticipant(e){this.$emit("click",e)},handleClickHint(){this.$emit("clickSearchHint")},runIntegration(e){e.callback(this.searchText).then(e=>{this.$emit("click",e)})}}},efi=(0,to.default)(eft,[["render",ecp],["__scopeId","data-v-603e62f6"]]),efn={key:0};function efr(e,t,i,n,r,a){let s=(0,z.g2)("NcAppNavigationCaption"),o=(0,z.g2)("NavigationHint"),l=(0,z.g2)("IconPhoneOutline"),u=(0,z.g2)("NcListItem");return i.value?((0,z.uX)(),(0,z.CE)("ul",efn,[(0,z.bF)(s,{name:a.t("spreed","Phone numbers")},null,8,["name"]),a.errorHint?((0,z.uX)(),(0,z.Wv)(o,{key:0,hint:a.errorHint},null,8,["hint"])):(0,z.Q3)("",!0),a.libPhoneNumber?((0,z.uX)(),(0,z.Wv)(u,{key:1,name:i.name,onClick:a.selectPhoneNumber},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{size:n.AVATAR.SIZE.DEFAULT},null,8,["size"])]),subname:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(i.participantPhoneItem.phoneNumber),1)]),_:1},8,["name","onClick"])):(0,z.Q3)("",!0)])):(0,z.Q3)("",!0)}async function efa(){let{parsePhoneNumberFromString:e,validatePhoneNumberLength:t}=await __webpack_require__.e("defaultVendors-node_modules_libphonenumber-js_index_js").then(__webpack_require__.bind(__webpack_require__,18820));return{parsePhoneNumberFromString:e,validatePhoneNumberLength:t}}function efs(){let{isReady:e,result:t}=eaS(efa,!0);return{isLibphonenumberReady:e,libphonenumber:t}}let efo={name:"SelectPhoneNumber",components:{NavigationHint:ecC,NcAppNavigationCaption:ecy,NcListItem:ZZ,IconPhoneOutline:iH},props:{name:{type:String,required:!0},value:{type:String,required:!0},participantPhoneItem:{type:Object,required:!0}},emits:["select","update:participantPhoneItem"],setup(){let{isLibphonenumberReady:e,libphonenumber:t}=efs();return{AVATAR:ah,isLibphonenumberReady:e,libphonenumber:t}},computed:{libPhoneNumber(){return this.isLibphonenumberReady&&this.value?this.libphonenumber.parsePhoneNumberFromString(this.value):void 0},errorHint(){if(!this.isLibphonenumberReady)return(0,K.t)("spreed","Loading …");switch(this.libphonenumber.validatePhoneNumberLength(this.value)){case"INVALID_LENGTH":return(0,K.t)("spreed","Number length is not valid");case"INVALID_COUNTRY":return(0,K.t)("spreed","Region code is not valid");case"TOO_SHORT":return(0,K.t)("spreed","Number length is too short");case"TOO_LONG":return(0,K.t)("spreed","Number length is too long");case"NOT_A_NUMBER":return(0,K.t)("spreed","Number is not valid");default:return""}}},watch:{libPhoneNumber(e){if(!e)return void this.$emit("update:participantPhoneItem",{});let t=e?.format("E.164");this.$emit("update:participantPhoneItem",{id:`PHONE(${t})`,source:n7,label:t,phoneNumber:t})}},methods:{t:K.t,selectPhoneNumber(){this.$emit("select",this.participantPhoneItem)}}},efl=(0,to.default)(efo,[["render",efr]]),efu='a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])';function efd(e,t,i={confirmEnter:!1}){let n=(0,z.KR)(null),r=(0,z.KR)(null),a=(0,z.KR)([]),s=(0,z.EW)(()=>a.value.map(e=>e.getAttribute("data-nav-id"))),o=(0,z.KR)(null),l=(0,z.KR)(null),u=e=>{if(e.hasAttribute("data-nav-id"))return e.getAttribute("data-nav-id");let t=e.parentNode;for(;t&&t!==document.body;){if(t.hasAttribute("data-nav-id"))return t.getAttribute("data-nav-id");t=t.parentNode}},d=e=>{let t=s.value.indexOf(u(e.target));o.value!==t&&-1!==t&&(o.value=t)},c=e=>{(!n.value?.contains(e.relatedTarget)||r.value?.$el.contains(e.relatedTarget)||r.value.contains?.(e.relatedTarget))&&(o.value=null)};function h(e){o.value=e;let t=a.value[e];if(t.matches(efu))return void t.focus();try{t.querySelector(efu).focus()}catch(e){console.warn("Nav element does not have any focusable children")}}function f(e){null!==o.value&&(e.preventDefault(),e.stopImmediatePropagation(),o.value=null,setTimeout(()=>{r.value.focus()},0))}function m(e){let t=null===o.value;return t&&(e?.preventDefault(),h(0),!l.value&&e?.key==="Enter"&&n.value?.contains(a.value[0])&&a.value[0].click()),t}function g(e){e.preventDefault(),m()||(o.value0?h(o.value-1):h(s.value.length-1))}return(0,z.sV)(()=>{n.value=(0,z.R1)(e)?.$el??(0,z.R1)(e),r.value=(0,z.R1)(t),l.value=i.confirmEnter,n.value?.addEventListener("keydown",e=>{s.value?.length&&("ArrowDown"===e.key?g(e):"ArrowUp"===e.key?p(e):"Enter"===e.key?m(e):("Escape"===e.key||"Backspace"===e.key)&&f(e))})}),{initializeNavigation:function(){a.value=Array.from(n.value?.querySelectorAll("[data-nav-id]")),o.value=null,n.value?.addEventListener("focus",d,!0),n.value?.addEventListener("blur",c,!0)},resetNavigation:function(){a.value=[],n.value?.removeEventListener("focus",d,!0),n.value?.removeEventListener("blur",c,!0)}}}let efc={name:"NewConversationContactsPage",components:{ContactSelectionBubble:ed8,DialpadPanel:ehK,NcTextField:oD.A,ParticipantsSearchResults:efi,SelectPhoneNumber:efl,TransitionWrapper:DL,Close:eet,Magnify:ZM},directives:{IntersectionObserver:Tu},props:{token:{type:String,default:""},selectedParticipants:{type:Array,required:!0},canModerateSipDialOut:{type:Boolean,default:!1},onlyUsers:{type:Boolean,required:!1}},emits:["update:selectedParticipants"],setup(){let e=(0,z.KR)(null),t=(0,z.KR)(null),{initializeNavigation:i,resetNavigation:n}=efd(e,t);return{initializeNavigation:i,resetNavigation:n,wrapper:e,setContacts:t}},data:()=>({searchText:"",searchResults:[],cachedFullSearchResults:[],contactsLoading:!0,noResults:!1,participantPhoneItem:{},cancelSearchPossibleConversations:()=>{},debounceFetchSearchResults:()=>{}}),computed:{hasSelectedParticipants(){return 0!==this.selectedParticipants.length},isSearching(){return""!==this.searchText},textFieldLabel(){return this.canModerateSipDialOut?(0,K.t)("spreed","Search participants or phone numbers"):(0,K.t)("spreed","Search participants")},cancelSearchLabel:()=>(0,K.t)("spreed","Cancel search")},mounted(){this.debounceFetchSearchResults=(0,Y.A)(this.fetchSearchResults,250),this.$nextTick(()=>{this.focusInput(),this.fetchSearchResults()})},beforeUnmount(){this.debounceFetchSearchResults.clear?.(),this.cancelSearchPossibleConversations(),this.cancelSearchPossibleConversations=null},methods:{t:K.t,handleInput(){this.noResults=!1,this.contactsLoading=!0,this.searchResults=[],this.debounceFetchSearchResults()},abortSearch(){this.noResults=!1,this.contactsLoading=!1,this.searchResults=this.cachedFullSearchResults,this.searchText="",this.participantPhoneItem={},this.focusInput()},async fetchSearchResults(){this.resetNavigation(),this.contactsLoading=!0;try{this.cancelSearchPossibleConversations("canceled");let{request:e,cancel:t}=hb(l9);this.cancelSearchPossibleConversations=t;let i=await e({searchText:this.searchText,token:this.token||"new",forceTypes:[r4]});this.searchResults=i?.data?.ocs?.data||[],0===this.searchResults.length&&(this.noResults=!0),this.searchText||(this.cachedFullSearchResults=this.searchResults),this.$nextTick(()=>{this.initializeNavigation()})}catch(e){if((0,aw.FZ)(e))return;console.error(e),(0,$.s)((0,K.t)("spreed","An error occurred while performing the search"))}finally{this.contactsLoading=!1}},visibilityChanged([{isIntersecting:e}]){e&&this.focusInput()},focusInput(){this.setContacts.focus()},updateSelectedParticipants(e){let t=this.selectedParticipants.some(t=>t.id===e.id&&t.source===e.source)?this.selectedParticipants.filter(t=>t.id!==e.id||t.source!==e.source):[...this.selectedParticipants,e];this.$emit("update:selectedParticipants",t)},addParticipantPhone(){this.participantPhoneItem?.phoneNumber&&this.updateSelectedParticipants(this.participantPhoneItem)}}},efh=(0,to.default)(efc,[["render",ecg],["__scopeId","data-v-1b551981"]]),eff={class:"start-group__content"},efm={class:"start-group__header"},efg=(0,z.pM)({__name:"ExtendOneToOneDialog",props:{token:{},container:{}},setup(e){let t=e,i=ed(),n=(0,q.n)(),r=(0,z.KR)(s(t.token));(0,z.Gt)("selectedParticipants",r);let a=(0,z.KR)(s(t.token));function s(e){let t=i.getters.conversation(e);return t&&t.type===nJ.TYPE.ONE_TO_ONE?[{id:t.name,source:n0,label:t.displayName}]:[]}async function o(){try{let e=await i.dispatch("extendOneToOneConversation",{token:t.token,newParticipants:r.value});e&&await n.push({name:"conversation",params:{token:e.token}})}catch(e){console.error("Error creating new conversation: ",e),(0,$.s)((0,K.t)("spreed","Error while creating the conversation"))}}return(0,z.Gt)("lockedParticipants",a),(0,z.Gt)("bulkParticipantsSelection",!0),(0,z.wB)(()=>t.token,e=>{r.value=s(e),a.value=s(e)}),(t,i)=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(ST.N),{container:e.container,popupRole:"dialog"},{trigger:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e7.A),{variant:"tertiary",title:(0,z.R1)(K.t)("spreed","Start a group conversation"),"aria-label":(0,z.R1)(K.t)("spreed","Start a group conversation")},{icon:(0,z.k6)(()=>[(0,z.bF)(euP,{size:20})]),_:1},8,["title","aria-label"])]),default:(0,z.k6)(()=>[(0,z.Lk)("div",eff,[(0,z.Lk)("h5",efm,(0,z.v_)((0,z.R1)(K.t)("spreed","Start a group conversation")),1),(0,z.bF)(efh,{selectedParticipants:r.value,"onUpdate:selectedParticipants":i[0]||(i[0]=e=>r.value=e),class:"start-group__contacts",token:e.token,onlyUsers:""},null,8,["selectedParticipants","token"]),(0,z.bF)((0,z.R1)(e7.A),{class:"start-group__action",variant:"primary",disabled:!r.value.length,onClick:o},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)((0,z.R1)(K.t)("spreed","Create conversation")),1)]),_:1},8,["disabled"])])]),_:1},8,["container"]))}}),efp=(0,to.default)(efg,[["__scopeId","data-v-0c185290"]]),ef_={class:"call-time__text"},efv={class:"call-time__placeholder"},efb={key:0,class:"call-duration-hint"},efy={key:0,class:"solid"};function efF(e,t,i,n,r,a){let s=(0,z.g2)("NcIconSvgWrapper"),o=(0,z.g2)("NcButton"),l=(0,z.g2)("NcLoadingIcon"),u=(0,z.g2)("IconStop"),d=(0,z.g2)("NcPopover");return(0,z.uX)(),(0,z.Wv)(d,{shown:r.showPopover,"onUpdate:shown":t[1]||(t[1]=e=>r.showPopover=e),class:"call-time",noFocusTrap:!a.isShowRecordingControls,triggers:[]},{trigger:(0,z.k6)(()=>[(0,z.bF)(o,{disabled:a.isButtonDisabled,wide:!0,title:a.recordingButtonTitle,variant:"tertiary",onClick:t[0]||(t[0]=e=>r.showPopover=!r.showPopover)},(0,z.eX)({default:(0,z.k6)(()=>[(0,z.Lk)("span",ef_,[(0,z.Lk)("span",efv,(0,z.v_)(a.placeholderCallTime),1),(0,z.Lk)("span",null,(0,z.v_)(a.formattedCallTime),1)])]),_:2},[a.isRecording||a.isStartingRecording?{name:"icon",fn:(0,z.k6)(()=>[(0,z.bF)(s,{class:(0,z.C4)(["call-time__recording-icon",{"call-time__recording-icon--start":a.isStartingRecording}]),svg:n.IconScreenRecordOutline,size:20},null,8,["class","svg"])]),key:"0"}:void 0]),1032,["disabled","title"])]),default:(0,z.k6)(()=>[r.isCallDurationHintShown?((0,z.uX)(),(0,z.CE)("span",efb,(0,z.v_)(a.t("spreed","The call has been running for one hour.")),1)):(0,z.Q3)("",!0),a.isShowRecordingControls?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[r.isCallDurationHintShown?((0,z.uX)(),(0,z.CE)("hr",efy)):(0,z.Q3)("",!0),a.isStartingRecording?((0,z.uX)(),(0,z.Wv)(o,{key:1,variant:"tertiary-no-background",wide:!0,onClick:a.stopRecording},{icon:(0,z.k6)(()=>[(0,z.bF)(l,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Cancel recording start")),1)]),_:1},8,["onClick"])):((0,z.uX)(),(0,z.Wv)(o,{key:2,variant:"tertiary-no-background",wide:!0,onClick:a.stopRecording},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Stop recording")),1)]),_:1},8,["onClick"]))],64)):(0,z.Q3)("",!0)]),_:1},8,["shown","noFocusTrap"])}let efk=["aria-hidden","aria-label"],efw=["fill","width","height"],efC={d:"M18,18H6V6H18V18Z"},efA={key:0};function efE(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon stop-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",efC,[i.title?((0,z.uX)(),(0,z.CE)("title",efA,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,efw))],16,efk)}let efS={name:"StopIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},efx=(0,to.default)(efS,[["render",efE]]),efD='',efT=36e5,efM={name:"CallTime",components:{NcButton:e7.A,NcIconSvgWrapper:SD.A,NcLoadingIcon:te.N,NcPopover:ST.N,IconStop:efx},props:{start:{type:Number,required:!0}},setup:()=>({IconScreenRecordOutline:efD,isDocumentVisible:era(),token:iQ()}),data:()=>({callTime:void 0,showPopover:!1,isCallDurationHintShown:!1,timer:null}),computed:{callStart(){return new Date(1e3*this.start)},conversation(){return this.$store.getters.conversation(this.token)||this.$store.getters.dummyConversation},isStartingRecording(){return this.conversation.callRecording===nY||this.conversation.callRecording===nQ},isRecording(){return this.conversation.callRecording===nX||this.conversation.callRecording===nK},isShowRecordingControls(){return this.$store.getters.isModerator&&(this.isStartingRecording||this.isRecording)},isButtonDisabled(){return!this.isShowRecordingControls&&!this.isCallDurationHintShown},recordingButtonTitle(){return this.isStartingRecording?(0,K.t)("spreed","Starting the recording"):this.isRecording?(0,K.t)("spreed","Recording"):""},formattedCallTime(){return uE(this.callTime)},placeholderCallTime(){return this.formattedCallTime.replace(/\d/g,"0")}},watch:{callTime(e){e>efT&&e{this.showPopover=!1},1e4):window.onfocus=()=>setTimeout(()=>{this.showPopover=!1},1e4)}}},efI=(0,to.default)(efM,[["render",efF],["__scopeId","data-v-c62d5d7a"]]),efB={key:0,class:"tasks-counter"},efP={class:"tasks-counter__count"},efL=(0,z.pM)({__name:"TasksCounter",setup(e){let t=oQ(),i=(0,z.EW)(()=>t.tasksCount),n=(0,z.EW)(()=>t.tasksDoneCount),r=(0,z.EW)(()=>0===i.value?0:n.value/i.value*100),a=(0,z.EW)(()=>100===r.value?(0,K.t)("spreed","All tasks done!"):(0,K.n)("spreed","{done} of %n task","{done} of %n tasks",i.value,{done:n.value}));return(e,t)=>i.value?((0,z.uX)(),(0,z.CE)("div",efB,[(0,z.bF)((0,z.R1)(J4),{type:"circular",value:r.value,color:100===r.value?"var(--color-border-success)":void 0},null,8,["value","color"]),(0,z.Lk)("div",efP,(0,z.v_)(a.value),1)])):(0,z.Q3)("",!0)}}),efN=(0,to.default)(efL,[["__scopeId","data-v-3e8e829a"]]),efR={class:"top-bar-menu"};function efj(e,t,i,n,r,a){let s=(0,z.g2)("IconDotsHorizontal"),o=(0,z.g2)("NcIconSvgWrapper"),l=(0,z.g2)("NcActionButton"),u=(0,z.g2)("NcLoadingIcon"),d=(0,z.g2)("IconStop"),c=(0,z.g2)("NcActionSeparator"),h=(0,z.g2)("IconFileOutline"),f=(0,z.g2)("NcActionLink"),m=(0,z.g2)("IconVideoOutline"),g=(0,z.g2)("IconDotsCircle"),p=(0,z.g2)("IconFullscreen"),_=(0,z.g2)("IconFullscreenExit"),b=(0,z.g2)("IconCogOutline"),y=(0,z.g2)("NcActions"),F=(0,z.g2)("NcButton");return(0,z.uX)(),(0,z.CE)("div",efR,[i.isSidebar?((0,z.uX)(),(0,z.Wv)(F,{key:1,class:"top-bar__icon-wrapper","aria-label":a.t("spreed","Check devices"),title:a.t("spreed","Check devices"),variant:"tertiary",onClick:a.showMediaSettingsDialog},{icon:(0,z.k6)(()=>[(0,z.bF)(b,{size:20})]),_:1},8,["aria-label","title","onClick"])):((0,z.uX)(),(0,z.Wv)(y,{key:0,forceMenu:"",title:a.t("spreed","Conversation actions"),"aria-label":a.t("spreed","Conversation actions"),variant:"tertiary"},(0,z.eX)({default:(0,z.k6)(()=>[n.isInCall&&a.canFullModerate?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[a.isOneToOneConversation?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(l,{key:0,closeAfterClick:"",onClick:a.forceMuteOthers},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{svg:n.IconMicrophoneOffOutline,size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Mute others")),1)]),_:1},8,["onClick"])),a.canModerateRecording?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[a.isRecording||a.isStartingRecording||!n.isInCall?a.isStartingRecording&&n.isInCall?((0,z.uX)(),(0,z.Wv)(l,{key:1,closeAfterClick:"",onClick:a.stopRecording},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Cancel recording start")),1)]),_:1},8,["onClick"])):a.isRecording&&n.isInCall?((0,z.uX)(),(0,z.Wv)(l,{key:2,closeAfterClick:"",onClick:a.stopRecording},{icon:(0,z.k6)(()=>[(0,z.bF)(d,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Stop recording")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(l,{key:0,closeAfterClick:"",onClick:a.startRecording},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{svg:n.IconScreenRecordOutline,size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Start recording")),1)]),_:1},8,["onClick"]))],64)):(0,z.Q3)("",!0),!a.isOneToOneConversation||a.canModerateRecording?((0,z.uX)(),(0,z.Wv)(c,{key:2})):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0),a.isFileConversation?((0,z.uX)(),(0,z.Wv)(f,{key:1,target:"_blank",rel:"noopener noreferrer",href:a.linkToFile},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Go to file")),1)]),_:1},8,["href"])):(0,z.Q3)("",!0),n.isInCall?((0,z.uX)(),(0,z.Wv)(l,{key:2,closeAfterClick:"",onClick:a.showMediaSettingsDialog},{icon:(0,z.k6)(()=>[(0,z.bF)(m,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Check devices")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),a.canConfigureBreakoutRooms?((0,z.uX)(),(0,z.Wv)(l,{key:3,closeAfterClick:"",onClick:t[0]||(t[0]=t=>e.$emit("openBreakoutRoomsEditor"))},{icon:(0,z.k6)(()=>[(0,z.bF)(g,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Set up breakout rooms")),1)]),_:1})):(0,z.Q3)("",!0),n.isInCall&&a.canDownloadCallParticipants?((0,z.uX)(),(0,z.Wv)(f,{key:4,href:a.downloadCallParticipantsLink,target:"_blank"},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{svg:n.IconFileDownload,size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Download attendance list")),1)]),_:1},8,["href"])):(0,z.Q3)("",!0),n.isInCall?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.Wv)(l,{key:5,"aria-label":a.t("spreed","Toggle full screen"),closeAfterClick:"",onClick:n.toggleFullscreen},{icon:(0,z.k6)(()=>[n.isFullscreen?((0,z.uX)(),(0,z.Wv)(_,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(p,{key:0,size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.labelFullscreen),1)]),_:1},8,["aria-label","onClick"])),(0,z.bF)(l,{closeAfterClick:"",onClick:a.openConversationSettings},{icon:(0,z.k6)(()=>[(0,z.bF)(b,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Conversation settings")),1)]),_:1},8,["onClick"])]),_:2},[n.isInCall?{name:"icon",fn:(0,z.k6)(()=>[(0,z.bF)(s,{size:20})]),key:"0"}:void 0]),1032,["title","aria-label"]))])}let efO={name:"TopBarMenu",components:{NcActionButton:e2.N,NcActionLink:Tz.N,NcActionSeparator:e9,NcActions:e3.A,NcButton:e7.A,NcLoadingIcon:te.N,NcIconSvgWrapper:SD.A,IconCogOutline:eoH,IconDotsCircle:euZ,IconDotsHorizontal:OO,IconFileOutline:O$,IconFullscreen:tg,IconFullscreenExit:tk,IconStop:efx,IconVideoOutline:ell},props:{token:{type:String,required:!0},showActions:{type:Boolean,default:!0},isSidebar:{type:Boolean,default:!1}},emits:["openBreakoutRoomsEditor"],setup:e=>({IconFileDownload:Y5,IconMicrophoneOffOutline:xx,IconScreenRecordOutline:efD,isFullscreen:e.isSidebar?void 0:x5(),isInCall:aI(),toggleFullscreen:x6}),data:()=>({boundaryElement:document.querySelector(".main-view")}),computed:{conversation(){return this.$store.getters.conversation(this.token)||this.$store.getters.dummyConversation},labelFullscreen(){return this.isFullscreen?(0,K.t)("spreed","Exit full screen (F)"):(0,K.t)("spreed","Full screen (F)")},isFileConversation(){return this.conversation.objectType===nJ.OBJECT_TYPE.FILE&&this.conversation.objectId},linkToFile(){return this.isFileConversation?DZ("/f/{objectId}",{objectId:this.conversation.objectId}):""},isOneToOneConversation(){return this.conversation.type===nJ.TYPE.ONE_TO_ONE||this.conversation.type===nJ.TYPE.ONE_TO_ONE_FORMER},participantType(){return this.conversation.participantType},canFullModerate(){return this.participantType===rq.TYPE.OWNER||this.participantType===rq.TYPE.MODERATOR},canModerate(){return this.canFullModerate||this.participantType===rq.TYPE.GUEST_MODERATOR},canModerateRecording(){return aX(this.token,"call","recording")||!1},canConfigureBreakoutRooms(){return this.conversation.type===nJ.TYPE.GROUP&&!!this.canFullModerate&&this.conversation.objectType!==nJ.OBJECT_TYPE.BREAKOUT_ROOM&&this.conversation.breakoutRoomMode===nJ.BREAKOUT_ROOM_MODE.NOT_CONFIGURED&&!!aX(this.token,"call","breakout-rooms")},isStartingRecording(){return this.conversation.callRecording===nY||this.conversation.callRecording===nQ},isRecording(){return this.conversation.callRecording===nX||this.conversation.callRecording===nK},canDownloadCallParticipants(){return aG(this.token,"download-call-participants")&&this.canModerate&&!this.isOneToOneConversation},downloadCallParticipantsLink(){return(0,O.KT)("apps/spreed/api/v4/call/{token}/download",{token:this.token})}},methods:{t:K.t,forceMuteOthers(){EA.callParticipantModels.forEach(e=>{e.forceMute()})},showMediaSettingsDialog(){(0,G.Ic)("talk:media-settings:show")},openConversationSettings(){(0,G.Ic)("show-conversation-settings",{token:this.token})},startRecording(){this.$store.dispatch("startCallRecording",{token:this.token,callRecording:nX})},stopRecording(){this.$store.dispatch("stopCallRecording",{token:this.token})}}},efz=(0,to.default)(efO,[["render",efj],["__scopeId","data-v-7f8261e4"]]),efU=aX("local","conversations","can-create"),efq=aG("local","conversation-creation-all"),efW={name:"TopBar",components:{BreakoutRoomsEditor:edF,CalendarEventsDialog:ech,CallButton:Si,CallTime:efI,ConversationIcon:LK,ExtendOneToOneDialog:efp,NcButton:e7.A,NcPopover:ST.N,NcRichText:YG,TopBarMenu:efz,TasksCounter:efN,ThreadHeader:es1,IconAccountMultipleOutline:DV,IconAccountMultiplePlusOutline:euP,IconArrowLeft:iu,IconChevronRight:DI,IconClockOutline:O_},props:{isInCall:{type:Boolean,required:!0},isSidebar:{type:Boolean,default:!1}},setup:()=>({AVATAR:ah,PARTICIPANT:rq,groupwareStore:uo(),sidebarStore:oA(),actorStore:of(),chatExtrasStore:oQ(),CONVERSATION:nJ,threadId:Y8(),token:iQ()}),data:()=>({showBreakoutRoomsEditor:!1,boundaryElement:document.querySelector(".main-view")}),computed:{isOneToOneConversation(){return this.conversation.type===nJ.TYPE.ONE_TO_ONE||this.conversation.type===nJ.TYPE.ONE_TO_ONE_FORMER},canExtendOneToOneConversation(){return efU&&efq&&this.isOneToOneConversation&&this.conversation.type!==nJ.TYPE.ONE_TO_ONE_FORMER},isModeratorOrUser(){return this.$store.getters.isModeratorOrUser},conversation(){return this.$store.getters.conversation(this.token)||this.$store.getters.dummyConversation},showUserStatusAsDescription(){return this.isOneToOneConversation&&this.statusMessage},statusMessage(){return L$(this.conversation)},isOffline(){if(!this.isOneToOneConversation)return!1;let e=this.$store.getters.participantsList(this.token).find(e=>e.actorId!==this.actorStore.actorId);return!e||0===e.sessionIds.length},showBackAction(){return!this.isInCall&&(this.chatExtrasStore.showScheduledMessages||!!this.threadId)},scheduledDescriptionLabel(){return this.conversation.type===nJ.TYPE.ONE_TO_ONE?(0,K.t)("spreed","With {displayName}",{displayName:this.conversation.displayName},{escape:!1,sanitize:!1}):(0,K.t)("spreed","In {conversation}",{conversation:this.conversation.displayName},{escape:!1,sanitize:!1})},conversationIconLabel(){return this.showBackAction?(0,K.t)("spreed","Back"):(0,K.t)("spreed","Conversation settings")},participantsInCall(){return this.$store.getters.participantsInCall(this.token)||""},participantsInCallAriaLabel(){return this.canExtendOneToOneConversation?(0,K.t)("spreed","Add participants to this call"):(0,K.n)("spreed","%n participant in call","%n participants in call",this.$store.getters.participantsInCall(this.token))},showCalendarEvents(){return this.getUserId&&!this.isInCall&&!this.isSidebar&&this.conversation.type!==nJ.TYPE.NOTE_TO_SELF&&this.conversation.type!==nJ.TYPE.CHANGELOG},getUserId(){return this.actorStore.userId}},watch:{token:{immediate:!0,handler(e){e&&!this.isSidebar&&this.getUserId&&this.groupwareStore.getUpcomingEvents(e)}}},mounted(){document.body.classList.add("has-topbar")},beforeUnmount(){document.body.classList.remove("has-topbar")},methods:{t:K.t,n:K.n,usernameToColor:TS,openSidebar(e){this.sidebarStore.showSidebar({activeTab:e})},handleClickAvatar(){this.showBackAction||this.isOneToOneConversation?this.threadId?this.$router.replace({query:{},hash:""}):this.chatExtrasStore.showScheduledMessages&&this.chatExtrasStore.setShowScheduledMessages(!1):this.openConversationSettings()},openConversationSettings(){(0,G.Ic)("show-conversation-settings",{token:this.token})}}},efV=(0,to.default)(efW,[["render",euS],["__scopeId","data-v-631d6042"]]),efH={class:"main-view"},ef$=(0,z.pM)({__name:"MainView",props:{token:{}},setup(e){let t=e,i=ed(),n=aI(),r=(0,q.n)(),a=(0,q.t)(),s=of(),o=(0,z.EW)(()=>i.getters.isInLobby),l=(0,z.EW)(()=>i.getters.connectionFailed(t.token));return(0,z.wB)(o,e=>{e&&n.value&&i.dispatch("leaveCall",{token:t.token,participantIdentifier:s.participantIdentifier})}),(0,z.sV)(()=>{(0,z.nT)(()=>{"#direct-call"===a.hash?((0,G.Ic)("talk:media-settings:show",""),r.replace({hash:""})):"#settings"===a.hash&&((0,G.Ic)("show-conversation-settings",{token:t.token}),r.replace({hash:""}))})}),(t,i)=>((0,z.uX)(),(0,z.CE)("div",efH,[o.value?((0,z.uX)(),(0,z.Wv)(elV,{key:0})):((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(efV,{isInCall:(0,z.R1)(n)},null,8,["isInCall"]),(0,z.R1)(n)?((0,z.uX)(),(0,z.Wv)(Ba,{key:0,token:e.token},null,8,["token"])):((0,z.uX)(),(0,z.Wv)(es3,{key:1})),(0,z.bF)(euv),l.value?((0,z.uX)(),(0,z.Wv)(eoh,{key:2,token:e.token},null,8,["token"])):(0,z.Q3)("",!0)],64))]))}}),efG=(0,to.default)(ef$,[["__scopeId","data-v-36cf1175"]]),efX=(0,z.pM)({__name:"NotFoundView",setup:e=>(e,t)=>((0,z.uX)(),(0,z.Wv)(eon,{name:(0,z.R1)(K.t)("spreed","The conversation does not exist"),description:(0,z.R1)(K.t)("spreed","Join a conversation or start a new one!")},{icon:(0,z.k6)(()=>[(0,z.bF)(ZM)]),_:1},8,["name","description"]))}),efK=["aria-hidden","aria-label"],efY=["fill","width","height"],efQ={d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"},efZ={key:0};function efJ(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon information-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",efQ,[i.title?((0,z.uX)(),(0,z.CE)("title",efZ,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,efY))],16,efK)}let ef0={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ef1=(0,to.default)(ef0,[["render",efJ]]),ef2=(0,z.pM)({__name:"SessionConflictView",setup:e=>(e,t)=>((0,z.uX)(),(0,z.Wv)(eon,{name:(0,z.R1)(K.t)("spreed","Duplicate session"),description:(0,z.R1)(K.t)("spreed","You joined the conversation in another window or device. This is currently not supported by Nextcloud Talk so this session was closed.")},{icon:(0,z.k6)(()=>[(0,z.bF)(ef1)]),_:1},8,["name","description"]))}),ef3=["aria-hidden","aria-label"],ef4=["fill","width","height"],ef6={d:"M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z"},ef5={key:0};function ef8(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon format-list-bulleted-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",ef6,[i.title?((0,z.uX)(),(0,z.CE)("title",ef5,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,ef4))],16,ef3)}let ef9={name:"FormatListBulletedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ef7=(0,to.default)(ef9,[["render",ef8]]),eme={class:"hidden-visually"},emt={class:"text"},emi=["title"],emn={key:0,class:"conversation__subname-actor"},emr={class:"conversation__subname-message"};function ema(e,t,i,n,r,a){let s=(0,z.g2)("ConversationIcon"),o=(0,z.g2)("IconStar"),l=(0,z.g2)("NcActionButton"),u=(0,z.g2)("IconContentCopy"),d=(0,z.g2)("NcIconSvgWrapper"),c=(0,z.g2)("IconMessageBadgeOutline"),h=(0,z.g2)("IconBellOutline"),f=(0,z.g2)("IconCogOutline"),m=(0,z.g2)("IconArchiveOutline"),g=(0,z.g2)("IconArchiveOffOutline"),p=(0,z.g2)("IconExitToApp"),_=(0,z.g2)("IconTrashCanOutline"),b=(0,z.g2)("IconArrowLeft"),y=(0,z.g2)("NcActionSeparator"),F=(0,z.g2)("IconPhoneRingOutline"),k=(0,z.g2)("IconMessageAlertOutline"),w=(0,z.g2)("IconShieldLockOutline"),C=(0,z.g2)("IconArrowRight"),A=(0,z.g2)("NcListItem");return(0,z.uX)(),(0,z.Wv)(A,{ref:"listItem",name:i.item.displayName,title:i.item.displayName,"data-nav-id":`conversation_${i.item.token}`,class:(0,z.C4)(["conversation",{"conversation--active":a.isActive,"conversation--compact":i.compact,"conversation--compact__read":i.compact&&!i.item.unreadMessages}]),"actions-aria-label":a.t("spreed","Conversation actions"),to:a.to,bold:!!i.item.unreadMessages,counterNumber:i.item.unreadMessages,counterType:n.counterType,forceMenu:"",compact:i.compact,onClick:a.onClick,"onUpdate:menuOpen":a.handleActionsMenuOpen},(0,z.eX)({icon:(0,z.k6)(()=>[((0,z.uX)(),(0,z.Wv)(s,{key:i.item.token,item:i.item,hideFavorite:i.compact,hideCall:i.compact,hideUserStatus:i.item.type!==n.CONVERSATION.TYPE.ONE_TO_ONE&&i.compact,showUserOnlineStatus:i.compact,size:i.compact?n.AVATAR.SIZE.COMPACT:n.AVATAR.SIZE.DEFAULT},null,8,["item","hideFavorite","hideCall","hideUserStatus","showUserOnlineStatus","size"]))]),name:(0,z.k6)(()=>[i.compact&&a.iconType?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[((0,z.uX)(),(0,z.Wv)((0,z.$y)(a.iconType.component),{size:15,fillColor:a.iconType.color},null,8,["fillColor"])),(0,z.Lk)("span",eme,(0,z.v_)(a.iconType.text),1)],64)):(0,z.Q3)("",!0),(0,z.Lk)("span",emt,(0,z.v_)(i.item.displayName),1)]),_:2},[i.compact||i.item.isSensitive?void 0:{name:"subname",fn:(0,z.k6)(()=>[(0,z.Lk)("span",{class:"conversation__subname",title:n.conversationInformation.title},[n.conversationInformation.actor?((0,z.uX)(),(0,z.CE)("span",emn,(0,z.v_)(n.conversationInformation.actor),1)):(0,z.Q3)("",!0),n.conversationInformation.icon?((0,z.uX)(),(0,z.Wv)((0,z.$y)(n.conversationInformation.icon),{key:1,class:"conversation__subname-icon",size:16})):(0,z.Q3)("",!0),(0,z.Lk)("span",emr,(0,z.v_)(n.conversationInformation.message),1)],8,emi)]),key:"0"},i.isSearchResult?i.item.token?{name:"actions",fn:(0,z.k6)(()=>[(0,z.bF)(l,{key:"join-conversation",closeAfterClick:"",onClick:a.onActionClick},{icon:(0,z.k6)(()=>[(0,z.bF)(C,{class:"bidirectional-icon",size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Join conversation")),1)]),_:1},8,["onClick"]),(0,z.bF)(l,{key:"copy-link",onClick:(0,z.D$)(a.handleCopyLink,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Copy link")),1)]),_:1},8,["onClick"])]),key:"2"}:void 0:{name:"actions",fn:(0,z.k6)(()=>[null===n.submenu?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[a.canFavorite?((0,z.uX)(),(0,z.Wv)(l,{key:"toggle-favorite",closeAfterClick:"",onClick:a.toggleFavoriteConversation},{icon:(0,z.k6)(()=>[(0,z.bF)(o,{size:20,fillColor:i.item.isFavorite?void 0:"#FFCC00"},null,8,["fillColor"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.labelFavorite),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),(0,z.bF)(l,{key:"copy-link",onClick:(0,z.D$)(a.handleCopyLink,["stop"])},{icon:(0,z.k6)(()=>[(0,z.bF)(u,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Copy link")),1)]),_:1},8,["onClick"]),(0,z.bF)(l,{key:"toggle-read",closeAfterClick:"",onClick:a.toggleReadConversation},{icon:(0,z.k6)(()=>[i.item.unreadMessages?((0,z.uX)(),(0,z.Wv)(d,{key:0,svg:n.IconMarkChatRead,size:20},null,8,["svg"])):((0,z.uX)(),(0,z.Wv)(c,{key:1,size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.labelRead),1)]),_:1},8,["onClick"]),(0,z.bF)(l,{key:"show-notifications",isMenu:"",onClick:t[0]||(t[0]=e=>n.submenu="notifications")},{icon:(0,z.k6)(()=>[(0,z.bF)(h,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Notifications")),1)]),_:1}),(0,z.bF)(l,{key:"show-settings",closeAfterClick:"",onClick:a.showConversationSettings},{icon:(0,z.k6)(()=>[(0,z.bF)(f,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Conversation settings")),1)]),_:1},8,["onClick"]),n.supportsArchive?((0,z.uX)(),(0,z.Wv)(l,{key:"toggle-archive",closeAfterClick:"",onClick:a.toggleArchiveConversation},{icon:(0,z.k6)(()=>[i.item.isArchived?((0,z.uX)(),(0,z.Wv)(g,{key:1,size:20})):((0,z.uX)(),(0,z.Wv)(m,{key:0,size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.labelArchive),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),i.item.canLeaveConversation?((0,z.uX)(),(0,z.Wv)(l,{key:"leave-conversation",closeAfterClick:"",onClick:a.leaveConversation},{icon:(0,z.k6)(()=>[(0,z.bF)(p,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Leave conversation")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0),i.item.canDeleteConversation?((0,z.uX)(),(0,z.Wv)(l,{key:"delete-conversation",closeAfterClick:"",class:"critical",onClick:a.deleteConversation},{icon:(0,z.k6)(()=>[(0,z.bF)(_,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Delete conversation")),1)]),_:1},8,["onClick"])):(0,z.Q3)("",!0)],64)):"notifications"===n.submenu?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(l,{key:"action-back","aria-label":a.t("spreed","Back"),onClick:t[1]||(t[1]=(0,z.D$)(e=>n.submenu=null,["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(b,{class:"bidirectional-icon",size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Back")),1)]),_:1},8,["aria-label"]),(0,z.bF)(y),((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(n.notificationLevels,e=>((0,z.uX)(),(0,z.Wv)(l,{key:e.value,modelValue:a.notificationLevel,value:e.value.toString(),type:"radio",onClick:t=>a.setNotificationLevel(e.value)},{icon:(0,z.k6)(()=>[((0,z.uX)(),(0,z.Wv)((0,z.$y)(e.icon),{size:20}))]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(e.label),1)]),_:2},1032,["modelValue","value","onClick"]))),128)),a.showCallNotificationSettings?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.bF)(y),(0,z.bF)(l,{key:"notification-calls",type:"checkbox",modelValue:a.notificationCalls,onClick:t[2]||(t[2]=e=>a.setNotificationCalls(!a.notificationCalls))},{icon:(0,z.k6)(()=>[(0,z.bF)(F,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Notify about calls")),1)]),_:1},8,["modelValue"])],64)):(0,z.Q3)("",!0),n.supportImportantConversations||n.supportSensitiveConversations?((0,z.uX)(),(0,z.CE)(z.FK,{key:1},[(0,z.bF)(y),n.supportImportantConversations?((0,z.uX)(),(0,z.Wv)(l,{key:"toggle-important",type:"checkbox",description:a.labelImportantHint,modelValue:i.item.isImportant,onClick:t[3]||(t[3]=e=>a.toggleImportant(!i.item.isImportant))},{icon:(0,z.k6)(()=>[(0,z.bF)(k,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Important conversation")),1)]),_:1},8,["description","modelValue"])):(0,z.Q3)("",!0),n.supportSensitiveConversations?((0,z.uX)(),(0,z.Wv)(l,{key:"toggle-sensitive",type:"checkbox",description:a.t("spreed","Hide message text"),modelValue:i.item.isSensitive,onClick:t[4]||(t[4]=e=>a.toggleSensitive(!i.item.isSensitive))},{icon:(0,z.k6)(()=>[(0,z.bF)(w,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(a.t("spreed","Sensitive conversation")),1)]),_:1},8,["description","modelValue"])):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0)]),key:"1"}]),1032,["name","title","data-nav-id","class","actions-aria-label","to","bold","counterNumber","counterType","compact","onClick","onUpdate:menuOpen"])}let ems=["aria-hidden","aria-label"],emo=["fill","width","height"],eml={d:"M8.2 5L6.2 3H21V9H12.2L10.2 7H19V5H8.2M20 16.8V10H18V14.8L20 16.8M20 19.35V19.34L18 17.34V17.35L9.66 9H9.66L7.66 7H7.66L6.13 5.47L2.39 1.73L1.11 3L3 4.89V9H7.11L17.11 19H6V10H4V21H19.11L20.84 22.73L22.11 21.46L20 19.35Z"},emu={key:0};function emd(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon archive-off-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",eml,[i.title?((0,z.uX)(),(0,z.CE)("title",emu,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,emo))],16,ems)}let emc={name:"ArchiveOffOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},emh=(0,to.default)(emc,[["render",emd]]),emf=["aria-hidden","aria-label"],emm=["fill","width","height"],emg={d:"M20 21H4V10H6V19H18V10H20V21M3 3H21V9H3V3M9.5 11H14.5C14.78 11 15 11.22 15 11.5V13H9V11.5C9 11.22 9.22 11 9.5 11M5 5V7H19V5H5Z"},emp={key:0};function em_(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon archive-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",emg,[i.title?((0,z.uX)(),(0,z.CE)("title",emp,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,emm))],16,emf)}let emv={name:"ArchiveOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},emb=(0,to.default)(emv,[["render",em_]]),emy=["aria-hidden","aria-label"],emF=["fill","width","height"],emk={d:"M19,3H5C3.89,3 3,3.89 3,5V9H5V5H19V19H5V15H3V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M10.08,15.58L11.5,17L16.5,12L11.5,7L10.08,8.41L12.67,11H3V13H12.67L10.08,15.58Z"},emw={key:0};function emC(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon exit-to-app-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",emk,[i.title?((0,z.uX)(),(0,z.CE)("title",emw,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,emF))],16,emy)}let emA={name:"ExitToAppIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},emE=(0,to.default)(emA,[["render",emC]]),emS=["aria-hidden","aria-label"],emx=["fill","width","height"],emD={d:"M13,10H11V6H13V10M13,12H11V14H13V12M22,4V16A2,2 0 0,1 20,18H6L2,22V4A2,2 0 0,1 4,2H20A2,2 0 0,1 22,4M20,4H4V17.2L5.2,16H20V4Z"},emT={key:0};function emM(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon message-alert-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",emD,[i.title?((0,z.uX)(),(0,z.CE)("title",emT,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,emx))],16,emS)}let emI={name:"MessageAlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},emB=(0,to.default)(emI,[["render",emM]]),emP=["aria-hidden","aria-label"],emL=["fill","width","height"],emN={d:"M23.71 16.67C20.66 13.78 16.54 12 12 12S3.34 13.78.29 16.67c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l2.48 2.48c.18.18.43.29.71.29.27 0 .52-.11.7-.28.79-.74 1.69-1.36 2.66-1.85.33-.16.56-.5.56-.9v-3.1c1.45-.48 3-.73 4.6-.73s3.15.25 4.6.72v3.1c0 .39.23.74.56.9.98.49 1.87 1.12 2.66 1.85.18.18.43.28.7.28.28 0 .53-.11.71-.29l2.48-2.48c.18-.18.29-.43.29-.71a.99.99 0 0 0-.29-.7zm-18.31.56c-.66.37-1.29.8-1.87 1.27l-1.07-1.07c.91-.75 1.9-1.39 2.95-1.9v1.7H5.4zm15.07 1.26c-.59-.48-1.21-.9-1.87-1.27v-1.7c1.04.51 2.03 1.15 2.94 1.9l-1.07 1.07zm.69-12.23l-1.41-1.41-3.56 3.55 1.41 1.41s3.45-3.52 3.56-3.55zM11 2h2v5h-2V2zM6.4 9.81L7.81 8.4 4.26 4.84 2.84 6.26c.11.03 3.56 3.55 3.56 3.55z"},emR={key:0};function emj(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon phone-ring-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",emN,[i.title?((0,z.uX)(),(0,z.CE)("title",emR,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,emL))],16,emP)}let emO={name:"PhoneRingOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},emz=(0,to.default)(emO,[["render",emj]]),emU=["aria-hidden","aria-label"],emq=["fill","width","height"],emW={d:"M21,11C21,16.55 17.16,21.74 12,23C6.84,21.74 3,16.55 3,11V5L12,1L21,5V11M12,21C15.75,20 19,15.54 19,11.22V6.3L12,3.18L5,6.3V11.22C5,15.54 8.25,20 12,21M14.8,11V9.5C14.8,8.1 13.4,7 12,7C10.6,7 9.2,8.1 9.2,9.5V11C8.6,11 8,11.6 8,12.2V15.7C8,16.4 8.6,17 9.2,17H14.7C15.4,17 16,16.4 16,15.8V12.3C16,11.6 15.4,11 14.8,11M13.5,11H10.5V9.5C10.5,8.7 11.2,8.2 12,8.2C12.8,8.2 13.5,8.7 13.5,9.5V11Z"},emV={key:0};function emH(e,t,i,n,r,a){return(0,z.uX)(),(0,z.CE)("span",(0,z.v6)(e.$attrs,{"aria-hidden":i.title?null:"true","aria-label":i.title,class:"material-design-icon shield-lock-outline-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,z.uX)(),(0,z.CE)("svg",{fill:i.fillColor,class:"material-design-icon__svg",width:i.size,height:i.size,viewBox:"0 0 24 24"},[(0,z.Lk)("path",emW,[i.title?((0,z.uX)(),(0,z.CE)("title",emV,(0,z.v_)(i.title),1)):(0,z.Q3)("",!0)])],8,emq))],16,emU)}let em$={name:"ShieldLockOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},emG=(0,to.default)(em$,[["render",emH]]),emX='\n \n',emK=aG("local","archived-conversations-v2"),emY=aG("local","important-conversations"),emQ=aG("local","sensitive-conversations"),emZ=[{value:rq.NOTIFY.ALWAYS,label:(0,K.t)("spreed","All messages"),icon:esG},{value:rq.NOTIFY.MENTION,label:(0,K.t)("spreed","@-mentions only"),icon:esz},{value:rq.NOTIFY.NEVER,label:(0,K.t)("spreed","Off"),icon:j$}],emJ={name:"ConversationItem",components:{ConversationIcon:LK,IconArchiveOutline:emb,IconArchiveOffOutline:emh,IconArrowLeft:iu,IconArrowRight:Y1,IconBellOutline:esz,IconCogOutline:eoH,IconContentCopy:OI,IconTrashCanOutline:zH,IconExitToApp:emE,IconMessageAlertOutline:emB,IconMessageBadgeOutline:O5,IconPhoneRingOutline:emz,IconShieldLockOutline:emG,IconStar:Lj,IconVideo:xq,NcActionButton:e2.N,NcActionSeparator:e9,NcButton:e7.A,NcDialog:ox.A,NcIconSvgWrapper:SD.A,NcListItem:ZZ},props:{isSearchResult:{type:Boolean,default:!1},item:{type:Object,default:()=>({token:"",participants:[],participantType:0,unreadMessages:0,unreadMention:!1,objectType:"",type:0,displayName:"",isFavorite:!1,notificationLevel:rq.NOTIFY.DEFAULT,notificationCalls:rq.NOTIFY_CALLS.ON,canDeleteConversation:!1,canLeaveConversation:!1,hasCall:!1,isImportant:!1,isSensitive:!1})},compact:{type:Boolean,default:!1}},emits:["click"],setup(e){let t=(0,Ts.b)(),i=(0,z.KR)(null),{item:n,isSearchResult:r}=(0,z.QW)(e),{counterType:a,conversationInformation:s}=Q2({item:n,isSearchResult:r});return{AVATAR:ah,IconMarkChatRead:emX,supportsArchive:emK,supportImportantConversations:emY,supportSensitiveConversations:emQ,submenu:i,isDarkTheme:t,counterType:a,conversationInformation:s,notificationLevels:emZ,CONVERSATION:nJ}},computed:{canFavorite(){return this.item.participantType!==rq.TYPE.USER_SELF_JOINED},labelRead(){return this.item.unreadMessages?(0,K.t)("spreed","Mark as read"):(0,K.t)("spreed","Mark as unread")},labelFavorite(){return this.item.isFavorite?(0,K.t)("spreed","Remove from favorites"):(0,K.t)("spreed","Add to favorites")},labelArchive(){return this.item.isArchived?(0,K.t)("spreed","Unarchive conversation"):(0,K.t)("spreed","Archive conversation")},labelImportantHint:()=>(0,K.t)("spreed",'Ignore "Do not disturb"'),to(){return this.item?.token?{name:"conversation",params:{token:this.item.token}}:null},isActive(){return this.$route?.params?.token===this.item.token},notificationLevel(){return this.item.notificationLevel.toString()},notificationCalls(){return this.item.notificationCalls===rq.NOTIFY_CALLS.ON},showCallNotificationSettings(){return!this.item.remoteServer||aG(this.item.token,"federation-v2")},iconType(){return this.item.hasCall?{component:xq,color:"#E9322D",text:(0,K.t)("spreed","Call in progress")}:this.item.isFavorite?{component:Lj,color:this.isDarkTheme?"#FFCC00":"currentColor",text:(0,K.t)("spreed","Favorite")}:null}},methods:{t:K.t,handleCopyLink(){D0(this.item.token)},toggleReadConversation(){this.item.unreadMessages?this.$store.dispatch("clearLastReadMessage",{token:this.item.token}):this.$store.dispatch("markConversationUnread",{token:this.item.token})},showConversationSettings(){(0,G.Ic)("show-conversation-settings",{token:this.item.token})},async deleteConversation(){if(await (0,oS.S)(oT,{name:(0,K.t)("spreed","Delete conversation"),message:(0,K.t)("spreed",'Do you really want to delete "{displayName}"?',{displayName:this.item.displayName},{escape:!1,sanitize:!1}),buttons:[{label:(0,K.t)("spreed","No"),variant:"tertiary",callback:()=>void 0},{label:(0,K.t)("spreed","Yes"),variant:"error",callback:()=>!0}]}))try{this.isActive&&await this.$router.push({name:"root"}).catch(e=>!(0,q.d)(e,q.l.duplicated)&&Promise.reject(e)),await this.$store.dispatch("deleteConversationFromServer",{token:this.item.token})}catch(e){console.error(`Error while deleting conversation ${e}`),(0,$.s)((0,K.t)("spreed","Error while deleting conversation"))}},async leaveConversation(){let e=[(0,K.t)("spreed",'Do you really want to leave "{displayName}"?',{displayName:this.item.displayName},{escape:!1,sanitize:!1})],t=[{label:(0,K.t)("spreed","No"),variant:"tertiary",callback:()=>void 0},{label:(0,K.t)("spreed","Yes"),variant:"warning",callback:()=>!0}];if(emK&&!this.item.isArchived&&(e.push((0,K.t)("spreed","You can archive this conversation instead.")),t.splice(1,0,{label:(0,K.t)("spreed","Archive conversation"),variant:"secondary",callback:()=>{this.toggleArchiveConversation()}})),await (0,oS.S)(oT,{name:(0,K.t)("spreed","Leave conversation"),customMessages:e,buttons:t}))try{this.isActive&&await this.$router.push({name:"root"}).catch(e=>!(0,q.d)(e,q.l.duplicated)&&Promise.reject(e)),await this.$store.dispatch("removeCurrentUserFromConversation",{token:this.item.token})}catch(e){e?.response?.status===400?(0,$.s)((0,K.t)("spreed","You need to promote a new moderator before you can leave the conversation.")):console.error(`Error while removing yourself from conversation ${e}`)}},async toggleFavoriteConversation(){this.$store.dispatch("toggleFavorite",this.item)},async toggleArchiveConversation(){this.$store.dispatch("toggleArchive",this.item)},async setNotificationLevel(e){await this.$store.dispatch("setNotificationLevel",{token:this.item.token,notificationLevel:e})},async setNotificationCalls(e){await this.$store.dispatch("setNotificationCalls",{token:this.item.token,notificationCalls:e?rq.NOTIFY_CALLS.ON:rq.NOTIFY_CALLS.OFF})},async toggleImportant(e){await this.$store.dispatch("toggleImportant",{token:this.item.token,isImportant:e})},async toggleSensitive(e){await this.$store.dispatch("toggleSensitive",{token:this.item.token,isSensitive:e})},onClick(){this.isSearchResult&&this.$store.dispatch("addConversation",this.item),this.$emit("click")},onActionClick(){this.onClick(),this.$router.push(this.to).catch(e=>console.debug(`Error while pushing the new conversation's route: ${e}`))},handleActionsMenuOpen(e){e||(this.submenu=null)}}},em0=(0,to.default)(emJ,[["render",ema],["__scopeId","data-v-81e82b72"]]),em1=(0,z.pM)({__name:"ConversationsListVirtual",props:{conversations:{},loading:{type:Boolean},compact:{type:Boolean}},setup(e,{expose:t}){let i=e,n=(0,z.EW)(()=>i.compact?32:ah.SIZE.DEFAULT+8+4),{list:r,containerProps:a,wrapperProps:s}=(0,J.niW)((0,z.lW)(()=>i.conversations),{itemHeight:()=>n.value,overscan:10});function o(){return Math.ceil(a.ref.value.scrollTop/n.value)}function l(){return Math.floor((a.ref.value.scrollTop+a.ref.value.clientHeight)/n.value)-1}function u(e){let t=o(),i=l(),r=a.ref.value.clientHeight,s=e=>{let t=+n.value,i=a.ref.value.scrollTop,s=ir&&a.ref.value.scrollTo({top:e-s*r,behavior:"instant"}),a.ref.value.scrollTo({top:e+t*s,behavior:"smooth"})};ei&&s((e+1)*n.value-r)}function d(e){let t=i.conversations.findIndex(t=>t.token===e);-1!==t&&u(t)}return t({getFirstItemInViewportIndex:o,getLastItemInViewportIndex:l,scrollToItem:u,scrollToConversation:d}),(t,i)=>((0,z.uX)(),(0,z.CE)("li",{ref:(0,z.R1)(a).ref,style:(0,z.Tr)((0,z.R1)(a).style),onScroll:i[0]||(i[0]=(...e)=>(0,z.R1)(a).onScroll&&(0,z.R1)(a).onScroll(...e))},[e.loading?((0,z.uX)(),(0,z.Wv)(Np,{key:0,type:"conversations"})):((0,z.uX)(),(0,z.CE)("ul",{key:1,style:(0,z.Tr)((0,z.R1)(s).style)},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)((0,z.R1)(r),t=>((0,z.uX)(),(0,z.Wv)(em0,{key:t.data.id,item:t.data,compact:e.compact},null,8,["item","compact"]))),128))],4))],36))}}),em2=(0,to.default)(em1,[["__scopeId","data-v-03e4b2e6"]]);var em3=__webpack_require__(25241);async function em4(){return aw.Ay.get((0,O.KT)("apps/spreed/api/v4/dashboard/events"))}let em6=aG("local","upcoming-reminders"),em5=nO("dashboard",{state:()=>({eventRooms:[],upcomingReminders:[],eventRoomsInitialised:!1,upcomingRemindersInitialised:!1}),actions:{async fetchDashboardEventRooms(){try{let e=await em4();this.eventRooms=e.data.ocs.data,this.eventRoomsInitialised=!0}catch(e){console.error("Error fetching dashboard event rooms:",e),(0,$.s)((0,K.t)("spreed","Error fetching upcoming events"))}},async fetchUpcomingReminders(){try{if(!em6)return;let e=await Q9();this.upcomingReminders=e.data.ocs.data,this.upcomingRemindersInitialised=!0}catch(e){console.error("Error fetching upcoming reminders:",e),(0,$.s)((0,K.t)("spreed","Error fetching upcoming reminders"))}},async removeReminder(e,t){try{await Q8(e,t),this.upcomingReminders=this.upcomingReminders.filter(e=>e.messageId!==t),(0,$.i)((0,K.t)("spreed","A reminder was successfully removed"))}catch(e){console.error(e),(0,$.s)((0,K.t)("spreed","Error occurred when removing a reminder"))}}}}),em8=(0,z.pM)({__name:"SearchMessageItem",props:{messageId:{},title:{},to:{},subline:{},actorId:{},actorType:{},token:{},timestamp:{},messageParameters:{default:()=>({})},isReminder:{type:Boolean,default:!1}},setup(e){let t=e,i=(0,q.n)(),n=(0,q.t)(),r=ed(),a=em5(),s=(0,z.EW)(()=>r.getters.conversation(t.token)),o=(0,z.EW)(()=>s.value?.type===nJ.TYPE.ONE_TO_ONE),l=(0,z.EW)(()=>!t.isReminder||o.value?t.title:(0,K.t)("spreed","{actor} in {conversation}",{actor:t.title,conversation:s.value?.displayName??""},{escape:!1,sanitize:!1})),u=(0,z.EW)(()=>t.isReminder?oG(t.subline,t.messageParameters):t.subline),d=(0,z.EW)(()=>t.isReminder?(0,K.t)("spreed","Clear reminder – {timeLocale}",{timeLocale:ux(1e3*t.timestamp,"shortWeekdayWithTime")}):""),c=(0,z.EW)(()=>n.fullPath===i.resolve(t.to).fullPath);function h(){n.hash==="#message_"+t.messageId&&iZ.emit("focus-message",{messageId:t.messageId})}return(t,i)=>((0,z.uX)(),(0,z.Wv)((0,z.R1)(ZZ),{"data-nav-id":`message_${e.messageId}`,name:l.value,to:e.to,active:c.value,title:u.value,forceMenu:"",onClick:h},(0,z.eX)({icon:(0,z.k6)(()=>[!e.isReminder||o.value?((0,z.uX)(),(0,z.Wv)(Mo,{key:0,id:e.actorId,name:e.title,source:e.actorType,disableMenu:"",token:e.token},null,8,["id","name","source","token"])):((0,z.uX)(),(0,z.Wv)(LK,{key:1,item:s.value,hideUserStatus:""},null,8,["item"]))]),subname:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)(u.value),1)]),details:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(em3.A),{timestamp:1e3*e.timestamp,class:"search-results__date",relativeTime:"short",ignoreSeconds:""},null,8,["timestamp"])]),_:2},[e.isReminder?{name:"actions",fn:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e2.N),{closeAfterClick:"",onClick:i[0]||(i[0]=(0,z.D$)(t=>(0,z.R1)(a).removeReminder(e.token,e.messageId),["stop"]))},{icon:(0,z.k6)(()=>[(0,z.bF)(OA,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)(d.value),1)]),_:1})]),key:"0"}:void 0]),1032,["data-nav-id","name","to","active","title"]))}}),em9=(0,to.default)(em8,[["__scopeId","data-v-bebe16a6"]]),em7={class:"dashboard-section__content"},ege={class:"dashboard-section__title"},egt={key:0,class:"dashboard-section__subtitle"},egi={key:1,class:"dashboard-section__description"},egn={key:2,class:"dashboard-section__action"},egr=(0,z.pM)({__name:"DashboardSection",props:{wide:{type:Boolean,default:!1},title:{default:""},subtitle:{default:""},description:{default:""}},setup(e){let t=(0,Z.F)(),i=(0,Z.al)();return(n,r)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["dashboard-section",{"dashboard-section--wide":e.wide&&!(0,z.R1)(t),"dashboard-section--list":n.$slots.list}])},[(0,z.R1)(t)?(0,z.Q3)("",!0):((0,z.uX)(),(0,z.CE)("div",{key:0,class:(0,z.C4)(["dashboard-section__bar",{"dashboard-section__bar--narrow":n.$slots.list||(0,z.R1)(i),gradient:!n.$slots.image||(0,z.R1)(i),"image-container":n.$slots.image}])},[n.$slots.list||(0,z.R1)(i)?(0,z.Q3)("",!0):(0,z.RG)(n.$slots,"image",{key:0})],2)),(0,z.Lk)("div",em7,[(0,z.Lk)("h3",ege,(0,z.v_)(e.title),1),e.subtitle?((0,z.uX)(),(0,z.CE)("span",egt,(0,z.v_)(e.subtitle),1)):(0,z.Q3)("",!0),e.description?((0,z.uX)(),(0,z.CE)("span",egi,(0,z.v_)(e.description),1)):(0,z.Q3)("",!0),(0,z.RG)(n.$slots,"list"),n.$slots.action?((0,z.uX)(),(0,z.CE)("div",egn,[(0,z.RG)(n.$slots,"action")])):(0,z.Q3)("",!0)])],2))}}),ega=(0,to.default)(egr,[["__scopeId","data-v-6f04127e"]]),egs='\n',ego={class:"title"},egl={class:"title_text"},egu={class:"event-card__date secondary_text"},egd={class:"event-card__room secondary_text"},egc={class:"event-card__description"},egh=["href","title"],egf=["alt","src"],egm={key:0,class:"secondary_text"},egg={class:"event-card__invitation-info"},egp={key:0,class:"secondary_text"},eg_={class:"event-card__invitation-info hovered"},egv=(0,z.pM)({__name:"EventCard",props:{eventRoom:{}},setup(e){let t=e,i=ed(),n=(0,q.n)(),r=aI(),a=(0,z.EW)(()=>i.getters.conversation(t.eventRoom.roomToken)??{token:t.eventRoom.roomToken,type:t.eventRoom.roomType,name:t.eventRoom.roomName,displayName:t.eventRoom.roomDisplayName,avatarVersion:t.eventRoom.roomAvatarVersion,callStartTime:t.eventRoom.roomActiveSince??0,hasCall:null!==t.eventRoom.roomActiveSince}),s=(0,z.EW)(()=>(a.value.hasCall||null!==t.eventRoom.roomActiveSince)&&1e3*t.eventRoom.start>=Date.now()-6e5),o=(0,z.EW)(()=>s.value&&(t.eventRoom.roomActiveSince??a.value.callStartTime)?uE((0,J.cBR)({interval:1e3}).value-(t.eventRoom.roomActiveSince??a.value.callStartTime)*1e3):""),l=(0,z.EW)(()=>new Date(1e3*t.eventRoom.start).toDateString()===new Date().toDateString()),u=(0,z.EW)(()=>{let e;if(s.value)return(0,K.t)("spreed","Ongoing");let i=new Date(1e3*t.eventRoom.start),n=new Date(1e3*t.eventRoom.end),r=i.toDateString()===new Date(Date.now()+ub).toDateString();if(i.toDateString()===n.toDateString())if(l.value||r){let t=Intl.DateTimeFormat((0,K.lO)(),{hour:"numeric",minute:"numeric"}).formatRange(i,n),r=new Intl.RelativeTimeFormat((0,K.Z0)(),{numeric:"auto"});e=(0,K.t)("spreed","{dayPrefix} {dateTime}",{dayPrefix:l.value?r.format(0,"day"):r.format(1,"day"),dateTime:t})}else e=Intl.DateTimeFormat((0,K.lO)(),{weekday:"long",hour:"numeric",minute:"numeric"}).formatRange(i,n);else e=Intl.DateTimeFormat((0,K.lO)(),{month:"long",year:"numeric",day:"2-digit",hour:"numeric",minute:"numeric"}).formatRange(i,n);return e}),d=(0,z.EW)(()=>Object.values(t.eventRoom.eventAttachments)),c=(0,z.EW)(()=>[t.eventRoom.accepted?(0,K.n)("spreed","%n person accepted","%n people accepted",t.eventRoom.accepted):"",t.eventRoom.declined?(0,K.n)("spreed","%n person declined","%n people declined",t.eventRoom.declined):""].filter(Boolean).join(", ")),h=(0,z.EW)(()=>{if(!d.value.length)return null;let e=d.value[0];return{icon:OC.MimeType.getIconUrl(e.fmttype)||(0,O.d0)("core","filetypes/file"),label:e.filename.replace(/^\//,""),extraLabel:d.value.length>1?(0,K.n)("spreed","and %n other attachment","and %n other attachments",d.value.length-1):"",url:e.previewLink??void 0}}),f=(0,z.EW)(()=>t.eventRoom.roomType===nJ.TYPE.ONE_TO_ONE?(0,K.t)("spreed","With {displayName}",{displayName:t.eventRoom.roomDisplayName},{escape:!1,sanitize:!1}):(0,K.t)("spreed","In {conversation}",{conversation:t.eventRoom.roomDisplayName},{escape:!1,sanitize:!1}));function m({call:e}){n.push({name:"conversation",params:{token:t.eventRoom.roomToken},hash:e?"#direct-call":void 0})}return(e,i)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["event-card",{"event-card--highlighted":l.value,"event-card--in-call":s.value}])},[(0,z.Lk)("h4",ego,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(t.eventRoom.calendars,e=>((0,z.uX)(),(0,z.CE)("span",{key:e.principalUri,class:"calendar-badge",style:(0,z.Tr)({backgroundColor:e.calendarColor??(0,z.R1)(TS)(e.principalUri).color})},null,4))),128)),(0,z.Lk)("span",egl,(0,z.v_)(t.eventRoom.eventName),1)]),(0,z.Lk)("p",egu,[(0,z.Lk)("span",null,(0,z.v_)(u.value),1),s.value?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.bF)(xq,{size:20,fillColor:"var(--color-border-error)"}),(0,z.Lk)("span",null,(0,z.v_)(o.value),1)],64)):(0,z.Q3)("",!0)]),(0,z.Lk)("span",egd,[(0,z.bF)((0,z.R1)(ed5),{variant:"tertiary",text:f.value,noClose:""},{icon:(0,z.k6)(()=>[(0,z.bF)(LK,{item:a.value,hideUserStatus:"",size:20},null,8,["item"])]),_:1},8,["text"])]),(0,z.Lk)("span",egc,(0,z.v_)(t.eventRoom.eventDescription),1),h.value?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.Lk)("a",{class:"event-card__attachment",role:"link",href:h.value.url,title:(0,z.R1)(K.t)("spreed","View attachment"),target:"_blank"},[(0,z.Lk)("img",{class:"file-preview__image",alt:h.value.label,src:h.value.icon},null,8,egf),(0,z.Lk)("span",null,(0,z.v_)(h.value.label),1)],8,egh),h.value.extraLabel?((0,z.uX)(),(0,z.CE)("span",egm,(0,z.v_)(h.value.extraLabel),1)):(0,z.Q3)("",!0)],64)):(0,z.Q3)("",!0),(0,z.Lk)("span",egg,[c.value&&!s.value?((0,z.uX)(),(0,z.CE)("span",egp,(0,z.v_)(c.value),1)):(0,z.Q3)("",!0),s.value&&!(0,z.R1)(r)?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:1,variant:"primary",onClick:i[0]||(i[0]=e=>m({call:!0}))},{icon:(0,z.k6)(()=>[(0,z.bF)(ell,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Join")),1)]),_:1})):(0,z.Q3)("",!0)]),(0,z.Lk)("span",eg_,[(0,z.bF)((0,z.R1)(e7.A),{variant:"tertiary",onClick:i[1]||(i[1]=e=>m({call:!1}))},{icon:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(SD.A),{svg:(0,z.R1)(egs),size:20},null,8,["svg"])]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","View conversation")),1)]),_:1}),(0,z.bF)((0,z.R1)(e7.A),{variant:"tertiary",href:t.eventRoom.eventLink,target:"_blank",title:(0,z.R1)(K.t)("spreed","View event on Calendar"),"aria-label":(0,z.R1)(K.t)("spreed","View event on Calendar")},{icon:(0,z.k6)(()=>[(0,z.bF)(edK,{size:20})]),_:1},8,["href","title","aria-label"])])],2))}}),egb=(0,to.default)(egv,[["__scopeId","data-v-ba13b7d4"]]),egy={class:"talk-dashboard__menu"},egF={class:"talk-dashboard__header"},egk={class:"talk-dashboard__actions"},egw={role:"dialog","aria-labelledby":"instant_meeting_dialog",class:"instant-meeting__dialog","aria-modal":"true"},egC={class:"talk-dashboard__items"},egA={class:"event-section"},egE={class:"title"},egS={class:"talk-dashboard__event-cards__scroll-indicator"},egx=["src"],egD={class:"talk-dashboard__chats"},egT={class:"talk-dashboard__unread-mentions"},egM=["src"],egI={key:0,class:"talk-dashboard__upcoming-reminders"},egB={key:0,class:"upcoming-reminders-list"},egP=["src"],egL=(0,z.pM)({__name:"TalkDashboard",setup(e){let t=aG("local","upcoming-reminders"),i=aG("local","sip-support-dialout")&&aX("local","call","sip-enabled")&&aX("local","call","sip-dialout-enabled")&&aX("local","call","can-enable-sip"),n=aX("local","conversations","can-create"),r=(0,K.V8)(),a=(0,Z.al)(),s=(0,Z.F)(),o=ed(),l=(0,q.n)(),u=em5(),d=of(),c=(0,z.KR)(!1),h=(0,z.KR)(!1),f=(0,z.KR)(null),m=(0,z.EW)(()=>u.eventRooms||[]),g=(0,z.EW)(()=>u.upcomingReminders||[]),p=(0,z.EW)(()=>u.eventRoomsInitialised),_=(0,z.EW)(()=>u.upcomingRemindersInitialised),b=(0,z.KR)(""),y=null;async function F(){await Promise.all([u.fetchDashboardEventRooms(),u.fetchUpcomingReminders()])}function k(){y&&clearInterval(y),F(),y=setInterval(F,3e5)}async function w(){if(await (0,z.dY)(),f.value){let{scrollLeft:e,scrollWidth:t,clientWidth:i}=f.value;h.value=r?e<0:e>0,c.value=(r?-1:1)*e+i{y&&clearInterval(y),f?.value&&C.disconnect(),iZ.off("refresh-talk-dashboard",k)}),(0,z.wB)(f,e=>{e&&C.observe(e)});let C=new ResizeObserver(()=>{w()}),A=(0,z.EW)(()=>o.getters.conversationsInitialised),E=(0,z.EW)(()=>o.getters.conversationsList.filter(Lz));async function S(){try{let e=await o.dispatch("createGroupConversation",{roomName:b.value||(0,K.t)("spreed","Meeting"),roomType:nJ.TYPE.PUBLIC,objectType:nJ.OBJECT_TYPE.INSTANT_MEETING,objectId:Math.floor(Date.now()/1e3).toString()});await D0(e.token),await l.push({name:"conversation",params:{token:e.token},hash:"#direct-call"})}catch(e){console.error("Error creating conversation:",e),(0,$.s)((0,K.t)("spreed","Error while creating the conversation"))}}function x({direction:e}){let t=("backward"===e?-1:1)*(r?-1:1);if(f.value){let e=308,i=0,n=Math.floor(f.value.clientWidth/e);0===n?i=f.value.clientWidth*t:(i=n*e*t,h.value||1!==t?c.value||-1!==t||(i+=34):i-=34),f.value.scrollBy({left:i,behavior:"smooth"})}}return(e,r)=>((0,z.uX)(),(0,z.CE)("div",{class:(0,z.C4)(["talk-dashboard-wrapper",{"talk-dashboard-wrapper--mobile":(0,z.R1)(a),"talk-dashboard-wrapper--small-mobile":(0,z.R1)(s)}])},[(0,z.Lk)("div",egy,[(0,z.Lk)("h2",egF,(0,z.v_)((0,z.R1)(K.t)("spreed","Hello, {displayName}",{displayName:(0,z.R1)(d).displayName},{escape:!1})),1),(0,z.Lk)("div",egk,[(0,z.R1)(n)?((0,z.uX)(),(0,z.Wv)((0,z.R1)(ST.N),{key:0,popupRole:"dialog"},{trigger:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e7.A),{variant:"primary"},{icon:(0,z.k6)(()=>[(0,z.bF)(ell)]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Start meeting now")),1)]),_:1})]),default:(0,z.k6)(()=>[(0,z.Lk)("div",egw,[(0,z.Lk)("strong",null,(0,z.v_)((0,z.R1)(K.t)("spreed","Give your meeting a title")),1),(0,z.bF)((0,z.R1)(erS.N),{id:"room-name",modelValue:b.value,"onUpdate:modelValue":r[0]||(r[0]=e=>b.value=e),placeholder:(0,z.R1)(K.t)("spreed","Meeting")},null,8,["modelValue","placeholder"]),(0,z.bF)((0,z.R1)(e7.A),{variant:"primary",onClick:S},{default:(0,z.k6)(()=>[(0,z.eW)((0,z.v_)((0,z.R1)(K.t)("spreed","Create and copy link")),1)]),_:1})])]),_:1})):(0,z.Q3)("",!0),(0,z.R1)(n)?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:1,onClick:r[1]||(r[1]=e=>(0,z.R1)(iZ).emit("new-conversation-dialog:show"))},{icon:(0,z.k6)(()=>[(0,z.bF)(zM,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Create a new conversation")),1)]),_:1})):(0,z.Q3)("",!0),(0,z.bF)((0,z.R1)(e7.A),{onClick:r[2]||(r[2]=e=>(0,z.R1)(iZ).emit("open-conversations-list:show"))},{icon:(0,z.k6)(()=>[(0,z.bF)(ef7,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Join open conversations")),1)]),_:1}),(0,z.R1)(i)?((0,z.uX)(),(0,z.Wv)((0,z.R1)(e7.A),{key:2,onClick:r[3]||(r[3]=e=>(0,z.R1)(iZ).emit("call-phone-dialog:show"))},{icon:(0,z.k6)(()=>[(0,z.bF)(iH,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Call a phone number")),1)]),_:1})):(0,z.Q3)("",!0),(0,z.bF)((0,z.R1)(e7.A),{variant:"secondary",onClick:r[4]||(r[4]=e=>(0,z.R1)(G.Ic)("talk:media-settings:show","device-check"))},{icon:(0,z.k6)(()=>[(0,z.bF)(QI,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Check devices")),1)]),_:1})])]),(0,z.Lk)("div",egC,[(0,z.Lk)("div",egA,[p.value&&m.value.length>0?((0,z.uX)(),(0,z.CE)(z.FK,{key:0},[(0,z.Lk)("h3",egE,(0,z.v_)((0,z.R1)(K.t)("spreed","Upcoming meetings")),1),(0,z.Lk)("div",{class:(0,z.C4)(["talk-dashboard__event-cards-wrapper",{"forward-scrollable":c.value,"backward-scrollable":h.value}])},[(0,z.Lk)("div",{ref_key:"eventCardsWrapper",ref:f,class:"talk-dashboard__event-cards",onScrollPassive:w},[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(m.value,e=>((0,z.uX)(),(0,z.Wv)(egb,{key:e.eventLink,eventRoom:e,class:"talk-dashboard__event-card"},null,8,["eventRoom"]))),128))],544),(0,z.Lk)("div",egS,[(0,z.bo)((0,z.bF)((0,z.R1)(e7.A),{class:"button-slide backward",variant:"tertiary",title:(0,z.R1)(K.t)("spreed","Scroll backward"),"aria-label":(0,z.R1)(K.t)("spreed","Scroll backward"),onClick:r[5]||(r[5]=e=>x({direction:"backward"}))},{icon:(0,z.k6)(()=>[(0,z.bF)(iu,{class:"bidirectional-icon"})]),_:1},8,["title","aria-label"]),[[z.aG,h.value]]),(0,z.bo)((0,z.bF)((0,z.R1)(e7.A),{class:"button-slide forward",variant:"tertiary",title:(0,z.R1)(K.t)("spreed","Scroll forward"),"aria-label":(0,z.R1)(K.t)("spreed","Scroll forward"),onClick:r[6]||(r[6]=e=>x({direction:"forward"}))},{icon:(0,z.k6)(()=>[(0,z.bF)(Y1,{class:"bidirectional-icon"})]),_:1},8,["title","aria-label"]),[[z.aG,c.value]])])],2)],64)):p.value?((0,z.uX)(),(0,z.Wv)(ega,{key:2,class:"event-section--empty",wide:"",title:(0,z.R1)(K.t)("spreed","Schedule meetings"),subtitle:(0,z.R1)(K.t)("spreed","You don't have any upcoming meetings"),description:(0,z.R1)(K.t)("spreed","Schedule a meeting from your calendar. A Talk conversation needs to be set as location to show up here")},{image:(0,z.k6)(()=>[(0,z.Lk)("img",{src:(0,z.R1)(O.d0)("spreed","dashboard/meetings.png")},null,8,egx)]),action:(0,z.k6)(()=>[(0,z.bF)((0,z.R1)(e7.A),{variant:"secondary",href:(0,z.R1)(O.Jv)("apps/calendar"),target:"_blank"},{icon:(0,z.k6)(()=>[(0,z.bF)(edK,{size:20})]),default:(0,z.k6)(()=>[(0,z.eW)(" "+(0,z.v_)((0,z.R1)(K.t)("spreed","Open calendar")),1)]),_:1},8,["href"])]),_:1},8,["title","subtitle","description"])):((0,z.uX)(),(0,z.Wv)(Np,{key:1,type:"event-cards"}))]),(0,z.Lk)("div",egD,[(0,z.Lk)("div",egT,[E.value.length>0||!A.value?((0,z.uX)(),(0,z.Wv)(ega,{key:0,title:(0,z.R1)(K.t)("spreed","Unread mentions")},{list:(0,z.k6)(()=>[(0,z.bF)(em2,{class:"talk-dashboard__conversations-list",conversations:E.value,loading:!A.value},null,8,["conversations","loading"])]),_:1},8,["title"])):((0,z.uX)(),(0,z.Wv)(ega,{key:1,title:(0,z.R1)(K.t)("spreed","Unread mentions"),description:(0,z.R1)(K.t)("spreed","Messages where you were mentioned will show up here. You can mention people by typing @ followed by their name")},{image:(0,z.k6)(()=>[(0,z.Lk)("img",{src:(0,z.R1)(O.d0)("spreed","dashboard/mentions.png")},null,8,egM)]),_:1},8,["title","description"]))]),(0,z.R1)(t)?((0,z.uX)(),(0,z.CE)("div",egI,[g.value.length>0||!_.value?((0,z.uX)(),(0,z.Wv)(ega,{key:0,title:(0,z.R1)(K.t)("spreed","Upcoming reminders")},{list:(0,z.k6)(()=>[_.value?((0,z.uX)(),(0,z.CE)("ul",egB,[((0,z.uX)(!0),(0,z.CE)(z.FK,null,(0,z.pI)(g.value,e=>((0,z.uX)(),(0,z.Wv)(em9,{key:e.messageId,messageId:e.messageId,title:e.actorDisplayName,subline:e.message,messageParameters:e.messageParameters,token:e.roomToken,to:{name:"conversation",params:{token:e.roomToken},hash:`#message_${e.messageId}`},actorId:e.actorId,actorType:e.actorType,timestamp:e.reminderTimestamp,isReminder:""},null,8,["messageId","title","subline","messageParameters","token","to","actorId","actorType","timestamp"]))),128))])):((0,z.uX)(),(0,z.Wv)(Np,{key:1,class:"upcoming-reminders__loading-placeholder",type:"conversations"}))]),_:1},8,["title"])):((0,z.uX)(),(0,z.Wv)(ega,{key:1,title:(0,z.R1)(K.t)("spreed","Message reminders"),description:(0,z.R1)(K.t)("spreed","Set a reminder on a message to be notified")},{image:(0,z.k6)(()=>[(0,z.Lk)("img",{src:(0,z.R1)(O.d0)("spreed","dashboard/reminders.png")},null,8,egP)]),_:1},8,["title","description"]))])):(0,z.Q3)("",!0)])])],2))}}),egN=(0,to.default)(egL,[["__scopeId","data-v-4e30645c"]]),egR=(0,z.pM)({__name:"WelcomeView",setup(e){let t=aG("local","dashboard-event-rooms"),i=ed(),n=(0,q.n)(),r=(0,q.t)(),a=(0,z.KR)(!1),s=(0,z.EW)(()=>r.query.callUser),o=(0,z.EW)(()=>a.value?{name:(0,K.t)("spreed",'Creating and joining a conversation with "{userid}"',{userid:s.value??""}),description:""}:{name:(0,K.t)("spreed","Join a conversation or start a new one"),description:(0,K.t)("spreed","Say hi to your friends and colleagues!")});return(0,z.nT)(async()=>{if(s.value){try{let e=i.getters.getConversationForUser(s.value);if(e)return void n.push({name:"conversation",params:{token:e.token}});a.value=!0;let t=await i.dispatch("createOneToOneConversation",s.value);n.push({name:"conversation",params:{token:t.token}})}catch(e){(0,$.s)((0,K.t)("spreed","Error while joining the conversation")),console.error(e),n.push({name:"notfound"})}a.value=!1}}),(e,i)=>(0,z.R1)(t)?((0,z.uX)(),(0,z.Wv)(egN,{key:0})):((0,z.uX)(),(0,z.Wv)(eon,{key:1,name:o.value.name,description:o.value.description},{icon:(0,z.k6)(()=>[a.value?((0,z.uX)(),(0,z.Wv)((0,z.R1)(te.N),{key:0})):((0,z.uX)(),(0,z.Wv)((0,z.R1)(SD.A),{key:1,svg:(0,z.R1)(egs)},null,8,["svg"]))]),_:1},8,["name","description"]))}});function egj(){let e=(0,O.aU)()+"/index.php",t=window.location.pathname.startsWith(e);return(0,O.Jv)("/",{},{noRewrite:t})}function egO(){let e=[{path:"/apps/spreed",name:"root",component:egR,props:!0},{path:"/apps/spreed/not-found",name:"notfound",component:efX,props:!0},{path:"/apps/spreed/forbidden",name:"forbidden",component:eor,props:!0},{path:"/apps/spreed/duplicate-session",name:"duplicatesession",component:ef2,props:!0},{path:"/call/:token",name:"conversation",component:efG,props:!0},{path:"/call/:token/recording",name:"recording",component:Ba,props:!0}];return PX({history:Pm(egj()),linkActiveClass:"active",routes:e})}function egz(e){e.config.globalProperties.OC=window.OC,e.config.globalProperties.OCA=window.OCA,e.config.globalProperties.OCP=window.OCP}var egU=__webpack_require__(53481);function egq(e,t){var i=egU.DomUtil.create("div",e,document.body),n=egV(egX(i),t),r=eg$(i,"width"),a=eg$(i,"height"),s=eg$(i,"margin-left"),o=eg$(i,"margin-top");return i.parentNode.removeChild(i),{Url:n[0],RetinaUrl:n[1],Size:[r,a],Anchor:[-s,-o]}}function egW(e){var t=egU.DomUtil.create("div",e,document.body),i=eg$(t,"margin-left"),n=eg$(t,"margin-top");return t.parentNode.removeChild(t),{Anchor:[i,n]}}function egV(e,t){for(var i=/url\(['"]?([^"']*?)['"]?\)/gi,n=[],r=i.exec(e);r;)n.push(t?egH(r[1]):r[1]),r=i.exec(e);return n}function egH(e){return e.substr(e.lastIndexOf("/")+1)}function eg$(e,t){return parseInt(egG(e,t),10)}function egG(e,t){return egU.DomUtil.getStyle(e,t)||egU.DomUtil.getStyle(e,egK(t))}function egX(e){var t=egG(e,"background-image");return t&&"none"!==t?t:egG(e,"cursor")}function egK(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})}egU.Icon.Default.mergeOptions({iconUrl:null,iconRetinaUrl:null,shadowUrl:null,iconSize:null,iconAnchor:null,popupAnchor:null,tooltipAnchor:null,shadowSize:null,classNamePrefix:"leaflet-default-icon-"}),egU.Icon.Default.include({_needsInit:!0,_getIconUrl:function(e){var t=this.options.imagePath||egU.Icon.Default.imagePath||"";return this._needsInit&&this._initializeOptions(t),t+egU.Icon.prototype._getIconUrl.call(this,e)},_initializeOptions:function(e){this._setOptions("icon",egq,e),this._setOptions("shadow",egq,e),this._setOptions("popup",egW),this._setOptions("tooltip",egW),this._needsInit=!1},_setOptions:function(e,t,i){var n=this.options,r=t(n.classNamePrefix+e,i);for(var a in r)n[e+a]=n[e+a]||r[a]}}),__webpack_require__.nc=(0,j.aV)(),__webpack_require__.p=(0,O.fg)("spreed","","js/"),window.store=hz,window.OCA.Talk||(window.OCA.Talk=(0,z.Kh)({}));let egY=egO(),egQ=(0,z.Ef)(Bs).use(ul).use(hz).use(egY).use(egz).mount("#content");OCA.Talk.instance=egQ,OCA.Talk.signalingGetSettingsForRecording=EO,OCA.Talk.signalingJoinCallForRecording=EK,OCA.Talk.signalingKill=EZ})()})(); //# sourceMappingURL=talk-recording.js.map?v=f7cb9c8f235e3b8e