settings-vue-settings-personal-info.js 116 KB

123
  1. /*! For license information please see settings-vue-settings-personal-info.js.LICENSE.txt */
  2. !function(){var e,n={85655:function(e,n,a){"use strict";var r=a(20144),i=a(22200),o=a(16453),s=a(9944),l=(a(36144),a(4820)),c=a(79753),u=a(64024),d=a(74854),p=a(75925),A=a.n(p),f=a(10861),m=a.n(f),v=a(17652),g=(a(74063),a(41384)),h=a(36247),b=a(78627),y=a(23902),C=a(12945),x=a.n(C),w=a(45400),E={name:"FederationControlAction",components:{NcActionButton:a.n(w)()},props:{activeScope:{type:String,required:!0},displayName:{type:String,required:!0},handleScopeChange:{type:Function,default:function(){}},iconClass:{type:String,required:!0},isSupportedScope:{type:Boolean,required:!0},name:{type:String,required:!0},tooltipDisabled:{type:String,default:""},tooltip:{type:String,required:!0}},methods:{updateScope:function(){this.handleScopeChange(this.name)}}},_=a(93379),O=a.n(_),P=a(7795),j=a.n(P),I=a(90569),S=a.n(I),k=a(3565),L=a.n(k),D=a(19216),R=a.n(D),B=a(44589),N=a.n(B),T=a(82404),Z={};Z.styleTagTransform=N(),Z.setAttributes=L(),Z.insert=S().bind(null,"head"),Z.domAPI=j(),Z.insertStyleElement=R(),O()(T.Z,Z),T.Z&&T.Z.locals&&T.Z.locals;var M,U,z,F,H=a(51900),V=(0,H.Z)(E,(function(){var e=this;return(0,e._self._c)("NcActionButton",{staticClass:"federation-actions__btn",class:{"federation-actions__btn--active":e.activeScope===e.name},attrs:{"aria-label":e.isSupportedScope?e.tooltip:e.tooltipDisabled,"close-after-click":!0,disabled:!e.isSupportedScope,icon:e.iconClass,title:e.displayName},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.updateScope.apply(null,arguments)}}},[e._v("\n\t"+e._s(e.isSupportedScope?e.tooltip:e.tooltipDisabled)+"\n")])}),[],!1,null,"1249785e",null),G=V.exports;function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=Object.freeze({ADDRESS:"address",AVATAR:"avatar",BIOGRAPHY:"biography",DISPLAYNAME:"displayname",EMAIL_COLLECTION:"additional_mail",EMAIL:"email",HEADLINE:"headline",NOTIFICATION_EMAIL:"notify_email",ORGANISATION:"organisation",PHONE:"phone",PROFILE_ENABLED:"profile_enabled",ROLE:"role",TWITTER:"twitter",WEBSITE:"website"}),$=Object.freeze({ADDRESS:(0,s.translate)("settings","Location"),AVATAR:(0,s.translate)("settings","Profile picture"),BIOGRAPHY:(0,s.translate)("settings","About"),DISPLAYNAME:(0,s.translate)("settings","Full name"),EMAIL_COLLECTION:(0,s.translate)("settings","Additional email"),EMAIL:(0,s.translate)("settings","Email"),HEADLINE:(0,s.translate)("settings","Headline"),ORGANISATION:(0,s.translate)("settings","Organisation"),PHONE:(0,s.translate)("settings","Phone number"),PROFILE_ENABLED:(0,s.translate)("settings","Profile"),ROLE:(0,s.translate)("settings","Role"),TWITTER:(0,s.translate)("settings","Twitter"),WEBSITE:(0,s.translate)("settings","Website")}),W=Object.freeze((q(M={},Y.ADDRESS,$.ADDRESS),q(M,Y.AVATAR,$.AVATAR),q(M,Y.BIOGRAPHY,$.BIOGRAPHY),q(M,Y.DISPLAYNAME,$.DISPLAYNAME),q(M,Y.EMAIL_COLLECTION,$.EMAIL_COLLECTION),q(M,Y.EMAIL,$.EMAIL),q(M,Y.HEADLINE,$.HEADLINE),q(M,Y.ORGANISATION,$.ORGANISATION),q(M,Y.PHONE,$.PHONE),q(M,Y.PROFILE_ENABLED,$.PROFILE_ENABLED),q(M,Y.ROLE,$.ROLE),q(M,Y.TWITTER,$.TWITTER),q(M,Y.WEBSITE,$.WEBSITE),M)),K=Object.freeze({PROFILE_VISIBILITY:(0,s.translate)("settings","Profile visibility")}),Q=Object.freeze((q(U={},$.ADDRESS,Y.ADDRESS),q(U,$.AVATAR,Y.AVATAR),q(U,$.BIOGRAPHY,Y.BIOGRAPHY),q(U,$.DISPLAYNAME,Y.DISPLAYNAME),q(U,$.EMAIL_COLLECTION,Y.EMAIL_COLLECTION),q(U,$.EMAIL,Y.EMAIL),q(U,$.HEADLINE,Y.HEADLINE),q(U,$.ORGANISATION,Y.ORGANISATION),q(U,$.PHONE,Y.PHONE),q(U,$.PROFILE_ENABLED,Y.PROFILE_ENABLED),q(U,$.ROLE,Y.ROLE),q(U,$.TWITTER,Y.TWITTER),q(U,$.WEBSITE,Y.WEBSITE),U)),X=Object.freeze({LANGUAGE:"language",LOCALE:"locale"}),J=Object.freeze({LANGUAGE:(0,s.translate)("settings","Language"),LOCALE:(0,s.translate)("settings","Locale")}),ee=Object.freeze({PRIVATE:"v2-private",LOCAL:"v2-local",FEDERATED:"v2-federated",PUBLISHED:"v2-published"}),te=Object.freeze((q(z={},$.ADDRESS,[ee.LOCAL,ee.PRIVATE]),q(z,$.AVATAR,[ee.LOCAL,ee.PRIVATE]),q(z,$.BIOGRAPHY,[ee.LOCAL,ee.PRIVATE]),q(z,$.DISPLAYNAME,[ee.LOCAL]),q(z,$.EMAIL_COLLECTION,[ee.LOCAL]),q(z,$.EMAIL,[ee.LOCAL]),q(z,$.HEADLINE,[ee.LOCAL,ee.PRIVATE]),q(z,$.ORGANISATION,[ee.LOCAL,ee.PRIVATE]),q(z,$.PHONE,[ee.LOCAL,ee.PRIVATE]),q(z,$.PROFILE_ENABLED,[ee.LOCAL,ee.PRIVATE]),q(z,$.ROLE,[ee.LOCAL,ee.PRIVATE]),q(z,$.TWITTER,[ee.LOCAL,ee.PRIVATE]),q(z,$.WEBSITE,[ee.LOCAL,ee.PRIVATE]),z)),ne=Object.freeze([$.BIOGRAPHY,$.HEADLINE,$.ORGANISATION,$.ROLE]),ae="Scope",re=Object.freeze((q(F={},ee.PRIVATE,{name:ee.PRIVATE,displayName:(0,s.translate)("settings","Private"),tooltip:(0,s.translate)("settings","Only visible to people matched via phone number integration through Talk on mobile"),tooltipDisabled:(0,s.translate)("settings","Not available as this property is required for core functionality including file sharing and calendar invitations"),iconClass:"icon-phone"}),q(F,ee.LOCAL,{name:ee.LOCAL,displayName:(0,s.translate)("settings","Local"),tooltip:(0,s.translate)("settings","Only visible to people on this instance and guests"),iconClass:"icon-password"}),q(F,ee.FEDERATED,{name:ee.FEDERATED,displayName:(0,s.translate)("settings","Federated"),tooltip:(0,s.translate)("settings","Only synchronize to trusted servers"),tooltipDisabled:(0,s.translate)("settings","Not available as federation has been disabled for your account, contact your system administrator if you have any questions"),iconClass:"icon-contacts-dark"}),q(F,ee.PUBLISHED,{name:ee.PUBLISHED,displayName:(0,s.translate)("settings","Published"),tooltip:(0,s.translate)("settings","Synchronize to trusted servers and the global and public address book"),tooltipDisabled:(0,s.translate)("settings","Not available as publishing user specific data to the lookup server is not allowed, contact your system administrator if you have any questions"),iconClass:"icon-link"}),F)),ie=ee.LOCAL,oe=Object.freeze({NOT_VERIFIED:0,VERIFICATION_IN_PROGRESS:1,VERIFIED:2}),se=/^(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){255,})(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){65,}@)(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22))(?:\.(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-+[a-z0-9]+)*\.){1,126}){1,}(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-+[a-z0-9]+)*)|(?:\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\]))$/i,le=a(10128);function ce(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function ue(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){ce(i,a,r,o,s,"next",e)}function s(e){ce(i,a,r,o,s,"throw",e)}o(void 0)}))}}a(65509);var de=function(){var e=ue(regeneratorRuntime.mark((function e(t,n){var a,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"boolean"==typeof n&&(n=n?"1":"0"),a=(0,i.getCurrentUser)().uid,r=(0,c.generateOcsUrl)("cloud/users/{userId}",{userId:a}),e.next=5,(0,le.confirmPassword)();case 5:return e.next=7,l.default.put(r,{key:t,value:n});case 7:return o=e.sent,e.abrupt("return",o.data);case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),pe=function(){var e=ue(regeneratorRuntime.mark((function e(t,n){var a,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(0,i.getCurrentUser)().uid,r=(0,c.generateOcsUrl)("cloud/users/{userId}",{userId:a}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(r,{key:"".concat(t).concat(ae),value:n});case 6:return o=e.sent,e.abrupt("return",o.data);case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ae=(0,a(17499).IY)().setApp("settings").detectUser().build(),fe=function(e,t){var n,a="";t&&(a+=t),429===(null===(n=e.response)||void 0===n?void 0:n.status)&&(a&&(a+="\n"),a+=(0,s.translate)("settings","There were too many requests from your network. Retry later or contact your administrator if this is an error.")),(0,u.x2)(a),Ae.error(a||(0,s.translate)("Error"),e)};function me(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function ve(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){me(i,a,r,o,s,"next",e)}function s(e){me(i,a,r,o,s,"throw",e)}o(void 0)}))}}var ge=(0,o.loadState)("settings","accountParameters",{}),he=ge.federationEnabled,be=ge.lookupServerUploadEnabled,ye={name:"FederationControl",components:{NcActions:x(),FederationControlAction:G},props:{readable:{type:String,required:!0,validator:function(e){return Object.values($).includes(e)||Object.values(J).includes(e)||e===K.PROFILE_VISIBILITY}},additional:{type:Boolean,default:!1},additionalValue:{type:String,default:""},disabled:{type:Boolean,default:!1},handleAdditionalScopeChange:{type:Function,default:null},scope:{type:String,required:!0}},data:function(){return{readableLowerCase:this.readable.toLocaleLowerCase(),initialScope:this.scope}},computed:{ariaLabel:function(){return t("settings","Change scope level of {property}, current scope is {scope}",{property:this.readableLowerCase,scope:this.scopeDisplayNameLowerCase})},scopeDisplayNameLowerCase:function(){return re[this.scope].displayName.toLocaleLowerCase()},scopeIcon:function(){return re[this.scope].iconClass},federationScopes:function(){return Object.values(re)},supportedScopes:function(){var e=te[this.readable];return ne.includes(this.readable)||(he&&e.push(ee.FEDERATED),be&&e.push(ee.PUBLISHED)),e}},methods:{changeScope:function(e){var t=this;return ve(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.$emit("update:scope",e),t.additional){n.next=6;break}return n.next=4,t.updatePrimaryScope(e);case 4:n.next=8;break;case 6:return n.next=8,t.updateAdditionalScope(e);case 8:case"end":return n.stop()}}),n)})))()},updatePrimaryScope:function(e){var n=this;return ve(regeneratorRuntime.mark((function a(){var r,i,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,pe(Q[n.readable],e);case 3:o=a.sent,n.handleResponse({scope:e,status:null===(r=o.ocs)||void 0===r||null===(i=r.meta)||void 0===i?void 0:i.status}),a.next=10;break;case 7:a.prev=7,a.t0=a.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update federation scope of the primary {property}",{property:n.readableLowerCase}),error:a.t0});case 10:case"end":return a.stop()}}),a,null,[[0,7]])})))()},updateAdditionalScope:function(e){var n=this;return ve(regeneratorRuntime.mark((function a(){var r,i,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,n.handleAdditionalScopeChange(n.additionalValue,e);case 3:o=a.sent,n.handleResponse({scope:e,status:null===(r=o.ocs)||void 0===r||null===(i=r.meta)||void 0===i?void 0:i.status}),a.next=10;break;case 7:a.prev=7,a.t0=a.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update federation scope of additional {property}",{property:n.readableLowerCase}),error:a.t0});case 10:case"end":return a.stop()}}),a,null,[[0,7]])})))()},handleResponse:function(e){var t=e.scope,n=e.status,a=e.errorMessage,r=e.error;"ok"===n?this.initialScope=t:(this.$emit("update:scope",this.initialScope),fe(r,a))}}},Ce=a(68032),xe={};xe.styleTagTransform=N(),xe.setAttributes=L(),xe.insert=S().bind(null,"head"),xe.domAPI=j(),xe.insertStyleElement=R(),O()(Ce.Z,xe),Ce.Z&&Ce.Z.locals&&Ce.Z.locals;var we=(0,H.Z)(ye,(function(){var e=this,t=e._self._c;return t("NcActions",{class:{"federation-actions":!e.additional,"federation-actions--additional":e.additional},attrs:{"aria-label":e.ariaLabel,"default-icon":e.scopeIcon,disabled:e.disabled}},e._l(e.federationScopes,(function(n){return t("FederationControlAction",{key:n.name,attrs:{"active-scope":e.scope,"display-name":n.displayName,"handle-scope-change":e.changeScope,"icon-class":n.iconClass,"is-supported-scope":e.supportedScopes.includes(n.name),name:n.name,"tooltip-disabled":n.tooltipDisabled,tooltip:n.tooltip,"aria-label":n.tooltip}})})),1)}),[],!1,null,"2d64b46e",null).exports,Ee={name:"HeaderBar",components:{FederationControl:we,NcButton:m(),Plus:y.Z},props:{scope:{type:String,default:null},readable:{type:String,required:!0},inputId:{type:String,default:null},isEditable:{type:Boolean,default:!0},isMultiValueSupported:{type:Boolean,default:!1},isValidSection:{type:Boolean,default:!0},isHeading:{type:Boolean,default:!1}},data:function(){return{localScope:this.scope}},computed:{isProfileProperty:function(){return this.readable===$.PROFILE_ENABLED},isSettingProperty:function(){return!Object.values($).includes(this.readable)&&!Object.values(K).includes(this.readable)}},methods:{onAddAdditional:function(){this.$emit("add-additional")},onScopeChange:function(e){this.$emit("update:scope",e)}}},_e=a(44891),Oe={};Oe.styleTagTransform=N(),Oe.setAttributes=L(),Oe.insert=S().bind(null,"head"),Oe.domAPI=j(),Oe.insertStyleElement=R(),O()(_e.Z,Oe),_e.Z&&_e.Z.locals&&_e.Z.locals;var Pe=(0,H.Z)(Ee,(function(){var e=this,t=e._self._c;return t(e.isHeading?"h3":"div",{tag:"component",staticClass:"headerbar-label",class:{"setting-property":e.isSettingProperty,"profile-property":e.isProfileProperty}},[e.isHeading?t("span",[e._v("\n\t\t"+e._s(e.readable)+"\n\t")]):t("label",{attrs:{for:e.inputId}},[e._v("\n\t\t"+e._s(e.readable)+"\n\t")]),e._v(" "),e.scope?[t("FederationControl",{staticClass:"federation-control",attrs:{readable:e.readable,scope:e.localScope},on:{"update:scope":[function(t){e.localScope=t},e.onScopeChange]}})]:e._e(),e._v(" "),e.isEditable&&e.isMultiValueSupported?[t("NcButton",{attrs:{type:"tertiary",disabled:!e.isValidSection,"aria-label":e.t("settings","Add additional email")},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.onAddAdditional.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Plus",{attrs:{size:20}})]},proxy:!0}],null,!1,32235154)},[e._v("\n\t\t\t"+e._s(e.t("settings","Add"))+"\n\t\t")])]:e._e()],2)}),[],!1,null,"c098207e",null),je=Pe.exports;function Ie(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function Se(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){Ie(i,a,r,o,s,"next",e)}function s(e){Ie(i,a,r,o,s,"throw",e)}o(void 0)}))}}function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Re=(0,o.loadState)("settings","personalInfoParameters",{}).avatar,Be=(0,o.loadState)("settings","accountParameters",{}).avatarChangeSupported,Ne=["image/png","image/jpeg"],Te=(0,u.fn)(t("settings","Choose your profile picture")).setMultiSelect(!1).setMimeTypeFilter(Ne).setModal(!0).setType(1).allowDirectories(!1).build(),Ze={name:"AvatarSection",components:{Delete:b.Z,Folder:h.default,HeaderBar:je,NcAvatar:A(),NcButton:m(),Upload:g.Z,VueCropper:v.Z},data:function(){return{avatar:Le(Le({},Re),{},{readable:W[Re.name]}),avatarChangeSupported:Be,showCropper:!1,loading:!1,userId:(0,i.getCurrentUser)().uid,displayName:(0,i.getCurrentUser)().displayName,version:oc_userconfig.avatar.version,isGenerated:oc_userconfig.avatar.generated,validMimeTypes:Ne,cropperOptions:{aspectRatio:1,viewMode:1,guides:!1,center:!1,highlight:!1,autoCropArea:1,minContainerWidth:300,minContainerHeight:300}}},created:function(){(0,d.Ld)("settings:display-name:updated",this.handleDisplayNameUpdate)},beforeDestroy:function(){(0,d.r1)("settings:display-name:updated",this.handleDisplayNameUpdate)},computed:{inputId:function(){return"account-property-".concat(this.avatar.name)}},methods:{activateLocalFilePicker:function(){this.$refs.input.value=null,this.$refs.input.click()},onChange:function(e){var n=this;this.loading=!0;var a=e.target.files[0];if(!this.validMimeTypes.includes(a.type))return(0,u.x2)(t("settings","Please select a valid png or jpg file")),void this.cancel();var r=new FileReader;r.onload=function(e){n.$refs.cropper.replace(e.target.result),n.showCropper=!0},r.readAsDataURL(a)},openFilePicker:function(){var e=this;return Se(regeneratorRuntime.mark((function n(){var a,r,i,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Te.pick();case 2:return a=n.sent,e.loading=!0,n.prev=4,n.next=7,l.default.post((0,c.generateUrl)("/avatar"),{path:a});case 7:r=n.sent,"success"===(i=r.data).status?e.handleAvatarUpdate(!1):"notsquare"===i.data?(o=(0,c.generateUrl)("/avatar/tmp")+"?requesttoken="+encodeURIComponent(OC.requestToken)+"#"+Math.floor(1e3*Math.random()),e.$refs.cropper.replace(o),e.showCropper=!0):((0,u.x2)(i.data.message),e.cancel()),n.next=16;break;case 12:n.prev=12,n.t0=n.catch(4),(0,u.x2)(t("settings","Error setting profile picture")),e.cancel();case 16:case"end":return n.stop()}}),n,null,[[4,12]])})))()},saveAvatar:function(){var e=this;this.showCropper=!1,this.loading=!0,this.$refs.cropper.getCroppedCanvas().toBlob(function(){var n=Se(regeneratorRuntime.mark((function n(a){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(null!==a){n.next=4;break}return(0,u.x2)(t("settings","Error cropping profile picture")),e.cancel(),n.abrupt("return");case 4:return(r=new FormData).append("files[]",a),n.prev=6,n.next=9,l.default.post((0,c.generateUrl)("/avatar"),r);case 9:e.handleAvatarUpdate(!1),n.next=16;break;case 12:n.prev=12,n.t0=n.catch(6),(0,u.x2)(t("settings","Error saving profile picture")),e.handleAvatarUpdate(e.isGenerated);case 16:case"end":return n.stop()}}),n,null,[[6,12]])})));return function(e){return n.apply(this,arguments)}}())},removeAvatar:function(){var e=this;return Se(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,l.default.delete((0,c.generateUrl)("/avatar"));case 4:e.handleAvatarUpdate(!0),n.next=11;break;case 7:n.prev=7,n.t0=n.catch(1),(0,u.x2)(t("settings","Error removing profile picture")),e.handleAvatarUpdate(e.isGenerated);case 11:case"end":return n.stop()}}),n,null,[[1,7]])})))()},cancel:function(){this.showCropper=!1,this.loading=!1},handleAvatarUpdate:function(e){this.version=oc_userconfig.avatar.version=Date.now(),this.isGenerated=oc_userconfig.avatar.generated=e,this.loading=!1,(0,d.j8)("settings:avatar:updated",oc_userconfig.avatar.version)},handleDisplayNameUpdate:function(){this.version=oc_userconfig.avatar.version}}},Me=Ze,Ue=a(64514),ze={};ze.styleTagTransform=N(),ze.setAttributes=L(),ze.insert=S().bind(null,"head"),ze.domAPI=j(),ze.insertStyleElement=R(),O()(Ue.Z,ze),Ue.Z&&Ue.Z.locals&&Ue.Z.locals;var Fe=(0,H.Z)(Me,(function(){var e=this,t=e._self._c;return t("section",[t("h3",{staticClass:"hidden-visually"},[e._v(" "+e._s(e.t("settings","Your profile information"))+" ")]),e._v(" "),t("HeaderBar",{attrs:{"input-id":e.avatarChangeSupported?e.inputId:null,readable:e.avatar.readable,scope:e.avatar.scope},on:{"update:scope":function(t){return e.$set(e.avatar,"scope",t)}}}),e._v(" "),e.showCropper?e._e():t("div",{staticClass:"avatar__container"},[t("div",{staticClass:"avatar__preview"},[e.loading?t("div",{staticClass:"icon-loading"}):t("NcAvatar",{key:e.version,attrs:{user:e.userId,"aria-label":e.t("settings","Your profile picture"),"disabled-menu":!0,"disabled-tooltip":!0,"show-user-status":!1,size:180}})],1),e._v(" "),e.avatarChangeSupported?[t("div",{staticClass:"avatar__buttons"},[t("NcButton",{attrs:{"aria-label":e.t("settings","Upload profile picture")},on:{click:e.activateLocalFilePicker},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Upload",{attrs:{size:20}})]},proxy:!0}],null,!1,1329850251)}),e._v(" "),t("NcButton",{attrs:{"aria-label":e.t("settings","Choose profile picture from files")},on:{click:e.openFilePicker},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Folder",{attrs:{size:20}})]},proxy:!0}],null,!1,4270628382)}),e._v(" "),e.isGenerated?e._e():t("NcButton",{attrs:{"aria-label":e.t("settings","Remove profile picture")},on:{click:e.removeAvatar},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Delete",{attrs:{size:20}})]},proxy:!0}],null,!1,2705356561)})],1),e._v(" "),t("span",[e._v(e._s(e.t("settings","png or jpg, max. 20 MB")))]),e._v(" "),t("input",{ref:"input",attrs:{id:e.inputId,type:"file",accept:e.validMimeTypes.join(",")},on:{change:e.onChange}})]:t("span",[e._v("\n\t\t\t"+e._s(e.t("settings","Picture provided by original account"))+"\n\t\t")])],2),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showCropper,expression:"showCropper"}],staticClass:"avatar__container"},[t("VueCropper",e._b({ref:"cropper",staticClass:"avatar__cropper"},"VueCropper",e.cropperOptions,!1)),e._v(" "),t("div",{staticClass:"avatar__cropper-buttons"},[t("NcButton",{on:{click:e.cancel}},[e._v("\n\t\t\t\t"+e._s(e.t("settings","Cancel"))+"\n\t\t\t")]),e._v(" "),t("NcButton",{attrs:{type:"primary"},on:{click:e.saveAvatar}},[e._v("\n\t\t\t\t"+e._s(e.t("settings","Set as profile picture"))+"\n\t\t\t")])],1),e._v(" "),t("span",[e._v(e._s(e.t("settings","Please note that it can take up to 24 hours for your profile picture to be updated everywhere.")))])],1)],1)}),[],!1,null,"0729d6e8",null).exports,He=a(48959),Ve=a.n(He),Ge=a(17106),qe=a(86069),Ye=(0,o.loadState)("settings","personalInfoParameters",{}),$e=Ye.groups,We=Ye.quota,Ke=Ye.totalSpace,Qe=Ye.usage,Xe=Ye.usageRelative,Je={name:"DetailsSection",components:{Account:Ge.Z,CircleSlice:qe.Z,HeaderBar:je,NcProgressBar:Ve()},computed:{quotaText:function(){return-3===We?t("settings","You are using <strong>{usage}</strong>",{usage:Qe}):t("settings","You are using <strong>{usage}</strong> of <strong>{totalSpace}</strong> (<strong>{usageRelative}%</strong>)",{usage:Qe,totalSpace:Ke,usageRelative:Xe})}},data:function(){return{groups:$e,usageRelative:Xe}}},et=a(49698),tt={};tt.styleTagTransform=N(),tt.setAttributes=L(),tt.insert=S().bind(null,"head"),tt.domAPI=j(),tt.insertStyleElement=R(),O()(et.Z,tt),et.Z&&et.Z.locals&&et.Z.locals;var nt=(0,H.Z)(Je,(function(){var e=this,t=e._self._c;return t("section",[t("HeaderBar",{attrs:{"is-heading":!0,readable:e.t("settings","Details")}}),e._v(" "),t("div",{staticClass:"details"},[t("div",{staticClass:"details__groups"},[t("Account",{attrs:{size:20}}),e._v(" "),t("div",{staticClass:"details__groups-info"},[t("p",[e._v(e._s(e.t("settings","You are a member of the following groups:")))]),e._v(" "),t("p",{staticClass:"details__groups-list"},[e._v(e._s(e.groups.join(", ")))])])],1),e._v(" "),t("div",{staticClass:"details__quota"},[t("CircleSlice",{attrs:{size:20}}),e._v(" "),t("div",{staticClass:"details__quota-info"},[t("p",{staticClass:"details__quota-text",domProps:{innerHTML:e._s(e.quotaText)}}),e._v(" "),t("NcProgressBar",{attrs:{size:"medium",value:e.usageRelative,error:e.usageRelative>80}})],1)],1)])],1)}),[],!1,null,"51f53b67",null).exports,at=a(20296),rt=a.n(at),it=a(95276),ot=a(64325),st=a(27448);function lt(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function ct(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){lt(i,a,r,o,s,"next",e)}function s(e){lt(i,a,r,o,s,"throw",e)}o(void 0)}))}}var ut={name:"AccountPropertySection",components:{AlertCircle:it.default,AlertOctagon:ot.Z,Check:st.default,HeaderBar:je},props:{name:{type:String,required:!0},value:{type:String,required:!0},scope:{type:String,required:!0},readable:{type:String,required:!0},placeholder:{type:String,required:!0},type:{type:String,default:"text"},isEditable:{type:Boolean,default:!0},multiLine:{type:Boolean,default:!1},onValidate:{type:Function,default:null},onSave:{type:Function,default:null}},data:function(){return{initialValue:this.value,helperText:null,showCheckmarkIcon:!1,showErrorIcon:!1}},computed:{inputId:function(){return"account-property-".concat(this.name)}},methods:{onPropertyChange:function(e){this.$emit("update:value",e.target.value),this.debouncePropertyChange(e.target.value.trim())},debouncePropertyChange:rt()(function(){var e=ct(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.helperText=null,!this.$refs.input||!this.$refs.input.validationMessage){e.next=4;break}return this.helperText=this.$refs.input.validationMessage,e.abrupt("return");case 4:if(!this.onValidate||this.onValidate(t)){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,this.updateProperty(t);case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),500),updateProperty:function(e){var n=this;return ct(regeneratorRuntime.mark((function a(){var r,i,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,de(n.name,e);case 3:o=a.sent,n.handleResponse({value:e,status:null===(r=o.ocs)||void 0===r||null===(i=r.meta)||void 0===i?void 0:i.status}),a.next=10;break;case 7:a.prev=7,a.t0=a.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update {property}",{property:n.readable.toLocaleLowerCase()}),error:a.t0});case 10:case"end":return a.stop()}}),a,null,[[0,7]])})))()},handleResponse:function(e){var t=this,n=e.value,a=e.status,r=e.errorMessage,i=e.error;"ok"===a?(this.initialValue=n,this.onSave&&this.onSave(n),this.showCheckmarkIcon=!0,setTimeout((function(){t.showCheckmarkIcon=!1}),2e3)):(this.$emit("update:value",this.initialValue),fe(i,r),this.showErrorIcon=!0,setTimeout((function(){t.showErrorIcon=!1}),2e3))}}},dt=ut,pt=a(8400),At={};At.styleTagTransform=N(),At.setAttributes=L(),At.insert=S().bind(null,"head"),At.domAPI=j(),At.insertStyleElement=R(),O()(pt.Z,At),pt.Z&&pt.Z.locals&&pt.Z.locals;var ft=(0,H.Z)(dt,(function(){var e=this,t=e._self._c;return t("section",[t("HeaderBar",{attrs:{scope:e.scope,readable:e.readable,"input-id":e.inputId,"is-editable":e.isEditable},on:{"update:scope":function(t){e.scope=t},"update:readable":function(t){e.readable=t}}}),e._v(" "),e.isEditable?t("div",{staticClass:"property"},[e.multiLine?t("textarea",{attrs:{id:e.inputId,placeholder:e.placeholder,rows:"8",autocapitalize:"none",autocomplete:"off",autocorrect:"off"},domProps:{value:e.value},on:{input:e.onPropertyChange}}):t("input",{ref:"input",attrs:{id:e.inputId,placeholder:e.placeholder,type:e.type,"aria-describedby":e.helperText?"".concat(e.name,"-helper-text"):"",autocapitalize:"none",autocomplete:"on",autocorrect:"off"},domProps:{value:e.value},on:{input:e.onPropertyChange}}),e._v(" "),t("div",{staticClass:"property__actions-container"},[t("transition",{attrs:{name:"fade"}},[e.showCheckmarkIcon?t("Check",{attrs:{size:20}}):e.showErrorIcon?t("AlertOctagon",{attrs:{size:20}}):e._e()],1)],1)]):t("span",[e._v("\n\t\t"+e._s(e.value||e.t("settings","No {property} set",{property:e.readable.toLocaleLowerCase()}))+"\n\t")]),e._v(" "),e.helperText?t("p",{staticClass:"property__helper-text-message property__helper-text-message--error",attrs:{id:"".concat(e.name,"-helper-text")}},[t("AlertCircle",{staticClass:"property__helper-text-message__icon",attrs:{size:18}}),e._v("\n\t\t"+e._s(e.helperText)+"\n\t")],1):e._e()],1)}),[],!1,null,"40e22960",null).exports;function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(n),!0).forEach((function(t){gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ht=(0,o.loadState)("settings","personalInfoParameters",{}).displayName,bt=(0,o.loadState)("settings","accountParameters",{}).displayNameChangeSupported,yt={name:"DisplayNameSection",components:{AccountPropertySection:ft},data:function(){return{displayName:vt(vt({},ht),{},{readable:W[ht.name]}),displayNameChangeSupported:bt}},methods:{onValidate:function(e){return""!==e},onSave:function(e){oc_userconfig.avatar.generated&&(oc_userconfig.avatar.version=Date.now()),(0,d.j8)("settings:display-name:updated",e)}}},Ct=(0,H.Z)(yt,(function(){var e=this;return(0,e._self._c)("AccountPropertySection",e._b({attrs:{placeholder:e.t("settings","Your full name"),"is-editable":e.displayNameChangeSupported,"on-validate":e.onValidate,"on-save":e.onSave}},"AccountPropertySection",e.displayName,!1,!0))}),[],!1,null,null,null).exports,xt=a(15961);function wt(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function Et(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){wt(i,a,r,o,s,"next",e)}function s(e){wt(i,a,r,o,s,"throw",e)}o(void 0)}))}}var _t=function(){var e=Et(regeneratorRuntime.mark((function e(t){var n,a,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,i.getCurrentUser)().uid,a=(0,c.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(a,{key:Y.EMAIL,value:t});case 6:return r=e.sent,e.abrupt("return",r.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ot=function(){var e=Et(regeneratorRuntime.mark((function e(t){var n,a,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,i.getCurrentUser)().uid,a=(0,c.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(a,{key:Y.EMAIL_COLLECTION,value:t});case 6:return r=e.sent,e.abrupt("return",r.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Pt=function(){var e=Et(regeneratorRuntime.mark((function e(t){var n,a,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,i.getCurrentUser)().uid,a=(0,c.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(a,{key:Y.NOTIFICATION_EMAIL,value:t});case 6:return r=e.sent,e.abrupt("return",r.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),jt=function(){var e=Et(regeneratorRuntime.mark((function e(t){var n,a,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,i.getCurrentUser)().uid,a=(0,c.generateOcsUrl)("cloud/users/{userId}/{collection}",{userId:n,collection:Y.EMAIL_COLLECTION}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(a,{key:t,value:""});case 6:return r=e.sent,e.abrupt("return",r.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),It=function(){var e=Et(regeneratorRuntime.mark((function e(t,n){var a,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(0,i.getCurrentUser)().uid,r=(0,c.generateOcsUrl)("cloud/users/{userId}/{collection}",{userId:a,collection:Y.EMAIL_COLLECTION}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(r,{key:t,value:n});case 6:return o=e.sent,e.abrupt("return",o.data);case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),St=function(){var e=Et(regeneratorRuntime.mark((function e(t){var n,a,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,i.getCurrentUser)().uid,a=(0,c.generateOcsUrl)("cloud/users/{userId}",{userId:n}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(a,{key:"".concat(Y.EMAIL).concat(ae),value:t});case 6:return r=e.sent,e.abrupt("return",r.data);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),kt=function(){var e=Et(regeneratorRuntime.mark((function e(t,n){var a,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(0,i.getCurrentUser)().uid,r=(0,c.generateOcsUrl)("cloud/users/{userId}/{collectionScope}",{userId:a,collectionScope:"".concat(Y.EMAIL_COLLECTION).concat(ae)}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(r,{key:t,value:n});case 6:return o=e.sent,e.abrupt("return",o.data);case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();function Lt(e){return"string"==typeof e&&se.test(e)&&"\n"!==e.slice(-1)&&e.length<=320&&encodeURIComponent(e).replace(/%../g,"x").length<=320}function Dt(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function Rt(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){Dt(i,a,r,o,s,"next",e)}function s(e){Dt(i,a,r,o,s,"throw",e)}o(void 0)}))}}var Bt={name:"Email",components:{NcActions:xt.O3,NcActionButton:xt.Js,AlertCircle:it.default,AlertOctagon:ot.Z,Check:st.default,FederationControl:we},props:{email:{type:String,required:!0},index:{type:Number,default:0},primary:{type:Boolean,default:!1},scope:{type:String,required:!0},activeNotificationEmail:{type:String,default:""},localVerificationState:{type:Number,default:oe.NOT_VERIFIED}},data:function(){return{propertyReadable:$.EMAIL,initialEmail:this.email,localScope:this.scope,saveAdditionalEmailScope:kt,helperText:null,showCheckmarkIcon:!1,showErrorIcon:!1}},computed:{deleteDisabled:function(){return this.primary?""===this.email||this.initialEmail!==this.email:""!==this.initialEmail&&this.initialEmail!==this.email},deleteEmailLabel:function(){return this.primary?t("settings","Remove primary email"):t("settings","Delete email")},setNotificationMailDisabled:function(){return!this.primary&&this.localVerificationState!==oe.VERIFIED},setNotificationMailLabel:function(){return this.isNotificationEmail?t("settings","Unset as primary email"):this.primary||this.localVerificationState===oe.VERIFIED?t("settings","Set as primary email"):t("settings","This address is not confirmed")},federationDisabled:function(){return!this.initialEmail},inputId:function(){return this.primary?"email":"email-".concat(this.index)},inputPlaceholder:function(){return this.primary?t("settings","Your email address"):t("settings","Additional email address {index}",{index:this.index+1})},isNotificationEmail:function(){return this.email&&this.email===this.activeNotificationEmail||this.primary&&""===this.activeNotificationEmail}},mounted:function(){var e=this;this.primary||""!==this.initialEmail||this.$nextTick((function(){var t;return null===(t=e.$refs.email)||void 0===t?void 0:t.focus()}))},methods:{onEmailChange:function(e){this.$emit("update:email",e.target.value),this.debounceEmailChange(e.target.value.trim())},debounceEmailChange:rt()(function(){var e=Rt(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.helperText=null,null===(n=this.$refs.email)||void 0===n||!n.validationMessage){e.next=4;break}return this.helperText=this.$refs.email.validationMessage,e.abrupt("return");case 4:if(!Lt(t)&&""!==t){e.next=18;break}if(!this.primary){e.next=10;break}return e.next=8,this.updatePrimaryEmail(t);case 8:case 14:e.next=18;break;case 10:if(!t){e.next=18;break}if(""!==this.initialEmail){e.next=16;break}return e.next=14,this.addAdditionalEmail(t);case 16:return e.next=18,this.updateAdditionalEmail(t);case 18:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),500),deleteEmail:function(){var e=this;return Rt(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.primary){t.next=6;break}return e.$emit("update:email",""),t.next=4,e.updatePrimaryEmail("");case 4:t.next=8;break;case 6:return t.next=8,e.deleteAdditionalEmail();case 8:case"end":return t.stop()}}),t)})))()},updatePrimaryEmail:function(e){var n=this;return Rt(regeneratorRuntime.mark((function a(){var r,i,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,_t(e);case 3:o=a.sent,n.handleResponse({email:e,status:null===(r=o.ocs)||void 0===r||null===(i=r.meta)||void 0===i?void 0:i.status}),a.next=10;break;case 7:a.prev=7,a.t0=a.catch(0),""===e?n.handleResponse({errorMessage:t("settings","Unable to delete primary email address"),error:a.t0}):n.handleResponse({errorMessage:t("settings","Unable to update primary email address"),error:a.t0});case 10:case"end":return a.stop()}}),a,null,[[0,7]])})))()},addAdditionalEmail:function(e){var n=this;return Rt(regeneratorRuntime.mark((function a(){var r,i,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,Ot(e);case 3:o=a.sent,n.handleResponse({email:e,status:null===(r=o.ocs)||void 0===r||null===(i=r.meta)||void 0===i?void 0:i.status}),a.next=10;break;case 7:a.prev=7,a.t0=a.catch(0),n.handleResponse({errorMessage:t("settings","Unable to add additional email address"),error:a.t0});case 10:case"end":return a.stop()}}),a,null,[[0,7]])})))()},setNotificationMail:function(){var e=this;return Rt(regeneratorRuntime.mark((function t(){var n,a,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=e.primary||e.isNotificationEmail?"":e.initialEmail,t.next=4,Pt(r);case 4:i=t.sent,e.handleResponse({notificationEmail:r,status:null===(n=i.ocs)||void 0===n||null===(a=n.meta)||void 0===a?void 0:a.status}),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),e.handleResponse({errorMessage:"Unable to choose this email for notifications",error:t.t0});case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()},updateAdditionalEmail:function(e){var n=this;return Rt(regeneratorRuntime.mark((function a(){var r,i,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,It(n.initialEmail,e);case 3:o=a.sent,n.handleResponse({email:e,status:null===(r=o.ocs)||void 0===r||null===(i=r.meta)||void 0===i?void 0:i.status}),a.next=10;break;case 7:a.prev=7,a.t0=a.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update additional email address"),error:a.t0});case 10:case"end":return a.stop()}}),a,null,[[0,7]])})))()},deleteAdditionalEmail:function(){var e=this;return Rt(regeneratorRuntime.mark((function n(){var a,r,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,jt(e.initialEmail);case 3:i=n.sent,e.handleDeleteAdditionalEmail(null===(a=i.ocs)||void 0===a||null===(r=a.meta)||void 0===r?void 0:r.status),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),e.handleResponse({errorMessage:t("settings","Unable to delete additional email address"),error:n.t0});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},handleDeleteAdditionalEmail:function(e){"ok"===e?this.$emit("delete-additional-email"):this.handleResponse({errorMessage:t("settings","Unable to delete additional email address")})},handleResponse:function(e){var t=this,n=e.email,a=e.notificationEmail,r=e.status,i=e.errorMessage,o=e.error;"ok"===r?(n?this.initialEmail=n:void 0!==a&&this.$emit("update:notification-email",a),this.showCheckmarkIcon=!0,setTimeout((function(){t.showCheckmarkIcon=!1}),2e3)):(fe(o,i),this.showErrorIcon=!0,setTimeout((function(){t.showErrorIcon=!1}),2e3))},onScopeChange:function(e){this.$emit("update:scope",e)}}},Nt=Bt,Tt=a(57247),Zt={};Zt.styleTagTransform=N(),Zt.setAttributes=L(),Zt.insert=S().bind(null,"head"),Zt.domAPI=j(),Zt.insertStyleElement=R(),O()(Tt.Z,Zt),Tt.Z&&Tt.Z.locals&&Tt.Z.locals;var Mt=(0,H.Z)(Nt,(function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"email"},[t("input",{ref:"email",attrs:{id:e.inputId,type:"email",placeholder:e.inputPlaceholder,"aria-describedby":e.helperText?"".concat(e.inputId,"-helper-text"):"",autocapitalize:"none",autocomplete:"on",autocorrect:"off"},domProps:{value:e.email},on:{input:e.onEmailChange}}),e._v(" "),t("div",{staticClass:"email__actions-container"},[t("transition",{attrs:{name:"fade"}},[e.showCheckmarkIcon?t("Check",{attrs:{size:20}}):e.showErrorIcon?t("AlertOctagon",{attrs:{size:20}}):e._e()],1),e._v(" "),e.primary?e._e():[t("FederationControl",{attrs:{readable:e.propertyReadable,additional:!0,"additional-value":e.email,disabled:e.federationDisabled,"handle-additional-scope-change":e.saveAdditionalEmailScope,scope:e.localScope},on:{"update:scope":[function(t){e.localScope=t},e.onScopeChange]}})],e._v(" "),t("NcActions",{staticClass:"email__actions",attrs:{"aria-label":e.t("settings","Email options"),"force-menu":!0}},[t("NcActionButton",{attrs:{"aria-label":e.deleteEmailLabel,"close-after-click":!0,disabled:e.deleteDisabled,icon:"icon-delete"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.deleteEmail.apply(null,arguments)}}},[e._v("\n\t\t\t\t\t"+e._s(e.deleteEmailLabel)+"\n\t\t\t\t")]),e._v(" "),e.primary&&e.isNotificationEmail?e._e():t("NcActionButton",{attrs:{"aria-label":e.setNotificationMailLabel,"close-after-click":!0,disabled:e.setNotificationMailDisabled,icon:"icon-favorite"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.setNotificationMail.apply(null,arguments)}}},[e._v("\n\t\t\t\t\t"+e._s(e.setNotificationMailLabel)+"\n\t\t\t\t")])],1)],2)]),e._v(" "),e.helperText?t("p",{staticClass:"email__helper-text-message email__helper-text-message--error",attrs:{id:"".concat(e.inputId,"-helper-text")}},[t("AlertCircle",{staticClass:"email__helper-text-message__icon",attrs:{size:18}}),e._v("\n\t\t"+e._s(e.helperText)+"\n\t")],1):e._e(),e._v(" "),e.isNotificationEmail?t("em",[e._v("\n\t\t"+e._s(e.t("settings","Primary email for password reset and notifications"))+"\n\t")]):e._e()])}),[],!1,null,"0a5bc4a0",null),Ut=Mt.exports;function zt(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function Ft(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){zt(i,a,r,o,s,"next",e)}function s(e){zt(i,a,r,o,s,"throw",e)}o(void 0)}))}}function Ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(n),!0).forEach((function(t){Gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qt=(0,o.loadState)("settings","personalInfoParameters",{}).emailMap,Yt=qt.additionalEmails,$t=qt.primaryEmail,Wt=qt.notificationEmail,Kt=(0,o.loadState)("settings","accountParameters",{}).displayNameChangeSupported,Qt={name:"EmailSection",components:{HeaderBar:je,Email:Ut},data:function(){var e=this;return{accountProperty:$.EMAIL,additionalEmails:Yt.map((function(t){return Vt(Vt({},t),{},{key:e.generateUniqueKey()})})),displayNameChangeSupported:Kt,primaryEmail:Vt(Vt({},$t),{},{readable:W[$t.name]}),savePrimaryEmailScope:St,notificationEmail:Wt}},computed:{firstAdditionalEmail:function(){return this.additionalEmails.length?this.additionalEmails[0].value:null},inputId:function(){return"account-property-".concat(this.primaryEmail.name)},isValidSection:function(){return Lt(this.primaryEmail.value)&&this.additionalEmails.map((function(e){return e.value})).every(Lt)},primaryEmailValue:{get:function(){return this.primaryEmail.value},set:function(e){this.primaryEmail.value=e}}},methods:{onAddAdditionalEmail:function(){this.isValidSection&&this.additionalEmails.push({value:"",scope:ie,key:this.generateUniqueKey()})},onDeleteAdditionalEmail:function(e){this.$delete(this.additionalEmails,e)},onUpdateEmail:function(){var e=this;return Ft(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==e.primaryEmailValue||!e.firstAdditionalEmail){t.next=7;break}return n=e.firstAdditionalEmail,t.next=4,e.deleteFirstAdditionalEmail();case 4:return e.primaryEmailValue=n,t.next=7,e.updatePrimaryEmail();case 7:case"end":return t.stop()}}),t)})))()},onUpdateNotificationEmail:function(e){var t=this;return Ft(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.notificationEmail=e;case 1:case"end":return n.stop()}}),n)})))()},updatePrimaryEmail:function(){var e=this;return Ft(regeneratorRuntime.mark((function n(){var a,r,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,_t(e.primaryEmailValue);case 3:i=n.sent,e.handleResponse(null===(a=i.ocs)||void 0===a||null===(r=a.meta)||void 0===r?void 0:r.status),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),e.handleResponse("error",t("settings","Unable to update primary email address"),n.t0);case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},deleteFirstAdditionalEmail:function(){var e=this;return Ft(regeneratorRuntime.mark((function n(){var a,r,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,jt(e.firstAdditionalEmail);case 3:i=n.sent,e.handleDeleteFirstAdditionalEmail(null===(a=i.ocs)||void 0===a||null===(r=a.meta)||void 0===r?void 0:r.status),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),e.handleResponse("error",t("settings","Unable to delete additional email address"),n.t0);case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},handleDeleteFirstAdditionalEmail:function(e){"ok"===e?this.$delete(this.additionalEmails,0):this.handleResponse("error",t("settings","Unable to delete additional email address"),{})},handleResponse:function(e,t,n){"ok"!==e&&fe(n,t)},generateUniqueKey:function(){return Math.random().toString(36).substring(2)}}},Xt=a(43969),Jt={};Jt.styleTagTransform=N(),Jt.setAttributes=L(),Jt.insert=S().bind(null,"head"),Jt.domAPI=j(),Jt.insertStyleElement=R(),O()(Xt.Z,Jt),Xt.Z&&Xt.Z.locals&&Xt.Z.locals;var en=(0,H.Z)(Qt,(function(){var e=this,t=e._self._c;return t("section",[t("HeaderBar",{attrs:{"input-id":e.inputId,readable:e.primaryEmail.readable,"handle-scope-change":e.savePrimaryEmailScope,"is-editable":!0,"is-multi-value-supported":!0,"is-valid-section":e.isValidSection,scope:e.primaryEmail.scope},on:{"update:scope":function(t){return e.$set(e.primaryEmail,"scope",t)},"add-additional":e.onAddAdditionalEmail}}),e._v(" "),e.displayNameChangeSupported?[t("Email",{attrs:{primary:!0,scope:e.primaryEmail.scope,email:e.primaryEmail.value,"active-notification-email":e.notificationEmail},on:{"update:scope":function(t){return e.$set(e.primaryEmail,"scope",t)},"update:email":[function(t){return e.$set(e.primaryEmail,"value",t)},e.onUpdateEmail],"update:activeNotificationEmail":function(t){e.notificationEmail=t},"update:active-notification-email":function(t){e.notificationEmail=t},"update:notification-email":e.onUpdateNotificationEmail}})]:t("span",[e._v("\n\t\t"+e._s(e.primaryEmail.value||e.t("settings","No email address set"))+"\n\t")]),e._v(" "),e.additionalEmails.length?[t("em",{staticClass:"additional-emails-label"},[e._v(e._s(e.t("settings","Additional emails")))]),e._v(" "),e._l(e.additionalEmails,(function(n,a){return t("Email",{key:n.key,attrs:{index:a,scope:n.scope,email:n.value,"local-verification-state":parseInt(n.locallyVerified,10),"active-notification-email":e.notificationEmail},on:{"update:scope":function(t){return e.$set(n,"scope",t)},"update:email":[function(t){return e.$set(n,"value",t)},e.onUpdateEmail],"update:activeNotificationEmail":function(t){e.notificationEmail=t},"update:active-notification-email":function(t){e.notificationEmail=t},"update:notification-email":e.onUpdateNotificationEmail,"delete-additional-email":function(t){return e.onDeleteAdditionalEmail(a)}}})}))]:e._e()],2)}),[],!1,null,"46c7eb7e",null).exports,tn=a(45004);function nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(n),!0).forEach((function(t){rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var on=(0,o.loadState)("settings","personalInfoParameters",{}),sn=on.defaultPhoneRegion,ln=on.phone,cn={name:"PhoneSection",components:{AccountPropertySection:ft},data:function(){return{phone:an(an({},ln),{},{readable:W[ln.name]})}},methods:{onValidate:function(e){return sn?(0,tn.y)(e,sn):(0,tn.y)(e)}}},un=(0,H.Z)(cn,(function(){var e=this;return(0,e._self._c)("AccountPropertySection",e._b({attrs:{placeholder:e.t("settings","Your phone number"),type:"tel","on-validate":e.onValidate}},"AccountPropertySection",e.phone,!1,!0))}),[],!1,null,null,null).exports;function dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dn(Object(n),!0).forEach((function(t){An(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function An(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fn=(0,o.loadState)("settings","personalInfoParameters",{}).location,mn={name:"LocationSection",components:{AccountPropertySection:ft},data:function(){return{location:pn(pn({},fn),{},{readable:W[fn.name]})}}},vn=(0,H.Z)(mn,(function(){var e=this;return(0,e._self._c)("AccountPropertySection",e._b({attrs:{placeholder:e.t("settings","Your location")}},"AccountPropertySection",e.location,!1,!0))}),[],!1,null,null,null).exports;function gn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gn(Object(n),!0).forEach((function(t){bn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yn=(0,o.loadState)("settings","personalInfoParameters",{}).website,Cn={name:"WebsiteSection",components:{AccountPropertySection:ft},data:function(){return{website:hn(hn({},yn),{},{readable:W[yn.name]})}},methods:{onValidate:function(e){return function(e){try{return new URL(e),!0}catch(e){return!1}}(e)}}},xn=(0,H.Z)(Cn,(function(){var e=this;return(0,e._self._c)("AccountPropertySection",e._b({attrs:{placeholder:e.t("settings","Your website"),type:"url","on-validate":e.onValidate}},"AccountPropertySection",e.website,!1,!0))}),[],!1,null,null,null).exports;function wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function En(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wn(Object(n),!0).forEach((function(t){_n(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var On=(0,o.loadState)("settings","personalInfoParameters",{}).twitter,Pn={name:"TwitterSection",components:{AccountPropertySection:ft},data:function(){return{twitter:En(En({},On),{},{readable:W[On.name]})}}},jn=(0,H.Z)(Pn,(function(){var e=this;return(0,e._self._c)("AccountPropertySection",e._b({attrs:{placeholder:e.t("settings","Your Twitter handle")}},"AccountPropertySection",e.twitter,!1,!0))}),[],!1,null,null,null).exports;function In(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function Sn(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){In(i,a,r,o,s,"next",e)}function s(e){In(i,a,r,o,s,"throw",e)}o(void 0)}))}}function kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kn(Object(n),!0).forEach((function(t){Dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rn(e){return function(e){if(Array.isArray(e))return Bn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Bn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Nn={name:"Language",props:{inputId:{type:String,default:null},commonLanguages:{type:Array,required:!0},otherLanguages:{type:Array,required:!0},language:{type:Object,required:!0}},data:function(){return{initialLanguage:this.language}},computed:{allLanguages:function(){return Object.freeze([].concat(Rn(this.commonLanguages),Rn(this.otherLanguages)).reduce((function(e,t){var n=t.code,a=t.name;return Ln(Ln({},e),{},Dn({},n,a))}),{}))}},methods:{onLanguageChange:function(e){var t=this;return Sn(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=t.constructLanguage(e.target.value),t.$emit("update:language",a),""===(r=a).code||""===r.name||void 0===r.name){n.next=5;break}return n.next=5,t.updateLanguage(a);case 5:case"end":return n.stop()}var r}),n)})))()},updateLanguage:function(e){var n=this;return Sn(regeneratorRuntime.mark((function a(){var r,i,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,de(X.LANGUAGE,e.code);case 3:o=a.sent,n.handleResponse({language:e,status:null===(r=o.ocs)||void 0===r||null===(i=r.meta)||void 0===i?void 0:i.status}),n.reloadPage(),a.next=11;break;case 8:a.prev=8,a.t0=a.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update language"),error:a.t0});case 11:case"end":return a.stop()}}),a,null,[[0,8]])})))()},constructLanguage:function(e){return{code:e,name:this.allLanguages[e]}},handleResponse:function(e){var t=e.language,n=e.status,a=e.errorMessage,r=e.error;"ok"===n?this.initialLanguage=t:fe(r,a)},reloadPage:function(){location.reload()}}},Tn=a(4779),Zn={};Zn.styleTagTransform=N(),Zn.setAttributes=L(),Zn.insert=S().bind(null,"head"),Zn.domAPI=j(),Zn.insertStyleElement=R(),O()(Tn.Z,Zn),Tn.Z&&Tn.Z.locals&&Tn.Z.locals;var Mn=(0,H.Z)(Nn,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"language"},[t("select",{attrs:{id:e.inputId,placeholder:e.t("settings","Language")},on:{change:e.onLanguageChange}},[e._l(e.commonLanguages,(function(n){return t("option",{key:n.code,domProps:{selected:e.language.code===n.code,value:n.code}},[e._v("\n\t\t\t"+e._s(n.name)+"\n\t\t")])})),e._v(" "),t("option",{attrs:{disabled:""}},[e._v("\n\t\t\t──────────\n\t\t")]),e._v(" "),e._l(e.otherLanguages,(function(n){return t("option",{key:n.code,domProps:{selected:e.language.code===n.code,value:n.code}},[e._v("\n\t\t\t"+e._s(n.name)+"\n\t\t")])}))],2),e._v(" "),t("a",{attrs:{href:"https://www.transifex.com/nextcloud/nextcloud/",target:"_blank",rel:"noreferrer noopener"}},[t("em",[e._v(e._s(e.t("settings","Help translate")))])])])}),[],!1,null,"5c847b3a",null).exports,Un=(0,o.loadState)("settings","personalInfoParameters",{}).languageMap,zn=Un.activeLanguage,Fn=Un.commonLanguages,Hn=Un.otherLanguages,Vn={name:"LanguageSection",components:{Language:Mn,HeaderBar:je},data:function(){return{propertyReadable:J.LANGUAGE,commonLanguages:Fn,otherLanguages:Hn,language:zn}},computed:{inputId:function(){return"account-setting-".concat(X.LANGUAGE)},isEditable:function(){return Boolean(this.language)}}},Gn=a(92044),qn={};qn.styleTagTransform=N(),qn.setAttributes=L(),qn.insert=S().bind(null,"head"),qn.domAPI=j(),qn.insertStyleElement=R(),O()(Gn.Z,qn),Gn.Z&&Gn.Z.locals&&Gn.Z.locals;var Yn=(0,H.Z)(Vn,(function(){var e=this,t=e._self._c;return t("section",[t("HeaderBar",{attrs:{"input-id":e.inputId,readable:e.propertyReadable}}),e._v(" "),e.isEditable?[t("Language",{attrs:{"input-id":e.inputId,"common-languages":e.commonLanguages,"other-languages":e.otherLanguages,language:e.language},on:{"update:language":function(t){e.language=t}}})]:t("span",[e._v("\n\t\t"+e._s(e.t("settings","No language set"))+"\n\t")])],2)}),[],!1,null,"92685b76",null).exports,$n=a(80351),Wn=a.n($n);function Kn(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function Qn(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){Kn(i,a,r,o,s,"next",e)}function s(e){Kn(i,a,r,o,s,"throw",e)}o(void 0)}))}}function Xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Jn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(n),!0).forEach((function(t){ea(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ea(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ta(e){return function(e){if(Array.isArray(e))return na(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return na(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?na(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var aa={name:"Locale",components:{Web:a(67825).default},props:{inputId:{type:String,default:null},locale:{type:Object,required:!0},localesForLanguage:{type:Array,required:!0},otherLocales:{type:Array,required:!0}},data:function(){return{initialLocale:this.locale,example:{date:Wn()().format("L"),time:Wn()().format("LTS"),firstDayOfWeek:window.dayNames[window.firstDay]}}},computed:{allLocales:function(){return Object.freeze([].concat(ta(this.localesForLanguage),ta(this.otherLocales)).reduce((function(e,t){var n=t.code,a=t.name;return Jn(Jn({},e),{},ea({},n,a))}),{}))}},created:function(){setInterval(this.refreshExample,1e3)},methods:{onLocaleChange:function(e){var t=this;return Qn(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=t.constructLocale(e.target.value),t.$emit("update:locale",a),""===(r=a).code||""===r.name||void 0===r.name){n.next=5;break}return n.next=5,t.updateLocale(a);case 5:case"end":return n.stop()}var r}),n)})))()},updateLocale:function(e){var n=this;return Qn(regeneratorRuntime.mark((function a(){var r,i,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,de(X.LOCALE,e.code);case 3:o=a.sent,n.handleResponse({locale:e,status:null===(r=o.ocs)||void 0===r||null===(i=r.meta)||void 0===i?void 0:i.status}),n.reloadPage(),a.next=11;break;case 8:a.prev=8,a.t0=a.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update locale"),error:a.t0});case 11:case"end":return a.stop()}}),a,null,[[0,8]])})))()},constructLocale:function(e){return{code:e,name:this.allLocales[e]}},handleResponse:function(e){var t=e.locale,n=e.status,a=e.errorMessage,r=e.error;"ok"===n?this.initialLocale=t:(this.$emit("update:locale",this.initialLocale),fe(r,a))},refreshExample:function(){this.example={date:Wn()().format("L"),time:Wn()().format("LTS"),firstDayOfWeek:window.dayNames[window.firstDay]}},reloadPage:function(){location.reload()}}},ra=a(99161),ia={};ia.styleTagTransform=N(),ia.setAttributes=L(),ia.insert=S().bind(null,"head"),ia.domAPI=j(),ia.insertStyleElement=R(),O()(ra.Z,ia),ra.Z&&ra.Z.locals&&ra.Z.locals;var oa=(0,H.Z)(aa,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"locale"},[t("select",{attrs:{id:e.inputId,placeholder:e.t("settings","Locale")},on:{change:e.onLocaleChange}},[e._l(e.localesForLanguage,(function(n){return t("option",{key:n.code,domProps:{selected:e.locale.code===n.code,value:n.code}},[e._v("\n\t\t\t"+e._s(n.name)+"\n\t\t")])})),e._v(" "),t("option",{attrs:{disabled:""}},[e._v("\n\t\t\t──────────\n\t\t")]),e._v(" "),e._l(e.otherLocales,(function(n){return t("option",{key:n.code,domProps:{selected:e.locale.code===n.code,value:n.code}},[e._v("\n\t\t\t"+e._s(n.name)+"\n\t\t")])}))],2),e._v(" "),t("div",{staticClass:"example"},[t("Web",{attrs:{size:20}}),e._v(" "),t("div",{staticClass:"example__text"},[t("p",[t("span",[e._v(e._s(e.example.date))]),e._v(" "),t("span",[e._v(e._s(e.example.time))])]),e._v(" "),t("p",[e._v("\n\t\t\t\t"+e._s(e.t("settings","Week starts on {firstDayOfWeek}",{firstDayOfWeek:this.example.firstDayOfWeek}))+"\n\t\t\t")])])],1)])}),[],!1,null,"a36e0118",null).exports,sa=(0,o.loadState)("settings","personalInfoParameters",{}).localeMap,la=sa.activeLocale,ca=sa.localesForLanguage,ua=sa.otherLocales,da={name:"LocaleSection",components:{Locale:oa,HeaderBar:je},data:function(){return{propertyReadable:J.LOCALE,localesForLanguage:ca,otherLocales:ua,locale:la}},computed:{inputId:function(){return"account-setting-".concat(X.LOCALE)},isEditable:function(){return Boolean(this.locale)}}},pa=a(33296),Aa={};Aa.styleTagTransform=N(),Aa.setAttributes=L(),Aa.insert=S().bind(null,"head"),Aa.domAPI=j(),Aa.insertStyleElement=R(),O()(pa.Z,Aa),pa.Z&&pa.Z.locals&&pa.Z.locals;var fa=(0,H.Z)(da,(function(){var e=this,t=e._self._c;return t("section",[t("HeaderBar",{attrs:{"input-id":e.inputId,readable:e.propertyReadable}}),e._v(" "),e.isEditable?[t("Locale",{attrs:{"input-id":e.inputId,"locales-for-language":e.localesForLanguage,"other-locales":e.otherLocales,locale:e.locale},on:{"update:locale":function(t){e.locale=t}}})]:t("span",[e._v("\n\t\t"+e._s(e.t("settings","No locale set"))+"\n\t")])],2)}),[],!1,null,"84fca724",null).exports,ma={name:"EditProfileAnchorLink",components:{ChevronDownIcon:a(32978).default},props:{profileEnabled:{type:Boolean,required:!0}},computed:{disabled:function(){return!this.profileEnabled}}},va=a(67873),ga={};ga.styleTagTransform=N(),ga.setAttributes=L(),ga.insert=S().bind(null,"head"),ga.domAPI=j(),ga.insertStyleElement=R(),O()(va.Z,ga),va.Z&&va.Z.locals&&va.Z.locals;var ha=a(80686),ba={};ba.styleTagTransform=N(),ba.setAttributes=L(),ba.insert=S().bind(null,"head"),ba.domAPI=j(),ba.insertStyleElement=R(),O()(ha.Z,ba),ha.Z&&ha.Z.locals&&ha.Z.locals;var ya=(0,H.Z)(ma,(function(){var e=this,t=e._self._c;return t("a",e._g({class:{disabled:e.disabled},attrs:{href:"#profile-visibility"}},e.$listeners),[t("ChevronDownIcon",{staticClass:"anchor-icon",attrs:{size:22}}),e._v("\n\t"+e._s(e.t("settings","Edit your Profile visibility"))+"\n")],1)}),[],!1,null,"1950be88",null).exports,Ca=a(20571);function xa(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}var wa={name:"ProfileCheckbox",components:{NcCheckboxRadioSwitch:a.n(Ca)()},props:{profileEnabled:{type:Boolean,required:!0}},data:function(){return{isProfileEnabled:this.profileEnabled,loading:!1}},methods:{saveEnableProfile:function(){var e,n=this;return(e=regeneratorRuntime.mark((function e(){var a,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.loading=!0,e.prev=1,e.next=4,de(Y.PROFILE_ENABLED,n.isProfileEnabled);case 4:i=e.sent,n.handleResponse({isProfileEnabled:n.isProfileEnabled,status:null===(a=i.ocs)||void 0===a||null===(r=a.meta)||void 0===r?void 0:r.status}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),n.handleResponse({errorMessage:t("settings","Unable to update profile enabled state"),error:e.t0});case 11:case"end":return e.stop()}}),e,null,[[1,8]])})),function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){xa(i,a,r,o,s,"next",e)}function s(e){xa(i,a,r,o,s,"throw",e)}o(void 0)}))})()},handleResponse:function(e){var t=e.isProfileEnabled,n=e.status,a=e.errorMessage,r=e.error;"ok"===n?(0,d.j8)("settings:profile-enabled:updated",t):fe(r,a),this.loading=!1}}},Ea=wa,_a=(0,H.Z)(Ea,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"checkbox-container"},[t("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:e.isProfileEnabled,loading:e.loading},on:{"update:checked":[function(t){e.isProfileEnabled=t},e.saveEnableProfile]}},[e._v("\n\t\t"+e._s(e.t("settings","Enable Profile"))+"\n\t")])],1)}),[],!1,null,null,null).exports,Oa={name:"ProfilePreviewCard",components:{NcAvatar:A()},props:{displayName:{type:String,required:!0},organisation:{type:String,required:!0},profileEnabled:{type:Boolean,required:!0},userId:{type:String,required:!0}},computed:{disabled:function(){return!this.profileEnabled},profilePageLink:function(){return this.profileEnabled?(0,c.generateUrl)("/u/{userId}",{userId:(0,i.getCurrentUser)().uid}):null}}},Pa=a(77180),ja={};ja.styleTagTransform=N(),ja.setAttributes=L(),ja.insert=S().bind(null,"head"),ja.domAPI=j(),ja.insertStyleElement=R(),O()(Pa.Z,ja),Pa.Z&&Pa.Z.locals&&Pa.Z.locals;var Ia=(0,H.Z)(Oa,(function(){var e=this,t=e._self._c;return t("a",{staticClass:"preview-card",class:{disabled:e.disabled},attrs:{href:e.profilePageLink}},[t("NcAvatar",{staticClass:"preview-card__avatar",attrs:{user:e.userId,size:48,"show-user-status":!0,"show-user-status-compact":!1,"disable-menu":!0,"disable-tooltip":!0}}),e._v(" "),t("div",{staticClass:"preview-card__header"},[t("span",[e._v(e._s(e.displayName))])]),e._v(" "),t("div",{staticClass:"preview-card__footer"},[t("span",[e._v(e._s(e.organisation))])])],1)}),[],!1,null,"e1d38ee8",null).exports,Sa=(0,o.loadState)("settings","personalInfoParameters",{}),ka=Sa.organisation.value,La=Sa.displayName.value,Da=Sa.profileEnabled,Ra=Sa.userId,Ba={name:"ProfileSection",components:{EditProfileAnchorLink:ya,HeaderBar:je,ProfileCheckbox:_a,ProfilePreviewCard:Ia},data:function(){return{propertyReadable:$.PROFILE_ENABLED,organisation:ka,displayName:La,profileEnabled:Da,userId:Ra}},mounted:function(){(0,d.Ld)("settings:display-name:updated",this.handleDisplayNameUpdate),(0,d.Ld)("settings:organisation:updated",this.handleOrganisationUpdate)},beforeDestroy:function(){(0,d.r1)("settings:display-name:updated",this.handleDisplayNameUpdate),(0,d.r1)("settings:organisation:updated",this.handleOrganisationUpdate)},methods:{handleDisplayNameUpdate:function(e){this.displayName=e},handleOrganisationUpdate:function(e){this.organisation=e}}},Na=Ba,Ta=a(72008),Za={};Za.styleTagTransform=N(),Za.setAttributes=L(),Za.insert=S().bind(null,"head"),Za.domAPI=j(),Za.insertStyleElement=R(),O()(Ta.Z,Za),Ta.Z&&Ta.Z.locals&&Ta.Z.locals;var Ma=(0,H.Z)(Na,(function(){var e=this,t=e._self._c;return t("section",[t("HeaderBar",{attrs:{readable:e.propertyReadable}}),e._v(" "),t("ProfileCheckbox",{attrs:{"profile-enabled":e.profileEnabled},on:{"update:profileEnabled":function(t){e.profileEnabled=t},"update:profile-enabled":function(t){e.profileEnabled=t}}}),e._v(" "),t("ProfilePreviewCard",{attrs:{organisation:e.organisation,"display-name":e.displayName,"profile-enabled":e.profileEnabled,"user-id":e.userId}}),e._v(" "),t("EditProfileAnchorLink",{attrs:{"profile-enabled":e.profileEnabled}})],1)}),[],!1,null,"cf64d964",null).exports;function Ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function za(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ua(Object(n),!0).forEach((function(t){Fa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ua(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ha=(0,o.loadState)("settings","personalInfoParameters",{}).organisation,Va={name:"OrganisationSection",components:{AccountPropertySection:ft},data:function(){return{organisation:za(za({},Ha),{},{readable:W[Ha.name]})}}},Ga=(0,H.Z)(Va,(function(){var e=this;return(0,e._self._c)("AccountPropertySection",e._b({attrs:{placeholder:e.t("settings","Your organisation")}},"AccountPropertySection",e.organisation,!1,!0))}),[],!1,null,null,null).exports;function qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(n),!0).forEach((function(t){$a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wa=(0,o.loadState)("settings","personalInfoParameters",{}).role,Ka={name:"RoleSection",components:{AccountPropertySection:ft},data:function(){return{role:Ya(Ya({},Wa),{},{readable:W[Wa.name]})}}},Qa=(0,H.Z)(Ka,(function(){var e=this;return(0,e._self._c)("AccountPropertySection",e._b({attrs:{placeholder:e.t("settings","Your role")}},"AccountPropertySection",e.role,!1,!0))}),[],!1,null,null,null).exports;function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ja(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xa(Object(n),!0).forEach((function(t){er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tr=(0,o.loadState)("settings","personalInfoParameters",{}).headline,nr={name:"HeadlineSection",components:{AccountPropertySection:ft},data:function(){return{headline:Ja(Ja({},tr),{},{readable:W[tr.name]})}}},ar=(0,H.Z)(nr,(function(){var e=this;return(0,e._self._c)("AccountPropertySection",e._b({attrs:{placeholder:e.t("settings","Your headline")}},"AccountPropertySection",e.headline,!1,!0))}),[],!1,null,null,null).exports;function rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(n),!0).forEach((function(t){or(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sr=(0,o.loadState)("settings","personalInfoParameters",{}).biography,lr={name:"BiographySection",components:{AccountPropertySection:ft},data:function(){return{biography:ir(ir({},sr),{},{readable:W[sr.name]})}}},cr=(0,H.Z)(lr,(function(){var e=this;return(0,e._self._c)("AccountPropertySection",e._b({attrs:{placeholder:e.t("settings","Your biography"),"multi-line":!0}},"AccountPropertySection",e.biography,!1,!0))}),[],!1,null,null,null).exports,ur=a(36456),dr=a.n(ur);function pr(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}var Ar,fr=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,n){var a,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(0,i.getCurrentUser)().uid,r=(0,c.generateOcsUrl)("/profile/{userId}",{userId:a}),e.next=4,(0,le.confirmPassword)();case 4:return e.next=6,l.default.put(r,{paramId:t,visibility:n});case 6:return o=e.sent,e.abrupt("return",o.data);case 8:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){pr(i,a,r,o,s,"next",e)}function s(e){pr(i,a,r,o,s,"throw",e)}o(void 0)}))});return function(e,n){return t.apply(this,arguments)}}();function mr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vr=Object.freeze({SHOW:"show",SHOW_USERS_ONLY:"show_users_only",HIDE:"hide"}),gr=Object.freeze((mr(Ar={},vr.SHOW,{name:vr.SHOW,label:t("settings","Show to everyone")}),mr(Ar,vr.SHOW_USERS_ONLY,{name:vr.SHOW_USERS_ONLY,label:t("settings","Show to logged in users only")}),mr(Ar,vr.HIDE,{name:vr.HIDE,label:t("settings","Hide")}),Ar));function hr(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function br(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){hr(i,a,r,o,s,"next",e)}function s(e){hr(i,a,r,o,s,"throw",e)}o(void 0)}))}}var yr=(0,o.loadState)("settings","personalInfoParameters",!1).profileEnabled,Cr={name:"VisibilityDropdown",components:{NcSelect:dr()},props:{paramId:{type:String,required:!0},displayId:{type:String,required:!0},visibility:{type:String,required:!0}},data:function(){return{initialVisibility:this.visibility,profileEnabled:yr}},computed:{disabled:function(){return!this.profileEnabled},inputId:function(){return"profile-visibility-".concat(this.paramId)},visibilityObject:function(){return gr[this.visibility]},visibilityOptions:function(){return Object.values(gr)}},mounted:function(){(0,d.Ld)("settings:profile-enabled:updated",this.handleProfileEnabledUpdate)},beforeDestroy:function(){(0,d.r1)("settings:profile-enabled:updated",this.handleProfileEnabledUpdate)},methods:{onVisibilityChange:function(e){var t=this;return br(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(null===e){n.next=6;break}if(a=e.name,t.$emit("update:visibility",a),""===a){n.next=6;break}return n.next=6,t.updateVisibility(a);case 6:case"end":return n.stop()}}),n)})))()},updateVisibility:function(e){var n=this;return br(regeneratorRuntime.mark((function a(){var r,i,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,fr(n.paramId,e);case 3:o=a.sent,n.handleResponse({visibility:e,status:null===(r=o.ocs)||void 0===r||null===(i=r.meta)||void 0===i?void 0:i.status}),a.next=10;break;case 7:a.prev=7,a.t0=a.catch(0),n.handleResponse({errorMessage:t("settings","Unable to update visibility of {displayId}",{displayId:n.displayId}),error:a.t0});case 10:case"end":return a.stop()}}),a,null,[[0,7]])})))()},handleResponse:function(e){var t=e.visibility,n=e.status,a=e.errorMessage,r=e.error;"ok"===n?this.initialVisibility=t:fe(r,a)},handleProfileEnabledUpdate:function(e){this.profileEnabled=e}}},xr=Cr,wr=a(72153),Er={};Er.styleTagTransform=N(),Er.setAttributes=L(),Er.insert=S().bind(null,"head"),Er.domAPI=j(),Er.insertStyleElement=R(),O()(wr.Z,Er),wr.Z&&wr.Z.locals&&wr.Z.locals;var _r=(0,H.Z)(xr,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"visibility-container",class:{disabled:e.disabled}},[t("label",{attrs:{for:e.inputId}},[e._v("\n\t\t"+e._s(e.displayId)+"\n\t")]),e._v(" "),t("NcSelect",{staticClass:"visibility-container__select",attrs:{"input-id":e.inputId,clearable:!1,options:e.visibilityOptions,value:e.visibilityObject},on:{"option:selected":e.onVisibilityChange}})],1)}),[],!1,null,"b13d20da",null).exports;function Or(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Pr=(0,o.loadState)("settings","profileParameters",{}).profileConfig,jr=(0,o.loadState)("settings","personalInfoParameters",!1).profileEnabled,Ir=function(e,t){return e.appId===t.appId||"core"!==e.appId&&"core"!==t.appId?e.displayId.localeCompare(t.displayId):"core"===e.appId?1:-1},Sr={name:"ProfileVisibilitySection",components:{HeaderBar:je,VisibilityDropdown:_r},data:function(){return{heading:K.PROFILE_VISIBILITY,profileEnabled:jr,visibilityParams:Object.entries(Pr).map((function(e){var t,n,a=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(i.push(a.value),!t||i.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return Or(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Or(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=a[0],i=a[1];return{id:r,appId:i.appId,displayId:i.displayId,visibility:i.visibility}})).sort(Ir),marginLeft:window.matchMedia("(min-width: 1600px)").matches?window.getComputedStyle(document.getElementById("personal-settings-avatar-container")).getPropertyValue("width").trim():"0px"}},computed:{disabled:function(){return!this.profileEnabled},rows:function(){return Math.ceil(this.visibilityParams.length/2)}},mounted:function(){var e=this;(0,d.Ld)("settings:profile-enabled:updated",this.handleProfileEnabledUpdate),window.onresize=function(){e.marginLeft=window.matchMedia("(min-width: 1600px)").matches?window.getComputedStyle(document.getElementById("personal-settings-avatar-container")).getPropertyValue("width").trim():"0px"}},beforeDestroy:function(){(0,d.r1)("settings:profile-enabled:updated",this.handleProfileEnabledUpdate)},methods:{handleProfileEnabledUpdate:function(e){this.profileEnabled=e}}},kr=Sr,Lr=a(20797),Dr={};Dr.styleTagTransform=N(),Dr.setAttributes=L(),Dr.insert=S().bind(null,"head"),Dr.domAPI=j(),Dr.insertStyleElement=R(),O()(Lr.Z,Dr),Lr.Z&&Lr.Z.locals&&Lr.Z.locals;var Rr=(0,H.Z)(kr,(function(){var e=this,t=e._self._c;return t("section",{style:{marginLeft:e.marginLeft},attrs:{id:"profile-visibility"}},[t("HeaderBar",{attrs:{"is-heading":!0,readable:e.heading}}),e._v(" "),t("em",{class:{disabled:e.disabled}},[e._v("\n\t\t"+e._s(e.t("settings",'The more restrictive setting of either visibility or scope is respected on your Profile. For example, if visibility is set to "Show to everyone" and scope is set to "Private", "Private" is respected.'))+"\n\t")]),e._v(" "),t("div",{staticClass:"visibility-dropdowns",style:{gridTemplateRows:"repeat(".concat(e.rows,", 44px)")}},e._l(e.visibilityParams,(function(n){return t("VisibilityDropdown",{key:n.id,attrs:{"param-id":n.id,"display-id":n.displayId,visibility:n.visibility},on:{"update:visibility":function(t){return e.$set(n,"visibility",t)}}})})),1)],1)}),[],!1,null,"00cfb5f8",null).exports;a.nc=btoa((0,i.getRequestToken)());var Br=(0,o.loadState)("settings","profileEnabledGlobally",!0);r.ZP.mixin({methods:{t:s.translate}});var Nr=r.ZP.extend(Fe),Tr=r.ZP.extend(nt),Zr=r.ZP.extend(Ct),Mr=r.ZP.extend(en),Ur=r.ZP.extend(un),zr=r.ZP.extend(vn),Fr=r.ZP.extend(xn),Hr=r.ZP.extend(jn),Vr=r.ZP.extend(Yn),Gr=r.ZP.extend(fa);if((new Nr).$mount("#vue-avatar-section"),(new Tr).$mount("#vue-details-section"),(new Zr).$mount("#vue-displayname-section"),(new Mr).$mount("#vue-email-section"),(new Ur).$mount("#vue-phone-section"),(new zr).$mount("#vue-location-section"),(new Fr).$mount("#vue-website-section"),(new Hr).$mount("#vue-twitter-section"),(new Vr).$mount("#vue-language-section"),(new Gr).$mount("#vue-locale-section"),Br){var qr=r.ZP.extend(Ma),Yr=r.ZP.extend(Ga),$r=r.ZP.extend(Qa),Wr=r.ZP.extend(ar),Kr=r.ZP.extend(cr),Qr=r.ZP.extend(Rr);(new qr).$mount("#vue-profile-section"),(new Yr).$mount("#vue-organisation-section"),(new $r).$mount("#vue-role-section"),(new Wr).$mount("#vue-headline-section"),(new Kr).$mount("#vue-biography-section"),(new Qr).$mount("#vue-profile-visibility-section")}},64514:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".avatar__container[data-v-0729d6e8]{margin:0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px 0;width:300px}.avatar__container span[data-v-0729d6e8]{color:var(--color-text-lighter)}.avatar__preview[data-v-0729d6e8]{display:flex;justify-content:center;align-items:center;width:180px;height:180px}.avatar__buttons[data-v-0729d6e8]{display:flex;gap:0 10px}.avatar__cropper[data-v-0729d6e8]{width:300px;height:300px;overflow:hidden}.avatar__cropper-buttons[data-v-0729d6e8]{width:100%;display:flex;justify-content:space-between}.avatar__cropper[data-v-0729d6e8] .cropper-view-box{border-radius:50%}input[type=file][data-v-0729d6e8]{display:none}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/AvatarSection.vue"],names:[],mappings:"AAEC,oCACC,aAAA,CACA,YAAA,CACA,qBAAA,CACA,sBAAA,CACA,kBAAA,CACA,UAAA,CACA,WAAA,CAEA,yCACC,+BAAA,CAIF,kCACC,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,WAAA,CACA,YAAA,CAGD,kCACC,YAAA,CACA,UAAA,CAGD,kCACC,WAAA,CACA,YAAA,CACA,eAAA,CAEA,0CACC,UAAA,CACA,YAAA,CACA,6BAAA,CAGD,oDACC,iBAAA,CAKH,kCACC,YAAA",sourcesContent:['\n.avatar {\n\t&__container {\n\t\tmargin: 0 auto;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tgap: 16px 0;\n\t\twidth: 300px;\n\n\t\tspan {\n\t\t\tcolor: var(--color-text-lighter);\n\t\t}\n\t}\n\n\t&__preview {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: 180px;\n\t\theight: 180px;\n\t}\n\n\t&__buttons {\n\t\tdisplay: flex;\n\t\tgap: 0 10px;\n\t}\n\n\t&__cropper {\n\t\twidth: 300px;\n\t\theight: 300px;\n\t\toverflow: hidden;\n\n\t\t&-buttons {\n\t\t\twidth: 100%;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t}\n\n\t\t&::v-deep .cropper-view-box {\n\t\t\tborder-radius: 50%;\n\t\t}\n\t}\n}\n\ninput[type="file"] {\n\tdisplay: none;\n}\n'],sourceRoot:""}]),t.Z=o},49698:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".details[data-v-51f53b67]{display:flex;flex-direction:column;margin:10px 32px 10px 0;gap:16px 0;color:var(--color-text-lighter)}.details__groups[data-v-51f53b67],.details__quota[data-v-51f53b67]{display:flex;gap:0 10px}.details__groups-info[data-v-51f53b67],.details__quota-info[data-v-51f53b67]{display:flex;flex-direction:column;width:100%;gap:4px 0}.details__groups-list[data-v-51f53b67],.details__quota-list[data-v-51f53b67]{font-weight:bold}.details__groups[data-v-51f53b67] .material-design-icon,.details__quota[data-v-51f53b67] .material-design-icon{align-self:flex-start;margin-top:2px}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/DetailsSection.vue"],names:[],mappings:"AACA,0BACC,YAAA,CACA,qBAAA,CACA,uBAAA,CACA,UAAA,CACA,+BAAA,CAEA,mEAEC,YAAA,CACA,UAAA,CAEA,6EACC,YAAA,CACA,qBAAA,CACA,UAAA,CACA,SAAA,CAGD,6EACC,gBAAA,CAGD,+GACC,qBAAA,CACA,cAAA",sourcesContent:["\n.details {\n\tdisplay: flex;\n\tflex-direction: column;\n\tmargin: 10px 32px 10px 0;\n\tgap: 16px 0;\n\tcolor: var(--color-text-lighter);\n\n\t&__groups,\n\t&__quota {\n\t\tdisplay: flex;\n\t\tgap: 0 10px;\n\n\t\t&-info {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\twidth: 100%;\n\t\t\tgap: 4px 0;\n\t\t}\n\n\t\t&-list {\n\t\t\tfont-weight: bold;\n\t\t}\n\n\t\t&::v-deep .material-design-icon {\n\t\t\talign-self: flex-start;\n\t\t\tmargin-top: 2px;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},57247:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".email[data-v-0a5bc4a0]{display:grid;align-items:center}.email input[data-v-0a5bc4a0]{grid-area:1/1;width:100%}.email .email__actions-container[data-v-0a5bc4a0]{grid-area:1/1;justify-self:flex-end;height:30px;display:flex;gap:0 2px;margin-right:5px}.email .email__actions-container .email__actions[data-v-0a5bc4a0]{opacity:.4 !important}.email .email__actions-container .email__actions[data-v-0a5bc4a0]:hover,.email .email__actions-container .email__actions[data-v-0a5bc4a0]:focus,.email .email__actions-container .email__actions[data-v-0a5bc4a0]:active{opacity:.8 !important}.email .email__actions-container .email__actions[data-v-0a5bc4a0] button{height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important}.email__helper-text-message[data-v-0a5bc4a0]{padding:4px 0;display:flex;align-items:center}.email__helper-text-message__icon[data-v-0a5bc4a0]{margin-right:8px;align-self:start;margin-top:4px}.email__helper-text-message--error[data-v-0a5bc4a0]{color:var(--color-error)}.fade-enter[data-v-0a5bc4a0],.fade-leave-to[data-v-0a5bc4a0]{opacity:0}.fade-enter-active[data-v-0a5bc4a0]{transition:opacity 200ms ease-out}.fade-leave-active[data-v-0a5bc4a0]{transition:opacity 300ms ease-out}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/EmailSection/Email.vue"],names:[],mappings:"AACA,wBACC,YAAA,CACA,kBAAA,CAEA,8BACC,aAAA,CACA,UAAA,CAGD,kDACC,aAAA,CACA,qBAAA,CACA,WAAA,CAEA,YAAA,CACA,SAAA,CACA,gBAAA,CAEA,kEACC,qBAAA,CAEA,yNAGC,qBAAA,CAGD,yEACC,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA,CAKH,6CACC,aAAA,CACA,YAAA,CACA,kBAAA,CAEA,mDACC,gBAAA,CACA,gBAAA,CACA,cAAA,CAGD,oDACC,wBAAA,CAKH,6DAEC,SAAA,CAGD,oCACC,iCAAA,CAGD,oCACC,iCAAA",sourcesContent:["\n.email {\n\tdisplay: grid;\n\talign-items: center;\n\n\tinput {\n\t\tgrid-area: 1 / 1;\n\t\twidth: 100%;\n\t}\n\n\t.email__actions-container {\n\t\tgrid-area: 1 / 1;\n\t\tjustify-self: flex-end;\n\t\theight: 30px;\n\n\t\tdisplay: flex;\n\t\tgap: 0 2px;\n\t\tmargin-right: 5px;\n\n\t\t.email__actions {\n\t\t\topacity: 0.4 !important;\n\n\t\t\t&:hover,\n\t\t\t&:focus,\n\t\t\t&:active {\n\t\t\t\topacity: 0.8 !important;\n\t\t\t}\n\n\t\t\t&::v-deep button {\n\t\t\t\theight: 30px !important;\n\t\t\t\tmin-height: 30px !important;\n\t\t\t\twidth: 30px !important;\n\t\t\t\tmin-width: 30px !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__helper-text-message {\n\t\tpadding: 4px 0;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\n\t\t&__icon {\n\t\t\tmargin-right: 8px;\n\t\t\talign-self: start;\n\t\t\tmargin-top: 4px;\n\t\t}\n\n\t\t&--error {\n\t\t\tcolor: var(--color-error);\n\t\t}\n\t}\n}\n\n.fade-enter,\n.fade-leave-to {\n\topacity: 0;\n}\n\n.fade-enter-active {\n\ttransition: opacity 200ms ease-out;\n}\n\n.fade-leave-active {\n\ttransition: opacity 300ms ease-out;\n}\n"],sourceRoot:""}]),t.Z=o},43969:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,"section[data-v-46c7eb7e]{padding:10px 10px}section[data-v-46c7eb7e] button:disabled{cursor:default}section .additional-emails-label[data-v-46c7eb7e]{display:block;margin-top:16px}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/EmailSection/EmailSection.vue"],names:[],mappings:"AACA,yBACC,iBAAA,CAEA,yCACC,cAAA,CAGD,kDACC,aAAA,CACA,eAAA",sourcesContent:["\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n\n\t.additional-emails-label {\n\t\tdisplay: block;\n\t\tmargin-top: 16px;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},4779:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".language[data-v-5c847b3a]{display:grid}.language select[data-v-5c847b3a]{width:100%}.language a[data-v-5c847b3a]{color:var(--color-main-text);text-decoration:none;width:max-content}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/LanguageSection/Language.vue"],names:[],mappings:"AACA,2BACC,YAAA,CAEA,kCACC,UAAA,CAGD,6BACC,4BAAA,CACA,oBAAA,CACA,iBAAA",sourcesContent:["\n.language {\n\tdisplay: grid;\n\n\tselect {\n\t\twidth: 100%;\n\t}\n\n\ta {\n\t\tcolor: var(--color-main-text);\n\t\ttext-decoration: none;\n\t\twidth: max-content;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},92044:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,"section[data-v-92685b76]{padding:10px 10px}section[data-v-92685b76] button:disabled{cursor:default}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/LanguageSection/LanguageSection.vue"],names:[],mappings:"AACA,yBACC,iBAAA,CAEA,yCACC,cAAA",sourcesContent:["\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},99161:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".locale[data-v-a36e0118]{display:grid}.locale select[data-v-a36e0118]{width:100%}.example[data-v-a36e0118]{margin:10px 0;display:flex;gap:0 10px;color:var(--color-text-lighter)}.example[data-v-a36e0118] .material-design-icon{align-self:flex-start;margin-top:2px}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/LocaleSection/Locale.vue"],names:[],mappings:"AACA,yBACC,YAAA,CAEA,gCACC,UAAA,CAIF,0BACC,aAAA,CACA,YAAA,CACA,UAAA,CACA,+BAAA,CAEA,gDACC,qBAAA,CACA,cAAA",sourcesContent:["\n.locale {\n\tdisplay: grid;\n\n\tselect {\n\t\twidth: 100%;\n\t}\n}\n\n.example {\n\tmargin: 10px 0;\n\tdisplay: flex;\n\tgap: 0 10px;\n\tcolor: var(--color-text-lighter);\n\n\t&::v-deep .material-design-icon {\n\t\talign-self: flex-start;\n\t\tmargin-top: 2px;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},33296:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,"section[data-v-84fca724]{padding:10px 10px}section[data-v-84fca724] button:disabled{cursor:default}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/LocaleSection/LocaleSection.vue"],names:[],mappings:"AACA,yBACC,iBAAA,CAEA,yCACC,cAAA",sourcesContent:["\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},67873:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,"html{scroll-behavior:smooth}@media screen and (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/ProfileSection/EditProfileAnchorLink.vue"],names:[],mappings:"AACA,KACC,sBAAA,CAEA,mDAHD,KAIE,oBAAA,CAAA",sourcesContent:["\nhtml {\n\tscroll-behavior: smooth;\n\n\t@media screen and (prefers-reduced-motion: reduce) {\n\t\tscroll-behavior: auto;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},80686:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,"a[data-v-1950be88]{display:block;height:44px;width:290px;line-height:44px;padding:0 16px;margin:14px auto;border-radius:var(--border-radius-pill);opacity:.4;background-color:rgba(0,0,0,0)}a .anchor-icon[data-v-1950be88]{display:inline-block;vertical-align:middle;margin-top:6px;margin-right:8px}a[data-v-1950be88]:hover,a[data-v-1950be88]:focus,a[data-v-1950be88]:active{opacity:.8;background-color:rgba(127,127,127,.25)}a.disabled[data-v-1950be88]{pointer-events:none}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/ProfileSection/EditProfileAnchorLink.vue"],names:[],mappings:"AACA,mBACC,aAAA,CACA,WAAA,CACA,WAAA,CACA,gBAAA,CACA,cAAA,CACA,gBAAA,CACA,uCAAA,CACA,UAAA,CACA,8BAAA,CAEA,gCACC,oBAAA,CACA,qBAAA,CACA,cAAA,CACA,gBAAA,CAGD,4EAGC,UAAA,CACA,sCAAA,CAGD,4BACC,mBAAA",sourcesContent:["\na {\n\tdisplay: block;\n\theight: 44px;\n\twidth: 290px;\n\tline-height: 44px;\n\tpadding: 0 16px;\n\tmargin: 14px auto;\n\tborder-radius: var(--border-radius-pill);\n\topacity: 0.4;\n\tbackground-color: transparent;\n\n\t.anchor-icon {\n\t\tdisplay: inline-block;\n\t\tvertical-align: middle;\n\t\tmargin-top: 6px;\n\t\tmargin-right: 8px;\n\t}\n\n\t&:hover,\n\t&:focus,\n\t&:active {\n\t\topacity: 0.8;\n\t\tbackground-color: rgba(127, 127, 127, .25);\n\t}\n\n\t&.disabled {\n\t\tpointer-events: none;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},77180:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".preview-card[data-v-e1d38ee8]{display:flex;flex-direction:column;position:relative;width:290px;height:116px;margin:14px auto;border-radius:var(--border-radius-large);background-color:var(--color-main-background);font-weight:bold;box-shadow:0 2px 9px var(--color-box-shadow)}.preview-card[data-v-e1d38ee8]:hover,.preview-card[data-v-e1d38ee8]:focus,.preview-card[data-v-e1d38ee8]:active{box-shadow:0 2px 12px var(--color-box-shadow)}.preview-card[data-v-e1d38ee8]:focus-visible{outline:var(--color-main-text) solid 1px;outline-offset:3px}.preview-card.disabled[data-v-e1d38ee8]{filter:grayscale(1);opacity:.5;cursor:default;box-shadow:0 0 3px var(--color-box-shadow)}.preview-card.disabled *[data-v-e1d38ee8],.preview-card.disabled[data-v-e1d38ee8] *{cursor:default}.preview-card__avatar[data-v-e1d38ee8]{position:absolute !important;top:40px;left:18px;z-index:1}.preview-card__avatar[data-v-e1d38ee8]:not(.avatardiv--unknown){box-shadow:0 0 0 3px var(--color-main-background) !important}.preview-card__header[data-v-e1d38ee8],.preview-card__footer[data-v-e1d38ee8]{position:relative;width:auto}.preview-card__header span[data-v-e1d38ee8],.preview-card__footer span[data-v-e1d38ee8]{position:absolute;left:78px;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere}@supports(-webkit-line-clamp: 2){.preview-card__header span[data-v-e1d38ee8],.preview-card__footer span[data-v-e1d38ee8]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.preview-card__header[data-v-e1d38ee8]{height:70px;border-radius:var(--border-radius-large) var(--border-radius-large) 0 0;background-color:var(--color-primary);background-image:var(--gradient-primary-background)}.preview-card__header span[data-v-e1d38ee8]{bottom:0;color:var(--color-primary-text);font-size:18px;font-weight:bold;margin:0 4px 8px 0}.preview-card__footer[data-v-e1d38ee8]{height:46px}.preview-card__footer span[data-v-e1d38ee8]{top:0;color:var(--color-text-maxcontrast);font-size:14px;font-weight:normal;margin:4px 4px 0 0;line-height:1.3}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/ProfileSection/ProfilePreviewCard.vue"],names:[],mappings:"AACA,+BACC,YAAA,CACA,qBAAA,CACA,iBAAA,CACA,WAAA,CACA,YAAA,CACA,gBAAA,CACA,wCAAA,CACA,6CAAA,CACA,gBAAA,CACA,4CAAA,CAEA,gHAGC,6CAAA,CAGD,6CACC,wCAAA,CACA,kBAAA,CAGD,wCACC,mBAAA,CACA,UAAA,CACA,cAAA,CACA,0CAAA,CAEA,oFAEC,cAAA,CAIF,uCAEC,4BAAA,CACA,QAAA,CACA,SAAA,CACA,SAAA,CAEA,gEACC,4DAAA,CAIF,8EAEC,iBAAA,CACA,UAAA,CAEA,wFACC,iBAAA,CACA,SAAA,CACA,eAAA,CACA,sBAAA,CACA,sBAAA,CAEA,iCAPD,wFAQE,mBAAA,CACA,oBAAA,CACA,2BAAA,CAAA,CAKH,uCACC,WAAA,CACA,uEAAA,CACA,qCAAA,CACA,mDAAA,CAEA,4CACC,QAAA,CACA,+BAAA,CACA,cAAA,CACA,gBAAA,CACA,kBAAA,CAIF,uCACC,WAAA,CAEA,4CACC,KAAA,CACA,mCAAA,CACA,cAAA,CACA,kBAAA,CACA,kBAAA,CACA,eAAA",sourcesContent:["\n.preview-card {\n\tdisplay: flex;\n\tflex-direction: column;\n\tposition: relative;\n\twidth: 290px;\n\theight: 116px;\n\tmargin: 14px auto;\n\tborder-radius: var(--border-radius-large);\n\tbackground-color: var(--color-main-background);\n\tfont-weight: bold;\n\tbox-shadow: 0 2px 9px var(--color-box-shadow);\n\n\t&:hover,\n\t&:focus,\n\t&:active {\n\t\tbox-shadow: 0 2px 12px var(--color-box-shadow);\n\t}\n\n\t&:focus-visible {\n\t\toutline: var(--color-main-text) solid 1px;\n\t\toutline-offset: 3px;\n\t}\n\n\t&.disabled {\n\t\tfilter: grayscale(1);\n\t\topacity: 0.5;\n\t\tcursor: default;\n\t\tbox-shadow: 0 0 3px var(--color-box-shadow);\n\n\t\t& *,\n\t\t&::v-deep * {\n\t\t\tcursor: default;\n\t\t}\n\t}\n\n\t&__avatar {\n\t\t// Override Avatar component position to fix positioning on rerender\n\t\tposition: absolute !important;\n\t\ttop: 40px;\n\t\tleft: 18px;\n\t\tz-index: 1;\n\n\t\t&:not(.avatardiv--unknown) {\n\t\t\tbox-shadow: 0 0 0 3px var(--color-main-background) !important;\n\t\t}\n\t}\n\n\t&__header,\n\t&__footer {\n\t\tposition: relative;\n\t\twidth: auto;\n\n\t\tspan {\n\t\t\tposition: absolute;\n\t\t\tleft: 78px;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow-wrap: anywhere;\n\n\t\t\t@supports (-webkit-line-clamp: 2) {\n\t\t\t\tdisplay: -webkit-box;\n\t\t\t\t-webkit-line-clamp: 2;\n\t\t\t\t-webkit-box-orient: vertical;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__header {\n\t\theight: 70px;\n\t\tborder-radius: var(--border-radius-large) var(--border-radius-large) 0 0;\n\t\tbackground-color: var(--color-primary);\n\t\tbackground-image: var(--gradient-primary-background);\n\n\t\tspan {\n\t\t\tbottom: 0;\n\t\t\tcolor: var(--color-primary-text);\n\t\t\tfont-size: 18px;\n\t\t\tfont-weight: bold;\n\t\t\tmargin: 0 4px 8px 0;\n\t\t}\n\t}\n\n\t&__footer {\n\t\theight: 46px;\n\n\t\tspan {\n\t\t\ttop: 0;\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t\tfont-size: 14px;\n\t\t\tfont-weight: normal;\n\t\t\tmargin: 4px 4px 0 0;\n\t\t\tline-height: 1.3;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},72008:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,"section[data-v-cf64d964]{padding:10px 10px}section[data-v-cf64d964] button:disabled{cursor:default}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/ProfileSection/ProfileSection.vue"],names:[],mappings:"AACA,yBACC,iBAAA,CAEA,yCACC,cAAA",sourcesContent:["\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},20797:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,"section[data-v-00cfb5f8]{padding:30px;max-width:100vw}section em[data-v-00cfb5f8]{display:block;margin:16px 0}section em.disabled[data-v-00cfb5f8]{filter:grayscale(1);opacity:.5;cursor:default;pointer-events:none}section em.disabled *[data-v-00cfb5f8],section em.disabled[data-v-00cfb5f8] *{cursor:default;pointer-events:none}section .visibility-dropdowns[data-v-00cfb5f8]{display:grid;gap:10px 40px}@media(min-width: 1200px){section[data-v-00cfb5f8]{width:940px}section .visibility-dropdowns[data-v-00cfb5f8]{grid-auto-flow:column}}@media(max-width: 1200px){section[data-v-00cfb5f8]{width:470px}}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue"],names:[],mappings:"AACA,yBACC,YAAA,CACA,eAAA,CAEA,4BACC,aAAA,CACA,aAAA,CAEA,qCACC,mBAAA,CACA,UAAA,CACA,cAAA,CACA,mBAAA,CAEA,8EAEC,cAAA,CACA,mBAAA,CAKH,+CACC,YAAA,CACA,aAAA,CAGD,0BA3BD,yBA4BE,WAAA,CAEA,+CACC,qBAAA,CAAA,CAIF,0BAnCD,yBAoCE,WAAA,CAAA",sourcesContent:["\nsection {\n\tpadding: 30px;\n\tmax-width: 100vw;\n\n\tem {\n\t\tdisplay: block;\n\t\tmargin: 16px 0;\n\n\t\t&.disabled {\n\t\t\tfilter: grayscale(1);\n\t\t\topacity: 0.5;\n\t\t\tcursor: default;\n\t\t\tpointer-events: none;\n\n\t\t\t& *,\n\t\t\t&::v-deep * {\n\t\t\t\tcursor: default;\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t.visibility-dropdowns {\n\t\tdisplay: grid;\n\t\tgap: 10px 40px;\n\t}\n\n\t@media (min-width: 1200px) {\n\t\twidth: 940px;\n\n\t\t.visibility-dropdowns {\n\t\t\tgrid-auto-flow: column;\n\t\t}\n\t}\n\n\t@media (max-width: 1200px) {\n\t\twidth: 470px;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},72153:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".visibility-container[data-v-b13d20da]{display:flex;width:max-content}.visibility-container.disabled[data-v-b13d20da]{filter:grayscale(1);opacity:.5;cursor:default;pointer-events:none}.visibility-container.disabled *[data-v-b13d20da],.visibility-container.disabled[data-v-b13d20da] *{cursor:default;pointer-events:none}.visibility-container label[data-v-b13d20da]{color:var(--color-text-lighter);width:150px;line-height:50px}.visibility-container__select[data-v-b13d20da]{width:270px;max-width:40vw}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/VisibilityDropdown.vue"],names:[],mappings:"AACA,uCACC,YAAA,CACA,iBAAA,CAEA,gDACC,mBAAA,CACA,UAAA,CACA,cAAA,CACA,mBAAA,CAEA,oGAEC,cAAA,CACA,mBAAA,CAIF,6CACC,+BAAA,CACA,WAAA,CACA,gBAAA,CAGD,+CACC,WAAA,CACA,cAAA",sourcesContent:["\n.visibility-container {\n\tdisplay: flex;\n\twidth: max-content;\n\n\t&.disabled {\n\t\tfilter: grayscale(1);\n\t\topacity: 0.5;\n\t\tcursor: default;\n\t\tpointer-events: none;\n\n\t\t& *,\n\t\t&::v-deep * {\n\t\t\tcursor: default;\n\t\t\tpointer-events: none;\n\t\t}\n\t}\n\n\tlabel {\n\t\tcolor: var(--color-text-lighter);\n\t\twidth: 150px;\n\t\tline-height: 50px;\n\t}\n\n\t&__select {\n\t\twidth: 270px;\n\t\tmax-width: 40vw;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},8400:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,"section[data-v-40e22960]{padding:10px 10px}section[data-v-40e22960] button:disabled{cursor:default}section .property[data-v-40e22960]{display:grid;align-items:center}section .property textarea[data-v-40e22960]{resize:vertical;grid-area:1/1;width:100%}section .property input[data-v-40e22960]{grid-area:1/1;width:100%}section .property .property__actions-container[data-v-40e22960]{grid-area:1/1;justify-self:flex-end;align-self:flex-end;height:30px;display:flex;gap:0 2px;margin-right:5px;margin-bottom:5px}section .property__helper-text-message[data-v-40e22960]{padding:4px 0;display:flex;align-items:center}section .property__helper-text-message__icon[data-v-40e22960]{margin-right:8px;align-self:start;margin-top:4px}section .property__helper-text-message--error[data-v-40e22960]{color:var(--color-error)}section .fade-enter[data-v-40e22960],section .fade-leave-to[data-v-40e22960]{opacity:0}section .fade-enter-active[data-v-40e22960]{transition:opacity 200ms ease-out}section .fade-leave-active[data-v-40e22960]{transition:opacity 300ms ease-out}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue"],names:[],mappings:"AACA,yBACC,iBAAA,CAEA,yCACC,cAAA,CAGD,mCACC,YAAA,CACA,kBAAA,CAEA,4CACC,eAAA,CACA,aAAA,CACA,UAAA,CAGD,yCACC,aAAA,CACA,UAAA,CAGD,gEACC,aAAA,CACA,qBAAA,CACA,mBAAA,CACA,WAAA,CAEA,YAAA,CACA,SAAA,CACA,gBAAA,CACA,iBAAA,CAIF,wDACC,aAAA,CACA,YAAA,CACA,kBAAA,CAEA,8DACC,gBAAA,CACA,gBAAA,CACA,cAAA,CAGD,+DACC,wBAAA,CAIF,6EAEC,SAAA,CAGD,4CACC,iCAAA,CAGD,4CACC,iCAAA",sourcesContent:["\nsection {\n\tpadding: 10px 10px;\n\n\t&::v-deep button:disabled {\n\t\tcursor: default;\n\t}\n\n\t.property {\n\t\tdisplay: grid;\n\t\talign-items: center;\n\n\t\ttextarea {\n\t\t\tresize: vertical;\n\t\t\tgrid-area: 1 / 1;\n\t\t\twidth: 100%;\n\t\t}\n\n\t\tinput {\n\t\t\tgrid-area: 1 / 1;\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t.property__actions-container {\n\t\t\tgrid-area: 1 / 1;\n\t\t\tjustify-self: flex-end;\n\t\t\talign-self: flex-end;\n\t\t\theight: 30px;\n\n\t\t\tdisplay: flex;\n\t\t\tgap: 0 2px;\n\t\t\tmargin-right: 5px;\n\t\t\tmargin-bottom: 5px;\n\t\t}\n\t}\n\n\t.property__helper-text-message {\n\t\tpadding: 4px 0;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\n\t\t&__icon {\n\t\t\tmargin-right: 8px;\n\t\t\talign-self: start;\n\t\t\tmargin-top: 4px;\n\t\t}\n\n\t\t&--error {\n\t\t\tcolor: var(--color-error);\n\t\t}\n\t}\n\n\t.fade-enter,\n\t.fade-leave-to {\n\t\topacity: 0;\n\t}\n\n\t.fade-enter-active {\n\t\ttransition: opacity 200ms ease-out;\n\t}\n\n\t.fade-leave-active {\n\t\ttransition: opacity 300ms ease-out;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},68032:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".federation-actions[data-v-2d64b46e],.federation-actions--additional[data-v-2d64b46e]{opacity:.4 !important}.federation-actions[data-v-2d64b46e]:hover,.federation-actions[data-v-2d64b46e]:focus,.federation-actions[data-v-2d64b46e]:active,.federation-actions--additional[data-v-2d64b46e]:hover,.federation-actions--additional[data-v-2d64b46e]:focus,.federation-actions--additional[data-v-2d64b46e]:active{opacity:.8 !important}.federation-actions--additional[data-v-2d64b46e] button{padding-bottom:7px;height:30px !important;min-height:30px !important;width:30px !important;min-width:30px !important}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/FederationControl.vue"],names:[],mappings:"AACA,sFAEC,qBAAA,CAEA,wSAGC,qBAAA,CAKD,wDAEC,kBAAA,CACA,sBAAA,CACA,0BAAA,CACA,qBAAA,CACA,yBAAA",sourcesContent:["\n.federation-actions,\n.federation-actions--additional {\n\topacity: 0.4 !important;\n\n\t&:hover,\n\t&:focus,\n\t&:active {\n\t\topacity: 0.8 !important;\n\t}\n}\n\n.federation-actions--additional {\n\t&::v-deep button {\n\t\t// TODO remove this hack\n\t\tpadding-bottom: 7px;\n\t\theight: 30px !important;\n\t\tmin-height: 30px !important;\n\t\twidth: 30px !important;\n\t\tmin-width: 30px !important;\n\t}\n}\n"],sourceRoot:""}]),t.Z=o},82404:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".federation-actions__btn[data-v-1249785e] p{width:150px !important;padding:8px 0 !important;color:var(--color-main-text) !important;font-size:12.8px !important;line-height:1.5em !important}.federation-actions__btn--active[data-v-1249785e]{background-color:var(--color-primary-light) !important;box-shadow:inset 2px 0 var(--color-primary) !important}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/FederationControlAction.vue"],names:[],mappings:"AAEC,4CACC,sBAAA,CACA,wBAAA,CACA,uCAAA,CACA,2BAAA,CACA,4BAAA,CAIF,kDACC,sDAAA,CACA,sDAAA",sourcesContent:["\n.federation-actions__btn {\n\t&::v-deep p {\n\t\twidth: 150px !important;\n\t\tpadding: 8px 0 !important;\n\t\tcolor: var(--color-main-text) !important;\n\t\tfont-size: 12.8px !important;\n\t\tline-height: 1.5em !important;\n\t}\n}\n\n.federation-actions__btn--active {\n\tbackground-color: var(--color-primary-light) !important;\n\tbox-shadow: inset 2px 0 var(--color-primary) !important;\n}\n"],sourceRoot:""}]),t.Z=o},44891:function(e,t,n){"use strict";var a=n(87537),r=n.n(a),i=n(23645),o=n.n(i)()(r());o.push([e.id,".headerbar-label[data-v-c098207e]{font-weight:normal;display:inline-flex;width:100%;margin:12px 0 0 0;gap:8px;align-items:center;font-size:16px;color:var(--color-text-light)}.headerbar-label.profile-property[data-v-c098207e]{height:38px}.headerbar-label.setting-property[data-v-c098207e]{height:44px}.headerbar-label label[data-v-c098207e]{cursor:pointer}.federation-control[data-v-c098207e]{margin:0}.button-vue[data-v-c098207e]{margin:0 0 0 auto !important}","",{version:3,sources:["webpack://./apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue"],names:[],mappings:"AACA,kCACC,kBAAA,CACA,mBAAA,CACA,UAAA,CACA,iBAAA,CACA,OAAA,CACA,kBAAA,CACA,cAAA,CACA,6BAAA,CAEA,mDACC,WAAA,CAGD,mDACC,WAAA,CAGD,wCACC,cAAA,CAIF,qCACC,QAAA,CAGD,6BACC,4BAAA",sourcesContent:["\n.headerbar-label {\n\tfont-weight: normal;\n\tdisplay: inline-flex;\n\twidth: 100%;\n\tmargin: 12px 0 0 0;\n\tgap: 8px;\n\talign-items: center;\n\tfont-size: 16px;\n\tcolor: var(--color-text-light);\n\n\t&.profile-property {\n\t\theight: 38px;\n\t}\n\n\t&.setting-property {\n\t\theight: 44px;\n\t}\n\n\tlabel {\n\t\tcursor: pointer;\n\t}\n}\n\n.federation-control {\n\tmargin: 0;\n}\n\n.button-vue {\n\tmargin: 0 0 0 auto !important;\n}\n"],sourceRoot:""}]),t.Z=o},46700:function(e,t,n){var a={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=i,e.exports=r,r.id=46700},8738:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC"},81490:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6Ii8+Cjwvc3ZnPgo="},90888:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6IiBzdHlsZT0iZmlsbC1vcGFjaXR5OjE7ZmlsbDojZmZmZmZmIi8+Cjwvc3ZnPgo="}},a={};function r(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.m=n,r.amdD=function(){throw new Error("define cannot be used indirect")},r.amdO={},e=[],r.O=function(t,n,a,i){if(!n){var o=1/0;for(u=0;u<e.length;u++){n=e[u][0],a=e[u][1],i=e[u][2];for(var s=!0,l=0;l<n.length;l++)(!1&i||o>=i)&&Object.keys(r.O).every((function(e){return r.O[e](n[l])}))?n.splice(l--,1):(s=!1,i<o&&(o=i));if(s){e.splice(u--,1);var c=a();void 0!==c&&(t=c)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,a,i]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},r.j=4418,function(){r.b=document.baseURI||self.location.href;var e={4418:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var a,i,o=n[0],s=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(a in s)r.o(s,a)&&(r.m[a]=s[a]);if(l)var u=l(r)}for(t&&t(n);c<o.length;c++)i=o[c],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(u)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),r.nc=void 0;var i=r.O(void 0,[7874],(function(){return r(85655)}));i=r.O(i)}();
  3. //# sourceMappingURL=settings-vue-settings-personal-info.js.map?v=7ec6653676ab870e754b