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K,gBAuB3Bb,EAAO1I,iBAAiB,SARxB,WAEI2I,EAAYa,SAAS,CACjBC,IAAK,EACLC,SAAU,UAElB,IAGAzK,SAASe,iBAAiB,UArB1B,WAEI,IAAI2J,EAAchB,EAAYiB,aAAejB,EAAY3H,aACrD2H,EAAYkB,UAAYF,EALhB,GAORjB,EAAOhJ,UAAUe,IAAI,mBAGrBiI,EAAOhJ,UAAUqB,OAAO,kBAEhC,IAiBG,WAIH,IAFA,IAAM+I,EAAO7K,SAASC,iBAAiB,SAE9BzB,EAAI,EAAGA,EAAIqM,EAAKlM,OAAOH,IAChC,CACI,GAAAU,EAAY2L,GACGA,EAAKrM,GAAGsM,mBACdxK,MAAMyK,QAAU,uDAE7B,CACJ,CChEAC,GDqEO,WAIH,IAFA,IAAMC,EAAiBjL,SAASC,iBAAiB,uBAExCzB,EAAI,EAAGA,EAAIyM,EAAetM,OAAOH,IAC1C,CACI,IAAIyF,EAAOgH,EAAezM,GAAGsM,mBAExB7G,IACDA,EAAK3D,MAAMyK,QAAU,mBAE7B,CACJ,CChFAC,GDqFO,WAIH,IAFA,IAAME,EAAOlL,SAASmL,qBAAqB,MAElC3M,EAAI,EAAGA,EAAI0M,EAAKvM,OAAOH,IAChC,CACI,IAAIyF,EAAOiH,EAAK1M,GAAGsM,mBAMG,OAAjB7G,EAAKmH,UACNnH,EAAK3D,MAAMyK,QAAU,gBAE7B,CACJ,CCpGAC,E","sources":["webpack://abu-islam/./src/js/libs/accordion/accordion-init.js","webpack://abu-islam/./src/js/libs/accordion/handy-collapse.js","webpack://abu-islam/./src/js/libs/accordion/jquery.navgoco.min.js","webpack://abu-islam/./src/js/libs/hijrah-date.js","webpack://abu-islam/webpack/bootstrap","webpack://abu-islam/./src/js/modules/functions.js","webpack://abu-islam/./src/js/app.js"],"sourcesContent":["(function ($) {\r\n 'use strict';\r\n\r\n $('.categories__accordion').each(function () {\r\n var accordion = $(this).data('accordion'),\r\n indicator_icon = $(this).data('indicator_icon'),\r\n iconclass = $(this).data('iconclass'),\r\n caretHtml = '';\r\n\r\n if (iconclass) {\r\n caretHtml = '';\r\n } else {\r\n caretHtml = indicator_icon;\r\n }\r\n\r\n $(this)\r\n .find('.categories')\r\n .navgoco({\r\n caretHtml: caretHtml,\r\n accordion: accordion,\r\n openClass: 'is__active',\r\n save: true,\r\n cookie: {\r\n name: 'navgoco',\r\n expires: false,\r\n path: '/',\r\n },\r\n slide: {\r\n duration: 400,\r\n easing: 'swing',\r\n },\r\n });\r\n });\r\n\r\n /**\r\n * Accordion init on Elementor Editor\r\n * @param $scope The Widget 4-wrapper element as a jQuery element\r\n * @param $ The jQuery alias\r\n */\r\n\r\n var WpbCategoryMenuAccordion = function ($scope, $test) {\r\n var $_accordion_wrapper = $scope.find('.categories__accordion');\r\n\r\n $_accordion_wrapper.each(function () {\r\n var accordion = $(this).data('accordion'),\r\n indicator_icon = $(this).data('indicator_icon'),\r\n iconclass = $(this).data('iconclass'),\r\n caretHtml = '';\r\n\r\n if (iconclass) {\r\n caretHtml = '';\r\n } else {\r\n caretHtml = indicator_icon;\r\n }\r\n\r\n $(this)\r\n .find('.categories')\r\n .navgoco({\r\n caretHtml: caretHtml,\r\n accordion: accordion,\r\n openClass: 'wpb-submenu-indicator-minus',\r\n save: true,\r\n cookie: {\r\n name: 'navgoco',\r\n expires: false,\r\n path: '/',\r\n },\r\n slide: {\r\n duration: 400,\r\n easing: 'swing',\r\n },\r\n });\r\n });\r\n };\r\n\r\n // Run this code under Elementor.\r\n $(window).on('elementor/frontend/init', function () {\r\n elementorFrontend.hooks.addAction(\r\n 'frontend/element_ready/wpb-accordion-categories.default',\r\n WpbCategoryMenuAccordion\r\n );\r\n elementorFrontend.hooks.addAction(\r\n 'frontend/element_ready/wpb-accordion-menu.default',\r\n WpbCategoryMenuAccordion\r\n );\r\n });\r\n})(jQuery);\r\n","(() => {\r\n 'use strict';\r\n var t = function () {\r\n return (t =\r\n Object.assign ||\r\n function (t) {\r\n for (var e, i = 1, n = arguments.length; i < n; i++)\r\n for (var o in (e = arguments[i]))\r\n Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);\r\n return t;\r\n }).apply(this, arguments);\r\n };\r\n const e = (function () {\r\n function e(e) {\r\n void 0 === e && (e = {}), (this.itemsState = {});\r\n var i = 'object' == typeof e && 'nameSpace' in e ? e.nameSpace : 'hc',\r\n n = {\r\n nameSpace: 'hc',\r\n toggleButtonAttr: 'data-' + i + '-control',\r\n toggleContentAttr: 'data-' + i + '-content',\r\n activeClass: 'is-active',\r\n isAnimation: !0,\r\n closeOthers: !0,\r\n animationSpeed: 400,\r\n cssEasing: 'ease-in-out',\r\n onSlideStart: function () {},\r\n onSlideEnd: function () {},\r\n };\r\n (this.options = t(t({}, n), e)),\r\n (this.toggleContentEls = [].slice.call(\r\n document.querySelectorAll('[' + this.options.toggleContentAttr + ']')\r\n )),\r\n (this.toggleButtonEls = [].slice.call(\r\n document.querySelectorAll('[' + this.options.toggleButtonAttr + ']')\r\n )),\r\n 0 !== this.toggleContentEls.length &&\r\n this.initContentsState(this.toggleContentEls),\r\n 0 !== this.toggleButtonEls.length &&\r\n this.handleButtonsEvent(this.toggleButtonEls);\r\n }\r\n return (\r\n (e.prototype.initContentsState = function (t) {\r\n var e = this;\r\n (this.itemsState = {}),\r\n t.forEach(function (t) {\r\n (t.style.overflow = 'hidden'), (t.style.maxHeight = 'none');\r\n var i = t.classList.contains(e.options.activeClass),\r\n n = t.getAttribute(e.options.toggleContentAttr);\r\n n &&\r\n (e.setItemState(n, i),\r\n i ? e.open(n, !1, !1) : e.close(n, !1, !1));\r\n });\r\n }),\r\n (e.prototype.handleButtonsEvent = function (t) {\r\n var e = this;\r\n t.forEach(function (t) {\r\n var i = t.getAttribute(e.options.toggleButtonAttr);\r\n i &&\r\n t.addEventListener(\r\n 'click',\r\n function (t) {\r\n t.preventDefault(), e.toggleSlide(i, !0);\r\n },\r\n !1\r\n );\r\n });\r\n }),\r\n (e.prototype.setItemState = function (t, e) {\r\n this.itemsState[t] = { isOpen: e, isAnimating: !1 };\r\n }),\r\n (e.prototype.toggleSlide = function (t, e) {\r\n var i, n;\r\n void 0 === e && (e = !0),\r\n (null === (i = this.itemsState[t]) || void 0 === i\r\n ? void 0\r\n : i.isAnimating) ||\r\n (!1 ===\r\n (null === (n = this.itemsState[t]) || void 0 === n\r\n ? void 0\r\n : n.isOpen)\r\n ? this.open(t, e, this.options.isAnimation)\r\n : this.close(t, e, this.options.isAnimation));\r\n }),\r\n (e.prototype.open = function (t, e, i) {\r\n var n = this;\r\n if ((void 0 === e && (e = !0), void 0 === i && (i = !0), t)) {\r\n Object.prototype.hasOwnProperty.call(this.itemsState, t) ||\r\n this.setItemState(t, !1);\r\n var o = document.querySelector(\r\n '[' + this.options.toggleContentAttr + \"='\" + t + \"']\"\r\n );\r\n if (o) {\r\n (this.itemsState[t].isAnimating = !0),\r\n this.options.closeOthers &&\r\n [].slice.call(this.toggleContentEls).forEach(function (e) {\r\n var o = e.getAttribute(n.options.toggleContentAttr);\r\n o && o !== t && n.close(o, !1, i);\r\n }),\r\n !1 !== e && this.options.onSlideStart(!0, t);\r\n var s = this.getTargetHeight(o);\r\n (o.style.visibility = 'visible'),\r\n o.classList.add(this.options.activeClass);\r\n var a = document.querySelectorAll(\r\n '[' + this.options.toggleButtonAttr + \"='\" + t + \"']\"\r\n );\r\n a.length > 0 &&\r\n [].slice.call(a).forEach(function (t) {\r\n t.classList.add(n.options.activeClass),\r\n t.hasAttribute('aria-expanded') &&\r\n t.setAttribute('aria-expanded', 'true');\r\n }),\r\n i\r\n ? ((o.style.overflow = 'hidden'),\r\n (o.style.transition =\r\n this.options.animationSpeed +\r\n 'ms ' +\r\n this.options.cssEasing),\r\n (o.style.maxHeight = (s || '1000') + 'px'),\r\n setTimeout(function () {\r\n !1 !== e && n.options.onSlideEnd(!0, t),\r\n (o.style.maxHeight = 'none'),\r\n (o.style.transition = ''),\r\n (o.style.overflow = ''),\r\n (n.itemsState[t].isAnimating = !1);\r\n }, this.options.animationSpeed))\r\n : ((o.style.maxHeight = 'none'),\r\n (o.style.overflow = ''),\r\n (this.itemsState[t].isAnimating = !1)),\r\n (this.itemsState[t].isOpen = !0),\r\n o.hasAttribute('aria-hidden') &&\r\n o.setAttribute('aria-hidden', 'false');\r\n }\r\n }\r\n }),\r\n (e.prototype.close = function (t, e, i) {\r\n var n = this;\r\n if ((void 0 === e && (e = !0), void 0 === i && (i = !0), t)) {\r\n Object.prototype.hasOwnProperty.call(this.itemsState, t) ||\r\n this.setItemState(t, !1),\r\n (this.itemsState[t].isAnimating = !0),\r\n !1 !== e && this.options.onSlideStart(!1, t);\r\n var o = document.querySelector(\r\n '[' + this.options.toggleContentAttr + \"='\" + t + \"']\"\r\n );\r\n (o.style.overflow = 'hidden'),\r\n o.classList.remove(this.options.activeClass),\r\n (o.style.maxHeight = o.clientHeight + 'px'),\r\n setTimeout(function () {\r\n o.style.maxHeight = '0px';\r\n }, 5);\r\n var s = document.querySelectorAll(\r\n '[' + this.options.toggleButtonAttr + \"='\" + t + \"']\"\r\n );\r\n s.length > 0 &&\r\n [].slice.call(s).forEach(function (t) {\r\n t.classList.remove(n.options.activeClass),\r\n t.hasAttribute('aria-expanded') &&\r\n t.setAttribute('aria-expanded', 'false');\r\n }),\r\n i\r\n ? ((o.style.transition =\r\n this.options.animationSpeed + 'ms ' + this.options.cssEasing),\r\n setTimeout(function () {\r\n !1 !== e && n.options.onSlideEnd(!1, t),\r\n (o.style.transition = ''),\r\n (n.itemsState[t].isAnimating = !1),\r\n (o.style.visibility = 'hidden');\r\n }, this.options.animationSpeed))\r\n : (this.options.onSlideEnd(!1, t),\r\n (this.itemsState[t].isAnimating = !1),\r\n (o.style.visibility = 'hidden')),\r\n Object.prototype.hasOwnProperty.call(this.itemsState, t) &&\r\n (this.itemsState[t].isOpen = !1),\r\n o.hasAttribute('aria-hidden') &&\r\n o.setAttribute('aria-hidden', 'true');\r\n }\r\n }),\r\n (e.prototype.getTargetHeight = function (t) {\r\n if (t) {\r\n var e = t.cloneNode(!0),\r\n i = t.parentNode;\r\n if (i) {\r\n var n = [].slice.call(e.querySelectorAll('input[name]'));\r\n if (0 !== n.length) {\r\n var o = '-' + new Date().getTime();\r\n n.forEach(function (t) {\r\n t.name += o;\r\n });\r\n }\r\n (e.style.maxHeight = 'none'),\r\n (e.style.opacity = '0'),\r\n i.appendChild(e);\r\n var s = e.clientHeight;\r\n return i.removeChild(e), s;\r\n }\r\n }\r\n }),\r\n e\r\n );\r\n })();\r\n window.HandyCollapse = e;\r\n})();\r\n","/*\r\n * jQuery Navgoco Menus Plugin v0.2.1 (2014-04-11)\r\n * https://github.com/tefra/navgoco\r\n *\r\n * Copyright (c) 2014 Chris T (@tefra)\r\n * BSD - https://github.com/tefra/navgoco/blob/master/LICENSE-BSD\r\n */\r\n(function ($) {\r\n 'use strict';\r\n\r\n /**\r\n * Plugin Constructor. Every menu must have a unique id which will either\r\n * be the actual id attribute or its index in the page.\r\n *\r\n * @param {Element} el\r\n * @param {Object} options\r\n * @param {Integer} idx\r\n * @returns {Object} Plugin Instance\r\n */\r\n var Plugin = function (el, options, idx) {\r\n this.el = el;\r\n this.$el = $(el);\r\n this.options = options;\r\n this.uuid = this.$el.attr('id') ? this.$el.attr('id') : idx;\r\n this.state = {};\r\n this.init();\r\n return this;\r\n };\r\n\r\n /**\r\n * Plugin methods\r\n */\r\n Plugin.prototype = {\r\n /**\r\n * Load cookie, assign a unique data-index attribute to\r\n * all sub-menus and show|hide them according to cookie\r\n * or based on the parent open class. Find all parent li > a\r\n * links add the carent if it's on and attach the event click\r\n * to them.\r\n */\r\n init: function () {\r\n var self = this;\r\n self._load();\r\n self.$el.find('ul').each(function (idx) {\r\n var sub = $(this);\r\n sub.attr('data-index', idx);\r\n if (self.options.save && self.state.hasOwnProperty(idx)) {\r\n sub.parent().addClass(self.options.openClass);\r\n sub.show();\r\n } else if (sub.parent().hasClass(self.options.openClass)) {\r\n sub.show();\r\n self.state[idx] = 1;\r\n } else {\r\n sub.hide();\r\n }\r\n });\r\n\r\n var caret = $(\r\n ''\r\n ).prepend(self.options.caretHtml);\r\n var links = self.$el.find('div > a');\r\n self._trigger(caret, false);\r\n self._trigger(links, true);\r\n self.$el.find('div:has(ul) > a').append(caret);\r\n },\r\n /**\r\n * Add the main event trigger to toggle menu items to the given sources\r\n * @param {Element} sources\r\n * @param {Boolean} isLink\r\n */\r\n _trigger: function (sources, isLink) {\r\n var self = this;\r\n sources.on('click', function (event) {\r\n event.stopPropagation();\r\n var sub = isLink ? $(this).next() : $(this).parent().next();\r\n // console.log(sub);\r\n var isAnchor = false;\r\n if (isLink) {\r\n var href = $(this).attr('href');\r\n isAnchor = href === undefined || href === '' || href === '#';\r\n }\r\n sub = sub.length > 0 ? sub : false;\r\n self.options.onClickBefore.call(this, event, sub);\r\n\r\n if (!isLink || (sub && isAnchor)) {\r\n event.preventDefault();\r\n self._toggle(sub, sub.is(':hidden'));\r\n self._save();\r\n } else if (self.options.accordion) {\r\n var allowed = (self.state = self._parents($(this)));\r\n self.$el\r\n .find('ul')\r\n .filter(':visible')\r\n .each(function () {\r\n var sub = $(this),\r\n idx = sub.attr('data-index');\r\n\r\n if (!allowed.hasOwnProperty(idx)) {\r\n self._toggle(sub, false);\r\n }\r\n });\r\n self._save();\r\n }\r\n self.options.onClickAfter.call(this, event, sub);\r\n });\r\n },\r\n /**\r\n * Accepts a JQuery Element and a boolean flag. If flag is false it removes the `open` css\r\n * class from the parent li and slides up the sub-menu. If flag is open it adds the `open`\r\n * css class to the parent li and slides down the menu. If accordion mode is on all\r\n * sub-menus except the direct parent tree will close. Internally an object with the menus\r\n * states is maintained for later save duty.\r\n *\r\n * @param {Element} sub\r\n * @param {Boolean} open\r\n */\r\n _toggle: function (sub, open) {\r\n var self = this,\r\n idx = sub.attr('data-index'),\r\n parent = sub.parent(),\r\n active_link_class = 'is__active',\r\n active_link = parent\r\n .find('.category__link')\r\n .first()\r\n .toggleClass(active_link_class);\r\n // console.log(\r\n // parent.find('.category__link').first().toggleClass(active_link)\r\n // );\r\n\r\n self.options.onToggleBefore.call(this, sub, open);\r\n if (open) {\r\n parent.addClass(self.options.openClass);\r\n active_link;\r\n sub.slideDown(self.options.slide);\r\n self.state[idx] = 1;\r\n\r\n if (self.options.accordion) {\r\n var allowed = (self.state = self._parents(sub));\r\n allowed[idx] = self.state[idx] = 1;\r\n\r\n self.$el\r\n .find('ul')\r\n .filter(':visible')\r\n .each(function () {\r\n var sub = $(this),\r\n idx = sub.attr('data-index');\r\n\r\n if (!allowed.hasOwnProperty(idx)) {\r\n self._toggle(sub, false);\r\n }\r\n });\r\n }\r\n } else {\r\n parent.removeClass(self.options.openClass);\r\n sub.slideUp(self.options.slide);\r\n self.state[idx] = 0;\r\n }\r\n self.options.onToggleAfter.call(this, sub, open);\r\n },\r\n /**\r\n * Returns all parents of a sub-menu. When obj is true It returns an object with indexes for\r\n * keys and the elements as values, if obj is false the object is filled with the value `1`.\r\n *\r\n * @since v0.1.2\r\n * @param {Element} sub\r\n * @param {Boolean} obj\r\n * @returns {Object}\r\n */\r\n _parents: function (sub, obj) {\r\n var result = {},\r\n parent = sub.parent(),\r\n parents = parent.parents('ul');\r\n\r\n parents.each(function () {\r\n var par = $(this),\r\n idx = par.attr('data-index');\r\n\r\n if (!idx) {\r\n return false;\r\n }\r\n result[idx] = obj ? par : 1;\r\n });\r\n return result;\r\n },\r\n /**\r\n * If `save` option is on the internal object that keeps track of the sub-menus states is\r\n * saved with a cookie. For size reasons only the open sub-menus indexes are stored.\t\t *\r\n */\r\n _save: function () {\r\n if (this.options.save) {\r\n var save = {};\r\n for (var key in this.state) {\r\n if (this.state[key] === 1) {\r\n save[key] = 1;\r\n }\r\n }\r\n cookie[this.uuid] = this.state = save;\r\n $.cookie(\r\n this.options.cookie.name,\r\n JSON.stringify(cookie),\r\n this.options.cookie\r\n );\r\n }\r\n },\r\n /**\r\n * If `save` option is on it reads the cookie data. The cookie contains data for all\r\n * navgoco menus so the read happens only once and stored in the global `cookie` var.\r\n */\r\n _load: function () {\r\n if (this.options.save) {\r\n if (cookie === null) {\r\n var data = $.cookie(this.options.cookie.name);\r\n cookie = data ? JSON.parse(data) : {};\r\n }\r\n this.state = cookie.hasOwnProperty(this.uuid) ? cookie[this.uuid] : {};\r\n }\r\n },\r\n /**\r\n * Public method toggle to manually show|hide sub-menus. If no indexes are provided all\r\n * items will be toggled. You can pass sub-menus indexes as regular params. eg:\r\n * navgoco('toggle', true, 1, 2, 3, 4, 5);\r\n *\r\n * Since v0.1.2 it will also open parents when providing sub-menu indexes.\r\n *\r\n * @param {Boolean} open\r\n */\r\n toggle: function (open) {\r\n var self = this,\r\n length = arguments.length;\r\n\r\n if (length <= 1) {\r\n self.$el.find('ul').each(function () {\r\n var sub = $(this);\r\n self._toggle(sub, open);\r\n });\r\n } else {\r\n var idx,\r\n list = {},\r\n args = Array.prototype.slice.call(arguments, 1);\r\n length--;\r\n\r\n for (var i = 0; i < length; i++) {\r\n idx = args[i];\r\n var sub = self.$el.find('ul[data-index=\"' + idx + '\"]').first();\r\n if (sub) {\r\n list[idx] = sub;\r\n if (open) {\r\n var parents = self._parents(sub, true);\r\n for (var pIdx in parents) {\r\n if (!list.hasOwnProperty(pIdx)) {\r\n list[pIdx] = parents[pIdx];\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n for (idx in list) {\r\n self._toggle(list[idx], open);\r\n }\r\n }\r\n self._save();\r\n },\r\n /**\r\n * Removes instance from JQuery data cache and unbinds events.\r\n */\r\n destroy: function () {\r\n $.removeData(this.$el);\r\n this.$el.find('li:has(ul) > a').unbind('click');\r\n this.$el.find('li:has(ul) > a > span').unbind('click');\r\n },\r\n };\r\n\r\n /**\r\n * A JQuery plugin 4-wrapper for navgoco. It prevents from multiple instances and also handles\r\n * public methods calls. If we attempt to call a public method on an element that doesn't have\r\n * a navgoco instance, one will be created for it with the default options.\r\n *\r\n * @param {Object|String} options\r\n */\r\n $.fn.navgoco = function (options) {\r\n if (\r\n typeof options === 'string' &&\r\n options.charAt(0) !== '_' &&\r\n options !== 'init'\r\n ) {\r\n var callback = true,\r\n args = Array.prototype.slice.call(arguments, 1);\r\n } else {\r\n options = $.extend({}, $.fn.navgoco.defaults, options || {});\r\n if (!$.cookie) {\r\n options.save = false;\r\n }\r\n }\r\n return this.each(function (idx) {\r\n var $this = $(this),\r\n obj = $this.data('navgoco');\r\n\r\n if (!obj) {\r\n obj = new Plugin(this, callback ? $.fn.navgoco.defaults : options, idx);\r\n $this.data('navgoco', obj);\r\n }\r\n if (callback) {\r\n obj[options].apply(obj, args);\r\n }\r\n });\r\n };\r\n /**\r\n * Global var holding all navgoco menus open states\r\n *\r\n * @type {Object}\r\n */\r\n var cookie = null;\r\n\r\n /**\r\n * Default navgoco options\r\n *\r\n * @type {Object}\r\n */\r\n $.fn.navgoco.defaults = {\r\n caretHtml: '',\r\n accordion: false,\r\n openClass: 'open',\r\n save: true,\r\n cookie: {\r\n name: 'navgoco',\r\n expires: false,\r\n path: '/',\r\n },\r\n slide: {\r\n duration: 400,\r\n easing: 'swing',\r\n },\r\n onClickBefore: $.noop,\r\n onClickAfter: $.noop,\r\n onToggleBefore: $.noop,\r\n onToggleAfter: $.noop,\r\n };\r\n})(jQuery);\r\n","/**\r\n * Hijri date calculation\r\n * License\r\n * https://www.al-habib.info/islamic-calendar/hijricalendartext.htm\r\n *\r\n * @package Al-Burhan\r\n */\r\n\r\nfunction gmod(n, m) {\r\n return ((n % m) + m) % m;\r\n}\r\n\r\nfunction kuwaitiCalendar(adjust) {\r\n\r\n let today = new Date(),\r\n adjustMili,\r\n todayMili;\r\n\r\n if (adjust) {\r\n adjustMili = 1000 * 60 * 60 * 24 * adjust;\r\n todayMili = today.getTime() + adjustMili;\r\n today = new Date(todayMili);\r\n }\r\n\r\n let day = today.getDate(),\r\n month = today.getMonth(),\r\n year = today.getFullYear(),\r\n m = month + 1,\r\n y = year;\r\n\r\n if (m < 3) {\r\n y -= 1;\r\n m += 12;\r\n }\r\n\r\n let a = Math.floor(y / 100),\r\n b = 2 - a + Math.floor(a / 4);\r\n\r\n if (y < 1583) b = 0;\r\n if (y === 1582) {\r\n if (m > 10) b = -10;\r\n if (m === 10) {\r\n b = 0;\r\n if (day > 4) b = -10;\r\n }\r\n }\r\n\r\n let jd =\r\n Math.floor(365.25 * (y + 4716)) +\r\n Math.floor(30.6001 * (m + 1)) +\r\n day +\r\n b -\r\n 1524;\r\n\r\n b = 0;\r\n\r\n if (jd > 2299160) {\r\n a = Math.floor((jd - 1867216.25) / 36524.25);\r\n b = 1 + a - Math.floor(a / 4);\r\n }\r\n\r\n let bb = jd + b + 1524,\r\n cc = Math.floor((bb - 122.1) / 365.25),\r\n dd = Math.floor(365.25 * cc),\r\n ee = Math.floor((bb - dd) / 30.6001);\r\n\r\n day = bb - dd - Math.floor(30.6001 * ee);\r\n\r\n month = ee - 1;\r\n\r\n if (ee > 13) {\r\n cc += 1;\r\n month = ee - 13;\r\n }\r\n\r\n year = cc - 4716;\r\n\r\n let wd;\r\n\r\n if (adjust) {\r\n wd = gmod(jd + 1 - adjust, 7) + 1;\r\n } else {\r\n wd = gmod(jd + 1, 7) + 1;\r\n }\r\n\r\n let iYear = 10631 / 30,\r\n epochAstro = 1948084,\r\n // epochCivil = 1948085,\r\n\r\n shift1 = 8.01 / 60,\r\n\r\n z = jd - epochAstro,\r\n cyc = Math.floor(z / 10631);\r\n\r\n z = z - 10631 * cyc;\r\n\r\n let j = Math.floor((z - shift1) / iYear),\r\n iy = 30 * cyc + j;\r\n\r\n z = z - Math.floor(j * iYear + shift1);\r\n\r\n let im = Math.floor((z + 28.5001) / 29.5);\r\n\r\n if (im === 13) im = 12;\r\n\r\n let id = z - Math.floor(29.5001 * im - 29),\r\n\r\n myRes = new Array(8);\r\n\r\n myRes[0] = day; //calculated day (CE)\r\n myRes[1] = month - 1; //calculated month (CE)\r\n myRes[2] = year; //calculated year (CE)\r\n myRes[3] = jd - 1; //julian day number\r\n myRes[4] = wd - 1; //weekday number\r\n myRes[5] = id; //islamic date\r\n myRes[6] = im - 1; //islamic month\r\n myRes[7] = iy; //islamic year\r\n\r\n return myRes;\r\n}\r\n\r\nfunction writeIslamicDate(adjustment) {\r\n let wdNames = [\r\n 'Воскресенье',\r\n 'Понедельник',\r\n 'Вторник',\r\n 'Среда',\r\n 'Четверг',\r\n \"Джум'а\",\r\n 'Суббота'\r\n ];\r\n let iMonthNames = [\r\n 'Мухаррам',\r\n 'Сафар',\r\n \"Раби'уль-Аууаль\",\r\n \"Раби'уль-Ахир\",\r\n 'Джумадаль-Уля',\r\n 'Джумадаль-Ахира',\r\n 'Раджаб',\r\n \"Ша'абан\",\r\n 'Рамадан',\r\n 'Шаууаль',\r\n \"Зуль-Ка'ада\",\r\n 'Зуль-Хиджа'\r\n ];\r\n\r\n let iDate = kuwaitiCalendar(adjustment);\r\n return iDate[5] + ' ' + iMonthNames[iDate[6]] + ', ' + iDate[7];\r\n}\r\n\r\n/**\r\n * Get the date\r\n * @param adjustment\r\n * @returns {string}\r\n */\r\n// function getHijriDate(adjustment) {\r\n// return document.getElementById('ai__hijri').textContent = writeIslamicDate(adjustment);\r\n// }\r\n// getHijriDate(0); // date correction - 0 current, 1 add one day, -1 remove one day\r\n\r\nfunction getHijriDate( adjustment ) {\r\n return writeIslamicDate( adjustment );\r\n}\r\nconst hijriDate = document.getElementById(\"hijri-date\");\r\nhijriDate.textContent = getHijriDate( AbuIslamVars.hijri_adjustment );\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/**\r\n * Copyright\r\n */\r\nexport function copyrightLink() {\r\n\r\n const addCopyrightLink = () => {\r\n //Get the selected text and append the extra info\r\n let selection = window.getSelection();\r\n let page_link = '...

Подробнее:
© ' + document.location.href;\r\n let copy_text = '\"' + selection + '\"' + page_link;\r\n //Create a new div to hold the prepared text\r\n let new_div = document.createElement('div');\r\n //hide the newly created container\r\n new_div.style.position = 'absolute';\r\n new_div.style.left = '-99999px';\r\n //insert the container, fill it with the extended text, and define the new selection\r\n document.body.appendChild(new_div);\r\n new_div.innerHTML = copy_text;\r\n selection.selectAllChildren(new_div);\r\n window.setTimeout(function () {\r\n document.body.removeChild(new_div);\r\n }, 100);\r\n };\r\n document.addEventListener('copy', addCopyrightLink);\r\n}\r\n\r\n/**\r\n * Scroll to top button\r\n */\r\nexport function scrollToTopBtn() {\r\n const button = document.querySelector('.toTop__btn'),\r\n rootElement = document.documentElement,\r\n showBtnAt = 0.1;\r\n\r\n function handleScroll() {\r\n // do something on scroll\r\n let scrollTotal = rootElement.scrollHeight - rootElement.clientHeight;\r\n if (rootElement.scrollTop / scrollTotal > showBtnAt) {\r\n //show button\r\n button.classList.add('toTop__btn_show');\r\n } else {\r\n //hide button\r\n button.classList.remove('toTop__btn_show');\r\n }\r\n }\r\n\r\n function scrollToTop() {\r\n //scroll to top logic\r\n rootElement.scrollTo({\r\n top: 0,\r\n behavior: 'smooth',\r\n });\r\n }\r\n\r\n button.addEventListener('click', scrollToTop);\r\n document.addEventListener('scroll', handleScroll);\r\n}\r\n\r\n/**\r\n * ِAdding the same color (css styles) to next item after ayat\r\n */\r\nexport function addColorToNextAfterAyat() {\r\n\r\n const ayat = document.querySelectorAll(\".ayat\");\r\n\r\n for( let i = 0; i < ayat.length;i++ )\r\n {\r\n if ( typeof ayat) {\r\n let next = ayat[i].nextElementSibling;\r\n next.style.cssText = 'color: #015958; font-size: 16px; letter-spacing: 1px;';\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * ِAdding css styles to item if it comes after audio shortcode\r\n */\r\nexport function addMarginToNextAfterAudioShortcode() {\r\n\r\n const audioShortcode = document.querySelectorAll(\".wp-audio-shortcode\");\r\n\r\n for( let i = 0; i < audioShortcode.length;i++ )\r\n {\r\n let next = audioShortcode[i].nextElementSibling;\r\n\r\n if ( next ) {\r\n next.style.cssText = 'margin-top: 30px';\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * ِAdding css styles to item if it comes after audio shortcode\r\n */\r\nexport function removePadding() {\r\n\r\n const hTwo = document.getElementsByTagName(\"h2\");\r\n\r\n for( let i = 0; i < hTwo.length;i++ )\r\n {\r\n let next = hTwo[i].nextElementSibling;\r\n // next.style.cssText = 'padding-top:0';\r\n // console.log(next)\r\n // console.log(next.tagName)\r\n // console.log(next.nodeName)\r\n\r\n if ( next.tagName === 'H3' ) {\r\n next.style.cssText = 'padding-top:0';\r\n }\r\n }\r\n}\r\n","// Libs scripts\r\nimport './libs/index';\r\n\r\n// Custom Functions\r\nimport * as customFunctions from \"./modules/functions\"\r\n\r\ncustomFunctions.copyrightLink();\r\ncustomFunctions.scrollToTopBtn();\r\ncustomFunctions.addColorToNextAfterAyat();\r\ncustomFunctions.addMarginToNextAfterAudioShortcode();\r\ncustomFunctions.removePadding();\r\n\r\n// Theme Styles\r\nimport '../scss/app.scss';\r\n\r\n"],"names":["$","each","accordion","this","data","indicator_icon","iconclass","caretHtml","find","navgoco","openClass","save","cookie","name","expires","path","slide","duration","easing","WpbCategoryMenuAccordion","$scope","$test","window","on","elementorFrontend","hooks","addAction","jQuery","t","Object","assign","e","i","n","arguments","length","o","prototype","hasOwnProperty","call","apply","itemsState","_typeof","nameSpace","toggleButtonAttr","toggleContentAttr","activeClass","isAnimation","closeOthers","animationSpeed","cssEasing","onSlideStart","onSlideEnd","options","toggleContentEls","slice","document","querySelectorAll","toggleButtonEls","initContentsState","handleButtonsEvent","forEach","style","overflow","maxHeight","classList","contains","getAttribute","setItemState","open","close","addEventListener","preventDefault","toggleSlide","isOpen","isAnimating","querySelector","s","getTargetHeight","visibility","add","a","hasAttribute","setAttribute","transition","setTimeout","remove","clientHeight","cloneNode","parentNode","Date","getTime","opacity","appendChild","removeChild","HandyCollapse","Plugin","el","idx","$el","uuid","attr","state","init","self","_load","sub","parent","addClass","show","hasClass","hide","caret","prepend","links","_trigger","append","sources","isLink","event","stopPropagation","next","isAnchor","href","undefined","onClickBefore","_toggle","is","_save","allowed","_parents","filter","onClickAfter","first","toggleClass","onToggleBefore","slideDown","removeClass","slideUp","onToggleAfter","obj","result","parents","par","key","JSON","stringify","parse","toggle","list","args","Array","pIdx","destroy","removeData","unbind","fn","charAt","callback","extend","defaults","$this","noop","gmod","m","writeIslamicDate","adjustment","iDate","adjust","adjustMili","todayMili","today","day","getDate","month","getMonth","year","getFullYear","y","Math","floor","b","jd","wd","bb","cc","dd","ee","iYear","shift1","z","cyc","j","iy","im","id","myRes","kuwaitiCalendar","getElementById","textContent","AbuIslamVars","hijri_adjustment","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","button","rootElement","selection","getSelection","copy_text","location","new_div","createElement","position","left","body","innerHTML","selectAllChildren","documentElement","scrollTo","top","behavior","scrollTotal","scrollHeight","scrollTop","ayat","nextElementSibling","cssText","customFunctions","audioShortcode","hTwo","getElementsByTagName","tagName"],"sourceRoot":""}