PageSourceSearch

https://abfpay.com/chunk-NHD3XYP2.js

js abfpay.com collected 2026-09-24 13:29:51 UTC 16,942 bytes, 1 lines download raw bytes

1import{A as fe,c as ae,m as oe,n as ce,p as le,q as ue,s as he,t as x,u as de,v as L}from"./chunk-PH5RCBEC.js";import{b as ge,d as pe}from"./chunk-HMRAYO57.js";import{g as re,l as se,p as ne}from"./chunk-4XZE27ZA.js";import{$ as p,A as K,Cc as te,Fa as Z,L as V,Nc as ie,P as W,aa as G,c as z,ca as d,d as N,da as u,e as F,ea as S,f as w,h as U,k as P,kb as A,l as C,n as D,nb as Q,oa as H,p as k,q as T,qb as X,s as $,sb as J,wa as B,xa as q,za as Y,zb as ee}from"./chunk-GODGHRCG.js";import{a as m,b as y}from"./chunk-6MDQTQU3.js";var Ae=new d("LOCALIZE_ROUTER_FORROOT_GUARD"),b=new d("RAW_ROUTES"),f=(function(i){return i.LocalStorage="LocalStorage",i.SessionStorage="SessionStorage",i.Cookie="Cookie",i})(f||{}),Le=new d("USE_CACHED_LANG"),ye=new d("CACHE_MECHANISM"),Ce=new d("CACHE_NAME"),Se=new d("COOKIE_FORMAT"),ve=new d("INITIAL_NAVIGATION"),_e=new d("DEFAULT_LANG_FUNCTION"),Ie=new d("ALWAYS_SET_PREFIX"),xe="LOCALIZE_DEFAULT_LANGUAGE",be="{{value}};{{expires}}",Oe=!1,_=(()=>{class i{constructor(e=!0,t=!0,r=f.LocalStorage,s=xe,a=void 0,o=be,l=Oe){this.useCachedLang=e,this.alwaysSetPrefix=t,this.cacheName=s,this.cookieFormat=o,this.initialNavigation=l,this.cacheMechanism=r,this.defaultLangFunction=a}static{this.\u0275fac=function(t){return new(t||i)(u(Le),u(Ie),u(ye),u(Ce),u(_e),u(Se),u(ve))}}static{this.\u0275prov=p({token:i,factory:i.\u0275fac})}}return i})(),je=30,R=(()=>{class i{constructor(e,t,r){this.translate=e,this.location=t,this.settings=r}init(e){let t;if(this.routes=e,!this.locales||!this.locales.length)return Promise.resolve();let r=this.getLocationLang(),s=this._getBrowserLang();this.settings.defaultLangFunction?this.defaultLang=this.settings.defaultLangFunction(this.locales,this._cachedLang,s):this.defaultLang=this._cachedLang||s||this.locales[0],t=r||this.defaultLang,this.translate.setFallbackLang(this.defaultLang);let a=[];if(this.settings.alwaysSetPrefix){let o={path:"",redirectTo:this.defaultLang,pathMatch:"full"},l=e.findIndex(c=>c.path==="**");l!==-1&&(this._wildcardRoute=e.splice(l,1)[0]),a=this.routes.splice(0,this.routes.length,o)}else a=[...this.routes];for(let o=a.length-1;o>=0;o--)a[o].data&&a[o].data.skipRouteLocalization&&(this.settings.alwaysSetPrefix&&this.routes.push(a[o]),(a[o].redirectTo===void 0||!a[o].data.skipRouteLocalization.localizeRedirectTo||typeof a[o].redirectTo=="function")&&a.splice(o,1));return a&&a.length&&(this.locales.length>1||this.settings.alwaysSetPrefix)&&(this._languageRoute={children:a},this.routes.unshift(this._languageRoute)),this._wildcardRoute&&this.settings.alwaysSetPrefix&&this.routes.push(this._wildcardRoute),k(this.translateRoutes(t))}initChildRoutes(e){return this._translateRouteTree(e),e}translateRoutes(e){return new z(t=>{this._cachedLang=e,this._languageRoute&&(this._languageRoute.path=e),this.translate.use(e).subscribe(r=>{this._translationObject=r,this.currentLang=e,this._languageRoute?(this._translateRouteTree(this._languageRoute.children,!0),this._wildcardRoute&&this._wildcardRoute.redirectTo&&this._translateProperty(this._wildcardRoute,"redirectTo",!0)):this._translateRouteTree(this.routes,!0),t.next(void 0),t.complete()})})}_translateRouteTree(e,t){e.forEach(r=>{let s=r.data&&r.data.skipRouteLocalization,a=!s||s.localizeRedirectTo;if(r.redirectTo&&a&&typeof r.redirectTo!="function"){let o=r.redirectTo.indexOf("/")===0||t;this._translateProperty(r,"redirectTo",o)}s||(r.path!==null&&r.path!==void 0&&this._translateProperty(r,"path"),r.children&&this._translateRouteTree(r.children),r.loadChildren&&r._loadedRoutes?.length&&this._translateRouteTree(r._loadedRoutes))})}_translateProperty(e,t,r){let s=e.data=e.data||{};s.localizeRouter||(s.localizeRouter={}),s.localizeRouter[t]||(s.localizeRouter=y(m({},s.localizeRouter),{[t]:e[t]}));let a=this.translateRoute(s.localizeRouter[t]);e[t]=r?this.addPrefixToUrl(a):a}get urlPrefix(){return this.settings.alwaysSetPrefix||this.currentLang!==this.defaultLang?this.currentLang?this.currentLang:this.defaultLang:""}addPrefixToUrl(e){let t=e.split("?"),r=t[0].length===1&&t[0]==="/";t[0]=t[0].replace(/\/$/,"");let s=t.join("?");return this.urlPrefix===""?s:!s.startsWith("/")&&!r?`${this.urlPrefix}/${s}`:`/${this.urlPrefix}${s}`}translateRoute(e){let t=e.split("?");if(t.length>2)throw Error("There should be only one query parameter block in the URL");return t[0].split("/").map(s=>s.length?this.translateText(s):s).join("/")+(t.length>1?`?${t[1]}`:"")}getLocationLang(e){let t=(e||this.location.path()).split(/[\?;]/),r=[];return t.length>0&&(r=t[0].split("/")),r.length>1&&this.locales.indexOf(r[1])!==-1?r[1]:r.length&&this.locales.indexOf(r[0])!==-1?r[0]:null}_getBrowserLang(){return this._returnIfInLocales(this.translate.getBrowserLang())}get _cachedLang(){if(this.settings.useCachedLang){if(this.settings.cacheMechanism===f.LocalStorage)return this._cacheWithLocalStorage();if(this.settings.cacheMechanism===f.SessionStorage)return this._cacheWithSessionStorage();if(this.settings.cacheMechanism===f.Cookie)return this._cacheWithCookies()}}set _cachedLang(e){this.settings.useCachedLang&&(this.settings.cacheMechanism===f.LocalStorage&&this._cacheWithLocalStorage(e),this.settings.cacheMechanism===f.SessionStorage&&this._cacheWithSessionStorage(e),this.settings.cacheMechanism===f.Cookie&&this._cacheWithCookies(e))}_cacheWithLocalStorage(e){try{if(typeof window>"u"||typeof window.localStorage>"u")return;if(e){window.localStorage.setItem(this.settings.cacheName,e);return}return this._returnIfInLocales(window.localStorage.getItem(this.settings.cacheName))}catch{return}}_cacheWithSessionStorage(e){try{if(typeof window>"u"||typeof window.sessionStorage>"u")return;if(e){window.sessionStorage.setItem(this.settings.cacheName,e);return}return this._returnIfInLocales(window.sessionStorage.getItem(this.settings.cacheName))}catch{return}}_cacheWithCookies(e){try{if(typeof document>"u"||typeof document.cookie>"u")return;let t=encodeURIComponent(this.settings.cacheName);if(e){let a=`${this.settings.cookieFormat}`;a=a.replace("{{value}}",`${t}=${encodeURIComponent(e)}`).replace(/{{expires:?(\d+)?}}/g,(o,l)=>{let c=l===void 0?je:parseInt(l,10),h=new Date;return h.setTime(h.getTime()+c*864e5),`expires=${h.toUTCString()}`}),document.cookie=a;return}let s=new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g").exec(document.cookie);return decodeURIComponent(s[1])}catch{return}}_returnIfInLocales(e){return e&&this.locales.indexOf(e)!==-1?e:null}translateText(e){if(this.escapePrefix&&e.startsWith(this.escapePrefix))return e.replace(this.escapePrefix,"");{if(!this._translationObject)return e;let t=this.prefix+e,r=this.translate.getParsedResult(t);return r!==t?r:e}}chooseQueryParams(e,t){let r;return e&&e.queryParams?r=e.queryParams:t&&(r=t),r}formatQueryParams(e){return new ae({fromObject:e}).toString()}getPrefix(){return this.prefix}getEscapePrefix(){return this.escapePrefix}static{this.\u0275fac=function(t){return new(t||i)(u(ge),u(re),u(_))}}static{this.\u0275prov=p({token:i,factory:i.\u0275fac})}}return i})(),me=class extends R{constructor(n,e,t,r=["en"],s="ROUTES.",a=""){super(n,e,t),this.locales=r,this.prefix=s||"",this.escapePrefix=a||""}load(n){return new Promise(e=>{this.init(n).then(e)})}},Ee=(()=>{class i extends R{load(e){return new Promise(t=>{this.init(e).then(t)})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Y(i)))(r||i)}})()}static{this.\u0275prov=p({token:i,factory:i.\u0275fac})}}return i})();
1function v(i,n){if(i===n)return!0;if(i===null||n===null)return!1;if(i!==i&&n!==n)return!0;let e=typeof i,t=typeof n,r,s,a;if(e===t&&e==="object")if(Array.isArray(i)){if(!Array.isArray(n))return!1;if((r=i.length)===n.length){for(s=0;s<r;s++)if(!v(i[s],n[s]))return!1;return!0}}else{if(Array.isArray(n))return!1;a=Object.create(null);for(s in i)if(i.hasOwnProperty(s)){if(!v(i[s],n[s]))return!1;a[s]=!0}for(s in n)if(n.hasOwnProperty(s)&&!(s in a)&&typeof n[s]<"u")return!1;return!0}return!1}function Me(i){return!!i&&typeof i.then=="function"}function j(i){let n=Array.isArray(i)?[]:{};for(let e in i)if(e){let t=i[e];n[e]=typeof t=="object"?j(t):t}return n}var E=(()=>{class i{constructor(e,t,r,s){this.parser=e,this.settings=t,this.router=r,this.route=s,this.routerEvents=new w;let a=new U(1);this.hooks={_initializedSubject:a,initialized:a.asObservable()}}init(){this.applyConfigToRouter(this.parser.routes),this.router.events.pipe(K(e=>e instanceof ce),W()).subscribe(this._routeChanged()),this.settings.initialNavigation&&this.router.initialNavigation()}changeLanguage(e,t,r){if(e!==this.parser.currentLang){let s=this.router.routerState.snapshot.root;this.parser.translateRoutes(e).subscribe(()=>{let a=this.traverseRouteSnapshot(s);if(a=this.translateRoute(a),!this.settings.alwaysSetPrefix){let c=a.split("/"),h=c.indexOf(this.parser.currentLang);if(this.parser.currentLang===this.parser.defaultLang)(h===0||h===1&&c[0]==="")&&(c=c.slice(0,h).concat(c.slice(h+1)));else if(h===-1){let g=c[0]===""?1:0;c=c.slice(0,g).concat(this.parser.currentLang,c.slice(g))}a=c.join("/")}a=a.replace(/\/+/g,"/");let o=a.lastIndexOf("/");o>0&&o===a.length-1&&(a=a.slice(0,-1));let l=this.parser.chooseQueryParams(t,this.route.snapshot.queryParams);if(this.applyConfigToRouter(this.parser.routes),this.lastExtras=t,r){let c=t?m({},t):{};l&&(c.queryParams=l),this.router.navigate([a],c)}else{let c=this.parser.formatQueryParams(l);c=c?`?${c}`:"",this.router.navigateByUrl(`${a}${c}`,t)}})}}traverseRouteSnapshot(e){return e.firstChild&&e.routeConfig?`${this.parseSegmentValue(e)}/${this.traverseRouteSnapshot(e.firstChild)}`:e.firstChild?this.traverseRouteSnapshot(e.firstChild):this.parseSegmentValue(e)}buildUrlFromSegments(e,t){return t.map((r,s)=>r.indexOf(":")===0?e.url[s].path:r).join("/")}parseSegmentValue(e){if(e.routeConfig&&e.routeConfig.matcher){let t=this.parseSegmentValueMatcher(e);return this.buildUrlFromSegments(e,t)}else if(e.data.localizeRouter){let r=e.data.localizeRouter.path.split("/");return this.buildUrlFromSegments(e,r)}else if(e.parent&&e.parent.parent){let r=e.routeConfig.path.split("/");return this.buildUrlFromSegments(e,r)}else return""}parseSegmentValueMatcher(e){let t=e.data&&e.data.localizeMatcher&&e.data.localizeMatcher.params||{};return e.url.map(s=>{let a=s.path,o=s.localizedParamName;return(o&&t[o]?t[o](a):null)||`${this.parser.getEscapePrefix()}${a}`})}translateRoute(e){if(typeof e=="string"){let r=this.parser.translateRoute(e);return e.indexOf("/")?r:this.parser.addPrefixToUrl(r)}let t=[];return e.forEach((r,s)=>{if(typeof r=="string"){let a=this.parser.translateRoute(r);!s&&!r.indexOf("/")?t.push(this.parser.addPrefixToUrl(a)):t.push(a)}else t.push(r)}),t}_routeChanged(){return([e,t])=>{let r=this.parser.getLocationLang(e.url)||this.parser.defaultLang,s=this.parser.getLocationLang(t.url)||this.parser.defaultLang,a=this.lastExtras;s!==r&&this.latestUrl!==t.url&&(this.latestUrl=t.url,this.cancelCurrentNavigation(),this.parser.translateRoutes(s).subscribe(()=>{this.applyConfigToRouter(this.parser.routes),this.lastExtras=void 0,this.router.navigateByUrl(t.url,a),this.routerEvents.next(s)})),this.latestUrl=t.url}}cancelCurrentNavigation(){let e=this.router.getCurrentNavigation(),t=this.router.serializeUrl(e.extractedUrl);this.router.events.next(new le(e.id,t,"")),this.router.navigationTransitions.transitions.next(y(m({},this.router.navigationTransitions.transitions.getValue()),{id:0}))}applyConfigToRouter(e){this.router.resetConfig(j(e))}static{this.\u0275fac=function(t){return new(t||i)(u(R),u(_),u(L),u(ue))}}static{this.\u0275prov=p({token:i,factory:i.\u0275fac})}}return i})(),ze=128,tt=(()=>{class i{constructor(e,t){this.localize=e,this._ref=t,this.value="",this.subscription=this.localize.routerEvents.subscribe(()=>{this.transform(this.lastKey)})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}transform(e){if(!e||e.length===0||!this.localize.parser.currentLang)return e;if(v(e,this.lastKey)&&v(this.lastLanguage,this.localize.parser.currentLang))return this.value;this.lastKey=e,this.lastLanguage=this.localize.parser.currentLang,this.value=this.localize.translateRoute(e),this.lastKey=e;let t=this._ref._view;return t&&t.state&ze?this.value:(setTimeout(()=>{this._ref.detectChanges()},0),this.value)}
1static{this.\u0275fac=function(t){return new(t||i)(A(E,16),A(ie,16))}}static{this.\u0275pipe=J({name:"localize",type:i,pure:!1})}}return i})(),O=class{constructor(){}shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n&&e?this.getKey(n)===this.getKey(e):!1}getKey(n){if(n.firstChild&&n.firstChild.routeConfig&&n.firstChild.routeConfig.path&&n.firstChild.routeConfig.path.indexOf("**")!==-1)return"WILDCARD";if(!n.data.localizeRouter&&(!n.parent||!n.parent.parent)&&!n.data.skipRouteLocalization)return"LANG";if(n.routeConfig.matcher){let e=`${this.getKey(n.parent)}/${n.routeConfig.matcher.name}`;return n.data.discriminantPathKey&&(e=`${e}-${n.data.discriminantPathKey}`),e}else if(n.data.localizeRouter){let e=`${this.getKey(n.parent)}/${n.data.localizeRouter.path}`;return n.data.discriminantPathKey&&(e=`${e}-${n.data.discriminantPathKey}`),e}else{let e=n.routeConfig.path;return n.parent&&(e=`${this.getKey(n.parent)}/${n.routeConfig.path}`),n.data.discriminantPathKey&&(e=`${e}-${n.data.discriminantPathKey}`),e}}},Ne=(()=>{class i extends L{constructor(){super(),this.platformId=S(Z),this.compiler=S(te),this.localize=S(R),this.childrenLoaders=new WeakMap,this.loadModuleFactoryOrRoutes=(r,s)=>De(s.loadChildren()).pipe(T(Ue),$(a=>a instanceof Q||Array.isArray(a)?C(a):P(this.compiler.compileModuleAsync(a))),T(a=>{this.onLoadEndListener&&this.onLoadEndListener(s);let o,l;if(Array.isArray(a))l=this.localize.initChildRoutes([].concat(...a));else{o=a.create(r).injector;let h=o.get.bind(o);o.get=(g,I,Te)=>{let M=h(g,I,Te);return g===x?this.localize.initChildRoutes([].concat(...M)):M},l=o.get(x,[],{optional:!0,self:!0}).reduce((g,I)=>g.concat(I),[])}return{routes:l.map(we),injector:o}}));let t=ne(this.platformId)?this.navigationTransitions.configLoader.__proto__:this.navigationTransitions.configLoader;t.loadChildren=(r,s)=>{if(this.childrenLoaders.get(s))return this.childrenLoaders.get(s);if(s._loadedRoutes)return C({routes:s._loadedRoutes,injector:s._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(s);let o=this.loadModuleFactoryOrRoutes(r,s).pipe(V(()=>{this.childrenLoaders.delete(s)})),l=new F(o,()=>new w).pipe(N());return this.childrenLoaders.set(s,l),l}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=p({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function we(i){let n=i.children&&i.children.map(we),e=n?y(m({},i),{children:n}):m({},i);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==oe&&(e.component=he),e}function Fe(i){return i&&typeof i=="object"&&"default"in i}function Ue(i){return Fe(i)?i.default:i}function De(i){return D(i)?i:Me(i)?P(Promise.resolve(i)):C(i)}var Re=(()=>{class i{constructor(e){this.injector=e}appInitializer(){return this.parser.load(this.routes).then(()=>{let t=this.injector.get(E),r=this.injector.get(L),s=this.injector.get(_);if(t.init(),s.initialNavigation)return new Promise(a=>{let o=r.navigationTransitions.afterPreactivation,l=!0;r.navigationTransitions.afterPreactivation=()=>(l&&(a(),l=!1,t.hooks._initializedSubject.next(!0),t.hooks._initializedSubject.complete()),o())});t.hooks._initializedSubject.next(!0),t.hooks._initializedSubject.complete()})}generateInitializer(e,t){return this.parser=e,this.routes=t.reduce((r,s)=>r.concat(s)),this.appInitializer}static{this.\u0275fac=function(t){return new(t||i)(u(H))}}static{this.\u0275prov=p({token:i,factory:i.\u0275fac})}}return i})();function ke(i,n,e){let t=j(e);return i.generateInitializer(n,t).bind(i)}function Pe(i,n){return[{provide:L,useClass:Ne},{provide:Ae,useFactory:Ke,deps:[[$e,new B,new q]]},{provide:Le,useValue:n.useCachedLang},{provide:Ie,useValue:n.alwaysSetPrefix},{provide:Ce,useValue:n.cacheName},{provide:ye,useValue:n.cacheMechanism},{provide:_e,useValue:n.defaultLangFunction},{provide:Se,useValue:n.cookieFormat},{provide:ve,useValue:n.initialNavigation},_,n.parser||{provide:R,useClass:Ee},{provide:b,multi:!0,useValue:i},E,Re,{provide:ee,multi:!0,useFactory:ke,deps:[Re,R,b]},{provide:de,useClass:O}]}var $e=(()=>
1{class i{static forRoot(e,t={}){return{ngModule:i,providers:Pe(e,t)}}static forChild(e){return{ngModule:i,providers:[{provide:b,multi:!0,useValue:e}]}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=X({type:i})}static{this.\u0275inj=G({imports:[se,fe,pe]})}}return i})();function Ke(i){if(i)throw new Error("LocalizeRouterModule.forRoot() called twice. Lazy loaded modules should use LocalizeRouterModule.forChild() instead.");return"guarded"}function it(i,n={}){return{\u0275kind:"LocalizeRouter",\u0275providers:Pe(i,n)}}export{_ as a,R as b,me as c,E as d,tt as e,$e as f,it as g};

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.