1import{b as k}from"./chunk-NZJ33BRL.js";import{c as A}from"./chunk-TWWRSAAI.js";import{Ac as y,Ca as w,Ib as b,Ja as p,Jb as u,Ka as m,Lb as P,Mb as T,Ob as x,R as s,Rb as h,Tb as o,Ua as f,Zc as E,d as r,dc as g,dd as K,fb as a,fc as C,gb as I,ka as S,na as d,p as L,rc as D,ub as _,wb as l,yb as O,zc as M}from"./chunk-ZIECK5QA.js";var V=(n,i)=>({cancel:n,confirm:i});function F(n,i){if(n&1){let c=x();b(0,"button",3),h("click",function(){p(c);let t=o(2);return m(t.cancelModal())}),g(1),u()}if(n&2){let c,e=o().sipLet,t=o();l("id",(c=t.cancelId)!==null&&c!==void 0?c:"cancelModal")("disabled",!!t.cancelDisabled),a(),C(" ",e.cancel," ")}}function $(n,i){if(n&1){let c=x();P(0),_(1,F,2,3,"button",1),b(2,"button",2),h("click",function(){p(c);let t=o();return m(t.confirmModal())}),g(3),u(),T()}if(n&2){let c,e=i.sipLet,t=o();a(),l("ngIf",e.cancel),a(),O("single-btn",!e.cancel),l("id",(c=t.confirmId)!==null&&c!==void 0?c:"confirmModal")("disabled",!!t.confirmDisabled),a(),C(" ",e.confirm," ")}}var B="modal.close",W=(()=>{let i=class i{set confirmKey(e){e?this.translationService.translate(e).pipe(s(1),d(t=>this._confirmLabel.next(t))).subscribe():this._confirmLabel.next(null)}set cancelKey(e){e?this.translationService.translate(e).pipe(s(1),d(t=>this._cancelLabel.next(t))).subscribe():this._cancelLabel.next(null)}set confirmText(e){this._confirmLabel.next(e)}set cancelText(e){this._cancelLabel.next(e)}constructor(e){this.translationService=e,this.confirmed=new f,this.cancelled=new f,this._confirmLabel=new r(null),this._cancelLabel=new r(null),this.confirmLabel$=this._confirmLabel.asObservable().pipe(S(t=>t===null?this.translationService.translate(B):L(t))),this.cancelLabel$=this._cancelLabel.asObservable()}confirmModal(){this.confirmed.emit()}cancelModal(){this.cancelled.emit()}};i.\u0275fac=function(t){return new(t||i)(I(k))},i.\u0275cmp=w({type:i,selectors:[["sip-modal-actions"]],inputs:{confirmKey:"confirmKey",cancelKey:"cancelKey",confirmText:"confirmText",cancelText:"cancelText",confirmId:"confirmId",cancelId:"cancelId",confirmDisabled:"confirmDisabled",cancelDisabled:"cancelDisabled"},outputs:{confirmed:"confirmed",cancelled:"cancelled"},decls:3,vars:8,consts:[[4,"sipLet"],["class","cds-btn cds-btn-secondary","type","button",3,"id","disabled","click",4,"ngIf"],["type","submit",1,"cds-btn","cds-btn-primary",3,"click","id","disabled"],["type","button",1,"cds-btn","cds-btn-secondary",3,"click","id","disabled"]],template:function(t,v){t&1&&(_(0,$,4,6,"ng-container",0),M(1,"async"),M(2,"async")),t&2&&l("sipLet",D(5,V,y(1,1,v.cancelLabel$),y(2,3,v.confirmLabel$)))},dependencies:[E,A,K],styles:["[_nghost-%COMP%]{display:flex;gap:16px}@media (max-width: 768px){[_nghost-%COMP%]{flex-direction:column}}[_nghost-%COMP%] .cds-btn[_ngcontent-%COMP%], [_nghost-%COMP%] .footer-btn-placeholder[_ngcontent-%COMP%]{flex:1;margin:0}[_nghost-%COMP%]:has(.single-btn){flex-direction:row-reverse}@media (min-width: 768px){[_nghost-%COMP%] .single-btn[_ngcontent-%COMP%]{margin-left:16px;flex:0 1 50%}}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{content:none}"],changeDetection:0});let n=i;return n})();export{W as a};
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.