PageSourceSearch

https://www.idram.am/chunk-DPG7SDA6.js

js idram.am collected 2026-10-07 19:42:22 UTC 10,714 bytes, 1 lines download raw bytes

1import{i as T,o as V}from"./chunk-AZMM5NEP.js";import{Eb as k,Nb as L,Sb as R,T as d,Z as h,aa as w,ca as o,da as D,db as P,e as m,eb as f,jb as I,ma as b,mb as y,ob as C,qa as r,rb as S,wa as B,xb as A}from"./chunk-BQKBE2AG.js";import{a as c,b as p,g as u}from"./chunk-TSRGIXR5.js";function E(i,N){i&1&&L(0)}var x=new w("@sweetalert2/ngx-sweetalert2#swalProvider"),H=new w("@sweetalert2/ngx-sweetalert2#fireOnInit"),F=new w("@sweetalert2/ngx-sweetalert2#dismissOnDestroy"),O=(()=>{class i{swalProvider=o(x);swalPromiseCache;get swal(){return this.swalPromiseCache||this.preloadSweetAlertLibrary(),this.swalPromiseCache}preloadSweetAlertLibrary(){if(this.swalPromiseCache)return;let e=t(this.swalProvider)?this.swalProvider():Promise.resolve(this.swalProvider);this.swalPromiseCache=e.then(s=>n(s)?s:s.default);function t(s){return typeof s=="function"&&s.version===void 0}function n(s){return typeof s=="function"}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),g=(()=>{class i{sweetAlert2Loader=o(O);moduleLevelFireOnInit=o(H);moduleLevelDismissOnDestroy=o(F);title;titleText;text;html;footer;icon;iconColor;iconHtml;backdrop;toast;target;input;width;padding;background;position;grow;showClass;hideClass;customClass;timer;timerProgressBar;heightAuto;allowOutsideClick;allowEscapeKey;allowEnterKey;stopKeydownPropagation;keydownListenerCapture;showConfirmButton;showDenyButton;showCancelButton;confirmButtonText;denyButtonText;cancelButtonText;confirmButtonColor;denyButtonColor;cancelButtonColor;confirmButtonAriaLabel;denyButtonAriaLabel;cancelButtonAriaLabel;buttonsStyling;reverseButtons;focusConfirm;focusDeny;focusCancel;showCloseButton;closeButtonHtml;closeButtonAriaLabel;loaderHtml;showLoaderOnConfirm;preConfirm;preDeny;imageUrl;imageWidth;imageHeight;imageAlt;inputLabel;inputPlaceholder;inputValue;inputOptions;inputAutoTrim;inputAttributes;inputValidator;returnInputValueOnDeny;validationMessage;progressSteps;currentProgressStep;progressStepsDistance;scrollbarPadding;set swalOptions(e){Object.assign(this,e),Object.keys(e).forEach(this.markTouched)}get swalOptions(){return[...this.touchedProps].reduce((e,t)=>p(c({},e),{[t]:this[t]}),{})}swalFireOnInit;swalDismissOnDestroy;set swalVisible(e){e?this.fire():this.close()}get swalVisible(){return this.isCurrentlyShown}willOpen=new r;didOpen=new r;didRender=new r;willClose=new r;didClose=new r;didDestroy=new r;confirm=new r;deny=new r;dismiss=new r;touchedProps=new Set;markTouched=this.touchedProps.add.bind(this.touchedProps);isCurrentlyShown=!1;ngOnInit(){this.sweetAlert2Loader.preloadSweetAlertLibrary()}ngAfterViewInit(){(this.swalFireOnInit===void 0?this.moduleLevelFireOnInit:this.swalFireOnInit)&&this.fire()}ngOnChanges(e){Object.keys(e).filter(t=>!t.startsWith("swal")).forEach(this.markTouched),this.update()}ngOnDestroy(){(this.swalDismissOnDestroy===void 0?this.moduleLevelDismissOnDestroy:this.swalDismissOnDestroy)&&this.close()}fire(){return u(this,null,function*(){let e=yield this.sweetAlert2Loader.swal,t=this.swalOptions,n=p(c({},t),{willOpen:l(t.willOpen,a=>{this.willOpen.emit({modalElement:a})}),didOpen:l(t.didOpen,a=>{this.isCurrentlyShown=!0,this.didOpen.emit({modalElement:a})}),didRender:l(t.didRender,a=>{this.didRender.emit({modalElement:a})}),willClose:l(t.willClose,a=>{this.isCurrentlyShown=!1,this.willClose.emit({modalElement:a})}),didClose:l(t.didClose,()=>{this.didClose.emit()}),didDestroy:l(t.didDestroy,()=>{this.didDestroy.emit()})}),s=yield e.fire(n);switch(!0){case s.isConfirmed:this.confirm.emit(s.value);break;case s.isDenied:this.deny.emit();break;case s.isDismissed:this.dismiss.emit(s.dismiss);break}return s;function l(a,j){return(...v)=>(j(...v),a?.(...v))}})}close(e){return u(this,null,function*(){if(!this.isCurrentlyShown)return;(yield this.sweetAlert2Loader.swal).close(e)})}update(e){return u(this,null,function*(){if(e&&(this.swalOptions=e),!this.isCurrentlyShown)return;let t=yield this.sweetAlert2Loader.swal,n=this.swalOptions,s=Object.keys(n).filter(t.isUpdatableParameter).reduce((l,a)=>p(c({},l),{[a]:n[a]}),{});t.update(s)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["swal"]],inputs:{title:"title",titleText:"titleText",text:"text",html:"html",footer:"footer",icon:"icon",iconColor:"iconColor",iconHtml:"iconHtml",backdrop:"backdrop",toast:"toast",target:"target",input:"input",width:"width",padding:"padding",background:"background",position:"position",grow:"grow",showClass:"showClass",hideClass:"hideClass",customClass:"customClass",timer:"timer",timerProgressBar:"timerProgressBar",heightAuto:"heightAuto",allowOutsideClick:"allowOutsideClick",allowEscapeKey:"allowEscapeKey",allowEnterKey:"allowEnterKey",stopKeydownPropagation:"stopKeydownPropagation",keydownListenerCapture:"keydownListenerCapture",showConfirmButton:"showConfirmButton",showDenyButton:"showDenyButton",showCancelButton:"showCancelButton",confirmButtonText:"confirmButtonText",denyButtonText:"denyButtonText",cancelButtonText:"cancelButtonText",confirmButtonColor:"confirmButtonColor",denyButtonColor:"denyButtonColor",cancelButtonColor:"cancelButtonColor",confirmButtonAriaLabel:"confirmButtonAriaLabel",denyButtonAriaLabel:"denyButtonAriaLabel",cancelButtonAriaLabel:"cancelButtonAriaLabel",buttonsStyling:"buttonsStyling",reverseButtons:"reverseButtons",focusConfirm:"focusConfirm",focusDeny:"focusDeny",focusCancel:"focusCancel",showCloseButton:"showCloseButton",closeButtonHtml:"closeButtonHtml",closeButtonAriaLabel:"closeButtonAriaLabel",loaderHtml:"loaderHtml",showLoaderOnConfirm:"showLoaderOnConfirm",preConfirm:"preConfirm",preDeny:"preDeny",imageUrl:"imageUrl",imageWidth:"imageWidth",imageHeight:"imageHeight",imageAlt:"imageAlt",inputLabel:"inputLabel",inputPlaceholder:"inputPlaceholder",inputValue:"inputValue",inputOptions:"inputOptions",inputAutoTrim:"inputAutoTrim",inputAttributes:"inputAttributes",inputValidator:"inputValidator",returnInputValueOnDeny:"returnInputValueOnDeny",validationMessage:"validationMessage",progressSteps:"progressSteps",currentProgressStep:"currentProgressStep",progressStepsDistance:"progressStepsDistance",scrollbarPadding:"scrollbarPadding",swalOptions:"swalOptions",swalFireOnInit:"swalFireOnInit",swalDismissOnDestroy:"swalDismissOnDestroy",swalVisible:"swalVisible"},outputs:{willOpen:"willOpen",didOpen:"didOpen",didRender:"didRender",willClose:"willClose",didClose
1:"didClose",didDestroy:"didDestroy",confirm:"confirm",deny:"deny",dismiss:"dismiss"},features:[B],decls:0,vars:0,template:function(t,n){},encapsulation:2,changeDetection:0})}return i})(),oe=(()=>{class i{viewContainerRef=o(I);resolver=o(f);set swal(e){e instanceof g?this.swalInstance=e:t(e)?(this.swalOptions={},[this.swalOptions.title,this.swalOptions.text,this.swalOptions.icon]=e):this.swalOptions=e;function t(n){return Array.isArray(n)}}confirm=new r;deny=new r;dismiss=new r;swalRef;swalInstance;swalOptions;ngOnInit(){if(!this.swalInstance){let e=this.resolver.resolveComponentFactory(g);this.swalRef=this.viewContainerRef.createComponent(e),this.swalInstance=this.swalRef.instance}}ngOnDestroy(){this.swalRef&&this.swalRef.destroy()}onClick(e){if(e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),!this.swalInstance)return;this.swalOptions&&(this.swalInstance.swalOptions=this.swalOptions);let t=new m;this.swalInstance.confirm.asObservable().pipe(d(t)).subscribe(n=>this.confirm.emit(n)),this.swalInstance.deny.asObservable().pipe(d(t)).subscribe(n=>this.deny.emit(n)),this.swalInstance.dismiss.asObservable().pipe(d(t)).subscribe(n=>this.dismiss.emit(n)),this.swalInstance.fire().then(()=>t.next())}static \u0275fac=function(t){return new(t||i)};static \u0275dir=C({type:i,selectors:[["","swal",""]],hostBindings:function(t,n){t&1&&R("click",function(l){return n.onClick(l)})},inputs:{swal:"swal"}
1,outputs:{confirm:"confirm",deny:"deny",dismiss:"dismiss"}})}return i})(),M=(()=>{class i{closeButton={element:e=>e.getCloseButton(),options:{showCloseButton:!0}};title={element:e=>e.getTitle(),options:{title:" "}};content={element:e=>e.getHtmlContainer(),options:{text:" "}};actions={element:e=>e.getActions(),options:{showConfirmButton:!0}};confirmButton={element:e=>e.getConfirmButton(),options:{showConfirmButton:!0}};denyButton={element:e=>e.getDenyButton(),options:{showDenyButton:!0}};cancelButton={element:e=>e.getCancelButton(),options:{showCancelButton:!0}};footer={element:e=>e.getFooter(),options:{footer:" "}};static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),K=(()=>{class i{template=null;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=y({type:i,selectors:[["swal-portal"]],inputs:{template:"template"},decls:1,vars:1,consts:[[4,"ngTemplateOutlet"]],template:function(t,n){t&1&&S(0,E,1,0,"ng-container",0),t&2&&k("ngTemplateOutlet",n.template)},dependencies:[V,T],encapsulation:2,changeDetection:0})}return i})(),re=(()=>{class i{resolver=o(f);injector=o(b);app=o(A);templateRef=o(P);sweetAlert2Loader=o(O);swalTargets=o(M);swalComponent=o(g,{host:!0});target;portalComponentRef;destroyed=new m;ngOnInit(){this.target=this.target||this.swalTargets.content,this.swalComponent.update(this.target.options),this.swalComponent.didRender.pipe(d(this.destroyed)).subscribe(this.didRenderHook.bind(this)),this.swalComponent.willOpen.pipe(d(this.destroyed)).subscribe(this.willOpenHook.bind(this)),this.swalComponent.didDestroy.pipe(d(this.destroyed)).subscribe(this.didDestroyHook.bind(this))}ngOnDestroy(){this.destroyed.next()}didRenderHook(){return u(this,null,function*(){this.portalComponentRef||(this.portalComponentRef=this.createPortalComponent());let e=yield this.sweetAlert2Loader.swal,t=this.target.element(e);if(t){for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(this.portalComponentRef.location.nativeElement)}})}willOpenHook(){this.portalComponentRef&&this.app.attachView(this.portalComponentRef.hostView)}didDestroyHook(){this.portalComponentRef&&(this.app.detachView(this.portalComponentRef.hostView),this.portalComponentRef.destroy(),this.portalComponentRef=void 0)}createPortalComponent(){let t=this.resolver.resolveComponentFactory(K).create(this.injector,[]);return t.instance.template=this.templateRef,t}static \u0275fac=function(t){return new(t||i)};static \u0275dir=C({type:i,selectors:[["","swalPortal",""]],inputs:{target:[0,"swalPortal","target"]}})}return i})();function U(){return import("./chunk-UO33ORT3.js")}function ae(i={}){return D([O,M,{provide:x,useValue:i.provideSwal??U},{provide:H,useValue:i.fireOnInit??!1},{provide:F,useValue:i.dismissOnDestroy??!0}])}export{g as a,oe as b,M as c,re as d,ae as e};

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.