{"version":3,"file":"component---node-modules-upskillist-gatsby-theme-learner-portal-src-templates-home-page-js-7b1e04a6b54e1b0b273c.js","mappings":";wGAAA,OAOA,WACE,aAEA,IAAIA,EAAS,CAAC,EAAEC,eAEhB,SAASC,IAEP,IADA,IAAIC,EAAU,GACLC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAAMF,UAAUD,GACpB,GAAKG,EAAL,CACA,IAAIC,SAAiBD,EACrB,GAAgB,WAAZC,GAAoC,WAAZA,EAC1BL,EAAQM,KAAKF,QACR,GAAIG,MAAMC,QAAQJ,IACvB,GAAIA,EAAID,OAAQ,CACd,IAAIM,EAAQV,EAAWW,MAAM,KAAMN,GAC/BK,GACFT,EAAQM,KAAKG,EAEjB,OACK,GAAgB,WAAZJ,EAAsB,CAC/B,GAAID,EAAIO,WAAaC,OAAOC,UAAUF,WAAaP,EAAIO,SAASA,WAAWG,SAAS,iBAAkB,CACpGd,EAAQM,KAAKF,EAAIO,YACjB,QACF,CACA,IAAK,IAAII,KAAOX,EACVP,EAAOmB,KAAKZ,EAAKW,IAAQX,EAAIW,IAC/Bf,EAAQM,KAAKS,EAGnB,CArBkB,CAsBpB,CACA,OAAOf,EAAQiB,KAAK,IACtB,CACqCC,EAAOC,SAC1CpB,EAAWqB,QAAUrB,EACrBmB,EAAOC,QAAUpB,QAKhB,KAFwB,EAAF,WACrB,OAAOA,CACR,UAFoB,OAEpB,YAIJ,CA7CD,uFCLIsB,EAA4B,gBAAoB,CAAC,GACtCA,EAAaC,SACfD,EAAaE,SAWnB,SAASC,EAAmBC,EAAQC,GACzC,IAAIC,GAAW,IAAAC,YAAWP,GAC1B,OAAOI,GAAUE,EAASD,IAAkBA,CAC9C,sCCbA,IAAIG,EAA4B,mBAAXC,QAAoD,iBAApBA,OAAOC,SAAwB,SAAUC,GAC5F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAyB,mBAAXF,QAAyBE,EAAIC,cAAgBH,QAAUE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8D,UAAU,kCACb9D,EAAAA,cAAA,OAAK8D,UAAW,8BACd9D,EAAAA,cAAA,KAAG8G,IAAKqI,IACRnP,EAAAA,cAAA,QAAM8G,IAAKsI,GAAa,KACxBpP,EAAAA,cAAA,KAAG8D,UAAU,WAAU,YAEzB9D,EAAAA,cAAA,OAAK8D,UAAU,WACb9D,EAAAA,cAAA,SAAG,kBAOPA,EAAAA,cAACiH,EAAAA,GAAI,CAACC,GAAG,YAAYpD,UAAU,wBAAuB,4BAOxD,q6CCnGH,IAAI+L,EAAiB,yCACjBC,EAAgB,wCAChBC,EAAY,oCACZC,EAAY,oCACZC,EAAW,mCACXC,EAAkB,0CAClBC,EAAc,sCACdC,EAAc,sCACdC,EAAe,uCACfC,EAAY,oCACZC,EAAW,mCACXC,EAAe,uCACfC,EAAU,kCACVC,EAAW,mCACXC,EAAsB,8CAGtBC,EAAY,oCACZC,EAAc,sCACdC,EAAc,sCACdC,EAAa,qCAGbC,EAAU,kCACVC,EAAgB,wCAChBC,EAAiB,yCACjBC,EAAoB,4CACpBC,EAAa,qCACbC,EAAe,uCACfxR,EAAW,mCACXyR,EAAgB,wCAKhBC,EAAgB,wCAChBC,EAAiB,yCACjBC,EAAiB,yCACjBC,EAAgB,wCAChBC,EAAmB,2CACnBC,EAAiB,yCACjBC,EAAe,uCACfC,EAAmB,2CACnBC,EAAa,qCACbC,EAAc,sCACdC,EAAiB,yCACjBC,EAAyB,iDACzBC,EAAgB,wCAChBC,EAAO,+BACPC,EAAa,qCACbC,EAAwB,gDACxB/H,EAAS,iCACTgI,EAAgB,wCAMhBC,EAAe,uCACfC,EAAY,oCAEZC,EAAgB,wCAChBC,EAAmB,2CACnBC,EAAY,oCACZC,EAAgB,wCAChBC,GAAmB,2CACnBC,GAAoB,4CACpBC,GAAe,uCACfC,GAAmB,2CACnBC,GAAe,uCACfC,GAAmB,2CACnBC,GAAmB","sources":["webpack://www.upskillist.com/./node_modules/classnames/index.js","webpack://www.upskillist.com/./node_modules/react-bootstrap/esm/ThemeProvider.js","webpack://www.upskillist.com/./node_modules/react-cookies/build/cookie.js","webpack://www.upskillist.com/./node_modules/react-cookies/node_modules/cookie/index.js","webpack://www.upskillist.com/./node_modules/react-use-web-share/release/index.js","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/types/membership-slug.type.ts","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/types/page-kind.type.ts","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/types/student.type.ts","webpack://www.upskillist.com/./src/@upskillist/gatsby-theme-learner-portal/components/Configuration/ApplicationConfig.tsx","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/Templates/HomePage.js","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/Templates/HomePageComponent.js","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/Templates/SEO.js","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/Templates/Services/UtmService.js","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/Templates/Shared/CourseVideoPreviewHomePage.js","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/Templates/Shared/SocialShare.js","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/Templates/Shared/SubscribeBanner.js","webpack://www.upskillist.com/./node_modules/@upskillist/gatsby-theme-learner-portal/src/Templates/Styles/homepage.module.scss"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n 'use strict';\n\n var hasOwn = {}.hasOwnProperty;\n var nativeCodeString = '[native code]';\n function classNames() {\n var classes = [];\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n var argType = typeof arg;\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg)) {\n if (arg.length) {\n var inner = classNames.apply(null, arg);\n if (inner) {\n classes.push(inner);\n }\n }\n } else if (argType === 'object') {\n if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n classes.push(arg.toString());\n continue;\n }\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n return classes.join(' ');\n }\n if (typeof module !== 'undefined' && module.exports) {\n classNames.default = classNames;\n module.exports = classNames;\n } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n // register as 'classnames', consistent with npm package name\n define('classnames', [], function () {\n return classNames;\n });\n } else {\n window.classNames = classNames;\n }\n})();","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React, { useContext, useMemo } from 'react';\nvar ThemeContext = /*#__PURE__*/React.createContext({});\nvar Consumer = ThemeContext.Consumer,\n Provider = ThemeContext.Provider;\nfunction ThemeProvider(_ref) {\n var prefixes = _ref.prefixes,\n children = _ref.children;\n var copiedPrefixes = useMemo(function () {\n return _extends({}, prefixes);\n }, [prefixes]);\n return /*#__PURE__*/React.createElement(Provider, {\n value: copiedPrefixes\n }, children);\n}\nexport function useBootstrapPrefix(prefix, defaultPrefix) {\n var prefixes = useContext(ThemeContext);\n return prefix || prefixes[defaultPrefix] || defaultPrefix;\n}\nfunction createBootstrapComponent(Component, opts) {\n if (typeof opts === 'string') opts = {\n prefix: opts\n };\n var isClassy = Component.prototype && Component.prototype.isReactComponent; // If it's a functional component make sure we don't break it with a ref\n\n var _opts = opts,\n prefix = _opts.prefix,\n _opts$forwardRefAs = _opts.forwardRefAs,\n forwardRefAs = _opts$forwardRefAs === void 0 ? isClassy ? 'ref' : 'innerRef' : _opts$forwardRefAs;\n var Wrapped = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {\n var props = _extends({}, _ref2);\n props[forwardRefAs] = ref;\n var bsPrefix = useBootstrapPrefix(props.bsPrefix, prefix);\n return /*#__PURE__*/React.createElement(Component, _extends({}, props, {\n bsPrefix: bsPrefix\n }));\n });\n Wrapped.displayName = \"Bootstrap(\" + (Component.displayName || Component.name) + \")\";\n return Wrapped;\n}\nexport { createBootstrapComponent, Consumer as ThemeConsumer };\nexport default ThemeProvider;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\nexports.load = load;\nexports.loadAll = loadAll;\nexports.select = select;\nexports.save = save;\nexports.remove = remove;\nexports.setRawCookie = setRawCookie;\nexports.plugToRequest = plugToRequest;\nvar _cookie = require('cookie');\nvar _cookie2 = _interopRequireDefault(_cookie);\nvar _objectAssign = require('object-assign');\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nvar IS_NODE = typeof document === 'undefined' || typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'test';\nvar _rawCookie = {};\nvar _res = void 0;\nfunction _isResWritable() {\n return _res && !_res.headersSent;\n}\nfunction load(name, doNotParse) {\n var cookies = IS_NODE ? _rawCookie : _cookie2.default.parse(document.cookie);\n var cookieVal = cookies && cookies[name];\n if (typeof doNotParse === 'undefined') {\n doNotParse = !cookieVal || cookieVal[0] !== '{' && cookieVal[0] !== '[';\n }\n if (!doNotParse) {\n try {\n cookieVal = JSON.parse(cookieVal);\n } catch (err) {\n // Not serialized object\n }\n }\n return cookieVal;\n}\nfunction loadAll(doNotParse) {\n var cookies = IS_NODE ? _rawCookie : _cookie2.default.parse(document.cookie);\n var cookieVal = cookies;\n if (typeof doNotParse === 'undefined') {\n doNotParse = !cookieVal || cookieVal[0] !== '{' && cookieVal[0] !== '[';\n }\n if (!doNotParse) {\n try {\n cookieVal = JSON.parse(cookieVal);\n } catch (err) {\n // Not serialized object\n }\n }\n return cookieVal;\n}\nfunction select(regex) {\n var cookies = IS_NODE ? _rawCookie : _cookie2.default.parse(document.cookie);\n if (!cookies) {\n return {};\n }\n if (!regex) {\n return cookies;\n }\n return Object.keys(cookies).reduce(function (accumulator, name) {\n if (!regex.test(name)) {\n return accumulator;\n }\n var newCookie = {};\n newCookie[name] = cookies[name];\n return (0, _objectAssign2.default)({}, accumulator, newCookie);\n }, {});\n}\nfunction save(name, val, opt) {\n _rawCookie[name] = val;\n\n // Allow you to work with cookies as objects.\n if ((typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object') {\n _rawCookie[name] = JSON.stringify(val);\n }\n\n // Cookies only work in the browser\n if (!IS_NODE) {\n document.cookie = _cookie2.default.serialize(name, _rawCookie[name], opt);\n }\n if (_isResWritable() && _res.cookie) {\n _res.cookie(name, val, opt);\n }\n}\nfunction remove(name, opt) {\n delete _rawCookie[name];\n if (typeof opt === 'undefined') {\n opt = {};\n } else if (typeof opt === 'string') {\n // Will be deprecated in future versions\n opt = {\n path: opt\n };\n } else {\n // Prevent mutation of opt below\n opt = (0, _objectAssign2.default)({}, opt);\n }\n if (typeof document !== 'undefined') {\n opt.expires = new Date(1970, 1, 1, 0, 0, 1);\n opt.maxAge = 0;\n document.cookie = _cookie2.default.serialize(name, '', opt);\n }\n if (_isResWritable() && _res.clearCookie) {\n _res.clearCookie(name, opt);\n }\n}\nfunction setRawCookie(rawCookie) {\n if (rawCookie) {\n _rawCookie = _cookie2.default.parse(rawCookie);\n } else {\n _rawCookie = {};\n }\n}\nfunction plugToRequest(req, res) {\n if (req.cookie) {\n _rawCookie = req.cookie;\n } else if (req.cookies) {\n _rawCookie = req.cookies;\n } else if (req.headers && req.headers.cookie) {\n setRawCookie(req.headers.cookie);\n } else {\n _rawCookie = {};\n }\n _res = res;\n return function unplug() {\n _res = null;\n _rawCookie = {};\n };\n}\nexports.default = {\n setRawCookie: setRawCookie,\n load: load,\n loadAll: loadAll,\n select: select,\n save: save,\n remove: remove,\n plugToRequest: plugToRequest\n};","/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\nexports.parse = parse;\nexports.serialize = serialize;\n\n/**\n * Module variables.\n * @private\n */\n\nvar decode = decodeURIComponent;\nvar encode = encodeURIComponent;\nvar pairSplitRegExp = /; */;\n\n/**\n * RegExp to match field-content in RFC 7230 sec 3.2\n *\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n * obs-text = %x80-FF\n */\n\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\n/**\n * Parse a cookie header.\n *\n * Parse the given cookie header string into an object\n * The object has the various cookies as keys(names) => values\n *\n * @param {string} str\n * @param {object} [options]\n * @return {object}\n * @public\n */\n\nfunction parse(str, options) {\n if (typeof str !== 'string') {\n throw new TypeError('argument str must be a string');\n }\n var obj = {};\n var opt = options || {};\n var pairs = str.split(pairSplitRegExp);\n var dec = opt.decode || decode;\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n var eq_idx = pair.indexOf('=');\n\n // skip things that don't look like key=value\n if (eq_idx < 0) {\n continue;\n }\n var key = pair.substr(0, eq_idx).trim();\n var val = pair.substr(++eq_idx, pair.length).trim();\n\n // quoted values\n if ('\"' == val[0]) {\n val = val.slice(1, -1);\n }\n\n // only assign once\n if (undefined == obj[key]) {\n obj[key] = tryDecode(val, dec);\n }\n }\n return obj;\n}\n\n/**\n * Serialize data into a cookie header.\n *\n * Serialize the a name value pair into a cookie string suitable for\n * http headers. An optional options object specified cookie parameters.\n *\n * serialize('foo', 'bar', { httpOnly: true })\n * => \"foo=bar; httpOnly\"\n *\n * @param {string} name\n * @param {string} val\n * @param {object} [options]\n * @return {string}\n * @public\n */\n\nfunction serialize(name, val, options) {\n var opt = options || {};\n var enc = opt.encode || encode;\n if (typeof enc !== 'function') {\n throw new TypeError('option encode is invalid');\n }\n if (!fieldContentRegExp.test(name)) {\n throw new TypeError('argument name is invalid');\n }\n var value = enc(val);\n if (value && !fieldContentRegExp.test(value)) {\n throw new TypeError('argument val is invalid');\n }\n var str = name + '=' + value;\n if (null != opt.maxAge) {\n var maxAge = opt.maxAge - 0;\n if (isNaN(maxAge)) throw new Error('maxAge should be a Number');\n str += '; Max-Age=' + Math.floor(maxAge);\n }\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n str += '; Domain=' + opt.domain;\n }\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n str += '; Path=' + opt.path;\n }\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n str += '; Expires=' + opt.expires.toUTCString();\n }\n if (opt.httpOnly) {\n str += '; HttpOnly';\n }\n if (opt.secure) {\n str += '; Secure';\n }\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n return str;\n}\n\n/**\n * Try decoding a string using a decoding function.\n *\n * @param {string} str\n * @param {function} decode\n * @private\n */\n\nfunction tryDecode(str, decode) {\n try {\n return decode(str);\n } catch (e) {\n return str;\n }\n}","var t = require(\"react\");\nfunction e(t, e) {\n return function (n) {\n var r = function (t) {\n if (t) return t;\n var e = document.querySelector(\"link[rel=canonical]\");\n return e ? e.href : window.location.href;\n }(n.url),\n i = n.title || document.title;\n navigator.share({\n text: n.text,\n title: i,\n url: r\n }).then(t).catch(e);\n };\n}\nmodule.exports = function (n, r) {\n void 0 === n && (n = function () {}), void 0 === r && (r = function () {});\n var i = t.useState(!0),\n o = i[0],\n u = i[1],\n a = t.useState(!1),\n c = a[0],\n f = a[1];\n return t.useEffect(function () {\n navigator.share ? f(!0) : f(!1), u(!1);\n }, [n, r]), {\n loading: o,\n isSupported: c,\n share: e(n, r)\n };\n};","export enum MembershipSlug {\n LIFETIME_UNLIMITED = 'lifetime-unlimited',\n LIFETIME_FACULTY = 'lifetime-faculty',\n LIFETIME_BASIC = 'lifetime-basic',\n LIFETIME_STANDARD = 'lifetime-standard',\n LIFETIME_GIFT = 'lifetime-gift',\n GIFT_PREMIUM = 'gift-premium'\n };\n\nexport enum LifetimeSlug {\n LIFETIME_UNLIMITED = 'lifetime-unlimited',\n LIFETIME_FACULTY = 'lifetime-faculty',\n LIFETIME_BASIC = 'lifetime-basic',\n LIFETIME_STANDARD = 'lifetime-standard',\n LIFETIME_GIFT = 'lifetime-gift',\n };\n","export enum PageKind {\n BROWSE_PAGE = 'BrowseCoursesPage',\n COURSE_INFO_PAGE = 'CourseInfoPage',\n COURSE_REG_DETAILS_PAGE = 'CourseDetailPage',\n WEBINAR_PAGE = 'LessonPage',\n CANCELLATION_FAILURE_PAGE = 'CancellationFailurePage',\n ACCOUNT_INFO_PAGE = 'AccountInfoPage',\n STUDENT_PROFILE_PAGE = 'StudentProfilePage',\n MEMBERSHIP_MANAGEMENT_PAGE = 'MembershipManagementPage',\n SHARED_LEARNING_PAGE = 'SharedLearning',\n PAUSE_PAGE = 'PausePage',\n CANCELLATION_CONFIRMATION_PAGE = 'CancellationConfirmationPage',\n ADD_NEXT_MODULE_PAGE = 'AddNextModulePage',\n ASSESSMENT_FAIL_PAGE = 'AssessmentFailPage',\n ASSESSMENT_PASS_PAGE = 'AssessmentPassPage',\n ASSESSMENT_PAGE = 'AssessmentPage',\n ASSESSMENT_WAIT_PAGE = 'AssessmentWaitPage',\n CERTIFICATE_PAGE = 'CertificatePage',\n LESSONS_PAGE = 'LessonsPage',\n RESOURCES_PAGE = 'ResourcesPage',\n ASSIGNMENTS_PAGE = 'AssignmentsPage',\n REQUEST_HCD_PAGE = 'RequestHCDPage',\n PAST_DUE_SUBSCRIPTION_PAGE = 'PastDueSubscriptionPage',\n REACTIVATION_PAGE = 'ReactivationPage',\n RESUME_SUBSCRIPTION_PAGE = 'ResumeSubscriptionPage',\n COURSE_SCHEDULE_PAGE = 'CourseSchedulePage',\n THANK_YOU_PAGE = 'ThankYouPage',\n TIME_TABLE_PAGE = 'TimeTablePage',\n}\n","/* eslint-disable camelcase */\nexport interface Student {\n type: string;\n id: string;\n attributes: Attributes;\n relationships: Relationships;\n profilePicture:string;\n}\n\nexport interface Attributes {\n name: Name;\n email: string;\n phone: string;\n brand: string;\n migrated: Migrated;\n address: Address;\n timezone: string;\n language_id: string;\n membership: Membership;\n profile: Profile;\n entitlements: Entitlement[];\n segment: any[];\n updated_at: Date;\n created_at: Date;\n}\n\nexport enum Migrated {\n PURGED = 1, // old purged record to allow new one\n IN_RECORD_MIGRATION_IN_PROGRESS = 2, // opted manual transfer\n IN_RECORD_MIGRATED = 3, // opted manual transfer completed\n}\n\nexport interface Address {\n country: string;\n city: string;\n region: string;\n postal: string;\n}\n\nexport interface Entitlement {\n name: string;\n slug: string;\n source: string;\n}\n\nexport interface Membership {\n name: string;\n slug: string;\n status: string;\n start_date: Date;\n end_date: Date;\n attained_on: Date;\n custom_attributes?: CustomAttributes;\n}\n\nexport interface CustomAttributes {\n lt_faculty_slug: string;\n lt_course_slug: string;\n}\nexport interface Name {\n first_name: string;\n last_name: string;\n}\n\nexport interface Profile {\n age: string;\n gender: string;\n goals: string;\n lessons_per_week: number;\n utm_source: string;\n utm_medium: string;\n utm_campaign: string;\n latest_source: string;\n latest_utm_medium: string;\n latest_utm_campaign: string;\n offer_type: string;\n free_trial_days: number;\n course_picked: string;\n industry: string;\n degree: string;\n employment: string;\n predicted_ltv: number;\n partner_identifier?: string;\n sales_rep_id?: string;\n latest_compass_conversation?: string\n}\n\nexport interface Relationships {\n registrations: Registrations;\n studentprofiles: Registrations;\n subscriptions: Registrations;\n}\n\nexport interface Registrations {\n links: Links;\n data: Datum[];\n}\n\nexport interface Datum {\n type: Type;\n id: string;\n}\n\nexport enum Type {\n Registration = 'registration',\n Studentprofile = 'studentprofile',\n}\n\nexport interface Links {\n related: string;\n self: string;\n}\n","import {\n LifetimeSlug, Membership,\n Student, PageKind\n} from '@upskillist/gatsby-theme-learner-portal/src/index';\nimport botpressConfig from '../../data/botpress/webchat/config.json';\n\nexport enum AddonsStatus {\n TOOLKIT = 'paid',\n ECERT = 'paid',\n HCD = 'paid'\n};\nexport enum AddonsStatusForLifetimeUnlimited {\n TOOLKIT='free',\n ECERT='free',\n HCD='paid'\n}\nexport enum AddonsStatusForLifetimeFaculty {\n TOOLKIT='free',\n ECERT='free',\n HCD='paid'\n}\n\nexport enum AddonsStatusForLifetimeBasic {\n TOOLKIT='free',\n ECERT='paid',\n HCD='paid'\n}\n\nexport const TOOLKIT_PAID_COUNTRIES = ['us', 'gb', 'au', 'ca', 'nz'];\n\nexport enum OfferType {\n defaultOfferType = 'CC7',\n skip = 'SKIP',\n skip2 = 'SKIP2',\n skip3 = 'SKIP3',\n skip6 = 'SKIP6',\n prepay70 = 'PREPAY-70',\n prepay75 = 'PREPAY-75',\n prepay80 = 'PREPAY-80',\n prepay90 = 'PREPAY-90',\n prepay = 'PREPAY',\n cc = 'CC',\n cc7 = 'CC7',\n cc14 = 'CC14',\n gift1m = 'GIFT-1M',\n gift3m = 'GIFT-3M',\n gift6m = 'GIFT-6M',\n gift12m = 'GIFT-12M',\n ltbasic = 'LT-BASIC'\n};\n\nexport const getDefaultOfferType = (\n countryCode = '', courseSlug = '', partnerIdentifier = '',\n) => {\n if (['in', 'ng','ph'].includes(countryCode)) {\n return OfferType.skip3;\n }\n return OfferType.defaultOfferType;\n};\n\nexport enum ReferralCode {\n ENABLE = 0,\n};\n\nexport const autoPopupInContentPage = true;\n\nexport const skipPhoneInputFormEligibleCountries = ['in', 'ng', 'ph'];\n\nexport const rebrandDesignEligibleCountries = ['in', 'ca', 'ph', 'za'];\n\nexport const shouldShowCCPage = (offerType: string) => {\n if (offerType.indexOf('GIFT') === 0) {\n return false;\n }\n return true;\n// const eligibleOffers = ['CC', 'SKIP'];\n// return eligibleOffers.includes(offerType);\n};\n\nconst enableTrialInformationPage = true;\n\nexport const shouldShowTrialInfoPage = (\n offerType: string, countryCode: string, courseSlug: string,\n) => {\n if (enableTrialInformationPage) {\n if (['CC', 'CC7', 'CC14', 'SKIP'].includes(offerType)) {\n return true;\n }\n return false;\n }\n return false;\n};\n\nexport const getOfferTrialDays = (offerType: string) => {\n// TODO: Verify\n let offerTrialDays = 28;\n if (offerType === 'GIFT-1M') {\n offerTrialDays = 30;\n } else if (offerType === 'GIFT-3M') {\n offerTrialDays = 90;\n } else if (offerType === 'GIFT-6M') {\n offerTrialDays = 180;\n } else if (offerType === 'GIFT-12M') {\n offerTrialDays = 365;\n } else if (offerType === 'CC7') {\n offerTrialDays = 7;\n } else if (offerType === 'CC14') {\n offerTrialDays = 14;\n } else if (offerType === 'SKIP2') {\n offerTrialDays = 60;\n } else if (offerType === 'SKIP3') {\n offerTrialDays = 90;\n } else if (offerType === 'SKIP6') {\n offerTrialDays = 180;\n }\n return offerTrialDays;\n};\n\nexport const offerCodeMapping = {\n 'JN1M': 'GIFT-1M',\n 'JL3M': 'GIFT-3M',\n 'AU6M': 'GIFT-6M',\n 'SE12M': 'GIFT-12M',\n 'SKIP': 'SKIP',\n 'SKIP2': 'SKIP2',\n 'SKIP3': 'SKIP3',\n 'SKIP6': 'SKIP6',\n 'CC': 'CC',\n 'CC7': 'CC7',\n 'CC14': 'CC14',\n 'PREPAY-70': 'PREPAY-70',\n 'PREPAY-75': 'PREPAY-75',\n 'PREPAY-80': 'PREPAY-80',\n 'PREPAY-90': 'PREPAY-90',\n 'PREPAY': 'PREPAY',\n 'LT-BASIC': 'LT-BASIC',\n 'LT-UNLIMITED': 'LT-UNLIMITED',\n 'LT-ET': 'LT-ET',\n 'LT-EF': 'LT-EF',\n 'LT-NY': 'LT-NY',\n 'LT-NT': 'LT-NT',\n 'LT-NF': 'LT-NF',\n 'OCLT': 'GIFT-LT'\n};\n\nexport const showVideoPreviewOnCoursePage = true;\n\nexport const getPaymentLinkVersionPrefix = (\n data: {partnerIdentifier?: string, country?: string},\n) => {\nif (data.partnerIdentifier === 'tmobile') {\n return '/';\n}\nreturn '/v2/';\n};\n\nexport const getScheduleVersion = (\n {country, membership}: {country?: string, membership?: Membership},\n) => {\n const v2ScheduleCountries: any = ['in', 'za', 'ng'];\n const lifetimeSlugs: any = Object.values(LifetimeSlug);\n if (v2ScheduleCountries.includes(country)) {\n return 'v2';\n } else if (lifetimeSlugs.includes(membership?.slug)) {\n return 'v2';\n }\n return 'v1';\n};\n\nexport const COMPASS_AI_COURSES = [\n 'ai-content-mastery-24', 'cybersecurity-20', 'ai-growth-24', 'midjourney-24',\n 'chatgptpro-24', 'prompt-24', 'psychology-20', 'social-media',\n 'photography-21', 'excel-20', 'project-management', 'graphic-design',\n 'chatgpt-23', 'sound-eng-20', 'share-trading-20', 'leadership-1',\n 'artificial-intel-20', 'financial-planning-20', 'seo-marketing',\n 'smartphone-photo', 'writing-20', 'ecommerce-21', 'python-23',\n 'bookkeeping-20', 'tech-coding-20', 'data-analytics-20', 'start-business',\n];\nexport const COMPASS_AI_ENABLED_PAGES = [\n PageKind.COURSE_REG_DETAILS_PAGE,\n PageKind.LESSONS_PAGE, PageKind.RESOURCES_PAGE, PageKind.ASSIGNMENTS_PAGE,\n PageKind.WEBINAR_PAGE,\n];\nexport const getBotpressConfiguration = (\n {student, pageKind}: { student?: Student | null, pageKind?: PageKind },\n) => {\n if (\n false &&\n student?.attributes.membership.slug === 'premium' &&\n student.attributes.membership.status === 'active' &&\n (COMPASS_AI_ENABLED_PAGES as any).includes(pageKind)\n ) {\n return {\n ...botpressConfig,\n 'user': {\n 'name': [\n student.attributes.name.first_name, student.attributes.name.last_name,\n ].filter((namePart) => namePart).join(' '),\n 'data': {\n 'firstName': student.attributes.name.first_name,\n 'lastName': student.attributes.name.last_name,\n 'student_id': student.id,\n 'first_goal': student.attributes.profile.goals,\n 'first_course': student.attributes.profile.course_picked,\n },\n },\n };\n }\n // internal emails\n if (\n (\n student?.attributes.email.endsWith('@upskillist.com') ||\n student?.attributes.email.endsWith('@mailinator.com')\n ) &&\n (COMPASS_AI_ENABLED_PAGES as any).includes(pageKind)\n ) {\n return {\n ...botpressConfig,\n 'user': {\n 'name': [\n student.attributes.name.first_name, student.attributes.name.last_name,\n ].filter((namePart) => namePart).join(' '),\n 'data': {\n 'firstName': student.attributes.name.first_name,\n 'lastName': student.attributes.name.last_name,\n 'student_id': student.id,\n 'first_goal': student.attributes.profile.goals,\n 'first_course': student.attributes.profile.course_picked,\n },\n },\n };\n }\n return null;\n};\n\nexport const TIMETABLE_INELIGIBLE_COUNTRIES = ['in', 'za'];\nexport const TIMETABLE_INELIGIBLE_DATE_FROM = '2024-01-01';\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {graphql} from 'gatsby';\n// import '../styles/style.main.min.css';\nimport HomePageComponent from '../Templates/HomePageComponent';\nimport {\n data as pageDataJSON,\n} from '../data/homePageData.json';\nimport {getCanonicalPages} from './Shared/Utils';\n\nconst HomePage = ({data}) => {\n const canonicalPages = getCanonicalPages(\n data.brandWebsiteHomepage.url,\n );\n const pageData = {\n ...data,\n ...pageDataJSON,\n canonicalPages,\n };\n const header = pageData.brandWebsiteHeader;\n const footer = pageData.brandWebsiteFooter;\n const homePage = pageData.brandWebsiteHomepage;\n const imageData = pageData.allS3Object;\n return (\n \n );\n};\n\nHomePage.defaultProps = {\n data: {},\n};\n\nHomePage.propTypes = {\n data: PropTypes.object,\n};\nexport default HomePage;\n\nexport const pageQuery = graphql`\n query NonEnglishHomePage($id: String,\n $custom_s3KeyArray: [String]\n ) {\n brandWebsiteHomepage(id: { eq: $id }) {\n url\n id\n locale\n title\n sections{\n pagesection {\n title\n content\n }\n herosection {\n checkmarkpointone\n checkmarkpointtwo\n existinguser\n heading\n logincta\n signupcta\n enterprisecta\n subheading\n description\n }\n courselistblock {\n courselist {\n courseslug\n title\n coursemenuname\n coursecarddescription\n coursepreviewvideo {\n title\n href\n }\n url\n seo {\n description\n }\n graduates\n rating\n }\n enrollnowcta\n moreinfocta\n nexttext\n prevtext\n heading\n graduatestext\n }\n }\n seo{\n title\n description\n image {\n title\n href\n }\n canonicalurls {\n title\n href\n }\n }\n schema\n }\n site {\n siteMetadata {\n title\n siteUrl\n description\n social {\n twitter\n facebook\n instagram\n linkedIn\n }\n }\n }\n allS3Object(filter: {Key: {in: $custom_s3KeyArray}}) {\n nodes {\n Key\n localFile {\n childImageSharp {\n gatsbyImageData\n }\n }\n }\n }\n }\n`;\n","import React, {useEffect, useRef, useState} from 'react';\nimport PropTypes from 'prop-types';\nimport SEO from './SEO';\nimport Helmet from 'react-helmet';\nimport * as styles from './Styles/homepage.module.scss';\nimport Footer from './Shared/Footer';\nimport {Link} from 'gatsby';\nimport {Container} from 'react-bootstrap';\nimport Header from './Shared/Header';\nimport htmr from 'htmr';\nimport '../styles/cookieconsent.min.css';\nimport * as utils from './Shared/Utils';\nimport AssetsService from '../Application/Shared/AssetsService';\nimport UtmService from './Services/UtmService';\nimport loadable from '@loadable/component';\nconst Carousel=loadable(() => import('react-multi-carousel'));\nimport {GatsbyImage, getImage} from 'gatsby-plugin-image';\nimport SubscribeBanner from './Shared/SubscribeBanner';\nimport SocialShare from './Shared/SocialShare';\nimport ReactPlayer from 'react-player';\nimport {showVideoPreviewOnCoursePage} from\n '../components/Configuration/ApplicationConfig';\nimport CourseVideoPreviewHomePage from './Shared/CourseVideoPreviewHomePage';\n// import cookie from 'react-cookies';\n\n/**\n * @param {object} coursePageData\n * @return {object} CoursePage\n */\nfunction HomePageComponent({\n headerContent,\n footerContent,\n homePageData,\n cataloguePageData,\n languageCanonicals,\n siteMetadata,\n imageData,\n}) {\n const locale=homePageData.locale;\n const wideAssetsService = new AssetsService('WEBSITE_WIDE');\n const squareAssetsService = new AssetsService('WEBSITE_SQUARE');\n const [loadComponent, setLoadComponent] = useState(false);\n const signupUrl = ['en', 'en-us', 'en-gb'].includes(locale) ?\n `/signup/` : `/${locale}/signup/`;\n const loginUrl = ['en', 'en-us', 'en-gb', 'en-in'].includes(locale) ?\n `/learner/en/login/` : `/learner/${locale}/login/`;\n const [activeCourse, setActiveCourse] = useState('');\n // const countryCode = cookie.load('geotargetly_country_code');\n\n const [currentPlayingVideo, setCurrentPlayingVideo] = useState(null);\n const trustpilotRef = useRef(null);\n\n const handleScroll = () => {\n if (typeof window !== 'undefined' && window.scrollY > 100) {\n const images = document.getElementsByTagName('img');\n Array.from(images).forEach((img) => {\n if (img.dataset.src && img.src.indexOf(img.dataset.src) <= -1) {\n img.src = img.dataset.src;\n }\n });\n if (!loadComponent) {\n setLoadComponent(true);\n }\n }\n };\n\n useEffect(() => {\n const utmService=new UtmService();\n utmService.init();\n const trackingObj = {\n pageKind: 'WebsiteHomePage',\n locale: homePageData.locale,\n courseSlug: '',\n facultySlug: '',\n };\n utils.trackPageView(trackingObj);\n utils.setCompassAIVisibility(false);\n utils.initializePrices();\n window.addEventListener('scroll', handleScroll);\n initTrustpilot();\n return () => {\n window.removeEventListener('scroll', handleScroll);\n };\n }, []);\n\n const initTrustpilot = () => {\n if (trustpilotRef.current && window.Trustpilot) {\n window.Trustpilot.loadFromElement(trustpilotRef.current, true);\n }\n };\n\n const ButtonGroup = (button) => {\n const {carouselState: {currentSlide,\n totalItems, slidesToShow}} = button;\n const isEndOfList = currentSlide>=totalItems-slidesToShow;\n return (\n
\n

button.previous()}>{button.prevText}

\n

button.next()}>{button.nextText}

\n
\n );\n };\n\n const canonicalList=homePageData.seo.canonicalurls;\n const canonicalUrls=[];\n if (canonicalList) {\n for (let index=0; index\n \n \n \n \n \n \n \n \n \n \n\n
\n
\n
\n {homePageData.sections.map((section, sectionIndex) => {\n let content= '
';\n if (section.pagesection) {\n content=section.pagesection.content;\n }\n if (section.herosection) {\n return (\n
\n {!showVideoPreviewOnCoursePage && }\n \n
\n
\n
\n

{section.herosection.heading}

\n

{section.herosection.subheading}

\n
\n
\n

{section.herosection.description}

\n
\n \n
\n \n {/* {countryCode=='us' ? 'Enroll Now' :\n `${section.herosection.signupcta}`} */}\n {section.herosection.signupcta}\n \n \n {section.herosection.enterprisecta}\n \n
\n
\n {section.herosection.existinguser} \n {section.herosection.logincta}\n
\n
\n
\n \"hero-banner\"\n \"hero-banner\"\n
\n
\n
\n
\n );\n }\n\n if (section.courselistblock) {\n return (\n \n
\n \n
\n
\n

We’ve got

\n
\n

Just the thing for you.

\n \n View all courses\n \n \n
\n
\n
\n {section.courselistblock.courselist\n .filter((course, index) => index < 6)\n .map((course, index) => {\n const previewVideo =\n course.coursepreviewvideo.href;\n const courseId = course.courseslug;\n const signupURL = utils\n .getLocalizedSignupLink(locale, courseId);\n // const courseSignupLinkUS=\n // utils.getLocalizedSignupLinkUS(\n // locale, courseId);\n const courseURL = utils\n .getLocalizedPageLink(locale, course.url);\n const wideImage = wideAssetsService\n .fetchAssetURL(courseId);\n const squareImage = squareAssetsService\n .fetchAssetURL(courseId);\n const currentCourseImageNode =\n imageData.nodes.filter((\n node) => (\n node.Key.includes(courseId)\n ),\n )[0];\n const courseImage = currentCourseImageNode &&\n currentCourseImageNode.localFile &&\n getImage(\n currentCourseImageNode.localFile.\n childImageSharp.gatsbyImageData);\n return (\n
\n
\n {showVideoPreviewOnCoursePage &&\n previewVideo ?\n :\n
\n \n \n \n
}\n
\n
\n
\n \n {course.coursemenuname\n ?.replace(/(.{45})..+/, '$1…')}\n \n \n
\n
\n
\n {course.graduates?.toLocaleString()}\n  \n {section.courselistblock?.\n graduatestext}\n
\n {\n /*
\n {course.rating/10}\n \n
*/}\n
\n
\n
\n {/* Master the skill of image editing &\n take your photos to the next level\n in 4 weeks. */}\n

{course.coursecarddescription}

\n
\n
\n {/* {countryCode=='us'? \n Enroll Now\n : */}\n \n {section.courselistblock.enrollnowcta}\n \n {/* } */}\n \n More info\n \n
\n
\n
\n
\n );\n } )}\n
\n
\n
\n
\n
);\n }\n if (section.reviewslistblock) {\n return (\n \n \n
\n
\n {section.reviewslistblock.heading}\n
\n
\n {loadComponent && }\n className={styles.testimonyBody}>\n {section.reviewslistblock.reviews.map((review, index) => (\n
\n
\n {review.reviewerimage?.title}\n
\n

{review.rating}

\n \n
\n
\n
\n {review.review}
\n
\n ))}\n }\n \n
\n );\n }\n if (section.testimoniallistblock && false) {\n const testimonialList=section.testimoniallistblock.testimoniallist;\n return (\n \n
\n {loadComponent&& } >\n {testimonialList.map((testimonial, testimonialIndex) => (\n
\n
\n

\n {testimonial.testimonialcontent}\n

\n

\n {testimonial.name},\n {testimonial.location}

\n

\n {testimonial.course}

\n
\n
\n {testimonial.isimage?\n {testimonial.testimonialasset.title}/:\n }\n
\n
\n ))}\n }\n
\n
\n );\n }\n if (section.bloglistblock) {\n const blogResponsive = {\n desktop: {\n breakpoint: {max: 3000, min: 1025},\n slidesToSlide: 4,\n items: 4,\n },\n tablet: {\n breakpoint: {max: 1024, min: 768},\n slidesToSlide: 2,\n items: 2,\n },\n mobile: {\n breakpoint: {max: 768, min: 0},\n slidesToSlide: 1,\n items: 1,\n },\n };\n return (\n
\n \n \n \n {section.bloglistblock.heading}\n \n \n \n \n } >\n {section.bloglistblock.featuredblogs.map((blog, index) => (\n \n
\n {blog.featuredimage.title}\n
\n
\n
\n {blog.title}\n
\n
\n
\n {blog.category}\n
\n
\n {blog.publisheddate}\n
\n
\n
\n \n ))}\n \n
\n
\n );\n }\n return (\n {htmr(content)}\n );\n })}\n
\n \n
\n \n
\n
\n
\n
\n\n \n \n );\n}\n\nHomePageComponent.defaultProps = {\n homePageData: {},\n languageCanonicals: {},\n};\n\nHomePageComponent.propTypes = {\n headerContent: PropTypes.object,\n footerContent: PropTypes.object,\n homePageData: PropTypes.object,\n languageCanonicals: PropTypes.object,\n cataloguePageData: PropTypes.object,\n siteMetadata: PropTypes.object,\n imageData: PropTypes.object,\n isHomepage: PropTypes.bool,\n};\n\nexport default HomePageComponent;\n","/**\n * SEO component that queries for data with\n * Gatsby's useStaticQuery React hook\n *\n * See: https://www.gatsbyjs.org/docs/use-static-query/\n */\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport Helmet from 'react-helmet';\n/**\n * Returns an helmet object\n *\n * @param {string} description\n * @param {string} lang\n * @param {string} meta\n * @param {string} title\n * @param {string} image\n * @return {object} Helmet Object\n */\nfunction SEO({\n description,\n locale,\n meta,\n title,\n image,\n canonicalUrls,\n languageCanonicals,\n siteMetadata,\n schemaMarkup,\n}) {\n const siteUrl = siteMetadata.siteUrl;\n if (languageCanonicals && languageCanonicals.edges) {\n if (!canonicalUrls) {\n canonicalUrls=[];\n }\n const edges=languageCanonicals.edges;\n for (let index=0; index\n \n \n \n \n \n \n {schemaMarkup &&\n }\n \n );\n}\n\nSEO.defaultProps = {\n lang: `en`,\n meta: [],\n description: ``,\n};\n\nSEO.propTypes = {\n description: PropTypes.string,\n locale: PropTypes.string,\n meta: PropTypes.arrayOf(PropTypes.object),\n title: PropTypes.string.isRequired,\n image: PropTypes.string,\n canonicalUrls: PropTypes.arrayOf(PropTypes.object),\n languageCanonicals: PropTypes.object,\n siteMetadata: PropTypes.object,\n schemaMarkup: PropTypes.object,\n};\n\nexport default SEO;\n","import cookie from 'react-cookies';\n/**\n *\n *\n * @class UtmService\n */\nclass UtmService {\n /**\n * Creates an instance of UtmService.\n * @memberof UtmService\n */\n constructor() {\n this.domain=process.env.CookieDomain;\n }\n\n\n /**\n *\n *\n * @param {*} name\n * @param {*} value\n * @param {*} expires\n * @param {*} cookieDomain\n * @memberof UtmService\n */\n setCookie(name, value, expires, cookieDomain) {\n const domain=cookieDomain||this.domain;\n const params={\n path: '/',\n domain,\n expires,\n };\n cookie.save(name, value, params);\n }\n\n /**\n *\n *\n * @param {*} e\n * @param {*} r\n * @memberof UtmService\n */\n oneDayCookie(e, r) {\n if (!r) {\n return;\n }\n const o=new Date();\n let t=o.getTime();\n (t+=864e5), o.setTime(t),\n r && (this.setCookie(e, r, o));\n }\n\n /**\n *\n *\n * @param {*} e\n * @param {*} r\n * @return {*}\n * @memberof UtmService\n */\n getParameterByName(e, r) {\n r || (r = window.location.href), (e = e.replace(/[\\[\\]]/g, '\\\\$&'));\n const o = new RegExp('[?&]' + e + '(=([^&#]*)|&|#|$)').exec(r);\n return o ? (o[2] ? decodeURIComponent(o[2].replace(/\\+/g, ' ')) : '') :\n null;\n }\n\n /**\n *\n *\n * @param {*} e\n * @param {*} r\n * @return {*}\n * @memberof UtmService\n */\n getParameterByReferrer(e, r) {\n r || (r = document.referrer), (e = e.replace(/[\\[\\]]/g, '\\\\$&'));\n const o = new RegExp('[?&]' + e + '(=([^&#]*)|&|#|$)').exec(r);\n return o ? (o[2] ? decodeURIComponent(o[2].replace(/\\+/g, ' ')) : '') :\n null;\n }\n\n /**\n *\n *\n * @param {*} e\n * @param {*} r\n * @return {*}\n * @memberof UtmService\n */\n getCode(e, r) {\n r || (r = window.location.href), (e = e.replace(/[\\[\\]]/g, '\\\\$&'));\n const o = new RegExp('[?&]' + e + '(=([^&#]*)|&|#|$)').exec(r);\n return o ? (o[2] ? decodeURIComponent(o[2]) : '') : null;\n }\n\n /**\n *\n *\n * @return {String}\n * @memberof UtmService\n */\n getReferrerHostName() {\n let referrerHostName='';\n try {\n referrerHostName=new URL(document.referrer).hostname;\n } catch (e) {\n };\n return cookie.load('referrer_hostname') || referrerHostName;\n }\n\n /**\n *\n *\n * @memberof UtmService\n */\n init() {\n let utmSource = this.getParameterByName('utm_source');\n let utmMedium = this.getParameterByName('utm_medium');\n let utmCampaign = this.getParameterByName('utm_campaign');\n // this needs to be pushed to signup api, in future\n const utmCreative = this.getParameterByName('utm_creative');\n const utmTerm = this.getParameterByName('utm_term');\n const utmContent = this.getParameterByName('utm_content');\n const offerCode = this.getParameterByName('offer_code');\n const voucherCodeFlag = this.getParameterByName('voucher_code');\n const referrerHostName = this.getReferrerHostName();\n const utmMediumFromCookie = cookie.load('utm_medium');\n if (!utmMedium && !utmMediumFromCookie && referrerHostName &&\n referrerHostName!==window.location.hostname) {\n utmMedium = 'referral';\n utmSource = referrerHostName;\n utmCampaign = '';\n }\n this.oneDayCookie('utm_source', utmSource);\n this.oneDayCookie('utm_medium', utmMedium);\n this.oneDayCookie('utm_campaign', utmCampaign);\n this.oneDayCookie('utm_creative', utmCreative);\n this.oneDayCookie('utm_term', utmTerm);\n this.oneDayCookie('utm_content', utmContent);\n this.oneDayCookie('offer_code', offerCode);\n this.oneDayCookie('voucher_code_flag', voucherCodeFlag);\n this.oneDayCookie('referrer_hostname', referrerHostName);\n }\n}\n\nexport default UtmService;\n","import React, {useState, useRef} from 'react';\nimport PropTypes from 'prop-types';\nimport {GatsbyImage} from 'gatsby-plugin-image';\nimport * as styles from '../Styles/homepage.module.scss';\nimport ReactPlayer from 'react-player';\nimport {navigate} from 'gatsby';\nimport {ctaClickAction} from '../../Application/Shared/TrackActionService';\n\n/**\n *\n * @return {*} CourseVideoPreviewHomePage\n */\nfunction CourseVideoPreviewHomePage({courseImage, previewVideo,\n signupLink, courseSlug, currentPlayingVideo, setCurrentPlayingVideo}) {\n const [showSignupButton, setShowSignupButton] = useState(false);\n const [playing, setPlaying] = useState(true);\n const playerContainerRef = useRef(null);\n\n const loadLessonPreview = () => {\n setCurrentPlayingVideo(courseSlug);\n ctaClickAction({\n 'cta': 'Play Video',\n 'action': 'Course Preview',\n 'pageKind': 'WebsiteHomePage',\n });\n };\n\n const onProgressHandler = (e) => {\n if (e.playedSeconds > 300) {\n setPlaying(false);\n setShowSignupButton(true);\n const reactPlayer =\n playerContainerRef.current.querySelector('.reactPlayer');\n reactPlayer.style.opacity = 0.4;\n reactPlayer.style.pointerEvents = 'none';\n }\n };\n\n const navigateToSignupPage = () => {\n navigate(signupLink);\n ctaClickAction({\n 'cta': 'Continue Watching',\n 'action': 'Signup',\n 'pageKind': 'WebsiteHomePage',\n });\n };\n\n return (\n currentPlayingVideo !== courseSlug ?\n
\n {courseImage && (\n \n )}\n \n \n \n \n \n
:\n courseSlug === currentPlayingVideo && (\n
\n \n {showSignupButton &&\n \n }\n
)\n );\n}\n\nCourseVideoPreviewHomePage.propTypes = {\n courseImage: PropTypes.object,\n previewVideo: PropTypes.string,\n signupLink: PropTypes.string,\n courseSlug: PropTypes.string,\n currentPlayingVideo: PropTypes.any,\n setCurrentPlayingVideo: PropTypes.func,\n};\n\nexport default CourseVideoPreviewHomePage;\n","import React, {useEffect, useState} from 'react';\nimport * as styles from '../Styles/social-share.module.scss';\nimport PropTypes from 'prop-types';\nimport useWebShare from 'react-use-web-share';\nimport {\n FacebookShareButton, TwitterShareButton, RedditShareButton,\n LinkedinShareButton, FacebookIcon, TwitterIcon, LinkedinIcon, RedditIcon,\n}\n from 'react-share';\nimport {ctaClickAction} from '../../Application/Shared/TrackActionService';\n\n\nconst WebsiteShare = ({courseUrl, courseName, coursePagetopSection,\n activeCourse, setActiveCourse}) => {\n const domain = process.env.WebsiteDomain;\n const pageUrl = `${domain}${courseUrl}`;\n const courseTitle = courseName;\n const options = {\n quoteText: `I am doing my course in ${courseTitle} with Upskillist.`,\n hashtagText: '#Upskillist',\n shareType: 'share course',\n courseSlug: 'courseslug',\n };\n\n // social share\n const {isSupported, loading, share} = useWebShare();\n const [showDetail, setShowDetail] = useState(false);\n const handleToggle = (passedCourseName) =>{\n setActiveCourse(passedCourseName);\n if (passedCourseName === activeCourse) {\n setShowDetail((prevState)=> !prevState);\n }\n };\n useEffect(() => {\n if (activeCourse !== courseTitle) {\n setShowDetail(false);\n } else {\n setShowDetail(true);\n }\n }, [activeCourse]);\n\n const shareUrl = pageUrl;\n\n /**\n *\n *\n * @param {any} mediaName\n */\n function socialShare(mediaName) {\n const title = courseName;\n const text =\n `Try the course in ${courseName} with Upskillist. You\n can also build your business, career or hobby with online\n certified courses. Check it out:`;\n const url = pageUrl;\n share({\n title, text, url,\n });\n ctaClickAction({\n 'cta': {mediaName},\n 'action': 'NativeSocialShare',\n 'pageKind': 'WebsiteCoursePage',\n });\n }\n /**\n *\n *\n * @param {any} mediaName\n */\n function onShareWindowClose(mediaName) {\n ctaClickAction({\n 'cta': {mediaName},\n 'action': 'NativeSocialShare',\n 'pageKind': 'WebsiteCoursePage',\n });\n }\n\n return (\n
\n {process.env.showShareInWebsiteCoursePage ===\n 'true' &&\n
\n {!loading && isSupported ? (\n
\n handleToggle(courseTitle)}\n className={styles.shareBtn}>\n {showDetail === false ?\n \"share\" :\n }\n \n {showDetail ?\n
\n {\n socialShare('Facebook');\n handleToggle();\n }\n } />\n {\n socialShare('Twitter');\n handleToggle();\n }\n } />\n {\n socialShare('Linkedin');\n handleToggle();\n }\n } />\n {\n socialShare('Reddit');\n handleToggle();\n }\n } />\n
: ''\n }\n
\n ) : (\n
\n handleToggle(courseTitle)}\n className={styles.shareBtn}\n >\n {showDetail === false ?\n \"share\" :\n }\n \n {showDetail ?\n
\n onShareWindowClose('Facebook')}\n >\n \n \n onShareWindowClose('Twitter')}>\n \n \n onShareWindowClose('Linkedin')}>\n \n \n onShareWindowClose('Reddit')}>\n \n \n
:\n ''\n }\n
\n )}\n
\n }\n {process.env.showShareInWebsiteCoursePage ===\n 'true' &&\n (coursePagetopSection ?\n
\n \n
:\n
\n \n
\n )\n }\n
\n );\n};\nWebsiteShare.propTypes = {\n courseUrl: PropTypes.string,\n courseName: PropTypes.string,\n coursePagetopSection: PropTypes.bool,\n activeCourse: PropTypes.string,\n setActiveCourse: PropTypes.func,\n};\n\nexport default WebsiteShare;\n","import {Link} from 'gatsby';\nimport React, {useEffect, useRef, useState} from 'react';\nimport '../Styles/subscribeBanner.module.scss';\nimport {getMonthlySubscriptionPrice} from './Utils';\n// import cookie from 'react-cookies';\n\nconst SubscribeBanner = () => {\n const priceRef = useRef(null);\n const currencyRef = useRef(null);\n const [showPrices, setShowPrices] = useState(false);\n\n // const countryCode = cookie.load('geotargetly_country_code');\n useEffect(() => {\n const monthlyPrice = getMonthlySubscriptionPrice();\n if (monthlyPrice) {\n if (priceRef?.current && currencyRef?.current) {\n priceRef.current.textContent = monthlyPrice.cur_symbol;\n currencyRef.current.textContent = monthlyPrice.price;\n }\n }\n setTimeout(() => {\n setShowPrices(true);\n }, 300);\n }, []);\n\n return (\n
\n
\n
\n

Actionable skills,

\n

Infinite possibilities.

\n

Unique lessons curated by in-house experts!

\n
\n
\n {/* { showPrices && countryCode && countryCode=='us' ?
\n
\n

What you'll get:

\n
\n
    \n
  • Choose from 80+ courses to learn.
  • \n
  • Get the selected course for life
  • \n
  • Courses range in length up to 32 hours.
  • \n
  • Schedule or watch when you want.
  • \n
  • Industry leading customer support.
  • \n
  • Free Course materials
  • \n
\n\n
\n
\n
\n

\n 250\n\n
\n
\n

\n 89\n

 (One Time)

\n
\n\n
\n
\n \n Enroll Now\n \n
: */}\n
\n
\n

What you'll get:

\n
\n
    \n
  • Choose from 80+ courses to learn.
  • \n
  • Courses range in length up to 32 hours.
  • \n
  • Schedule or watch when you want.
  • \n
  • Industry leading customer support.
  • \n
  • Course materials and \n eCerts available for purchase
  • \n
\n\n
\n
\n

\n  \n

 /month

\n
\n
\n

Try for FREE

\n
\n
\n\n {/*

\n 28 days will be added to your subscription.\n

*/}\n \n Start your free trial\n \n
\n {/* } */}\n
\n
\n
\n );\n};\n\nexport default SubscribeBanner;\n","// extracted by mini-css-extract-plugin\nexport var ViewAllCourses = \"homepage-module--ViewAllCourses--JcQlC\";\nexport var bannerContent = \"homepage-module--bannerContent--wE7x+\";\nexport var bannerCta = \"homepage-module--bannerCta--xKizW\";\nexport var bannerImg = \"homepage-module--bannerImg--2oxSD\";\nexport var blogCard = \"homepage-module--blogCard--Vqmkj\";\nexport var blogCardDetails = \"homepage-module--blogCardDetails--HhbiK\";\nexport var blogCardEnd = \"homepage-module--blogCardEnd--zAJHk\";\nexport var blogCardImg = \"homepage-module--blogCardImg--pUVMC\";\nexport var blogCardText = \"homepage-module--blogCardText--ExmHg\";\nexport var blogCards = \"homepage-module--blogCards--Iu-PR\";\nexport var blogDate = \"homepage-module--blogDate--TfYdw\";\nexport var blueLargeCta = \"homepage-module--blueLargeCta--Rko0B\";\nexport var cardBox = \"homepage-module--cardBox--QoWbT\";\nexport var cardInfo = \"homepage-module--cardInfo--tVqz0\";\nexport var carousalButtongroup = \"homepage-module--carousalButtongroup--7N0CJ\";\nexport var check = \"homepage-module--check--RkEK+\";\nexport var checkInfo = \"homepage-module--checkInfo--mTAj2\";\nexport var container = \"homepage-module--container--Ls-7E\";\nexport var contentHead = \"homepage-module--contentHead--6+Hlh\";\nexport var contentInfo = \"homepage-module--contentInfo--SeiPf\";\nexport var contentRow = \"homepage-module--contentRow--ehWtx\";\nexport var ctaSection = \"homepage-module--ctaSection--YHUPR\";\nexport var desktopView = \"homepage-module--desktopView--7QTnS\";\nexport var disable = \"homepage-module--disable--vPlUC\";\nexport var educatorBlogs = \"homepage-module--educatorBlogs--TI7vS\";\nexport var educatorHeader = \"homepage-module--educatorHeader--N5Ufz\";\nexport var existingUserLogin = \"homepage-module--existingUserLogin--2g7sa\";\nexport var gradientBg = \"homepage-module--gradientBg--f3FLp\";\nexport var hideOnMobile = \"homepage-module--hideOnMobile--L-7VR\";\nexport var homePage = \"homepage-module--homePage--CGMKi\";\nexport var newHomeBanner = \"homepage-module--newHomeBanner--eVnCl\";\nexport var newHomeReview = \"homepage-module--newHomeReview--i6fR+\";\nexport var newHomeReviewSection = \"homepage-module--newHomeReviewSection--5nID6\";\nexport var newHomeReviewSectionData = \"homepage-module--newHomeReviewSectionData--TEsAP\";\nexport var newHomeReviewSectionImg = \"homepage-module--newHomeReviewSectionImg--bS-0W\";\nexport var newHomeSkills = \"homepage-module--newHomeSkills--A8+QL\";\nexport var playPreviewBtn = \"homepage-module--playPreviewBtn--vUO5L\";\nexport var popCardContent = \"homepage-module--popCardContent--tcuD5\";\nexport var popCourseName = \"homepage-module--popCourseName--T9iGW\";\nexport var popEnrollContent = \"homepage-module--popEnrollContent--iR3Qo\";\nexport var popEnrollCount = \"homepage-module--popEnrollCount--K8E25\";\nexport var popEnrollCta = \"homepage-module--popEnrollCta--FC9vp\";\nexport var popEnrollSection = \"homepage-module--popEnrollSection--ILwkq\";\nexport var popMoreCta = \"homepage-module--popMoreCta--+ZpXL\";\nexport var popularCard = \"homepage-module--popularCard--yqbw6\";\nexport var popularCardImg = \"homepage-module--popularCardImg--3IZM9\";\nexport var popularCourseContainer = \"homepage-module--popularCourseContainer--rtVWL\";\nexport var popularHeader = \"homepage-module--popularHeader--2xGmf\";\nexport var prev = \"homepage-module--prev--WSePB\";\nexport var previewImg = \"homepage-module--previewImg--i9urp\";\nexport var previewVideoContainer = \"homepage-module--previewVideoContainer--QdncG\";\nexport var rating = \"homepage-module--rating--Ywple\";\nexport var ratingContent = \"homepage-module--ratingContent--0mctr\";\nexport var reviewCourse = \"homepage-module--reviewCourse--SuwD8\";\nexport var reviewIframe = \"homepage-module--reviewIframe--PeuWO\";\nexport var reviewName = \"homepage-module--reviewName--5KngM\";\nexport var reviewText = \"homepage-module--reviewText--A3Jpo\";\nexport var shawBtn = \"homepage-module--shawBtn--wGXI5\";\nexport var showOnMobile = \"homepage-module--showOnMobile--LgN07\";\nexport var signupCta = \"homepage-module--signupCta--2tdNj\";\nexport var starRating = \"homepage-module--starRating--jiYRq\";\nexport var startLearnCta = \"homepage-module--startLearnCta--spEv7\";\nexport var subscribeSection = \"homepage-module--subscribeSection--zLZ1m\";\nexport var testimony = \"homepage-module--testimony--BuYo0\";\nexport var testimonyBody = \"homepage-module--testimonyBody--jU+YS\";\nexport var testimonyContent = \"homepage-module--testimonyContent--DBOVQ\";\nexport var testimonyHeadline = \"homepage-module--testimonyHeadline--JGzX+\";\nexport var testimonyImg = \"homepage-module--testimonyImg--tf37I\";\nexport var testimonySection = \"homepage-module--testimonySection--eDPBN\";\nexport var testimonyTop = \"homepage-module--testimonyTop--e-G-Z\";\nexport var trustpilotWidget = \"homepage-module--trustpilotWidget--Rew3q\";\nexport var tryEnterpriseCta = \"homepage-module--tryEnterpriseCta--sek1C\";"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","includes","key","call","join","module","exports","default","ThemeContext","Consumer","Provider","useBootstrapPrefix","prefix","defaultPrefix","prefixes","useContext","_typeof","Symbol","iterator","obj","constructor","_cookie2","_interopRequireDefault","_objectAssign2","__esModule","IS_NODE","document","process","_rawCookie","_res","_isResWritable","headersSent","load","name","doNotParse","cookies","parse","cookie","cookieVal","JSON","err","loadAll","select","regex","keys","reduce","accumulator","test","newCookie","save","val","opt","stringify","serialize","remove","path","expires","Date","maxAge","clearCookie","setRawCookie","rawCookie","plugToRequest","req","res","headers","str","options","TypeError","pairs","split","pairSplitRegExp","dec","decode","pair","eq_idx","indexOf","substr","trim","slice","undefined","tryDecode","enc","encode","fieldContentRegExp","value","isNaN","Error","Math","floor","domain","toUTCString","httpOnly","secure","sameSite","toLowerCase","decodeURIComponent","encodeURIComponent","e","t","n","r","querySelector","href","window","location","url","title","navigator","share","text","then","catch","useState","o","u","a","c","f","useEffect","loading","isSupported","MembershipSlug","LifetimeSlug","PageKind","Migrated","AddonsStatus","AddonsStatusForLifetimeUnlimited","AddonsStatusForLifetimeFaculty","AddonsStatusForLifetimeBasic","TOOLKIT_PAID_COUNTRIES","OfferType","getDefaultOfferType","countryCode","courseSlug","partnerIdentifier","skip3","defaultOfferType","ReferralCode","autoPopupInContentPage","skipPhoneInputFormEligibleCountries","shouldShowCCPage","offerType","shouldShowTrialInfoPage","getOfferTrialDays","offerTrialDays","offerCodeMapping","showVideoPreviewOnCoursePage","getPaymentLinkVersionPrefix","data","getScheduleVersion","_ref","country","membership","lifetimeSlugs","values","slug","COMPASS_AI_COURSES","COMPASS_AI_ENABLED_PAGES","getBotpressConfiguration","_ref2","student","pageKind","attributes","email","endsWith","botpressConfig","first_name","last_name","filter","namePart","id","profile","goals","course_picked","TIMETABLE_INELIGIBLE_COUNTRIES","TIMETABLE_INELIGIBLE_DATE_FROM","HomePage","canonicalPages","getCanonicalPages","brandWebsiteHomepage","pageData","pageDataJSON","header","brandWebsiteHeader","footer","brandWebsiteFooter","homePage","imageData","allS3Object","React","HomePageComponent","headerContent","footerContent","homePageData","languageCanonicals","siteMetadata","site","defaultProps","Carousel","loadable","resolved","chunkName","isReady","props","resolve","__webpack_modules__","importAsync","requireAsync","requireSync","__webpack_require__","cataloguePageData","locale","wideAssetsService","AssetsService","squareAssetsService","loadComponent","setLoadComponent","loginUrl","activeCourse","setActiveCourse","currentPlayingVideo","setCurrentPlayingVideo","trustpilotRef","useRef","handleScroll","scrollY","images","getElementsByTagName","from","forEach","img","dataset","src","UtmService","init","trackingObj","facultySlug","utils","addEventListener","initTrustpilot","removeEventListener","current","Trustpilot","loadFromElement","ButtonGroup","button","carouselState","currentSlide","totalItems","slidesToShow","isEndOfList","className","styles","onClick","previous","prevText","next","nextText","canonicalList","seo","canonicalurls","canonicalUrls","index","responsive","desktop","breakpoint","max","min","slidesToSlide","items","tablet","mobile","SEO","description","schemaMarkup","schema","Helmet","async","type","Header","isHomepage","sections","map","section","sectionIndex","content","pagesection","herosection","ReactPlayer","style","minWidth","width","height","playing","loop","muted","Container","heading","subheading","ref","target","rel","Link","to","signupcta","enterprisecta","existinguser","logincta","fetchpriority","alt","courselistblock","courselist","course","_course$coursemenunam","_course$graduates","_section$courselistbl","previewVideo","coursepreviewvideo","courseId","courseslug","signupURL","courseURL","currentCourseImageNode","fetchAssetURL","nodes","node","Key","courseImage","localFile","getImage","childImageSharp","gatsbyImageData","CourseVideoPreviewHomePage","signupLink","GatsbyImage","image","coursemenuname","replace","SocialShare","courseUrl","courseName","graduates","toLocaleString","graduatestext","coursecarddescription","enrollnowcta","reviewslistblock","arrows","customButtonGroup","prevtext","nexttext","reviews","review","_review$reviewerimage","_review$reviewerimage2","reviewerimage","rating","testimoniallistblock","bloglistblock","_section$bloglistbloc","_section$bloglistbloc2","blogResponsive","featuredblogs","blog","featuredimage","category","publisheddate","htmr","SubscribeBanner","Footer","footerData","meta","siteUrl","edges","publish_details","metaDescription","ogImage","dir","htmlAttributes","lang","titleTemplate","link","concat","charSet","property","this","_proto","setCookie","cookieDomain","params","oneDayCookie","getTime","setTime","getParameterByName","RegExp","exec","getParameterByReferrer","referrer","getCode","getReferrerHostName","referrerHostName","URL","hostname","utmSource","utmMedium","utmCampaign","utmCreative","utmTerm","utmContent","offerCode","voucherCodeFlag","utmMediumFromCookie","showSignupButton","setShowSignupButton","setPlaying","playerContainerRef","loadLessonPreview","ctaClickAction","controls","onProgress","playedSeconds","reactPlayer","opacity","pointerEvents","progressInterval","navigateToSignupPage","navigate","coursePagetopSection","courseTitle","useWebShare","showDetail","setShowDetail","priceRef","currencyRef","showPrices","setShowPrices","monthlyPrice","getMonthlySubscriptionPrice","textContent","cur_symbol","price","setTimeout","ViewAllCourses","bannerContent","bannerCta","bannerImg","blogCard","blogCardDetails","blogCardEnd","blogCardImg","blogCardText","blogCards","blogDate","blueLargeCta","cardBox","cardInfo","carousalButtongroup","container","contentHead","contentInfo","contentRow","disable","educatorBlogs","educatorHeader","existingUserLogin","gradientBg","hideOnMobile","newHomeBanner","newHomeSkills","playPreviewBtn","popCardContent","popCourseName","popEnrollContent","popEnrollCount","popEnrollCta","popEnrollSection","popMoreCta","popularCard","popularCardImg","popularCourseContainer","popularHeader","prev","previewImg","previewVideoContainer","ratingContent","showOnMobile","signupCta","startLearnCta","subscribeSection","testimony","testimonyBody","testimonyContent","testimonyHeadline","testimonyImg","testimonySection","testimonyTop","trustpilotWidget","tryEnterpriseCta"],"sourceRoot":""}