PageSourceSearch

https://www.whizlabs.com/_next/static/chunks/7914-d5d64022fb37b24a.js

js whizlabs.com collected 2026-10-02 02:20:18 UTC 15,470 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7914],{19928:(e,t,r)=>{r.d(t,{xK:()=>o});var n=r(85946),a=r(48098);async function i(e){var t,r;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{if(!e||"string"!=typeof e||0===e.trim().length)return console.error("[PurchaseEvents] Invalid event_name provided:",e),null;let r=e.toUpperCase().trim(),o=function(e){let t=new Date().toISOString(),{timestamp:r,...n}=e;return{...n,event_created_at:n.event_created_at||t}}(i),_={event_name:r,...o&&Object.keys(o).length>0?{payload:o}:{}},c=await n.O0.post(a.F.trackPurchaseEvents,_),u=(null==c?void 0:c.data)||c;if(!u)return null;return{success:null==(t=u.success)||t,statusCode:u.statusCode,message:u.message||"Event tracked",data:u.data,...u}}catch(t){return console.error("[PurchaseEvents] Failed to track event: ".concat(e),{error:(null==t?void 0:t.message)||t,payload:i,response:null==t||null==(r=t.response)?void 0:r.data}),null}}async function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(e,t)}},24165:(e,t,r)=>{r.d(t,{Hb:()=>c,aw:()=>o,hQ:()=>u,nJ:()=>i,nu:()=>n,u9:()=>a});var n=function(e){return e.Home="home_page",e.Library="library_page",e.Pricing="pricing_page",e.PricingCheckout="pricing_checkout",e.Payment="payment_page",e.Product="product_page",e.CartPopup="cart_popup",e.Cart="cart_page",e.MyWishlist="my_wishlist_page",e.paymentStatus="payment_status_page",e.Category="category_page",e.Subscription="subscription_page",e.CartPopupPage="cart_popup_page",e.CheckoutPage="checkout_page",e.PricingCheckoutPage="pricing_checkout_page",e}({}),a=function(e){return e.ItsTimeToUpskillBtn="its_time_to_upskill_btn",e.UpskillFooterBtn="upskill_footer_btn",e.SubscriptionHeaderMenu="subscription_header_menu",e.GetStartedBtn="get_started_btn",e.TrainingLibraryAllCoursesBtn="training_library_all_courses_btn",e.PricingCardBuyNowBtn="pricing_buy_now_btn",e.HeaderBannerMenu="header_banner_menu",e.LibraryHeaderBannerMenu="library_header_banner_menu",e.CheckoutHeaderBannerMenu="checkout_header_banner_menu",e.CheckoutFooterBannerMenu="checkout_footer_banner_menu",e.HomeSubscribeNowBtn="home_subscribe_now_btn",e.SubscribeNowButton="subscribe_now_button",e.HomeBannerSubscribeNowBtn="home_banner_subscribe",e.FooterBannerMenu="footer_banner_menu",e.ProductStartSubscriptionBtn="product_start_subscription_btn",e.ProductUpgradeToPremiumPlusBtn="product_upgrade_to_premium_plus_btn",e.LibraryViewCartBtn="library_view_cart_btn",e.LibraryProductHeading="library_product_heading",e.CategoryProductHeading="category_course_heading",e.CategoryViewCartBtn="category_view_cart_btn",e.AddToCartBtn="add_to_cart_btn",e.CartPopupCheckoutBtn="cart_popup_checkout_btn",e.CartPopupViewCartBtn="cart_popup_view_cart_btn",e.CartPopupAddToCartBtn="cart_popup_add_to_cart_btn",e.ProductWishlistBtn="product_wishlist_btn",e.MyWishlistWishlistBtn="my_wishlist_wishlist_btn",e.CheckoutProceedToPaymentBtn="checkout_proceed_to_payment_btn",e.SearchBtn="search_btn",e.SearchBoxBtn="search_box_btn",e.ViewCartBtn="view_cart_btn",e.PlanBuyNow="plan_buy_now",e.CartButton="cart_btn",e.CartHeaderBanner="cart_header_banner",e.PricingDemoCard="pricing_book_a_demo_card",e.PricingDemoSection="pricing_book_a_demo_section",e.BookADemo="book_a_demo",e}({}),i=function(e){return e.Footer="footer",e.Header="header",e.ProductHeader="product_page_header_banner",e.ProductFooter="product_page_footer_banner",e.Library="library",e.libraryHeader="library_header",e.HeaderBanner="header_banner",e.HomeHeaderBanner="home_header_banner",e.LibraryHeaderBanner="library_header_banner",e.HomeBanner="home_banner",e.categoryHeaderBanner="category_header_banner",e.FooterBanner="footer_banner",e.libraryFooter="library_footer",e.ProductPageFooter="product_footer",e.categoryFooter="category_footer",e.HomeFooter="home_footer",e.HomeHeader="home_header",e.libraryPage="library_page",e.categoryPage="category_page",e.HomePricingCard="home_pricing_card",e.HomePlanSection="home_plan_section",e.TrainingLibraryMenu="training_library_menu",e.homeTrainingLibraryMenuHeader="home_training_library_menu_header",e.subscriptionTrainingLibraryMenuHeader="subscription_training_library_menu_header",e.categoryTrainingLibraryMenuHeader="category_training_library_menu_header",e.libraryTrainingLibraryMenuHeader="library_training_library_menu_header",e.cartTrainingLibraryMenuHeader="cart_training_library_menu_header",e.checkoutTrainingLibraryMenuHeader="checkout_training_library_menu_header",e.PricingCard="pricing_card",e.LibraryCard="library_card",e.CartSection="cart_section",e.CartPopupSection="cart_popup_section",e.ProductSection="product_cart_section",e.ProductTypes="product_types",e.MyWishlistSection="my_wishlist_section",e.CheckoutSection="checkout_section",e.SubscriptionPricingCheckoutSection="subscription_pricing_checkout_section",e.PaymentStatusSection="payment_status_section",e.productPageSection="product_page_cart_section",e.PaymentSection="payment_section",e.PaymentGateway="payment_gateway",e.libraryViewCart="library_view_cart",e.categoryViewCart="category_view_cart",e.categoryProductHeading="category_product_heading",e.libraryProductHeading="library_product_heading",e.BuyNowBtn="buy_now_btn",e.PricingFooter="pricing_footer",e.HomePageHeroSection="home_page_hero_section",e.ProductTypeCartSection="product_type_cart_section",e.productTypeCartSection="product_type_cart_section",e.productCartSection="product_cart_section",e.CartPageWishListSection="cart_page_wishlist_section",e.CartProductWishlistSection="cart_product_wishlist_section",e.PlansSection="plans_section",e.ProductHeading="product_heading",e.HeaderSearch="header_search",e.HeaderSection="header_Section",e.SearchBoxHeaderSection="search_box_header_section",e.PlanCheckoutPage="plan_checkout_page",e.BuyNowBtnCta="buy_now_btn",e.CheckoutHeaderBanner="checkout_header_banner",e.CheckoutFooterBanner="checkout_footer_banner",e.CartFooterBanner="cart_footer_banner",e.CartHeaderBanner="cart_header_banner",e.PricingDemoSection="pricing_book_a_demo_section",e.PricingDemoCard="pricing_book_a_demo_card",e}({}),o=function(e){return e.HomeItsTimeToUpskillBtnClicked="HOME_ITS_TIME_TO_UPSKILL_BTN_CLICKED",e.HomeHeaderSubscriptionMenuBtnClicked="HOME_HEADER_SUBSCRIPTION_MENU_BTN_CLICKED",e.HomeGetStartedBtnClicked="HOME_GET_STARTED_BTN_CLICKED",e.TrainingLibraryAllCoursesBtnClicked="TRAINING_LIBRARY_ALL_COURSES_BTN_CLICKED",e.TrainingLibraryCategoryBtnClicked="TRAINING_LIBRARY_CATEGORY_BTN_CLICKED",e.PricingCardBuyNowBtnClicked="PRICING_BUY_NOW_BTN_CLICKED",e.PricingPageUpskillBtnClicked="PRICING_PAGE_UPSKILL_BTN_CLICKED",e.HomeHeaderBannerClicked="HOME_HEADER_BANNER_CLICKED",e.LibraryHeaderBannerMenuClicked="LIBRARY_HEADER_BANNER_MENU_BTN_CLICKED",e.HomeSubscribeNowBtnClicked="HOME_SUBSCRIBE_NOW_BTN_CLICKED",e.HomeFooterBannerMenuClicked="HOME_FOOTER_BANNER_BTN_CLICKED",e.LibraryViewCartBtnClicked="LIBRARY_VIEW_CART_BTN_CLICKED",e.LibraryProductHeadingBtnClicked="LIBRARY_PRODUCT_HEADING_BTN_CLICKED",e.LibraryFooterBannerMenuClicked="LIBRARY_FOOTER_BANNER_MENU_BTN_CLICKED",e.LibraryUpskillBtnClicked="LIBRARY_UPSKILL_BTN_CLICKED",e.CategoryViewCartBtnClicked="CATEGORY_VIEW_CART_BTN_CLICKED",e.CategoryProductHeadingBtnClicked="CATEGORY_PRODUCT_HEADING_BTN_CLICKED",e.CategoryHeaderBannerMenuClicked="CATEGORY_HEADER_BANNER_MENU_BTN_CLICKED",e.CategoryFo
1oterBannerMenuClicked="CATEGORY_FOOTER_BANNER_MENU_BTN_CLICKED",e.CategoryUpskillBtnClicked="CATEGORY_UPSKILL_BTN_CLICKED",e.ProductHeaderBannerMenuClicked="PRODUCT_HEADER_BANNER_MENU_BTN_CLICKED",e.ProductFooterBannerMenuClicked="PRODUCT_FOOTER_BANNER_MENU_BTN_CLICKED",e.ProductPageUpskillBtnClicked="PRODUCT_PAGE_UPSKILL_BTN_CLICKED",e.ProductStartSubscriptionBtnClicked="PRODUCT_START_SUBSCRIPTION_BTN_CLICKED",e.ProductUpgradeToPremiumPlusBtnClicked="PRODUCT_UPGRADE_TO_PREMIUM_PLUS_BTN_CLICKED",e.ProductAddToCartBtnClicked="PRODUCT_ADD_TO_CART_BTN_CLICKED",e.CartPopupCheckoutBtnClicked="CART_POPUP_CHECKOUT_BTN_CLICKED",e.CartPopupViewCartBtnClicked="CART_POPUP_VIEW_CART_BTN_CLICKED",e.CartPopupAddToCartBtnClicked="CART_POPUP_ADD_TO_CART_BTN_CLICKED",e.CartPageViewed="CART_PAGE_VIEWED",e.ProductAddToWishlistBtnClicked="PRODUCT_ADD_TO_WISHLIST_BTN_CLICKED",e.ProfileWishlistViewCartBtnClicked="PROFILE_WISHLIST_VIEW_CART_BTN_CLICKED",e.CheckoutPageViewed="CHECKOUT_PAGE_VIEWED",e.CheckoutProceedToPaymentBtnClicked="CHECKOUT_PROCEED_TO_PAYMENT_BTN_CLICKED",e.SearchBoxProductSelected="SEARCH_BOX_PRODUCT_SELECTED",e.ProductCartSectionBannerMenuClicked="PRODUCT_CART_SECTION_BANNER_MENU_BTN_CLICKED",e.PaymentPageViewed="PAYMENT_PAGE_VIEWED",e.PurchaseStatusPageViewed="PURCHASE_STATUS_PAGE_VIEWED",e.PaymentPending="PAYMENT_PENDING",e.PaymentSuccess="PAYMENT_SUCCESS",e.PaymentFailed="PAYMENT_FAILED",e.PaymentInitiated="PAYMENT_INITIATED",e.CartPageWishListBtnClicked="CART_PAGE_WISHLIST_BTN_CLICKED",e.HomeDowngradeNowBtnClicked="HOME_DOWNGRADE_BTN_CLICKED",e.HomeUpgradeNowBtnClicked="HOME_UPGRADE_BTN_CLICKED",e.PricingDowngradeNowBtnClicked="PRICING_DOWNGRADE_NOW_BTN_CLICKED",e.PricingUpgradeNowBtnClicked="PRICING_UPGRADE_NOW_BTN_CLICKED",e.HeaderCartBtnClicked="HEADER_CART_BTN_CLICKED",e.CartHeaderBannerBtnClicked="CART_HEADER_BANNER_MENU_BTN_CLICKED",e.CartFooterBannerBtnClicked="CART_FOOTER_BANNER_MENU_BTN_CLICKED",e.CheckoutHeaderBannerMenuBtnClicked="CHECKOUT_HEADER_BANNER_MENU_BTN_CLICKED",e.CheckoutFooterBannerMenuBtnClicked="CHECKOUT_FOOTER_BANNER_MENU_BTN_CLICKED",e.TrainingLibraryCourseBtnClicked="TRAINING_LIBRARY_COURSE_BTN_CLICKED",e.PricingPageBookADemoBtnTopClicked="PRICING_PAGE_BOOK_A_DEMO_BTN_TOP_CLICKED",e.PricingPageBookADemoBtnBottomClicked="PRICING_PAGE_BOOK_A_DEMO_BTN_BOTTOM_CLICKED",e}({});let _={"Premium Plus":"Elite",Basic:"Standard"};function c(e){if(!e)return"";let t=String(e).trim().replace(/\s+/g," ").toLowerCase(),r=Object.keys(_).find(e=>e.toLowerCase()===t);return r?_[r]:e}function u(e){let t=String(e).trim().toLowerCase();return"upgrade now"===t?"upgrade_now":"downgrade now"===t?"downgrade_now":null}},37572:(e,t,r)=>{function n(e){if(!e)return{};try{let t;if(e.startsWith("http://")||e.startsWith("https://"))t=new URL(e).searchParams;else if(e.includes("?")){let r=e.split("?")[1];t=new URLSearchParams(r)}else t=new URLSearchParams(e);let r={},n=t.get("utm_source"),a=t.get("utm_medium"),i=t.get("utm_campaign");return n&&(r.utm_source=n),a&&(r.utm_medium=a),i&&(r.utm_campaign=i),r}catch(e){return console.error("Error parsing UTM params from URL:",e),{}}}function a(){if(void 0===globalThis.window)return"desktop";let e=(navigator.userAgent||"").toLowerCase(),t=navigator.userAgentData,r=/win|mac|linux|x11|bsd/i.test(navigator.platform)||/windows|macintosh|linux/i.test(e),n=globalThis.window.screen.width>=1024||globalThis.window.screen.height>=768,a="ontouchstart"in globalThis.window||navigator.maxTouchPoints>0;if(r&&n&&!a)return"desktop";let i=/\bmobi\b|android|iphone|ipod|blackberry|windows phone/i.test(e),o=/\bipad\b|tablet|playbook|silk/i.test(e);return r&&n&&!o?"desktop":(null==t?void 0:t.mobile)===!0?"mobile":/\bipad\b/i.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1&&o?"tablet":a&&!r?768>Math.min(globalThis.window.screen.width,globalThis.window.screen.height)?"mobile":"tablet":i?"mobile":o?"tablet":"desktop"}function i(e){let t={...e},r=globalThis.location.href;if((null==e?void 0:e.utm_source)&&(t.utm_source=e.utm_source),(null==e?void 0:e.utm_medium)&&(t.utm_medium=e.utm_medium),(null==e?void 0:e.utm_campaign)&&(t.utm_campaign=e.utm_campaign),!t.utm_source||!t.utm_medium||!t.utm_campaign){let e=n(r);!t.utm_source&&e.utm_source&&(t.utm_source=e.utm_source),!t.utm_medium&&e.utm_medium&&(t.utm_medium=e.utm_medium),!t.utm_campaign&&e.utm_campaign&&(t.utm_campaign=e.utm_campaign)}if((!t.utm_source||!t.utm_medium||!t.utm_campaign)&&document.referrer){let e=n(document.referrer);!t.utm_source&&e.utm_source&&(t.utm_source=e.utm_source),!t.utm_medium&&e.utm_medium&&(t.utm_medium=e.utm_medium),!t.utm_campaign&&e.utm_campaign&&(t.utm_campaign=e.utm_campaign)}return t.device_type||(t.device_type=a()),t.app||(t.app="web"),t}r.d(t,{Ap:()=>a,LC:()=>i,nM:()=>n})},70340:(e,t,r)=>{r.d(t,{xK:()=>n.xK});var n=r(19928)},94123:(e,t,r)=>{r.d(t,{Lq:()=>c,m3:()=>_,nI:()=>l});var n=r(85946),a=r(37572),i=r(17726),o=r(44400);
1function _(e){let t=(e||"").split("/").filter(Boolean);return!!t[0]&&1===t.length&&!["/home","/library","/pricing","/checkout","/cart","/my-wishlist"].some(t=>null==e?void 0:e.startsWith(t))}function c(e,t){let r;if(!_(e))return!1;try{r=decodeURIComponent(e||"").split("?")[0].split("#")[0].split("/").filter(Boolean)[0]}catch(t){r=(e||"").split("?")[0].split("#")[0].split("/").filter(Boolean)[0]}let n=String(r||"").trim().toLowerCase();if(!n)return!1;let a=e=>{var t,r;if(!e)return!1;if(Array.isArray(e))return e.some(a);if("object"!=typeof e)return!1;let i=null!=(r=null!=(t=e.menu_slug)?t:e.slug)?r:e.category_slug;return"string"==typeof i&&i.trim().toLowerCase()===n||a(e.children)||a(e.child)||a(e.subMenu)||a(e.sub_menu)||a(e.menu_child)||a(e.items)};return a(t)}function u(e){return"string"==typeof e&&e.trim()?e.trim():"number"==typeof e&&Number.isFinite(e)?String(e):void 0}function d(e){return Array.isArray(e)?e.map(e=>u(e)).filter(Boolean).join(",")||void 0:u(e)}function l(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(null==(e=n.b3.getUserDetails)?void 0:e.call(n.b3))||{},_=u(i.id.getSessionId()),c=function(e){if(!e||"object"!=typeof e)return;let t=e.user;return u(e.user_ref_id)||u(null==t?void 0:t.user_ref_id)||u(e.user_id)||u(null==t?void 0:t.user_id)||u(e.id)||u(null==t?void 0:t.id)}(r),l=(0,a.LC)({session_id:_}),s=function(e){var t,r,n,a,i;if(!e)return{};let o=null!=(i=null==e||null==(t=e.user_details)?void 0:t[0])?i:e,_=u(null==o||null==(r=o.data_countries)?void 0:r.name)||u(null==e?void 0:e.country)||u(null==o?void 0:o.country);return{country:_||void 0,state:u(null==o||null==(n=o.data_states)?void 0:n.name)||u(null==e?void 0:e.state)||u(null==o?void 0:o.state)||void 0,city:u(null==o||null==(a=o.data_cities)?void 0:a.name)||u(null==e?void 0:e.city)||u(null==o?void 0:o.city)||void 0}}(r),C=function(){var e,t;let r=window.innerWidth||(null==(e=document.documentElement)?void 0:e.clientWidth)||(null==(t=document.body)?void 0:t.clientWidth)||0;return r>=1024?"desktop":r<768?"mobile":"tablet"}(),m=document.referrer?document.referrer:"www.whizlabs.com",p=t.product_data||{};if(Array.isArray(p))for(let e of p){if(!e||"object"!=typeof e)continue;let t=d(e.product_id);void 0!==t&&(e.product_id=t)}else if(p&&"object"==typeof p){let e=d(p.product_id);void 0!==e&&(p.product_id=e)}return{event_version:t.event_version||"v1.0",platform_id:u(t.platform_id)||u(o.env.NEXT_PUBLIC_PLATFORM_ID)||"1",event_created_at:t.event_created_at||new Date().toISOString(),user_data:{...c?{user_ref_id:c}:{},..._?{session_id:_}:{},...t.user_data||{}},platform_name:t.platform_name||"b2c",navigation_data:t.navigation_data||{},plan_data:t.plan_data||{},pricing_data:t.pricing_data||{},product_data:p,payment_data:t.payment_data||{},utm_data:{device_type:C,utm_source:(null==l?void 0:l.utm_source)||m,utm_medium:null==l?void 0:l.utm_medium,utm_campaign:null==l?void 0:l.utm_campaign,...(null==l?void 0:l.utm_term)?{utm_term:l.utm_term}:{},...(null==l?void 0:l.utm_content)?{utm_content:l.utm_content}:{},...s.country?{country:s.country}:{},...s.state?{state:s.state}:{},...s.city?{city:s.city}:{},...t.utm_data||{}},...t}}}}]);

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.