>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,a=[],i=16383,s=0,u=r-o;su?u:s+i));1===o?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)n[i]=a[i],r[a.charCodeAt(i)]=i;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var o,a,i=[],s=t;s >16&255,u[c++]=t>>8&255,u[c++]=255&t;2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,a=[],i=16383,s=0,u=r-o;su?u:s+i));1===o?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)n[i]=a[i],r[a.charCodeAt(i)]=i;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var o,a,i=[],s=t;ss&&(n=s-l),a=n;a>=0;a--){let n=!0;for(let r=0;r>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let a=!1;for(;;)switch(r){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return _(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function k(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o>1,c=-7,p=n?o-1:0,d=n?-1:1,f=e[t+p];for(p+=d,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=256*a+e[t+p],p+=d,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=r;c>0;i=256*i+e[t+p],p+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,r),a-=u}return(f?-1:1)*i*Math.pow(2,a-r)},t.write=function(e,t,n,r,o,a){var i,s,l,u=8*a-o-1,c=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:a-1,h=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),(t+=i+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(i++,l/=2),i+p>=c?(s=0,i=c):i+p>=1?(s=(t*l-1)*Math.pow(2,o),i+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),i=0));o>=8;e[n+f]=255&s,f+=h,s/=256,o-=8);for(i=i<
"]},"Show password":{v:["Mostrar contrasenya"]}}},{l:"cs",t:{"Hide password":{v:["Skrýt heslo"]},"Password is secure":{v:["Heslo je bezpečné"]},"Show password":{v:["Zobrazit heslo"]}}},{l:"cs_CZ",t:{"Hide password":{v:["Skrýt heslo"]},"Password is secure":{v:["Heslo je bezpečné"]},"Show password":{v:["Zobrazit heslo"]}}},{l:"cy_GB",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{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:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es",t:{"Hide password":{v:["Ocultar contraseña"]},"Password is secure":{v:["La contraseña es segura"]},"Show password":{v:["Mostrar contraseña"]}}},{l:"es_419",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_AR",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_CL",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_CO",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_CR",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_DO",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_EC",t:{"Hide password":{v:["Ocultar contraseña"]},"Password is secure":{v:["La contraseña es segura"]},"Show password":{v:["Mostrar contraseña"]}}},{l:"es_GT",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_HN",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_MX",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_NI",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_PA",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_PE",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_PR",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_PY",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_SV",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_UY",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"et_EE",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{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:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"fo",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"fr",t:{"Hide password":{v:["Cacher le mot de passe"]},"Password is secure":{v:["Le mot de passe est sécurisé"]},"Show password":{v:["Afficher le mot de passe"]}}},{l:"gd",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"gl",t:{"Hide password":{v:["Agochar o contrasinal"]},"Password is secure":{v:["O contrasinal é seguro"]},"Show password":{v:["Amosar o contrasinal"]}}},{l:"he",t:{"Hide password":{v:["הסתרת סיסמה"]},"Password is secure":{v:["הסיסמה מאובטחת"]},"Show password":{v:["הצגת סיסמה"]}}},{l:"hi_IN",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"hr",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"hsb",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"hu",t:{"Hide password":{v:["Jelszó elrejtése"]},"Password is secure":{v:["A jelszó biztonságos"]},"Show password":{v:["Jelszó megjelenítése"]}}},{l:"hy",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"ia",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"id",t:{"Hide password":{v:["Sembunyikan sandi"]},"Password is secure":{v:["Kata sandi sudah aman"]},"Show password":{v:["Tampilkan sandi"]}}},{l:"ig",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"is",t:{"Hide password":{v:["Fela lykilorð"]},"Password is secure":{v:["Lykilorðið er öruggt"]},"Show password":{v:["Birta lykilorð"]}}},{l:"it",t:{"Hide password":{v:["Nascondi la password"]},"Password is secure":{v:["La password è sicura"]},"Show password":{v:["Mostra la password"]}}},{l:"ja",t:{"Hide password":{v:["パスワードを非表示"]},"Password is secure":{v:["パスワードは保護されています"]},"Show password":{v:["パスワードを表示"]}}},{l:"ka",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"ka_GE",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"kab",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"kk",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"km",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"kn",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:"la",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"lb",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:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"lv",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"mk",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"mn",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"mr",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"ms_MY",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"my",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"nb",t:{"Hide password":{v:["Skjul passord"]},"Password is secure":{v:["Passordet er sikkert"]},"Show password":{v:["Vis passord"]}}},{l:"ne",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"nl",t:{"Hide password":{v:["Verberg wachtwoord"]},"Password is secure":{v:["Wachtwoord is veilig"]},"Show password":{v:["Toon wachtwoord"]}}},{l:"nn_NO",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"oc",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"pl",t:{"Hide password":{v:["Ukryj hasło"]},"Password is secure":{v:["Hasło jest bezpieczne"]},"Show password":{v:["Pokaż hasło"]}}},{l:"ps",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"pt_BR",t:{"Hide password":{v:["Ocultar a senha"]},"Password is secure":{v:["A senha é segura"]},"Show password":{v:["Mostrar senha"]}}},{l:"pt_PT",t:{"Hide password":{v:["Ocultar a senha"]},"Password is secure":{v:["A senha é segura"]},"Show password":{v:["Mostrar senha"]}}},{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:"sc",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"si",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"sk",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"sl",t:{"Hide password":{v:["Skrij geslo"]},"Password is secure":{v:["Geslo je varno"]},"Show password":{v:["Pokaži geslo"]}}},{l:"sq",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"sr",t:{"Hide password":{v:["Сакриј лозинку"]},"Password is secure":{v:["Лозинка је безбедна"]},"Show password":{v:["Прикажи лозинку"]}}},{l:"sr@latin",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"sv",t:{"Hide password":{v:["Göm lössenordet"]},"Password is secure":{v:["Lössenordet är säkert"]},"Show password":{v:["Visa lössenordet"]}}},{l:"sw",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"ta",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"th",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"tk",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"tr",t:{"Hide password":{v:["Parolayı gizle"]},"Password is secure":{v:["Parola güvenli"]},"Show password":{v:["Parolayı görüntüle"]}}},{l:"ug",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"uk",t:{"Hide password":{v:["Приховати пароль"]},"Password is secure":{v:["Пароль безпечний"]},"Show password":{v:["Показати пароль"]}}},{l:"ur_PK",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"uz",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"vi",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{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:["顯示密碼"]}}},{l:"zu_ZA",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}}]);const Kl=Li("core","capabilities",{}).password_policy||null,Jl=new Set(Object.keys(fi.props)),Ql={name:"NcPasswordField",components:{NcInputField:fi,Eye:Yl,EyeOff:Zl},inheritAttrs:!1,props:{" ":{},...fi.props,showTrailingButton:{type:Boolean,default:!0},trailingButtonLabel:void 0,checkPasswordStrength:{type:Boolean,default:!1},minlength:{type:Number,default:0},maxlength:{type:Number,default:null}},emits:["valid","invalid","update:value"],data:()=>({isPasswordHidden:!0,internalHelpMessage:"",isValid:null}),computed:{computedError(){return this.error||!1===this.isValid},computedSuccess(){return this.success||!0===this.isValid},computedHelperText(){return this.helperText.length>0?this.helperText:this.internalHelpMessage},rules(){const{minlength:e}=this;return{minlength:null!=e?e:null==Kl?void 0:Kl.minLength}},trailingButtonLabelPassword(){return this.isPasswordHidden?_i("Show password"):_i("Hide password")},propsAndAttrsToForward(){return{...this.$attrs,...Object.fromEntries(Object.entries(this.$props).filter((([e])=>Jl.has(e))))}}},watch:{value(e){if(this.checkPasswordStrength){if(null===Kl)return;this.checkPassword(e)}}},methods:{focus(){this.$refs.inputField.focus()},select(){this.$refs.inputField.select()},handleInput(e){this.$emit("update:value",e.target.value)},togglePasswordVisibility(){this.isPasswordHidden=!this.isPasswordHidden},checkPassword:Mi((async function(e){try{const{data:t}=await Hl.post(((e,t,n)=>{var r;const o=1===Object.assign({ocsVersion:2},n||{}).ocsVersion?1:2;return(null!=(r=null==n?void 0:n.baseURL)?r:Gl())+"/ocs/v"+o+".php"+zl(e,t,n)})("apps/password_policy/api/v1/validate"),{password:e});if(this.isValid=t.ocs.data.passed,t.ocs.data.passed)return this.internalHelpMessage=_i("Password is secure"),void this.$emit("valid");this.internalHelpMessage=t.ocs.data.reason,this.$emit("invalid")}catch(e){ql.error("Password policy returned an error",e)}}),500)}};var eu=function(){var e=this,t=e._self._c;return t("NcInputField",e._g(e._b({ref:"inputField",attrs:{type:e.isPasswordHidden?"password":"text","trailing-button-label":e.trailingButtonLabelPassword,"helper-text":e.computedHelperText,error:e.computedError,success:e.computedSuccess,minlength:e.rules.minlength},on:{"trailing-button-click":e.togglePasswordVisibility,input:e.handleInput},scopedSlots:e._u([{key:"trailing-button-icon",fn:function(){return[e.isPasswordHidden?t("Eye",{attrs:{size:18}}):t("EyeOff",{attrs:{size:18}})]},proxy:!0}])},"NcInputField",e.propsAndAttrsToForward,!1),e.$listeners),[e._t("default")],2)};const tu={name:"User",components:{NcButton:Wa,NcNoteCard:ii,NcTextField:Oi,NcPasswordField:Va(Ql,eu,[],!1,null,null,null,null).exports,Email:Ii,Lock:Bi({name:"LockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon lock-icon",attrs:{"aria-hidden":!e.title||null,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,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"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports,Phone:Bi({name:"PhoneIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon phone-icon",attrs:{"aria-hidden":!e.title||null,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{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"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports,Account:Bi({name:"AccountIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon account-icon",attrs:{"aria-hidden":!e.title||null,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{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,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports,Key:Bi({name:"KeyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon key-icon",attrs:{"aria-hidden":!e.title||null,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M7 14C5.9 14 5 13.1 5 12S5.9 10 7 10 9 10.9 9 12 8.1 14 7 14M12.6 10C11.8 7.7 9.6 6 7 6C3.7 6 1 8.7 1 12S3.7 18 7 18C9.6 18 11.8 16.3 12.6 14H16V18H20V14H23V10H12.6Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports},data:()=>({email:Li("registration","email"),emailIsLogin:Li("registration","emailIsLogin"),emailIsOptional:Li("registration","emailIsOptional"),loginname:Li("registration","loginname"),fullname:Li("registration","fullname"),showFullname:Li("registration","showFullname"),enforceFullname:Li("registration","enforceFullname"),phone:Li("registration","phone"),showPhone:Li("registration","showPhone"),enforcePhone:Li("registration","enforcePhone"),message:Li("registration","message"),password:Li("registration","password"),additionalHint:Li("registration","additionalHint"),requesttoken:ka(),loginFormLink:Li("registration","loginFormLink"),isPasswordHidden:!0,passwordInputType:"password",submitting:!1}),methods:{togglePassword(){"password"===this.passwordInputType?this.passwordInputType="text":this.passwordInputType="password"},onSubmit(){this.submitting=!0}}};var nu=r(6797),ru={};ru.styleTagTransform=Ha(),ru.setAttributes=$a(),ru.insert=Fa().bind(null,"head"),ru.domAPI=Ra(),ru.insertStyleElement=Da();Ia()(nu.Z,ru);nu.Z&&nu.Z.locals&&nu.Z.locals;const ou=Bi(tu,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"guest-box"},[t("form",{attrs:{action:"",method:"post"},on:{submit:e.onSubmit}},[t("input",{attrs:{type:"hidden",name:"requesttoken"},domProps:{value:e.requesttoken}}),e._v(" "),t("fieldset",[""!==e.message?t("NcNoteCard",{attrs:{type:"error"}},[e._v("\n\t\t\t\t"+e._s(e.message)+"\n\t\t\t")]):t("p",[e._v("\n\t\t\t\t"+e._s(e.t("registration","Welcome, you can create your account below."))+"\n\t\t\t")]),e._v(" "),e.additionalHint?t("NcNoteCard",{attrs:{type:"success"}},[e._v("\n\t\t\t\t"+e._s(e.additionalHint)+"\n\t\t\t")]):e._e(),e._v(" "),!e.emailIsOptional||e.email.length>0?t("NcTextField",{attrs:{value:e.email,type:"email",label:e.t("registration","Email"),"label-visible":!0,name:"email",disabled:""},on:{"update:value":function(t){e.email=t}}},[t("Email",{staticClass:"input__icon",attrs:{size:20}})],1):e._e(),e._v(" "),e.emailIsLogin?t("input",{attrs:{type:"hidden",name:"loginname"},domProps:{value:e.email}}):t("NcTextField",{attrs:{value:e.loginname,type:"text",name:"loginname",label:e.t("registration","Login name"),"label-visible":!0,required:""},on:{"update:value":function(t){e.loginname=t}}},[e.showFullname?t("Key",{staticClass:"input__icon",attrs:{size:20}}):t("Account",{staticClass:"input__icon",attrs:{size:20}})],1),e._v(" "),e.showFullname?t("NcTextField",{attrs:{value:e.fullname,type:"text",name:"fullname",label:e.t("registration","Full name"),"label-visible":!0,required:e.enforceFullname},on:{"update:value":function(t){e.fullname=t}}},[t("Account",{staticClass:"input__icon",attrs:{size:20}})],1):t("input",{attrs:{type:"hidden",name:"fullname",value:""}}),e._v(" "),e.showPhone?t("NcTextField",{attrs:{value:e.phone,type:"text",name:"phone",label:e.t("registration","Phone number"),"label-visible":!0,required:e.enforcePhone},on:{"update:value":function(t){e.phone=t}}},[t("Phone",{staticClass:"input__icon",attrs:{size:20}})],1):t("input",{attrs:{type:"hidden",name:"phone",value:""}}),e._v(" "),t("NcPasswordField",{attrs:{value:e.password,label:e.t("registration","Password"),"label-visible":!0,name:"password",required:""},on:{"update:value":function(t){e.password=t}}},[t("Lock",{staticClass:"input__icon",attrs:{size:20}})],1),e._v(" "),t("NcButton",{attrs:{id:"submit","native-type":"submit",type:"primary",wide:!0,disabled:e.submitting||0===e.password.length}},[e._v("\n\t\t\t\t"+e._s(e.submitting?e.t("registration","Loading"):e.t("registration","Create account"))+"\n\t\t\t")])],1)])])}),[],!1,null,"5b6a63d1",null).exports;nr.prototype.t=t,nr.prototype.OC=OC;let au=null;document.getElementById("registration_email")&&(au=new nr({el:"#registration_email",render:e=>e(Fi)})),document.getElementById("registration_verification")&&(au=new nr({el:"#registration_verification",render:e=>e(Di)})),document.getElementById("registration_user")&&(au=new nr({el:"#registration_user",render:e=>e(ou)}))})()})();
-//# sourceMappingURL=registration-form.js.map?v=fd94bcc14e9510c54329
\ No newline at end of file
+(()=>{var e={9875:(e,t,n)=>{"use strict";var r=n(9850),o=void 0,a=[];r.subscribe("csrf-token-update",(function(e){o=e.token,a.forEach((function(t){try{t(e.token)}catch(e){console.error("error updating CSRF token observer",e)}}))}));var i=function(e,t){return e?e.getAttribute(t):null},s=void 0;t.getCurrentUser=function(){if(void 0!==s)return s;var e=null===document||void 0===document?void 0:document.getElementsByTagName("head")[0];if(!e)return null;var t=i(e,"data-user");return s=null===t?null:{uid:t,displayName:i(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin}},t.getRequestToken=function(){if(void 0===o){var e=null===document||void 0===document?void 0:document.getElementsByTagName("head")[0];o=e?e.getAttribute("data-requesttoken"):null}return o},t.onRequestTokenUpdate=function(e){a.push(e)}},2497:(e,t,n)=>{"use strict";t.Jv=void 0,n(5440);const r=(e,t,n)=>{const r=Object.assign({escape:!0},n||{});return"/"!==e.charAt(0)&&(e="/"+e),o=(o=t||{})||{},e.replace(/{([^{}]*)}/g,(function(e,t){var n=o[t];return r.escape?"string"==typeof n||"number"==typeof n?encodeURIComponent(n.toString()):encodeURIComponent(e):"string"==typeof n||"number"==typeof n?n.toString():e}));var o};t.Jv=(e,t,n)=>{var o;const i=Object.assign({noRewrite:!1},n||{});return!0!==(null===(o=window)||void 0===o||null===(o=o.OC)||void 0===o||null===(o=o.config)||void 0===o?void 0:o.modRewriteWorking)||i.noRewrite?a()+"/index.php"+r(e,t,n):a()+r(e,t,n)};const o=(e,t,n)=>{var r;const o=-1!==(null===(r=window)||void 0===r||null===(r=r.OC)||void 0===r||null===(r=r.coreApps)||void 0===r?void 0:r.indexOf(e));let s=a();return"php"!==n.substring(n.length-3)||o?"php"===n.substring(n.length-3)||o?(s+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",o||(s+="apps/"),""!==e&&(s+=e+="/"),t&&(s+=t+"/"),s+=n):(s=i(e),t&&(s+="/"+t+"/"),"/"!==s.substring(s.length-1)&&(s+="/"),s+=n):(s+="/index.php/apps/"+e,"index.php"!==n&&(s+="/",t&&(s+=encodeURI(t+"/")),s+=n)),s};function a(){let e=window._oc_webroot;if(void 0===e){e=location.pathname;const t=e.indexOf("/index.php/");e=-1!==t?e.substr(0,t):e.substr(0,e.lastIndexOf("/"))}return e}function i(e){var t,n;return null!==(n=(null!==(t=window._oc_appswebroots)&&void 0!==t?t:{})[e])&&void 0!==n?n:""}},5950:(e,t,n)=>{const r=n(2322),{MAX_LENGTH:o,MAX_SAFE_INTEGER:a}=n(6692),{safeRe:i,t:s}=n(5208),l=n(9901),{compareIdentifiers:u}=n(3229);class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},8064:(e,t,n)=>{const r=n(5950);e.exports=(e,t)=>new r(e,t).major},6309:(e,t,n)=>{const r=n(5950);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},8711:(e,t,n)=>{const r=n(6309);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},6692:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},2322:(e,t,n)=>{var r=n(5606);const o="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=o},3229:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),o=t.test(n);return r&&o&&(e=+e,n=+n),e===n?0:r&&!o?-1:o&&!r?1:es&&(n=s-l),a=n;a>=0;a--){let n=!0;for(let r=0;r>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let a=!1;for(;;)switch(r){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return _(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function k(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o>1,c=-7,p=n?o-1:0,d=n?-1:1,f=e[t+p];for(p+=d,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=256*a+e[t+p],p+=d,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=r;c>0;i=256*i+e[t+p],p+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,r),a-=u}return(f?-1:1)*i*Math.pow(2,a-r)},t.write=function(e,t,n,r,o,a){var i,s,l,u=8*a-o-1,c=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:a-1,h=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),(t+=i+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(i++,l/=2),i+p>=c?(s=0,i=c):i+p>=1?(s=(t*l-1)*Math.pow(2,o),i+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),i=0));o>=8;e[n+f]=255&s,f+=h,s/=256,o-=8);for(i=i<
"]},"Show password":{v:["Mostrar contrasenya"]}}},{l:"cs",t:{"Hide password":{v:["Skrýt heslo"]},"Password is secure":{v:["Heslo je bezpečné"]},"Show password":{v:["Zobrazit heslo"]}}},{l:"cs_CZ",t:{"Hide password":{v:["Skrýt heslo"]},"Password is secure":{v:["Heslo je bezpečné"]},"Show password":{v:["Zobrazit heslo"]}}},{l:"cy_GB",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{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:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es",t:{"Hide password":{v:["Ocultar contraseña"]},"Password is secure":{v:["La contraseña es segura"]},"Show password":{v:["Mostrar contraseña"]}}},{l:"es_419",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_AR",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_CL",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_CO",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_CR",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_DO",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_EC",t:{"Hide password":{v:["Ocultar contraseña"]},"Password is secure":{v:["La contraseña es segura"]},"Show password":{v:["Mostrar contraseña"]}}},{l:"es_GT",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_HN",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_MX",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_NI",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_PA",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_PE",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_PR",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_PY",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_SV",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"es_UY",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"et_EE",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{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:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"fo",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"fr",t:{"Hide password":{v:["Cacher le mot de passe"]},"Password is secure":{v:["Le mot de passe est sécurisé"]},"Show password":{v:["Afficher le mot de passe"]}}},{l:"gd",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"gl",t:{"Hide password":{v:["Agochar o contrasinal"]},"Password is secure":{v:["O contrasinal é seguro"]},"Show password":{v:["Amosar o contrasinal"]}}},{l:"he",t:{"Hide password":{v:["הסתרת סיסמה"]},"Password is secure":{v:["הסיסמה מאובטחת"]},"Show password":{v:["הצגת סיסמה"]}}},{l:"hi_IN",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"hr",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"hsb",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"hu",t:{"Hide password":{v:["Jelszó elrejtése"]},"Password is secure":{v:["A jelszó biztonságos"]},"Show password":{v:["Jelszó megjelenítése"]}}},{l:"hy",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"ia",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"id",t:{"Hide password":{v:["Sembunyikan sandi"]},"Password is secure":{v:["Kata sandi sudah aman"]},"Show password":{v:["Tampilkan sandi"]}}},{l:"ig",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"is",t:{"Hide password":{v:["Fela lykilorð"]},"Password is secure":{v:["Lykilorðið er öruggt"]},"Show password":{v:["Birta lykilorð"]}}},{l:"it",t:{"Hide password":{v:["Nascondi la password"]},"Password is secure":{v:["La password è sicura"]},"Show password":{v:["Mostra la password"]}}},{l:"ja",t:{"Hide password":{v:["パスワードを非表示"]},"Password is secure":{v:["パスワードは保護されています"]},"Show password":{v:["パスワードを表示"]}}},{l:"ka",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"ka_GE",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"kab",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"kk",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"km",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"kn",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:"la",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"lb",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:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"lv",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"mk",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"mn",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"mr",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"ms_MY",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"my",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"nb",t:{"Hide password":{v:["Skjul passord"]},"Password is secure":{v:["Passordet er sikkert"]},"Show password":{v:["Vis passord"]}}},{l:"ne",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"nl",t:{"Hide password":{v:["Verberg wachtwoord"]},"Password is secure":{v:["Wachtwoord is veilig"]},"Show password":{v:["Toon wachtwoord"]}}},{l:"nn_NO",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"oc",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"pl",t:{"Hide password":{v:["Ukryj hasło"]},"Password is secure":{v:["Hasło jest bezpieczne"]},"Show password":{v:["Pokaż hasło"]}}},{l:"ps",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"pt_BR",t:{"Hide password":{v:["Ocultar a senha"]},"Password is secure":{v:["A senha é segura"]},"Show password":{v:["Mostrar senha"]}}},{l:"pt_PT",t:{"Hide password":{v:["Ocultar a senha"]},"Password is secure":{v:["A senha é segura"]},"Show password":{v:["Mostrar senha"]}}},{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:"sc",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"si",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"sk",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"sl",t:{"Hide password":{v:["Skrij geslo"]},"Password is secure":{v:["Geslo je varno"]},"Show password":{v:["Pokaži geslo"]}}},{l:"sq",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"sr",t:{"Hide password":{v:["Сакриј лозинку"]},"Password is secure":{v:["Лозинка је безбедна"]},"Show password":{v:["Прикажи лозинку"]}}},{l:"sr@latin",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"sv",t:{"Hide password":{v:["Göm lössenordet"]},"Password is secure":{v:["Lössenordet är säkert"]},"Show password":{v:["Visa lössenordet"]}}},{l:"sw",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"ta",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"th",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"tk",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"tr",t:{"Hide password":{v:["Parolayı gizle"]},"Password is secure":{v:["Parola güvenli"]},"Show password":{v:["Parolayı görüntüle"]}}},{l:"ug",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"uk",t:{"Hide password":{v:["Приховати пароль"]},"Password is secure":{v:["Пароль безпечний"]},"Show password":{v:["Показати пароль"]}}},{l:"ur_PK",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"uz",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{l:"vi",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}},{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:["顯示密碼"]}}},{l:"zu_ZA",t:{"Hide password":{v:[""]},"Password is secure":{v:[""]},"Show password":{v:[""]}}}]);const Jl=Li("core","capabilities",{}).password_policy||null,Zl=new Set(Object.keys(fi.props)),Ql={name:"NcPasswordField",components:{NcInputField:fi,Eye:Yl,EyeOff:Kl},inheritAttrs:!1,props:{" ":{},...fi.props,showTrailingButton:{type:Boolean,default:!0},trailingButtonLabel:void 0,checkPasswordStrength:{type:Boolean,default:!1},minlength:{type:Number,default:0},maxlength:{type:Number,default:null}},emits:["valid","invalid","update:value"],data:()=>({isPasswordHidden:!0,internalHelpMessage:"",isValid:null}),computed:{computedError(){return this.error||!1===this.isValid},computedSuccess(){return this.success||!0===this.isValid},computedHelperText(){return this.helperText.length>0?this.helperText:this.internalHelpMessage},rules(){const{minlength:e}=this;return{minlength:null!=e?e:null==Jl?void 0:Jl.minLength}},trailingButtonLabelPassword(){return this.isPasswordHidden?_i("Show password"):_i("Hide password")},propsAndAttrsToForward(){return{...this.$attrs,...Object.fromEntries(Object.entries(this.$props).filter((([e])=>Zl.has(e))))}}},watch:{value(e){if(this.checkPasswordStrength){if(null===Jl)return;this.checkPassword(e)}}},methods:{focus(){this.$refs.inputField.focus()},select(){this.$refs.inputField.select()},handleInput(e){this.$emit("update:value",e.target.value)},togglePasswordVisibility(){this.isPasswordHidden=!this.isPasswordHidden},checkPassword:Mi((async function(e){try{const{data:t}=await Hl.post(((e,t,n)=>{var r;const o=1===Object.assign({ocsVersion:2},n||{}).ocsVersion?1:2;return(null!=(r=null==n?void 0:n.baseURL)?r:Gl())+"/ocs/v"+o+".php"+zl(e,t,n)})("apps/password_policy/api/v1/validate"),{password:e});if(this.isValid=t.ocs.data.passed,t.ocs.data.passed)return this.internalHelpMessage=_i("Password is secure"),void this.$emit("valid");this.internalHelpMessage=t.ocs.data.reason,this.$emit("invalid")}catch(e){ql.error("Password policy returned an error",e)}}),500)}};var eu=function(){var e=this,t=e._self._c;return t("NcInputField",e._g(e._b({ref:"inputField",attrs:{type:e.isPasswordHidden?"password":"text","trailing-button-label":e.trailingButtonLabelPassword,"helper-text":e.computedHelperText,error:e.computedError,success:e.computedSuccess,minlength:e.rules.minlength},on:{"trailing-button-click":e.togglePasswordVisibility,input:e.handleInput},scopedSlots:e._u([{key:"trailing-button-icon",fn:function(){return[e.isPasswordHidden?t("Eye",{attrs:{size:18}}):t("EyeOff",{attrs:{size:18}})]},proxy:!0}])},"NcInputField",e.propsAndAttrsToForward,!1),e.$listeners),[e._t("default")],2)};const tu={name:"User",components:{NcButton:Wa,NcNoteCard:ii,NcTextField:Oi,NcPasswordField:Va(Ql,eu,[],!1,null,null,null,null).exports,Email:Ii,Lock:Bi({name:"LockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon lock-icon",attrs:{"aria-hidden":!e.title||null,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,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"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports,Phone:Bi({name:"PhoneIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon phone-icon",attrs:{"aria-hidden":!e.title||null,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{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"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports,Account:Bi({name:"AccountIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon account-icon",attrs:{"aria-hidden":!e.title||null,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{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,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports,Key:Bi({name:"KeyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon key-icon",attrs:{"aria-hidden":!e.title||null,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M7 14C5.9 14 5 13.1 5 12S5.9 10 7 10 9 10.9 9 12 8.1 14 7 14M12.6 10C11.8 7.7 9.6 6 7 6C3.7 6 1 8.7 1 12S3.7 18 7 18C9.6 18 11.8 16.3 12.6 14H16V18H20V14H23V10H12.6Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports},data:()=>({email:Li("registration","email"),emailIsLogin:Li("registration","emailIsLogin"),emailIsOptional:Li("registration","emailIsOptional"),loginname:Li("registration","loginname"),fullname:Li("registration","fullname"),showFullname:Li("registration","showFullname"),enforceFullname:Li("registration","enforceFullname"),phone:Li("registration","phone"),showPhone:Li("registration","showPhone"),enforcePhone:Li("registration","enforcePhone"),message:Li("registration","message"),password:Li("registration","password"),additionalHint:Li("registration","additionalHint"),requesttoken:ka(),loginFormLink:Li("registration","loginFormLink"),isPasswordHidden:!0,passwordInputType:"password",submitting:!1}),methods:{togglePassword(){"password"===this.passwordInputType?this.passwordInputType="text":this.passwordInputType="password"},onSubmit(){this.submitting=!0}}};var nu=r(6077),ru={};ru.styleTagTransform=Ha(),ru.setAttributes=$a(),ru.insert=Fa().bind(null,"head"),ru.domAPI=Ra(),ru.insertStyleElement=Da();Ia()(nu.A,ru);nu.A&&nu.A.locals&&nu.A.locals;const ou=Bi(tu,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"guest-box"},[t("form",{attrs:{action:"",method:"post"},on:{submit:e.onSubmit}},[t("input",{attrs:{type:"hidden",name:"requesttoken"},domProps:{value:e.requesttoken}}),e._v(" "),t("fieldset",[""!==e.message?t("NcNoteCard",{attrs:{type:"error"}},[e._v("\n\t\t\t\t"+e._s(e.message)+"\n\t\t\t")]):t("p",[e._v("\n\t\t\t\t"+e._s(e.t("registration","Welcome, you can create your account below."))+"\n\t\t\t")]),e._v(" "),e.additionalHint?t("NcNoteCard",{attrs:{type:"success"}},[e._v("\n\t\t\t\t"+e._s(e.additionalHint)+"\n\t\t\t")]):e._e(),e._v(" "),!e.emailIsOptional||e.email.length>0?t("NcTextField",{attrs:{value:e.email,type:"email",label:e.t("registration","Email"),"label-visible":!0,name:"email",disabled:""},on:{"update:value":function(t){e.email=t}}},[t("Email",{staticClass:"input__icon",attrs:{size:20}})],1):e._e(),e._v(" "),e.emailIsLogin?t("input",{attrs:{type:"hidden",name:"loginname"},domProps:{value:e.email}}):t("NcTextField",{attrs:{value:e.loginname,type:"text",name:"loginname",label:e.t("registration","Login name"),"label-visible":!0,required:""},on:{"update:value":function(t){e.loginname=t}}},[e.showFullname?t("Key",{staticClass:"input__icon",attrs:{size:20}}):t("Account",{staticClass:"input__icon",attrs:{size:20}})],1),e._v(" "),e.showFullname?t("NcTextField",{attrs:{value:e.fullname,type:"text",name:"fullname",label:e.t("registration","Full name"),"label-visible":!0,required:e.enforceFullname},on:{"update:value":function(t){e.fullname=t}}},[t("Account",{staticClass:"input__icon",attrs:{size:20}})],1):t("input",{attrs:{type:"hidden",name:"fullname",value:""}}),e._v(" "),e.showPhone?t("NcTextField",{attrs:{value:e.phone,type:"text",name:"phone",label:e.t("registration","Phone number"),"label-visible":!0,required:e.enforcePhone},on:{"update:value":function(t){e.phone=t}}},[t("Phone",{staticClass:"input__icon",attrs:{size:20}})],1):t("input",{attrs:{type:"hidden",name:"phone",value:""}}),e._v(" "),t("NcPasswordField",{attrs:{value:e.password,label:e.t("registration","Password"),"label-visible":!0,name:"password",required:""},on:{"update:value":function(t){e.password=t}}},[t("Lock",{staticClass:"input__icon",attrs:{size:20}})],1),e._v(" "),t("NcButton",{attrs:{id:"submit","native-type":"submit",type:"primary",wide:!0,disabled:e.submitting||0===e.password.length}},[e._v("\n\t\t\t\t"+e._s(e.submitting?e.t("registration","Loading"):e.t("registration","Create account"))+"\n\t\t\t")])],1)])])}),[],!1,null,"5b6a63d1",null).exports;nr.prototype.t=t,nr.prototype.OC=OC;let au=null;document.getElementById("registration_email")&&(au=new nr({el:"#registration_email",render:e=>e(Fi)})),document.getElementById("registration_verification")&&(au=new nr({el:"#registration_verification",render:e=>e(Di)})),document.getElementById("registration_user")&&(au=new nr({el:"#registration_user",render:e=>e(ou)}))})()})();
+//# sourceMappingURL=registration-form.js.map?v=4e0007c4fdce19360dc6
\ No newline at end of file
diff --git a/js/registration-form.js.LICENSE.txt b/js/registration-form.js.LICENSE.txt
index a101d67d..5f1df749 100644
--- a/js/registration-form.js.LICENSE.txt
+++ b/js/registration-form.js.LICENSE.txt
@@ -19,7 +19,7 @@
* MIT Licensed
*/
-/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */
+/*! @license DOMPurify 3.0.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.9/LICENSE */
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh