PageSourceSearch

https://portal.finma.ch/auth-login/ui/chunk-O5IJ7YUT.js

js finma.ch collected 2026-09-24 08:42:19 UTC 3,922 bytes, 1 lines download raw bytes

1import{a as Q}from"./chunk-NWSSGM7S.js";import"./chunk-FWTG5XIZ.js";import{i as K}from"./chunk-ACJ3NLO5.js";import{E as U,J as W,f as V,g as q,i as G,o as z,s as H,v as J,x as L}from"./chunk-GPVZISOV.js";import"./chunk-45WCVJBT.js";import{d as k}from"./chunk-74CDSVWG.js";import{ha as T,ja as _,q as S}from"./chunk-SEQCRKB6.js";import{Aa as v,Db as O,Ea as R,Fa as A,Ga as h,R as C,Tb as P,U as m,V as y,Y as s,Z as g,_ as x,cb as j,db as N,ia as a,la as D,ma as w,pa as I,pb as M,qa as E,rb as B,s as c,xa as n,ya as u,za as F}from"./chunk-HBLARLGW.js";var p=(()=>{let e=class e{continue(){return"/protected/self-service/cronto/device/edit/continue"}edit(){return"/protected/self-service/cronto/device/edit"}retrieve(){return"/protected/self-service/cronto/device/info/retrieve"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac});let i=e;return i})();var d=(()=>{let e=class e{constructor(){this.http=s(O),this.restEndpoints=s(p),this.flowSessionService=s(T)}editDevice(t){let o=JSON.stringify(t);return this.http.post(S(this.restEndpoints.edit()),o,{observe:"response"}).pipe(c(l=>this.flowSessionService.createFlowSession(l)))}continue(){return this.http.post(S(this.restEndpoints.continue()),null,k()).pipe(c(t=>this.flowSessionService.createFlowSession(t)))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac});let i=e;return i})();var f=class{constructor(){this.name=""}};function Y(i,e){if(i&1){let r=R();u(0,"iam-page",1)(1,"iam-form",2),A("formSubmit",function(){g(r);let o=h();return x(o.editDevice())}),v(2,"iam-text-message",3)(3,"iam-input-row",4)(4,"iam-dynamic-step-activation-checkboxes"),u(5,"iam-button-row"),v(6,"iam-button",5)(7,"iam-cancel-button")(8,"iam-goto-buttons"),F()()()}if(i&2){let r=h();n("pageId",r.pageId)("bodyAttributes",r.bodyAttributes)("title","protected.self-service.cronto.edit.title"),a(),n("form",r.form),a(),n("id","crontoDeviceEditInstructions")("text","protected.self-service.cronto.edit.instructions"),a(),n("id","name")("required",!0)("control",r.form.controls.name)("label","protected.self-service.cronto.edit.label")("type","text"),a(3),n("id","editDevice")("submit",!0)("disabled",!r.form.valid)("text","protected.self-service.cronto.edit.actions.continue")}}var X=(()=>{let e=class e extends Q{constructor(){super(),this.restService=s(d)}get pageId(){return"iamProtectedSelfServiceCrontoDeviceEdit"}ngOnInit(){this.initialDevice=this.initUiConfig().pipe(c(t=>this.toCrontoDevice(t.additionalAttribute("currentCrontoDeviceName"))),C({next:t=>this.initializeForm(t),error:t=>this.handleFailedStep(t)}))}editDevice(){this.restService.editDevice(this.form.model).subscribe({next:t=>this.handleEditResult(t),error:t=>this.handleFailedStep(t)})}handleEditResult(t){t.nextStep()==="CRONTO_DEVICE_RENAMING_POSSIBLE"&&this.continue()}continue(){this.restService.continue().subscribe({next:t=>this.handleSuccessfulStep(t),error:t=>this.handleFailedStep(t)})}initializeForm(t){this.form=_.of(t,{required:["name"]})}toCrontoDevice(t){let o=new f;return o.name=t,o}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=D({type:e,selectors:[["iam-cronto-device-edit"]],standalone:!1,features:[I],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title",4,"ngIf"],[3,"pageId","bodyAttributes","title"],[3,"formSubmit","form"],[3,"id","text"],[3,"id","required","control","label","type"],[3,"id","submit","disabled","text"]],template:function(o,l){o&1&&(E(0,Y,9,15,"iam-page",0),j(1,"async")),o&2&&n("ngIf",N(1,1,l.initialDevice))},dependencies:[M,V,q,J,L,U,H,G,z,W,B],encapsulation:2});let i=e;return i})();var Z=[{path:"",component:X,pathMatch:"full",runGuardsAndResolvers:"always"}],Be=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=w({type:e}),e.\u0275inj=y({providers:[p,d],imports:[P.forChild(Z),K]});let i=e;return i})();export{Be as CrontoSelfServiceDeviceEditModule};

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.