"use strict";(self.webpackChunk_bitwarden_web_vault=self.webpackChunk_bitwarden_web_vault||[]).push([[979],{78650(e,t,n){n.d(t,{D:()=>U});var i=n(64447),s=n(14041),o=n(46758),a=n(54471),r=n(57178),c=n(88832),l=n(38410),u=n(22466),p=n(36572),d=n(58806),b=n(25740);const h=e=>({"text-strike":e});function f(e,t){1&e&&(s.j41(0,"p",5),s.EFF(1),s.nI1(2,"i18n"),s.k0s()),2&e&&(s.R7$(),s.SpI(" ",s.bMT(2,1,"noUnpaidInvoices")," "))}function m(e,t){1&e&&(s.j41(0,"span"),s.nrm(1,"i",13),s.EFF(2),s.nI1(3,"i18n"),s.k0s()),2&e&&(s.R7$(2),s.SpI(" ",s.bMT(3,1,"paid")," "))}function v(e,t){1&e&&(s.j41(0,"span"),s.nrm(1,"i",14),s.EFF(2),s.nI1(3,"i18n"),s.k0s()),2&e&&(s.R7$(2),s.SpI(" ",s.bMT(3,1,"unpaid")," "))}function g(e,t){if(1&e&&(s.j41(0,"tr",7)(1,"td",8),s.EFF(2),s.nI1(3,"date"),s.k0s(),s.j41(4,"td",8)(5,"a",9),s.nI1(6,"i18n"),s.nrm(7,"i",10),s.k0s(),s.j41(8,"a",11),s.nI1(9,"i18n"),s.EFF(10),s.nI1(11,"i18n"),s.k0s()(),s.j41(12,"td",8),s.EFF(13),s.nI1(14,"currency"),s.k0s(),s.j41(15,"td",12),s.DNE(16,m,4,3,"span",3)(17,v,4,3,"span",3),s.k0s()()),2&e){const e=t.$implicit;s.R7$(2),s.JRh(s.i5U(3,13,e.date,"mediumDate")),s.R7$(3),s.Y8G("href",s.mNQ(e.pdfUrl),s.B4B)("appA11yTitle",s.mNQ(s.bMT(6,16,"downloadInvoice"))),s.R7$(3),s.Y8G("href",s.mNQ(e.url),s.B4B)("title",s.mNQ(s.bMT(9,18,"viewInvoice"))),s.R7$(2),s.SpI(" ",s.i5U(11,20,"invoiceNumber",e.number)),s.R7$(3),s.JRh(s.i5U(14,23,e.amount,"$")),s.R7$(3),s.Y8G("ngIf",e.paid),s.R7$(),s.Y8G("ngIf",!e.paid)}}function F(e,t){if(1&e&&s.DNE(0,g,18,26,"tr",6),2&e){const e=s.XpG();s.Y8G("ngForOf",e.openInvoices)}}function I(e,t){1&e&&(s.j41(0,"p",5),s.EFF(1),s.nI1(2,"i18n"),s.k0s()),2&e&&(s.R7$(),s.SpI(" ",s.bMT(2,1,"noPaidInvoices")," "))}function y(e,t){1&e&&(s.j41(0,"span"),s.nrm(1,"i",13),s.EFF(2),s.nI1(3,"i18n"),s.k0s()),2&e&&(s.R7$(2),s.SpI(" ",s.bMT(3,1,"paid")," "))}function R(e,t){1&e&&(s.j41(0,"span"),s.nrm(1,"i",14),s.EFF(2),s.nI1(3,"i18n"),s.k0s()),2&e&&(s.R7$(2),s.SpI(" ",s.bMT(3,1,"unpaid")," "))}function S(e,t){if(1&e&&(s.j41(0,"tr",7)(1,"td",8),s.EFF(2),s.nI1(3,"date"),s.k0s(),s.j41(4,"td",8)(5,"a",9),s.nI1(6,"i18n"),s.nrm(7,"i",10),s.k0s(),s.j41(8,"a",11),s.nI1(9,"i18n"),s.EFF(10),s.nI1(11,"i18n"),s.k0s()(),s.j41(12,"td",8),s.EFF(13),s.nI1(14,"currency"),s.k0s(),s.j41(15,"td",12),s.DNE(16,y,4,3,"span",3)(17,R,4,3,"span",3),s.k0s()()),2&e){const e=t.$implicit;s.R7$(2),s.JRh(s.i5U(3,13,e.date,"mediumDate")),s.R7$(3),s.Y8G("href",s.mNQ(e.pdfUrl),s.B4B)("appA11yTitle",s.mNQ(s.bMT(6,16,"downloadInvoice"))),s.R7$(3),s.Y8G("href",s.mNQ(e.url),s.B4B)("title",s.mNQ(s.bMT(9,18,"viewInvoice"))),s.R7$(2),s.SpI(" ",s.i5U(11,20,"invoiceNumber",e.number)),s.R7$(3),s.JRh(s.i5U(14,23,e.amount,"$")),s.R7$(3),s.Y8G("ngIf",e.paid),s.R7$(),s.Y8G("ngIf",!e.paid)}}function k(e,t){if(1&e&&s.DNE(0,S,18,26,"tr",6),2&e){const e=s.XpG();s.Y8G("ngForOf",e.paidInvoices)}}function T(e,t){1&e&&(s.j41(0,"p",5),s.EFF(1),s.nI1(2,"i18n"),s.k0s()),2&e&&(s.R7$(),s.SpI(" ",s.bMT(2,1,"noTransactions")," "))}function w(e,t){1&e&&(s.j41(0,"span"),s.EFF(1),s.nI1(2,"i18n"),s.k0s()),2&e&&(s.R7$(),s.SpI(" ",s.bMT(2,1,"chargeNoun")," "))}function $(e,t){1&e&&(s.j41(0,"span"),s.EFF(1),s.nI1(2,"i18n"),s.k0s()),2&e&&(s.R7$(),s.JRh(s.bMT(2,1,"refundNoun")))}function E(e,t){if(1&e&&s.nrm(0,"i",17),2&e){const e=s.XpG().$implicit,t=s.XpG(3);s.Y8G("ngClass",t.paymentMethodClasses(e.paymentMethodType))}}function j(e,t){if(1&e&&(s.j41(0,"tr",7)(1,"td",8),s.EFF(2),s.nI1(3,"date"),s.k0s(),s.j41(4,"td",8),s.DNE(5,w,3,3,"span",3)(6,$,3,3,"span",3),s.k0s(),s.j41(7,"td",8),s.DNE(8,E,1,1,"i",15),s.EFF(9),s.k0s(),s.j41(10,"td",16),s.nI1(11,"i18n"),s.EFF(12),s.nI1(13,"currency"),s.k0s()()),2&e){const e=t.$implicit,n=s.XpG(3);s.R7$(2),s.JRh(s.i5U(3,9,e.createdDate,"mediumDate")),s.R7$(3),s.Y8G("ngIf",e.type===n.transactionType.Charge||e.type===n.transactionType.Credit),s.R7$(),s.Y8G("ngIf",e.type===n.transactionType.Refund),s.R7$(2),s.Y8G("ngIf",e.paymentMethodType),s.R7$(),s.SpI(" ",e.details," "),s.R7$(),s.Y8G("title",s.mNQ(s.bMT(11,12,e.refunded?"refunded":"")))("ngClass",s.eq3(17,h,e.refunded)),s.R7$(2),s.SpI(" ",s.i5U(13,14,e.amount,"$")," ")}}function G(e,t){if(1&e&&s.DNE(0,j,14,19,"tr",6),2&e){const e=s.XpG(2);s.Y8G("ngForOf",e.transactions)}}function M(e,t){1&e&&(s.j41(0,"bit-table"),s.DNE(1,G,1,1,"ng-template",2),s.k0s())}class U{constructor(){this.paymentMethodType=i.eq,this.transactionType=i.D_}paymentMethodClasses(e){switch(e){case i.eq.Card:return["bwi-credit-card"];case i.eq.BankAccount:case i.eq.WireTransfer:return["bwi-billing"];case i.eq.BitPay:return["bwi-bitcoin text-warning"];case i.eq.PayPal:return["bwi-paypal text-primary"];default:return[]}}}U.ɵfac=function(e){return new(e||U)},U.ɵcmp=s.VBU({type:U,selectors:[["app-billing-history"]],inputs:{openInvoices:"openInvoices",paidInvoices:"paidInvoices",transactions:"transactions"},standalone:!1,decls:25,vars:23,consts:[["bitTypography","h3"],["bitTypography","body1",4,"ngIf"],["body",""],[4,"ngIf"],[1,"tw-text-muted"],["bitTypography","body1"],["bitRow","",4,"ngFor","ngForOf"],["bitRow",""],["bitCell",""],["target","_blank","rel","noreferrer",1,"tw-mr-2",3,"href","appA11yTitle"],["aria-hidden","true",1,"bwi","bwi-file-text"],["bitLink","","target","_blank","rel","noreferrer",3,"href","title"],["bitCell","",1,"tw-w-28"],["aria-hidden","true",1,"bwi","bwi-check","tw-text-success"],["aria-hidden","true",1,"bwi","bwi-error","tw-text-muted"],["class","bwi bwi-fw","aria-hidden","true",3,"ngClass",4,"ngIf"],["bitCell","",3,"ngClass","title"],["aria-hidden","true",1,"bwi","bwi-fw",3,"ngClass"]],template:function(e,t){1&e&&(s.j41(0,"bit-section")(1,"h3",0),s.EFF(2),s.nI1(3,"i18n"),s.nI1(4,"i18n"),s.k0s(),s.DNE(5,f,3,3,"p",1),s.j41(6,"bit-table"),s.DNE(7,F,1,1,"ng-template",2),s.k0s()(),s.j41(8,"bit-section")(9,"h3",0),s.EFF(10),s.nI1(11,"i18n"),s.nI1(12,"i18n"),s.k0s(),s.DNE(13,I,3,3,"p",1),s.j41(14,"bit-table"),s.DNE(15,k,1,1,"ng-template",2),s.k0s()(),s.j41(16,"bit-section")(17,"h3",0),s.EFF(18),s.nI1(19,"i18n"),s.k0s(),s.DNE(20,T,3,3,"p",1)(21,M,2,0,"bit-table",3),s.j41(22,"small",4),s.EFF(23),s.nI1(24,"i18n"),s.k0s()()),2&e&&(s.R7$(2),s.Lme("",s.bMT(3,10,"unpaid")," ",s.bMT(4,12,"invoices")),s.R7$(3),s.Y8G("ngIf",!t.openInvoices||!t.openInvoices.length),s.R7$(5),s.Lme("",s.bMT(11,14,"paid")," ",s.bMT(12,16,"invoices")),s.R7$(3),s.Y8G("ngIf",!t.paidInvoices||!t.paidInvoices.length),s.R7$(5),s.JRh(s.bMT(19,18,"transactions")),s.R7$(2),s.Y8G("ngIf",!t.transactions||!t.transactions.length),s.R7$(),s.Y8G("ngIf",t.transactions&&t.transactions.length),s.R7$(2),s.SpI("* ",s.i5U(24,20,"chargesStatement","BITWARDEN")))},dependencies:[o.YU,o.Sq,o.bT,a.C,r.g,c.n,l.Q,u.Y,p._,p.O,d.r,o.oe,o.vh,b.$],encapsulation:2})},97062(e,t,n){n.d(t,{GM:()=>N,vD:()=>x});var i=n(84210),s=n(64447),o=n(68104),a=n(88744),r=n(14041),c=n(69855),l=n(44075),u=n(48180),p=n(50700),d=n(37115),b=n(46758),h=n(26657),f=n(38620),m=n(56898),v=n(7730),g=n(45635),F=n(67311),I=n(86226),y=n(93199),R=n(42016),S=n(19934),k=n(43759),T=n(24374),w=n(25740),$=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function a(e){try{c(i.next(e))}catch(t){o(t)}}function r(e){try{c(i.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,r)}c((i=i.apply(e,t||[])).next())})};const E=(e,t)=>t.value;function j(e,t){if(1&e&&(r.j41(0,"bit-hint"),r.EFF(1),r.nI1(2,"i18n"),r.k0s()),2&e){const e=r.XpG().$implicit;r.R7$(),r.JRh(r.bMT(2,1,e.hintKey))}}function G(e,t){if(1&e&&(r.j41(0,"bit-radio-button",8)(1,"bit-label"),r.EFF(2),r.nI1(3,"i18n"),r.k0s(),r.nVh(4,j,3,3,"bit-hint"),r.k0s()),2&e){const e=t.$implicit;r.Y8G("value",e.value),r.R7$(2),r.JRh(r.bMT(3,3,e.labelKey)),r.R7$(2),r.vxM(e.hintKey?4:-1)}}function M(e,t){if(1&e&&(r.j41(0,"bit-radio-group",3)(1,"bit-label"),r.EFF(2),r.nI1(3,"i18n"),r.k0s(),r.Z7z(4,G,5,5,"bit-radio-button",8,E),r.k0s()),2&e){const e=r.XpG();r.Y8G("block",!0),r.R7$(2),r.SpI(" ",r.bMT(3,2,"selectCancellationReason")," "),r.R7$(2),r.Dyx(e.businessReasons)}}function U(e,t){if(1&e&&(r.j41(0,"option",11),r.EFF(1),r.k0s()),2&e){const e=t.$implicit;r.Y8G("ngValue",e.value),r.R7$(),r.SpI(" ",e.text," ")}}function C(e,t){if(1&e&&(r.j41(0,"bit-form-field")(1,"bit-label"),r.EFF(2),r.nI1(3,"i18n"),r.k0s(),r.j41(4,"select",9),r.DNE(5,U,2,2,"option",10),r.k0s()()),2&e){const e=r.XpG();r.R7$(2),r.SpI(" ",r.bMT(3,2,"selectCancellationReason")," "),r.R7$(3),r.Y8G("ngForOf",e.reasons)}}var x;!function(e){e.Closed="closed",e.Submitted="submitted"}(x||(x={}));const N=(e,t)=>e.open(B,t);class B{constructor(e,t,n,s,o,a,r){this.dialogParams=e,this.dialogRef=t,this.formBuilder=n,this.billingApiService=s,this.i18nService=o,this.platformUtilsService=a,this.toastService=r,this.ResultType=x,this.MaxFeedbackLength=400,this.reasons=[],this.businessReasons=[{value:"missing_features",labelKey:"cancelSurveyMissingFeaturesLabel",hintKey:"cancelSurveyMissingFeaturesHint"},{value:"switched_service",labelKey:"cancelSurveyTooComplexLabel",hintKey:"cancelSurveyTooComplexHint"},{value:"too_complex",labelKey:"cancelSurveyNotEnoughValueLabel",hintKey:"cancelSurveyNotEnoughValueHint"},{value:"unused",labelKey:"cancelSurveyNotEnoughUsageLabel",hintKey:"cancelSurveyNotEnoughUsageHint"},{value:"too_expensive",labelKey:"cancelSurveyNeedsChangedLabel",hintKey:"cancelSurveyNeedsChangedHint"},{value:"other",labelKey:"other",hintKey:null}],this.formGroup=this.formBuilder.group({reason:[null,[i.k0.required]],feedback:["",[i.k0.maxLength(this.MaxFeedbackLength)]]}),this.submit=()=>$(this,void 0,void 0,function*(){if(this.formGroup.markAllAsTouched(),this.formGroup.invalid)return;const e={reason:this.formGroup.value.reason,feedback:this.formGroup.value.feedback};"Organization"===this.dialogParams.type?yield this.billingApiService.cancelOrganizationSubscription(this.dialogParams.id,e):yield this.billingApiService.cancelPremiumUserSubscription(e),this.toastService.showToast({variant:"success",title:null,message:this.i18nService.t("canceledSubscription")}),yield this.dialogRef.close(this.ResultType.Submitted)}),this.isBusiness=this.isBusinessPlan(),this.reasons=[{value:null,text:this.i18nService.t("selectPlaceholder")},{value:"missing_features",text:this.i18nService.t("missingFeatures")},{value:"switched_service",text:this.i18nService.t("movingToAnotherTool")},{value:"too_complex",text:this.i18nService.t("tooDifficultToUse")},{value:"unused",text:this.i18nService.t("notUsingEnough")},this.getSwitchingReason(),{value:"other",text:this.i18nService.t("other")}]}isBusinessPlan(){return"Organization"===this.dialogParams.type&&[o.K.Teams,o.K.Enterprise,o.K.TeamsStarter].includes(this.dialogParams.productTier)}getSwitchingReason(){if("User"===this.dialogParams.type)return{value:"too_expensive",text:this.i18nService.t("switchToFreePlan")};const e=[s.OL.FamiliesAnnually,s.OL.FamiliesAnnually2019,s.OL.FamiliesAnnually2025].includes(this.dialogParams.plan);return{value:"too_expensive",text:this.i18nService.t(e?"switchToFreeOrg":"tooExpensive")}}}B.ɵfac=function(e){return new(e||B)(r.rXU(a.Qs),r.rXU(l.ce),r.rXU(i.ok),r.rXU(u.P),r.rXU(p.W),r.rXU(d.y),r.rXU(c.f))},B.ɵcmp=r.VBU({type:B,selectors:[["app-cancel-subscription-form"]],standalone:!1,decls:25,vars:24,consts:[["bit-dialog","",3,"formGroup","bitSubmit"],["bitDialogTitle","",1,"tw-font-medium"],["bitDialogContent",""],["formControlName","reason",3,"block"],["rows","4","bitInput","","formControlName","feedback"],["bitDialogFooter",""],["bitButton","","bitFormButton","","buttonType","primary","type","submit"],["bitButton","","buttonType","secondary","type","button",3,"bitDialogClose"],[3,"value"],["bitInput","","formControlName","reason"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"]],template:function(e,t){var n;1&e&&(r.j41(0,"form",0)(1,"span",1),r.EFF(2),r.nI1(3,"i18n"),r.k0s(),r.j41(4,"div",2)(5,"p"),r.EFF(6),r.nI1(7,"i18n"),r.k0s(),r.nVh(8,M,6,4,"bit-radio-group",3)(9,C,6,4,"bit-form-field"),r.j41(10,"bit-form-field")(11,"bit-label"),r.EFF(12),r.nI1(13,"i18n"),r.k0s(),r.nrm(14,"textarea",4),r.j41(15,"bit-hint"),r.EFF(16),r.nI1(17,"i18n"),r.k0s()()(),r.qex(18,5),r.j41(19,"button",6),r.EFF(20),r.nI1(21,"i18n"),r.k0s(),r.j41(22,"button",7),r.EFF(23),r.nI1(24,"i18n"),r.k0s(),r.bVm(),r.k0s()),2&e&&(r.Y8G("formGroup",t.formGroup)("bitSubmit",t.submit),r.R7$(2),r.SpI(" ",r.bMT(3,10,"cancelSubscription")," "),r.R7$(4),r.JRh(r.bMT(7,12,"sorryToSeeYouGo")),r.R7$(2),r.vxM(t.isBusiness?8:9),r.R7$(4),r.SpI(" ",r.bMT(13,14,"anyOtherFeedback")," "),r.R7$(4),r.JRh(r.brH(17,16,"charactersCurrentAndMaximum",null!==(n=null==t.formGroup.value.feedback?null:t.formGroup.value.feedback.length)&&void 0!==n?n:0,t.MaxFeedbackLength)),r.R7$(4),r.SpI(" ",r.bMT(21,20,"cancelSubscription")," "),r.R7$(2),r.Y8G("bitDialogClose",t.ResultType.Closed),r.R7$(),r.SpI(" ",r.bMT(24,22,"close")," "))},dependencies:[b.Sq,i.qT,i.xH,i.y7,i.me,i.wz,i.BC,i.cb,i.j4,i.JD,h.$,f.L,m.Q,v.I,g.m,F.hJ,I.j,y.I,R.W,S.J,k.h,T.d,w.$],encapsulation:2,changeDetection:0})},33438(e,t,n){var i;n.d(t,{Y:()=>i}),function(e){e.Updated="updated",e.Cancelled="cancelled"}(i||(i={}))},13583(e,t,n){n.d(t,{m:()=>w});var i=n(11217),s=n(84210),o=n(64447),a=n(33438),r=n(14041),c=n(12012),l=n(50700),u=n(37115),p=n(11224),d=n(69855),b=n(46758),h=n(3892),f=n(26657),m=n(38620),v=n(56898),g=n(86226),F=n(93199),I=n(19934),y=n(43759),R=n(25740),S=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function a(e){try{c(i.next(e))}catch(t){o(t)}}function r(e){try{c(i.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,r)}c((i=i.apply(e,t||[])).next())})};function k(e,t){1&e&&(r.j41(0,"bit-label"),r.EFF(1),r.nI1(2,"i18n"),r.k0s()),2&e&&(r.R7$(),r.JRh(r.bMT(2,1,"licenseFile")))}function T(e,t){if(1&e&&(r.j41(0,"button",9),r.EFF(1),r.nI1(2,"i18n"),r.k0s()),2&e){const e=r.XpG();r.Y8G("bitAction",e.cancel),r.R7$(),r.SpI(" ",r.bMT(2,2,"cancel")," ")}}class w{constructor(e,t,n,s,o,r){this.apiService=e,this.i18nService=t,this.platformUtilsService=n,this.organizationApiService=s,this.formBuilder=o,this.toastService=r,this.showCancel=!0,this.onUpdated=new i.bkB,this.onCanceled=new i.bkB,this.title=this.i18nService.t("updateLicense"),this.updateLicenseForm=this.formBuilder.group({file:[null]}),this.licenseFile=null,this.submit=()=>S(this,void 0,void 0,function*(){if(this.updateLicenseForm.markAllAsTouched(),this.updateLicenseForm.invalid)return;const e=this.licenseFile;if(null==e)return void this.toastService.showToast({variant:"error",title:this.i18nService.t("errorOccurred"),message:this.i18nService.t("selectFile")});const t=new FormData;t.append("license",e);let n=null;return n=null==this.organizationId?this.apiService.postAccountLicense(t):this.organizationApiService.updateLicense(this.organizationId,t),this.formPromise=n.then(()=>this.apiService.refreshIdentityToken()),yield this.formPromise,this.toastService.showToast({variant:"success",title:null,message:this.i18nService.t("licenseUploadSuccess")}),this.onUpdated.emit(),new Promise(e=>e(a.Y.Updated))}),this.cancel=()=>{this.onCanceled.emit()}}ngOnInit(){return S(this,void 0,void 0,function*(){(yield this.organizationApiService.get(this.organizationId)).plan.productTier!==o.K_.Families&&(this.updateLicenseForm.setValidators([s.k0.required]),this.updateLicenseForm.updateValueAndValidity())})}setSelectedFile(e){const t=e.target,n=t.files.length>0?t.files[0]:null;this.licenseFile=n}}w.ɵfac=function(e){return new(e||w)(r.rXU(c.G),r.rXU(l.W),r.rXU(u.y),r.rXU(p.X),r.rXU(s.ok),r.rXU(d.f))},w.ɵcmp=r.VBU({type:w,selectors:[["app-update-license"]],inputs:{organizationId:"organizationId",showCancel:"showCancel",showAutomaticSyncAndManualUpload:"showAutomaticSyncAndManualUpload"},outputs:{onUpdated:"onUpdated",onCanceled:"onCanceled"},standalone:!1,decls:20,vars:17,consts:[["fileSelector",""],[3,"formGroup","bitSubmit"],[4,"ngIf"],[1,"tw-pb-1","tw-pt-2","tw-flex","tw-items-center","tw-gap-3"],["bitButton","","type","button","buttonType","secondary",3,"click"],["bitInput","","type","file","formControlName","file","hidden","",1,"tw-hidden",3,"change"],[1,"tw-flex","tw-gap-2","tw-mt-4"],["type","submit","buttonType","primary","bitButton","","bitFormButton",""],["bitButton","","bitFormButton","","buttonType","secondary","type","button",3,"bitAction",4,"ngIf"],["bitButton","","bitFormButton","","buttonType","secondary","type","button",3,"bitAction"]],template:function(e,t){if(1&e){const e=r.RV6();r.j41(0,"form",1)(1,"bit-form-field"),r.DNE(2,k,3,3,"bit-label",2),r.j41(3,"div",3)(4,"button",4),r.bIt("click",function(){i.eBV(e);const t=r.sdS(11);return i.Njj(t.click())}),r.EFF(5),r.nI1(6,"i18n"),r.k0s(),r.j41(7,"span"),r.EFF(8),r.nI1(9,"i18n"),r.k0s()(),r.j41(10,"input",5,0),r.bIt("change",function(e){return t.setSelectedFile(e)}),r.k0s(),r.j41(12,"bit-hint"),r.EFF(13),r.nI1(14,"i18n"),r.k0s()(),r.j41(15,"div",6)(16,"button",7),r.EFF(17),r.nI1(18,"i18n"),r.k0s(),r.DNE(19,T,3,4,"button",8),r.k0s()()}2&e&&(r.Y8G("formGroup",t.updateLicenseForm)("bitSubmit",t.submit),r.R7$(2),r.Y8G("ngIf",t.showAutomaticSyncAndManualUpload),r.R7$(3),r.SpI(" ",r.bMT(6,8,"chooseFile")," "),r.R7$(3),r.JRh(t.licenseFile?t.licenseFile.name:r.bMT(9,10,"noFileChosen")),r.R7$(5),r.JRh(r.i5U(14,12,"licenseFileDesc",t.organizationId?"bitwarden_organization_license.json":"bitwarden_premium_license.json")),r.R7$(4),r.SpI(" ",r.bMT(18,15,"submit")," "),r.R7$(2),r.Y8G("ngIf",t.showCancel))},dependencies:[b.bT,s.qT,s.me,s.BC,s.cb,s.j4,s.JD,h.p,f.$,m.L,v.Q,g.j,F.I,I.J,y.h,R.$],encapsulation:2})}}]); //# sourceMappingURL=979.99ef509bf16a2fbe191b.js.map