{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/assets/js/modules/smooth-anchors.js","webpack:///./src/assets/js/modules/globals.js","webpack:///./src/assets/js/modules/home-hero.js","webpack:///./src/assets/js/modules/toolbox.js","webpack:///./src/assets/js/modules/form-validator.js","webpack:///./src/assets/js/modules/form-handler.js","webpack:///./src/assets/js/modules/partners-slider.js","webpack:///./src/assets/js/modules/accordion.js","webpack:///./src/assets/js/main.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","locale","lang","document","querySelector","getAttribute","dir","next","prev","HomeHero","el","_classCallCheck","this","covers","contents","rtl","initSliders","initPager","_this","coverSldr","Flickity","prevNextButtons","pageDots","wrapAround","rightToLeft","autoPlay","contentSldr","on","index","select","playPlayer","newNode","referenceNode","_this2","pager","createElement","classList","add","innerHTML","concat","pagerButton","parentNode","insertBefore","nextSibling","addEventListener","stopPlayer","previous","fieldErrors","required","en","ar","requiredSelect","email","phone","emiratesID","errorLabel","label","init_intlTelInput","style","setAttribute","append","script","event","intlTelInputGlobals","loadUtils","Array","from","querySelectorAll","forEach","elem","appendChild","intlTelInput","preferredCountries","excludeCountries","separateDialCode","formatOnDisplay","autoPlaceholder","fieldUpdate","errorID","errorDom","type","hasAttribute","remove","validateInput","test","checked","window","getInstance","isValidNumber","validateSelect","validate","tagName","forms","SmartForm","init","push","id","length","requireds","submitHandler","_unused","initValidation","submitBtn","initSubmitDisable","requirement","disabled","validateForm","valid","preventDefault","stopPropagation","api","setState","responseBox","submitData","testState","setTimeout","XHR","XMLHttpRequest","FD","FormData","response","JSON","parse","target","responseText","status","open","send","state","_this3","displayResponse","requestAnimationFrame","_this4","location","pathname","undefined","message","PartnersSlider","partners_slider_classCallCheck","align","initSlider","swiper","Swiper","slidesPerView","slidesOffsetBefore","slidesOffsetAfter","navigation","nextEl","prevEl","Accordion","accordion_classCallCheck","oneOnly","showFirst","initSections","sections","header","content","nextElementSibling","activate","$","slideUp","section","contains","slideDown","click","e","hasClass","replace","hostname","targetPos","hash","slice","offset","a","documentElement","body","width","height","viewport","removeClass","prop","top","scroll","left","behavior","split","box","item","toggleClass","fancybox"],"mappings":"aACA,IAAAA,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,OAAAC,eAAAb,EAAA,cAAiDmB,OAAA,KAQjDrB,EAAAsB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAArB,EAAAqB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,iBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAX,OAAAY,OAAA,MAGA,GAFA1B,EAAAkB,EAAAO,GACAX,OAAAC,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAArB,EAAAU,EAAAe,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAzB,EAAA6B,EAAA,SAAA1B,GAC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AAG,QAAS,WAClCoI,EAAE,QAAQ6B,YAAY,cAExB7B,EAAE,oBAAoBpI,GAAG,QAAS,WAChCoI,EAAE,QAAQoB,YAAY,cAIxBpB,EAAE,mBAAmB8B","file":"main.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","\nimport { viewport } from './toolbox.js';\n\n\nexport default function () {\n\t$('a[href*=\"#\"]:not([href=\"#\"])').click(function(e) {\n\n\t\t// if($('html').hasClass('ios') || viewport().width < 1050) {\n\t\t// \t$('body, html').removeClass('navigation');\n\t\t// \treturn;\n\t\t// }\n\n\t\tif($(e.target).hasClass('popup-inline-videobox') || $(e.target).hasClass('dynamic-video-player')) return;\n\n\t\tif (location.pathname.replace(/^\\//,'') == this.pathname.replace(/^\\//,'') && location.hostname == this.hostname) {\n\n\t\t\tvar hash = this.hash;\n\t\t\tvar target = $(hash);\n\t\t\ttarget = target.length ? target : $('[name=' + this.hash.slice(1) +']');\n\t\t\tvar targetPos, currentPos, delta, dur;\n\t\t\tvar offset = (viewport().width < 1050) ? 59 : 69;\n\t\t\tif(target.hasClass('tab-content')) return;\n\t\t\tif (target.length) {\n\n\t\t\t\tevent.preventDefault();\n\n\t\t\t\t$('body, html').removeClass('navigation');\n\t\t\t\ttarget.prop('id', 'target');\n\t\t\t\ttargetPos = target.offset().top - offset;\n\n\t\t\t\tlocation.hash = hash;\n\t\t\t\t\n\t\t\t\twindow.scroll({ top: targetPos, left: 0, behavior: 'smooth' });\n\t\t\t\trequestAnimationFrame(() => {\n\t\t\t\t\ttarget.prop('id', hash.split('#')[1]);\n\t\t\t\t})\n\n\t\t\t}\n\t\t}\n\t});\n\n};\n","\n\nexport const locale = {\n lang: document.querySelector('html').getAttribute('lang'),\n dir: document.querySelector('html').getAttribute('dir'),\n next: (document.querySelector('html').getAttribute('dir') == 'ltr') ? 'right' : 'left',\n prev: (document.querySelector('html').getAttribute('dir') == 'ltr') ? 'left' : 'right'\n};\n\nexport const root = document.querySelector('body').getAttribute('data-root');\n","\nimport { locale } from './globals.js';\nimport { insertAfter } from './toolbox.js';\n\nclass HomeHero {\n constructor(el) {\n if(!el) return false;\n this.el = el;\n this.covers = this.el.querySelector('[data-hero-covers]');\n this.contents = this.el.querySelector('[data-hero-contents]');\n this.rtl = (locale.dir == 'rtl');\n this.initSliders();\n this.initPager();\n }\n initSliders () {\n this.coverSldr = new Flickity(this.covers, {\n prevNextButtons: false,\n pageDots: false,\n wrapAround: true,\n rightToLeft: this.rtl,\n autoPlay: 5000\n // selectedAttraction: 0.01,\n // friction: 0.15\n });\n this.contentSldr = new Flickity(this.contents, {\n prevNextButtons: false,\n pageDots: false,\n wrapAround: true,\n rightToLeft: this.rtl\n });\n\n this.coverSldr.on('change', (index) => {\n this.contentSldr.select(index);\n this.coverSldr.playPlayer()\n });\n this.contentSldr.on('change', (index) => {\n this.coverSldr.select(index);\n });\n }\n initPager () {\n let pager = document.createElement('div');\n pager.classList.add('pager-arrows');\n pager.innerHTML = `${this.pagerButton('prev')}${this.pagerButton('next')}`;\n insertAfter(pager, this.contents);\n pager.querySelector('.arrow.prev').addEventListener('click', () => {\n this.contentSldr.stopPlayer();\n this.coverSldr.stopPlayer();\n this.contentSldr.previous();\n });\n pager.querySelector('.arrow.next').addEventListener('click', () => {\n this.contentSldr.stopPlayer();\n this.coverSldr.stopPlayer();\n this.contentSldr.next();\n });\n }\n pagerButton (dir) {\n return ``\n }\n \n}\nexport default function () {\n new HomeHero(document.querySelector('[data-home-hero]'));\n}\n","export function debounce (fn, delay) {\n\tvar timer = null;\n\treturn function () {\n\t\tvar context = this, args = arguments;\n\t\tclearTimeout(timer);\n\t\ttimer = setTimeout(function () {\n\t\t\tfn.apply(context, args);\n\t\t}, delay);\n\t};\n}\n\nexport function throttle (fn, threshhold, scope) {\n\tthreshhold || (threshhold = 250);\n\tvar last,\n\tdeferTimer;\n\treturn function () {\n\t\tvar context = scope || this;\n\n\t\tvar now = +new Date,\n\t\targs = arguments;\n\t\tif (last && now < last + threshhold) {\n\t\t\t// hold on to it\n\t\t\tclearTimeout(deferTimer);\n\t\t\tdeferTimer = setTimeout(function () {\n\t\t\t\tlast = now;\n\t\t\t\tfn.apply(context, args);\n\t\t\t}, threshhold);\n\t\t} else {\n\t\t\tlast = now;\n\t\t\tfn.apply(context, args);\n\t\t}\n\t};\n}\n\nexport function viewport() {\n\tvar e = window, a = 'inner';\n\tif ( !( 'innerWidth' in window ) )\n\t{\n\t\ta = 'client';\n\t\te = document.documentElement || document.body;\n\t}\n\treturn { width : e[ a+'Width' ] , height : e[ a+'Height' ] }\n}\n\nexport function getOffset (element) {\n const offset = ({ top, left }, { offsetTop = 0, offsetLeft = 0, offsetParent }) => {\n const output = { top: top + offsetTop, left: left + offsetLeft }\n return offsetParent ? offset({ ...output }, offsetParent) : output\n }\n\n return offset({ top: 0, left: 0 }, element)\n}\n\nexport function getRandomInt(min, max) {\n\treturn Math.floor(Math.random() * (max - min)) + min;\n}\n\nexport function watchScroll (elem) {\n\t$(elem).on('scroll', exports.throttle(function(){\n\t\t$(elem).trigger('scrolled');\n\t}, 50));\n}\n\nexport function getQueryVariable (variable) {\n\tvar query = window.location.search.substring(1);\n\tvar vars = query.split(\"&\");\n\tfor (var i=0;i max) {\n\t\treturn `${string.slice(0, max).split(' ').slice(0, -1).join(' ')}`;\n\t} else {\n\t\treturn string\n\t}\n}\n\nexport function hexToRgb(hex) {\n\tvar shorthandRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\n\thex = hex.replace(shorthandRegex, function(m, r, g, b) {\n\t\t\treturn r + r + g + g + b + b;\n\t});\n\n\tvar result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n\treturn result ? {\n\t\t\tr: parseInt(result[1], 16),\n\t\t\tg: parseInt(result[2], 16),\n\t\t\tb: parseInt(result[3], 16)\n\t} : null;\n}\n\nexport function removeHash() {\n\tvar scrollV, scrollH, loc = window.location;\n\tif ('pushState' in history)\n\t\thistory.pushState(\"\", document.title, loc.pathname + loc.search);\n\telse {\n\t\t// Prevent scrolling by storing the page's current scroll offset\n\t\tscrollV = document.body.scrollTop;\n\t\tscrollH = document.body.scrollLeft;\n\n\t\tloc.hash = \"\";\n\n\t\t// Restore the scroll offset, should be flicker free\n\t\tdocument.body.scrollTop = scrollV;\n\t\tdocument.body.scrollLeft = scrollH;\n\t}\n}\n\n// support test for event listener options like 'passive' or 'once'\nexport function eventOptionSupport(option) {\n\tvar supported = false;\n\ttry {\n\t\tvar opts = Object.defineProperty({}, option, {\n\t\t\tget: function() {\n\t\t\t\tsupported = true;\n\t\t\t}\n\t\t});\n\t\twindow.addEventListener(\"testPassive\", null, opts);\n\t\twindow.removeEventListener(\"testPassive\", null, opts);\n\t} catch (e) { supported = false }\n\treturn supported;\n}\n\nexport function getDocumentScrollTop() {\n return window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;\n};\n\nexport function getDocumentScrollLeft() {\n return window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0;\n};\n\nexport function unique(value, index, self) {\n\treturn self.indexOf(value) === index;\n}\n","\nimport { locale } from './globals.js';\n\nconst fieldErrors = {\n\trequired: {\n\t\t'en': 'This field is required.',\n\t\t'ar': 'هذا الحقل إلزامي'\n\t},\n\trequiredSelect: {\n\t\t'en': 'Please select.',\n\t\t'ar': 'الرجاء اختيار'\n\t},\n\temail: {\n\t\t'en': 'Please enter a valid email address.',\n\t\t'ar': 'رجاء إدخال عنوان بريد إلكتروني صحيح'\n\t},\n\tphone: {\n\t\t'en': 'Please enter a valid phone number',\n\t\t'ar': 'صحيح يرجى إدخال رقم هاتف'\n\t},\n\temiratesID: {\n\t\t'en': 'Please enter a valid Emirate ID number',\n\t\t'ar': 'يرجى إدخال رقم الهوية الإماراتية'\n\t}\n}\nfunction errorLabel () {\n var label = document.createElement('div');\n label.classList.add('error-msg');\n return label;\n}\nfunction init_intlTelInput () {\n let style = document.createElement('link');\n style.setAttribute('rel', 'stylesheet');\n style.setAttribute('href', '/assets/lib/intl-tel-input/css/intlTelInput.min.css');\n document.querySelector('head').append(style);\n\n let script = document.createElement('script');\n script.setAttribute('src', '/assets/lib/intl-tel-input/js/intlTelInput.min.js')\n script.addEventListener('load', (event) => {\n init_intlTelInput_fields();\n })\n document.querySelector('body').append(script);\n}\nfunction init_intlTelInput_fields () {\n intlTelInputGlobals.loadUtils('/assets/lib/intl-tel-input/js/utils.js');\n\n let telFields = Array.from(document.querySelectorAll('input[type=\"tel\"]'));\n\n telFields.forEach((elem) => {\n elem.parentNode.appendChild(errorLabel());\n elem.setAttribute('data-state', 'ready');\n let iti = intlTelInput(elem, {\n preferredCountries: ['ae','kw','sa','bh','om','qa'],\n excludeCountries: ['il'],\n separateDialCode: true,\n formatOnDisplay: true,\n autoPlaceholder: 'aggressive'\n })\n })\n}\nfunction fieldUpdate (elem, errorID) {\n let errorDom = elem.parentNode.querySelector('.error-msg');\n if(elem.type === 'tel' && elem.hasAttribute('data-intl-tel-input-id'))\n errorDom = elem.parentNode.parentNode.querySelector('.error-msg')\n\n if(errorID) {\n elem.setAttribute('data-state', 'error');\n errorDom.innerHTML = fieldErrors[errorID][locale.lang];\n errorDom.classList.add('show');\n } else {\n elem.setAttribute('data-state', 'valid');\n errorDom.classList.remove('show');\n }\n}\n\nexport function validateInput (elem) {\n if(elem.value == '') {\n fieldUpdate(elem, 'required');\n\t} else {\n\t\tif(elem.type === 'email') {\n\t\t\tif (validateEmail(elem.value)) {\n fieldUpdate(elem);\n\t\t\t} else {\n fieldUpdate(elem, 'email');\n\t\t\t}\n\t\t} else if(elem.type === 'checkbox') {\n\t\t\tif (elem.checked) {\n fieldUpdate(elem);\n\t\t\t} else {\n fieldUpdate(elem, 'required');\n\t\t\t}\n\t\t} else if(elem.type === 'tel') {\n let tElem = window.intlTelInputGlobals.getInstance(elem);\n if(tElem.isValidNumber()) {\n fieldUpdate(elem);\n } else {\n fieldUpdate(elem, 'phone');\n }\n\t\t} else {\n fieldUpdate(elem);\n\t\t}\n\t}\n};\nexport function validateSelect (elem) {\n if (elem.value == 'n/a') {\n\t\telem.setAttribute('data-state', 'error');\n\t\telem.parentNode.querySelector('.error-msg').innerHTML = fieldErrors.requiredSelect[locale.lang];\n\t} else {\n\t\telem.setAttribute('data-state', 'valid');\n\t}\n};\nexport function validateEmail (email) {\n\tvar re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(email);\n};\n\nexport function validate (elem) {\n\tif(elem.tagName === 'INPUT' || elem.tagName === 'TEXTAREA') {\n\t\tvalidateInput(elem);\n\t}\n\tif(elem.tagName === 'SELECT') {\n\t\tvalidateSelect(elem);\n\t}\n\treturn (elem.getAttribute('data-state') === 'valid');\n};\n\nexport function initValidation (elem) {\n if(elem.tagName === 'INPUT' && elem.type === 'tel') {\n try { intlTelInput }\n catch { init_intlTelInput() }\n } else {\n elem.parentNode.appendChild(errorLabel());\n elem.setAttribute('data-state', 'ready');\n }\n\n elem.addEventListener('blur', (event) => {\n if(elem.tagName === 'INPUT' || elem.tagName === 'TEXTAREA') {\n validateInput(elem);\n }\n });\n elem.addEventListener('input', (event) => {\n if(elem.tagName === 'SELECT') {\n validateSelect(elem);\n }\n if((elem.tagName === 'INPUT' || elem.tagName === 'TEXTAREA') && elem.getAttribute('data-state') === 'error') {\n validateInput(elem);\n }\n if(elem.tagName === 'INPUT' && elem.type === 'checkbox') {\n validateInput(elem);\n }\n if(elem.tagName === 'INPUT' && elem.type === 'tel') {\n validateInput(elem);\n }\n });\n};\n\n","\nimport { locale } from './globals.js';\nimport { initValidation, validate } from './form-validator';\n\nconst forms = [];\n\nfunction SmartForm(el) {\n\tthis.el = el;\n\tthis.init();\n};\nSmartForm.prototype.init = function() {\n this.id = `f${forms.length-1}`\n\tthis.el.setAttribute('novalidate', '');\n\tthis.el.setAttribute('data-state', 'ready');\n this.requireds = this.el.querySelectorAll('[required]');\n\n\tif (this.el.hasAttribute('data-api')) {\n\t\tthis.el.addEventListener('submit', this.submitHandler.bind(this));\n\t}\n\tthis.requireds.forEach((elem, index) => {\n\t\tinitValidation(elem);\n\t});\n\n\tthis.submitBtn = this.el.querySelector('[type=\"submit\"]');\n\tif(this.submitBtn.hasAttribute('data-require')) {\n\t\tthis.initSubmitDisable();\n\t}\n}\nSmartForm.prototype.initSubmitDisable = function () {\n\tvar requirement = this.el.querySelector(this.submitBtn.getAttribute('data-require'));\n\tthis.submitBtn.disabled = !validate(requirement);\n\trequirement.addEventListener('input', (event) => {\n\t\tthis.submitBtn.disabled = !validate(requirement);\n\t})\n}\nSmartForm.prototype.validateForm = function() {\n\tvar valid = true;\n\tthis.requireds.forEach((elem) => {\n\t\tvalidate(elem);\n\t\tif(elem.getAttribute('data-state') === 'error') valid = false;\n\t})\n\treturn valid;\n}\nSmartForm.prototype.submitHandler = function (event) {\n\tevent.preventDefault();\n event.stopPropagation();\n\n\tif(!this.validateForm()) return;\n\n\t// get api url\n\tthis.api = this.el.getAttribute('data-api');\n\n\tthis.setState('working');\n\tif (this.responseBox) this.responseBox.remove();\n\n\tif (this.api.length == 0 || this.api == 'test') {\n\t\tvar testState = (this.el.hasAttribute('data-test-state')) ? this.el.getAttribute('data-test-state') : 'error';\n\t\tsetTimeout(function(){\n\t this.setState(testState);\n\t }.bind(this), 1000);\n\t return;\n\t}\n\tthis.submitData();\n}\nSmartForm.prototype.submitData = function() {\n\tvar XHR = new XMLHttpRequest();\n var FD = new FormData(this.el);\n // Success\n XHR.addEventListener('load', (event) => {\n\t\tthis.response = JSON.parse(event.target.responseText);\n\t\tif(event.target.status == 200) {\n\t\t\tthis.setState('success');\n\t\t} else {\n\t\t\tthis.setState('error');\n\t\t}\n\t});\n\tXHR.open(\"POST\", this.api);\n XHR.send(FD);\n}\nSmartForm.prototype.setState = function(state) {\n\tthis.el.setAttribute('data-state', state);\n\tthis.state = state;\n\tif (state == 'error') {\n\t\t// if(this.el.hasAttribute('data-response')) {\n\t\t\tthis.displayResponse();\n\t\t\trequestAnimationFrame(() => {\n\t\t\t\tthis.setState('error-response');\n\t\t\t})\n\t\t// }\n\t\tsetTimeout(function(){\n\t\t\tthis.el.setAttribute('data-state', 'ready');\n\t\t\tif (this.responseBox) this.responseBox.remove();\n\t\t}.bind(this), 4000);\n\t}\n\tif (state == 'success') {\n\t\tsetTimeout(function(){\n\t\t\tif(this.el.hasAttribute('data-redirect')) {\n\t\t\t\twindow.location.pathname = this.el.getAttribute('data-redirect');\n\t\t\t}\n\t\t\tif(this.el.hasAttribute('data-collapse')) {\n\t\t\t\tthis.el.classList.add('collapse');\n\t\t\t}\n\t\t\t// if(this.el.hasAttribute('data-success-response')) {\n\t\t\t\tthis.displayResponse();\n\t\t\t// }\n\t\t\trequestAnimationFrame(() => {\n\t\t\t\tthis.setState('success-response');\n\t\t\t})\n\t\t}.bind(this), 1000);\n\t}\n}\nSmartForm.prototype.displayResponse = function() {\n\tif(this.response == undefined) {\n\t\tif (this.state == 'success') {\n\t\t\tthis.response = {\n\t\t\t\tmessage: (this.el.getAttribute('data-success-response').length > 0) ? this.el.getAttribute('data-success-response') : 'Thank you!'\n\t\t\t}\n\t\t}\n\t\tif (this.state == 'error') {\n\t\t\tthis.response = {\n\t\t\t\tmessage: (this.el.getAttribute('data-error-response').length > 0) ? this.el.getAttribute('data-error-response') : 'Error!'\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\tthis.responseBox = document.createElement('div');\n\tthis.responseBox.classList.add('response-box');\n\tthis.responseBox.innerHTML = this.response.message;\n\tthis.el.parentNode.insertBefore(this.responseBox, this.el.nextSibling);\n}\n\nexport function initAll () {\n\tArray.from(document.querySelectorAll('[data-smart-form]')).forEach(function(elem, index) {\n\t\tinit(elem);\n\t});\n};\nexport function init(elem) {\n\tif(elem.hasAttribute('data-state')) return;\n forms.push(elem)\n var form = new SmartForm(elem);\n}\n\nexport default function (elem) {\n\tif (!elem || elem.length < 1) {\n\t\tinitAll();\n\t} else {\n\t init(elem);\n\t}\n}\n","\nimport { locale } from './globals.js';\nimport { getOffset, throttle, viewport } from './toolbox.js';\n\nconst arrowBtn = function (dir) {\n return ``\n}\n\nclass PartnersSlider {\n constructor(el) {\n if(!el) return false;\n this.el = el;\n this.rtl = (locale.dir == 'rtl');\n this.align = (locale.dir == 'ltr') ? 'left' : 'right';\n this.initSlider();\n }\n initSlider () {\n this.swiper = new Swiper('.partners-slider', {\n slidesPerView: 'auto',\n slidesOffsetBefore: 50,\n slidesOffsetAfter: 50,\n navigation: {\n nextEl: '.swiper-button-next',\n prevEl: '.swiper-button-prev',\n },\n })\n\n }\n}\nexport default function () {\n Array.from(document.querySelectorAll('[data-partners-slider]')).forEach( (box) => {\n new PartnersSlider(box);\n });\n}\n","\nimport { locale } from './globals.js';\n\nclass Accordion {\n constructor(el) {\n this.el = el;\n this.oneOnly = this.el.hasAttribute('data-show-one');\n this.showFirst = this.el.hasAttribute('data-show-first');\n this.initSections();\n }\n initSections () {\n this.sections = [];\n Array.from(this.el.querySelectorAll('[data-accordion-header]')).forEach((header, i) => {\n var index = i;\n var content = header.nextElementSibling;\n header.classList.add('accordion-header');\n content.classList.add('accordion-content');\n\n this.sections[index] = {\n header, content\n }\n header.setAttribute('data-index', index);\n header.addEventListener('click', (event) => {\n this.activate(index);\n })\n if(index === 0 && this.showFirst) {\n header.classList.add('active');\n } else {\n $(content).slideUp();\n }\n });\n }\n activate (index) {\n this.sections.forEach((section, i) => {\n if(i == index) {\n if(section.header.classList.contains('active')) {\n section.header.classList.remove('active')\n $(section.content).slideUp();\n } else {\n section.header.classList.add('active');\n $(section.content).slideDown();\n }\n } else if(this.oneOnly) {\n section.header.classList.remove('active')\n $(section.content).slideUp();\n }\n })\n }\n};\n\n\nexport default function () {\n\tArray.from(document.querySelectorAll('[data-accordion]')).forEach(function(item){\n\t\tnew Accordion(item);\n\t})\n}\n","import smoothAnchors from './modules/smooth-anchors';\nimport homeHero from './modules/home-hero';\nimport forms from './modules/form-handler';\nimport partnersSlider from './modules/partners-slider';\n// import dropdown from './modules/dropdown';\nimport accordion from './modules/accordion';\n\nsmoothAnchors();\nhomeHero();\nforms();\npartnersSlider();\n// dropdown();\naccordion();\n\n\n$('[data-nav-trigger]').on('click', () => {\n $('html').toggleClass('show-nav');\n})\n$('[data-nav-close]').on('click', () => {\n $('html').removeClass('show-nav');\n})\n\n\n$('[data-fancybox]').fancybox();\n\n"],"sourceRoot":""}