PageSourceSearch

https://emiratesvisa.com/878.3cbfb391d9a37dda.js

js emiratesvisa.com collected 2026-10-04 13:32:47 UTC 12,517 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkemirates_visa=self.webpackChunkemirates_visa||[]).push([[878],{8878:(J,v,i)=>{i.r(v),i.d(v,{DynamicModule:()=>B});var y=i(3047),g=i(7278),C=i(5349),u=i(6895),f=i(3485),x=i(150),a=i(4766),S=i(6221),w=i(8028),_=i(7245),m=i(9720),d=i(9344),e=i(4650),h=i(3453),b=i(1085),I=i(1739),P=i(8466),E=i(9426),D=i(445),O=i(3866);function M(n,s){if(1&n&&(e.\u0275\u0275elementStart(0,"h1",8),e.\u0275\u0275text(1,"Get your Dubai Visa from "),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1("",t.countryName," in 24 hours")}}function k(n,s){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",10)(1,"label",11),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",12)(4,"input",13),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const c=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(c.onSwitchCurrency())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(5,"div",14),e.\u0275\u0275elementStart(6,"span"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()()}if(2&n){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.defaultCurrencyCode," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(null==t.secondCurrency?null:t.secondCurrency.currencyCode)}}function T(n,s){if(1&n&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,k,8,2,"div",9),e.\u0275\u0275elementContainerEnd()),2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","USD"!==(null==t.secondCurrency?null:t.secondCurrency.currencyCode))}}function j(n,s){1&n&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",15),e.\u0275\u0275element(2,"div",16),e.\u0275\u0275elementStart(3,"div",17),e.\u0275\u0275element(4,"div",18)(5,"div",19)(6,"div",20),e.\u0275\u0275elementStart(7,"div",21),e.\u0275\u0275element(8,"div",22)(9,"div",23),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(10,"div",15)(11,"div",24),e.\u0275\u0275element(12,"div",25),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(13,"div",16),e.\u0275\u0275elementStart(14,"div",17),e.\u0275\u0275element(15,"div",18)(16,"div",19)(17,"div",20),e.\u0275\u0275elementStart(18,"div",21),e.\u0275\u0275element(19,"div",22)(20,"div",23),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(21,"div",15),e.\u0275\u0275element(22,"div",16),e.\u0275\u0275elementStart(23,"div",17),e.\u0275\u0275element(24,"div",18)(25,"div",19)(26,"div",20),e.\u0275\u0275elementStart(27,"div",21),e.\u0275\u0275element(28,"div",22)(29,"div",23),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd())}function F(n,s){1&n&&(e.\u0275\u0275elementStart(0,"div",36)(1,"div"),e.\u0275\u0275text(2,"best price"),e.\u0275\u0275elementEnd()())}function L(n,s){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"a",26),e.\u0275\u0275listener("click",function(){const o=e.\u0275\u0275restoreView(t).$implicit,l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.onProduct(o))}),e.\u0275\u0275template(2,F,3,0,"div",27),e.\u0275\u0275elementStart(3,"div",17)(4,"div",28)(5,"h1",29),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div",30),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"div",31),e.\u0275\u0275elementStart(10,"div",32)(11,"h1",33),e.\u0275\u0275text(12),e.\u0275\u0275pipe(13,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"div",34),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"div",35),e.\u0275\u0275text(17),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&n){const t=s.$implicit,r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.isBestValue),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(t.lang[r.lang].fields.name),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.lang[r.lang].fields.visaTypeDescription),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind2(13,6,t.cost*r.currencyConverter,"1.0-0")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(r.currencyCode),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.lang[r.lang].fields.description," ")}}const N=[{path:"",component:(()=>{class n{constructor(t,r,c,o,l,p,A,V,z,U,R){this._activeRoute=t,this._productService=r,this._afs=c,this._authService=o,this._router=l,this._confirmNationalityService=p,this._geoService=A,this._currencyService=V,this._translate=z,this._languageService=U,this._applyService=R,this.products=[],this.defaultCurrencyCode=
1a.N.defaultCurrency.code,this.defaultCurrencyConverter=a.N.defaultCurrency.conversionRate,this.currencyCode=this.defaultCurrencyCode,this.countriesCollection=this._afs.collection("countries"),this.productsCollection=this._afs.collection("products")}ngOnInit(){this.lang=this._languageService.getLanguageStorage().code,this._translate.onLangChange.subscribe(t=>{this.lang=t.lang}),this._geoService.getIpData().subscribe(t=>{if(!t)return void this.fallBack();this._geoService.setLocationDetails(new m.g(t.ip,t.country_name,t.country_code,t.calling_code)),a.N.production||console.log(this._geoService.getLocationDetails());const r=t.currency.code;this._currencyService.httpCurrencyData().subscribe(c=>{if(c.success){const o=c.rates;this._currencyService.setAedRate(o.AED);for(const[l,p]of Object.entries(o))r===l&&(this.currencyConverter=p);this._currencyService.setCurrencyStorage(new d.F(r,this.currencyConverter)),this.secondCurrency=this._currencyService.getCurrencyStorage(),a.N.production||console.log(this._currencyService.getCurrencyStorage())}else this.fallBack()},()=>{this.fallBack()})},()=>{this.fallBack()}),this._activeRoute.paramMap.subscribe(t=>{this.countryCode=t.get("code")?.toUpperCase(),2!==this.countryCode?.length||/\d/.test(this.countryCode)?this._router.navigateByUrl("/"):this._authService.loginAnonymously().then(r=>{this._authService.setUserId(r.user.uid),a.N.production||console.log(r.user.uid),this.countriesCollection.doc(this.countryCode).get().subscribe(c=>{c.exists?c.exists&&(this.countryName=c.data().name,this._applyService.setDynamicCountryCode(this.countryCode),this.didProductsLoad=!1,this._productService.getProductsForNationality(this.countryCode).subscribe(o=>{this.products=o,setTimeout(()=>{this.didProductsLoad=!0,this.currencyConverter=this.defaultCurrencyConverter},1e3)})):this._router.navigateByUrl("/")})}).catch()})}fallBack(){this._currencyService.setCurrencyStorage(new d.F("AED",3.675)),this._geoService.setLocationDetails(new m.g("192.178.1.10","UAE","AE",0))}sortData(t){t.sort((r,c)=>r.cost>c.cost?1:-1),this.currencyConverter=this.defaultCurrencyConverter,this.products=t,this.didProductsLoad=!0}onSwitchCurrency(){1===this.currencyConverter?(this.currencyCode=this.secondCurrency.currencyCode,this.currencyConverter=this.secondCurrency.currencyConverter,this._currencyService.setSelectedCurrencyStorage(new d.F(this.currencyCode,this.currencyConverter))):(this.currencyCode=this.defaultCurrencyCode,this.currencyConverter=this.defaultCurrencyConverter,this._currencyService.setSelectedCurrencyStorage(new d.F(this.currencyCode,this.currencyConverter)))}onProduct(t){console.log(t),this._productService.setProductTypeStorage("dynamic"),this._productService.setSingleProductStorage(t),this._currencyService.setSelectedCurrencyStorage(new d.F(this.currencyCode,this.currencyConverter)),this._confirmNationalityService.open({productType:"dynamic",productId:t.productId})}ngOnDestroy(){this._productService.resetAllProductsStorage()}static#e=this.\u0275fac=function(r){return new(r||n)(e.\u0275\u0275directiveInject(h.gz),e.\u0275\u0275directiveInject(w.M),e.\u0275\u0275directiveInject(b.ST),e.\u0275\u0275directiveInject(S.e),e.\u0275\u0275directiveInject(h.F0),e.\u0275\u0275directiveInject(_.A),e.\u0275\u0275directiveInject(x.p),e.\u0275\u0275directiveInject(f.i),e.\u0275\u0275directiveInject(I.sK),e.\u0275\u0275directiveInject(P.T),e.\u0275\u0275directiveInject(E.g))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["app-dynamic"]],decls:10,vars:5,consts:[[1,"hero-wrapper","hero-wr-dynamic"],[1,"banner-container"],["class","banner-h1 banner-h1-dynamic",4,"ngIf"],[4,"ngIf"],[1,"bp-container"],[1,"search-results-wr","search-result-wr-dyanmic"],[1,"visa-packages-wr",3,"dir"],[4,"ngFor","ngForOf"],[1,"banner-h1","banner-h1-dynamic"],["class","currency-switcher-wr",4,"ngIf"],[1,"currency-switcher-wr"],["for","currency-switcher",1,"currency-default"],["for","currency-switcher",1,"switcher"],["type","checkbox","id","currency-switcher",3,"click"],[1,"switcher__indicator"],[1,"skeleton-card"],[1,"skeleton",2,"height","130px","width","100%"],[1,"product-card-content-wr"],[1,"skeleton",2,"height","10px","width","50%","margin-bottom","12px"],[1,"skeleton",2,"height","10px","width","100%","margin-bottom","12px"],[1,"skeleton",2,"height","10px","width","60px","margin-bottom","24px"],[1,"product-card-footer-wr"],[1,"skeleton",2,"height","10px","width","80px","margin-bottom","12px"],[1,"skeleton",2,"height","10px","width","60px","margin-bottom","12px"],[1,"skeleton-best-value","white"],[1,"text-block"],[1,"product-card","w-inline-block",3,"click"],["class","best-value-wr best-value-wr-white",4,"ngIf"],[1,"product-card-content"],[1,"product-card-name"],[1,"product-card-visa-type"],[1,"card-line"],[1,"product-card-price-wr"],[1,"product-card-price"],[1,"product-card-currency"],[1,"product-card-desc"],[1,"best-value-wr","best-value-wr-white"]],template:function(r,c){1&r&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275template(2,M,4,1,"h1",2),e.\u0275\u0275template(3,T,2,1,"ng-container",3),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"div",4)(5,"div",5)(6,"div",6),e.\u0275\u0275template(7,j,30,0,"ng-container",3),e.\u0275\u0275template(8,L,18,9,"ng-container",7),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(9,"app-services")),2&r&&(e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",c.didProductsLoad),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",c.didProductsLoad),e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate("dir","ar"===c.lang?"rtl":"ltr"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!c.didProductsLoad),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",c.products))},dependencies:[u.sg,u.O5,D.Lv,O.T,u.JJ],styles:['.currency-switcher-wr[_ngcontent-%COMP%]{display:flex;width:220px;justify-content:center;align-items:center;background:white;padding:3px;border-radius:50px;margin-top:20px}.currency-default[_ngcontent-%COMP%]{cursor:pointer;font-weight:400;user-select:none;font-size:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;padding-right:16px;padding-top:5px}.switcher[_ngcontent-%COMP%]{font-weight:400;position:relative;display:inline-block;cursor:pointer;padding-left:100px;height:40px;line-height:40px;margin:5px;font-size:15px;-webkit-user-select:none;user-select:none}.switcher[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:none}.switcher__indicator[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:40px;width:40px;background-color:#e90000;border-radius:50%;transition:all .3s ease;animation-name:_ngcontent-%COMP%_pulsein;animation-duration:.3s}.switcher__indicator[_ngcontent-%COMP%]:before{content:"";position:absolute;top:16px;left:0;width:80px;height:8px;background-color:#e90000;border-radius:10px;transition:all .3s ease}input[_ngcontent-%COMP%]:checked + .switcher__indicator[_ngcontent-%COMP%]:after{background-color:#e90000;transform:translate(40px);animation-name:_ngcontent-%COMP%_pulseout;animation-duration:.3s}input[_ngcontent-%COMP%]:checked + .switcher__indicator[_ngcontent-%COMP%]:before{background-color:#e90000}
1@keyframes _ngcontent-%COMP%_pulsein{0%,to{top:0;height:40px;width:40px}50%{top:6px;height:28px;width:52px}}@keyframes _ngcontent-%COMP%_pulseout{0%,to{top:0;height:40px;width:40px}50%{top:6px;height:28px;width:52px}}']})}return n})()}];let B=(()=>{class n{static#e=this.\u0275fac=function(r){return new(r||n)};static#t=this.\u0275mod=e.\u0275\u0275defineNgModule({type:n});static#n=this.\u0275inj=e.\u0275\u0275defineInjector({imports:[u.ez,h.Bz.forChild(N),C.m,g._,y.e]})}return n})()}}]);

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.