1"use strict";(self.webpackChunkmd=self.webpackChunkmd||[]).push([[3471],{53471(y,f,o){o.d(f,{ShowPukComponent:()=>H});var d=o(37531),r=o(56034),p=o(84697),u=o(20379),l=o(97440),h=o(80013),a=o(55231),g=o(44103),T=o(62452),M=o(64949),w=o(11439),P=o(1103),_=o(28363),C=o(32050),D=o(37472),I=o(82872),b=o(54638),x=o(57159);let R=(()=>{class e{constructor(){this.showPinPukGQL=(0,r.WQX)(w.ljq),this.contractService=(0,r.WQX)(P.y),this.superPinService=(0,r.WQX)(T.e)}getViewModel(i){return this.contractService.selectedCustomerProductId$.pipe((0,C.n)(n=>(0,D.z)([this.showPinPukGQL.watch({variables:{customerProductId:n}}).valueChanges.pipe((0,I.p)(s=>"complete"===s.dataState)),this.superPinService.isSuperPin$()])),(0,b.T)(([{data:{customerProduct:{customerProduct:n}}},s])=>{const m=n?.resources?.filter(M.a).filter(v=>v.iccId===i),O=n?.resources?.filter(M.a).filter(v=>v.iccId!==i);return(0,_.nV)({sims:{main:(0,x.R)(m),additionalCards:(0,x.y)(O)},isSuperPin:s})}))}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=r.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var F=o(95352);let k=(()=>{class e{constructor(){this.showPukApiService=(0,r.WQX)(R),this.contractService=(0,r.WQX)(P.y),this.getMainSimService=(0,r.WQX)(g.K)}getViewModel(){return this.contractService.selectedCustomerProductId$.pipe((0,C.n)(i=>this.getMainSimService.getMainSimId$(i).pipe((0,C.n)(n=>this.showPukApiService.getViewModel(n).pipe((0,F.Z)((0,_.QH)()))))))}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=r.jDH({token:e,factory:e.\u0275fac})}}return e})();var t=o(39635);class E{_document;_textarea;constructor(c,i){this._document=i;const n=this._textarea=this._document.createElement("textarea"),s=n.style;s.position="fixed",s.top=s.opacity="0",s.left="-999em",n.setAttribute("aria-hidden","true"),n.value=c,n.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(n)}copy(){const c=this._textarea;let i=!1;try{if(c){const n=this._document.activeElement;c.select(),c.setSelectionRange(0,c.value.length),i=this._document.execCommand("copy"),n&&n.focus()}}catch{}return i}destroy(){const c=this._textarea;c&&(c.remove(),this._textarea=void 0)}}let Q=(()=>{class e{_document=(0,r.WQX)(r.qQL);constructor(){}copy(i){const n=this.beginCopy(i),s=n.copy();return n.destroy(),s}beginCopy(i){return new E(i,this._document)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=r.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=t.$C({type:e});static \u0275inj=r.G2t({})}return e})();var S=o(92920),U=o(63070);const j=["*"];let K=(()=>{class e{constructor(){this.clipboard=(0,r.WQX)(Q),this.copyIcon=U.jPR}copyContent(){this.value?.length&&this.clipboard.copy(this.value)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["ecare-ui-kit-copy-content"]],hostBindings:function(n,s){1&n&&t.bIt("click",function(){return s.copyContent()})},inputs:{value:"value"},ngContentSelectors:j,decls:2,vars:1,consts:[[1,"copy-icon",3,"icon"]],template:function(n,s){1&n&&(t.NAR(),t.SdG(0),t.nrm(1,"fa-icon",0)),2&n&&(t.R7$(),t.Y8G("icon",s.copyIcon))},dependencies:[S.dX,S.aY,$],styles:["[_nghost-%COMP%]{cursor:pointer}[_nghost-%COMP%] .copy-icon[_ngcontent-%COMP%]{margin-left:5px}"],changeDetection:0})}}return e})();var B=o(50497);const V=["sim","","isSuperPin",""];let G=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["ecare-sim-management-determine-puk-sim-puk","sim","","isSuperPin",""]],inputs:{sim:"sim",isSuperPin:"isSuperPin"},attrs:V,decls:19,vars:11,consts:[["data-testid","sim-info",1,"sim-info"],["alt","","data-testid","sim-icon",1,"icon",3,"src"],[1,"sim-number"],["data-testid","sim-pin",1,"pin-info"],[1,"sim-pin",3,"value"],["data-testid","sim-puk",1,"puk-info"],[1,"sim-puk",3,"value"]],template:function(n,s){1&n&&(t.j41(0,"div",0),t.nrm(1,"img",1),t.j41(2,"span"),t.EFF(3),t.k0s(),t.j41(4,"span",2),t.EFF(5),t.k0s()(),t.j41(6,"div",3)(7,"span"),t.EFF(8,"PIN (urspr\xfcngliche PIN)"),t.k0s(),t.j41(9,"ecare-ui-kit-copy-content",4)(10,"span"),t.EFF(11),t.k0s()()(),t.j41(12,"div",5)(13,"span"),t.EFF(14),t.nI1(15,"superPinText"),t.k0s(),t.j41(16,"ecare-ui-kit-copy-content",6)(17,"span"),t.EFF(18),t.k0s()()()),2&n&&(t.R7$(),t.Y8G("src","ESIM"===s.sim.format?"assets-ecss/imgs/icons/esim--blau-medium.svg":"assets-ecss/imgs/icons/tripple--blau-medium.svg",t.B4B),t.R7$(2),t.JRh("ESIM"===s.sim.format?"eSIM":"Standard-SIM"),t.R7$(2),t.JRh(null==s.sim?null:s.sim.simNumber),t.R7$(4),t.Y8G("value",s.sim.pin??""),t.R7$(2),t.JRh(s.sim.pin),t.R7$(3),t.JRh(t.i5U(15,8,s.isSuperPin,!1)),t.R7$(2),t.Y8G("value",s.sim.puk??""),t.R7$(2),t.JRh(s.sim.puk))},dependencies:[K,B.Q],styles:["[_nghost-%COMP%]{display:flex;width:100%;border-radius:4px;padding:16px;background-color:#f2f2f2;flex-direction:column;gap:8px}[_nghost-%COMP%] .sim-info[_ngcontent-%COMP%]{display:flex;
1border-bottom:1px solid var(--divider-color, #d8d8d8);padding-bottom:8px;align-items:center;justify-content:flex-start;gap:8px;font-weight:700}[_nghost-%COMP%] .sim-info[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{height:21px}[_nghost-%COMP%] .sim-info[_ngcontent-%COMP%] .sim-number[_ngcontent-%COMP%]{margin-inline:auto 0}[_nghost-%COMP%] .pin-info[_ngcontent-%COMP%], [_nghost-%COMP%] .puk-info[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] .pin-info[_ngcontent-%COMP%] .sim-pin[_ngcontent-%COMP%], [_nghost-%COMP%] .pin-info[_ngcontent-%COMP%] .sim-puk[_ngcontent-%COMP%], [_nghost-%COMP%] .puk-info[_ngcontent-%COMP%] .sim-pin[_ngcontent-%COMP%], [_nghost-%COMP%] .puk-info[_ngcontent-%COMP%] .sim-puk[_ngcontent-%COMP%]{font-weight:600;margin-left:auto;text-decoration:underline}"],changeDetection:0})}}return e})();function W(e,c){if(1&e&&t.nrm(0,"ecare-sim-management-determine-puk-sim-puk",5),2&e){const i=c.$implicit,n=t.XpG(2).$implicit;t.Y8G("sim",i)("isSuperPin",n.isSuperPin)}}function L(e,c){if(1&e&&(t.j41(0,"div")(1,"h3",4),t.EFF(2," Ihre Zusatz-SIM "),t.k0s(),t.Z7z(3,W,1,2,"ecare-sim-management-determine-puk-sim-puk",5,t.Vm6),t.k0s()),2&e){const i=t.XpG().$implicit;t.R7$(3),t.Dyx(i.sims.additionalCards)}}function A(e,c){if(1&e&&(t.qex(0),t.j41(1,"ecare-ui-kit-content-box",2)(2,"p"),t.EFF(3,"Unten wird auch die urspr\xfcngliche PIN angegeben, die Ihnen mit der SIM zugesendet wurde."),t.k0s()(),t.j41(4,"ecare-ui-kit-content-box",3)(5,"div")(6,"h3",4),t.EFF(7," Ihre Haupt-SIM "),t.k0s(),t.qex(8),t.nrm(9,"ecare-sim-management-determine-puk-sim-puk",5),t.bVm(),t.k0s(),t.nVh(10,L,5,0,"div"),t.j41(11,"a",6),t.EFF(12,"Zur SIM-Verwaltung"),t.k0s()(),t.bVm()),2&e){const i=c.$implicit;t.R7$(9),t.Y8G("sim",i.sims.main)("isSuperPin",i.isSuperPin),t.R7$(),t.vxM(i.sims.additionalCards&&i.sims.additionalCards.length>0?10:-1),t.R7$(),t.Y8G("fullWidthMobile",!0)}}function X(e,c){1&e&&t.nrm(0,"ecare-ui-kit-loading-spinner-box",7)}let H=(()=>{class e{constructor(){this.showPukComponentService=(0,r.WQX)(k),this.viewModel$=this.showPukComponentService.getViewModel()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["ng-component"]],features:[t.Jv_([k])],decls:4,vars:4,consts:[["loadingTmpl",""],[4,"ecareUiKitQueryState","ecareUiKitQueryStateIsLoading"],["data-testid","info-text",1,"info-text"],[1,"puk-list"],["data-testid","main-sims-headlines",1,"overview-headline"],["data-qa","puk-information",1,"sim-puk",3,"sim","isSuperPin"],["ecare-ui-kit-button","","routerLink","../..","routerLinkActive","router-link-active",1,"to-sim-management-button",3,"fullWidthMobile"],["data-testid","loading-info"]],template:function(n,s){if(1&n&&(t.DNE(0,A,13,4,"ng-container",1),t.nI1(1,"async"),t.DNE(2,X,1,0,"ng-template",null,0,t.C5r)),2&n){const m=t.sdS(3);t.Y8G("ecareUiKitQueryState",t.bMT(1,2,s.viewModel$))("ecareUiKitQueryStateIsLoading",m)}},dependencies:[p.iI,p.Wk,p.wQ,u.s,l.a,G,h.Q,a.H,d.Jj],styles:[".info-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}.puk-list[_ngcontent-%COMP%]{padding-bottom:40px;display:flex;flex-direction:column;gap:16px}.puk-list[_ngcontent-%COMP%] .to-sim-management-button[_ngcontent-%COMP%]{margin-top:16px;width:100%}.overview-headline[_ngcontent-%COMP%]{margin:20px 0 8px;font-family:inherit;font-weight:700;font-size:12px;text-transform:none;letter-spacing:initial;word-spacing:initial}"],changeDetection:0})}}return e})()},20379(y,f,o){o.d(f,{s:()=>p});var d=o(39635);const r=["*"];let p=(()=>{class u{static{this.\u0275fac=function(a){return new(a||u)}}static{this.\u0275cmp=d.VBU({type:u,selectors:[["ecare-ui-kit-content-box"]],ngContentSelectors:r,decls:1,vars:0,template:function(a,g){1&a&&(d.NAR(),d.SdG(0))},styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block;background:#fff;padding:24px 10px 32px;margin-bottom:16px}@media screen and (min-width:640px){[_nghost-%COMP%]{padding:40px 8% 56px;border-radius:4px}}@media screen and (min-width:1024px){[_nghost-%COMP%]{padding:40px 92px 56px}}'],changeDetection:0})}}return u})()},55231(y,f,o){o.d(f,{H:()=>u});var d=o(39635),r=o(56034),p=o(28363);let u=(()=>{class l{constructor(){this.templateRef=(0,r.WQX)(d.C4Q),this.viewContainerRef
1=(0,r.WQX)(d.c1b),this.context={$implicit:void 0,queryState:void 0,error:void 0}}set ecareUiKitQueryState(a){a||(this.context.$implicit=void 0,this.context.queryState=void 0),a&&(this.context.queryState=a),this.updateView()}set ecareUiKitQueryStateIsLoading(a){this.loadingTemplateRef=a,this.updateView()}set ecareUiKitQueryStateIsError(a){this.errorTemplateRef=a,this.updateView()}updateView(){const a=this.context.queryState;this.viewContainerRef.clear(),(0,p.v5)(a)?(this.context.$implicit=a.data,this.context.error=void 0,this.viewContainerRef.createEmbeddedView(this.templateRef,this.context)):(0,p.iR)(a)&&this.loadingTemplateRef?(this.context.$implicit=void 0,this.context.error=void 0,this.viewContainerRef.createEmbeddedView(this.loadingTemplateRef,this.context)):(0,p.Ml)(a)&&this.errorTemplateRef&&(this.context.$implicit=void 0,this.context.error=a.error,this.viewContainerRef.createEmbeddedView(this.errorTemplateRef,this.context))}static ngTemplateContextGuard(a,g){return!0}static{this.\u0275fac=function(g){return new(g||l)}}static{this.\u0275dir=d.FsC({type:l,selectors:[["","ecareUiKitQueryState",""]],inputs:{ecareUiKitQueryState:"ecareUiKitQueryState",ecareUiKitQueryStateIsLoading:"ecareUiKitQueryStateIsLoading",ecareUiKitQueryStateIsError:"ecareUiKitQueryStateIsError"}})}}return l})()}}]);
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.