/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@jitender_sharma/switcher-dev@0.1.29/bundles/jitender_sharma-switcher-dev.umd.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/router"),require("@angular/common/http"),require("@angular/animations"),require("@angular/common")):"function"==typeof define&&define.amd?define("@jitender_sharma/switcher-dev",["exports","@angular/core","@angular/router","@angular/common/http","@angular/animations","@angular/common"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).jitender_sharma=e.jitender_sharma||{},e.jitender_sharma["switcher-dev"]={}),e.ng.core,e.ng.router,e.ng.common.http,e.ng.animations,e.ng.common)}(this,(function(e,t,i,n,o,a){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(i){if("default"!==i){var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:function(){return e[i]}})}})),t.default=e,Object.freeze(t)}var s=r(t),p=r(i),c=r(n),l=r(a);var d=function(){function e(){}return Object.defineProperty(e.prototype,"nativeWindow",{get:function(){return window},enumerable:!1,configurable:!0}),e}();d.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:d,deps:[],target:s.ɵɵFactoryTarget.Injectable}),d.ɵprov=s.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:d,providedIn:"root"}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:d,decorators:[{type:t.Injectable,args:[{providedIn:"root"}]}]});var h=function(){function e(e,t,i){this.router=e,this._http=t,this.windowRef=i,this.SR_CONSTANTS={QuickWebBaseUrl:"https://quick.shiprocket.in/",EngageWebBaseUrl:"https://app-engage.shiprocket.in/",CheckoutWebBaseUrl:"https://checkout-app.shiprocket.in/",SrfWebBaseUrl:"https://srf-app.shiprocket.in/",FulfillmentWebBaseUrl:"https://fulfillment.shiprocket.in",WigzoWebBaseUrl:"https://convert.shiprocket.in/wigzo/lite/auth/shiprocket/login",PickrrWebBaseUrl:"https://dashboard.pickrr.com/",EngagePlusWebBaseURL:"https://app-engage.shiprocket.in/"},this.DOMAIN="https://app.shiprocket.in",this.userData=JSON.parse(localStorage.getItem("ngStorage-USER")||localStorage.getItem("_userData")||"{}"),this.isDesktop=!1,this.appSwitchList=[{appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Whatsapp-Solutions.png",appName:"engage",checkKey:"allow_engage",displayName:"Whatsapp Solutions (Engage360)"},{appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Checkout.png",appName:"checkout",checkKey:"allow_checkout",displayName:"Checkout"},{appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Warehousing.png",appName:"fullfilment",checkKey:"allow_fbs",displayName:"Warehousing (SR Fulfilment)"},{appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Cargo.png",appName:"rocketbox",checkKey:"allow_rocketbox",displayName:"Cargo"},{appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Instant-deliveries.png",appName:"openInApp",checkKey:"openInApp",displayName:"Open In App"},{appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Omnichannel.png",appName:"omuni",checkKey:"allow_omuni",displayName:"Omuni"},{appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/trends.png",appName:"trends",checkKey:"allow_trends",displayName:"Trends"}]}return e.prototype.isCheckoutAllowed=function(e){return[3619232,3322144,2630080,1219154,3723110,2486122,1424320,735819,3868367,466488,1187211,355135,3372742,2153217,2659051,12190,3285700,2942236,1853655,466332,3474860,2071835,2809225,77836,4363328,3870510,320289,2354051,1538934,451814,216243,3246257,4104707,932406,3447462,2233565,4040499,2687352,377748,64142,3622166,344345,627070,2223298,75317,30998,406125,141604,1207559,1044491,1097031,3354026,528679,917075,282372,513487,340318,3350,420144,1446678,3831929,4004306,793143,65024,4022429,951452,206052,468669,2054855,4280735,4022331,537542,3505499,4239125,981859,502106,2279505,2889533,1207678,2993584,1278688,4231781,61696,948703,1220143,4447207,377831,4263698,492761,354046,835031,444332,146042,3778635,4352642,33998,4244698,3699357,379559,3335748,2777986,27877,1001872,1984134,4404528,567791,75237,486331,4053332,1489760,2032364,371704,3941047,3600970,125490,2967660,1157119,876879,288812,941678,466059,4054535,134619,3867552,1563779,195793,1323291,4115809,1454656,930557,482600,1589740,4089391,235881,562058,3535852,1564529,385296,130730,3505428,458306,4216054,145403,1859049,380185,3468261,701936,1450350,937507,35448,4380825,1838326,2434291,4375587,1726791,2704736,3430137,791432,871200,2673928,3501380,548185,1755248,176850,924185,477613,19892,755629,2622857,1150763,1054413,712521,430958,225038,4145753,2025467,896750,415164,531736,583216,103391,1478414,3189465,3122097,1735799,1722604,2125044,692005,3653188,3189556,3490164,471096,1612625,197857,430466,2539492,234220,192173,3468964,1015543,3139638,221975,2487565,3568028,83262,2277661,3377930,206271,577858].includes(e)},e.prototype.showAppSwitchListToDiffUser=function(){var e=this;this.appSwitchList=this.appSwitchList.filter((function(t){var i,n,o,a,r,s;return!(!e.userData.allow_engage||"allow_engage"!==t.checkKey)||(!(!e.isCheckoutAllowed(null===(i=e.userData)||void 0===i?void 0:i.company_id)&&!e.userData.allow_checkout||"allow_checkout"!==t.checkKey)||(!(!e.userData.allow_fbs||"allow_fbs"!==t.checkKey)||(!(!e.userData.allow_rb_panel&&!e.userData.is_rb_user||"allow_rocketbox"!==t.checkKey)||(!(!(null===(n=e.userData)||void 0===n?void 0:n.allow_sr_convert)||(null===(o=e.userData)||void 0===o?void 0:o.allow_engage)||"allow_sr_convert"!==t.checkKey)||("allow_one_impression"===(null==t?void 0:t.checkKey)||(!("openInApp"!==(null==t?void 0:t.checkKey)||!(null===(a=e.userData)||void 0===a?void 0:a.open_app_user))||(!("allow_wigzo"!==(null==t?void 0:t.checkKey)||!(null===(r=e.userData)||void 0===r?void 0:r.allow_wigzo))||"omuni"===(null==t?void 0:t.appName)&&1==(null===(s=e.userData)||void 0===s?void 0:s.is_omuni2_user))))))))}))},e.prototype.appSwitch=function(e,t){var i,n;this.sendGaEvent(e),null===(n=null===(i=this.windowRef.nativeWindow)||void 0===i?void 0:i.Moengage)||void 0===n||n.track_event("product_navigation_icon_clicked",{icon_name:e,company_id:this.userData.company_id});var o=this.windowRef.nativeWindow;this.executeAppSwitch(e,t,o)},e.prototype.executeAppSwitch=function(e,t,i){var n,o,a,r=this;if(this.userData.allow_engage&&"engage"===e)i.open(this.SR_CONSTANTS.EngageWebBaseUrl+"gate-keeper?token="+this.userData.token,"_blank");else if("checkout"===e){var s="https://fastrr-dashboard.pickrr.com/dashboard?utm_source=sr_dashboard&utm_medium=appswitcher&utm_campaign=appswitcher01&utm_content=appswitcher01&cid="+this.userData.company_id;s=s+"&token="+this.userData.token,i.open(s,"_blank")}else if(this.userData.allow_fbs&&"fullfilment"===e)i.open(this.SR_CONSTANTS.SrfWebBaseUrl+"login?token="+this.userData.token,"_blank");else if(this.userData.allow_fbs||"fullfilment"!==e)if("rocketbox"===e)this.userData.allow_rb_panel||this.userData.is_rb_user?setTimeout((function(){window.location.href=r.DOMAIN+"/rocketbox"}),500):setTimeout((function(){window.location.href=r.DOMAIN+"/seller/settings/internationalsettings/internationalkyc"}),500);else if((null===(n=this.userData)||void 0===n?void 0:n.allow_sr_convert)&&!(null===(o=this.userData)||void 0===o?void 0:o.allow_engage)&&"sr_convert"===e)i.open(this.SR_CONSTANTS.WigzoWebBaseUrl+"/"+this.userData.token,"_blank");else if("sr_genie"===e)i.open("https://ai-test.kartrocket.com/login?token="+this.userData.token,"_blank");else if("one_impression"===e)this.fetchOneImpressionLoginLink();else if("openInApp"===e)this.fetchOpenInAppLink();else if("wigzo"===e)i.open("https://app.wigzo.com/auth/shiprocket/login/"+this.userData.token,"_blank");else if("omuni"===e)i.open("https://omuni.com/","_blank");else if("trends"===e)i.open("https://trends.shiprocket.in/","_blank");else if("creditScore"===e)(null===(a=this.userData)||void 0===a?void 0:a.is_crif_enabled)?i.open("https://capital-web.shiprocket.in/crif-home/?utm_source=App-Switcher&utm_medium=Manual-Adhoc&utm_content=crif_credit_score&utm_term=app_switcher_click&authToken="+this.userData.token,"_blank"):i.open("https://www.shiprocket.in/capital/","_blank");else if("capital"===e)i.open("https://capital-web.shiprocket.in/home/?utm_source=App-Switcher&utm_medium=Manual-Adhoc&utm_content=capital&utm_term=flexi_business_loan&authToken="+this.userData.token,"_blank");else if("marketing"===e)setTimeout((function(){window.location.href=r.DOMAIN+"/seller/home"}),500);else if("whatsapp_solutions"===e)this.userData.allow_engage?i.open(this.SR_CONSTANTS.EngageWebBaseUrl+"gate-keeper?token="+this.userData.token,"_blank"):i.open("https://app-engage.shiprocket.in/auth/register","_blank");else if("internationalParcels"===e)0==t||1==t||2==t||4==t?setTimeout((function(){window.location.href=r.DOMAIN+"/seller/internationalDashboard/overview"}),500):setTimeout((function(){window.location.href=r.DOMAIN+"/seller/settings/internationalsettings/internationalkyc"}),500);else if("i_rocketbox"===e)setTimeout((function(){window.location.href=r.DOMAIN+"/seller/settings/internationalsettings/internationalkyc"}),500);else if("brand_launch"===e)setTimeout((function(){window.location.href=r.DOMAIN+"/seller/settings/internationalsettings/internationalkyc"}),500);else if("express_parcel"===e)setTimeout((function(){window.location.href=r.DOMAIN+"/seller/home"}),500);else{if("instant_deliveries"===e)return void i.open(this.SR_CONSTANTS.QuickWebBaseUrl+"gate-keeper?token="+this.userData.token,"_blank");"warehousing"===e?i.open("https://fulfillment.shiprocket.in/","_blank"):"srocketbox"==e?setTimeout((function(){window.location.href=r.DOMAIN+"/seller/settings/internationalsettings/internationalkyc"}),500):"somuni"==e&&setTimeout((function(){window.location.href=r.DOMAIN+"/seller/home"}),500)}else i.open(this.SR_CONSTANTS.FulfillmentWebBaseUrl+"?utm_source=panel&utm_medium=app_switcher&utm_campaign=SR-Panel-non-srf-switcher&token="+this.userData.token,"_blank")},e.prototype.sendGaEvent=function(e){var t="",i="",n="";switch(e){case"addorder":t="Rvmp_Header - Quick Actions",i='Clicked on "Add an Order"',n="";break;case"quickshipment":t="Rvmp_Header - Quick Actions",i='Clicked on "Create a quick shipemnt',n="";break;case"ratecalculator":t="Rvmp_Header - Quick Actions",i='Clicked on "Rate Calculator"',n="";break;case"createticket":t="Rvmp_Header - Quick Actions",i='Clicked on "Create a Ticket"',n="";break;case"trackshipment":t="Rvmp_Header - Quick Actions",i='Clicked on "Track Shipments"',n="";break;case"profilename":t="Rvmp_Header - Profile Icon",i='Clicked on "User Profile"',n="";break;case"currentplan":t="Rvmp_Header - Profile Icon",i='Clicked on "Current Plan"',n="";break;case"refer":t="Rvmp_Header - Profile Icon",i='Clicked on "Refer & Earn"',n="";break;case"rateus":t="Rvmp_Header - Profile Icon",i='Clicked on "Rate Us"',n="";break;case"tnc":t="Rvmp_Header - Profile Icon",i='Clicked on "T&C"',n="";break;case"changepassword":t="Rvmp_Header - Profile Icon",i='Clicked on "Change Password"',n="";break;case"logout":t="Rvmp_Header - Profile Icon",i='Clicked on "Logout"',n="";break;case"recharge":t="Rvmp_Header",i='Clicked on "Recharge Wallet"',n="";break;case"profileicon":t="Rvmp_Header",i='Clicked on "Profile Icon"',n="";break;case"fullfilment":t="Rvmp_Header - App Switcher",i='Clicked on "SR Fulfilment"',n="";break;case"switchtooldversion":t="Rvmp_Header - Switch to old version",i='Clicked on "Switch to old version"',n="company_id:"+this.userData.company_id;break;case"engage":t="Rvmp_Header - App Switcher",i='Clicked on "SR Engage"',n=""}this.send(t,i,n)},e.prototype.moengageEvent=function(e){},e.prototype.send=function(e,t,i){var n,o,a,r=(null===(n=document.cookie.split("; ").find((function(e){return e.startsWith("UTM=")})))||void 0===n?void 0:n.split("=")[1])||"";this.windowRef.nativeWindow.ga("send","event",{eventCategory:e,eventAction:t,eventLabel:i||r}),(null===(a=null===(o=this.windowRef)||void 0===o?void 0:o.nativeWindow)||void 0===a?void 0:a.gtag_g4)&&"function"==typeof this.windowRef.nativeWindow.gtag_g4&&this.windowRef.nativeWindow.gtag_g4("event",t,{event_category:e,event_label:i||r})},e.prototype.fetchOpenInAppLink=function(){this._http.get("oneimpression/open-app-redirection_url").subscribe((function(e){e&&(null==e?void 0:e.url)&&window.open(null==e?void 0:e.url,"_blank")}))},e.prototype.fetchOneImpressionLoginLink=function(){this._http.get(this._getURL()+"oneimpression/get-login-link").subscribe((function(e){e&&(null==e?void 0:e.url)?window.open(null==e?void 0:e.url,"_blank"):null==e||e.status}))},e.prototype._getURL=function(){return"https://apiv2.shiprocket.in/v1/"},e}();h.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:h,deps:[{token:p.Router},{token:c.HttpClient},{token:d}],target:s.ɵɵFactoryTarget.Injectable}),h.ɵprov=s.ɵɵngDeclareInjectable({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:h,providedIn:"root"}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:h,decorators:[{type:t.Injectable,args:[{providedIn:"root"}]}],ctorParameters:function(){return[{type:p.Router},{type:c.HttpClient},{type:d}]}});var g=JSON.parse(localStorage.getItem("ngStorage-USER")||localStorage.getItem("_userData")||"{}"),m=function(){function e(e,t,i){var n=this;this.appSwitcherService=e,this._http=t,this.windowRef=i,this.data="",this.isModalOpen=!1,this.showProducts=!1,this.isDesktop=!1,this.company_id="",this.userData=g,this.recentUsedProducts=[],this.isLoadingRecentProducts=!1,this.shouldShowRecentSection=!1,this.hasLoadedData=!1,this.isApiCallInProgress=!1,this.apiRetryCount=0,this.modalHasBeenOpened=!1,this.skeletonMinDuration=1e3,this.skeletonStartTime=0,this.appSwitcherApps={shipping_fulfilment_india:[{id:1,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Express-Parcel.png",appName:"express_parcel",checkKey:"Domestic Shipping",displayName:"Domestic Shipping",subText:"Multiple couriers, SDD/NDD, widest reach"},{id:2,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Instant-deliveries.png",appName:"instant_deliveries",checkKey:"Instant deliveries",displayName:"Instant deliveries",subText:"Multiple couriers, Hyperlocal, Intracity"},{id:3,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Warehousing.png",appName:"fullfilment",checkKey:"Warehousing",displayName:"Warehousing",subText:"End-to-end brand fulfilment "},{id:4,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Cargo.png",appName:"rocketbox",checkKey:"allow_rocketbox",displayName:"Cargo",subText:"Heavy shipments, FTL & PTL "}],cross_border_commerce:[{id:5,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/International-Parcels.png",appName:"internationalParcels",checkKey:"internationalParcels",displayName:"International Parcels",subText:"Ship to 220+ countries"},{id:6,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/International-Cargo.png",appName:"i_rocketbox",checkKey:"i_allow_rocketbox",displayName:"International Cargo",subText:"Air & Ocean freight"},{id:7,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Brand-Launch.png",appName:"brand_launch",checkKey:"brand_launch",displayName:"Brand Launch",subText:"Expand your brand globally "}],growth_marketing_solutions:[{id:8,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Checkout.png",appName:"checkout",checkKey:"allow_checkout",displayName:"Checkout",subText:"Simplified one-click checkout"},{id:9,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Whatsapp-Solutions.png",appName:"whatsapp_solutions",checkKey:"whatsapp_solutions",displayName:"Whatsapp Solutions",subText:"Marketing, commerce, chatbot - ",nextLineLabel:""},{id:10,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Marketing.png",appName:"marketing",checkKey:"marketing",displayName:"Marketing",subText:"Digital and influencer marketing & more "},{id:11,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/trends.png",appName:"trends",checkKey:"allow_trends",displayName:"Trends",subText:"E-commerce analytics for Bharat"}],financial_servicea:[{id:12,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Capital.png",appName:"capital",checkKey:"Capital",displayName:"Business Loan",subText:"Flexible Business loan up to ₹20 Lakhs"},{id:13,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Credit-Score.png",appName:"creditScore",checkKey:"Credit Score",displayName:"Credit Score",subText:"Check your credit score for free "}],other_services:[{id:14,appLogo:"https://sr-cdn-1.shiprocket.in/img/Web_New/Omnichannel.png",appName:"omuni",checkKey:"allow_omuni",displayName:"Omnichannel",subText:"Manage all sales channels - online + offline at one place"}]},this.mobile_appSwitcherApps={india_logistics_platform:[{id:1,appLogo:"https://sr-cdn-1.shiprocket.in/img/courier_app.png",appName:"express_parcel",checkKey:"Domestic Shipping",displayName:"Courier",subText:"Multiple couriers, SDD/NDD, widest reach"},{id:2,appLogo:"https://sr-cdn-1.shiprocket.in/img/quick_app.png",appName:"instant_deliveries",checkKey:"Instant deliveries",displayName:"Quick",subText:"Multiple couriers, Hyperlocal, Intracity"},{id:4,appLogo:"https://sr-cdn-1.shiprocket.in/img/cargo_app.png",appName:"rocketbox",checkKey:"allow_rocketbox",displayName:"Cargo",subText:"Heavy shipments, FTL & PTL "},{id:3,appLogo:"https://sr-cdn-1.shiprocket.in/img/fulfillment_app.png",appName:"fullfilment",checkKey:"Warehousing",displayName:"Fulfillment",subText:"End-to-end brand fulfilment "}],cross_border_commerce:[{id:5,appLogo:"https://sr-cdn-1.shiprocket.in/img/parcel_app.png",appName:"internationalParcels",checkKey:"internationalParcels",displayName:"Parcel",subText:"Ship to 220+ countries"},{id:6,appLogo:"https://sr-cdn-1.shiprocket.in/img/cargo_int_app.png",appName:"i_rocketbox",checkKey:"i_allow_rocketbox",displayName:"Cargo X",subText:"Air & Ocean freight"}],growth_marketing_solutions:[{id:9,appLogo:"https://sr-cdn-1.shiprocket.in/img/engage_app.png",appName:"whatsapp_solutions",checkKey:"whatsapp_solutions",displayName:"Engage",subText:"Marketing, commerce, chatbot - ",nextLineLabel:""},{id:11,appLogo:"https://sr-cdn-1.shiprocket.in/img/trends_app.png",appName:"trends",checkKey:"allow_trends",displayName:"Trends",subText:"E-commerce analytics for Bharat"},{id:8,appLogo:"https://sr-cdn-1.shiprocket.in/img/checkout_new_app.png",appName:"checkout",checkKey:"allow_checkout",displayName:"Checkout",subText:"Simplified one-click checkout"},{id:10,appLogo:"https://sr-cdn-1.shiprocket.in/img/ads_app.png",appName:"marketing",checkKey:"marketing",displayName:"Ads",subText:"Digital and influencer marketing & more "}],financial_servicea:[{id:12,appLogo:"https://sr-cdn-1.shiprocket.in/img/capital_app.png",appName:"capital",checkKey:"Capital",displayName:"Capital",subText:"Flexible Business loan up to ₹20 Lakhs"},{id:13,appLogo:"https://sr-cdn-1.shiprocket.in/img/credit_score.png",appName:"creditScore",checkKey:"Credit Score",displayName:"Credit Score",subText:"Check your credit score for free "}]},this.isMobileView=!1,this.MOBILE_BREAKPOINT=768,this.user=g,this.appSwitchList=[],this.coreStrengthImages=[{id:1,imgSrc:"https://sr-cdn-1.shiprocket.in/img/switcher_1.png",altText:"Core Strength 1"},{id:2,imgSrc:"https://sr-cdn-1.shiprocket.in/img/switcher_2.png",altText:"Core Strength 2"},{id:3,imgSrc:"https://sr-cdn-1.shiprocket.in/img/switcher_3.png",altText:"Core Strength 3"},{id:4,imgSrc:"https://sr-cdn-1.shiprocket.in/img/switcher_4.png",altText:"Core Strength 4"},{id:5,imgSrc:"https://sr-cdn-1.shiprocket.in/img/switcher_5.png",altText:"Core Strength 5"},{id:6,imgSrc:"https://sr-cdn-1.shiprocket.in/img/switcher_6.png",altText:"Core Strength 6"}],this.resizeListener=function(){n.resizeTimeout&&clearTimeout(n.resizeTimeout),n.resizeTimeout=setTimeout((function(){n.checkScreenSize()}),150)},this.checkScreenSize(),this.windowRef.nativeWindow.addEventListener("resize",this.resizeListener),this.appSwitcherService.showAppSwitchListToDiffUser(),this.appSwitchList=this.appSwitcherService.appSwitchList}return e.prototype.openModal=function(e){var t,i,n,o,a,r=this;"mobile"==e?null===(i=null===(t=this.windowRef.nativeWindow)||void 0===t?void 0:t.Moengage)||void 0===i||i.track_event("bottom_navigation_clicked",{company_id:this.company_id,button_name:"Switcher"}):null===(o=null===(n=this.windowRef.nativeWindow)||void 0===n?void 0:n.Moengage)||void 0===o||o.track_event("button_clicked",{company_id:this.company_id,button_name:"Switcher"}),this.isModalOpen=!0,this.showProducts=!1,this.modalHasBeenOpened=!0;var s=document.querySelector("app-sidebar");s&&s.setAttribute("style","display: none");var p=document.querySelector(".intercom-lightweight-app");p&&(p.style.display="none"),this.hasLoadedData||this.loadRecentProductsData(),setTimeout((function(){r.showProducts=!0}),200),"mobile"==e?(this.userJson=JSON.parse(localStorage.getItem("ngStorage-USER")||localStorage.getItem("_userData")||"{}"),this.company_id=null!=this.userJson?null===(a=this.userJson)||void 0===a?void 0:a.company_id:"",this.appSwitcherService.send("All Products","All Products Mobile","Company Id: "+this.company_id)):"desktop"==e&&this.appSwitcherService.send("All Products","All Products Desktop","Company Id: "+this.company_id)},e.prototype.closeModal=function(){this.isModalOpen=!1;var e=document.querySelector("app-sidebar");e&&e.setAttribute("style","display: block");var t=document.querySelector(".intercom-lightweight-app");t&&(t.style.display="block")},e.prototype.ngOnInit=function(){var e,t=this;if(this.userJson=JSON.parse(localStorage.getItem("ngStorage-USER")||localStorage.getItem("_userData")||"{}"),this.company_id=null!=this.userJson?null===(e=this.userJson)||void 0===e?void 0:e.company_id:"",this.data){var i=this.data.split(",").map((function(e){return e.trim()}));Object.keys(this.appSwitcherApps).forEach((function(e){t.appSwitcherApps[e]=t.appSwitcherApps[e].filter((function(e){return!i.includes(e.appName)}))}))}console.log("SwitcherComponent initialized - NO API calls should happen until modal is opened")},e.prototype.ngOnDestroy=function(){this.windowRef.nativeWindow.removeEventListener("resize",this.resizeListener),this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.apiCallTimeout&&clearTimeout(this.apiCallTimeout)},e.prototype.checkScreenSize=function(){var e=this.windowRef.nativeWindow.innerWidth;this.isMobileView=e<this.MOBILE_BREAKPOINT,this.isDesktop=e>=768,document.body.classList.toggle("mobile-view",this.isMobileView)},e.prototype.getKYCData=function(){var e=this;this._http.get("settings/international/kyc/details?company_id="+this.userData.company_id).subscribe((function(t){var i=t.data;null!=i.kyc_status&&(e.kycStatus=i.kyc_status)}),(function(e){}))},e.prototype.getBaseUrl=function(){var e=window.location.hostname;return e.includes("multichannel-channels-partnerships-qa-web.kartrocket.com")?"https://multichannel-channels-partnerships-qa-api.kartrocket.com/v1/":e.includes("app.shiprocket.in")?"https://apiv2.shiprocket.co/v1/":e.includes("multichannel-web-lastmile-stage.kartrocket.com")?"https://multichannel-api-stage.kartrocket.com/v1/":"https://apiv2.shiprocket.co/v1/"},e.prototype.isTokenValid=function(){try{var e=this.userData.token;if(!e)return!1;var t=JSON.parse(atob(e.split(".")[1])),i=Math.floor(Date.now()/1e3);return t.exp>i}catch(e){return console.warn("Invalid JWT token:",e),!1}},e.prototype.analyticsevent=function(e){this.appSwitcherService.send("Switcher Service Selection","Recent Used Product","App: "+e.displayName)},e.prototype.analyticsevent_mobile=function(e){this.appSwitcherService.send("Switcher Service Selection Mobile","Mobile Product Selection","App: "+e.displayName)},e.prototype.callEvent=function(e,t){var i,n,o=this,a=["rocketbox","marketing","internationalParcels","i_rocketbox","brand_launch","express_parcel","srocketbox","somuni"];a.includes(e)||this.appSwitcherService.appSwitch(e,this.kycStatus),this.appSwitcherService.send("Swithcer Service Selection",t,"Company Id : "+this.company_id),Object.values(this.appSwitcherApps).forEach((function(e){var o=e.find((function(e){return e.displayName===t}));o&&(i=o.id,n=o)}));var r={service_id:i.toString()},s={"Content-Type":"application/json",Authorization:"Bearer "+this.userData.token};this._http.post(this.getBaseUrl()+"settings/company-service",r,{headers:s}).subscribe((function(e){console.log("POST API call successful for:",t)}),(function(e){console.warn("POST API call failed for:",t,e)})),setTimeout((function(){if(n){var i={appName:n.appName,appLogo:n.appLogo,displayName:n.displayName};o.recentUsedProducts=o.recentUsedProducts.filter((function(e){return e.displayName!==t})),o.recentUsedProducts.unshift(i),o.recentUsedProducts=o.recentUsedProducts.slice(0,4),localStorage.setItem("recentUsedProducts",JSON.stringify(o.recentUsedProducts)),a.includes(e)&&o.appSwitcherService.appSwitch(e,o.kycStatus)}}),500)},e.prototype.appSwitch=function(e,t){"recentUsedProduct"==t?this.analyticsevent(e):"mobileProductSelection"==t&&this.analyticsevent_mobile(e),this.appSwitcherService.appSwitch(e.appName)},e.prototype.loadRecentProductsData=function(){this.loadFromCache(),0===this.recentUsedProducts.length?(this.shouldShowRecentSection=!0,this.isLoadingRecentProducts=!0,this.skeletonStartTime=Date.now(),this.debouncedFetchFromAPI()):this.hasLoadedData=!0},e.prototype.debouncedFetchFromAPI=function(){var e=this;this.apiCallTimeout&&clearTimeout(this.apiCallTimeout),this.apiCallTimeout=setTimeout((function(){e.fetchRecentProductsFromAPI()}),500)},e.prototype.hideSkeletonWithMinDuration=function(){var e=this,t=Date.now()-this.skeletonStartTime,i=Math.max(0,this.skeletonMinDuration-t);setTimeout((function(){e.isLoadingRecentProducts=!1}),i)},e.prototype.loadFromCache=function(){var e=localStorage.getItem("recentUsedProducts");if(e)try{var t=JSON.parse(e);t&&t.length>0&&(this.recentUsedProducts=t,this.shouldShowRecentSection=!0,this.isLoadingRecentProducts=!1)}catch(e){}},e.prototype.checkForExistingRecentProducts=function(){var e=localStorage.getItem("recentUsedProducts");if(e)try{var t=JSON.parse(e);t&&t.length>0&&(this.shouldShowRecentSection=!0)}catch(e){}},e.prototype.onImageLoad=function(e){e.target.classList.remove("loading"),e.target.classList.add("loaded");var t=e.target.closest(".image-container");t&&(t.style.background="none",t.style.animation="none")},e.prototype.onImageError=function(e){e.target.classList.remove("loading"),e.target.classList.add("loaded");var t=e.target.closest(".image-container");t&&(t.style.background="none",t.style.animation="none")},e.prototype.fetchRecentProductsFromAPI=function(){var e=this;if(this.modalHasBeenOpened){if(!this.isApiCallInProgress&&!this.hasLoadedData){if(!this.isTokenValid())return console.warn("Invalid or expired JWT token, skipping API call"),this.isLoadingRecentProducts=!1,this.hasLoadedData=!0,void(this.shouldShowRecentSection=!1);if(this.apiRetryCount>=3)return console.log("Max API retries reached, stopping API calls"),this.isLoadingRecentProducts=!1,this.hasLoadedData=!0,void(this.shouldShowRecentSection=!1);this.isApiCallInProgress=!0;var t={"Content-Type":"application/json",Authorization:"Bearer "+this.userData.token};this._http.get(this.getBaseUrl()+"settings/company-service",{headers:t}).subscribe((function(t){e.apiRetryCount=0,e.appSwitchList=t.data;var i=t.data.map((function(t){var i;return Object.values(e.appSwitcherApps).forEach((function(e){var n=e.find((function(e){return e.id===t.service_id}));n&&(i=n)})),i?{appName:i.appName,appLogo:i.appLogo,displayName:i.displayName}:null})).filter((function(e){return null!==e}));(i.length>0||0===e.recentUsedProducts.length)&&(e.recentUsedProducts=i,e.shouldShowRecentSection=e.recentUsedProducts&&e.recentUsedProducts.length>0,e.shouldShowRecentSection?localStorage.setItem("recentUsedProducts",JSON.stringify(e.recentUsedProducts)):localStorage.removeItem("recentUsedProducts")),e.hideSkeletonWithMinDuration(),e.hasLoadedData=!0,e.isApiCallInProgress=!1}),(function(t){e.apiRetryCount++,console.warn("API call failed (attempt "+e.apiRetryCount+"/3):",t),403===t.status&&(console.log("403 Forbidden - stopping retries immediately"),e.apiRetryCount=3),e.hideSkeletonWithMinDuration(),e.hasLoadedData=!0,e.isApiCallInProgress=!1,0===e.recentUsedProducts.length&&(e.shouldShowRecentSection=!1)}))}}else console.warn("API call blocked: Modal has not been opened yet")},e.prototype.getCompanyService=function(){this.modalHasBeenOpened?this.fetchRecentProductsFromAPI():console.warn("getCompanyService() blocked: Modal has not been opened yet")},e}();m.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:m,deps:[{token:h},{token:c.HttpClient},{token:d}],target:s.ɵɵFactoryTarget.Component}),m.ɵcmp=s.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.17",type:m,selector:"lib-switcher",inputs:{data:"data"},ngImport:s,template:'<div class="" [style.display]="!isMobileView ? \'block\' : \'none\'">\n  <button class="appSwitcherBtn" style="padding: 0 !important; margin-right: .5em !important;" (click)="openModal(\'desktop\')" *ngIf="userData.allow_checkout || userData.allow_engage || userData.allow_fbs || !userData.allow_fbs">\n    <div class="appSwitcherTxt" style="display: flex; align-items: center;">\n      <span>ALL PRODUCTS</span>\n      <img  style="top: -1px; width: 15px; position: relative; margin-left: 4px;" src="https://sr-sidebar.shiprocket.in/assets/svg/apps.svg" />\n    </div>\n  </button>\n</div>\n\n<div [style.display]="isMobileView ? \'block\' : \'none\'">\n  <button\n   (click)="openModal(\'mobile\')"\n   class="switcher_icon"\n  >\n    <img\n      src="https://sr-sidebar.shiprocket.in/assets/svg/apps.svg"\n      alt="apps"\n      class="logo"\n    />\n  </button>\n</div>\n\n<div *ngIf="isModalOpen" class="modal" [@modalAnimation]>\n  <div class="modal-content_new">\n    <span class="close" (click)="closeModal()"><img src="https://sr-sidebar.shiprocket.in/assets/svg/cross-dark.svg" /></span>\n    \n    \x3c!-- ------------------------------------------------------------------------------------------------- --\x3e\n\n\n    <div class="mobileScreen" [style.display]="!isMobileView ? \'block\' : \'none\'">\n\n\n        <div class="Topheader">\n           <h1 class="sfpro-bold">Select the product you would like to experience </h1>\n           <p>Elevate your business with our industry-leading products.</p>\n        </div>\n\n\n        \x3c!-- Loading skeleton for recently used products - only show if we expect to have data --\x3e\n        <ng-container *ngIf="isLoadingRecentProducts && shouldShowRecentSection">\n          <h5 class="section_heading">Recently Used Products</h5>\n          <div class="d-flex gap-4 flex-wrap">\n              <div class="box_section featured_section mob_box_section h-195px" *ngFor="let i of [1,2,3,4]">\n                  <div class="skeleton-loader">\n                      <div class="skeleton-icon featured-skeleton-icon"></div>\n                      <div class="skeleton-text"></div>\n                      <div class="skeleton-button"></div>\n                  </div>\n              </div>\n          </div>\n        </ng-container>\n\n        \x3c!-- Show recent products only when loaded and have data --\x3e\n        <ng-container *ngIf="!isLoadingRecentProducts && recentUsedProducts && recentUsedProducts.length">\n          <h5 class="section_heading">Recently Used Products</h5>\n          <div class="d-flex gap-4 flex-wrap">\n              <div class="box_section featured_section mob_box_section h-195px" (click)="appSwitch(item, \'recentUsedProduct\')" *ngFor="let item of recentUsedProducts; let i = index">\n                  <div class="image-container featured-image-container">\n                      <img class="icon h-95px" [src]="item.appLogo" (load)="onImageLoad($event)" (error)="onImageError($event)" />\n                  </div>\n                  <h6>{{item.displayName}}</h6>\n                  <span class="getstarted mob_getstarted">Get Started <img src="https://app.shiprocket.in/seller/assets/images/arrow-small-left.svg" /></span>\n              </div>\n          </div>\n        </ng-container>\n\n        \x3c!-- No recent products message (optional - only show if you want to inform users) --\x3e\n        \x3c!-- <ng-container *ngIf="!isLoadingRecentProducts && (!recentUsedProducts || recentUsedProducts.length === 0)">\n          <h5 class="section_heading">Recently Used Products</h5>\n          <div class="no-recent-products">\n            <p>No recently used products found. Start using our services to see them here!</p>\n          </div>\n        </ng-container> --\x3e\n\n\n        \x3c!-- <ng-container *ngIf="appSwitchList && appSwitchList.length">\n         <h5 class="section_heading">Featured Products</h5>\n         <div class="d-flex gap-4 flex-wrap">\n             <div class="box_section featured_section mob_box_section" (click)="appSwitch(item.appName)" *ngFor="let item of appSwitchList; let i = index">\n                 <img class="icon" [src]="item.appLogo" />\n                 <h6>{{item.displayName}}</h6>\n                 <span class="getstarted mob_getstarted">Get Started <img src="https://app.shiprocket.in/seller/assets/images/arrow-small-left.svg" /></span>\n             </div>\n         </div>\n        </ng-container> --\x3e\n \n     \x3c!-- ------------------------------------------------------------------------------------------------- --\x3e\n        \n\n\n    \n        <h5 class="section_heading">Shipping & Fulfilment in India</h5>\n        <div class="d-flex flex-wrap gap-4" >\n           <div class="box_section" *ngFor="let app of appSwitcherApps.shipping_fulfilment_india" (click)="callEvent(app.appName, app.displayName)">\n              <div class="image-container">\n                  <img class="icon" [src]="app.appLogo" (load)="onImageLoad($event)" (error)="onImageError($event)"/>\n              </div>\n              <h6>{{app.displayName}}</h6>\n              <p>{{app.subText}}</p>\n              <span class="getstarted">Get Started <img src="https://app.shiprocket.in/seller/assets/images/arrow-small-left.svg"/></span>\n           </div>\n        </div>\n        \n        \n    \n        <h5 class="section_heading">Cross Border Commerce</h5>\n        <div class="d-flex flex-wrap gap-4">\n           <div class="box_section" *ngFor="let app of appSwitcherApps.cross_border_commerce"  (click)="callEvent(app.appName, app.displayName)">\n             <div class="image-container">\n                 <img class="icon" [src]="app.appLogo" (load)="onImageLoad($event)" (error)="onImageError($event)"/>\n             </div>\n             <h6>{{app.displayName}}</h6>\n             <p>{{app.subText}}</p>\n             <span class="getstarted">Get Started <img src="https://app.shiprocket.in/seller/assets/images/arrow-small-left.svg"/></span>\n           </div>\n         \n        </div>\n        \n        \n    \n        <h5 class="section_heading">Growth & Marketing Solutions</h5>\n        <div class="d-flex flex-wrap gap-4">\n           <div class="box_section" *ngFor="let app of appSwitcherApps.growth_marketing_solutions" (click)="callEvent(app.appName, app.displayName)">\n             <div class="image-container">\n                 <img class="icon" [src]="app.appLogo" (load)="onImageLoad($event)" (error)="onImageError($event)"/>\n             </div>\n             <h6>{{app.displayName}}</h6>\n             <p>{{app.subText}} <span *ngIf="app.nextLineLabel"><br>{{app.nextLineLabel}} </span></p>\n             <span class="getstarted">Get Started <img src="https://app.shiprocket.in/seller/assets/images/arrow-small-left.svg"/></span>\n           </div>\n        </div>\n        \n        \n        <h5 class="section_heading">Financial Services</h5>\n        <div class="d-flex flex-wrap gap-4">\n           <div class="box_section" *ngFor="let app of appSwitcherApps.financial_servicea" (click)="callEvent(app.appName, app.displayName)">\n             <span class="newtag" *ngIf="app.appName === \'capital\' || (app.appName === \'creditScore\' && userData.is_crif_enabled)"><em>New</em></span>\n             <span class="newtag" *ngIf="app.appName === \'creditScore\' && !userData.is_crif_enabled"><em>Coming Soon</em></span>\n             <div class="image-container">\n                 <img class="icon" [src]="app.appLogo" (load)="onImageLoad($event)" (error)="onImageError($event)"/>\n             </div>\n             <h6>{{app.displayName}}</h6>\n             <p>{{app.subText}}</p>\n             <span class="getstarted">Get Started <img src="https://app.shiprocket.in/seller/assets/images/arrow-small-left.svg"/></span>\n           </div>\n        </div>\n        <h5 class="section_heading">Other services</h5>\n        <div class="d-flex flex-wrap gap-4">\n           <div class="box_section other_ser" *ngFor="let app of appSwitcherApps.other_services" (click)="callEvent(app.appName, app.displayName)">\n              <div class="image-container">\n                  <img class="icon" src="https://sr-cdn-1.shiprocket.in/img/Web_New/Omnichannel.png" (load)="onImageLoad($event)" (error)="onImageError($event)"/>\n              </div>\n              <h6>Omnichannel</h6>\n              <p style="text-wrap: wrap;">Manage all sales channels - online + offline at one place</p>\n              <span class="getstarted" style="bottom: 5px;">Get Started <img src="https://app.shiprocket.in/seller/assets/images/arrow-small-left.svg"/></span>\n           </div>\n        </div>\n     </div>\n\n     <div class="mobileScreen_new" [style.display]="isMobileView ? \'block\' : \'none\'">\n      <div class="mobile-container">\n        \x3c!-- Header Section --\x3e\n        <div class="mobile-header">\n          <h2 class="welcome-text">Hi {{userJson?.first_name || \'User\'}}</h2>\n          <p class="subtitle">Power your business with our industry-leading products.</p>\n        </div>\n\n        \x3c!-- Products Grid --\x3e\n        <div class="products-section">\n          <h3 class="section-title">Shipping</h3>\n          <div class="products-grid">\n            <ng-container >\n              <div class="product-card product_card_shadow"\n                   *ngFor="let product of mobile_appSwitcherApps.india_logistics_platform; let i = index" \n                   (click)="appSwitch(product, \'mobileProductSelection\')">\n                <div class="icon-circle">\n                  <img [src]="product.appLogo" [alt]="product.displayName" (load)="onImageLoad($event)" (error)="onImageError($event)">\n                </div>\n                <span class="product-name">{{product.displayName}}</span>\n              </div>\n            </ng-container>\n          </div>\n\n          <h3 class="section-title">Cross Border</h3>\n          <div class="products-grid">\n            <ng-container >\n              <div class="product-card"\n                   *ngFor="let product of mobile_appSwitcherApps.cross_border_commerce; let i = index" \n                   (click)="appSwitch(product, \'mobileProductSelection\')">\n                <div class="icon-circle">\n                  <img [src]="product.appLogo" [alt]="product.displayName" (load)="onImageLoad($event)" (error)="onImageError($event)">\n                </div>\n                <span class="product-name">{{product.displayName}}</span>\n              </div>\n            </ng-container>\n          </div>\n\n          <h3 class="section-title">Marketing</h3>\n          <div class="products-grid">\n            <ng-container >\n              <div class="product-card"\n                   *ngFor="let product of mobile_appSwitcherApps.growth_marketing_solutions; let i = index" \n                   (click)="appSwitch(product, \'mobileProductSelection\')">\n                <div class="icon-circle">\n                  <img [src]="product.appLogo" [alt]="product.displayName" (load)="onImageLoad($event)" (error)="onImageError($event)">\n                </div>\n                <span class="product-name">{{product.displayName}}</span>\n              </div>\n            </ng-container>\n          </div>\n\n          <h3 class="section-title">Financing</h3>\n          <div class="products-grid">\n            <ng-container >\n              <div class="product-card"\n                   *ngFor="let product of mobile_appSwitcherApps.financial_servicea; let i = index" \n                   (click)="appSwitch(product, \'mobileProductSelection\')">\n                <div class="icon-circle">\n                  <img [src]="product.appLogo" [alt]="product.displayName" (load)="onImageLoad($event)" (error)="onImageError($event)">\n                </div>\n                <span class="product-name">{{product.displayName}}</span>\n              </div>\n            </ng-container>\n          </div>\n\n          <h3 class="section-title">Our Core Strengths</h3>\n          <div class="strength-container">\n            <div class="strength-scroll">\n              <ng-container >\n                <div class="strength-card"\n                     *ngFor="let image of coreStrengthImages; let i = index">\n                  <img [src]="image.imgSrc" [alt]="image.altText">\n                </div>\n              </ng-container>\n            </div>\n          </div>\n        </div>\n      </div>\n     </div>\n\n\n  </div>\n</div> ',styles:['@import"https://fonts.cdnfonts.com/css/sf-pro-display";@import"https://fonts.cdnfonts.com/css/twk-lausanne";.modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:center}.modal-content_new{position:relative;width:100%;height:100%;background-color:#f7f5fb;overflow-y:scroll}.h-195px{height:195px!important}.h-180px{height:180px!important}.h-95px{height:95px!important}.skeleton-loader{display:flex;flex-direction:column;height:100%;padding:12px}.skeleton-icon{width:100%;height:80px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:10px;margin-bottom:14px}.featured-skeleton-icon{height:95px}.skeleton-text{width:80%;height:22px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:4px;margin-bottom:8px}.skeleton-button{width:120px;height:16px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:4px;position:absolute;bottom:18px}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.close{position:absolute;top:10px;right:10px;font-size:24px;cursor:pointer;z-index:1001;padding:0 10px}::ng-deep .ad-padding-b{min-height:0!important}.d-flex{display:flex;flex-wrap:wrap}.gap-4{grid-gap:16px;gap:16px}.mobileScreen{background:#F7F5FB;padding:80px;background-image:url(https://sr-cdn-1.shiprocket.in/img/Web/Bg-Pattern.svg);background-repeat:no-repeat;background-size:contain;background-position:top right}.mobileScreen_new{background:#F7F5FB;padding:20px;background-image:url(https://sr-cdn-1.shiprocket.in/img/BG.svg);background-repeat:no-repeat;background-size:cover;background-position:top right}.Topheader{margin-bottom:35px}.Topheader h1{color:#1d1d1d;font-size:36px!important;line-height:32px!important;letter-spacing:-.48px;margin-top:0;font-weight:500}.Topheader h1 span{color:#745be7}.Topheader p{color:#757575;font-size:18px;line-height:normal;margin-top:10px}.section_heading{color:#676767;font-size:20px!important;text-transform:uppercase;margin-bottom:0;margin-top:60px}.featured_section{width:225px!important}.box_section{height:242px;padding:12px;border-radius:16px;background:#FBFBFB;box-shadow:0 5px 20px #1b1f440d;cursor:pointer;margin-top:16px;margin-bottom:0;position:relative;width:268px}.box_section img.icon{width:100%;height:120px;object-fit:cover;border-radius:10px}.image-container{width:100%;height:120px;position:relative;border-radius:10px;overflow:hidden;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite}.image-container img{width:100%;height:120px;object-fit:cover;border-radius:10px}.image-container img.loaded{background:none;animation:none}.featured-image-container{width:100%;height:95px;position:relative;border-radius:10px;overflow:hidden;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite}.featured-image-container img{width:100%;height:95px;object-fit:cover;border-radius:10px}.featured-image-container img.loaded{background:none;animation:none}.box_section h6{color:#1d1d1d;font-size:18px!important;margin-top:14px;font-weight:500;font-family:"SFProDisplay-Regular";margin-bottom:3px;text-transform:capitalize;line-height:22px!important;text-wrap:wrap}.box_section p{color:#828488;font-size:14px;line-height:18px;margin-bottom:0;font-family:"SFProDisplay-Regular";font-weight:400;margin-top:0}.box_section span.getstarted{color:#745be7;font-size:16px;position:absolute;bottom:18px;font-family:"SFProDisplay-Medium";font-weight:500}.box_section span img{margin-left:5px}.box_section .newtag{position:absolute;right:5px;padding:3px 8px 1px;background:#DDFFE8;top:5px;border-radius:30px}.box_section .newtag em{position:relative;border-radius:4px;padding:1px 8px;color:#3fc06a;font-size:10px;top:-1px;font-style:normal;text-align:center;width:100%;display:block;left:0px;line-height:20px}.appSwitcherBtn{border-radius:4px;border:0;cursor:pointer;line-height:12px;color:#1d1d1d;font-size:12px;background:linear-gradient(169deg,#12c2e999 40.8%,#12c2e999 45%,#c471ed99 60%);font-weight:400;transition:background-color .3s}.appSwitcherBtn:hover{background-color:#fff}.appSwitcherTxt{background:linear-gradient(150.38deg,#fefefe -5.2%,#e7f9fd 7.94%,#f9f1fd 40.98%);padding:8px 12px 6px;border-radius:4px;margin:1px;transition:background-color .5s}.appSwitcherTxt:hover{background-color:#f9f8fe!important}.appSwitcherTxt:hover{background-color:#f9f8fe!important;transition:.5s}@media only screen and (max-width:362px){.box_section h6{font-size:12px!important}.box_section p,.box_section span.getstarted{font-size:11px}}@media (min-width: 768px) and (max-width: 1059px){.box_section h6{font-size:16px!important}.box_section p{font-size:13px!important}.box_section span.getstarted{font-size:12px!important}.section_heading{font-size:16px!important}}@media (max-width: 767px){.h-195px{height:142px!important}.mob_box_section.h-195px{min-height:142px!important}.mob_box_section.h-195px h6{min-height:auto!important}.mob_box_section{width:100%!important;padding:12px!important;border-radius:16px!important;background:#FBFBFB!important;box-shadow:0 5px 20px #1b1f440d!important;cursor:pointer!important;margin-top:16px!important;margin-bottom:0!important;position:relative!important;line-height:18px!important;min-height:160px!important}.mob_box_section img.mob_icon{width:100%!important;border-radius:6px!important}.mob_box_section h6{color:#1b1f44!important;font-size:14px!important;margin-top:10px!important;font-family:"SF Pro Display",sans-serif!important;margin-bottom:5px!important;text-transform:capitalize!important;min-height:34px!important;font-weight:500!important;line-height:20px!important}.mob_getstarted{color:#745be7!important}.switcher_icon{border:none;background:#fff;position:relative;top:0px;box-shadow:0 -1px 4px #0000000f;padding:11px 7px}.mobileScreen{padding:20px;background-size:auto}.box_section{flex:0 0 calc(50% - 16px);box-sizing:border-box}.box_section span.getstarted{bottom:10px;font-size:14px}.box_section{padding:10px;margin-top:0;height:auto}.box_section h6{font-size:14px;margin-top:10px}.box_section p{font-size:12px;line-height:1.3;max-height:70px;min-height:55px}.other_ser p{min-height:65px!important}.box_section .icon{height:auto}.getstarted{font-size:12px}.Topheader h1{font-size:25px!important;line-height:30px!important}.Topheader p{font-size:14px}.section_heading{font-size:16px!important;margin:45px 0 10px}}.mobile-container{min-height:100vh;font-family:"TWK Lausanne",sans-serif}.mobile-header{margin-bottom:24px}.welcome-text{font-size:22px!important;margin-bottom:8px;font-weight:600;text-transform:capitalize;margin-top:10px}.subtitle{font-size:14px;color:#888;line-height:1.4}.section-title{font-size:18px;margin:24px 0 16px;text-transform:capitalize;color:#191919;font-weight:600}.products-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:16px;gap:16px;margin-bottom:30px}.product-card{background:#fff;border-radius:12px;padding:15px 10px;display:flex;flex-direction:column;align-items:center;grid-gap:8px;gap:8px;cursor:pointer;box-shadow:0 0 20px #1b1f440d}.product_card_shadow{box-shadow:0 0 20px #0a0b111a!important}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.product-card.show{animation-play-state:running}.product-card:active{transform:scale(.98)}.product-card.ng-enter{opacity:0;transform:translateY(-20px)}.product-card.ng-enter-active{opacity:1;transform:translateY(0)}.icon-circle{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center}.icon-circle img{width:50px;height:50px}.product-name{font-size:12px;color:#333;text-align:center;font-weight:600;display:inline-block;white-space:nowrap;margin-top:5px;font-family:"TWK Lausanne",sans-serif}.recharge-banner{background:linear-gradient(45deg,#745BE7,#12C2E9);border-radius:16px;padding:20px;margin:24px 0;position:relative;overflow:hidden}.banner-content{display:flex;justify-content:space-between;align-items:center;z-index:1;position:relative}.banner-text h3{font-size:16px;margin-bottom:4px;color:#fff}.banner-text h2{font-size:24px;color:#4ade80;margin:0}.recharge-btn{background:#4ADE80;color:#000;border:none;padding:8px 16px;border-radius:8px;font-weight:500;cursor:pointer;transition:background-color .2s}.recharge-btn:hover{background:#22C55E}.wallet-image{position:absolute;right:-20px;bottom:-20px;width:120px;opacity:.8}.pagination-dots{display:flex;justify-content:center;align-items:center;grid-gap:4px;gap:4px;margin-top:16px;position:relative}.dot{height:4px;width:16px;background:rgba(115,91,231,.3);cursor:pointer;transition:all .3s ease;border-radius:2px}.dot.active{background:#745BE7;position:relative}.dot.active:after{content:"";position:absolute;bottom:-4px;left:50%;transform:translate(-50%);width:4px;height:4px;background:#745BE7;border-radius:50%}@media (min-width: 361px) and (max-width: 380px){.product-card{min-width:70px;width:100%;padding:10px}}@media (max-width: 360px){.product-card{min-width:60px;width:100%;padding:10px}.product-name{font-size:12px;margin-top:5px}.mobile-container{padding:0}.welcome-text{font-size:22px}.subtitle{font-size:13px}.icon-circle{width:40px;height:40px}.icon-circle img{width:40px;height:40px}}@media (max-width: 767px){.products-grid{grid-gap:12px;gap:12px}.recharge-banner{padding:16px}.banner-text h2{font-size:20px}.recharge-btn{padding:6px 12px;font-size:14px}}.strength-container{width:100%;overflow:hidden;position:relative;padding:0;margin-bottom:50px}.strength-scroll{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;grid-gap:16px;gap:16px;padding:0 16px;scrollbar-width:none;-ms-overflow-style:none}.strength-scroll::-webkit-scrollbar{display:none}.strength-card{flex:0 0 220px;scroll-snap-align:start;border-radius:12px;overflow:hidden}.strength-card img{width:100%;height:auto;display:block;object-fit:cover}@media (hover: none){.strength-scroll{touch-action:pan-x}}.mobile-container{font-family:"TWK Lausanne",sans-serif}.mobile-header .welcome-text,.mobile-header .subtitle,.section-title,.product-name{font-family:"TWK Lausanne",sans-serif}\n'],directives:[{type:l.NgIf,selector:"[ngIf]"},{type:l.NgForOf,selector:"[ngFor][ngForOf]"}],animations:[o.trigger("modalAnimation",[o.transition(":enter",[o.style({opacity:0,transform:"scale(0.8)"}),o.animate("200ms ease-out",o.style({opacity:1,transform:"scale(1)"}))]),o.transition(":leave",[o.animate("200ms ease-in",o.style({opacity:0,transform:"scale(0.8)"}))])]),o.trigger("slideDown",[o.transition(":enter",[o.style({transform:"translateY(-20px)",opacity:0}),o.animate("300ms ease-out",o.style({transform:"translateY(0)",opacity:1}))])])]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:m,decorators:[{type:t.Component,args:[{selector:"lib-switcher",templateUrl:"./switcher.component.html",styleUrls:["./switcher.component.css"],animations:[o.trigger("modalAnimation",[o.transition(":enter",[o.style({opacity:0,transform:"scale(0.8)"}),o.animate("200ms ease-out",o.style({opacity:1,transform:"scale(1)"}))]),o.transition(":leave",[o.animate("200ms ease-in",o.style({opacity:0,transform:"scale(0.8)"}))])]),o.trigger("slideDown",[o.transition(":enter",[o.style({transform:"translateY(-20px)",opacity:0}),o.animate("300ms ease-out",o.style({transform:"translateY(0)",opacity:1}))])])]}]}],ctorParameters:function(){return[{type:h},{type:c.HttpClient},{type:d}]},propDecorators:{data:[{type:t.Input}]}});var u=function(){};u.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:u,deps:[],target:s.ɵɵFactoryTarget.NgModule}),u.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:u,declarations:[m],imports:[a.CommonModule],exports:[m]}),u.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:u,providers:[d,h],imports:[[a.CommonModule]]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.17",ngImport:s,type:u,decorators:[{type:t.NgModule,args:[{declarations:[m],imports:[a.CommonModule],exports:[m],schemas:[t.CUSTOM_ELEMENTS_SCHEMA],providers:[d,h]}]}]}),e.AppSwitcherService=h,e.SwitcherComponent=m,e.SwitcherModule=u,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=/sm/c852aeff4287cf0eabef0ed47fe19f4bf12e28a24864ec7aafbf8cd087855e28.map