It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: https://www.missionfitindia.com

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8. <!DOCTYPE html>
  9. <html lang="en">
  10. <head>
  11. <title>Misson Fit India Stay Fit Workouts at Home with Khushboo Your Fitness Trainer India</title>
  12.  
  13. <meta name="keywords" content="Fitness Trainer, weight loss, Health Coach, Workouts, at home, no equipment, best fitness trainer india,"/>
  14. <meta name="description" content="Misson Fit India Stay Fit Workouts at Home with Khushboo Your Fitness Trainer India Best and Top Quality Meals Be More Healthy and Happy"/>
  15. <meta name="google-site-verification" content="" />
  16. <meta property="og:url" content="https://www.missionfitindia.com" />
  17. <meta property="og:type" content="website" />
  18. <meta property="og:title" content="Misson Fit India Stay Fit Workouts at Home with Khushboo Your Fitness Trainer India" />
  19. <meta property="og:description" content="Misson Fit India Stay Fit Workouts at Home with Khushboo Your Fitness Trainer India Best and Top Quality Meals Be More Healthy and Happy" />
  20. <meta property="og:image" content="https://www.missionfitindia.com/logo.png?v=4" />
  21.  
  22. <link href="https://d502jbuhuh9wk.cloudfront.net/resources/pagebuilder2/box/box.css" rel="stylesheet" type="text/css" />
  23.   <link href="https://d502jbuhuh9wk.cloudfront.net/resources/pagebuilder2/assets/minimalist-blocks/content.css" rel="stylesheet" type="text/css" />
  24.   <link href="https://d502jbuhuh9wk.cloudfront.net/resources/pagebuilder2/assets/scripts/animate/animate.css" rel="stylesheet" type="text/css" />
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. <script>
  54.   window.ddjskey = "7B67A84950276A170F730720638112";
  55.   window.ddoptions = { ajaxListenerPath: true };
  56. </script>
  57. <script src="https://js.datadome.co/tags.js" async></script>
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  69.  
  70.    
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.    
  79.    <meta name="google" content="notranslate">
  80.    
  81.    
  82.    
  83.         <link rel="canonical" href="https://www.missionfitindia.com/" />
  84.    
  85.    
  86.  
  87.  
  88. <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
  89. <link rel="icon" href="/favicon.ico" type="image/x-icon">
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96. <script>var orgCountry = "IN";</script>
  97.  
  98.  
  99. <link id="theme" href="https://d502jbuhuh9wk.cloudfront.net/resources/themes/default/spectre.min.css" rel="stylesheet">
  100.  
  101. <link rel="preconnect" href="https://fonts.googleapis.com">
  102. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  103.  
  104. <link rel="preload" href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" as="style" onload="this.onload=null;this.rel='stylesheet'">
  105. <noscript><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" ></noscript>
  106.  
  107. <link rel="preload" href="https://d502jbuhuh9wk.cloudfront.net/resources/css/intlTelInput.css?v=1" as="style" onload="this.onload=null;this.rel='stylesheet'">
  108. <noscript><link rel="stylesheet" href="https://d502jbuhuh9wk.cloudfront.net/resources/css/intlTelInput.css?v=1" ></noscript>
  109.  
  110. <link rel="preload" href="https://d502jbuhuh9wk.cloudfront.net/fontawesome/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
  111. <noscript><link rel="stylesheet" href="https://d502jbuhuh9wk.cloudfront.net/fontawesome/css/all.min.css" ></noscript>
  112.  
  113. <link id="theme-exp" href="https://d502jbuhuh9wk.cloudfront.net/resources/themes/default/spectre-exp.min.css" rel="stylesheet">
  114.  
  115.  
  116.  
  117. <link href="https://d502jbuhuh9wk.cloudfront.net/staticfiles/resources/stylesheets/sstyles_b4b4d09af1e3d078b1c65c955546f4db.css" rel="stylesheet">
  118. <link rel="stylesheet" href="https://d502jbuhuh9wk.cloudfront.net/staticfiles/resources/stylesheets/sstore_b265a98dd3895958fa4b1490ae89a464.css"/>
  119. <link rel="stylesheet" href="https://d502jbuhuh9wk.cloudfront.net/resources/stylesheets/gtheme3.css?v=7"/>
  120. <style type="text/css">
  121. #loginLoader{
  122. position: absolute;
  123.     left: 0;
  124.     right: 0;
  125.     margin-left: auto;
  126.     margin-right: auto;
  127.     width: 100px;
  128.     top: 50%;
  129. }
  130.    .customSocialBtn {
  131.       display: flex;
  132.     white-space: nowrap;
  133.     display: flex;
  134.     justify-content: center;
  135.     align-items: center;
  136.     padding: 11px 67px;
  137.     position: static;
  138.     left: 0px;
  139.     top: 40px;
  140.     cursor: pointer;
  141.     margin: auto;
  142.     border: none;
  143.     /*width: 364px;
  144.     height: 48px;
  145.       background: #000000; */
  146.     /*For New Button Remove Bellow Codes and Uncomment upper Code  */
  147.     background: white;
  148.       border-radius: 4px;
  149.       box-shadow: 0 2px 4px 0 rgb(0 0 0 / 25%);
  150.       width: 245px;
  151.       height: 40px;
  152.    }
  153.  
  154.    .customSocialBtn img.icon {    
  155.     height: 20px;
  156.     width: 20px;
  157.     margin: auto 10px;
  158.    }
  159.    .customSocialBtn span.buttonText {
  160.       width: 145px;
  161.     height: 17px;
  162.     left: 0px;
  163.     top: 0px;
  164.     font-style: normal;
  165.     font-weight: 900;
  166.     font-size: 16px;
  167.     line-height: 120%;
  168. opacity: 0.9;
  169.     text-align: left;
  170.     font-family: 'Roboto', sans-serif;
  171.     /* color: #F7F7F7; */
  172.     /*For New Button Remove Bellow Codes and Uncomment upper Code  */
  173.     color: #808080;
  174.    }
  175. </style>
  176. <style type="text/css">
  177. </style>
  178. <style type="text/css">
  179. footer a, footer+div a {
  180. color: var(--footerTextColor) !important;
  181. }
  182. footer .socialIcons {text-align: right;}
  183. @media (max-width: 600px) {
  184. footer .linksCont a { display: block !important; }
  185. footer .socialIcons {text-align: center;margin-top: 20px;}
  186. }
  187. </style>
  188.  
  189.  
  190.  
  191.  
  192.  
  193. <style type="text/css">
  194. :root {
  195. --themeColor: #5755d9;
  196. --themeBGColor: #fff;
  197. --headerHeight: 80px;
  198. --headerTextColor: #0A0959;
  199. --headerBGColor: #FDFBFB;
  200. }
  201.  
  202.  
  203. :root {
  204. --themeColor: #317AE7;
  205. --themeBGColor: #EFF5FE;
  206. --themeCornerRadius: 25px;
  207. --themeGrayColor: #F5F5F5;
  208. }
  209.  
  210. </style>
  211.  
  212. <style type="text/css">
  213.    
  214.  
  215. </style>
  216.  
  217.  
  218.  
  219. <!-- Facebook Pixel Code -->
  220. <script>
  221.  !function(f,b,e,v,n,t,s)
  222.  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  223.  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  224.  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  225.  n.queue=[];t=b.createElement(e);t.async=!0;
  226.  t.src=v;s=b.getElementsByTagName(e)[0];
  227.  s.parentNode.insertBefore(t,s)}(window, document,'script',
  228.  'https://connect.facebook.net/en_US/fbevents.js');
  229.  fbq('init', '6243461079015762');
  230.  fbq('track', 'PageView');
  231. </script>
  232. <noscript><img height="1" width="1" style="display:none"
  233.  src="https://www.facebook.com/tr?id=6243461079015762&ev=PageView&noscript=1"
  234. /></noscript>
  235. <!-- End Facebook Pixel Code -->
  236.  
  237.  
  238. <script type="text/javascript">
  239. window.onload = function(event) {
  240.   document.querySelectorAll('header .avatar img').forEach(function(img){
  241.   if(img.naturalWidth == 0) {
  242.   img.style.display='none';
  243.   }
  244.   })
  245. };
  246. var RESCDN = "https://d502jbuhuh9wk.cloudfront.net";
  247. function showCourseDefaultCover(img, cid) {
  248. var rndm = ((parseInt(cid.replace(/[a-z]/g, '')) % 10) % 6) + 1;
  249. rndm = isNaN(rndm) ? 1 : rndm;
  250. if(img === null) {
  251. return RESCDN + "/resources/images/cc"+rndm+".jpg";
  252. }
  253. img.src = RESCDN + "/resources/images/cc"+rndm+".jpg";
  254. }
  255. </script>
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266. <script type="text/javascript">var learnerConsentMsg = `We've updated our <a href='/termsofuse' target='_blank' style='text-decoration:underline'>terms and conditions</a> and <a href='/privacy-policy' target='_blank' style='text-decoration:underline'>privacy policy</a>.<br>By proceeding, you agree to our new terms.`;</script>
  267.  
  268. <script type="text/javascript">var creatorConsentMsg = `We've updated our <a href='https://graphy.com/legal/terms' target='_blank' style='text-decoration:underline'>terms and conditions</a> and <a href='https://graphy.com/legal/privacy' target='_blank' style='text-decoration:underline'>privacy policy</a>.<br>By proceeding, you agree to our new terms.`;</script>
  269.  
  270. <script type="text/javascript">var cookieMsg = `We use cookies to personalise your experience and to analyse our website traffic. By continuing to use our website, you consent to our cookies.`;</script>
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277. <script type="text/template" id="consentPromptTemplate">
  278. <div class="spectre">
  279. <div class="modal active" id="consentPrompt">
  280.    <a href="javascript:void(0);" class="modal-overlay" aria-label="Close"></a>
  281.    <div class="modal-container" style="max-width:325px">
  282.      <div class="modal-header" style="padding:0.8rem 0.8rem 0px 0.8rem;">
  283.        <div class="modal-title h5 text-center">Updated Terms</div>
  284.      </div>
  285.      <div class="modal-body">
  286.        
  287. <form id="consentForm" style="text-align:center; font-size:13px">
  288. <div class="content"></div><br>
  289. <div class="text-center">
  290. <button id="consentBtn" type="button" class="btn close btn-primary">I Agree</button>
  291. </div>
  292. </form>
  293.  
  294.    </div>
  295.  </div>
  296. </div>
  297. </script>
  298.  
  299.  
  300. <script>
  301. var hideCookiePopup = false;
  302. var cookieConsentEnabled = false;
  303. if(!cookieConsentEnabled){
  304. hideCookiePopup = true;
  305. }
  306. var SPORG = {subscriptionPlan: "launch", checkout_version: "2", customer_type: "r"};
  307. </script>
  308. <script type="text/template" id="cookiePopupTemplate">
  309. <div class="spectre" style="position: fixed; bottom: 0; width: 100%; opacity:1; z-index: 9999;">
  310. <div class="modal-container p-0" id="cookiePopup">        
  311. <form id="cookiePopupForm">
  312. <div class="columns" style="align-items: center;">
  313. <div class="column col-sm-12 content text-center"></div>
  314. <div class="column col-sm-12 text-center">
  315. <a href="/privacy-policy" class="btn" target="_blank" id="viewPrivacyPolicyBtn" style="margin-right:15px;">View privacy policy</a>
  316. <button id="acceptCookiesBtn" type="button" class="btn close btn-primary">Accept cookies</button>
  317. </div>
  318. </div>
  319. </form>
  320. </div>
  321. </div>
  322. </script>
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330. <script async src="http://www.googletagmanager.com/gtag/js?id=G-CGG1SD02BJ"></script>
  331. <script>
  332.   window.dataLayer = window.dataLayer || [];
  333.   function gtag(){dataLayer.push(arguments);}
  334.   gtag('js', new Date());
  335.  
  336.   gtag('config', 'G-CGG1SD02BJ');
  337.   </script>
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347. <!-- Google Tag Manager -->
  348. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  349. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  350. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  351. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  352. })(window,document,'script','dataLayer','GTM-KW7N9P2');
  353. </script>
  354. <!-- End Google Tag Manager -->
  355. <script defer type="text/javascript" src="https://api.pirsch.io/pirsch-extended.js"
  356.    id="pirschextendedjs"
  357.    data-code="D3mDuxDh3ljTsfTVyuDfGCWdFZ3QPp8k"></script>
  358.  
  359. </head>
  360.  
  361. <body class="">
  362.  
  363.  
  364.  
  365.  
  366.  
  367. <div class="header spectre "
  368. style="background-color: #FDFBFB;">
  369. <header class="navbar container" style="min-height: 80px;">
  370.  
  371.  <div id="navbar-section-btn">
  372.  
  373. <a href="javascript:void(0);" amplitude-event="navbar_link_tapped_user_landing_page" amplitude-payload='{"custom_domain": "www.missionfitindia.com","button":"cart"}' class="nav-link badge cartBtn mr-2" data-badge="0"><i class="material-icons">shopping_cart</i></a>
  374.   <a class="btn btn-link btn-action ml-2" id="header-collapse-btn"  href="javascript:void(0);">
  375. <i class="icon-menu material-icons">menu</i>
  376.   </a>
  377.  </div>
  378.  <section class="navbar-section" style="min-height: 80px;">
  379.    <a href="/" amplitude-event="navbar_link_tapped_user_landing_page" amplitude-payload='{"custom_domain": "www.missionfitindia.com","button":"profile_logo"}'><img alt="logo" onerror="this.src='https://d502jbuhuh9wk.cloudfront.net/resources/images/yourlogohere.jpg'" src='https://d502jbuhuh9wk.cloudfront.net/logos/6268d47c0cf2b698cee43bd4.png?v=4'/></a>
  380.  </section>
  381.  
  382.  <section class="navbar-section hide-md">
  383.   <form class="input-group p-0 relative" action="/s/store/courses" method="GET" style="width:100%;background:transparent">
  384.   <div class="input-group" style="width: 100%;">
  385. <input type="text" name="query" value="" class="form-input input-lg searchTxtBox" placeholder="Search">
  386. <button type="submit" class="btn btn-link"><i class="fa-regular fa-magnifying-glass"></i></button>
  387. </div>
  388. </form>
  389.  </section>
  390.  
  391.  <section class="navbar-section menu-links">
  392. <a href="/s/store" class="nav-link" data-id="courses" amplitude-event="navbar_link_tapped_user_landing_page" amplitude-payload='{"custom_domain": "www.missionfitindia.com","button":"store"}'>Courses</a>
  393. <a href="/blog" class="nav-link" data-id="blog" amplitude-event="navbar_link_tapped_user_landing_page" amplitude-payload='{"custom_domain": "www.missionfitindia.com","button":"blog"}'>Blog</a>
  394. <a href="/aboutus" class="nav-link" data-id="about" amplitude-event="navbar_link_tapped_user_landing_page" amplitude-payload='{"custom_domain": "www.missionfitindia.com","button":"about"}'>About</a>
  395. <a href="/products#nav_bar" class="nav-link" amplitude-event="digital_products_tapped" amplitude-payload='{"source":"nav_bar"}' href="javascript:void(0);">Digital Products</a>
  396. <a href="javascript:void(0);" class="nav-link badge cartBtn hide-md" data-badge="0"><i class="fa-regular fa-cart-shopping"></i></a>
  397.     <a href="javascript:void(0);" class="btn btn-primary loginBtn">Login</a>
  398.  </section>
  399. </header>
  400. <form class="show-md container" action="/s/store/courses" method="GET" style="background:transparent;">
  401. <div class="input-group relative" style="width: 100%;">
  402. <input type="text" name="query" value="" class="form-input input-lg searchTxtBox" placeholder="Search">
  403. <button type="submit" class="btn btn-link"><i class="fa-regular fa-magnifying-glass"></i></button>
  404. </div>
  405. </form>
  406. </div>
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418. <script>const customDomain = "www.missionfitindia.com";</script>
  419.  
  420.  
  421.  
  422.  
  423. <script>
  424. var disabledLocleVar='Disabled';
  425. var enabledLocaleVar='Enabled';
  426. var smsLocaleVar='SMS';
  427. var webpushLocaleVar='Web Push';
  428. var mobilepushLocaleVar='Mobile Push';
  429. var invoicenumberLocaleVar='Invoice Number';
  430. var productLocaleVar='Product';
  431. var dateLocaleVar='Date';
  432. var amountLocaleVar='Amount';
  433. var detailsLocaleVar='Details';
  434. var subscriptionPlanLocaleVar='Subscription Plan';
  435. var addonsLocaleVar='Add Ons';
  436. var showLocalVar='Show';
  437. var hideLocaleVar='Hide';
  438. </script>
  439. <div class="spectre">
  440.  
  441. <script>
  442. var isPopupLogin = true;
  443. var login = '';
  444. var message = '';
  445. function closeLoginPopup() {
  446. $("#loginFormHtml").removeClass("active");
  447. $("body").removeClass("overflowYDisable");
  448. }
  449. </script>
  450.  
  451. <div class="modal" id="loginFormHtml">
  452. <iframe id="microfe-popup-login" src="/t/public/login" loading="lazy"
  453. style="width: calc(100% + 10px); height: 100vh; border: none;"
  454. onload="$(this).parent().removeClass('loading');"></iframe>
  455. </div>
  456.  
  457. <div class="modal" id="cartHtml">
  458. <a href="javascript:void(0);" class="modal-overlay close"
  459. aria-label="Close"></a>
  460. <div class="modal-container" style="max-width: 800px;">
  461. <div class="modal-header">
  462. <a href="javascript:void(0);"
  463. class="close btn btn-clear float-right" aria-label="Close"></a>
  464. <div class="modal-title h5">
  465. <i class="fa-regular fa-shopping-cart"></i>
  466. Cart
  467. (<span class="cartCount">0</span>
  468. Items
  469. )
  470. </div>
  471. </div>
  472. <div class="modal-body" style="max-height: 70vh;">
  473. <div class="content">
  474.  
  475. <div class="text-center msg loading"></div>
  476. <div class="text-center msg noItems" style="display: none;">
  477. There are no items in your cart<br/>
  478. <a class="btn btn-primary" href="/s/store"
  479. style="margin: 20px auto;">
  480. Add More
  481. </a>
  482. </div>
  483. <div class="items msg" style="display: none;">
  484. <div class="m-0 cartDiv">
  485. <table class="table cartTable">
  486. <thead>
  487. <tr>
  488. <th colspan="2">Item Details</th>
  489. <th class="text-right">Price</th>
  490. <th style="width: 50px;"></th>
  491. </tr>
  492. </thead>
  493. <tbody></tbody>
  494. </table>
  495. </div>
  496. <div class="suggestCart mt-2 bg-gray p-2" style="display: none;">
  497. <h6>You may also be interested in</h6>
  498. <div class="columns loading" id="cartRelatedCont"></div>
  499. </div>
  500. </div>
  501. </div>
  502. </div>
  503. <div class="modal-footer">
  504. <div class="msg items clearfix">
  505. <div class="float-left text-gray">
  506. Note: Promo Codes can be applied after checkout
  507. </div>
  508. <div class="float-right">
  509. Total Amount
  510. <span class="text-primary curr">₹<span
  511. class="totalAmount">0</span></span>
  512. </div>
  513. </div>
  514. <div class="msg items clearfix mt-2">
  515. <a class="btn float-left" href="/s/store" amplitude-event="add_more_course_checkout">
  516. Add More
  517. </a>
  518. <a class="btn btn-primary float-right" href="/s/checkout" amplitude-event="checkout_tapped_course_checkout" amplitude-payload='{"currency": "INR" }'>Checkout</a>
  519. </div>
  520. </div>
  521. </div>
  522. </div>
  523. <div class="modal" id="newCheckoutHtml" style="padding: 0; z-index: 10000;">
  524. <div id="newCheckoutLoader" class="loading loading-lg" style="position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 100%;height: 100%;background-color: rgba(0, 0, 0, 0.5); z-index: 1000;display:none;"></div>:
  525. <!-- <a href="javascript:void(0);" class="modal-overlay close"
  526. aria-label="Close"></a>
  527. <div class="modal-container" style=""> -->
  528.  
  529. <iframe id="newCheckoutIframe" sandbox="allow-top-navigation allow-modals allow-popups allow-presentation allow-orientation-lock allow-pointer-lock allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation allow-scripts allow-same-origin allow-forms" style = "width: calc(100% + 10px); height: 100%; border: none;"  src=""></iframe>
  530. <!-- </div> -->
  531. </div>
  532. </div>
  533.  
  534. <script type="text/template" id="cartItemTemplate">
  535. <tr data-id="<@- item.id @>" data-type="<@- item.type @>" data-title="<@- item.title @>" data-price="<@- item.price @>" data-coursecategory="<@- item.courseCategory @>">
  536. <@ var itemType = item.type; @>
  537. <td style="width:150px;">
  538. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item.id +"/"+ item.id +"_scaled_cover.jpg?v=" + coverVersion; if(isNaN(coverVersion)) { curl = showCourseDefaultCover(null, item.id)   } @>
  539. <img alt="<@- item.title @> cover" style="width:100%;max-height:100px;" class="img-fit-contain lazy"  onerror="showCourseDefaultCover(this, '<@- item.id @>')"
  540. data-src='<@- curl @>' />
  541. </td>
  542. <td class="itemTitle"><@- item.title @><@ if(item.description !== undefined) { @><div class='text-gray variantDescription'><@ print(item.description) @></div><@ } @></td>
  543. <td class="text-right curr"><@ if(item.priceWithoutTax !== undefined && '' != '') { @><@ print(getDisplayAmount(item.priceWithoutTax)) @><br><small><@ print(getDisplayAmount(item.price)) @> incl. <@- item.gstRate @>% </small><@ } else { @><@ print(getDisplayAmount(item.price)) @> <@ if(item.gstRate > 0 && '' != '') { print("<br><small>incl. " +item.gstRate+"% </small>") } @><@ } @>
  544. <@ if(item.pgChargesLearnerPercent !==undefined && getDisplayAmount(item.pgChargesLearnerPercent).includes('₹')) {@> <br><small>Internet handling fees: <@print(getDisplayAmount(item.pgChargesLearnerPercent/100*item.price))@></small> <@} @>
  545. </td>
  546. <td><button class="btn btn-sm btn-error btn-action circle removeItemBtn" data-url="/s/cart/remove/<@- item.id @>"><i class="material-icons">clear</i></button></td>
  547. </tr>
  548. </script>
  549. <script type="text/template" id="cartcoursecard-template">
  550. <div class="column col-2 col-md-4 scourse <@- item['spayee:resource']['spayee:courseType'] @>" title="<@- item["spayee:resource"]["spayee:title"] @>">
  551.  <a class="card" title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>">
  552. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item["spayee:resource"]["spayee:coverVersion"]; if(isNaN(item["spayee:resource"]["spayee:coverVersion"])) { curl = showCourseDefaultCover(null, item._id)   } @>
  553.              <img style="width: 100%;" alt="<@- item['spayee:resource']['spayee:title'] @> cover" class="lazy" data-src="<@- curl  @>" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
  554.  <div class="card-footer" style="padding: 0.2rem;"><span class="ctitle text-ellipsis d-block" style="color:#2f4f4f;font-size:small;"><@- item["spayee:resource"]["spayee:title"] @></span></div>
  555.      </a>
  556. </div>
  557. </script>
  558. <script type="text/template" id="coursecard-template">
  559. <div class="column scourse <@- item['spayee:resource']['spayee:courseType'] @> hidePackageRibbon<@- item['spayee:resource']['spayee:hidePackageRibbon'] @>">
  560. <@ var itemCategory =  (item['spayee:resource']['spayee:filter1'] !== undefined)? item['spayee:resource']['spayee:filter1'][0]:'' @>
  561.  
  562. <a class="card courseDiscId" style="height:100%" title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" data-id="<@- item._id@>" data-dcid="<@-item._id@>"
  563. amplitude-event="course_card_tapped_checkout"
  564. amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', '', item, '0.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable('', item) @>","wallet_coins_enabled_on_school":"true","category":"<@- itemCategory @>"}'
  565. >
  566.              <div class="card-image relative <@ print(item["spayee:resource"]["spayee:availableForMembership"] ? 'includedInMembership' : '') @>">
  567. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id + "/" + item._id +"_scaled_cover.jpg?v=" + item["spayee:resource"]["spayee:coverVersion"]; if(isNaN(item["spayee:resource"]["spayee:coverVersion"])) { curl = showCourseDefaultCover(null, item._id);   } @>
  568. <div class="blurbg lazy" data-bg="<@- curl @>"></div>
  569.                <img alt="<@- item['spayee:resource']['spayee:title'] @> cover" class="lazy" data-src="<@- curl @>" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
  570.              </div>
  571.              <div class="card-body text-ellipsis">
  572. <span class="ctitle" style="color:#2f4f4f;"><@- item["spayee:resource"]["spayee:title"] @></span><br>
  573.  
  574. <@ if(item.rating !== undefined) { @>
  575. <span class="text-gray ratingIcons icon-text">
  576. <@ for(var i=1;i<6;i++) { @>
  577. <@ if(item.rating.avgRating >= i) { @><i class="material-icons text-primary">star</i><@ }else if(item.rating.avgRating > i-1 && item.rating.avgRating < i) { @><i class="material-icons text-primary">star_half</i><@ }else { @>
  578. <i class="material-icons">star_border</i>
  579. <@ } } @></span><small class="d-inline-block pl-1 text-dark"><@ print(formatRating(item['rating']['avgRating'])) @> (<@- item['rating']['total'] @> ratings)</small>
  580. <@ }else { @> <span class="text-gray ratingIcons icon-text">&nbsp;</span> <@ } @>
  581. <br>
  582. <span class="text-gray">
  583. <@ if(item['spayee:resource']['spayee:courseType'] === 'package') { @>
  584. <@ print(item["courses-count"]!==undefined?item["courses-count"]:"0") @> Courses
  585. <@ }else { @>
  586. <@ print(item["spayee:resource"]["spayee:publisher"]!==undefined?htmlEntities(item["spayee:resource"]["spayee:publisher"]):"&nbsp;") @>
  587. <@ } @>
  588. </span>
  589.  </div>
  590.              <div class="card-footer">
  591. <@ print(getCourseDisplayPrice('₹', '', item, '0.0', '', true)) @>
  592.              </div>
  593. <div style="padding: 0 0.8rem 0.8rem 0.8rem;">
  594. <span class="text-gray" style="font-size:small">
  595. <@ if(item['spayee:resource']['spayee:instalmentPlanId']!=null && item['spayee:resource']['spayee:instalmentPlanId'] !== "") { @>
  596. Available in part payment from  <@ print(getCourseInstalmentDisplayPrice('', item))@>
  597. <@ }else { @>
  598. <@ "&nbsp;" @>
  599. <@ } @>
  600. </span>
  601. </div>
  602.            </a>
  603. </div>
  604. </script>
  605.  
  606. <script type="text/template" id="blogcard-template">
  607. <div class="column col-3 col-md-6 col-sm-6 col-xs-12 scourse" style="margin-bottom: 20px;">
  608. <a class="card" title="<@- item['spayee:resource']['spayee:title'] @>" href="/blog/<@- item['spayee:resource']['spayee:url'] @>">
  609.              <div class="card-image relative">
  610. <@ if(item['spayee:resource']['spayee:cover'] !== undefined && item['spayee:resource']['spayee:cover']) { @>
  611. <div class="blurbg lazy" data-bg="https://d502jbuhuh9wk.cloudfront.net/articles/<@- item._id @>/cover.jpg<@ print(item["spayee:resource"]["spayee:coverVersion"] !== undefined?"?v="+item["spayee:resource"]["spayee:coverVersion"]:"") @>"></div>
  612. <img alt="<@- item['spayee:resource']['spayee:title'] @> cover" class="img-responsive centered relative lazy" style="max-height: 100%;" data-src="https://d502jbuhuh9wk.cloudfront.net/articles/<@- item._id @>/cover.jpg?v=<@- item['spayee:resource']['spayee:coverVersion'] @>" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
  613. <@ }else { @>
  614. <div class="blurbg lazy" data-bg="https://d502jbuhuh9wk.cloudfront.net/resources/images/defaultCourseCover.png"></div>
  615. <img alt="<@- item['spayee:resource']['spayee:title'] @> cover" class="img-responsive centered relative lazy" style="max-height: 100%;" data-src='https://d502jbuhuh9wk.cloudfront.net/resources/images/defaultCourseCover.png'>
  616. <@ } @>
  617.              </div>
  618.              <div class="card-body text-ellipsis"><span style="color:#2f4f4f;"><@- item["spayee:resource"]["spayee:title"] @></span></div>
  619.              <div class="card-footer" style="padding: 0.4rem;">
  620. <span class="text-gray float-left text-ellipsis" style="max-width: calc(100% - 110px);"><@ print(item["spayee:resource"]["spayee:author"]!==undefined?htmlEntities(item["spayee:resource"]["spayee:author"]):"") @></span>
  621. <@ var pdate = item.createdDate.$date; if(item['spayee:resource']['spayee:publishDate'] !== undefined && item['spayee:resource']['spayee:publishDate'] !== '') { pdate = item['spayee:resource']['spayee:publishDate']; } @>
  622. <time class="float-right text-warning"><@ print(formatDate(new Date(pdate))) @></time>
  623.              </div>
  624.            </a>
  625. </div>
  626. </script>
  627. <script type="text/javascript">
  628.  var uuid = function (a) {
  629.  // https://github.com/amplitude/Amplitude-Javascript/blob/master/src/uuid.js
  630.  return a // if the placeholder was passed, return
  631.    ? // a random number from 0 to 15
  632.      (
  633.        a ^ // unless b is 8,
  634.        ((Math.random() * // in which case
  635.          16) >> // a random number from
  636.          (a / 4))
  637.      ) // 8 to 11
  638.        .toString(16) // in hexadecimal
  639.    : // or otherwise a concatenated string:
  640.      (
  641.        [1e7] + // 10000000 +
  642.        -1e3 + // -1000 +
  643.        -4e3 + // -4000 +
  644.        -8e3 + // -80000000 +
  645.        -1e11
  646.      ) // -100000000000,
  647.        .replace(
  648.          // replacing
  649.          /[018]/g, // zeroes, ones, and eights with
  650.          uuid, // random hex digits
  651.        );
  652.  };
  653.  (function(e,t){var n=e.amplitude||{_q:[],_iq:{}};var r=t.createElement("script")
  654.  ;r.type="text/javascript"
  655.  ;r.integrity="sha384-tzcaaCH5+KXD4sGaDozev6oElQhsVfbJvdi3//c2YvbY02LrNlbpGdt3Wq4rWonS"
  656.  ;r.crossOrigin="anonymous";r.async=true
  657.  ;r.src="https://cdn.amplitude.com/libs/amplitude-8.5.0-min.gz.js"
  658.  ;r.onload=function(){if(!e.amplitude.runQueuedFunctions){
  659.  console.log("[Amplitude] Error: could not load SDK")}}
  660.  ;var i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)
  661.  ;function s(e,t){e.prototype[t]=function(){
  662.  this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}}
  663.  var o=function(){this._q=[];return this}
  664.  ;var a=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove"]
  665.  ;for(var c=0;c<a.length;c++){s(o,a[c])}n.Identify=o;var u=function(){this._q=[]
  666.  ;return this}
  667.  ;var l=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"]
  668.  ;for(var p=0;p<l.length;p++){s(u,l[p])}n.Revenue=u
  669.  ;var d=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","enableTracking","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","groupIdentify","onInit","logEventWithTimestamp","logEventWithGroups","setSessionId","resetSessionId"]
  670.  ;function v(e){function t(t){e[t]=function(){
  671.  e._q.push([t].concat(Array.prototype.slice.call(arguments,0)))}}
  672.  for(var n=0;n<d.length;n++){t(d[n])}}v(n);n.getInstance=function(e){
  673.  e=(!e||e.length===0?"$default_instance":e).toLowerCase()
  674.  ;if(!Object.prototype.hasOwnProperty.call(n._iq,e)){n._iq[e]={_q:[]};v(n._iq[e])
  675.  }return n._iq[e]};e.amplitude=n})(window,document);
  676.  amplitude.getInstance().init('e56929a4c3888c23e97a7e70e34ccf6c');
  677.  amplitude.getInstance().setUserId(null);
  678.  //amplitude.getInstance().regenerateDeviceId();
  679.  
  680.    var userProperties = {
  681. custom_domain: "www.missionfitindia.com",
  682. org_id: "6268d47c0cf2b698cee43bd4",
  683. default_google_login_enabled: 'false' == 'true',
  684. personalized_google_login_enabled: '709235784336-pmp8jlbb3f8893ecjdbobaj16g9esr03.apps.googleusercontent.com' != '' && 'false' == 'false' ? true : false,
  685. facebook_login_enabled: 'false' == 'true' ? true : false
  686.  };
  687.  amplitude.getInstance().setUserProperties(userProperties);
  688.    
  689. /*     var deviceId = uuid();
  690.  amplitude.getInstance().setDeviceId(deviceId);
  691.  sessionStorage.setItem('amplitudeDeviceId', deviceId); */
  692. </script>
  693. <script type="text/javascript">
  694. window.signupParams = {source: "store", platform: "web", sourceId: null};
  695. var showGraphyFomoFlag = '';
  696. showGraphyFomoFlag = '6268d47c0cf2b698cee43bd4';
  697. </script>
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704. <script type="text/template" id="spcoursecard-2-template">
  705. <div class="column third">
  706. <@ var planName = getCoursePlanName('', item), price = getCoursePrice('', item, '0.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
  707. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
  708. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
  709. <img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
  710. <h4 class="size-21 text-ellipsis"><@- item['spayee:resource']['spayee:title'] @></h4>
  711. <p class="size-16"><@ if(item.rating !== undefined) { @>
  712. <span class="text-gray ratingIcons icon-text">
  713. <@ for(var i=1;i<6;i++) { @>
  714. <@ if(item.rating.avgRating >= i) { @><i class="material-icons text-primary">star</i><@ }else if(item.rating.avgRating > i-1 && item.rating.avgRating < i) { @><i class="material-icons text-primary">star_half</i><@ }else { @>
  715. <i class="material-icons">star_border</i>
  716. <@ } } @></span><span><@ print(formatRating(item['rating']['avgRating'])) @> (<@- item['rating']['total'] @> ratings)</span>
  717. <@ }else { @> <span class="text-gray ratingIcons icon-text">&nbsp;</span> <@ } @></p>
  718. <p class="size-16 text-ellipsis"><@ if(item['spayee:resource']['spayee:courseType'] === 'package') { @><@ print(item["courses-count"]!==undefined?item["courses-count"]:"0") @> Courses<@ }else { @>
  719. <@ print(item["spayee:resource"]["spayee:publisher"]!==undefined?item["spayee:resource"]["spayee:publisher"]:"&nbsp;") @><@ } @></p>
  720. <p class="size-18"><span style="color: rgb(21, 101, 192);"><@ print(getCourseDisplayPrice('₹', '', item, '0.0', '', true)) @></span><br></p>
  721. <div style="margin:1em 0"></div>
  722. </a>
  723. </div>
  724. </script>
  725. <script type="text/template" id="spcoursecard-1-template">
  726. <div class="column third">
  727. <@ var planName = getCoursePlanName('', item), price = getCoursePrice('', item, '0.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
  728. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
  729. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
  730. <img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')">
  731. <h4 class="size-21 text-ellipsis"><@- item['spayee:resource']['spayee:title'] @></h4>
  732. <div class="size-16 text-ellipsis" style="max-height: 3rem;"><@ print(item['spayee:resource']['spayee:shortDescription']!==undefined?item['spayee:resource']['spayee:shortDescription']:"") @></div>
  733.  
  734. <p class="size-18"><span style="color: rgb(21, 101, 192);"><@ print(getCourseDisplayPrice('₹', '', item, '0.0', '', true)) @></span><br></p>
  735. <div style="margin:1em 0"></div>
  736. </a>
  737. </div>
  738. </script>
  739. <script type="text/template" id="spcoursecard-3-template">
  740. <div class="column third">
  741. <@ var planName = getCoursePlanName('', item), price = getCoursePrice('', item, '0.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
  742. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
  743. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
  744. <img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')">
  745. <h4 class="size-21 text-ellipsis"><@- item['spayee:resource']['spayee:title'] @></h4>
  746. <div class="size-16 text-ellipsis" style="max-height: 3rem;"><@ print(item['spayee:resource']['spayee:shortDescription']!==undefined?item['spayee:resource']['spayee:shortDescription']:"") @></div>
  747. <p class="size-16 text-ellipsis"><@ if(item['spayee:resource']['spayee:courseType'] === 'package') { @><@ print(item["courses-count"]!==undefined?item["courses-count"]:"0") @> Courses<@ }else { @>
  748. <@ print(item["spayee:resource"]["spayee:publisher"]!==undefined?item["spayee:resource"]["spayee:publisher"]:"&nbsp;") @><@ } @></p>
  749. <p class="size-18"><span style="color: rgb(21, 101, 192);"><@ print(getCourseDisplayPrice('₹', '', item, '0.0', '', true)) @></span><br></p>
  750. <div style="margin:1em 0"></div>
  751. </a>
  752. </div>
  753. </script>
  754. <script type="text/template" id="spcoursecard-4-template">
  755. <div class="column third text-center" style="padding-left: 1rem; padding-right: 1rem; margin-bottom: 0px;">
  756. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
  757. <@ var planName = getCoursePlanName('', item), price = getCoursePrice('', item, '0.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
  758. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
  759. <img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')">
  760. </a>
  761. <h3 class="size-18 text-center"><b class="text-primary"><@- item['spayee:resource']['spayee:title'] @></b></h3>
  762. <div class="discription"><@ print(item['spayee:resource']['spayee:shortDescription']!==undefined?item['spayee:resource']['spayee:shortDescription']:"") @></div>
  763. <p class="size-18 price text-primary"><@ print(getCourseDisplayPrice('₹', '', item, '0.0', '', true)) @></p>
  764. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" class="buy-btn btn btn-primary" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}'>Buy now<br></a>
  765. </div>
  766. </script>
  767. <script type="text/template" id="spcoursecard-5-template">
  768. <div class="column third" style="padding-left: 1rem; padding-right: 1rem; margin-bottom: 0px;">
  769. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
  770. <@ var planName = getCoursePlanName('', item), price = getCoursePrice('', item, '0.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
  771. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
  772. <img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')">
  773. </a>
  774. <h3 class="sub-heading"><b class="size-18 text-primary"><@- item['spayee:resource']['spayee:title'] @></b></h4>
  775. <p class="size-16 description text-primary"> <@ if(item['spayee:resource']['spayee:courseType'] === 'package') { @><@ print(item["courses-count"]!==undefined?item["courses-count"]:"0") @> Courses<@ }else { @>
  776. Instructor : <@ print(item["spayee:resource"]["spayee:publisher"]!==undefined?item["spayee:resource"]["spayee:publisher"]:"&nbsp;") @><@ } @></p>
  777. <@if(item.rating){@>
  778. <p class="size-16 description text-primary">Rating: &nbsp;
  779. <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
  780. <@if(item.rating){@>
  781. <@if(item.rating.avgRating){@>
  782. <@ if(item.rating.avgRating >= ratingsSize) {@>
  783. <i class="icon ion-android-star text-primary"></i>&nbsp;
  784. <@ } else if(item.rating.avgRating > ratingsSize-1 && item.rating.avgRating < ratingsSize) { @>
  785. <i class="icon ion-android-star-half text-primary"></i>&nbsp;
  786. <@ } @>
  787. <@}@>
  788.   <@}@>
  789. <@}@>
  790. </p>
  791. <@}@>
  792. <p class="size-18 price text-primary">Price : <@ print(getCourseDisplayPrice('₹', '', item, '0.0', '', true)) @></p>
  793. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" class="buy-btn btn btn-primary" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}'>Buy now</a>
  794. </div>
  795. </script>
  796. <script type="text/template" id="spcoursecard-6-template">
  797. <div class="column third">
  798. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
  799. <@ var planName = getCoursePlanName('', item), price = getCoursePrice('', item, '0.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
  800. <@  var itemCategory =  (item['spayee:resource']['spayee:filter1'] !== undefined)? item['spayee:resource']['spayee:filter1'][0]:''@>
  801. <@ if (item['spayee:resource']['spayee:availableForMarket']==="true" ) { @>
  802.   <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="course_card_tapped_checkout" amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', '', item, '0.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable('', item) @>","wallet_coins_enabled_on_school":"<@- true @>","category":"<@- itemCategory @>"}'>
  803. <@ } else { @>
  804.   <a title="<@- item['spayee:resource']['spayee:title'] @>" amplitude-event="course_card_tapped_checkout" amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', '', item, '0.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable('', item) @>","wallet_coins_enabled_on_school":"<@- true @>","category":"<@- itemCategory @>"}'>  
  805.                <@ } @>
  806. <img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')" style="border-radius: 20px; margin-bottom: 0px; width: 100%; height: 190px;object-fit:cover;">
  807. </a>
  808. <h5 style="font-size: 18px; font-weight: 800; line-height: 1.1;" class="text-ellipsis"><@- item['spayee:resource']['spayee:title'] @></h5>
  809. <p class="text-primary" style="word-break: break-all; font-size: 18px; font-weight: 700; line-height: 1.5; margin-top: 0px;"><@ if (item['spayee:resource']['spayee:productVariants']!==undefined && item['spayee:resource']['spayee:productVariants'][0]!==undefined && item['spayee:resource']['spayee:availableForMarket']==="true" ) { @> <@ print(getCourseDisplayPrice('₹', '', item, '0.0', '', false)) @>  <@ } @> </p>
  810.            <@ if (false) { @>
  811.            
  812. <@ var itemCategory =  (item['spayee:resource']['spayee:filter1'] !== undefined)? item['spayee:resource']['spayee:filter1'][0]:'' @>
  813. <@ if(isMultiplePlansAvailable('', item) === false) { @>
  814. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="/single-checkout/<@- item['_id'] @>?pid=<@ print(getCoursePid('', item)) @>" class="buy-btn btn btn-primary" amplitude-event="course_buy_now_tapped_checkout" amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', '', item, '0.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable('', item) @>","wallet_coins_enabled_on_school":"<@- true @>","category":"<@- itemCategory @>"}' style="border: none;padding: 16px 61px; font-size: 16px; letter-spacing: 0.08px; line-height: 16px; font-weight: 600; text-decoration: none; display: block; text-align: center;">
  815. Buy now
  816. </a>
  817. <@ } else { @>
  818.  
  819. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" class="buy-btn btn btn-primary" amplitude-event="course_buy_now_tapped_checkout" amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', '', item, '0.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable('', item) @>","wallet_coins_enabled_on_school":"<@- true @>","category":"<@- itemCategory @>"}' style="border: none;padding: 16px 61px; font-size: 16px; letter-spacing: 0.08px; line-height: 16px; font-weight: 600; text-decoration: none; display: block; text-align: center;">
  820. Buy now
  821. </a>
  822. <@ } @>
  823. <@ } @>
  824. </div>
  825. </script>
  826. <script type="text/template" id="spcoursecard-7-template">
  827. <div class="column third course-mob-block">
  828. <div class="inner-course-block">
  829. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
  830. <@ var planName = getCoursePlanName('', item), price = getCoursePrice('', item, '0.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
  831. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
  832. <img class="lazy" data-style="width: 100%; height: auto;" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')" >
  833. </a>
  834. <div class="course-price-block">
  835. <p class="text-ellipsis" title="<@- item['spayee:resource']['spayee:title'] @>" style="font-size: 18px; font-weight: 700; line-height: 1.3rem; width: 100%; margin-top: 0px; margin-bottom: 0px; min-height: 47px;">
  836. <@- item['spayee:resource']['spayee:title'] @>
  837. </p>
  838. <p class="text-primary" style="word-break: break-all; font-size: 14px; font-weight: 500; line-height: 1.5; margin-top: 16px; margin-bottom: 0px;">
  839. <@ print(getCourseDisplayPrice('₹', '', item, '0.0', '', false)) @>
  840. </p>
  841. </div>
  842. <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" class="buy-btn btn btn-primary" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="display: inline-block; text-decoration: none; transition: all 0.16s ease 0s; border: none; cursor: pointer; border-radius: 4px; padding: 13px 28px; line-height: 1.5; font-weight: 600; font-size: 14px; letter-spacing: 0.15px; margin-top: 28px;">
  843. Enroll now
  844. </a>
  845. </div>
  846. </div>
  847. </script>
  848. <script type="text/template" id="spcoursecard-8-template">
  849. <div class="row clearfix" style="margin-bottom: 24px; margin-top: 14px;">
  850. <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
  851. <@ var planName = getCoursePlanName('', item), price = getCoursePrice('', item, '0.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
  852.                    <div class="column third center" style="padding-left: 0px; padding-right: 0px;">
  853.                        <img
  854.                            class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')"
  855.                            style="margin-top: 0px; margin-bottom: 0px;"
  856.                        />
  857.                    </div>
  858.                    <div class="column two-third course-block-mob" style="display: flex; flex-direction: column; justify-content: center;">
  859.                        <div class="course-price-block">
  860. <h3 style="color: rgb(255, 255, 255); font-size: 18px; font-weight: 700; line-height: 1.1; margin-bottom: 0px; margin-top: 0px;">
  861. <@- item['spayee:resource']['spayee:title'] @>
  862. </h3>
  863.                         <div class="sortDescription8">
  864.                             <@ print(item['spayee:resource']['spayee:shortDescription']!==undefined?item['spayee:resource']['spayee:shortDescription']:"") @>
  865.                         </div>
  866. </div>
  867.  
  868.                        <a class="buy-btn btn btn-primary" title="<@- item['spayee:resource']['spayee:title'] @>" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" style="width: fit-content; text-align: left; display: inline-block; text-decoration: none; transition: all 0.16s ease 0s; cursor: pointer; background-color: rgb(231, 215, 73); color: rgb(0, 0, 0);border-radius: 0px;padding: 16px 48px;line-height: 16px;font-weight: 700;font-size: 16px;letter-spacing: 0.08px;border-image: initial;">
  869.                            Enroll for <@ print(getCourseDisplayPrice('₹', '', item, '0.0', '', false)) @>
  870.                        </a>
  871. </div>
  872.        </div>
  873. </script>
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881. <!-- Curriculum 1st Template -->
  882. <script type="text/template" id="coursecurr-1-template">
  883.       <table class="table courseContents">
  884.        <thead>
  885.            <tr>
  886.                <td style="width: 50px;"></td>
  887.                <td style="width: 50px;"></td>
  888.                <td></td>
  889.            </tr>
  890.        </thead>
  891.        <tbody>
  892.            <@ $.each(item, function(index, value) { @>
  893.            <tr>
  894.                <td><i class="material-icons courseItemIcon" data-type="<@- value.type @>"></i></td>
  895.                <td colspan="2">
  896.                    <@- value.title @>
  897. <@ if(value.type == 'aiheading') { @>
  898. <small>(coming soon)</small><@ } @>
  899. <@ if(assetInfo && value.type == 'video' && value.duration !== undefined && value.duration > 0) { @>
  900. <small>(<@ print(Math.floor(value.duration)) @>:00)</small><@ } @>
  901. <@ if(assetInfo && value.type == 'pdf' && value.pages !== undefined && value.pages > 0) { @>
  902. <small>(<@- value.pages @> pages)</small>
  903. <@ } @>
  904.                </td>
  905.            </tr>
  906.            <@ if(value.items != undefined) { @> <@ $.each(value['items'], function(index1, value1) { @>
  907.            <tr>
  908.                <td></td>
  909.                <td><i class="material-icons courseItemIcon" data-type="<@- value1.type @>"></i></td>
  910.                <td>
  911.                    <@- value1.title @>
  912. <@ if(assetInfo && value.type == 'video' && value1.duration !== undefined && value1.duration > 0) { @><small>(<@ print(Math.floor(value1.duration)) @>:00)</small><@ } @>
  913. <@ if(assetInfo && value1.type =='pdf' && value1.pages !== undefined && value1.pages > 0) { @><small>(<@- value1.pages @> pages)</small><@ } @>
  914. <@ if(value1.type =='aiheading') { @><small>(coming soon)</small><@ } @>
  915.                </td>
  916.            </tr>
  917.            <@ }); @> <@ } @> <@ }); @>
  918.        </tbody>
  919.    </table>
  920. </script>
  921.  
  922.  
  923. <!-- Curriculum 2nd Template -->
  924. <script type="text/template" id="coursecurr-2-template">
  925.    <div class="column full curriculum2"  spellcheck="false">
  926.      <div class="course-content1" >
  927.     <p style="font-size: 15px; font-weight: 400; margin-top: 0px;">
  928.     <@if(summary.modules && summary.modules>0){@>
  929.     <@print(summary.modules)@> Modules &nbsp;<i class="icon ion-android-folder-open"></i>&nbsp; &nbsp; <@if(summary.sessions && summary.sessions>0 && curriculumAssetInfo){@>|<@}@>&nbsp; &nbsp;
  930.     <@}@>
  931.     <@if(summary.sessions && summary.sessions>0 && curriculumAssetInfo){@>
  932.     <@print(summary.sessions)@> Sessions <i class="icon ion-android-laptop"></i>&nbsp; &nbsp; <@if(summary.durations && summary.durations>0 && curriculumAssetInfo){@>|<@}@>&nbsp; &nbsp;
  933.     <@}@>
  934.     <@if(summary.durations && summary.durations>0 && curriculumAssetInfo){@>
  935.     <@print(millisecondsToHHMMSSStr(summary.durations))@> Total Time&nbsp;&nbsp;<i class="icon ion-ios-clock-outline"></i>
  936.     <@}@>
  937.     </p>
  938.      </div>
  939.  
  940.  
  941.     <@ $.each(item, function(index, value) { @>
  942.     <div class="course-course-content-box" >
  943.     <div class="course-content-blue-title <@if(value && value.contents){@> bg-primary <@}else if($('#'+id).closest('div.is-section').hasClass("is-bg-grey")){@>bg-white<@}else{@>is-bg-grey<@}@>" >
  944.              <span class="title-icon">
  945.     <span class="material-icons <@if(value && !value.contents){@> text-primary <@}@>"><@ print(getCourseAssetIcon(value.type))@></span>
  946.      </span>
  947.     <div class="titl5b" >
  948.     <h3 class="<@if(value && !value.contents){@> text-primary <@}@>">
  949.     <@print(value.title)@> <@ if(curriculumAssetInfo && value.type == 'pdf' && value.pages !== undefined && value.pages > 0) { @><small>(<@- value.pages @> pages)</small><@ } @>
  950.     <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value.id)){@>
  951.     <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,"-"))@>-<@- courseId @>#<@print(value.id)@>" class="previewBtn"><span class="<@if(value && !value.contents){@> text-primary <@}@>">Preview</span></a>
  952.     <@}@>
  953.     </h3>
  954.       <p class="<@if(value && !value.contents){@> text-primary <@}@>"><@if(value && value.contents && curriculumAssetInfo){@>
  955.     Sessions: <@print(value.contents)@>
  956.     <@}@>
  957.     <@if(value.moduleDurations && curriculumAssetInfo){@><@if(value && value.contents){@>|<@}@>
  958.     Time: <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
  959.     <@}@>
  960.     <@if(value && value.contents>0){@><span class="material-icons">expand_more</span><@}@>  </p>
  961.     </div>
  962.     </div>
  963.    <@if(value && value.items){@>
  964.     <@ $.each(value['items'], function(index1, value1) { @>
  965.     <div class="course-content-body <@if(index==0){@>showing<@ }@>" >
  966.     <div class="desc1 " >
  967.     <div class="is-box-9" >
  968.     <div class="boxa1" >
  969.     <span class="material-icons text-primary"><@ print(getCourseAssetIcon(value1.type))@></span>
  970.     <p> <@print(value1.title)@> <@ if(curriculumAssetInfo && value1.type == 'pdf' && value1.pages !== undefined && value1.pages > 0) { @><small>(<@- value1.pages @> pages)</small><@ } @>
  971. <@ if(value1.type == 'aiheading') { @><small>(coming soon)</small><@ } @>
  972. </p>
  973.     </div>
  974.     </div>
  975.     <div class="is-box-1" >
  976.     <div class="boxa2" >
  977.     <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
  978.     <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,"-"))@>#<@print(value1.id)@>">
  979. <@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
  980. </a>
  981.     <@}@>
  982.     </div>
  983.     </div>
  984.     <div class="is-box-2" >
  985.     <div class="boxa2" >
  986.     <p class="duration"><@if(value1.duration && curriculumAssetInfo){@><@print(millisecondsToHHMMSSStr(value1.duration))@><@}@></p>
  987.     </div>
  988.     </div>
  989.     </div>
  990.     </div>
  991.     <@ }); @>
  992.    <@}@>
  993.     </div>
  994.      <@ }); @>
  995.  
  996.    </div>
  997. </script>
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003. <!-- Curriculum 3rd Template -->
  1004. <script type="text/template" id="coursecurr-3-template">
  1005.     <div class="column full" spellcheck="false" data-gramm="false">
  1006.        <div class="accordion-syllabus">
  1007. <@ $.each(item, function(index, value) { @>
  1008.            <div class="accordion-syllabus-item">
  1009.                <header class="accordion-syllabus-header">
  1010.                    <h4 class="accordion-syllabus-header__title">
  1011.                        <span class="text-primary">
  1012. <@if(index<9){@>
  1013. 0<@print(index+1)@>
  1014. <@ } else {@>
  1015. <@print(index+1)@>
  1016. <@ } @>
  1017. </span>
  1018.                        <p><@print(value.title)@> <span class="text-primary show-sm" style="font-size: 14px;">
  1019. <@if(value && value.items){@>
  1020. <@ print(value.items.length) @> attachment(s)
  1021. <@}@>
  1022. <@if(value.moduleDurations && curriculumAssetInfo){@>
  1023. <@if(value && value.contents){@> • <@}@>
  1024.     <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
  1025.     <@}@>
  1026. </span></p>
  1027.                    </h4>
  1028.                    <div class="accordion-syllabus-header__info">
  1029.                        <p class="text-primary hide-sm">
  1030. <@if(value && value.items){@>
  1031. <@ print(value.items.length) @> attachment(s)
  1032. <@}@>
  1033. <@if(value.moduleDurations && curriculumAssetInfo){@>
  1034. <@if(value && value.contents){@> • <@}@>
  1035.     <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
  1036.     <@}@>
  1037. </p>
  1038. <@if(value && value.items){@>
  1039.                        <div class="accordion-syllabus-header__icon text-primary">
  1040.                            <i class="fa fa-angle-left" aria-hidden="true"></i>
  1041.                        </div>
  1042. <@}@>
  1043.                    </div>
  1044.                </header>
  1045. <@if(value && value.items){@>
  1046.                <div class="accordion-content" style="">
  1047.                    <div class="accordian-content-block">
  1048.                        <ul class="accordian-list">
  1049. <@ $.each(value['items'], function(index1, value1) { @>
  1050.                            <li class="accordian-list__item">
  1051.                                <div class="accordian-content-card">
  1052.                                    <div class="accordian-content-card__info">
  1053.                                        <div class="accordian-content-card__ico">
  1054. <@ if(value1.type == 'code'){ @>
  1055. <img src="/resources/images/CodeIcon.svg">
  1056. <@ } else { @>
  1057. <span class="material-icons text-primary">
  1058. <@ print(getCourseAssetIcon(value1.type))@>
  1059. </span>
  1060. <@ } @>
  1061. </div>
  1062.                                        <div class="accordian-content-card__title">
  1063. <@print(value1.title)@> <@ if(curriculumAssetInfo && value1.type == 'pdf' && value1.pages !== undefined && value1.pages > 0) { @><small>(<@- value1.pages @> pages)</small><@ } @>
  1064. <@ if(value1.type == 'aiheading') { @><small>(coming soon)</small><@ } @>
  1065. </div>
  1066.                                    </div>
  1067.                                    <div class="accordian-content-card__link">
  1068. <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
  1069.     <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,"-"))@>-<@- courseId @>#<@print(value1.id)@>" class="previewBtn">
  1070. <span class="text-primary">
  1071. <@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @><span style="color:#000"><i class="fa fa-solid fa-arrow-up-right"></i></span>
  1072. </span>
  1073. </a>
  1074.     <@}@>
  1075.                                    </div>
  1076.                                </div>
  1077.                            </li>
  1078.                     <@ }); @>
  1079.                        </ul>
  1080.                    </div>
  1081.                </div>
  1082. <@ } @>
  1083.            </div>
  1084.           <@ }); @>  
  1085.        </div>
  1086.    </div>
  1087. </script>
  1088.  
  1089.  
  1090.  
  1091.  
  1092. <!-- Curriculum 4th Template -->
  1093. <script type="text/template" id="coursecurr-4-template">
  1094.   <div class="column full coursecurr4">
  1095. <@ $.each(item, function(index, value) { @>
  1096. <div class="accordion-syllabus-item">
  1097.    <header class="accordion-syllabus-header" >
  1098.        <h4 class="accordion-syllabus-header__title">
  1099.            <span>
  1100. <@if(index<9){@>0<@print(index+1)@><@ } else {@> <@print(index+1)@> <@ } @>
  1101. </span>
  1102.            <div class="accordion-syllabus-header__title-block" >
  1103.                <p style="font-size: 20px; font-weight: 700;">
  1104. <@print(value.title)@>
  1105. </p>
  1106.                <p class="text-primary" style="font-weight: 500; font-size: 14px; line-height: 150%; margin-top: 10px;">
  1107. <@if(value && value.type == 'aiheading'){@>
  1108. (coming soon)
  1109. <@}@>
  1110. <@if(value && value.items){@>
  1111. <@ print(value.items.length) @> attachment(s)
  1112. <@}@>
  1113. <@if(value.moduleDurations && curriculumAssetInfo){@><@if(value && value.contents){@> • <@}@>
  1114.     <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
  1115.     <@}@>
  1116. </p>
  1117.            </div>
  1118.        </h4>
  1119. <@if(value && value.items){@>
  1120.        <div class="accordion-syllabus-header__info" >
  1121.            <div class="accordion-syllabus-header__icon" >
  1122.                <i class="fa fa-angle-left" aria-hidden="true"></i>
  1123.            </div>
  1124.        </div>
  1125. <@ } @>
  1126.    </header>
  1127. <@if(value && value.items){@>
  1128.    <div class="accordion-content"  style="">
  1129.        <div class="accordian-content-block" >
  1130.            <ul class="accordian-list">
  1131. <@ $.each(value['items'], function(index1, value1) { @>
  1132.                <li class="accordian-list__item">
  1133.                    <div class="accordian-content-card" >
  1134.                        <div class="accordian-content-card__info" >
  1135.                            <div class="accordian-content-card__ico" >
  1136. <@ if(value1.type == 'code'){ @>
  1137. <img src="/resources/images/CodeIcon.svg">
  1138. <@ } else { @>
  1139. <span class="material-icons text-primary">
  1140. <@ print(getCourseAssetIcon(value1.type))@>262
  1141. </span>
  1142. <@ } @>
  1143. </div>
  1144.                            <div class="accordian-content-card__title" >
  1145. <@print(value1.title)@> <@ if(curriculumAssetInfo && value1.type == 'pdf' && value1.pages !== undefined && value1.pages > 0) { @><small>(<@- value1.pages @> pages)</small><@ } @>
  1146. <@ if(value1.type == 'aiheading') { @><small>(coming soon)</small><@ } @>
  1147. </div>
  1148.                        </div>
  1149.                        <div class="accordian-content-card__link" >
  1150. <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
  1151.                            <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,"-"))@>-<@- courseId @>#<@print(value1.id)@>" class="previewBtn">
  1152. <span class="text-primary">
  1153. <@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @> <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right"></i></span>
  1154. </span>
  1155. </a>
  1156. <@ } @>
  1157.                        </div>
  1158.                    </div>
  1159.                </li>
  1160. <@ }); @>
  1161.            </ul>
  1162. </div>
  1163. </div>
  1164. <@ } @>
  1165.  </div>
  1166. <@ }); @>  
  1167. </div>
  1168. </script>
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177. <!-- Feedback Template First -->
  1178. <script type="text/template" id="widget-1-template">
  1179. <div class="column full feedbackContainer feedback1 spectre">
  1180. <@if(msg){@>
  1181. <h4 style="letter-spacing: 2px; text-align: center;"><@print(msg)@></h4>
  1182. <@}else{@>
  1183. <div class="avgratingbox">
  1184.  <div class="flex-row" >
  1185.        <div class="is-box-2" >
  1186.           <p style="color: rgb(247, 247, 247); font-weight: 700!important; font-size: 40px!important; text-align: center; letter-spacing: 3px; padding-bottom: 0px; margin-bottom: 0px; line-height: 1; margin-top: 0px;">
  1187. <@ if(ratings && ratings.avgRating) {@>
  1188. <@ print(parseFloat(ratings.avgRating.toFixed(1))) @>
  1189. <@}else{@>
  1190. 0
  1191. <@}@>
  1192.  </p>
  1193.          <h5 class="ratings1" style="text-align: center; margin-bottom: 0px; margin-top: 0px; line-height: 1;">  
  1194.          <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
  1195. <@if(ratings){@>
  1196. <@ if(ratings.avgRating >= ratingsSize) {@>
  1197. <i class="icon ion-android-star"></i>&nbsp;
  1198. <@ } else if(ratings.avgRating > ratingsSize-1 && ratings.avgRating < ratingsSize) { @>
  1199. <i class="icon ion-android-star-half"></i>&nbsp;
  1200. <@ } else { @>
  1201. <i class="icon ion-android-star-outline"></i>&nbsp;
  1202. <@ } @>
  1203. <@} else {@>
  1204. <i class="icon ion-android-star-outline"></i>&nbsp;
  1205. <@}@>
  1206.  <@}@>
  1207.          </h5>        
  1208.          <p style="margin: 10px 0 0 !important;text-align: center;line-height: 1;font-size: 30px!important;"><i class="fa-light fa-users t-white"></i> </p>
  1209.          <p style="margin-bottom: 10px; margin-top: 0px; font-size: 12px!important; letter-spacing: 1px; font-weight: 500!important; color: rgb(247, 247, 247); text-align: center;">
  1210. Total <@ if(ratings){print(ratings.total) }else{0}@> Reviews
  1211.  </p>
  1212.        </div>
  1213.        <div class="is-box-9">
  1214. <@ for (i = 0; i < 5; i++) {@>
  1215. <div class="box7878">
  1216.            <div style="flex:1;">
  1217. <div class="meter <@print(ratingsPer[(parseInt(i)+1)+'-star'].cls)@> nostripes">
  1218.                   <span style="width: <@print(ratingsPer[(parseInt(i)+1)+'-star'].rates)@>%"></span>
  1219.               </div>
  1220.            </div>
  1221.            <div id="ratingbox">
  1222.              <p class="ratings2" style=" line-height: 1;">  
  1223. <@ for (ratingsSize = 5; ratingsSize >=1; ratingsSize--) {@>
  1224. <@if(ratingsSize>i){@>
  1225. <i class="fa fa-solid fa-star-sharp text-primary"></i>&nbsp;
  1226. <@} else {@>
  1227. <i class="fa fa-solid fa-star-sharp"></i>&nbsp;
  1228. <@}@>
  1229. <@}@>
  1230.               <span class="t-white">
  1231. <@ if(ratings && ratings.ratingsCount){print(ratings.ratingsCount[(parseInt(5)-i)+'-stars'])}else{0} @>
  1232.   </span>
  1233.              </p>
  1234.  
  1235.            </div>
  1236.          </div>
  1237.   <@}@>
  1238.        </div>        
  1239.   </div>
  1240. </div>
  1241. <div class="bg-secondary" style="padding:15px 15px;border-radius:10px;border-top-right-radius: 0;border-top-left-radius: 0;" >
  1242. <p
  1243. style="font-size: 16px!important; font-weight: 500!important; letter-spacing: 1px;" class="text-primary">
  1244. Reviews
  1245. </p>
  1246.  
  1247. <div class="review-box" id="createCustomReview" style="display:none">
  1248. <div class="flex-row">
  1249. <div class="is-box-2 centerbox">
  1250. <div class="spectre">
  1251. <figure data-initial="<@if(typeof SPUSER !== 'undefined'){print(SPUSER.email.substring(0, 1))}else{@>Me<@}@>" class="uppercase avatar avatar-lg figsize" >
  1252. <img src="/s/profile/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ if(typeof SPUSER !== 'undefined'){print(SPUSER.mhash)} @>">
  1253. </figure>
  1254. <@if(typeof SPUSER !== 'undefined'){ @><p class="review-name"><@ print(SPUSER.name) @> </p><@ } @>
  1255. </div>
  1256. </div>
  1257. <div class="is-box-10">
  1258. <textarea rows="3" class="form-input"
  1259. placeholder="Add your review here"></textarea>
  1260. <div class="rating3">
  1261. <p id="rating-stars">
  1262. <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> <i
  1263. class="fa fa-solid fa-star-sharp text-primary rating-star" data-value='<@- ratingsSize @>'></i> <@}@>
  1264. </p>
  1265.  
  1266. <button class="btn btn-primary <@ if(typeof SPUSER !== 'undefined'){ print('createCustomReviewBtn') }else { print('loginBtn') } @>"
  1267. data-reviewData="reviewlist"
  1268. style="padding: 2px 28px; text-transform: uppercase; border-radius: 40px;">Post</button>
  1269. </div>
  1270. </div>
  1271. </div>
  1272. </div>
  1273. <div id="reviewlist">
  1274. <@ $.each(items, function(index, item) { @>
  1275. <div class="review-box reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @>selfreview<@ } @>">
  1276. <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @>
  1277. <a class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
  1278. <@ } @>
  1279. <div class="flex-row">
  1280. <div class="is-box-2 centerbox">
  1281. <div class="spectre">
  1282. <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @>
  1283. <figure data-initial="<@if(typeof SPUSER !== 'undefined'){print(SPUSER.email.substring(0, 1))}else{@>Me<@}@>" class="uppercase avatar avatar-lg figsize" >
  1284. <img src="/s/profile/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ if(typeof SPUSER !== 'undefined'){print(SPUSER.mhash)} @>">
  1285. <@ } else {@>
  1286. <figure data-initial="<@ print(getUserInitial(null, item.userName)) @>" class="uppercase avatar avatar-lg figsize" >
  1287. <img src="/s/profile/<@- item.userId @>/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ item.mhash @>">
  1288. <@ } @>
  1289. </figure>
  1290. <p class="review-name"><@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @><@ print(SPUSER.name) @><@ } else {@> <@ print(item.userName) @><@ } @> </p>
  1291. </div>
  1292. </div>
  1293. <div class="is-box-10">
  1294. <div class="rating4">
  1295. <p>
  1296. <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> <@
  1297. if(item.rating >= ratingsSize) {@>
  1298. <i class="fa fa-solid fa-star-sharp text-primary"></i>
  1299. <@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @>
  1300. <i class="fa fa-solid fa-star-sharp-half text-primary"></i>
  1301. <@ } else { @>
  1302. <i class="fa fa-solid fa-star-sharp"></i>
  1303. <@}@>
  1304. <@ }@>
  1305. </p>
  1306. <p
  1307. style="font-size: 13px!important; color: rgb(174, 170, 170); font-weight: 600!important; margin-top: 4px;">
  1308. <time class="timestamp"
  1309. datetime="<@ print((new Date(item.createdDate.$date)).toISOString()) @>"><@
  1310. print(parseDate(item.createdDate.$date)) @></time>
  1311. </p>
  1312. </div>
  1313. <p  class="reviewTxt"
  1314. style="color: rgb(102, 102, 102); font-weight: 500!important; font-size: 13px!important; margin-bottom: 10px;"><@
  1315. print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @></p>
  1316. <div class="comment-tag">
  1317. <@ if(item.isFeatured) {@><span>Featured Review </span><@ } @><@ if(item.isVerifiedPurchase) {@> <span>Verified Purchase </span><@ } @>
  1318. </div>
  1319. </div>
  1320. </div>
  1321. </div>
  1322. <@ }); @>
  1323. </div>
  1324. <button class="bg-primary loadMoreReviewsBtn reviewLMbtn" data-itemTemplate="feedback-1-item-template" data-reviewData="reviewlist" >Load More Reviews</button>
  1325. </div>
  1326. <@}@>
  1327. </script>
  1328.  
  1329.  
  1330. <script type="text/template" id="feedback-1-item-template">
  1331. <div class="review-box reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @>selfreview<@ } @>"">
  1332. <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @>
  1333. <a class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
  1334. <@ } @>
  1335. <div class="flex-row">
  1336. <div class="is-box-2 centerbox">
  1337. <div class="spectre">
  1338. <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @>
  1339. <figure data-initial="<@if(typeof SPUSER !== 'undefined'){print(SPUSER.email.substring(0, 1))}else{@>Me<@}@>" class="avatar avatar-lg figsize" >
  1340. <img src="/s/profile/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ if(typeof SPUSER !== 'undefined'){print(SPUSER.mhash)} @>">
  1341. <@ } else {@>
  1342. <figure data-initial="<@ print(getUserInitial(null, item.userName)) @>" class="avatar avatar-lg figsize" >
  1343. <img src="/s/profile/<@- item.userId @>/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ item.mhash @>">
  1344. <@ } @>
  1345. </figure>
  1346. <p class="review-name"><@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @><@ print(SPUSER.name) @><@ } else {@> <@ print(item.userName) @><@ } @> </p>
  1347. </div>
  1348. </div>
  1349. <div class="is-box-10">
  1350. <div class="rating4">
  1351. <p>
  1352. <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> <@
  1353. if(item.rating >= ratingsSize) {@>
  1354. <i class="fa fa-solid fa-star-sharp text-primary"></i>
  1355. <@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @>
  1356. <i class="fa fa-solid fa-star-sharp-half text-primary"></i>
  1357. <@ } else { @>
  1358. <i class="fa fa-solid fa-star-sharp-outline"></i>
  1359. <@}@>
  1360. <@ } @>
  1361. </p>
  1362. <p
  1363. style="font-size: 13px!important; color: rgb(174, 170, 170); font-weight: 600!important; margin-top: 4px;">
  1364. <time class="timestamp"
  1365. datetime="<@ print((new Date(item.createdDate.$date)).toISOString()) @>"><@
  1366. print(parseDate(item.createdDate.$date)) @></time>
  1367. </p>
  1368. </div>
  1369. <p  class="reviewTxt"
  1370. style="color: rgb(102, 102, 102); font-weight: 500!important; font-size: 13px!important; margin-bottom: 10px;"><@
  1371. print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @></p>
  1372. <div class="comment-tag">
  1373. <@ if(item.isFeatured) {@><span>Featured Review </span><@ } @><@ if(item.isVerifiedPurchase) {@> <span>Verified Purchase </span><@ } @>
  1374. </div>
  1375. </div>
  1376. </div>
  1377. </div>
  1378. </script>
  1379.  
  1380.  
  1381. <!-- Feedback Template Second -->
  1382. <script type="text/template" id="feedback-2-template">
  1383. <div class="column full feedbackContainer feedback2 spectre <@- total @>" style="padding: 0;">
  1384. <@if(msg){@>
  1385. <h4 style="letter-spacing: 2px; text-align: center;"><@print(msg)@></h4>
  1386. <@}else{@>
  1387. <@ if(total > 0 && ratings && ratings.avgRating) {@>
  1388. <div class="avgratingbox">
  1389. <div class="column third">
  1390.   <div class="is-card avgRatingContainer">
  1391.      <div class="avgRatingInnerContainer">
  1392.         <h3 style="font-weight: 800; font-size: 12px; line-height: 1.3; margin-bottom: 0px;">Customer ratings</h3>
  1393.         <div  style="display: flex; flex-direction: row; align-items: center; justify-content: center;">
  1394.            <i class="icon ion-android-star text-primary" style="font-size: 80px;"></i>
  1395.            <div style="margin-left: 25px;">
  1396.               <span style="display: flex; justify-content: flex-start; align-items: baseline;">
  1397.                  <h3 style="margin-top: 0px; margin-bottom: 0px; font-size: 32px; font-weight: 800; color: var(--themeColor); line-height: 1.3;">
  1398.                     <@ if(ratings && ratings.avgRating) {@>
  1399.                     <@ print(parseFloat(ratings.avgRating.toFixed(1))) @>
  1400.                     <@}else{@>
  1401.                     0
  1402.                     <@}@>
  1403.                  </h3>
  1404.                  <p class="avgRatingReviews">/5</p>
  1405.               </span>
  1406.               <p class="avgRatingReviews">
  1407.                  <@ if(ratings){print(ratings.total) }else{0}@> reviews
  1408.               </p>
  1409.            </div>
  1410.         </div>
  1411.      </div>
  1412.   </div>
  1413. </div>
  1414. </div>
  1415. <@ } @>
  1416. <div id="feedback2Reviewlist" class="reviewslist">
  1417.   <@ $.each(items, function(index, item) { @>
  1418.   <@ var template = _.template($("#feedback-2-item-template").html()); print(template({item: item})) @>
  1419.   <@ }); @>
  1420.   <@}@>
  1421. </div>
  1422. <div class="row clearfix">
  1423.   <div class="column full">
  1424.      <p class="loadMoreReviewsBtn reviewLMbtn text-primary" data-itemTemplate="feedback-2-item-template" data-reviewData="feedback2Reviewlist" style="text-align: right; font-size: 14px; font-weight: 500;cursor: pointer;line-height: 1.5;display: none;">
  1425.         View more
  1426.      </p>
  1427.   </div>
  1428. </div>
  1429. </script>
  1430.  
  1431. <script type="text/template" id="feedback-2-item-template">
  1432. <div class="column third reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @>selfreview<@ } @>">
  1433.      <div class="is-card avgRatingContainer">
  1434.         <div style="text-align: center; display: flex; flex-direction: column; align-items: flex-start;" >
  1435. <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @>
  1436. <a class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
  1437. <@ } @>
  1438.            <p class="reviewTxt" style="font-size: 14px; font-weight: 400; line-height: 1.5; margin-bottom: 25px; margin-top: 0px; min-height: 80px; max-height: 80px; overflow: hidden;">
  1439.   <@ print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @>
  1440.   </p>
  1441. <div class="reviewerName">
  1442.           <p style="font-size: 12px; font-weight: 500; line-height: 1.3;  text-align: left; padding-top: 0px; margin:0px;">
  1443.   <@ print(item.userName) @>
  1444.   </p></div>
  1445. <p style="margin: 0px;">
  1446. <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
  1447. <@ if(item.rating >= ratingsSize) {@>
  1448. <i class="fa fa-solid fa-star-sharp text-primary"></i>
  1449. <@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @>
  1450. <i class="fa fa-solid fa-star-sharp-half text-primary"></i>
  1451. <@ } @>
  1452. <@ }@>
  1453. </p>
  1454.  
  1455.       </div>
  1456.  </div>
  1457.   </div>
  1458. </script>
  1459. <script type="text/template" id="feedback-2-createTemplate">
  1460. <div data-cat="1" class="is-section is-box is-section-20" id="createCustomReview" style="display: none;" data-id="<@- parentId @>">
  1461.  <div class="is-boxes">
  1462.    <div class="is-box-centered">
  1463.      <div class="is-container container" style="max-width: 940px;">
  1464. <div class="review-box review-add-box">
  1465.            <div class="is-container container is-content-800" >
  1466.               <div class="row clearfix" >
  1467.                  <div class="column full" >
  1468.                     <h1 style="text-align: center; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: 0px; color: var(--themeColor); margin-bottom: 44px;">Add a review</h1>
  1469.                  </div>
  1470.               </div>
  1471.               <div class="textarea-cont">
  1472.                  <div class="review-star text-primary" style="display: flex; flex-direction: row; align-items: center; padding-top: 0px; margin-top: 0px;">
  1473. <span id="rating-stars">
  1474.                     <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> <i
  1475.                        class="fa fa-solid fa-star-sharp rating-star" data-value='<@- ratingsSize @>'></i> <@}@>
  1476. </span>
  1477.                  </div>
  1478.                  <textarea class="add-review-textarea" id="reviewText" style="background: transparent;width: 100%; border-width: 0px; padding-right: 28px; padding-bottom: 28px; min-height: 150px; font-size: 14px; font-weight: 500; line-height: 1.5; padding-top: 10px;" placeholder="Add your review here"></textarea>
  1479.                  <@ if(typeof SPUSER !== 'undefined' && SPUSER.name.length > 0) { @>
  1480. <p style="font-weight: 400; font-size: 10px; line-height: 1.3; color: rgba(255, 255, 255, 0.5); margin-top: 0px;"><@ print(SPUSER.name) @></p>
  1481. <@ } @>
  1482.               </div>
  1483.               <div  style="margin-top: 20px; display: flex; justify-content: flex-end;">
  1484.                  <button id="reviewSubmitBtn" class="btn btn-primary <@ if(typeof SPUSER !== 'undefined'){ print('createCustomReviewBtn') }else { print('loginBtn') } @>"
  1485. data-reviewData="feedback2Reviewlist" disabled >Submit</button>
  1486.               </div>
  1487.            </div>
  1488. </div>
  1489. </div>
  1490. </div>
  1491. </div>
  1492. </div>
  1493. </script>
  1494. <div class="spectre">
  1495. <div class="modal" id="reviewModal">
  1496. <a href="javascript:void(0);" class="modal-overlay close"
  1497. aria-label="Close"></a>
  1498. <div class="modal-container">
  1499. <div class="modal-header">
  1500. <a href="javascript:void(0);"
  1501. class="close btn btn-clear float-right" aria-label="Close"></a>
  1502. <div class="modal-title h5">Review</div>
  1503. </div>
  1504. <div class="modal-body" style="max-height: 90vh;padding-top: 0;">
  1505. </div>
  1506. </div>
  1507. </div>
  1508. </div>
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525. <script>
  1526. var created_date = `Created Date`;
  1527. var uname_msg = `Name`;
  1528. var email_msg = `Email`;
  1529. var has_web_token = `Has Web Token`;
  1530. var has_mobile_token = `Has Mobile Token`;
  1531. var actions_msg = `Actions`;
  1532. var delete_user = `Delete User`;
  1533. var create_target_audience = `Create Target Audience`;
  1534. var msg_now = `NOW`;
  1535. var msg_now_2 = `Now`;
  1536. var msg_scheduled = `SCHEDULED`;
  1537. var msg_recurring = `RECURRING`;
  1538. var msg_weeks = `weeks`;
  1539. var msg_months = `month(s)`;
  1540. var msg_days = `days`;
  1541. var notification_screen = `Notification Screen`;
  1542. var coursepackagelandingpage = `Course/Package landing page`;
  1543. var search_course_name = `Search by course/package name`;
  1544. var webinar_landing_page = `Webinar landing page`;
  1545. var search_by_webinar_name = `Search by webinar name`;
  1546. var categorypage = `Category Page`;
  1547. var custompage = `Custom Page`;
  1548. var blogpage = `Blog Page`;
  1549. var customlink = `Custom Link`;
  1550. var homepage_msg = `Homepage`;
  1551. var search_category = `Search category`;
  1552. var search_page_title = `Search by Page title`;
  1553. var search_blog_title = `Search by Blog title`;
  1554. var enter_the_link = `Enter the link`;
  1555. var membership_page = `Membership page`;
  1556. var pick_a_date = `Pick a date`;
  1557. var pick_first_push_date = `Pick a first push date`;
  1558. var every_msg = `Every`;
  1559. var starting_msg = `Starting`;
  1560. var msg_published = `Published`;
  1561. var msg_unpublished = `Unpublished`;
  1562. var msg_customize = `Customize`;
  1563. var msg_edit = `Edit`;
  1564. var msg_featured_image = `Featured Image`;
  1565. var msg_preview = `Preview`;
  1566. var msg_delete = `Delete`;
  1567. var msg_unpublish = `Unpublish`;
  1568. var msg_publish = `Publish  `;
  1569. var msg_question= `questions`;
  1570. var try_new_coding_assignment= `Try new coding assignment`;
  1571. var change_enrollment_date = `Change Enrollment Date`;
  1572. var change_expiry = `Change Expiry`;
  1573. var change_remanining_time = `Change Remaining Time`;
  1574. var remove_from_course = `Remove From Course`;
  1575. var reset_course_progress = `Reset Course Progress`;
  1576. var complete_report = `Complete Report`;
  1577. var msg_progress = `Progress`;
  1578. var timetaken = `Time Taken`;
  1579. var msg_user_details = `User Details`;
  1580. var graphy_platform_fees_note = `Amount after deducting Graphy platform fees. This does not include your payment gateway charges.`;
  1581. var final_price_note = `Final payable price by learners`;
  1582. var save_alert_message = `Save progress before moving forward.`;
  1583. var no_chapter_alert_message = `Please add at least one chapter in the course.`;
  1584. var download_msg = `Download`;
  1585. var revoke_msg = `Revoke`;
  1586. var yes_msg = `Yes`;
  1587. var no_msg = `No`;
  1588. var details_hover = `Details`;
  1589. var hide_notification = `Hide Notification`;
  1590. var notify_learners_hover = `Notify Learners`;
  1591. var search_course_package = `Search Courses to add in this package.`;
  1592. var bulk_delete = `Bulk Delete`;
  1593. var scheduled_msg = `Scheduled`;
  1594. var inprogress_msg = `In Progress`;
  1595. var completed_msg = `Completed`;
  1596. var yes_all_caps = `YES`;
  1597. var no_all_caps = `NO`;
  1598. var discount_msg = `Discount`;
  1599. var max_discount = `Max Discount`;
  1600. var min_cart = `Min Cart`;
  1601. var delete_bookmark = `Delete Bookmark`;
  1602. var view_question = `View question`;
  1603. var msg_free = `Free`;
  1604. var membership_expiration_note = `Membership will be canceled on next billing date.`;
  1605. var msg_active = `Active`;
  1606. var msg_inactive = `Inactive`;
  1607. var delete_hover = `Delete`;
  1608. var view_hover = `View`;
  1609. var coursewise = `Course Wise`;
  1610. var learner_wise = `Learner wise`;
  1611. var segment_wise = `Segment wise`;
  1612. var unregistered_msg = `Unregistered`;
  1613. var target_audience_deleted = `Target Audience Deleted`;
  1614. var courses_msg = `course(s)`;
  1615. var learners_msg = `learner(s)`;
  1616. var unregistered_learners = `Unregistered Learner`;
  1617. var all_learners = `All Learners`;
  1618. var course_wise_learners = `Course wise Learners`;
  1619. var segment_wise_learners = `Segment wise Learners`;
  1620. var with_token = `with token`;
  1621. var segments_msg = `segments`;
  1622. var add_users_msg = `Add Users`;
  1623. var approx_msg = `Approx`;
  1624. var revoke_cancellation_request = `Revoke Cancellation request.`;
  1625. var remove_scheduled_membership_cancellation = `Remove Scheduled Membership Cancellation`;
  1626. var schedule_to_stop_subscription = `Schedule to stop Subscription`;
  1627. var stop_subscription = `Stop subscription`;
  1628. var available_for_review_all_caps = `AVAILABLE FOR REVIEW`;
  1629. var reviewed_all_caps = `REVIEWED`;
  1630. var rejected_all_caps = `REJECTED`;
  1631. var preview_code = `Preview Code`;
  1632. var approve_msg = `Approve`;
  1633. var reject_msg = `Reject`;
  1634. var history_msg = `History`;
  1635. var message_hover= `Message`;
  1636. var remove_msg= `Remove`;
  1637. var enroll_msg= `Enroll`;
  1638. var change_validity= `Change Validity`;
  1639. var learners_selected= `learner(s) selected`;
  1640. var select_all_msg= `Select all`;
  1641. var do_you_want_to_delete_course= `Do you really want to delete this course?`;
  1642. var do_you_want_to_revoke_this_certificate= `Do you really want to revoke this certificate?`;
  1643. var do_you_want_to_revoke_entry= `Do you really want to revoke this entry?`;
  1644. var do_you_want_to_edit_enrollment_date= `Do you really want to edit enrollment date of all learners?`;
  1645. var do_you_want_to_edit_enrollment_date_for_selected= `Do you really want to edit enrollment date of selected learners?`;
  1646. var do_you_want_to_edit_course_validity= `Do you really want to edit course validity of all learners?`;
  1647. var do_you_want_to_edit_course_validity_for_selected= `Do you really want to edit course validity of selected learners?`;
  1648. var do_you_want_to_remove_selected= `Do you really want to remove selected learners?`;
  1649. var do_you_want_to_remove_all= `Do you really want to remove all learners?`;
  1650. var do_you_want_to_create_zip= `Do you really want to create zip for this course?`;
  1651. var do_you_want_to_deactivate= `Do you really want to deactivate?`;
  1652. var successfully_done_alert= `Successfully Done.`;
  1653. var please_select_atleast_1_learner= `Please select atleast 1 learner !`;
  1654. var on_msg= `On`;
  1655. var single_correct_option = `Single Correct Option`;
  1656. var multiple_correct_options = `Multiple Correct Options`;
  1657. var numerical_Fill_in_the_Blank = `Numerical/Fill in the Blank`;
  1658. var match_the_Column = `Match the Column`;
  1659. var subjective = `Subjective`;
  1660. var your_target_audience_appear= `Your target audience user(s) will appear here`;
  1661. var your_upcoming_campaign= `Your upcoming campaign will appear here`;
  1662. var status_msg= `Status`;
  1663. var stop_campaign= `Stop Campaign`;
  1664. var copy_campaign= `Copy Campaign`;
  1665. var platform_fee_tax = `platform fees including taxes`;
  1666. var pg_fees_taxes = `payment gateway fees including taxes`;
  1667. var msg_quiz = `Quiz`;
  1668. var msg_livetest = `Live test`;
  1669. var msg_heading = `Heading`;
  1670. var msg_text = `Text`;
  1671. var msg_form = `Form`;
  1672. var msg_live_class = `Live class`;
  1673. var msg_live_class_rec = `live class recording`;
  1674. var msg_code = `Code`;
  1675. var msg_assignment = `Assignment`;
  1676. var msg_added = `added`;
  1677. var msg_about = `About`;
  1678. var msg_year = `year`;
  1679. var msg_month = `Month`;
  1680. var msg_day = `day`;
  1681. //var msg_hour = `hh`;
  1682. //var msg_minute = `mm`;
  1683. //var msg_seconds = `seconds`;
  1684. var msg_month_l = `month`;
  1685. var msg_day_l = `day`;
  1686. var msg_hour_l = `hour`;
  1687. var msg_minute_l = `minute`;
  1688. var msg_second_l = `second`;
  1689. var mobile_number=`Mobile Number`;
  1690. var status_android =`Status (ANDROID)`;
  1691. var status_ios =`Status (IOS)`;
  1692. var delivery_time=`Delivery Time`;
  1693. var sure_unhide=`Are you sure you want to unhide this course ?`;
  1694. var become_a_partner=`Become a Partner`;
  1695. var failed_msg=`Failed`;
  1696. var sent_msg=`Sent`;
  1697. var pending_msg=`Pending`;
  1698. var running_msg=`Running`;
  1699. var add_pricing_plan = `Add pricing plan`;
  1700. var msg_add = `Add`;
  1701. var of_msg = `of`;
  1702. var items_msg = `items`
  1703. var ago_msg = `ago`
  1704. var items_msg = `items`;
  1705. var january_msg = `January`;
  1706. var february_msg = `February`;
  1707. var march_msg = `March`;
  1708. var april_msg = `April`;
  1709. var may_msg = `May`;
  1710. var june_msg = `June`;
  1711. var july_msg = `July`;
  1712. var august_msg = `August`;
  1713. var september_msg = `September`;
  1714. var october_msg = `October`;
  1715. var november_msg = `November`;
  1716. var december_msg = `December`;
  1717. var sunday_msg = `Sunday`;
  1718. var monday_msg = `Monday`;
  1719. var tuesday_msg = `Tuesday`;
  1720. var wednesday_msg = `Wednesday`;
  1721. var thursday_msg = `Thursday`;
  1722. var friday_msg = `Friday`;
  1723. var saturday_msg = `Saturday`;
  1724. var at_msg = `at`;
  1725. var generate_outline = `Generate outline using AI`;
  1726. var it_take_min = `It may take a min.`;
  1727. var msg_ok = `OK`;
  1728. var edit_pricing_plan = `Edit pricing plan`;
  1729.  
  1730. </script>
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery-2.0.3.min.js"></script>
  1739.  
  1740. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/underscore-min.js?v=1.9.1"></script>
  1741.  
  1742. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery.form.js"></script>
  1743. <script async src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery.noty.packaged.min.js"></script>
  1744. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery-ui.min.js"></script>
  1745. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery.timeago.js"></script>
  1746. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/js-webshim/minified/extras/modernizr-custom.js"></script>
  1747. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery.datetimepicker.js"></script>
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/aes.js"></script>
  1757. <script async src="https://d502jbuhuh9wk.cloudfront.net/resources/js/mode-ecb-min.js"></script>
  1758. <script async src="https://d502jbuhuh9wk.cloudfront.net/resources/js/pad-nopadding-min.js"></script>
  1759.  
  1760. <script src="https://unpkg.com/@popperjs/core@2"></script>
  1761. <script src="https://unpkg.com/tippy.js@6"></script>
  1762.  
  1763. <script type="text/javascript">
  1764. var passwordPolicyRequired = true;
  1765. var checkoutV2 = true;
  1766. var orgLanguageCode = "";
  1767. </script>
  1768.  
  1769. <script src="https://d502jbuhuh9wk.cloudfront.net/staticfiles/resources/scripts/sutils_9f1b202162f5c25d4ad1381727aa7493.js"></script>
  1770.  
  1771.  
  1772.  
  1773.  
  1774. <script type="text/javascript">
  1775. var trialExpired = "false";
  1776. var planCancelled = "false";
  1777. var isFreePlan = false;
  1778. </script>
  1779. <script type="text/javascript" id="dsf239df">
  1780. var ctx = "/s",
  1781. isFirstLogin = "", cjs = CryptoJS;
  1782. var defaultCoreColor = "#5755d9", theme1CoreColor = "#572b7a", theme2CoreColor = "#3f51b5", theme3CoreColor = "#009051",
  1783. theme4CoreColor = "#596439", theme5CoreColor = "#F0591D", theme6CoreColor = "#28a745", theme7CoreColor = "#1bbc9b",
  1784. theme8CoreColor = "#f38f20", apkId = "6231373432363038623137343236303866346565386461356634656538646135", theme9CoreColor = "#c0af01", theme10CoreColor = "#e8d3a4",
  1785. webColor = defaultCoreColor,
  1786. CFCDN = "https://d502jbuhuh9wk.cloudfront.net", mobileNotification = true, webNotification = true,
  1787. iosPlayVideo = false,
  1788. gaType = "ga4";
  1789. $("#dsf239df").remove();
  1790. </script>
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798. <input type="hidden" id="orgCurrencyCode" value="INR" />
  1799.  
  1800.  
  1801.  
  1802. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/detect-private-browsing.js"></script>
  1803. <script type="text/javascript">
  1804. detectPrivateMode(
  1805.        function(is_private) {
  1806.            if(typeof is_private !== 'undefined' && is_private) {
  1807.             $("input[name=privateMode]").val("private");
  1808.            }
  1809.        }
  1810.    );
  1811. </script>
  1812.  
  1813.  
  1814.  
  1815. <script type="text/javascript"
  1816. src="https://d502jbuhuh9wk.cloudfront.net/resources/js/intlTelInput.min.js"></script>
  1817. <script type="text/javascript">
  1818. var ipInfo = localStorage.getItem('ipInfo');
  1819.        if(!ipInfo) {
  1820.         $.get("https://ipinfo.io", function() {}, "jsonp").always(function(resp) {
  1821.         if(resp) {
  1822.         var ipInfoStr = JSON.stringify(resp);
  1823.     var ipInfoField = document.getElementById("ipInfo");
  1824.     var countryCode = (resp.country) ? resp.country : "in";
  1825.        sessionStorage.setItem('countryCode', countryCode);
  1826. if('statusText' in resp) {
  1827.     if((resp['statusText'] !== 'error') && ('ip' in resp)) {
  1828.     localStorage.setItem('ipInfo', ipInfoStr);
  1829.     if(ipInfoField) {
  1830.     ipInfoField.value = ipInfoStr;
  1831.             }
  1832. }
  1833. }
  1834.         else if('ip' in resp) {
  1835.         localStorage.setItem('ipInfo', ipInfoStr);
  1836.         if(ipInfoField) {
  1837.         ipInfoField.value = ipInfoStr;
  1838.         }
  1839.         }
  1840. }
  1841.         })
  1842.        }
  1843.  $("#sphone").intlTelInput({
  1844.      initialCountry: "auto",
  1845.      geoIpLookup: function(callback) {
  1846.     var scountryCode = sessionStorage.getItem('countryCode');
  1847.    
  1848.     if(scountryCode !== null) {
  1849.     callback(scountryCode);
  1850.     }else {
  1851.     $.get("https://ipinfo.io", function() {}, "jsonp").always(function(resp) {
  1852.          var countryCode = (resp && resp.country) ? resp.country : "in";
  1853.          callback(countryCode);
  1854.          sessionStorage.setItem('countryCode', countryCode);
  1855.        });
  1856.     }
  1857.      },
  1858.      preferredCountries: ["in", "us"],
  1859.      separateDialCode: true,
  1860.      utilsScript: "/resources/js/intlUtils.js"
  1861.    });
  1862.  
  1863.  </script>
  1864.  
  1865.  
  1866.  
  1867. <div class="spectre">
  1868.  
  1869.  
  1870. <script type="text/javascript">
  1871. if(top != self) {
  1872.    //iframe
  1873.    $(".toast").remove();
  1874. }
  1875. </script>
  1876. </div>
  1877.  
  1878.  
  1879. <input type="hidden" id="orgCreditAlias"
  1880. value="FIT COINS" />
  1881.  
  1882.  
  1883.  
  1884.  
  1885. <script>
  1886.  
  1887.  
  1888.  
  1889.  
  1890. var orgTaxLabel = "";
  1891.  
  1892.  
  1893.  
  1894. var sessionCountry = "";
  1895.  
  1896. $(document).ready(function() {
  1897. $("input[name='userMobileVerify']").change(function(data){
  1898. var uniqueMobileSwitch = $('#uniqueMobileId');
  1899. if(data.target.value==='true'){
  1900. $('input[name=uniqueMobile]').prop('checked', true)
  1901. $('#uniqueMobileLabelId').show();
  1902. }else{
  1903. $('input[name=uniqueMobile]').prop('checked', false)
  1904. $('#uniqueMobileLabelId').hide();
  1905. }
  1906. });
  1907. });
  1908. localStorage.removeItem('microserviceAuthToken');
  1909.  
  1910.  
  1911.  
  1912. localStorage.removeItem('communityToken');
  1913.  
  1914.  
  1915.  
  1916. localStorage.removeItem('chatRefreshToken');
  1917.  
  1918.  
  1919.  
  1920. localStorage.removeItem('refreshToken');
  1921.  
  1922. </script>
  1923.  
  1924.  
  1925. <!-- amplitude script start -->
  1926.  
  1927.  
  1928.  
  1929. <script type="text/javascript">
  1930.    window.localStorage.removeItem('loginAmplitudeEventSent');
  1931. </script>
  1932.  
  1933.  
  1934. <!-- amplitude script end -->
  1935.  
  1936.  
  1937. <div id="template-container"></div>
  1938. <script src="https://d502jbuhuh9wk.cloudfront.net/staticfiles/resources/scripts/sstore_d735dda154c1d248fc8f70071f8d13f0.js"></script>
  1939. <script type="text/javascript">store.bindEvents();</script>
  1940. <script type="text/javascript">
  1941. window.signupParams = {source: "landing_page", platform: "web", sourceId: null};
  1942. </script>
  1943. <div class="containerBody is-wrapper clearfix" style=""><html>
  1944. <head></head>
  1945. <body>
  1946.  <div data-cat="101" class="is-section is-box is-light-text type-frankruhllibre-lato edge-y-0 is-section-100" id="1673705053444">
  1947.   <div class="is-overlay">
  1948.    <div class="is-overlay-bg lazy" style=" background-position: 90% 0%;" data-bg="https://d502jbuhuh9wk.cloudfront.net/orgData/6268d47c0cf2b698cee43bd4/pages/assets/images/cVKi5img0184.jpg">
  1949.     <div class="is-overlay-color" style="opacity: 0.55; background-color: rgb(255, 255, 255); display: block;"></div>
  1950.    </div>
  1951.   </div>
  1952.   <div class="is-boxes">
  1953.    <div class="is-box-centered is-opacity-85">
  1954.     <div class="is-container container is-content-left edge-x-1" style="max-width: 640px;">
  1955.      <div class="row clearfix">
  1956.      </div>
  1957.      <div class="row clearfix" draggable="false">
  1958.       <div class="column full">
  1959.        <img alt="" data-filename="Blue and Green Modern Gradient Business YouTube Thumbnail.png" draggable="false" class="lazy" data-src="https://d502jbuhuh9wk.cloudfront.net/orgData/6268d47c0cf2b698cee43bd4/pages/assets/images/vtNmAblueandgreenmoderngradientbusinessyoutubethumbnail.png">
  1960.       </div>
  1961.      </div>
  1962.      <div class="row clearfix">
  1963.       <div class="column full" spellcheck="false" style="text-align: left;">
  1964.        <div class="display size-32" style="text-align: left;">
  1965.         <h1 style="line-height: 1.2; text-transform: uppercase; text-align: left;"><span color="#283593"><span style="font-size: 36px; color: rgb(40, 53, 147);">do you want to feel good &amp; look fit without going to the gym Learn how to eat healthy and reverse lifestyle diseases.</span></span></h1>
  1966.        </div>
  1967.        <p style="font-size: 18px; line-height: 1.5; color: rgb(4, 4, 19); text-align: left;"><b style="color: rgb(0, 0, 0);">We are dedicated to helping people transform their lifestyles, reverse chronic conditions, and achieve a disease-free life. Our goal is to provide effective and sustainable solutions that promote overall well-being, vitality, and longevity.</b><br></p>
  1968.       </div>
  1969.      </div>
  1970.      <div class="row clearfix">
  1971.       <div class="column full" spellcheck="false">
  1972.        <span><a href="https://chat.whatsapp.com/IQ6mPMv4fjm2BiEu67z0QX" class="is-btn is-btn-ghost1 is-btn-small" style="background-color: rgb(49, 122, 231); border: none; border-radius: 47px; padding: 16px 61px; font-size: 16px; letter-spacing: 0px; line-height: 16px; font-weight: 600; color: rgb(255, 255, 255);" spellcheck="false" target="_blank" title="">Join our VIP community for Free</a></span>
  1973.       </div>
  1974.      </div>
  1975.      <link href="//fonts.googleapis.com/css?family=Bevan" rel="stylesheet" property="stylesheet" type="text/css">
  1976.     </div>
  1977.    </div>
  1978.   </div>
  1979.  </div>
  1980.  <div data-cat="201" class="is-section is-box is-section-20" id="1673705053445">
  1981.   <div class="is-boxes spcoursecontainer6">
  1982.    <div class="is-box-centered">
  1983.     <div class="is-container container" style="max-width: 1100px;">
  1984.      <div class="row clearfix">
  1985.       <div class="column full" spellcheck="false">
  1986.        <h1 style="text-align: center; letter-spacing: 0px; font-size: 20px; font-weight: 800; line-height: 18px; color: rgb(10, 9, 89); margin-bottom: 15px;"><i class="size-28" style="line-height: 33px;">Helping India to live a disease-free life through our fitness and Nutri programs "Fit India, Strong India!" Join our FREE Fit Body Challenge now!</i><br></h1>
  1987.       </div>
  1988.      </div>
  1989.      <div class="row clearfix">
  1990.       <div class="is-overlay-content sp-content spCourseContainer" data-type="spcoursecard-6" data-module="course1" data-module-desc="Course List" data-dialog-width="300px" data-dialog-height="235px" data-html="%3Cdiv%20id%3D%22XRfRC9i%22%3E%3C%2Fdiv%3E%3Cscript%3EloadSPCourses(%22%22%2C%20%22XRfRC9i%22)%3C%2Fscript%3E" data-settings="%7B%22category%22%3A%20%22%22%7D">
  1991.        <div id="XRfRC9i"></div>
  1992.        <script>loadSPCourses("", "XRfRC9i")</script>
  1993.       </div>
  1994.      </div>
  1995.     </div>
  1996.    </div>
  1997.   </div>
  1998.  </div>
  1999.  <div data-cat="112" class="is-section is-box is-bg-light is-dark-text is-section-20" id="1673705053444">
  2000.   <div class="is-boxes">
  2001.    <div class="is-box-centered">
  2002.     <div class="is-container container" style="max-width: 1100px;">
  2003.      <div class="row clearfix">
  2004.       <div class="column full" data-noedit="">
  2005.        <div class="spacer height-20"></div>
  2006.       </div>
  2007.      </div>
  2008.      <div class="row clearfix">
  2009.       <div class="column full" spellcheck="false">
  2010.        <h1 style="text-align: center; letter-spacing: 0px; font-size: 28px; font-weight: 900; line-height: 1.8; color: rgb(10, 9, 89);">What We Offer For Your Good Health<br></h1>
  2011.       </div>
  2012.      </div>
  2013.      <div class="row clearfix">
  2014.       <div class="column full">
  2015.        <div class="spacer height-40"></div>
  2016.       </div>
  2017.      </div>
  2018.      <div class="row clearfix">
  2019.       <div class="column third" style="margin-bottom: 28px;" spellcheck="false">
  2020.        <div style="background-color: rgb(247, 247, 247); padding: 30px; border-radius: 20px; min-height: 260px;">
  2021.         <div style="margin-bottom: 24px;margin-top: 0px;width: 44px;font-size: 30px;height: 44px;">
  2022.          🍴
  2023.         </div>
  2024.         <h3 style="font-size: 18px; line-height: 21px; margin-top: 0px; margin-bottom: 0px; font-weight: bold; color: rgb(198, 40, 40);">Personalized Meal Plans<br></h3>
  2025.         <p style="font-size: 14px; font-weight: 400; line-height: 24px; margin-top: 8px; margin-bottom: 0px;">We create a meal plan tailored to your specific needs, taking into account your body type, weight loss goals, and food preferences.<br></p>
  2026.        </div>
  2027.       </div>
  2028.       <div class="column third" style="margin-bottom: 28px;" spellcheck="false">
  2029.        <div style="background-color: rgb(247, 247, 247); padding: 30px; border-radius: 20px; min-height: 260px;">
  2030.         <div style="margin-bottom: 24px;margin-top: 0px;width: 44px;font-size: 30px;height: 44px;">
  2031.          <i class="icon ion-ios-bookmarks"></i>
  2032.         </div>
  2033.         <h3 style="font-size: 18px; font-weight: 800; line-height: 21px; margin-top: 0px; margin-bottom: 0px;"><span style="color: rgb(198, 40, 40);">Expert Nutrition Advice</span><br></h3>
  2034.         <p style="font-size: 14px; font-weight: 400; line-height: 24px; margin-top: 8px; margin-bottom: 0px; text-align: left;">Our registered Health Coaches &amp; Nutrition Experts provide expert nutrition advice and support, helping you make healthy food choices and stay on track.</p>
  2035.        </div>
  2036.       </div>
  2037.       <div class="column third" style="margin-bottom: 28px;" spellcheck="false">
  2038.        <div style="background-color: rgb(247, 247, 247); padding: 30px; border-radius: 20px; min-height: 260px;">
  2039.         <div style="margin-bottom: 24px;margin-top: 0px;width: 44px;font-size: 30px;height: 44px;">
  2040.          <i class="icon ion-ios-monitor"></i>
  2041.         </div>
  2042.         <h3 style="font-size: 18px; font-weight: 800; line-height: 21px; margin-top: 0px; margin-bottom: 0px; color: rgb(198, 40, 40);">Live &amp; Recorded Workout from Home</h3>
  2043.         <p style="font-size: 14px; font-weight: 400; line-height: 24px; margin-top: 8px; margin-bottom: 0px; text-align: left;">We have different workout batches according to requirements you can opt for your batch of a live workout session with Us and you can also Follow our Pre-recorded Excercise session of us for the best fitness results. </p>
  2044.        </div>
  2045.       </div>
  2046.      </div>
  2047.      <div class="row clearfix">
  2048.       <div class="column third" style="margin-bottom: 28px;" spellcheck="false">
  2049.        <div style="background-color: rgb(247, 247, 247); padding: 30px; border-radius: 20px; min-height: 260px;">
  2050.         <div style="margin-bottom: 24px;margin-top: 0px;width: 44px;font-size: 30px;height: 44px;">
  2051.          📑
  2052.         </div>
  2053.         <h3 style="font-size: 18px; font-weight: 800; line-height: 21px; margin-top: 0px; margin-bottom: 0px; color: rgb(198, 40, 40);">Daily Learnings ( How to live a Healthy &amp; Medicine-Free Life</h3>
  2054.         <p style="font-size: 14px; font-weight: 400; line-height: 24px; margin-top: 8px; margin-bottom: 0px; text-align: left;">We all want Healthy &amp; medicine free Life but we don't know where to start and what to follow first, we provide Live &amp; recorded detailed information on Nutrition and lifestyle so that we achieve our health and weight loss goals. </p>
  2055.        </div>
  2056.       </div>
  2057.       <div class="column third" style="margin-bottom: 28px;" spellcheck="false">
  2058.        <div style="background-color: rgb(247, 247, 247); padding: 30px; border-radius: 20px; min-height: 260px;">
  2059.         <div style="margin-bottom: 24px;margin-top: 0px;width: 44px;font-size: 30px;height: 44px;">
  2060.          <i class="icon ion-person-stalker"></i>
  2061.         </div>
  2062.         <h3 style="font-size: 18px; font-weight: 800; line-height: 21px; margin-top: 0px; margin-bottom: 0px; color: rgb(198, 40, 40);">Regular Check-Ins</h3>
  2063.         <p style="font-size: 14px; font-weight: 400; line-height: 24px; margin-top: 8px; margin-bottom: 0px; text-align: left;">Our team will check in with you regularly to track your progress, provide additional support, and make any necessary adjustments to your meal plan. </p>
  2064.        </div>
  2065.       </div>
  2066.       <div class="column third" style="margin-bottom: 28px;" spellcheck="false">
  2067.        <div style="background-color: rgb(247, 247, 247); padding: 30px; border-radius: 20px; min-height: 260px;">
  2068.         <div style="margin-bottom: 24px;margin-top: 0px;width: 44px;font-size: 30px;height: 44px;">
  2069.          <i class="icon ion-social-whatsapp"></i>
  2070.         </div>
  2071.         <h3 style="font-size: 18px; font-weight: 800; line-height: 21px; margin-top: 0px; margin-bottom: 0px; color: rgb(198, 40, 40);">Dedicated Nutrition Expert for you with Full Day WhatsApp support:</h3>
  2072.         <p style="font-size: 14px; font-weight: 400; line-height: 24px; margin-top: 8px; margin-bottom: 0px;">Yes, you read that Right. You can have full Day Whatsapp support with your Dedicated Nutrition Expert / Health Coach.</p>
  2073.        </div>
  2074.       </div>
  2075.      </div>
  2076.      <div class="row clearfix">
  2077.       <div class="column third" style="margin-bottom: 28px;" spellcheck="false">
  2078.        <div style="background-color: rgb(247, 247, 247); padding: 30px; border-radius: 20px; min-height: 260px;">
  2079.         <div style="margin-bottom: 24px;margin-top: 0px;width: 44px;font-size: 30px;height: 44px;">
  2080.          <i class="icon ion-chatboxes"></i>
  2081.         </div>
  2082.         <h3 style="font-size: 18px; font-weight: 800; line-height: 21px; margin-top: 0px; margin-bottom: 0px; color: rgb(198, 40, 40);">Online &amp; Mobile App Support :</h3>
  2083.         <p style="font-size: 14px; font-weight: 400; line-height: 24px; margin-top: 8px; margin-bottom: 0px; text-align: left;">You can also download our Moblie app (only for Android Users) Missionfitindia from Play Store &amp; have access to a supportive online community of like-minded individuals, where you can share your progress, ask questions, and find encouragement. </p>
  2084.        </div>
  2085.       </div>
  2086.       <div class="column third" style="margin-bottom: 28px;" spellcheck="false">
  2087.        <div style="background-color: rgb(247, 247, 247); padding: 30px; border-radius: 20px; min-height: 260px;">
  2088.         <div style="margin-bottom: 24px;margin-top: 0px;width: 44px;font-size: 30px;height: 44px;">
  2089.          <i class="icon ion-ios-list"></i>
  2090.         </div>
  2091.         <h3 style="font-size: 18px; font-weight: 800; line-height: 21px; margin-top: 0px; margin-bottom: 0px; color: rgb(198, 40, 40);">Daily Different Workout&nbsp;</h3>
  2092.         <p style="font-size: 14px; font-weight: 400; line-height: 24px; margin-top: 8px; margin-bottom: 0px; text-align: left;">Our team will check in with you regularly to track your progress, provide additional support, and make any necessary adjustments to your meal plan. </p>
  2093.        </div>
  2094.       </div>
  2095.       <div class="column third" style="margin-bottom: 28px;" spellcheck="false">
  2096.        <div style="background-color: rgb(247, 247, 247); padding: 30px; border-radius: 20px; min-height: 260px;">
  2097.         <div style="margin-bottom: 24px;margin-top: 0px;width: 44px;font-size: 30px;height: 44px;">
  2098.          <i class="icon ion-paintbucket"></i>
  2099.         </div>
  2100.         <h3 style="font-size: 18px; font-weight: 800; line-height: 21px; margin-top: 0px; margin-bottom: 0px; color: rgb(198, 40, 40);">Nutrition support :</h3>
  2101.         <p style="font-size: 14px; font-weight: 400; line-height: 24px; margin-top: 8px; margin-bottom: 0px;"> A balanced and healthy diet can help prevent chronic diseases such as heart disease, diabetes, and obesity. It also supports the immune system, helping the body to fight off infections and diseases</p>
  2102.        </div>
  2103.       </div>
  2104.      </div>
  2105.     </div>
  2106.    </div>
  2107.   </div>
  2108.  </div>
  2109.  <div data-cat="52" class="is-section is-box is-bg-light is-dark-text is-section-30" id="1673705053445">
  2110.   <div class="is-boxes">
  2111.    <div class="is-box-centered">
  2112.     <div class="is-container container" style="max-width: 1100px;">
  2113.      <div class="row clearfix" draggable="false">
  2114.       <div class="column full center" style="position: relative;" spellcheck="false" autocomplete="off">
  2115.        <img style="border-radius: 20px; " alt="" draggable="false" data-filename="IMG_0379.JPG" class="lazy" data-src="https://d502jbuhuh9wk.cloudfront.net/orgData/6268d47c0cf2b698cee43bd4/pages/assets/images/eR8izimg0379.jpg">
  2116.        <div class="janedoe_block" style="position: absolute; padding: 20px; bottom: 60px; left: 60px; max-width: 470px; width: 100%; min-height: 230px; border-radius: 20px; overflow: hidden;background-color: rgba(255, 255, 255, 0.5);">
  2117.         <h1 style="font-size: 1.5rem; font-weight: 900; line-height: 1.1; text-align: left; color: rgb(10, 9, 89);">Meet Your Fitness Trainer and Nutrition Coach</h1>
  2118.         <p style="text-align: left; margin-bottom: 0px; font-size: 18px; line-height: 1.5; color: rgb(4, 4, 19); margin-top: 16px;"><b>Khushboo has been in the fitness industry for over a decade, and during this time, she has worked with people from all walks of life. She is passionate about fitness and believes that everyone can achieve their fitness goals with the right guidance and support. Khushboo's approach to fitness is holistic and focuses on a balanced combination of workouts and nutrition. She believes that working out is not just about building muscle or losing weight but also about improving overall health and wellness</b><br></p>
  2119.        </div>
  2120.       </div>
  2121.       <style>
  2122. @media (max-width: 640px) {
  2123. .janedoe_block {
  2124. position: relative !important;
  2125.     top: unset;
  2126. left: unset !important;
  2127. bottom: unset !important;
  2128. width: 100% !important;
  2129. background-color: var(--themeGrayColor)!important;
  2130. max-width: 100% !important;
  2131. overflow: visible;
  2132. }
  2133. }
  2134. </style>
  2135.      </div>
  2136.      <div class="row clearfix">
  2137.       <div class="column full" spellcheck="false">
  2138.        <div class="display">
  2139.         <h1 style="text-align: center;"><i class="size-28">Helping India to live disease-free life through our fitness and Nutri programs "Fit India, Strong India!"</i></h1>
  2140.        </div>
  2141.       </div>
  2142.      </div>
  2143.      <div class="row clearfix" draggable="false">
  2144.       <div class="column full" spellcheck="false">
  2145.        <div class="display">
  2146.         <h1 style="text-align: center;" class="size-48">watch our success stories</h1>
  2147.        </div>
  2148.       </div>
  2149.      </div>
  2150.      <div class="row clearfix">
  2151.       <div class="column full">
  2152.        <div class="embed-responsive embed-responsive-16by9">
  2153.         <iframe width="560" height="315" frameborder="0" allowfullscreen class="lazy" data-src="//www.youtube.com/embed/kfdXtSiaTs4?rel=0"></iframe>
  2154.        </div>
  2155.       </div>
  2156.      </div>
  2157.      <div class="row clearfix">
  2158.       <div class="column full">
  2159.        <div class="embed-responsive embed-responsive-16by9">
  2160.         <iframe width="560" height="315" frameborder="0" allowfullscreen class="lazy" data-src="//www.youtube.com/embed/DckI1rhSqH4?rel=0"></iframe>
  2161.        </div>
  2162.       </div>
  2163.      </div>
  2164.      <div class="row clearfix">
  2165.       <div class="column full">
  2166.        <div class="embed-responsive embed-responsive-16by9">
  2167.         <iframe width="560" height="315" frameborder="0" allowfullscreen class="lazy" data-src="//www.youtube.com/embed/t-Qx3FbROlE?rel=0"></iframe>
  2168.        </div>
  2169.       </div>
  2170.      </div>
  2171.      <div class="row clearfix">
  2172.       <div class="column full">
  2173.        <div class="embed-responsive embed-responsive-16by9">
  2174.         <iframe width="560" height="315" frameborder="0" allowfullscreen class="lazy" data-src="//www.youtube.com/embed/p3xHDdLKAIA?rel=0"></iframe>
  2175.        </div>
  2176.       </div>
  2177.      </div>
  2178.      <div class="row clearfix">
  2179.       <div class="column full">
  2180.        <div class="embed-responsive embed-responsive-16by9">
  2181.         <iframe width="560" height="315" frameborder="0" allowfullscreen class="lazy" data-src="//www.youtube.com/embed/z8y_upkfTY8?rel=0"></iframe>
  2182.        </div>
  2183.       </div>
  2184.      </div>
  2185.      <div class="row clearfix">
  2186.       <div class="column full">
  2187.        <div class="embed-responsive embed-responsive-16by9">
  2188.         <iframe width="560" height="315" frameborder="0" allowfullscreen class="lazy" data-src="//www.youtube.com/embed/yhDaw-erZk8?rel=0"></iframe>
  2189.        </div>
  2190.       </div>
  2191.      </div>
  2192.      <div class="row clearfix">
  2193.       <div class="column full">
  2194.        <div class="embed-responsive embed-responsive-16by9">
  2195.         <iframe width="560" height="315" frameborder="0" allowfullscreen class="lazy" data-src="//www.youtube.com/embed/vtESrEF9OKc?rel=0"></iframe>
  2196.        </div>
  2197.       </div>
  2198.      </div>
  2199.     </div>
  2200.    </div>
  2201.   </div>
  2202.  </div>
  2203.  <!--OTHERS--->
  2204.  <link href="//fonts.googleapis.com/css?family=Bevan" rel="stylesheet" property="stylesheet" type="text/css">
  2205.  <link href="//fonts.googleapis.com/css?family=Bevan" rel="stylesheet" property="stylesheet" type="text/css">
  2206.  <link href="//fonts.googleapis.com/css?family=Bevan" rel="stylesheet" property="stylesheet" type="text/css">
  2207.  <link href="//fonts.googleapis.com/css?family=Bevan" rel="stylesheet" property="stylesheet" type="text/css">
  2208.  <link href="//fonts.googleapis.com/css?family=Bevan" rel="stylesheet" property="stylesheet" type="text/css">
  2209.  <link href="//fonts.googleapis.com/css?family=Bevan" rel="stylesheet" property="stylesheet" type="text/css">
  2210.  <link href="//fonts.googleapis.com/css?family=Bevan" rel="stylesheet" property="stylesheet" type="text/css">
  2211.  <link href="//fonts.googleapis.com/css?family=Bevan" rel="stylesheet" property="stylesheet" type="text/css">
  2212. </body>
  2213. </html></div>
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226. <div style="display: flex !important;align-items:center;justify-content:center;clear:both;width: 100%;flex-direction: column; row-gap:30px; background: #F7F7F7; color: #232228; padding: 80px 10px;">
  2227. <a style="display: flex !important;align-items:center;justify-content:center;text-decoration: none !important;background: #000 !important;color: #fff !important;padding: 12px 20px !important;border-radius: 4px !important;font-size: 14px !important;font-weight: 600 !important;line-height: 20px !important;" href="https://graphy.com/products/create-and-sell-course-online?utm_campaign=anshul8818&utm_source=gc&utm_device=website&gref=anshul8818" target="_blank"><img alt="Launch your Graphy" style="height: 20px; width: 11px; margin-right: 12px;" src="/resources/images/grvector.svg">Launch your Graphy</a>
  2228. <div class="text-center" style="font-size: 12px;font-weight: 400;line-height: 20px;letter-spacing: 0.015em;">100K+ creators trust <a href="https://graphy.com/products/create-and-sell-course-online?utm_campaign=anshul8818&utm_source=gc&utm_device=website&gref=anshul8818" target="_blank" style="color: #000 !important;text-decoration: underline !important;padding: 0 !important;font-size: inherit !important;">Graphy</a> to teach online</div>
  2229. <div style="display: flex !important;align-items:center;justify-content:center;column-gap: 12px;">
  2230. <a href="https://www.facebook.com/Missionfitindiaa" class="fbPage" target="_blank" style="text-decoration: none !important;color:#000 !important;font-size: inherit !important;height:24px;width:24px;border: 1px solid #E5E5E5;display: flex;align-items:center;justify-content:center;"><i class="fa-brands fa-facebook-f" style="font-size: 11px"></i></a>
  2231. <a href="https://www.instagram.com/" class="instaPage" target="_blank" style="text-decoration: none !important;color:#000 !important;font-size: inherit !important;height:24px;width:24px;border: 1px solid #E5E5E5;display: flex;align-items:center;justify-content:center;"><i class="fa-brands fa-instagram" style="font-size: 11px"></i></a>
  2232. <a href="https://www.youtube.com/channel/UCbcDAzPZ1f86ovVkb47CMTA" class="yPage" target="_blank" style="text-decoration: none !important;color:#000 !important;font-size: inherit !important;height:24px;width:24px;border: 1px solid #E5E5E5;display: flex;align-items:center;justify-content:center;" ><i class="fa-brands fa-youtube" style="font-size: 11px"></i></a>
  2233. </div>
  2234. <div style="display: flex !important;align-items:center;justify-content:center;font-size: 14px;font-weight: 500;line-height: 20px;letter-spacing: 0.015em;column-gap: 12px;flex-wrap: wrap;">
  2235. <span>Missionfitindia  <i class="fa-regular fa-copyright"></i> 2024</span> <i class="fa-solid fa-circle" style="font-size: 4px;"></i>
  2236. <a href="/privacypolicy" style="color: #232228 !important; padding: 0 !important;font-size: inherit !important;text-decoration: underline !important">Privacy policy</a>  <i class="fa-solid fa-circle" style="font-size: 4px;"></i>
  2237. <a href="/termsofuse" style="color: #232228 !important;padding: 0 !important;font-size: inherit !important;text-decoration: underline !important">Terms of use</a> <i class="fa-solid fa-circle" style="font-size: 4px;"></i>
  2238. <a href="/contactus" style="color: #232228 !important;padding: 0 !important;font-size: inherit !important;text-decoration: underline !important">Contact us</a> <i class="fa-solid fa-circle" style="font-size: 4px;"></i>
  2239. <a href="/refundpolicy" style="color: #232228 !important;padding: 0 !important;font-size: inherit !important;text-decoration: underline !important">Refund policy</a>
  2240. </div>
  2241. </div>
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250. <script type="text/javascript">
  2251. var coursesList = $("#courseslist, .itemsContainer"), blogsList = $("#blogslist");
  2252. if(coursesList.length > 0 && coursesList.html().replace(/[\s]/g, '') === "") {
  2253. coursesList.addClass("columns").html("<div class='loading loading-lg centered'></div>");
  2254. store.allCourses.init(false, (coursesList.data("limit")===undefined?4:coursesList.data("limit")));
  2255. }
  2256. if(blogsList.length > 0 && blogsList.html().replace(/[\s]/g, '') === "") {
  2257. blogsList.addClass("columns").html("<div class='loading loading-lg centered'></div>");
  2258. var limit = (blogsList.data("limit")===undefined?4:blogsList.data("limit")), packet = {
  2259. url: "/blog/json/get",
  2260. data: {skip: 0, limit: limit},
  2261. success: function(data, params) {
  2262. var template = _.template($("#blogcard-template").html()), html = "", blogs = data.data.blogs.data;
  2263. for(var i=0;i < blogs.length;i++) {
  2264. html = html + template({item: blogs[i]});
  2265. }
  2266. blogsList.html(html);//.find("time.timeago").timeago();
  2267. }
  2268. };
  2269. getData(packet, {});
  2270. }
  2271. </script>
  2272.  
  2273. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/pagebuilder2/box/box.js" type="text/javascript"></script>
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280. <div id="ui-notification-container" class="spectre"></div>
  2281. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery-easing.js"></script>
  2282. <script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery-notification.js"></script>
  2283.  
  2284. <!-- Import and configure the Firebase SDK -->
  2285. <!-- These scripts are made available when the app is served or deployed on Firebase Hosting -->
  2286. <!-- If you do not serve/host your project using Firebase Hosting see https://firebase.google.com/docs/web/setup -->
  2287. <script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
  2288. <script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-messaging.js"></script>
  2289.  
  2290. <script>
  2291.  // Retrieve Firebase Messaging object.
  2292.  var firebaseConfig = {"apiKey":"AIzaSyCQ2wNyeXrIzifB0IKKVCalHXrDk7pg32w","authDomain":"live-stream-chat-efac5.firebaseapp.com","databaseURL":"https://live-stream-chat-efac5.firebaseio.com","projectId":"live-stream-chat-efac5","storageBucket":"live-stream-chat-efac5.appspot.com","messagingSenderId":"158909475587","appId":"1:158909475587:web:93ede0a9feef2b3f"};
  2293.  // Initialize Firebase
  2294.  firebase.initializeApp(firebaseConfig);
  2295.  const messaging = firebase.messaging();
  2296.  // Add the public key generated from the console here.
  2297.  messaging.usePublicVapidKey("BN3BYOmWjo3NAW7if4jCE5cG-yIOXAvmoKB9k53ZssAfgb7Z6ZZ-oAQWFK7j6EqHIG3f-G9QAVKLOIK7Vw3X0_k");
  2298.  
  2299.  // Callback fired if Instance ID token is updated.
  2300.  messaging.onTokenRefresh(function(){
  2301.    messaging.getToken().then(function(refreshedToken){
  2302.      // Indicate that the new Instance ID token has not yet been sent to the
  2303.      // app server.
  2304.      setTokenSentToServer(false);
  2305.      // Send Instance ID token to app server.
  2306.      sendTokenToServer(refreshedToken);
  2307.      // Display new Instance ID token and clear UI of all previous messages.
  2308.      resetUI();
  2309.      // [END_EXCLUDE]
  2310.    })["catch"](function(err){
  2311.      console.log('Unable to retrieve refreshed token ', err);
  2312.      showToken('Unable to retrieve refreshed token ', err);
  2313.      requestPermission();
  2314.    });
  2315.  });
  2316.  
  2317.  // Handle incoming messages. Called when:
  2318.  // - a message is received while the app has focus
  2319.  // - the user clicks on an app notification created by a service worker
  2320.  //   `messaging.setBackgroundMessageHandler` handler.
  2321.  messaging.onMessage(function(payload){
  2322.    console.log('Message received. ', payload);
  2323.    appendMessage(payload);
  2324.  });
  2325.  
  2326.  function resetUI() {
  2327.    clearMessages();
  2328.    $(function(){
  2329.        $("#ui-notification-container").notification();
  2330.    });
  2331.    // Get Instance ID token. Initially this makes a network call, once retrieved
  2332.    // subsequent calls to getToken will return from cache.
  2333.    messaging.getToken().then(function(currentToken) {
  2334.      if (currentToken) {
  2335.        sendTokenToServer(currentToken);
  2336.        updateUIForPushEnabled(currentToken);
  2337.      } else {
  2338.        // Show permission request.
  2339.        console.log('No Instance ID token available. Request permission to generate one.');
  2340.        // Show permission UI.
  2341.        updateUIForPushPermissionRequired();
  2342.        setTokenSentToServer(false);
  2343.      }
  2344.    })["catch"](function(err) {
  2345.      console.log('An error occurred while retrieving token. ', err);
  2346.      showToken('Error retrieving Instance ID token. ', err);
  2347.      setTokenSentToServer(false);
  2348.    });
  2349.    // [END get_token]
  2350.  }
  2351.  
  2352.  function showToken(currentToken) {
  2353.    // Show token in console and UI.
  2354.    console.log(currentToken);
  2355.  }
  2356.  
  2357.  // Send the Instance ID token your application server, so that it can:
  2358.  // - send messages back to this app
  2359.  // - subscribe/unsubscribe the token from topics
  2360.  function sendTokenToServer(currentToken) {
  2361.    if (!isTokenSentToServer()) {
  2362.      console.log('Sending token to server...');
  2363.      var packet = {
  2364.  url : "/public/v1/fcm/token",
  2365.  data: {token: currentToken},
  2366.  success: function(data, params) {
  2367.  console.log("Token successfully sent")
  2368.  setTokenSentToServer(true);
  2369.  setTokenSentToServerUserId(window.userId);
  2370.  }
  2371.  };
  2372.  postData(packet, {});
  2373.    } else {
  2374.      console.log('Token already sent to server so won\'t send it again ' +
  2375.          'unless it changes');
  2376.    }
  2377.  
  2378.  }
  2379.  
  2380.  function isTokenSentToServer() {
  2381.    return window.localStorage.getItem('sentToServer') === '1' && isTokenSentToServerWithUser(window.userId);
  2382.  }
  2383.  
  2384.  function isTokenSentToServerWithUser(userId) {
  2385. return window.localStorage.getItem('sentToServer-user') === userId;
  2386.  }
  2387.  
  2388.  function setTokenSentToServer(sent) {
  2389.    window.localStorage.setItem('sentToServer', sent ? '1' : '0');
  2390.  }
  2391.  
  2392.  function setTokenSentToServerUserId(userId) {
  2393.    window.localStorage.setItem('sentToServer-user', userId);
  2394.  }
  2395.  
  2396.  function requestPermission() {
  2397.    console.log('Requesting permission...');
  2398.    // [START request_permission]
  2399.    Notification.requestPermission().then(function(permission) {
  2400.      if (permission === 'granted') {
  2401.        console.log('Notification permission granted.');
  2402.        resetUI();
  2403.      } else {
  2404.        console.log('Unable to get permission to notify.');
  2405.      }
  2406.    });
  2407.    // [END request_permission]
  2408.  }
  2409.  
  2410.  function deleteToken() {
  2411.    // Delete Instance ID token.
  2412.    // [START delete_token]
  2413.    messaging.getToken().then(function(currentToken){
  2414.      messaging.deleteToken(currentToken).then(function(){
  2415.        console.log('Token deleted.');
  2416.        setTokenSentToServer(false);
  2417.        // Once token is deleted update UI.
  2418.        resetUI();
  2419.      })["catch"](function(err) {
  2420.        console.log('Unable to delete token. ', err);
  2421.      });
  2422.    })["catch"](function(err) {
  2423.      console.log('Error retrieving Instance ID token. ', err);
  2424.      showToken('Error retrieving Instance ID token. ', err);
  2425.    });
  2426.  
  2427.  }
  2428.  
  2429.  // Add a message to the messages element.
  2430.  function appendMessage(payload) {
  2431.  $("#ui-notification-container").notification("create", {
  2432.          title: payload.data.title,
  2433.          content: payload.data.message,
  2434.          customIcon: payload.data.customIcon,
  2435.          customImage: payload.data.customImage,
  2436.          link: payload.data.link
  2437.      },
  2438.      {
  2439.          sticky: true
  2440.      });
  2441.  }
  2442.  
  2443.  // Clear the messages element of all children.
  2444.  function clearMessages() {
  2445.    const messagesElement = document.querySelector('#ui-notification-container');
  2446.    while (messagesElement.hasChildNodes()) {
  2447.      messagesElement.removeChild(messagesElement.lastChild);
  2448.    }
  2449.  }
  2450.  
  2451.  function updateUIForPushEnabled(currentToken) {
  2452.  showToken("Token update ui: " + currentToken);
  2453.  }
  2454.  
  2455.  function updateUIForPushPermissionRequired() {
  2456.    console.warg("Push notification permission is requred")
  2457.  }
  2458.  
  2459.  window.userId = "";
  2460.  resetUI();
  2461.  
  2462.  
  2463. </script>
  2464.  
  2465.  
  2466. <script src="https://d502jbuhuh9wk.cloudfront.net/static/files/lazyload.min.js"></script>
  2467. <script type="text/javascript">
  2468. var lazyLoadInstance = new LazyLoad({
  2469.  unobserve_entered: true,
  2470.  callback_enter: function(element) {
  2471.  resizeCdnImage(element);
  2472.  }
  2473. });
  2474. </script>
  2475. </body>
  2476. </html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda