晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
|
Server : Apache System : Linux srv.rainic.com 4.18.0-553.47.1.el8_10.x86_64 #1 SMP Wed Apr 2 05:45:37 EDT 2025 x86_64 User : rainic ( 1014) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/stando/www/wp-content/plugins/wp-smush-pro/app/assets/js/ |
Upload File : |
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./_src/js/shared-ui.js","webpack:///./node_modules/@wpmudev/shared-ui/dist/js/_src/modal-dialog.js","webpack:///./node_modules/@wpmudev/shared-ui/dist/js/_src/notifications.js","webpack:///./node_modules/@wpmudev/shared-ui/dist/js/_src/scores.js","webpack:///./node_modules/@wpmudev/shared-ui/dist/js/_src/select.js","webpack:///./node_modules/@wpmudev/shared-ui/dist/js/_src/tabs.js","webpack:///./node_modules/@wpmudev/shared-ui/dist/js/_src/upload.js","webpack:///./node_modules/@wpmudev/shared-ui/dist/js/_src/reviews.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","require","_typeof","obj","iterator","constructor","window","SUI","aria","KeyCode","BACKSPACE","TAB","RETURN","ESC","SPACE","PAGE_UP","PAGE_DOWN","END","HOME","LEFT","UP","RIGHT","DOWN","DELETE","Utils","remove","item","parentNode","removeChild","isFocusable","element","tabIndex","getAttribute","disabled","nodeName","href","rel","type","simulateClick","evt","MouseEvent","bubbles","cancelable","view","dispatchEvent","IgnoreUtilFocusChanges","dialogOpenClass","focusFirstDescendant","childNodes","length","child","attemptFocus","focusLastDescendant","focus","e","document","activeElement","OpenDialogList","Array","getCurrentDialog","closeCurrentDialog","currentDialog","close","handleEscape","event","which","keyCode","stopPropagation","addEventListener","Dialog","dialogId","focusAfterClosed","focusFirst","hasOverlayMask","this","dialogNode","getElementById","Error","validRoles","trim","split","some","token","role","classList","contains","backdropNode","createElement","className","setAttribute","insertBefore","dialogNodev","appendChild","add","body","preDiv","preNode","onclick","postDiv","postNode","nextSibling","removeListeners","addListeners","push","lastFocus","self","pop","setTimeout","slides","querySelectorAll","hasAttribute","newDialogSize","undefined","newDialogLabel","getDialogLabel","newDialogDesc","getDialogDesc","removeAttribute","replace","newDialogId","newFocusAfterClosed","newFocusFirst","slide","newSlideId","newSlideFocus","newSlideEntrance","animation","getAllSlides","getNewSlide","trapFocus","removeEventListener","target","openModal","dialogOverlay","closeModal","replaceModal","slideModal","$","modalDialog","button","buttonOpen","buttonClose","buttonReplace","buttonSlide","overlayMask","modalId","slideId","closeFocus","newFocus","on","attr","preventDefault","jQuery","_defineProperty","configurable","writable","_this","openNotice","noticeId","noticeMessage","noticeOptions","noticeNode","nodeWrapper","parent","utils","allowedNotices","isObject","isPlainObject","deepMerge","_len","arguments","sources","_key","source","shift","assign","apply","concat","setProperties","incomingOptions","options","defaults","icon","dismiss","show","label","tooltip","autoclose","timeout","buildDismiss","html","innerHTML","hasClass","buildIcon","buildMessage","prepend","buildNotice","append","showNotice","addClass","each","removeAttr","slideDown","find","closeNotice","parseInt","fadeIn","slideUp","fadeOut","hide","hideNotice","removeClass","empty","notice","Open","is","paragraph","Close","closest","btnOpen","btnClose","init","loadCircleScore","el","score","data","svg","Math","PI","css","suiSelect","wrap","handle","list","items","selectID","jq","prependTo","appendTo","populateList","not","ev","opt","selectItem","handleValue","stateToggle","stateOpen","click","stateClose","children","optGroupItem","$label","optgroup","prop","text","val","match","location","isInit","optColor","trigger","suiTabs","config","indexGroup","indexItem","types","groups","activeGroups","activeChildren","activeItems","memory","onClick","groupIndex","itemIndex","setNodes","callback","tab","pane","putActiveClass","setOption","tabItems","setDefaults","tabGroup","paneGroup","hash","id","tabsOverflow","$el","tabs","leftButton","rightButton","overflowing","scrollWidth","width","scrollLeft","reachedEnd","offset","newScrollLeft","outerWidth","animate","resize","scroll","tabgroup","tablist","keys","direction","37","38","39","40","clickEventListener","keydown","index","determineOrientation","keydownEventListener","keyup","activateTab","keyupEventListener","panels","controls","panel","deactivateTabs","proceed","pressed","switchTabOnArrowPress","currentTab","setCallback","upload","file","files","message","review","stars","round","stats","average_rating","starsBlock","total_reviews"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB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ACxBC,EAAUjM,EAAE/D,MAAMiI,KAAK,yBAEvB6H,GACFE,EAAQ5E,KAAK0E,EAAKhW,UAKxB+B,IAAIgU,SAnBN,CAoBG/K,S,cCtBH,IAAWf,KAkBRe,QAfC,2BAA2BgD,MAAK,WAChC,IAAImI,EAASlM,EAAE/D,MACf+D,EAAE3J,IAJW,gEAIG,SAAUmP,GACxB,IAEIhQ,EAFA2W,EAAQzG,KAAK0G,MAAM5G,EAAK6G,MAAMC,gBAC9BC,EAAaL,EAAOhI,KAAK,uBAAuB,GAGpD,IAAK1O,EAAI,EAAGA,EAAI2W,EAAO3W,IACrB+W,EAAWjJ,WAAa,oDAG1B4I,EAAOhI,KAAK,uBAAuB,GAAGZ,UAAYkC,EAAK6G,MAAMC,eAC7DJ,EAAOhI,KAAK,+BAA+B,GAAGZ,UAAYkC,EAAK6G,MAAMG","file":"smush-sui.min.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 = 4);\n","/**\n * Shared UI JS libraries. Use only what we need to keep the vendor file size smaller.\n *\n * @package\n */\nrequire( '@wpmudev/shared-ui/dist/js/_src/modal-dialog' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/notifications' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/scores' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/select' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/tabs' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/upload' ); // Used on lazy load page (since 3.2.2).\nrequire( '@wpmudev/shared-ui/dist/js/_src/reviews' );\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n(function () {\n // Enable strict mode.\n 'use strict';\n\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n /**\n * @namespace aria\n */\n\n\n var aria = aria || {}; // REF: Key codes.\n\n aria.KeyCode = {\n BACKSPACE: 8,\n TAB: 9,\n RETURN: 13,\n ESC: 27,\n SPACE: 32,\n PAGE_UP: 33,\n PAGE_DOWN: 34,\n END: 35,\n HOME: 36,\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40,\n DELETE: 46\n };\n aria.Utils = aria.Utils || {}; // UTILS: Remove function.\n\n aria.Utils.remove = function (item) {\n if (item.remove && 'function' === typeof item.remove) {\n return item.remove();\n }\n\n if (item.parentNode && item.parentNode.removeChild && 'function' === typeof item.parentNode.removeChild) {\n return item.parentNode.removeChild(item);\n }\n\n return false;\n }; // UTILS: Verify if element can be focused.\n\n\n aria.Utils.isFocusable = function (element) {\n if (0 < element.tabIndex || element.tabIndex === 0 && null !== element.getAttribute('tabIndex')) {\n return true;\n }\n\n if (element.disabled) {\n return false;\n }\n\n switch (element.nodeName) {\n case 'A':\n return !!element.href && element.rel != 'ignore';\n\n case 'INPUT':\n return element.type != 'hidden' && element.type != 'file';\n\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n\n default:\n return false;\n }\n };\n /**\n * Simulate a click event.\n * @public\n * @param {Element} element the element to simulate a click on\n */\n\n\n aria.Utils.simulateClick = function (element) {\n // Create our event (with options)\n var evt = new MouseEvent('click', {\n bubbles: true,\n cancelable: true,\n view: window\n }); // If cancelled, don't dispatch our event\n\n var canceled = !element.dispatchEvent(evt);\n }; // When util functions move focus around, set this true so\n // the focus listener can ignore the events.\n\n\n aria.Utils.IgnoreUtilFocusChanges = false;\n aria.Utils.dialogOpenClass = 'sui-has-modal';\n /**\n * @desc Set focus on descendant nodes until the first\n * focusable element is found.\n *\n * @param element\n * DOM node for which to find the first focusable descendant.\n *\n * @returns\n * true if a focusable element is found and focus is set.\n */\n\n aria.Utils.focusFirstDescendant = function (element) {\n for (var i = 0; i < element.childNodes.length; i++) {\n var child = element.childNodes[i];\n\n if (aria.Utils.attemptFocus(child) || aria.Utils.focusFirstDescendant(child)) {\n return true;\n }\n }\n\n return false;\n }; // end focusFirstDescendant\n\n /**\n * @desc Find the last descendant node that is focusable.\n *\n * @param element\n * DOM node for which to find the last focusable descendant.\n *\n * @returns\n * true if a focusable element is found and focus is set.\n */\n\n\n aria.Utils.focusLastDescendant = function (element) {\n for (var i = element.childNodes.length - 1; i >= 0; i--) {\n var child = element.childNodes[i];\n\n if (aria.Utils.attemptFocus(child) || aria.Utils.focusLastDescendant(child)) {\n return true;\n }\n }\n\n return false;\n }; // end focusLastDescendant\n\n /**\n * @desc Set Attempt to set focus on the current node.\n *\n * @param element\n * The node to attempt to focus on.\n *\n * @returns\n * true if element is focused.\n */\n\n\n aria.Utils.attemptFocus = function (element) {\n if (!aria.Utils.isFocusable(element)) {\n return false;\n }\n\n aria.Utils.IgnoreUtilFocusChanges = true;\n\n try {\n element.focus();\n } catch (e) {// Done.\n }\n\n aria.Utils.IgnoreUtilFocusChanges = false;\n return document.activeElement === element;\n }; // end attemptFocus\n // Modals can open modals. Keep track of them with this array.\n\n\n aria.OpenDialogList = aria.OpenDialogList || new Array(0);\n /**\n * @returns the last opened dialog (the current dialog)\n */\n\n aria.getCurrentDialog = function () {\n if (aria.OpenDialogList && aria.OpenDialogList.length) {\n return aria.OpenDialogList[aria.OpenDialogList.length - 1];\n }\n };\n\n aria.closeCurrentDialog = function () {\n var currentDialog = aria.getCurrentDialog();\n\n if (currentDialog) {\n currentDialog.close();\n return true;\n }\n\n return false;\n };\n\n aria.handleEscape = function (event) {\n var key = event.which || event.keyCode;\n\n if (key === aria.KeyCode.ESC && aria.closeCurrentDialog()) {\n event.stopPropagation();\n }\n };\n\n document.addEventListener('keyup', aria.handleEscape);\n /**\n * @constructor\n * @desc Dialog object providing modal focus management.\n *\n * Assumptions: The element serving as the dialog container is present in the\n * DOM and hidden. The dialog container has role='dialog'.\n *\n * @param dialogId\n * The ID of the element serving as the dialog container.\n *\n * @param focusAfterClosed\n * Either the DOM node or the ID of the DOM node to focus when the\n * dialog closes.\n *\n * @param focusFirst\n * Optional parameter containing either the DOM node or the ID of the\n * DOM node to focus when the dialog opens. If not specified, the\n * first focusable element in the dialog will receive focus.\n *\n * @param hasOverlayMask\n * Optional boolean parameter that when is set to \"true\" will enable\n * a clickable overlay mask. This mask will fire close modal function\n * when you click on it.\n */\n\n aria.Dialog = function (dialogId, focusAfterClosed, focusFirst, hasOverlayMask) {\n this.dialogNode = document.getElementById(dialogId);\n\n if (null === this.dialogNode) {\n throw new Error('No element found with id=\"' + dialogId + '\".');\n }\n\n var validRoles = ['dialog', 'alertdialog'];\n var isDialog = (this.dialogNode.getAttribute('role') || '').trim().split(/\\s+/g).some(function (token) {\n return validRoles.some(function (role) {\n return token === role;\n });\n });\n\n if (!isDialog) {\n throw new Error('Dialog() requires a DOM element with ARIA role of dialog or alertdialog.');\n } // Wrap in an individual backdrop element if one doesn't exist\n // Native <dialog> elements use the ::backdrop pseudo-element, which\n // works similarly.\n\n\n var backdropClass = 'sui-modal';\n\n if (this.dialogNode.parentNode.classList.contains(backdropClass)) {\n this.backdropNode = this.dialogNode.parentNode;\n } else {\n this.backdropNode = document.createElement('div');\n this.backdropNode.className = backdropClass;\n this.backdropNode.setAttribute('data-markup', 'new');\n this.dialogNode.parentNode.insertBefore(this.backdropNode, this.dialogNodev);\n this.backdropNode.appendChild(this.dialogNode);\n }\n\n this.backdropNode.classList.add('sui-active'); // Disable scroll on the body element\n\n document.body.parentNode.classList.add(aria.Utils.dialogOpenClass);\n\n if ('string' === typeof focusAfterClosed) {\n this.focusAfterClosed = document.getElementById(focusAfterClosed);\n } else if ('object' === _typeof(focusAfterClosed)) {\n this.focusAfterClosed = focusAfterClosed;\n } else {\n throw new Error('the focusAfterClosed parameter is required for the aria.Dialog constructor.');\n }\n\n if ('string' === typeof focusFirst) {\n this.focusFirst = document.getElementById(focusFirst);\n } else if ('object' === _typeof(focusFirst)) {\n this.focusFirst = focusFirst;\n } else {\n this.focusFirst = null;\n } // Bracket the dialog node with two invisible, focusable nodes.\n // While this dialog is open, we use these to make sure that focus never\n // leaves the document even if dialogNode is the first or last node.\n\n\n var preDiv = document.createElement('div');\n this.preNode = this.dialogNode.parentNode.insertBefore(preDiv, this.dialogNode);\n this.preNode.tabIndex = 0;\n\n if ('boolean' === typeof hasOverlayMask && true === hasOverlayMask) {\n this.preNode.classList.add('sui-modal-overlay');\n\n this.preNode.onclick = function () {\n aria.getCurrentDialog().close();\n };\n }\n\n var postDiv = document.createElement('div');\n this.postNode = this.dialogNode.parentNode.insertBefore(postDiv, this.dialogNode.nextSibling);\n this.postNode.tabIndex = 0; // If this modal is opening on top of one that is already open,\n // get rid of the document focus listener of the open dialog.\n\n if (0 < aria.OpenDialogList.length) {\n aria.getCurrentDialog().removeListeners();\n }\n\n this.addListeners();\n aria.OpenDialogList.push(this);\n this.dialogNode.classList.add('sui-content-fade-in'); // make visible\n\n this.dialogNode.classList.remove('sui-content-fade-out');\n\n if (this.focusFirst) {\n this.focusFirst.focus();\n } else {\n aria.Utils.focusFirstDescendant(this.dialogNode);\n }\n\n this.lastFocus = document.activeElement;\n }; // end Dialog constructor.\n\n /**\n * @desc Hides the current top dialog, removes listeners of the top dialog,\n * restore listeners of a parent dialog if one was open under the one that\n * just closed, and sets focus on the element specified for focusAfterClosed.\n */\n\n\n aria.Dialog.prototype.close = function () {\n var self = this;\n aria.OpenDialogList.pop();\n this.removeListeners();\n this.preNode.parentNode.removeChild(this.preNode);\n this.postNode.parentNode.removeChild(this.postNode);\n this.dialogNode.classList.add('sui-content-fade-out');\n this.dialogNode.classList.remove('sui-content-fade-in');\n this.focusAfterClosed.focus();\n setTimeout(function () {\n self.backdropNode.classList.remove('sui-active');\n }, 300);\n setTimeout(function () {\n var slides = self.dialogNode.querySelectorAll('.sui-modal-slide');\n\n if (0 < slides.length) {\n // Hide all slides.\n for (var i = 0; i < slides.length; i++) {\n slides[i].setAttribute('disabled', true);\n slides[i].classList.remove('sui-loaded');\n slides[i].classList.remove('sui-active');\n slides[i].setAttribute('tabindex', '-1');\n slides[i].setAttribute('aria-hidden', true);\n } // Change modal size.\n\n\n if (slides[0].hasAttribute('data-modal-size')) {\n var newDialogSize = slides[0].getAttribute('data-modal-size');\n\n switch (newDialogSize) {\n case 'sm':\n case 'small':\n newDialogSize = 'sm';\n break;\n\n case 'md':\n case 'med':\n case 'medium':\n newDialogSize = 'md';\n break;\n\n case 'lg':\n case 'large':\n newDialogSize = 'lg';\n break;\n\n case 'xl':\n case 'extralarge':\n case 'extraLarge':\n case 'extra-large':\n newDialogSize = 'xl';\n break;\n\n default:\n newDialogSize = undefined;\n }\n\n if (undefined !== newDialogSize) {\n // Remove others sizes from dialog to prevent any conflicts with styles.\n self.dialogNode.parentNode.classList.remove('sui-modal-sm');\n self.dialogNode.parentNode.classList.remove('sui-modal-md');\n self.dialogNode.parentNode.classList.remove('sui-modal-lg');\n self.dialogNode.parentNode.classList.remove('sui-modal-xl'); // Apply the new size to dialog.\n\n self.dialogNode.parentNode.classList.add('sui-modal-' + newDialogSize);\n }\n } // Show first slide.\n\n\n slides[0].classList.add('sui-active');\n slides[0].classList.add('sui-loaded');\n slides[0].removeAttribute('disabled');\n slides[0].removeAttribute('tabindex');\n slides[0].removeAttribute('aria-hidden'); // Change modal label.\n\n if (slides[0].hasAttribute('data-modal-labelledby')) {\n var newDialogLabel, getDialogLabel;\n newDialogLabel = '';\n getDialogLabel = slides[0].getAttribute('data-modal-labelledby');\n\n if ('' !== getDialogLabel || undefined !== getDialogLabel) {\n newDialogLabel = getDialogLabel;\n }\n\n self.dialogNode.setAttribute('aria-labelledby', newDialogLabel);\n } // Change modal description.\n\n\n if (slides[0].hasAttribute('data-modal-describedby')) {\n var newDialogDesc, getDialogDesc;\n newDialogDesc = '';\n getDialogDesc = slides[0].getAttribute('data-modal-describedby');\n\n if ('' !== getDialogDesc || undefined !== getDialogDesc) {\n newDialogDesc = getDialogDesc;\n }\n\n self.dialogNode.setAttribute('aria-describedby', newDialogDesc);\n }\n }\n }, 350); // If a dialog was open underneath this one, restore its listeners.\n\n if (0 < aria.OpenDialogList.length) {\n aria.getCurrentDialog().addListeners();\n } else {\n document.body.parentNode.classList.remove(aria.Utils.dialogOpenClass);\n }\n }; // end close.\n\n /**\n * @desc Hides the current dialog and replaces it with another.\n *\n * @param newDialogId\n * ID of the dialog that will replace the currently open top dialog.\n *\n * @param newFocusAfterClosed\n * Optional ID or DOM node specifying where to place focus when the new dialog closes.\n * If not specified, focus will be placed on the element specified by the dialog being replaced.\n *\n * @param newFocusFirst\n * Optional ID or DOM node specifying where to place focus in the new dialog when it opens.\n * If not specified, the first focusable element will receive focus.\n *\n * @param hasOverlayMask\n * Optional boolean parameter that when is set to \"true\" will enable a clickable overlay\n * mask to the new opened dialog. This mask will fire close dialog function when you click it.\n */\n\n\n aria.Dialog.prototype.replace = function (newDialogId, newFocusAfterClosed, newFocusFirst, hasOverlayMask) {\n var self = this;\n aria.OpenDialogList.pop();\n this.removeListeners();\n aria.Utils.remove(this.preNode);\n aria.Utils.remove(this.postNode);\n this.dialogNode.classList.remove('sui-content-fade-in');\n this.backdropNode.classList.remove('sui-active');\n setTimeout(function () {\n var slides = self.dialogNode.querySelectorAll('.sui-modal-slide');\n\n if (0 < slides.length) {\n // Hide all slides.\n for (var i = 0; i < slides.length; i++) {\n slides[i].setAttribute('disabled', true);\n slides[i].classList.remove('sui-loaded');\n slides[i].classList.remove('sui-active');\n slides[i].setAttribute('tabindex', '-1');\n slides[i].setAttribute('aria-hidden', true);\n } // Change modal size.\n\n\n if (slides[0].hasAttribute('data-modal-size')) {\n var newDialogSize = slides[0].getAttribute('data-modal-size');\n\n switch (newDialogSize) {\n case 'sm':\n case 'small':\n newDialogSize = 'sm';\n break;\n\n case 'md':\n case 'med':\n case 'medium':\n newDialogSize = 'md';\n break;\n\n case 'lg':\n case 'large':\n newDialogSize = 'lg';\n break;\n\n case 'xl':\n case 'extralarge':\n case 'extraLarge':\n case 'extra-large':\n newDialogSize = 'xl';\n break;\n\n default:\n newDialogSize = undefined;\n }\n\n if (undefined !== newDialogSize) {\n // Remove others sizes from dialog to prevent any conflicts with styles.\n self.dialogNode.parentNode.classList.remove('sui-modal-sm');\n self.dialogNode.parentNode.classList.remove('sui-modal-md');\n self.dialogNode.parentNode.classList.remove('sui-modal-lg');\n self.dialogNode.parentNode.classList.remove('sui-modal-xl'); // Apply the new size to dialog.\n\n self.dialogNode.parentNode.classList.add('sui-modal-' + newDialogSize);\n }\n } // Show first slide.\n\n\n slides[0].classList.add('sui-active');\n slides[0].classList.add('sui-loaded');\n slides[0].removeAttribute('disabled');\n slides[0].removeAttribute('tabindex');\n slides[0].removeAttribute('aria-hidden'); // Change modal label.\n\n if (slides[0].hasAttribute('data-modal-labelledby')) {\n var newDialogLabel, getDialogLabel;\n newDialogLabel = '';\n getDialogLabel = slides[0].getAttribute('data-modal-labelledby');\n\n if ('' !== getDialogLabel || undefined !== getDialogLabel) {\n newDialogLabel = getDialogLabel;\n }\n\n self.dialogNode.setAttribute('aria-labelledby', newDialogLabel);\n } // Change modal description.\n\n\n if (slides[0].hasAttribute('data-modal-describedby')) {\n var newDialogDesc, getDialogDesc;\n newDialogDesc = '';\n getDialogDesc = slides[0].getAttribute('data-modal-describedby');\n\n if ('' !== getDialogDesc || undefined !== getDialogDesc) {\n newDialogDesc = getDialogDesc;\n }\n\n self.dialogNode.setAttribute('aria-describedby', newDialogDesc);\n }\n }\n }, 350);\n var focusAfterClosed = newFocusAfterClosed || this.focusAfterClosed;\n var dialog = new aria.Dialog(newDialogId, focusAfterClosed, newFocusFirst, hasOverlayMask);\n }; // end replace\n\n /**\n * @desc Uses the same dialog to display different content that will slide to show.\n *\n * @param newSlideId\n * ID of the slide that will replace the currently active slide content.\n *\n * @param newSlideFocus\n * Optional ID or DOM node specifying where to place focus in the new slide when it shows.\n * If not specified, the first focusable element will receive focus.\n *\n * @param newSlideEntrance\n * Determine if the new slide will show up from \"left\" or \"right\" of the screen.\n * If not specified, the slide entrance animation will be \"fade in\".\n */\n\n\n aria.Dialog.prototype.slide = function (newSlideId, newSlideFocus, newSlideEntrance) {\n var animation = 'sui-fadein',\n currentDialog = aria.getCurrentDialog(),\n getAllSlides = this.dialogNode.querySelectorAll('.sui-modal-slide'),\n getNewSlide = document.getElementById(newSlideId);\n\n switch (newSlideEntrance) {\n case 'back':\n case 'left':\n animation = 'sui-fadein-left';\n break;\n\n case 'next':\n case 'right':\n animation = 'sui-fadein-right';\n break;\n\n default:\n animation = 'sui-fadein';\n break;\n } // Hide all slides.\n\n\n for (var i = 0; i < getAllSlides.length; i++) {\n getAllSlides[i].setAttribute('disabled', true);\n getAllSlides[i].classList.remove('sui-loaded');\n getAllSlides[i].classList.remove('sui-active');\n getAllSlides[i].setAttribute('tabindex', '-1');\n getAllSlides[i].setAttribute('aria-hidden', true);\n } // Change modal size.\n\n\n if (getNewSlide.hasAttribute('data-modal-size')) {\n var newDialogSize = getNewSlide.getAttribute('data-modal-size');\n\n switch (newDialogSize) {\n case 'sm':\n case 'small':\n newDialogSize = 'sm';\n break;\n\n case 'md':\n case 'med':\n case 'medium':\n newDialogSize = 'md';\n break;\n\n case 'lg':\n case 'large':\n newDialogSize = 'lg';\n break;\n\n case 'xl':\n case 'extralarge':\n case 'extraLarge':\n case 'extra-large':\n newDialogSize = 'xl';\n break;\n\n default:\n newDialogSize = undefined;\n }\n\n if (undefined !== newDialogSize) {\n // Remove others sizes from dialog to prevent any conflicts with styles.\n this.dialogNode.parentNode.classList.remove('sui-modal-sm');\n this.dialogNode.parentNode.classList.remove('sui-modal-md');\n this.dialogNode.parentNode.classList.remove('sui-modal-lg');\n this.dialogNode.parentNode.classList.remove('sui-modal-xl'); // Apply the new size to dialog.\n\n this.dialogNode.parentNode.classList.add('sui-modal-' + newDialogSize);\n }\n } // Change modal label.\n\n\n if (getNewSlide.hasAttribute('data-modal-labelledby')) {\n var newDialogLabel, getDialogLabel;\n newDialogLabel = '';\n getDialogLabel = getNewSlide.getAttribute('data-modal-labelledby');\n\n if ('' !== getDialogLabel || undefined !== getDialogLabel) {\n newDialogLabel = getDialogLabel;\n }\n\n this.dialogNode.setAttribute('aria-labelledby', newDialogLabel);\n } // Change modal description.\n\n\n if (getNewSlide.hasAttribute('data-modal-describedby')) {\n var newDialogDesc, getDialogDesc;\n newDialogDesc = '';\n getDialogDesc = getNewSlide.getAttribute('data-modal-describedby');\n\n if ('' !== getDialogDesc || undefined !== getDialogDesc) {\n newDialogDesc = getDialogDesc;\n }\n\n this.dialogNode.setAttribute('aria-describedby', newDialogDesc);\n } // Show new slide.\n\n\n getNewSlide.classList.add('sui-active');\n getNewSlide.classList.add(animation);\n getNewSlide.removeAttribute('tabindex');\n getNewSlide.removeAttribute('aria-hidden');\n setTimeout(function () {\n getNewSlide.classList.add('sui-loaded');\n getNewSlide.classList.remove(animation);\n getNewSlide.removeAttribute('disabled');\n }, 600);\n\n if ('string' === typeof newSlideFocus) {\n this.newSlideFocus = document.getElementById(newSlideFocus);\n } else if ('object' === _typeof(newSlideFocus)) {\n this.newSlideFocus = newSlideFocus;\n } else {\n this.newSlideFocus = null;\n }\n\n if (this.newSlideFocus) {\n this.newSlideFocus.focus();\n } else {\n aria.Utils.focusFirstDescendant(this.dialogNode);\n }\n }; // end slide.\n\n\n aria.Dialog.prototype.addListeners = function () {\n document.addEventListener('focus', this.trapFocus, true);\n }; // end addListeners.\n\n\n aria.Dialog.prototype.removeListeners = function () {\n document.removeEventListener('focus', this.trapFocus, true);\n }; // end removeListeners.\n\n\n aria.Dialog.prototype.trapFocus = function (event) {\n if (aria.Utils.IgnoreUtilFocusChanges) {\n return;\n }\n\n var currentDialog = aria.getCurrentDialog();\n\n if (currentDialog.dialogNode.contains(event.target)) {\n currentDialog.lastFocus = event.target;\n } else {\n aria.Utils.focusFirstDescendant(currentDialog.dialogNode);\n\n if (currentDialog.lastFocus == document.activeElement) {\n aria.Utils.focusLastDescendant(currentDialog.dialogNode);\n }\n\n currentDialog.lastFocus = document.activeElement;\n }\n }; // end trapFocus.\n\n\n SUI.openModal = function (dialogId, focusAfterClosed, focusFirst, dialogOverlay) {\n var dialog = new aria.Dialog(dialogId, focusAfterClosed, focusFirst, dialogOverlay);\n }; // end openModal.\n\n\n SUI.closeModal = function () {\n var topDialog = aria.getCurrentDialog();\n topDialog.close();\n }; // end closeDialog.\n\n\n SUI.replaceModal = function (newDialogId, newFocusAfterClosed, newFocusFirst, hasOverlayMask) {\n var topDialog = aria.getCurrentDialog();\n /**\n * BUG #1:\n * When validating document.activeElement it always returns \"false\" but\n * even when \"false\" on Chrome function is fired correctly while on Firefox\n * and Safari this validation prevents function to be fired on click.\n *\n * if ( topDialog.dialogNode.contains( document.activeElement ) ) { ... }\n */\n\n topDialog.replace(newDialogId, newFocusAfterClosed, newFocusFirst, hasOverlayMask);\n }; // end replaceModal.\n\n\n SUI.slideModal = function (newSlideId, newSlideFocus, newSlideEntrance) {\n var topDialog = aria.getCurrentDialog();\n topDialog.slide(newSlideId, newSlideFocus, newSlideEntrance);\n }; // end slideModal.\n\n})();\n\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n\n SUI.modalDialog = function () {\n function init() {\n var button, buttonOpen, buttonClose, buttonReplace, buttonSlide, overlayMask, modalId, slideId, closeFocus, newFocus, animation;\n buttonOpen = $('[data-modal-open]');\n buttonClose = $('[data-modal-close]');\n buttonReplace = $('[data-modal-replace]');\n buttonSlide = $('[data-modal-slide]');\n overlayMask = $('.sui-modal-overlay');\n buttonOpen.on('click', function (e) {\n button = $(this);\n modalId = button.attr('data-modal-open');\n closeFocus = button.attr('data-modal-close-focus');\n newFocus = button.attr('data-modal-open-focus');\n overlayMask = button.attr('data-modal-mask');\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(closeFocus) || false === closeFocus || '' === closeFocus) {\n closeFocus = this;\n }\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(newFocus) || false === newFocus || '' === newFocus) {\n newFocus = undefined;\n }\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(overlayMask) && false !== overlayMask && 'true' === overlayMask) {\n overlayMask = true;\n } else {\n overlayMask = false;\n }\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(modalId) && false !== modalId && '' !== modalId) {\n SUI.openModal(modalId, closeFocus, newFocus, overlayMask);\n }\n\n e.preventDefault();\n });\n buttonReplace.on('click', function (e) {\n button = $(this);\n modalId = button.attr('data-modal-replace');\n closeFocus = button.attr('data-modal-close-focus');\n newFocus = button.attr('data-modal-open-focus');\n overlayMask = button.attr('data-modal-replace-mask');\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(closeFocus) || false === closeFocus || '' === closeFocus) {\n closeFocus = undefined;\n }\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(newFocus) || false === newFocus || '' === newFocus) {\n newFocus = undefined;\n }\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(overlayMask) && false !== overlayMask && 'true' === overlayMask) {\n overlayMask = true;\n } else {\n overlayMask = false;\n }\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(modalId) && false !== modalId && '' !== modalId) {\n SUI.replaceModal(modalId, closeFocus, newFocus, overlayMask);\n }\n\n e.preventDefault();\n });\n buttonSlide.on('click', function (e) {\n button = $(this);\n slideId = button.attr('data-modal-slide');\n newFocus = button.attr('data-modal-slide-focus');\n animation = button.attr('data-modal-slide-intro');\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(newFocus) || false === newFocus || '' === newFocus) {\n newFocus = undefined;\n }\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(animation) || false === animation || '' === animation) {\n animation = '';\n }\n\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(slideId) && false !== slideId && '' !== slideId) {\n SUI.slideModal(slideId, newFocus, animation);\n }\n\n e.preventDefault();\n });\n buttonClose.on('click', function (e) {\n SUI.closeModal();\n e.preventDefault();\n });\n }\n\n init();\n return this;\n };\n\n SUI.modalDialog();\n})(jQuery);","function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n(function ($) {\n // Enable strict mode.\n 'use strict'; // Define global SUI object if it does not exist.\n\n var _this = this;\n\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n /**\n * @desc Notifications function to show when alert.\n *\n * Assumptions: The element serving as the alert container is present in the\n * DOM and hidden. The alert container has role='alert'.\n *\n * @param noticeId\n * The ID of the element serving as the alert container.\n *\n * @param noticeMessage\n * The content to be printed when the alert shows up. It accepts HTML.\n *\n * @param noticeOptions\n * An object with different paramethers to modify the alert appearance.\n */\n\n\n SUI.openNotice = function (noticeId, noticeMessage, noticeOptions) {\n // Get notification node by ID.\n var noticeNode = $('#' + noticeId);\n var nodeWrapper = noticeNode.parent(); // Check if element ID exists.\n\n if (null === typeof noticeNode || 'undefined' === typeof noticeNode) {\n throw new Error('No element found with id=\"' + noticeId + '\".');\n } // Check if element has correct attribute.\n\n\n if ('alert' !== noticeNode.attr('role')) {\n throw new Error('Notice requires a DOM element with ARIA role of alert.');\n } // Check if notice message is empty.\n\n\n if (null === typeof noticeMessage || 'undefined' === typeof noticeMessage || '' === noticeMessage) {\n throw new Error('Notice requires a message to print.');\n }\n\n var utils = utils || {};\n /**\n * @desc Allowed types for notification.\n */\n\n utils.allowedNotices = ['info', 'blue', 'green', 'success', 'yellow', 'warning', 'red', 'error', 'purple', 'upsell'];\n /**\n * @desc Verify if property is an array.\n */\n\n utils.isObject = function (obj) {\n if ((null !== obj || 'undefined' !== obj) && $.isPlainObject(obj)) {\n return true;\n }\n\n return false;\n };\n /**\n * @desc Deep merge two objects.\n * Watch out for infinite recursion on circular references.\n */\n\n\n utils.deepMerge = function (target) {\n for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n sources[_key - 1] = arguments[_key];\n }\n\n if (!sources.length) {\n return target;\n }\n\n var source = sources.shift();\n\n if (utils.isObject(target) && utils.isObject(source)) {\n for (var key in source) {\n if (utils.isObject(source[key])) {\n if (!target[key]) {\n Object.assign(target, _defineProperty({}, key, {}));\n }\n\n utils.deepMerge(target[key], source[key]);\n } else {\n Object.assign(target, _defineProperty({}, key, source[key]));\n }\n }\n }\n\n return utils.deepMerge.apply(utils, [target].concat(sources));\n };\n /**\n * @desc Declare default styling options for notifications.\n */\n\n\n utils.setProperties = function () {\n var incomingOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n utils.options = [];\n var defaults = {\n type: 'default',\n icon: 'info',\n dismiss: {\n show: false,\n label: 'Close this notice',\n tooltip: ''\n },\n autoclose: {\n show: true,\n timeout: 3000\n }\n };\n utils.options[0] = utils.deepMerge(defaults, incomingOptions);\n };\n\n utils.setProperties(noticeOptions);\n /**\n * @desc Build notice dismiss.\n */\n\n utils.buildDismiss = function () {\n var html = '';\n var dismiss = utils.options[0].dismiss;\n\n if (true === dismiss.show) {\n html = document.createElement('div');\n html.className = 'sui-notice-actions';\n var innerHTML = '';\n\n if ('' !== dismiss.tooltip) {\n if (nodeWrapper.hasClass('sui-floating-notices')) {\n innerHTML += '<div class=\"sui-tooltip sui-tooltip-bottom\" data-tooltip=\"' + dismiss.tooltip + '\">';\n } else {\n innerHTML += '<div class=\"sui-tooltip\" data-tooltip=\"' + dismiss.tooltip + '\">';\n }\n }\n\n innerHTML += '<button class=\"sui-button-icon\">';\n innerHTML += '<i class=\"sui-icon-check\" aria-hidden=\"true\"></i>';\n\n if ('' !== dismiss.label) {\n innerHTML += '<span class=\"sui-screen-reader-text\">' + dismiss.label + '</span>';\n }\n\n innerHTML += '</button>';\n\n if ('' !== dismiss.tooltip) {\n innerHTML += '</div>';\n }\n\n html.innerHTML = innerHTML;\n }\n\n return html;\n };\n /**\n * @desc Build notice icon.\n */\n\n\n utils.buildIcon = function () {\n var html = '';\n var icon = utils.options[0].icon;\n\n if ('' !== icon || 'undefined' !== typeof icon || null !== typeof icon) {\n html = document.createElement('span');\n html.className += 'sui-notice-icon sui-icon-' + icon + ' sui-md';\n html.setAttribute('aria-hidden', true);\n\n if ('loader' === icon) {\n html.classList.add('sui-loading');\n }\n }\n\n return html;\n };\n /**\n * @desc Build notice message.\n */\n\n\n utils.buildMessage = function () {\n var html = document.createElement('div');\n html.className = 'sui-notice-message';\n html.innerHTML = noticeMessage;\n html.prepend(utils.buildIcon());\n return html;\n };\n /**\n * @desc Build notice markup.\n */\n\n\n utils.buildNotice = function () {\n var html = document.createElement('div');\n html.className = 'sui-notice-content';\n html.append(utils.buildMessage(), utils.buildDismiss());\n return html;\n };\n /**\n * @desc Show notification message.\n */\n\n\n utils.showNotice = function (animation) {\n var timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;\n var type = utils.options[0].type;\n var dismiss = utils.options[0].dismiss;\n var autoclose = utils.options[0].autoclose; // Add active class.\n\n noticeNode.addClass('sui-active'); // Check for allowed notification types.\n\n $.each(utils.allowedNotices, function (key, value) {\n if (value === type) {\n noticeNode.addClass('sui-notice-' + value);\n }\n }); // Remove tabindex.\n\n noticeNode.removeAttr('tabindex'); // Print notification message.\n\n noticeNode.html(utils.buildNotice()); // Show animation.\n\n if ('slide' === animation) {\n noticeNode.slideDown(timeout, function () {\n // Check if dismiss button enabled.\n if (true === dismiss.show) {\n // Focus dismiss button.\n noticeNode.find('.sui-notice-actions button').focus(); // Dismiss button.\n\n noticeNode.find('.sui-notice-actions button').on('click', function () {\n SUI.closeNotice(noticeId);\n });\n } else {\n // Check if notice auto-closes.\n if (true === autoclose.show) {\n setTimeout(function () {\n return SUI.closeNotice(noticeId);\n }, parseInt(autoclose.timeout));\n }\n }\n });\n } else if ('fade' === animation) {\n noticeNode.fadeIn(timeout, function () {\n // Check if dismiss button enabled.\n if (true === dismiss.show) {\n // Focus dismiss button.\n noticeNode.find('.sui-notice-actions button').focus(); // Dismiss button.\n\n noticeNode.find('.sui-notice-actions button').on('click', function () {\n SUI.closeNotice(noticeId);\n });\n } else {\n // Check if notice auto-closes.\n if (true === autoclose.show) {\n setTimeout(function () {\n return SUI.closeNotice(noticeId);\n }, parseInt(autoclose.timeout));\n }\n }\n });\n } else {\n noticeNode.show(timeout, function () {\n // Check if dismiss button enabled.\n if (true === dismiss.show) {\n // Focus dismiss button.\n noticeNode.find('.sui-notice-actions button').focus(); // Dismiss button.\n\n noticeNode.find('.sui-notice-actions button').on('click', function () {\n SUI.closeNotice(noticeId);\n });\n } else {\n // Check if notice auto-closes.\n if (true === autoclose.show) {\n setTimeout(function () {\n return SUI.closeNotice(noticeId);\n }, parseInt(autoclose.timeout));\n }\n }\n });\n }\n };\n /**\n * @desc Open notification message.\n */\n\n\n utils.openNotice = function (animation) {\n var timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;\n\n if (noticeNode.hasClass('sui-active')) {\n if ('slide' === animation) {\n noticeNode.slideUp(timeout, function () {\n utils.showNotice('slide', timeout);\n });\n } else if ('fade' === animation) {\n noticeNode.fadeOut(timeout, function () {\n utils.showNotice('fade', timeout);\n });\n } else {\n noticeNode.hide(timeout, function () {\n utils.showNotice(null, timeout);\n });\n }\n } else {\n // Show notice.\n utils.showNotice(animation, timeout);\n }\n };\n /**\n * @desc Initialize function.\n */\n\n\n var init = function init() {\n /**\n * When notice should float, it needs to be wrapped inside:\n * <div class=\"sui-floating-notices\"></div>\n *\n * IMPORTANT: This wrapper goes before \"sui-wrap\" closing tag\n * and after modals markup.\n */\n if (nodeWrapper.hasClass('sui-floating-notices')) {\n utils.openNotice('slide');\n } else {\n utils.openNotice('fade');\n }\n };\n\n init();\n return _this;\n };\n /**\n * @desc Close and clear the alert.\n *\n * Assumptions: The element that will trigger this function is part of alert content.\n *\n * @param noticeId\n * The ID of the element serving as the alert container.\n *\n */\n\n\n SUI.closeNotice = function (noticeId) {\n // Get notification node by ID.\n var noticeNode = $('#' + noticeId);\n var nodeWrapper = noticeNode.parent(); // Check if element ID exists.\n\n if (null === typeof noticeNode || 'undefined' === typeof noticeNode) {\n throw new Error('No element found with id=\"' + noticeId + '\".');\n } // Check if element has correct attribute.\n\n\n if ('alert' !== noticeNode.attr('role')) {\n throw new Error('Notice requires a DOM element with ARIA role of alert.');\n }\n\n var utils = utils || {};\n /**\n * @desc Allowed types for notification.\n */\n\n utils.allowedNotices = ['info', 'blue', 'green', 'success', 'yellow', 'warning', 'red', 'error', 'purple', 'upsell'];\n /**\n * @desc Destroy notification.\n */\n\n utils.hideNotice = function () {\n // Remove active class.\n noticeNode.removeClass('sui-active'); // Remove styling classes.\n\n $.each(utils.allowedNotices, function (key, value) {\n noticeNode.removeClass('sui-notice-' + value);\n }); // Prevent TAB key from accessing the element.\n\n noticeNode.attr('tabindex', '-1'); // Remove all content from notification.\n\n noticeNode.empty();\n };\n /**\n * @desc Close notification message.\n */\n\n\n utils.closeNotice = function (animation) {\n var timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;\n\n // Close animation.\n if ('slide' === animation) {\n noticeNode.slideUp(timeout, function () {\n return utils.hideNotice();\n });\n } else if ('fade' === animation) {\n noticeNode.fadeOut(timeout, function () {\n return utils.hideNotice();\n });\n } else {\n noticeNode.hide(timeout, function () {\n return utils.hideNotice();\n });\n }\n };\n /**\n * @desc Initialize function.\n */\n\n\n var init = function init() {\n /**\n * When notice should float, it needs to be wrapped inside:\n * <div class=\"sui-floating-notices\"></div>\n *\n * IMPORTANT: This wrapper goes before \"sui-wrap\" closing tag\n * and after modals markup.\n */\n if (nodeWrapper.hasClass('sui-floating-notices')) {\n utils.closeNotice('slide');\n } else {\n utils.closeNotice('fade');\n }\n };\n\n init();\n return _this;\n };\n /**\n * @desc Trigger open and close alert notification functions through element attributes.\n *\n * Assumptions: Elements in charge of triggering the actions will be a button or a non-hyperlink element.\n *\n */\n\n\n SUI.notice = function () {\n var notice = notice || {};\n notice.Utils = notice.Utils || {};\n /**\n * @desc Click an element to open a notification.\n */\n\n notice.Utils.Open = function (element) {\n element.on('click', function () {\n self = $(this); // Define main variables for open function.\n\n var noticeId = self.attr('data-notice-open');\n var noticeMessage = '';\n var noticeOptions = {}; // Define index to use on for loops.\n\n var i; // Define maximum number of paragraphs.\n\n var numbLines = 4; // Check if `data-notice-message` exists.\n\n if (self.is('[data-notice-message]') && '' !== self.attr('data-notice-message')) {\n noticeMessage += self.attr('data-notice-message'); // If `data-notice-message` doesn't exists, look for `data-notice-paragraph-[i]` attributes.\n } else {\n for (i = 0; i < numbLines; i++) {\n var index = i + 1;\n var paragraph = 'data-notice-paragraph-' + index;\n\n if (self.is('[' + paragraph + ']') && '' !== self.attr(paragraph)) {\n noticeMessage += '<p>' + self.attr(paragraph) + '</p>';\n }\n }\n } // Check if `data-notice-type` exists.\n\n\n if (self.is('[data-notice-type]') && '' !== self.attr('data-notice-dismiss-type')) {\n noticeOptions.type = self.attr('data-notice-type');\n } // Check if `data-notice-icon` exists.\n\n\n if (self.is('[data-notice-icon]')) {\n noticeOptions.icon = self.attr('data-notice-icon');\n } // Check if `data-notice-dismiss` exists.\n\n\n if (self.is('[data-notice-dismiss]')) {\n noticeOptions.dismiss = {};\n\n if ('true' === self.attr('data-notice-dismiss')) {\n noticeOptions.dismiss.show = true;\n } else if ('false' === self.attr('data-notice-dismiss')) {\n noticeOptions.dismiss.show = false;\n }\n } // Check if `data-notice-dismiss-label` exists.\n\n\n if (self.is('[data-notice-dismiss-label]') && '' !== self.attr('data-notice-dismiss-label')) {\n noticeOptions.dismiss.label = self.attr('data-notice-dismiss-label');\n } // Check if `data-notice-dismiss-label` exists.\n\n\n if (self.is('[data-notice-dismiss-tooltip]') && '' !== self.attr('data-notice-dismiss-tooltip')) {\n noticeOptions.dismiss.tooltip = self.attr('data-notice-dismiss-tooltip');\n } // Check if `data-notice-autoclose` exists.\n\n\n if (self.is('[data-notice-autoclose]')) {\n noticeOptions.autoclose = {};\n\n if ('true' === self.attr('data-notice-autoclose')) {\n noticeOptions.autoclose.show = true;\n } else if ('false' === self.attr('data-notice-autoclose')) {\n noticeOptions.autoclose.show = false;\n }\n } // Check if `data-notice-autoclose-timeout` exists.\n\n\n if (self.is('[data-notice-autoclose-timeout]')) {\n noticeOptions.autoclose = noticeOptions.autoclose || {};\n noticeOptions.autoclose.timeout = parseInt(self.attr('data-notice-autoclose-timeout'));\n }\n\n SUI.openNotice(noticeId, noticeMessage, noticeOptions);\n });\n };\n /**\n * @desc Close a notification.\n */\n\n\n notice.Utils.Close = function (element) {\n element.on('click', function () {\n self = $(this);\n var noticeId;\n\n if (self.is('[data-notice-close]')) {\n noticeId = self.closest('.sui-notice').attr('id');\n\n if ('' !== self.attr('[data-notice-close]')) {\n noticeId = self.attr('data-notice-close');\n }\n\n SUI.closeNotice(noticeId);\n }\n });\n };\n\n var init = function init() {\n // Open a notification.\n var btnOpen = $('[data-notice-open]');\n notice.Utils.Open(btnOpen); // Close a notification.\n\n var btnClose = $('[data-notice-close]');\n notice.Utils.Close(btnClose);\n };\n\n init();\n return _this;\n };\n\n SUI.notice();\n})(jQuery);","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n(function ($) {\n // Enable strict mode.\n 'use strict'; // Define global SUI object if it doesn't exist.\n\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n\n SUI.loadCircleScore = function (el) {\n var dial = $(el).find('svg circle:last-child'),\n score = $(el).data('score'),\n radius = 42,\n circumference = 2 * Math.PI * radius,\n dashLength = circumference / 100 * score,\n gapLength = dashLength * 100 - score,\n svg = '<svg viewbox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\">\\n' + '<circle stroke-width=\"16\" cx=\"50\" cy=\"50\" r=\"42\" />\\n' + '<circle stroke-width=\"16\" cx=\"50\" cy=\"50\" r=\"42\" stroke-dasharray=\"0,' + gapLength + '\" />\\n' + '</svg>\\n' + '<span class=\"sui-circle-score-label\">' + score + '</span>\\n'; // Add svg to score element, add loaded class, & change stroke-dasharray to represent target score/percentage.\n\n $(el).prepend(svg).addClass('loaded').find('circle:last-child').css('animation', 'sui' + score + ' 3s forwards');\n };\n\n $('.sui-2-7-0 .sui-circle-score').each(function () {\n SUI.loadCircleScore(this);\n });\n})(jQuery);","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n(function ($) {\n // Enable strict mode.\n 'use strict'; // Define global SUI object if it doesn't exist.\n\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n\n SUI.suiSelect = function (el) {\n var jq = $(el),\n wrap,\n handle,\n list,\n value,\n items;\n\n if (!jq.is('select')) {\n return;\n }\n\n if (jq.closest('.select-container').length || jq.data('select2') || jq.is('.sui-select') || jq.is('.sui-search') || jq.is('.sui-variables') || jq.is('.none-sui')) {\n return;\n } // Add the DOM elements to style the select list.\n\n\n function setupElement() {\n // Wrap select\n jq.wrap('<div class=\"select-container\">'); // Hide select\n\n jq.attr('aria-hidden', true);\n jq.attr('hidden', true);\n jq.hide();\n wrap = jq.parent();\n handle = $('<span class=\"dropdown-handle\" aria-hidden=\"true\"><i class=\"sui-icon-chevron-down\"></i></span>').prependTo(wrap);\n list = $('<div class=\"select-list-container\"></div>').appendTo(wrap);\n value = $('<button type=\"button\" class=\"list-value\" aria-haspopup=\"listbox\"> </button>').appendTo(list);\n items = $('<ul tabindex=\"-1\" role=\"listbox\" class=\"list-results\"></ul>').appendTo(list);\n wrap.addClass(jq.attr('class'));\n value.attr('id', jq.attr('id') + '-button');\n value.attr('aria-labelledby', jq.attr('aria-labelledby') + ' ' + value.attr('id'));\n items.attr('id', jq.attr('id') + '-list');\n items.attr('aria-labelledby', jq.attr('aria-labelledby'));\n } // When changing selection using JS, you need to trigger a 'sui:change' event\n // eg: $('select').val('4').trigger('sui:change')\n\n\n function handleSelectionChange() {\n jq.on('sui:change', function () {\n // We need to re-populateList to handle dynamic select options added via JS/ajax.\n populateList();\n items.find('li').not('.optgroup-label').on('click', function onItemClick(ev) {\n var opt = $(ev.target);\n selectItem(opt, false, opt.data('color'));\n handleValue();\n });\n });\n } // Add all the options to the new DOM elements.\n\n\n function populateList() {\n var children = jq.children();\n items.empty();\n children.each(function () {\n var opt = $(this),\n item,\n optgroup = $(this),\n optGroupItem,\n $label;\n\n if ('OPTION' == $(this).prop('tagName')) {\n item = $('<li></li>').appendTo(items);\n item.attr('role', 'option');\n\n if (opt.data('content')) {\n item.addClass('sui-element-flex');\n item.html('<span>' + opt.text() + '</span><span>' + opt.data('content') + '</span>');\n } else if (opt.data('icon')) {\n item.html('<i class=\"sui-icon-' + opt.data('icon') + '\" aria-hidden=\"true\"></i> ' + opt.text());\n } else if (opt.data('color')) {\n item.html('<span style=\"background-color: ' + opt.data('color') + '\" data-color=\"' + opt.data('color') + '\" aria-hidden=\"true\"></span>' + opt.text());\n } else {\n item.text(opt.text());\n }\n\n if (opt.is(':disabled')) {\n item.addClass('sui-disabled');\n }\n\n items.attr('aria-activedescendant', jq.attr('id') + '-option-' + opt.val());\n item.attr('id', jq.attr('id') + '-option-' + opt.val());\n item.data('value', opt.val());\n item.data('color', opt.data('color'));\n\n if (opt.val() == jq.val()) {\n selectItem(item, true, opt.data('color'));\n }\n } else {\n optGroupItem = $('<ul></ul>').appendTo(items);\n $label = $('<li class=\"optgroup-label\"></li>').text(optgroup.prop('label'));\n optGroupItem.html($label);\n optGroupItem.addClass('optgroup');\n optgroup.find('option').each(function onPopulateLoop() {\n var opt = $(this),\n item;\n item = $('<li></li>').appendTo(optGroupItem);\n item.text(opt.text());\n item.data('value', opt.val());\n\n if (opt.val() == jq.val()) {\n selectItem(item);\n }\n });\n }\n });\n } // Checks the option value for a link.\n\n\n function handleValue() {\n var val = jq[0].value; // If option is link, navigate to it.\n\n if (val.match('^https?:\\/\\/|#')) {\n window.location.href = val;\n }\n } // Toggle the dropdown state between open/closed.\n\n\n function stateToggle() {\n if (wrap.find('select').is(':disabled')) {\n return;\n }\n\n if (!wrap.hasClass('active')) {\n stateOpen();\n } else {\n stateClose();\n }\n } // Close the dropdown list.\n\n\n function stateClose(item) {\n if (!item) {\n item = wrap;\n }\n\n item.removeClass('active');\n item.closest('tr').removeClass('select-open');\n item.find('.list-value').removeAttr('aria-expanded');\n } // Open the dropdown list.\n\n\n function stateOpen() {\n $('.select-container.active').each(function () {\n stateClose($(this));\n });\n wrap.addClass('active');\n wrap.closest('tr').addClass('select-open');\n wrap.find('.list-value').attr('aria-expanded', true);\n } // Visually mark the specified option as \"selected\".\n\n\n function selectItem(opt, isInit, optColor) {\n isInit = 'undefined' === typeof isInit ? false : isInit;\n\n if (undefined !== optColor && '' !== optColor) {\n value.html('<span style=\"background-color: ' + optColor + '\" data-color=\"' + optColor + '\"></span>' + opt.text());\n } else {\n value.text(opt.text());\n }\n\n $('.current', items).removeAttr('aria-selected');\n $('.current', items).removeClass('current');\n opt.addClass('current');\n opt.attr('aria-selected', true);\n items.attr('aria-activedescendant', opt.attr('id'));\n stateClose(); // Also update the select list value.\n\n jq.val(opt.data('value'));\n\n if (!isInit) {\n jq.trigger('change');\n }\n } // Element constructor.\n\n\n function init() {\n var selectID;\n setupElement();\n populateList();\n handleSelectionChange();\n items.find('li').not('.optgroup-label').on('click', function onItemClick(ev) {\n var opt = $(ev.target);\n selectItem(opt, false, opt.data('color'));\n handleValue();\n });\n handle.on('click', stateToggle);\n value.on('click', stateToggle);\n jq.on('focus', stateOpen);\n $(document).click(function onOutsideClick(ev) {\n var jq = $(ev.target),\n selectID;\n\n if (jq.closest('.select-container').length) {\n return;\n }\n\n if (jq.is('label') && jq.attr('for')) {\n selectID = jq.attr('for');\n\n if ($('select#' + selectID).length) {\n return;\n }\n }\n\n stateClose();\n });\n selectID = jq.attr('id');\n\n if (selectID) {\n $('label[for=' + selectID + ']').on('click', stateOpen);\n }\n\n jq.addClass('sui-styled');\n }\n\n init();\n return this;\n }; // Convert all select lists to fancy sui Select lists.\n\n\n $('.sui-2-7-0 select:not([multiple])').each(function () {\n SUI.suiSelect(this);\n });\n})(jQuery);","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n(function ($) {\n // Enable strict mode.\n 'use strict'; // Define global SUI object if it doesn't exist.\n\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n\n SUI.suiTabs = function (config) {\n var data;\n var types = ['tab', 'pane'];\n var type;\n var groups = [];\n var activeGroups = [];\n var activeChildren = [];\n var activeItems = [];\n var indexGroup;\n var indexItem;\n var memory = [];\n\n function init(options) {\n var groupIndex;\n var tabItems;\n var itemIndex;\n var hashId;\n data = options;\n setDefaults();\n groups.tab = document.querySelectorAll(data.tabGroup);\n groups.pane = document.querySelectorAll(data.paneGroup);\n\n for (groupIndex = 0; groupIndex < groups.tab.length; groupIndex++) {\n tabItems = groups.tab[groupIndex].children;\n\n for (itemIndex = 0; itemIndex < tabItems.length; itemIndex++) {\n tabItems[itemIndex].addEventListener('click', onClick.bind(this, groupIndex, itemIndex), false);\n indexGroup = groupIndex;\n indexItem = itemIndex;\n\n if (window.location.hash) {\n hashId = window.location.hash.replace(/[^\\w-_]/g, '');\n\n if (hashId === tabItems[itemIndex].id) {\n setNodes(groupIndex, itemIndex);\n }\n }\n }\n }\n }\n\n function onClick(groupIndex, itemIndex) {\n setNodes(groupIndex, itemIndex);\n setCallback(indexGroup, indexItem);\n }\n\n function setNodes(groupIndex, itemIndex) {\n var i;\n indexGroup = groupIndex;\n indexItem = itemIndex;\n\n for (i = 0; i < types.length; i++) {\n type = types[i];\n setActiveGroup();\n setActiveChildren();\n setActiveItems();\n putActiveClass();\n }\n\n memory[groupIndex] = [];\n memory[groupIndex][itemIndex] = true;\n }\n\n function putActiveClass() {\n var i;\n\n for (i = 0; i < activeChildren[type].length; i++) {\n activeChildren[type][i].classList.remove(data[type + 'Active']);\n }\n\n activeItems[type].classList.add(data[type + 'Active']);\n }\n\n function setDefaults() {\n var i;\n\n for (i = 0; i < types.length; i++) {\n type = types[i];\n setOption(type + 'Group', '[data-' + type + 's]');\n setOption(type + 'Active', 'active');\n }\n }\n\n function setOption(key, value) {\n data = data || [];\n data[key] = data[key] || value;\n }\n\n function setActiveGroup() {\n activeGroups[type] = groups[type][indexGroup];\n }\n\n function setActiveChildren() {\n activeChildren[type] = activeGroups[type].children;\n }\n\n function setActiveItems() {\n activeItems[type] = activeChildren[type][indexItem];\n }\n\n function setCallback() {\n if ('function' === typeof data.callback) {\n data.callback(activeItems.tab, activeItems.pane);\n }\n }\n\n return init(config);\n };\n\n SUI.tabsOverflow = function ($el) {\n var tabs = $el.closest('.sui-tabs').find('[data-tabs], [role=\"tablist\"]'),\n leftButton = $el.find('.sui-tabs-navigation--left'),\n rightButton = $el.find('.sui-tabs-navigation--right');\n\n function overflowing() {\n if (tabs[0].scrollWidth > tabs.width()) {\n if (0 === tabs.scrollLeft()) {\n leftButton.addClass('sui-tabs-navigation--hidden');\n } else {\n leftButton.removeClass('sui-tabs-navigation--hidden');\n }\n\n reachedEnd(0);\n return true;\n } else {\n leftButton.addClass('sui-tabs-navigation--hidden');\n rightButton.addClass('sui-tabs-navigation--hidden');\n return false;\n }\n }\n\n overflowing();\n\n function reachedEnd(offset) {\n var newScrollLeft, width, scrollWidth;\n newScrollLeft = tabs.scrollLeft() + offset;\n width = tabs.outerWidth();\n scrollWidth = tabs.get(0).scrollWidth;\n\n if (scrollWidth - newScrollLeft <= width) {\n rightButton.addClass('sui-tabs-navigation--hidden');\n } else {\n rightButton.removeClass('sui-tabs-navigation--hidden');\n }\n }\n\n leftButton.click(function () {\n rightButton.removeClass('sui-tabs-navigation--hidden');\n\n if (0 >= tabs.scrollLeft() - 150) {\n leftButton.addClass('sui-tabs-navigation--hidden');\n }\n\n tabs.animate({\n scrollLeft: '-=150'\n }, 400, function () {});\n return false;\n });\n rightButton.click(function () {\n leftButton.removeClass('sui-tabs-navigation--hidden');\n reachedEnd(150);\n tabs.animate({\n scrollLeft: '+=150'\n }, 400, function () {});\n return false;\n });\n $(window).resize(function () {\n overflowing();\n });\n tabs.scroll(function () {\n overflowing();\n });\n };\n\n SUI.tabs = function (config) {\n var tablist = $('.sui-tabs > div[role=\"tablist\"]');\n var data = config; // For easy reference.\n\n var keys = {\n end: 35,\n home: 36,\n left: 37,\n up: 38,\n right: 39,\n down: 40,\n \"delete\": 46,\n enter: 13,\n space: 32\n }; // Add or substract depending on key pressed.\n\n var direction = {\n 37: -1,\n 38: -1,\n 39: 1,\n 40: 1\n }; // Prevent function from running if tablist does not exist.\n\n if (!tablist.length) {\n return;\n } // Deactivate all tabs and tab panels.\n\n\n function deactivateTabs(tabs, panels) {\n tabs.removeClass('active');\n tabs.attr('tabindex', '-1');\n tabs.attr('aria-selected', false);\n panels.removeClass('active');\n panels.attr('hidden', true);\n } // Activate current tab panel.\n\n\n function activateTab(tab) {\n var tabs = $(tab).closest('[role=\"tablist\"]').find('[role=\"tab\"]'),\n panels = $(tab).closest('.sui-tabs').find('> .sui-tabs-content > [role=\"tabpanel\"]'),\n controls = $(tab).attr('aria-controls'),\n panel = $('#' + controls);\n deactivateTabs(tabs, panels);\n $(tab).addClass('active');\n $(tab).removeAttr('tabindex');\n $(tab).attr('aria-selected', true);\n panel.addClass('active');\n panel.attr('hidden', false);\n panel.removeAttr('hidden');\n } // When a \"tablist\" aria-orientation is set to vertical,\n // only up and down arrow should function.\n // In all other cases only left and right should function.\n\n\n function determineOrientation(event, index, tablist) {\n var key = event.keyCode || event.which,\n vertical = 'vertical' === $(tablist).attr('aria-orientation'),\n proceed = false; // Check if aria orientation is set to vertical.\n\n if (vertical) {\n if (keys.up === key || keys.down === key) {\n event.preventDefault();\n proceed = true;\n }\n } else {\n if (keys.left === key || keys.right === key) {\n proceed = true;\n }\n }\n\n if (true === proceed) {\n switchTabOnArrowPress(event, index);\n }\n } // Either focus the next, previous, first, or last tab\n // depending on key pressed.\n\n\n function switchTabOnArrowPress(event, index) {\n var pressed, target, tabs;\n pressed = event.keyCode || event.which;\n\n if (direction[pressed]) {\n target = event.target;\n tabs = $(target).closest('[role=\"tablist\"]').find('> [role=\"tab\"]');\n\n if (undefined !== index) {\n if (tabs[index + direction[pressed]]) {\n tabs[index + direction[pressed]].focus();\n } else if (keys.left === pressed || keys.up === pressed) {\n tabs[tabs.length - 1].focus();\n } else if (keys.right === pressed || keys.down === pressed) {\n tabs[0].focus();\n }\n }\n }\n } // Callback function.\n\n\n function setCallback(currentTab) {\n var tab = $(currentTab),\n controls = tab.attr('aria-controls'),\n panel = $('#' + controls);\n\n if ('function' === typeof data.callback) {\n data.callback(tab, panel);\n }\n } // When a tab is clicked, activateTab is fired to activate it.\n\n\n function clickEventListener(event) {\n var tab = event.target;\n activateTab(tab);\n\n if (undefined !== data && 'undefined' !== data) {\n setCallback(tab);\n }\n\n event.preventDefault();\n event.stopPropagation();\n }\n\n function keydownEventListener(event, index, tablist) {\n var key = event.keyCode || event.which;\n\n switch (key) {\n case keys.end:\n event.preventDefault(); // Actiavte last tab.\n // focusLastTab();\n\n break;\n\n case keys.home:\n event.preventDefault(); // Activate first tab.\n // focusFirstTab();\n\n break;\n // Up and down are in keydown\n // because we need to prevent page scroll.\n\n case keys.up:\n case keys.down:\n determineOrientation(event, index, tablist);\n break;\n }\n }\n\n function keyupEventListener(event, index, tablist) {\n var key = event.keyCode || event.which;\n\n switch (key) {\n case keys.left:\n case keys.right:\n determineOrientation(event, index, tablist);\n break;\n\n case keys.enter:\n case keys.space:\n activateTab(event);\n break;\n }\n }\n\n function init() {\n var tabgroup = tablist.closest('.sui-tabs'); // Run the function for each group of tabs to prevent conflicts\n // when having child tabs.\n\n tabgroup.each(function () {\n var tabs, index;\n tabgroup = $(this);\n tablist = tabgroup.find('> [role=\"tablist\"]');\n tabs = tablist.find('> [role=\"tab\"]'); // Trigger events on click.\n\n tabs.on('click', function (e) {\n clickEventListener(e); // Trigger events when pressing key.\n }).keydown(function (e) {\n index = $(this).index();\n keydownEventListener(e, index, tablist); // Trigger events when releasing key.\n }).keyup(function (e) {\n index = $(this).index();\n keyupEventListener(e, index, tablist);\n });\n });\n }\n\n init();\n return this;\n };\n\n if (0 !== $('.sui-2-7-0 .sui-tabs').length) {\n // Support tabs new markup.\n SUI.tabs(); // Support legacy tabs.\n\n SUI.suiTabs();\n $('.sui-2-7-0 .sui-tabs-navigation').each(function () {\n SUI.tabsOverflow($(this));\n });\n }\n})(jQuery);","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n(function ($) {\n // Enable strict mode.\n 'use strict'; // Define global SUI object if it doesn't exist.\n\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n\n SUI.upload = function () {\n $('.sui-2-7-0 .sui-upload-group input[type=\"file\"]').on('change', function (e) {\n var file = $(this)[0].files[0],\n message = $(this).find('~ .sui-upload-message');\n\n if (file) {\n message.text(file.name);\n }\n });\n };\n\n SUI.upload();\n})(jQuery);","(function ($) {\n var endpoint = 'https://api.reviews.co.uk/merchant/reviews?store=wpmudev-org'; // Update the reviews with the live stats.\n\n $('.sui-2-7-0 .sui-reviews').each(function () {\n var review = $(this);\n $.get(endpoint, function (data) {\n var stars = Math.round(data.stats.average_rating);\n var starsBlock = review.find('.sui-reviews__stars')[0];\n var i;\n\n for (i = 0; i < stars; i++) {\n starsBlock.innerHTML += '<i class=\"sui-icon-star\" aria-hidden=\"true\"></i> ';\n }\n\n review.find('.sui-reviews-rating')[0].innerHTML = data.stats.average_rating;\n review.find('.sui-reviews-customer-count')[0].innerHTML = data.stats.total_reviews;\n });\n });\n})(jQuery);"],"sourceRoot":""}