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BD,MACX,WAAOA,GACC,kBAAmBH,WACnB/L,OAAOsH,iBAAiB,QAAQ,WAC5ByE,UAAU8B,cAAcC,SAAS,qBACrC,GAER,GFYoB5B,OACxBsB,EAAsBtB","sources":["webpack:///../../../../../Node/node_modules/lozad/dist/lozad.min.js","webpack:///./scripts/plugins/query.js","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/harmony module decorator","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///./scripts/components/RunTime/iOSController.js","webpack:///./scripts/components/RunTime/ArticleController.js","webpack:///./scripts/components/RunTime/LinkController.js","webpack:///./scripts/components/RunTime/ToggleSlideController.js","webpack:///./scripts/common-modular.js","webpack:///./scripts/components/RunTime/LozadController.js","webpack:///./scripts/components/RunTime/ServiceWorkerController.js"],"sourcesContent":["/*! lozad.js - v1.16.0 - 2020-09-06\n* https://github.com/ApoorvSaxena/lozad.js\n* Copyright (c) 2020 Apoorv Saxena; Licensed MIT */\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):t.lozad=e()}(this,function(){\"use strict\";\n/**\n * Detect IE browser\n * @const {boolean}\n * @private\n */var g=\"undefined\"!=typeof document&&document.documentMode,f={rootMargin:\"0px\",threshold:0,load:function(t){if(\"picture\"===t.nodeName.toLowerCase()){var e=t.querySelector(\"img\"),r=!1;null===e&&(e=document.createElement(\"img\"),r=!0),g&&t.getAttribute(\"data-iesrc\")&&(e.src=t.getAttribute(\"data-iesrc\")),t.getAttribute(\"data-alt\")&&(e.alt=t.getAttribute(\"data-alt\")),r&&t.append(e)}if(\"video\"===t.nodeName.toLowerCase()&&!t.getAttribute(\"data-src\")&&t.children){for(var a=t.children,o=void 0,i=0;i<=a.length-1;i++)(o=a[i].getAttribute(\"data-src\"))&&(a[i].src=o);t.load()}t.getAttribute(\"data-poster\")&&(t.poster=t.getAttribute(\"data-poster\")),t.getAttribute(\"data-src\")&&(t.src=t.getAttribute(\"data-src\")),t.getAttribute(\"data-srcset\")&&t.setAttribute(\"srcset\",t.getAttribute(\"data-srcset\"));var n=\",\";if(t.getAttribute(\"data-background-delimiter\")&&(n=t.getAttribute(\"data-background-delimiter\")),t.getAttribute(\"data-background-image\"))t.style.backgroundImage=\"url('\"+t.getAttribute(\"data-background-image\").split(n).join(\"'),url('\")+\"')\";else if(t.getAttribute(\"data-background-image-set\")){var d=t.getAttribute(\"data-background-image-set\").split(n),u=d[0].substr(0,d[0].indexOf(\" \"))||d[0];// Substring before ... 1x\nu=-1===u.indexOf(\"url(\")?\"url(\"+u+\")\":u,1===d.length?t.style.backgroundImage=u:t.setAttribute(\"style\",(t.getAttribute(\"style\")||\"\")+\"background-image: \"+u+\"; background-image: -webkit-image-set(\"+d+\"); background-image: image-set(\"+d+\")\")}t.getAttribute(\"data-toggle-class\")&&t.classList.toggle(t.getAttribute(\"data-toggle-class\"))},loaded:function(){}};function A(t){t.setAttribute(\"data-loaded\",!0)}var m=function(t){return\"true\"===t.getAttribute(\"data-loaded\")},v=function(t){var e=1 {\r\n for (const key in name) {\r\n set(node, key, name[key]);\r\n }\r\n });\r\n }\r\n\r\n // Return the style of the first one\r\n return this.length ? get(this.first(), name) : '';\r\n};\r\n\r\n// Merge all of the nodes that the callback return into a simple array\r\nquery.prototype._array = function(callback) {\r\n callback = callback;\r\n var self = this;\r\n return this.nodes.reduce(function(list, node, i) {\r\n var val;\r\n if (callback) {\r\n val = callback.call(self, node, i);\r\n if (!val) val = false;\r\n if (typeof val === 'string') val = query(val);\r\n if (val instanceof query) val = val.nodes;\r\n } else {\r\n val = node.innerHTML;\r\n }\r\n return list.concat(val !== false ? val : []);\r\n }, []);\r\n};\r\n\r\n// Removed duplicated nodes, used for some specific methods\r\nquery.prototype._unique = function() {\r\n return query(\r\n this.nodes.reduce(function(clean, node) {\r\n var istruthy =\r\n node !== null && node !== undefined && node !== false;\r\n return istruthy && clean.indexOf(node) === -1\r\n ? clean.concat(node)\r\n : clean;\r\n }, [])\r\n );\r\n};\r\n\r\n// Merge all of the nodes that the callback returns\r\nquery.prototype._map = function(callback) {\r\n return callback ? query(this._array(callback))._unique() : this;\r\n};\r\n\r\n/**\r\n * Get the HTML representation of all matching elements.\r\n */\r\nquery.prototype._as_string = function() {\r\n var html = '';\r\n this.each(node => {\r\n html += node.outerHTML;\r\n });\r\n return html;\r\n};\r\n\r\n// Find all the nodes children of the current ones matched by a selector\r\nquery.prototype.find = function(selector) {\r\n return this._map(function(node) {\r\n return query(selector || '*', node);\r\n });\r\n};\r\n\r\n/**\r\n * .filter(selector)\r\n * Delete all of the nodes that don't pass the selector\r\n */\r\nquery.prototype.filter = function(selector) {\r\n // The default function if it's a CSS selector\r\n // Cannot change name to 'selector' since it'd mess with it inside this fn\r\n var callback = function(node) {\r\n // Make it compatible with some other browsers\r\n node.matches =\r\n node.matches ||\r\n node.msMatchesSelector ||\r\n node.webkitMatchesSelector;\r\n\r\n // Check if it's the same element (or any element if no selector was passed)\r\n return node.matches(selector || '*');\r\n };\r\n\r\n // filter() receives a function as in .filter(e => query(e).children().length)\r\n if (typeof selector === 'function') callback = selector;\r\n\r\n // filter() receives an instance of Umbrella as in .filter(query('a'))\r\n if (selector instanceof query) {\r\n callback = function(node) {\r\n return selector.nodes.indexOf(node) !== -1;\r\n };\r\n }\r\n\r\n // Just a native filtering function for ultra-speed\r\n return query(this.nodes.filter(callback));\r\n};\r\n\r\n// Travel the matched elements one node up\r\nquery.prototype.parent = function(selector) {\r\n return this._map(function(node) {\r\n return node.parentNode;\r\n }).filter(selector);\r\n};\r\n\r\n/**\r\n * Return first node\r\n */\r\nquery.prototype.first = function() {\r\n return this.nodes[0] || false;\r\n};\r\n\r\n/**\r\n * Return first node\r\n */\r\nquery.prototype.last = function() {\r\n return this.nodes[nodes.length - 1] || false;\r\n};\r\n\r\n/**\r\n * Find all the nodes children of the current ones matched by a selector\r\n */\r\nquery.prototype.find = function(selector) {\r\n return this._map(function(node) {\r\n return query(selector || '*', node);\r\n });\r\n};\r\n\r\n/**\r\n * Find the first ancestor that matches the selector for each node\r\n */\r\nquery.prototype.closest = function(selector) {\r\n return this._map(function(node) {\r\n // Keep going up and up on the tree. First element is also checked\r\n do {\r\n if (query(node).is(selector)) {\r\n return node;\r\n }\r\n } while ((node = node.parentNode) && node !== document);\r\n });\r\n};\r\n\r\n/**\r\n * Iterate through the node list.\r\n * @param {callback} callback The function that is called for each node\r\n */\r\nquery.prototype.each = function(callback) {\r\n if (this.length === 0)\r\n return this;\r\n\r\n // By doing callback.call we allow \"this\" to be the context for\r\n // the callback (see http://stackoverflow.com/q/4065353 precisely)\r\n this.nodes.forEach(callback.bind(this));\r\n\r\n return this;\r\n};\r\n\r\n/**\r\n * Same as each() but breaks when the callback returns false\r\n */\r\nquery.prototype.every = function(callback) {\r\n this.nodes.every(callback.bind(this));\r\n return this;\r\n};\r\n\r\n/**\r\n * Check if the nodes matches the selector.\r\n * @param {string} selector The selector to check.\r\n * @returns If at least one node does not match, it returns false.\r\n */\r\nquery.prototype.is = function(selector) {\r\n var result = true;\r\n this.every(node => {\r\n result = node.matches(selector);\r\n return result;\r\n });\r\n return result;\r\n};\r\n\r\n/**\r\n * Append HTML to all matching nodes. It does that by setting `element.innerHTML += html`.\r\n * @param {object} content The HTML as string or a query instance\r\n */\r\nquery.prototype.append = function(content) {\r\n var html = content instanceof query ? content._as_string() : content;\r\n return this.each(node => {\r\n node.innerHTML += html;\r\n });\r\n};\r\n\r\n// Merge all of the nodes that the callback return into a simple array\r\nquery.prototype.array = function(callback) {\r\n callback = callback;\r\n var self = this;\r\n return this.nodes.reduce(function(list, node, i) {\r\n var val;\r\n if (callback) {\r\n val = callback.call(self, node, i);\r\n if (!val) val = false;\r\n if (typeof val === 'string') val = query(val);\r\n if (val instanceof query) val = val.nodes;\r\n } else {\r\n val = node.innerHTML;\r\n }\r\n return list.concat(val !== false ? val : []);\r\n }, []);\r\n};\r\n\r\n// [INTERNAL USE ONLY]\r\n// Removed duplicated nodes, used for some specific methods\r\nquery.prototype.unique = function() {\r\n return query(\r\n this.nodes.reduce(function(clean, node) {\r\n var istruthy =\r\n node !== null && node !== undefined && node !== false;\r\n return istruthy && clean.indexOf(node) === -1\r\n ? clean.concat(node)\r\n : clean;\r\n }, [])\r\n );\r\n};\r\n\r\n/**\r\n * Internal use only. This function checks to see if an element is in the page's body. As contains is inclusive and determining if the body contains itself isn't the intention of isInPage this case explicitly returns false.\r\nhttps://developer.mozilla.org/en-US/docs/Web/API/Node/contains\r\n * @param {[Object]} node DOM node\r\n * @return {Boolean} The Node.contains() method returns a Boolean value indicating whether a node is a descendant of a given node or not.\r\n */\r\nquery.prototype.isInPage = function isInPage(node) {\r\n return node === document.body ? false : document.body.contains(node);\r\n};\r\n\r\n// [INTERNAL USE ONLY]\r\n// Add text in the specified position. It is used by other functions\r\nquery.prototype.adjacent = function(html, data, callback) {\r\n if (typeof data === 'number') {\r\n if (data === 0) {\r\n data = [];\r\n } else {\r\n data = new Array(data)\r\n .join()\r\n .split(',')\r\n .map(Number.call, Number);\r\n }\r\n }\r\n\r\n // Loop through all the nodes. It cannot reuse the eacharg() since the data\r\n // we want to do it once even if there's no \"data\" and we accept a selector\r\n return this.each(function(node, j) {\r\n var fragment = document.createDocumentFragment();\r\n\r\n // Allow for data to be falsy and still loop once\r\n query(data || {})\r\n .map(function(el, i) {\r\n // Allow for callbacks that accept some data\r\n var part =\r\n typeof html === 'function'\r\n ? html.call(this, el, i, node, j)\r\n : html;\r\n\r\n if (typeof part === 'string') {\r\n return this.generate(part);\r\n }\r\n\r\n return query(part);\r\n })\r\n .each(function(n) {\r\n this.isInPage(n)\r\n ? fragment.appendChild(\r\n query(n)\r\n .clone()\r\n .first()\r\n )\r\n : fragment.appendChild(n);\r\n });\r\n\r\n callback.call(this, node, fragment);\r\n });\r\n};\r\n\r\n// Merge all of the nodes that the callback returns\r\nquery.prototype.map = function(callback) {\r\n return callback ? query(this.array(callback)).unique() : this;\r\n};\r\n\r\n// Add some html as a sibling after each of the matched elements.\r\nquery.prototype.after = function(html, data) {\r\n return this.adjacent(html, data, function(node, fragment) {\r\n node.parentNode.insertBefore(fragment, node.nextSibling);\r\n });\r\n};\r\n\r\n/**\r\n * Prepend HTML to all matching nodes. It does that by setting `element.innerHTML = html + element.innerHTML`.\r\n * @param {object} content The HTML as string or a query instance\r\n */\r\nquery.prototype.prepend = function(content) {\r\n var html = content instanceof query ? content._as_string() : content;\r\n return this.each(node => {\r\n node.innerHTML = html + node.innerHTML;\r\n });\r\n};\r\n\r\n/**\r\n * Remove all matching nodes from the DOM\r\n */\r\nquery.prototype.remove = function() {\r\n // Loop through all the nodes\r\n return this.each(function(node) {\r\n // Perform the removal only if the node has a parent\r\n if (node.parentNode) node.parentNode.removeChild(node);\r\n });\r\n};\r\n\r\n/**\r\n * Add a class to each node\r\n *\r\n * @param {string} value The class to add\r\n */\r\nquery.prototype.addClass = function(value) {\r\n return this.each(node => {\r\n node.classList.add(value);\r\n });\r\n};\r\n\r\n/**\r\n * Remove a class from each node\r\n *\r\n * @param {string} value The class to remove\r\n */\r\nquery.prototype.removeClass = function(value) {\r\n return this.each(node => {\r\n node.classList.remove(value);\r\n });\r\n};\r\n\r\n/**\r\n * Toggle a class\r\n *\r\n * @param {string} value The class to toggle\r\n */\r\nquery.prototype.toggleClass = function(value) {\r\n return this.each(node => {\r\n node.classList.toggle(value);\r\n });\r\n};\r\n\r\n/**\r\n * Scolls to the first element.\r\n * \r\n * @param options Options that can be passed to the `scrollIntoView()` function, see\r\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView.\r\n */\r\nquery.prototype.scrollTo = function(options) {\r\n const f = this.first();\r\n if (f)\r\n f.scrollIntoView(options);\r\n}\r\n\r\nquery.prototype.slideDown = function(duration) {\r\n return this.each(node => {\r\n node.style.removeProperty('display');\r\n let display = window.getComputedStyle(node).display;\r\n\r\n if (display === 'none') display = 'block';\r\n\r\n node.style.display = display;\r\n let height = node.offsetHeight;\r\n node.style.overflow = 'hidden';\r\n node.style.height = 0;\r\n node.style.paddingTop = 0;\r\n node.style.paddingBottom = 0;\r\n node.style.marginTop = 0;\r\n node.style.marginBottom = 0;\r\n node.offsetHeight;\r\n node.style.boxSizing = 'border-box';\r\n node.style.transitionProperty = 'height, margin, padding';\r\n node.style.transitionDuration = duration + 'ms';\r\n node.style.transitionTimingFunction = 'ease-in-out';\r\n node.style.height = height + 'px';\r\n node.style.removeProperty('padding-top');\r\n node.style.removeProperty('padding-bottom');\r\n node.style.removeProperty('margin-top');\r\n node.style.removeProperty('margin-bottom');\r\n window.setTimeout(() => {\r\n node.style.removeProperty('height');\r\n node.style.removeProperty('overflow');\r\n node.style.removeProperty('transition-duration');\r\n node.style.removeProperty('transition-property');\r\n }, duration);\r\n });\r\n};\r\n\r\nquery.prototype.slideUp = function(duration) {\r\n return this.each(node => {\r\n node.style.transitionProperty = 'height, margin, padding';\r\n node.style.transitionDuration = duration + 'ms';\r\n node.style.transitionTimingFunction = 'ease-in-out';\r\n node.style.boxSizing = 'border-box';\r\n node.style.height = node.offsetHeight + 'px';\r\n node.offsetHeight;\r\n node.style.overflow = 'hidden';\r\n node.style.height = 0;\r\n node.style.paddingTop = 0;\r\n node.style.paddingBottom = 0;\r\n node.style.marginTop = 0;\r\n node.style.marginBottom = 0;\r\n window.setTimeout(() => {\r\n node.style.display = 'none';\r\n node.style.removeProperty('height');\r\n node.style.removeProperty('padding-top');\r\n node.style.removeProperty('padding-bottom');\r\n node.style.removeProperty('margin-top');\r\n node.style.removeProperty('margin-bottom');\r\n node.style.removeProperty('overflow');\r\n node.style.removeProperty('transition-duration');\r\n node.style.removeProperty('transition-property');\r\n }, duration);\r\n });\r\n};\r\n\r\nquery.prototype.slideToggle = function(duration) {\r\n return this.each(node => {\r\n if (window.getComputedStyle(node).display === 'none') {\r\n return query(node).slideDown(duration);\r\n } else {\r\n return query(node).slideUp(duration);\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * Check if any of the nodes have a class\r\n * @param {string} value The class to test\r\n * @return {boolean} Returns true if at least one ode has the class\r\n */\r\nquery.prototype.hasClass = function(value) {\r\n var result = false;\r\n this.every(node => {\r\n result = node.classList.contains(value);\r\n return !result;\r\n });\r\n return result;\r\n};\r\n\r\n/**\r\n * Subscribe to an event\r\n *\r\n * @param {string} event The name of the event, e.g. \"click\"\r\n * @param {callback} callback The callback to be called in the event\r\n * @example\r\n * query(\"#mybutton\").on(\"click\", function(e) { e.preventDefault(); alert(\"Nice try\"); });\r\n */\r\nquery.prototype.on = function(event, callback) {\r\n return this.each(node => {\r\n node.addEventListener(event, callback);\r\n // The callback is needed for .off()\r\n node._e = node._e || {};\r\n node._e[event] = node._e[event] || [];\r\n node._e[event].push(callback);\r\n });\r\n};\r\n\r\n/**\r\n * Subscribe to a click event\r\n *\r\n * @param {callback} callback The callback to be called in the event\r\n * @example\r\n * query(\"#mybutton\").on(\"click\", function(e) { e.preventDefault(); alert(\"Nice try\"); });\r\n */\r\nquery.prototype.click = function(callback) {\r\n return this.each(node => {\r\n node.addEventListener('click', callback);\r\n // The callback is needed for .off()\r\n node._e = node._e || {};\r\n node._e[event] = node._e[event] || [];\r\n node._e[event].push(callback);\r\n });\r\n};\r\n\r\nquery.prototype.innerHeight = function() {\r\n return parseInt(window.getComputedStyle(this.first()).height); \r\n};\r\n\r\n/**\r\n * Unsubscribe from an event\r\n *\r\n * @param {string} event The name of the event, e.g. \"click\"\r\n * @example\r\n * query(\"#mybutton\").off(\"click\");\r\n */\r\nquery.prototype.off = function(event) {\r\n return this.each(node => {\r\n query(node._e ? node._e[event] : []).each(callback => {\r\n node.removeEventListener(event, callback);\r\n });\r\n });\r\n};\r\n\r\n/**\r\n * Manually triggering an event\r\n *\r\n * @param {string} event The name of the event, e.g. \"click\"\r\n * @example\r\n * query(\"#mybutton\").trigger(\"click\");\r\n */\r\nquery.prototype.trigger = function(event) {\r\n return this.each(node => {\r\n const _event = new Event(event);\r\n node.dispatchEvent(_event);\r\n });\r\n};\r\n\r\n/**\r\n * Show all nodes. If previously hide() or toggle() was called with true as argument\r\n * (i.e. display: none was also added), it restores the old value it had before\r\n * hide() or toggle() was called.\r\n */\r\nquery.prototype.show = function() {\r\n return this.each(node => {\r\n node.style.visibility = 'visible';\r\n if (node.style.display === 'none') {\r\n if (typeof node._display !== 'undefined')\r\n node.style.display = node._display;\r\n else node.style.display = 'block';\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * Hide all nodes. It does so by setting visibility: hidden so it\r\n * still occupies space.\r\n *\r\n * @param {boolean} b If true it also adds display: none. Default true\r\n * @example\r\n * // Add visibility: hidden and display: none to all .widget-zone elements\r\n * query(\".widget-zone\").hide();\r\n * // Add only visibility: hidden to all .widget-zone elements\r\n * query(\".widget-zone\").hide(false);\r\n */\r\nquery.prototype.hide = function(b = true) {\r\n return this.each(node => {\r\n node.style.visibility = 'hidden';\r\n if (b) {\r\n if (node.style.display !== 'none')\r\n node._display = node.style.display;\r\n node.style.display = 'none';\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * Return if any of the nodes is visible, i.e. display != none\r\n */\r\nquery.prototype.visible = function() {\r\n var result = false;\r\n this.every(node => {\r\n result = node.style.display !== 'none';\r\n return !result;\r\n });\r\n return result;\r\n};\r\n\r\n/**\r\n * Return if any of the nodes is hidden, i.e. display == none\r\n */\r\nquery.prototype.hidden = function() {\r\n var result = false;\r\n this.every(node => {\r\n result = node.style.display === 'none';\r\n return !result;\r\n });\r\n return result;\r\n};\r\n\r\n/**\r\n * Toggle visibility of all nodes\r\n *\r\n * @param {boolean} b If true it also adds display: none. Default true\r\n */\r\nquery.prototype.toggle = function(b = true) {\r\n return this.each(node => {\r\n if (node.style.visibility === 'hidden') query(node).show();\r\n else query(node).hide(b);\r\n });\r\n};\r\n\r\nquery.prototype.setVisible = function(b = true) {\r\n if (b) this.show(true);\r\n else this.hide(true);\r\n};\r\n\r\n/**\r\n * Get or set an attribute of all matching elements.\r\n * @param {string} name The name of the attribute\r\n * @param {string} value The value\r\n */\r\nquery.prototype.attr = function(name, value) {\r\n // This will handle those elements that can accept a pair with these footprints:\r\n // .attr('a'), .attr('a', 'b'), .attr({ a: 'b' })\r\n return this._pairs(\r\n name,\r\n value,\r\n (node, name) => node.getAttribute(name),\r\n (node, name, value) => {\r\n node.setAttribute(name, value);\r\n }\r\n );\r\n};\r\n\r\n/**\r\n * Remove an attribute from all matching elements\r\n * @param {string} name The name\r\n */\r\nquery.prototype.removeAttr = function(name) {\r\n return this.each(node => {\r\n node.removeAttribute(name);\r\n });\r\n};\r\n\r\n/**\r\n * Get the inline style of the first element, or set the inline style of all matching elements.\r\n * Note: This is only for inline styles.\r\n * @param {string} name The name of the style\r\n * @param {string} value The value of the style\r\n * @example\r\n * $(\"body\").css(\"color\", \"red\");\r\n * // Should print red\r\n * console.log($(\"body\").css(\"color\"));\r\n */\r\nquery.prototype.css = function(name, value) {\r\n if (value === undefined) return this.first().style[name];\r\n\r\n return this.each(node => {\r\n node.style[name] = value;\r\n });\r\n};\r\n\r\n/**\r\n * Get or set an data attribute of all matching elements.\r\n * @param {string} name The name of the attribute, will become data-name\r\n * @param {string} value The value\r\n */\r\nquery.prototype.data = function(name, value) {\r\n return this.attr(`data-${name}`, value);\r\n};\r\n\r\n/**\r\n * Gets or set the Text content\r\n */\r\nquery.prototype.text = function(value) {\r\n // Needs to check undefined as it might be \"\"\r\n if (value === undefined) {\r\n return this.first().textContent || '';\r\n }\r\n\r\n // If we're attempting to set some text\r\n // Loop through all the nodes\r\n return this.each(function(node) {\r\n // Set the text content to the node\r\n node.textContent = value;\r\n });\r\n};\r\n\r\n/**\r\n * Gets the HTML content of the first element, or sets the HTML content of all elements.\r\n */\r\nquery.prototype.html = function(value) {\r\n // Needs to check undefined as it might be \"\"\r\n if (value === undefined) {\r\n return this.first().innerHTML || '';\r\n }\r\n\r\n // If we're attempting to set some text\r\n // Loop through all the nodes\r\n return this.each(function(node) {\r\n // Set the text content to the node\r\n node.innerHTML = value;\r\n });\r\n};\r\n\r\n/**\r\n * Get the value of the first element, or sets the value of all matching elements.\r\n * @param {string} value The value\r\n */\r\nquery.prototype.val = function(value) {\r\n // Needs to check undefined as it might be \"\"\r\n if (value === undefined) {\r\n return this.first().value || '';\r\n }\r\n\r\n // If we're attempting to set some text\r\n // Loop through all the nodes\r\n return this.each(function(node) {\r\n // Set the text content to the node\r\n node.value = value;\r\n });\r\n};\r\n\r\n/**\r\n * Exchange 2 elements in the DOM tree\r\n * @param {[type]} f First element\r\n * @param {[type]} s Second element\r\n *\r\n * @example\r\n * $.swap($(\"#element2\"), $(\"#element1\"));\r\n */\r\nquery.swap = function(f, s) {\r\n var a = f.first();\r\n var b = s.first();\r\n var t = a.parentNode.insertBefore(document.createTextNode(''), a);\r\n b.parentNode.insertBefore(a, b); \r\n t.parentNode.insertBefore(b, t); \r\n t.parentNode.removeChild(t);\r\n}\r\n\r\n/**\r\n * Perform an asynchronous HTTP (Ajax) request.\r\n *\r\n * @param {object} settings A set of key/value pairs that configure the Ajax request. All settings except `url` are optional.\r\n * Following keys are supported:\r\n * * `type` HTTP method, GET or POST, default GET\r\n * * `url` The URL\r\n * * `data` string to be sent to the server\r\n * * `success` Callback function in case of success, i.e. HTTP status code == 200\r\n * * `error` Callback functiuon in case of an error\r\n * * `complete` Callback function called when request finished\r\n *\r\n * @example\r\n * $.ajax({\r\n * type: \"GET\",\r\n * url: 'someurl.html',\r\n * success: function(responseText, status, xmlhttp) {\r\n * $(\"#ajax-result\").text(\"Success:\" + responseText);\r\n * },\r\n * error: function(xmlhttp, status, responseText) {\r\n * $(\"#ajax-result\").text(\"Error:\" + responseText);\r\n * }\r\n * });\r\n */\r\nquery.ajax = function(settings) {\r\n if (!window.XMLHttpRequest)\r\n // Unsupported Browser\r\n return;\r\n var method = settings['type'] || 'GET';\r\n var url = settings['url'];\r\n var data = settings['data'] || '';\r\n\r\n var xmlhttp = new XMLHttpRequest();\r\n xmlhttp.onreadystatechange = function() {\r\n if (xmlhttp.readyState === 4) {\r\n if (xmlhttp.status === 200) {\r\n if (typeof settings['success'] === 'function')\r\n settings['success'](\r\n xmlhttp.responseText,\r\n xmlhttp.status,\r\n xmlhttp\r\n );\r\n } else {\r\n if (typeof settings['error'] === 'function')\r\n settings['error'](\r\n xmlhttp,\r\n xmlhttp.status,\r\n xmlhttp.responseText\r\n );\r\n }\r\n if (typeof settings['complete'] === 'function')\r\n settings['complete'](\r\n xmlhttp.responseText,\r\n xmlhttp,\r\n xmlhttp.status\r\n );\r\n }\r\n };\r\n xmlhttp.onerror = function() {\r\n if (typeof settings['error'] === 'function')\r\n settings['error'](xmlhttp, xmlhttp.status, xmlhttp.responseText);\r\n };\r\n xmlhttp.onloadstart = function() {\r\n // Trigger something like jQuery(document).ajaxStart\r\n query(document).trigger('ajaxStart');\r\n };\r\n xmlhttp.addEventListener('loadend', function() {\r\n // Trigger something like jQuery(document).ajaxStop\r\n query(document).trigger('ajaxStop');\r\n });\r\n\r\n xmlhttp.open(method, url, true);\r\n xmlhttp.send(data);\r\n};\r\n\r\n/**\r\n * Load data from the server and place the returned HTML into the matching elements.\r\n * @param {string} url The URL\r\n * @param {any} data Data to be sent\r\n * @param {Function(String responseText, int status, XMLHttpRequest request)} complete Callback function when the request completed\r\n * @example\r\n * $(document).ready(() =>{\r\n * $(\"#load-url-button\").on(\"click\", function(e) {\r\n * e.preventDefault();\r\n * $(\"#html-load-container\").load($(\"#url-to-load-textbox\").val());\r\n * });\r\n * });\r\n */\r\nquery.prototype.load = function(url, data, complete) {\r\n if (!window.XMLHttpRequest)\r\n // Unsupported Browser\r\n return;\r\n var self = this;\r\n query.ajax({\r\n type: 'GET',\r\n url: url,\r\n data: data,\r\n complete: function(responseText, status, xmlhttp) {\r\n if (typeof complete === 'function')\r\n complete(responseText, status, xmlhttp);\r\n if (xmlhttp.status === 200)\r\n self.html(responseText);\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * Provides a query(document).ready(...) convenience function but also for compatibility with jQuery.\r\n * It is fired when DOMContentLoaded is fired.\r\n *\r\n * @param {callback} callback The function that is called when the document is ready.\r\n * @example\r\n * query(document).ready(function() {\r\n * console.log(\"Document is ready!\");\r\n * });\r\n */\r\nquery.prototype.ready = function(callback) {\r\n return this.each(node => {\r\n node.addEventListener('DOMContentLoaded', () => {\r\n setTimeout(callback, 1);\r\n });\r\n // The callback is needed for .off()\r\n node._e = node._e || {};\r\n node._e[event] = node._e[event] || [];\r\n node._e[event].push(callback);\r\n });\r\n};\r\n\r\n// Delete all of the nodes that equals the filter\r\nquery.prototype.not = function (filter) {\r\n return this.filter(function (node) {\r\n return !u(node).is(filter || true);\r\n });\r\n };\r\n\r\n/**\r\n * To get sometnig like $(document).ready(). For possible events this may trigger, see\r\n * https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState\r\n *\r\n * @example\r\n * // Same as $(document).ready(function() { ... }\r\n * query(document).on(\"complete\", function() {\r\n * console.log(document.readyState == \"complete\");\r\n * }\r\n */\r\nquery(document).on('readystatechange', () => {\r\n query(document).trigger(document.readyState);\r\n});\r\n\r\n\r\nconst $ = query;\r\nexport default $;\r\n\r\nif (typeof module === 'object' && module.exports) {\r\n // Avoid breaking it for `import { u } from ...`. Add `import u from ...`\r\n module.exports = $;\r\n module.exports = query;\r\n module.exports.$ = query;\r\n module.exports.query = query;\r\n //module.exports.default = $;\r\n}\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\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","import $ from '../../plugins/query';\r\n\r\nexport default class iOSController {\r\n constructor() {\r\n if (!iOSController.isIOS())\r\n return;\r\n this.removeDecimalInputMode();\r\n }\r\n\r\n removeDecimalInputMode(){\r\n $('input[inputmode=\"decimal\"]').each(function(e){\r\n if(e.dataset.removeInputmodeIos == \"true\")\r\n e.attributes.inputmode.value = 'text';\r\n });\r\n }\r\n\r\n static isIOS(){\r\n return [\r\n 'iPad Simulator',\r\n 'iPhone Simulator',\r\n 'iPod Simulator',\r\n 'iPad',\r\n 'iPhone',\r\n 'iPod'\r\n ].includes(navigator.platform)\r\n || (navigator.userAgent.includes(\"Mac\") && \"ontouchend\" in document)\r\n }\r\n\r\n static init() {\r\n document.addEventListener('DOMContentLoaded', () => {\r\n new iOSController(); // eslint-disable-line no-new\r\n });\r\n }\r\n}","export default class ArticleController {\r\n constructor() {\r\n this.scrollToContentSelector = '.scroll-to-content';\r\n this.initScrollToContent();\r\n }\r\n\r\n initScrollToContent() {\r\n const elements = document.querySelectorAll(this.scrollToContentSelector);\r\n for (let i = 0; i < elements.length; i++) {\r\n const targetSelector = elements[i].dataset.target;\r\n elements[i].addEventListener('click', () => {\r\n const navOffset = document.querySelector('header.nav-header').offsetHeight;\r\n const targetElementPosition = document.querySelector(targetSelector).getBoundingClientRect().top;\r\n const offsetPosition = targetElementPosition - navOffset;\r\n\r\n window.scrollTo({\r\n top: offsetPosition,\r\n behavior: 'smooth',\r\n });\r\n });\r\n }\r\n }\r\n\r\n static init() {\r\n document.addEventListener('DOMContentLoaded', () => {\r\n new ArticleController(); // eslint-disable-line no-new\r\n });\r\n }\r\n}\r\n\r\n\r\n","import $ from '../../plugins/query.js';\r\n\r\n// Used in many widgets to make the whole widget clickable.\r\n// We do not want to set an A tag on the widget because of some styling problems.\r\n// Link target is set in \"data-href\" attribute, LinkController parses HTML and hooks proper click events.\r\nexport default class LinkController {\r\n constructor(elem) {\r\n this.elem = elem;\r\n this.linkTarget = elem.dataset.href;\r\n this.isInIframe = window.parent !== window;\r\n this.newWindow = (('target' in elem.dataset) && (elem.dataset.target === '_blank') || this.isInIframe);\r\n this.registerClickEvent();\r\n }\r\n\r\n registerClickEvent() {\r\n if (this.linkTarget) {\r\n $(this.elem)\r\n .on('click', (event) => {\r\n if (event.target.tagName.toLowerCase() !== 'a' || this.isInIframe) {\r\n if (this.newWindow) {\r\n window.open(this.linkTarget, '_blank');\r\n }\r\n else location.href = this.linkTarget;\r\n return false;\r\n }\r\n return true;\r\n });\r\n }\r\n }\r\n\r\n static registerClickEventForElement(selector) {\r\n $(selector).find('.has-link').each((elem) => {\r\n new LinkController(elem); // eslint-disable-line no-new\r\n });\r\n }\r\n\r\n static init() {\r\n $(document).ready(() => {\r\n LinkController.registerClickEventForElement(document);\r\n });\r\n }\r\n}\r\n","import $ from '../../plugins/query';\r\n\r\nexport default class ToggleSlideController {\r\n constructor() {\r\n this.BTN = '.btn-toggle-slide';\r\n this.registerEventListener();\r\n }\r\n\r\n registerEventListener() {\r\n $(this.BTN).on('click', (e) => {\r\n const { target } = e.currentTarget.dataset;\r\n $(target).slideToggle(500);\r\n $(event.currentTarget).toggleClass('open');\r\n });\r\n }\r\n\r\n static init() {\r\n document.addEventListener('DOMContentLoaded', () => {\r\n new ToggleSlideController(); // eslint-disable-line no-new\r\n });\r\n }\r\n}\r\n","\r\n/* Consider using jsdoc comments on functions where the param type is not clear. This will help with intellisense.\r\nhttps://docs.microsoft.com/en-us/visualstudio/ide/create-jsdoc-comments-for-javascript-intellisense?view=vs-2015\r\n*/\r\n\r\nimport iOSController from './components/RunTime/iOSController';\r\nimport ArticleController from './components/RunTime/ArticleController';\r\n//import EditorInfoController from './components/RunTime/EditorInfoController';\r\nimport LinkController from './components/RunTime/LinkController';\r\nimport LozadController from './components/RunTime/LozadController';\r\nimport ToggleSlideController from './components/RunTime/ToggleSlideController';\r\nimport ServiceWorkerController from './components/RunTime/ServiceWorkerController';\r\n\r\n//runtime controllers\r\nArticleController.init();\r\n//EditorInfoController.init();\r\niOSController.init();\r\nLinkController.init();\r\nLozadController.init();\r\nServiceWorkerController.init();\r\nToggleSlideController.init();\r\n","import lozad from 'lozad';\r\nimport $ from '../../plugins/query';\r\n\r\nexport default class LozadController {\r\n constructor() {\r\n }\r\n\r\n initScrollToContent() {\r\n const elements = document.querySelectorAll(this.scrollToContentSelector);\r\n for (let i = 0; i < elements.length; i++) {\r\n const targetSelector = elements[i].dataset.target;\r\n elements[i].addEventListener('click', () => {\r\n const navOffset = document.querySelector('header.nav-header').offsetHeight;\r\n const targetElementPosition = document.querySelector(targetSelector).getBoundingClientRect().top;\r\n const offsetPosition = targetElementPosition - navOffset;\r\n\r\n window.scrollTo({\r\n top: offsetPosition,\r\n behavior: 'smooth',\r\n });\r\n });\r\n }\r\n }\r\n\r\n static init() {\r\n $(document).ready(() => {\r\n // lazy loads elements with default selector as '.lozad'\r\n const observer = lozad('.lozad', {\r\n loaded(el) {\r\n el.classList.add('loaded');\r\n },\r\n });\r\n observer.observe();\r\n });\r\n }\r\n}\r\n\r\n\r\n\r\n","export default class ServiceWorkerController{\r\n static init(){\r\n if ('serviceWorker' in navigator) {\r\n window.addEventListener('load', function() {\r\n navigator.serviceWorker.register('/service-worker.js');\r\n });\r\n }\r\n }\r\n}\r\n\r\n"],"names":["module","exports","g","document","documentMode","f","rootMargin","threshold","load","t","nodeName","toLowerCase","e","querySelector","r","createElement","getAttribute","src","alt","append","children","a","o","i","length","poster","setAttribute","n","style","backgroundImage","split","join","d","u","substr","indexOf","classList","toggle","loaded","A","m","v","arguments","Element","NodeList","querySelectorAll","Object","assign","root","s","window","IntersectionObserver","forEach","intersectionRatio","isIntersecting","unobserve","target","c","l","b","background","observe","triggerLoad","observer","query","parameter","context","this","_select","nodes","_slice","prototype","pseudo","toString","slice","call","_pairs","name","value","get","set","nm","each","node","key","first","_array","callback","self","reduce","list","val","innerHTML","concat","_unique","clean","_map","_as_string","html","outerHTML","find","selector","filter","matches","msMatchesSelector","webkitMatchesSelector","parent","parentNode","last","closest","is","bind","every","result","content","array","unique","isInPage","body","contains","adjacent","data","Array","map","Number","j","fragment","createDocumentFragment","el","part","generate","appendChild","clone","after","insertBefore","nextSibling","prepend","remove","removeChild","addClass","add","removeClass","toggleClass","scrollTo","options","scrollIntoView","slideDown","duration","removeProperty","display","getComputedStyle","height","offsetHeight","overflow","paddingTop","paddingBottom","marginTop","marginBottom","boxSizing","transitionProperty","transitionDuration","transitionTimingFunction","setTimeout","slideUp","slideToggle","hasClass","on","event","addEventListener","_e","push","click","innerHeight","parseInt","off","removeEventListener","trigger","_event","Event","dispatchEvent","show","visibility","_display","hide","undefined","visible","hidden","setVisible","attr","removeAttr","removeAttribute","css","text","textContent","swap","createTextNode","ajax","settings","XMLHttpRequest","method","url","xmlhttp","onreadystatechange","readyState","status","responseText","onerror","onloadstart","open","send","complete","type","ready","not","$","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","id","__webpack_modules__","getter","__esModule","definition","defineProperty","enumerable","hmd","create","Error","obj","prop","hasOwnProperty","iOSController","constructor","isIOS","removeDecimalInputMode","dataset","removeInputmodeIos","attributes","inputmode","includes","navigator","platform","userAgent","init","ArticleController","scrollToContentSelector","initScrollToContent","elements","_loop","targetSelector","navOffset","offsetPosition","getBoundingClientRect","top","behavior","LinkController","elem","linkTarget","href","isInIframe","newWindow","registerClickEvent","tagName","location","registerClickEventForElement","ToggleSlideController","BTN","registerEventListener","currentTarget","lozad","serviceWorker","register"],"sourceRoot":""}