1"use strict";(self.webpackChunkweb_client=self.webpackChunkweb_client||[]).push([[683],{17177:(O,m,t)=>{t.r(m),t.d(m,{GeneralSettingsPageModule:()=>z});var o=t(9983),r=t(55853),s=t(58153),g=t(32050),u=t(96046),l=t(38477),c=t(65104),P=t(40558),w=t(78667),T=t(87721),M=t(84388),D=t(74434),y=t(54520);const I={showOrganizationDeleteInfoModal:(0,y.PH)("Show organization general settings deletion info modal")};var e=t(91052),L=t(86757),p=t(3982),v=t(61316),b=t(14386);const F=[[["","org-settings-header-start",""]],[["","org-settings-header-end",""]],[["","org-settings-body",""]]],Z=["[org-settings-header-start]","[org-settings-header-end]","[org-settings-body]"];class C{constructor(){this.containerClass=(0,v.I)({...p.hw,...p.i3}),this.headerClass=(0,v.I)({height:(0,p.px)(50),...p.xI,alignItems:"center",justifyContent:"space-between"}),this.headerStartClass=(0,v.I)({...p.xI,"> :not(:first-child)":{marginLeft:(0,p.px)(13)}}),this.headerEndClass=(0,v.I)({...p.xI}),this.bodyClass=(0,v.I)({flex:1,minHeight:0})}static#e=this.\u0275fac=function(a){return new(a||C)};static#t=this.\u0275cmp=e.Xpm({type:C,selectors:[["t5s-logged-in-root-modal-org-settings-content-template"]],ngContentSelectors:Z,decls:10,vars:18,template:function(a,n){1&a&&(e.F$t(F),e.TgZ(0,"div")(1,"div")(2,"div")(3,"div"),e.Hsn(4),e.qZA(),e.TgZ(5,"div"),e.Hsn(6,1),e.qZA()(),e._UZ(7,"t5s-divider-light-1px"),e.qZA(),e.TgZ(8,"div"),e.Hsn(9,2),e.qZA()()),2&a&&(e.Tol(n.containerClass),e.xp6(1),e.Udp("padding-top",22,"px")("padding-left",60,"px")("padding-right",60,"px")("margin-bottom",16,"px"),e.xp6(1),e.Tol(n.headerClass),e.xp6(1),e.Tol(n.headerStartClass),e.xp6(2),e.Tol(n.headerEndClass),e.xp6(3),e.Tol(n.bodyClass))},dependencies:[b.o],styles:["[_nghost-%COMP%]{height:100%;width:100%}"],changeDetection:0})}var x=t(93934),R=t(63866);class S{constructor(i){this.store$=i,this.i18n=(0,w.mu)(),this.I18n=T.q,this.organizationSettings$=i.select(g.W$),this.organizationProfile$=i.select(s.Fh),this.isLoading$=(0,M.aj)([i.select(g.Ob),i.select(s.lB)]).pipe((0,D.U)(([a,n])=>a||n)),i.dispatch(g.Vy.loadOrganizationSettings()),i.dispatch(s.NS.loadOrganizationProfile())}updateOrganizationSettings(i){const a={...i};this.store$.dispatch(g.Vy.updateOrganizationSettings({input:a}))}updateOrganizationProfileFields(i){this.store$.dispatch(s.NS.upsertOrganizationProfile({changes:i})),this.store$.dispatch(s.NS.updateOrganizationProfileFields({input:i}))}showDeleteInfoModal(){this.store$.dispatch(I.showOrganizationDeleteInfoModal())}static#e=this.\u0275fac=function(a){return new(a||S)(e.Y36(y.yh))};static#t=this.\u0275cmp=e.Xpm({type:S,selectors:[["t5s-general-settings-page"]],decls:8,vars:10,consts:[["org-settings-header-start",""],["org-settings-body","",3,"settings","organizationProfile","isLoading","languageValueChange","nameDisplayValueChange","invitationsValueChange","timezoneValueChange","deleteOrganizationClick"]],template:function(a,n){1&a&&(e.TgZ(0,"t5s-logged-in-root-modal-org-settings-content-template"),e.ynx(1,0),e.TgZ(2,"t5s-single-line-black-text-16px"),e._uU(3),e.qZA(),e.BQk(),e.TgZ(4,"t5s-organization-settings-general-view",1),e.NdJ("languageValueChange",function(d){return n.updateOrganizationSettings({defaultLanguage:d.selected})})("nameDisplayValueChange",function(d){return n.updateOrganizationSettings({preferFullnameInUserProfile:d.selected})})("invitationsValueChange",function(d){return n.updateOrganizationSettings({requireInvitationApproval:d.selected})})("timezoneValueChange",function(d){return n.updateOrganizationProfileFields({timezone:d.selected})})("deleteOrganizationClick",function(){return n.showDeleteInfoModal()}),e.ALo(5,"async"),e.ALo(6,"async"),e.ALo(7,"async"),e.qZA()()),2&a&&(e.xp6(3),e.Oqu(n.I18n.translate(n.i18n,n.I18n.key.orgSettings.generalSettings.title)),e.xp6(1),e.Q6J("settings",e.lcZ(5,4,n.organizationSettings$))("organizationProfile",e.lcZ(6,6,n.organizationProfile$))("isLoading",e.lcZ(7,8,n.isLoading$)))},dependencies:[L.i,C,x.G,R.Ov],styles:["[_nghost-%COMP%]{height:100%;width:100%}"],changeDetection:0})}var A=t(9288),V=t(5372),E=t(59812),B=t(66841),G=t(15716),U=t(49753),$=t(12645),N=t(42866),H=t(71755);class f{constructor(i,a,n,h){this.actions$=i,this.confirmationModalService=a,this.windowService=n,this.i18n$=h,this.showDeleteOrgInfoModal$=(0,r.GW)(()=>this.actions$.pipe((0,r.l4)(I.showOrganizationDeleteInfoModal),(0,$.M)(this.i18n$),(0,N.w)(([,d])=>{const j=(0,U.m)(d,B.x,B.x.key.generalSettings.deleteInfoModal);return this.confirmationModalService.confirmV2({...j,danger:!0})}),(0,V.V)(),(0,H.b)(()=>this.windowService.mailto("[email protected]"))),{dispatch:!1})}static#e=this.\u0275fac=function(a){return new(a||f)(e.LFG(r.eX),e.LFG(G.k),e.LFG(A.u),e.LFG(E.UG))};static#t=this.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac})}class z{static#e=this.\u0275fac=function(a){return new(a||z)};static#t=this.\u0275mod=e.oAB({type:z});static#n=this.\u0275inj=e.cJS({imports:[o.Bz.forChild([{path:"",component:S}
1]),r.sQ.forFeature([f]),l.b,c.F_,P.zM,u.Hk,g.vg,s.HM]})}},99238:(O,m,t)=>{t.d(m,{u:()=>o});var o={};function r(l){if(!l)return;const{name:c,description:P,email:w,location:T,phoneNumber:M,website:D,timezone:y}=l;return c?{name:c,description:P,email:w,location:T,phoneNumber:M,website:D,timezone:y}:void 0}function s(l){const c=r(l);if(!c)throw new Error("Invalid input");return c}t.r(o),t.d(o,{organizationSlugResultSuccessful:()=>u,updateInputFromDto:()=>r,updateInputFromDtoOrFail:()=>s});var g=t(3683);function u({type:l}){return l===g.cMH.SLUG_UPDATED}},87721:(O,m,t)=>{t.d(m,{q:()=>g});var o=t(3683);const g=new(t(45503).U)({[o.SQ0.DE]:{checkout:{billingDetails:"Rechnungsinformationen",changeYourPlan:"Plan \xe4ndern",paymentDetails:"Zahlungsinformationen",reviewBtn:"Bestellung \xfcberpr\xfcfen",reviewTitle:"Bestellung f\xfcr {{orgName}} \xfcberpr\xfcfen",upgradeOrgToPlan:"{{orgName}} upgraden"},invoiceHistory:{title:"Rechnungen"},renew:{title:"Abonnement verl\xe4ngern"},cancel:{title:"Plan\xe4nderungen in der Vorschau"},billingOverview:{title:"\xdcbersicht",billingCustomerException:{subtitle:"Beim Laden der Zahlungsinformationen ist ein Fehler aufgetreten. Bitte kontaktiere den Support."}},orgSettings:{billingDetails:{title:"Abrechnungsdetails",saveBtn:"Speichern"},billingOverview:{title:"\xdcbersicht"},paymentMethods:{title:"Zahlungsmethoden"},generalSettings:{title:"Allgemeine Einstellungen"}},organizationPlan:{planOverview:{title:"Plan-\xdcbersicht",closeBtnTooltip:"Schlie\xdfen"}},paymentMethod:{removeConfirmationModal:{confirmButtonLabel:"Entfernen",message:"Bist du sicher, dass du diese Zahlungsmethode aus deinem Konto entfernen m\xf6chtest?",title:"Zahlungsmethode entfernen?"},removeLastConfirmationModal:{confirmButtonLabel:"Entfernen",message:"Wenn du diese Zahlungsmethode entfernst, musst du eine neue hinzuf\xfcgen, bevor die n\xe4chste Zahlung f\xe4llig ist.",title:"Letzte Zahlungsmethode entfernen?"}}},[o.SQ0.EN]:{checkout:{billingDetails:"Billing details",changeYourPlan:"Change your plan",paymentDetails:"Payment details",reviewBtn:"Review Order",reviewTitle:"Review {{orgName}} order",upgradeOrgToPlan:"Upgrade {{orgName}}"},invoiceHistory:{title:"Invoices"},renew:{title:"Renew subscription"},cancel:{title:"Preview your plan changes"},billingOverview:{title:"Billing overview",billingCustomerException:{subtitle:"There was an error loading your subscription / payment plan info. Please contact support."}},orgSettings:{billingDetails:{title:"Billing details",saveBtn:"Save"},billingOverview:{title:"Billing overview"},paymentMethods:{title:"Payment methods"},generalSettings:{title:"General settings"}},organizationPlan:{planOverview:{title:"Plan overview",closeBtnTooltip:"Close"}},paymentMethod:{removeConfirmationModal:{confirmButtonLabel:"Remove",message:"Are you sure you want to remove this payment method from your account?",title:"Remove payment method?"},removeLastConfirmationModal:{confirmButtonLabel:"Remove",message:"If you remove this payment method, you'll need to add another before the next payment is due.",title:"Remove last payment method?"}}},[o.SQ0.PT_BR]:{checkout:{billingDetails:"Dados de cobran\xe7a",changeYourPlan:"Alterar seu plano",paymentDetails:"Dados de pagamento",reviewBtn:"Revisar pedido",reviewTitle:"Revisar pedido de {{orgName}}",upgradeOrgToPlan:"Fazer upgrade de {{orgName}}"},invoiceHistory:{title:"Faturas"},renew:{title:"Renovar assinatura"},cancel:{title:"Visualizar altera\xe7\xf5es do plano"},billingOverview:{title:"Vis\xe3o geral de cobran\xe7a",billingCustomerException:{subtitle:"Ocorreu um erro ao carregar as informa\xe7\xf5es do seu plano de pagamento. Por favor, entre em contato com o suporte."}},orgSettings:{billingDetails:{title:"Dados de cobran\xe7a",saveBtn:"Salvar"},billingOverview:{title:"Vis\xe3o geral de cobran\xe7a"},paymentMethods:{title:"M\xe9todos de pagamento"},generalSettings:{title:"Configura\xe7\xf5es gerais"}},organizationPlan:{planOverview:{title:"Vis\xe3o geral do plano",closeBtnTooltip:"Fechar"}},paymentMethod:{removeConfirmationModal:{confirmButtonLabel:"Remover",message:"Tem certeza de que deseja remover este m\xe9todo de pagamento da sua conta?",title:"Remover m\xe9todo de pagamento?"},removeLastConfirmationModal:{confirmButtonLabel:"Remover",message:"Se voc\xea remover este m\xe9todo de pagamento, precisar\xe1 adicionar outro antes do pr\xf3ximo pagamento.",title:"Remover \xfaltimo m\xe9todo de pagamento?"}}}})},73129:(O,m,t)=>{t.d(m,{$:()=>s});var o=t(91052),r=t(39301);class s{static#e=this.\u0275fac=function(l){return new(l||s)};static#t=this.\u0275cmp=o.Xpm({type:s,selectors:[["t5s-loading-spinner-26px-top"]],decls:2,vars:12,template:function(l,c){1&l&&(o.TgZ(0,"div"),o._UZ(1,"t5s-loading-spinner-26px"),o.qZA()),2&l&&o.Udp("width",100,"%")("display","flex")("align-items","center")("justify-content","center")("padding-top",17,"px")("padding-bottom",17,"px")},dependencies:[r.y],styles:["[_nghost-%COMP%]{width:100%}"],changeDetection:0})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.