"use strict";(self.webpackChunkarter=self.webpackChunkarter||[]).push([[592],{21669:function(t,e,i){i.d(e,{E:function(){return o}});var n=i(49670),r=i(88720),s=i(91841);let o=(()=>{class t{constructor(t){this.httpClient=t}getGlobalSettings(){const t=n.X.apiUrls.administration.getGlobalSettings();return this.httpClient.get(t)}updateGlobalSettings(t,e){const i=n.X.apiUrls.administration.updateGlobalSettings(t);return this.httpClient.put(i,e)}updateRedListServiceFrequency(t,e){const i=n.X.apiUrls.administration.updateRedListServiceFrequency(t);return this.httpClient.put(i,e)}syncRedList(){const t=n.X.apiUrls.administration.redListSync();return this.httpClient.post(t,null)}getSubscriptions(){const t=n.X.apiUrls.administration.getSubscriptions();return this.httpClient.get(t)}createSubscription(t){const e=n.X.apiUrls.administration.createSubscription();return this.httpClient.post(e,t)}updateSubscription(t){const e=n.X.apiUrls.administration.updateSubscription(t.id);return this.httpClient.put(e,t)}deleteSubscription(t){const e=n.X.apiUrls.administration.deleteSubscription(t);return this.httpClient.delete(e)}executeSubscriptionManual(t){const e=n.X.apiUrls.administration.executeSubscriptionManual(t);return this.httpClient.get(e)}sendSubscriptionEmail(t){const e=n.X.apiUrls.administration.sendSubscriptionEmail(t);return this.httpClient.post(e,t)}getUserSubscriptions(t){const e=n.X.apiUrls.administration.getUserSubscriptions(t);return this.httpClient.get(e)}addUserSubscription(t){const e=n.X.apiUrls.administration.addUserSubscription(t);return this.httpClient.put(e,t)}deleteUserSubscription(t){const e=n.X.apiUrls.administration.deleteUserSubscription(t);return this.httpClient.put(e,t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(s.eN))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},99174:function(t,e,i){i.d(e,{f:function(){return a}});var n=i(3679),r=i(88720),s=i(38583);function o(t,e){if(1&t&&(r.TgZ(0,"label",9),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.fieldLabel)}}function u(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",10),r.NdJ("click",function(){return r.CHM(t),r.oxw().onRemoveValue()}),r._UZ(1,"i",11),r.qZA()}}let a=(()=>{class t{constructor(t,e){this.formBuilder=t,this.cdRef=e,this.type="number"}ngOnInit(){this.buildForm()}buildForm(){this.inputForm||(this.inputForm=this.formBuilder.group({inputValue:[null,[n.kI.min(0)]]}),this.inputForm.valueChanges.subscribe(t=>{this.onChange(t.inputValue)}))}onRemoveValue(){this.inputForm.patchValue({inputValue:null})}writeValue(t){this.inputForm.patchValue({inputValue:t},{emitEvent:!1}),this.cdRef.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){}setDisabledState(t){}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(n.qu),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-number-input"]],inputs:{type:"type",fieldLabel:"fieldLabel",fieldPlaceholder:"fieldPlaceholder"},features:[r._Bn([{provide:n.JU,useExisting:t,multi:!0}])],decls:9,vars:5,consts:[[3,"formGroup"],[1,"row"],[1,"col-12","mt-0"],[1,"form-group","mb-0"],["for","inputValue",4,"ngIf"],[1,"d-flex"],["id","inputValue","formControlName","inputValue",1,"form-control",3,"type","placeholder"],["inputValue",""],["class","btn btn-link p-0",3,"click",4,"ngIf"],["for","inputValue"],[1,"btn","btn-link","p-0",3,"click"],[1,"far","fa-times-circle"]],template:function(t,e){1&t&&(r.TgZ(0,"form",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.YNc(4,o,2,1,"label",4),r.TgZ(5,"div",5),r._UZ(6,"input",6,7),r.YNc(8,u,2,0,"button",8),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.Q6J("formGroup",e.inputForm),r.xp6(4),r.Q6J("ngIf",e.fieldLabel),r.xp6(2),r.s9C("placeholder",e.fieldPlaceholder),r.Q6J("type",e.type),r.xp6(2),r.Q6J("ngIf",e.inputForm.value.inputValue))},directives:[n._Y,n.JL,n.sg,s.O5,n.Fj,n.JJ,n.u],encapsulation:2,changeDetection:0}),t})()},93860:function(t,e,i){i.d(e,{W:function(){return r}});var n=i(88720);let r=(()=>{class t{transform(t,e="",i=""){return t&&""!==e&&e?i&&""!==i?t.length<=1?t:t.sort(function(t,e){return t[i].toLowerCase().localeCompare(e[i].toLowerCase())}):"asc"===e?t.sort(function(t,e){return t.toLowerCase().localeCompare(e.toLowerCase())}):t.sort(function(t,e){return t.toLowerCase().localeCompare(e.toLowerCase())}).reverse():t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=n.Yjl({name:"sortBy",type:t,pure:!0}),t})()}}]);