"use strict";(self["webpackChunk_zoom_client_email_desktop"]=self["webpackChunk_zoom_client_email_desktop"]||[]).push([[430],{78430:function(t,e,i){i.r(e),i.d(e,{default:function(){return u}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"expiration-alert-container"},[e("zm-alert",{directives:[{name:"show",rawName:"v-show",value:t.showExpirationBanner,expression:"showExpirationBanner"}],staticClass:"alert",attrs:{center:""},on:{close:t.emitClosed}},[e("div",{staticClass:"alert-body"},[e("svg-icon",{staticClass:"alert-icon",attrs:{"aria-hidden":!0,iconClass:"locked-outlined"}}),e("div",{staticClass:"alert-body-content"},[t._v(" "+t._s(t.$t("editor.expirationBanner",[t.getExpDate(t.expirationSeconds)]))+" "),e("zm-button",{staticClass:"edit-button",attrs:{"aria-label":t.$t("accessibility.editPasswordProtection"),type:"link",tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.emitEdit.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("operation.edit"))+" ")])],1)],1)])],1)},o=[],s=i(34948),a=i(29648),r={name:"ExpirationBanner",props:{showExpirationBanner:{type:Boolean,default:!1},expirationSeconds:{type:Number,default:2592e3}},data:function(){return{durationOptions:{86400:this.$t("time.oneDay"),604800:this.$t("time.oneWeek"),2592e3:this.$t("time.oneMonth")}}},computed:(0,s.Z)({},(0,a.rn)({userTimeZone:function(t){return t.userProfile.userTimeZone}})),methods:{getExpDate:function(t){return this.durationOptions[t]},emitEdit:function(){this.$emit("edit"),this.$metric.report("edit_password_protection")},emitClosed:function(){this.$emit("closed"),this.$metric.report("remove_password_protection")}}},l=r,c=i(93483),d=(0,c.Z)(l,n,o,!1,null,"ef35a036",null),u=d.exports}}]);