1import{a as bt}from"./chunk-L2BXNPR5.js";import{f as pt}from"./chunk-ZKSRIWH6.js";import{a as mt}from"./chunk-YQSUIE7Q.js";import{c as lt,d as Oe,f as Pe,g as De,h as ke}from"./chunk-NMGI7OHJ.js";import{a as Ct}from"./chunk-HT2STO7B.js";import{c as Ie,d as ft,e as _t,i as vt}from"./chunk-JCPUWVFC.js";import{b as ht}from"./chunk-MCQML6YT.js";import{a as Te,b as ct}from"./chunk-XNXLFDZX.js";import{a as gt}from"./chunk-N6W3AF2G.js";import{a as fe}from"./chunk-IENL4UJA.js";import{d as dt,e as ut}from"./chunk-JLWCQ6UT.js";import{H as at,V as me,W as st,X as ot,m as rt}from"./chunk-P4C42LQP.js";import{k as X,l as J,m as ee,q as nt,r as it,w as pe,y as he}from"./chunk-Z7IUSDSQ.js";import{Ac as M,B as N,C as V,Cb as G,Cf as F,Da as P,Db as j,Dc as Ye,E as He,Ee as R,Fa as E,Fh as et,H as we,Jc as Ge,Je as l,Jh as tt,K as Ve,Kd as w,Ke as d,Le as y,Mb as oe,Me as K,Ne as Z,Oc as ye,P as se,Pe as k,Ra as Y,Sa as Ue,Ta as Be,Vf as b,Wf as de,Xf as x,Y as xe,_ as B,aa as C,f as L,fb as je,ff as _,gc as le,hf as g,hg as Xe,ic as D,ig as Je,kb as h,lb as m,lg as O,ma as A,mg as U,n as Fe,ng as ue,o as W,oa as Re,pe as c,pg as ge,qe as ce,qg as Me,re as q,s as ae,ta as Se,uc as We,uf as Qe,vc as Q,vg as T,wb as qe,wf as Ke,wg as I,xf as Ze,z as $e,zc as o}from"./chunk-SRTQBDBP.js";import{a as It}from"./chunk-EJD3L6HM.js";import{a as z,b as Ce,g as Tt}from"./chunk-T7NDVU76.js";var te=Tt(It());var At=(i,p,e,t)=>({"navbar-absolute":i,"navbar-container":p,"navbar-visible":e,"navbar-scrolled":t}),wt=i=>[i],zt=()=>["/dashboard/dash"],$=()=>({exact:!0}),Nt=()=>["/dashboard/profile"],Ft=()=>["/dashboard/saved-address"],$t=()=>["/dashboard/hourly_contracts"],Ht=()=>["/dashboard/individual-contracts"],Vt=()=>["/dashboard/individual-requests"],Rt=()=>["/dashboard/lead"],Ut=()=>["/dashboard/visits"],Bt=()=>["/dashboard/support"];function jt(i,p){if(i&1&&(l(0,"a",45),b(1),d()),i&2){let e=g(2).$implicit;c("routerLink",U(2,wt,e.fields.linkUrl.url)),o(),x(" ",e.fields.linkText," ")}}function qt(i,p){if(i&1){let e=k();l(0,"a",46),_("mouseenter",function(n){h(e);let r=g(3);return m(r.openDropdown(n))})("mouseleave",function(n){h(e);let r=g(3);return m(r.closeDropdown(n))})("click",function(n){h(e);let r=g(3);return m(r.toggleMobileDropdown(n))}),b(1),d()}if(i&2){let e=g(2).$implicit;c("routerLink",e==null||e.fields==null||e.fields.linkUrl==null?null:e.fields.linkUrl.url),o(),x(" ",e==null||e.fields==null?null:e.fields.linkText," ")}}function Wt(i,p){if(i&1&&(l(0,"a",47)(1,"div",48),b(2),d()()),i&2){let e=g().$implicit;c("href",e==null||e.fields==null||e.fields.linkUrl==null?null:e.fields.linkUrl.url,D),o(2),x(" ",e==null||e.fields==null?null:e.fields.linkText," ")}}function Yt(i,p){if(i&1){let e=k();l(0,"div",49),_("click",function(){h(e);let n=g(4);return m(n.startMediationSteps())}),l(1,"div",50)(2,"div",51)(3,"span"),b(4),d(),y(5,"img",52),d(),l(6,"span",53),b(7),d(),l(8,"div",54)(9,"div",55),_("click",function(n){return h(e),g(4).startMediationSteps(),m(n.stopPropagation())}),l(10,"span"),b(11),T(12,"translate"),d(),y(13,"img",56),d()()()()}if(i&2){let e=g().$implicit;o(4),de(e==null||e.fields==null?null:e.fields.linkText),o(3),x(" ",e==null||e.fields==null?null:e.fields.linkSubText," "),o(4),x(" ",I(12,3,"bookNow")," ")}}function Gt(i,p){if(i&1&&(l(0,"span",53),b(1),d()),i&2){let e=g(2).$implicit;o(),x(" ",e==null||e.fields==null?null:e.fields.linkSubText," ")}}function Qt(i,p){if(i&1&&(l(0,"a",57)(1,"div",50)(2,"div",51)(3,"span"),b(4),d(),y(5,"img",52),d(),w(6,Gt,2,1,"span",58),d()()),i&2){let e=g().$implicit;c("routerLink",U(3,wt,e==null||e.fields==null||e.fields.linkUrl==null?null:e.fields.linkUrl.url)),o(4),de(e==null||e.fields==null?null:e.fields.linkText),o(2),c("ngIf",e==null||e.fields==null?null:e.fields.linkSubText)}}function Kt(i,p){if(i&1){let e=k();l(0,"div")(1,"div",66),_("click",function(){let n=h(e).$implicit,r=g(6);return m(r.chooseIndividualService(n.key))}),l(2,"span"),b(3),d(),y(4,"img",56),d()()}if(i&2){let e=p.$implicit;o(3),x(" ",e==null?null:e.value," ")}}function Zt(i,p){if(i&1&&(l(0,"div",54),w(1,Kt,5,1,"div",44),d()),i&2){let e=g(5);o(),c("ngForOf",e.individualServices)}}function Xt(i,p){if(i&1){let e=k();l(0,"div")(1,"div",67),_("click",function(){let n=h(e).$implicit,r=g(6);return m(r.startHourlySteps(n.id,n.serviceNote))}),l(2,"span"),b(3),d(),y(4,"img",56),d()()}if(i&2){let e=p.$implicit;o(3),x(" ",e==null?null:e.name," ")}}function Jt(i,p){if(i&1&&(l(0,"div",54),w(1,Xt,5,1,"div",44),d()),i&2){let e=g(5);o(),c("ngForOf",e.hourlyServices)}}function en(i,p){if(i&1){let e=k();l(0,"div",59)(1,"div",50)(2,"div",60),_("click",function(){h(e);let n=g().$implicit,r=g(3);return m(r.toggleCollapse(n))}),l(3,"div",61)(4,"div",62)(5,"span"),b(6),d(),l(7,"span",63),y(8,"img",64),d()()(),l(9,"span",53),b(10),d()(),l(11,"div",65),w(12,Zt,2,1,"div",54)(13,Jt,2,1,"div",54),d()()()}if(i&2){let e=g().$implicit,t=g(3);o(6),de(e==null||e.fields==null?null:e.fields.linkText),o(2),q("rotated",!t.isCollapsed(e)),c("src",t.isCollapsed(e)?"assets/images/dynamic/navbar/Group 29850.svg":"assets/images/dynamic/navbar/Layer 2.svg",D),o(2),x(" ",e==null||e.fields==null?null:e.fields.linkSubText," "),o(),q("collapsed",t.isCollapsed(e)),o(),R(12,e.fields.serviceType=="individual"?12:-1),o(),R(13,e.fields.serviceType=="hourly"?13:-1)}}function tn(i,p){if(i&1&&(l(0,"li"),w(1,Wt,3,2,"a",47)(2,Yt,14,5)(3,Qt,7,5)(4,en,14,9),d()),i&2){let e=p.$implicit;o(),R(1,!(e==null||e.fields==null||e.fields.linkUrl==null||e.fields.linkUrl.url==null)&&e.fields.linkUrl.url.includes("mailto")||!(e==null||e.fields==null||e.fields.linkUrl==null||e.fields.linkUrl.url==null)&&e.fields.linkUrl.url.includes("tel")?1:e.fields.serviceType=="mediation"||e.fields.serviceType=="medaition"?2:!(e==null||e.fields==null||e.fields.linkUrl==null)&&e.fields.linkUrl.url&&(e==null||e.fields==null?null:e.fields.serviceType)!="individual"&&(e==null||e.fields==null?null:e.fields.serviceType)!="hourly"?3:4)}}function nn(i,p){if(i&1){let e=k();K(0),w(1,jt,2,4,"a",41)(2,qt,2,2,"a",42),l(3,"ul",43),_("mouseenter",function(n){h(e);let r=g(2);return m(r.openDropdown(n))})("mouseleave",function(n){h(e);let r=g(2);return m(r.closeDropdown(n))}),w(4,tn,5,1,"li",44),d(),Z()}if(i&2){let e=g().$implicit;o(),c("ngIf",!e.fields.subLinks&&(e.fields.linkUrl==null?null:e.fields.linkUrl.url)),o(),c("ngIf",e==null||e.fields==null?null:e.fields.subLinks),o(2),c("ngForOf",e==null||e.fields==null?null:e.fields.subLinks)}}function rn(i,p){if(i&1&&(l(0,"li",39),w(1,nn,5,3,"ng-container",40),d()),i&2){let e=p.$implicit,t=p.index;ce("animation-delay",t*.1+"s"),q("d-none",!e.fields.isParent),c("ngClass",!(e==null||e.fields==null)&&e.fields.subLinks?"nav-item dropdown":"nav-item"),o(),c("ngIf",e==null?null:e.fields)}}function an(i,p){if(i&1){let e=k();l(0,"img",68),_("click",function(){h(e);let n=g();return m(n.changeLanguage())}),d()}}function sn(i,p){if(i&1){let e=k();l(0,"img",69),_("click",function(){h(e);let n=g();return m(n.changeLanguage())}),d()}}function on(i,p){if(i&1){let e=k();l(0,"img",68),_("click",function(){h(e);let n=g();return m(n.changeLanguage())}),d()}}function ln(i,p){if(i&1){let e=k();l(0,"img",69),_("click",function(){h(e);let n=g();return m(n.changeLanguage())}),d()}}function cn(i,p){if(i&1&&(l(0,"div")(1,"a",70),y(2,"img",71),d()()),i&2){let e=p.$implicit,t=p.index;ce("animation-delay",t*.1+.3+"s"),o(),c("href",e==null||e.fields==null||e.fields.iconUrl==null?null:e.fields.iconUrl.url,D),o(),c("src",e==null||e.fields==null||e.fields.iconImage==null||e.fields.iconImage.fields==null||e.fields.iconImage.fields.umbracoFile==null?null:e.fields.iconImage.fields.umbracoFile.
1src,D)}}function dn(i,p){if(i&1&&(l(0,"a",70),y(1,"img",72),d()),i&2){let e=g();c("href",e.googlePlay==null||e.googlePlay[0]==null||e.googlePlay[0].fields==null?null:e.googlePlay[0].fields.itemLink[0].url,D),o(),c("src",e.googlePlay==null||e.googlePlay[0]==null||e.googlePlay[0].fields==null||e.googlePlay[0].fields.value==null||e.googlePlay[0].fields.value.fields==null||e.googlePlay[0].fields.value.fields.umbracoFile==null?null:e.googlePlay[0].fields.value.fields.umbracoFile.src,D)}}function un(i,p){if(i&1&&(l(0,"a",70),y(1,"img",72),d()),i&2){let e=g();c("href",e.appStore==null||e.appStore[0]==null||e.appStore[0].fields==null?null:e.appStore[0].fields.itemLink[0].url,D),o(),c("src",e.appStore==null||e.appStore[0]==null||e.appStore[0].fields==null||e.appStore[0].fields.value==null||e.appStore[0].fields.value.fields==null||e.appStore[0].fields.value.fields.umbracoFile==null?null:e.appStore[0].fields.value.fields.umbracoFile.src,D)}}function gn(i,p){i&1&&(l(0,"div",32)(1,"div",73),y(2,"img",74),l(3,"span",75),b(4),T(5,"translate"),d()()()),i&2&&(o(4),x(" ",I(5,1,"login")," "))}function pn(i,p){if(i&1&&(l(0,"div",79),b(1),d()),i&2){let e=g(2);o(),x(" ",e.userName," ")}}function hn(i,p){if(i&1){let e=k();l(0,"div",76)(1,"div",77),_("click",function(n){h(e);let r=g();return m(r.toggleDropdown(n))}),y(2,"img",78),w(3,pn,2,1,"div",79),d(),l(4,"div",80),_("click",function(n){h(e);let r=g();return m(r.toggleDropdown(n))}),y(5,"img",81),d(),l(6,"ul",82)(7,"div",83),_("mouseenter",function(){h(e);let n=g();return m(n.hoveredItem="dash")})("mouseleave",function(){h(e);let n=g();return m(n.hoveredItem=null)}),l(8,"a",84,0)(10,"span",85),b(11),T(12,"translate"),d()()(),l(13,"li",83),_("mouseenter",function(){h(e);let n=g();return m(n.hoveredItem="profile")})("mouseleave",function(){h(e);let n=g();return m(n.hoveredItem=null)}),l(14,"a",84,1)(16,"span",85),b(17),T(18,"translate"),d()()(),l(19,"li",83),_("mouseenter",function(){h(e);let n=g();return m(n.hoveredItem="address")})("mouseleave",function(){h(e);let n=g();return m(n.hoveredItem=null)}),l(20,"a",84,2)(22,"span",85),b(23),T(24,"translate"),d()()(),l(25,"li",83),_("mouseenter",function(){h(e);let n=g();return m(n.hoveredItem="contracts")})("mouseleave",function(){h(e);let n=g();return m(n.hoveredItem=null)}),l(26,"a",84,3)(28,"span",85),b(29),T(30,"translate"),d()()(),l(31,"li",83),_("mouseenter",function(){h(e);let n=g();return m(n.hoveredItem="individualContracts")})("mouseleave",function(){h(e);let n=g();return m(n.hoveredItem=null)}),l(32,"a",84,4)(34,"span",85),b(35),T(36,"translate"),d()()(),l(37,"li",83),_("mouseenter",function(){h(e);let n=g();return m(n.hoveredItem="individualRequests")})("mouseleave",function(){h(e);let n=g();return m(n.hoveredItem=null)}),l(38,"a",84,5)(40,"span",85),b(41),T(42,"translate"),d()()(),l(43,"li",83),_("mouseenter",function(){h(e);let n=g();return m(n.hoveredItem="requests")})("mouseleave",function(){h(e);let n=g();return m(n.hoveredItem=null)}),l(44,"a",84,6)(46,"span",85),b(47),T(48,"translate"),d()()(),l(49,"li",83),_("mouseenter",function(){h(e);let n=g();return m(n.hoveredItem="visits")})("mouseleave",function(){h(e);let n=g();return m(n.hoveredItem=null)}),l(50,"a",84,7)(52,"span",85),b(53),T(54,"translate"),d()()(),l(55,"li",83),_("mouseenter",function(){h(e);let n=g();return m(n.hoveredItem="support")})("mouseleave",function(){h(e);let n=g();return m(n.hoveredItem=null)}),l(56,"a",84,8)(58,"span",85),b(59),T(60,"translate"),d()()(),l(61,"li",86)(62,"div",87),_("click",function(){h(e);let n=g();return m(n.logout())}),b(63),T(64,"translate"),d()()()()}if(i&2){let e=F(9),t=F(15),n=F(21),r=F(27),a=F(33),s=F(39),u=F(45),f=F(51),v=F(57),S=g();q("show",S.isDropdownOpen),o(3),R(3,S.userName?3:-1),o(3),q("show",S.isDropdownOpen),o(),c("ngClass",e.isActive?"bg-active":""),o(),c("routerLink",O(62,zt))("routerLinkActiveOptions",O(63,$)),o(3),x(" ",I(12,42,"dashboard.Dashboard")," "),o(2),c("ngClass",t.isActive?"bg-active":""),o(),c("routerLink",O(64,Nt))("routerLinkActiveOptions",O(65,$)),o(3),x(" ",I(18,44,"dashboard.MyProfile")," "),o(2),c("ngClass",n.isActive?"bg-active":""),o(),c("routerLink",O(66,Ft))("routerLinkActiveOptions",O(67,$)),o(3),x(" ",I(24,46,"dashboard.MyAddresses")," "),o(2),c("ngClass",r.isActive?"bg-active":""),o(),c("routerLink",O(68,$t))("routerLinkActiveOptions",O(69,$)),o(3),x(" ",I(30,48,"dashboard.Hourly Contracts")," "),o(2),c("ngClass",a.isActive?"bg-active":""),o(),c("routerLink",O(70,Ht))("routerLinkActiveOptions",O(71,$)),o(3),x(" ",I(36,50,"dashboard.Individual Contracts")," "),o(2),c("ngClass",s.isActive?"bg-active":""),o(),c("routerLink",O(72,Vt))("routerLinkActiveOptions",O(73,$)),o(3),x(" ",I(42,52,"dashboard.Individual Requests")," "),o(2),c("ngClass",u.isActive?"bg-active":""),o(),c("routerLink",O(74,Rt))("routerLinkActiveOptions",O(75,$)),o(3),x(" ",I(48,54,"dashboard.MyRequests")," "),o(2),c("ngClass",f.isActive?"bg-active":""),o(),c("routerLink",O(76,Ut))("routerLinkActiveOptions",O(77,$)),o(3),x(" ",I(54,56,"dashboard.MyVisits")," "),o(2),c("ngClass",v.isActive?"bg-active":""),o(),c("routerLink",O(78,Bt))("routerLinkActiveOptions",O(79,$)),o(3),x(" ",I(60,58,"dashboard.Support Tickets And Help")," "),o(4),x(" ",I(64,60,"dashboard.logout")," ")}}function mn(i,p){if(i&1&&(l(0,"div")(1,"a",70),y(2,"img",88),d()()),i&2){let e=p.$implicit,t=p.index;ce("animation-delay",t*.1+.3+"s"),o(),c("href",e==null||e.fields==null||e.fields.iconUrl==null?null:e.fields.iconUrl.url,D),o(),c("src",e==null||e.fields==null||e.fields.iconImage==null||e.fields.iconImage.fields==null||e.fields.iconImage.fields.umbracoFile==null?null:e.fields.iconImage.fields.umbracoFile.
1src,D)}}function fn(i,p){if(i&1&&(l(0,"a",70),y(1,"img",89),d()),i&2){let e=g();c("href",e.googlePlay==null||e.googlePlay[0]==null||e.googlePlay[0].fields==null?null:e.googlePlay[0].fields.itemLink[0].url,D),o(),c("src",e.googlePlay==null||e.googlePlay[0]==null||e.googlePlay[0].fields==null||e.googlePlay[0].fields.value==null||e.googlePlay[0].fields.value.fields==null||e.googlePlay[0].fields.value.fields.umbracoFile==null?null:e.googlePlay[0].fields.value.fields.umbracoFile.src,D)}}function _n(i,p){if(i&1&&(l(0,"a",70),y(1,"img",89),d()),i&2){let e=g();c("href",e.appStore==null||e.appStore[0]==null||e.appStore[0].fields==null?null:e.appStore[0].fields.itemLink[0].url,D),o(),c("src",e.appStore==null||e.appStore[0]==null||e.appStore[0].fields==null||e.appStore[0].fields.value==null||e.appStore[0].fields.value.fields==null||e.appStore[0].fields.value.fields.umbracoFile==null?null:e.appStore[0].fields.value.fields.umbracoFile.src,D)}}function vn(i,p){if(i&1&&(l(0,"h1",90),b(1),T(2,"translate"),d()),i&2){let e=g();o(),x(" ",I(2,1,e.activeComponentTitle)," ")}}var gi=(()=>{class i{get isMobile(){return window.innerWidth<992}onWindowScroll(){let e=window.pageYOffset||document.documentElement.scrollTop;this.isScrolled=e>50,e>this.lastScrollTop&&e>100?this.isNavbarVisible=!1:this.isNavbarVisible=!0,this.lastScrollTop=e<=0?0:e}onDocumentClick(e){let t=e.target,n=this.elementRef.nativeElement.querySelector(".dropdown");n&&!n.contains(t)&&(this.isDropdownOpen=!1)}onEscapeKey(e){this.isDropdownOpen=!1}constructor(){this.langService=E(gt),this.dynamicStore=E(pt),this.userService=E(ht),this.authService=E(mt),this.router=E(me),this.sharedService=E(vt),this.elementRef=E(G),this.servicesService=E(bt),this.sessionStorageService=E(ct),this.stepsService=E(ft),this.navigatorService=E(_t),this.profileService=E(Ct),this.isNavbarVisible=!1,this.isScrolled=!1,this.lastScrollTop=0,this.isDropdownOpen=!1,this.hoveredItem=null,this.hourlyServices=[],this.individualServices=[],this.collapsedStates=new Map,this.subscriptions=[],this.mobileDropdownOpen=!1,this.lang=localStorage.getItem("lang"),this.userService.getUserData().subscribe(e=>{if(this.isAuth=!!e,e){let n=(e?.name||"").trim().split(" ");this.userName=n.slice(0,2).join(" ")}})}ngOnInit(){this.listenToActiveComponentTitle(),this.subscriptions.push(this.router.events.pipe(V(e=>e instanceof rt)).subscribe(()=>this.closeNavigationMenus())),this.langService.getIsLangArHandler().subscribe(e=>{this.isLangArabic=e}),this.dynamicStore.dynamicContent("Menu",`${fe.contentApiUrl}/Menu?withchildren=true`).subscribe(e=>{e&&(this.navbarItems=e[0])})}ngAfterViewInit(){this.navbarSmallScreen=document.querySelector("#navbarNav"),setTimeout(()=>{this.isNavbarVisible=!0},100),setTimeout(()=>{this.getUmbracoContent(),this.getHourlyServices(),this.getIndividualServices()},0)}openDropdown(e){if(this.isMobile)return;this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null);let t=e.target.closest(".nav-item.dropdown");if(t){t.classList.add("show");let n=t.querySelector("#services-dropdown");n&&n.classList.add("show")}}toggleDropdown(e){e&&e.stopPropagation(),this.isDropdownOpen=!this.isDropdownOpen}closeDropdown(e){this.isMobile||(this.timeoutId=setTimeout(()=>{let t=e.target.closest(".nav-item.dropdown");if(t){let n=t.querySelector("#services-dropdown:hover"),r=t.matches(":hover");if(!n&&!r){t.classList.remove("show");let a=t.querySelector("#services-dropdown");a&&a.classList.remove("show")}}},200))}toggleMobileDropdown(e){if(!this.isMobile)return;e.preventDefault(),e.stopPropagation();let t=e.target.closest(".nav-item.dropdown");if(t){let n=t.classList.contains("show");if(document.querySelectorAll(".nav-item.dropdown.show").forEach(r=>{r.classList.remove("show");let a=r.querySelector("#services-dropdown");a&&a.classList.remove("show")}),!n){t.classList.add("show");let r=t.querySelector("#services-dropdown");r&&r.classList.add("show")}}}onDropdownMouseEnter(e){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}getUmbracoContent(){this.dynamicStore.dynamicContent("GlobalSettings",`${fe.contentApiUrl}/GlobalSettings?withchildren=true`).subscribe(e=>{e&&(this.GlobalSettings=e[0],this.phoneNumber=this.GlobalSettings?.children?.filter(t=>t.fields?.key=="phone")[0],this.Email=this.GlobalSettings?.children?.filter(t=>t.fields?.key=="Email")[0],this.whatsApp=this.GlobalSettings?.children?.filter(t=>t.fields?.key=="whatsApp")[0],this.fax=this.GlobalSettings?.children?.filter(t=>t.fields?.key=="fax")[0],this.mainBranch=this.GlobalSettings?.children?.filter(t=>t.fields?.key=="main-branch")[0],this.openHours=this.GlobalSettings?.children?.filter(t=>t.fields?.key=="openHours")[0],this.logo=this.GlobalSettings?.children?.filter(t=>t.fields?.key=="Header_logo"),this.googlePlay=this.GlobalSettings?.children?.filter(t=>t.fields?.key=="google-play"),this.appStore=this.GlobalSettings?.children?.filter(t=>t.fields?.key=="app-store"))}),this.dynamicStore.dynamicContent("HeaderIcons",`${fe.contentApiUrl}/HeaderIcons?withchildren=true`).subscribe(e=>{e&&(this.socialLinks=e[0].children)})}toggleNavbar(){this.navbarSmallScreen&&this.navbarSmallScreen.classList.toggle("show")}closeNavigationMenus(){this.navbarSmallScreen?.classList.remove("show"),this.isDropdownOpen=!1,this.mobileDropdownOpen=!1,this.collapsedStates.clear(),this.elementRef.nativeElement.querySelectorAll(".nav-item.dropdown.show").forEach(e
1=>{e.classList.remove("show"),e.querySelector(".dropdown-menu")?.classList.remove("show")})}listenToActiveComponentTitle(){this.sharedService.activeComponentEvent$.subscribe(e=>{setTimeout(()=>{this.activeComponentTitle=e})})}changeLanguage(){this.langService.changeCurrentLang(this.isLangArabic?"en":"ar")}logout(){this.userService.logOut(),this.router.navigate(["/auth/login"])}getIndividualServices(){this.servicesService.getIndividualServices().subscribe({next:e=>{this.individualServices=e.data},error:e=>{}})}getHourlyServices(){this.servicesService.getHourlyServices().subscribe({next:e=>{this.hourlyServices=e.data},error:e=>{}})}toggleCollapse(e){let t=this.collapsedStates.get(e)??!0;this.collapsedStates.set(e,!t)}isCollapsed(e){return this.collapsedStates.get(e)??!0}chooseIndividualService(e){this.profileService.checkProfileAndProceed(()=>{this.setServiceKeyInSessionStorage(e),this.removePreviousContractInfoFromLocalStorage(),this.setServiceTypeToIndividual(),localStorage.setItem("serviceKey",e),this.GetFirstStepAndNavigateToIt()},"individual")}setServiceKeyInSessionStorage(e){this.sessionStorageService.IndividualServiceKey=e}removePreviousContractInfoFromLocalStorage(){this.sessionStorageService.removeItem(Te.stepId),this.sessionStorageService.removeItem(Te.indvContractObject)}setServiceTypeToIndividual(){this.sessionStorageService.ServiceType=Ie.IndividualContractReq}GetFirstStepAndNavigateToIt(){this.stepsService.getFirstStep(1).subscribe(e=>{this.sessionStorageService.stepId=e.stepId,this.navigatorService.navigateToStep(e)})}startHourlySteps(e,t=""){this.profileService.checkProfileAndProceed(()=>{this.setServiceTypeInSessionStorageToBeHourly();let n=this.getExtraDataForHourlySteps(e);t?.length>0?this.ShowConfirmationMessageAndGoToHourlyFirstStep(e,t,n):this.goToHourlyFirstStep(e,n)},"hourly")}setServiceTypeInSessionStorageToBeHourly(){this.sessionStorageService.ServiceType=Ie.HourlyContract}getExtraDataForHourlySteps(e){return{queryParams:{sid:e}}}goToHourlyFirstStep(e,t){this.stepsService.getFirstStep(2,`{'ServiceId':'${e}','FromOffer':false}`).subscribe({next:n=>{this.sessionStorageService.ServiceId=e,this.setStepIdInSessionStorage(n.stepId),this.openHourlyNextStep(n,t)},error:n=>{this.showErrorMessageAndNavigateToHourlyContractDetails(n)}})}ShowConfirmationMessageAndGoToHourlyFirstStep(e,t,n){te.default.fire({icon:"success",title:t,showConfirmButton:!0,confirmButtonText:this.lang=="ar"?"\u0645\u0648\u0627\u0641\u0642":"Ok"}).then(r=>{r?.isConfirmed&&this.goToHourlyFirstStep(e,n)})}setStepIdInSessionStorage(e){this.sessionStorageService.stepId=e}openHourlyNextStep(e,t){this.subscriptions.push(this.sharedService.openNextStep({stepDetailsVm:e,stepId:e?.stepId},t).subscribe(n=>{this.sharedService.dealWithNextStepResult(n)}))}showErrorMessageAndNavigateToHourlyContractDetails(e){e.status===405?te.default.fire({title:e.error.message,icon:"warning",confirmButtonText:this.lang=="ar"?"\u0645\u0648\u0627\u0641\u0642":"ok"}).then(()=>{e.error.data&&this.navigateToHourlyContractDetails(e.error.data)}):e.status===300?te.default.fire({title:e.error.message,icon:"warning",confirmButtonText:this.lang=="ar"?"\u0645\u0648\u0627\u0641\u0642":"ok"}).then(()=>{e.error.data&&this.navigateToHourlyContractDetails(e.error.data)}):te.default.fire({title:e.message,icon:"warning",confirmButtonText:this.lang=="ar"?"\u0645\u0648\u0627\u0641\u0642":"ok"}).then(()=>{e.data&&this.navigateToHourlyContractDetails(e.data)})}navigateToHourlyContractDetails(e){this.router.navigate(["/dashboard/hourly_contracts/details/"+e])}startMediationSteps(){this.router.navigate(["/mediation/SelectWorker"])}ngOnDestroy(){this.timeoutId&&clearTimeout(this.timeoutId),this.subscriptions.forEach(e=>e.unsubscribe())}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=Y({type:i,selectors:[["app-navbar"]],hostBindings:function(t,n){t&1&&_("scroll",function(a){return n.onWindowScroll(a)},!1,We)("click",function(a){return n.onDocumentClick(a)},!1,Q)("keydown.escape",function(a){return n.onEscapeKey(a)},!1,Q)},inputs:{navbarAbsolute:"navbarAbsolute",isHomePage:"isHomePage"},standalone:!0,features:[Je],decls:46,vars:24,consts:[["dash","routerLinkActive"],["profile","routerLinkActive"],["address","routerLinkActive"],["contracts","routerLinkActive"],["individualContracts","routerLinkActive"],["individualRequests","routerLinkActive"],["requests","routerLinkActive"],["visits","routerLinkActive"],["support","routerLinkActive"],[1,"small-screen-h",3,"ngClass"],[1,"d-flex","flex-column"],[1,"full-width-overlay","pb-3","pb-lg-0"],[1,"container"],[1,"navbar","navbar-expand-lg"],[1,"container-fluid","flex-nowrap","align-items-start","align-items-md-center","p-0"],[1,"d-flex","gap-2","navbar-logo"],["routerLink","/home",1,"navbar-brand","p-0","m-0"],["alt","Almutahidah Logo","height","48","width","150",1,"img-fluid","company-logo","d-none","d-lg-block",3,"src"],["src","assets/images/core/logo-small-screen.svg","alt","Almutahidah Logo","height","48","width","48",1,"img-fluid","company-logo","d-lg-none"],["id","navbarNav",1,"collapse1","navbar-collapse","justify-content-between"],[1,"navbar-nav","mx-auto"],["class","nav-item navbar-menu-item",3,"d-none","ngClass","animation-delay",4,"ngFor","ngForOf"],[1,"nav-item","d-flex","align-items-center","p-2","cursor-p","lang-big-screen","navbar-action-item"],["src","assets/images/dynamic/navbar/lang-en.svg","alt","English","width","30","height","30",1,"lang-icon"],[1,"d-flex","justify-content-between","gap-3","navbar-actions"],[1,"nav-item","d-flex","align-items-center","cursor-p","lang-small-screen","navbar-action-item"],[1,"d-flex","align-items-center","gap-2","navbar-social","d-none","d-lg-flex"],[3,"animation-delay",4,"ngFor","ngForOf"],[1,"flex-column","align-items-center","gap-1","navbar-action-item","d-none","d-lg-flex"],[1,"d-flex","align-items-center","gap-2"],["target","_blank",3,"href",4,"ngIf"],[1,"text-center","fs-14","f-w-regular","text-white"],[1,"d-flex","align-items-center","navbar-action-item"],["type","button","aria-expanded","fal
1se","aria-labelledby","navbar-toggler",1,"navbar-toggler","d-flex","d-lg-none","justify-content-center","align-items-center","overflow-hidden",3,"click"],["src","assets/images/core/menu-breadcrumb-small-screen.svg","alt","Menu","width","24","height","24"],[1,"d-flex","justify-content-between","gap-3","d-lg-none"],[1,"d-flex","gap-2","navbar-social","align-items-start"],[1,"d-flex","flex-row","align-items-center","gap-3","justify-content-between","app-small-screen"],["class","active-component mx-auto fs-24 f-w-bold text-white text-center",4,"ngIf"],[1,"nav-item","navbar-menu-item",3,"ngClass"],[4,"ngIf"],["class","nav-link fs-16 f-w-regular","routerLinkActive","active nav-link-active",3,"routerLink",4,"ngIf"],["class","nav-link dropdown-toggle fs-16 f-w-regular","role","button","aria-expanded","false","routerLinkActive","dropdown-active nav-link-active",3,"routerLink","mouseenter","mouseleave","click",4,"ngIf"],["id","services-dropdown","aria-labelledby","navbarDropdown",1,"dropdown-menu","sublink-menu",3,"mouseenter","mouseleave"],[4,"ngFor","ngForOf"],["routerLinkActive","active nav-link-active",1,"nav-link","fs-16","f-w-regular",3,"routerLink"],["role","button","aria-expanded","false","routerLinkActive","dropdown-active nav-link-active",1,"nav-link","dropdown-toggle","fs-16","f-w-regular",3,"mouseenter","mouseleave","click","routerLink"],[1,"dropdown-item","fs-16","f-w-regular","d-flex","align-items-center","gap-2","sublink-item",3,"href"],[1,"fs-14","f-w-regular"],["role","button","tabindex","0",1,"dropdown-item","fs-18","f-w-regular","d-flex","align-items-center","gap-2","sublink-item","cursor-pointer",3,"click"],[1,"d-flex","flex-column","w-100"],[1,"fs-18","f-w-regular","d-flex","align-items-center","justify-content-between"],["src","assets/images/dynamic/navbar/arrow.svg","alt","",1,"ms-2"],[1,"fs-14","fw-light"],[1,"d-flex","flex-wrap","gap-2","mt-3"],[1,"fs-14","fw-light","serviceItem","d-flex","align-items-center","gap-3","cursor-pointer",3,"click"],["src","assets/images/dynamic/navbar/arrow.svg","alt",""],["routerLinkActive","active",1,"dropdown-item","fs-18","f-w-regular","d-flex","align-items-center","gap-2","sublink-item",3,"routerLink"],["class","fs-14 fw-light",4,"ngIf"],[1,"dropdown-item","fs-18","f-w-regular","d-flex","align-items-center","gap-2","sublink-item"],[3,"click"],[1,"fs-18","f-w-regular","cursor-pointer","d-flex","align-items-center","justify-content-between"],[1,"d-flex","align-items-center","justify-content-between","w-100"],[1,"ms-2"],["alt","toggle-icon","width","12","height","12",1,"menu-arrow",3,"src"],[1,"collapse-content"],["role","button","tabindex","0",1,"fs-14","fw-light","serviceItem",3,"click"],["role","button","tabindex","0",1,"fs-14","fw-light","serviceItem","d-flex","align-items-center","gap-3",3,"click"],["src","assets/images/dynamic/navbar/lang-en.svg","alt","English","width","30","height","30",1,"lang-icon",3,"click"],["src","assets/images/dynamic/navbar/lang-ar.svg","alt","\u0627\u0644\u0639\u0631\u0628\u064A\u0629","width","30","height","30",1,"lang-icon",3,"click"],["target","_blank",3,"href"],["alt","","width","28","height","28",1,"img-fluid","social-icon",3,"src"],["alt","","width","28","height","28",3,"src"],["routerLink","/auth/login",1,"login-btn"],["src","assets/images/dynamic/navbar/login.svg","alt","","width","20","height","20",1,"login-icon"],[1,"fs-14","f-w-regular","text-white","d-none","d-lg-block"],[1,"dropdown","navbar-action-item","d-flex","align-items-center","align-items-center"],["id","userDropdown","data-bs-toggle","dropdown","aria-expanded","false",1,"userIcon","d-none","d-lg-flex",3,"click"],["src","assets/images/dynamic/auth/user.svg","alt","User","width","32","height","32",1,"cursor-p"],[1,"fs-18","f-w-regular","text-E5154F","d-none","d-md-block"],["data-bs-toggle","dropdown","aria-expanded","false",1,"d-block","d-lg-none",3,"click"],["src","assets/images/core/user-small-screen.svg","alt","User","width","24","height","24",1,"cursor-p"],["aria-labelledby","userDropdown",1,"dropdown-menu","dropdown-menu-center"],[1,"d-flex","align-items-center","gap-2","dropdown-item",3,"mouseenter","mouseleave","ngClass"],["routerLinkActive","active",1,"nav-link","p-0","cursor-p","d-flex","align-items-center","gap-2",3,"routerLink","routerLinkActiveOptions"],[1,"fs-18","f-w-regular"],[1,"d-flex","align-items-center","gap-2","dropdown-item"],["role","button","tabindex","0",1,"fs-18","f-w-regular","cursor-p",3,"click"],["alt","","width","20","height","20",1,"img-fluid","social-icon",3,"src"],["alt","","width","20",3,"src"],[1,"active-component","mx-auto","fs-24","f-w-bold","text-white","text-center"]],template:function(t,n){t&1&&(l(0,"div",9)(1,"div",10)(2,"div",11)(3,"div",12)(4,"div",10)(5,"nav",13)(6,"div",14)(7,"div",15)(8,"a",16),y(9,"img",17)(10,"img",18),d()(),l(11,"div",19)(12,"ul",20),w(13,rn,2,6,"li",21),l(14,"li",22),w(15,an,1,0,"img",23)(16,sn,1,0),d()()(),l(17,"div",24)(18,"li",25),w(19,on,1,0,"img",23)(20,ln,1,0),d(),l(21,"div",26),w(22,cn,3,4,"div",27),d(),l(23,"div",28)(24,"div",29),w(25,dn,2,2,"a",30)(26,un,2,2,"a",30),d(),l(27,"div",31),b(28),T(29,"translate"),d()(),w(30,gn,6,3,"div",32)(31,hn,65,80),l(32,"button",33),_("click",function(){return n.toggleNavbar()}),y(33,"img",34),d()()()()(),l(34,"div",35)(35,"div",36),w(36,mn,3,4,"div",27),d(),l(37,"div",37)(38,"div",31),b(39),T(40,"translate"),d(),l(41,"div",29),w(42,fn,2,2,"a",30)(43,_n,2,2,"a",30),d()()()()(),l(44,"div",12),w(45,vn,3,3,"h1",38),d()()()),t&2&&(c("ngClass",ge
1(19,At,n.navbarAbsolute,!n.navbarAbsolute,n.isNavbarVisible,n.isScrolled)),o(9),c("src",n.logo==null||n.logo[0]==null||n.logo[0].fields==null||n.logo[0].fields.value==null||n.logo[0].fields.value.fields==null||n.logo[0].fields.value.fields.umbracoFile==null?null:n.logo[0].fields.value.fields.umbracoFile.src,D),o(4),c("ngForOf",n.navbarItems==null?null:n.navbarItems.children),o(2),R(15,n.isLangArabic?15:16),o(4),R(19,n.isLangArabic?19:20),o(3),c("ngForOf",n.socialLinks),o(3),c("ngIf",n.googlePlay),o(),c("ngIf",n.appStore),o(2),x(" ",I(29,15,"downloadApp")," "),o(2),R(30,n.isAuth?31:30),o(6),c("ngForOf",n.socialLinks),o(3),x(" ",I(40,17,"downloadApp")," "),o(3),c("ngIf",n.googlePlay),o(),c("ngIf",n.appStore),o(2),c("ngIf",n.activeComponentTitle))},dependencies:[pe,X,J,ee,ut,dt,st,ot],styles:['#nav-bar[_ngcontent-%COMP%]{background-color:#fff;position:static;width:100%;max-height:100px;position:fixed;top:0;z-index:1040;box-shadow:#0000003d 0 3px 8px}@media (max-width: 991px){.small-screen-h[_ngcontent-%COMP%]{height:110px}}.app-small-screen[_ngcontent-%COMP%]{height:36px;border-radius:8px;background:linear-gradient(to left,#480508,#670d00);padding-left:10px}.remove_contact_links[_ngcontent-%COMP%] .links[_ngcontent-%COMP%]{display:none}.add_contact_links[_ngcontent-%COMP%] .links[_ngcontent-%COMP%]{display:block;padding:5px 35px}.topbar[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%], .topbar[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{color:#fff}.topbar[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{color:#eb4310}#social[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{border:1px solid #a6a4a4;border-radius:50%;width:40px;height:40px;padding:0;display:flex;justify-content:center;align-items:center;font-size:1rem;color:#4d2463}#social[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{background-color:#8a9d2a;color:#4d2463;border-color:#8a9d2a}.login[_ngcontent-%COMP%]{height:37px;font-weight:500;font-size:1rem;background-color:#4d2463;border-radius:8px;color:#fff;margin-inline-start:5px;display:flex;justify-content:center;align-items:center;padding:9px}.login[_ngcontent-%COMP%]:hover{background-color:#8a9d2a;color:#4d2463}#navbarDropdown[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background-color:#efefef;border:1px solid #efefef;cursor:pointer}#navbarDropdown[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#434343}@media (min-width: 992px){.navbar-nav[_ngcontent-%COMP%] .nav-item.navbar-menu-item[_ngcontent-%COMP%]{padding-inline-start:1rem;position:relative}.navbar-nav[_ngcontent-%COMP%] .nav-item.navbar-menu-item[_ngcontent-%COMP%]:before{content:"";position:absolute;inset-inline-start:0;top:50%;transform:translateY(-50%);width:1px;height:18px;background-color:#ffffff80}.navbar-nav[_ngcontent-%COMP%] .nav-item.navbar-menu-item[_ngcontent-%COMP%]:first-child{padding-inline-start:0}.navbar-nav[_ngcontent-%COMP%] .nav-item.navbar-menu-item[_ngcontent-%COMP%]:first-child:before{display:none}}@media (min-width: 1366px){.navbar-nav[_ngcontent-%COMP%]{gap:10px;padding:0}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{font-size:16px;color:#fff;position:relative}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover, .navbar-nav[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{color:#eb4310}.telenphone[_ngcontent-%COMP%]{padding-inline-start:32px}.login[_ngcontent-%COMP%]{width:110px}}@media (max-width: 1366px) and (min-width: 1025px){.navbar-nav[_ngcontent-%COMP%]{padding:0;gap:24px}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{text-align:center;font-size:16px;position:relative;font-weight:700;font-family:Cairo-Bold;color:#fff}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{font-size:16px;position:relative;font-weight:700;font-family:Cairo-Bold}.navbar-nav[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{color:#fff}}@media (min-width: 1024px){.imagStyle[_ngcontent-%COMP%]{height:auto;width:auto}}@media (max-width: 1024px){.imagStyle[_ngcontent-%COMP%]{height:auto;padding:16px 32px}.navbar-nav[_ngcontent-%COMP%]{padding:0;gap:.5rem}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{font-size:16px;color:#023d59;position:relative;border-bottom:1px solid #e5e5e5}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover, .navbar-nav[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{color:#e23737}.login[_ngcontent-%COMP%]{width:87px;font-size:1.2rem}.telenphone[_ngcontent-%COMP%]{padding-right:16px}.telenphone[_ngcontent-%COMP%], .iconStyle[_ngcontent-%COMP%]{display:none}}hr[_ngcontent-%COMP%]{height:.5px;background-color:#242424a1}.dropdown-toggle[_ngcontent-%COMP%]:after{margin-left:0;margin-inline-start:.5rem;display:none}.dropdown-at-navbar[_ngcontent-%COMP%], .dropdown-menu[_ngcontent-%COMP%]{background:#bd1c03!important;border:0;min-width:310px;color:#fff;font-size:1rem;overflow:hidden;padding:16px;border-radius:0 0 0 16px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024;z-index:1045!important;position:absolute!important}.sublink-menu[_ngcontent-%COMP%]{z-index:1045!important;position:absolute!important}.dropdown-item[_ngcontent-%COMP%]{color:#fff;text-align:start;border-radius:0!important;margin-bottom:0!important;cursor:pointer;transition:all .2s ease;padding:1ex 0!important;border-bottom:2px solid #fff!important}.dropdown-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.dropdown-item[_ngcontent-%COMP%] .serviceItem[_ngcontent-%COMP%]{background:linear-gradient(to right,#a71500,#670d00)!important;color:#fff;border-radius:8px;padding:7px 9px}.dropdown-item[_ngcontent-%COMP%]:last-child{border-bottom:none!important}.dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-bottom:0}.dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom:none}.dropdown-item.active[_ngcontent-%COMP%], .dropdown-item[_ngcontent-%COMP%]:active{background-color:transparent!important;color:#fff}.dropdown-item.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .dropdown-item[_ngcontent-%COMP%]:active a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.bg-active[_ngcontent-%COMP%]{background-color:transparent!important}.dropdown-item[_ngcontent-%COMP%]:focus, .dropdown-item[_ngcontent-%COMP%]:hover{background-color:transparent!important;color:#fff!important}.dropdown-item[_ngcontent-%COMP%]:focus span[_ngcontent-%COMP%], .dropdown-item[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%]{text-decoration:none;color:#fff!important}.dropdown-item[_ngcontent-%COMP%]:focus a[_ngcontent-%COMP%], .dropdown-item[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{text-decoration:none;color:#fff!important}.dropdown-item[_ngcontent-%COMP%]{padding:1ex 0}.dropdown-item.active[_ngcontent-%COMP%], .dropdown-item[_ngcontent-%COMP%]:active{color:#fff}.hide-arrow[_ngcontent-%COMP%]:after{display:none}.containerForm[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.telenphone[_ngcontent-%COMP%]{font-size:24px;color:#8a9d2a}.iconStyle[_ngcontent-%COMP%]{padding-inline-start:8px}.sidebar-container[_ngcontent-%COMP%]{background-color:#fff;padding:19px 32px;position:relative}.sidebar-container[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{font-size:22px!important;font-weight:700}.sidebar-container[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{color:#411d54}.sidebar-container[_ngcontent-%COMP%] .pageLink[_ngcontent-%COMP%]{margin-bottom:10px}.sidebar-container[_ngcontent-%COMP%] .pageLink[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;font-weight:500!important;font-size:25px!important}.sidebar-container[_ngcontent-%COMP%] .pageLink[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#8a9d2a}.sidebar-container[_ngcontent-%COMP%] .toggel-container[_ngcontent-%COMP%]{width:20px;
1display:inline-block;transition:all .3s;cursor:pointer;display:flex;flex-direction:column;justify-content:center}.sidebar-container[_ngcontent-%COMP%] .toggel-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;position:relative;height:1.5px;width:20px;background-color:#4d2563}.sidebar-container[_ngcontent-%COMP%] .toggel-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:before, .sidebar-container[_ngcontent-%COMP%] .toggel-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:after{content:"";display:block;background-color:#4d2563;width:20px;height:1.5px;position:absolute;bottom:0;transform:transform-origin(80%);transition:all .3s}.sidebar-container[_ngcontent-%COMP%] .toggel-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:before{transform:translateY(-.5em)}.sidebar-container[_ngcontent-%COMP%] .toggel-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:after{transform:translateY(.5em)}.sidebar-container[_ngcontent-%COMP%] .toggel-container[_ngcontent-%COMP%]:hover:not(.actived) span[_ngcontent-%COMP%]:before{transform:translateY(-.8em)}.sidebar-container[_ngcontent-%COMP%] .toggel-container[_ngcontent-%COMP%]:hover:not(.actived) span[_ngcontent-%COMP%]:after{transform:translateY(.8em)}.sidebar-container[_ngcontent-%COMP%] .toggel-container.actived[_ngcontent-%COMP%]{width:25px}.sidebar-container[_ngcontent-%COMP%] .toggel-container.actived[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:transparent;width:25px}.sidebar-container[_ngcontent-%COMP%] .toggel-container.actived[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_top-bar .5s;animation-fill-mode:forwards;width:25px}.sidebar-container[_ngcontent-%COMP%] .toggel-container.actived[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:after{animation:_ngcontent-%COMP%_bottom-bar .5s;animation-fill-mode:forwards;width:24px}@keyframes _ngcontent-%COMP%_top-bar{50%{transform:translateY(0)}to{transform:rotate(45deg) translateY(0)}}@keyframes _ngcontent-%COMP%_bottom-bar{50%{transform:translateY(0)}to{transform:rotate(-45deg) translateY(0)}}.sidebar-container[_ngcontent-%COMP%] .sidbar[_ngcontent-%COMP%]{position:fixed;display:flex;z-index:1045;color:#fff!important;justify-content:center;align-items:center;width:100%;height:100%;top:0;background-color:#4d2463}.sidebar-container[_ngcontent-%COMP%] .show_sidebar[_ngcontent-%COMP%]{transition:all ease-in-out .5s;opacity:1;transform:scale(1);left:0}.sidebar-container[_ngcontent-%COMP%] .hide_sidebar[_ngcontent-%COMP%]{transition:all ease-in-out .5s;opacity:0;transform:scale(1.5);z-index:-500}.sidebar-container[_ngcontent-%COMP%] .sidebarImag[_ngcontent-%COMP%]{width:32px;min-height:calc(100vh - 3px)}.sidebar-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border-bottom:0}.sidebar-container[_ngcontent-%COMP%] .sidbarLinks[_ngcontent-%COMP%]{width:100%}.sidebar-container[_ngcontent-%COMP%] .sidbarLinks[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-right:0;display:flex;flex-direction:column;justify-content:center;align-items:center}@media (min-width: 500px){.sidebar-container[_ngcontent-%COMP%] .sidbarLinks[_ngcontent-%COMP%]{padding-top:32px;padding-inline-start:32px}}@media (max-width: 500px){.sidebar-container[_ngcontent-%COMP%] .sidbarLinks[_ngcontent-%COMP%]{padding-top:16px;padding-inline-start:16px}}[_nghost-%COMP%] :lang(en) .sidbar{left:0;right:auto}.logoImage[_ngcontent-%COMP%]{width:280px}@media (max-width: 500px){.sidebar-container[_ngcontent-%COMP%]{padding:23px 21px}.logoImage[_ngcontent-%COMP%]{width:180px;height:65px}}@media (max-width: 500px){.imagStyle[_ngcontent-%COMP%]{height:auto;padding:0;width:auto}.logoo[_ngcontent-%COMP%]{width:136px;margin-inline-start:5px}}@media (min-width: 1024px){.logoo[_ngcontent-%COMP%]{margin-inline-end:82px}}.navbar-toggler[_ngcontent-%COMP%]{width:40px;height:40px;border:0}.navbar-light[_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%]{color:#0000008c;border-color:transparent}.navbar-toggler-icon[_ngcontent-%COMP%]{height:15px;width:15px}.sideMenue[_ngcontent-%COMP%]{height:40px}.dropdown-menu[_ngcontent-%COMP%]{margin-top:15px} :lang(en).customLoginMenue .dropdown-menu{right:0;left:auto}
1 :lang(ar).customLoginMenue .dropdown-menu{left:-70px;right:auto;top:50px;z-index:1045}@media (max-width: 768px){ :lang(ar).customLoginMenue .dropdown-menu{left:-20px;top:40px}}.customDropDownItems[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{max-width:417px}.customDropDownItems[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-bottom:0px;color:#fff;display:flex;align-items:center;gap:1rem}.customDropDownItems[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:start}.customDropDownItems[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}.customDropDownItems[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:85%;margin-left:-15px;margin-top:-15px;width:0;z-index:1;height:0;border-bottom:solid 20px #fff;border-left:solid 19px transparent;border-right:solid 20px transparent}@media (max-width: 991px){#navbarSupportedContent[_ngcontent-%COMP%]{background-color:#fff;position:absolute;left:0;right:0;text-align:center;top:70px}#navbarSupportedContent[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#434343;padding:16px}#navbarSupportedContent[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border:0px}}.services_menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;margin-bottom:15px;margin-top:15px}.home[_ngcontent-%COMP%]{background:transparent!important}.pageLink[_ngcontent-%COMP%] button[aria-expanded=true][_ngcontent-%COMP%] .collabseIcon[_ngcontent-%COMP%], .pageLink[_ngcontent-%COMP%] button[aria-expanded=false][_ngcontent-%COMP%] .collabseIcon[_ngcontent-%COMP%]{width:20px;height:20px}.mask[_ngcontent-%COMP%]{background-color:#000;opacity:30%;height:calc(100vh - 1px)}.slider_continer[_ngcontent-%COMP%]{width:100%;height:100vh;position:fixed;z-index:1045;left:0;top:0;background:#000000b3;min-width:calc(100% - 232px);max-width:calc(100% - 288px);transition:all 1s}[_nghost-%COMP%] :lang(en).slider_continer{right:0;left:auto}.close_btn[_ngcontent-%COMP%]{position:absolute;left:20px;top:130px;border:1px solid #fff;border-radius:50%;width:30px;height:30px;display:flex;justify-content:center;align-items:center;cursor:pointer}.close_btn[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:15px;height:15px}.login_btn[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background-color:#efefef;border:1px solid #efefef}.login_btn[_ngcontent-%COMP%]:focus{background-color:#efefef;border:1px solid #efefef}.lang_icon[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background-color:#efefef;border:1px solid #efefef;cursor:pointer}.lang_icon[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#434343}.main-button[_ngcontent-%COMP%]{height:40px!important;padding-left:24px;padding-right:24px}.login-button[_ngcontent-%COMP%]{color:#bd1c03;background-color:#fff;border-radius:28px;height:48px;padding:0 32px;min-width:165px}.login-button[_ngcontent-%COMP%]:focus{background-color:#fff;border:1px solid #fff;color:#bd1c03}@media (max-width: 678px){.login-button[_ngcontent-%COMP%]{padding:0 16px;min-width:fit-content}}.navbar-container[_ngcontent-%COMP%]{width:100%;background-image:url("./media/navbar-header-PHTDX4XU.webp");background-size:cover;background-position:center;background-repeat:no-repeat;position:relative;z-index:1040!important}.navbar-absolute[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;z-index:1040!important;width:100%}.full-width-overlay[_ngcontent-%COMP%]{width:100%;background-color:#00000080;position:relative;z-index:1045!important}@media (max-width: 991px){.full-width-overlay[_ngcontent-%COMP%]{background-color:#480508;opacity:1}}.full-width-overlay[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%]{background-color:transparent;position:relative;z-index:1045!important}.gap-60[_ngcontent-%COMP%]{gap:60px}@media screen and (max-width: 991px){.lang-small-screen[_ngcontent-%COMP%]{display:flex!important}.lang-big-screen[_ngcontent-%COMP%]{display:none!important}.navbar-collapse[_ngcontent-%COMP%], .collapse1[_ngcontent-%COMP%]{z-index:1045!important;transform:scaleY(0);transform-origin:top;transition:transform .3s,visibility .3s;visibility:hidden;padding:0;position:fixed;width:100vw!important;background-color:#fff;top:70px;left:0;right:0;border-radius:0!important;box-shadow:0 4px 8px #00000029;max-height:calc(100vh - 70px);overflow-y:auto}.navbar-collapse.show[_ngcontent-%COMP%], .collapse1.show[_ngcontent-%COMP%]{transform:scaleY(1);visibility:visible}.navbar-collapse[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .collapse1[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{text-align:center;padding:0;margin:0}.navbar-collapse[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%], .collapse1[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%]{padding:0}.navbar-collapse[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%], .collapse1[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{border-bottom:1px solid #eee}.navbar-collapse[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%], .collapse1[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:16px 24px;display:block;width:100%}}@media screen and (min-width: 992px){.lang-small-screen[_ngcontent-%COMP%]{display:none!important}.lang-big-screen[_ngcontent-%COMP%]{display:flex!important}}@media (max-width: 768px){.company-logo[_ngcontent-%COMP%]{width:80%!important}}.userIcon[_ngcontent-%COMP%]{background-color:#fff;border-radius:28px;border:0;padding:12px 32px;display:flex;align-items:center;justify-content:center;gap:8px;
1cursor:pointer;max-height:48px;transition:all .3s ease}.userIcon[_ngcontent-%COMP%]:hover{background-color:#f8f9fa;box-shadow:0 2px 8px #0000001a}.dropdown[_ngcontent-%COMP%]{position:relative;display:inline-block}.user-dropdown-menu[_ngcontent-%COMP%]{position:absolute!important;top:100%!important;right:0!important;left:auto!important;transform:none!important;min-width:300px;max-width:350px;margin-top:0!important;background:#bd1c03!important;border:0!important;border-radius:0 0 16px 16px!important;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024!important;padding:16px!important;z-index:1045!important;overflow:hidden;color:#fff;opacity:0;visibility:hidden;pointer-events:none;transition:all .3s cubic-bezier(.4,0,.2,1)}.user-dropdown-menu.show[_ngcontent-%COMP%]{opacity:1;visibility:visible;pointer-events:all;display:block!important}.user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]{color:#fff!important;text-align:start;border-radius:0!important;margin-bottom:0!important;cursor:pointer!important;transition:all .2s ease!important;padding:1ex 0!important;border-bottom:2px solid #fff!important}.user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]:last-child{border-bottom:none!important}.user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]:hover{background-color:transparent!important;color:#fff!important}.user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%], .user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{color:#fff!important}.user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item.bg-active[_ngcontent-%COMP%]{background-color:transparent!important;color:#fff!important}.user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item.bg-active[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item.bg-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff!important}.user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none!important;color:#fff!important;width:100%}.logout-item[_ngcontent-%COMP%]{border-top:2px solid #fff!important;border-bottom:none!important;margin-top:8px!important;padding-top:1ex!important}.logout-item[_ngcontent-%COMP%]:hover{background-color:transparent!important}.logout-item[_ngcontent-%COMP%]:hover .logout-icon[_ngcontent-%COMP%]{filter:brightness(0) invert(1)}.logout-item[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{color:#fff!important}[_nghost-%COMP%] :lang(en) .user-dropdown-menu{right:0!important;left:auto!important}[_nghost-%COMP%] :lang(ar) .user-dropdown-menu{left:0!important;right:auto!important}@media (max-width: 768px){.user-dropdown-menu[_ngcontent-%COMP%]{position:absolute!important;inset:100% 0 auto auto!important;min-height:fit-content!important;width:auto!important;max-width:none!important;transform:none!important;min-width:280px;margin-top:0!important}.user-dropdown-menu.show[_ngcontent-%COMP%]{transform:none!important}.userIcon[_ngcontent-%COMP%]{padding:8px 16px}.userIcon[_ngcontent-%COMP%] .d-none.d-md-block[_ngcontent-%COMP%]{display:none!important}}@media (max-width: 480px){.user-dropdown-menu[_ngcontent-%COMP%]{min-width:250px}.user-dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]{padding:1ex 0!important;font-size:16px!important}}@media (max-width: 768px){body.dropdown-open[_ngcontent-%COMP%]{overflow:hidden}}.full-width-hr[_ngcontent-%COMP%]{width:100vw;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);border:none;height:1px;background-color:#d6d6d6;margin-top:0;margin-bottom:0}.login-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;cursor:pointer;flex-direction:column;gap:4px}.login-btn[_ngcontent-%COMP%] .login-icon[_ngcontent-%COMP%]{width:24px}.active-component[_ngcontent-%COMP%]{padding-top:56px;padding-bottom:54px}@media (max-width: 991px){.active-component[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:1rem}}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.collapse-content[_ngcontent-%COMP%]{max-height:500px;overflow:hidden;transition:max-height .3s ease-in-out,opacity .3s ease-in-out;opacity:1}.collapse-content.collapsed[_ngcontent-%COMP%]{max-height:0;opacity:0}
1.menu-arrow[_ngcontent-%COMP%]{width:12px;transition:transform .3s ease}.menu-arrow.rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}.navbar-container[_ngcontent-%COMP%], .navbar-absolute[_ngcontent-%COMP%]{opacity:0;transform:translateY(-20px);transition:all .6s cubic-bezier(.4,0,.2,1)}.navbar-container.navbar-visible[_ngcontent-%COMP%], .navbar-absolute.navbar-visible[_ngcontent-%COMP%]{opacity:1;transform:translateY(0)}.navbar-container.navbar-scrolled[_ngcontent-%COMP%], .navbar-absolute.navbar-scrolled[_ngcontent-%COMP%]{box-shadow:0 4px 20px #0000001a}.navbar-container.navbar-scrolled[_ngcontent-%COMP%] .full-width-overlay[_ngcontent-%COMP%], .navbar-absolute.navbar-scrolled[_ngcontent-%COMP%] .full-width-overlay[_ngcontent-%COMP%]{background-color:#000000b3}.navbar-logo[_ngcontent-%COMP%]{opacity:0;transform:translate(-30px)}.navbar-visible[_ngcontent-%COMP%] .navbar-logo[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideInFromLeft .8s cubic-bezier(.4,0,.2,1) forwards}.navbar-menu-item[_ngcontent-%COMP%]{opacity:0;transform:translateY(-20px)}.navbar-visible[_ngcontent-%COMP%] .navbar-menu-item[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeInDown .6s cubic-bezier(.4,0,.2,1) forwards}.navbar-action-item[_ngcontent-%COMP%]{opacity:0;transform:scale(.8)}.navbar-visible[_ngcontent-%COMP%] .navbar-action-item[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_scaleIn .5s cubic-bezier(.4,0,.2,1) forwards;animation-delay:.4s}.navbar-social[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{opacity:0;transform:translateY(-20px)}.navbar-visible[_ngcontent-%COMP%] .navbar-social[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeInDown .5s cubic-bezier(.4,0,.2,1) forwards}.nav-link[_ngcontent-%COMP%]{position:relative;transition:all .3s ease}.nav-link[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-5px;left:50%;width:0;height:2px;background:#eb4310;transition:all .3s ease;transform:translate(-50%)}.nav-link[_ngcontent-%COMP%]:hover:after, .nav-link.active[_ngcontent-%COMP%]:after{width:80%}.nav-link[_ngcontent-%COMP%]:hover{transform:translateY(-2px)}.dropdown-menu[_ngcontent-%COMP%]{opacity:0;transform:translateY(-10px);pointer-events:none;transition:all .3s cubic-bezier(.4,0,.2,1)}.dropdown-menu.show[_ngcontent-%COMP%]{opacity:1;transform:translateY(0);pointer-events:all;animation:_ngcontent-%COMP%_dropdownSlideIn .3s ease-out}.user-dropdown-menu.show[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_userDropdownIn .4s cubic-bezier(.4,0,.2,1) forwards}.active-component[_ngcontent-%COMP%]{opacity:0;transform:translateY(20px)}.navbar-visible[_ngcontent-%COMP%] .active-component[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeInUp .8s cubic-bezier(.4,0,.2,1) .5s forwards}.social-icon[_ngcontent-%COMP%]{transition:all .3s ease}.social-icon[_ngcontent-%COMP%]:hover{transform:translateY(-3px) scale(1.1);filter:brightness(1.2)}.login-btn[_ngcontent-%COMP%]{transition:all .3s ease}.login-btn[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0003}.userIcon[_ngcontent-%COMP%]{transition:all .3s ease}.userIcon[_ngcontent-%COMP%]:hover{transform:scale(1.05);box-shadow:0 4px 12px #00000026}.navbar-toggler[_ngcontent-%COMP%]{transition:all .3s ease}.navbar-toggler[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.navbar-collapse.show[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_mobileMenuSlideDown .4s cubic-bezier(.4,0,.2,1)}@keyframes _ngcontent-%COMP%_slideInFromLeft{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}@keyframes _ngcontent-%COMP%_fadeInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_scaleIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes _ngcontent-%COMP%_dropdownSlideIn{0%{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes _ngcontent-%COMP%_userDropdownIn{0%{opacity:0;transform:translateY(-20px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes _ngcontent-%COMP%_mobileMenuSlideDown{0%{opacity:0;max-height:0;transform:scaleY(0)}to{opacity:1;max-height:1000px;transform:scaleY(1)}}.full-width-overlay[_ngcontent-%COMP%]{transition:background-color .3s ease}.company-logo[_ngcontent-%COMP%]{transition:all .3s ease}.company-logo[_ngcontent-%COMP%]:hover{transform:scale(1.05)}.lang-icon[_ngcontent-%COMP%]{transition:all .3s ease}.lang-icon[_ngcontent-%COMP%]:hover{transform:rotate(180deg) scale(1.1)}.serviceItem[_ngcontent-%COMP%]{transition:all .3s ease}.serviceItem[_ngcontent-%COMP%]:hover{transform:translate(5px);box-shadow:0 4px 12px #a715004d}.collapse-content[_ngcontent-%COMP%]{transition:max-height .4s cubic-bezier(.4,0,.2,1),opacity .3s ease}.collapse-content[_ngcontent-%COMP%]:not(.collapsed){animation:_ngcontent-%COMP%_expandContent .4s ease-out}@keyframes _ngcontent-%COMP%_expandContent{0%{opacity:0;max-height:0}to{opacity:1;max-height:500px}}.menu-arrow[_ngcontent-%COMP%]{transition:transform .4s cubic-bezier(.4,0,.2,1)}.menu-arrow.rotated[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_arrowRotate .4s ease-out}@keyframes _ngcontent-%COMP%_arrowRotate{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@media (max-width: 991px){.navbar-visible[_ngcontent-%COMP%] .navbar-menu-item[_ngcontent-%COMP%]{animation:fadeInLeft .5s ease forwards}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}}@media (prefers-reduced-motion: reduce){*[_ngcontent-%COMP%], *[_ngcontent-%COMP%]:before, *[_ngcontent-%COMP%]:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.nav-item.dropdown[_ngcontent-%COMP%]{position:relative}.nav-item.dropdown[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-20px;left:0;right:0;height:20px;background:transparent;z-index:1035}.dropdown-at-navbar[_ngcontent-%COMP%], .dropdown-menu[_ngcontent-%COMP%]{position:absolute!important;top:100%!important;left:0!important;z-index:1045!important;margin-top:0!important;display:none;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}.dropdown-at-navbar.show[_ngcontent-%COMP%], .dropdown-menu.show[_ngcontent-%COMP%]{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:all!important}@media (max-width: 991px){.nav-item.dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:relative!important;width:100vw!important;margin-left:calc(-50vw + 50%)!important;margin-right:calc(-50vw + 50%)!important;left:0!important;right:0!important;margin-top:0;box-shadow:none;border-radius:0!important;padding:16px 24px!important}.nav-item.dropdown[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:all!important}}.navbar-container[_ngcontent-%COMP%], .navbar-absolute[_ngcontent-%COMP%]{z-index:1035!important}.full-width-overlay[_ngcontent-%COMP%], .full-width-overlay[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%]{position:relative;z-index:1035!important}.nav-link.dropdown-toggle[_ngcontent-%COMP%]{pointer-events:all!important}']})}}return i})();var bn=(i,p,e,t,n)=>({width:i,transform:p,transition:e,"padding-left":t,"padding-right":n}),Cn=(i,p,e,t)=>({width:i,"margin-left":p,"margin-right":e,left:t}),wn=(i,p)=>({$implicit:i,index:p});function xn(i,p){}function Sn(i,p){if(i&1&&w(0,xn,0,0,"ng-template",4),i&2){let e=g(),t=e.$implicit,n=e.index,r=g();c("ngTemplateOutlet",t.tplRef)("ngTemplateOutletContext",ue(2,wn,r.preparePublicSlide(t),n))}}function yn(i,p){if(i&1){let e=k();K(0),l(1,"div",2),_("animationend",function(){let n=h(e).$implicit,r=g();return m(r.clear(n.id))}),w(2,Sn,1,5,null,3),d(),Z()}if(i&2){let e=p.$implicit;o(),c("ngClass",e.classes)("ngStyle",ge(4,Cn,e.width+"px",e.marginL?e.marginL+"px":"",e.marginR?e.marginR+"px":"",e.left))("@autoHeight",e.heightState),o(),c("ngIf",e.load)}}var Mn=(i,p,e,t,n)=>({"owl-rtl":i,"owl-loaded":p,"owl-responsive":e,"owl-drag":t,"owl-grab":n}),On=(i,p)=>({isMouseDragable:i,isTouchDragable:p}),_e=i=>({disabled:i}),Pn=(i,p)=>({active:i,"owl-dot-text":p});function Dn(i,p){if(i&1&&(l(0,"div",4),y(1,"owl-stage",5),d()),i&2){let e=g();o(),c("owlDraggable",ue(3,On,e.owlDOMData==null?null:e.owlDOMData.isMouseDragable,e.owlDOMData==null?null:e.owlDOMData.isTouchDragable))("stageData",e.stageData)("slidesData",e.slidesData)}}function kn(i,p){if(i&1){let e=k();l(0,"div",11),_("click",function(){let n=h(e).$implicit,r=g(2);return m(r.moveByDot(n.id))}),y(1,"span",12),d()}if(i&2){let e=p.$implicit;c("ngClass",ue(2,Pn,e.active,e.showInnerContent)),o(),c("innerHTML",e.innerContent,le)}}function Tn(i,p){if(i&1){let e=k();K(0),l(1,"div",6)(2,"div",7),_("click",function(){h(e);let n=g();return m(n.prev())}),d(),l(3,"div",8),_("click",function(){h(e);let n=g();return m(n.next())}),d()(),l(4,"div",9),w(5,kn,2,5,"div",10),d(),Z()}if(i&2){let e=g();o(),c("ngClass",U(7,_e,e.navData==null?null:e.navData.disabled)),o(),c("ngClass",U(9,_e,e.navData==null||e.navData.prev==null?null:e.navData.prev.disabled))("innerHTML",e.navData==null||e.navData.prev==null?null:e.navData.prev.htmlText,le),o(),c("ngClass",U(11,_e,e.navData==null||e.navData.next==null?null:e.navData.next.disabled))("innerHTML",e.navData==null||e.navData.next==null?null:e.navData.next.htmlText,le),o(),c("ngClass",U(13,_e,e.dotsData==null?null:e.dotsData.disabled)),o(),c("ngForOf",e.dotsData==null?null:e.dotsData.dots)}}var Le=class{items=3;skip_validateItems=!1;loop=!1;center=!1;rewind=!1;mouseDrag=!0;touchDrag=!0;pullDrag=!0;freeDrag=!1;margin=0;stagePadding=0;merge=!1;mergeFit=!0;autoWidth=!1;startPosition=0;rtl=!1;smartSpeed=250;fluidSpeed=!1;dragEndSpeed=!1;responsive={};responsiveRefreshRate=200;nav=!1;navText=["prev","next"];navSpeed=!1;slideBy=1;dots=!0;dotsEach=!1;dotsData=!1;dotsSpeed=!1;autoplay=!1;autoplayTimeout=5e3;autoplayHoverPause=!1;autoplaySpeed=!1;autoplayMouseleaveTimeout=1;lazyLoad=!1;lazyLoadEager=0;slideTransition="";animateOut=!1;animateIn=!1;autoHeight=!1;URLhashListener=!1;constructor(){}},Ee=class{items="number";skip_validateItems="boolean";loop="boolean";center="boolean";rewind="boolean";mouseDrag="boolean";touchDrag="boolean";pullDrag="boolean";freeDrag="boolean";margin="number";stagePadding="number";merge="boolean";mergeFit="boolean";autoWidth="boolean";startPosition="number|string";rtl="boolean";smartSpeed="number";fluidSpeed="boolean";dragEndSpeed="number|boolean";responsive={};responsiveRefreshRate="number";nav="boolean";navText="string[]";navSpeed="number|boolean";slideBy="number|string";dots="boolean";dotsEach="number|boolean";dotsData="boolean";dotsSpeed="number|boolean";autoplay="boolean";autoplayTimeout="number";autoplayHoverPause="boolean";autoplaySpeed="number|boolean";autoplayMouseleaveTimeout="number";lazyLoad="boolean";lazyLoadEager="number";slideTransition="string";animateOut="string|boolean";
1animateIn="string|boolean";autoHeight="boolean";URLhashListener="boolean";constructor(){}},ze=(()=>{class i{errorHandler;constructor(e){this.errorHandler=e}log(e,...t){et()&&console.log(e,...t)}error(e){this.errorHandler.handleError(e)}warn(e,...t){console.warn(e,...t)}static \u0275fac=function(t){return new(t||i)(P(qe))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})();var Pt=function(i){return i.Event="event",i.State="state",i}(Pt||{}),ve=function(i){return i.Default="default",i.Inner="inner",i.Outer="outer",i}(ve||{});var H=(()=>{class i{logger;_viewSettingsShipper$=new L;_initializedCarousel$=new L;_changeSettingsCarousel$=new L;_changedSettingsCarousel$=new L;_translateCarousel$=new L;_translatedCarousel$=new L;_resizeCarousel$=new L;_resizedCarousel$=new L;_refreshCarousel$=new L;_refreshedCarousel$=new L;_dragCarousel$=new L;_draggedCarousel$=new L;settings={items:0};owlDOMData={rtl:!1,isResponsive:!1,isRefreshed:!1,isLoaded:!1,isLoading:!1,isMouseDragable:!1,isGrab:!1,isTouchDragable:!1};stageData={transform:"translate3d(0px,0px,0px)",transition:"0s",width:0,paddingL:0,paddingR:0};slidesData;navData;dotsData;_width;_items=[];_widths=[];_supress={};_plugins={};_current=null;_clones=[];_mergers=[];_speed=null;_coordinates=[];_breakpoint=null;clonedIdPrefix="cloned-";_options={};_invalidated={};get invalidated(){return this._invalidated}_states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}};get states(){return this._states}_pipe=[{filter:["width","items","settings"],run:e=>{e.current=this._items&&this._items[this.relative(this._current)]?.id}},{filter:["width","items","settings"],run:e=>{let t=this.settings.margin||"",n=!this.settings.autoWidth,r=this.settings.rtl,a={"margin-left":r?t:"","margin-right":r?"":t};n||this.slidesData.forEach(s=>{s.marginL=a["margin-left"],s.marginR=a["margin-right"]}),e.css=a}},{filter:["width","items","settings"],run:e=>{let t=+(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=!this.settings.autoWidth,r=[],a=null,s=this._items.length;for(e.items={merge:!1,width:t};s-- >0;)a=this._mergers[s],a=this.settings.mergeFit&&Math.min(a,this.settings.items)||a,e.items.merge=a>1||e.items.merge,r[s]=n?t*a:this._items[s].width?this._items[s].width:t;this._widths=r,this.slidesData.forEach((u,f)=>{u.width=this._widths[f],u.marginR=e.css["margin-right"],u.marginL=e.css["margin-left"]})}},{filter:["items","settings"],run:()=>{let e=[],t=this._items,n=this.settings,r=Math.max(n.items*2,4),a=Math.ceil(t.length/2)*2,s=[],u=[],f=n.loop&&t.length?n.rewind?r:Math.max(r,a):0;for(f/=2;f-- >0;)e.push(this.normalize(e.length/2,!0)),s.push(z({},this.slidesData[e[e.length-1]])),e.push(this.normalize(t.length-1-(e.length-1)/2,!0)),u.unshift(z({},this.slidesData[e[e.length-1]]));this._clones=e,s=s.map(v=>(v.id=`${this.clonedIdPrefix}${v.id}`,v.isActive=!1,v.isCloned=!0,v)),u=u.map(v=>(v.id=`${this.clonedIdPrefix}${v.id}`,v.isActive=!1,v.isCloned=!0,v)),this.slidesData=u.concat(this.slidesData).concat(s)}},{filter:["width","items","settings"],run:()=>{let e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,n=[],r=-1,a=0,s=0;for(;++r<t;)a=n[r-1]||0,s=this._widths[this.relative(r)]+this.settings.margin,n.push(a+s*e);this._coordinates=n}},{filter:["width","items","settings"],run:()=>{let e=this.settings.stagePadding,t=this._coordinates,n={width:Math.ceil(Math.abs(t[t.length-1]))+e*2,"padding-left":e||"","padding-right":e||""};this.stageData.width=n.width,this.stageData.paddingL=n["padding-left"],this.stageData.paddingR=n["padding-right"]}},{filter:["width","items","settings"],run:e=>{let t=e.current?this.slidesData.findIndex(n=>n.id===e.current):0;t=Math.max(this.minimum(),Math.min(this.maximum(),t)),this.reset(t)}},{filter:["position"],run:()=>{this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:()=>{let e=this.settings.rtl?1:-1,t=this.settings.stagePadding*2,n=[],r,a,s,u,f,v;if(r=this.coordinates(this.current()),typeof r=="number"?r+=t:r=0,a=r+this.width()*e,e===-1&&this.settings.center){let S=this._coordinates.filter(re=>this.settings.items%2===1?re>=r:re>r);r=S.length?S[S.length-1]:r}for(f=0,v=this._coordinates.length;f<v;f++)s=Math.ceil(this._coordinates[f-1]||0),u=Math.ceil(Math.abs(this._coordinates[f])+t*e),(this._op(s,"<=",r)&&this._op(s,">",a)||this._op(u,"<",r)&&this._op(u,">",a))&&n.push(f);this.slidesData.forEach(S=>
1(S.isActive=!1,S)),n.forEach(S=>{this.slidesData[S].isActive=!0}),this.settings.center&&(this.slidesData.forEach(S=>(S.isCentered=!1,S)),this.slidesData[this.current()].isCentered=!0)}}];constructor(e){this.logger=e}getViewCurSettings(){return this._viewSettingsShipper$.asObservable()}getInitializedState(){return this._initializedCarousel$.asObservable()}getChangeState(){return this._changeSettingsCarousel$.asObservable()}getChangedState(){return this._changedSettingsCarousel$.asObservable()}getTranslateState(){return this._translateCarousel$.asObservable()}getTranslatedState(){return this._translatedCarousel$.asObservable()}getResizeState(){return this._resizeCarousel$.asObservable()}getResizedState(){return this._resizedCarousel$.asObservable()}getRefreshState(){return this._refreshCarousel$.asObservable()}getRefreshedState(){return this._refreshedCarousel$.asObservable()}getDragState(){return this._dragCarousel$.asObservable()}getDraggedState(){return this._draggedCarousel$.asObservable()}setOptions(e){let t=new Le,n=this._validateOptions(e,t);this._options=z(z({},t),n)}_validateOptions(e,t){let n=z({},e),r=new Ee,a=(s,u)=>(this.logger.log(`options.${u} must be type of ${s}; ${u}=${e[u]} skipped to defaults: ${u}=${t[u]}`),t[u]);for(let s in n)if(n.hasOwnProperty(s)){if(r[s]==="number")this._isNumeric(n[s])?(n[s]=+n[s],n[s]=s==="items"?this._validateItems(n[s],n.skip_validateItems):n[s]):n[s]=a(r[s],s);else if(r[s]==="boolean"&&typeof n[s]!="boolean")n[s]=a(r[s],s);else if(r[s]==="number|boolean"&&!this._isNumberOrBoolean(n[s]))n[s]=a(r[s],s);else if(r[s]==="number|string"&&!this._isNumberOrString(n[s]))n[s]=a(r[s],s);else if(r[s]==="string|boolean"&&!this._isStringOrBoolean(n[s]))n[s]=a(r[s],s);else if(r[s]==="string[]")if(Array.isArray(n[s])){let u=!1;n[s].forEach(f=>{u=typeof f=="string"}),u||(n[s]=a(r[s],s))}else n[s]=a(r[s],s)}return n}_validateItems(e,t){let n=e;return e>this._items.length?t?this.logger.log("The option 'items' in your options is bigger than the number of slides. The navigation got disabled"):(n=this._items.length,this.logger.log("The option 'items' in your options is bigger than the number of slides. This option is updated to the current number of slides and the navigation got disabled")):e===this._items.length&&(this.settings.dots||this.settings.nav)&&this.logger.log("Option 'items' in your options is equal to the number of slides. So the navigation got disabled"),n}setCarouselWidth(e){this._width=e}setup(e,t,n){this.setCarouselWidth(e),this.setItems(t),this._defineSlidesData(),this.setOptions(n),this.settings=z({},this._options),this.setOptionsForViewport(),this._trigger("change",{property:{name:"settings",value:this.settings}}),this.invalidate("settings"),this._trigger("changed",{property:{name:"settings",value:this.settings}})}setOptionsForViewport(){let e=this._width,t=this._options.responsive,n=-1;if(!Object.keys(t).length)return;if(!e){this.settings.items=1;return}for(let a in t)t.hasOwnProperty(a)&&+a<=e&&+a>n&&(n=Number(a));this.settings=Ce(z(z({},this._options),t[n]),{items:t[n]&&t[n].items?this._validateItems(t[n].items,this._options.skip_validateItems):this._options.items}),delete this.settings.responsive,this.owlDOMData.isResponsive=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag;let r=[];this._items.forEach(a=>{let s=this.settings.merge?a.dataMerge:1;r.push(s)}),this._mergers=r,this._breakpoint=n,this.invalidate("settings")}initialize(e){this.enter("initializing"),this.owlDOMData.rtl=this.settings.rtl,this._mergers.length&&(this._mergers=[]),e.forEach(t=>{let n=this.settings.merge?t.dataMerge:1;this._mergers.push(n)}),this._clones=[],this.reset(this._isNumeric(this.settings.startPosition)?+this.settings.startPosition:0),this.invalidate("items"),this.refresh(),this.owlDOMData.isLoaded=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag,this.sendChanges(),this.leave("initializing"),this._trigger("initialized")}sendChanges(){this._viewSettingsShipper$.next({owlDOMData:this.owlDOMData,stageData:this.stageData,slidesData:this.slidesData,navData:this.navData,dotsData:this.dotsData})}_optionsLogic(){this.settings.autoWidth&&(this.settings.stagePadding=0,this.settings.merge=!1)}update(){let e=0,t=this._pipe.length,n=a=>this._invalidated[a],r={};for(;e<t;){let a=this._pipe[e].filter.filter(n);(this._invalidated.all||a.length>0)&&this._pipe[e].run(r),e++}this.slidesData.forEach(a=>a.classes=this.setCurSlideClasses(a)),this.sendChanges(),this._invalidated={},this.is("valid")||this.enter("valid")}width(e){switch(e=e||ve.Default,e){case ve.Inner:case ve.Outer:return this._width;default:return this._width-this.settings.stagePadding*2+this.settings.margin}}refresh(){this.enter("refreshing"),this._trigger("refresh"),this._defineSlidesData(),this.setOptionsForViewport(),this._optionsLogic(),this.update(),this.leave("refreshing"),this._trigger("refreshed")}onResize(e){if(!this._items.length)return!1;this.setCarouselWidth(e),this.enter("resizing"),this._trigger("resize"),this.invalidate("width"),this.refresh(),this.leave("resizing"),this._trigger("resized")}prepareDragging(e){let t=null,n;return n=this.stageData.transform.replace(/.*\(|\)| |[^,-\d]\w|\)/g,"").split(","),t={x:+n[0],y:+n[1]},this.is("animating")&&this.invalidate("position"),e.type==="mousedown"&&(this.owlDOMData.isGrab=!0),this.speed(0),t}enterDragging(){this.enter("dragging"),this._trigger("drag")}defineNewCoordsDrag(e,t){let n=null,r=null,a=null,s=this.difference(t.pointer,this.pointer(e)),u=this.difference(t.stage.start,s);return this.is("dragging")?(this.settings.loop?(n=this.coordinates(this.minimum()),r=+this.coordinates(this.maximum()+1)-n,u.x=((u.x-n)%r+r)%r+n):(n=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),r=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),a=this.settings.pullDrag?-1*s.x/5:0,u.x=Math.max(Math.min(u.x,n+a),r+a)),u):!1}finishDragging(e,t,n){let r=["right","left"],a=this.difference(t.pointer,this.pointer(e)),s=t.stage.current,u=r[+(this.settings.rtl?a.x<+this.settings.rtl:a.x>+this.settings.rtl)],f,v,S;(a.x!==0&&this.is("dragging")||!this.is("valid"))&&(this.speed(+this.settings.dragEndSpeed||this.settings.smartSpeed),f=this.closest(s.x,a.x!==0?u:t.direction),v=this.current(),S=this.current(f===-1?void 0:f),v!==S&&(this.invalidate("position"),this.update()),t.direction=u,(Math.abs(a.x)>3||new Date().getTime()-t.time>300)&&n()),this.is("dragging")&&(this.leave("dragging"),this._trigger("dragged"))}closest(e,t){let r=this.width(),a=this.coordinates(),s=-1;this.settings.center&&(a=a.map(u=>(u===0&&(u+=1e-6),u)));for(let u=0;u<a.length&&(t==="left"&&e>a[u]-30&&e<a[u]+30?s=u:t==="right"&&e>a[u]-r-30&&e<a[u]-r+30?s=u+1:this._op(e,"<",a[u])&&this._op(e,">",a[u+1]||a[u]-r)?s=t==="left"?u+1:u:t===null&&e>a[u]-30&&e<a[u]+30&&(s=u),s===-1);u++);return this.settings.loop||(this._op(e,">",a[this.minimum()])?s=e=this.minimum():this._op(e,"<",a[this.maximum()])&&(s=e=this.maximum())),s}animate(e){let t=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),t&&(this.enter("animating"),this._trigger("translate")),this.stageData.transform="translate3d("+e+"px,0px,0px)",this.stageData.transition=this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}is(e){return this._states.current[e]&&this._states.current[e]>0}current(e){if(e===void 0)return this._current;if(this._items.length!==0){if(e=this.normalize(e),this._current!==e){let t=this._trigger("change",{property:{name:"position",value:e}});this._current=e,this.invalidate("position"),this._trigger("changed",{property:{name:"position",value:this._current}})}return this._current}}invalidate(e){return typeof e=="string"&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),Object.keys(this._invalidated)}reset(e){e=this.normalize(e),e!==void 0&&(this._speed=0,this._current=e,this._suppress(["translate","translated"]),this.animate(this.coordinates(e)),this._release(["translate","translated"]))}normalize(e,t){let n=this._items.length,r=t?0:this._clones.length;return!this._isNumeric(e)||n<1?e=void 0:(e<0||e>=n+r)&&(e=((e-r/2)%n+n)%n+r/2),e}relative(e){return e-=this._clones.length/2,this.normalize(e,!0)}maximum(e=!1){let t=this.settings,n=this._coordinates.length,r,a,s;if(t.loop)n=this._clones.length/2+this._items.length-1;else if(t.autoWidth||t.merge){for(r=this._items.length,a=this.slidesData[--r].width,s=this._width;r-- >0&&(a+=+this.slidesData[r].width+this.settings.margin,!(a>s)););n=r+1}else t.center?n=this._items.length-1:n=this._items.length-t.items;return e&&(n-=this._clones.length/2),Math.max(n,0)}minimum(e=!1){return e?0:this._clones.length/2}items(e){return e===void 0?this._items.slice():(e=this.normalize(e,!0),[this._items[e]])}mergers(e){return e===void 0?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])}clones(e){let t=this._clones.length/2,n=t+this._items.length,r=a=>a%2===0?n+a/2:t-(a+1)/2;return e===void 0?this._clones.map((a,s)=>r(s)):this._clones.map((a,s)=>a===e?r(s):null).filter(a=>a)}speed(e){return e!==void 0&&(this._speed=e),this._speed}coordinates(e){let t=1,n=e-1,r,a;return e===void 0?(a=this._coordinates.map((s,u)=>this.coordinates(u)),a):(this.settings.center?(this.settings.rtl&&(t=-1,n=e+1),r=this._coordinates[e],r+=(this.width()-r+(this._coordinates[n]||0))/2*t):r=this._coordinates[n]||0,r=Math.ceil(r),r)}_duration(e,t,n){return n===0?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(+n||this.settings.smartSpeed)}to(e,t){let n=this.current(),r=null,a=e-this.relative(n),s=this.maximum(),u=0,f=+(a>0)-+(a<0),v=this._items.length,S=this.minimum();this.settings.loop?(!this.settings.rewind&&Math.abs(a)>v/2&&(a+=f*-1*v),e=n+a,r=((e-S)%v+v)%v+S,r!==e&&r-a<=s&&r-a>0&&(n=r-a,e=r,u=30,this.reset(n),this.sendChanges())):this.settings.rewind?(s+=1,e=(e%s+s)%s):e=Math.max(S,Math.min(s,e)),setTimeout(()=>{this.speed(this._duration(n,e,t)),this.current(e),this.update()},u)}next(e){e=e||!1,this.to(this.relative(this.current())+1,e)}prev(e){e=e||!1,this.to(this.relative(this.current())-1,e)}onTransitionEnd(e){if(e!==void 0)return!1;this.leave("animating"),this._trigger("translated")}_viewport(){let e;return this._width?e=this._width:this.logger.log("Can not detect viewport width."),e}setItems(e){this._items=e}_defineSlidesData(){let e;this.slidesData&&this.slidesData.length&&(e=new Map,this.slidesData.forEach(t=>
1{t.load&&e.set(t.id,t.load)})),this.slidesData=this._items.map(t=>({id:`${t.id}`,isActive:!1,tplRef:t.tplRef,dataMerge:t.dataMerge,width:0,isCloned:!1,load:e?e.get(t.id):!1,hashFragment:t.dataHash}))}setCurSlideClasses(e){let t={active:e.isActive,center:e.isCentered,cloned:e.isCloned,animated:e.isAnimated,"owl-animated-in":e.isDefAnimatedIn,"owl-animated-out":e.isDefAnimatedOut};return this.settings.animateIn&&(t[this.settings.animateIn]=e.isCustomAnimatedIn),this.settings.animateOut&&(t[this.settings.animateOut]=e.isCustomAnimatedOut),t}_op(e,t,n){let r=this.settings.rtl;switch(t){case"<":return r?e>n:e<n;case">":return r?e<n:e>n;case">=":return r?e<=n:e>=n;case"<=":return r?e>=n:e<=n;default:break}}_trigger(e,t,n,r,a){switch(e){case"initialized":this._initializedCarousel$.next(e);break;case"change":this._changeSettingsCarousel$.next(t);break;case"changed":this._changedSettingsCarousel$.next(t);break;case"drag":this._dragCarousel$.next(e);break;case"dragged":this._draggedCarousel$.next(e);break;case"resize":this._resizeCarousel$.next(e);break;case"resized":this._resizedCarousel$.next(e);break;case"refresh":this._refreshCarousel$.next(e);break;case"refreshed":this._refreshedCarousel$.next(e);break;case"translate":this._translateCarousel$.next(e);break;case"translated":this._translatedCarousel$.next(e);break;default:break}}enter(e){[e].concat(this._states.tags[e]||[]).forEach(t=>{this._states.current[t]===void 0&&(this._states.current[t]=0),this._states.current[t]++})}leave(e){[e].concat(this._states.tags[e]||[]).forEach(t=>{(this._states.current[t]===0||this._states.current[t])&&this._states.current[t]--})}register(e){e.type===Pt.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=this._states.tags[e.name].filter((t,
1n)=>this._states.tags[e.name].indexOf(t)===n))}_suppress(e){e.forEach(t=>{this._supress[t]=!0})}_release(e){e.forEach(t=>{delete this._supress[t]})}pointer(e){let t={x:null,y:null};return e=e.originalEvent||e||window.event,e=e.touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,e.pageX?(t.x=e.pageX,t.y=e.pageY):(t.x=e.clientX,t.y=e.clientY),t}_isNumeric(e){return!isNaN(parseFloat(e))}_isNumberOrBoolean(e){return this._isNumeric(e)||typeof e=="boolean"}_isNumberOrString(e){return this._isNumeric(e)||typeof e=="string"}_isStringOrBoolean(e){return typeof e=="string"||typeof e=="boolean"}difference(e,t){return e===null||t===null?{x:0,y:0}:{x:e.x-t.x,y:e.y-t.y}}static \u0275fac=function(t){return new(t||i)(P(ze))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),xt=(()=>{class i{carouselService;navSubscription;_initialized=!1;_pages=[];_navData={disabled:!1,prev:{disabled:!1,htmlText:""},next:{disabled:!1,htmlText:""}};_dotsData={disabled:!1,dots:[]};constructor(e){this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.navSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(C(a=>{this.initialize(),this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),t=this.carouselService.getChangedState().pipe(V(a=>a.property.name==="position"),C(a=>{this.update()})),n=this.carouselService.getRefreshedState().pipe(C(()=>{this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),r=N(e,t,n);this.navSubscription=r.subscribe(()=>{})}initialize(){this._navData.disabled=!0,this._navData.prev.htmlText=this.carouselService.settings.navText[0],this._navData.next.htmlText=this.carouselService.settings.navText[1],this._dotsData.disabled=!0,this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}_updateNavPages(){let e,t,n,r=this.carouselService.clones().length/2,a=r+this.carouselService.items().length,s=this.carouselService.maximum(!0),u=[],f=this.carouselService.settings,v=f.center||f.autoWidth||f.dotsData?1:Math.floor(Number(f.dotsEach))||Math.floor(f.items);if(v=+v,f.slideBy!=="page"&&(f.slideBy=Math.min(+f.slideBy,f.items)),f.dots||f.slideBy==="page")for(e=r,t=0,n=0;e<a;e++){if(t>=v||t===0){if(u.push({start:Math.min(s,e-r),end:e-r+v-1}),Math.min(s,e-r)===s)break;t=0,++n}t+=this.carouselService.mergers(this.carouselService.relative(e))}this._pages=u}draw(){let e,t=this.carouselService.settings,n=this.carouselService.items(),r=n.length<=t.items;if(this._navData.disabled=!t.nav||r,this._dotsData.disabled=!t.dots||r,t.dots)if(e=this._pages.length-this._dotsData.dots.length,t.dotsData&&e!==0)this._dotsData.dots=[],n.forEach(a=>{this._dotsData.dots.push({active:!1,id:`dot-${a.id}`,innerContent:a.dotContent,showInnerContent:!0})});else if(e>0){let a=this._dotsData.dots.length>0?this._dotsData.dots.length:0;for(let s=0;s<e;s++)this._dotsData.dots.push({active:!1,id:`dot-${s+a}`,innerContent:"",showInnerContent:!1})}else e<0&&this._dotsData.dots.splice(e,Math.abs(e));this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}update(){this._updateNavButtons(),this._updateDots()}_updateNavButtons(){let e=this.carouselService.settings,t=e.loop||e.rewind,n=this.carouselService.relative(this.carouselService.current());e.nav&&(this._navData.prev.disabled=!t&&n<=this.carouselService.minimum(!0),this._navData.next.disabled=!t&&n>=this.carouselService.maximum(!0)),this.carouselService.navData=this._navData}_updateDots(){let e;this.carouselService.settings.dots&&(this._dotsData.dots.forEach(t=>{t.active===!0&&(t.active=!1)}),e=this._current(),this._dotsData.dots.length&&(this._dotsData.dots[e].active=!0),this.carouselService.dotsData=this._dotsData)}_current(){let e=this.carouselService.relative(this.carouselService.current()),t,n=this._pages.filter((r,a)=>r.start<=e&&r.end>=e).pop();return t=this._pages.findIndex(r=>r.start===n.start&&r.end===n.end),t}_getPosition(e){let t,n,r=this.carouselService.settings;return r.slideBy==="page"?(t=this._current(),n=this._pages.length,e?++t:--t,t=this._pages[(t%n+n)%n].start):(t=this.carouselService.relative(this.carouselService.current()),n=this.carouselService.items().length,e?t+=+r.slideBy:t-=+r.slideBy),t}next(e){this.carouselService.to(this._getPosition(!0),e)}prev(e){this.carouselService.to(this._getPosition(!1),e)}to(e,t,n){let r;!n&&this._pages.length?(r=this._pages.length,this.carouselService.to(this._pages[(e%r+r)%r].start,t)):this.carouselService.to(e,t)}moveByDot(e){let t=this._dotsData.dots.findIndex(n=>e===n.id);this.to(t,this.carouselService.settings.dotsSpeed)}toSlideById(e){let t=this.carouselService.slidesData.findIndex(n=>n.id===e&&n.isCloned===!1);t===-1||t===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(t),!1)}static \u0275fac=function(t){return new(t||i)(P(H))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Ne=new Se("WindowToken"),ne=class{get nativeWindow(){throw new Error("Not implemented.")}},In=(()=>{class i extends ne{constructor(){super()}get nativeWindow(){return window}
1static \u0275fac=function(t){return new(t||i)};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})();function Ln(i,p){return he(p)?i.nativeWindow:{setTimeout:(t,n)=>{},clearTimeout:t=>{}}}var En={provide:ne,useClass:In},An={provide:Ne,useFactory:Ln,deps:[ne,oe]},zn=[En,An],be=new Se("DocumentToken"),ie=class{get nativeDocument(){throw new Error("Not implemented.")}},Nn=(()=>{class i extends ie{constructor(){super()}get nativeDocument(){return document}static \u0275fac=function(t){return new(t||i)};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})();function Fn(i,p){return he(p)?i.nativeDocument:{hidden:!1,visibilityState:"visible"}}var $n={provide:ie,useClass:Nn},Hn={provide:be,useFactory:Fn,deps:[ie,oe]},Vn=[$n,Hn],St=(()=>{class i{carouselService;ngZone;autoplaySubscription;_timeout=null;_paused=!1;_isArtificialAutoplayTimeout;_isAutoplayStopped=!1;get isAutoplayStopped(){return this._isAutoplayStopped}set isAutoplayStopped(e){this._isAutoplayStopped=e}winRef;docRef;constructor(e,t,n,r){this.carouselService=e,this.ngZone=r,this.winRef=t,this.docRef=n,this.spyDataStreams()}ngOnDestroy(){this.autoplaySubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(C(()=>{this.carouselService.settings.autoplay&&this.play()})),t=this.carouselService.getChangedState().pipe(C(a=>{this._handleChangeObservable(a)})),n=this.carouselService.getResizedState().pipe(C(()=>{this.carouselService.settings.autoplay&&!this._isAutoplayStopped?this.play():this.stop()})),r=N(e,t,n);this.autoplaySubscription=r.subscribe(()=>{})}play(e,t){this._paused&&(this._paused=!1,this._setAutoPlayInterval(this.carouselService.settings.autoplayMouseleaveTimeout)),!this.carouselService.is("rotating")&&(this.carouselService.enter("rotating"),this._setAutoPlayInterval())}_getNextTimeout(e,t){return this._timeout&&this.winRef.clearTimeout(this._timeout),this._isArtificialAutoplayTimeout=!!e,this.ngZone.runOutsideAngular(()=>this.winRef.setTimeout(()=>{this.ngZone.run(()=>{this._paused||this.carouselService.is("busy")||this.carouselService.is("interacting")||this.docRef.hidden||this.carouselService.next(t||this.carouselService.settings.autoplaySpeed)})},e||this.carouselService.settings.autoplayTimeout))}_setAutoPlayInterval(e){this._timeout=this._getNextTimeout(e)}stop(){this.carouselService.is("rotating")&&(this._paused=!0,this.winRef.clearTimeout(this._timeout),this.carouselService.leave("rotating"))}pause(){this.carouselService.is("rotating")&&(this._paused=!0)}_handleChangeObservable(e){e.property.name==="settings"?this.carouselService.settings.autoplay?this.play():this.stop():e.property.name==="position"&&this.carouselService.settings.autoplay&&this._setAutoPlayInterval()}_playAfterTranslated(){W("translated").pipe(B(e=>this.carouselService.getTranslatedState()),se(),V(()=>this._isArtificialAutoplayTimeout),C(()=>this._setAutoPlayInterval())).subscribe(()=>{})}startPausing(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&this.pause()}startPlayingMouseLeave(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}startPlayingTouchEnd(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}static \u0275fac=function(t){return new(t||i)(P(H),P(Ne),P(be),P(ye))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),yt=(()=>{class i{carouselService;lazyLoadSubscription;constructor(e){this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.lazyLoadSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(C(()=>{let a=this.carouselService.settings&&!this.carouselService.settings.lazyLoad;this.carouselService.slidesData.forEach(s=>s.load=!!a)})),t=this.carouselService.getChangeState(),n=this.carouselService.getResizedState(),r=N(e,t,n).pipe(C(a=>this._defineLazyLoadSlides(a)));this.lazyLoadSubscription=r.subscribe(()=>{})}_defineLazyLoadSlides(e){if(!(!this.carouselService.settings||!this.carouselService.settings.lazyLoad)&&(e.property&&e.property.name==="position"||e==="initialized"||e==="resized")){let t=this.carouselService.settings,n=this.carouselService.clones().length,r=t.center&&Math.ceil(t.items/2)||t.items,a=t.center&&r*-1||0,s=(e.property&&e.property.value!==void 0?e.property.value:this.carouselService.current())+a;for(t.lazyLoadEager>0&&(r+=t.lazyLoadEager,t.loop&&(s-=t.lazyLoadEager,r++));a++<r;)this._load(n/2+this.carouselService.relative(s)),n&&this.carouselService.clones(this.carouselService.relative(s)).forEac
1h(u=>this._load(u)),s++}}_load(e){this.carouselService.slidesData[e].load||(this.carouselService.slidesData[e].load=!0)}static \u0275fac=function(t){return new(t||i)(P(H))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Ae=(()=>{class i{carouselService;animateSubscription;swapping=!0;previous=void 0;next=void 0;constructor(e){this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.animateSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getChangeState().pipe(C(f=>{f.property.name==="position"&&(this.previous=this.carouselService.current(),this.next=f.property.value)})),t=this.carouselService.getDragState(),n=this.carouselService.getDraggedState(),r=this.carouselService.getTranslatedState(),a=N(t,n,r).pipe(C(f=>this.swapping=f==="translated")),s=this.carouselService.getTranslateState().pipe(C(f=>{this.swapping&&(this.carouselService._options.animateOut||this.carouselService._options.animateIn)&&this._swap()})),u=N(e,s,a).pipe();this.animateSubscription=u.subscribe(()=>{})}_swap(){if(this.carouselService.settings.items!==1)return;this.carouselService.speed(0);let e,t=this.carouselService.slidesData[this.previous],n=this.carouselService.slidesData[this.next],r=this.carouselService.settings.animateIn,a=this.carouselService.settings.animateOut;this.carouselService.current()!==this.previous&&(a&&(e=+this.carouselService.coordinates(this.previous)-+this.carouselService.coordinates(this.next),this.carouselService.slidesData.forEach(s=>{s.id===t.id&&(s.left=`${e}px`,s.isAnimated=!0,s.isDefAnimatedOut=!0,s.isCustomAnimatedOut=!0)})),r&&this.carouselService.slidesData.forEach(s=>{s.id===n.id&&(s.isAnimated=!0,s.isDefAnimatedIn=!0,s.isCustomAnimatedIn=!0)}))}clear(e){this.carouselService.slidesData.forEach(t=>{t.id===e&&(t.left="",t.isAnimated=!1,t.isDefAnimatedOut=!1,t.isCustomAnimatedOut=!1,t.isDefAnimatedIn=!1,t.isCustomAnimatedIn=!1,t.classes=this.carouselService.setCurSlideClasses(t))}),this.carouselService.onTransitionEnd()}static \u0275fac=function(t){return new(t||i)(P(H))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Mt=(()=>{class i{carouselService;autoHeightSubscription;constructor(e){this.carouselService=e,this.spyDataStreams()}ngOnDestroy(){this.autoHeightSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(C(a=>{this.carouselService.settings.autoHeight?this.update():this.carouselService.slidesData.forEach(s=>s.heightState="full")})),t=this.carouselService.getChangedState().pipe(C(a=>{this.carouselService.settings.autoHeight&&a.property.name==="position"&&this.update()})),n=this.carouselService.getRefreshedState().pipe(C(a=>{this.carouselService.settings.autoHeight&&this.update()})),r=N(e,t,n);this.autoHeightSubscription=r.subscribe(()=>{})}update(){let e=this.carouselService.settings.items,t=this.carouselService.current(),n=t+e;this.carouselService.settings.center&&(t=e%2===1?t-(e-1)/2:t-e/2,n=e%2===1?t+e:t+e+1),this.carouselService.slidesData.forEach((r,a)=>{r.heightState=a>=t&&a<n?"full":"nulled"})}static \u0275fac=function(t){return new(t||i)(P(H))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Ot=(()=>{class i{carouselService;route;router;hashSubscription;currentHashFragment;constructor(e,t,n){this.carouselService=e,this.route=t,this.router=n,this.spyDataStreams(),this.route||(this.route={fragment:W("no route").pipe(we(1))}),this.router||(this.router={navigate:(r,a)=>{}})}ngOnDestroy(){this.hashSubscription.unsubscribe()}spyDataStreams(){let e=this.carouselService.getInitializedState().pipe(C(()=>this.listenToRoute())),t=this.carouselService.getChangedState().pipe(C(r=>{if(this.carouselService.settings.URLhashListener&&r.property.name==="position"){let a=this.carouselService.current(),s=this.carouselService.slidesData[a].hashFragment;if(!s||s===this.currentHashFragment)return;this.router.navigate(["./"],{fragment:s,relativeTo:this.route})}})),n=N(e,t);this.hashSubscription=n.subscribe(()=>{})}rewind(e){let t=this.carouselService.slidesData.findIndex(n=>n.hashFragment===e&&n.isCloned===!1);t===-1||t===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(t),!1)}listenToRoute(){let e=this.carouselService.settings.startPosition==="URLHash"?0:2;this.route.fragment.pipe(xe(e)).subscribe(t=>{this.currentHashFragment=t,this.rewind(t)})}static \u0275fac=function(t){return new(t||i)(P(H),P(at,8),P(me,8))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Rn=0,Un=(()=>{class i{tplRef;id=`owl-slide-${Rn++}`;_dataMerge=1;set dataMerge(e){this._dataMerge=this.isNumeric(e)?e:1}get dataMerge(){return this._dataMerge}width=0;dotContent="";dataHash="";constructor(e){this.tplRef=e}isNumeric(e){return!isNaN(parseFloat(e))}static \u0275fac=function(t){return new(t||i)(M(Ye))};static \u0275dir=Be({type:i,selectors:[["ng-template","carouselSlide",""]],inputs:{id:"id",dataMerge:"dataMerge",width:"width",dotContent:"dotContent",dataHash:"dataHash"}})}return i})(),Dt=(()=>{class i{resizeObservable$;docRef;get onResize$(){return this.resizeObservable$.pipe(V(()=>!this.docRef?.fullscreenElement))}constructor(e,t,n){this.docRef=t,this.resizeObservable$=he(n)?$e(e,"resize"):new L().asObservable()}static \u0275fac=function(t){return new(t||i)(P(Ne),P(be),P(oe))};static \u0275prov=A({token:i,factory:i.\u0275fac})}return i})(),Bn=(()=>{class i{zone;el;renderer;carouselService;animateService;owlDraggable;stageData;slidesData;listenerMouseMove;listenerTouchMove;listenerOneMouseMove;listenerOneTouchMove;listenerMouseUp;listenerTouchEnd;listenerOneClick;listenerATag;_drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1};_oneDragMove$=new L;_oneMoveSubsription;preparePublicSlide=e=>{let t=z({},e);return delete t.tplRef,t};constructor(e,t,n,r,a){this.zone=e,this.el=t,this.renderer=n,this.carouselService=r,this.animateService=a}onMouseDown(e){this.owlDraggable.isMouseDragable&&this._onDragStart(e)}onTouchStart(e){if(e.targetTouches.length>=2)return!1;this.owlDraggable.isTouchDragable&&this._onDragStart(e)}onTouchCancel(e){this._onDragEnd(e)}
1onDragStart(){if(this.owlDraggable.isMouseDragable)return!1}onSelectStart(){if(this.owlDraggable.isMouseDragable)return!1}ngOnInit(){this._oneMoveSubsription=this._oneDragMove$.pipe(se()).subscribe(()=>{this._sendChanges()})}ngOnDestroy(){this._oneMoveSubsription.unsubscribe()}bindOneMouseTouchMove=e=>{this._oneMouseTouchMove(e)};bindOnDragMove=e=>{this._onDragMove(e)};bindOnDragEnd=e=>{this._onDragEnd(e)};_onDragStart(e){let t=null;e.which!==3&&(t=this._prepareDragging(e),this._drag.time=new Date().getTime(),this._drag.target=e.target,this._drag.stage.start=t,this._drag.stage.current=t,this._drag.pointer=this._pointer(e),this.listenerMouseUp=this.renderer.listen(document,"mouseup",this.bindOnDragEnd),this.listenerTouchEnd=this.renderer.listen(document,"touchend",this.bindOnDragEnd),this.zone.runOutsideAngular(()=>{this.listenerOneMouseMove=this.renderer.listen(document,"mousemove",this.bindOneMouseTouchMove),this.listenerOneTouchMove=this.renderer.listen(document,"touchmove",this.bindOneMouseTouchMove)}))}_oneMouseTouchMove(e){let t=this._difference(this._drag.pointer,this._pointer(e));this.listenerATag&&this.listenerATag(),!(Math.abs(t.x)<3&&Math.abs(t.y)<3&&this._is("valid"))&&(Math.abs(t.x)<3&&Math.abs(t.x)<Math.abs(t.y)&&this._is("valid")||(this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving=!0,this.blockClickAnchorInDragging(e),this.listenerMouseMove=this.renderer.listen(document,"mousemove",this.bindOnDragMove),this.listenerTouchMove=this.renderer.listen(document,"touchmove",this.bindOnDragMove),e.preventDefault(),this._enterDragging(),this._oneDragMove$.next(e)))}blockClickAnchorInDragging(e){let t=e.target;for(;t&&!(t instanceof HTMLAnchorElement);)t=t.parentElement;t instanceof HTMLAnchorElement&&(this.listenerATag=this.renderer.listen(t,"click",()=>!1))}_onDragMove(e){let t,n=this.carouselService.defineNewCoordsDrag(e,this._drag);n!==!1&&(t=n,e.preventDefault(),this._drag.stage.current=t,this._animate(t.x-this._drag.stage.start.x))}_animate(e){this.renderer.setStyle(this.el.nativeElement.children[0],"transform",`translate3d(${e}px,0px,0px`),this.renderer.setStyle(this.el.nativeElement.children[0],"transition","0s")}_onDragEnd(e){this.carouselService.owlDOMData.isGrab=!1,this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving&&(this.renderer.setStyle(this.el.nativeElement.children[0],"transform",""),this.renderer.setStyle(this.el.nativeElement.children[0],"transition",this.carouselService.speed(+this.carouselService.settings.dragEndSpeed||this.carouselService.settings.smartSpeed)/1e3+"s"),this._finishDragging(e),this.listenerMouseMove(),this.listenerTouchMove()),this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1},this.listenerMouseUp(),this.listenerTouchEnd()}_prepareDragging(e){return this.carouselService.prepareDragging(e)}_oneClickHandler=()=>{this.listenerOneClick=this.renderer.listen(this._drag.target,"click",()=>!1),this.listenerOneClick()};_finishDragging(e){this.carouselService.finishDragging(e,this._drag,this._oneClickHandler)}_pointer(e){return this.carouselService.pointer(e)}_difference(e,t){return this.carouselService.difference(e,t)}_is(e){return this.carouselService.is(e)}_enter(e){this.carouselService.enter(e)}_sendChanges(){this.carouselService.sendChanges()}onTransitionEnd(){this.carouselService.onTransitionEnd()}_enterDragging(){this.carouselService.enterDragging()}clear(e){this.animateService.clear(e)}static \u0275fac=function(t){return new(t||i)(M(ye),M(G),M(Ge),M(H),M(Ae))};static \u0275cmp=Y({type:i,selectors:[["owl-stage"]],hostBindings:function(t,n){t&1&&_("mousedown",function(a){return n.onMouseDown(a)})("touchstart",function(a){return n.onTouchStart(a)})("touchcancel",function(a){return n.onTouchCancel(a)})("dragstart",function(){return n.onDragStart()})("selectstart",function(){return n.onSelectStart()})},inputs:{owlDraggable:"owlDraggable",stageData:"stageData",slidesData:"slidesData"},decls:3,vars:8,consts:[[1,"owl-stage",3,"transitionend","ngStyle"],[4,"ngFor","ngForOf"],[1,"owl-item",3,"animationend","ngClass","ngStyle"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,n){t&1&&(l(0,"div")(1,"div",0),_("transitionend",function(){return n.onTransitionEnd()}),w(2,yn,3,9,"ng-container",1),d()()),t&2&&(o(),c("ngStyle",Me(2,bn,n.stageData.width+"px",n.stageData.transform,n.stageData.transition,n.stageData.paddingL?n.stageData.paddingL+"px":"",n.stageData.paddingR?n.stageData.paddingR+"px":"")),o(),c("ngForOf",n.slidesData))},dependencies:[X,J,ee,it,nt],encapsulation:2,data:{animation:[lt("autoHeight",[De("nulled",Pe({height:0})),De("full",Pe({height:"*"})),ke("full => nulled",[Oe("700ms 350ms")]),ke("nulled => full",[Oe(350)])])]}})}return i})(),Fi=(()=>{class i{el;resizeService;carouselService;navigationService;autoplayService;lazyLoadService;animateService;autoHeightService;hashService;logger;changeDetectorRef;slides;translated=new j;dragging=new j;change=new j;changed=new j;initialized=new j;carouselWindowWidth;resizeSubscription;_allObservSubscription;_slidesChangesSubscription;owlDOMData;stageData;slidesData=[];navData;dotsData;slidesOutputData;carouselLoaded=!1;options;prevOptions;_viewCurSettings$;_translatedCarousel$;_draggingCarousel$;_changeCarousel$;_changedCarousel$;_initializedCarousel$;_carouselMerge$;docRef;constructor(e,t,n,r,a,s,u,f,v,S,re,kt){this.el=e,this.resizeService=t,this.carouselService=n,this.navigationService=r,this.autoplayService=a,this.lazyLoadService=s,this.animateService=u,this.autoHeightService=f,this.hashService=v,this.logger=S,this.changeDetectorRef=re,this.docRef=kt}onVisibilityChange(e){if(this.carouselService.settings.autoplay)switch(this.docRef.visibilityState){case"visible":!this.autoplayService.isAutoplayStopped&&this.autoplayService.play();break;case"hidden":this.autoplayService.pause();break;default:break}}
1ngOnInit(){this.spyDataStreams(),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}ngOnChanges(){this.prevOptions!==this.options&&(this.prevOptions&&this.slides?.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray())):this.prevOptions&&!this.slides?.toArray().length?(this.carouselLoaded=!1,this.logger.log("There are no slides to show. So the carousel won't be re-rendered")):this.carouselLoaded=!1,this.prevOptions=this.options)}ngAfterContentInit(){this.slides.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray()),this._winResizeWatcher()):this.logger.log("There are no slides to show. So the carousel won't be rendered"),this._slidesChangesSubscription=this.slides.changes.pipe(C(e=>{this.carouselService.setup(this.carouselWindowWidth,e.toArray(),this.options),this.carouselService.initialize(e.toArray()),e.toArray().length||(this.carouselLoaded=!1),e.toArray().length&&!this.resizeSubscription&&this._winResizeWatcher()})).subscribe(()=>{})}ngOnDestroy(){this.resizeSubscription&&this.resizeSubscription.unsubscribe(),this._slidesChangesSubscription&&this._slidesChangesSubscription.unsubscribe(),this._allObservSubscription&&this._allObservSubscription.unsubscribe()}spyDataStreams(){this._viewCurSettings$=this.carouselService.getViewCurSettings().pipe(C(e=>{this.owlDOMData=e.owlDOMData,this.stageData=e.stageData,this.slidesData=e.slidesData,this.carouselLoaded||(this.carouselLoaded=!0),this.navData=e.navData,this.dotsData=e.dotsData,this.changeDetectorRef.markForCheck()})),this._initializedCarousel$=this.carouselService.getInitializedState().pipe(C(()=>{this.gatherTranslatedData(),this.initialized.emit(this.slidesOutputData)})),this._translatedCarousel$=this.carouselService.getTranslatedState().pipe(C(()=>{this.gatherTranslatedData(),this.translated.emit(this.slidesOutputData)})),this._changeCarousel$=this.carouselService.getChangeState().pipe(C(()=>{this.gatherTranslatedData(),this.change.emit(this.slidesOutputData)})),this._changedCarousel$=this.carouselService.getChangeState().pipe(B(e=>{let t=W(e).pipe(V(()=>e.property.name==="position"),B(()=>Fe(this.slidesData)),xe(e.property.value),we(this.carouselService.settings.items),ae(n=>{let r=this.carouselService.clonedIdPrefix,a=n.id.indexOf(r)>=0?n.id.slice(r.length):n.id;return Ce(z({},n),{id:a,isActive:!0})}),He(),ae(n=>({slides:n,startPosition:this.carouselService.relative(e.property.value)})));return N(t)}),C(e=>{this.gatherTranslatedData(),this.changed.emit(e.slides.length?e:this.slidesOutputData)})),this._draggingCarousel$=this.carouselService.getDragState().pipe(C(()=>{this.gatherTranslatedData(),this.dragging.emit({dragging:!0,data:this.slidesOutputData})}),B(()=>this.carouselService.getDraggedState().pipe(ae(()=>!!this.carouselService.is("animating")))),B(e=>e?this.carouselService.getTranslatedState().pipe(se()):W("not animating")),C(()=>{this.dragging.emit({dragging:!1,data:this.slidesOutputData})})),this._carouselMerge$=N(this._viewCurSettings$,this._translatedCarousel$,this._draggingCarousel$,this._changeCarousel$,this._changedCarousel$,this._initializedCarousel$),this._allObservSubscription=this._carouselMerge$.subscribe(()=>{})}_winResizeWatcher(){Object.keys(this.carouselService._options.responsive).length&&(this.resizeSubscription=this.resizeService.onResize$.pipe(V(()=>this.carouselWindowWidth!==this.el.nativeElement.querySelector(".owl-carousel").clientWidth),Ve(this.carouselService.settings.responsiveRefreshRate)).subscribe(()=>{this.carouselService.onResize(this.el.nativeElement.querySelector(".owl-carousel").clientWidth),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}))}onTransitionEnd(){this.carouselService.onTransitionEnd()}next(){this.carouselLoaded&&this.navigationService.next(this.carouselService.settings.navSpeed)}prev(){this.carouselLoaded&&this.navigationService.prev(this.carouselService.settings.navSpeed)}moveByDot(e){this.carouselLoaded&&this.navigationService.moveByDot(e)}to(e){this.carouselLoaded&&this.navigationService.toSlideById(e)}gatherTranslatedData(){let e,t=this.carouselService.clonedIdPrefix,n=this.slidesData.filter(r=>r.isActive===!0).map(r=>({id:r.id.indexOf(t)>=0?r.id.slice(t.length):r.id,width:r.width,marginL:r.marginL,marginR:r.marginR,center:r.isCentered}));e=this.carouselService.relative(this.carouselService.current()),this.slidesOutputData={startPosition:e,slides:n}}startPausing(){this.autoplayService.startPausing()}startPlayML(){this.autoplayService.startPlayingMouseLeave()}startPlayTE(){this.autoplayService.startPlayingTouchEnd()}stopAutoplay(){this.autoplayService.isAutoplayStopped=!0,this.autoplayService.stop()}startAutoplay(){this.autoplayService.isAutoplayStopped=!1,this.autoplayService.play()}static \u0275fac=function(t){return new(t||i)(M(G),M(Dt),M(H),M(xt),M(St),M(yt),M(Ae),M(Mt),M(Ot),M(ze),M(tt),M(be))};static \u0275cmp=Y({type:i,selectors:[["owl-carousel-o"]],contentQueries:function(t,n,r){if(t&1&&Qe(r,Un,4),t&2){let a;Ke(a=Ze())&&(n.slides=a)}},hostBindings:function(t,n){t&1&&_("visibilitychange",function(a){return n.onVisibilityChange(a)},!1,Q)},inputs:{options:"options"},outputs:{translated:"translated",dragging:"dragging",change:"change",changed:"changed",initialized:"initialized"},features:[Xe([xt,St,H,yt,Ae,Mt,Ot]),je],decls:4,vars:9,consts:[["owlCarousel",""],[1,"owl-carousel","owl-theme",3,"mouseover","mouseleave","touchstart","touchend","ngClass"],["class","owl-stage-outer",4,"ngIf"],[4,"ngIf"],[1,"owl-stage-outer"],[3,"owlDraggable","stageData","slidesData"],[1,"owl-nav",3,"ngClass"],[1,"owl-prev",3,"click","ngClass","innerHTML"],[1,"owl-next",3,"click","ngClass","innerHTML"],[1,"owl-dots",3,"ngClass"],["class","owl-dot",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"owl-dot",3,"click","ngClass"],[3,"innerHTML"]],template:function(t,n){if(t&1){let r=k();l(0,"div",1,0),_("mouseover",function(){return h(r),m(n.startPausing())})("mouseleave",function(){return h(r),m(n.startPlayML())})("touchstart",function(){return h(r),m(n.startPausing())})("touchend",function(){return h(r),m(n.startPlayTE())}),w(2,Dn,2,6,"div",2)(3,Tn,6,15,"ng-container",3),d()}t&2&&(c("ngClass",Me(3,Mn,n.owlDOMData==null?null:n.owlDOMData.rtl,n.owlDOMData==null?null:n.owlDOMData.isLoaded,n.owlDOMData==null?null:n.owlDOMData.isResponsive,n.owlDOMData==null?null:n.owlDOMData.isMouseDragable,n.owlDOMData==null?null:n.owlDOMData.isGrab)),o(2),c("ngIf",n.carouselLoaded),o(),c("ngIf",n.slides.toArray().length))},dependencies:[X,J,ee,Bn],styles:[".owl-theme[_ngcontent-%COMP%]{display:block}"],changeDetection:0})}return i})();var $i=(()=>
1{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=Ue({type:i});static \u0275inj=Re({providers:[zn,Dt,Vn,ze],imports:[pe]})}return i})();export{gi as a,Un as b,Fi as c,$i as d};
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.