PageSourceSearch

https://account.dansktandforsikring.dk/8045.a51ed09eb00bc58f.js

js dansktandforsikring.dk collected 2026-10-07 20:03:32 UTC 6,518 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkfrontend_ddi=self.webpackChunkfrontend_ddi||[]).push([[8045],{48045:(H,g,s)=>{s.r(g),s.d(g,{AdminGroupPageModule:()=>V});var h=s(36895),c=s(44296),T=s(35836),t=s(55062),m=s(7498),C=s(79817),v=s(80142),O=s(7625),N=s(52560),M=s(58931),Z=s(36050),A=s(658),u=s(24006),y=s(18178),b=s(77108),f=s(41277),l=s(42466);function w(o,e){if(1&o&&t._UZ(0,"ddi-contract-status-marker",8),2&o){const X=t.oxw();t.Q6J("contract",X.contractDetails)}}const x=function(){return{"min-width":"100%"}};let S=(()=>{const e=class extends N.r{constructor(n,i,r,d,a){super(),this.adminService=n,this.reportService=i,this.routingService=r,this.ngMasterPolicyOverviewService=d,this.sessionStorageService=a,this.showTerminatedGroups=!1,this.toSelectItem=p=>({label:`${p.groupName} - ${p.policyNumber}`,value:p.policyNumber})}ngOnInit(){this.getList(),this.selectedPolicyNumber=this.sessionStorageService.get("selectedMasterPolicy")?.value,this.selectedPolicyNumber&&this.policies?.includes(this.selectedPolicyNumber)&&this.goToDetails(this.selectedPolicyNumber),this.ngMasterPolicyOverviewService.getContractDetailsObservable().pipe((0,O.R)(this.onDestroyTrigger)).subscribe(n=>{n&&(this.contractDetails=n)})}ngOnDestroy(){this.ngMasterPolicyOverviewService.masterPolicyDataSubject.next(null)}getList(){this.adminService.contractEnter({_type:"PolicySearchProxy",pageSize:2e3,sortProperties:"groupName"}).then(n=>{this.contracts=n.getListData(),this.contractsOptions=this.contracts.filter(i=>"ACTIVE"===i.policyStatus).map(this.toSelectItem),this.policies=this.contracts.map(i=>i.policyNumber),this.totalRecords=n.getListAttr("totalElements"),(1===this.contractsOptions.length||this.selectedPolicyNumber)&&(this.selectedPolicyNumber=this.selectedPolicyNumber?this.selectedPolicyNumber:this.contractsOptions[0].value,this.ngMasterPolicyOverviewService.masterPolicyDataSubject.next({masterPolicyNumber:this.selectedPolicyNumber,numberOfMembers:this.contracts.find(i=>i.policyNumber===this.selectedPolicyNumber).numberOfMembers}),this.goToDetails(this.selectedPolicyNumber))}).catch(n=>this.reportService.standardErrorMessage(n))}goToDetails(n){this.sessionStorageService.set("selectedMasterPolicy",{index:0,value:n}),this.ngMasterPolicyOverviewService.masterPolicyDataSubject.next({masterPolicyNumber:n,numberOfMembers:this.contracts.find(i=>i.policyNumber===n).numberOfMembers}),this.routingService.goToMasterPolicyOverviewPage()}onShowTerminatedGroupsSwitchChanged(n){this.showTerminatedGroups=n,this.contractsOptions=this.showTerminatedGroups?this.contracts.map(this.toSelectItem):this.contracts.filter(i=>"ACTIVE"===i.policyStatus).map(this.toSelectItem)}};let o=e;return e.\u0275fac=function(i){return new(i||e)(t.Y36(v.J),t.Y36(C.r),t.Y36(M.Z),t.Y36(Z.R),t.Y36(A.u))},e.\u0275cmp=t.Xpm({type:e,selectors:[["ddi-master-policy-page"]],features:[t.qOj],decls:16,vars:20,consts:[[1,"page-section","master-policy-page",3,"hidden"],[1,"full-width"],[1,"filter-container-labeled",2,"width","50%"],["filter","true",3,"ngModel","placeholder","options","ngModelChange","onChange"],[1,"filter-container-labeled"],[3,"ngModel","ngModelChange"],[2,"padding-top","15px","padding-right","15px"],[3,"contract",4,"ngIf"],[3,"contract"]],template:function(i,r){1&i&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"label"),t._uU(4),t.ALo(5,"translate"),t.ALo(6,"translate"),t.qZA(),t.TgZ(7,"p-dropdown",3),t.NdJ("ngModelChange",function(a){return r.selectedPolicyNumber=a})("onChange",function(a){return r.goToDetails(a.value)}),t.ALo(8,"translate"),t.qZA()(),t.TgZ(9,"div",4)(10,"label"),t._uU(11),t.ALo(12,"translate"),t.qZA(),t.TgZ(13,"p-inputSwitch",5),t.NdJ("ngModelChange",function(a){return r.onShowTerminatedGroupsSwitchChanged(a)}),t.qZA()()(),t.TgZ(14,"div",6),t.YNc(15,w,1,1,"ddi-contract-status-marker",7),t.qZA()()),2&i&&(t.Q6J("hidden",!r.contracts),t.xp6(4),t.AsE("",t.lcZ(5,11,"BASIC.select")," ",t.lcZ(6,13,"ENUM.routeName.master-policy"),""),t.xp6(3),t.Akn(t.DdM(19,x)),t.s9C("placeholder",t.lcZ(8,15,"BASIC.select")),t.Q6J("ngModel",r.selectedPolicyNumber)("options",r.contractsOptions),t.xp6(4),t.Oqu(t.lcZ(12,17,"PAGE.CUSTOMER.customerPage.showTerminatedGroups")),t.xp6(2),t.Q6J("ngModel",r.showTerminatedGroups),t.xp6(2),t.Q6J("ngIf",r.contractDetails))},dependencies:[h.O5,u.JJ,u.On,y.Lt,b.P,f.Ql,l.X$],styles:[".full-width[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row}"]}),o})(),J=(()=>{const e=class{constructor(n){this.authorizationService=n}ngOnInit(){this.userName=this.authorizationService.getDecodedToken().name}};let o=e;return e.\u0275fac=function(i){return new(i||e)(t.Y36(m.Zq5))},e.\u0275cmp=t.Xpm({type:e,selectors:[["ddi-admin-group"]],decls:10,vars:4,consts:[[1,"customer-page-container"],[1,"welcome-customer-header"],[2,"margin-top","1em"]],template:function(i,r){1&i&&(t.TgZ(0,"div",0)(1,"div",1)(2,"span"),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"span"),t._uU(6),t.qZA()(),t.TgZ(7,"div",2),t._UZ(8,"ddi-master-policy-page"),t.qZA(),t._UZ(9,"router-outlet"),t.qZA()),2&i&&(t.xp6(3),t.Oqu(t.lcZ(4,2,"PAGE.CUSTOMER.customerPage.welcome")),t.xp6(3),t.Oqu(r.userName))},dependencies:[c.lC,S,l.X$],encapsulation:2}),o})();var P=s(98072);const D=[{path:"",component:J,children:[{path:T.x.MASTER_POLICY_OVERVIEW,loadChildren:()=>Promise.resolve().then(s.bind(s,7254)).then(o=>o.NgMasterPolicyOverviewPageModule),data:{breadcrumb:{ignoreNavigation:!0},adminGroupMode:!0}}],data:{dictionaryStore:["PolicyStatus","RenewalMode","YesNo","CustomerType"]},resolve:{dictionaryStore:P.U}}];let I=(()=>{const e=class{};let o=e;return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[c.Bz.forChild(D),c.Bz]}),o})();var E=s(51690),U=s(38611),L=s(77283),z=s(79183);const B=[{path:"",component:S,data:{dictionaryStore:["PolicyStatus"]},resolve:{dictionaryStore:P.U}}];let j=(()=>{const e=class{};let o=e;return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[c.Bz.forChild(B),c.Bz]}),o})();var Y=s(96880),F=s(82778),G=s(22833),Q=s(548),$=s(7254);let R=(()=>{const e=class{};let o=e;return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({providers:[v.J],imports:[h.ez,u.u5,Q.fx,E.U$,U.hJ,F.j,L._8,y.kW,l.aw,Y.H,z.H,j,G.cc,m.TFl,$.NgMasterPolicyOverviewPageModule,f.Iu]}),o})(),V=(()=>{const e=class{};let o=e;return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[h.ez,I,l.aw.forChild(),m.HL9,R]}),o})()}}]);

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.