PageSourceSearch

https://24tv.ua/default-src_app_controls_re-captcha_re-captcha_com…ces_contacts_service_ts.98193a9db070afe2.js

js 24tv.ua collected 2026-09-24 07:24:03 UTC 5,467 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktv24app=self.webpackChunktv24app||[]).push([["default-src_app_controls_re-captcha_re-captcha_component_ts-src_app_services_contacts_service_ts"],{39587:(b,f,r)=>{r.d(f,{p:()=>A});var t=r(65879),o=r(96814),p=r(22096),g=r(65619);const h=new t.OlP("recaptcha-language"),R=new t.OlP("recaptcha-base-url"),a=new t.OlP("recaptcha-nonce-tag"),u=new t.OlP("recaptcha-settings"),v=new t.OlP("recaptcha-v3-site-key"),E_loadScript=function C(i,l,e,s,n){window.ng2recaptchaloaded=()=>{l(grecaptcha)};const c=document.createElement("script");c.innerHTML="",c.src=`${s||"https://www.google.com/recaptcha/api.js"}?render=${i}&onload=ng2recaptchaloaded${e}`,n&&(c.nonce=n),c.async=!0,c.defer=!0,document.head.appendChild(c)};let m=(()=>{class i{static{this.ready=null}constructor(e,s,n,c,d){this.platformId=e,this.language=s,this.baseUrl=n,this.nonce=c,this.v3SiteKey=d,this.init(),this.ready=(0,o.NF)(this.platformId)?i.ready.asObservable():(0,p.of)()}init(){if(!i.ready&&(0,o.NF)(this.platformId)){const e=new g.X(null);i.ready=e,E_loadScript(this.v3SiteKey||"explicit",c=>e.next(c),this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}}static{this.\u0275fac=function(s){return new(s||i)(t.LFG(t.Lbi),t.LFG(h,8),t.LFG(R,8),t.LFG(a,8),t.LFG(v,8))}}static{this.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac})}}return i})(),y=0,_=(()=>{class i{constructor(e,s,n,c){this.elementRef=e,this.loader=s,this.zone=n,this.id="ngrecaptcha-"+y++,this.errorMode="default",this.resolved=new t.vpe,this.error=new t.vpe,this.errored=new t.vpe,c&&(this.siteKey=c.siteKey,this.theme=c.theme,this.type=c.type,this.size=c.size,this.badge=c.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(e=>{null!=e&&e.render instanceof Function&&(this.grecaptcha=e,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(e){this.error.emit(e),this.errored.emit(e)}captchaResponseCallback(e){this.resolved.emit(e)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const e={badge:this.badge,callback:s=>{this.zone.run(()=>this.captchaResponseCallback(s))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(e["error-callback"]=(...s)=>{this.zone.run(()=>this.onError(s))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,e),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}static{this.\u0275fac=function(s){return new(s||i)(t.Y36(t.SBq),t.Y36(m),t.Y36(t.R0b),t.Y36(u,8))}}static{this.\u0275cmp=t.Xpm({type:i,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(s,n){2&s&&t.uIk("id",n.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(s,n){},encapsulation:2})}}return i})(),x=(()=>{class i{static{this.\u0275fac=function(s){return new(s||i)}}static{this.\u0275mod=t.oAB({type:i})}static{this.\u0275inj=t.cJS({})}}return i})(),M=(()=>{class i{static{this.\u0275fac=function(s){return new(s||i)}}static{this.\u0275mod=t.oAB({type:i})}static{this.\u0275inj=t.cJS({providers:[m],imports:[x]})}}return i})();function w(i,l){if(1&i){const e=t.EpF();t.TgZ(0,"re-captcha",1),t.NdJ("resolved",function(n){t.CHM(e);const c=t.oxw();return t.KtG(c.resolvedCallback(n))}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("siteKey",e.publicKey)("theme",e.theme)}}let A=(()=>{class i{constructor(){this.publicKey=null,this.theme="light",this.resolved=new t.vpe}resolvedCallback(e){this.resolved.emit(e)}static{this.\u0275fac=function(s){return new(s||i)}}static{this.\u0275cmp=t.Xpm({type:i,selectors:[["app-re-captcha"]],inputs:{publicKey:"publicKey",theme:"theme"},outputs:{resolved:"resolved"},standalone:!0,features:[t.jDz],decls:1,vars:1,consts:[[3,"siteKey","theme","resolved",4,"ngIf"],[3,"siteKey","theme","resolved"]],template:function(s,n){1&s&&t.YNc(0,w,1,2,"re-captcha",0),2&s&&t.Q6J("ngIf",n.publicKey)},dependencies:[o.ez,o.O5,M,_],encapsulation:2})}}return i})()},92981:(b,f,r)=>{r.d(f,{P:()=>g});
1var t=r(69862),o=r(20553),p=r(65879);let g=(()=>{class h{constructor(a){this.http=a}getDepartments(){const u=(new t.LE).set("fields",["departmentId","departmentName","departmentNameRu","departmentNameEn"].toString());return this.http.get(`${o.N.apiBase}/contacts/departments`,{params:u})}validateForm(a){return this.http.post(`${o.N.apiBase}/contacts/sendFeedback`,a,{observe:"response"})}sendEmailToChimp(a){return this.http.post(`${o.N.apiBase}/chimp/subscribe`,{email_address:a.value.email,status:"subscribed"})}subscribeMailingsByEmail(a,u){return this.http.post(`${o.N.apiBase}/chimp/mailing`,{email:a,uniqueCodeIds:u})}static{this.\u0275fac=function(u){return new(u||h)(p.LFG(t.eN))}}static{this.\u0275prov=p.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()}}]);

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.