{"version":3,"sources":["webpack:///scripts.js","webpack:///webpack/bootstrap 4adb4c02945e687d1cd4","webpack:///./assets/src/js/scripts.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","id","loaded","call","m","c","p","jQuery","$","on","e","collapse","window","setInterval","navHeight","outerHeight","css","height","hasClass","setTimeout","length","listingSingleSidebar","document","querySelector","StickySidebar","topSpacing","minWidth","stopPropagation","countTo","event","isInView","this","width","sticky","scroll","scrollTop","addClass","removeClass","slideToggle","toggleClass","slider","range","min","max","values","slide","ui","val","niceScroll","scrollspeed","mousescrollstep","autohidemode","cursorcolor","background","cursorborderradius","cursorborder","select2","hide","preventDefault","item","row","next","contentHide","titleHide","slideUp","owlCarousel","center","items","loop","nav","navText","margin","responsive","600","1000","1400","autoHeight","lazyLoad","$owlCar","trigger","html","find","autoplay","0","480","1024","dots","dotsData","992","arrowHeight","fitVids","ready","header_height","footer_height","desired_content_height"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAE,WACAE,GAAAJ,EACAK,QAAA,EAUA,OANAP,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,QAAA,EAGAF,EAAAD,QAvBA,GAAAD,KAqCA,OATAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,GAGAV,EAAA,KDMM,SAAUI,EAAQD,GAEvB,YE9CDQ,QAAO,SAASC,GAqBd,GAlBAA,EAAE,yBAAyBC,GAAG,QAAS,SAASC,GAC9CF,EAAE,oBAAoBG,SAAS,UAIjCC,OAAOC,YAAY,WACjB,GAAIC,GAAYN,EAAE,mBAAmBO,aACrCP,GAAE,sBAAsBQ,KAAMC,OAAQH,IAClCN,EAAE,8BAA8BU,SAAS,cAC3CV,EAAE,oBAAoBQ,KAAMC,OAAQH,IAEpCK,WAAW,WACTX,EA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iBAAiBkF,UAGnBlF,EAAEc,UAAUqE,MAAM,WAChB,GAAIC,GAAgBpF,EAAE,cAAcO,cAChC8E,EAAgBrF,EAAE,UAAUO,cAC5B+E,EACFtF,EAAEI,QAAQK,SAAW2E,EAAgBC,EAAgB,CACvDrF,GAAE,oBAAoBQ,IAAI,aAAc8E","file":"scripts.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \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/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tjQuery(function ($) {\n\t 'use strict';\n\t\n\t $('.rq-listing-nav-close').on('click', function (e) {\n\t $('.navbar-collapse').collapse('hide');\n\t });\n\t\n\t // navbar sticky offset\n\t window.setInterval(function () {\n\t var navHeight = $('.navbar#sticker').outerHeight();\n\t $('.sticky-nav-offset').css({ height: navHeight });\n\t if ($('.rq-listing-ps-img-wrapper').hasClass('is-affixed')) {\n\t $('.ls-ps-sb-offset').css({ height: navHeight });\n\t } else {\n\t setTimeout(function () {\n\t $('.ls-ps-sb-offset').css({ height: 0 });\n\t }, 200);\n\t }\n\t });\n\t\n\t // sticky sidebar\n\t if ($('.rq-listing-ps-img-wrapper').length > 0) {\n\t var listingSingleSidebar = document.querySelector('.rq-listing-ps-img-wrapper');\n\t\n\t var stickySidebar = new StickySidebar(listingSingleSidebar, {\n\t topSpacing: 20,\n\t minWidth: 990\n\t });\n\t }\n\t\n\t $('.btn-group .dropdown-menu').on('click', function (e) {\n\t e.stopPropagation();\n\t });\n\t\n\t // counter\n\t $('.count-result').countTo();\n\t $('.fact-box-count').countTo();\n\t // progres bar\n\t\n\t $('.progress-bar.one').on('inview', function (event, isInView) {\n\t if (isInView) {\n\t $(this).css({ width: '70%' });\n\t } else {\n\t $(this).css({ width: '0%' });\n\t }\n\t });\n\t\n\t $('.progress-bar.two').on('inview', function (event, isInView) {\n\t if (isInView) {\n\t $(this).css({ width: '95%' });\n\t } else {\n\t $(this).css({ width: '0%' });\n\t }\n\t });\n\t\n\t $('.progress-bar.three').on('inview', function (event, isInView) {\n\t if (isInView) {\n\t $(this).css({ width: '50%' });\n\t } else {\n\t $(this).css({ width: '0%' });\n\t }\n\t });\n\t\n\t // Sticky menu\n\t $('#elements-menu').sticky({ topSpacing: 120 });\n\t\n\t $(window).scroll(function () {\n\t var scroll = $(window).scrollTop();\n\t if (scroll >= 20) {\n\t $('.home-two-nav').addClass('nav-two-bg');\n\t }\n\t if (scroll === 0) {\n\t $('.home-two-nav').removeClass('nav-two-bg');\n\t }\n\t });\n\t\n\t $(window).scroll(function () {\n\t var scroll = $(window).scrollTop();\n\t if (scroll >= 20) {\n\t $('.single-post-nav').addClass('nav-two-bg');\n\t }\n\t if (scroll === 0) {\n\t $('.single-post-nav').removeClass('nav-two-bg');\n\t }\n\t });\n\t\n\t // Elements page sidevar menu sticky\n\t $(window).scroll(function () {\n\t if ($(this).scrollTop() > $(document).height() - $('.rq-footer').height() - $(window).height()) {\n\t $('#elements-menu').css('visibility', 'hidden');\n\t } else {\n\t $('#elements-menu').css('visibility', 'visible');\n\t }\n\t });\n\t\n\t // Footer toggle widget\n\t $('.toggle-widget').on('click', function () {\n\t $('.footer-widget').slideToggle(300);\n\t $(this).toggleClass('active');\n\t });\n\t\n\t // Range sdlier jquery ui\n\t $('#slider-range').slider({\n\t range: true,\n\t min: 0,\n\t max: 500,\n\t values: [75, 300],\n\t slide: function slide(event, ui) {\n\t $('#amount').val('$' + ui.values[0] + ' - $' + ui.values[1]);\n\t }\n\t });\n\t $('#amount').val('$' + $('#slider-range').slider('values', 0) + ' - $' + $('#slider-range').slider('values', 1));\n\t\n\t // Nice scroll plugin customizatin\n\t $('.child-tab-wrapper .nav-tabs').niceScroll({\n\t scrollspeed: 10,\n\t mousescrollstep: 100,\n\t autohidemode: true,\n\t cursorcolor: '#0a252e',\n\t background: '#efeeee',\n\t cursorborderradius: 3,\n\t cursorborder: 0\n\t });\n\t $('.rq-listing-choose.rq-listing-list-two .listing-single').niceScroll({});\n\t\n\t // Custom select box\n\t $('.rq-home-search select').select2();\n\t $('.rq-cart-options-content select').select2();\n\t\n\t // faq accordion\n\t $('.faq-single .hidden-content').hide();\n\t $('.faq-single').on('click', 'a.faq-title', function (e) {\n\t e.preventDefault();\n\t var item = $(this);\n\t var row = item.next('p.hidden-content');\n\t var contentHide = $('p.hidden-content');\n\t var titleHide = $('a.faq-title');\n\t\n\t if (item.hasClass('active') !== false) {\n\t contentHide.slideUp();\n\t item.removeClass('active');\n\t } else {\n\t titleHide.removeClass('active');\n\t item.toggleClass('active');\n\t contentHide.slideUp();\n\t row.slideToggle();\n\t }\n\t });\n\t\n\t // owl carousel\n\t $('.owl-loop').owlCarousel({\n\t center: true,\n\t items: 1,\n\t loop: true,\n\t nav: true,\n\t navText: ['', ''],\n\t margin: 20,\n\t responsive: {\n\t 600: {\n\t items: 1\n\t },\n\t 1000: {\n\t items: 3\n\t },\n\t 1400: {\n\t items: 5\n\t }\n\t }\n\t });\n\t\n\t $('.details-slider').owlCarousel({\n\t center: true,\n\t items: 1,\n\t loop: $('.item').length > 1 ? true : false,\n\t nav: true,\n\t autoHeight: false,\n\t lazyLoad: true,\n\t navText: ['', '']\n\t });\n\t\n\t $(window).on('resize', function () {\n\t var $owlCar = jQuery('.details-slider');\n\t\n\t $owlCar.trigger('destroy.owl.carousel');\n\t $owlCar.html($owlCar.find('.owl-stage-outer').html()).removeClass('owl-loaded');\n\t $owlCar.owlCarousel({\n\t center: true,\n\t items: 1,\n\t loop: $('.item').length > 1 ? true : false,\n\t nav: true,\n\t autoHeight: false,\n\t lazyLoad: true,\n\t navText: ['', '']\n\t });\n\t });\n\t\n\t $('.details-slider-data').owlCarousel({\n\t center: true,\n\t items: 1,\n\t loop: true\n\t });\n\t\n\t $('.testimonial-wrapper').owlCarousel({\n\t center: true,\n\t items: 1,\n\t loop: true,\n\t autoplay: true,\n\t nav: false,\n\t lazyLoad: true,\n\t navText: ['', ''],\n\t margin: 20\n\t });\n\t\n\t $('.testimonial-wrapper-two').owlCarousel({\n\t center: true,\n\t items: 3,\n\t loop: true,\n\t autoplay: true,\n\t nav: true,\n\t lazyLoad: true,\n\t margin: 40,\n\t navText: [\"\", \"\"],\n\t responsive: {\n\t 0: {\n\t center: false,\n\t items: 1\n\t },\n\t 480: {\n\t center: false,\n\t items: 2,\n\t margin: 27\n\t },\n\t 1024: {\n\t items: 3\n\t }\n\t }\n\t });\n\t\n\t $('.testimonial-wrapper-three').owlCarousel({\n\t center: true,\n\t items: 1,\n\t loop: true,\n\t autoplay: true,\n\t nav: false,\n\t dots: true,\n\t dotsData: true,\n\t lazyLoad: true,\n\t margin: 40,\n\t responsive: {\n\t 0: {\n\t center: false,\n\t items: 1\n\t },\n\t 480: {\n\t center: false,\n\t items: 1,\n\t margin: 27\n\t },\n\t 1024: {\n\t items: 1\n\t }\n\t }\n\t });\n\t\n\t $('.rq-feature-product-block .related-products').owlCarousel({\n\t loop: true,\n\t autoplay: false,\n\t nav: true,\n\t dots: false,\n\t margin: 20,\n\t navText: [\"\", \"\"],\n\t responsive: {\n\t 0: {\n\t center: false,\n\t items: 2\n\t },\n\t 992: {\n\t items: 3\n\t }\n\t }\n\t });\n\t\n\t var arrowHeight = function arrowHeight() {\n\t jQuery('.testimonial-wrapper-two .owl-next, .testimonial-wrapper-two .owl-prev').css({\n\t width: $('.owl-item').width() + 'px',\n\t height: $('.owl-item').height() + 'px'\n\t });\n\t };\n\t setTimeout(arrowHeight);\n\t\n\t // responsive video\n\t $('.post-content').fitVids();\n\t\n\t //Footer stay bottom\n\t $(document).ready(function () {\n\t var header_height = $('nav.navbar').outerHeight();\n\t var footer_height = $('footer').outerHeight();\n\t var desired_content_height = $(window).height() - header_height - footer_height - 0;\n\t $('.rq-page-content').css('min-height', desired_content_height);\n\t });\n\t});\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// scripts.js"," \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\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 4adb4c02945e687d1cd4","jQuery(function($) {\n 'use strict';\n\n $('.rq-listing-nav-close').on('click', function(e) {\n $('.navbar-collapse').collapse('hide');\n });\n\n // navbar sticky offset\n window.setInterval(function() {\n var navHeight = $('.navbar#sticker').outerHeight();\n $('.sticky-nav-offset').css({ height: navHeight });\n if ($('.rq-listing-ps-img-wrapper').hasClass('is-affixed')) {\n $('.ls-ps-sb-offset').css({ height: navHeight });\n } else {\n setTimeout(function() {\n $('.ls-ps-sb-offset').css({ height: 0 });\n }, 200);\n }\n });\n\n // sticky sidebar\n if ($('.rq-listing-ps-img-wrapper').length > 0) {\n var listingSingleSidebar = document.querySelector(\n '.rq-listing-ps-img-wrapper'\n );\n\n var stickySidebar = new StickySidebar(listingSingleSidebar, {\n topSpacing: 20,\n minWidth: 990,\n });\n }\n\n $('.btn-group .dropdown-menu').on('click', function(e) {\n e.stopPropagation();\n });\n\n // counter\n $('.count-result').countTo();\n $('.fact-box-count').countTo();\n // progres bar\n\n $('.progress-bar.one').on('inview', function(event, isInView) {\n if (isInView) {\n $(this).css({ width: '70%' });\n } else {\n $(this).css({ width: '0%' });\n }\n });\n\n $('.progress-bar.two').on('inview', function(event, isInView) {\n if (isInView) {\n $(this).css({ width: '95%' });\n } else {\n $(this).css({ width: '0%' });\n }\n });\n\n $('.progress-bar.three').on('inview', function(event, isInView) {\n if (isInView) {\n $(this).css({ width: '50%' });\n } else {\n $(this).css({ width: '0%' });\n }\n });\n\n // Sticky menu\n $('#elements-menu').sticky({ topSpacing: 120 });\n\n $(window).scroll(function() {\n var scroll = $(window).scrollTop();\n if (scroll >= 20) {\n $('.home-two-nav').addClass('nav-two-bg');\n }\n if (scroll === 0) {\n $('.home-two-nav').removeClass('nav-two-bg');\n }\n });\n\n $(window).scroll(function() {\n var scroll = $(window).scrollTop();\n if (scroll >= 20) {\n $('.single-post-nav').addClass('nav-two-bg');\n }\n if (scroll === 0) {\n $('.single-post-nav').removeClass('nav-two-bg');\n }\n });\n\n // Elements page sidevar menu sticky\n $(window).scroll(function() {\n if (\n $(this).scrollTop() >\n $(document).height() - $('.rq-footer').height() - $(window).height()\n ) {\n $('#elements-menu').css('visibility', 'hidden');\n } else {\n $('#elements-menu').css('visibility', 'visible');\n }\n });\n\n // Footer toggle widget\n $('.toggle-widget').on('click', function() {\n $('.footer-widget').slideToggle(300);\n $(this).toggleClass('active');\n });\n\n // Range sdlier jquery ui\n $('#slider-range').slider({\n range: true,\n min: 0,\n max: 500,\n values: [75, 300],\n slide(event, ui) {\n $('#amount').val('$' + ui.values[0] + ' - $' + ui.values[1]);\n },\n });\n $('#amount').val(\n '$' +\n $('#slider-range').slider('values', 0) +\n ' - $' +\n $('#slider-range').slider('values', 1)\n );\n\n // Nice scroll plugin customizatin\n $('.child-tab-wrapper .nav-tabs').niceScroll({\n scrollspeed: 10,\n mousescrollstep: 100,\n autohidemode: true,\n cursorcolor: '#0a252e',\n background: '#efeeee',\n cursorborderradius: 3,\n cursorborder: 0,\n });\n $('.rq-listing-choose.rq-listing-list-two .listing-single').niceScroll({});\n\n // Custom select box\n $('.rq-home-search select').select2();\n $('.rq-cart-options-content select').select2();\n\n // faq accordion\n $('.faq-single .hidden-content').hide();\n $('.faq-single').on('click', 'a.faq-title', function(e) {\n e.preventDefault();\n const item = $(this);\n const row = item.next('p.hidden-content');\n const contentHide = $('p.hidden-content');\n const titleHide = $('a.faq-title');\n\n if (item.hasClass('active') !== false) {\n contentHide.slideUp();\n item.removeClass('active');\n } else {\n titleHide.removeClass('active');\n item.toggleClass('active');\n contentHide.slideUp();\n row.slideToggle();\n }\n });\n\n // owl carousel\n $('.owl-loop').owlCarousel({\n center: true,\n items: 1,\n loop: true,\n nav: true,\n navText: ['', ''],\n margin: 20,\n responsive: {\n 600: {\n items: 1,\n },\n 1000: {\n items: 3,\n },\n 1400: {\n items: 5,\n },\n },\n });\n\n $('.details-slider').owlCarousel({\n center: true,\n items: 1,\n loop: $('.item').length > 1 ? true : false,\n nav: true,\n autoHeight: false,\n lazyLoad: true,\n navText: ['', ''],\n });\n\n $(window).on('resize', function() {\n let $owlCar = jQuery('.details-slider');\n\n $owlCar.trigger('destroy.owl.carousel');\n $owlCar\n .html($owlCar.find('.owl-stage-outer').html())\n .removeClass('owl-loaded');\n $owlCar.owlCarousel({\n center: true,\n items: 1,\n loop: $('.item').length > 1 ? true : false,\n nav: true,\n autoHeight: false,\n lazyLoad: true,\n navText: ['', ''],\n });\n });\n\n $('.details-slider-data').owlCarousel({\n center: true,\n items: 1,\n loop: true,\n });\n\n $('.testimonial-wrapper').owlCarousel({\n center: true,\n items: 1,\n loop: true,\n autoplay: true,\n nav: false,\n lazyLoad: true,\n navText: ['', ''],\n margin: 20,\n });\n\n $('.testimonial-wrapper-two').owlCarousel({\n center: true,\n items: 3,\n loop: true,\n autoplay: true,\n nav: true,\n lazyLoad: true,\n margin: 40,\n navText: [\n \"\",\n \"\",\n ],\n responsive: {\n 0: {\n center: false,\n items: 1,\n },\n 480: {\n center: false,\n items: 2,\n margin: 27,\n },\n 1024: {\n items: 3,\n },\n },\n });\n\n $('.testimonial-wrapper-three').owlCarousel({\n center: true,\n items: 1,\n loop: true,\n autoplay: true,\n nav: false,\n dots: true,\n dotsData: true,\n lazyLoad: true,\n margin: 40,\n responsive: {\n 0: {\n center: false,\n items: 1,\n },\n 480: {\n center: false,\n items: 1,\n margin: 27,\n },\n 1024: {\n items: 1,\n },\n },\n });\n\n $('.rq-feature-product-block .related-products').owlCarousel({\n loop: true,\n autoplay: false,\n nav: true,\n dots: false,\n margin: 20,\n navText: [\n \"\",\n \"\",\n ],\n responsive: {\n 0: {\n center: false,\n items: 2,\n },\n 992: {\n items: 3,\n },\n },\n });\n\n var arrowHeight = function() {\n jQuery(\n '.testimonial-wrapper-two .owl-next, .testimonial-wrapper-two .owl-prev'\n ).css({\n width: $('.owl-item').width() + 'px',\n height: $('.owl-item').height() + 'px',\n });\n };\n setTimeout(arrowHeight);\n\n // responsive video\n $('.post-content').fitVids();\n\n //Footer stay bottom\n $(document).ready(function() {\n var header_height = $('nav.navbar').outerHeight();\n var footer_height = $('footer').outerHeight();\n var desired_content_height =\n $(window).height() - header_height - footer_height - 0;\n $('.rq-page-content').css('min-height', desired_content_height);\n });\n});\n\n\n\n// WEBPACK FOOTER //\n// ./assets/src/js/scripts.js"],"sourceRoot":""}