"use strict";(self["webpackChunk_zoom_client_email_desktop"]=self["webpackChunk_zoom_client_email_desktop"]||[]).push([[464],{96464:function(e,t,n){n.r(t),n.d(t,{default:function(){return p}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"expiration-alert-container"},[t("zm-alert",{directives:[{name:"show",rawName:"v-show",value:e.showExpirationBanner,expression:"showExpirationBanner"}],class:["alert",{"alert-subitems":e.hasComposeSubItems}],attrs:{center:""},on:{close:e.emitClosed}},[t("div",{staticClass:"alert-body"},[t("svg-icon",{staticClass:"alert-icon",attrs:{iconClass:"locked-outlined"}}),t("div",{staticClass:"alert-body-content"},[e._v(" "+e._s(e.$t("editor.expirationBanner",[e.getExpDate(e.expirationSeconds)]))+" "),t("zm-button",{attrs:{type:"link"},on:{click:function(t){return t.preventDefault(),e.emitEdit.apply(null,arguments)}}},[e._v(" "+e._s(e.$t("operation.edit"))+" ")])],1)],1)])],1)},o=[],s=n(34948),a=n(20629),r={name:"ExpirationBanner",props:{showExpirationBanner:{type:Boolean,default:!1},expirationSeconds:{type:Number,default:2592e3},hasComposeSubItems:{type:Boolean,default:!1}},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(e){return e.userProfile.userTimeZone}})),methods:{getExpDate:function(e){return this.durationOptions[e]},emitEdit:function(){this.$emit("edit")},emitClosed:function(){this.$emit("closed")}}},l=r,u=n(93483),c=(0,u.Z)(l,i,o,!1,null,"2e5e75ec",null),p=c.exports}}]);