PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/myvideomania.com/wp-content/plugins/wp-smushit/app/assets/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/myvideomania.com/wp-content/plugins/wp-smushit/app/assets/js/smush-sui.min.js.map

{"version":3,"file":"js/smush-sui.min.js","mappings":"mCAAA,SAASA,EAAQC,GAAkC,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAAO,cAAcA,CAAK,EAAI,SAAUA,GAAO,OAAOA,GAAO,mBAAqBC,QAAUD,EAAIG,cAAgBF,QAAUD,IAAQC,OAAOG,UAAY,gBAAkBJ,CAAK,EAAGD,EAAQC,EAAM,EAM/U,SAAWK,EAAGC,EAAaC,EAAQC,EAAUC,GAC3C,aASA,IAAIC,EAAa,iBACbC,EAAW,CACbC,SAAU,OACVC,WAAY,WAGd,SAASC,EAAeC,EAASC,GAC/BC,KAAKF,QAAUA,EACfE,KAAKC,SAAWb,EAAEY,KAAKF,SAKvBE,KAAKE,SAAWd,EAAEe,OAAO,CAAC,EAAGT,EAAUK,GACvCC,KAAKI,UAAYV,EACjBM,KAAKK,MAAQZ,EACbO,KAAKM,aAAe,KACpBN,KAAKO,aAAe,GACpBP,KAAKQ,MACP,CAGApB,EAAEe,OAAON,EAAeV,UAAW,CACjCqB,KAAM,WACJ,IAAIC,EAAOT,KACPU,EAAS,GAET,IAAMV,KAAKC,SAASU,OAAO,4BAA4BC,SAEzDZ,KAAKC,SAASY,KAAK,gDACnBb,KAAKO,aAAeP,KAAKc,mBACzBJ,EAAS,wEAA0EV,KAAKO,aAAe,8CAAgDP,KAAKO,aAAe,KAAOP,KAA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AAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IA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ACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV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AS,MACTA,EAAS,MACTA,EAAS,MACTA,EAAS,MACTA,EAAS,MACTA,EAAS,K","sources":["webpack://wp-smushit/./node_modules/@wpmudev/shared-ui/dist/js/_src/code-snippet.js","webpack://wp-smushit/./node_modules/@wpmudev/shared-ui/dist/js/_src/modal-dialog.js","webpack://wp-smushit/./node_modules/@wpmudev/shared-ui/dist/js/_src/notifications.js","webpack://wp-smushit/./node_modules/@wpmudev/shared-ui/dist/js/_src/reviews.js","webpack://wp-smushit/./node_modules/@wpmudev/shared-ui/dist/js/_src/select2.full.js","webpack://wp-smushit/./node_modules/@wpmudev/shared-ui/dist/js/_src/select2.js","webpack://wp-smushit/./node_modules/@wpmudev/shared-ui/dist/js/_src/tabs.js","webpack://wp-smushit/./node_modules/@wpmudev/shared-ui/dist/js/_src/upload.js","webpack://wp-smushit/webpack/bootstrap","webpack://wp-smushit/./_src/js/shared-ui.js"],"sourcesContent":["function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n// the semi-colon before function invocation is a safety net against concatenated\n// scripts and/or other plugins which may not be closed properly.\n;\n\n(function ($, ClipboardJS, window, document, undefined) {\n  'use strict'; // undefined is used here as the undefined global variable in ECMAScript 3 is\n  // mutable (ie. it can be changed by someone else). undefined isn't really being\n  // passed in so we can ensure the value of it is truly undefined. In ES5, undefined\n  // can no longer be modified.\n  // window and document are passed through as local variables rather than global\n  // as this (slightly) quickens the resolution process and can be more efficiently\n  // minified (especially when both are regularly referenced in your plugin).\n  // Create the defaults once\n\n  var pluginName = 'SUICodeSnippet',\n      defaults = {\n    copyText: 'Copy',\n    copiedText: 'Copied!'\n  }; // The actual plugin constructor\n\n  function SUICodeSnippet(element, options) {\n    this.element = element;\n    this.$element = $(this.element); // jQuery has an extend method which merges the contents of two or\n    // more objects, storing the result in the first object. The first object\n    // is generally empty as we don't want to alter the default options for\n    // future instances of the plugin\n\n    this.settings = $.extend({}, defaults, options);\n    this._defaults = defaults;\n    this._name = pluginName;\n    this._clipboardJs = null;\n    this._clipboardId = '';\n    this.init();\n  } // Avoid Plugin.prototype conflicts\n\n\n  $.extend(SUICodeSnippet.prototype, {\n    init: function init() {\n      var self = this,\n          button = ''; // check if its already wrapped\n\n      if (0 === this.$element.parent('sui-code-snippet-wrapper').length) {\n        // build markup\n        this.$element.wrap('<div class=\"sui-code-snippet-wrapper\"></div>');\n        this._clipboardId = this.generateUniqueId();\n        button = '<button type=\"button\" class=\"sui-button\" id=\"sui-code-snippet-button-' + this._clipboardId + '\" data-clipboard-target=\"#sui-code-snippet-' + this._clipboardId + '\">' + this.settings.copyText + '</button>';\n        this.$element.attr('id', 'sui-code-snippet-' + this._clipboardId).after(button);\n        this._clipboardJs = new ClipboardJS('#sui-code-snippet-button-' + this._clipboardId); // attach events\n\n        this._clipboardJs.on('success', function (e) {\n          e.clearSelection();\n          self.showTooltip(e.trigger, self.settings.copiedText);\n        });\n\n        $('#sui-code-snippet-button-' + this._clipboardId).on('mouseleave.SUICodeSnippet', function () {\n          $(this).removeClass('sui-tooltip');\n          $(this).removeAttr('aria-label');\n          $(this).removeAttr('data-tooltip');\n        });\n      }\n    },\n    getClipboardJs: function getClipboardJs() {\n      return this._clipboardJs;\n    },\n    showTooltip: function showTooltip(e, msg) {\n      $(e).addClass('sui-tooltip');\n      $(e).attr('aria-label', msg);\n      $(e).attr('data-tooltip', msg);\n    },\n    generateUniqueId: function generateUniqueId() {\n      // Math.random should be unique because of its seeding algorithm.\n      // Convert it to base 36 (numbers + letters), and grab the first 9 characters\n      // after the decimal.\n      return '_' + Math.random().toString(36).substr(2, 9);\n    },\n    destroy: function destroy() {\n      if (null !== this._clipboardJs) {\n        this._clipboardJs.destroy();\n\n        this.$element.attr('id', '');\n        this.$element.unwrap('.sui-code-snippet-wrapper');\n        $('#sui-code-snippet-button-' + this._clipboardId).remove();\n      }\n    }\n  }); // A really lightweight plugin wrapper around the constructor,\n  // preventing against multiple instantiations\n\n  $.fn[pluginName] = function (options) {\n    return this.each(function () {\n      // instance of SUICodeSnippet can be called with $(element).data('SUICodeSnippet')\n      if (!$.data(this, pluginName)) {\n        $.data(this, pluginName, new SUICodeSnippet(this, options));\n      }\n    });\n  };\n})(jQuery, ClipboardJS, window, document);\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.suiCodeSnippet = function () {\n    // Convert all code snippet.\n    $('.sui-2-12-23 .sui-code-snippet:not(.sui-no-copy)').each(function () {\n      // backward compat of instantiate new accordion\n      $(this).SUICodeSnippet({});\n    });\n  }; // wait document ready first\n\n\n  $(document).ready(function () {\n    SUI.suiCodeSnippet();\n  });\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _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 || 0 === element.tabIndex && 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 && 'ignore' != element.rel;\n\n      case 'INPUT':\n        return 'hidden' != element.type && 'file' != element.type;\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; 0 <= i; 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   * @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   * @param isCloseOnEsc\n   * Default: true\n   * Optional boolean parameter that when it's set to \"true\", it will enable closing the\n   * dialog with the Esc key.\n   *\n   * @param isAnimated\n   * Default: true\n   * Optional boolean parameter that when it's set to \"true\", it will enable animation in dialog box.\n   */\n\n\n  aria.Dialog = function (dialogId, focusAfterClosed, focusFirst, hasOverlayMask) {\n    var isCloseOnEsc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n    var isAnimated = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true;\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    }\n\n    this.isCloseOnEsc = isCloseOnEsc; // Trigger the 'open' event at the beginning of the opening process.\n    // After validating the modal's attributes.\n\n    var openEvent = new Event('open');\n    this.dialogNode.dispatchEvent(openEvent); // 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    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); // If isAnimated is set true then modal box will animate.\n\n    if (isAnimated) {\n      this.dialogNode.classList.add('sui-content-fade-in'); // make visible\n\n      this.dialogNode.classList.remove('sui-content-fade-out');\n    } else {\n      this.dialogNode.classList.remove('sui-content-fade-in');\n      this.dialogNode.classList.remove('sui-content-fade-out');\n    }\n\n    if (this.focusFirst) {\n      this.focusFirst.focus();\n    } else {\n      aria.Utils.focusFirstDescendant(this.dialogNode);\n    }\n\n    this.lastFocus = document.activeElement; // Trigger the 'afteropen' event at the end of the opening process.\n\n    var afterOpenEvent = new Event('afterOpen');\n    this.dialogNode.dispatchEvent(afterOpenEvent);\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   * @param isAnimated\n   * Default: true\n   * Optional boolean parameter that when it's set to \"true\", it will enable animation in dialog box.\n   */\n\n\n  aria.Dialog.prototype.close = function () {\n    var isAnimated = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n    var self = this; // Trigger the 'close' event at the beginning of the closing process.\n\n    var closeEvent = new Event('close');\n    this.dialogNode.dispatchEvent(closeEvent);\n    aria.OpenDialogList.pop();\n    this.removeListeners();\n    this.preNode.parentNode.removeChild(this.preNode);\n    this.postNode.parentNode.removeChild(this.postNode); // If isAnimated is set true then modal box will animate.\n\n    if (isAnimated) {\n      this.dialogNode.classList.add('sui-content-fade-out');\n      this.dialogNode.classList.remove('sui-content-fade-in');\n    } else {\n      this.dialogNode.classList.remove('sui-content-fade-in');\n      this.dialogNode.classList.remove('sui-content-fade-out');\n    }\n\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    } // Trigger the 'afterclose' event at the end of the closing process.\n\n\n    var afterCloseEvent = new Event('afterClose');\n    this.dialogNode.dispatchEvent(afterCloseEvent);\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   * @param isCloseOnEsc\n   * Default: true\n   * Optional boolean parameter that when it's set to \"true\", it will enable closing the\n   * dialog with the Esc key.\n   *\n   * @param isAnimated\n   * Default: true\n   * Optional boolean parameter that when it's set to \"true\", it will enable animation in dialog box.\n   */\n\n\n  aria.Dialog.prototype.replace = function (newDialogId, newFocusAfterClosed, newFocusFirst, hasOverlayMask) {\n    var isCloseOnEsc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n    var isAnimated = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true;\n    var self = this;\n    aria.OpenDialogList.pop();\n    this.removeListeners();\n    aria.Utils.remove(this.preNode);\n    aria.Utils.remove(this.postNode); // If isAnimated is set true then modal box will animate.\n\n    if (isAnimated) {\n      this.dialogNode.classList.add('sui-content-fade-in'); // make visible\n\n      this.dialogNode.classList.remove('sui-content-fade-out');\n    } else {\n      this.dialogNode.classList.remove('sui-content-fade-in');\n      this.dialogNode.classList.remove('sui-content-fade-out');\n    }\n\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, isCloseOnEsc, isAnimated);\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\n    if (this.isCloseOnEsc) {\n      this.dialogNode.addEventListener('keyup', aria.handleEscape);\n    }\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    var parentElement = event.target.parentElement;\n\n    if (aria.Utils.IgnoreUtilFocusChanges || parentElement && parentElement.classList.contains('wp-link-input')) {\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 isCloseOnEsc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n    var isAnimated = arguments.length > 5 ? arguments[5] : undefined;\n    var dialog = new aria.Dialog(dialogId, focusAfterClosed, focusFirst, dialogOverlay, isCloseOnEsc, isAnimated);\n  }; // end openModal.\n\n\n  SUI.closeModal = function (isAnimated) {\n    var topDialog = aria.getCurrentDialog();\n    topDialog.close(isAnimated);\n  }; // end closeDialog.\n\n\n  SUI.replaceModal = function (newDialogId, newFocusAfterClosed, newFocusFirst, hasOverlayMask) {\n    var isCloseOnEsc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n    var isAnimated = arguments.length > 5 ? arguments[5] : undefined;\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, isCloseOnEsc, isAnimated);\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, isAnimated;\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        isAnimated = button.attr('data-modal-animated');\n        var isCloseOnEsc = 'false' === button.attr('data-esc-close') ? false : true;\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(isAnimated) && false !== isAnimated && 'false' === isAnimated) {\n          isAnimated = false;\n        } else {\n          isAnimated = true;\n        }\n\n        if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(modalId) && false !== modalId && '' !== modalId) {\n          SUI.openModal(modalId, closeFocus, newFocus, overlayMask, isCloseOnEsc, isAnimated);\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        var isCloseOnEsc = 'false' === button.attr('data-esc-close') ? false : true;\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, isCloseOnEsc, isAnimated);\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(isAnimated);\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) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _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 += '<span class=\"sui-icon-check\" aria-hidden=\"true\"></span>';\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').trigger('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').trigger('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').trigger('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    }\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) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _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.reviews = function (review, reviews, rating) {\n    if (reviews <= 0) {\n      return;\n    }\n\n    function init() {\n      var stars = Math.round(rating),\n          starsBlock = review.find('.sui-reviews__stars')[0],\n          i;\n\n      for (i = 0; i < stars; i++) {\n        starsBlock.innerHTML += '<span class=\"sui-icon-star\" aria-hidden=\"true\"></span> ';\n      }\n\n      review.find('.sui-reviews-rating').replaceWith(rating);\n      review.find('.sui-reviews-customer-count').replaceWith(reviews);\n    }\n\n    init();\n    return this;\n  }; // Update the reviews with the live stats.\n\n\n  $('.sui-2-12-23 .sui-reviews').each(function () {\n    var review = $(this);\n    $.ajax({\n      url: \"https://api.reviews.co.uk/merchant/reviews?store=wpmudev-org\",\n      success: function success(data) {\n        SUI.reviews(review, data.stats.reviews, data.stats.average_rating);\n      }\n    });\n  });\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/*!\n * Select2 4.1.0-rc.0\n * https://select2.github.io\n *\n * Released under the MIT license\n * https://github.com/select2/select2/blob/master/LICENSE.md\n *\n * Modified logic/function,etc besides formatting should be marked with //SUI-SELECT2\n * For easy debugging process or update upstream of select\n */\n;\n\n(function (factory) {\n  // Disable AMD and module exports. @edited\n  if (false && typeof define === 'function' && define.amd) {\n    // AMD. Register as an anonymous module.\n    define(['jquery'], factory);\n  } else if (false && (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) === 'object' && module.exports) {\n    // Node/CommonJS\n    module.exports = function (root, jQuery) {\n      if (jQuery === undefined) {\n        // require('jQuery') returns a factory that requires window to\n        // build a jQuery instance, we normalize how we use modules\n        // that require this pattern but the window provided is a noop\n        // if it's defined (how jquery works)\n        if (typeof window !== 'undefined') {\n          jQuery = require('jquery');\n        } else {\n          jQuery = require('jquery')(root);\n        }\n      }\n\n      factory(jQuery);\n      return jQuery;\n    };\n  } else {\n    // Browser globals\n    factory(jQuery);\n  }\n})(function (jQuery) {\n  // This is needed so we can catch the AMD loader configuration and use it\n  // The inner file should be wrapped (by `banner.start.js`) in a function that\n  // returns the AMD loader references.\n  var S2 = function () {\n    // Restore the Select2 AMD loader so it can be used\n    // Needed mostly in the language files, where the loader is not inserted\n    if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) {\n      var S2 = jQuery.fn.select2.amd;\n    }\n\n    var S2;\n\n    (function () {\n      if (!S2 || !S2.requirejs) {\n        if (!S2) {\n          S2 = {};\n        } else {\n          require = S2;\n        }\n        /**\n         * @license almond 0.3.3 Copyright jQuery Foundation and other contributors.\n         * Released under MIT license, http://github.com/requirejs/almond/LICENSE\n         */\n        //Going sloppy to avoid 'use strict' string cost, but strict practices should\n        //be followed.\n\n        /*global setTimeout: false */\n\n\n        var requirejs, require, define;\n\n        (function (undef) {\n          var main,\n              _req,\n              makeMap,\n              handlers,\n              defined = {},\n              waiting = {},\n              config = {},\n              defining = {},\n              hasOwn = Object.prototype.hasOwnProperty,\n              aps = [].slice,\n              jsSuffixRegExp = /\\.js$/;\n\n          function hasProp(obj, prop) {\n            return hasOwn.call(obj, prop);\n          }\n          /**\n           * Given a relative module name, like ./something, normalize it to\n           * a real name that can be mapped to a path.\n           * @param {String} name the relative name\n           * @param {String} baseName a real name that the name arg is relative\n           * to.\n           * @returns {String} normalized name\n           */\n\n\n          function normalize(name, baseName) {\n            var nameParts,\n                nameSegment,\n                mapValue,\n                foundMap,\n                lastIndex,\n                foundI,\n                foundStarMap,\n                starI,\n                i,\n                j,\n                part,\n                normalizedBaseParts,\n                baseParts = baseName && baseName.split(\"/\"),\n                map = config.map,\n                starMap = map && map['*'] || {}; //Adjust any relative paths.\n\n            if (name) {\n              name = name.split('/');\n              lastIndex = name.length - 1; // If wanting node ID compatibility, strip .js from end\n              // of IDs. Have to do this here, and not in nameToUrl\n              // because node allows either .js or non .js to map\n              // to same file.\n\n              if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) {\n                name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, '');\n              } // Starts with a '.' so need the baseName\n\n\n              if (name[0].charAt(0) === '.' && baseParts) {\n                //Convert baseName to array, and lop off the last part,\n                //so that . matches that 'directory' and not name of the baseName's\n                //module. For instance, baseName of 'one/two/three', maps to\n                //'one/two/three.js', but we want the directory, 'one/two' for\n                //this normalization.\n                normalizedBaseParts = baseParts.slice(0, baseParts.length - 1);\n                name = normalizedBaseParts.concat(name);\n              } //start trimDots\n\n\n              for (i = 0; i < name.length; i++) {\n                part = name[i];\n\n                if (part === '.') {\n                  name.splice(i, 1);\n                  i -= 1;\n                } else if (part === '..') {\n                  // If at the start, or previous value is still ..,\n                  // keep them so that when converted to a path it may\n                  // still work when converted to a path, even though\n                  // as an ID it is less than ideal. In larger point\n                  // releases, may be better to just kick out an error.\n                  if (i === 0 || i === 1 && name[2] === '..' || name[i - 1] === '..') {\n                    continue;\n                  } else if (i > 0) {\n                    name.splice(i - 1, 2);\n                    i -= 2;\n                  }\n                }\n              } //end trimDots\n\n\n              name = name.join('/');\n            } //Apply map config if available.\n\n\n            if ((baseParts || starMap) && map) {\n              nameParts = name.split('/');\n\n              for (i = nameParts.length; i > 0; i -= 1) {\n                nameSegment = nameParts.slice(0, i).join(\"/\");\n\n                if (baseParts) {\n                  //Find the longest baseName segment match in the config.\n                  //So, do joins on the biggest to smallest lengths of baseParts.\n                  for (j = baseParts.length; j > 0; j -= 1) {\n                    mapValue = map[baseParts.slice(0, j).join('/')]; //baseName segment has config, find if it has one for\n                    //this name.\n\n                    if (mapValue) {\n                      mapValue = mapValue[nameSegment];\n\n                      if (mapValue) {\n                        //Match, update name to the new value.\n                        foundMap = mapValue;\n                        foundI = i;\n                        break;\n                      }\n                    }\n                  }\n                }\n\n                if (foundMap) {\n                  break;\n                } //Check for a star map match, but just hold on to it,\n                //if there is a shorter segment match later in a matching\n                //config, then favor over this star map.\n\n\n                if (!foundStarMap && starMap && starMap[nameSegment]) {\n                  foundStarMap = starMap[nameSegment];\n                  starI = i;\n                }\n              }\n\n              if (!foundMap && foundStarMap) {\n                foundMap = foundStarMap;\n                foundI = starI;\n              }\n\n              if (foundMap) {\n                nameParts.splice(0, foundI, foundMap);\n                name = nameParts.join('/');\n              }\n            }\n\n            return name;\n          }\n\n          function makeRequire(relName, forceSync) {\n            return function () {\n              //A version of a require function that passes a moduleName\n              //value for items that may need to\n              //look up paths relative to the moduleName\n              var args = aps.call(arguments, 0); //If first arg is not require('string'), and there is only\n              //one arg, it is the array form without a callback. Insert\n              //a null so that the following concat is correct.\n\n              if (typeof args[0] !== 'string' && args.length === 1) {\n                args.push(null);\n              }\n\n              return _req.apply(undef, args.concat([relName, forceSync]));\n            };\n          }\n\n          function makeNormalize(relName) {\n            return function (name) {\n              return normalize(name, relName);\n            };\n          }\n\n          function makeLoad(depName) {\n            return function (value) {\n              defined[depName] = value;\n            };\n          }\n\n          function callDep(name) {\n            if (hasProp(waiting, name)) {\n              var args = waiting[name];\n              delete waiting[name];\n              defining[name] = true;\n              main.apply(undef, args);\n            }\n\n            if (!hasProp(defined, name) && !hasProp(defining, name)) {\n              throw new Error('No ' + name);\n            }\n\n            return defined[name];\n          } //Turns a plugin!resource to [plugin, resource]\n          //with the plugin being undefined if the name\n          //did not have a plugin prefix.\n\n\n          function splitPrefix(name) {\n            var prefix,\n                index = name ? name.indexOf('!') : -1;\n\n            if (index > -1) {\n              prefix = name.substring(0, index);\n              name = name.substring(index + 1, name.length);\n            }\n\n            return [prefix, name];\n          } //Creates a parts array for a relName where first part is plugin ID,\n          //second part is resource ID. Assumes relName has already been normalized.\n\n\n          function makeRelParts(relName) {\n            return relName ? splitPrefix(relName) : [];\n          }\n          /**\n           * Makes a name map, normalizing the name, and using a plugin\n           * for normalization if necessary. Grabs a ref to plugin\n           * too, as an optimization.\n           */\n\n\n          makeMap = function makeMap(name, relParts) {\n            var plugin,\n                parts = splitPrefix(name),\n                prefix = parts[0],\n                relResourceName = relParts[1];\n            name = parts[1];\n\n            if (prefix) {\n              prefix = normalize(prefix, relResourceName);\n              plugin = callDep(prefix);\n            } //Normalize according\n\n\n            if (prefix) {\n              if (plugin && plugin.normalize) {\n                name = plugin.normalize(name, makeNormalize(relResourceName));\n              } else {\n                name = normalize(name, relResourceName);\n              }\n            } else {\n              name = normalize(name, relResourceName);\n              parts = splitPrefix(name);\n              prefix = parts[0];\n              name = parts[1];\n\n              if (prefix) {\n                plugin = callDep(prefix);\n              }\n            } //Using ridiculous property names for space reasons\n\n\n            return {\n              f: prefix ? prefix + '!' + name : name,\n              //fullName\n              n: name,\n              pr: prefix,\n              p: plugin\n            };\n          };\n\n          function makeConfig(name) {\n            return function () {\n              return config && config.config && config.config[name] || {};\n            };\n          }\n\n          handlers = {\n            require: function require(name) {\n              return makeRequire(name);\n            },\n            exports: function exports(name) {\n              var e = defined[name];\n\n              if (typeof e !== 'undefined') {\n                return e;\n              } else {\n                return defined[name] = {};\n              }\n            },\n            module: function module(name) {\n              return {\n                id: name,\n                uri: '',\n                exports: defined[name],\n                config: makeConfig(name)\n              };\n            }\n          };\n\n          main = function main(name, deps, callback, relName) {\n            var cjsModule,\n                depName,\n                ret,\n                map,\n                i,\n                relParts,\n                args = [],\n                callbackType = _typeof(callback),\n                usingExports; //Use name if no relName\n\n\n            relName = relName || name;\n            relParts = makeRelParts(relName); //Call the callback to define the module, if necessary.\n\n            if (callbackType === 'undefined' || callbackType === 'function') {\n              //Pull out the defined dependencies and pass the ordered\n              //values to the callback.\n              //Default to [require, exports, module] if no deps\n              deps = !deps.length && callback.length ? ['require', 'exports', 'module'] : deps;\n\n              for (i = 0; i < deps.length; i += 1) {\n                map = makeMap(deps[i], relParts);\n                depName = map.f; //Fast path CommonJS standard dependencies.\n\n                if (depName === \"require\") {\n                  args[i] = handlers.require(name);\n                } else if (depName === \"exports\") {\n                  //CommonJS module spec 1.1\n                  args[i] = handlers.exports(name);\n                  usingExports = true;\n                } else if (depName === \"module\") {\n                  //CommonJS module spec 1.1\n                  cjsModule = args[i] = handlers.module(name);\n                } else if (hasProp(defined, depName) || hasProp(waiting, depName) || hasProp(defining, depName)) {\n                  args[i] = callDep(depName);\n                } else if (map.p) {\n                  map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {});\n                  args[i] = defined[depName];\n                } else {\n                  throw new Error(name + ' missing ' + depName);\n                }\n              }\n\n              ret = callback ? callback.apply(defined[name], args) : undefined;\n\n              if (name) {\n                //If setting exports via \"module\" is in play,\n                //favor that over return value and exports. After that,\n                //favor a non-undefined return value over exports use.\n                if (cjsModule && cjsModule.exports !== undef && cjsModule.exports !== defined[name]) {\n                  defined[name] = cjsModule.exports;\n                } else if (ret !== undef || !usingExports) {\n                  //Use the return value from the function.\n                  defined[name] = ret;\n                }\n              }\n            } else if (name) {\n              //May just be an object definition for the module. Only\n              //worry about defining if have a module name.\n              defined[name] = callback;\n            }\n          };\n\n          requirejs = require = _req = function req(deps, callback, relName, forceSync, alt) {\n            if (typeof deps === \"string\") {\n              if (handlers[deps]) {\n                //callback in this case is really relName\n                return handlers[deps](callback);\n              } //Just return the module wanted. In this scenario, the\n              //deps arg is the module name, and second arg (if passed)\n              //is just the relName.\n              //Normalize module name, if it contains . or ..\n\n\n              return callDep(makeMap(deps, makeRelParts(callback)).f);\n            } else if (!deps.splice) {\n              //deps is a config object, not an array.\n              config = deps;\n\n              if (config.deps) {\n                _req(config.deps, config.callback);\n              }\n\n              if (!callback) {\n                return;\n              }\n\n              if (callback.splice) {\n                //callback is an array, which means it is a dependency list.\n                //Adjust args if there are dependencies\n                deps = callback;\n                callback = relName;\n                relName = null;\n              } else {\n                deps = undef;\n              }\n            } //Support require(['a'])\n\n\n            callback = callback || function () {}; //If relName is a function, it is an errback handler,\n            //so remove it.\n\n\n            if (typeof relName === 'function') {\n              relName = forceSync;\n              forceSync = alt;\n            } //Simulate async callback;\n\n\n            if (forceSync) {\n              main(undef, deps, callback, relName);\n            } else {\n              //Using a non-zero value because of concern for what old browsers\n              //do, and latest browsers \"upgrade\" to 4 if lower value is used:\n              //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout:\n              //If want a value immediately, use require('id') instead -- something\n              //that works in almond on the global level, but not guaranteed and\n              //unlikely to work in other AMD implementations.\n              setTimeout(function () {\n                main(undef, deps, callback, relName);\n              }, 4);\n            }\n\n            return _req;\n          };\n          /**\n           * Just drops the config on the floor, but returns req in case\n           * the config return value is used.\n           */\n\n\n          _req.config = function (cfg) {\n            return _req(cfg);\n          };\n          /**\n           * Expose module registry for debugging and tooling\n           */\n\n\n          requirejs._defined = defined;\n\n          define = function define(name, deps, callback) {\n            if (typeof name !== 'string') {\n              throw new Error('See almond README: incorrect module build, no module name');\n            } //This module may not have dependencies\n\n\n            if (!deps.splice) {\n              //deps is not an array, so probably means\n              //an object literal or factory function for\n              //the value. Adjust args.\n              callback = deps;\n              deps = [];\n            }\n\n            if (!hasProp(defined, name) && !hasProp(waiting, name)) {\n              waiting[name] = [name, deps, callback];\n            }\n          };\n\n          define.amd = {\n            jQuery: true\n          };\n        })();\n\n        S2.requirejs = requirejs;\n        S2.require = require;\n        S2.define = define;\n      }\n    })();\n\n    S2.define(\"almond\", function () {});\n    /* global jQuery:false, $:false */\n\n    S2.define('jquery', [], function () {\n      var _$ = jQuery || $;\n\n      if (_$ == null && console && console.error) {\n        console.error('Select2: An instance of jQuery or a jQuery-compatible library was not ' + 'found. Make sure that you are including jQuery before Select2 on your ' + 'web page.');\n      }\n\n      return _$;\n    });\n    S2.define('select2/utils', ['jquery'], function ($) {\n      var Utils = {};\n\n      Utils.Extend = function (ChildClass, SuperClass) {\n        var __hasProp = {}.hasOwnProperty;\n\n        function BaseConstructor() {\n          this.constructor = ChildClass;\n        }\n\n        for (var key in SuperClass) {\n          if (__hasProp.call(SuperClass, key)) {\n            ChildClass[key] = SuperClass[key];\n          }\n        }\n\n        BaseConstructor.prototype = SuperClass.prototype;\n        ChildClass.prototype = new BaseConstructor();\n        ChildClass.__super__ = SuperClass.prototype;\n        return ChildClass;\n      };\n\n      function getMethods(theClass) {\n        var proto = theClass.prototype;\n        var methods = [];\n\n        for (var methodName in proto) {\n          var m = proto[methodName];\n\n          if (typeof m !== 'function') {\n            continue;\n          }\n\n          if (methodName === 'constructor') {\n            continue;\n          }\n\n          methods.push(methodName);\n        }\n\n        return methods;\n      }\n\n      Utils.Decorate = function (SuperClass, DecoratorClass) {\n        var decoratedMethods = getMethods(DecoratorClass);\n        var superMethods = getMethods(SuperClass);\n\n        function DecoratedClass() {\n          var unshift = Array.prototype.unshift;\n          var argCount = DecoratorClass.prototype.constructor.length;\n          var calledConstructor = SuperClass.prototype.constructor;\n\n          if (argCount > 0) {\n            unshift.call(arguments, SuperClass.prototype.constructor);\n            calledConstructor = DecoratorClass.prototype.constructor;\n          }\n\n          calledConstructor.apply(this, arguments);\n        }\n\n        DecoratorClass.displayName = SuperClass.displayName;\n\n        function ctr() {\n          this.constructor = DecoratedClass;\n        }\n\n        DecoratedClass.prototype = new ctr();\n\n        for (var m = 0; m < superMethods.length; m++) {\n          var superMethod = superMethods[m];\n          DecoratedClass.prototype[superMethod] = SuperClass.prototype[superMethod];\n        }\n\n        var calledMethod = function calledMethod(methodName) {\n          // Stub out the original method if it's not decorating an actual method\n          var originalMethod = function originalMethod() {};\n\n          if (methodName in DecoratedClass.prototype) {\n            originalMethod = DecoratedClass.prototype[methodName];\n          }\n\n          var decoratedMethod = DecoratorClass.prototype[methodName];\n          return function () {\n            var unshift = Array.prototype.unshift;\n            unshift.call(arguments, originalMethod);\n            return decoratedMethod.apply(this, arguments);\n          };\n        };\n\n        for (var d = 0; d < decoratedMethods.length; d++) {\n          var decoratedMethod = decoratedMethods[d];\n          DecoratedClass.prototype[decoratedMethod] = calledMethod(decoratedMethod);\n        }\n\n        return DecoratedClass;\n      };\n\n      var Observable = function Observable() {\n        this.listeners = {};\n      };\n\n      Observable.prototype.on = function (event, callback) {\n        this.listeners = this.listeners || {};\n\n        if (event in this.listeners) {\n          this.listeners[event].push(callback);\n        } else {\n          this.listeners[event] = [callback];\n        }\n      };\n\n      Observable.prototype.trigger = function (event) {\n        var slice = Array.prototype.slice;\n        var params = slice.call(arguments, 1);\n        this.listeners = this.listeners || {}; // Params should always come in as an array\n\n        if (params == null) {\n          params = [];\n        } // If there are no arguments to the event, use a temporary object\n\n\n        if (params.length === 0) {\n          params.push({});\n        } // Set the `_type` of the first object to the event\n\n\n        params[0]._type = event;\n\n        if (event in this.listeners) {\n          this.invoke(this.listeners[event], slice.call(arguments, 1));\n        }\n\n        if ('*' in this.listeners) {\n          this.invoke(this.listeners['*'], arguments);\n        }\n      };\n\n      Observable.prototype.invoke = function (listeners, params) {\n        for (var i = 0, len = listeners.length; i < len; i++) {\n          listeners[i].apply(this, params);\n        }\n      };\n\n      Utils.Observable = Observable;\n\n      Utils.generateChars = function (length) {\n        var chars = '';\n\n        for (var i = 0; i < length; i++) {\n          var randomChar = Math.floor(Math.random() * 36);\n          chars += randomChar.toString(36);\n        }\n\n        return chars;\n      };\n\n      Utils.bind = function (func, context) {\n        return function () {\n          func.apply(context, arguments);\n        };\n      };\n\n      Utils._convertData = function (data) {\n        for (var originalKey in data) {\n          var keys = originalKey.split('-');\n          var dataLevel = data;\n\n          if (keys.length === 1) {\n            continue;\n          }\n\n          for (var k = 0; k < keys.length; k++) {\n            var key = keys[k]; // Lowercase the first letter\n            // By default, dash-separated becomes camelCase\n\n            key = key.substring(0, 1).toLowerCase() + key.substring(1);\n\n            if (!(key in dataLevel)) {\n              dataLevel[key] = {};\n            }\n\n            if (k == keys.length - 1) {\n              dataLevel[key] = data[originalKey];\n            }\n\n            dataLevel = dataLevel[key];\n          }\n\n          delete data[originalKey];\n        }\n\n        return data;\n      };\n\n      Utils.hasScroll = function (index, el) {\n        // Adapted from the function created by @ShadowScripter\n        // and adapted by @BillBarry on the Stack Exchange Code Review website.\n        // The original code can be found at\n        // http://codereview.stackexchange.com/q/13338\n        // and was designed to be used with the Sizzle selector engine.\n        var $el = $(el);\n        var overflowX = el.style.overflowX;\n        var overflowY = el.style.overflowY; //Check both x and y declarations\n\n        if (overflowX === overflowY && (overflowY === 'hidden' || overflowY === 'visible')) {\n          return false;\n        }\n\n        if (overflowX === 'scroll' || overflowY === 'scroll') {\n          return true;\n        }\n\n        return $el.innerHeight() < el.scrollHeight || $el.innerWidth() < el.scrollWidth;\n      };\n\n      Utils.escapeMarkup = function (markup) {\n        var replaceMap = {\n          '\\\\': '&#92;',\n          '&': '&amp;',\n          '<': '&lt;',\n          '>': '&gt;',\n          '\"': '&quot;',\n          '\\'': '&#39;',\n          '/': '&#47;'\n        }; // Do not try to escape the markup if it's not a string\n\n        if (typeof markup !== 'string') {\n          return markup;\n        }\n\n        return String(markup).replace(/[&<>\"'\\/\\\\]/g, function (match) {\n          return replaceMap[match];\n        });\n      }; // Cache objects in Utils.__cache instead of $.data (see #4346)\n\n\n      Utils.__cache = {};\n      var id = 0;\n\n      Utils.GetUniqueElementId = function (element) {\n        // Get a unique element Id. If element has no id,\n        // creates a new unique number, stores it in the id\n        // attribute and returns the new id with a prefix.\n        // If an id already exists, it simply returns it with a prefix.\n        var select2Id = element.getAttribute('data-select2-id');\n\n        if (select2Id != null) {\n          return select2Id;\n        } // If element has id, use it.\n\n\n        if (element.id) {\n          select2Id = 'select2-data-' + element.id;\n        } else {\n          select2Id = 'select2-data-' + (++id).toString() + '-' + Utils.generateChars(4);\n        }\n\n        element.setAttribute('data-select2-id', select2Id);\n        return select2Id;\n      };\n\n      Utils.StoreData = function (element, name, value) {\n        // Stores an item in the cache for a specified element.\n        // name is the cache key.\n        var id = Utils.GetUniqueElementId(element);\n\n        if (!Utils.__cache[id]) {\n          Utils.__cache[id] = {};\n        }\n\n        Utils.__cache[id][name] = value;\n      };\n\n      Utils.GetData = function (element, name) {\n        // Retrieves a value from the cache by its key (name)\n        // name is optional. If no name specified, return\n        // all cache items for the specified element.\n        // and for a specified element.\n        var id = Utils.GetUniqueElementId(element);\n\n        if (name) {\n          if (Utils.__cache[id]) {\n            if (Utils.__cache[id][name] != null) {\n              return Utils.__cache[id][name];\n            }\n\n            return $(element).data(name); // Fallback to HTML5 data attribs.\n          }\n\n          return $(element).data(name); // Fallback to HTML5 data attribs.\n        } else {\n          return Utils.__cache[id];\n        }\n      };\n\n      Utils.RemoveData = function (element) {\n        // Removes all cached items for a specified element.\n        var id = Utils.GetUniqueElementId(element);\n\n        if (Utils.__cache[id] != null) {\n          delete Utils.__cache[id];\n        }\n\n        element.removeAttribute('data-select2-id');\n      };\n\n      Utils.copyNonInternalCssClasses = function (dest, src) {\n        var classes;\n        var destinationClasses = dest.getAttribute('class').trim().split(/\\s+/);\n        destinationClasses = destinationClasses.filter(function (clazz) {\n          // Save all Select2 classes\n          return clazz.indexOf('select2-') === 0;\n        });\n        var sourceClasses = src.getAttribute('class').trim().split(/\\s+/);\n        sourceClasses = sourceClasses.filter(function (clazz) {\n          // Only copy non-Select2 classes\n          return clazz.indexOf('select2-') !== 0;\n        });\n        var replacements = destinationClasses.concat(sourceClasses);\n        dest.setAttribute('class', replacements.join(' '));\n      };\n\n      return Utils;\n    });\n    S2.define('select2/results', ['jquery', './utils'], function ($, Utils) {\n      function Results($element, options, dataAdapter) {\n        this.$element = $element;\n        this.data = dataAdapter;\n        this.options = options;\n\n        Results.__super__.constructor.call(this);\n      }\n\n      Utils.Extend(Results, Utils.Observable);\n\n      Results.prototype.render = function () {\n        var $results = $('<ul class=\"select2-results__options\" role=\"listbox\"></ul>');\n\n        if (this.options.get('multiple')) {\n          $results.attr('aria-multiselectable', 'true');\n        }\n\n        this.$results = $results;\n        return $results;\n      };\n\n      Results.prototype.clear = function () {\n        this.$results.empty();\n      };\n\n      Results.prototype.displayMessage = function (params) {\n        var escapeMarkup = this.options.get('escapeMarkup');\n        this.clear();\n        this.hideLoading();\n        var $message = $('<li role=\"alert\" aria-live=\"assertive\"' + ' class=\"select2-results__option\"></li>');\n        var message = this.options.get('translations').get(params.message);\n        $message.append(escapeMarkup(message(params.args)));\n        $message[0].className += ' select2-results__message';\n        this.$results.append($message);\n      };\n\n      Results.prototype.hideMessages = function () {\n        this.$results.find('.select2-results__message').remove();\n      };\n\n      Results.prototype.append = function (data) {\n        this.hideLoading();\n        var $options = [];\n\n        if (data.results == null || data.results.length === 0) {\n          if (this.$results.children().length === 0) {\n            this.trigger('results:message', {\n              message: 'noResults'\n            });\n          }\n\n          return;\n        }\n\n        data.results = this.sort(data.results);\n\n        for (var d = 0; d < data.results.length; d++) {\n          var item = data.results[d];\n          var $option = this.option(item);\n          $options.push($option);\n        }\n\n        this.$results.append($options);\n      };\n\n      Results.prototype.position = function ($results, $dropdown) {\n        var $resultsContainer = $dropdown.find('.select2-results');\n        $resultsContainer.append($results);\n      };\n\n      Results.prototype.sort = function (data) {\n        var sorter = this.options.get('sorter');\n        return sorter(data);\n      };\n\n      Results.prototype.highlightFirstItem = function () {\n        var $options = this.$results.find('.select2-results__option--selectable');\n        var $selected = $options.filter('.select2-results__option--selected'); // Check if there are any selected options\n\n        if ($selected.length > 0) {\n          // If there are selected options, highlight the first\n          $selected.first().trigger('mouseenter');\n        } else {\n          // If there are no selected options, highlight the first option\n          // in the dropdown\n          $options.first().trigger('mouseenter');\n        }\n\n        this.ensureHighlightVisible();\n      };\n\n      Results.prototype.setClasses = function () {\n        var self = this;\n        this.data.current(function (selected) {\n          var selectedIds = selected.map(function (s) {\n            return s.id.toString();\n          });\n          var $options = self.$results.find('.select2-results__option--selectable');\n          $options.each(function () {\n            var $option = $(this);\n            var item = Utils.GetData(this, 'data'); // id needs to be converted to a string when comparing\n\n            var id = '' + item.id;\n\n            if (item.element != null && item.element.selected || item.element == null && selectedIds.indexOf(id) > -1) {\n              this.classList.add('select2-results__option--selected');\n              $option.attr('aria-selected', 'true');\n            } else {\n              this.classList.remove('select2-results__option--selected');\n              $option.attr('aria-selected', 'false');\n            }\n          });\n        });\n      };\n\n      Results.prototype.showLoading = function (params) {\n        this.hideLoading();\n        var loadingMore = this.options.get('translations').get('searching');\n        var loading = {\n          disabled: true,\n          loading: true,\n          text: loadingMore(params)\n        };\n        var $loading = this.option(loading);\n        $loading.className += ' loading-results';\n        this.$results.prepend($loading);\n      };\n\n      Results.prototype.hideLoading = function () {\n        this.$results.find('.loading-results').remove();\n      };\n\n      Results.prototype.option = function (data) {\n        var option = document.createElement('li');\n        option.classList.add('select2-results__option');\n        option.classList.add('select2-results__option--selectable');\n        var attrs = {\n          'role': 'option'\n        };\n        var matches = window.Element.prototype.matches || window.Element.prototype.msMatchesSelector || window.Element.prototype.webkitMatchesSelector;\n\n        if (data.element != null && matches.call(data.element, ':disabled') || data.element == null && data.disabled) {\n          attrs['aria-disabled'] = 'true';\n          option.classList.remove('select2-results__option--selectable');\n          option.classList.add('select2-results__option--disabled');\n        }\n\n        if (data.id == null) {\n          option.classList.remove('select2-results__option--selectable');\n        }\n\n        if (data._resultId != null) {\n          option.id = data._resultId;\n        }\n\n        if (data.title) {\n          option.title = data.title;\n        }\n\n        if (data.children) {\n          attrs.role = 'group';\n          attrs['aria-label'] = data.text;\n          option.classList.remove('select2-results__option--selectable');\n          option.classList.add('select2-results__option--group');\n        }\n\n        for (var attr in attrs) {\n          var val = attrs[attr];\n          option.setAttribute(attr, val);\n        }\n\n        if (data.children) {\n          var $option = $(option);\n          var label = document.createElement('strong');\n          label.className = 'select2-results__group';\n          this.template(data, label);\n          var $children = [];\n\n          for (var c = 0; c < data.children.length; c++) {\n            var child = data.children[c];\n            var $child = this.option(child);\n            $children.push($child);\n          }\n\n          var $childrenContainer = $('<ul></ul>', {\n            'class': 'select2-results__options select2-results__options--nested',\n            'role': 'none'\n          });\n          $childrenContainer.append($children);\n          $option.append(label);\n          $option.append($childrenContainer);\n        } else {\n          this.template(data, option);\n        }\n\n        Utils.StoreData(option, 'data', data);\n        return option;\n      };\n\n      Results.prototype.bind = function (container, $container) {\n        var self = this;\n        var id = container.id + '-results';\n        this.$results.attr('id', id);\n        container.on('results:all', function (params) {\n          self.clear();\n          self.append(params.data);\n\n          if (container.isOpen()) {\n            self.setClasses();\n            self.highlightFirstItem();\n          }\n        });\n        container.on('results:append', function (params) {\n          self.append(params.data);\n\n          if (container.isOpen()) {\n            self.setClasses();\n          }\n        });\n        container.on('query', function (params) {\n          self.hideMessages();\n          self.showLoading(params);\n        });\n        container.on('select', function () {\n          if (!container.isOpen()) {\n            return;\n          }\n\n          self.setClasses();\n\n          if (self.options.get('scrollAfterSelect')) {\n            self.highlightFirstItem();\n          }\n        });\n        container.on('unselect', function () {\n          if (!container.isOpen()) {\n            return;\n          }\n\n          self.setClasses();\n\n          if (self.options.get('scrollAfterSelect')) {\n            self.highlightFirstItem();\n          }\n        });\n        container.on('open', function () {\n          // When the dropdown is open, aria-expended=\"true\"\n          self.$results.attr('aria-expanded', 'true');\n          self.$results.attr('aria-hidden', 'false');\n          self.setClasses();\n          self.ensureHighlightVisible();\n        });\n        container.on('close', function () {\n          // When the dropdown is closed, aria-expended=\"false\"\n          self.$results.attr('aria-expanded', 'false');\n          self.$results.attr('aria-hidden', 'true');\n          self.$results.removeAttr('aria-activedescendant');\n        });\n        container.on('results:toggle', function () {\n          var $highlighted = self.getHighlightedResults();\n\n          if ($highlighted.length === 0) {\n            return;\n          }\n\n          $highlighted.trigger('mouseup');\n        });\n        container.on('results:select', function () {\n          var $highlighted = self.getHighlightedResults();\n\n          if ($highlighted.length === 0) {\n            return;\n          }\n\n          var data = Utils.GetData($highlighted[0], 'data');\n\n          if ($highlighted.hasClass('select2-results__option--selected')) {\n            self.trigger('close', {});\n          } else {\n            self.trigger('select', {\n              data: data\n            });\n          }\n        });\n        container.on('results:previous', function () {\n          var $highlighted = self.getHighlightedResults();\n          var $options = self.$results.find('.select2-results__option--selectable');\n          var currentIndex = $options.index($highlighted); // If we are already at the top, don't move further\n          // If no options, currentIndex will be -1\n\n          if (currentIndex <= 0) {\n            return;\n          }\n\n          var nextIndex = currentIndex - 1; // If none are highlighted, highlight the first\n\n          if ($highlighted.length === 0) {\n            nextIndex = 0;\n          }\n\n          var $next = $options.eq(nextIndex);\n          $next.trigger('mouseenter');\n          var currentOffset = self.$results.offset().top;\n          var nextTop = $next.offset().top;\n          var nextOffset = self.$results.scrollTop() + (nextTop - currentOffset);\n\n          if (nextIndex === 0) {\n            self.$results.scrollTop(0);\n          } else if (nextTop - currentOffset < 0) {\n            self.$results.scrollTop(nextOffset);\n          }\n        });\n        container.on('results:next', function () {\n          var $highlighted = self.getHighlightedResults();\n          var $options = self.$results.find('.select2-results__option--selectable');\n          var currentIndex = $options.index($highlighted);\n          var nextIndex = currentIndex + 1; // If we are at the last option, stay there\n\n          if (nextIndex >= $options.length) {\n            return;\n          }\n\n          var $next = $options.eq(nextIndex);\n          $next.trigger('mouseenter');\n          var currentOffset = self.$results.offset().top + self.$results.outerHeight(false);\n          var nextBottom = $next.offset().top + $next.outerHeight(false);\n          var nextOffset = self.$results.scrollTop() + nextBottom - currentOffset;\n\n          if (nextIndex === 0) {\n            self.$results.scrollTop(0);\n          } else if (nextBottom > currentOffset) {\n            self.$results.scrollTop(nextOffset);\n          }\n        });\n        container.on('results:focus', function (params) {\n          params.element[0].classList.add('select2-results__option--highlighted');\n          params.element[0].setAttribute('aria-selected', 'true');\n        });\n        container.on('results:message', function (params) {\n          self.displayMessage(params);\n        });\n\n        if ($.fn.mousewheel) {\n          this.$results.on('mousewheel', function (e) {\n            var top = self.$results.scrollTop();\n            var bottom = self.$results.get(0).scrollHeight - top + e.deltaY;\n            var isAtTop = e.deltaY > 0 && top - e.deltaY <= 0;\n            var isAtBottom = e.deltaY < 0 && bottom <= self.$results.height();\n\n            if (isAtTop) {\n              self.$results.scrollTop(0);\n              e.preventDefault();\n              e.stopPropagation();\n            } else if (isAtBottom) {\n              self.$results.scrollTop(self.$results.get(0).scrollHeight - self.$results.height());\n              e.preventDefault();\n              e.stopPropagation();\n            }\n          });\n        }\n\n        this.$results.on('mouseup', '.select2-results__option--selectable', function (evt) {\n          var $this = $(this);\n          var data = Utils.GetData(this, 'data');\n\n          if ($this.hasClass('select2-results__option--selected')) {\n            if (self.options.get('multiple')) {\n              self.trigger('unselect', {\n                originalEvent: evt,\n                data: data\n              });\n            } else {\n              self.trigger('close', {});\n            }\n\n            return;\n          }\n\n          self.trigger('select', {\n            originalEvent: evt,\n            data: data\n          });\n        });\n        this.$results.on('mouseenter', '.select2-results__option--selectable', function (evt) {\n          var data = Utils.GetData(this, 'data');\n          self.getHighlightedResults().removeClass('select2-results__option--highlighted').attr('aria-selected', 'false');\n          self.trigger('results:focus', {\n            data: data,\n            element: $(this)\n          });\n        });\n      };\n\n      Results.prototype.getHighlightedResults = function () {\n        var $highlighted = this.$results.find('.select2-results__option--highlighted');\n        return $highlighted;\n      };\n\n      Results.prototype.destroy = function () {\n        this.$results.remove();\n      };\n\n      Results.prototype.ensureHighlightVisible = function () {\n        var $highlighted = this.getHighlightedResults();\n\n        if ($highlighted.length === 0) {\n          return;\n        }\n\n        var $options = this.$results.find('.select2-results__option--selectable');\n        var currentIndex = $options.index($highlighted);\n        var currentOffset = this.$results.offset().top;\n        var nextTop = $highlighted.offset().top;\n        var nextOffset = this.$results.scrollTop() + (nextTop - currentOffset);\n        var offsetDelta = nextTop - currentOffset;\n        nextOffset -= $highlighted.outerHeight(false) * 2;\n\n        if (currentIndex <= 2) {\n          this.$results.scrollTop(0);\n        } else if (offsetDelta > this.$results.outerHeight() || offsetDelta < 0) {\n          this.$results.scrollTop(nextOffset);\n        }\n      };\n\n      Results.prototype.template = function (result, container) {\n        var template = this.options.get('templateResult');\n        var escapeMarkup = this.options.get('escapeMarkup');\n        var content = template(result, container);\n\n        if (content == null) {\n          container.style.display = 'none';\n        } else if (typeof content === 'string') {\n          container.innerHTML = escapeMarkup(content);\n        } else {\n          $(container).append(content);\n        }\n      };\n\n      return Results;\n    });\n    S2.define('select2/keys', [], function () {\n      var KEYS = {\n        BACKSPACE: 8,\n        TAB: 9,\n        ENTER: 13,\n        SHIFT: 16,\n        CTRL: 17,\n        ALT: 18,\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      return KEYS;\n    });\n    S2.define('select2/selection/base', ['jquery', '../utils', '../keys'], function ($, Utils, KEYS) {\n      function BaseSelection($element, options) {\n        this.$element = $element;\n        this.options = options;\n\n        BaseSelection.__super__.constructor.call(this);\n      }\n\n      Utils.Extend(BaseSelection, Utils.Observable);\n\n      BaseSelection.prototype.render = function () {\n        var $selection = $('<span class=\"select2-selection\" role=\"combobox\" ' + ' aria-haspopup=\"true\" aria-expanded=\"false\">' + '</span>');\n        this._tabindex = 0;\n\n        if (Utils.GetData(this.$element[0], 'old-tabindex') != null) {\n          this._tabindex = Utils.GetData(this.$element[0], 'old-tabindex');\n        } else if (this.$element.attr('tabindex') != null) {\n          this._tabindex = this.$element.attr('tabindex');\n        }\n\n        $selection.attr('title', this.$element.attr('title'));\n        $selection.attr('tabindex', this._tabindex);\n        $selection.attr('aria-disabled', 'false');\n        this.$selection = $selection;\n        return $selection;\n      };\n\n      BaseSelection.prototype.bind = function (container, $container) {\n        var self = this;\n        var resultsId = container.id + '-results';\n        this.container = container;\n        this.$selection.on('focus', function (evt) {\n          self.trigger('focus', evt);\n        });\n        this.$selection.on('blur', function (evt) {\n          self._handleBlur(evt);\n        });\n        this.$selection.on('keydown', function (evt) {\n          self.trigger('keypress', evt);\n\n          if (evt.which === KEYS.SPACE) {\n            evt.preventDefault();\n          }\n        });\n        container.on('results:focus', function (params) {\n          self.$selection.attr('aria-activedescendant', params.data._resultId);\n        });\n        container.on('selection:update', function (params) {\n          self.update(params.data);\n        });\n        container.on('open', function () {\n          // When the dropdown is open, aria-expanded=\"true\"\n          self.$selection.attr('aria-expanded', 'true');\n          self.$selection.attr('aria-owns', resultsId);\n\n          self._attachCloseHandler(container);\n        });\n        container.on('close', function () {\n          // When the dropdown is closed, aria-expanded=\"false\"\n          self.$selection.attr('aria-expanded', 'false');\n          self.$selection.removeAttr('aria-activedescendant');\n          self.$selection.removeAttr('aria-owns');\n          self.$selection.trigger('focus');\n\n          self._detachCloseHandler(container);\n        });\n        container.on('enable', function () {\n          self.$selection.attr('tabindex', self._tabindex);\n          self.$selection.attr('aria-disabled', 'false');\n        });\n        container.on('disable', function () {\n          self.$selection.attr('tabindex', '-1');\n          self.$selection.attr('aria-disabled', 'true');\n        });\n      };\n\n      BaseSelection.prototype._handleBlur = function (evt) {\n        var self = this; // This needs to be delayed as the active element is the body when the tab\n        // key is pressed, possibly along with others.\n\n        window.setTimeout(function () {\n          // Don't trigger `blur` if the focus is still in the selection\n          if (document.activeElement == self.$selection[0] || $.contains(self.$selection[0], document.activeElement)) {\n            return;\n          }\n\n          self.trigger('blur', evt);\n        }, 1);\n      };\n\n      BaseSelection.prototype._attachCloseHandler = function (container) {\n        $(document.body).on('mousedown.select2.' + container.id, function (e) {\n          var $target = $(e.target);\n          var $select = $target.closest('.select2');\n          var $all = $('.select2.select2-container--open');\n          $all.each(function () {\n            if (this == $select[0]) {\n              return;\n            }\n\n            var $element = Utils.GetData(this, 'element'); // Renamed function. @edited\n            // old: $element.select2('close');\n\n            $element.SUIselect2('close');\n          });\n        });\n      };\n\n      BaseSelection.prototype._detachCloseHandler = function (container) {\n        $(document.body).off('mousedown.select2.' + container.id);\n      };\n\n      BaseSelection.prototype.position = function ($selection, $container) {\n        var $selectionContainer = $container.find('.selection');\n        $selectionContainer.append($selection);\n      };\n\n      BaseSelection.prototype.destroy = function () {\n        this._detachCloseHandler(this.container);\n      };\n\n      BaseSelection.prototype.update = function (data) {\n        throw new Error('The `update` method must be defined in child classes.');\n      };\n      /**\n       * Helper method to abstract the \"enabled\" (not \"disabled\") state of this\n       * object.\n       *\n       * @return {true} if the instance is not disabled.\n       * @return {false} if the instance is disabled.\n       */\n\n\n      BaseSelection.prototype.isEnabled = function () {\n        return !this.isDisabled();\n      };\n      /**\n       * Helper method to abstract the \"disabled\" state of this object.\n       *\n       * @return {true} if the disabled option is true.\n       * @return {false} if the disabled option is false.\n       */\n\n\n      BaseSelection.prototype.isDisabled = function () {\n        return this.options.get('disabled');\n      };\n\n      return BaseSelection;\n    });\n    S2.define('select2/selection/single', ['jquery', './base', '../utils', '../keys'], function ($, BaseSelection, Utils, KEYS) {\n      function SingleSelection() {\n        SingleSelection.__super__.constructor.apply(this, arguments);\n      }\n\n      Utils.Extend(SingleSelection, BaseSelection);\n\n      SingleSelection.prototype.render = function () {\n        var $selection = SingleSelection.__super__.render.call(this);\n\n        $selection[0].classList.add('select2-selection--single'); // Assign SUI icon to select button. @edited\n\n        $selection.html('<span class=\"select2-selection__rendered\"></span>' + '<span class=\"select2-selection__arrow\" role=\"presentation\">' + '<span class=\"sui-icon-chevron-down sui-sm\" aria-hidden=\"true\"></span>' + '</span>');\n        return $selection;\n      };\n\n      SingleSelection.prototype.bind = function (container, $container) {\n        var self = this;\n\n        SingleSelection.__super__.bind.apply(this, arguments);\n\n        var id = container.id + '-container';\n        this.$selection.find('.select2-selection__rendered').attr('id', id).attr('role', 'textbox').attr('aria-readonly', 'true');\n        this.$selection.attr('aria-labelledby', id);\n        this.$selection.attr('aria-controls', id);\n        this.$selection.on('mousedown', function (evt) {\n          // Only respond to left clicks\n          if (evt.which !== 1) {\n            return;\n          }\n\n          self.trigger('toggle', {\n            originalEvent: evt\n          });\n        });\n        this.$selection.on('focus', function (evt) {// User focuses on the container\n        });\n        this.$selection.on('blur', function (evt) {// User exits the container\n        });\n        container.on('focus', function (evt) {\n          if (!container.isOpen()) {\n            self.$selection.trigger('focus');\n          }\n        });\n      };\n\n      SingleSelection.prototype.clear = function () {\n        var $rendered = this.$selection.find('.select2-selection__rendered');\n        $rendered.empty();\n        $rendered.removeAttr('title'); // clear tooltip on empty\n      };\n\n      SingleSelection.prototype.display = function (data, container) {\n        var template = this.options.get('templateSelection');\n        var escapeMarkup = this.options.get('escapeMarkup');\n        return escapeMarkup(template(data, container));\n      };\n\n      SingleSelection.prototype.selectionContainer = function () {\n        return $('<span></span>');\n      };\n\n      SingleSelection.prototype.update = function (data) {\n        // Add icon when variables is empty. @edited\n        if (data.length === 0) {\n          this.clear();\n\n          if ('vars' === this.options.get('theme')) {\n            this.$selection.find('.select2-selection__rendered').html('<span class=\"sui-icon-plus-circle sui-md\" aria-hidden=\"true\"></span>');\n          }\n\n          return;\n        }\n\n        var selection = data[0];\n        var $rendered = this.$selection.find('.select2-selection__rendered');\n        var formatted = this.display(selection, $rendered);\n        $rendered.empty().append(formatted);\n        var title = selection.title || selection.text;\n\n        if (title) {\n          $rendered.attr('title', title);\n        } else {\n          $rendered.removeAttr('title');\n        }\n      };\n\n      return SingleSelection;\n    });\n    S2.define('select2/selection/multiple', ['jquery', './base', '../utils'], function ($, BaseSelection, Utils) {\n      function MultipleSelection($element, options) {\n        MultipleSelection.__super__.constructor.apply(this, arguments);\n      }\n\n      Utils.Extend(MultipleSelection, BaseSelection);\n\n      MultipleSelection.prototype.render = function () {\n        var $selection = MultipleSelection.__super__.render.call(this);\n\n        $selection[0].classList.add('select2-selection--multiple');\n        $selection.html('<ul class=\"select2-selection__rendered\"></ul>');\n        return $selection;\n      };\n\n      MultipleSelection.prototype.bind = function (container, $container) {\n        var self = this;\n\n        MultipleSelection.__super__.bind.apply(this, arguments);\n\n        var id = container.id + '-container';\n        this.$selection.find('.select2-selection__rendered').attr('id', id);\n        this.$selection.on('click', function (evt) {\n          self.trigger('toggle', {\n            originalEvent: evt\n          });\n        });\n        this.$selection.on('click', '.sui-button-icon', function (evt) {\n          // Ignore the event if it is disabled\n          if (self.isDisabled()) {\n            return;\n          }\n\n          var $remove = $(this);\n          var $selection = $remove.parent();\n          var data = Utils.GetData($selection[0], 'data');\n          self.trigger('unselect', {\n            originalEvent: evt,\n            data: data\n          });\n        });\n        this.$selection.on('keydown', '.sui-button-icon', function (evt) {\n          // Ignore the event if it is disabled\n          if (self.isDisabled()) {\n            return;\n          }\n\n          evt.stopPropagation();\n        });\n      };\n\n      MultipleSelection.prototype.clear = function () {\n        var $rendered = this.$selection.find('.select2-selection__rendered');\n        $rendered.empty();\n        $rendered.removeAttr('title');\n        $rendered.removeClass('has-option-selected');\n      };\n\n      MultipleSelection.prototype.display = function (data, container) {\n        var template = this.options.get('templateSelection');\n        var escapeMarkup = this.options.get('escapeMarkup');\n        return escapeMarkup(template(data, container));\n      };\n\n      MultipleSelection.prototype.selectionContainer = function () {\n        var $container = $('<li class=\"select2-selection__choice\">' + '<span class=\"select2-selection__choice__display\"></span>' + '<button type=\"button\" class=\"sui-button-icon\" ' + 'tabindex=\"-1\">' + '<span class=\"sui-icon-close sui-sm\" aria-hidden=\"true\"></span>' + '</button>' + '</li>');\n        return $container;\n      };\n\n      MultipleSelection.prototype.update = function (data) {\n        this.clear();\n\n        if (data.length === 0) {\n          return;\n        }\n\n        var $selections = [];\n        var selectionIdPrefix = this.$selection.find('.select2-selection__rendered').attr('id') + '-choice-';\n\n        for (var d = 0; d < data.length; d++) {\n          var selection = data[d];\n          var $selection = this.selectionContainer();\n          var formatted = this.display(selection, $selection);\n          var selectionId = selectionIdPrefix + Utils.generateChars(4) + '-';\n\n          if (selection.id) {\n            selectionId += selection.id;\n          } else {\n            selectionId += Utils.generateChars(4);\n          }\n\n          $selection.find('.select2-selection__choice__display').append(formatted).attr('id', selectionId);\n          var title = selection.title || selection.text;\n\n          if (title) {\n            $selection.attr('title', title);\n          }\n\n          var removeItem = this.options.get('translations').get('removeItem');\n          var $remove = $selection.find('.sui-button-icon');\n          $remove.attr('title', removeItem());\n          $remove.attr('aria-label', removeItem());\n          $remove.attr('aria-describedby', selectionId);\n          Utils.StoreData($selection[0], 'data', selection);\n          $selections.push($selection);\n        }\n\n        var $rendered = this.$selection.find('.select2-selection__rendered');\n        $rendered.append($selections).addClass('has-option-selected');\n      };\n\n      return MultipleSelection;\n    });\n    S2.define('select2/selection/placeholder', [], function () {\n      function Placeholder(decorated, $element, options) {\n        this.placeholder = this.normalizePlaceholder(options.get('placeholder'));\n        decorated.call(this, $element, options);\n      }\n\n      Placeholder.prototype.normalizePlaceholder = function (_, placeholder) {\n        if (typeof placeholder === 'string') {\n          placeholder = {\n            id: '',\n            text: placeholder\n          };\n        }\n\n        return placeholder;\n      };\n\n      Placeholder.prototype.createPlaceholder = function (decorated, placeholder) {\n        var $placeholder = this.selectionContainer();\n        $placeholder.html(this.display(placeholder));\n        $placeholder[0].classList.add('select2-selection__placeholder');\n        $placeholder[0].classList.remove('select2-selection__choice');\n        var placeholderTitle = placeholder.title || placeholder.text || $placeholder.text();\n        this.$selection.find('.select2-selection__rendered').attr('title', placeholderTitle);\n        return $placeholder;\n      };\n\n      Placeholder.prototype.update = function (decorated, data) {\n        var singlePlaceholder = data.length == 1 && data[0].id != this.placeholder.id;\n        var multipleSelections = data.length > 1;\n\n        if (multipleSelections || singlePlaceholder) {\n          return decorated.call(this, data);\n        }\n\n        this.clear();\n        var $placeholder = this.createPlaceholder(this.placeholder);\n        this.$selection.find('.select2-selection__rendered').append($placeholder);\n      };\n\n      return Placeholder;\n    });\n    S2.define('select2/selection/allowClear', ['jquery', '../keys', '../utils'], function ($, KEYS, Utils) {\n      function AllowClear() {}\n\n      AllowClear.prototype.bind = function (decorated, container, $container) {\n        var self = this;\n        decorated.call(this, container, $container);\n\n        if (this.placeholder == null) {\n          if (this.options.get('debug') && window.console && console.error) {\n            console.error('Select2: The `allowClear` option should be used in combination ' + 'with the `placeholder` option.');\n          }\n        }\n\n        this.$selection.on('mousedown', '.select2-selection__clear', function (evt) {\n          self._handleClear(evt);\n        });\n        container.on('keypress', function (evt) {\n          self._handleKeyboardClear(evt, container);\n        });\n      };\n\n      AllowClear.prototype._handleClear = function (_, evt) {\n        // Ignore the event if it is disabled\n        if (this.isDisabled()) {\n          return;\n        }\n\n        var $clear = this.$selection.find('.select2-selection__clear'); // Ignore the event if nothing has been selected\n\n        if ($clear.length === 0) {\n          return;\n        }\n\n        evt.stopPropagation();\n        var data = Utils.GetData($clear[0], 'data');\n        var previousVal = this.$element.val();\n        this.$element.val(this.placeholder.id);\n        var unselectData = {\n          data: data\n        };\n        this.trigger('clear', unselectData);\n\n        if (unselectData.prevented) {\n          this.$element.val(previousVal);\n          return;\n        }\n\n        for (var d = 0; d < data.length; d++) {\n          unselectData = {\n            data: data[d]\n          }; // Trigger the `unselect` event, so people can prevent it from being\n          // cleared.\n\n          this.trigger('unselect', unselectData); // If the event was prevented, don't clear it out.\n\n          if (unselectData.prevented) {\n            this.$element.val(previousVal);\n            return;\n          }\n        }\n\n        this.$element.trigger('input').trigger('change');\n        this.trigger('toggle', {});\n      };\n\n      AllowClear.prototype._handleKeyboardClear = function (_, evt, container) {\n        if (container.isOpen()) {\n          return;\n        }\n\n        if (evt.which == KEYS.DELETE || evt.which == KEYS.BACKSPACE) {\n          this._handleClear(evt);\n        }\n      };\n\n      AllowClear.prototype.update = function (decorated, data) {\n        decorated.call(this, data);\n        this.$selection.find('.select2-selection__clear').remove();\n        this.$selection[0].classList.remove('select2-selection--clearable');\n\n        if (this.$selection.find('.select2-selection__placeholder').length > 0 || data.length === 0) {\n          return;\n        }\n\n        var selectionId = this.$selection.find('.select2-selection__rendered').attr('id');\n        var removeAll = this.options.get('translations').get('removeAllItems');\n        var $remove = $('<button type=\"button\" class=\"select2-selection__clear\" tabindex=\"-1\">' + '<span aria-hidden=\"true\">&times;</span>' + '</button>');\n        $remove.attr('title', removeAll());\n        $remove.attr('aria-label', removeAll());\n        $remove.attr('aria-describedby', selectionId);\n        Utils.StoreData($remove[0], 'data', data);\n        this.$selection.prepend($remove);\n        this.$selection[0].classList.add('select2-selection--clearable');\n      };\n\n      return AllowClear;\n    });\n    S2.define('select2/selection/search', ['jquery', '../utils', '../keys'], function ($, Utils, KEYS) {\n      function Search(decorated, $element, options) {\n        decorated.call(this, $element, options);\n      }\n\n      Search.prototype.render = function (decorated) {\n        var searchLabel = this.options.get('translations').get('search');\n        var $search = $('<span class=\"select2-search select2-search--inline\">' + '<textarea class=\"select2-search__field\"' + ' type=\"search\" tabindex=\"-1\"' + ' autocorrect=\"off\" autocapitalize=\"none\"' + ' spellcheck=\"false\" role=\"searchbox\" aria-autocomplete=\"list\" >' + '</textarea>' + '</span>');\n        this.$searchContainer = $search;\n        this.$search = $search.find('textarea');\n        this.$search.prop('autocomplete', this.options.get('autocomplete'));\n        this.$search.attr('aria-label', searchLabel());\n        var $rendered = decorated.call(this);\n\n        this._transferTabIndex();\n\n        $rendered.append(this.$searchContainer);\n        return $rendered;\n      };\n\n      Search.prototype.bind = function (decorated, container, $container) {\n        var self = this;\n        var resultsId = container.id + '-results';\n        var selectionId = container.id + '-container';\n        decorated.call(this, container, $container);\n        self.$search.attr('aria-describedby', selectionId);\n        container.on('open', function () {\n          self.$search.attr('aria-controls', resultsId);\n          self.$search.trigger('focus');\n        });\n        container.on('close', function () {\n          self.$search.val('');\n          self.resizeSearch();\n          self.$search.removeAttr('aria-controls');\n          self.$search.removeAttr('aria-activedescendant');\n          self.$search.trigger('focus');\n        });\n        container.on('enable', function () {\n          self.$search.prop('disabled', false);\n\n          self._transferTabIndex();\n        });\n        container.on('disable', function () {\n          self.$search.prop('disabled', true);\n        });\n        container.on('focus', function (evt) {\n          self.$search.trigger('focus');\n        });\n        container.on('results:focus', function (params) {\n          if (params.data._resultId) {\n            self.$search.attr('aria-activedescendant', params.data._resultId);\n          } else {\n            self.$search.removeAttr('aria-activedescendant');\n          }\n        });\n        this.$selection.on('focusin', '.select2-search--inline', function (evt) {\n          self.trigger('focus', evt);\n        });\n        this.$selection.on('focusout', '.select2-search--inline', function (evt) {\n          self._handleBlur(evt);\n        });\n        this.$selection.on('keydown', '.select2-search--inline', function (evt) {\n          evt.stopPropagation();\n          self.trigger('keypress', evt);\n          self._keyUpPrevented = evt.isDefaultPrevented();\n          var key = evt.which;\n\n          if (key === KEYS.BACKSPACE && self.$search.val() === '') {\n            var $previousChoice = self.$selection.find('.select2-selection__choice').last();\n\n            if ($previousChoice.length > 0) {\n              var item = Utils.GetData($previousChoice[0], 'data');\n              self.searchRemoveChoice(item);\n              evt.preventDefault();\n            }\n          }\n        });\n        this.$selection.on('click', '.select2-search--inline', function (evt) {\n          if (self.$search.val()) {\n            evt.stopPropagation();\n          }\n        }); // Try to detect the IE version should the `documentMode` property that\n        // is stored on the document. This is only implemented in IE and is\n        // slightly cleaner than doing a user agent check.\n        // This property is not available in Edge, but Edge also doesn't have\n        // this bug.\n\n        var msie = document.documentMode;\n        var disableInputEvents = msie && msie <= 11; // Workaround for browsers which do not support the `input` event\n        // This will prevent double-triggering of events for browsers which support\n        // both the `keyup` and `input` events.\n\n        this.$selection.on('input.searchcheck', '.select2-search--inline', function (evt) {\n          // IE will trigger the `input` event when a placeholder is used on a\n          // search box. To get around this issue, we are forced to ignore all\n          // `input` events in IE and keep using `keyup`.\n          if (disableInputEvents) {\n            self.$selection.off('input.search input.searchcheck');\n            return;\n          } // Unbind the duplicated `keyup` event\n\n\n          self.$selection.off('keyup.search');\n        });\n        this.$selection.on('keyup.search input.search', '.select2-search--inline', function (evt) {\n          // IE will trigger the `input` event when a placeholder is used on a\n          // search box. To get around this issue, we are forced to ignore all\n          // `input` events in IE and keep using `keyup`.\n          if (disableInputEvents && evt.type === 'input') {\n            self.$selection.off('input.search input.searchcheck');\n            return;\n          }\n\n          var key = evt.which; // We can freely ignore events from modifier keys\n\n          if (key == KEYS.SHIFT || key == KEYS.CTRL || key == KEYS.ALT) {\n            return;\n          } // Tabbing will be handled during the `keydown` phase\n\n\n          if (key == KEYS.TAB) {\n            return;\n          }\n\n          self.handleSearch(evt);\n        });\n      };\n      /**\n       * This method will transfer the tabindex attribute from the rendered\n       * selection to the search box. This allows for the search box to be used as\n       * the primary focus instead of the selection container.\n       *\n       * @private\n       */\n\n\n      Search.prototype._transferTabIndex = function (decorated) {\n        this.$search.attr('tabindex', this.$selection.attr('tabindex'));\n        this.$selection.attr('tabindex', '-1');\n      };\n\n      Search.prototype.createPlaceholder = function (decorated, placeholder) {\n        this.$search.attr('placeholder', placeholder.text);\n      };\n\n      Search.prototype.update = function (decorated, data) {\n        var searchHadFocus = this.$search[0] == document.activeElement;\n        this.$search.attr('placeholder', '');\n        decorated.call(this, data);\n        this.resizeSearch();\n\n        if (searchHadFocus) {\n          this.$search.trigger('focus');\n        }\n      };\n\n      Search.prototype.handleSearch = function () {\n        this.resizeSearch();\n\n        if (!this._keyUpPrevented) {\n          var input = this.$search.val();\n          this.trigger('query', {\n            term: input\n          });\n        }\n\n        this._keyUpPrevented = false;\n      };\n\n      Search.prototype.searchRemoveChoice = function (decorated, item) {\n        this.trigger('unselect', {\n          data: item\n        });\n        this.$search.val(item.text);\n        this.handleSearch();\n      };\n\n      Search.prototype.resizeSearch = function () {\n        this.$search.css('width', '25px');\n        var width = '100%';\n\n        if (this.$search.attr('placeholder') === '') {\n          var minimumWidth = this.$search.val().length + 1;\n          width = minimumWidth * 0.75 + 'em';\n        }\n\n        this.$search.css('width', width);\n      };\n\n      return Search;\n    });\n    S2.define('select2/selection/selectionCss', ['../utils'], function (Utils) {\n      function SelectionCSS() {}\n\n      SelectionCSS.prototype.render = function (decorated) {\n        var $selection = decorated.call(this);\n        var selectionCssClass = this.options.get('selectionCssClass') || '';\n\n        if (selectionCssClass.indexOf(':all:') !== -1) {\n          selectionCssClass = selectionCssClass.replace(':all:', '');\n          Utils.copyNonInternalCssClasses($selection[0], this.$element[0]);\n        }\n\n        $selection.addClass(selectionCssClass);\n        return $selection;\n      };\n\n      return SelectionCSS;\n    });\n    S2.define('select2/selection/eventRelay', ['jquery'], function ($) {\n      function EventRelay() {}\n\n      EventRelay.prototype.bind = function (decorated, container, $container) {\n        var self = this;\n        var relayEvents = ['open', 'opening', 'close', 'closing', 'select', 'selecting', 'unselect', 'unselecting', 'clear', 'clearing'];\n        var preventableEvents = ['opening', 'closing', 'selecting', 'unselecting', 'clearing'];\n        decorated.call(this, container, $container);\n        container.on('*', function (name, params) {\n          // Ignore events that should not be relayed\n          if (relayEvents.indexOf(name) === -1) {\n            return;\n          } // The parameters should always be an object\n\n\n          params = params || {}; // Generate the jQuery event for the Select2 event\n\n          var evt = $.Event('select2:' + name, {\n            params: params\n          });\n          self.$element.trigger(evt); // Only handle preventable events if it was one\n\n          if (preventableEvents.indexOf(name) === -1) {\n            return;\n          }\n\n          params.prevented = evt.isDefaultPrevented();\n        });\n      };\n\n      return EventRelay;\n    });\n    S2.define('select2/translation', ['jquery', 'require'], function ($, require) {\n      function Translation(dict) {\n        this.dict = dict || {};\n      }\n\n      Translation.prototype.all = function () {\n        return this.dict;\n      };\n\n      Translation.prototype.get = function (key) {\n        return this.dict[key];\n      };\n\n      Translation.prototype.extend = function (translation) {\n        this.dict = $.extend({}, translation.all(), this.dict);\n      }; // Static functions\n\n\n      Translation._cache = {};\n\n      Translation.loadPath = function (path) {\n        if (!(path in Translation._cache)) {\n          var translations = require(path);\n\n          Translation._cache[path] = translations;\n        }\n\n        return new Translation(Translation._cache[path]);\n      };\n\n      return Translation;\n    });\n    S2.define('select2/diacritics', [], function () {\n      var diacritics = {\n        \"\\u24B6\": 'A',\n        \"\\uFF21\": 'A',\n        \"\\xC0\": 'A',\n        \"\\xC1\": 'A',\n        \"\\xC2\": 'A',\n        \"\\u1EA6\": 'A',\n        \"\\u1EA4\": 'A',\n        \"\\u1EAA\": 'A',\n        \"\\u1EA8\": 'A',\n        \"\\xC3\": 'A',\n        \"\\u0100\": 'A',\n        \"\\u0102\": 'A',\n        \"\\u1EB0\": 'A',\n        \"\\u1EAE\": 'A',\n        \"\\u1EB4\": 'A',\n        \"\\u1EB2\": 'A',\n        \"\\u0226\": 'A',\n        \"\\u01E0\": 'A',\n        \"\\xC4\": 'A',\n        \"\\u01DE\": 'A',\n        \"\\u1EA2\": 'A',\n        \"\\xC5\": 'A',\n        \"\\u01FA\": 'A',\n        \"\\u01CD\": 'A',\n        \"\\u0200\": 'A',\n        \"\\u0202\": 'A',\n        \"\\u1EA0\": 'A',\n        \"\\u1EAC\": 'A',\n        \"\\u1EB6\": 'A',\n        \"\\u1E00\": 'A',\n        \"\\u0104\": 'A',\n        \"\\u023A\": 'A',\n        \"\\u2C6F\": 'A',\n        \"\\uA732\": 'AA',\n        \"\\xC6\": 'AE',\n        \"\\u01FC\": 'AE',\n        \"\\u01E2\": 'AE',\n        \"\\uA734\": 'AO',\n        \"\\uA736\": 'AU',\n        \"\\uA738\": 'AV',\n        \"\\uA73A\": 'AV',\n        \"\\uA73C\": 'AY',\n        \"\\u24B7\": 'B',\n        \"\\uFF22\": 'B',\n        \"\\u1E02\": 'B',\n        \"\\u1E04\": 'B',\n        \"\\u1E06\": 'B',\n        \"\\u0243\": 'B',\n        \"\\u0182\": 'B',\n        \"\\u0181\": 'B',\n        \"\\u24B8\": 'C',\n        \"\\uFF23\": 'C',\n        \"\\u0106\": 'C',\n        \"\\u0108\": 'C',\n        \"\\u010A\": 'C',\n        \"\\u010C\": 'C',\n        \"\\xC7\": 'C',\n        \"\\u1E08\": 'C',\n        \"\\u0187\": 'C',\n        \"\\u023B\": 'C',\n        \"\\uA73E\": 'C',\n        \"\\u24B9\": 'D',\n        \"\\uFF24\": 'D',\n        \"\\u1E0A\": 'D',\n        \"\\u010E\": 'D',\n        \"\\u1E0C\": 'D',\n        \"\\u1E10\": 'D',\n        \"\\u1E12\": 'D',\n        \"\\u1E0E\": 'D',\n        \"\\u0110\": 'D',\n        \"\\u018B\": 'D',\n        \"\\u018A\": 'D',\n        \"\\u0189\": 'D',\n        \"\\uA779\": 'D',\n        \"\\u01F1\": 'DZ',\n        \"\\u01C4\": 'DZ',\n        \"\\u01F2\": 'Dz',\n        \"\\u01C5\": 'Dz',\n        \"\\u24BA\": 'E',\n        \"\\uFF25\": 'E',\n        \"\\xC8\": 'E',\n        \"\\xC9\": 'E',\n        \"\\xCA\": 'E',\n        \"\\u1EC0\": 'E',\n        \"\\u1EBE\": 'E',\n        \"\\u1EC4\": 'E',\n        \"\\u1EC2\": 'E',\n        \"\\u1EBC\": 'E',\n        \"\\u0112\": 'E',\n        \"\\u1E14\": 'E',\n        \"\\u1E16\": 'E',\n        \"\\u0114\": 'E',\n        \"\\u0116\": 'E',\n        \"\\xCB\": 'E',\n        \"\\u1EBA\": 'E',\n        \"\\u011A\": 'E',\n        \"\\u0204\": 'E',\n        \"\\u0206\": 'E',\n        \"\\u1EB8\": 'E',\n        \"\\u1EC6\": 'E',\n        \"\\u0228\": 'E',\n        \"\\u1E1C\": 'E',\n        \"\\u0118\": 'E',\n        \"\\u1E18\": 'E',\n        \"\\u1E1A\": 'E',\n        \"\\u0190\": 'E',\n        \"\\u018E\": 'E',\n        \"\\u24BB\": 'F',\n        \"\\uFF26\": 'F',\n        \"\\u1E1E\": 'F',\n        \"\\u0191\": 'F',\n        \"\\uA77B\": 'F',\n        \"\\u24BC\": 'G',\n        \"\\uFF27\": 'G',\n        \"\\u01F4\": 'G',\n        \"\\u011C\": 'G',\n        \"\\u1E20\": 'G',\n        \"\\u011E\": 'G',\n        \"\\u0120\": 'G',\n        \"\\u01E6\": 'G',\n        \"\\u0122\": 'G',\n        \"\\u01E4\": 'G',\n        \"\\u0193\": 'G',\n        \"\\uA7A0\": 'G',\n        \"\\uA77D\": 'G',\n        \"\\uA77E\": 'G',\n        \"\\u24BD\": 'H',\n        \"\\uFF28\": 'H',\n        \"\\u0124\": 'H',\n        \"\\u1E22\": 'H',\n        \"\\u1E26\": 'H',\n        \"\\u021E\": 'H',\n        \"\\u1E24\": 'H',\n        \"\\u1E28\": 'H',\n        \"\\u1E2A\": 'H',\n        \"\\u0126\": 'H',\n        \"\\u2C67\": 'H',\n        \"\\u2C75\": 'H',\n        \"\\uA78D\": 'H',\n        \"\\u24BE\": 'I',\n        \"\\uFF29\": 'I',\n        \"\\xCC\": 'I',\n        \"\\xCD\": 'I',\n        \"\\xCE\": 'I',\n        \"\\u0128\": 'I',\n        \"\\u012A\": 'I',\n        \"\\u012C\": 'I',\n        \"\\u0130\": 'I',\n        \"\\xCF\": 'I',\n        \"\\u1E2E\": 'I',\n        \"\\u1EC8\": 'I',\n        \"\\u01CF\": 'I',\n        \"\\u0208\": 'I',\n        \"\\u020A\": 'I',\n        \"\\u1ECA\": 'I',\n        \"\\u012E\": 'I',\n        \"\\u1E2C\": 'I',\n        \"\\u0197\": 'I',\n        \"\\u24BF\": 'J',\n        \"\\uFF2A\": 'J',\n        \"\\u0134\": 'J',\n        \"\\u0248\": 'J',\n        \"\\u24C0\": 'K',\n        \"\\uFF2B\": 'K',\n        \"\\u1E30\": 'K',\n        \"\\u01E8\": 'K',\n        \"\\u1E32\": 'K',\n        \"\\u0136\": 'K',\n        \"\\u1E34\": 'K',\n        \"\\u0198\": 'K',\n        \"\\u2C69\": 'K',\n        \"\\uA740\": 'K',\n        \"\\uA742\": 'K',\n        \"\\uA744\": 'K',\n        \"\\uA7A2\": 'K',\n        \"\\u24C1\": 'L',\n        \"\\uFF2C\": 'L',\n        \"\\u013F\": 'L',\n        \"\\u0139\": 'L',\n        \"\\u013D\": 'L',\n        \"\\u1E36\": 'L',\n        \"\\u1E38\": 'L',\n        \"\\u013B\": 'L',\n        \"\\u1E3C\": 'L',\n        \"\\u1E3A\": 'L',\n        \"\\u0141\": 'L',\n        \"\\u023D\": 'L',\n        \"\\u2C62\": 'L',\n        \"\\u2C60\": 'L',\n        \"\\uA748\": 'L',\n        \"\\uA746\": 'L',\n        \"\\uA780\": 'L',\n        \"\\u01C7\": 'LJ',\n        \"\\u01C8\": 'Lj',\n        \"\\u24C2\": 'M',\n        \"\\uFF2D\": 'M',\n        \"\\u1E3E\": 'M',\n        \"\\u1E40\": 'M',\n        \"\\u1E42\": 'M',\n        \"\\u2C6E\": 'M',\n        \"\\u019C\": 'M',\n        \"\\u24C3\": 'N',\n        \"\\uFF2E\": 'N',\n        \"\\u01F8\": 'N',\n        \"\\u0143\": 'N',\n        \"\\xD1\": 'N',\n        \"\\u1E44\": 'N',\n        \"\\u0147\": 'N',\n        \"\\u1E46\": 'N',\n        \"\\u0145\": 'N',\n        \"\\u1E4A\": 'N',\n        \"\\u1E48\": 'N',\n        \"\\u0220\": 'N',\n        \"\\u019D\": 'N',\n        \"\\uA790\": 'N',\n        \"\\uA7A4\": 'N',\n        \"\\u01CA\": 'NJ',\n        \"\\u01CB\": 'Nj',\n        \"\\u24C4\": 'O',\n        \"\\uFF2F\": 'O',\n        \"\\xD2\": 'O',\n        \"\\xD3\": 'O',\n        \"\\xD4\": 'O',\n        \"\\u1ED2\": 'O',\n        \"\\u1ED0\": 'O',\n        \"\\u1ED6\": 'O',\n        \"\\u1ED4\": 'O',\n        \"\\xD5\": 'O',\n        \"\\u1E4C\": 'O',\n        \"\\u022C\": 'O',\n        \"\\u1E4E\": 'O',\n        \"\\u014C\": 'O',\n        \"\\u1E50\": 'O',\n        \"\\u1E52\": 'O',\n        \"\\u014E\": 'O',\n        \"\\u022E\": 'O',\n        \"\\u0230\": 'O',\n        \"\\xD6\": 'O',\n        \"\\u022A\": 'O',\n        \"\\u1ECE\": 'O',\n        \"\\u0150\": 'O',\n        \"\\u01D1\": 'O',\n        \"\\u020C\": 'O',\n        \"\\u020E\": 'O',\n        \"\\u01A0\": 'O',\n        \"\\u1EDC\": 'O',\n        \"\\u1EDA\": 'O',\n        \"\\u1EE0\": 'O',\n        \"\\u1EDE\": 'O',\n        \"\\u1EE2\": 'O',\n        \"\\u1ECC\": 'O',\n        \"\\u1ED8\": 'O',\n        \"\\u01EA\": 'O',\n        \"\\u01EC\": 'O',\n        \"\\xD8\": 'O',\n        \"\\u01FE\": 'O',\n        \"\\u0186\": 'O',\n        \"\\u019F\": 'O',\n        \"\\uA74A\": 'O',\n        \"\\uA74C\": 'O',\n        \"\\u0152\": 'OE',\n        \"\\u01A2\": 'OI',\n        \"\\uA74E\": 'OO',\n        \"\\u0222\": 'OU',\n        \"\\u24C5\": 'P',\n        \"\\uFF30\": 'P',\n        \"\\u1E54\": 'P',\n        \"\\u1E56\": 'P',\n        \"\\u01A4\": 'P',\n        \"\\u2C63\": 'P',\n        \"\\uA750\": 'P',\n        \"\\uA752\": 'P',\n        \"\\uA754\": 'P',\n        \"\\u24C6\": 'Q',\n        \"\\uFF31\": 'Q',\n        \"\\uA756\": 'Q',\n        \"\\uA758\": 'Q',\n        \"\\u024A\": 'Q',\n        \"\\u24C7\": 'R',\n        \"\\uFF32\": 'R',\n        \"\\u0154\": 'R',\n        \"\\u1E58\": 'R',\n        \"\\u0158\": 'R',\n        \"\\u0210\": 'R',\n        \"\\u0212\": 'R',\n        \"\\u1E5A\": 'R',\n        \"\\u1E5C\": 'R',\n        \"\\u0156\": 'R',\n        \"\\u1E5E\": 'R',\n        \"\\u024C\": 'R',\n        \"\\u2C64\": 'R',\n        \"\\uA75A\": 'R',\n        \"\\uA7A6\": 'R',\n        \"\\uA782\": 'R',\n        \"\\u24C8\": 'S',\n        \"\\uFF33\": 'S',\n        \"\\u1E9E\": 'S',\n        \"\\u015A\": 'S',\n        \"\\u1E64\": 'S',\n        \"\\u015C\": 'S',\n        \"\\u1E60\": 'S',\n        \"\\u0160\": 'S',\n        \"\\u1E66\": 'S',\n        \"\\u1E62\": 'S',\n        \"\\u1E68\": 'S',\n        \"\\u0218\": 'S',\n        \"\\u015E\": 'S',\n        \"\\u2C7E\": 'S',\n        \"\\uA7A8\": 'S',\n        \"\\uA784\": 'S',\n        \"\\u24C9\": 'T',\n        \"\\uFF34\": 'T',\n        \"\\u1E6A\": 'T',\n        \"\\u0164\": 'T',\n        \"\\u1E6C\": 'T',\n        \"\\u021A\": 'T',\n        \"\\u0162\": 'T',\n        \"\\u1E70\": 'T',\n        \"\\u1E6E\": 'T',\n        \"\\u0166\": 'T',\n        \"\\u01AC\": 'T',\n        \"\\u01AE\": 'T',\n        \"\\u023E\": 'T',\n        \"\\uA786\": 'T',\n        \"\\uA728\": 'TZ',\n        \"\\u24CA\": 'U',\n        \"\\uFF35\": 'U',\n        \"\\xD9\": 'U',\n        \"\\xDA\": 'U',\n        \"\\xDB\": 'U',\n        \"\\u0168\": 'U',\n        \"\\u1E78\": 'U',\n        \"\\u016A\": 'U',\n        \"\\u1E7A\": 'U',\n        \"\\u016C\": 'U',\n        \"\\xDC\": 'U',\n        \"\\u01DB\": 'U',\n        \"\\u01D7\": 'U',\n        \"\\u01D5\": 'U',\n        \"\\u01D9\": 'U',\n        \"\\u1EE6\": 'U',\n        \"\\u016E\": 'U',\n        \"\\u0170\": 'U',\n        \"\\u01D3\": 'U',\n        \"\\u0214\": 'U',\n        \"\\u0216\": 'U',\n        \"\\u01AF\": 'U',\n        \"\\u1EEA\": 'U',\n        \"\\u1EE8\": 'U',\n        \"\\u1EEE\": 'U',\n        \"\\u1EEC\": 'U',\n        \"\\u1EF0\": 'U',\n        \"\\u1EE4\": 'U',\n        \"\\u1E72\": 'U',\n        \"\\u0172\": 'U',\n        \"\\u1E76\": 'U',\n        \"\\u1E74\": 'U',\n        \"\\u0244\": 'U',\n        \"\\u24CB\": 'V',\n        \"\\uFF36\": 'V',\n        \"\\u1E7C\": 'V',\n        \"\\u1E7E\": 'V',\n        \"\\u01B2\": 'V',\n        \"\\uA75E\": 'V',\n        \"\\u0245\": 'V',\n        \"\\uA760\": 'VY',\n        \"\\u24CC\": 'W',\n        \"\\uFF37\": 'W',\n        \"\\u1E80\": 'W',\n        \"\\u1E82\": 'W',\n        \"\\u0174\": 'W',\n        \"\\u1E86\": 'W',\n        \"\\u1E84\": 'W',\n        \"\\u1E88\": 'W',\n        \"\\u2C72\": 'W',\n        \"\\u24CD\": 'X',\n        \"\\uFF38\": 'X',\n        \"\\u1E8A\": 'X',\n        \"\\u1E8C\": 'X',\n        \"\\u24CE\": 'Y',\n        \"\\uFF39\": 'Y',\n        \"\\u1EF2\": 'Y',\n        \"\\xDD\": 'Y',\n        \"\\u0176\": 'Y',\n        \"\\u1EF8\": 'Y',\n        \"\\u0232\": 'Y',\n        \"\\u1E8E\": 'Y',\n        \"\\u0178\": 'Y',\n        \"\\u1EF6\": 'Y',\n        \"\\u1EF4\": 'Y',\n        \"\\u01B3\": 'Y',\n        \"\\u024E\": 'Y',\n        \"\\u1EFE\": 'Y',\n        \"\\u24CF\": 'Z',\n        \"\\uFF3A\": 'Z',\n        \"\\u0179\": 'Z',\n        \"\\u1E90\": 'Z',\n        \"\\u017B\": 'Z',\n        \"\\u017D\": 'Z',\n        \"\\u1E92\": 'Z',\n        \"\\u1E94\": 'Z',\n        \"\\u01B5\": 'Z',\n        \"\\u0224\": 'Z',\n        \"\\u2C7F\": 'Z',\n        \"\\u2C6B\": 'Z',\n        \"\\uA762\": 'Z',\n        \"\\u24D0\": 'a',\n        \"\\uFF41\": 'a',\n        \"\\u1E9A\": 'a',\n        \"\\xE0\": 'a',\n        \"\\xE1\": 'a',\n        \"\\xE2\": 'a',\n        \"\\u1EA7\": 'a',\n        \"\\u1EA5\": 'a',\n        \"\\u1EAB\": 'a',\n        \"\\u1EA9\": 'a',\n        \"\\xE3\": 'a',\n        \"\\u0101\": 'a',\n        \"\\u0103\": 'a',\n        \"\\u1EB1\": 'a',\n        \"\\u1EAF\": 'a',\n        \"\\u1EB5\": 'a',\n        \"\\u1EB3\": 'a',\n        \"\\u0227\": 'a',\n        \"\\u01E1\": 'a',\n        \"\\xE4\": 'a',\n        \"\\u01DF\": 'a',\n        \"\\u1EA3\": 'a',\n        \"\\xE5\": 'a',\n        \"\\u01FB\": 'a',\n        \"\\u01CE\": 'a',\n        \"\\u0201\": 'a',\n        \"\\u0203\": 'a',\n        \"\\u1EA1\": 'a',\n        \"\\u1EAD\": 'a',\n        \"\\u1EB7\": 'a',\n        \"\\u1E01\": 'a',\n        \"\\u0105\": 'a',\n        \"\\u2C65\": 'a',\n        \"\\u0250\": 'a',\n        \"\\uA733\": 'aa',\n        \"\\xE6\": 'ae',\n        \"\\u01FD\": 'ae',\n        \"\\u01E3\": 'ae',\n        \"\\uA735\": 'ao',\n        \"\\uA737\": 'au',\n        \"\\uA739\": 'av',\n        \"\\uA73B\": 'av',\n        \"\\uA73D\": 'ay',\n        \"\\u24D1\": 'b',\n        \"\\uFF42\": 'b',\n        \"\\u1E03\": 'b',\n        \"\\u1E05\": 'b',\n        \"\\u1E07\": 'b',\n        \"\\u0180\": 'b',\n        \"\\u0183\": 'b',\n        \"\\u0253\": 'b',\n        \"\\u24D2\": 'c',\n        \"\\uFF43\": 'c',\n        \"\\u0107\": 'c',\n        \"\\u0109\": 'c',\n        \"\\u010B\": 'c',\n        \"\\u010D\": 'c',\n        \"\\xE7\": 'c',\n        \"\\u1E09\": 'c',\n        \"\\u0188\": 'c',\n        \"\\u023C\": 'c',\n        \"\\uA73F\": 'c',\n        \"\\u2184\": 'c',\n        \"\\u24D3\": 'd',\n        \"\\uFF44\": 'd',\n        \"\\u1E0B\": 'd',\n        \"\\u010F\": 'd',\n        \"\\u1E0D\": 'd',\n        \"\\u1E11\": 'd',\n        \"\\u1E13\": 'd',\n        \"\\u1E0F\": 'd',\n        \"\\u0111\": 'd',\n        \"\\u018C\": 'd',\n        \"\\u0256\": 'd',\n        \"\\u0257\": 'd',\n        \"\\uA77A\": 'd',\n        \"\\u01F3\": 'dz',\n        \"\\u01C6\": 'dz',\n        \"\\u24D4\": 'e',\n        \"\\uFF45\": 'e',\n        \"\\xE8\": 'e',\n        \"\\xE9\": 'e',\n        \"\\xEA\": 'e',\n        \"\\u1EC1\": 'e',\n        \"\\u1EBF\": 'e',\n        \"\\u1EC5\": 'e',\n        \"\\u1EC3\": 'e',\n        \"\\u1EBD\": 'e',\n        \"\\u0113\": 'e',\n        \"\\u1E15\": 'e',\n        \"\\u1E17\": 'e',\n        \"\\u0115\": 'e',\n        \"\\u0117\": 'e',\n        \"\\xEB\": 'e',\n        \"\\u1EBB\": 'e',\n        \"\\u011B\": 'e',\n        \"\\u0205\": 'e',\n        \"\\u0207\": 'e',\n        \"\\u1EB9\": 'e',\n        \"\\u1EC7\": 'e',\n        \"\\u0229\": 'e',\n        \"\\u1E1D\": 'e',\n        \"\\u0119\": 'e',\n        \"\\u1E19\": 'e',\n        \"\\u1E1B\": 'e',\n        \"\\u0247\": 'e',\n        \"\\u025B\": 'e',\n        \"\\u01DD\": 'e',\n        \"\\u24D5\": 'f',\n        \"\\uFF46\": 'f',\n        \"\\u1E1F\": 'f',\n        \"\\u0192\": 'f',\n        \"\\uA77C\": 'f',\n        \"\\u24D6\": 'g',\n        \"\\uFF47\": 'g',\n        \"\\u01F5\": 'g',\n        \"\\u011D\": 'g',\n        \"\\u1E21\": 'g',\n        \"\\u011F\": 'g',\n        \"\\u0121\": 'g',\n        \"\\u01E7\": 'g',\n        \"\\u0123\": 'g',\n        \"\\u01E5\": 'g',\n        \"\\u0260\": 'g',\n        \"\\uA7A1\": 'g',\n        \"\\u1D79\": 'g',\n        \"\\uA77F\": 'g',\n        \"\\u24D7\": 'h',\n        \"\\uFF48\": 'h',\n        \"\\u0125\": 'h',\n        \"\\u1E23\": 'h',\n        \"\\u1E27\": 'h',\n        \"\\u021F\": 'h',\n        \"\\u1E25\": 'h',\n        \"\\u1E29\": 'h',\n        \"\\u1E2B\": 'h',\n        \"\\u1E96\": 'h',\n        \"\\u0127\": 'h',\n        \"\\u2C68\": 'h',\n        \"\\u2C76\": 'h',\n        \"\\u0265\": 'h',\n        \"\\u0195\": 'hv',\n        \"\\u24D8\": 'i',\n        \"\\uFF49\": 'i',\n        \"\\xEC\": 'i',\n        \"\\xED\": 'i',\n        \"\\xEE\": 'i',\n        \"\\u0129\": 'i',\n        \"\\u012B\": 'i',\n        \"\\u012D\": 'i',\n        \"\\xEF\": 'i',\n        \"\\u1E2F\": 'i',\n        \"\\u1EC9\": 'i',\n        \"\\u01D0\": 'i',\n        \"\\u0209\": 'i',\n        \"\\u020B\": 'i',\n        \"\\u1ECB\": 'i',\n        \"\\u012F\": 'i',\n        \"\\u1E2D\": 'i',\n        \"\\u0268\": 'i',\n        \"\\u0131\": 'i',\n        \"\\u24D9\": 'j',\n        \"\\uFF4A\": 'j',\n        \"\\u0135\": 'j',\n        \"\\u01F0\": 'j',\n        \"\\u0249\": 'j',\n        \"\\u24DA\": 'k',\n        \"\\uFF4B\": 'k',\n        \"\\u1E31\": 'k',\n        \"\\u01E9\": 'k',\n        \"\\u1E33\": 'k',\n        \"\\u0137\": 'k',\n        \"\\u1E35\": 'k',\n        \"\\u0199\": 'k',\n        \"\\u2C6A\": 'k',\n        \"\\uA741\": 'k',\n        \"\\uA743\": 'k',\n        \"\\uA745\": 'k',\n        \"\\uA7A3\": 'k',\n        \"\\u24DB\": 'l',\n        \"\\uFF4C\": 'l',\n        \"\\u0140\": 'l',\n        \"\\u013A\": 'l',\n        \"\\u013E\": 'l',\n        \"\\u1E37\": 'l',\n        \"\\u1E39\": 'l',\n        \"\\u013C\": 'l',\n        \"\\u1E3D\": 'l',\n        \"\\u1E3B\": 'l',\n        \"\\u017F\": 'l',\n        \"\\u0142\": 'l',\n        \"\\u019A\": 'l',\n        \"\\u026B\": 'l',\n        \"\\u2C61\": 'l',\n        \"\\uA749\": 'l',\n        \"\\uA781\": 'l',\n        \"\\uA747\": 'l',\n        \"\\u01C9\": 'lj',\n        \"\\u24DC\": 'm',\n        \"\\uFF4D\": 'm',\n        \"\\u1E3F\": 'm',\n        \"\\u1E41\": 'm',\n        \"\\u1E43\": 'm',\n        \"\\u0271\": 'm',\n        \"\\u026F\": 'm',\n        \"\\u24DD\": 'n',\n        \"\\uFF4E\": 'n',\n        \"\\u01F9\": 'n',\n        \"\\u0144\": 'n',\n        \"\\xF1\": 'n',\n        \"\\u1E45\": 'n',\n        \"\\u0148\": 'n',\n        \"\\u1E47\": 'n',\n        \"\\u0146\": 'n',\n        \"\\u1E4B\": 'n',\n        \"\\u1E49\": 'n',\n        \"\\u019E\": 'n',\n        \"\\u0272\": 'n',\n        \"\\u0149\": 'n',\n        \"\\uA791\": 'n',\n        \"\\uA7A5\": 'n',\n        \"\\u01CC\": 'nj',\n        \"\\u24DE\": 'o',\n        \"\\uFF4F\": 'o',\n        \"\\xF2\": 'o',\n        \"\\xF3\": 'o',\n        \"\\xF4\": 'o',\n        \"\\u1ED3\": 'o',\n        \"\\u1ED1\": 'o',\n        \"\\u1ED7\": 'o',\n        \"\\u1ED5\": 'o',\n        \"\\xF5\": 'o',\n        \"\\u1E4D\": 'o',\n        \"\\u022D\": 'o',\n        \"\\u1E4F\": 'o',\n        \"\\u014D\": 'o',\n        \"\\u1E51\": 'o',\n        \"\\u1E53\": 'o',\n        \"\\u014F\": 'o',\n        \"\\u022F\": 'o',\n        \"\\u0231\": 'o',\n        \"\\xF6\": 'o',\n        \"\\u022B\": 'o',\n        \"\\u1ECF\": 'o',\n        \"\\u0151\": 'o',\n        \"\\u01D2\": 'o',\n        \"\\u020D\": 'o',\n        \"\\u020F\": 'o',\n        \"\\u01A1\": 'o',\n        \"\\u1EDD\": 'o',\n        \"\\u1EDB\": 'o',\n        \"\\u1EE1\": 'o',\n        \"\\u1EDF\": 'o',\n        \"\\u1EE3\": 'o',\n        \"\\u1ECD\": 'o',\n        \"\\u1ED9\": 'o',\n        \"\\u01EB\": 'o',\n        \"\\u01ED\": 'o',\n        \"\\xF8\": 'o',\n        \"\\u01FF\": 'o',\n        \"\\u0254\": 'o',\n        \"\\uA74B\": 'o',\n        \"\\uA74D\": 'o',\n        \"\\u0275\": 'o',\n        \"\\u0153\": 'oe',\n        \"\\u01A3\": 'oi',\n        \"\\u0223\": 'ou',\n        \"\\uA74F\": 'oo',\n        \"\\u24DF\": 'p',\n        \"\\uFF50\": 'p',\n        \"\\u1E55\": 'p',\n        \"\\u1E57\": 'p',\n        \"\\u01A5\": 'p',\n        \"\\u1D7D\": 'p',\n        \"\\uA751\": 'p',\n        \"\\uA753\": 'p',\n        \"\\uA755\": 'p',\n        \"\\u24E0\": 'q',\n        \"\\uFF51\": 'q',\n        \"\\u024B\": 'q',\n        \"\\uA757\": 'q',\n        \"\\uA759\": 'q',\n        \"\\u24E1\": 'r',\n        \"\\uFF52\": 'r',\n        \"\\u0155\": 'r',\n        \"\\u1E59\": 'r',\n        \"\\u0159\": 'r',\n        \"\\u0211\": 'r',\n        \"\\u0213\": 'r',\n        \"\\u1E5B\": 'r',\n        \"\\u1E5D\": 'r',\n        \"\\u0157\": 'r',\n        \"\\u1E5F\": 'r',\n        \"\\u024D\": 'r',\n        \"\\u027D\": 'r',\n        \"\\uA75B\": 'r',\n        \"\\uA7A7\": 'r',\n        \"\\uA783\": 'r',\n        \"\\u24E2\": 's',\n        \"\\uFF53\": 's',\n        \"\\xDF\": 's',\n        \"\\u015B\": 's',\n        \"\\u1E65\": 's',\n        \"\\u015D\": 's',\n        \"\\u1E61\": 's',\n        \"\\u0161\": 's',\n        \"\\u1E67\": 's',\n        \"\\u1E63\": 's',\n        \"\\u1E69\": 's',\n        \"\\u0219\": 's',\n        \"\\u015F\": 's',\n        \"\\u023F\": 's',\n        \"\\uA7A9\": 's',\n        \"\\uA785\": 's',\n        \"\\u1E9B\": 's',\n        \"\\u24E3\": 't',\n        \"\\uFF54\": 't',\n        \"\\u1E6B\": 't',\n        \"\\u1E97\": 't',\n        \"\\u0165\": 't',\n        \"\\u1E6D\": 't',\n        \"\\u021B\": 't',\n        \"\\u0163\": 't',\n        \"\\u1E71\": 't',\n        \"\\u1E6F\": 't',\n        \"\\u0167\": 't',\n        \"\\u01AD\": 't',\n        \"\\u0288\": 't',\n        \"\\u2C66\": 't',\n        \"\\uA787\": 't',\n        \"\\uA729\": 'tz',\n        \"\\u24E4\": 'u',\n        \"\\uFF55\": 'u',\n        \"\\xF9\": 'u',\n        \"\\xFA\": 'u',\n        \"\\xFB\": 'u',\n        \"\\u0169\": 'u',\n        \"\\u1E79\": 'u',\n        \"\\u016B\": 'u',\n        \"\\u1E7B\": 'u',\n        \"\\u016D\": 'u',\n        \"\\xFC\": 'u',\n        \"\\u01DC\": 'u',\n        \"\\u01D8\": 'u',\n        \"\\u01D6\": 'u',\n        \"\\u01DA\": 'u',\n        \"\\u1EE7\": 'u',\n        \"\\u016F\": 'u',\n        \"\\u0171\": 'u',\n        \"\\u01D4\": 'u',\n        \"\\u0215\": 'u',\n        \"\\u0217\": 'u',\n        \"\\u01B0\": 'u',\n        \"\\u1EEB\": 'u',\n        \"\\u1EE9\": 'u',\n        \"\\u1EEF\": 'u',\n        \"\\u1EED\": 'u',\n        \"\\u1EF1\": 'u',\n        \"\\u1EE5\": 'u',\n        \"\\u1E73\": 'u',\n        \"\\u0173\": 'u',\n        \"\\u1E77\": 'u',\n        \"\\u1E75\": 'u',\n        \"\\u0289\": 'u',\n        \"\\u24E5\": 'v',\n        \"\\uFF56\": 'v',\n        \"\\u1E7D\": 'v',\n        \"\\u1E7F\": 'v',\n        \"\\u028B\": 'v',\n        \"\\uA75F\": 'v',\n        \"\\u028C\": 'v',\n        \"\\uA761\": 'vy',\n        \"\\u24E6\": 'w',\n        \"\\uFF57\": 'w',\n        \"\\u1E81\": 'w',\n        \"\\u1E83\": 'w',\n        \"\\u0175\": 'w',\n        \"\\u1E87\": 'w',\n        \"\\u1E85\": 'w',\n        \"\\u1E98\": 'w',\n        \"\\u1E89\": 'w',\n        \"\\u2C73\": 'w',\n        \"\\u24E7\": 'x',\n        \"\\uFF58\": 'x',\n        \"\\u1E8B\": 'x',\n        \"\\u1E8D\": 'x',\n        \"\\u24E8\": 'y',\n        \"\\uFF59\": 'y',\n        \"\\u1EF3\": 'y',\n        \"\\xFD\": 'y',\n        \"\\u0177\": 'y',\n        \"\\u1EF9\": 'y',\n        \"\\u0233\": 'y',\n        \"\\u1E8F\": 'y',\n        \"\\xFF\": 'y',\n        \"\\u1EF7\": 'y',\n        \"\\u1E99\": 'y',\n        \"\\u1EF5\": 'y',\n        \"\\u01B4\": 'y',\n        \"\\u024F\": 'y',\n        \"\\u1EFF\": 'y',\n        \"\\u24E9\": 'z',\n        \"\\uFF5A\": 'z',\n        \"\\u017A\": 'z',\n        \"\\u1E91\": 'z',\n        \"\\u017C\": 'z',\n        \"\\u017E\": 'z',\n        \"\\u1E93\": 'z',\n        \"\\u1E95\": 'z',\n        \"\\u01B6\": 'z',\n        \"\\u0225\": 'z',\n        \"\\u0240\": 'z',\n        \"\\u2C6C\": 'z',\n        \"\\uA763\": 'z',\n        \"\\u0386\": \"\\u0391\",\n        \"\\u0388\": \"\\u0395\",\n        \"\\u0389\": \"\\u0397\",\n        \"\\u038A\": \"\\u0399\",\n        \"\\u03AA\": \"\\u0399\",\n        \"\\u038C\": \"\\u039F\",\n        \"\\u038E\": \"\\u03A5\",\n        \"\\u03AB\": \"\\u03A5\",\n        \"\\u038F\": \"\\u03A9\",\n        \"\\u03AC\": \"\\u03B1\",\n        \"\\u03AD\": \"\\u03B5\",\n        \"\\u03AE\": \"\\u03B7\",\n        \"\\u03AF\": \"\\u03B9\",\n        \"\\u03CA\": \"\\u03B9\",\n        \"\\u0390\": \"\\u03B9\",\n        \"\\u03CC\": \"\\u03BF\",\n        \"\\u03CD\": \"\\u03C5\",\n        \"\\u03CB\": \"\\u03C5\",\n        \"\\u03B0\": \"\\u03C5\",\n        \"\\u03CE\": \"\\u03C9\",\n        \"\\u03C2\": \"\\u03C3\",\n        \"\\u2019\": '\\''\n      };\n      return diacritics;\n    });\n    S2.define('select2/data/base', ['../utils'], function (Utils) {\n      function BaseAdapter($element, options) {\n        BaseAdapter.__super__.constructor.call(this);\n      }\n\n      Utils.Extend(BaseAdapter, Utils.Observable);\n\n      BaseAdapter.prototype.current = function (callback) {\n        throw new Error('The `current` method must be defined in child classes.');\n      };\n\n      BaseAdapter.prototype.query = function (params, callback) {\n        throw new Error('The `query` method must be defined in child classes.');\n      };\n\n      BaseAdapter.prototype.bind = function (container, $container) {// Can be implemented in subclasses\n      };\n\n      BaseAdapter.prototype.destroy = function () {// Can be implemented in subclasses\n      };\n\n      BaseAdapter.prototype.generateResultId = function (container, data) {\n        var id = container.id + '-result-';\n        id += Utils.generateChars(4);\n\n        if (data.id != null) {\n          id += '-' + data.id.toString();\n        } else {\n          id += '-' + Utils.generateChars(4);\n        }\n\n        return id;\n      };\n\n      return BaseAdapter;\n    });\n    S2.define('select2/data/select', ['./base', '../utils', 'jquery'], function (BaseAdapter, Utils, $) {\n      function SelectAdapter($element, options) {\n        this.$element = $element;\n        this.options = options;\n\n        SelectAdapter.__super__.constructor.call(this);\n      }\n\n      Utils.Extend(SelectAdapter, BaseAdapter);\n\n      SelectAdapter.prototype.current = function (callback) {\n        var self = this;\n        var data = Array.prototype.map.call(this.$element[0].querySelectorAll(':checked'), function (selectedElement) {\n          return self.item($(selectedElement));\n        });\n        callback(data);\n      };\n\n      SelectAdapter.prototype.select = function (data) {\n        var self = this;\n        data.selected = true; // If data.element is a DOM node, use it instead\n\n        if (data.element != null && data.element.tagName.toLowerCase() === 'option') {\n          data.element.selected = true;\n          this.$element.trigger('input').trigger('change');\n          return;\n        }\n\n        if (this.$element.prop('multiple')) {\n          this.current(function (currentData) {\n            var val = [];\n            data = [data];\n            data.push.apply(data, currentData);\n\n            for (var d = 0; d < data.length; d++) {\n              var id = data[d].id;\n\n              if (val.indexOf(id) === -1) {\n                val.push(id);\n              }\n            }\n\n            self.$element.val(val);\n            self.$element.trigger('input').trigger('change');\n          });\n        } else {\n          var val = data.id;\n          this.$element.val(val);\n          this.$element.trigger('input').trigger('change');\n        }\n      };\n\n      SelectAdapter.prototype.unselect = function (data) {\n        var self = this;\n\n        if (!this.$element.prop('multiple')) {\n          return;\n        }\n\n        data.selected = false;\n\n        if (data.element != null && data.element.tagName.toLowerCase() === 'option') {\n          data.element.selected = false;\n          this.$element.trigger('input').trigger('change');\n          return;\n        }\n\n        this.current(function (currentData) {\n          var val = [];\n\n          for (var d = 0; d < currentData.length; d++) {\n            var id = currentData[d].id;\n\n            if (id !== data.id && val.indexOf(id) === -1) {\n              val.push(id);\n            }\n          }\n\n          self.$element.val(val);\n          self.$element.trigger('input').trigger('change');\n        });\n      };\n\n      SelectAdapter.prototype.bind = function (container, $container) {\n        var self = this;\n        this.container = container;\n        container.on('select', function (params) {\n          self.select(params.data);\n        });\n        container.on('unselect', function (params) {\n          self.unselect(params.data);\n        });\n      };\n\n      SelectAdapter.prototype.destroy = function () {\n        // Remove anything added to child elements\n        this.$element.find('*').each(function () {\n          // Remove any custom data set by Select2\n          Utils.RemoveData(this);\n        });\n      };\n\n      SelectAdapter.prototype.query = function (params, callback) {\n        var data = [];\n        var self = this;\n        var $options = this.$element.children();\n        $options.each(function () {\n          if (this.tagName.toLowerCase() !== 'option' && this.tagName.toLowerCase() !== 'optgroup') {\n            return;\n          }\n\n          var $option = $(this);\n          var option = self.item($option);\n          var matches = self.matches(params, option);\n\n          if (matches !== null) {\n            data.push(matches);\n          }\n        });\n        callback({\n          results: data\n        });\n      };\n\n      SelectAdapter.prototype.addOptions = function ($options) {\n        this.$element.append($options);\n      };\n\n      SelectAdapter.prototype.option = function (data) {\n        var option;\n\n        if (data.children) {\n          option = document.createElement('optgroup');\n          option.label = data.text;\n        } else {\n          option = document.createElement('option');\n\n          if (option.textContent !== undefined) {\n            option.textContent = data.text;\n          } else {\n            option.innerText = data.text;\n          }\n        }\n\n        if (data.id !== undefined) {\n          option.value = data.id;\n        }\n\n        if (data.disabled) {\n          option.disabled = true;\n        }\n\n        if (data.selected) {\n          option.selected = true;\n        }\n\n        if (data.title) {\n          option.title = data.title;\n        }\n\n        var normalizedData = this._normalizeItem(data);\n\n        normalizedData.element = option; // Override the option's data with the combined data\n\n        Utils.StoreData(option, 'data', normalizedData);\n        return $(option);\n      };\n\n      SelectAdapter.prototype.item = function ($option) {\n        var data = {};\n        data = Utils.GetData($option[0], 'data');\n\n        if (data != null) {\n          return data;\n        }\n\n        var option = $option[0];\n\n        if (option.tagName.toLowerCase() === 'option') {\n          data = {\n            id: $option.val(),\n            text: $option.text(),\n            disabled: $option.prop('disabled'),\n            selected: $option.prop('selected'),\n            title: $option.prop('title')\n          };\n        } else if (option.tagName.toLowerCase() === 'optgroup') {\n          data = {\n            text: $option.prop('label'),\n            children: [],\n            title: $option.prop('title')\n          };\n          var $children = $option.children('option');\n          var children = [];\n\n          for (var c = 0; c < $children.length; c++) {\n            var $child = $($children[c]);\n            var child = this.item($child);\n            children.push(child);\n          }\n\n          data.children = children;\n        }\n\n        data = this._normalizeItem(data);\n        data.element = $option[0];\n        Utils.StoreData($option[0], 'data', data);\n        return data;\n      };\n\n      SelectAdapter.prototype._normalizeItem = function (item) {\n        if (item !== Object(item)) {\n          item = {\n            id: item,\n            text: item\n          };\n        }\n\n        item = $.extend({}, {\n          text: ''\n        }, item);\n        var defaults = {\n          selected: false,\n          disabled: false\n        };\n\n        if (item.id != null) {\n          item.id = item.id.toString();\n        }\n\n        if (item.text != null) {\n          item.text = item.text.toString();\n        }\n\n        if (item._resultId == null && item.id && this.container != null) {\n          item._resultId = this.generateResultId(this.container, item);\n        }\n\n        return $.extend({}, defaults, item);\n      };\n\n      SelectAdapter.prototype.matches = function (params, data) {\n        var matcher = this.options.get('matcher');\n        return matcher(params, data);\n      };\n\n      return SelectAdapter;\n    });\n    S2.define('select2/data/array', ['./select', '../utils', 'jquery'], function (SelectAdapter, Utils, $) {\n      function ArrayAdapter($element, options) {\n        this._dataToConvert = options.get('data') || [];\n\n        ArrayAdapter.__super__.constructor.call(this, $element, options);\n      }\n\n      Utils.Extend(ArrayAdapter, SelectAdapter);\n\n      ArrayAdapter.prototype.bind = function (container, $container) {\n        ArrayAdapter.__super__.bind.call(this, container, $container);\n\n        this.addOptions(this.convertToOptions(this._dataToConvert));\n      };\n\n      ArrayAdapter.prototype.select = function (data) {\n        var $option = this.$element.find('option').filter(function (i, elm) {\n          return elm.value == data.id.toString();\n        });\n\n        if ($option.length === 0) {\n          $option = this.option(data);\n          this.addOptions($option);\n        }\n\n        ArrayAdapter.__super__.select.call(this, data);\n      };\n\n      ArrayAdapter.prototype.convertToOptions = function (data) {\n        var self = this;\n        var $existing = this.$element.find('option');\n        var existingIds = $existing.map(function () {\n          return self.item($(this)).id;\n        }).get();\n        var $options = []; // Filter out all items except for the one passed in the argument\n\n        function onlyItem(item) {\n          return function () {\n            return $(this).val() == item.id;\n          };\n        }\n\n        for (var d = 0; d < data.length; d++) {\n          var item = this._normalizeItem(data[d]); // Skip items which were pre-loaded, only merge the data\n\n\n          if (existingIds.indexOf(item.id) >= 0) {\n            var $existingOption = $existing.filter(onlyItem(item));\n            var existingData = this.item($existingOption);\n            var newData = $.extend(true, {}, item, existingData);\n            var $newOption = this.option(newData);\n            $existingOption.replaceWith($newOption);\n            continue;\n          }\n\n          var $option = this.option(item);\n\n          if (item.children) {\n            var $children = this.convertToOptions(item.children);\n            $option.append($children);\n          }\n\n          $options.push($option);\n        }\n\n        return $options;\n      };\n\n      return ArrayAdapter;\n    });\n    S2.define('select2/data/ajax', ['./array', '../utils', 'jquery'], function (ArrayAdapter, Utils, $) {\n      function AjaxAdapter($element, options) {\n        this.ajaxOptions = this._applyDefaults(options.get('ajax'));\n\n        if (this.ajaxOptions.processResults != null) {\n          this.processResults = this.ajaxOptions.processResults;\n        }\n\n        AjaxAdapter.__super__.constructor.call(this, $element, options);\n      }\n\n      Utils.Extend(AjaxAdapter, ArrayAdapter);\n\n      AjaxAdapter.prototype._applyDefaults = function (options) {\n        var defaults = {\n          data: function data(params) {\n            return $.extend({}, params, {\n              q: params.term\n            });\n          },\n          transport: function transport(params, success, failure) {\n            var $request = $.ajax(params);\n            $request.then(success);\n            $request.fail(failure);\n            return $request;\n          }\n        };\n        return $.extend({}, defaults, options, true);\n      };\n\n      AjaxAdapter.prototype.processResults = function (results) {\n        return results;\n      };\n\n      AjaxAdapter.prototype.query = function (params, callback) {\n        var matches = [];\n        var self = this;\n\n        if (this._request != null) {\n          // JSONP requests cannot always be aborted\n          if (typeof this._request.abort === 'function') {\n            this._request.abort();\n          }\n\n          this._request = null;\n        }\n\n        var options = $.extend({\n          type: 'GET'\n        }, this.ajaxOptions);\n\n        if (typeof options.url === 'function') {\n          options.url = options.url.call(this.$element, params);\n        }\n\n        if (typeof options.data === 'function') {\n          options.data = options.data.call(this.$element, params);\n        }\n\n        function request() {\n          var $request = options.transport(options, function (data) {\n            var results = self.processResults(data, params);\n\n            if (self.options.get('debug') && window.console && console.error) {\n              // Check to make sure that the response included a `results` key.\n              if (!results || !results.results || !Array.isArray(results.results)) {\n                console.error('Select2: The AJAX results did not return an array in the ' + '`results` key of the response.');\n              }\n            }\n\n            callback(results);\n          }, function () {\n            // Attempt to detect if a request was aborted\n            // Only works if the transport exposes a status property\n            if ('status' in $request && ($request.status === 0 || $request.status === '0')) {\n              return;\n            }\n\n            self.trigger('results:message', {\n              message: 'errorLoading'\n            });\n          });\n          self._request = $request;\n        }\n\n        if (this.ajaxOptions.delay && params.term != null) {\n          if (this._queryTimeout) {\n            window.clearTimeout(this._queryTimeout);\n          }\n\n          this._queryTimeout = window.setTimeout(request, this.ajaxOptions.delay);\n        } else {\n          request();\n        }\n      };\n\n      return AjaxAdapter;\n    });\n    S2.define('select2/data/tags', ['jquery'], function ($) {\n      function Tags(decorated, $element, options) {\n        var tags = options.get('tags');\n        var createTag = options.get('createTag');\n\n        if (createTag !== undefined) {\n          this.createTag = createTag;\n        }\n\n        var insertTag = options.get('insertTag');\n\n        if (insertTag !== undefined) {\n          this.insertTag = insertTag;\n        }\n\n        decorated.call(this, $element, options);\n\n        if (Array.isArray(tags)) {\n          for (var t = 0; t < tags.length; t++) {\n            var tag = tags[t];\n\n            var item = this._normalizeItem(tag);\n\n            var $option = this.option(item);\n            this.$element.append($option);\n          }\n        }\n      }\n\n      Tags.prototype.query = function (decorated, params, callback) {\n        var self = this;\n\n        this._removeOldTags();\n\n        if (params.term == null || params.page != null) {\n          decorated.call(this, params, callback);\n          return;\n        }\n\n        function wrapper(obj, child) {\n          var data = obj.results;\n\n          for (var i = 0; i < data.length; i++) {\n            var option = data[i];\n            var checkChildren = option.children != null && !wrapper({\n              results: option.children\n            }, true);\n            var optionText = (option.text || '').toUpperCase();\n            var paramsTerm = (params.term || '').toUpperCase();\n            var checkText = optionText === paramsTerm;\n\n            if (checkText || checkChildren) {\n              if (child) {\n                return false;\n              }\n\n              obj.data = data;\n              callback(obj);\n              return;\n            }\n          }\n\n          if (child) {\n            return true;\n          }\n\n          var tag = self.createTag(params);\n\n          if (tag != null) {\n            var $option = self.option(tag);\n            $option.attr('data-select2-tag', 'true');\n            self.addOptions([$option]);\n            self.insertTag(data, tag);\n          }\n\n          obj.results = data;\n          callback(obj);\n        }\n\n        decorated.call(this, params, wrapper);\n      };\n\n      Tags.prototype.createTag = function (decorated, params) {\n        if (params.term == null) {\n          return null;\n        }\n\n        var term = params.term.trim();\n\n        if (term === '') {\n          return null;\n        }\n\n        return {\n          id: term,\n          text: term\n        };\n      };\n\n      Tags.prototype.insertTag = function (_, data, tag) {\n        data.unshift(tag);\n      };\n\n      Tags.prototype._removeOldTags = function (_) {\n        var $options = this.$element.find('option[data-select2-tag]');\n        $options.each(function () {\n          if (this.selected) {\n            return;\n          }\n\n          $(this).remove();\n        });\n      };\n\n      return Tags;\n    });\n    S2.define('select2/data/tokenizer', ['jquery'], function ($) {\n      function Tokenizer(decorated, $element, options) {\n        var tokenizer = options.get('tokenizer');\n\n        if (tokenizer !== undefined) {\n          this.tokenizer = tokenizer;\n        }\n\n        decorated.call(this, $element, options);\n      }\n\n      Tokenizer.prototype.bind = function (decorated, container, $container) {\n        decorated.call(this, container, $container);\n        this.$search = container.dropdown.$search || container.selection.$search || $container.find('.select2-search__field');\n      };\n\n      Tokenizer.prototype.query = function (decorated, params, callback) {\n        var self = this;\n\n        function createAndSelect(data) {\n          // Normalize the data object so we can use it for checks\n          var item = self._normalizeItem(data); // Check if the data object already exists as a tag\n          // Select it if it doesn't\n\n\n          var $existingOptions = self.$element.find('option').filter(function () {\n            return $(this).val() === item.id;\n          }); // If an existing option wasn't found for it, create the option\n\n          if (!$existingOptions.length) {\n            var $option = self.option(item);\n            $option.attr('data-select2-tag', true);\n\n            self._removeOldTags();\n\n            self.addOptions([$option]);\n          } // Select the item, now that we know there is an option for it\n\n\n          select(item);\n        }\n\n        function select(data) {\n          self.trigger('select', {\n            data: data\n          });\n        }\n\n        params.term = params.term || '';\n        var tokenData = this.tokenizer(params, this.options, createAndSelect);\n\n        if (tokenData.term !== params.term) {\n          // Replace the search term if we have the search box\n          if (this.$search.length) {\n            this.$search.val(tokenData.term);\n            this.$search.trigger('focus');\n          }\n\n          params.term = tokenData.term;\n        }\n\n        decorated.call(this, params, callback);\n      };\n\n      Tokenizer.prototype.tokenizer = function (_, params, options, callback) {\n        var separators = options.get('tokenSeparators') || [];\n        var term = params.term;\n        var i = 0;\n\n        var createTag = this.createTag || function (params) {\n          return {\n            id: params.term,\n            text: params.term\n          };\n        };\n\n        while (i < term.length) {\n          var termChar = term[i];\n\n          if (separators.indexOf(termChar) === -1) {\n            i++;\n            continue;\n          }\n\n          var part = term.substr(0, i);\n          var partParams = $.extend({}, params, {\n            term: part\n          });\n          var data = createTag(partParams);\n\n          if (data == null) {\n            i++;\n            continue;\n          }\n\n          callback(data); // Reset the term to not include the tokenized portion\n\n          term = term.substr(i + 1) || '';\n          i = 0;\n        }\n\n        return {\n          term: term\n        };\n      };\n\n      return Tokenizer;\n    });\n    S2.define('select2/data/minimumInputLength', [], function () {\n      function MinimumInputLength(decorated, $e, options) {\n        this.minimumInputLength = options.get('minimumInputLength');\n        decorated.call(this, $e, options);\n      }\n\n      MinimumInputLength.prototype.query = function (decorated, params, callback) {\n        params.term = params.term || '';\n\n        if (params.term.length < this.minimumInputLength) {\n          this.trigger('results:message', {\n            message: 'inputTooShort',\n            args: {\n              minimum: this.minimumInputLength,\n              input: params.term,\n              params: params\n            }\n          });\n          return;\n        }\n\n        decorated.call(this, params, callback);\n      };\n\n      return MinimumInputLength;\n    });\n    S2.define('select2/data/maximumInputLength', [], function () {\n      function MaximumInputLength(decorated, $e, options) {\n        this.maximumInputLength = options.get('maximumInputLength');\n        decorated.call(this, $e, options);\n      }\n\n      MaximumInputLength.prototype.query = function (decorated, params, callback) {\n        params.term = params.term || '';\n\n        if (this.maximumInputLength > 0 && params.term.length > this.maximumInputLength) {\n          this.trigger('results:message', {\n            message: 'inputTooLong',\n            args: {\n              maximum: this.maximumInputLength,\n              input: params.term,\n              params: params\n            }\n          });\n          return;\n        }\n\n        decorated.call(this, params, callback);\n      };\n\n      return MaximumInputLength;\n    });\n    S2.define('select2/data/maximumSelectionLength', [], function () {\n      function MaximumSelectionLength(decorated, $e, options) {\n        this.maximumSelectionLength = options.get('maximumSelectionLength');\n        decorated.call(this, $e, options);\n      }\n\n      MaximumSelectionLength.prototype.bind = function (decorated, container, $container) {\n        var self = this;\n        decorated.call(this, container, $container);\n        container.on('select', function () {\n          self._checkIfMaximumSelected();\n        });\n      };\n\n      MaximumSelectionLength.prototype.query = function (decorated, params, callback) {\n        var self = this;\n\n        this._checkIfMaximumSelected(function () {\n          decorated.call(self, params, callback);\n        });\n      };\n\n      MaximumSelectionLength.prototype._checkIfMaximumSelected = function (_, successCallback) {\n        var self = this;\n        this.current(function (currentData) {\n          var count = currentData != null ? currentData.length : 0;\n\n          if (self.maximumSelectionLength > 0 && count >= self.maximumSelectionLength) {\n            self.trigger('results:message', {\n              message: 'maximumSelected',\n              args: {\n                maximum: self.maximumSelectionLength\n              }\n            });\n            return;\n          }\n\n          if (successCallback) {\n            successCallback();\n          }\n        });\n      };\n\n      return MaximumSelectionLength;\n    });\n    S2.define('select2/dropdown', ['jquery', './utils'], function ($, Utils) {\n      function Dropdown($element, options) {\n        this.$element = $element;\n        this.options = options;\n\n        Dropdown.__super__.constructor.call(this);\n      }\n\n      Utils.Extend(Dropdown, Utils.Observable);\n\n      Dropdown.prototype.render = function () {\n        // Change dropdown classname and markup. @edited\n        var $dropdown = $('<span class=\"sui-select-dropdown\">' + '<span class=\"select2-results\"></span>' + '</span>');\n        $dropdown.attr('dir', this.options.get('dir'));\n        this.$dropdown = $dropdown;\n        return $dropdown;\n      };\n\n      Dropdown.prototype.bind = function () {// Should be implemented in subclasses\n      };\n\n      Dropdown.prototype.position = function ($dropdown, $container) {// Should be implemented in subclasses\n      };\n\n      Dropdown.prototype.destroy = function () {\n        // Remove the dropdown from the DOM\n        this.$dropdown.remove();\n      };\n\n      return Dropdown;\n    });\n    S2.define('select2/dropdown/search', ['jquery'], function ($) {\n      function Search() {}\n\n      Search.prototype.render = function (decorated) {\n        var $rendered = decorated.call(this);\n        var searchLabel = this.options.get('translations').get('search');\n        var $search = $('<span class=\"select2-search select2-search--dropdown\">' + '<input class=\"select2-search__field\" type=\"search\" tabindex=\"-1\"' + ' autocorrect=\"off\" autocapitalize=\"none\"' + ' spellcheck=\"false\" role=\"searchbox\" aria-autocomplete=\"list\" />' + '</span>');\n        this.$searchContainer = $search;\n        this.$search = $search.find('input');\n        this.$search.prop('autocomplete', this.options.get('autocomplete'));\n        this.$search.attr('aria-label', searchLabel());\n        $rendered.prepend($search);\n        return $rendered;\n      };\n\n      Search.prototype.bind = function (decorated, container, $container) {\n        var self = this;\n        var resultsId = container.id + '-results';\n        decorated.call(this, container, $container);\n        this.$search.on('keydown', function (evt) {\n          self.trigger('keypress', evt);\n          self._keyUpPrevented = evt.isDefaultPrevented();\n        }); // Workaround for browsers which do not support the `input` event\n        // This will prevent double-triggering of events for browsers which support\n        // both the `keyup` and `input` events.\n\n        this.$search.on('input', function (evt) {\n          // Unbind the duplicated `keyup` event\n          $(this).off('keyup');\n        });\n        this.$search.on('keyup input', function (evt) {\n          self.handleSearch(evt);\n        });\n        container.on('open', function () {\n          self.$search.attr('tabindex', 0);\n          self.$search.attr('aria-controls', resultsId);\n          self.$search.trigger('focus');\n          window.setTimeout(function () {\n            self.$search.trigger('focus');\n          }, 0);\n        });\n        container.on('close', function () {\n          self.$search.attr('tabindex', -1);\n          self.$search.removeAttr('aria-controls');\n          self.$search.removeAttr('aria-activedescendant');\n          self.$search.val('');\n          self.$search.trigger('blur');\n        });\n        container.on('focus', function () {\n          if (!container.isOpen()) {\n            self.$search.trigger('focus');\n          }\n        });\n        container.on('results:all', function (params) {\n          if (params.query.term == null || params.query.term === '') {\n            var showSearch = self.showSearch(params);\n\n            if (showSearch) {\n              self.$searchContainer[0].classList.remove('select2-search--hide');\n            } else {\n              self.$searchContainer[0].classList.add('select2-search--hide');\n            }\n          }\n        });\n        container.on('results:focus', function (params) {\n          if (params.data._resultId) {\n            self.$search.attr('aria-activedescendant', params.data._resultId);\n          } else {\n            self.$search.removeAttr('aria-activedescendant');\n          }\n        });\n      };\n\n      Search.prototype.handleSearch = function (evt) {\n        if (!this._keyUpPrevented) {\n          var input = this.$search.val();\n          this.trigger('query', {\n            term: input\n          });\n        }\n\n        this._keyUpPrevented = false;\n      };\n\n      Search.prototype.showSearch = function (_, params) {\n        return true;\n      };\n\n      return Search;\n    });\n    S2.define('select2/dropdown/hidePlaceholder', [], function () {\n      function HidePlaceholder(decorated, $element, options, dataAdapter) {\n        this.placeholder = this.normalizePlaceholder(options.get('placeholder'));\n        decorated.call(this, $element, options, dataAdapter);\n      }\n\n      HidePlaceholder.prototype.append = function (decorated, data) {\n        data.results = this.removePlaceholder(data.results);\n        decorated.call(this, data);\n      };\n\n      HidePlaceholder.prototype.normalizePlaceholder = function (_, placeholder) {\n        if (typeof placeholder === 'string') {\n          placeholder = {\n            id: '',\n            text: placeholder\n          };\n        }\n\n        return placeholder;\n      };\n\n      HidePlaceholder.prototype.removePlaceholder = function (_, data) {\n        var modifiedData = data.slice(0);\n\n        for (var d = data.length - 1; d >= 0; d--) {\n          var item = data[d];\n\n          if (this.placeholder.id === item.id) {\n            modifiedData.splice(d, 1);\n          }\n        }\n\n        return modifiedData;\n      };\n\n      return HidePlaceholder;\n    });\n    S2.define('select2/dropdown/infiniteScroll', ['jquery'], function ($) {\n      function InfiniteScroll(decorated, $element, options, dataAdapter) {\n        this.lastParams = {};\n        decorated.call(this, $element, options, dataAdapter);\n        this.$loadingMore = this.createLoadingMore();\n        this.loading = false;\n      }\n\n      InfiniteScroll.prototype.append = function (decorated, data) {\n        this.$loadingMore.remove();\n        this.loading = false;\n        decorated.call(this, data);\n\n        if (this.showLoadingMore(data)) {\n          this.$results.append(this.$loadingMore);\n          this.loadMoreIfNeeded();\n        }\n      };\n\n      InfiniteScroll.prototype.bind = function (decorated, container, $container) {\n        var self = this;\n        decorated.call(this, container, $container);\n        container.on('query', function (params) {\n          self.lastParams = params;\n          self.loading = true;\n        });\n        container.on('query:append', function (params) {\n          self.lastParams = params;\n          self.loading = true;\n        });\n        this.$results.on('scroll', this.loadMoreIfNeeded.bind(this));\n      };\n\n      InfiniteScroll.prototype.loadMoreIfNeeded = function () {\n        var isLoadMoreVisible = $.contains(document.documentElement, this.$loadingMore[0]);\n\n        if (this.loading || !isLoadMoreVisible) {\n          return;\n        }\n\n        var currentOffset = this.$results.offset().top + this.$results.outerHeight(false);\n        var loadingMoreOffset = this.$loadingMore.offset().top + this.$loadingMore.outerHeight(false);\n\n        if (currentOffset + 50 >= loadingMoreOffset) {\n          this.loadMore();\n        }\n      };\n\n      InfiniteScroll.prototype.loadMore = function () {\n        this.loading = true;\n        var params = $.extend({}, {\n          page: 1\n        }, this.lastParams);\n        params.page++;\n        this.trigger('query:append', params);\n      };\n\n      InfiniteScroll.prototype.showLoadingMore = function (_, data) {\n        return data.pagination && data.pagination.more;\n      };\n\n      InfiniteScroll.prototype.createLoadingMore = function () {\n        var $option = $('<li ' + 'class=\"select2-results__option select2-results__option--load-more\"' + 'role=\"option\" aria-disabled=\"true\"></li>');\n        var message = this.options.get('translations').get('loadingMore');\n        $option.html(message(this.lastParams));\n        return $option;\n      };\n\n      return InfiniteScroll;\n    });\n    S2.define('select2/dropdown/attachBody', ['jquery', '../utils'], function ($, Utils) {\n      function AttachBody(decorated, $element, options) {\n        this.$dropdownParent = $(options.get('dropdownParent') || document.body);\n        decorated.call(this, $element, options);\n      }\n\n      AttachBody.prototype.bind = function (decorated, container, $container) {\n        var self = this;\n        decorated.call(this, container, $container);\n        container.on('open', function () {\n          self._showDropdown();\n\n          self._attachPositioningHandler(container); // Must bind after the results handlers to ensure correct sizing\n\n\n          self._bindContainerResultHandlers(container);\n        });\n        container.on('close', function () {\n          self._hideDropdown();\n\n          self._detachPositioningHandler(container);\n        });\n        this.$dropdownContainer.on('mousedown', function (evt) {\n          evt.stopPropagation();\n        });\n      };\n\n      AttachBody.prototype.destroy = function (decorated) {\n        decorated.call(this);\n        this.$dropdownContainer.remove();\n      };\n\n      AttachBody.prototype.position = function (decorated, $dropdown, $container) {\n        // Clone all of the container classes\n        $dropdown.attr('class', $container.attr('class')); // Custom SUIselect dropdown. @edited\n\n        $dropdown.removeClass('select2');\n        $dropdown.addClass('sui-select-dropdown-container--open');\n        $dropdown[0].classList.remove('select2');\n        $dropdown[0].classList.add('select2-container--open');\n        $dropdown.css({\n          position: 'absolute',\n          top: -999999\n        });\n        this.$container = $container;\n      };\n\n      AttachBody.prototype.render = function (decorated) {\n        var $container = $('<span></span>');\n        var $dropdown = decorated.call(this);\n        $container.append($dropdown);\n        this.$dropdownContainer = $container;\n        return $container;\n      };\n\n      AttachBody.prototype._hideDropdown = function (decorated) {\n        this.$dropdownContainer.detach();\n      };\n\n      AttachBody.prototype._bindContainerResultHandlers = function (decorated, container) {\n        // These should only be bound once\n        if (this._containerResultsHandlersBound) {\n          return;\n        }\n\n        var self = this;\n        container.on('results:all', function () {\n          self._positionDropdown();\n\n          self._resizeDropdown();\n        });\n        container.on('results:append', function () {\n          self._positionDropdown();\n\n          self._resizeDropdown();\n        });\n        container.on('results:message', function () {\n          self._positionDropdown();\n\n          self._resizeDropdown();\n        });\n        container.on('select', function () {\n          self._positionDropdown();\n\n          self._resizeDropdown();\n        });\n        container.on('unselect', function () {\n          self._positionDropdown();\n\n          self._resizeDropdown();\n        });\n        this._containerResultsHandlersBound = true;\n      };\n\n      AttachBody.prototype._attachPositioningHandler = function (decorated, container) {\n        var self = this;\n        var scrollEvent = 'scroll.select2.' + container.id;\n        var resizeEvent = 'resize.select2.' + container.id;\n        var orientationEvent = 'orientationchange.select2.' + container.id;\n        var $watchers = this.$container.parents().filter(Utils.hasScroll);\n        $watchers.each(function () {\n          Utils.StoreData(this, 'select2-scroll-position', {\n            x: $(this).scrollLeft(),\n            y: $(this).scrollTop()\n          });\n        });\n        $watchers.on(scrollEvent, function (ev) {\n          var position = Utils.GetData(this, 'select2-scroll-position');\n          $(this).scrollTop(position.y);\n        });\n        $(window).on(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent, function (e) {\n          self._positionDropdown();\n\n          self._resizeDropdown();\n        });\n      };\n\n      AttachBody.prototype._detachPositioningHandler = function (decorated, container) {\n        var scrollEvent = 'scroll.select2.' + container.id;\n        var resizeEvent = 'resize.select2.' + container.id;\n        var orientationEvent = 'orientationchange.select2.' + container.id;\n        var $watchers = this.$container.parents().filter(Utils.hasScroll);\n        $watchers.off(scrollEvent);\n        $(window).off(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent);\n      };\n\n      AttachBody.prototype._positionDropdown = function () {\n        var $window = $(window); // Custom SUIselect dropdown. @edited\n\n        var isCurrentlyAbove = this.$dropdown[0].classList.contains('sui-select-dropdown--above');\n        var isCurrentlyBelow = this.$dropdown[0].classList.contains('sui-select-dropdown--below');\n        var newDirection = null;\n        var offset = this.$container.offset();\n        offset.bottom = offset.top + this.$container.outerHeight(false);\n        var container = {\n          height: this.$container.outerHeight(false)\n        };\n        container.top = offset.top;\n        container.bottom = offset.top + container.height;\n        var dropdown = {\n          height: this.$dropdown.outerHeight(false)\n        };\n        var viewport = {\n          top: $window.scrollTop(),\n          bottom: $window.scrollTop() + $window.height()\n        };\n        var enoughRoomAbove = viewport.top < offset.top - dropdown.height;\n        var enoughRoomBelow = viewport.bottom > offset.bottom + dropdown.height;\n        var css = {\n          left: offset.left,\n          top: container.bottom\n        }; // Determine what the parent element is to use for calculating the offset\n\n        var $offsetParent = this.$dropdownParent; // For statically positioned elements, we need to get the element\n        // that is determining the offset\n\n        if ($offsetParent.css('position') === 'static') {\n          $offsetParent = $offsetParent.offsetParent();\n        }\n\n        var parentOffset = {\n          top: 0,\n          left: 0\n        };\n\n        if ($.contains(document.body, $offsetParent[0]) || $offsetParent[0].isConnected) {\n          parentOffset = $offsetParent.offset();\n        }\n\n        css.top -= parentOffset.top;\n        css.left -= parentOffset.left;\n\n        if (!isCurrentlyAbove && !isCurrentlyBelow) {\n          newDirection = 'below';\n        }\n\n        if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove) {\n          newDirection = 'above';\n        } else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) {\n          newDirection = 'below';\n        }\n\n        if (newDirection == 'above' || isCurrentlyAbove && newDirection !== 'below') {\n          css.top = container.top - parentOffset.top - dropdown.height;\n        } // Custom SUIselect dropdown. @edited\n\n\n        if (newDirection != null) {\n          this.$dropdown[0].classList.remove('sui-select-dropdown--below');\n          this.$dropdown[0].classList.remove('sui-select-dropdown--above');\n          this.$dropdown[0].classList.add('sui-select-dropdown--' + newDirection);\n          this.$container[0].classList.remove('sui-select-container--below');\n          this.$container[0].classList.remove('sui-select-container--above');\n          this.$container[0].classList.add('sui-select-dropdown-container--' + newDirection);\n        }\n\n        this.$dropdownContainer.css(css);\n      };\n\n      AttachBody.prototype._resizeDropdown = function () {\n        var css = {\n          width: this.$container.outerWidth(false) + 'px'\n        };\n\n        if (this.options.get('dropdownAutoWidth')) {\n          css.minWidth = css.width;\n          css.position = 'relative';\n          css.width = 'auto';\n        }\n\n        this.$dropdown.css(css);\n      };\n\n      AttachBody.prototype._showDropdown = function (decorated) {\n        this.$dropdownContainer.appendTo(this.$dropdownParent);\n\n        this._positionDropdown();\n\n        this._resizeDropdown();\n      };\n\n      return AttachBody;\n    });\n    S2.define('select2/dropdown/minimumResultsForSearch', [], function () {\n      function countResults(data) {\n        var count = 0;\n\n        for (var d = 0; d < data.length; d++) {\n          var item = data[d];\n\n          if (item.children) {\n            count += countResults(item.children);\n          } else {\n            count++;\n          }\n        }\n\n        return count;\n      }\n\n      function MinimumResultsForSearch(decorated, $element, options, dataAdapter) {\n        this.minimumResultsForSearch = options.get('minimumResultsForSearch');\n\n        if (this.minimumResultsForSearch < 0) {\n          this.minimumResultsForSearch = Infinity;\n        }\n\n        decorated.call(this, $element, options, dataAdapter);\n      }\n\n      MinimumResultsForSearch.prototype.showSearch = function (decorated, params) {\n        if (countResults(params.data.results) < this.minimumResultsForSearch) {\n          return false;\n        }\n\n        return decorated.call(this, params);\n      };\n\n      return MinimumResultsForSearch;\n    });\n    S2.define('select2/dropdown/selectOnClose', ['../utils'], function (Utils) {\n      function SelectOnClose() {}\n\n      SelectOnClose.prototype.bind = function (decorated, container, $container) {\n        var self = this;\n        decorated.call(this, container, $container);\n        container.on('close', function (params) {\n          self._handleSelectOnClose(params);\n        });\n      };\n\n      SelectOnClose.prototype._handleSelectOnClose = function (_, params) {\n        if (params && params.originalSelect2Event != null) {\n          var event = params.originalSelect2Event; // Don't select an item if the close event was triggered from a select or\n          // unselect event\n\n          if (event._type === 'select' || event._type === 'unselect') {\n            return;\n          }\n        }\n\n        var $highlightedResults = this.getHighlightedResults(); // Only select highlighted results\n\n        if ($highlightedResults.length < 1) {\n          return;\n        }\n\n        var data = Utils.GetData($highlightedResults[0], 'data'); // Don't re-select already selected resulte\n\n        if (data.element != null && data.element.selected || data.element == null && data.selected) {\n          return;\n        }\n\n        this.trigger('select', {\n          data: data\n        });\n      };\n\n      return SelectOnClose;\n    });\n    S2.define('select2/dropdown/closeOnSelect', [], function () {\n      function CloseOnSelect() {}\n\n      CloseOnSelect.prototype.bind = function (decorated, container, $container) {\n        var self = this;\n        decorated.call(this, container, $container);\n        container.on('select', function (evt) {\n          self._selectTriggered(evt);\n        });\n        container.on('unselect', function (evt) {\n          self._selectTriggered(evt);\n        });\n      };\n\n      CloseOnSelect.prototype._selectTriggered = function (_, evt) {\n        var originalEvent = evt.originalEvent; // Don't close if the control key is being held\n\n        if (originalEvent && (originalEvent.ctrlKey || originalEvent.metaKey)) {\n          return;\n        }\n\n        this.trigger('close', {\n          originalEvent: originalEvent,\n          originalSelect2Event: evt\n        });\n      };\n\n      return CloseOnSelect;\n    });\n    S2.define('select2/dropdown/dropdownCss', ['../utils'], function (Utils) {\n      function DropdownCSS() {}\n\n      DropdownCSS.prototype.render = function (decorated) {\n        var $dropdown = decorated.call(this);\n        var dropdownCssClass = this.options.get('dropdownCssClass') || '';\n\n        if (dropdownCssClass.indexOf(':all:') !== -1) {\n          dropdownCssClass = dropdownCssClass.replace(':all:', '');\n          Utils.copyNonInternalCssClasses($dropdown[0], this.$element[0]);\n        }\n\n        $dropdown.addClass('sui-select-dropdown'); // FIX: Make sure \"sui-select-dropdown\" main class does not get erased. @edited\n\n        $dropdown.addClass(dropdownCssClass);\n        return $dropdown;\n      };\n\n      return DropdownCSS;\n    });\n    S2.define('select2/dropdown/tagsSearchHighlight', ['../utils'], function (Utils) {\n      function TagsSearchHighlight() {}\n\n      TagsSearchHighlight.prototype.highlightFirstItem = function (decorated) {\n        var $options = this.$results.find('.select2-results__option--selectable' + ':not(.select2-results__option--selected)');\n\n        if ($options.length > 0) {\n          var $firstOption = $options.first();\n          var data = Utils.GetData($firstOption[0], 'data');\n          var firstElement = data.element;\n\n          if (firstElement && firstElement.getAttribute) {\n            if (firstElement.getAttribute('data-select2-tag') === 'true') {\n              $firstOption.trigger('mouseenter');\n              return;\n            }\n          }\n        }\n\n        decorated.call(this);\n      };\n\n      return TagsSearchHighlight;\n    });\n    S2.define('select2/i18n/en', [], function () {\n      // English\n      return {\n        errorLoading: function errorLoading() {\n          return 'The results could not be loaded.';\n        },\n        inputTooLong: function inputTooLong(args) {\n          var overChars = args.input.length - args.maximum;\n          var message = 'Please delete ' + overChars + ' character';\n\n          if (overChars != 1) {\n            message += 's';\n          }\n\n          return message;\n        },\n        inputTooShort: function inputTooShort(args) {\n          var remainingChars = args.minimum - args.input.length;\n          var message = 'Please enter ' + remainingChars + ' or more characters';\n          return message;\n        },\n        loadingMore: function loadingMore() {\n          return 'Loading more results…';\n        },\n        maximumSelected: function maximumSelected(args) {\n          var message = 'You can only select ' + args.maximum + ' item';\n\n          if (args.maximum != 1) {\n            message += 's';\n          }\n\n          return message;\n        },\n        noResults: function noResults() {\n          return 'No results found';\n        },\n        searching: function searching() {\n          return 'Searching…';\n        },\n        removeAllItems: function removeAllItems() {\n          return 'Remove all items';\n        },\n        removeItem: function removeItem() {\n          return 'Remove item';\n        },\n        search: function search() {\n          return 'Search';\n        }\n      };\n    });\n    S2.define('select2/defaults', ['jquery', './results', './selection/single', './selection/multiple', './selection/placeholder', './selection/allowClear', './selection/search', './selection/selectionCss', './selection/eventRelay', './utils', './translation', './diacritics', './data/select', './data/array', './data/ajax', './data/tags', './data/tokenizer', './data/minimumInputLength', './data/maximumInputLength', './data/maximumSelectionLength', './dropdown', './dropdown/search', './dropdown/hidePlaceholder', './dropdown/infiniteScroll', './dropdown/attachBody', './dropdown/minimumResultsForSearch', './dropdown/selectOnClose', './dropdown/closeOnSelect', './dropdown/dropdownCss', './dropdown/tagsSearchHighlight', './i18n/en'], function ($, ResultsList, SingleSelection, MultipleSelection, Placeholder, AllowClear, SelectionSearch, SelectionCSS, EventRelay, Utils, Translation, DIACRITICS, SelectData, ArrayData, AjaxData, Tags, Tokenizer, MinimumInputLength, MaximumInputLength, MaximumSelectionLength, Dropdown, DropdownSearch, HidePlaceholder, InfiniteScroll, AttachBody, MinimumResultsForSearch, SelectOnClose, CloseOnSelect, DropdownCSS, TagsSearchHighlight, EnglishTranslation) {\n      function Defaults() {\n        this.reset();\n      }\n\n      Defaults.prototype.apply = function (options) {\n        options = $.extend(true, {}, this.defaults, options);\n\n        if (options.dataAdapter == null) {\n          if (options.ajax != null) {\n            options.dataAdapter = AjaxData;\n          } else if (options.data != null) {\n            options.dataAdapter = ArrayData;\n          } else {\n            options.dataAdapter = SelectData;\n          }\n\n          if (options.minimumInputLength > 0) {\n            options.dataAdapter = Utils.Decorate(options.dataAdapter, MinimumInputLength);\n          }\n\n          if (options.maximumInputLength > 0) {\n            options.dataAdapter = Utils.Decorate(options.dataAdapter, MaximumInputLength);\n          }\n\n          if (options.maximumSelectionLength > 0) {\n            options.dataAdapter = Utils.Decorate(options.dataAdapter, MaximumSelectionLength);\n          }\n\n          if (options.tags) {\n            options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags);\n          }\n\n          if (options.tokenSeparators != null || options.tokenizer != null) {\n            options.dataAdapter = Utils.Decorate(options.dataAdapter, Tokenizer);\n          }\n        }\n\n        if (options.resultsAdapter == null) {\n          options.resultsAdapter = ResultsList;\n\n          if (options.ajax != null) {\n            options.resultsAdapter = Utils.Decorate(options.resultsAdapter, InfiniteScroll);\n          }\n\n          if (options.placeholder != null) {\n            options.resultsAdapter = Utils.Decorate(options.resultsAdapter, HidePlaceholder);\n          }\n\n          if (options.selectOnClose) {\n            options.resultsAdapter = Utils.Decorate(options.resultsAdapter, SelectOnClose);\n          }\n\n          if (options.tags) {\n            options.resultsAdapter = Utils.Decorate(options.resultsAdapter, TagsSearchHighlight);\n          }\n        }\n\n        if (options.dropdownAdapter == null) {\n          if (options.multiple) {\n            options.dropdownAdapter = Dropdown;\n          } else {\n            var SearchableDropdown = Utils.Decorate(Dropdown, DropdownSearch);\n            options.dropdownAdapter = SearchableDropdown;\n          }\n\n          if (options.minimumResultsForSearch !== 0) {\n            options.dropdownAdapter = Utils.Decorate(options.dropdownAdapter, MinimumResultsForSearch);\n          }\n\n          if (options.closeOnSelect) {\n            options.dropdownAdapter = Utils.Decorate(options.dropdownAdapter, CloseOnSelect);\n          }\n\n          if (options.dropdownCssClass != null) {\n            options.dropdownAdapter = Utils.Decorate(options.dropdownAdapter, DropdownCSS);\n          }\n\n          options.dropdownAdapter = Utils.Decorate(options.dropdownAdapter, AttachBody);\n        }\n\n        if (options.selectionAdapter == null) {\n          if (options.multiple) {\n            options.selectionAdapter = MultipleSelection;\n          } else {\n            options.selectionAdapter = SingleSelection;\n          } // Add the placeholder mixin if a placeholder was specified\n\n\n          if (options.placeholder != null) {\n            options.selectionAdapter = Utils.Decorate(options.selectionAdapter, Placeholder);\n          }\n\n          if (options.allowClear) {\n            options.selectionAdapter = Utils.Decorate(options.selectionAdapter, AllowClear);\n          }\n\n          if (options.multiple) {\n            options.selectionAdapter = Utils.Decorate(options.selectionAdapter, SelectionSearch);\n          }\n\n          if (options.selectionCssClass != null) {\n            options.selectionAdapter = Utils.Decorate(options.selectionAdapter, SelectionCSS);\n          }\n\n          options.selectionAdapter = Utils.Decorate(options.selectionAdapter, EventRelay);\n        } // If the defaults were not previously applied from an element, it is\n        // possible for the language option to have not been resolved\n\n\n        options.language = this._resolveLanguage(options.language); // Always fall back to English since it will always be complete\n\n        options.language.push('en');\n        var uniqueLanguages = [];\n\n        for (var l = 0; l < options.language.length; l++) {\n          var language = options.language[l];\n\n          if (uniqueLanguages.indexOf(language) === -1) {\n            uniqueLanguages.push(language);\n          }\n        }\n\n        options.language = uniqueLanguages;\n        options.translations = this._processTranslations(options.language, options.debug);\n        return options;\n      };\n\n      Defaults.prototype.reset = function () {\n        function stripDiacritics(text) {\n          // Used 'uni range + named function' from http://jsperf.com/diacritics/18\n          function match(a) {\n            return DIACRITICS[a] || a;\n          }\n\n          return text.replace(/[^\\u0000-\\u007E]/g, match);\n        }\n\n        function matcher(params, data) {\n          // Always return the object if there is nothing to compare\n          if (params.term == null || params.term.trim() === '') {\n            return data;\n          } // Do a recursive check for options with children\n\n\n          if (data.children && data.children.length > 0) {\n            // Clone the data object if there are children\n            // This is required as we modify the object to remove any non-matches\n            var match = $.extend(true, {}, data); // Check each child of the option\n\n            for (var c = data.children.length - 1; c >= 0; c--) {\n              var child = data.children[c];\n              var matches = matcher(params, child); // If there wasn't a match, remove the object in the array\n\n              if (matches == null) {\n                match.children.splice(c, 1);\n              }\n            } // If any children matched, return the new object\n\n\n            if (match.children.length > 0) {\n              return match;\n            } // If there were no matching children, check just the plain object\n\n\n            return matcher(params, match);\n          }\n\n          var original = stripDiacritics(data.text).toUpperCase();\n          var term = stripDiacritics(params.term).toUpperCase(); // Check if the text contains the term\n\n          if (original.indexOf(term) > -1) {\n            return data;\n          } // If it doesn't contain the term, don't return anything\n\n\n          return null;\n        }\n\n        this.defaults = {\n          amdLanguageBase: './i18n/',\n          autocomplete: 'off',\n          closeOnSelect: true,\n          debug: false,\n          dropdownAutoWidth: false,\n          escapeMarkup: Utils.escapeMarkup,\n          language: {},\n          matcher: matcher,\n          minimumInputLength: 0,\n          maximumInputLength: 0,\n          maximumSelectionLength: 0,\n          minimumResultsForSearch: 0,\n          selectOnClose: false,\n          scrollAfterSelect: false,\n          sorter: function sorter(data) {\n            return data;\n          },\n          templateResult: function templateResult(result) {\n            return result.text;\n          },\n          templateSelection: function templateSelection(selection) {\n            return selection.text;\n          },\n          theme: 'default',\n          width: 'resolve'\n        };\n      };\n\n      Defaults.prototype.applyFromElement = function (options, $element) {\n        var optionLanguage = options.language;\n        var defaultLanguage = this.defaults.language;\n        var elementLanguage = $element.prop('lang');\n        var parentLanguage = $element.closest('[lang]').prop('lang');\n        var languages = Array.prototype.concat.call(this._resolveLanguage(elementLanguage), this._resolveLanguage(optionLanguage), this._resolveLanguage(defaultLanguage), this._resolveLanguage(parentLanguage));\n        options.language = languages;\n        return options;\n      };\n\n      Defaults.prototype._resolveLanguage = function (language) {\n        if (!language) {\n          return [];\n        }\n\n        if ($.isEmptyObject(language)) {\n          return [];\n        }\n\n        if ($.isPlainObject(language)) {\n          return [language];\n        }\n\n        var languages;\n\n        if (!Array.isArray(language)) {\n          languages = [language];\n        } else {\n          languages = language;\n        }\n\n        var resolvedLanguages = [];\n\n        for (var l = 0; l < languages.length; l++) {\n          resolvedLanguages.push(languages[l]);\n\n          if (typeof languages[l] === 'string' && languages[l].indexOf('-') > 0) {\n            // Extract the region information if it is included\n            var languageParts = languages[l].split('-');\n            var baseLanguage = languageParts[0];\n            resolvedLanguages.push(baseLanguage);\n          }\n        }\n\n        return resolvedLanguages;\n      };\n\n      Defaults.prototype._processTranslations = function (languages, debug) {\n        var translations = new Translation();\n\n        for (var l = 0; l < languages.length; l++) {\n          var languageData = new Translation();\n          var language = languages[l];\n\n          if (typeof language === 'string') {\n            try {\n              // Try to load it with the original name\n              languageData = Translation.loadPath(language);\n            } catch (e) {\n              try {\n                // If we couldn't load it, check if it wasn't the full path\n                language = this.defaults.amdLanguageBase + language;\n                languageData = Translation.loadPath(language);\n              } catch (ex) {\n                // The translation could not be loaded at all. Sometimes this is\n                // because of a configuration problem, other times this can be\n                // because of how Select2 helps load all possible translation files\n                if (debug && window.console && console.warn) {\n                  console.warn('Select2: The language file for \"' + language + '\" could ' + 'not be automatically loaded. A fallback will be used instead.');\n                }\n              }\n            }\n          } else if ($.isPlainObject(language)) {\n            languageData = new Translation(language);\n          } else {\n            languageData = language;\n          }\n\n          translations.extend(languageData);\n        }\n\n        return translations;\n      };\n\n      Defaults.prototype.set = function (key, value) {\n        var camelKey = $.camelCase(key);\n        var data = {};\n        data[camelKey] = value;\n\n        var convertedData = Utils._convertData(data);\n\n        $.extend(true, this.defaults, convertedData);\n      };\n\n      var defaults = new Defaults();\n      return defaults;\n    });\n    S2.define('select2/options', ['jquery', './defaults', './utils'], function ($, Defaults, Utils) {\n      function Options(options, $element) {\n        this.options = options;\n\n        if ($element != null) {\n          this.fromElement($element);\n        }\n\n        if ($element != null) {\n          this.options = Defaults.applyFromElement(this.options, $element);\n        }\n\n        this.options = Defaults.apply(this.options);\n      }\n\n      Options.prototype.fromElement = function ($e) {\n        var excludedData = ['select2'];\n\n        if (this.options.multiple == null) {\n          this.options.multiple = $e.prop('multiple');\n        }\n\n        if (this.options.disabled == null) {\n          this.options.disabled = $e.prop('disabled');\n        }\n\n        if (this.options.autocomplete == null && $e.prop('autocomplete')) {\n          this.options.autocomplete = $e.prop('autocomplete');\n        }\n\n        if (this.options.dir == null) {\n          if ($e.prop('dir')) {\n            this.options.dir = $e.prop('dir');\n          } else if ($e.closest('[dir]').prop('dir')) {\n            this.options.dir = $e.closest('[dir]').prop('dir');\n          } else {\n            this.options.dir = 'ltr';\n          }\n        }\n\n        $e.prop('disabled', this.options.disabled);\n        $e.prop('multiple', this.options.multiple);\n\n        if (Utils.GetData($e[0], 'select2Tags')) {\n          if (this.options.debug && window.console && console.warn) {\n            console.warn('Select2: The `data-select2-tags` attribute has been changed to ' + 'use the `data-data` and `data-tags=\"true\"` attributes and will be ' + 'removed in future versions of Select2.');\n          }\n\n          Utils.StoreData($e[0], 'data', Utils.GetData($e[0], 'select2Tags'));\n          Utils.StoreData($e[0], 'tags', true);\n        }\n\n        if (Utils.GetData($e[0], 'ajaxUrl')) {\n          if (this.options.debug && window.console && console.warn) {\n            console.warn('Select2: The `data-ajax-url` attribute has been changed to ' + '`data-ajax--url` and support for the old attribute will be removed' + ' in future versions of Select2.');\n          }\n\n          $e.attr('ajax--url', Utils.GetData($e[0], 'ajaxUrl'));\n          Utils.StoreData($e[0], 'ajax-Url', Utils.GetData($e[0], 'ajaxUrl'));\n        }\n\n        var dataset = {};\n\n        function upperCaseLetter(_, letter) {\n          return letter.toUpperCase();\n        } // Pre-load all of the attributes which are prefixed with `data-`\n\n\n        for (var attr = 0; attr < $e[0].attributes.length; attr++) {\n          var attributeName = $e[0].attributes[attr].name;\n          var prefix = 'data-';\n\n          if (attributeName.substr(0, prefix.length) == prefix) {\n            // Get the contents of the attribute after `data-`\n            var dataName = attributeName.substring(prefix.length); // Get the data contents from the consistent source\n            // This is more than likely the jQuery data helper\n\n            var dataValue = Utils.GetData($e[0], dataName); // camelCase the attribute name to match the spec\n\n            var camelDataName = dataName.replace(/-([a-z])/g, upperCaseLetter); // Store the data attribute contents into the dataset since\n\n            dataset[camelDataName] = dataValue;\n          }\n        } // Prefer the element's `dataset` attribute if it exists\n        // jQuery 1.x does not correctly handle data attributes with multiple dashes\n\n\n        if ($.fn.jquery && $.fn.jquery.substr(0, 2) == '1.' && $e[0].dataset) {\n          dataset = $.extend(true, {}, $e[0].dataset, dataset);\n        } // Prefer our internal data cache if it exists\n\n\n        var data = $.extend(true, {}, Utils.GetData($e[0]), dataset);\n        data = Utils._convertData(data);\n\n        for (var key in data) {\n          if (excludedData.indexOf(key) > -1) {\n            continue;\n          }\n\n          if ($.isPlainObject(this.options[key])) {\n            $.extend(this.options[key], data[key]);\n          } else {\n            this.options[key] = data[key];\n          }\n        }\n\n        return this;\n      };\n\n      Options.prototype.get = function (key) {\n        return this.options[key];\n      };\n\n      Options.prototype.set = function (key, val) {\n        this.options[key] = val;\n      };\n\n      return Options;\n    });\n    S2.define('select2/core', ['jquery', './options', './utils', './keys'], function ($, Options, Utils, KEYS) {\n      var Select2 = function Select2($element, options) {\n        if (Utils.GetData($element[0], 'select2') != null) {\n          Utils.GetData($element[0], 'select2').destroy();\n        }\n\n        this.$element = $element;\n        this.id = this._generateId($element);\n        options = options || {};\n        this.options = new Options(options, $element);\n\n        Select2.__super__.constructor.call(this); // Set up the tabindex\n\n\n        var tabindex = $element.attr('tabindex') || 0;\n        Utils.StoreData($element[0], 'old-tabindex', tabindex);\n        $element.attr('tabindex', '-1'); // Set up containers and adapters\n\n        var DataAdapter = this.options.get('dataAdapter');\n        this.dataAdapter = new DataAdapter($element, this.options);\n        var $container = this.render();\n\n        this._placeContainer($container);\n\n        var SelectionAdapter = this.options.get('selectionAdapter');\n        this.selection = new SelectionAdapter($element, this.options);\n        this.$selection = this.selection.render();\n        this.selection.position(this.$selection, $container);\n        var DropdownAdapter = this.options.get('dropdownAdapter');\n        this.dropdown = new DropdownAdapter($element, this.options);\n        this.$dropdown = this.dropdown.render();\n        this.dropdown.position(this.$dropdown, $container);\n        var ResultsAdapter = this.options.get('resultsAdapter');\n        this.results = new ResultsAdapter($element, this.options, this.dataAdapter);\n        this.$results = this.results.render();\n        this.results.position(this.$results, this.$dropdown); // Bind events\n\n        var self = this; // Bind the container to all of the adapters\n\n        this._bindAdapters(); // Register any DOM event handlers\n\n\n        this._registerDomEvents(); // Register any internal event handlers\n\n\n        this._registerDataEvents();\n\n        this._registerSelectionEvents();\n\n        this._registerDropdownEvents();\n\n        this._registerResultsEvents();\n\n        this._registerEvents(); // Set the initial state\n\n\n        this.dataAdapter.current(function (initialData) {\n          self.trigger('selection:update', {\n            data: initialData\n          });\n        }); // Hide the original select\n\n        $element[0].classList.add('select2-hidden-accessible');\n        $element.attr('aria-hidden', 'true'); // Hide the original select with SUI. @edited\n\n        $element.addClass('sui-screen-reader-text'); // Synchronize any monitored attributes\n\n        this._syncAttributes();\n\n        Utils.StoreData($element[0], 'select2', this); // Ensure backwards compatibility with $element.data('select2').\n\n        $element.data('select2', this);\n      };\n\n      Utils.Extend(Select2, Utils.Observable);\n\n      Select2.prototype._generateId = function ($element) {\n        var id = '';\n\n        if ($element.attr('id') != null) {\n          id = $element.attr('id');\n        } else if ($element.attr('name') != null) {\n          id = $element.attr('name') + '-' + Utils.generateChars(2);\n        } else {\n          id = Utils.generateChars(4);\n        }\n\n        id = id.replace(/(:|\\.|\\[|\\]|,)/g, '');\n        id = 'select2-' + id;\n        return id;\n      };\n\n      Select2.prototype._placeContainer = function ($container) {\n        $container.insertAfter(this.$element);\n\n        var width = this._resolveWidth(this.$element, this.options.get('width'));\n\n        if (width != null) {\n          $container.css('width', width);\n        }\n      };\n\n      Select2.prototype._resolveWidth = function ($element, method) {\n        var WIDTH = /^width:(([-+]?([0-9]*\\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;\n\n        if (method == 'resolve') {\n          var styleWidth = this._resolveWidth($element, 'style');\n\n          if (styleWidth != null) {\n            return styleWidth;\n          }\n\n          return this._resolveWidth($element, 'element');\n        }\n\n        if (method == 'element') {\n          var elementWidth = $element.outerWidth(false);\n\n          if (elementWidth <= 0) {\n            return 'auto';\n          }\n\n          return elementWidth + 'px';\n        }\n\n        if (method == 'style') {\n          var style = $element.attr('style');\n\n          if (typeof style !== 'string') {\n            return null;\n          }\n\n          var attrs = style.split(';');\n\n          for (var i = 0, l = attrs.length; i < l; i = i + 1) {\n            var attr = attrs[i].replace(/\\s/g, '');\n            var matches = attr.match(WIDTH);\n\n            if (matches !== null && matches.length >= 1) {\n              return matches[1];\n            }\n          }\n\n          return null;\n        }\n\n        if (method == 'computedstyle') {\n          var computedStyle = window.getComputedStyle($element[0]);\n          return computedStyle.width;\n        }\n\n        return method;\n      };\n\n      Select2.prototype._bindAdapters = function () {\n        this.dataAdapter.bind(this, this.$container);\n        this.selection.bind(this, this.$container);\n        this.dropdown.bind(this, this.$container);\n        this.results.bind(this, this.$container);\n      };\n\n      Select2.prototype._registerDomEvents = function () {\n        var self = this;\n        this.$element.on('change.select2', function () {\n          self.dataAdapter.current(function (data) {\n            self.trigger('selection:update', {\n              data: data\n            });\n          });\n        });\n        this.$element.on('focus.select2', function (evt) {\n          self.trigger('focus', evt);\n        });\n        this._syncA = Utils.bind(this._syncAttributes, this);\n        this._syncS = Utils.bind(this._syncSubtree, this);\n        this._observer = new window.MutationObserver(function (mutations) {\n          self._syncA();\n\n          self._syncS(mutations);\n        });\n\n        this._observer.observe(this.$element[0], {\n          attributes: true,\n          childList: true,\n          subtree: false\n        });\n      };\n\n      Select2.prototype._registerDataEvents = function () {\n        var self = this;\n        this.dataAdapter.on('*', function (name, params) {\n          self.trigger(name, params);\n        });\n      };\n\n      Select2.prototype._registerSelectionEvents = function () {\n        var self = this;\n        var nonRelayEvents = ['toggle', 'focus'];\n        this.selection.on('toggle', function () {\n          self.toggleDropdown();\n        });\n        this.selection.on('focus', function (params) {\n          self.focus(params);\n        });\n        this.selection.on('*', function (name, params) {\n          if (nonRelayEvents.indexOf(name) !== -1) {\n            return;\n          }\n\n          self.trigger(name, params);\n        });\n      };\n\n      Select2.prototype._registerDropdownEvents = function () {\n        var self = this;\n        this.dropdown.on('*', function (name, params) {\n          self.trigger(name, params);\n        });\n      };\n\n      Select2.prototype._registerResultsEvents = function () {\n        var self = this;\n        this.results.on('*', function (name, params) {\n          self.trigger(name, params);\n        });\n      };\n\n      Select2.prototype._registerEvents = function () {\n        var self = this;\n        this.on('open', function () {\n          self.$container[0].classList.add('select2-container--open');\n        });\n        this.on('close', function () {\n          self.$container[0].classList.remove('select2-container--open');\n        });\n        this.on('enable', function () {\n          self.$container[0].classList.remove('select2-container--disabled');\n        });\n        this.on('disable', function () {\n          self.$container[0].classList.add('select2-container--disabled');\n        });\n        this.on('blur', function () {\n          self.$container[0].classList.remove('select2-container--focus');\n        });\n        this.on('query', function (params) {\n          if (!self.isOpen()) {\n            self.trigger('open', {});\n          }\n\n          this.dataAdapter.query(params, function (data) {\n            self.trigger('results:all', {\n              data: data,\n              query: params\n            });\n          });\n        });\n        this.on('query:append', function (params) {\n          this.dataAdapter.query(params, function (data) {\n            self.trigger('results:append', {\n              data: data,\n              query: params\n            });\n          });\n        });\n        this.on('keypress', function (evt) {\n          var key = evt.which;\n          var isMultiSelect = this.$element[0].hasAttribute('multiple');\n\n          if (self.isOpen()) {\n            if (key === KEYS.ENTER) {\n              self.trigger('results:select');\n              evt.preventDefault();\n            } else if (key === KEYS.SPACE && evt.ctrlKey) {\n              self.trigger('results:toggle');\n              evt.preventDefault();\n            } else if (key === KEYS.UP) {\n              self.trigger('results:previous');\n              evt.preventDefault();\n            } else if (key === KEYS.DOWN) {\n              self.trigger('results:next');\n              evt.preventDefault();\n            } else if (key === KEYS.ESC || key === KEYS.TAB) {\n              self.close();\n              evt.preventDefault();\n            }\n          } else if (!isMultiSelect) {\n            // Added the functionality to change option on press of up and down arrow. @edited\n            if (key === KEYS.ENTER || key === KEYS.SPACE || (key === KEYS.DOWN || key === KEYS.UP) && evt.altKey) {\n              self.open();\n              evt.preventDefault();\n            } else if (key === KEYS.DOWN) {\n              if (undefined != this.$element.find('option:selected').next().val()) {\n                this.$element.val(this.$element.find('option:selected').next().val());\n                this.$element.trigger('change');\n              }\n\n              evt.preventDefault();\n            } else if (key === KEYS.UP) {\n              if (undefined != this.$element.find('option:selected').prev().val()) {\n                this.$element.val(this.$element.find('option:selected').prev().val());\n                this.$element.trigger('change');\n              }\n\n              evt.preventDefault();\n            } // Added the functionality to select option based on key press. @edited\n            else {\n              var selectedValue = this.$element.find('option:selected').text();\n              var keyPressed = String.fromCharCode(key).toLowerCase();\n              var values = this.$element.find('option').filter(function () {\n                var _$$text;\n\n                return (_$$text = $(this).text()) === null || _$$text === void 0 ? void 0 : _$$text.toLowerCase().startsWith(keyPressed);\n              });\n              var arrLength = values.length - 1;\n              var elemVal = selectedValue;\n              values.each(function (index) {\n                if (selectedValue !== '' && selectedValue[0].toLowerCase() === keyPressed) {\n                  if ($(this).text() === selectedValue && index !== arrLength) {\n                    elemVal = $(values[index + 1]).val();\n                    return false;\n                  }\n\n                  return;\n                }\n\n                elemVal = $(this).val();\n                return false;\n              });\n              elemVal !== selectedValue && (self.$element.val(elemVal), self.$element.trigger('change'));\n            }\n          }\n        });\n      };\n\n      Select2.prototype._syncAttributes = function () {\n        this.options.set('disabled', this.$element.prop('disabled'));\n\n        if (this.isDisabled()) {\n          if (this.isOpen()) {\n            this.close();\n          }\n\n          this.trigger('disable', {});\n        } else {\n          this.trigger('enable', {});\n        }\n      };\n\n      Select2.prototype._isChangeMutation = function (mutations) {\n        var self = this;\n\n        if (mutations.addedNodes && mutations.addedNodes.length > 0) {\n          for (var n = 0; n < mutations.addedNodes.length; n++) {\n            var node = mutations.addedNodes[n];\n\n            if (node.selected) {\n              return true;\n            }\n          }\n        } else if (mutations.removedNodes && mutations.removedNodes.length > 0) {\n          return true;\n        } else if (Array.isArray(mutations)) {\n          return mutations.some(function (mutation) {\n            return self._isChangeMutation(mutation);\n          });\n        }\n\n        return false;\n      };\n\n      Select2.prototype._syncSubtree = function (mutations) {\n        var changed = this._isChangeMutation(mutations);\n\n        var self = this; // Only re-pull the data if we think there is a change\n\n        if (changed) {\n          this.dataAdapter.current(function (currentData) {\n            self.trigger('selection:update', {\n              data: currentData\n            });\n          });\n        }\n      };\n      /**\n       * Override the trigger method to automatically trigger pre-events when\n       * there are events that can be prevented.\n       */\n\n\n      Select2.prototype.trigger = function (name, args) {\n        var actualTrigger = Select2.__super__.trigger;\n        var preTriggerMap = {\n          'open': 'opening',\n          'close': 'closing',\n          'select': 'selecting',\n          'unselect': 'unselecting',\n          'clear': 'clearing'\n        };\n\n        if (args === undefined) {\n          args = {};\n        }\n\n        if (name in preTriggerMap) {\n          var preTriggerName = preTriggerMap[name];\n          var preTriggerArgs = {\n            prevented: false,\n            name: name,\n            args: args\n          };\n          actualTrigger.call(this, preTriggerName, preTriggerArgs);\n\n          if (preTriggerArgs.prevented) {\n            args.prevented = true;\n            return;\n          }\n        }\n\n        actualTrigger.call(this, name, args);\n      };\n\n      Select2.prototype.toggleDropdown = function () {\n        if (this.isDisabled()) {\n          return;\n        }\n\n        if (this.isOpen()) {\n          this.close();\n        } else {\n          this.open();\n        }\n      };\n\n      Select2.prototype.open = function () {\n        if (this.isOpen()) {\n          return;\n        }\n\n        if (this.isDisabled()) {\n          return;\n        }\n\n        this.trigger('query', {});\n      };\n\n      Select2.prototype.close = function (evt) {\n        if (!this.isOpen()) {\n          return;\n        }\n\n        this.trigger('close', {\n          originalEvent: evt\n        });\n      };\n      /**\n       * Helper method to abstract the \"enabled\" (not \"disabled\") state of this\n       * object.\n       *\n       * @return {true} if the instance is not disabled.\n       * @return {false} if the instance is disabled.\n       */\n\n\n      Select2.prototype.isEnabled = function () {\n        return !this.isDisabled();\n      };\n      /**\n       * Helper method to abstract the \"disabled\" state of this object.\n       *\n       * @return {true} if the disabled option is true.\n       * @return {false} if the disabled option is false.\n       */\n\n\n      Select2.prototype.isDisabled = function () {\n        return this.options.get('disabled');\n      };\n\n      Select2.prototype.isOpen = function () {\n        return this.$container[0].classList.contains('select2-container--open');\n      };\n\n      Select2.prototype.hasFocus = function () {\n        return this.$container[0].classList.contains('select2-container--focus');\n      };\n\n      Select2.prototype.focus = function (data) {\n        // No need to re-trigger focus events if we are already focused\n        if (this.hasFocus()) {\n          return;\n        }\n\n        this.$container[0].classList.add('select2-container--focus');\n        this.trigger('focus', {});\n      };\n\n      Select2.prototype.enable = function (args) {\n        if (this.options.get('debug') && window.console && console.warn) {\n          console.warn('Select2: The `select2(\"enable\")` method has been deprecated and will' + ' be removed in later Select2 versions. Use $element.prop(\"disabled\")' + ' instead.');\n        }\n\n        if (args == null || args.length === 0) {\n          args = [true];\n        }\n\n        var disabled = !args[0];\n        this.$element.prop('disabled', disabled);\n      };\n\n      Select2.prototype.data = function () {\n        if (this.options.get('debug') && arguments.length > 0 && window.console && console.warn) {\n          console.warn('Select2: Data can no longer be set using `select2(\"data\")`. You ' + 'should consider setting the value instead using `$element.val()`.');\n        }\n\n        var data = [];\n        this.dataAdapter.current(function (currentData) {\n          data = currentData;\n        });\n        return data;\n      };\n\n      Select2.prototype.val = function (args) {\n        if (this.options.get('debug') && window.console && console.warn) {\n          console.warn('Select2: The `select2(\"val\")` method has been deprecated and will be' + ' removed in later Select2 versions. Use $element.val() instead.');\n        }\n\n        if (args == null || args.length === 0) {\n          return this.$element.val();\n        }\n\n        var newVal = args[0];\n\n        if (Array.isArray(newVal)) {\n          newVal = newVal.map(function (obj) {\n            return obj.toString();\n          });\n        }\n\n        this.$element.val(newVal).trigger('input').trigger('change');\n      };\n\n      Select2.prototype.destroy = function () {\n        Utils.RemoveData(this.$container[0]);\n        this.$container.remove();\n\n        this._observer.disconnect();\n\n        this._observer = null;\n        this._syncA = null;\n        this._syncS = null;\n        this.$element.off('.select2');\n        this.$element.attr('tabindex', Utils.GetData(this.$element[0], 'old-tabindex')); // Remove SUI screen reader class. @edited\n\n        this.$element.removeClass('sui-screen-reader-text');\n        this.$element[0].classList.remove('select2-hidden-accessible');\n        this.$element.attr('aria-hidden', 'false');\n        Utils.RemoveData(this.$element[0]);\n        this.$element.removeData('select2');\n        this.dataAdapter.destroy();\n        this.selection.destroy();\n        this.dropdown.destroy();\n        this.results.destroy();\n        this.dataAdapter = null;\n        this.selection = null;\n        this.dropdown = null;\n        this.results = null;\n      };\n\n      Select2.prototype.render = function () {\n        var $container = $('<span class=\"select2 select2-container\">' + '<span class=\"selection\"></span>' + '<span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span>' + '</span>');\n        $container.attr('dir', this.options.get('dir'));\n        this.$container = $container; // Add SUIselect class to select main div. @edited\n\n        this.$container[0].classList.add('sui-select'); // Additional class for themes. @edited\n\n        if ('default' !== this.options.get('theme')) {\n          this.$container[0].classList.add('sui-select-theme--' + this.options.get('theme'));\n        }\n\n        Utils.StoreData($container[0], 'element', this.$element);\n        return $container;\n      };\n\n      return Select2;\n    });\n    S2.define('jquery-mousewheel', ['jquery'], function ($) {\n      // Used to shim jQuery.mousewheel for non-full builds.\n      return $;\n    });\n    /**\n     * Rebranding select2 to SUIselect2\n     * It does avoid conflicts with other(s) that include select2 manually\n     * @edited\n     */\n\n    S2.define('sui.select2', ['jquery', 'jquery-mousewheel', './select2/core', './select2/defaults', './select2/utils'], function ($, _, Select2, Defaults, Utils) {\n      // Rename function. @edited\n      if ($.fn.SUIselect2 == null) {\n        // All methods that should return the element\n        var thisMethods = ['open', 'close', 'destroy']; // Rename function. @edited\n\n        $.fn.SUIselect2 = function (options) {\n          options = options || {};\n\n          if (_typeof(options) === 'object') {\n            this.each(function () {\n              var instanceOptions = $.extend(true, {}, options);\n              var instance = new Select2($(this), instanceOptions);\n            });\n            return this;\n          } else if (typeof options === 'string') {\n            var ret;\n            var args = Array.prototype.slice.call(arguments, 1);\n            this.each(function () {\n              var instance = Utils.GetData(this, 'select2');\n\n              if (instance == null && window.console && console.error) {\n                // Rename function on error message. @edited\n                console.error('The SUIselect2(\\'' + options + '\\') method was called on an ' + 'element that is not using Select2.');\n              }\n\n              ret = instance[options].apply(instance, args);\n            }); // Check if we should be returning `this`\n\n            if (thisMethods.indexOf(options) > -1) {\n              return this;\n            }\n\n            return ret;\n          } else {\n            // Rename function on error message. @edited\n            throw new Error('Invalid arguments for SUIselect2: ' + options);\n          }\n        };\n      } // Rename function. @edited\n\n\n      if ($.fn.SUIselect2.defaults == null) {\n        $.fn.SUIselect2.defaults = Defaults; // Rename function. @edited\n      }\n\n      return Select2;\n    }); // Return the AMD loader configuration so it can be used outside of this file\n\n    return {\n      define: S2.define,\n      require: S2.require\n    };\n  }(); // Autoload the jQuery bindings\n  // We know that all of the modules exist above this, so we're safe\n\n\n  var select2 = S2.require('sui.select2'); // Rename function. @edited\n  // Hold the AMD module references on the jQuery function that was just loaded\n  // This allows Select2 to use the internal loader outside of this file, such\n  // as in the language files.\n  // jQuery.fn.select2.amd = S2;\n  // Return the Select2 instance for anyone who is importing it.\n\n\n  return select2;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n;\n\n(function ($) {\n  // Define global SUI object if it doesn't exist.\n  if ('object' !== _typeof(window.SUI)) {\n    window.SUI = {};\n  }\n\n  SUI.select = {};\n\n  SUI.select.escapeJS = function (string) {\n    // Create a temporary <div> element using jQuery and set the HTML content.\n    var div = $('<div>').html(string); // Get the text content of the <div> element and remove script tags\n\n    var text = div.text().replace(/<script\\b[^<]*(?:(?!<\\/script>)<[^<]*)*<\\/script>/gi, ''); // Return the escaped text\n\n    return text;\n  };\n\n  SUI.select.formatIcon = function (data, container) {\n    var markup;\n    var label = SUI.select.escapeJS(data.text);\n    var icon = $(data.element).attr('data-icon');\n\n    if (!data.id) {\n      return label; // optgroup.\n    }\n\n    if ('undefined' !== typeof icon) {\n      markup = '<span class=\"sui-icon-' + icon.toLowerCase() + '\" aria-hidden=\"true\"></span> ' + label;\n    } else {\n      markup = label;\n    }\n\n    return markup;\n  };\n\n  SUI.select.formatIconSelection = function (data, container) {\n    var markup;\n    var label = SUI.select.escapeJS(data.text);\n    var icon = $(data.element).attr('data-icon');\n\n    if ('undefined' !== typeof icon) {\n      markup = '<span class=\"sui-icon-' + icon.toLowerCase() + '\" aria-hidden=\"true\"></span> ' + label;\n    } else {\n      markup = label;\n    }\n\n    return markup;\n  };\n\n  SUI.select.formatColor = function (data, container) {\n    var markup, border;\n    var label = SUI.select.escapeJS(data.text);\n    var color = $(data.element).attr('data-color');\n\n    if (!data.id) {\n      return label; // optgroup.\n    }\n\n    if ('undefined' !== typeof color) {\n      switch (color) {\n        case '#FFF':\n        case 'white':\n        case '#FFFFFF':\n          border = '#000';\n          break;\n\n        case '#FAFAFA':\n        case '#F8F8F8':\n        case '#F2F2F2':\n          border = '#333';\n          break;\n\n        default:\n          border = color;\n          break;\n      }\n\n      markup = '<span class=\"sui-color\" style=\"border-color: ' + border + '; background-color: ' + color + ';\" aria-hidden=\"true\"></span> ' + label;\n    } else {\n      markup = label;\n    }\n\n    return markup;\n  };\n\n  SUI.select.formatColorSelection = function (data, container) {\n    var markup;\n    var label = SUI.select.escapeJS(data.text);\n    var color = $(data.element).attr('data-color');\n\n    if ('undefined' !== typeof color) {\n      switch (color) {\n        case '#FFF':\n        case 'white':\n        case '#FFFFFF':\n          border = '#000';\n          break;\n\n        case '#FAFAFA':\n        case '#F8F8F8':\n        case '#F2F2F2':\n          border = '#333';\n          break;\n\n        default:\n          border = color;\n          break;\n      }\n\n      markup = '<span class=\"sui-color\" style=\"border-color: ' + border + '; background-color: ' + color + ';\" aria-hidden=\"true\"></span> ' + label;\n    } else {\n      markup = label;\n    }\n\n    return markup;\n  };\n\n  SUI.select.formatVars = function (data, container) {\n    var markup;\n    var label = SUI.select.escapeJS(data.text);\n    var content = $(data.element).val();\n\n    if (!data.id) {\n      return label; // optgroup.\n    }\n\n    if ('undefined' !== typeof content) {\n      markup = '<span class=\"sui-variable-name\">' + label + '</span><span class=\"sui-variable-value\">' + content + '</span> ';\n    } else {\n      markup = label;\n    }\n\n    return markup;\n  };\n\n  SUI.select.formatVarsSelection = function (data, container) {\n    var markup;\n    var label = SUI.select.escapeJS(data.text);\n    markup = '<span class=\"sui-icon-plus-circle sui-md\" aria-hidden=\"true\"></span>';\n    markup += '<span class=\"sui-screen-reader-text\">' + label + '</span>';\n    return markup;\n  };\n\n  SUI.select.init = function (select) {\n    var getParent = select.closest('.sui-modal-content'),\n        getParentId = getParent.attr('id'),\n        selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-23'),\n        hasSearch = 'true' === select.attr('data-search') ? 0 : -1,\n        isSmall = select.hasClass('sui-select-sm') ? 'sui-select-dropdown-sm' : '';\n    select.SUIselect2({\n      dropdownParent: selectParent,\n      minimumResultsForSearch: hasSearch,\n      dropdownCssClass: isSmall\n    });\n  };\n\n  SUI.select.initIcon = function (select) {\n    var getParent = select.closest('.sui-modal-content'),\n        getParentId = getParent.attr('id'),\n        selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-23'),\n        hasSearch = 'true' === select.attr('data-search') ? 0 : -1,\n        isSmall = select.hasClass('sui-select-sm') ? 'sui-select-dropdown-sm' : '';\n    select.SUIselect2({\n      dropdownParent: selectParent,\n      templateResult: SUI.select.formatIcon,\n      templateSelection: SUI.select.formatIconSelection,\n      escapeMarkup: function escapeMarkup(markup) {\n        return markup;\n      },\n      minimumResultsForSearch: hasSearch,\n      dropdownCssClass: isSmall\n    });\n  };\n\n  SUI.select.initColor = function (select) {\n    var getParent = select.closest('.sui-modal-content'),\n        getParentId = getParent.attr('id'),\n        selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-23'),\n        hasSearch = 'true' === select.attr('data-search') ? 0 : -1,\n        isSmall = select.hasClass('sui-select-sm') ? 'sui-select-dropdown-sm' : '';\n    select.SUIselect2({\n      dropdownParent: selectParent,\n      templateResult: SUI.select.formatColor,\n      templateSelection: SUI.select.formatColorSelection,\n      escapeMarkup: function escapeMarkup(markup) {\n        return markup;\n      },\n      minimumResultsForSearch: hasSearch,\n      dropdownCssClass: isSmall\n    });\n  };\n\n  SUI.select.initSearch = function (select) {\n    var getParent = select.closest('.sui-modal-content'),\n        getParentId = getParent.attr('id'),\n        selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-23'),\n        isSmall = select.hasClass('sui-select-sm') ? 'sui-select-dropdown-sm' : '';\n    select.SUIselect2({\n      dropdownParent: selectParent,\n      minimumInputLength: 2,\n      maximumSelectionLength: 1,\n      dropdownCssClass: isSmall\n    });\n  };\n\n  SUI.select.initVars = function (select) {\n    var getParent = select.closest('.sui-modal-content'),\n        getParentId = getParent.attr('id'),\n        selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-23'),\n        hasSearch = 'true' === select.attr('data-search') ? 0 : -1;\n    select.SUIselect2({\n      theme: 'vars',\n      dropdownParent: selectParent,\n      templateResult: SUI.select.formatVars,\n      templateSelection: SUI.select.formatVarsSelection,\n      escapeMarkup: function escapeMarkup(markup) {\n        return markup;\n      },\n      minimumResultsForSearch: hasSearch\n    }).on('select2:open', function () {\n      $(this).val(null);\n    });\n    select.val(null);\n  };\n\n  $('.sui-select').each(function () {\n    var select = $(this); // return if select2 already initalized for element.\n\n    if (select.hasClass('select2-hidden-accessible') || select.hasClass('select2')) {\n      return;\n    }\n\n    if ('icon' === select.data('theme')) {\n      SUI.select.initIcon(select);\n    } else if ('color' === select.data('theme')) {\n      SUI.select.initColor(select);\n    } else if ('search' === select.data('theme')) {\n      SUI.select.initSearch(select);\n    } else {\n      SUI.select.init(select);\n    }\n  });\n  $('.sui-variables').each(function () {\n    var select = $(this); // return if select2 already initalized for element.\n\n    if (select.hasClass('select2-hidden-accessible') || select.hasClass('select2')) {\n      return;\n    }\n\n    SUI.select.initVars(select);\n  });\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _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();\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    init(config);\n    return;\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.on('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.on('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).on('resize', function () {\n      overflowing();\n    });\n    tabs.on('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, inputs) {\n      tabs.removeClass('active');\n      tabs.attr('tabindex', '-1');\n      tabs.attr('aria-selected', false);\n      inputs.prop('checked', false);\n      panels.removeClass('active');\n      panels.prop('hidden', true);\n    } // Activate current tab panel.\n\n\n    function activateTab(tab) {\n      var tabs = $(tab).closest('[role=\"tablist\"]').find('[role=\"tab\"]'),\n          inputs = $(tab).closest('[role=\"tablist\"]').find('input[type=\"radio\"]'),\n          panels = $(tab).closest('.sui-tabs').find('> .sui-tabs-content > [role=\"tabpanel\"]'),\n          controls = $(tab).attr('aria-controls'),\n          input = $(tab).next('input[type=\"radio\"]'),\n          panel = $('#' + controls);\n      deactivateTabs(tabs, panels, inputs);\n      $(tab).addClass('active');\n      $(tab).removeAttr('tabindex');\n      $(tab).attr('aria-selected', true);\n      input.prop('checked', true);\n      panel.addClass('active');\n      panel.prop('hidden', false);\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        case keys.home:\n          event.preventDefault();\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        }).on('keydown', function (e) {\n          index = $(this).index();\n          keydownEventListener(e, index, tablist); // Trigger events when releasing key.\n        }).on('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-12-23 .sui-tabs').length) {\n    // Support tabs new markup.\n    SUI.tabs(); // Support legacy tabs.\n\n    SUI.suiTabs();\n    $('.sui-2-12-23 .sui-tabs-navigation').each(function () {\n      SUI.tabsOverflow($(this));\n    });\n  }\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _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-12-23 .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    }); // check whether element exist then execute js\n\n    if ($('.sui-2-12-23 .sui-file-upload').length) {\n      // This will trigger on file change. \n      $('.sui-2-12-23 .sui-file-browser input[type=\"file\"]').on('change', function () {\n        var parent = $(this).parent();\n        var filename = $(this).val();\n        var imageContainer = parent.find('.sui-upload-image');\n\n        if (filename) {\n          var lastIndex = filename.lastIndexOf(\"\\\\\");\n\n          if (lastIndex >= 0) {\n            filename = filename.substring(lastIndex + 1); // To show uploaded file preview.\n\n            if (imageContainer.length) {\n              var reader = new FileReader();\n              var imagePreview = imageContainer.find('.sui-image-preview');\n\n              reader.onload = function (e) {\n                imagePreview.attr('style', 'background-image: url(' + e.target.result + ' );');\n              };\n\n              reader.readAsDataURL($(this)[0].files[0]);\n            }\n\n            parent.find('.sui-upload-file > span').text(filename);\n            parent.addClass('sui-has_file');\n          }\n        } else {\n          if (imageContainer.length) {\n            var imagePreview = imageContainer.find('.sui-image-preview');\n            imagePreview.attr('style', 'background-image: url();');\n          }\n\n          parent.find('.sui-upload-file > span').text('');\n          parent.removeClass('sui-has_file');\n        }\n      }); // This will trigger on click of upload button\n\n      $('.sui-2-12-23 .sui-file-browser .sui-upload-button').on('click', function () {\n        selectFile($(this));\n      }); // This will trigger when user wants to remove the selected upload file\n\n      $('.sui-2-12-23 .sui-file-upload [aria-label=\"Remove file\"]').on('click', function () {\n        removeFile($(this));\n      }); // This will trigger reupload of file\n\n      $('.sui-2-12-23 .sui-file-browser .sui-upload-image').on('click', function () {\n        selectFile($(this));\n      }); // upload drag and drop functionality\n\n      var isAdvancedUpload = function () {\n        var div = document.createElement('div');\n        return ('draggable' in div || 'ondragstart' in div && 'ondrop' in div) && 'FormData' in window && 'FileReader' in window;\n      }();\n\n      var uploadArea = $('.sui-2-12-23 .sui-upload-button');\n\n      if (isAdvancedUpload) {\n        var droppedFiles = false;\n        uploadArea.on('drag dragstart dragend dragover dragenter dragleave drop', function (e) {\n          e.preventDefault();\n          e.stopPropagation();\n        }).on('dragover dragenter', function () {\n          uploadArea.addClass('sui-is-dragover');\n        }).on('dragleave dragend drop', function () {\n          uploadArea.removeClass('sui-is-dragover');\n        }).on('drop', function (e) {\n          droppedFiles = e.originalEvent.dataTransfer.files;\n          uploadedFile($(this), droppedFiles[0], droppedFiles[0].name);\n        });\n      } // function to set uploaded file\n\n\n      var uploadedFile = function uploadedFile(element, file, filename) {\n        var parent = element.closest('.sui-upload');\n        var imageContainer = parent.find('.sui-upload-image');\n\n        if (filename) {\n          if (imageContainer.length) {\n            var reader = new FileReader();\n            var imagePreview = imageContainer.find('.sui-image-preview');\n\n            reader.onload = function (e) {\n              imagePreview.attr('style', 'background-image: url(' + e.target.result + ' );');\n            };\n\n            reader.readAsDataURL(file);\n          }\n\n          parent.find('.sui-upload-file > span').text(filename);\n          parent.addClass('sui-has_file');\n        }\n      }; // function to open browser file explorer for selecting file\n\n\n      var selectFile = function selectFile(element) {\n        var parent = element.closest('.sui-upload');\n        var file = parent.find('input[type=\"file\"]');\n        file.trigger('click');\n      }; // function to remove file\n\n\n      var removeFile = function removeFile(element) {\n        var parent = element.closest('.sui-upload');\n        var file = parent.find('input[type=\"file\"]');\n        file.val('').change();\n      };\n    }\n  };\n\n  SUI.upload();\n})(jQuery);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/**\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/code-snippet' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/modal-dialog' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/notifications' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/select2.full' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/select2' );\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"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","$","ClipboardJS","window","document","undefined","pluginName","defaults","copyText","copiedText","SUICodeSnippet","element","options","this","$element","settings","extend","_defaults","_name","_clipboardJs","_clipboardId","init","self","button","parent","length","wrap","generateUniqueId","attr","after","on","e","clearSelection","showTooltip","trigger","removeClass","removeAttr","getClipboardJs","msg","addClass","Math","random","toString","substr","destroy","unwrap","remove","fn","each","data","jQuery","SUI","suiCodeSnippet","ready","aria","KeyCode","BACKSPACE","TAB","RETURN","ESC","SPACE","PAGE_UP","PAGE_DOWN","END","HOME","LEFT","UP","RIGHT","DOWN","DELETE","Utils","item","parentNode","removeChild","isFocusable","tabIndex","getAttribute","disabled","nodeName","href","rel","type","simulateClick","evt","MouseEvent","bubbles","cancelable","view","dispatchEvent","IgnoreUtilFocusChanges","dialogOpenClass","focusFirstDescendant","i","childNodes","child","attemptFocus","focusLastDescendant","focus","activeElement","OpenDialogList","Array","getCurrentDialog","closeCurrentDialog","currentDialog","close","handleEscape","event","which","keyCode","stopPropagation","Dialog","dialogId","focusAfterClosed","focusFirst","hasOverlayMask","isCloseOnEsc","arguments","isAnimated","dialogNode","getElementById","Error","validRoles","trim","split","some","token","role","openEvent","Event","backdropClass","classList","contains","backdropNode","createElement","className","setAttribute","insertBefore","dialogNodev","appendChild","add","body","preDiv","preNode","onclick","postDiv","postNode","nextSibling","removeListeners","addListeners","push","lastFocus","afterOpenEvent","closeEvent","pop","setTimeout","slides","querySelectorAll","hasAttribute","newDialogSize","newDialogLabel","getDialogLabel","newDialogDesc","getDialogDesc","removeAttribute","afterCloseEvent","replace","newDialogId","newFocusAfterClosed","newFocusFirst","slide","newSlideId","newSlideFocus","newSlideEntrance","animation","getAllSlides","getNewSlide","addEventListener","trapFocus","removeEventListener","parentElement","target","openModal","dialogOverlay","closeModal","replaceModal","slideModal","modalDialog","buttonOpen","buttonClose","buttonReplace","buttonSlide","overlayMask","modalId","slideId","closeFocus","newFocus","preventDefault","_defineProperty","key","value","Object","defineProperty","enumerable","configurable","writable","_this","openNotice","noticeId","noticeMessage","noticeOptions","noticeNode","nodeWrapper","utils","allowedNotices","isObject","isPlainObject","deepMerge","_len","sources","_key","source","shift","assign","apply","concat","setProperties","incomingOptions","icon","dismiss","show","label","tooltip","autoclose","timeout","buildDismiss","html","innerHTML","hasClass","buildIcon","buildMessage","prepend","buildNotice","append","showNotice","slideDown","find","closeNotice","parseInt","fadeIn","slideUp","fadeOut","hide","hideNotice","empty","notice","Open","is","paragraph","Close","closest","btnOpen","btnClose","reviews","review","rating","stars","round","starsBlock","replaceWith","ajax","url","success","stats","average_rating","S2","select2","amd","requirejs","require","define","undef","main","_req","makeMap","handlers","defined","waiting","config","defining","hasOwn","hasOwnProperty","aps","slice","jsSuffixRegExp","hasProp","prop","call","normalize","name","baseName","nameParts","nameSegment","mapValue","foundMap","lastIndex","foundI","foundStarMap","starI","j","part","baseParts","map","starMap","nodeIdCompat","test","charAt","splice","join","makeRequire","relName","forceSync","args","makeNormalize","makeLoad","depName","callDep","splitPrefix","prefix","index","indexOf","substring","makeRelParts","makeConfig","relParts","plugin","parts","relResourceName","f","n","pr","p","exports","module","id","uri","deps","callback","cjsModule","ret","usingExports","callbackType","load","alt","cfg","_defined","_$","console","error","getMethods","theClass","proto","methods","methodName","Extend","ChildClass","SuperClass","__hasProp","BaseConstructor","__super__","Decorate","DecoratorClass","decoratedMethods","superMethods","DecoratedClass","unshift","argCount","calledConstructor","ctr","displayName","m","superMethod","calledMethod","originalMethod","decoratedMethod","d","Observable","listeners","params","_type","invoke","len","generateChars","chars","floor","bind","func","context","_convertData","originalKey","keys","dataLevel","k","toLowerCase","hasScroll","el","$el","overflowX","style","overflowY","innerHeight","scrollHeight","innerWidth","scrollWidth","escapeMarkup","markup","replaceMap","String","match","__cache","GetUniqueElementId","select2Id","StoreData","GetData","RemoveData","copyNonInternalCssClasses","dest","src","destinationClasses","filter","clazz","sourceClasses","replacements","Results","dataAdapter","render","$results","get","clear","displayMessage","hideLoading","$message","message","hideMessages","$options","results","sort","$option","option","children","position","$dropdown","sorter","highlightFirstItem","$selected","first","ensureHighlightVisible","setClasses","current","selected","selectedIds","s","showLoading","loading","text","loadingMore","$loading","attrs","matches","Element","msMatchesSelector","webkitMatchesSelector","_resultId","title","val","template","$children","c","$child","$childrenContainer","container","$container","isOpen","$highlighted","getHighlightedResults","currentIndex","nextIndex","$next","eq","currentOffset","offset","top","nextTop","nextOffset","scrollTop","outerHeight","nextBottom","mousewheel","bottom","deltaY","isAtTop","isAtBottom","height","$this","originalEvent","offsetDelta","result","content","display","ENTER","SHIFT","CTRL","ALT","KEYS","BaseSelection","$selection","_tabindex","resultsId","_handleBlur","update","_attachCloseHandler","_detachCloseHandler","$select","SUIselect2","off","isEnabled","isDisabled","SingleSelection","$rendered","selectionContainer","selection","formatted","MultipleSelection","$selections","selectionIdPrefix","selectionId","removeItem","$remove","Placeholder","decorated","placeholder","normalizePlaceholder","_","createPlaceholder","$placeholder","placeholderTitle","singlePlaceholder","AllowClear","_handleClear","_handleKeyboardClear","$clear","previousVal","unselectData","prevented","removeAll","Search","searchLabel","$search","$searchContainer","_transferTabIndex","resizeSearch","_keyUpPrevented","isDefaultPrevented","$previousChoice","last","searchRemoveChoice","msie","documentMode","disableInputEvents","handleSearch","searchHadFocus","input","term","css","width","SelectionCSS","selectionCssClass","EventRelay","relayEvents","preventableEvents","Translation","dict","all","translation","_cache","loadPath","path","translations","BaseAdapter","query","generateResultId","SelectAdapter","selectedElement","select","tagName","currentData","unselect","addOptions","textContent","innerText","normalizedData","_normalizeItem","matcher","ArrayAdapter","_dataToConvert","convertToOptions","elm","$existing","existingIds","onlyItem","$existingOption","existingData","newData","$newOption","AjaxAdapter","ajaxOptions","_applyDefaults","processResults","q","transport","failure","$request","then","fail","_request","abort","request","isArray","status","delay","_queryTimeout","clearTimeout","Tags","tags","createTag","insertTag","t","tag","wrapper","checkChildren","toUpperCase","_removeOldTags","page","Tokenizer","tokenizer","dropdown","createAndSelect","tokenData","separators","termChar","MinimumInputLength","$e","minimumInputLength","minimum","MaximumInputLength","maximumInputLength","maximum","MaximumSelectionLength","maximumSelectionLength","_checkIfMaximumSelected","successCallback","count","Dropdown","showSearch","HidePlaceholder","removePlaceholder","modifiedData","InfiniteScroll","lastParams","$loadingMore","createLoadingMore","showLoadingMore","loadMoreIfNeeded","isLoadMoreVisible","documentElement","loadMore","pagination","more","AttachBody","$dropdownParent","_showDropdown","_attachPositioningHandler","_bindContainerResultHandlers","_hideDropdown","_detachPositioningHandler","$dropdownContainer","detach","_containerResultsHandlersBound","_positionDropdown","_resizeDropdown","scrollEvent","resizeEvent","orientationEvent","$watchers","parents","x","scrollLeft","y","ev","$window","isCurrentlyAbove","isCurrentlyBelow","newDirection","viewport","enoughRoomAbove","enoughRoomBelow","left","$offsetParent","offsetParent","parentOffset","isConnected","outerWidth","minWidth","appendTo","countResults","MinimumResultsForSearch","minimumResultsForSearch","Infinity","SelectOnClose","_handleSelectOnClose","originalSelect2Event","$highlightedResults","CloseOnSelect","_selectTriggered","ctrlKey","metaKey","DropdownCSS","dropdownCssClass","TagsSearchHighlight","$firstOption","firstElement","errorLoading","inputTooLong","overChars","inputTooShort","maximumSelected","noResults","searching","removeAllItems","search","ResultsList","SelectionSearch","DIACRITICS","SelectData","ArrayData","AjaxData","DropdownSearch","EnglishTranslation","Defaults","reset","tokenSeparators","resultsAdapter","selectOnClose","dropdownAdapter","multiple","SearchableDropdown","closeOnSelect","selectionAdapter","allowClear","language","_resolveLanguage","uniqueLanguages","l","_processTranslations","debug","stripDiacritics","a","original","amdLanguageBase","autocomplete","dropdownAutoWidth","scrollAfterSelect","templateResult","templateSelection","theme","applyFromElement","optionLanguage","defaultLanguage","elementLanguage","parentLanguage","languages","isEmptyObject","resolvedLanguages","baseLanguage","languageData","ex","warn","set","camelCase","convertedData","Options","fromElement","excludedData","dir","dataset","upperCaseLetter","letter","attributes","attributeName","dataName","dataValue","jquery","Select2","_generateId","tabindex","DataAdapter","_placeContainer","SelectionAdapter","DropdownAdapter","ResultsAdapter","_bindAdapters","_registerDomEvents","_registerDataEvents","_registerSelectionEvents","_registerDropdownEvents","_registerResultsEvents","_registerEvents","initialData","_syncAttributes","insertAfter","_resolveWidth","method","WIDTH","styleWidth","elementWidth","getComputedStyle","_syncA","_syncS","_syncSubtree","_observer","MutationObserver","mutations","observe","childList","subtree","nonRelayEvents","toggleDropdown","isMultiSelect","altKey","open","next","prev","selectedValue","keyPressed","fromCharCode","values","_$$text","startsWith","arrLength","elemVal","_isChangeMutation","addedNodes","removedNodes","mutation","changed","actualTrigger","preTriggerMap","preTriggerName","preTriggerArgs","hasFocus","enable","newVal","disconnect","removeData","thisMethods","instanceOptions","instance","factory","escapeJS","string","formatIcon","formatIconSelection","formatColor","border","color","formatColorSelection","formatVars","formatVarsSelection","getParent","getParentId","selectParent","hasSearch","isSmall","dropdownParent","initIcon","initColor","initSearch","initVars","suiTabs","indexGroup","indexItem","types","groups","activeGroups","activeChildren","activeItems","memory","onClick","groupIndex","itemIndex","setNodes","tab","pane","putActiveClass","setOption","tabItems","setDefaults","tabGroup","paneGroup","location","hash","tabsOverflow","tabs","leftButton","rightButton","overflowing","reachedEnd","newScrollLeft","animate","tabgroup","tablist","end","home","up","right","down","enter","space","direction","clickEventListener","determineOrientation","keydownEventListener","activateTab","keyupEventListener","inputs","panels","controls","panel","deactivateTabs","proceed","pressed","switchTabOnArrowPress","currentTab","setCallback","upload","file","files","filename","imageContainer","lastIndexOf","reader","FileReader","imagePreview","onload","readAsDataURL","selectFile","removeFile","isAdvancedUpload","div","uploadArea","droppedFiles","dataTransfer","uploadedFile","change","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__"],"sourceRoot":""}