diff --git a/css/creative.css b/css/creative.css index 8caa80b4..431e25b5 100755 --- a/css/creative.css +++ b/css/creative.css @@ -315,24 +315,31 @@ border-bottom: 0px !important; } +.graphclose .close{ + color: white; + opacity: 0.7 + } + + .graphclose .close:focus, .graphclose .close:hover { + color: white; + opacity: 1 + } /* next css sets the default height of the frame popup */ +/* .popupheight { height: calc(95vh - 150px); } +*/ .modal-body .glyphicon { color: #a80002; cursor: help; } -.modal-dialog-settings { - width: 70%; - margin: 80px auto; -} .nav { border-bottom: 1px solid #e5e5e5; @@ -385,6 +392,8 @@ next css sets the default height of the frame popup .modal-dialog-custom { min-width: 10px; width: 80%; + height: 80%; + margin: auto; } .material-switch>input[type='checkbox'] { @@ -763,6 +772,15 @@ a.playlist { height: 300px; } */ +.modal-content { + display: flex; + flex-direction: column; + height: 100%; +} + +.modal-body { + height: 100% +} .modal.opengraph .modal-content { background-color: #222; @@ -783,12 +801,15 @@ a.playlist { .graphwidth { min-width: 30px; - width: 100vw; + width: 80%; } -@media (min-width: 768px) { - .graphwidth { - width: 80vw; +@media (max-width: 768px) { +/* .graphwidth { + width: 100vw; + }*/ + .modal-dialog { + width: 100% } } @@ -1908,6 +1929,15 @@ a:not([href]) { text-align: center; } +.modal-dialog { + display: inline-block; + text-align: left; + vertical-align: middle; + min-width: 50%; + margin-left:auto; + margin-right: auto; +} + @media screen and (min-width: 768px) { .modal:before { display: inline-block; @@ -1915,16 +1945,13 @@ a:not([href]) { content: ' '; height: 100%; } -} -.modal-dialog { - display: inline-block; - text-align: left; - vertical-align: middle; - min-width: 50%; + .modal-dialog-settings { + margin: 80px auto; + vertical-align: top; + } } - /* START: NEWS BLOCK*/ #newsTicker { @@ -2696,14 +2723,27 @@ td.agenda-title { background-color: rgba(0, 0, 0, 0.2); } +.sec-modal .sec-frame { + position: relative +} + .sec-frame { + border-radius: 5px; + position: relative; + width: 12em; + margin: 0 auto +} + +.sec-frame.decorated { background-image: url(../img/bg14.jpg); -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75); -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75); box-shadow: 0px 6px 20px 5px rgba(0, 0, 0, 0.75), inset 0px 5px 7px -2px rgba(252, 252, 252, 0.2), inset 0 -14px 8px 2px rgba(0, 0, 0, 0.7); - border-radius: 5px; - position: relative; - height: 100%; + padding: 1em; +} + +.sec-frame:not(.decorated) { + background-color: rgba(0,0,0,0.2); } .sec-frame .keypad-header { @@ -2711,15 +2751,13 @@ td.agenda-title { white-space: nowrap; align-items: center; justify-content: center; - height: 5%; - position: absolute; width: 100%; - top: 7%; - font-size: 2vw; + height: 2em; + font-size: 100%; } .sec-frame .keypad-header .fas { - font-size: 100%; + font-size: 100% !important; } .sec-frame .keypad-header .text { @@ -2755,30 +2793,20 @@ td.agenda-title { color: #494848; text-align: center; font-family: monospace; - position: absolute; - bottom: 7%; width: 100%; - height: 3%; - font-size: 0.6vw; + font-size: 50%; + line-height: 2; } .sec-frame .keypad-input { - text-align: left; - position: absolute; - width: 80%; - top: 15%; - height: 75%; - margin: 0 10%; + margin: 0 2%; } .sec-frame .keypad-input table { border-collapse: separate; border-spacing: 1px; width: 100%; - position: absolute; - top: 12%; margin: 0; - height: 82%; } .sec-frame .keypad-input table td { @@ -2788,22 +2816,19 @@ td.agenda-title { .sec-frame .keypad-input table tr { white-space: nowrap; - height: 25%; } .sec-frame .keypad-input .input-container { - background-color: #161616; - position: absolute; overflow: hidden; - height: 10%; - left: 2%; - right: 2%; + margin: 0 2%; +} + +.sec-frame.decorated .keypad-input .input-container { box-shadow: 0px 2px 9px 1px rgba(0, 0, 0, 0.8); } .sec-frame .keypad-input .key-input { font-family: 'Audiowide' !important; - font-size: 2vw; width: 100%; border-radius: 3px; background-color: #161616; @@ -2813,6 +2838,7 @@ td.agenda-title { font-family: monospace; text-align: center; height: 100%; + font-size: 70%; } .text-strobe { @@ -2842,16 +2868,20 @@ td.agenda-title { -webkit-user-select: none; -ms-user-select: none; user-select: none; - -webkit-box-shadow: 0px 11px 22px #000000, 0px 3px 15px rgba(0, 0, 0, 0.4), inset 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 0px 3px rgba(255, 255, 255, 0.5); - -moz-box-shadow: 0px 11px 22px #000000, 0px 3px 15px rgba(0, 0, 0, 0.4), inset 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 0px 3px rgba(255, 255, 255, 0.5); - box-shadow: 0px 11px 22px #000000, 0px 3px 15px rgba(0, 0, 0, 0.4), inset 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 0px 3px rgba(255, 255, 255, 0.5); font-family: monospace; text-transform: uppercase; font-weight: 900; - font-size: 3.5vw; display: flex; justify-content: center; align-items: center; + font-size: 100%; + line-height: 1.75; +} + +.sec-frame.decorated .keypad-input .key { + -webkit-box-shadow: 0px 11px 22px #000000, 0px 3px 15px rgba(0, 0, 0, 0.4), inset 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 0px 3px rgba(255, 255, 255, 0.5); + -moz-box-shadow: 0px 11px 22px #000000, 0px 3px 15px rgba(0, 0, 0, 0.4), inset 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 0px 3px rgba(255, 255, 255, 0.5); + box-shadow: 0px 11px 22px #000000, 0px 3px 15px rgba(0, 0, 0, 0.4), inset 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 0px 3px rgba(255, 255, 255, 0.5); } .sec-frame .keypad-input .key:not(.disabled):hover { @@ -2938,8 +2968,8 @@ td.agenda-title { .screw { position: absolute; - width: 5%; - height: 4%; + width: 0.5em; + height: 0.5em; border-radius: 100%; background: -moz-linear-gradient( -45deg, #adadad 0%, #e1e1e1 51%, #dddddd 68%, #f6f6f6 100%); background: -webkit-gradient( linear, left top, right bottom, color-stop(0%, #adadad), color-stop(51%, #e1e1e1), color-stop(68%, #dddddd), color-stop(100%, #f6f6f6)); @@ -2970,23 +3000,23 @@ td.agenda-title { } .sec-frame .screw.tl { - top: 3%; - left: 3%; + top: 0.5em; + left: 0.5em; } .sec-frame .screw.tr { - top: 3%; - right: 3%; + top: 0.5em; + right: 0.5em; } .sec-frame .screw.bl { - bottom: 3%; - left: 3%; + bottom: 0.5em; + left: 0.5em; } .sec-frame .screw.br { - bottom: 3%; - right: 3%; + bottom: 0.5em; + right: 0.5em; } .sec-frame td .status.key.disabled { @@ -3983,12 +4013,10 @@ td.agenda-title { } -/* + .colorpicker .modal-content { - max-width: 90%; - min-width: unset; - width: 50%; -}*/ + height: fit-content; +} .colorpicker .cp-iro { overflow-x: auto; diff --git a/custom/custom.css b/custom/custom.css deleted file mode 100644 index ad852d9b..00000000 --- a/custom/custom.css +++ /dev/null @@ -1,3 +0,0 @@ -/* -CUSTOM CSS FILE -*/ \ No newline at end of file diff --git a/custom/custom.js b/custom/custom.js deleted file mode 100644 index 88037c9d..00000000 --- a/custom/custom.js +++ /dev/null @@ -1,10 +0,0 @@ - //add custom javascript in here -function afterGetDevices(){ - - -} - -function getExtendedBlockTypes(blocktypes){ - //blocktypes.Type['Lighting 2'] = { icon: 'fa fa-lightbulb-o', title: '', value: 'ds' } - return blocktypes; -} diff --git a/custom_2/custom.css b/custom_2/custom.css deleted file mode 100644 index ad852d9b..00000000 --- a/custom_2/custom.css +++ /dev/null @@ -1,3 +0,0 @@ -/* -CUSTOM CSS FILE -*/ \ No newline at end of file diff --git a/custom_2/custom.js b/custom_2/custom.js deleted file mode 100644 index d186cde2..00000000 --- a/custom_2/custom.js +++ /dev/null @@ -1,10 +0,0 @@ -//add custom javascript in here -function afterGetDevices(){ - - -} - -function getExtendedBlockTypes(blocktypes){ - //blocktypes.Type['Lighting 2'] = { icon: 'fa fa-lightbulb-o', title: '', value: 'ds' } - return blocktypes; -} \ No newline at end of file diff --git a/dist/bundle.js b/dist/bundle.js index 64e4f3a5..d28b4f15 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -338,7 +338,7 @@ f.exports=function(f){return null!=f&&(isBuffer(f)||function isSlowBuffer(f){ret * * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license - */!function(Y){if(void 0===(L="function"==typeof(S=Y)?S.call(p,M,p,f):S)||(f.exports=L),!0,f.exports=Y(),!!0){var E=window.Cookies,O=window.Cookies=Y();O.noConflict=function(){return window.Cookies=E,O}}}((function(){function extend(){for(var f=0,p={};f 3) {\n s[0] = s[0].replace(/\\B(?=(?:\\d{3})+(?!\\d))/g, sep);\n }\n\n if ((s[1] || '').length < prec) {\n s[1] = s[1] || '';\n s[1] += new Array(prec - s[1].length + 1).join('0');\n }\n\n return s.join(dec);\n}\n/**\n * Simple log function to log to the console if debug is true (set this in CONFIG.js)\n * @param message\n */\n\n\nfunction log(message) {\n if (config['debug']) {\n console.log(message);\n }\n}\n/* Timeout if index.html is not loading correct */\n\n\nfunction showIt() {\n document.getElementById('hide').style.visibility = 'visible';\n}\n\nsetTimeout('showIt()', 3000); // after 3 sec\n\nfunction setSrc(cur) {\n $($(cur).data('target')).on('hidden.bs.modal', function () {\n $($(cur).data('target')).find('iframe').removeAttr('src');\n });\n\n if (typeof $($(cur).data('target')).find('iframe').attr('src') == 'undefined') {\n $($(cur).data('target')).find('iframe').attr('src', $($(cur).data('target')).find('iframe').data('popup'));\n }\n}\n\nfunction hexToRgb(hex) {\n hex = parseInt(hex.indexOf('#') > -1 ? hex.substring(1) : hex, 16);\n return {\n r: hex >> 16,\n g: (hex & 0x00ff00) >> 8,\n b: hex & 0x0000ff\n };\n}\n\nfunction hexToHsb(hex) {\n return rgbToHsb(hexToRgb(hex));\n}\n\nfunction rgbToHsb(rgb) {\n var hsb = {\n h: 0,\n s: 0,\n b: 0\n };\n var min = Math.min(rgb.r, rgb.g, rgb.b);\n var max = Math.max(rgb.r, rgb.g, rgb.b);\n var delta = max - min;\n hsb.b = max;\n hsb.s = max != 0 ? 255 * delta / max : 0;\n\n if (hsb.s != 0) {\n if (rgb.r == max) hsb.h = (rgb.g - rgb.b) / delta;else if (rgb.g == max) hsb.h = 2 + (rgb.b - rgb.r) / delta;else hsb.h = 4 + (rgb.r - rgb.g) / delta;\n } else hsb.h = -1;\n\n hsb.h *= 60;\n if (hsb.h < 0) hsb.h += 360;\n hsb.s *= 100 / 255;\n hsb.b *= 100 / 255;\n return hsb;\n}\n\nfunction ksort(inputArr, sort_flags) {\n // http://jsphp.co/jsphp/fn/view/ksort\n // + original by: GeekFG (http://geekfg.blogspot.com)\n // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + improved by: Brett Zamir (http://brett-zamir.me)\n // % note 1: The examples are correct, this is a new way\n // % note 2: This function deviates from PHP in returning a copy of the array instead\n // % note 2: of acting by reference and returning true; this was necessary because\n // % note 2: IE does not allow deleting and re-adding of properties without caching\n // % note 2: of property position; you can set the ini of \"phpjs.strictForIn\" to true to\n // % note 2: get the PHP behavior, but use this only if you are in an environment\n // % note 2: such as Firefox extensions where for-in iteration order is fixed and true\n // % note 2: property deletion is supported. Note that we intend to implement the PHP\n // % note 2: behavior by default if IE ever does allow it; only gives shallow copy since\n // % note 2: is by reference in PHP anyways\n // % note 3: Since JS objects' keys are always strings, and (the\n // % note 3: default) SORT_REGULAR flag distinguishes by key type,\n // % note 3: if the content is a numeric string, we treat the\n // % note 3: \"original type\" as numeric.\n // - depends on: i18n_loc_get_default\n // - depends on: strnatcmp\n // * example 1: data = {d: 'lemon', a: 'orange', b: 'banana', c: 'apple'};\n // * example 1: data = ksort(data);\n // * results 1: {a: 'orange', b: 'banana', c: 'apple', d: 'lemon'}\n // * example 2: ini_set('phpjs.strictForIn', true);\n // * example 2: data = {2: 'van', 3: 'Zonneveld', 1: 'Kevin'};\n // * example 2: ksort(data);\n // * results 2: data == {1: 'Kevin', 2: 'van', 3: 'Zonneveld'}\n // * returns 2: true\n var tmp_arr = {},\n keys = [],\n sorter,\n i,\n k,\n that = this,\n strictForIn = false,\n populateArr = {};\n\n switch (sort_flags) {\n case 'SORT_STRING':\n // compare items as strings\n sorter = function sorter(a, b) {\n return that.strnatcmp(a, b);\n };\n\n break;\n\n case 'SORT_LOCALE_STRING':\n // compare items as strings, based on the current locale (set with i18n_loc_set_default() as of PHP6)\n var loc = this.i18n_loc_get_default();\n sorter = this.php_js.i18nLocales[loc].sorting;\n break;\n\n case 'SORT_NUMERIC':\n // compare items numerically\n sorter = function sorter(a, b) {\n return a + 0 - (b + 0);\n };\n\n break;\n // case 'SORT_REGULAR': // compare items normally (don't change types)\n\n default:\n sorter = function sorter(a, b) {\n var aFloat = parseFloat(a),\n bFloat = parseFloat(b),\n aNumeric = aFloat + '' === a,\n bNumeric = bFloat + '' === b;\n\n if (aNumeric && bNumeric) {\n return aFloat > bFloat ? 1 : aFloat < bFloat ? -1 : 0;\n } else if (aNumeric && !bNumeric) {\n return 1;\n } else if (!aNumeric && bNumeric) {\n return -1;\n }\n\n return a > b ? 1 : a < b ? -1 : 0;\n };\n\n break;\n } // Make a list of key names\n\n\n for (k in inputArr) {\n if (inputArr.hasOwnProperty(k)) {\n keys.push(k);\n }\n }\n\n keys.sort(sorter); // BEGIN REDUNDANT\n\n this.php_js = this.php_js || {};\n this.php_js.ini = this.php_js.ini || {}; // END REDUNDANT\n\n strictForIn = this.php_js.ini['phpjs.strictForIn'] && this.php_js.ini['phpjs.strictForIn'].local_value && this.php_js.ini['phpjs.strictForIn'].local_value !== 'off';\n populateArr = strictForIn ? inputArr : populateArr; // Rebuild array with sorted key names\n\n for (i = 0; i < keys.length; i++) {\n k = keys[i];\n tmp_arr[k] = inputArr[k];\n\n if (strictForIn) {\n delete inputArr[k];\n }\n }\n\n for (i in tmp_arr) {\n if (tmp_arr.hasOwnProperty(i)) {\n populateArr[i] = tmp_arr[i];\n }\n }\n\n return strictForIn || populateArr;\n}\n\nfunction capitalizeFirstLetter(string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n\n$.getJSONP = function (s) {\n s.dataType = 'jsonp';\n $.ajax(s); // figure out what the callback fn is\n\n var $script = $(document.getElementsByTagName('head')[0].firstChild);\n var url = $script.attr('src') || '';\n var cb = (url.match(/callback=(\\w+)/) || [])[1];\n if (!cb) return; // bail\n\n var t = 0,\n cbFn = window[cb];\n\n $script[0].onerror = function (e) {\n $script.remove();\n handleError(s, {}, 'error', e);\n clearTimeout(t);\n };\n\n if (!s.timeout) return;\n\n window[cb] = function (json) {\n clearTimeout(t);\n cbFn(json);\n cbFn = null;\n };\n\n t = setTimeout(function () {\n $script.remove();\n handleError(s, {}, 'timeout');\n if (cbFn) window[cb] = function () {};\n }, s.timeout);\n\n function handleError(s, o, msg, e) {\n // support jquery versions before and after 1.4.3\n ($.ajax.handleError || $.handleError)(s, o, msg, e);\n }\n};\n\n$.handleError = function (s, xhr, status, e) {\n // If a local callback was specified, fire it\n if (s.error) {\n s.error.call(s.context || window, xhr, status, e);\n } // Fire the global callback\n\n\n if (s.global) {\n (s.context ? jQuery(s.context) : jQuery.event).trigger('ajaxError', [xhr, s, e]);\n }\n};\n\nfunction objectlength(a) {\n var count = 0;\n var i;\n\n for (i in a) {\n if (a.hasOwnProperty(i)) {\n count++;\n }\n }\n\n return count;\n}\n\nfunction getRandomInt(min, max) {\n return Math.floor(Math.random() * (max - min + 1)) + min;\n}\n\nfunction time() {\n return Math.floor(new Date().getTime() / 1000);\n}\n\nfunction str_replace(find, replace, str) {\n return str.replace(new RegExp(find, 'g'), replace);\n}\n\nfunction strtotime(text, now) {\n var parsed,\n match,\n today,\n year,\n date,\n days,\n ranges,\n len,\n times,\n regex,\n i,\n fail = false;\n\n if (!text) {\n return fail;\n } // Unecessary spaces\n\n\n text = text.replace(/^\\s+|\\s+$/g, '').replace(/\\s{2,}/g, ' ').replace(/[\\t\\r\\n]/g, '').toLowerCase();\n match = text.match(/^(\\d{1,4})([\\-\\.\\/\\:])(\\d{1,2})([\\-\\.\\/\\:])(\\d{1,4})(?:\\s(\\d{1,2}):(\\d{2})?:?(\\d{2})?)?(?:\\s([A-Z]+)?)?$/);\n\n if (match && match[2] === match[4]) {\n if (match[1] > 1901) {\n switch (match[2]) {\n case '-':\n {\n // YYYY-M-D\n if (match[3] > 12 || match[5] > 31) {\n return fail;\n }\n\n return new Date(match[1], parseInt(match[3], 10) - 1, match[5], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case '.':\n {\n // YYYY.M.D is not parsed by strtotime()\n return fail;\n }\n\n case '/':\n {\n // YYYY/M/D\n if (match[3] > 12 || match[5] > 31) {\n return fail;\n }\n\n return new Date(match[1], parseInt(match[3], 10) - 1, match[5], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n }\n } else if (match[5] > 1901) {\n switch (match[2]) {\n case '-':\n {\n // D-M-YYYY\n if (match[3] > 12 || match[1] > 31) {\n return fail;\n }\n\n return new Date(match[5], parseInt(match[3], 10) - 1, match[1], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case '.':\n {\n // D.M.YYYY\n if (match[3] > 12 || match[1] > 31) {\n return fail;\n }\n\n return new Date(match[5], parseInt(match[3], 10) - 1, match[1], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case '/':\n {\n // M/D/YYYY\n if (match[1] > 12 || match[3] > 31) {\n return fail;\n }\n\n return new Date(match[5], parseInt(match[1], 10) - 1, match[3], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n }\n } else {\n switch (match[2]) {\n case '-':\n {\n // YY-M-D\n if (match[3] > 12 || match[5] > 31 || match[1] < 70 && match[1] > 38) {\n return fail;\n }\n\n year = match[1] >= 0 && match[1] <= 38 ? +match[1] + 2000 : match[1];\n return new Date(year, parseInt(match[3], 10) - 1, match[5], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case '.':\n {\n // D.M.YY or H.MM.SS\n if (match[5] >= 70) {\n // D.M.YY\n if (match[3] > 12 || match[1] > 31) {\n return fail;\n }\n\n return new Date(match[5], parseInt(match[3], 10) - 1, match[1], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n if (match[5] < 60 && !match[6]) {\n // H.MM.SS\n if (match[1] > 23 || match[3] > 59) {\n return fail;\n }\n\n today = new Date();\n return new Date(today.getFullYear(), today.getMonth(), today.getDate(), match[1] || 0, match[3] || 0, match[5] || 0, match[9] || 0) / 1000;\n }\n\n return fail; // invalid format, cannot be parsed\n }\n\n case '/':\n {\n // M/D/YY\n if (match[1] > 12 || match[3] > 31 || match[5] < 70 && match[5] > 38) {\n return fail;\n }\n\n year = match[5] >= 0 && match[5] <= 38 ? +match[5] + 2000 : match[5];\n return new Date(year, parseInt(match[1], 10) - 1, match[3], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case ':':\n {\n // HH:MM:SS\n if (match[1] > 23 || match[3] > 59 || match[5] > 59) {\n return fail;\n }\n\n today = new Date();\n return new Date(today.getFullYear(), today.getMonth(), today.getDate(), match[1] || 0, match[3] || 0, match[5] || 0) / 1000;\n }\n }\n }\n } // other formats and \"now\" should be parsed by Date.parse()\n\n\n if (text === 'now') {\n return now === null || isNaN(now) ? new Date().getTime() / 1000 | 0 : now | 0;\n }\n\n if (!isNaN(parsed = Date.parse(text))) {\n return parsed / 1000 | 0;\n }\n\n date = now ? new Date(now * 1000) : new Date();\n days = {\n sun: 0,\n mon: 1,\n tue: 2,\n wed: 3,\n thu: 4,\n fri: 5,\n sat: 6\n };\n ranges = {\n yea: 'FullYear',\n mon: 'Month',\n day: 'Date',\n hou: 'Hours',\n min: 'Minutes',\n sec: 'Seconds'\n };\n\n function lastNext(type, range, modifier) {\n var diff,\n day = days[range];\n\n if (typeof day !== 'undefined') {\n diff = day - date.getDay();\n\n if (diff === 0) {\n diff = 7 * modifier;\n } else if (diff > 0 && type === 'last') {\n diff -= 7;\n } else if (diff < 0 && type === 'next') {\n diff += 7;\n }\n\n date.setDate(date.getDate() + diff);\n }\n }\n\n function process(val) {\n var splt = val.split(' '),\n // Todo: Reconcile this with regex using \\s, taking into account browser issues with split and regexes\n type = splt[0],\n range = splt[1].substring(0, 3),\n typeIsNumber = /\\d+/.test(type),\n ago = splt[2] === 'ago',\n num = (type === 'last' ? -1 : 1) * (ago ? -1 : 1);\n\n if (typeIsNumber) {\n num *= parseInt(type, 10);\n }\n\n if (ranges.hasOwnProperty(range) && !splt[1].match(/^mon(day|\\.)?$/i)) {\n return date['set' + ranges[range]](date['get' + ranges[range]]() + num);\n }\n\n if (range === 'wee') {\n return date.setDate(date.getDate() + num * 7);\n }\n\n if (type === 'next' || type === 'last') {\n lastNext(type, range, num);\n } else if (!typeIsNumber) {\n return false;\n }\n\n return true;\n }\n\n times = '(years?|months?|weeks?|days?|hours?|minutes?|min|seconds?|sec' + '|sunday|sun\\\\.?|monday|mon\\\\.?|tuesday|tue\\\\.?|wednesday|wed\\\\.?' + '|thursday|thu\\\\.?|friday|fri\\\\.?|saturday|sat\\\\.?)';\n regex = '([+-]?\\\\d+\\\\s' + times + '|' + '(last|next)\\\\s' + times + ')(\\\\sago)?';\n match = text.match(new RegExp(regex, 'gi'));\n\n if (!match) {\n return fail;\n }\n\n for (i = 0, len = match.length; i < len; i++) {\n if (!process(match[i])) {\n return fail;\n }\n } // ECMAScript 5 only\n // if (!match.every(process))\n // return false;\n\n\n return date.getTime() / 1000;\n}\n\nfunction URLToArray(url) {\n var request = {};\n var pairs = url.substring(url.indexOf('?') + 1).split('&');\n\n for (var i = 0; i < pairs.length; i++) {\n if (!pairs[i]) continue;\n var pair = pairs[i].split('=');\n request[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);\n }\n\n return request;\n}\n\nfunction onlyUnique(value, index, self) {\n return self.indexOf(value) === index;\n}\n\nfunction isDefined(prop) {\n return typeof prop !== 'undefined' ? true : false;\n}\n\nfunction isObject(prop) {\n return _typeof(prop) === 'object' ? true : false;\n}\n\nfunction setHeight(obj) {\n var width = $(obj.mountPoint).width();\n if (width) obj._width = width; //store width for later reference\n else width = obj._width; //use previous value\n\n return isDefined(obj.block.height) && obj.block.height ? obj.block.height : Math.min(Math.round(width / window.innerWidth * window.innerHeight - 25), window.innerHeight - 50);\n}\n/**\n * Returns number formatted with thousand seperator with specified decimals.\n * @param {object} val The input number to format.\n * @param {string} decimal The number of decimal places.\n */\n\n\nfunction formatThousand(val, decimal) {\n var nf = Intl.NumberFormat();\n var config = {\n minimumFractionDigits: decimal,\n maximumFractionDigits: decimal\n };\n return nf.format(val, config);\n}\n\nfunction getLocationParameters() {\n function transformToAssocArray(prmstr) {\n var params = {};\n var prmarr = prmstr.split(\"&\");\n\n for (var i = 0; i < prmarr.length; i++) {\n var tmparr = prmarr[i].split(\"=\");\n params[tmparr[0]] = decodeURI(tmparr[1]);\n }\n\n return params;\n }\n\n var prmstr = window.location.search.substr(1);\n return prmstr != null && prmstr != \"\" ? transformToAssocArray(prmstr) : {};\n}"},function(f,p,M){"use strict";function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}p.__esModule=!0;var S=_interopRequireDefault(M(218)),L=_interopRequireDefault(M(151)),Y=M(232),E=M(236),O=_interopRequireDefault(M(237)),R=_interopRequireDefault(M(152)),W=_interopRequireDefault(M(150)),B=S.default.create;function create(){var f=B();return f.compile=function(p,M){return E.compile(p,M,f)},f.precompile=function(p,M){return E.precompile(p,M,f)},f.AST=L.default,f.Compiler=E.Compiler,f.JavaScriptCompiler=O.default,f.Parser=Y.parser,f.parse=Y.parse,f.parseWithoutProcessing=Y.parseWithoutProcessing,f}var G=create();G.create=create,W.default(G),G.Visitor=R.default,G.default=G,p.default=G,f.exports=p.default},function(f,p,M){"use strict";function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}function _interopRequireWildcard(f){if(f&&f.__esModule)return f;var p={};if(null!=f)for(var M in f)Object.prototype.hasOwnProperty.call(f,M)&&(p[M]=f[M]);return p.default=f,p}p.__esModule=!0;var S=_interopRequireWildcard(M(8)),L=_interopRequireDefault(M(229)),Y=_interopRequireDefault(M(2)),E=_interopRequireWildcard(M(1)),O=_interopRequireWildcard(M(230)),R=_interopRequireDefault(M(150));function create(){var f=new S.HandlebarsEnvironment;return E.extend(f,S),f.SafeString=L.default,f.Exception=Y.default,f.Utils=E,f.escapeExpression=E.escapeExpression,f.VM=O,f.template=function(p){return O.template(p,f)},f}var W=create();W.create=create,R.default(W),W.default=W,p.default=W,f.exports=p.default},function(f,p,M){"use strict";p.__esModule=!0;var S=M(1);p.default=function(f){f.registerHelper("blockHelperMissing",(function(p,M){var L=M.inverse,Y=M.fn;if(!0===p)return Y(this);if(!1===p||null==p)return L(this);if(S.isArray(p))return p.length>0?(M.ids&&(M.ids=[M.name]),f.helpers.each(p,M)):L(this);if(M.data&&M.ids){var E=S.createFrame(M.data);E.contextPath=S.appendContextPath(M.data.contextPath,M.name),M={data:E}}return Y(p,M)}))},f.exports=p.default},function(f,p,M){"use strict";(function(S){p.__esModule=!0;var L=M(1),Y=function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}(M(2));p.default=function(f){f.registerHelper("each",(function(f,p){if(!p)throw new Y.default("Must pass iterator to #each");var M,E=p.fn,O=p.inverse,R=0,W="",B=void 0,G=void 0;function execIteration(p,M,S){B&&(B.key=p,B.index=M,B.first=0===M,B.last=!!S,G&&(B.contextPath=G+p)),W+=E(f[p],{data:B,blockParams:L.blockParams([f[p],p],[G+p,null])})}if(p.data&&p.ids&&(G=L.appendContextPath(p.data.contextPath,p.ids[0])+"."),L.isFunction(f)&&(f=f.call(this)),p.data&&(B=L.createFrame(p.data)),f&&"object"==typeof f)if(L.isArray(f))for(var V=f.length;R=Y.LAST_COMPATIBLE_COMPILER_REVISION&&p<=Y.COMPILER_REVISION)return;if(p2&&ee.push("'"+this.terminals_[J]+"'");ie=this.lexer.showPosition?"Parse error on line "+(O+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+ee.join(", ")+", got '"+(this.terminals_[V]||V)+"'":"Parse error on line "+(O+1)+": Unexpected "+(1==V?"end of input":"'"+(this.terminals_[V]||V)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[V]||V,line:this.lexer.yylineno,loc:B,expected:ee})}}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+V);switch(X[0]){case 1:M.push(V),S.push(this.lexer.yytext),L.push(this.lexer.yylloc),M.push(X[1]),V=null,U?(V=U,U=null):(R=this.lexer.yyleng,E=this.lexer.yytext,O=this.lexer.yylineno,B=this.lexer.yylloc,W>0&&W--);break;case 2:if(Z=this.productions_[X[1]][1],ne.$=S[S.length-Z],ne._$={first_line:L[L.length-(Z||1)].first_line,last_line:L[L.length-1].last_line,first_column:L[L.length-(Z||1)].first_column,last_column:L[L.length-1].last_column},G&&(ne._$.range=[L[L.length-(Z||1)].range[0],L[L.length-1].range[1]]),void 0!==(K=this.performAction.call(ne,E,R,O,this.yy,X[1],S,L)))return K;Z&&(M=M.slice(0,-1*Z*2),S=S.slice(0,-1*Z),L=L.slice(0,-1*Z)),M.push(this.productions_[X[1]][0]),S.push(ne.$),L.push(ne._$),Q=Y[M[M.length-2]][M[M.length-1]],M.push(Q);break;case 3:return!0}}return!0}},p=function(){var f={EOF:1,parseError:function parseError(f,p){if(!this.yy.parser)throw new Error(f);this.yy.parser.parseError(f,p)},setInput:function setInput(f){return this._input=f,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function input(){var f=this._input[0];return this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f,f.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function unput(f){var p=f.length,M=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p-1),this.offset-=p;var S=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),M.length-1&&(this.yylineno-=M.length-1);var L=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:M?(M.length===S.length?this.yylloc.first_column:0)+S[S.length-M.length].length-M[0].length:this.yylloc.first_column-p},this.options.ranges&&(this.yylloc.range=[L[0],L[0]+this.yyleng-p]),this},more:function more(){return this._more=!0,this},less:function less(f){this.unput(this.match.slice(f))},pastInput:function pastInput(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function upcomingInput(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function showPosition(){var f=this.pastInput(),p=new Array(f.length+1).join("-");return f+this.upcomingInput()+"\n"+p+"^"},next:function next(){if(this.done)return this.EOF;var f,p,M,S,L;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Y=this._currentRules(),E=0;Ep[0].length)||(p=M,S=E,this.options.flex));E++);return p?((L=p[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=L.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:L?L[L.length-1].length-L[L.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,Y[S],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function lex(){var f=this.next();return void 0!==f?f:this.lex()},begin:function begin(f){this.conditionStack.push(f)},popState:function popState(){return this.conditionStack.pop()},_currentRules:function _currentRules(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function topState(){return this.conditionStack[this.conditionStack.length-2]},pushState:function begin(f){this.begin(f)},options:{},performAction:function anonymous(f,p,M,S){function strip(f,M){return p.yytext=p.yytext.substring(f,p.yyleng-M+f)}switch(M){case 0:if("\\\\"===p.yytext.slice(-2)?(strip(0,1),this.begin("mu")):"\\"===p.yytext.slice(-1)?(strip(0,1),this.begin("emu")):this.begin("mu"),p.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(strip(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(p.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return p.yytext=strip(1,2).replace(/\\"/g,'"'),80;case 32:return p.yytext=strip(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return p.yytext=p.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return f}();function Parser(){this.yy={}}return f.lexer=p,Parser.prototype=f,f.Parser=Parser,new Parser}();p.default=S,f.exports=p.default},function(f,p,M){"use strict";p.__esModule=!0;var S=function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}(M(152));function WhitespaceControl(){var f=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=f}function isPrevWhitespace(f,p,M){void 0===p&&(p=f.length);var S=f[p-1],L=f[p-2];return S?"ContentStatement"===S.type?(L||!M?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(S.original):void 0:M}function isNextWhitespace(f,p,M){void 0===p&&(p=-1);var S=f[p+1],L=f[p+2];return S?"ContentStatement"===S.type?(L||!M?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(S.original):void 0:M}function omitRight(f,p,M){var S=f[null==p?0:p+1];if(S&&"ContentStatement"===S.type&&(M||!S.rightStripped)){var L=S.value;S.value=S.value.replace(M?/^\s+/:/^[ \t]*\r?\n?/,""),S.rightStripped=S.value!==L}}function omitLeft(f,p,M){var S=f[null==p?f.length-1:p-1];if(S&&"ContentStatement"===S.type&&(M||!S.leftStripped)){var L=S.value;return S.value=S.value.replace(M?/\s+$/:/[ \t]+$/,""),S.leftStripped=S.value!==L,S.leftStripped}}WhitespaceControl.prototype=new S.default,WhitespaceControl.prototype.Program=function(f){var p=!this.options.ignoreStandalone,M=!this.isRootSeen;this.isRootSeen=!0;for(var S=f.body,L=0,Y=S.length;L0)throw new S.default("Invalid path: "+L,{loc:M});".."===W&&E++}}return{type:"PathExpression",data:f,depth:E,parts:Y,original:L,loc:M}},p.prepareMustache=function prepareMustache(f,p,M,S,L,Y){var E=S.charAt(3)||S.charAt(2),O="{"!==E&&"&"!==E;return{type:/\*/.test(S)?"Decorator":"MustacheStatement",path:f,params:p,hash:M,escaped:O,strip:L,loc:this.locInfo(Y)}},p.prepareRawBlock=function prepareRawBlock(f,p,M,S){validateClose(f,M),S=this.locInfo(S);var L={type:"Program",body:p,strip:{},loc:S};return{type:"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:L,openStrip:{},inverseStrip:{},closeStrip:{},loc:S}},p.prepareBlock=function prepareBlock(f,p,M,L,Y,E){L&&L.path&&validateClose(f,L);var O=/\*/.test(f.open);p.blockParams=f.blockParams;var R=void 0,W=void 0;if(M){if(O)throw new S.default("Unexpected inverse block on decorator",M);M.chain&&(M.program.body[0].closeStrip=L.strip),W=M.strip,R=M.program}Y&&(Y=R,R=p,p=Y);return{type:O?"DecoratorBlock":"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:p,inverse:R,openStrip:f.strip,inverseStrip:W,closeStrip:L&&L.strip,loc:this.locInfo(E)}},p.prepareProgram=function prepareProgram(f,p){if(!p&&f.length){var M=f[0].loc,S=f[f.length-1].loc;M&&S&&(p={source:M.source,start:{line:M.start.line,column:M.start.column},end:{line:S.end.line,column:S.end.column}})}return{type:"Program",body:f,strip:{},loc:p}},p.preparePartialBlock=function preparePartialBlock(f,p,M,S){return validateClose(f,M),{type:"PartialBlockStatement",name:f.path,params:f.params,hash:f.hash,program:p,openStrip:f.strip,closeStrip:M&&M.strip,loc:this.locInfo(S)}};var S=function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}(M(2));function validateClose(f,p){if(p=p.path?p.path.original:p,f.path.original!==p){var M={loc:f.path.loc};throw new S.default(f.path.original+" doesn't match "+p,M)}}},function(f,p,M){"use strict";function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}p.__esModule=!0,p.Compiler=Compiler,p.precompile=function precompile(f,p,M){if(null==f||"string"!=typeof f&&"Program"!==f.type)throw new S.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+f);"data"in(p=p||{})||(p.data=!0);p.compat&&(p.useDepths=!0);var L=M.parse(f,p),Y=(new M.Compiler).compile(L,p);return(new M.JavaScriptCompiler).compile(Y,p)},p.compile=function compile(f,p,M){void 0===p&&(p={});if(null==f||"string"!=typeof f&&"Program"!==f.type)throw new S.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+f);"data"in(p=L.extend({},p))||(p.data=!0);p.compat&&(p.useDepths=!0);var Y=void 0;function compileInput(){var S=M.parse(f,p),L=(new M.Compiler).compile(S,p),Y=(new M.JavaScriptCompiler).compile(L,p,void 0,!0);return M.template(Y)}function ret(f,p){return Y||(Y=compileInput()),Y.call(this,f,p)}return ret._setup=function(f){return Y||(Y=compileInput()),Y._setup(f)},ret._child=function(f,p,M,S){return Y||(Y=compileInput()),Y._child(f,p,M,S)},ret};var S=_interopRequireDefault(M(2)),L=M(1),Y=_interopRequireDefault(M(151)),E=[].slice;function Compiler(){}function argEquals(f,p){if(f===p)return!0;if(L.isArray(f)&&L.isArray(p)&&f.length===p.length){for(var M=0;M1)throw new S.default("Unsupported number of partial arguments: "+M.length,f);M.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):M.push({type:"PathExpression",parts:[],depth:0}));var L=f.name.original,Y="SubExpression"===f.name.type;Y&&this.accept(f.name),this.setupFullMustacheParams(f,p,void 0,!0);var E=f.indent||"";this.options.preventIndent&&E&&(this.opcode("appendContent",E),E=""),this.opcode("invokePartial",Y,L,E),this.opcode("append")},PartialBlockStatement:function PartialBlockStatement(f){this.PartialStatement(f)},MustacheStatement:function MustacheStatement(f){this.SubExpression(f),f.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function Decorator(f){this.DecoratorBlock(f)},ContentStatement:function ContentStatement(f){f.value&&this.opcode("appendContent",f.value)},CommentStatement:function CommentStatement(){},SubExpression:function SubExpression(f){transformLiteralToPath(f);var p=this.classifySexpr(f);"simple"===p?this.simpleSexpr(f):"helper"===p?this.helperSexpr(f):this.ambiguousSexpr(f)},ambiguousSexpr:function ambiguousSexpr(f,p,M){var S=f.path,L=S.parts[0],Y=null!=p||null!=M;this.opcode("getContext",S.depth),this.opcode("pushProgram",p),this.opcode("pushProgram",M),S.strict=!0,this.accept(S),this.opcode("invokeAmbiguous",L,Y)},simpleSexpr:function simpleSexpr(f){var p=f.path;p.strict=!0,this.accept(p),this.opcode("resolvePossibleLambda")},helperSexpr:function helperSexpr(f,p,M){var L=this.setupFullMustacheParams(f,p,M),E=f.path,O=E.parts[0];if(this.options.knownHelpers[O])this.opcode("invokeKnownHelper",L.length,O);else{if(this.options.knownHelpersOnly)throw new S.default("You specified knownHelpersOnly, but used the unknown helper "+O,f);E.strict=!0,E.falsy=!0,this.accept(E),this.opcode("invokeHelper",L.length,E.original,Y.default.helpers.simpleId(E))}},PathExpression:function PathExpression(f){this.addDepth(f.depth),this.opcode("getContext",f.depth);var p=f.parts[0],M=Y.default.helpers.scopedId(f),S=!f.depth&&!M&&this.blockParamIndex(p);S?this.opcode("lookupBlockParam",S,f.parts):p?f.data?(this.options.data=!0,this.opcode("lookupData",f.depth,f.parts,f.strict)):this.opcode("lookupOnContext",f.parts,f.falsy,f.strict,M):this.opcode("pushContext")},StringLiteral:function StringLiteral(f){this.opcode("pushString",f.value)},NumberLiteral:function NumberLiteral(f){this.opcode("pushLiteral",f.value)},BooleanLiteral:function BooleanLiteral(f){this.opcode("pushLiteral",f.value)},UndefinedLiteral:function UndefinedLiteral(){this.opcode("pushLiteral","undefined")},NullLiteral:function NullLiteral(){this.opcode("pushLiteral","null")},Hash:function Hash(f){var p=f.pairs,M=0,S=p.length;for(this.opcode("pushHash");M=0)return[p,Y]}}}},function(f,p,M){"use strict";function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}p.__esModule=!0;var S=M(8),L=_interopRequireDefault(M(2)),Y=M(1),E=_interopRequireDefault(M(238));function Literal(f){this.value=f}function JavaScriptCompiler(){}JavaScriptCompiler.prototype={nameLookup:function nameLookup(f,p){return this.internalNameLookup(f,p)},depthedLookup:function depthedLookup(f){return[this.aliasable("container.lookup"),'(depths, "',f,'")']},compilerInfo:function compilerInfo(){var f=S.COMPILER_REVISION;return[f,S.REVISION_CHANGES[f]]},appendToBuffer:function appendToBuffer(f,p,M){return Y.isArray(f)||(f=[f]),f=this.source.wrap(f,p),this.environment.isSimple?["return ",f,";"]:M?["buffer += ",f,";"]:(f.appendToBuffer=!0,f)},initializeBuffer:function initializeBuffer(){return this.quotedString("")},internalNameLookup:function internalNameLookup(f,p){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",f,",",JSON.stringify(p),")"]},lookupPropertyFunctionIsUsed:!1,compile:function compile(f,p,M,S){this.environment=f,this.options=p,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!S,this.name=this.environment.name,this.isChild=!!M,this.context=M||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(f,p),this.useDepths=this.useDepths||f.useDepths||f.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||f.useBlockParams;var Y=f.opcodes,E=void 0,O=void 0,R=void 0,W=void 0;for(R=0,W=Y.length;R0&&(M+=", "+S.join(", "));var L=0;Object.keys(this.aliases).forEach((function(f){var S=p.aliases[f];S.children&&S.referenceCount>1&&(M+=", alias"+ ++L+"="+f,S.children[0]="alias"+L)})),this.lookupPropertyFunctionIsUsed&&(M+=", "+this.lookupPropertyFunctionVarDeclaration());var Y=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&Y.push("blockParams"),this.useDepths&&Y.push("depths");var E=this.mergeSource(M);return f?(Y.push(E),Function.apply(this,Y)):this.source.wrap(["function(",Y.join(","),") {\n ",E,"}"])},mergeSource:function mergeSource(f){var p=this.environment.isSimple,M=!this.forceBuffer,S=void 0,L=void 0,Y=void 0,E=void 0;return this.source.each((function(f){f.appendToBuffer?(Y?f.prepend(" + "):Y=f,E=f):(Y&&(L?Y.prepend("buffer += "):S=!0,E.add(";"),Y=E=void 0),L=!0,p||(M=!1))})),M?Y?(Y.prepend("return "),E.add(";")):L||this.source.push('return "";'):(f+=", buffer = "+(S?"":this.initializeBuffer()),Y?(Y.prepend("return buffer + "),E.add(";")):this.source.push("return buffer;")),f&&this.source.prepend("var "+f.substring(2)+(S?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function lookupPropertyFunctionVarDeclaration(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function blockValue(f){var p=this.aliasable("container.hooks.blockHelperMissing"),M=[this.contextName(0)];this.setupHelperArgs(f,0,M);var S=this.popStack();M.splice(1,0,S),this.push(this.source.functionCall(p,"call",M))},ambiguousBlockValue:function ambiguousBlockValue(){var f=this.aliasable("container.hooks.blockHelperMissing"),p=[this.contextName(0)];this.setupHelperArgs("",0,p,!0),this.flushInline();var M=this.topStack();p.splice(1,0,M),this.pushSource(["if (!",this.lastHelper,") { ",M," = ",this.source.functionCall(f,"call",p),"}"])},appendContent:function appendContent(f){this.pendingContent?f=this.pendingContent+f:this.pendingLocation=this.source.currentLocation,this.pendingContent=f},append:function append(){if(this.isInline())this.replaceStack((function(f){return[" != null ? ",f,' : ""']})),this.pushSource(this.appendToBuffer(this.popStack()));else{var f=this.popStack();this.pushSource(["if (",f," != null) { ",this.appendToBuffer(f,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function appendEscaped(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function getContext(f){this.lastContext=f},pushContext:function pushContext(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function lookupOnContext(f,p,M,S){var L=0;S||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(f[L++])),this.resolvePath("context",f,L,p,M)},lookupBlockParam:function lookupBlockParam(f,p){this.useBlockParams=!0,this.push(["blockParams[",f[0],"][",f[1],"]"]),this.resolvePath("context",p,1)},lookupData:function lookupData(f,p,M){f?this.pushStackLiteral("container.data(data, "+f+")"):this.pushStackLiteral("data"),this.resolvePath("data",p,0,!0,M)},resolvePath:function resolvePath(f,p,M,S,L){var Y=this;if(this.options.strict||this.options.assumeObjects)this.push(function strictLookup(f,p,M,S){var L=p.popStack(),Y=0,E=M.length;f&&E--;for(;Ythis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function topStackName(){return"stack"+this.stackSlot},flushInline:function flushInline(){var f=this.inlineStack;this.inlineStack=[];for(var p=0,M=f.length;p 3) {\n s[0] = s[0].replace(/\\B(?=(?:\\d{3})+(?!\\d))/g, sep);\n }\n\n if ((s[1] || '').length < prec) {\n s[1] = s[1] || '';\n s[1] += new Array(prec - s[1].length + 1).join('0');\n }\n\n return s.join(dec);\n}\n/**\n * Simple log function to log to the console if debug is true (set this in CONFIG.js)\n * @param message\n */\n\n\nfunction log(message) {\n if (config['debug']) {\n console.log(message);\n }\n}\n/* Timeout if index.html is not loading correct */\n\n\nfunction showIt() {\n document.getElementById('hide').style.visibility = 'visible';\n}\n\nsetTimeout('showIt()', 3000); // after 3 sec\n\nfunction setSrc(cur) {\n $($(cur).data('target')).on('hidden.bs.modal', function () {\n $($(cur).data('target')).find('iframe').removeAttr('src');\n });\n\n if (typeof $($(cur).data('target')).find('iframe').attr('src') == 'undefined') {\n $($(cur).data('target')).find('iframe').attr('src', $($(cur).data('target')).find('iframe').data('popup'));\n }\n}\n\nfunction hexToRgb(hex) {\n hex = parseInt(hex.indexOf('#') > -1 ? hex.substring(1) : hex, 16);\n return {\n r: hex >> 16,\n g: (hex & 0x00ff00) >> 8,\n b: hex & 0x0000ff\n };\n}\n\nfunction hexToHsb(hex) {\n return rgbToHsb(hexToRgb(hex));\n}\n\nfunction rgbToHsb(rgb) {\n var hsb = {\n h: 0,\n s: 0,\n b: 0\n };\n var min = Math.min(rgb.r, rgb.g, rgb.b);\n var max = Math.max(rgb.r, rgb.g, rgb.b);\n var delta = max - min;\n hsb.b = max;\n hsb.s = max != 0 ? 255 * delta / max : 0;\n\n if (hsb.s != 0) {\n if (rgb.r == max) hsb.h = (rgb.g - rgb.b) / delta;else if (rgb.g == max) hsb.h = 2 + (rgb.b - rgb.r) / delta;else hsb.h = 4 + (rgb.r - rgb.g) / delta;\n } else hsb.h = -1;\n\n hsb.h *= 60;\n if (hsb.h < 0) hsb.h += 360;\n hsb.s *= 100 / 255;\n hsb.b *= 100 / 255;\n return hsb;\n}\n\nfunction ksort(inputArr, sort_flags) {\n // http://jsphp.co/jsphp/fn/view/ksort\n // + original by: GeekFG (http://geekfg.blogspot.com)\n // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + improved by: Brett Zamir (http://brett-zamir.me)\n // % note 1: The examples are correct, this is a new way\n // % note 2: This function deviates from PHP in returning a copy of the array instead\n // % note 2: of acting by reference and returning true; this was necessary because\n // % note 2: IE does not allow deleting and re-adding of properties without caching\n // % note 2: of property position; you can set the ini of \"phpjs.strictForIn\" to true to\n // % note 2: get the PHP behavior, but use this only if you are in an environment\n // % note 2: such as Firefox extensions where for-in iteration order is fixed and true\n // % note 2: property deletion is supported. Note that we intend to implement the PHP\n // % note 2: behavior by default if IE ever does allow it; only gives shallow copy since\n // % note 2: is by reference in PHP anyways\n // % note 3: Since JS objects' keys are always strings, and (the\n // % note 3: default) SORT_REGULAR flag distinguishes by key type,\n // % note 3: if the content is a numeric string, we treat the\n // % note 3: \"original type\" as numeric.\n // - depends on: i18n_loc_get_default\n // - depends on: strnatcmp\n // * example 1: data = {d: 'lemon', a: 'orange', b: 'banana', c: 'apple'};\n // * example 1: data = ksort(data);\n // * results 1: {a: 'orange', b: 'banana', c: 'apple', d: 'lemon'}\n // * example 2: ini_set('phpjs.strictForIn', true);\n // * example 2: data = {2: 'van', 3: 'Zonneveld', 1: 'Kevin'};\n // * example 2: ksort(data);\n // * results 2: data == {1: 'Kevin', 2: 'van', 3: 'Zonneveld'}\n // * returns 2: true\n var tmp_arr = {},\n keys = [],\n sorter,\n i,\n k,\n that = this,\n strictForIn = false,\n populateArr = {};\n\n switch (sort_flags) {\n case 'SORT_STRING':\n // compare items as strings\n sorter = function sorter(a, b) {\n return that.strnatcmp(a, b);\n };\n\n break;\n\n case 'SORT_LOCALE_STRING':\n // compare items as strings, based on the current locale (set with i18n_loc_set_default() as of PHP6)\n var loc = this.i18n_loc_get_default();\n sorter = this.php_js.i18nLocales[loc].sorting;\n break;\n\n case 'SORT_NUMERIC':\n // compare items numerically\n sorter = function sorter(a, b) {\n return a + 0 - (b + 0);\n };\n\n break;\n // case 'SORT_REGULAR': // compare items normally (don't change types)\n\n default:\n sorter = function sorter(a, b) {\n var aFloat = parseFloat(a),\n bFloat = parseFloat(b),\n aNumeric = aFloat + '' === a,\n bNumeric = bFloat + '' === b;\n\n if (aNumeric && bNumeric) {\n return aFloat > bFloat ? 1 : aFloat < bFloat ? -1 : 0;\n } else if (aNumeric && !bNumeric) {\n return 1;\n } else if (!aNumeric && bNumeric) {\n return -1;\n }\n\n return a > b ? 1 : a < b ? -1 : 0;\n };\n\n break;\n } // Make a list of key names\n\n\n for (k in inputArr) {\n if (inputArr.hasOwnProperty(k)) {\n keys.push(k);\n }\n }\n\n keys.sort(sorter); // BEGIN REDUNDANT\n\n this.php_js = this.php_js || {};\n this.php_js.ini = this.php_js.ini || {}; // END REDUNDANT\n\n strictForIn = this.php_js.ini['phpjs.strictForIn'] && this.php_js.ini['phpjs.strictForIn'].local_value && this.php_js.ini['phpjs.strictForIn'].local_value !== 'off';\n populateArr = strictForIn ? inputArr : populateArr; // Rebuild array with sorted key names\n\n for (i = 0; i < keys.length; i++) {\n k = keys[i];\n tmp_arr[k] = inputArr[k];\n\n if (strictForIn) {\n delete inputArr[k];\n }\n }\n\n for (i in tmp_arr) {\n if (tmp_arr.hasOwnProperty(i)) {\n populateArr[i] = tmp_arr[i];\n }\n }\n\n return strictForIn || populateArr;\n}\n\nfunction capitalizeFirstLetter(string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n\n$.getJSONP = function (s) {\n s.dataType = 'jsonp';\n $.ajax(s); // figure out what the callback fn is\n\n var $script = $(document.getElementsByTagName('head')[0].firstChild);\n var url = $script.attr('src') || '';\n var cb = (url.match(/callback=(\\w+)/) || [])[1];\n if (!cb) return; // bail\n\n var t = 0,\n cbFn = window[cb];\n\n $script[0].onerror = function (e) {\n $script.remove();\n handleError(s, {}, 'error', e);\n clearTimeout(t);\n };\n\n if (!s.timeout) return;\n\n window[cb] = function (json) {\n clearTimeout(t);\n cbFn(json);\n cbFn = null;\n };\n\n t = setTimeout(function () {\n $script.remove();\n handleError(s, {}, 'timeout');\n if (cbFn) window[cb] = function () {};\n }, s.timeout);\n\n function handleError(s, o, msg, e) {\n // support jquery versions before and after 1.4.3\n ($.ajax.handleError || $.handleError)(s, o, msg, e);\n }\n};\n\n$.handleError = function (s, xhr, status, e) {\n // If a local callback was specified, fire it\n if (s.error) {\n s.error.call(s.context || window, xhr, status, e);\n } // Fire the global callback\n\n\n if (s.global) {\n (s.context ? jQuery(s.context) : jQuery.event).trigger('ajaxError', [xhr, s, e]);\n }\n};\n\nfunction objectlength(a) {\n var count = 0;\n var i;\n\n for (i in a) {\n if (a.hasOwnProperty(i)) {\n count++;\n }\n }\n\n return count;\n}\n\nfunction getRandomInt(min, max) {\n return Math.floor(Math.random() * (max - min + 1)) + min;\n}\n\nfunction time() {\n return Math.floor(new Date().getTime() / 1000);\n}\n\nfunction str_replace(find, replace, str) {\n return str.replace(new RegExp(find, 'g'), replace);\n}\n\nfunction strtotime(text, now) {\n var parsed,\n match,\n today,\n year,\n date,\n days,\n ranges,\n len,\n times,\n regex,\n i,\n fail = false;\n\n if (!text) {\n return fail;\n } // Unecessary spaces\n\n\n text = text.replace(/^\\s+|\\s+$/g, '').replace(/\\s{2,}/g, ' ').replace(/[\\t\\r\\n]/g, '').toLowerCase();\n match = text.match(/^(\\d{1,4})([\\-\\.\\/\\:])(\\d{1,2})([\\-\\.\\/\\:])(\\d{1,4})(?:\\s(\\d{1,2}):(\\d{2})?:?(\\d{2})?)?(?:\\s([A-Z]+)?)?$/);\n\n if (match && match[2] === match[4]) {\n if (match[1] > 1901) {\n switch (match[2]) {\n case '-':\n {\n // YYYY-M-D\n if (match[3] > 12 || match[5] > 31) {\n return fail;\n }\n\n return new Date(match[1], parseInt(match[3], 10) - 1, match[5], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case '.':\n {\n // YYYY.M.D is not parsed by strtotime()\n return fail;\n }\n\n case '/':\n {\n // YYYY/M/D\n if (match[3] > 12 || match[5] > 31) {\n return fail;\n }\n\n return new Date(match[1], parseInt(match[3], 10) - 1, match[5], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n }\n } else if (match[5] > 1901) {\n switch (match[2]) {\n case '-':\n {\n // D-M-YYYY\n if (match[3] > 12 || match[1] > 31) {\n return fail;\n }\n\n return new Date(match[5], parseInt(match[3], 10) - 1, match[1], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case '.':\n {\n // D.M.YYYY\n if (match[3] > 12 || match[1] > 31) {\n return fail;\n }\n\n return new Date(match[5], parseInt(match[3], 10) - 1, match[1], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case '/':\n {\n // M/D/YYYY\n if (match[1] > 12 || match[3] > 31) {\n return fail;\n }\n\n return new Date(match[5], parseInt(match[1], 10) - 1, match[3], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n }\n } else {\n switch (match[2]) {\n case '-':\n {\n // YY-M-D\n if (match[3] > 12 || match[5] > 31 || match[1] < 70 && match[1] > 38) {\n return fail;\n }\n\n year = match[1] >= 0 && match[1] <= 38 ? +match[1] + 2000 : match[1];\n return new Date(year, parseInt(match[3], 10) - 1, match[5], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case '.':\n {\n // D.M.YY or H.MM.SS\n if (match[5] >= 70) {\n // D.M.YY\n if (match[3] > 12 || match[1] > 31) {\n return fail;\n }\n\n return new Date(match[5], parseInt(match[3], 10) - 1, match[1], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n if (match[5] < 60 && !match[6]) {\n // H.MM.SS\n if (match[1] > 23 || match[3] > 59) {\n return fail;\n }\n\n today = new Date();\n return new Date(today.getFullYear(), today.getMonth(), today.getDate(), match[1] || 0, match[3] || 0, match[5] || 0, match[9] || 0) / 1000;\n }\n\n return fail; // invalid format, cannot be parsed\n }\n\n case '/':\n {\n // M/D/YY\n if (match[1] > 12 || match[3] > 31 || match[5] < 70 && match[5] > 38) {\n return fail;\n }\n\n year = match[5] >= 0 && match[5] <= 38 ? +match[5] + 2000 : match[5];\n return new Date(year, parseInt(match[1], 10) - 1, match[3], match[6] || 0, match[7] || 0, match[8] || 0, match[9] || 0) / 1000;\n }\n\n case ':':\n {\n // HH:MM:SS\n if (match[1] > 23 || match[3] > 59 || match[5] > 59) {\n return fail;\n }\n\n today = new Date();\n return new Date(today.getFullYear(), today.getMonth(), today.getDate(), match[1] || 0, match[3] || 0, match[5] || 0) / 1000;\n }\n }\n }\n } // other formats and \"now\" should be parsed by Date.parse()\n\n\n if (text === 'now') {\n return now === null || isNaN(now) ? new Date().getTime() / 1000 | 0 : now | 0;\n }\n\n if (!isNaN(parsed = Date.parse(text))) {\n return parsed / 1000 | 0;\n }\n\n date = now ? new Date(now * 1000) : new Date();\n days = {\n sun: 0,\n mon: 1,\n tue: 2,\n wed: 3,\n thu: 4,\n fri: 5,\n sat: 6\n };\n ranges = {\n yea: 'FullYear',\n mon: 'Month',\n day: 'Date',\n hou: 'Hours',\n min: 'Minutes',\n sec: 'Seconds'\n };\n\n function lastNext(type, range, modifier) {\n var diff,\n day = days[range];\n\n if (typeof day !== 'undefined') {\n diff = day - date.getDay();\n\n if (diff === 0) {\n diff = 7 * modifier;\n } else if (diff > 0 && type === 'last') {\n diff -= 7;\n } else if (diff < 0 && type === 'next') {\n diff += 7;\n }\n\n date.setDate(date.getDate() + diff);\n }\n }\n\n function process(val) {\n var splt = val.split(' '),\n // Todo: Reconcile this with regex using \\s, taking into account browser issues with split and regexes\n type = splt[0],\n range = splt[1].substring(0, 3),\n typeIsNumber = /\\d+/.test(type),\n ago = splt[2] === 'ago',\n num = (type === 'last' ? -1 : 1) * (ago ? -1 : 1);\n\n if (typeIsNumber) {\n num *= parseInt(type, 10);\n }\n\n if (ranges.hasOwnProperty(range) && !splt[1].match(/^mon(day|\\.)?$/i)) {\n return date['set' + ranges[range]](date['get' + ranges[range]]() + num);\n }\n\n if (range === 'wee') {\n return date.setDate(date.getDate() + num * 7);\n }\n\n if (type === 'next' || type === 'last') {\n lastNext(type, range, num);\n } else if (!typeIsNumber) {\n return false;\n }\n\n return true;\n }\n\n times = '(years?|months?|weeks?|days?|hours?|minutes?|min|seconds?|sec' + '|sunday|sun\\\\.?|monday|mon\\\\.?|tuesday|tue\\\\.?|wednesday|wed\\\\.?' + '|thursday|thu\\\\.?|friday|fri\\\\.?|saturday|sat\\\\.?)';\n regex = '([+-]?\\\\d+\\\\s' + times + '|' + '(last|next)\\\\s' + times + ')(\\\\sago)?';\n match = text.match(new RegExp(regex, 'gi'));\n\n if (!match) {\n return fail;\n }\n\n for (i = 0, len = match.length; i < len; i++) {\n if (!process(match[i])) {\n return fail;\n }\n } // ECMAScript 5 only\n // if (!match.every(process))\n // return false;\n\n\n return date.getTime() / 1000;\n}\n\nfunction URLToArray(url) {\n var request = {};\n var pairs = url.substring(url.indexOf('?') + 1).split('&');\n\n for (var i = 0; i < pairs.length; i++) {\n if (!pairs[i]) continue;\n var pair = pairs[i].split('=');\n request[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);\n }\n\n return request;\n}\n\nfunction onlyUnique(value, index, self) {\n return self.indexOf(value) === index;\n}\n\nfunction isDefined(prop) {\n return typeof prop !== 'undefined' ? true : false;\n}\n\nfunction isObject(prop) {\n return _typeof(prop) === 'object' ? true : false;\n}\n\nfunction setHeight(obj) {\n var width = $(obj.mountPoint).width();\n if (width) obj._width = width; //store width for later reference\n else width = obj._width; //use previous value\n\n return isDefined(obj.block.height) && obj.block.height ? obj.block.height : Math.min(Math.round(width / window.innerWidth * window.innerHeight - 25), window.innerHeight - 50);\n}\n/**\n * Returns number formatted with thousand seperator with specified decimals.\n * @param {object} val The input number to format.\n * @param {string} decimal The number of decimal places.\n */\n\n\nfunction formatThousand(val, decimal) {\n var nf = Intl.NumberFormat();\n var config = {\n minimumFractionDigits: decimal,\n maximumFractionDigits: decimal\n };\n return nf.format(val, config);\n}\n\nfunction getLocationParameters() {\n function transformToAssocArray(prmstr) {\n var params = {};\n var prmarr = prmstr.split('&');\n\n for (var i = 0; i < prmarr.length; i++) {\n var tmparr = prmarr[i].split('=');\n params[tmparr[0]] = decodeURI(tmparr[1]);\n }\n\n return params;\n }\n\n var prmstr = window.location.search.substr(1);\n return prmstr != null && prmstr != '' ? transformToAssocArray(prmstr) : {};\n}"},function(f,p,M){"use strict";function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}p.__esModule=!0;var S=_interopRequireDefault(M(218)),L=_interopRequireDefault(M(151)),Y=M(232),E=M(236),O=_interopRequireDefault(M(237)),R=_interopRequireDefault(M(152)),W=_interopRequireDefault(M(150)),B=S.default.create;function create(){var f=B();return f.compile=function(p,M){return E.compile(p,M,f)},f.precompile=function(p,M){return E.precompile(p,M,f)},f.AST=L.default,f.Compiler=E.Compiler,f.JavaScriptCompiler=O.default,f.Parser=Y.parser,f.parse=Y.parse,f.parseWithoutProcessing=Y.parseWithoutProcessing,f}var G=create();G.create=create,W.default(G),G.Visitor=R.default,G.default=G,p.default=G,f.exports=p.default},function(f,p,M){"use strict";function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}function _interopRequireWildcard(f){if(f&&f.__esModule)return f;var p={};if(null!=f)for(var M in f)Object.prototype.hasOwnProperty.call(f,M)&&(p[M]=f[M]);return p.default=f,p}p.__esModule=!0;var S=_interopRequireWildcard(M(8)),L=_interopRequireDefault(M(229)),Y=_interopRequireDefault(M(2)),E=_interopRequireWildcard(M(1)),O=_interopRequireWildcard(M(230)),R=_interopRequireDefault(M(150));function create(){var f=new S.HandlebarsEnvironment;return E.extend(f,S),f.SafeString=L.default,f.Exception=Y.default,f.Utils=E,f.escapeExpression=E.escapeExpression,f.VM=O,f.template=function(p){return O.template(p,f)},f}var W=create();W.create=create,R.default(W),W.default=W,p.default=W,f.exports=p.default},function(f,p,M){"use strict";p.__esModule=!0;var S=M(1);p.default=function(f){f.registerHelper("blockHelperMissing",(function(p,M){var L=M.inverse,Y=M.fn;if(!0===p)return Y(this);if(!1===p||null==p)return L(this);if(S.isArray(p))return p.length>0?(M.ids&&(M.ids=[M.name]),f.helpers.each(p,M)):L(this);if(M.data&&M.ids){var E=S.createFrame(M.data);E.contextPath=S.appendContextPath(M.data.contextPath,M.name),M={data:E}}return Y(p,M)}))},f.exports=p.default},function(f,p,M){"use strict";(function(S){p.__esModule=!0;var L=M(1),Y=function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}(M(2));p.default=function(f){f.registerHelper("each",(function(f,p){if(!p)throw new Y.default("Must pass iterator to #each");var M,E=p.fn,O=p.inverse,R=0,W="",B=void 0,G=void 0;function execIteration(p,M,S){B&&(B.key=p,B.index=M,B.first=0===M,B.last=!!S,G&&(B.contextPath=G+p)),W+=E(f[p],{data:B,blockParams:L.blockParams([f[p],p],[G+p,null])})}if(p.data&&p.ids&&(G=L.appendContextPath(p.data.contextPath,p.ids[0])+"."),L.isFunction(f)&&(f=f.call(this)),p.data&&(B=L.createFrame(p.data)),f&&"object"==typeof f)if(L.isArray(f))for(var V=f.length;R=Y.LAST_COMPATIBLE_COMPILER_REVISION&&p<=Y.COMPILER_REVISION)return;if(p2&&ee.push("'"+this.terminals_[J]+"'");ie=this.lexer.showPosition?"Parse error on line "+(O+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+ee.join(", ")+", got '"+(this.terminals_[V]||V)+"'":"Parse error on line "+(O+1)+": Unexpected "+(1==V?"end of input":"'"+(this.terminals_[V]||V)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[V]||V,line:this.lexer.yylineno,loc:B,expected:ee})}}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+V);switch(X[0]){case 1:M.push(V),S.push(this.lexer.yytext),L.push(this.lexer.yylloc),M.push(X[1]),V=null,U?(V=U,U=null):(R=this.lexer.yyleng,E=this.lexer.yytext,O=this.lexer.yylineno,B=this.lexer.yylloc,W>0&&W--);break;case 2:if(Z=this.productions_[X[1]][1],ne.$=S[S.length-Z],ne._$={first_line:L[L.length-(Z||1)].first_line,last_line:L[L.length-1].last_line,first_column:L[L.length-(Z||1)].first_column,last_column:L[L.length-1].last_column},G&&(ne._$.range=[L[L.length-(Z||1)].range[0],L[L.length-1].range[1]]),void 0!==(K=this.performAction.call(ne,E,R,O,this.yy,X[1],S,L)))return K;Z&&(M=M.slice(0,-1*Z*2),S=S.slice(0,-1*Z),L=L.slice(0,-1*Z)),M.push(this.productions_[X[1]][0]),S.push(ne.$),L.push(ne._$),Q=Y[M[M.length-2]][M[M.length-1]],M.push(Q);break;case 3:return!0}}return!0}},p=function(){var f={EOF:1,parseError:function parseError(f,p){if(!this.yy.parser)throw new Error(f);this.yy.parser.parseError(f,p)},setInput:function setInput(f){return this._input=f,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function input(){var f=this._input[0];return this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f,f.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function unput(f){var p=f.length,M=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p-1),this.offset-=p;var S=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),M.length-1&&(this.yylineno-=M.length-1);var L=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:M?(M.length===S.length?this.yylloc.first_column:0)+S[S.length-M.length].length-M[0].length:this.yylloc.first_column-p},this.options.ranges&&(this.yylloc.range=[L[0],L[0]+this.yyleng-p]),this},more:function more(){return this._more=!0,this},less:function less(f){this.unput(this.match.slice(f))},pastInput:function pastInput(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function upcomingInput(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function showPosition(){var f=this.pastInput(),p=new Array(f.length+1).join("-");return f+this.upcomingInput()+"\n"+p+"^"},next:function next(){if(this.done)return this.EOF;var f,p,M,S,L;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Y=this._currentRules(),E=0;Ep[0].length)||(p=M,S=E,this.options.flex));E++);return p?((L=p[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=L.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:L?L[L.length-1].length-L[L.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,Y[S],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function lex(){var f=this.next();return void 0!==f?f:this.lex()},begin:function begin(f){this.conditionStack.push(f)},popState:function popState(){return this.conditionStack.pop()},_currentRules:function _currentRules(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function topState(){return this.conditionStack[this.conditionStack.length-2]},pushState:function begin(f){this.begin(f)},options:{},performAction:function anonymous(f,p,M,S){function strip(f,M){return p.yytext=p.yytext.substring(f,p.yyleng-M+f)}switch(M){case 0:if("\\\\"===p.yytext.slice(-2)?(strip(0,1),this.begin("mu")):"\\"===p.yytext.slice(-1)?(strip(0,1),this.begin("emu")):this.begin("mu"),p.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(strip(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(p.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return p.yytext=strip(1,2).replace(/\\"/g,'"'),80;case 32:return p.yytext=strip(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return p.yytext=p.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return f}();function Parser(){this.yy={}}return f.lexer=p,Parser.prototype=f,f.Parser=Parser,new Parser}();p.default=S,f.exports=p.default},function(f,p,M){"use strict";p.__esModule=!0;var S=function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}(M(152));function WhitespaceControl(){var f=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=f}function isPrevWhitespace(f,p,M){void 0===p&&(p=f.length);var S=f[p-1],L=f[p-2];return S?"ContentStatement"===S.type?(L||!M?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(S.original):void 0:M}function isNextWhitespace(f,p,M){void 0===p&&(p=-1);var S=f[p+1],L=f[p+2];return S?"ContentStatement"===S.type?(L||!M?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(S.original):void 0:M}function omitRight(f,p,M){var S=f[null==p?0:p+1];if(S&&"ContentStatement"===S.type&&(M||!S.rightStripped)){var L=S.value;S.value=S.value.replace(M?/^\s+/:/^[ \t]*\r?\n?/,""),S.rightStripped=S.value!==L}}function omitLeft(f,p,M){var S=f[null==p?f.length-1:p-1];if(S&&"ContentStatement"===S.type&&(M||!S.leftStripped)){var L=S.value;return S.value=S.value.replace(M?/\s+$/:/[ \t]+$/,""),S.leftStripped=S.value!==L,S.leftStripped}}WhitespaceControl.prototype=new S.default,WhitespaceControl.prototype.Program=function(f){var p=!this.options.ignoreStandalone,M=!this.isRootSeen;this.isRootSeen=!0;for(var S=f.body,L=0,Y=S.length;L0)throw new S.default("Invalid path: "+L,{loc:M});".."===W&&E++}}return{type:"PathExpression",data:f,depth:E,parts:Y,original:L,loc:M}},p.prepareMustache=function prepareMustache(f,p,M,S,L,Y){var E=S.charAt(3)||S.charAt(2),O="{"!==E&&"&"!==E;return{type:/\*/.test(S)?"Decorator":"MustacheStatement",path:f,params:p,hash:M,escaped:O,strip:L,loc:this.locInfo(Y)}},p.prepareRawBlock=function prepareRawBlock(f,p,M,S){validateClose(f,M),S=this.locInfo(S);var L={type:"Program",body:p,strip:{},loc:S};return{type:"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:L,openStrip:{},inverseStrip:{},closeStrip:{},loc:S}},p.prepareBlock=function prepareBlock(f,p,M,L,Y,E){L&&L.path&&validateClose(f,L);var O=/\*/.test(f.open);p.blockParams=f.blockParams;var R=void 0,W=void 0;if(M){if(O)throw new S.default("Unexpected inverse block on decorator",M);M.chain&&(M.program.body[0].closeStrip=L.strip),W=M.strip,R=M.program}Y&&(Y=R,R=p,p=Y);return{type:O?"DecoratorBlock":"BlockStatement",path:f.path,params:f.params,hash:f.hash,program:p,inverse:R,openStrip:f.strip,inverseStrip:W,closeStrip:L&&L.strip,loc:this.locInfo(E)}},p.prepareProgram=function prepareProgram(f,p){if(!p&&f.length){var M=f[0].loc,S=f[f.length-1].loc;M&&S&&(p={source:M.source,start:{line:M.start.line,column:M.start.column},end:{line:S.end.line,column:S.end.column}})}return{type:"Program",body:f,strip:{},loc:p}},p.preparePartialBlock=function preparePartialBlock(f,p,M,S){return validateClose(f,M),{type:"PartialBlockStatement",name:f.path,params:f.params,hash:f.hash,program:p,openStrip:f.strip,closeStrip:M&&M.strip,loc:this.locInfo(S)}};var S=function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}(M(2));function validateClose(f,p){if(p=p.path?p.path.original:p,f.path.original!==p){var M={loc:f.path.loc};throw new S.default(f.path.original+" doesn't match "+p,M)}}},function(f,p,M){"use strict";function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}p.__esModule=!0,p.Compiler=Compiler,p.precompile=function precompile(f,p,M){if(null==f||"string"!=typeof f&&"Program"!==f.type)throw new S.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+f);"data"in(p=p||{})||(p.data=!0);p.compat&&(p.useDepths=!0);var L=M.parse(f,p),Y=(new M.Compiler).compile(L,p);return(new M.JavaScriptCompiler).compile(Y,p)},p.compile=function compile(f,p,M){void 0===p&&(p={});if(null==f||"string"!=typeof f&&"Program"!==f.type)throw new S.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+f);"data"in(p=L.extend({},p))||(p.data=!0);p.compat&&(p.useDepths=!0);var Y=void 0;function compileInput(){var S=M.parse(f,p),L=(new M.Compiler).compile(S,p),Y=(new M.JavaScriptCompiler).compile(L,p,void 0,!0);return M.template(Y)}function ret(f,p){return Y||(Y=compileInput()),Y.call(this,f,p)}return ret._setup=function(f){return Y||(Y=compileInput()),Y._setup(f)},ret._child=function(f,p,M,S){return Y||(Y=compileInput()),Y._child(f,p,M,S)},ret};var S=_interopRequireDefault(M(2)),L=M(1),Y=_interopRequireDefault(M(151)),E=[].slice;function Compiler(){}function argEquals(f,p){if(f===p)return!0;if(L.isArray(f)&&L.isArray(p)&&f.length===p.length){for(var M=0;M1)throw new S.default("Unsupported number of partial arguments: "+M.length,f);M.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):M.push({type:"PathExpression",parts:[],depth:0}));var L=f.name.original,Y="SubExpression"===f.name.type;Y&&this.accept(f.name),this.setupFullMustacheParams(f,p,void 0,!0);var E=f.indent||"";this.options.preventIndent&&E&&(this.opcode("appendContent",E),E=""),this.opcode("invokePartial",Y,L,E),this.opcode("append")},PartialBlockStatement:function PartialBlockStatement(f){this.PartialStatement(f)},MustacheStatement:function MustacheStatement(f){this.SubExpression(f),f.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function Decorator(f){this.DecoratorBlock(f)},ContentStatement:function ContentStatement(f){f.value&&this.opcode("appendContent",f.value)},CommentStatement:function CommentStatement(){},SubExpression:function SubExpression(f){transformLiteralToPath(f);var p=this.classifySexpr(f);"simple"===p?this.simpleSexpr(f):"helper"===p?this.helperSexpr(f):this.ambiguousSexpr(f)},ambiguousSexpr:function ambiguousSexpr(f,p,M){var S=f.path,L=S.parts[0],Y=null!=p||null!=M;this.opcode("getContext",S.depth),this.opcode("pushProgram",p),this.opcode("pushProgram",M),S.strict=!0,this.accept(S),this.opcode("invokeAmbiguous",L,Y)},simpleSexpr:function simpleSexpr(f){var p=f.path;p.strict=!0,this.accept(p),this.opcode("resolvePossibleLambda")},helperSexpr:function helperSexpr(f,p,M){var L=this.setupFullMustacheParams(f,p,M),E=f.path,O=E.parts[0];if(this.options.knownHelpers[O])this.opcode("invokeKnownHelper",L.length,O);else{if(this.options.knownHelpersOnly)throw new S.default("You specified knownHelpersOnly, but used the unknown helper "+O,f);E.strict=!0,E.falsy=!0,this.accept(E),this.opcode("invokeHelper",L.length,E.original,Y.default.helpers.simpleId(E))}},PathExpression:function PathExpression(f){this.addDepth(f.depth),this.opcode("getContext",f.depth);var p=f.parts[0],M=Y.default.helpers.scopedId(f),S=!f.depth&&!M&&this.blockParamIndex(p);S?this.opcode("lookupBlockParam",S,f.parts):p?f.data?(this.options.data=!0,this.opcode("lookupData",f.depth,f.parts,f.strict)):this.opcode("lookupOnContext",f.parts,f.falsy,f.strict,M):this.opcode("pushContext")},StringLiteral:function StringLiteral(f){this.opcode("pushString",f.value)},NumberLiteral:function NumberLiteral(f){this.opcode("pushLiteral",f.value)},BooleanLiteral:function BooleanLiteral(f){this.opcode("pushLiteral",f.value)},UndefinedLiteral:function UndefinedLiteral(){this.opcode("pushLiteral","undefined")},NullLiteral:function NullLiteral(){this.opcode("pushLiteral","null")},Hash:function Hash(f){var p=f.pairs,M=0,S=p.length;for(this.opcode("pushHash");M=0)return[p,Y]}}}},function(f,p,M){"use strict";function _interopRequireDefault(f){return f&&f.__esModule?f:{default:f}}p.__esModule=!0;var S=M(8),L=_interopRequireDefault(M(2)),Y=M(1),E=_interopRequireDefault(M(238));function Literal(f){this.value=f}function JavaScriptCompiler(){}JavaScriptCompiler.prototype={nameLookup:function nameLookup(f,p){return this.internalNameLookup(f,p)},depthedLookup:function depthedLookup(f){return[this.aliasable("container.lookup"),'(depths, "',f,'")']},compilerInfo:function compilerInfo(){var f=S.COMPILER_REVISION;return[f,S.REVISION_CHANGES[f]]},appendToBuffer:function appendToBuffer(f,p,M){return Y.isArray(f)||(f=[f]),f=this.source.wrap(f,p),this.environment.isSimple?["return ",f,";"]:M?["buffer += ",f,";"]:(f.appendToBuffer=!0,f)},initializeBuffer:function initializeBuffer(){return this.quotedString("")},internalNameLookup:function internalNameLookup(f,p){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",f,",",JSON.stringify(p),")"]},lookupPropertyFunctionIsUsed:!1,compile:function compile(f,p,M,S){this.environment=f,this.options=p,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!S,this.name=this.environment.name,this.isChild=!!M,this.context=M||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(f,p),this.useDepths=this.useDepths||f.useDepths||f.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||f.useBlockParams;var Y=f.opcodes,E=void 0,O=void 0,R=void 0,W=void 0;for(R=0,W=Y.length;R0&&(M+=", "+S.join(", "));var L=0;Object.keys(this.aliases).forEach((function(f){var S=p.aliases[f];S.children&&S.referenceCount>1&&(M+=", alias"+ ++L+"="+f,S.children[0]="alias"+L)})),this.lookupPropertyFunctionIsUsed&&(M+=", "+this.lookupPropertyFunctionVarDeclaration());var Y=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&Y.push("blockParams"),this.useDepths&&Y.push("depths");var E=this.mergeSource(M);return f?(Y.push(E),Function.apply(this,Y)):this.source.wrap(["function(",Y.join(","),") {\n ",E,"}"])},mergeSource:function mergeSource(f){var p=this.environment.isSimple,M=!this.forceBuffer,S=void 0,L=void 0,Y=void 0,E=void 0;return this.source.each((function(f){f.appendToBuffer?(Y?f.prepend(" + "):Y=f,E=f):(Y&&(L?Y.prepend("buffer += "):S=!0,E.add(";"),Y=E=void 0),L=!0,p||(M=!1))})),M?Y?(Y.prepend("return "),E.add(";")):L||this.source.push('return "";'):(f+=", buffer = "+(S?"":this.initializeBuffer()),Y?(Y.prepend("return buffer + "),E.add(";")):this.source.push("return buffer;")),f&&this.source.prepend("var "+f.substring(2)+(S?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function lookupPropertyFunctionVarDeclaration(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function blockValue(f){var p=this.aliasable("container.hooks.blockHelperMissing"),M=[this.contextName(0)];this.setupHelperArgs(f,0,M);var S=this.popStack();M.splice(1,0,S),this.push(this.source.functionCall(p,"call",M))},ambiguousBlockValue:function ambiguousBlockValue(){var f=this.aliasable("container.hooks.blockHelperMissing"),p=[this.contextName(0)];this.setupHelperArgs("",0,p,!0),this.flushInline();var M=this.topStack();p.splice(1,0,M),this.pushSource(["if (!",this.lastHelper,") { ",M," = ",this.source.functionCall(f,"call",p),"}"])},appendContent:function appendContent(f){this.pendingContent?f=this.pendingContent+f:this.pendingLocation=this.source.currentLocation,this.pendingContent=f},append:function append(){if(this.isInline())this.replaceStack((function(f){return[" != null ? ",f,' : ""']})),this.pushSource(this.appendToBuffer(this.popStack()));else{var f=this.popStack();this.pushSource(["if (",f," != null) { ",this.appendToBuffer(f,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function appendEscaped(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function getContext(f){this.lastContext=f},pushContext:function pushContext(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function lookupOnContext(f,p,M,S){var L=0;S||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(f[L++])),this.resolvePath("context",f,L,p,M)},lookupBlockParam:function lookupBlockParam(f,p){this.useBlockParams=!0,this.push(["blockParams[",f[0],"][",f[1],"]"]),this.resolvePath("context",p,1)},lookupData:function lookupData(f,p,M){f?this.pushStackLiteral("container.data(data, "+f+")"):this.pushStackLiteral("data"),this.resolvePath("data",p,0,!0,M)},resolvePath:function resolvePath(f,p,M,S,L){var Y=this;if(this.options.strict||this.options.assumeObjects)this.push(function strictLookup(f,p,M,S){var L=p.popStack(),Y=0,E=M.length;f&&E--;for(;Ythis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function topStackName(){return"stack"+this.stackSlot},flushInline:function flushInline(){var f=this.inlineStack;this.inlineStack=[];for(var p=0,M=f.length;p @@ -346,7 +346,7 @@ f.exports=function(f){return null!=f&&(isBuffer(f)||function isSlowBuffer(f){ret * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(){var Y="Expected a function",E="__lodash_placeholder__",O=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],R="[object Arguments]",W="[object Array]",B="[object Boolean]",G="[object Date]",V="[object Error]",U="[object Function]",q="[object GeneratorFunction]",X="[object Map]",K="[object Number]",J="[object Object]",Z="[object RegExp]",Q="[object Set]",ee="[object String]",te="[object Symbol]",ne="[object WeakMap]",ie="[object ArrayBuffer]",re="[object DataView]",ae="[object Float32Array]",oe="[object Float64Array]",se="[object Int8Array]",le="[object Int16Array]",ce="[object Int32Array]",de="[object Uint8Array]",ue="[object Uint16Array]",he="[object Uint32Array]",fe=/\b__p \+= '';/g,pe=/\b(__p \+=) '' \+/g,me=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ge=/&(?:amp|lt|gt|quot|#39);/g,be=/[&<>"']/g,ve=RegExp(ge.source),_e=RegExp(be.source),ye=/<%-([\s\S]+?)%>/g,we=/<%([\s\S]+?)%>/g,xe=/<%=([\s\S]+?)%>/g,ke=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Te=/^\w*$/,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Se=/[\\^$.*+?()[\]{}|]/g,Le=RegExp(Se.source),De=/^\s+|\s+$/g,Ce=/^\s+/,Ae=/\s+$/,Pe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ye=/\{\n\/\* \[wrapped with (.+)\] \*/,Ie=/,? & /,Ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Oe=/\\(\\)?/g,He=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,Ne=/^[-+]0x[0-9a-f]+$/i,je=/^0b[01]+$/i,Re=/^\[object .+?Constructor\]$/,Fe=/^0o[0-7]+$/i,We=/^(?:0|[1-9]\d*)$/,Be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ge=/($^)/,Ve=/['\n\r\u2028\u2029\\]/g,Ue="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",$e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qe="[\\ud800-\\udfff]",Xe="["+$e+"]",Ke="["+Ue+"]",Je="\\d+",Ze="[\\u2700-\\u27bf]",Qe="[a-z\\xdf-\\xf6\\xf8-\\xff]",et="[^\\ud800-\\udfff"+$e+Je+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",tt="\\ud83c[\\udffb-\\udfff]",nt="[^\\ud800-\\udfff]",it="(?:\\ud83c[\\udde6-\\uddff]){2}",rt="[\\ud800-\\udbff][\\udc00-\\udfff]",at="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ot="(?:"+Qe+"|"+et+")",st="(?:"+at+"|"+et+")",lt="(?:"+Ke+"|"+tt+")"+"?",ct="[\\ufe0e\\ufe0f]?"+lt+("(?:\\u200d(?:"+[nt,it,rt].join("|")+")[\\ufe0e\\ufe0f]?"+lt+")*"),dt="(?:"+[Ze,it,rt].join("|")+")"+ct,ut="(?:"+[nt+Ke+"?",Ke,it,rt,qe].join("|")+")",ht=RegExp("['’]","g"),ft=RegExp(Ke,"g"),pt=RegExp(tt+"(?="+tt+")|"+ut+ct,"g"),mt=RegExp([at+"?"+Qe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Xe,at,"$"].join("|")+")",st+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Xe,at+ot,"$"].join("|")+")",at+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?",at+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Je,dt].join("|"),"g"),gt=RegExp("[\\u200d\\ud800-\\udfff"+Ue+"\\ufe0e\\ufe0f]"),bt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_t=-1,yt={};yt[ae]=yt[oe]=yt[se]=yt[le]=yt[ce]=yt[de]=yt["[object Uint8ClampedArray]"]=yt[ue]=yt[he]=!0,yt[R]=yt[W]=yt[ie]=yt[B]=yt[re]=yt[G]=yt[V]=yt[U]=yt[X]=yt[K]=yt[J]=yt[Z]=yt[Q]=yt[ee]=yt[ne]=!1;var wt={};wt[R]=wt[W]=wt[ie]=wt[re]=wt[B]=wt[G]=wt[ae]=wt[oe]=wt[se]=wt[le]=wt[ce]=wt[X]=wt[K]=wt[J]=wt[Z]=wt[Q]=wt[ee]=wt[te]=wt[de]=wt["[object Uint8ClampedArray]"]=wt[ue]=wt[he]=!0,wt[V]=wt[U]=wt[ne]=!1;var xt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kt=parseFloat,Tt=parseInt,Mt="object"==typeof f&&f&&f.Object===Object&&f,St="object"==typeof self&&self&&self.Object===Object&&self,Lt=Mt||St||Function("return this")(),Dt=p&&!p.nodeType&&p,Ct=Dt&&"object"==typeof S&&S&&!S.nodeType&&S,At=Ct&&Ct.exports===Dt,Pt=At&&Mt.process,Yt=function(){try{var f=Ct&&Ct.require&&Ct.require("util").types;return f||Pt&&Pt.binding&&Pt.binding("util")}catch(f){}}(),It=Yt&&Yt.isArrayBuffer,Et=Yt&&Yt.isDate,Ot=Yt&&Yt.isMap,Ht=Yt&&Yt.isRegExp,zt=Yt&&Yt.isSet,Nt=Yt&&Yt.isTypedArray;function apply(f,p,M){switch(M.length){case 0:return f.call(p);case 1:return f.call(p,M[0]);case 2:return f.call(p,M[0],M[1]);case 3:return f.call(p,M[0],M[1],M[2])}return f.apply(p,M)}function arrayAggregator(f,p,M,S){for(var L=-1,Y=null==f?0:f.length;++L-1}function arrayIncludesWith(f,p,M){for(var S=-1,L=null==f?0:f.length;++S-1;);return M}function charsEndIndex(f,p){for(var M=f.length;M--&&baseIndexOf(p,f[M],0)>-1;);return M}function countHolders(f,p){for(var M=f.length,S=0;M--;)f[M]===p&&++S;return S}var Rt=basePropertyOf({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Ft=basePropertyOf({"&":"&","<":"<",">":">",'"':""","'":"'"});function escapeStringChar(f){return"\\"+xt[f]}function hasUnicode(f){return gt.test(f)}function mapToArray(f){var p=-1,M=Array(f.size);return f.forEach((function(f,S){M[++p]=[S,f]})),M}function overArg(f,p){return function(M){return f(p(M))}}function replaceHolders(f,p){for(var M=-1,S=f.length,L=0,Y=[];++M",""":'"',"'":"'"});var Bt=function runInContext(f){var p,M=(f=null==f?Lt:Bt.defaults(Lt.Object(),f,Bt.pick(Lt,vt))).Array,S=f.Date,L=f.Error,Ue=f.Function,$e=f.Math,qe=f.Object,Xe=f.RegExp,Ke=f.String,Je=f.TypeError,Ze=M.prototype,Qe=Ue.prototype,et=qe.prototype,tt=f["__core-js_shared__"],nt=Qe.toString,it=et.hasOwnProperty,rt=0,at=(p=/[^.]+$/.exec(tt&&tt.keys&&tt.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",ot=et.toString,st=nt.call(qe),lt=Lt._,ct=Xe("^"+nt.call(it).replace(Se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dt=At?f.Buffer:void 0,ut=f.Symbol,pt=f.Uint8Array,gt=dt?dt.allocUnsafe:void 0,xt=overArg(qe.getPrototypeOf,qe),Mt=qe.create,St=et.propertyIsEnumerable,Dt=Ze.splice,Ct=ut?ut.isConcatSpreadable:void 0,Pt=ut?ut.iterator:void 0,Yt=ut?ut.toStringTag:void 0,jt=function(){try{var f=getNative(qe,"defineProperty");return f({},"",{}),f}catch(f){}}(),Gt=f.clearTimeout!==Lt.clearTimeout&&f.clearTimeout,Vt=S&&S.now!==Lt.Date.now&&S.now,Ut=f.setTimeout!==Lt.setTimeout&&f.setTimeout,$t=$e.ceil,qt=$e.floor,Xt=qe.getOwnPropertySymbols,Kt=dt?dt.isBuffer:void 0,Jt=f.isFinite,Zt=Ze.join,Qt=overArg(qe.keys,qe),en=$e.max,tn=$e.min,nn=S.now,rn=f.parseInt,an=$e.random,sn=Ze.reverse,ln=getNative(f,"DataView"),cn=getNative(f,"Map"),dn=getNative(f,"Promise"),un=getNative(f,"Set"),hn=getNative(f,"WeakMap"),pn=getNative(qe,"create"),mn=hn&&new hn,gn={},bn=toSource(ln),vn=toSource(cn),_n=toSource(dn),yn=toSource(un),wn=toSource(hn),xn=ut?ut.prototype:void 0,kn=xn?xn.valueOf:void 0,Tn=xn?xn.toString:void 0;function lodash(f){if(isObjectLike(f)&&!Di(f)&&!(f instanceof LazyWrapper)){if(f instanceof LodashWrapper)return f;if(it.call(f,"__wrapped__"))return wrapperClone(f)}return new LodashWrapper(f)}var Mn=function(){function object(){}return function(f){if(!isObject(f))return{};if(Mt)return Mt(f);object.prototype=f;var p=new object;return object.prototype=void 0,p}}();function baseLodash(){}function LodashWrapper(f,p){this.__wrapped__=f,this.__actions__=[],this.__chain__=!!p,this.__index__=0,this.__values__=void 0}function LazyWrapper(f){this.__wrapped__=f,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Hash(f){var p=-1,M=null==f?0:f.length;for(this.clear();++p=p?f:p)),f}function baseClone(f,p,M,S,L,Y){var E,O=1&p,W=2&p,V=4&p;if(M&&(E=L?M(f,S,L,Y):M(f)),void 0!==E)return E;if(!isObject(f))return f;var ne=Di(f);if(ne){if(E=function initCloneArray(f){var p=f.length,M=new f.constructor(p);p&&"string"==typeof f[0]&&it.call(f,"index")&&(M.index=f.index,M.input=f.input);return M}(f),!O)return copyArray(f,E)}else{var fe=Nn(f),pe=fe==U||fe==q;if(Ai(f))return cloneBuffer(f,O);if(fe==J||fe==R||pe&&!L){if(E=W||pe?{}:initCloneObject(f),!O)return W?function copySymbolsIn(f,p){return copyObject(f,zn(f),p)}(f,function baseAssignIn(f,p){return f&©Object(p,keysIn(p),f)}(E,f)):function copySymbols(f,p){return copyObject(f,Hn(f),p)}(f,baseAssign(E,f))}else{if(!wt[fe])return L?f:{};E=function initCloneByTag(f,p,M){var S=f.constructor;switch(p){case ie:return cloneArrayBuffer(f);case B:case G:return new S(+f);case re:return function cloneDataView(f,p){var M=p?cloneArrayBuffer(f.buffer):f.buffer;return new f.constructor(M,f.byteOffset,f.byteLength)}(f,M);case ae:case oe:case se:case le:case ce:case de:case"[object Uint8ClampedArray]":case ue:case he:return cloneTypedArray(f,M);case X:return new S;case K:case ee:return new S(f);case Z:return function cloneRegExp(f){var p=new f.constructor(f.source,ze.exec(f));return p.lastIndex=f.lastIndex,p}(f);case Q:return new S;case te:return function cloneSymbol(f){return kn?qe(kn.call(f)):{}}(f)}}(f,fe,O)}}Y||(Y=new Stack);var me=Y.get(f);if(me)return me;Y.set(f,E),Ei(f)?f.forEach((function(S){E.add(baseClone(S,p,M,S,f,Y))})):Yi(f)&&f.forEach((function(S,L){E.set(L,baseClone(S,p,M,L,f,Y))}));var ge=ne?void 0:(V?W?getAllKeysIn:getAllKeys:W?keysIn:keys)(f);return arrayEach(ge||f,(function(S,L){ge&&(S=f[L=S]),assignValue(E,L,baseClone(S,p,M,L,f,Y))})),E}function baseConformsTo(f,p,M){var S=M.length;if(null==f)return!S;for(f=qe(f);S--;){var L=M[S],Y=p[L],E=f[L];if(void 0===E&&!(L in f)||!Y(E))return!1}return!0}function baseDelay(f,p,M){if("function"!=typeof f)throw new Je(Y);return Fn((function(){f.apply(void 0,M)}),p)}function baseDifference(f,p,M,S){var L=-1,Y=arrayIncludes,E=!0,O=f.length,R=[],W=p.length;if(!O)return R;M&&(p=arrayMap(p,baseUnary(M))),S?(Y=arrayIncludesWith,E=!1):p.length>=200&&(Y=cacheHas,E=!1,p=new SetCache(p));e:for(;++L-1},ListCache.prototype.set=function listCacheSet(f,p){var M=this.__data__,S=assocIndexOf(M,f);return S<0?(++this.size,M.push([f,p])):M[S][1]=p,this},MapCache.prototype.clear=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(cn||ListCache),string:new Hash}},MapCache.prototype.delete=function mapCacheDelete(f){var p=getMapData(this,f).delete(f);return this.size-=p?1:0,p},MapCache.prototype.get=function mapCacheGet(f){return getMapData(this,f).get(f)},MapCache.prototype.has=function mapCacheHas(f){return getMapData(this,f).has(f)},MapCache.prototype.set=function mapCacheSet(f,p){var M=getMapData(this,f),S=M.size;return M.set(f,p),this.size+=M.size==S?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function setCacheAdd(f){return this.__data__.set(f,"__lodash_hash_undefined__"),this},SetCache.prototype.has=function setCacheHas(f){return this.__data__.has(f)},Stack.prototype.clear=function stackClear(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function stackDelete(f){var p=this.__data__,M=p.delete(f);return this.size=p.size,M},Stack.prototype.get=function stackGet(f){return this.__data__.get(f)},Stack.prototype.has=function stackHas(f){return this.__data__.has(f)},Stack.prototype.set=function stackSet(f,p){var M=this.__data__;if(M instanceof ListCache){var S=M.__data__;if(!cn||S.length<199)return S.push([f,p]),this.size=++M.size,this;M=this.__data__=new MapCache(S)}return M.set(f,p),this.size=M.size,this};var Sn=createBaseEach(baseForOwn),Ln=createBaseEach(baseForOwnRight,!0);function baseEvery(f,p){var M=!0;return Sn(f,(function(f,S,L){return M=!!p(f,S,L)})),M}function baseExtremum(f,p,M){for(var S=-1,L=f.length;++S0&&M(O)?p>1?baseFlatten(O,p-1,M,S,L):arrayPush(L,O):S||(L[L.length]=O)}return L}var Dn=createBaseFor(),Cn=createBaseFor(!0);function baseForOwn(f,p){return f&&Dn(f,p,keys)}function baseForOwnRight(f,p){return f&&Cn(f,p,keys)}function baseFunctions(f,p){return arrayFilter(p,(function(p){return isFunction(f[p])}))}function baseGet(f,p){for(var M=0,S=(p=castPath(p,f)).length;null!=f&&Mp}function baseHas(f,p){return null!=f&&it.call(f,p)}function baseHasIn(f,p){return null!=f&&p in qe(f)}function baseIntersection(f,p,S){for(var L=S?arrayIncludesWith:arrayIncludes,Y=f[0].length,E=f.length,O=E,R=M(E),W=1/0,B=[];O--;){var G=f[O];O&&p&&(G=arrayMap(G,baseUnary(p))),W=tn(G.length,W),R[O]=!S&&(p||Y>=120&&G.length>=120)?new SetCache(O&&G):void 0}G=f[0];var V=-1,U=R[0];e:for(;++V=O)return R;var W=M[S];return R*("desc"==W?-1:1)}}return f.index-p.index}(f,p,M)}))}function basePickBy(f,p,M){for(var S=-1,L=p.length,Y={};++S-1;)O!==f&&Dt.call(O,R,1),Dt.call(f,R,1);return f}function basePullAt(f,p){for(var M=f?p.length:0,S=M-1;M--;){var L=p[M];if(M==S||L!==Y){var Y=L;isIndex(L)?Dt.call(f,L,1):baseUnset(f,L)}}return f}function baseRandom(f,p){return f+qt(an()*(p-f+1))}function baseRepeat(f,p){var M="";if(!f||p<1||p>9007199254740991)return M;do{p%2&&(M+=f),(p=qt(p/2))&&(f+=f)}while(p);return M}function baseRest(f,p){return Wn(overRest(f,p,identity),f+"")}function baseSample(f){return arraySample(values(f))}function baseSampleSize(f,p){var M=values(f);return shuffleSelf(M,baseClamp(p,0,M.length))}function baseSet(f,p,M,S){if(!isObject(f))return f;for(var L=-1,Y=(p=castPath(p,f)).length,E=Y-1,O=f;null!=O&&++LY?0:Y+p),(S=S>Y?Y:S)<0&&(S+=Y),Y=p>S?0:S-p>>>0,p>>>=0;for(var E=M(Y);++L>>1,E=f[Y];null!==E&&!isSymbol(E)&&(M?E<=p:E=200){var W=p?null:En(f);if(W)return setToArray(W);E=!1,L=cacheHas,R=new SetCache}else R=p?[]:O;e:for(;++S=S?f:baseSlice(f,p,M)}var In=Gt||function(f){return Lt.clearTimeout(f)};function cloneBuffer(f,p){if(p)return f.slice();var M=f.length,S=gt?gt(M):new f.constructor(M);return f.copy(S),S}function cloneArrayBuffer(f){var p=new f.constructor(f.byteLength);return new pt(p).set(new pt(f)),p}function cloneTypedArray(f,p){var M=p?cloneArrayBuffer(f.buffer):f.buffer;return new f.constructor(M,f.byteOffset,f.length)}function compareAscending(f,p){if(f!==p){var M=void 0!==f,S=null===f,L=f==f,Y=isSymbol(f),E=void 0!==p,O=null===p,R=p==p,W=isSymbol(p);if(!O&&!W&&!Y&&f>p||Y&&E&&R&&!O&&!W||S&&E&&R||!M&&R||!L)return 1;if(!S&&!Y&&!W&&f1?M[L-1]:void 0,E=L>2?M[2]:void 0;for(Y=f.length>3&&"function"==typeof Y?(L--,Y):void 0,E&&isIterateeCall(M[0],M[1],E)&&(Y=L<3?void 0:Y,L=1),p=qe(p);++S-1?L[Y?p[E]:E]:void 0}}function createFlow(f){return flatRest((function(p){var M=p.length,S=M,L=LodashWrapper.prototype.thru;for(f&&p.reverse();S--;){var E=p[S];if("function"!=typeof E)throw new Je(Y);if(L&&!O&&"wrapper"==getFuncName(E))var O=new LodashWrapper([],!0)}for(S=O?S:M;++S1&&Z.reverse(),G&&WO))return!1;var W=Y.get(f),B=Y.get(p);if(W&&B)return W==p&&B==f;var G=-1,V=!0,U=2&M?new SetCache:void 0;for(Y.set(f,p),Y.set(p,f);++G-1&&f%1==0&&f1?"& ":"")+p[S],p=p.join(M>2?", ":" "),f.replace(Pe,"{\n/* [wrapped with "+p+"] */\n")}(S,function updateWrapDetails(f,p){return arrayEach(O,(function(M){var S="_."+M[0];p&M[1]&&!arrayIncludes(f,S)&&f.push(S)})),f.sort()}(function getWrapDetails(f){var p=f.match(Ye);return p?p[1].split(Ie):[]}(S),M)))}function shortOut(f){var p=0,M=0;return function(){var S=nn(),L=16-(S-M);if(M=S,L>0){if(++p>=800)return arguments[0]}else p=0;return f.apply(void 0,arguments)}}function shuffleSelf(f,p){var M=-1,S=f.length,L=S-1;for(p=void 0===p?S:p;++M1?f[p-1]:void 0;return M="function"==typeof M?(f.pop(),M):void 0,unzipWith(f,M)}));function chain(f){var p=lodash(f);return p.__chain__=!0,p}function thru(f,p){return p(f)}var si=flatRest((function(f){var p=f.length,M=p?f[0]:0,S=this.__wrapped__,interceptor=function(p){return baseAt(p,f)};return!(p>1||this.__actions__.length)&&S instanceof LazyWrapper&&isIndex(M)?((S=S.slice(M,+M+(p?1:0))).__actions__.push({func:thru,args:[interceptor],thisArg:void 0}),new LodashWrapper(S,this.__chain__).thru((function(f){return p&&!f.length&&f.push(void 0),f}))):this.thru(interceptor)}));var li=createAggregator((function(f,p,M){it.call(f,M)?++f[M]:baseAssignValue(f,M,1)}));var ci=createFind(findIndex),di=createFind(findLastIndex);function forEach(f,p){return(Di(f)?arrayEach:Sn)(f,getIteratee(p,3))}function forEachRight(f,p){return(Di(f)?arrayEachRight:Ln)(f,getIteratee(p,3))}var ui=createAggregator((function(f,p,M){it.call(f,M)?f[M].push(p):baseAssignValue(f,M,[p])}));var hi=baseRest((function(f,p,S){var L=-1,Y="function"==typeof p,E=isArrayLike(f)?M(f.length):[];return Sn(f,(function(f){E[++L]=Y?apply(p,f,S):baseInvoke(f,p,S)})),E})),fi=createAggregator((function(f,p,M){baseAssignValue(f,M,p)}));function map(f,p){return(Di(f)?arrayMap:baseMap)(f,getIteratee(p,3))}var pi=createAggregator((function(f,p,M){f[M?0:1].push(p)}),(function(){return[[],[]]}));var mi=baseRest((function(f,p){if(null==f)return[];var M=p.length;return M>1&&isIterateeCall(f,p[0],p[1])?p=[]:M>2&&isIterateeCall(p[0],p[1],p[2])&&(p=[p[0]]),baseOrderBy(f,baseFlatten(p,1),[])})),gi=Vt||function(){return Lt.Date.now()};function ary(f,p,M){return p=M?void 0:p,createWrap(f,128,void 0,void 0,void 0,void 0,p=f&&null==p?f.length:p)}function before(f,p){var M;if("function"!=typeof p)throw new Je(Y);return f=toInteger(f),function(){return--f>0&&(M=p.apply(this,arguments)),f<=1&&(p=void 0),M}}var bi=baseRest((function(f,p,M){var S=1;if(M.length){var L=replaceHolders(M,getHolder(bi));S|=32}return createWrap(f,S,p,M,L)})),vi=baseRest((function(f,p,M){var S=3;if(M.length){var L=replaceHolders(M,getHolder(vi));S|=32}return createWrap(p,S,f,M,L)}));function debounce(f,p,M){var S,L,E,O,R,W,B=0,G=!1,V=!1,U=!0;if("function"!=typeof f)throw new Je(Y);function invokeFunc(p){var M=S,Y=L;return S=L=void 0,B=p,O=f.apply(Y,M)}function leadingEdge(f){return B=f,R=Fn(timerExpired,p),G?invokeFunc(f):O}function shouldInvoke(f){var M=f-W;return void 0===W||M>=p||M<0||V&&f-B>=E}function timerExpired(){var f=gi();if(shouldInvoke(f))return trailingEdge(f);R=Fn(timerExpired,function remainingWait(f){var M=p-(f-W);return V?tn(M,E-(f-B)):M}(f))}function trailingEdge(f){return R=void 0,U&&S?invokeFunc(f):(S=L=void 0,O)}function debounced(){var f=gi(),M=shouldInvoke(f);if(S=arguments,L=this,W=f,M){if(void 0===R)return leadingEdge(W);if(V)return In(R),R=Fn(timerExpired,p),invokeFunc(W)}return void 0===R&&(R=Fn(timerExpired,p)),O}return p=toNumber(p)||0,isObject(M)&&(G=!!M.leading,E=(V="maxWait"in M)?en(toNumber(M.maxWait)||0,p):E,U="trailing"in M?!!M.trailing:U),debounced.cancel=function cancel(){void 0!==R&&In(R),B=0,S=W=L=R=void 0},debounced.flush=function flush(){return void 0===R?O:trailingEdge(gi())},debounced}var _i=baseRest((function(f,p){return baseDelay(f,1,p)})),yi=baseRest((function(f,p,M){return baseDelay(f,toNumber(p)||0,M)}));function memoize(f,p){if("function"!=typeof f||null!=p&&"function"!=typeof p)throw new Je(Y);var memoized=function(){var M=arguments,S=p?p.apply(this,M):M[0],L=memoized.cache;if(L.has(S))return L.get(S);var Y=f.apply(this,M);return memoized.cache=L.set(S,Y)||L,Y};return memoized.cache=new(memoize.Cache||MapCache),memoized}function negate(f){if("function"!=typeof f)throw new Je(Y);return function(){var p=arguments;switch(p.length){case 0:return!f.call(this);case 1:return!f.call(this,p[0]);case 2:return!f.call(this,p[0],p[1]);case 3:return!f.call(this,p[0],p[1],p[2])}return!f.apply(this,p)}}memoize.Cache=MapCache;var wi=Yn((function(f,p){var M=(p=1==p.length&&Di(p[0])?arrayMap(p[0],baseUnary(getIteratee())):arrayMap(baseFlatten(p,1),baseUnary(getIteratee()))).length;return baseRest((function(S){for(var L=-1,Y=tn(S.length,M);++L=p})),Li=baseIsArguments(function(){return arguments}())?baseIsArguments:function(f){return isObjectLike(f)&&it.call(f,"callee")&&!St.call(f,"callee")},Di=M.isArray,Ci=It?baseUnary(It):function baseIsArrayBuffer(f){return isObjectLike(f)&&baseGetTag(f)==ie};function isArrayLike(f){return null!=f&&isLength(f.length)&&!isFunction(f)}function isArrayLikeObject(f){return isObjectLike(f)&&isArrayLike(f)}var Ai=Kt||stubFalse,Pi=Et?baseUnary(Et):function baseIsDate(f){return isObjectLike(f)&&baseGetTag(f)==G};function isError(f){if(!isObjectLike(f))return!1;var p=baseGetTag(f);return p==V||"[object DOMException]"==p||"string"==typeof f.message&&"string"==typeof f.name&&!isPlainObject(f)}function isFunction(f){if(!isObject(f))return!1;var p=baseGetTag(f);return p==U||p==q||"[object AsyncFunction]"==p||"[object Proxy]"==p}function isInteger(f){return"number"==typeof f&&f==toInteger(f)}function isLength(f){return"number"==typeof f&&f>-1&&f%1==0&&f<=9007199254740991}function isObject(f){var p=typeof f;return null!=f&&("object"==p||"function"==p)}function isObjectLike(f){return null!=f&&"object"==typeof f}var Yi=Ot?baseUnary(Ot):function baseIsMap(f){return isObjectLike(f)&&Nn(f)==X};function isNumber(f){return"number"==typeof f||isObjectLike(f)&&baseGetTag(f)==K}function isPlainObject(f){if(!isObjectLike(f)||baseGetTag(f)!=J)return!1;var p=xt(f);if(null===p)return!0;var M=it.call(p,"constructor")&&p.constructor;return"function"==typeof M&&M instanceof M&&nt.call(M)==st}var Ii=Ht?baseUnary(Ht):function baseIsRegExp(f){return isObjectLike(f)&&baseGetTag(f)==Z};var Ei=zt?baseUnary(zt):function baseIsSet(f){return isObjectLike(f)&&Nn(f)==Q};function isString(f){return"string"==typeof f||!Di(f)&&isObjectLike(f)&&baseGetTag(f)==ee}function isSymbol(f){return"symbol"==typeof f||isObjectLike(f)&&baseGetTag(f)==te}var Oi=Nt?baseUnary(Nt):function baseIsTypedArray(f){return isObjectLike(f)&&isLength(f.length)&&!!yt[baseGetTag(f)]};var Hi=createRelationalOperation(baseLt),zi=createRelationalOperation((function(f,p){return f<=p}));function toArray(f){if(!f)return[];if(isArrayLike(f))return isString(f)?stringToArray(f):copyArray(f);if(Pt&&f[Pt])return function iteratorToArray(f){for(var p,M=[];!(p=f.next()).done;)M.push(p.value);return M}(f[Pt]());var p=Nn(f);return(p==X?mapToArray:p==Q?setToArray:values)(f)}function toFinite(f){return f?(f=toNumber(f))===1/0||f===-1/0?17976931348623157e292*(f<0?-1:1):f==f?f:0:0===f?f:0}function toInteger(f){var p=toFinite(f),M=p%1;return p==p?M?p-M:p:0}function toLength(f){return f?baseClamp(toInteger(f),0,4294967295):0}function toNumber(f){if("number"==typeof f)return f;if(isSymbol(f))return NaN;if(isObject(f)){var p="function"==typeof f.valueOf?f.valueOf():f;f=isObject(p)?p+"":p}if("string"!=typeof f)return 0===f?f:+f;f=f.replace(De,"");var M=je.test(f);return M||Fe.test(f)?Tt(f.slice(2),M?2:8):Ne.test(f)?NaN:+f}function toPlainObject(f){return copyObject(f,keysIn(f))}function toString(f){return null==f?"":baseToString(f)}var Ni=createAssigner((function(f,p){if(isPrototype(p)||isArrayLike(p))copyObject(p,keys(p),f);else for(var M in p)it.call(p,M)&&assignValue(f,M,p[M])})),ji=createAssigner((function(f,p){copyObject(p,keysIn(p),f)})),Ri=createAssigner((function(f,p,M,S){copyObject(p,keysIn(p),f,S)})),Fi=createAssigner((function(f,p,M,S){copyObject(p,keys(p),f,S)})),Wi=flatRest(baseAt);var Bi=baseRest((function(f,p){f=qe(f);var M=-1,S=p.length,L=S>2?p[2]:void 0;for(L&&isIterateeCall(p[0],p[1],L)&&(S=1);++M1),p})),copyObject(f,getAllKeysIn(f),M),S&&(M=baseClone(M,7,customOmitClone));for(var L=p.length;L--;)baseUnset(M,p[L]);return M}));var Ji=flatRest((function(f,p){return null==f?{}:function basePick(f,p){return basePickBy(f,p,(function(p,M){return hasIn(f,M)}))}(f,p)}));function pickBy(f,p){if(null==f)return{};var M=arrayMap(getAllKeysIn(f),(function(f){return[f]}));return p=getIteratee(p),basePickBy(f,M,(function(f,M){return p(f,M[0])}))}var Zi=createToPairs(keys),Qi=createToPairs(keysIn);function values(f){return null==f?[]:baseValues(f,keys(f))}var er=createCompounder((function(f,p,M){return p=p.toLowerCase(),f+(M?capitalize(p):p)}));function capitalize(f){return sr(toString(f).toLowerCase())}function deburr(f){return(f=toString(f))&&f.replace(Be,Rt).replace(ft,"")}var tr=createCompounder((function(f,p,M){return f+(M?"-":"")+p.toLowerCase()})),nr=createCompounder((function(f,p,M){return f+(M?" ":"")+p.toLowerCase()})),ir=createCaseFirst("toLowerCase");var rr=createCompounder((function(f,p,M){return f+(M?"_":"")+p.toLowerCase()}));var ar=createCompounder((function(f,p,M){return f+(M?" ":"")+sr(p)}));var or=createCompounder((function(f,p,M){return f+(M?" ":"")+p.toUpperCase()})),sr=createCaseFirst("toUpperCase");function words(f,p,M){return f=toString(f),void 0===(p=M?void 0:p)?function hasUnicodeWord(f){return bt.test(f)}(f)?function unicodeWords(f){return f.match(mt)||[]}(f):function asciiWords(f){return f.match(Ee)||[]}(f):f.match(p)||[]}var lr=baseRest((function(f,p){try{return apply(f,void 0,p)}catch(f){return isError(f)?f:new L(f)}})),cr=flatRest((function(f,p){return arrayEach(p,(function(p){p=toKey(p),baseAssignValue(f,p,bi(f[p],f))})),f}));function constant(f){return function(){return f}}var dr=createFlow(),ur=createFlow(!0);function identity(f){return f}function iteratee(f){return baseIteratee("function"==typeof f?f:baseClone(f,1))}var hr=baseRest((function(f,p){return function(M){return baseInvoke(M,f,p)}})),fr=baseRest((function(f,p){return function(M){return baseInvoke(f,M,p)}}));function mixin(f,p,M){var S=keys(p),L=baseFunctions(p,S);null!=M||isObject(p)&&(L.length||!S.length)||(M=p,p=f,f=this,L=baseFunctions(p,keys(p)));var Y=!(isObject(M)&&"chain"in M&&!M.chain),E=isFunction(f);return arrayEach(L,(function(M){var S=p[M];f[M]=S,E&&(f.prototype[M]=function(){var p=this.__chain__;if(Y||p){var M=f(this.__wrapped__),L=M.__actions__=copyArray(this.__actions__);return L.push({func:S,args:arguments,thisArg:f}),M.__chain__=p,M}return S.apply(f,arrayPush([this.value()],arguments))})})),f}function noop(){}var pr=createOver(arrayMap),mr=createOver(arrayEvery),gr=createOver(arraySome);function property(f){return isKey(f)?baseProperty(toKey(f)):function basePropertyDeep(f){return function(p){return baseGet(p,f)}}(f)}var br=createRange(),vr=createRange(!0);function stubArray(){return[]}function stubFalse(){return!1}var _r=createMathOperation((function(f,p){return f+p}),0),yr=createRound("ceil"),wr=createMathOperation((function(f,p){return f/p}),1),xr=createRound("floor");var kr,Tr=createMathOperation((function(f,p){return f*p}),1),Mr=createRound("round"),Sr=createMathOperation((function(f,p){return f-p}),0);return lodash.after=function after(f,p){if("function"!=typeof p)throw new Je(Y);return f=toInteger(f),function(){if(--f<1)return p.apply(this,arguments)}},lodash.ary=ary,lodash.assign=Ni,lodash.assignIn=ji,lodash.assignInWith=Ri,lodash.assignWith=Fi,lodash.at=Wi,lodash.before=before,lodash.bind=bi,lodash.bindAll=cr,lodash.bindKey=vi,lodash.castArray=function castArray(){if(!arguments.length)return[];var f=arguments[0];return Di(f)?f:[f]},lodash.chain=chain,lodash.chunk=function chunk(f,p,S){p=(S?isIterateeCall(f,p,S):void 0===p)?1:en(toInteger(p),0);var L=null==f?0:f.length;if(!L||p<1)return[];for(var Y=0,E=0,O=M($t(L/p));YL?0:L+M),(S=void 0===S||S>L?L:toInteger(S))<0&&(S+=L),S=M>S?0:toLength(S);M>>0)?(f=toString(f))&&("string"==typeof p||null!=p&&!Ii(p))&&!(p=baseToString(p))&&hasUnicode(f)?castSlice(stringToArray(f),0,M):f.split(p,M):[]},lodash.spread=function spread(f,p){if("function"!=typeof f)throw new Je(Y);return p=null==p?0:en(toInteger(p),0),baseRest((function(M){var S=M[p],L=castSlice(M,0,p);return S&&arrayPush(L,S),apply(f,this,L)}))},lodash.tail=function tail(f){var p=null==f?0:f.length;return p?baseSlice(f,1,p):[]},lodash.take=function take(f,p,M){return f&&f.length?baseSlice(f,0,(p=M||void 0===p?1:toInteger(p))<0?0:p):[]},lodash.takeRight=function takeRight(f,p,M){var S=null==f?0:f.length;return S?baseSlice(f,(p=S-(p=M||void 0===p?1:toInteger(p)))<0?0:p,S):[]},lodash.takeRightWhile=function takeRightWhile(f,p){return f&&f.length?baseWhile(f,getIteratee(p,3),!1,!0):[]},lodash.takeWhile=function takeWhile(f,p){return f&&f.length?baseWhile(f,getIteratee(p,3)):[]},lodash.tap=function tap(f,p){return p(f),f},lodash.throttle=function throttle(f,p,M){var S=!0,L=!0;if("function"!=typeof f)throw new Je(Y);return isObject(M)&&(S="leading"in M?!!M.leading:S,L="trailing"in M?!!M.trailing:L),debounce(f,p,{leading:S,maxWait:p,trailing:L})},lodash.thru=thru,lodash.toArray=toArray,lodash.toPairs=Zi,lodash.toPairsIn=Qi,lodash.toPath=function toPath(f){return Di(f)?arrayMap(f,toKey):isSymbol(f)?[f]:copyArray(Bn(toString(f)))},lodash.toPlainObject=toPlainObject,lodash.transform=function transform(f,p,M){var S=Di(f),L=S||Ai(f)||Oi(f);if(p=getIteratee(p,4),null==M){var Y=f&&f.constructor;M=L?S?new Y:[]:isObject(f)&&isFunction(Y)?Mn(xt(f)):{}}return(L?arrayEach:baseForOwn)(f,(function(f,S,L){return p(M,f,S,L)})),M},lodash.unary=function unary(f){return ary(f,1)},lodash.union=Zn,lodash.unionBy=Qn,lodash.unionWith=ei,lodash.uniq=function uniq(f){return f&&f.length?baseUniq(f):[]},lodash.uniqBy=function uniqBy(f,p){return f&&f.length?baseUniq(f,getIteratee(p,2)):[]},lodash.uniqWith=function uniqWith(f,p){return p="function"==typeof p?p:void 0,f&&f.length?baseUniq(f,void 0,p):[]},lodash.unset=function unset(f,p){return null==f||baseUnset(f,p)},lodash.unzip=unzip,lodash.unzipWith=unzipWith,lodash.update=function update(f,p,M){return null==f?f:baseUpdate(f,p,castFunction(M))},lodash.updateWith=function updateWith(f,p,M,S){return S="function"==typeof S?S:void 0,null==f?f:baseUpdate(f,p,castFunction(M),S)},lodash.values=values,lodash.valuesIn=function valuesIn(f){return null==f?[]:baseValues(f,keysIn(f))},lodash.without=ti,lodash.words=words,lodash.wrap=function wrap(f,p){return xi(castFunction(p),f)},lodash.xor=ni,lodash.xorBy=ii,lodash.xorWith=ri,lodash.zip=ai,lodash.zipObject=function zipObject(f,p){return baseZipObject(f||[],p||[],assignValue)},lodash.zipObjectDeep=function zipObjectDeep(f,p){return baseZipObject(f||[],p||[],baseSet)},lodash.zipWith=oi,lodash.entries=Zi,lodash.entriesIn=Qi,lodash.extend=ji,lodash.extendWith=Ri,mixin(lodash,lodash),lodash.add=_r,lodash.attempt=lr,lodash.camelCase=er,lodash.capitalize=capitalize,lodash.ceil=yr,lodash.clamp=function clamp(f,p,M){return void 0===M&&(M=p,p=void 0),void 0!==M&&(M=(M=toNumber(M))==M?M:0),void 0!==p&&(p=(p=toNumber(p))==p?p:0),baseClamp(toNumber(f),p,M)},lodash.clone=function clone(f){return baseClone(f,4)},lodash.cloneDeep=function cloneDeep(f){return baseClone(f,5)},lodash.cloneDeepWith=function cloneDeepWith(f,p){return baseClone(f,5,p="function"==typeof p?p:void 0)},lodash.cloneWith=function cloneWith(f,p){return baseClone(f,4,p="function"==typeof p?p:void 0)},lodash.conformsTo=function conformsTo(f,p){return null==p||baseConformsTo(f,p,keys(p))},lodash.deburr=deburr,lodash.defaultTo=function defaultTo(f,p){return null==f||f!=f?p:f},lodash.divide=wr,lodash.endsWith=function endsWith(f,p,M){f=toString(f),p=baseToString(p);var S=f.length,L=M=void 0===M?S:baseClamp(toInteger(M),0,S);return(M-=p.length)>=0&&f.slice(M,L)==p},lodash.eq=eq,lodash.escape=function escape(f){return(f=toString(f))&&_e.test(f)?f.replace(be,Ft):f},lodash.escapeRegExp=function escapeRegExp(f){return(f=toString(f))&&Le.test(f)?f.replace(Se,"\\$&"):f},lodash.every=function every(f,p,M){var S=Di(f)?arrayEvery:baseEvery;return M&&isIterateeCall(f,p,M)&&(p=void 0),S(f,getIteratee(p,3))},lodash.find=ci,lodash.findIndex=findIndex,lodash.findKey=function findKey(f,p){return baseFindKey(f,getIteratee(p,3),baseForOwn)},lodash.findLast=di,lodash.findLastIndex=findLastIndex,lodash.findLastKey=function findLastKey(f,p){return baseFindKey(f,getIteratee(p,3),baseForOwnRight)},lodash.floor=xr,lodash.forEach=forEach,lodash.forEachRight=forEachRight,lodash.forIn=function forIn(f,p){return null==f?f:Dn(f,getIteratee(p,3),keysIn)},lodash.forInRight=function forInRight(f,p){return null==f?f:Cn(f,getIteratee(p,3),keysIn)},lodash.forOwn=function forOwn(f,p){return f&&baseForOwn(f,getIteratee(p,3))},lodash.forOwnRight=function forOwnRight(f,p){return f&&baseForOwnRight(f,getIteratee(p,3))},lodash.get=get,lodash.gt=Mi,lodash.gte=Si,lodash.has=function has(f,p){return null!=f&&hasPath(f,p,baseHas)},lodash.hasIn=hasIn,lodash.head=head,lodash.identity=identity,lodash.includes=function includes(f,p,M,S){f=isArrayLike(f)?f:values(f),M=M&&!S?toInteger(M):0;var L=f.length;return M<0&&(M=en(L+M,0)),isString(f)?M<=L&&f.indexOf(p,M)>-1:!!L&&baseIndexOf(f,p,M)>-1},lodash.indexOf=function indexOf(f,p,M){var S=null==f?0:f.length;if(!S)return-1;var L=null==M?0:toInteger(M);return L<0&&(L=en(S+L,0)),baseIndexOf(f,p,L)},lodash.inRange=function inRange(f,p,M){return p=toFinite(p),void 0===M?(M=p,p=0):M=toFinite(M),function baseInRange(f,p,M){return f>=tn(p,M)&&f=-9007199254740991&&f<=9007199254740991},lodash.isSet=Ei,lodash.isString=isString,lodash.isSymbol=isSymbol,lodash.isTypedArray=Oi,lodash.isUndefined=function isUndefined(f){return void 0===f},lodash.isWeakMap=function isWeakMap(f){return isObjectLike(f)&&Nn(f)==ne},lodash.isWeakSet=function isWeakSet(f){return isObjectLike(f)&&"[object WeakSet]"==baseGetTag(f)},lodash.join=function join(f,p){return null==f?"":Zt.call(f,p)},lodash.kebabCase=tr,lodash.last=last,lodash.lastIndexOf=function lastIndexOf(f,p,M){var S=null==f?0:f.length;if(!S)return-1;var L=S;return void 0!==M&&(L=(L=toInteger(M))<0?en(S+L,0):tn(L,S-1)),p==p?function strictLastIndexOf(f,p,M){for(var S=M+1;S--;)if(f[S]===p)return S;return S}(f,p,L):baseFindIndex(f,baseIsNaN,L,!0)},lodash.lowerCase=nr,lodash.lowerFirst=ir,lodash.lt=Hi,lodash.lte=zi,lodash.max=function max(f){return f&&f.length?baseExtremum(f,identity,baseGt):void 0},lodash.maxBy=function maxBy(f,p){return f&&f.length?baseExtremum(f,getIteratee(p,2),baseGt):void 0},lodash.mean=function mean(f){return baseMean(f,identity)},lodash.meanBy=function meanBy(f,p){return baseMean(f,getIteratee(p,2))},lodash.min=function min(f){return f&&f.length?baseExtremum(f,identity,baseLt):void 0},lodash.minBy=function minBy(f,p){return f&&f.length?baseExtremum(f,getIteratee(p,2),baseLt):void 0},lodash.stubArray=stubArray,lodash.stubFalse=stubFalse,lodash.stubObject=function stubObject(){return{}},lodash.stubString=function stubString(){return""},lodash.stubTrue=function stubTrue(){return!0},lodash.multiply=Tr,lodash.nth=function nth(f,p){return f&&f.length?baseNth(f,toInteger(p)):void 0},lodash.noConflict=function noConflict(){return Lt._===this&&(Lt._=lt),this},lodash.noop=noop,lodash.now=gi,lodash.pad=function pad(f,p,M){f=toString(f);var S=(p=toInteger(p))?stringSize(f):0;if(!p||S>=p)return f;var L=(p-S)/2;return createPadding(qt(L),M)+f+createPadding($t(L),M)},lodash.padEnd=function padEnd(f,p,M){f=toString(f);var S=(p=toInteger(p))?stringSize(f):0;return p&&Sp){var S=f;f=p,p=S}if(M||f%1||p%1){var L=an();return tn(f+L*(p-f+kt("1e-"+((L+"").length-1))),p)}return baseRandom(f,p)},lodash.reduce=function reduce(f,p,M){var S=Di(f)?arrayReduce:baseReduce,L=arguments.length<3;return S(f,getIteratee(p,4),M,L,Sn)},lodash.reduceRight=function reduceRight(f,p,M){var S=Di(f)?arrayReduceRight:baseReduce,L=arguments.length<3;return S(f,getIteratee(p,4),M,L,Ln)},lodash.repeat=function repeat(f,p,M){return p=(M?isIterateeCall(f,p,M):void 0===p)?1:toInteger(p),baseRepeat(toString(f),p)},lodash.replace=function replace(){var f=arguments,p=toString(f[0]);return f.length<3?p:p.replace(f[1],f[2])},lodash.result=function result(f,p,M){var S=-1,L=(p=castPath(p,f)).length;for(L||(L=1,f=void 0);++S9007199254740991)return[];var M=4294967295,S=tn(f,4294967295);f-=4294967295;for(var L=baseTimes(S,p=getIteratee(p));++M=Y)return f;var O=M-stringSize(S);if(O<1)return S;var R=E?castSlice(E,0,O).join(""):f.slice(0,O);if(void 0===L)return R+S;if(E&&(O+=R.length-O),Ii(L)){if(f.slice(O).search(L)){var W,B=R;for(L.global||(L=Xe(L.source,toString(ze.exec(L))+"g")),L.lastIndex=0;W=L.exec(B);)var G=W.index;R=R.slice(0,void 0===G?O:G)}}else if(f.indexOf(baseToString(L),O)!=O){var V=R.lastIndexOf(L);V>-1&&(R=R.slice(0,V))}return R+S},lodash.unescape=function unescape(f){return(f=toString(f))&&ve.test(f)?f.replace(ge,Wt):f},lodash.uniqueId=function uniqueId(f){var p=++rt;return toString(f)+p},lodash.upperCase=or,lodash.upperFirst=sr,lodash.each=forEach,lodash.eachRight=forEachRight,lodash.first=head,mixin(lodash,(kr={},baseForOwn(lodash,(function(f,p){it.call(lodash.prototype,p)||(kr[p]=f)})),kr),{chain:!1}),lodash.VERSION="4.17.19",arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(f){lodash[f].placeholder=lodash})),arrayEach(["drop","take"],(function(f,p){LazyWrapper.prototype[f]=function(M){M=void 0===M?1:en(toInteger(M),0);var S=this.__filtered__&&!p?new LazyWrapper(this):this.clone();return S.__filtered__?S.__takeCount__=tn(M,S.__takeCount__):S.__views__.push({size:tn(M,4294967295),type:f+(S.__dir__<0?"Right":"")}),S},LazyWrapper.prototype[f+"Right"]=function(p){return this.reverse()[f](p).reverse()}})),arrayEach(["filter","map","takeWhile"],(function(f,p){var M=p+1,S=1==M||3==M;LazyWrapper.prototype[f]=function(f){var p=this.clone();return p.__iteratees__.push({iteratee:getIteratee(f,3),type:M}),p.__filtered__=p.__filtered__||S,p}})),arrayEach(["head","last"],(function(f,p){var M="take"+(p?"Right":"");LazyWrapper.prototype[f]=function(){return this[M](1).value()[0]}})),arrayEach(["initial","tail"],(function(f,p){var M="drop"+(p?"":"Right");LazyWrapper.prototype[f]=function(){return this.__filtered__?new LazyWrapper(this):this[M](1)}})),LazyWrapper.prototype.compact=function(){return this.filter(identity)},LazyWrapper.prototype.find=function(f){return this.filter(f).head()},LazyWrapper.prototype.findLast=function(f){return this.reverse().find(f)},LazyWrapper.prototype.invokeMap=baseRest((function(f,p){return"function"==typeof f?new LazyWrapper(this):this.map((function(M){return baseInvoke(M,f,p)}))})),LazyWrapper.prototype.reject=function(f){return this.filter(negate(getIteratee(f)))},LazyWrapper.prototype.slice=function(f,p){f=toInteger(f);var M=this;return M.__filtered__&&(f>0||p<0)?new LazyWrapper(M):(f<0?M=M.takeRight(-f):f&&(M=M.drop(f)),void 0!==p&&(M=(p=toInteger(p))<0?M.dropRight(-p):M.take(p-f)),M)},LazyWrapper.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(4294967295)},baseForOwn(LazyWrapper.prototype,(function(f,p){var M=/^(?:filter|find|map|reject)|While$/.test(p),S=/^(?:head|last)$/.test(p),L=lodash[S?"take"+("last"==p?"Right":""):p],Y=S||/^find/.test(p);L&&(lodash.prototype[p]=function(){var p=this.__wrapped__,E=S?[1]:arguments,O=p instanceof LazyWrapper,R=E[0],W=O||Di(p),interceptor=function(f){var p=L.apply(lodash,arrayPush([f],E));return S&&B?p[0]:p};W&&M&&"function"==typeof R&&1!=R.length&&(O=W=!1);var B=this.__chain__,G=!!this.__actions__.length,V=Y&&!B,U=O&&!G;if(!Y&&W){p=U?p:new LazyWrapper(this);var q=f.apply(p,E);return q.__actions__.push({func:thru,args:[interceptor],thisArg:void 0}),new LodashWrapper(q,B)}return V&&U?f.apply(this,E):(q=this.thru(interceptor),V?S?q.value()[0]:q.value():q)})})),arrayEach(["pop","push","shift","sort","splice","unshift"],(function(f){var p=Ze[f],M=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",S=/^(?:pop|shift)$/.test(f);lodash.prototype[f]=function(){var f=arguments;if(S&&!this.__chain__){var L=this.value();return p.apply(Di(L)?L:[],f)}return this[M]((function(M){return p.apply(Di(M)?M:[],f)}))}})),baseForOwn(LazyWrapper.prototype,(function(f,p){var M=lodash[p];if(M){var S=M.name+"";it.call(gn,S)||(gn[S]=[]),gn[S].push({name:p,func:M})}})),gn[createHybrid(void 0,2).name]=[{name:"wrapper",func:void 0}],LazyWrapper.prototype.clone=function lazyClone(){var f=new LazyWrapper(this.__wrapped__);return f.__actions__=copyArray(this.__actions__),f.__dir__=this.__dir__,f.__filtered__=this.__filtered__,f.__iteratees__=copyArray(this.__iteratees__),f.__takeCount__=this.__takeCount__,f.__views__=copyArray(this.__views__),f},LazyWrapper.prototype.reverse=function lazyReverse(){if(this.__filtered__){var f=new LazyWrapper(this);f.__dir__=-1,f.__filtered__=!0}else(f=this.clone()).__dir__*=-1;return f},LazyWrapper.prototype.value=function lazyValue(){var f=this.__wrapped__.value(),p=this.__dir__,M=Di(f),S=p<0,L=M?f.length:0,Y=function getView(f,p,M){var S=-1,L=M.length;for(;++S=this.__values__.length;return{done:f,value:f?void 0:this.__values__[this.__index__++]}},lodash.prototype.plant=function wrapperPlant(f){for(var p,M=this;M instanceof baseLodash;){var S=wrapperClone(M);S.__index__=0,S.__values__=void 0,p?L.__wrapped__=S:p=S;var L=S;M=M.__wrapped__}return L.__wrapped__=f,p},lodash.prototype.reverse=function wrapperReverse(){var f=this.__wrapped__;if(f instanceof LazyWrapper){var p=f;return this.__actions__.length&&(p=new LazyWrapper(this)),(p=p.reverse()).__actions__.push({func:thru,args:[reverse],thisArg:void 0}),new LodashWrapper(p,this.__chain__)}return this.thru(reverse)},lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)},lodash.prototype.first=lodash.prototype.head,Pt&&(lodash.prototype[Pt]=function wrapperToIterator(){return this}),lodash}();Lt._=Bt,void 0===(L=function(){return Bt}.call(p,M,p,S))||(S.exports=L)}).call(this)}).call(this,M(3),M(9)(f))},function(f,p){!function(f,p){"use strict";window;var M=function TemplateEngine(p){return this instanceof TemplateEngine?(this.settings=f.extend({},TemplateEngine.Defaults,p),this._storage={},this):new TemplateEngine(p)};M.Defaults={templateDir:"./tpl/",templateExt:".tpl"},M.prototype={constructor:M,load:function load(M){return this.isCached(M)||(this._storage[M]=f.ajax(this.urlFor(M)).then((function(f){return p.compile(f)}))),this._storage[M]},isCached:function isCached(f){return!!this._storage[f]},urlFor:function urlFor(f){return this.settings.templateDir+f+this.settings.templateExt}},window.TemplateEngine=M}(jQuery,Handlebars)},function(f,p){MomentHandler.registerHelpers(Handlebars),Handlebars.registerHelper("times",(function(f,p){for(var M="",S=0;S=p)return M.fn(this)})),Handlebars.registerHelper("ifLt",(function(f,p,M){if(fp)return M.fn(this)})),Handlebars.registerHelper("ifEq",(function(f,p,M){return f==p?M.fn(this):M.inverse(this)})),Handlebars.registerHelper("ifNe",(function(f,p,M){return f!=p?M.fn(this):M.inverse(this)})),Handlebars.registerHelper("eachUpTo",(function(f,p,M){if(!f||0==f.length)return M.inverse(this);var S=[],L=M.hash&&M.hash.skip?M.hash.skip:0,Y=L;for(p+=L;Y.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(-1 * var(--swiper-navigation-size)/ 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:'next'}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0px,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#ffffff}.swiper-pagination-black{--swiper-pagination-color:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;animation:swiper-preloader-spin 1s infinite linear;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}",""]),f.exports=p},function(f,p,M){"use strict";f.exports=function(f){var p,M,S,L;S=f.requestAnimationFrame||f.webkitRequestAnimationFrame||f.mozRequestAnimationFrame||f.oRequestAnimationFrame||f.msRequestAnimationFrame,L=f.cancelAnimationFrame||f.webkitCancelAnimationFrame||f.mozCancelAnimationFrame||f.oCancelAnimationFrame||f.msCancelAnimationFrame,S&&L?(p=function(f,p){var M={value:null};return function loop(){M.value=S(loop),f()}(),M},M=function(f){L(f.value)}):(p=setInterval,M=clearInterval);var Y=2*Math.PI,E=2/Math.sqrt(2);function line(f,p,M,S,L){f.beginPath(),f.moveTo(p,M),f.lineTo(S,L),f.stroke()}function puff(f,p,M,S,L,E,O,R){var W=Math.cos(p*Y);(function circle(f,p,M,S){f.beginPath(),f.arc(p,M,S,0,Y,!1),f.fill()})(f,M-Math.sin(p*Y)*L,S+W*E+.5*(R-=O),O+(1-.5*W)*R)}function puffs(f,p,M,S,L,Y,E,O){var R;for(R=5;R--;)puff(f,p+R/5,M,S,L,Y,E,O)}function cloud(f,p,M,S,L,Y,E){p/=3e4;var O=.21*L,R=.12*L,W=.24*L,B=.28*L;f.fillStyle=E,puffs(f,p,M,S,O,R,W,B),f.globalCompositeOperation="destination-out",puffs(f,p,M,S,O,R,W-Y,B-Y),f.globalCompositeOperation="source-over"}function sun(f,p,M,S,L,E,O){p/=12e4;var R,W,B,G,V=.25*L-.5*E,U=.32*L+.5*E,q=.5*L-.5*E;for(f.strokeStyle=O,f.lineWidth=E,f.lineCap="round",f.lineJoin="round",f.beginPath(),f.arc(M,S,V,0,Y,!1),f.stroke(),R=8;R--;)W=(p+R/8)*Y,line(f,M+(B=Math.cos(W))*U,S+(G=Math.sin(W))*U,M+B*q,S+G*q)}function moon(f,p,M,S,L,O,R){p/=15e3;var W=.29*L-.5*O,B=.05*L,G=Math.cos(p*Y),V=G*Y/-16;f.strokeStyle=R,f.lineWidth=O,f.lineCap="round",f.lineJoin="round",M+=G*B,f.beginPath(),f.arc(M,S,W,V+Y/8,V+7*Y/8,!1),f.arc(M+Math.cos(V)*W*E,S+Math.sin(V)*W*E,W,V+5*Y/8,V+3*Y/8,!0),f.closePath(),f.stroke()}var O=[[-.75,-.18,-.7219,-.1527,-.6971,-.1225,-.6739,-.091,-.6516,-.0588,-.6298,-.0262,-.6083,.0065,-.5868,.0396,-.5643,.0731,-.5372,.1041,-.5033,.1259,-.4662,.1406,-.4275,.1493,-.3881,.153,-.3487,.1526,-.3095,.1488,-.2708,.1421,-.2319,.1342,-.1943,.1217,-.16,.1025,-.129,.0785,-.1012,.0509,-.0764,.0206,-.0547,-.012,-.0378,-.0472,-.0324,-.0857,-.0389,-.1241,-.0546,-.1599,-.0814,-.1876,-.1193,-.1964,-.1582,-.1935,-.1931,-.1769,-.2157,-.1453,-.229,-.1085,-.2327,-.0697,-.224,-.0317,-.2064,.0033,-.1853,.0362,-.1613,.0672,-.135,.0961,-.1051,.1213,-.0706,.1397,-.0332,.1512,.0053,.158,.0442,.1624,.0833,.1636,.1224,.1615,.1613,.1565,.1999,.15,.2378,.1402,.2749,.1279,.3118,.1147,.3487,.1015,.3858,.0892,.4236,.0787,.4621,.0715,.5012,.0702,.5398,.0766,.5768,.089,.6123,.1055,.6466,.1244,.6805,.144,.7147,.163,.75,.18],[-.75,0,-.7033,.0195,-.6569,.0399,-.6104,.06,-.5634,.0789,-.5155,.0954,-.4667,.1089,-.4174,.1206,-.3676,.1299,-.3174,.1365,-.2669,.1398,-.2162,.1391,-.1658,.1347,-.1157,.1271,-.0661,.1169,-.017,.1046,.0316,.0903,.0791,.0728,.1259,.0534,.1723,.0331,.2188,.0129,.2656,-.0064,.3122,-.0263,.3586,-.0466,.4052,-.0665,.4525,-.0847,.5007,-.1002,.5497,-.113,.5991,-.124,.6491,-.1325,.6994,-.138,.75,-.14]],R=[{start:.36,end:.11},{start:.56,end:.16}];function swoosh(f,p,M,S,L,E,W,B,G){var V,U,q,X,K=O[W],J=((p/=2500)+W-R[W].start)%B,Z=(p+W-R[W].end)%B,Q=(p+W)%B;if(f.strokeStyle=G,f.lineWidth=E,f.lineCap="round",f.lineJoin="round",J<1){if(f.beginPath(),J*=K.length/2-1,J-=V=Math.floor(J),V*=2,V+=2,f.moveTo(M+(K[V-2]*(1-J)+K[V]*J)*L,S+(K[V-1]*(1-J)+K[V+1]*J)*L),Z<1){for(Z*=K.length/2-1,Z-=U=Math.floor(Z),U*=2,U+=2,X=V;X!==U;X+=2)f.lineTo(M+K[X]*L,S+K[X+1]*L);f.lineTo(M+(K[U-2]*(1-Z)+K[U]*Z)*L,S+(K[U-1]*(1-Z)+K[U+1]*Z)*L)}else for(X=V;X!==K.length;X+=2)f.lineTo(M+K[X]*L,S+K[X+1]*L);f.stroke()}else if(Z<1){for(f.beginPath(),Z*=K.length/2-1,Z-=U=Math.floor(Z),U*=2,U+=2,f.moveTo(M+K[0]*L,S+K[1]*L),X=2;X!==U;X+=2)f.lineTo(M+K[X]*L,S+K[X+1]*L);f.lineTo(M+(K[U-2]*(1-Z)+K[U]*Z)*L,S+(K[U-1]*(1-Z)+K[U+1]*Z)*L),f.stroke()}Q<1&&(Q*=K.length/2-1,Q-=q=Math.floor(Q),q*=2,function leaf(f,p,M,S,L,E,O){var R=L/8,W=R/3,B=2*W,G=p%1*Y,V=Math.cos(G),U=Math.sin(G);f.fillStyle=O,f.strokeStyle=O,f.lineWidth=E,f.lineCap="round",f.lineJoin="round",f.beginPath(),f.arc(M,S,R,G,G+Math.PI,!1),f.arc(M-W*V,S-W*U,B,G+Math.PI,G,!1),f.arc(M+B*V,S+B*U,W,G+Math.PI,G,!0),f.globalCompositeOperation="destination-out",f.fill(),f.globalCompositeOperation="source-over",f.stroke()}(f,p,M+(K[(q+=2)-2]*(1-Q)+K[q]*Q)*L,S+(K[q-1]*(1-Q)+K[q+1]*Q)*L,L,E,G))}var Skycons=function(f){this.list=[],this.interval=null,this.color=f&&f.color?f.color:"black",this.resizeClear=!(!f||!f.resizeClear)};return Skycons.CLEAR_DAY=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);sun(f,p,.5*S,.5*L,Y,.08*Y,M)},Skycons.CLEAR_NIGHT=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);moon(f,p,.5*S,.5*L,Y,.08*Y,M)},Skycons.PARTLY_CLOUDY_DAY=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);sun(f,p,.625*S,.375*L,.75*Y,.08*Y,M),cloud(f,p,.375*S,.625*L,.75*Y,.08*Y,M)},Skycons.PARTLY_CLOUDY_NIGHT=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);moon(f,p,.667*S,.375*L,.75*Y,.08*Y,M),cloud(f,p,.375*S,.625*L,.75*Y,.08*Y,M)},Skycons.CLOUDY=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);cloud(f,p,.5*S,.5*L,Y,.08*Y,M)},Skycons.RAIN=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,E=Math.min(S,L);!function rain(f,p,M,S,L,E,O){p/=1350;var R,W,B,G,V=.16*L,U=11*Y/12,q=7*Y/12;for(f.fillStyle=O,R=4;R--;)B=M+(R-1.5)/1.5*(1===R||2===R?-1:1)*V,G=S+(W=(p+R/4)%1)*W*L,f.beginPath(),f.moveTo(B,G-1.5*E),f.arc(B,G,.75*E,U,q,!1),f.fill()}(f,p,.5*S,.37*L,.9*E,.08*E,M),cloud(f,p,.5*S,.37*L,.9*E,.08*E,M)},Skycons.SLEET=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);!function sleet(f,p,M,S,L,Y,E){p/=750;var O,R,W,B,G=.1875*L;for(f.strokeStyle=E,f.lineWidth=.5*Y,f.lineCap="round",f.lineJoin="round",O=4;O--;)R=(p+O/4)%1,line(f,W=Math.floor(M+(O-1.5)/1.5*(1===O||2===O?-1:1)*G)+.5,(B=S+R*L)-1.5*Y,W,B+1.5*Y)}(f,p,.5*S,.37*L,.9*Y,.08*Y,M),cloud(f,p,.5*S,.37*L,.9*Y,.08*Y,M)},Skycons.SNOW=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,E=Math.min(S,L);!function snow(f,p,M,S,L,E,O){var R,W,B,G,V=.16*L,U=.75*E,q=(p/=3e3)*Y*.7,X=Math.cos(q)*U,K=Math.sin(q)*U,J=q+Y/3,Z=Math.cos(J)*U,Q=Math.sin(J)*U,ee=q+2*Y/3,te=Math.cos(ee)*U,ne=Math.sin(ee)*U;for(f.strokeStyle=O,f.lineWidth=.5*E,f.lineCap="round",f.lineJoin="round",R=4;R--;)W=(p+R/4)%1,line(f,(B=M+Math.sin((W+R/4)*Y)*V)-X,(G=S+W*L)-K,B+X,G+K),line(f,B-Z,G-Q,B+Z,G+Q),line(f,B-te,G-ne,B+te,G+ne)}(f,p,.5*S,.37*L,.9*E,.08*E,M),cloud(f,p,.5*S,.37*L,.9*E,.08*E,M)},Skycons.WIND=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);swoosh(f,p,.5*S,.5*L,Y,.08*Y,0,2,M),swoosh(f,p,.5*S,.5*L,Y,.08*Y,1,2,M)},Skycons.FOG=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,E=Math.min(S,L),O=.08*E;!function fogbank(f,p,M,S,L,Y,E){p/=3e4;var O=.21*L,R=.06*L,W=.21*L,B=.28*L;f.fillStyle=E,puffs(f,p,M,S,O,R,W,B),f.globalCompositeOperation="destination-out",puffs(f,p,M,S,O,R,W-Y,B-Y),f.globalCompositeOperation="source-over"}(f,p,.5*S,.32*L,.75*E,O,M),p/=5e3;var R=Math.cos(p*Y)*E*.02,W=Math.cos((p+.25)*Y)*E*.02,B=Math.cos((p+.5)*Y)*E*.02,G=Math.cos((p+.75)*Y)*E*.02,V=.936*L,U=Math.floor(V-.5*O)+.5,q=Math.floor(V-2.5*O)+.5;f.strokeStyle=M,f.lineWidth=O,f.lineCap="round",f.lineJoin="round",line(f,R+.2*S+.5*O,U,W+.8*S-.5*O,U),line(f,B+.2*S+.5*O,q,G+.8*S-.5*O,q)},Skycons.prototype={_determineDrawingFunction:function(f){return"string"==typeof f&&(f=Skycons[f.toUpperCase().replace(/-/g,"_")]||null),f},add:function(f,p){var M;"string"==typeof f&&(f=document.getElementById(f)),null!==f&&"function"==typeof(p=this._determineDrawingFunction(p))&&(M={element:f,context:f.getContext("2d"),drawing:p},this.list.push(M),this.draw(M,500))},set:function(f,p){var M;for("string"==typeof f&&(f=document.getElementById(f)),M=this.list.length;M--;)if(this.list[M].element===f)return this.list[M].drawing=this._determineDrawingFunction(p),void this.draw(this.list[M],500);this.add(f,p)},remove:function(f){var p;for("string"==typeof f&&(f=document.getElementById(f)),p=this.list.length;p--;)if(this.list[p].element===f)return void this.list.splice(p,1)},draw:function(f,p){var M=f.context.canvas;this.resizeClear?M.width=M.width:f.context.clearRect(0,0,M.width,M.height),f.drawing(f.context,p,this.color)},play:function(){var f=this;this.pause(),this.interval=p((function(){var p,M=Date.now();for(p=f.list.length;p--;)f.draw(f.list[p],M)}),1e3/60)},pause:function(){this.interval&&(M(this.interval),this.interval=null)}},Skycons}},function(f,p,M){var S,L,Y;!function(E){"use strict";L=[M(6)],void 0===(Y="function"==typeof(S=function(f,p){var M={beforeShow:noop,move:noop,change:noop,show:noop,hide:noop,color:!1,flat:!1,showInput:!1,allowEmpty:!1,showButtons:!0,clickoutFiresChange:!0,showInitial:!1,showPalette:!1,showPaletteOnly:!1,hideAfterPaletteSelect:!1,togglePaletteOnly:!1,showSelectionPalette:!0,localStorageKey:!1,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",togglePaletteMoreText:"more",togglePaletteLessText:"less",clearText:"Clear Color Selection",noColorSelectedText:"No Color Selected",preferredFormat:!1,className:"",containerClassName:"",replacerClassName:"",showAlpha:!1,theme:"sp-light",palette:[["#ffffff","#000000","#ff0000","#ff8000","#ffff00","#008000","#0000ff","#4b0082","#9400d3"]],selectionPalette:[],disabled:!1,offset:null},S=[],L=!!/msie/i.exec(window.navigator.userAgent),Y=function(){function contains(f,p){return!!~(""+f).indexOf(p)}var f=document.createElement("div").style;return f.cssText="background-color:rgba(0,0,0,.5)",contains(f.backgroundColor,"rgba")||contains(f.backgroundColor,"hsla")}(),E=["
","
","
","
"].join(""),O=function(){var f="";if(L)for(var p=1;p<=6;p++)f+="
";return["
","
","
","
","","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
",f,"
","
","
","
","
","","
","
","
","","","
","
","
"].join("")}();function paletteTemplate(p,M,S,L){for(var E=[],O=0;O')}else{E.push(f("
").append(f('').attr("title",L.noColorSelectedText)).html())}}return"
"+E.join("")+"
"}function spectrum(R,W){var B=function instanceOptions(p,S){var L=f.extend({},M,p);return L.callbacks={move:bind(L.move,S),change:bind(L.change,S),show:bind(L.show,S),hide:bind(L.hide,S),beforeShow:bind(L.beforeShow,S)},L}(W,R),G=B.flat,V=B.showSelectionPalette,U=B.localStorageKey,q=B.theme,X=B.callbacks,K=function throttle(f,p,M){var S;return function(){var L=this,Y=arguments,throttler=function(){S=null,f.apply(L,Y)};M&&clearTimeout(S),!M&&S||(S=setTimeout(throttler,p))}}(reflow,10),J=!1,Z=!1,Q=0,ee=0,te=0,ne=0,ie=0,re=0,ae=0,oe=0,se=0,le=0,ce=1,de=[],ue=[],he={},fe=B.selectionPalette.slice(0),pe=B.maxSelectionSize,me=null,ge=R.ownerDocument,be=(ge.body,f(R)),ve=!1,_e=f(O,ge).addClass(q),ye=_e.find(".sp-picker-container"),we=_e.find(".sp-color"),xe=_e.find(".sp-dragger"),ke=_e.find(".sp-hue"),Te=_e.find(".sp-slider"),Me=_e.find(".sp-alpha-inner"),Se=_e.find(".sp-alpha"),Le=_e.find(".sp-alpha-handle"),De=_e.find(".sp-input"),Ce=_e.find(".sp-palette"),Ae=_e.find(".sp-initial"),Pe=_e.find(".sp-cancel"),Ye=_e.find(".sp-clear"),Ie=_e.find(".sp-choose"),Ee=_e.find(".sp-palette-toggle"),Oe=be.is("input"),He=Oe&&"color"===be.attr("type")&&inputTypeColorSupport(),ze=Oe&&!G,Ne=ze?f(E).addClass(q).addClass(B.className).addClass(B.replacerClassName):f([]),je=ze?Ne:be,Re=Ne.find(".sp-preview-inner"),Fe=B.color||Oe&&be.val(),We=!1,Be=B.preferredFormat,Ge=!B.showButtons||B.clickoutFiresChange,Ve=!Fe,Ue=B.allowEmpty&&!He;function applyOptions(){if(B.showPaletteOnly&&(B.showPalette=!0),Ee.text(B.showPaletteOnly?B.togglePaletteMoreText:B.togglePaletteLessText),B.palette){de=B.palette.slice(0),ue=f.isArray(de[0])?de:[de],he={};for(var p=0;p1&&(delete window.localStorage[U],f.each(p,(function(f,p){addColorToSelectionPalette(p)})))}catch(f){}try{fe=window.localStorage[U].split(";")}catch(f){}}}function addColorToSelectionPalette(p){if(V){var M=tinycolor(p).toRgbString();if(!he[M]&&-1===f.inArray(M,fe))for(fe.push(M);fe.length>pe;)fe.shift();if(U&&window.localStorage)try{window.localStorage[U]=fe.join(";")}catch(f){}}}function drawPalette(){var p=get(),M=f.map(ue,(function(f,M){return paletteTemplate(f,p,"sp-palette-row sp-palette-row-"+M,B)}));updateSelectionPaletteFromStorage(),fe&&M.push(paletteTemplate(function getUniqueSelectionPalette(){var f=[];if(B.showPalette)for(var p=0;pR&&R>S?Math.abs(G+S-R):0),{top:V-=Math.min(V,V+L>W&&W>L?Math.abs(L+Y-0):0),bottom:B.bottom,left:G,right:B.right,width:B.width,height:B.height}}(_e,je))),updateHelperLocations(),B.showPalette&&drawPalette(),be.trigger("reflow.spectrum"))}function disable(){hide(),ve=!0,be.attr("disabled",!0),je.addClass("sp-disabled")}!function initialize(){if(L&&_e.find("*:not(input)").attr("unselectable","on"),applyOptions(),ze&&be.after(Ne).hide(),Ue||Ye.hide(),G)be.after(_e).hide();else{var p="parent"===B.appendTo?be.parent():f(B.appendTo);1!==p.length&&(p=f("body")),p.append(_e)}function paletteElementClick(p){return p.data&&p.data.ignore?(set(f(p.target).closest(".sp-thumb-el").data("color")),move()):(set(f(p.target).closest(".sp-thumb-el").data("color")),move(),B.hideAfterPaletteSelect?(updateOriginalInput(!0),hide()):updateOriginalInput()),!1}updateSelectionPaletteFromStorage(),je.on("click.spectrum touchstart.spectrum",(function(p){ve||toggle(),p.stopPropagation(),f(p.target).is("input")||p.preventDefault()})),(be.is(":disabled")||!0===B.disabled)&&disable(),_e.click(stopPropagation),De.change(setFromTextInput),De.on("paste",(function(){setTimeout(setFromTextInput,1)})),De.keydown((function(f){13==f.keyCode&&setFromTextInput()})),Pe.text(B.cancelText),Pe.on("click.spectrum",(function(f){f.stopPropagation(),f.preventDefault(),revert(),hide()})),Ye.attr("title",B.clearText),Ye.on("click.spectrum",(function(f){f.stopPropagation(),f.preventDefault(),Ve=!0,move(),G&&updateOriginalInput(!0)})),Ie.text(B.chooseText),Ie.on("click.spectrum",(function(f){f.stopPropagation(),f.preventDefault(),L&&De.is(":focus")&&De.trigger("change"),function isValid(){return!De.hasClass("sp-validation-error")}()&&(updateOriginalInput(!0),hide())})),Ee.text(B.showPaletteOnly?B.togglePaletteMoreText:B.togglePaletteLessText),Ee.on("click.spectrum",(function(f){f.stopPropagation(),f.preventDefault(),B.showPaletteOnly=!B.showPaletteOnly,B.showPaletteOnly||G||_e.css("left","-="+(ye.outerWidth(!0)+5)),applyOptions()})),draggable(Se,(function(f,p,M){ce=f/ie,Ve=!1,M.shiftKey&&(ce=Math.round(10*ce)/10),move()}),dragStart,dragStop),draggable(ke,(function(f,p){oe=parseFloat(p/ne),Ve=!1,B.showAlpha||(ce=1),move()}),dragStart,dragStop),draggable(we,(function(f,p,M){if(M.shiftKey){if(!me){var S=se*Q,L=ee-le*ee,Y=Math.abs(f-S)>Math.abs(p-L);me=Y?"x":"y"}}else me=null;var E=!me||"y"===me;(!me||"x"===me)&&(se=parseFloat(f/Q)),E&&(le=parseFloat((ee-p)/ee)),Ve=!1,B.showAlpha||(ce=1),move()}),dragStart,dragStop),Fe?(set(Fe),updateUI(),Be=B.preferredFormat||tinycolor(Fe).format,addColorToSelectionPalette(Fe)):updateUI(),G&&show();var M=L?"mousedown.spectrum":"click.spectrum touchstart.spectrum";Ce.on(M,".sp-thumb-el",paletteElementClick),Ae.on(M,".sp-thumb-el:nth-child(1)",{ignore:!0},paletteElementClick)}();var $e={show:show,hide:hide,toggle:toggle,reflow:reflow,option:function option(M,S){return M===p?f.extend({},B):S===p?B[M]:(B[M]=S,"preferredFormat"===M&&(Be=B.preferredFormat),void applyOptions())},enable:function enable(){ve=!1,be.attr("disabled",!1),je.removeClass("sp-disabled")},disable:disable,offset:function setOffset(f){B.offset=f,reflow()},set:function(f){set(f),updateOriginalInput()},get:get,destroy:function destroy(){be.show(),je.off("click.spectrum touchstart.spectrum"),_e.remove(),Ne.remove(),S[$e.id]=null},container:_e};return $e.id=S.push($e)-1,$e}function noop(){}function stopPropagation(f){f.stopPropagation()}function bind(f,p){var M=Array.prototype.slice,S=M.call(arguments,2);return function(){return f.apply(p,S.concat(M.call(arguments)))}}function draggable(p,M,S,Y){M=M||function(){},S=S||function(){},Y=Y||function(){};var E=document,O=!1,R={},W=0,B=0,G="ontouchstart"in window,V={};function prevent(f){f.stopPropagation&&f.stopPropagation(),f.preventDefault&&f.preventDefault(),f.returnValue=!1}function move(f){if(O){if(L&&E.documentMode<9&&!f.button)return stop();var S=f.originalEvent&&f.originalEvent.touches&&f.originalEvent.touches[0],Y=S&&S.pageX||f.pageX,V=S&&S.pageY||f.pageY,U=Math.max(0,Math.min(Y-R.left,B)),q=Math.max(0,Math.min(V-R.top,W));G&&prevent(f),M.apply(p,[U,q,f])}}function stop(){O&&(f(E).off(V),f(E.body).removeClass("sp-dragging"),setTimeout((function(){Y.apply(p,arguments)}),0)),O=!1}V.selectstart=prevent,V.dragstart=prevent,V["touchmove mousemove"]=move,V["touchend mouseup"]=stop,f(p).on("touchstart mousedown",(function start(M){var L=M.which?3==M.which:2==M.button;L||O||!1!==S.apply(p,arguments)&&(O=!0,W=f(p).height(),B=f(p).width(),R=f(p).offset(),f(E).on(V),f(E.body).addClass("sp-dragging"),move(M),prevent(M))}))}function inputTypeColorSupport(){return f.fn.spectrum.inputTypeColorSupport()}var R="spectrum.id";f.fn.spectrum=function(p,M){if("string"==typeof p){var L=this,Y=Array.prototype.slice.call(arguments,1);return this.each((function(){var M=S[f(this).data(R)];if(M){var E=M[p];if(!E)throw new Error("Spectrum: no such method: '"+p+"'");"get"==p?L=M.get():"container"==p?L=M.container:"option"==p?L=M.option.apply(M,Y):"destroy"==p?(M.destroy(),f(this).removeData(R)):E.apply(M,Y)}})),L}return this.spectrum("destroy").each((function(){var M=spectrum(this,f.extend({},f(this).data(),p));f(this).data(R,M.id)}))},f.fn.spectrum.load=!0,f.fn.spectrum.loadOpts={},f.fn.spectrum.draggable=draggable,f.fn.spectrum.defaults=M,f.fn.spectrum.inputTypeColorSupport=function inputTypeColorSupport(){if(void 0===inputTypeColorSupport._cachedResult){var p=f("")[0];inputTypeColorSupport._cachedResult="color"===p.type&&""!==p.value}return inputTypeColorSupport._cachedResult},f.spectrum={},f.spectrum.localization={},f.spectrum.palettes={},f.fn.spectrum.processNativeColorInputs=function(){var p=f("input[type=color]");p.length&&!inputTypeColorSupport()&&p.spectrum({preferredFormat:"hex6"})},function(){var f=/^[\s,#]+/,p=/\s+$/,M=0,S=Math,L=S.round,Y=S.min,E=S.max,O=S.random,tinycolor=function(O,W){if(W=W||{},(O=O||"")instanceof tinycolor)return O;if(!(this instanceof tinycolor))return new tinycolor(O,W);var B=function inputToRGB(M){var L={r:0,g:0,b:0},O=1,W=!1,B=!1;"string"==typeof M&&(M=function stringInputToObject(M){M=M.replace(f,"").replace(p,"").toLowerCase();var S,L=!1;if(R[M])M=R[M],L=!0;else if("transparent"==M)return{r:0,g:0,b:0,a:0,format:"name"};if(S=U.rgb.exec(M))return{r:S[1],g:S[2],b:S[3]};if(S=U.rgba.exec(M))return{r:S[1],g:S[2],b:S[3],a:S[4]};if(S=U.hsl.exec(M))return{h:S[1],s:S[2],l:S[3]};if(S=U.hsla.exec(M))return{h:S[1],s:S[2],l:S[3],a:S[4]};if(S=U.hsv.exec(M))return{h:S[1],s:S[2],v:S[3]};if(S=U.hsva.exec(M))return{h:S[1],s:S[2],v:S[3],a:S[4]};if(S=U.hex8.exec(M))return{a:(Y=S[1],parseIntFromHex(Y)/255),r:parseIntFromHex(S[2]),g:parseIntFromHex(S[3]),b:parseIntFromHex(S[4]),format:L?"name":"hex8"};var Y;if(S=U.hex6.exec(M))return{r:parseIntFromHex(S[1]),g:parseIntFromHex(S[2]),b:parseIntFromHex(S[3]),format:L?"name":"hex"};if(S=U.hex3.exec(M))return{r:parseIntFromHex(S[1]+""+S[1]),g:parseIntFromHex(S[2]+""+S[2]),b:parseIntFromHex(S[3]+""+S[3]),format:L?"name":"hex"};return!1}(M));"object"==typeof M&&(M.hasOwnProperty("r")&&M.hasOwnProperty("g")&&M.hasOwnProperty("b")?(L=function rgbToRgb(f,p,M){return{r:255*bound01(f,255),g:255*bound01(p,255),b:255*bound01(M,255)}}(M.r,M.g,M.b),W=!0,B="%"===String(M.r).substr(-1)?"prgb":"rgb"):M.hasOwnProperty("h")&&M.hasOwnProperty("s")&&M.hasOwnProperty("v")?(M.s=convertToPercentage(M.s),M.v=convertToPercentage(M.v),L=function hsvToRgb(f,p,M){f=6*bound01(f,360),p=bound01(p,100),M=bound01(M,100);var L=S.floor(f),Y=f-L,E=M*(1-p),O=M*(1-Y*p),R=M*(1-(1-Y)*p),W=L%6;return{r:255*[M,O,E,E,R,M][W],g:255*[R,M,M,O,E,E][W],b:255*[E,E,R,M,M,O][W]}}(M.h,M.s,M.v),W=!0,B="hsv"):M.hasOwnProperty("h")&&M.hasOwnProperty("s")&&M.hasOwnProperty("l")&&(M.s=convertToPercentage(M.s),M.l=convertToPercentage(M.l),L=function hslToRgb(f,p,M){var S,L,Y;function hue2rgb(f,p,M){return M<0&&(M+=1),M>1&&(M-=1),M<1/6?f+6*(p-f)*M:M<.5?p:M<2/3?f+(p-f)*(2/3-M)*6:f}if(f=bound01(f,360),p=bound01(p,100),M=bound01(M,100),0===p)S=L=Y=M;else{var E=M<.5?M*(1+p):M+p-M*p,O=2*M-E;S=hue2rgb(O,E,f+1/3),L=hue2rgb(O,E,f),Y=hue2rgb(O,E,f-1/3)}return{r:255*S,g:255*L,b:255*Y}}(M.h,M.s,M.l),W=!0,B="hsl"),M.hasOwnProperty("a")&&(O=M.a));return O=boundAlpha(O),{ok:W,format:M.format||B,r:Y(255,E(L.r,0)),g:Y(255,E(L.g,0)),b:Y(255,E(L.b,0)),a:O}}(O);this._originalInput=O,this._r=B.r,this._g=B.g,this._b=B.b,this._a=B.a,this._roundA=L(1e3*this._a)/1e3,this._format=W.format||B.format,this._gradientType=W.gradientType,this._r<1&&(this._r=L(this._r)),this._g<1&&(this._g=L(this._g)),this._b<1&&(this._b=L(this._b)),this._ok=B.ok,this._tc_id=M++};function rgbToHsl(f,p,M){f=bound01(f,255),p=bound01(p,255),M=bound01(M,255);var S,L,O=E(f,p,M),R=Y(f,p,M),W=(O+R)/2;if(O==R)S=L=0;else{var B=O-R;switch(L=W>.5?B/(2-O-R):B/(O+R),O){case f:S=(p-M)/B+(p>1)+720)%360;--p;)S.h=(S.h+L)%360,Y.push(tinycolor(S));return Y}function monochromatic(f,p){p=p||6;for(var M=tinycolor(f).toHsv(),S=M.h,L=M.s,Y=M.v,E=[],O=1/p;p--;)E.push(tinycolor({h:S,s:L,v:Y})),Y=(Y+O)%1;return E}tinycolor.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var f=this.toRgb();return(299*f.r+587*f.g+114*f.b)/1e3},setAlpha:function(f){return this._a=boundAlpha(f),this._roundA=L(1e3*this._a)/1e3,this},toHsv:function(){var f=rgbToHsv(this._r,this._g,this._b);return{h:360*f.h,s:f.s,v:f.v,a:this._a}},toHsvString:function(){var f=rgbToHsv(this._r,this._g,this._b),p=L(360*f.h),M=L(100*f.s),S=L(100*f.v);return 1==this._a?"hsv("+p+", "+M+"%, "+S+"%)":"hsva("+p+", "+M+"%, "+S+"%, "+this._roundA+")"},toHsl:function(){var f=rgbToHsl(this._r,this._g,this._b);return{h:360*f.h,s:f.s,l:f.l,a:this._a}},toHslString:function(){var f=rgbToHsl(this._r,this._g,this._b),p=L(360*f.h),M=L(100*f.s),S=L(100*f.l);return 1==this._a?"hsl("+p+", "+M+"%, "+S+"%)":"hsla("+p+", "+M+"%, "+S+"%, "+this._roundA+")"},toHex:function(f){return rgbToHex(this._r,this._g,this._b,f)},toHexString:function(f){return"#"+this.toHex(f)},toHex8:function(){return rgbaToHex(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:L(this._r),g:L(this._g),b:L(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+L(this._r)+", "+L(this._g)+", "+L(this._b)+")":"rgba("+L(this._r)+", "+L(this._g)+", "+L(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:L(100*bound01(this._r,255))+"%",g:L(100*bound01(this._g,255))+"%",b:L(100*bound01(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+L(100*bound01(this._r,255))+"%, "+L(100*bound01(this._g,255))+"%, "+L(100*bound01(this._b,255))+"%)":"rgba("+L(100*bound01(this._r,255))+"%, "+L(100*bound01(this._g,255))+"%, "+L(100*bound01(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(W[rgbToHex(this._r,this._g,this._b,!0)]||!1)},toFilter:function(f){var p="#"+rgbaToHex(this._r,this._g,this._b,this._a),M=p,S=this._gradientType?"GradientType = 1, ":"";f&&(M=tinycolor(f).toHex8String());return"progid:DXImageTransform.Microsoft.gradient("+S+"startColorstr="+p+",endColorstr="+M+")"},toString:function(f){var p=!!f;f=f||this._format;var M=!1,S=this._a<1&&this._a>=0;return p||!S||"hex"!==f&&"hex6"!==f&&"hex3"!==f&&"name"!==f?("rgb"===f&&(M=this.toRgbString()),"prgb"===f&&(M=this.toPercentageRgbString()),"hex"!==f&&"hex6"!==f||(M=this.toHexString()),"hex3"===f&&(M=this.toHexString(!0)),"hex8"===f&&(M=this.toHex8String()),"name"===f&&(M=this.toName()),"hsl"===f&&(M=this.toHslString()),"hsv"===f&&(M=this.toHsvString()),M||this.toHexString()):"name"===f&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(f,p){var M=f.apply(null,[this].concat([].slice.call(p)));return this._r=M._r,this._g=M._g,this._b=M._b,this.setAlpha(M._a),this},lighten:function(){return this._applyModification(lighten,arguments)},brighten:function(){return this._applyModification(brighten,arguments)},darken:function(){return this._applyModification(darken,arguments)},desaturate:function(){return this._applyModification(desaturate,arguments)},saturate:function(){return this._applyModification(saturate,arguments)},greyscale:function(){return this._applyModification(greyscale,arguments)},spin:function(){return this._applyModification(spin,arguments)},_applyCombination:function(f,p){return f.apply(null,[this].concat([].slice.call(p)))},analogous:function(){return this._applyCombination(analogous,arguments)},complement:function(){return this._applyCombination(complement,arguments)},monochromatic:function(){return this._applyCombination(monochromatic,arguments)},splitcomplement:function(){return this._applyCombination(splitcomplement,arguments)},triad:function(){return this._applyCombination(triad,arguments)},tetrad:function(){return this._applyCombination(tetrad,arguments)}},tinycolor.fromRatio=function(f,p){if("object"==typeof f){var M={};for(var S in f)f.hasOwnProperty(S)&&(M[S]="a"===S?f[S]:convertToPercentage(f[S]));f=M}return tinycolor(f,p)},tinycolor.equals=function(f,p){return!(!f||!p)&&tinycolor(f).toRgbString()==tinycolor(p).toRgbString()},tinycolor.random=function(){return tinycolor.fromRatio({r:O(),g:O(),b:O()})},tinycolor.mix=function(f,p,M){M=0===M?0:M||50;var S,L=tinycolor(f).toRgb(),Y=tinycolor(p).toRgb(),E=M/100,O=2*E-1,R=Y.a-L.a,W=1-(S=((S=O*R==-1?O:(O+R)/(1+O*R))+1)/2),B={r:Y.r*S+L.r*W,g:Y.g*S+L.g*W,b:Y.b*S+L.b*W,a:Y.a*E+L.a*(1-E)};return tinycolor(B)},tinycolor.readability=function(f,p){var M=tinycolor(f),S=tinycolor(p),L=M.toRgb(),Y=S.toRgb(),E=M.getBrightness(),O=S.getBrightness(),R=Math.max(L.r,Y.r)-Math.min(L.r,Y.r)+Math.max(L.g,Y.g)-Math.min(L.g,Y.g)+Math.max(L.b,Y.b)-Math.min(L.b,Y.b);return{brightness:Math.abs(E-O),color:R}},tinycolor.isReadable=function(f,p){var M=tinycolor.readability(f,p);return M.brightness>125&&M.color>500},tinycolor.mostReadable=function(f,p){for(var M=null,S=0,L=!1,Y=0;Y125&&E.color>500,R=E.brightness/125*3+E.color/500;(O&&!L||O&&L&&R>S||!O&&!L&&R>S)&&(L=O,S=R,M=tinycolor(p[Y]))}return M};var R=tinycolor.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},W=tinycolor.hexNames=function flip(f){var p={};for(var M in f)f.hasOwnProperty(M)&&(p[f[M]]=M);return p}(R);function boundAlpha(f){return f=parseFloat(f),(isNaN(f)||f<0||f>1)&&(f=1),f}function bound01(f,p){(function isOnePointZero(f){return"string"==typeof f&&-1!=f.indexOf(".")&&1===parseFloat(f)})(f)&&(f="100%");var M=function isPercentage(f){return"string"==typeof f&&-1!=f.indexOf("%")}(f);return f=Y(p,E(0,parseFloat(f))),M&&(f=parseInt(f*p,10)/100),S.abs(f-p)<1e-6?1:f%p/parseFloat(p)}function clamp01(f){return Y(1,E(0,f))}function parseIntFromHex(f){return parseInt(f,16)}function pad2(f){return 1==f.length?"0"+f:""+f}function convertToPercentage(f){return f<=1&&(f=100*f+"%"),f}var B,G,V,U=(G="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",V="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{rgb:new RegExp("rgb"+G),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+G),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+G),hsva:new RegExp("hsva"+V),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});window.tinycolor=tinycolor}(),f((function(){f.fn.spectrum.load&&f.fn.spectrum.processNativeColorInputs()}))})?S.apply(p,L):S)||(f.exports=Y)}()},function(f,p){!function(f,p,M,S){"use strict";if(f.ion=f.ion||{},!ion.sound){var warn=function(p){if(p||(p="undefined"),f.console){console.warn&&"function"==typeof console.warn?console.warn(p):console.log&&"function"==typeof console.log&&console.log(p);var S=M&&M("#debug");if(S&&S.length){var L=S.html();S.html(L+p+"
")}}},extend=function(f,p){var M;for(M in p=p||{},f)f.hasOwnProperty(M)&&(p[M]=f[M]);return p};if("function"!=typeof Audio&&"object"!=typeof Audio){var func=function(){warn("HTML5 Audio is not supported in this browser")};return ion.sound=func,ion.sound.play=func,ion.sound.stop=func,ion.sound.pause=func,ion.sound.preload=func,ion.sound.destroy=func,void func()}var L,Y=/iPad|iPhone|iPod/.test(p.appVersion),E=0,O={},R={};!O.supported&&Y?O.supported=["mp3","mp4","aac"]:O.supported||(O.supported=["mp3","ogg","mp4","aac","wav"]);ion.sound=function(f){var p,M;if(extend(f,O),O.path=O.path||"",O.volume=O.volume||1,O.preload=O.preload||!1,O.multiplay=O.multiplay||!1,O.loop=O.loop||!1,O.sprite=O.sprite||null,O.scope=O.scope||null,O.ready_callback=O.ready_callback||null,O.ended_callback=O.ended_callback||null,E=O.sounds.length)for(L=0;L=this.end||this.end-this.time_offset<.015)&&(this._ended(),this.clear(),this.loop&&(this.loop--,this.play()))},_ended:function(){var f={name:this.name,alias:this.alias,part:this.sprite_part,start:this.start,duration:this.end};this.ended_callback&&"function"==typeof this.ended_callback&&this.ended_callback.call(this.scope,f)},clear:function(){this.time_played=0,this.time_offset=0,this.paused=!1,this.playing=!1},setVolume:function(f){this.volume=f.volume,this.gain&&(this.gain.gain.value=this.volume)}},!W){!function(){var f,p,M=new Audio,S=M.canPlayType("audio/mpeg"),L=M.canPlayType("audio/ogg"),Y=M.canPlayType('audio/mp4; codecs="mp4a.40.2"');for(p=0;p=this.end&&this.playing&&(this.stop(),this._ended())}},ended:function(){this.playing&&(this.stop(),this._ended())},_ended:function(){this.playing=!1;var f={name:this.name,alias:this.alias,part:this.sprite_part,start:this.start,duration:this.end};this.ended_callback&&"function"==typeof this.ended_callback&&this.ended_callback.call(this.scope,f),this.loop&&setTimeout(this.looper.bind(this),15)},looper:function(){this.loop--,this.play()},clear:function(){this.start_time=0,this.played_time=0,this.paused_time=0},setVolume:function(f){this.volume=f.volume,this.sound&&(this.sound.volume=this.volume)}}}}}(window,navigator,window.jQuery||window.$)},function(f,p,M){ + */(function(){var Y="Expected a function",E="__lodash_placeholder__",O=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],R="[object Arguments]",W="[object Array]",B="[object Boolean]",G="[object Date]",V="[object Error]",U="[object Function]",q="[object GeneratorFunction]",X="[object Map]",K="[object Number]",J="[object Object]",Z="[object RegExp]",Q="[object Set]",ee="[object String]",te="[object Symbol]",ne="[object WeakMap]",ie="[object ArrayBuffer]",re="[object DataView]",ae="[object Float32Array]",oe="[object Float64Array]",se="[object Int8Array]",le="[object Int16Array]",ce="[object Int32Array]",de="[object Uint8Array]",ue="[object Uint16Array]",he="[object Uint32Array]",fe=/\b__p \+= '';/g,pe=/\b(__p \+=) '' \+/g,me=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ge=/&(?:amp|lt|gt|quot|#39);/g,be=/[&<>"']/g,ve=RegExp(ge.source),_e=RegExp(be.source),ye=/<%-([\s\S]+?)%>/g,we=/<%([\s\S]+?)%>/g,xe=/<%=([\s\S]+?)%>/g,ke=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Te=/^\w*$/,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Se=/[\\^$.*+?()[\]{}|]/g,Le=RegExp(Se.source),De=/^\s+|\s+$/g,Ce=/^\s+/,Ae=/\s+$/,Pe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ye=/\{\n\/\* \[wrapped with (.+)\] \*/,Ie=/,? & /,Ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Oe=/\\(\\)?/g,He=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,Ne=/^[-+]0x[0-9a-f]+$/i,je=/^0b[01]+$/i,Re=/^\[object .+?Constructor\]$/,Fe=/^0o[0-7]+$/i,We=/^(?:0|[1-9]\d*)$/,Be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ge=/($^)/,Ve=/['\n\r\u2028\u2029\\]/g,Ue="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",$e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qe="[\\ud800-\\udfff]",Xe="["+$e+"]",Ke="["+Ue+"]",Je="\\d+",Ze="[\\u2700-\\u27bf]",Qe="[a-z\\xdf-\\xf6\\xf8-\\xff]",et="[^\\ud800-\\udfff"+$e+Je+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",tt="\\ud83c[\\udffb-\\udfff]",nt="[^\\ud800-\\udfff]",it="(?:\\ud83c[\\udde6-\\uddff]){2}",rt="[\\ud800-\\udbff][\\udc00-\\udfff]",at="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ot="(?:"+Qe+"|"+et+")",st="(?:"+at+"|"+et+")",lt="(?:"+Ke+"|"+tt+")"+"?",ct="[\\ufe0e\\ufe0f]?"+lt+("(?:\\u200d(?:"+[nt,it,rt].join("|")+")[\\ufe0e\\ufe0f]?"+lt+")*"),dt="(?:"+[Ze,it,rt].join("|")+")"+ct,ut="(?:"+[nt+Ke+"?",Ke,it,rt,qe].join("|")+")",ht=RegExp("['’]","g"),ft=RegExp(Ke,"g"),pt=RegExp(tt+"(?="+tt+")|"+ut+ct,"g"),mt=RegExp([at+"?"+Qe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Xe,at,"$"].join("|")+")",st+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Xe,at+ot,"$"].join("|")+")",at+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?",at+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Je,dt].join("|"),"g"),gt=RegExp("[\\u200d\\ud800-\\udfff"+Ue+"\\ufe0e\\ufe0f]"),bt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_t=-1,yt={};yt[ae]=yt[oe]=yt[se]=yt[le]=yt[ce]=yt[de]=yt["[object Uint8ClampedArray]"]=yt[ue]=yt[he]=!0,yt[R]=yt[W]=yt[ie]=yt[B]=yt[re]=yt[G]=yt[V]=yt[U]=yt[X]=yt[K]=yt[J]=yt[Z]=yt[Q]=yt[ee]=yt[ne]=!1;var wt={};wt[R]=wt[W]=wt[ie]=wt[re]=wt[B]=wt[G]=wt[ae]=wt[oe]=wt[se]=wt[le]=wt[ce]=wt[X]=wt[K]=wt[J]=wt[Z]=wt[Q]=wt[ee]=wt[te]=wt[de]=wt["[object Uint8ClampedArray]"]=wt[ue]=wt[he]=!0,wt[V]=wt[U]=wt[ne]=!1;var xt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kt=parseFloat,Tt=parseInt,Mt="object"==typeof f&&f&&f.Object===Object&&f,St="object"==typeof self&&self&&self.Object===Object&&self,Lt=Mt||St||Function("return this")(),Dt=p&&!p.nodeType&&p,Ct=Dt&&"object"==typeof S&&S&&!S.nodeType&&S,At=Ct&&Ct.exports===Dt,Pt=At&&Mt.process,Yt=function(){try{var f=Ct&&Ct.require&&Ct.require("util").types;return f||Pt&&Pt.binding&&Pt.binding("util")}catch(f){}}(),It=Yt&&Yt.isArrayBuffer,Et=Yt&&Yt.isDate,Ot=Yt&&Yt.isMap,Ht=Yt&&Yt.isRegExp,zt=Yt&&Yt.isSet,Nt=Yt&&Yt.isTypedArray;function apply(f,p,M){switch(M.length){case 0:return f.call(p);case 1:return f.call(p,M[0]);case 2:return f.call(p,M[0],M[1]);case 3:return f.call(p,M[0],M[1],M[2])}return f.apply(p,M)}function arrayAggregator(f,p,M,S){for(var L=-1,Y=null==f?0:f.length;++L-1}function arrayIncludesWith(f,p,M){for(var S=-1,L=null==f?0:f.length;++S-1;);return M}function charsEndIndex(f,p){for(var M=f.length;M--&&baseIndexOf(p,f[M],0)>-1;);return M}function countHolders(f,p){for(var M=f.length,S=0;M--;)f[M]===p&&++S;return S}var Rt=basePropertyOf({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Ft=basePropertyOf({"&":"&","<":"<",">":">",'"':""","'":"'"});function escapeStringChar(f){return"\\"+xt[f]}function hasUnicode(f){return gt.test(f)}function mapToArray(f){var p=-1,M=Array(f.size);return f.forEach((function(f,S){M[++p]=[S,f]})),M}function overArg(f,p){return function(M){return f(p(M))}}function replaceHolders(f,p){for(var M=-1,S=f.length,L=0,Y=[];++M",""":'"',"'":"'"});var Bt=function runInContext(f){var p,M=(f=null==f?Lt:Bt.defaults(Lt.Object(),f,Bt.pick(Lt,vt))).Array,S=f.Date,L=f.Error,Ue=f.Function,$e=f.Math,qe=f.Object,Xe=f.RegExp,Ke=f.String,Je=f.TypeError,Ze=M.prototype,Qe=Ue.prototype,et=qe.prototype,tt=f["__core-js_shared__"],nt=Qe.toString,it=et.hasOwnProperty,rt=0,at=(p=/[^.]+$/.exec(tt&&tt.keys&&tt.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",ot=et.toString,st=nt.call(qe),lt=Lt._,ct=Xe("^"+nt.call(it).replace(Se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dt=At?f.Buffer:void 0,ut=f.Symbol,pt=f.Uint8Array,gt=dt?dt.allocUnsafe:void 0,xt=overArg(qe.getPrototypeOf,qe),Mt=qe.create,St=et.propertyIsEnumerable,Dt=Ze.splice,Ct=ut?ut.isConcatSpreadable:void 0,Pt=ut?ut.iterator:void 0,Yt=ut?ut.toStringTag:void 0,jt=function(){try{var f=getNative(qe,"defineProperty");return f({},"",{}),f}catch(f){}}(),Gt=f.clearTimeout!==Lt.clearTimeout&&f.clearTimeout,Vt=S&&S.now!==Lt.Date.now&&S.now,Ut=f.setTimeout!==Lt.setTimeout&&f.setTimeout,$t=$e.ceil,qt=$e.floor,Xt=qe.getOwnPropertySymbols,Kt=dt?dt.isBuffer:void 0,Jt=f.isFinite,Zt=Ze.join,Qt=overArg(qe.keys,qe),en=$e.max,tn=$e.min,nn=S.now,rn=f.parseInt,an=$e.random,sn=Ze.reverse,ln=getNative(f,"DataView"),cn=getNative(f,"Map"),dn=getNative(f,"Promise"),un=getNative(f,"Set"),hn=getNative(f,"WeakMap"),pn=getNative(qe,"create"),mn=hn&&new hn,gn={},bn=toSource(ln),vn=toSource(cn),_n=toSource(dn),yn=toSource(un),wn=toSource(hn),xn=ut?ut.prototype:void 0,kn=xn?xn.valueOf:void 0,Tn=xn?xn.toString:void 0;function lodash(f){if(isObjectLike(f)&&!Di(f)&&!(f instanceof LazyWrapper)){if(f instanceof LodashWrapper)return f;if(it.call(f,"__wrapped__"))return wrapperClone(f)}return new LodashWrapper(f)}var Mn=function(){function object(){}return function(f){if(!isObject(f))return{};if(Mt)return Mt(f);object.prototype=f;var p=new object;return object.prototype=void 0,p}}();function baseLodash(){}function LodashWrapper(f,p){this.__wrapped__=f,this.__actions__=[],this.__chain__=!!p,this.__index__=0,this.__values__=void 0}function LazyWrapper(f){this.__wrapped__=f,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Hash(f){var p=-1,M=null==f?0:f.length;for(this.clear();++p=p?f:p)),f}function baseClone(f,p,M,S,L,Y){var E,O=1&p,W=2&p,V=4&p;if(M&&(E=L?M(f,S,L,Y):M(f)),void 0!==E)return E;if(!isObject(f))return f;var ne=Di(f);if(ne){if(E=function initCloneArray(f){var p=f.length,M=new f.constructor(p);p&&"string"==typeof f[0]&&it.call(f,"index")&&(M.index=f.index,M.input=f.input);return M}(f),!O)return copyArray(f,E)}else{var fe=Nn(f),pe=fe==U||fe==q;if(Ai(f))return cloneBuffer(f,O);if(fe==J||fe==R||pe&&!L){if(E=W||pe?{}:initCloneObject(f),!O)return W?function copySymbolsIn(f,p){return copyObject(f,zn(f),p)}(f,function baseAssignIn(f,p){return f&©Object(p,keysIn(p),f)}(E,f)):function copySymbols(f,p){return copyObject(f,Hn(f),p)}(f,baseAssign(E,f))}else{if(!wt[fe])return L?f:{};E=function initCloneByTag(f,p,M){var S=f.constructor;switch(p){case ie:return cloneArrayBuffer(f);case B:case G:return new S(+f);case re:return function cloneDataView(f,p){var M=p?cloneArrayBuffer(f.buffer):f.buffer;return new f.constructor(M,f.byteOffset,f.byteLength)}(f,M);case ae:case oe:case se:case le:case ce:case de:case"[object Uint8ClampedArray]":case ue:case he:return cloneTypedArray(f,M);case X:return new S;case K:case ee:return new S(f);case Z:return function cloneRegExp(f){var p=new f.constructor(f.source,ze.exec(f));return p.lastIndex=f.lastIndex,p}(f);case Q:return new S;case te:return function cloneSymbol(f){return kn?qe(kn.call(f)):{}}(f)}}(f,fe,O)}}Y||(Y=new Stack);var me=Y.get(f);if(me)return me;Y.set(f,E),Ei(f)?f.forEach((function(S){E.add(baseClone(S,p,M,S,f,Y))})):Yi(f)&&f.forEach((function(S,L){E.set(L,baseClone(S,p,M,L,f,Y))}));var ge=ne?void 0:(V?W?getAllKeysIn:getAllKeys:W?keysIn:keys)(f);return arrayEach(ge||f,(function(S,L){ge&&(S=f[L=S]),assignValue(E,L,baseClone(S,p,M,L,f,Y))})),E}function baseConformsTo(f,p,M){var S=M.length;if(null==f)return!S;for(f=qe(f);S--;){var L=M[S],Y=p[L],E=f[L];if(void 0===E&&!(L in f)||!Y(E))return!1}return!0}function baseDelay(f,p,M){if("function"!=typeof f)throw new Je(Y);return Fn((function(){f.apply(void 0,M)}),p)}function baseDifference(f,p,M,S){var L=-1,Y=arrayIncludes,E=!0,O=f.length,R=[],W=p.length;if(!O)return R;M&&(p=arrayMap(p,baseUnary(M))),S?(Y=arrayIncludesWith,E=!1):p.length>=200&&(Y=cacheHas,E=!1,p=new SetCache(p));e:for(;++L-1},ListCache.prototype.set=function listCacheSet(f,p){var M=this.__data__,S=assocIndexOf(M,f);return S<0?(++this.size,M.push([f,p])):M[S][1]=p,this},MapCache.prototype.clear=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(cn||ListCache),string:new Hash}},MapCache.prototype.delete=function mapCacheDelete(f){var p=getMapData(this,f).delete(f);return this.size-=p?1:0,p},MapCache.prototype.get=function mapCacheGet(f){return getMapData(this,f).get(f)},MapCache.prototype.has=function mapCacheHas(f){return getMapData(this,f).has(f)},MapCache.prototype.set=function mapCacheSet(f,p){var M=getMapData(this,f),S=M.size;return M.set(f,p),this.size+=M.size==S?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function setCacheAdd(f){return this.__data__.set(f,"__lodash_hash_undefined__"),this},SetCache.prototype.has=function setCacheHas(f){return this.__data__.has(f)},Stack.prototype.clear=function stackClear(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function stackDelete(f){var p=this.__data__,M=p.delete(f);return this.size=p.size,M},Stack.prototype.get=function stackGet(f){return this.__data__.get(f)},Stack.prototype.has=function stackHas(f){return this.__data__.has(f)},Stack.prototype.set=function stackSet(f,p){var M=this.__data__;if(M instanceof ListCache){var S=M.__data__;if(!cn||S.length<199)return S.push([f,p]),this.size=++M.size,this;M=this.__data__=new MapCache(S)}return M.set(f,p),this.size=M.size,this};var Sn=createBaseEach(baseForOwn),Ln=createBaseEach(baseForOwnRight,!0);function baseEvery(f,p){var M=!0;return Sn(f,(function(f,S,L){return M=!!p(f,S,L)})),M}function baseExtremum(f,p,M){for(var S=-1,L=f.length;++S0&&M(O)?p>1?baseFlatten(O,p-1,M,S,L):arrayPush(L,O):S||(L[L.length]=O)}return L}var Dn=createBaseFor(),Cn=createBaseFor(!0);function baseForOwn(f,p){return f&&Dn(f,p,keys)}function baseForOwnRight(f,p){return f&&Cn(f,p,keys)}function baseFunctions(f,p){return arrayFilter(p,(function(p){return isFunction(f[p])}))}function baseGet(f,p){for(var M=0,S=(p=castPath(p,f)).length;null!=f&&Mp}function baseHas(f,p){return null!=f&&it.call(f,p)}function baseHasIn(f,p){return null!=f&&p in qe(f)}function baseIntersection(f,p,S){for(var L=S?arrayIncludesWith:arrayIncludes,Y=f[0].length,E=f.length,O=E,R=M(E),W=1/0,B=[];O--;){var G=f[O];O&&p&&(G=arrayMap(G,baseUnary(p))),W=tn(G.length,W),R[O]=!S&&(p||Y>=120&&G.length>=120)?new SetCache(O&&G):void 0}G=f[0];var V=-1,U=R[0];e:for(;++V=O)return R;var W=M[S];return R*("desc"==W?-1:1)}}return f.index-p.index}(f,p,M)}))}function basePickBy(f,p,M){for(var S=-1,L=p.length,Y={};++S-1;)O!==f&&Dt.call(O,R,1),Dt.call(f,R,1);return f}function basePullAt(f,p){for(var M=f?p.length:0,S=M-1;M--;){var L=p[M];if(M==S||L!==Y){var Y=L;isIndex(L)?Dt.call(f,L,1):baseUnset(f,L)}}return f}function baseRandom(f,p){return f+qt(an()*(p-f+1))}function baseRepeat(f,p){var M="";if(!f||p<1||p>9007199254740991)return M;do{p%2&&(M+=f),(p=qt(p/2))&&(f+=f)}while(p);return M}function baseRest(f,p){return Wn(overRest(f,p,identity),f+"")}function baseSample(f){return arraySample(values(f))}function baseSampleSize(f,p){var M=values(f);return shuffleSelf(M,baseClamp(p,0,M.length))}function baseSet(f,p,M,S){if(!isObject(f))return f;for(var L=-1,Y=(p=castPath(p,f)).length,E=Y-1,O=f;null!=O&&++LY?0:Y+p),(S=S>Y?Y:S)<0&&(S+=Y),Y=p>S?0:S-p>>>0,p>>>=0;for(var E=M(Y);++L>>1,E=f[Y];null!==E&&!isSymbol(E)&&(M?E<=p:E=200){var W=p?null:En(f);if(W)return setToArray(W);E=!1,L=cacheHas,R=new SetCache}else R=p?[]:O;e:for(;++S=S?f:baseSlice(f,p,M)}var In=Gt||function(f){return Lt.clearTimeout(f)};function cloneBuffer(f,p){if(p)return f.slice();var M=f.length,S=gt?gt(M):new f.constructor(M);return f.copy(S),S}function cloneArrayBuffer(f){var p=new f.constructor(f.byteLength);return new pt(p).set(new pt(f)),p}function cloneTypedArray(f,p){var M=p?cloneArrayBuffer(f.buffer):f.buffer;return new f.constructor(M,f.byteOffset,f.length)}function compareAscending(f,p){if(f!==p){var M=void 0!==f,S=null===f,L=f==f,Y=isSymbol(f),E=void 0!==p,O=null===p,R=p==p,W=isSymbol(p);if(!O&&!W&&!Y&&f>p||Y&&E&&R&&!O&&!W||S&&E&&R||!M&&R||!L)return 1;if(!S&&!Y&&!W&&f1?M[L-1]:void 0,E=L>2?M[2]:void 0;for(Y=f.length>3&&"function"==typeof Y?(L--,Y):void 0,E&&isIterateeCall(M[0],M[1],E)&&(Y=L<3?void 0:Y,L=1),p=qe(p);++S-1?L[Y?p[E]:E]:void 0}}function createFlow(f){return flatRest((function(p){var M=p.length,S=M,L=LodashWrapper.prototype.thru;for(f&&p.reverse();S--;){var E=p[S];if("function"!=typeof E)throw new Je(Y);if(L&&!O&&"wrapper"==getFuncName(E))var O=new LodashWrapper([],!0)}for(S=O?S:M;++S1&&Z.reverse(),G&&WO))return!1;var W=Y.get(f),B=Y.get(p);if(W&&B)return W==p&&B==f;var G=-1,V=!0,U=2&M?new SetCache:void 0;for(Y.set(f,p),Y.set(p,f);++G-1&&f%1==0&&f1?"& ":"")+p[S],p=p.join(M>2?", ":" "),f.replace(Pe,"{\n/* [wrapped with "+p+"] */\n")}(S,function updateWrapDetails(f,p){return arrayEach(O,(function(M){var S="_."+M[0];p&M[1]&&!arrayIncludes(f,S)&&f.push(S)})),f.sort()}(function getWrapDetails(f){var p=f.match(Ye);return p?p[1].split(Ie):[]}(S),M)))}function shortOut(f){var p=0,M=0;return function(){var S=nn(),L=16-(S-M);if(M=S,L>0){if(++p>=800)return arguments[0]}else p=0;return f.apply(void 0,arguments)}}function shuffleSelf(f,p){var M=-1,S=f.length,L=S-1;for(p=void 0===p?S:p;++M1?f[p-1]:void 0;return M="function"==typeof M?(f.pop(),M):void 0,unzipWith(f,M)}));function chain(f){var p=lodash(f);return p.__chain__=!0,p}function thru(f,p){return p(f)}var si=flatRest((function(f){var p=f.length,M=p?f[0]:0,S=this.__wrapped__,interceptor=function(p){return baseAt(p,f)};return!(p>1||this.__actions__.length)&&S instanceof LazyWrapper&&isIndex(M)?((S=S.slice(M,+M+(p?1:0))).__actions__.push({func:thru,args:[interceptor],thisArg:void 0}),new LodashWrapper(S,this.__chain__).thru((function(f){return p&&!f.length&&f.push(void 0),f}))):this.thru(interceptor)}));var li=createAggregator((function(f,p,M){it.call(f,M)?++f[M]:baseAssignValue(f,M,1)}));var ci=createFind(findIndex),di=createFind(findLastIndex);function forEach(f,p){return(Di(f)?arrayEach:Sn)(f,getIteratee(p,3))}function forEachRight(f,p){return(Di(f)?arrayEachRight:Ln)(f,getIteratee(p,3))}var ui=createAggregator((function(f,p,M){it.call(f,M)?f[M].push(p):baseAssignValue(f,M,[p])}));var hi=baseRest((function(f,p,S){var L=-1,Y="function"==typeof p,E=isArrayLike(f)?M(f.length):[];return Sn(f,(function(f){E[++L]=Y?apply(p,f,S):baseInvoke(f,p,S)})),E})),fi=createAggregator((function(f,p,M){baseAssignValue(f,M,p)}));function map(f,p){return(Di(f)?arrayMap:baseMap)(f,getIteratee(p,3))}var pi=createAggregator((function(f,p,M){f[M?0:1].push(p)}),(function(){return[[],[]]}));var mi=baseRest((function(f,p){if(null==f)return[];var M=p.length;return M>1&&isIterateeCall(f,p[0],p[1])?p=[]:M>2&&isIterateeCall(p[0],p[1],p[2])&&(p=[p[0]]),baseOrderBy(f,baseFlatten(p,1),[])})),gi=Vt||function(){return Lt.Date.now()};function ary(f,p,M){return p=M?void 0:p,createWrap(f,128,void 0,void 0,void 0,void 0,p=f&&null==p?f.length:p)}function before(f,p){var M;if("function"!=typeof p)throw new Je(Y);return f=toInteger(f),function(){return--f>0&&(M=p.apply(this,arguments)),f<=1&&(p=void 0),M}}var bi=baseRest((function(f,p,M){var S=1;if(M.length){var L=replaceHolders(M,getHolder(bi));S|=32}return createWrap(f,S,p,M,L)})),vi=baseRest((function(f,p,M){var S=3;if(M.length){var L=replaceHolders(M,getHolder(vi));S|=32}return createWrap(p,S,f,M,L)}));function debounce(f,p,M){var S,L,E,O,R,W,B=0,G=!1,V=!1,U=!0;if("function"!=typeof f)throw new Je(Y);function invokeFunc(p){var M=S,Y=L;return S=L=void 0,B=p,O=f.apply(Y,M)}function leadingEdge(f){return B=f,R=Fn(timerExpired,p),G?invokeFunc(f):O}function shouldInvoke(f){var M=f-W;return void 0===W||M>=p||M<0||V&&f-B>=E}function timerExpired(){var f=gi();if(shouldInvoke(f))return trailingEdge(f);R=Fn(timerExpired,function remainingWait(f){var M=p-(f-W);return V?tn(M,E-(f-B)):M}(f))}function trailingEdge(f){return R=void 0,U&&S?invokeFunc(f):(S=L=void 0,O)}function debounced(){var f=gi(),M=shouldInvoke(f);if(S=arguments,L=this,W=f,M){if(void 0===R)return leadingEdge(W);if(V)return In(R),R=Fn(timerExpired,p),invokeFunc(W)}return void 0===R&&(R=Fn(timerExpired,p)),O}return p=toNumber(p)||0,isObject(M)&&(G=!!M.leading,E=(V="maxWait"in M)?en(toNumber(M.maxWait)||0,p):E,U="trailing"in M?!!M.trailing:U),debounced.cancel=function cancel(){void 0!==R&&In(R),B=0,S=W=L=R=void 0},debounced.flush=function flush(){return void 0===R?O:trailingEdge(gi())},debounced}var _i=baseRest((function(f,p){return baseDelay(f,1,p)})),yi=baseRest((function(f,p,M){return baseDelay(f,toNumber(p)||0,M)}));function memoize(f,p){if("function"!=typeof f||null!=p&&"function"!=typeof p)throw new Je(Y);var memoized=function(){var M=arguments,S=p?p.apply(this,M):M[0],L=memoized.cache;if(L.has(S))return L.get(S);var Y=f.apply(this,M);return memoized.cache=L.set(S,Y)||L,Y};return memoized.cache=new(memoize.Cache||MapCache),memoized}function negate(f){if("function"!=typeof f)throw new Je(Y);return function(){var p=arguments;switch(p.length){case 0:return!f.call(this);case 1:return!f.call(this,p[0]);case 2:return!f.call(this,p[0],p[1]);case 3:return!f.call(this,p[0],p[1],p[2])}return!f.apply(this,p)}}memoize.Cache=MapCache;var wi=Yn((function(f,p){var M=(p=1==p.length&&Di(p[0])?arrayMap(p[0],baseUnary(getIteratee())):arrayMap(baseFlatten(p,1),baseUnary(getIteratee()))).length;return baseRest((function(S){for(var L=-1,Y=tn(S.length,M);++L=p})),Li=baseIsArguments(function(){return arguments}())?baseIsArguments:function(f){return isObjectLike(f)&&it.call(f,"callee")&&!St.call(f,"callee")},Di=M.isArray,Ci=It?baseUnary(It):function baseIsArrayBuffer(f){return isObjectLike(f)&&baseGetTag(f)==ie};function isArrayLike(f){return null!=f&&isLength(f.length)&&!isFunction(f)}function isArrayLikeObject(f){return isObjectLike(f)&&isArrayLike(f)}var Ai=Kt||stubFalse,Pi=Et?baseUnary(Et):function baseIsDate(f){return isObjectLike(f)&&baseGetTag(f)==G};function isError(f){if(!isObjectLike(f))return!1;var p=baseGetTag(f);return p==V||"[object DOMException]"==p||"string"==typeof f.message&&"string"==typeof f.name&&!isPlainObject(f)}function isFunction(f){if(!isObject(f))return!1;var p=baseGetTag(f);return p==U||p==q||"[object AsyncFunction]"==p||"[object Proxy]"==p}function isInteger(f){return"number"==typeof f&&f==toInteger(f)}function isLength(f){return"number"==typeof f&&f>-1&&f%1==0&&f<=9007199254740991}function isObject(f){var p=typeof f;return null!=f&&("object"==p||"function"==p)}function isObjectLike(f){return null!=f&&"object"==typeof f}var Yi=Ot?baseUnary(Ot):function baseIsMap(f){return isObjectLike(f)&&Nn(f)==X};function isNumber(f){return"number"==typeof f||isObjectLike(f)&&baseGetTag(f)==K}function isPlainObject(f){if(!isObjectLike(f)||baseGetTag(f)!=J)return!1;var p=xt(f);if(null===p)return!0;var M=it.call(p,"constructor")&&p.constructor;return"function"==typeof M&&M instanceof M&&nt.call(M)==st}var Ii=Ht?baseUnary(Ht):function baseIsRegExp(f){return isObjectLike(f)&&baseGetTag(f)==Z};var Ei=zt?baseUnary(zt):function baseIsSet(f){return isObjectLike(f)&&Nn(f)==Q};function isString(f){return"string"==typeof f||!Di(f)&&isObjectLike(f)&&baseGetTag(f)==ee}function isSymbol(f){return"symbol"==typeof f||isObjectLike(f)&&baseGetTag(f)==te}var Oi=Nt?baseUnary(Nt):function baseIsTypedArray(f){return isObjectLike(f)&&isLength(f.length)&&!!yt[baseGetTag(f)]};var Hi=createRelationalOperation(baseLt),zi=createRelationalOperation((function(f,p){return f<=p}));function toArray(f){if(!f)return[];if(isArrayLike(f))return isString(f)?stringToArray(f):copyArray(f);if(Pt&&f[Pt])return function iteratorToArray(f){for(var p,M=[];!(p=f.next()).done;)M.push(p.value);return M}(f[Pt]());var p=Nn(f);return(p==X?mapToArray:p==Q?setToArray:values)(f)}function toFinite(f){return f?(f=toNumber(f))===1/0||f===-1/0?17976931348623157e292*(f<0?-1:1):f==f?f:0:0===f?f:0}function toInteger(f){var p=toFinite(f),M=p%1;return p==p?M?p-M:p:0}function toLength(f){return f?baseClamp(toInteger(f),0,4294967295):0}function toNumber(f){if("number"==typeof f)return f;if(isSymbol(f))return NaN;if(isObject(f)){var p="function"==typeof f.valueOf?f.valueOf():f;f=isObject(p)?p+"":p}if("string"!=typeof f)return 0===f?f:+f;f=f.replace(De,"");var M=je.test(f);return M||Fe.test(f)?Tt(f.slice(2),M?2:8):Ne.test(f)?NaN:+f}function toPlainObject(f){return copyObject(f,keysIn(f))}function toString(f){return null==f?"":baseToString(f)}var Ni=createAssigner((function(f,p){if(isPrototype(p)||isArrayLike(p))copyObject(p,keys(p),f);else for(var M in p)it.call(p,M)&&assignValue(f,M,p[M])})),ji=createAssigner((function(f,p){copyObject(p,keysIn(p),f)})),Ri=createAssigner((function(f,p,M,S){copyObject(p,keysIn(p),f,S)})),Fi=createAssigner((function(f,p,M,S){copyObject(p,keys(p),f,S)})),Wi=flatRest(baseAt);var Bi=baseRest((function(f,p){f=qe(f);var M=-1,S=p.length,L=S>2?p[2]:void 0;for(L&&isIterateeCall(p[0],p[1],L)&&(S=1);++M1),p})),copyObject(f,getAllKeysIn(f),M),S&&(M=baseClone(M,7,customOmitClone));for(var L=p.length;L--;)baseUnset(M,p[L]);return M}));var Ji=flatRest((function(f,p){return null==f?{}:function basePick(f,p){return basePickBy(f,p,(function(p,M){return hasIn(f,M)}))}(f,p)}));function pickBy(f,p){if(null==f)return{};var M=arrayMap(getAllKeysIn(f),(function(f){return[f]}));return p=getIteratee(p),basePickBy(f,M,(function(f,M){return p(f,M[0])}))}var Zi=createToPairs(keys),Qi=createToPairs(keysIn);function values(f){return null==f?[]:baseValues(f,keys(f))}var er=createCompounder((function(f,p,M){return p=p.toLowerCase(),f+(M?capitalize(p):p)}));function capitalize(f){return sr(toString(f).toLowerCase())}function deburr(f){return(f=toString(f))&&f.replace(Be,Rt).replace(ft,"")}var tr=createCompounder((function(f,p,M){return f+(M?"-":"")+p.toLowerCase()})),nr=createCompounder((function(f,p,M){return f+(M?" ":"")+p.toLowerCase()})),ir=createCaseFirst("toLowerCase");var rr=createCompounder((function(f,p,M){return f+(M?"_":"")+p.toLowerCase()}));var ar=createCompounder((function(f,p,M){return f+(M?" ":"")+sr(p)}));var or=createCompounder((function(f,p,M){return f+(M?" ":"")+p.toUpperCase()})),sr=createCaseFirst("toUpperCase");function words(f,p,M){return f=toString(f),void 0===(p=M?void 0:p)?function hasUnicodeWord(f){return bt.test(f)}(f)?function unicodeWords(f){return f.match(mt)||[]}(f):function asciiWords(f){return f.match(Ee)||[]}(f):f.match(p)||[]}var lr=baseRest((function(f,p){try{return apply(f,void 0,p)}catch(f){return isError(f)?f:new L(f)}})),cr=flatRest((function(f,p){return arrayEach(p,(function(p){p=toKey(p),baseAssignValue(f,p,bi(f[p],f))})),f}));function constant(f){return function(){return f}}var dr=createFlow(),ur=createFlow(!0);function identity(f){return f}function iteratee(f){return baseIteratee("function"==typeof f?f:baseClone(f,1))}var hr=baseRest((function(f,p){return function(M){return baseInvoke(M,f,p)}})),fr=baseRest((function(f,p){return function(M){return baseInvoke(f,M,p)}}));function mixin(f,p,M){var S=keys(p),L=baseFunctions(p,S);null!=M||isObject(p)&&(L.length||!S.length)||(M=p,p=f,f=this,L=baseFunctions(p,keys(p)));var Y=!(isObject(M)&&"chain"in M&&!M.chain),E=isFunction(f);return arrayEach(L,(function(M){var S=p[M];f[M]=S,E&&(f.prototype[M]=function(){var p=this.__chain__;if(Y||p){var M=f(this.__wrapped__),L=M.__actions__=copyArray(this.__actions__);return L.push({func:S,args:arguments,thisArg:f}),M.__chain__=p,M}return S.apply(f,arrayPush([this.value()],arguments))})})),f}function noop(){}var pr=createOver(arrayMap),mr=createOver(arrayEvery),gr=createOver(arraySome);function property(f){return isKey(f)?baseProperty(toKey(f)):function basePropertyDeep(f){return function(p){return baseGet(p,f)}}(f)}var br=createRange(),vr=createRange(!0);function stubArray(){return[]}function stubFalse(){return!1}var _r=createMathOperation((function(f,p){return f+p}),0),yr=createRound("ceil"),wr=createMathOperation((function(f,p){return f/p}),1),xr=createRound("floor");var kr,Tr=createMathOperation((function(f,p){return f*p}),1),Mr=createRound("round"),Sr=createMathOperation((function(f,p){return f-p}),0);return lodash.after=function after(f,p){if("function"!=typeof p)throw new Je(Y);return f=toInteger(f),function(){if(--f<1)return p.apply(this,arguments)}},lodash.ary=ary,lodash.assign=Ni,lodash.assignIn=ji,lodash.assignInWith=Ri,lodash.assignWith=Fi,lodash.at=Wi,lodash.before=before,lodash.bind=bi,lodash.bindAll=cr,lodash.bindKey=vi,lodash.castArray=function castArray(){if(!arguments.length)return[];var f=arguments[0];return Di(f)?f:[f]},lodash.chain=chain,lodash.chunk=function chunk(f,p,S){p=(S?isIterateeCall(f,p,S):void 0===p)?1:en(toInteger(p),0);var L=null==f?0:f.length;if(!L||p<1)return[];for(var Y=0,E=0,O=M($t(L/p));YL?0:L+M),(S=void 0===S||S>L?L:toInteger(S))<0&&(S+=L),S=M>S?0:toLength(S);M>>0)?(f=toString(f))&&("string"==typeof p||null!=p&&!Ii(p))&&!(p=baseToString(p))&&hasUnicode(f)?castSlice(stringToArray(f),0,M):f.split(p,M):[]},lodash.spread=function spread(f,p){if("function"!=typeof f)throw new Je(Y);return p=null==p?0:en(toInteger(p),0),baseRest((function(M){var S=M[p],L=castSlice(M,0,p);return S&&arrayPush(L,S),apply(f,this,L)}))},lodash.tail=function tail(f){var p=null==f?0:f.length;return p?baseSlice(f,1,p):[]},lodash.take=function take(f,p,M){return f&&f.length?baseSlice(f,0,(p=M||void 0===p?1:toInteger(p))<0?0:p):[]},lodash.takeRight=function takeRight(f,p,M){var S=null==f?0:f.length;return S?baseSlice(f,(p=S-(p=M||void 0===p?1:toInteger(p)))<0?0:p,S):[]},lodash.takeRightWhile=function takeRightWhile(f,p){return f&&f.length?baseWhile(f,getIteratee(p,3),!1,!0):[]},lodash.takeWhile=function takeWhile(f,p){return f&&f.length?baseWhile(f,getIteratee(p,3)):[]},lodash.tap=function tap(f,p){return p(f),f},lodash.throttle=function throttle(f,p,M){var S=!0,L=!0;if("function"!=typeof f)throw new Je(Y);return isObject(M)&&(S="leading"in M?!!M.leading:S,L="trailing"in M?!!M.trailing:L),debounce(f,p,{leading:S,maxWait:p,trailing:L})},lodash.thru=thru,lodash.toArray=toArray,lodash.toPairs=Zi,lodash.toPairsIn=Qi,lodash.toPath=function toPath(f){return Di(f)?arrayMap(f,toKey):isSymbol(f)?[f]:copyArray(Bn(toString(f)))},lodash.toPlainObject=toPlainObject,lodash.transform=function transform(f,p,M){var S=Di(f),L=S||Ai(f)||Oi(f);if(p=getIteratee(p,4),null==M){var Y=f&&f.constructor;M=L?S?new Y:[]:isObject(f)&&isFunction(Y)?Mn(xt(f)):{}}return(L?arrayEach:baseForOwn)(f,(function(f,S,L){return p(M,f,S,L)})),M},lodash.unary=function unary(f){return ary(f,1)},lodash.union=Zn,lodash.unionBy=Qn,lodash.unionWith=ei,lodash.uniq=function uniq(f){return f&&f.length?baseUniq(f):[]},lodash.uniqBy=function uniqBy(f,p){return f&&f.length?baseUniq(f,getIteratee(p,2)):[]},lodash.uniqWith=function uniqWith(f,p){return p="function"==typeof p?p:void 0,f&&f.length?baseUniq(f,void 0,p):[]},lodash.unset=function unset(f,p){return null==f||baseUnset(f,p)},lodash.unzip=unzip,lodash.unzipWith=unzipWith,lodash.update=function update(f,p,M){return null==f?f:baseUpdate(f,p,castFunction(M))},lodash.updateWith=function updateWith(f,p,M,S){return S="function"==typeof S?S:void 0,null==f?f:baseUpdate(f,p,castFunction(M),S)},lodash.values=values,lodash.valuesIn=function valuesIn(f){return null==f?[]:baseValues(f,keysIn(f))},lodash.without=ti,lodash.words=words,lodash.wrap=function wrap(f,p){return xi(castFunction(p),f)},lodash.xor=ni,lodash.xorBy=ii,lodash.xorWith=ri,lodash.zip=ai,lodash.zipObject=function zipObject(f,p){return baseZipObject(f||[],p||[],assignValue)},lodash.zipObjectDeep=function zipObjectDeep(f,p){return baseZipObject(f||[],p||[],baseSet)},lodash.zipWith=oi,lodash.entries=Zi,lodash.entriesIn=Qi,lodash.extend=ji,lodash.extendWith=Ri,mixin(lodash,lodash),lodash.add=_r,lodash.attempt=lr,lodash.camelCase=er,lodash.capitalize=capitalize,lodash.ceil=yr,lodash.clamp=function clamp(f,p,M){return void 0===M&&(M=p,p=void 0),void 0!==M&&(M=(M=toNumber(M))==M?M:0),void 0!==p&&(p=(p=toNumber(p))==p?p:0),baseClamp(toNumber(f),p,M)},lodash.clone=function clone(f){return baseClone(f,4)},lodash.cloneDeep=function cloneDeep(f){return baseClone(f,5)},lodash.cloneDeepWith=function cloneDeepWith(f,p){return baseClone(f,5,p="function"==typeof p?p:void 0)},lodash.cloneWith=function cloneWith(f,p){return baseClone(f,4,p="function"==typeof p?p:void 0)},lodash.conformsTo=function conformsTo(f,p){return null==p||baseConformsTo(f,p,keys(p))},lodash.deburr=deburr,lodash.defaultTo=function defaultTo(f,p){return null==f||f!=f?p:f},lodash.divide=wr,lodash.endsWith=function endsWith(f,p,M){f=toString(f),p=baseToString(p);var S=f.length,L=M=void 0===M?S:baseClamp(toInteger(M),0,S);return(M-=p.length)>=0&&f.slice(M,L)==p},lodash.eq=eq,lodash.escape=function escape(f){return(f=toString(f))&&_e.test(f)?f.replace(be,Ft):f},lodash.escapeRegExp=function escapeRegExp(f){return(f=toString(f))&&Le.test(f)?f.replace(Se,"\\$&"):f},lodash.every=function every(f,p,M){var S=Di(f)?arrayEvery:baseEvery;return M&&isIterateeCall(f,p,M)&&(p=void 0),S(f,getIteratee(p,3))},lodash.find=ci,lodash.findIndex=findIndex,lodash.findKey=function findKey(f,p){return baseFindKey(f,getIteratee(p,3),baseForOwn)},lodash.findLast=di,lodash.findLastIndex=findLastIndex,lodash.findLastKey=function findLastKey(f,p){return baseFindKey(f,getIteratee(p,3),baseForOwnRight)},lodash.floor=xr,lodash.forEach=forEach,lodash.forEachRight=forEachRight,lodash.forIn=function forIn(f,p){return null==f?f:Dn(f,getIteratee(p,3),keysIn)},lodash.forInRight=function forInRight(f,p){return null==f?f:Cn(f,getIteratee(p,3),keysIn)},lodash.forOwn=function forOwn(f,p){return f&&baseForOwn(f,getIteratee(p,3))},lodash.forOwnRight=function forOwnRight(f,p){return f&&baseForOwnRight(f,getIteratee(p,3))},lodash.get=get,lodash.gt=Mi,lodash.gte=Si,lodash.has=function has(f,p){return null!=f&&hasPath(f,p,baseHas)},lodash.hasIn=hasIn,lodash.head=head,lodash.identity=identity,lodash.includes=function includes(f,p,M,S){f=isArrayLike(f)?f:values(f),M=M&&!S?toInteger(M):0;var L=f.length;return M<0&&(M=en(L+M,0)),isString(f)?M<=L&&f.indexOf(p,M)>-1:!!L&&baseIndexOf(f,p,M)>-1},lodash.indexOf=function indexOf(f,p,M){var S=null==f?0:f.length;if(!S)return-1;var L=null==M?0:toInteger(M);return L<0&&(L=en(S+L,0)),baseIndexOf(f,p,L)},lodash.inRange=function inRange(f,p,M){return p=toFinite(p),void 0===M?(M=p,p=0):M=toFinite(M),function baseInRange(f,p,M){return f>=tn(p,M)&&f=-9007199254740991&&f<=9007199254740991},lodash.isSet=Ei,lodash.isString=isString,lodash.isSymbol=isSymbol,lodash.isTypedArray=Oi,lodash.isUndefined=function isUndefined(f){return void 0===f},lodash.isWeakMap=function isWeakMap(f){return isObjectLike(f)&&Nn(f)==ne},lodash.isWeakSet=function isWeakSet(f){return isObjectLike(f)&&"[object WeakSet]"==baseGetTag(f)},lodash.join=function join(f,p){return null==f?"":Zt.call(f,p)},lodash.kebabCase=tr,lodash.last=last,lodash.lastIndexOf=function lastIndexOf(f,p,M){var S=null==f?0:f.length;if(!S)return-1;var L=S;return void 0!==M&&(L=(L=toInteger(M))<0?en(S+L,0):tn(L,S-1)),p==p?function strictLastIndexOf(f,p,M){for(var S=M+1;S--;)if(f[S]===p)return S;return S}(f,p,L):baseFindIndex(f,baseIsNaN,L,!0)},lodash.lowerCase=nr,lodash.lowerFirst=ir,lodash.lt=Hi,lodash.lte=zi,lodash.max=function max(f){return f&&f.length?baseExtremum(f,identity,baseGt):void 0},lodash.maxBy=function maxBy(f,p){return f&&f.length?baseExtremum(f,getIteratee(p,2),baseGt):void 0},lodash.mean=function mean(f){return baseMean(f,identity)},lodash.meanBy=function meanBy(f,p){return baseMean(f,getIteratee(p,2))},lodash.min=function min(f){return f&&f.length?baseExtremum(f,identity,baseLt):void 0},lodash.minBy=function minBy(f,p){return f&&f.length?baseExtremum(f,getIteratee(p,2),baseLt):void 0},lodash.stubArray=stubArray,lodash.stubFalse=stubFalse,lodash.stubObject=function stubObject(){return{}},lodash.stubString=function stubString(){return""},lodash.stubTrue=function stubTrue(){return!0},lodash.multiply=Tr,lodash.nth=function nth(f,p){return f&&f.length?baseNth(f,toInteger(p)):void 0},lodash.noConflict=function noConflict(){return Lt._===this&&(Lt._=lt),this},lodash.noop=noop,lodash.now=gi,lodash.pad=function pad(f,p,M){f=toString(f);var S=(p=toInteger(p))?stringSize(f):0;if(!p||S>=p)return f;var L=(p-S)/2;return createPadding(qt(L),M)+f+createPadding($t(L),M)},lodash.padEnd=function padEnd(f,p,M){f=toString(f);var S=(p=toInteger(p))?stringSize(f):0;return p&&Sp){var S=f;f=p,p=S}if(M||f%1||p%1){var L=an();return tn(f+L*(p-f+kt("1e-"+((L+"").length-1))),p)}return baseRandom(f,p)},lodash.reduce=function reduce(f,p,M){var S=Di(f)?arrayReduce:baseReduce,L=arguments.length<3;return S(f,getIteratee(p,4),M,L,Sn)},lodash.reduceRight=function reduceRight(f,p,M){var S=Di(f)?arrayReduceRight:baseReduce,L=arguments.length<3;return S(f,getIteratee(p,4),M,L,Ln)},lodash.repeat=function repeat(f,p,M){return p=(M?isIterateeCall(f,p,M):void 0===p)?1:toInteger(p),baseRepeat(toString(f),p)},lodash.replace=function replace(){var f=arguments,p=toString(f[0]);return f.length<3?p:p.replace(f[1],f[2])},lodash.result=function result(f,p,M){var S=-1,L=(p=castPath(p,f)).length;for(L||(L=1,f=void 0);++S9007199254740991)return[];var M=4294967295,S=tn(f,4294967295);f-=4294967295;for(var L=baseTimes(S,p=getIteratee(p));++M=Y)return f;var O=M-stringSize(S);if(O<1)return S;var R=E?castSlice(E,0,O).join(""):f.slice(0,O);if(void 0===L)return R+S;if(E&&(O+=R.length-O),Ii(L)){if(f.slice(O).search(L)){var W,B=R;for(L.global||(L=Xe(L.source,toString(ze.exec(L))+"g")),L.lastIndex=0;W=L.exec(B);)var G=W.index;R=R.slice(0,void 0===G?O:G)}}else if(f.indexOf(baseToString(L),O)!=O){var V=R.lastIndexOf(L);V>-1&&(R=R.slice(0,V))}return R+S},lodash.unescape=function unescape(f){return(f=toString(f))&&ve.test(f)?f.replace(ge,Wt):f},lodash.uniqueId=function uniqueId(f){var p=++rt;return toString(f)+p},lodash.upperCase=or,lodash.upperFirst=sr,lodash.each=forEach,lodash.eachRight=forEachRight,lodash.first=head,mixin(lodash,(kr={},baseForOwn(lodash,(function(f,p){it.call(lodash.prototype,p)||(kr[p]=f)})),kr),{chain:!1}),lodash.VERSION="4.17.19",arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(f){lodash[f].placeholder=lodash})),arrayEach(["drop","take"],(function(f,p){LazyWrapper.prototype[f]=function(M){M=void 0===M?1:en(toInteger(M),0);var S=this.__filtered__&&!p?new LazyWrapper(this):this.clone();return S.__filtered__?S.__takeCount__=tn(M,S.__takeCount__):S.__views__.push({size:tn(M,4294967295),type:f+(S.__dir__<0?"Right":"")}),S},LazyWrapper.prototype[f+"Right"]=function(p){return this.reverse()[f](p).reverse()}})),arrayEach(["filter","map","takeWhile"],(function(f,p){var M=p+1,S=1==M||3==M;LazyWrapper.prototype[f]=function(f){var p=this.clone();return p.__iteratees__.push({iteratee:getIteratee(f,3),type:M}),p.__filtered__=p.__filtered__||S,p}})),arrayEach(["head","last"],(function(f,p){var M="take"+(p?"Right":"");LazyWrapper.prototype[f]=function(){return this[M](1).value()[0]}})),arrayEach(["initial","tail"],(function(f,p){var M="drop"+(p?"":"Right");LazyWrapper.prototype[f]=function(){return this.__filtered__?new LazyWrapper(this):this[M](1)}})),LazyWrapper.prototype.compact=function(){return this.filter(identity)},LazyWrapper.prototype.find=function(f){return this.filter(f).head()},LazyWrapper.prototype.findLast=function(f){return this.reverse().find(f)},LazyWrapper.prototype.invokeMap=baseRest((function(f,p){return"function"==typeof f?new LazyWrapper(this):this.map((function(M){return baseInvoke(M,f,p)}))})),LazyWrapper.prototype.reject=function(f){return this.filter(negate(getIteratee(f)))},LazyWrapper.prototype.slice=function(f,p){f=toInteger(f);var M=this;return M.__filtered__&&(f>0||p<0)?new LazyWrapper(M):(f<0?M=M.takeRight(-f):f&&(M=M.drop(f)),void 0!==p&&(M=(p=toInteger(p))<0?M.dropRight(-p):M.take(p-f)),M)},LazyWrapper.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(4294967295)},baseForOwn(LazyWrapper.prototype,(function(f,p){var M=/^(?:filter|find|map|reject)|While$/.test(p),S=/^(?:head|last)$/.test(p),L=lodash[S?"take"+("last"==p?"Right":""):p],Y=S||/^find/.test(p);L&&(lodash.prototype[p]=function(){var p=this.__wrapped__,E=S?[1]:arguments,O=p instanceof LazyWrapper,R=E[0],W=O||Di(p),interceptor=function(f){var p=L.apply(lodash,arrayPush([f],E));return S&&B?p[0]:p};W&&M&&"function"==typeof R&&1!=R.length&&(O=W=!1);var B=this.__chain__,G=!!this.__actions__.length,V=Y&&!B,U=O&&!G;if(!Y&&W){p=U?p:new LazyWrapper(this);var q=f.apply(p,E);return q.__actions__.push({func:thru,args:[interceptor],thisArg:void 0}),new LodashWrapper(q,B)}return V&&U?f.apply(this,E):(q=this.thru(interceptor),V?S?q.value()[0]:q.value():q)})})),arrayEach(["pop","push","shift","sort","splice","unshift"],(function(f){var p=Ze[f],M=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",S=/^(?:pop|shift)$/.test(f);lodash.prototype[f]=function(){var f=arguments;if(S&&!this.__chain__){var L=this.value();return p.apply(Di(L)?L:[],f)}return this[M]((function(M){return p.apply(Di(M)?M:[],f)}))}})),baseForOwn(LazyWrapper.prototype,(function(f,p){var M=lodash[p];if(M){var S=M.name+"";it.call(gn,S)||(gn[S]=[]),gn[S].push({name:p,func:M})}})),gn[createHybrid(void 0,2).name]=[{name:"wrapper",func:void 0}],LazyWrapper.prototype.clone=function lazyClone(){var f=new LazyWrapper(this.__wrapped__);return f.__actions__=copyArray(this.__actions__),f.__dir__=this.__dir__,f.__filtered__=this.__filtered__,f.__iteratees__=copyArray(this.__iteratees__),f.__takeCount__=this.__takeCount__,f.__views__=copyArray(this.__views__),f},LazyWrapper.prototype.reverse=function lazyReverse(){if(this.__filtered__){var f=new LazyWrapper(this);f.__dir__=-1,f.__filtered__=!0}else(f=this.clone()).__dir__*=-1;return f},LazyWrapper.prototype.value=function lazyValue(){var f=this.__wrapped__.value(),p=this.__dir__,M=Di(f),S=p<0,L=M?f.length:0,Y=function getView(f,p,M){var S=-1,L=M.length;for(;++S=this.__values__.length;return{done:f,value:f?void 0:this.__values__[this.__index__++]}},lodash.prototype.plant=function wrapperPlant(f){for(var p,M=this;M instanceof baseLodash;){var S=wrapperClone(M);S.__index__=0,S.__values__=void 0,p?L.__wrapped__=S:p=S;var L=S;M=M.__wrapped__}return L.__wrapped__=f,p},lodash.prototype.reverse=function wrapperReverse(){var f=this.__wrapped__;if(f instanceof LazyWrapper){var p=f;return this.__actions__.length&&(p=new LazyWrapper(this)),(p=p.reverse()).__actions__.push({func:thru,args:[reverse],thisArg:void 0}),new LodashWrapper(p,this.__chain__)}return this.thru(reverse)},lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)},lodash.prototype.first=lodash.prototype.head,Pt&&(lodash.prototype[Pt]=function wrapperToIterator(){return this}),lodash}();Lt._=Bt,void 0===(L=function(){return Bt}.call(p,M,p,S))||(S.exports=L)}).call(this)}).call(this,M(3),M(9)(f))},function(f,p){!function(f,p){"use strict";window;var M=function TemplateEngine(p){return this instanceof TemplateEngine?(this.settings=f.extend({},TemplateEngine.Defaults,p),this._storage={},this):new TemplateEngine(p)};M.Defaults={templateDir:"./tpl/",templateExt:".tpl",templateVersion:window._DASHTICZ_VERSION||0},M.prototype={constructor:M,load:function load(M){return this.isCached(M)||(this._storage[M]=f.ajax(this.urlFor(M)).then((function(f){return p.compile(f)}))),this._storage[M]},isCached:function isCached(f){return!!this._storage[f]},urlFor:function urlFor(f){return this.settings.templateDir+f+this.settings.templateExt+"?"+(window._DASHTICZ_VERSION||this.settings.templateVersion)}},window.TemplateEngine=M}(jQuery,Handlebars)},function(f,p){MomentHandler.registerHelpers(Handlebars),Handlebars.registerHelper("times",(function(f,p){for(var M="",S=0;S=p)return M.fn(this)})),Handlebars.registerHelper("ifLt",(function(f,p,M){if(fp)return M.fn(this)})),Handlebars.registerHelper("ifEq",(function(f,p,M){return f==p?M.fn(this):M.inverse(this)})),Handlebars.registerHelper("ifNe",(function(f,p,M){return f!=p?M.fn(this):M.inverse(this)})),Handlebars.registerHelper("eachUpTo",(function(f,p,M){if(!f||0==f.length)return M.inverse(this);var S=[],L=M.hash&&M.hash.skip?M.hash.skip:0,Y=L;for(p+=L;Y.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(-1 * var(--swiper-navigation-size)/ 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:'next'}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0px,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#ffffff}.swiper-pagination-black{--swiper-pagination-color:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;animation:swiper-preloader-spin 1s infinite linear;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}",""]),f.exports=p},function(f,p,M){"use strict";f.exports=function(f){var p,M,S,L;S=f.requestAnimationFrame||f.webkitRequestAnimationFrame||f.mozRequestAnimationFrame||f.oRequestAnimationFrame||f.msRequestAnimationFrame,L=f.cancelAnimationFrame||f.webkitCancelAnimationFrame||f.mozCancelAnimationFrame||f.oCancelAnimationFrame||f.msCancelAnimationFrame,S&&L?(p=function(f,p){var M={value:null};return function loop(){M.value=S(loop),f()}(),M},M=function(f){L(f.value)}):(p=setInterval,M=clearInterval);var Y=2*Math.PI,E=2/Math.sqrt(2);function line(f,p,M,S,L){f.beginPath(),f.moveTo(p,M),f.lineTo(S,L),f.stroke()}function puff(f,p,M,S,L,E,O,R){var W=Math.cos(p*Y);(function circle(f,p,M,S){f.beginPath(),f.arc(p,M,S,0,Y,!1),f.fill()})(f,M-Math.sin(p*Y)*L,S+W*E+.5*(R-=O),O+(1-.5*W)*R)}function puffs(f,p,M,S,L,Y,E,O){var R;for(R=5;R--;)puff(f,p+R/5,M,S,L,Y,E,O)}function cloud(f,p,M,S,L,Y,E){p/=3e4;var O=.21*L,R=.12*L,W=.24*L,B=.28*L;f.fillStyle=E,puffs(f,p,M,S,O,R,W,B),f.globalCompositeOperation="destination-out",puffs(f,p,M,S,O,R,W-Y,B-Y),f.globalCompositeOperation="source-over"}function sun(f,p,M,S,L,E,O){p/=12e4;var R,W,B,G,V=.25*L-.5*E,U=.32*L+.5*E,q=.5*L-.5*E;for(f.strokeStyle=O,f.lineWidth=E,f.lineCap="round",f.lineJoin="round",f.beginPath(),f.arc(M,S,V,0,Y,!1),f.stroke(),R=8;R--;)W=(p+R/8)*Y,line(f,M+(B=Math.cos(W))*U,S+(G=Math.sin(W))*U,M+B*q,S+G*q)}function moon(f,p,M,S,L,O,R){p/=15e3;var W=.29*L-.5*O,B=.05*L,G=Math.cos(p*Y),V=G*Y/-16;f.strokeStyle=R,f.lineWidth=O,f.lineCap="round",f.lineJoin="round",M+=G*B,f.beginPath(),f.arc(M,S,W,V+Y/8,V+7*Y/8,!1),f.arc(M+Math.cos(V)*W*E,S+Math.sin(V)*W*E,W,V+5*Y/8,V+3*Y/8,!0),f.closePath(),f.stroke()}var O=[[-.75,-.18,-.7219,-.1527,-.6971,-.1225,-.6739,-.091,-.6516,-.0588,-.6298,-.0262,-.6083,.0065,-.5868,.0396,-.5643,.0731,-.5372,.1041,-.5033,.1259,-.4662,.1406,-.4275,.1493,-.3881,.153,-.3487,.1526,-.3095,.1488,-.2708,.1421,-.2319,.1342,-.1943,.1217,-.16,.1025,-.129,.0785,-.1012,.0509,-.0764,.0206,-.0547,-.012,-.0378,-.0472,-.0324,-.0857,-.0389,-.1241,-.0546,-.1599,-.0814,-.1876,-.1193,-.1964,-.1582,-.1935,-.1931,-.1769,-.2157,-.1453,-.229,-.1085,-.2327,-.0697,-.224,-.0317,-.2064,.0033,-.1853,.0362,-.1613,.0672,-.135,.0961,-.1051,.1213,-.0706,.1397,-.0332,.1512,.0053,.158,.0442,.1624,.0833,.1636,.1224,.1615,.1613,.1565,.1999,.15,.2378,.1402,.2749,.1279,.3118,.1147,.3487,.1015,.3858,.0892,.4236,.0787,.4621,.0715,.5012,.0702,.5398,.0766,.5768,.089,.6123,.1055,.6466,.1244,.6805,.144,.7147,.163,.75,.18],[-.75,0,-.7033,.0195,-.6569,.0399,-.6104,.06,-.5634,.0789,-.5155,.0954,-.4667,.1089,-.4174,.1206,-.3676,.1299,-.3174,.1365,-.2669,.1398,-.2162,.1391,-.1658,.1347,-.1157,.1271,-.0661,.1169,-.017,.1046,.0316,.0903,.0791,.0728,.1259,.0534,.1723,.0331,.2188,.0129,.2656,-.0064,.3122,-.0263,.3586,-.0466,.4052,-.0665,.4525,-.0847,.5007,-.1002,.5497,-.113,.5991,-.124,.6491,-.1325,.6994,-.138,.75,-.14]],R=[{start:.36,end:.11},{start:.56,end:.16}];function swoosh(f,p,M,S,L,E,W,B,G){var V,U,q,X,K=O[W],J=((p/=2500)+W-R[W].start)%B,Z=(p+W-R[W].end)%B,Q=(p+W)%B;if(f.strokeStyle=G,f.lineWidth=E,f.lineCap="round",f.lineJoin="round",J<1){if(f.beginPath(),J*=K.length/2-1,J-=V=Math.floor(J),V*=2,V+=2,f.moveTo(M+(K[V-2]*(1-J)+K[V]*J)*L,S+(K[V-1]*(1-J)+K[V+1]*J)*L),Z<1){for(Z*=K.length/2-1,Z-=U=Math.floor(Z),U*=2,U+=2,X=V;X!==U;X+=2)f.lineTo(M+K[X]*L,S+K[X+1]*L);f.lineTo(M+(K[U-2]*(1-Z)+K[U]*Z)*L,S+(K[U-1]*(1-Z)+K[U+1]*Z)*L)}else for(X=V;X!==K.length;X+=2)f.lineTo(M+K[X]*L,S+K[X+1]*L);f.stroke()}else if(Z<1){for(f.beginPath(),Z*=K.length/2-1,Z-=U=Math.floor(Z),U*=2,U+=2,f.moveTo(M+K[0]*L,S+K[1]*L),X=2;X!==U;X+=2)f.lineTo(M+K[X]*L,S+K[X+1]*L);f.lineTo(M+(K[U-2]*(1-Z)+K[U]*Z)*L,S+(K[U-1]*(1-Z)+K[U+1]*Z)*L),f.stroke()}Q<1&&(Q*=K.length/2-1,Q-=q=Math.floor(Q),q*=2,function leaf(f,p,M,S,L,E,O){var R=L/8,W=R/3,B=2*W,G=p%1*Y,V=Math.cos(G),U=Math.sin(G);f.fillStyle=O,f.strokeStyle=O,f.lineWidth=E,f.lineCap="round",f.lineJoin="round",f.beginPath(),f.arc(M,S,R,G,G+Math.PI,!1),f.arc(M-W*V,S-W*U,B,G+Math.PI,G,!1),f.arc(M+B*V,S+B*U,W,G+Math.PI,G,!0),f.globalCompositeOperation="destination-out",f.fill(),f.globalCompositeOperation="source-over",f.stroke()}(f,p,M+(K[(q+=2)-2]*(1-Q)+K[q]*Q)*L,S+(K[q-1]*(1-Q)+K[q+1]*Q)*L,L,E,G))}var Skycons=function(f){this.list=[],this.interval=null,this.color=f&&f.color?f.color:"black",this.resizeClear=!(!f||!f.resizeClear)};return Skycons.CLEAR_DAY=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);sun(f,p,.5*S,.5*L,Y,.08*Y,M)},Skycons.CLEAR_NIGHT=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);moon(f,p,.5*S,.5*L,Y,.08*Y,M)},Skycons.PARTLY_CLOUDY_DAY=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);sun(f,p,.625*S,.375*L,.75*Y,.08*Y,M),cloud(f,p,.375*S,.625*L,.75*Y,.08*Y,M)},Skycons.PARTLY_CLOUDY_NIGHT=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);moon(f,p,.667*S,.375*L,.75*Y,.08*Y,M),cloud(f,p,.375*S,.625*L,.75*Y,.08*Y,M)},Skycons.CLOUDY=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);cloud(f,p,.5*S,.5*L,Y,.08*Y,M)},Skycons.RAIN=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,E=Math.min(S,L);!function rain(f,p,M,S,L,E,O){p/=1350;var R,W,B,G,V=.16*L,U=11*Y/12,q=7*Y/12;for(f.fillStyle=O,R=4;R--;)B=M+(R-1.5)/1.5*(1===R||2===R?-1:1)*V,G=S+(W=(p+R/4)%1)*W*L,f.beginPath(),f.moveTo(B,G-1.5*E),f.arc(B,G,.75*E,U,q,!1),f.fill()}(f,p,.5*S,.37*L,.9*E,.08*E,M),cloud(f,p,.5*S,.37*L,.9*E,.08*E,M)},Skycons.SLEET=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);!function sleet(f,p,M,S,L,Y,E){p/=750;var O,R,W,B,G=.1875*L;for(f.strokeStyle=E,f.lineWidth=.5*Y,f.lineCap="round",f.lineJoin="round",O=4;O--;)R=(p+O/4)%1,line(f,W=Math.floor(M+(O-1.5)/1.5*(1===O||2===O?-1:1)*G)+.5,(B=S+R*L)-1.5*Y,W,B+1.5*Y)}(f,p,.5*S,.37*L,.9*Y,.08*Y,M),cloud(f,p,.5*S,.37*L,.9*Y,.08*Y,M)},Skycons.SNOW=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,E=Math.min(S,L);!function snow(f,p,M,S,L,E,O){var R,W,B,G,V=.16*L,U=.75*E,q=(p/=3e3)*Y*.7,X=Math.cos(q)*U,K=Math.sin(q)*U,J=q+Y/3,Z=Math.cos(J)*U,Q=Math.sin(J)*U,ee=q+2*Y/3,te=Math.cos(ee)*U,ne=Math.sin(ee)*U;for(f.strokeStyle=O,f.lineWidth=.5*E,f.lineCap="round",f.lineJoin="round",R=4;R--;)W=(p+R/4)%1,line(f,(B=M+Math.sin((W+R/4)*Y)*V)-X,(G=S+W*L)-K,B+X,G+K),line(f,B-Z,G-Q,B+Z,G+Q),line(f,B-te,G-ne,B+te,G+ne)}(f,p,.5*S,.37*L,.9*E,.08*E,M),cloud(f,p,.5*S,.37*L,.9*E,.08*E,M)},Skycons.WIND=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,Y=Math.min(S,L);swoosh(f,p,.5*S,.5*L,Y,.08*Y,0,2,M),swoosh(f,p,.5*S,.5*L,Y,.08*Y,1,2,M)},Skycons.FOG=function(f,p,M){var S=f.canvas.width,L=f.canvas.height,E=Math.min(S,L),O=.08*E;!function fogbank(f,p,M,S,L,Y,E){p/=3e4;var O=.21*L,R=.06*L,W=.21*L,B=.28*L;f.fillStyle=E,puffs(f,p,M,S,O,R,W,B),f.globalCompositeOperation="destination-out",puffs(f,p,M,S,O,R,W-Y,B-Y),f.globalCompositeOperation="source-over"}(f,p,.5*S,.32*L,.75*E,O,M),p/=5e3;var R=Math.cos(p*Y)*E*.02,W=Math.cos((p+.25)*Y)*E*.02,B=Math.cos((p+.5)*Y)*E*.02,G=Math.cos((p+.75)*Y)*E*.02,V=.936*L,U=Math.floor(V-.5*O)+.5,q=Math.floor(V-2.5*O)+.5;f.strokeStyle=M,f.lineWidth=O,f.lineCap="round",f.lineJoin="round",line(f,R+.2*S+.5*O,U,W+.8*S-.5*O,U),line(f,B+.2*S+.5*O,q,G+.8*S-.5*O,q)},Skycons.prototype={_determineDrawingFunction:function(f){return"string"==typeof f&&(f=Skycons[f.toUpperCase().replace(/-/g,"_")]||null),f},add:function(f,p){var M;"string"==typeof f&&(f=document.getElementById(f)),null!==f&&"function"==typeof(p=this._determineDrawingFunction(p))&&(M={element:f,context:f.getContext("2d"),drawing:p},this.list.push(M),this.draw(M,500))},set:function(f,p){var M;for("string"==typeof f&&(f=document.getElementById(f)),M=this.list.length;M--;)if(this.list[M].element===f)return this.list[M].drawing=this._determineDrawingFunction(p),void this.draw(this.list[M],500);this.add(f,p)},remove:function(f){var p;for("string"==typeof f&&(f=document.getElementById(f)),p=this.list.length;p--;)if(this.list[p].element===f)return void this.list.splice(p,1)},draw:function(f,p){var M=f.context.canvas;this.resizeClear?M.width=M.width:f.context.clearRect(0,0,M.width,M.height),f.drawing(f.context,p,this.color)},play:function(){var f=this;this.pause(),this.interval=p((function(){var p,M=Date.now();for(p=f.list.length;p--;)f.draw(f.list[p],M)}),1e3/60)},pause:function(){this.interval&&(M(this.interval),this.interval=null)}},Skycons}},function(f,p,M){var S,L,Y;!function(E){"use strict";L=[M(6)],void 0===(Y="function"==typeof(S=function(f,p){var M={beforeShow:noop,move:noop,change:noop,show:noop,hide:noop,color:!1,flat:!1,showInput:!1,allowEmpty:!1,showButtons:!0,clickoutFiresChange:!0,showInitial:!1,showPalette:!1,showPaletteOnly:!1,hideAfterPaletteSelect:!1,togglePaletteOnly:!1,showSelectionPalette:!0,localStorageKey:!1,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",togglePaletteMoreText:"more",togglePaletteLessText:"less",clearText:"Clear Color Selection",noColorSelectedText:"No Color Selected",preferredFormat:!1,className:"",containerClassName:"",replacerClassName:"",showAlpha:!1,theme:"sp-light",palette:[["#ffffff","#000000","#ff0000","#ff8000","#ffff00","#008000","#0000ff","#4b0082","#9400d3"]],selectionPalette:[],disabled:!1,offset:null},S=[],L=!!/msie/i.exec(window.navigator.userAgent),Y=function(){function contains(f,p){return!!~(""+f).indexOf(p)}var f=document.createElement("div").style;return f.cssText="background-color:rgba(0,0,0,.5)",contains(f.backgroundColor,"rgba")||contains(f.backgroundColor,"hsla")}(),E=["
","
","
","
"].join(""),O=function(){var f="";if(L)for(var p=1;p<=6;p++)f+="
";return["
","
","
","
","","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
",f,"
","
","
","
","
","","
","
","
","","","
","
","
"].join("")}();function paletteTemplate(p,M,S,L){for(var E=[],O=0;O')}else{E.push(f("
").append(f('').attr("title",L.noColorSelectedText)).html())}}return"
"+E.join("")+"
"}function spectrum(R,W){var B=function instanceOptions(p,S){var L=f.extend({},M,p);return L.callbacks={move:bind(L.move,S),change:bind(L.change,S),show:bind(L.show,S),hide:bind(L.hide,S),beforeShow:bind(L.beforeShow,S)},L}(W,R),G=B.flat,V=B.showSelectionPalette,U=B.localStorageKey,q=B.theme,X=B.callbacks,K=function throttle(f,p,M){var S;return function(){var L=this,Y=arguments,throttler=function(){S=null,f.apply(L,Y)};M&&clearTimeout(S),!M&&S||(S=setTimeout(throttler,p))}}(reflow,10),J=!1,Z=!1,Q=0,ee=0,te=0,ne=0,ie=0,re=0,ae=0,oe=0,se=0,le=0,ce=1,de=[],ue=[],he={},fe=B.selectionPalette.slice(0),pe=B.maxSelectionSize,me=null,ge=R.ownerDocument,be=(ge.body,f(R)),ve=!1,_e=f(O,ge).addClass(q),ye=_e.find(".sp-picker-container"),we=_e.find(".sp-color"),xe=_e.find(".sp-dragger"),ke=_e.find(".sp-hue"),Te=_e.find(".sp-slider"),Me=_e.find(".sp-alpha-inner"),Se=_e.find(".sp-alpha"),Le=_e.find(".sp-alpha-handle"),De=_e.find(".sp-input"),Ce=_e.find(".sp-palette"),Ae=_e.find(".sp-initial"),Pe=_e.find(".sp-cancel"),Ye=_e.find(".sp-clear"),Ie=_e.find(".sp-choose"),Ee=_e.find(".sp-palette-toggle"),Oe=be.is("input"),He=Oe&&"color"===be.attr("type")&&inputTypeColorSupport(),ze=Oe&&!G,Ne=ze?f(E).addClass(q).addClass(B.className).addClass(B.replacerClassName):f([]),je=ze?Ne:be,Re=Ne.find(".sp-preview-inner"),Fe=B.color||Oe&&be.val(),We=!1,Be=B.preferredFormat,Ge=!B.showButtons||B.clickoutFiresChange,Ve=!Fe,Ue=B.allowEmpty&&!He;function applyOptions(){if(B.showPaletteOnly&&(B.showPalette=!0),Ee.text(B.showPaletteOnly?B.togglePaletteMoreText:B.togglePaletteLessText),B.palette){de=B.palette.slice(0),ue=f.isArray(de[0])?de:[de],he={};for(var p=0;p1&&(delete window.localStorage[U],f.each(p,(function(f,p){addColorToSelectionPalette(p)})))}catch(f){}try{fe=window.localStorage[U].split(";")}catch(f){}}}function addColorToSelectionPalette(p){if(V){var M=tinycolor(p).toRgbString();if(!he[M]&&-1===f.inArray(M,fe))for(fe.push(M);fe.length>pe;)fe.shift();if(U&&window.localStorage)try{window.localStorage[U]=fe.join(";")}catch(f){}}}function drawPalette(){var p=get(),M=f.map(ue,(function(f,M){return paletteTemplate(f,p,"sp-palette-row sp-palette-row-"+M,B)}));updateSelectionPaletteFromStorage(),fe&&M.push(paletteTemplate(function getUniqueSelectionPalette(){var f=[];if(B.showPalette)for(var p=0;pR&&R>S?Math.abs(G+S-R):0),{top:V-=Math.min(V,V+L>W&&W>L?Math.abs(L+Y-0):0),bottom:B.bottom,left:G,right:B.right,width:B.width,height:B.height}}(_e,je))),updateHelperLocations(),B.showPalette&&drawPalette(),be.trigger("reflow.spectrum"))}function disable(){hide(),ve=!0,be.attr("disabled",!0),je.addClass("sp-disabled")}!function initialize(){if(L&&_e.find("*:not(input)").attr("unselectable","on"),applyOptions(),ze&&be.after(Ne).hide(),Ue||Ye.hide(),G)be.after(_e).hide();else{var p="parent"===B.appendTo?be.parent():f(B.appendTo);1!==p.length&&(p=f("body")),p.append(_e)}function paletteElementClick(p){return p.data&&p.data.ignore?(set(f(p.target).closest(".sp-thumb-el").data("color")),move()):(set(f(p.target).closest(".sp-thumb-el").data("color")),move(),B.hideAfterPaletteSelect?(updateOriginalInput(!0),hide()):updateOriginalInput()),!1}updateSelectionPaletteFromStorage(),je.on("click.spectrum touchstart.spectrum",(function(p){ve||toggle(),p.stopPropagation(),f(p.target).is("input")||p.preventDefault()})),(be.is(":disabled")||!0===B.disabled)&&disable(),_e.click(stopPropagation),De.change(setFromTextInput),De.on("paste",(function(){setTimeout(setFromTextInput,1)})),De.keydown((function(f){13==f.keyCode&&setFromTextInput()})),Pe.text(B.cancelText),Pe.on("click.spectrum",(function(f){f.stopPropagation(),f.preventDefault(),revert(),hide()})),Ye.attr("title",B.clearText),Ye.on("click.spectrum",(function(f){f.stopPropagation(),f.preventDefault(),Ve=!0,move(),G&&updateOriginalInput(!0)})),Ie.text(B.chooseText),Ie.on("click.spectrum",(function(f){f.stopPropagation(),f.preventDefault(),L&&De.is(":focus")&&De.trigger("change"),function isValid(){return!De.hasClass("sp-validation-error")}()&&(updateOriginalInput(!0),hide())})),Ee.text(B.showPaletteOnly?B.togglePaletteMoreText:B.togglePaletteLessText),Ee.on("click.spectrum",(function(f){f.stopPropagation(),f.preventDefault(),B.showPaletteOnly=!B.showPaletteOnly,B.showPaletteOnly||G||_e.css("left","-="+(ye.outerWidth(!0)+5)),applyOptions()})),draggable(Se,(function(f,p,M){ce=f/ie,Ve=!1,M.shiftKey&&(ce=Math.round(10*ce)/10),move()}),dragStart,dragStop),draggable(ke,(function(f,p){oe=parseFloat(p/ne),Ve=!1,B.showAlpha||(ce=1),move()}),dragStart,dragStop),draggable(we,(function(f,p,M){if(M.shiftKey){if(!me){var S=se*Q,L=ee-le*ee,Y=Math.abs(f-S)>Math.abs(p-L);me=Y?"x":"y"}}else me=null;var E=!me||"y"===me;(!me||"x"===me)&&(se=parseFloat(f/Q)),E&&(le=parseFloat((ee-p)/ee)),Ve=!1,B.showAlpha||(ce=1),move()}),dragStart,dragStop),Fe?(set(Fe),updateUI(),Be=B.preferredFormat||tinycolor(Fe).format,addColorToSelectionPalette(Fe)):updateUI(),G&&show();var M=L?"mousedown.spectrum":"click.spectrum touchstart.spectrum";Ce.on(M,".sp-thumb-el",paletteElementClick),Ae.on(M,".sp-thumb-el:nth-child(1)",{ignore:!0},paletteElementClick)}();var $e={show:show,hide:hide,toggle:toggle,reflow:reflow,option:function option(M,S){return M===p?f.extend({},B):S===p?B[M]:(B[M]=S,"preferredFormat"===M&&(Be=B.preferredFormat),void applyOptions())},enable:function enable(){ve=!1,be.attr("disabled",!1),je.removeClass("sp-disabled")},disable:disable,offset:function setOffset(f){B.offset=f,reflow()},set:function(f){set(f),updateOriginalInput()},get:get,destroy:function destroy(){be.show(),je.off("click.spectrum touchstart.spectrum"),_e.remove(),Ne.remove(),S[$e.id]=null},container:_e};return $e.id=S.push($e)-1,$e}function noop(){}function stopPropagation(f){f.stopPropagation()}function bind(f,p){var M=Array.prototype.slice,S=M.call(arguments,2);return function(){return f.apply(p,S.concat(M.call(arguments)))}}function draggable(p,M,S,Y){M=M||function(){},S=S||function(){},Y=Y||function(){};var E=document,O=!1,R={},W=0,B=0,G="ontouchstart"in window,V={};function prevent(f){f.stopPropagation&&f.stopPropagation(),f.preventDefault&&f.preventDefault(),f.returnValue=!1}function move(f){if(O){if(L&&E.documentMode<9&&!f.button)return stop();var S=f.originalEvent&&f.originalEvent.touches&&f.originalEvent.touches[0],Y=S&&S.pageX||f.pageX,V=S&&S.pageY||f.pageY,U=Math.max(0,Math.min(Y-R.left,B)),q=Math.max(0,Math.min(V-R.top,W));G&&prevent(f),M.apply(p,[U,q,f])}}function stop(){O&&(f(E).off(V),f(E.body).removeClass("sp-dragging"),setTimeout((function(){Y.apply(p,arguments)}),0)),O=!1}V.selectstart=prevent,V.dragstart=prevent,V["touchmove mousemove"]=move,V["touchend mouseup"]=stop,f(p).on("touchstart mousedown",(function start(M){var L=M.which?3==M.which:2==M.button;L||O||!1!==S.apply(p,arguments)&&(O=!0,W=f(p).height(),B=f(p).width(),R=f(p).offset(),f(E).on(V),f(E.body).addClass("sp-dragging"),move(M),prevent(M))}))}function inputTypeColorSupport(){return f.fn.spectrum.inputTypeColorSupport()}var R="spectrum.id";f.fn.spectrum=function(p,M){if("string"==typeof p){var L=this,Y=Array.prototype.slice.call(arguments,1);return this.each((function(){var M=S[f(this).data(R)];if(M){var E=M[p];if(!E)throw new Error("Spectrum: no such method: '"+p+"'");"get"==p?L=M.get():"container"==p?L=M.container:"option"==p?L=M.option.apply(M,Y):"destroy"==p?(M.destroy(),f(this).removeData(R)):E.apply(M,Y)}})),L}return this.spectrum("destroy").each((function(){var M=spectrum(this,f.extend({},f(this).data(),p));f(this).data(R,M.id)}))},f.fn.spectrum.load=!0,f.fn.spectrum.loadOpts={},f.fn.spectrum.draggable=draggable,f.fn.spectrum.defaults=M,f.fn.spectrum.inputTypeColorSupport=function inputTypeColorSupport(){if(void 0===inputTypeColorSupport._cachedResult){var p=f("")[0];inputTypeColorSupport._cachedResult="color"===p.type&&""!==p.value}return inputTypeColorSupport._cachedResult},f.spectrum={},f.spectrum.localization={},f.spectrum.palettes={},f.fn.spectrum.processNativeColorInputs=function(){var p=f("input[type=color]");p.length&&!inputTypeColorSupport()&&p.spectrum({preferredFormat:"hex6"})},function(){var f=/^[\s,#]+/,p=/\s+$/,M=0,S=Math,L=S.round,Y=S.min,E=S.max,O=S.random,tinycolor=function(O,W){if(W=W||{},(O=O||"")instanceof tinycolor)return O;if(!(this instanceof tinycolor))return new tinycolor(O,W);var B=function inputToRGB(M){var L={r:0,g:0,b:0},O=1,W=!1,B=!1;"string"==typeof M&&(M=function stringInputToObject(M){M=M.replace(f,"").replace(p,"").toLowerCase();var S,L=!1;if(R[M])M=R[M],L=!0;else if("transparent"==M)return{r:0,g:0,b:0,a:0,format:"name"};if(S=U.rgb.exec(M))return{r:S[1],g:S[2],b:S[3]};if(S=U.rgba.exec(M))return{r:S[1],g:S[2],b:S[3],a:S[4]};if(S=U.hsl.exec(M))return{h:S[1],s:S[2],l:S[3]};if(S=U.hsla.exec(M))return{h:S[1],s:S[2],l:S[3],a:S[4]};if(S=U.hsv.exec(M))return{h:S[1],s:S[2],v:S[3]};if(S=U.hsva.exec(M))return{h:S[1],s:S[2],v:S[3],a:S[4]};if(S=U.hex8.exec(M))return{a:(Y=S[1],parseIntFromHex(Y)/255),r:parseIntFromHex(S[2]),g:parseIntFromHex(S[3]),b:parseIntFromHex(S[4]),format:L?"name":"hex8"};var Y;if(S=U.hex6.exec(M))return{r:parseIntFromHex(S[1]),g:parseIntFromHex(S[2]),b:parseIntFromHex(S[3]),format:L?"name":"hex"};if(S=U.hex3.exec(M))return{r:parseIntFromHex(S[1]+""+S[1]),g:parseIntFromHex(S[2]+""+S[2]),b:parseIntFromHex(S[3]+""+S[3]),format:L?"name":"hex"};return!1}(M));"object"==typeof M&&(M.hasOwnProperty("r")&&M.hasOwnProperty("g")&&M.hasOwnProperty("b")?(L=function rgbToRgb(f,p,M){return{r:255*bound01(f,255),g:255*bound01(p,255),b:255*bound01(M,255)}}(M.r,M.g,M.b),W=!0,B="%"===String(M.r).substr(-1)?"prgb":"rgb"):M.hasOwnProperty("h")&&M.hasOwnProperty("s")&&M.hasOwnProperty("v")?(M.s=convertToPercentage(M.s),M.v=convertToPercentage(M.v),L=function hsvToRgb(f,p,M){f=6*bound01(f,360),p=bound01(p,100),M=bound01(M,100);var L=S.floor(f),Y=f-L,E=M*(1-p),O=M*(1-Y*p),R=M*(1-(1-Y)*p),W=L%6;return{r:255*[M,O,E,E,R,M][W],g:255*[R,M,M,O,E,E][W],b:255*[E,E,R,M,M,O][W]}}(M.h,M.s,M.v),W=!0,B="hsv"):M.hasOwnProperty("h")&&M.hasOwnProperty("s")&&M.hasOwnProperty("l")&&(M.s=convertToPercentage(M.s),M.l=convertToPercentage(M.l),L=function hslToRgb(f,p,M){var S,L,Y;function hue2rgb(f,p,M){return M<0&&(M+=1),M>1&&(M-=1),M<1/6?f+6*(p-f)*M:M<.5?p:M<2/3?f+(p-f)*(2/3-M)*6:f}if(f=bound01(f,360),p=bound01(p,100),M=bound01(M,100),0===p)S=L=Y=M;else{var E=M<.5?M*(1+p):M+p-M*p,O=2*M-E;S=hue2rgb(O,E,f+1/3),L=hue2rgb(O,E,f),Y=hue2rgb(O,E,f-1/3)}return{r:255*S,g:255*L,b:255*Y}}(M.h,M.s,M.l),W=!0,B="hsl"),M.hasOwnProperty("a")&&(O=M.a));return O=boundAlpha(O),{ok:W,format:M.format||B,r:Y(255,E(L.r,0)),g:Y(255,E(L.g,0)),b:Y(255,E(L.b,0)),a:O}}(O);this._originalInput=O,this._r=B.r,this._g=B.g,this._b=B.b,this._a=B.a,this._roundA=L(1e3*this._a)/1e3,this._format=W.format||B.format,this._gradientType=W.gradientType,this._r<1&&(this._r=L(this._r)),this._g<1&&(this._g=L(this._g)),this._b<1&&(this._b=L(this._b)),this._ok=B.ok,this._tc_id=M++};function rgbToHsl(f,p,M){f=bound01(f,255),p=bound01(p,255),M=bound01(M,255);var S,L,O=E(f,p,M),R=Y(f,p,M),W=(O+R)/2;if(O==R)S=L=0;else{var B=O-R;switch(L=W>.5?B/(2-O-R):B/(O+R),O){case f:S=(p-M)/B+(p>1)+720)%360;--p;)S.h=(S.h+L)%360,Y.push(tinycolor(S));return Y}function monochromatic(f,p){p=p||6;for(var M=tinycolor(f).toHsv(),S=M.h,L=M.s,Y=M.v,E=[],O=1/p;p--;)E.push(tinycolor({h:S,s:L,v:Y})),Y=(Y+O)%1;return E}tinycolor.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var f=this.toRgb();return(299*f.r+587*f.g+114*f.b)/1e3},setAlpha:function(f){return this._a=boundAlpha(f),this._roundA=L(1e3*this._a)/1e3,this},toHsv:function(){var f=rgbToHsv(this._r,this._g,this._b);return{h:360*f.h,s:f.s,v:f.v,a:this._a}},toHsvString:function(){var f=rgbToHsv(this._r,this._g,this._b),p=L(360*f.h),M=L(100*f.s),S=L(100*f.v);return 1==this._a?"hsv("+p+", "+M+"%, "+S+"%)":"hsva("+p+", "+M+"%, "+S+"%, "+this._roundA+")"},toHsl:function(){var f=rgbToHsl(this._r,this._g,this._b);return{h:360*f.h,s:f.s,l:f.l,a:this._a}},toHslString:function(){var f=rgbToHsl(this._r,this._g,this._b),p=L(360*f.h),M=L(100*f.s),S=L(100*f.l);return 1==this._a?"hsl("+p+", "+M+"%, "+S+"%)":"hsla("+p+", "+M+"%, "+S+"%, "+this._roundA+")"},toHex:function(f){return rgbToHex(this._r,this._g,this._b,f)},toHexString:function(f){return"#"+this.toHex(f)},toHex8:function(){return rgbaToHex(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:L(this._r),g:L(this._g),b:L(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+L(this._r)+", "+L(this._g)+", "+L(this._b)+")":"rgba("+L(this._r)+", "+L(this._g)+", "+L(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:L(100*bound01(this._r,255))+"%",g:L(100*bound01(this._g,255))+"%",b:L(100*bound01(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+L(100*bound01(this._r,255))+"%, "+L(100*bound01(this._g,255))+"%, "+L(100*bound01(this._b,255))+"%)":"rgba("+L(100*bound01(this._r,255))+"%, "+L(100*bound01(this._g,255))+"%, "+L(100*bound01(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(W[rgbToHex(this._r,this._g,this._b,!0)]||!1)},toFilter:function(f){var p="#"+rgbaToHex(this._r,this._g,this._b,this._a),M=p,S=this._gradientType?"GradientType = 1, ":"";f&&(M=tinycolor(f).toHex8String());return"progid:DXImageTransform.Microsoft.gradient("+S+"startColorstr="+p+",endColorstr="+M+")"},toString:function(f){var p=!!f;f=f||this._format;var M=!1,S=this._a<1&&this._a>=0;return p||!S||"hex"!==f&&"hex6"!==f&&"hex3"!==f&&"name"!==f?("rgb"===f&&(M=this.toRgbString()),"prgb"===f&&(M=this.toPercentageRgbString()),"hex"!==f&&"hex6"!==f||(M=this.toHexString()),"hex3"===f&&(M=this.toHexString(!0)),"hex8"===f&&(M=this.toHex8String()),"name"===f&&(M=this.toName()),"hsl"===f&&(M=this.toHslString()),"hsv"===f&&(M=this.toHsvString()),M||this.toHexString()):"name"===f&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(f,p){var M=f.apply(null,[this].concat([].slice.call(p)));return this._r=M._r,this._g=M._g,this._b=M._b,this.setAlpha(M._a),this},lighten:function(){return this._applyModification(lighten,arguments)},brighten:function(){return this._applyModification(brighten,arguments)},darken:function(){return this._applyModification(darken,arguments)},desaturate:function(){return this._applyModification(desaturate,arguments)},saturate:function(){return this._applyModification(saturate,arguments)},greyscale:function(){return this._applyModification(greyscale,arguments)},spin:function(){return this._applyModification(spin,arguments)},_applyCombination:function(f,p){return f.apply(null,[this].concat([].slice.call(p)))},analogous:function(){return this._applyCombination(analogous,arguments)},complement:function(){return this._applyCombination(complement,arguments)},monochromatic:function(){return this._applyCombination(monochromatic,arguments)},splitcomplement:function(){return this._applyCombination(splitcomplement,arguments)},triad:function(){return this._applyCombination(triad,arguments)},tetrad:function(){return this._applyCombination(tetrad,arguments)}},tinycolor.fromRatio=function(f,p){if("object"==typeof f){var M={};for(var S in f)f.hasOwnProperty(S)&&(M[S]="a"===S?f[S]:convertToPercentage(f[S]));f=M}return tinycolor(f,p)},tinycolor.equals=function(f,p){return!(!f||!p)&&tinycolor(f).toRgbString()==tinycolor(p).toRgbString()},tinycolor.random=function(){return tinycolor.fromRatio({r:O(),g:O(),b:O()})},tinycolor.mix=function(f,p,M){M=0===M?0:M||50;var S,L=tinycolor(f).toRgb(),Y=tinycolor(p).toRgb(),E=M/100,O=2*E-1,R=Y.a-L.a,W=1-(S=((S=O*R==-1?O:(O+R)/(1+O*R))+1)/2),B={r:Y.r*S+L.r*W,g:Y.g*S+L.g*W,b:Y.b*S+L.b*W,a:Y.a*E+L.a*(1-E)};return tinycolor(B)},tinycolor.readability=function(f,p){var M=tinycolor(f),S=tinycolor(p),L=M.toRgb(),Y=S.toRgb(),E=M.getBrightness(),O=S.getBrightness(),R=Math.max(L.r,Y.r)-Math.min(L.r,Y.r)+Math.max(L.g,Y.g)-Math.min(L.g,Y.g)+Math.max(L.b,Y.b)-Math.min(L.b,Y.b);return{brightness:Math.abs(E-O),color:R}},tinycolor.isReadable=function(f,p){var M=tinycolor.readability(f,p);return M.brightness>125&&M.color>500},tinycolor.mostReadable=function(f,p){for(var M=null,S=0,L=!1,Y=0;Y125&&E.color>500,R=E.brightness/125*3+E.color/500;(O&&!L||O&&L&&R>S||!O&&!L&&R>S)&&(L=O,S=R,M=tinycolor(p[Y]))}return M};var R=tinycolor.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},W=tinycolor.hexNames=function flip(f){var p={};for(var M in f)f.hasOwnProperty(M)&&(p[f[M]]=M);return p}(R);function boundAlpha(f){return f=parseFloat(f),(isNaN(f)||f<0||f>1)&&(f=1),f}function bound01(f,p){(function isOnePointZero(f){return"string"==typeof f&&-1!=f.indexOf(".")&&1===parseFloat(f)})(f)&&(f="100%");var M=function isPercentage(f){return"string"==typeof f&&-1!=f.indexOf("%")}(f);return f=Y(p,E(0,parseFloat(f))),M&&(f=parseInt(f*p,10)/100),S.abs(f-p)<1e-6?1:f%p/parseFloat(p)}function clamp01(f){return Y(1,E(0,f))}function parseIntFromHex(f){return parseInt(f,16)}function pad2(f){return 1==f.length?"0"+f:""+f}function convertToPercentage(f){return f<=1&&(f=100*f+"%"),f}var B,G,V,U=(G="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",V="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{rgb:new RegExp("rgb"+G),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+G),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+G),hsva:new RegExp("hsva"+V),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});window.tinycolor=tinycolor}(),f((function(){f.fn.spectrum.load&&f.fn.spectrum.processNativeColorInputs()}))})?S.apply(p,L):S)||(f.exports=Y)}()},function(f,p){!function(f,p,M,S){"use strict";if(f.ion=f.ion||{},!ion.sound){var warn=function(p){if(p||(p="undefined"),f.console){console.warn&&"function"==typeof console.warn?console.warn(p):console.log&&"function"==typeof console.log&&console.log(p);var S=M&&M("#debug");if(S&&S.length){var L=S.html();S.html(L+p+"
")}}},extend=function(f,p){var M;for(M in p=p||{},f)f.hasOwnProperty(M)&&(p[M]=f[M]);return p};if("function"!=typeof Audio&&"object"!=typeof Audio){var func=function(){warn("HTML5 Audio is not supported in this browser")};return ion.sound=func,ion.sound.play=func,ion.sound.stop=func,ion.sound.pause=func,ion.sound.preload=func,ion.sound.destroy=func,void func()}var L,Y=/iPad|iPhone|iPod/.test(p.appVersion),E=0,O={},R={};!O.supported&&Y?O.supported=["mp3","mp4","aac"]:O.supported||(O.supported=["mp3","ogg","mp4","aac","wav"]);ion.sound=function(f){var p,M;if(extend(f,O),O.path=O.path||"",O.volume=O.volume||1,O.preload=O.preload||!1,O.multiplay=O.multiplay||!1,O.loop=O.loop||!1,O.sprite=O.sprite||null,O.scope=O.scope||null,O.ready_callback=O.ready_callback||null,O.ended_callback=O.ended_callback||null,E=O.sounds.length)for(L=0;L=this.end||this.end-this.time_offset<.015)&&(this._ended(),this.clear(),this.loop&&(this.loop--,this.play()))},_ended:function(){var f={name:this.name,alias:this.alias,part:this.sprite_part,start:this.start,duration:this.end};this.ended_callback&&"function"==typeof this.ended_callback&&this.ended_callback.call(this.scope,f)},clear:function(){this.time_played=0,this.time_offset=0,this.paused=!1,this.playing=!1},setVolume:function(f){this.volume=f.volume,this.gain&&(this.gain.gain.value=this.volume)}},!W){!function(){var f,p,M=new Audio,S=M.canPlayType("audio/mpeg"),L=M.canPlayType("audio/ogg"),Y=M.canPlayType('audio/mp4; codecs="mp4a.40.2"');for(p=0;p=this.end&&this.playing&&(this.stop(),this._ended())}},ended:function(){this.playing&&(this.stop(),this._ended())},_ended:function(){this.playing=!1;var f={name:this.name,alias:this.alias,part:this.sprite_part,start:this.start,duration:this.end};this.ended_callback&&"function"==typeof this.ended_callback&&this.ended_callback.call(this.scope,f),this.loop&&setTimeout(this.looper.bind(this),15)},looper:function(){this.loop--,this.play()},clear:function(){this.start_time=0,this.played_time=0,this.paused_time=0},setVolume:function(f){this.volume=f.volume,this.sound&&(this.sound.volume=this.volume)}}}}}(window,navigator,window.jQuery||window.$)},function(f,p,M){ /*! * @license * chartjs-plugin-zoom diff --git a/docs/blocks/specials/security_panel.rst b/docs/blocks/specials/security_panel.rst index 79bf9fba..1fbc97e7 100644 --- a/docs/blocks/specials/security_panel.rst +++ b/docs/blocks/specials/security_panel.rst @@ -20,6 +20,29 @@ This will show a Dashticz security panel, which automatically scales to the colu .. image :: secpanel.jpg + +Block parameter +^^^^^^^^^^^^^^^ +.. list-table:: + :header-rows: 1 + :widths: 5, 30 + :class: tight-table + + * - Parameter + - Description + * - decorate + - | ``true``: Show security panel decorated with screws, title, background image. (=default) + | ``false`` Remove the decorations. This will result in a block with reduced height. + * - scale + - | Scale factor for the width of the clock. Should be smaller than 1. Height scales automatically. + | ``0.75``: Scales the clock down to 75% (default ``1`` = 100%). + * - headerText + - | The text to show in the header of the security panel + | ``'Dashticz'`` (=default) + * - footerText + - | The text to show in the header of the security panel + | ``'Dashticz Security Panel, 2020'`` (=default) + Additionally, if you have set your Domoticz security panel to "Armed Away", you can now configure Dashticz to secure automatically by applying the following setting in *CONFIG.js*:: config['security_panel_lock'] = 1; diff --git a/docs/releasenotes/releasenotes.rst b/docs/releasenotes/releasenotes.rst index 2e7c8ec5..e9c10848 100644 --- a/docs/releasenotes/releasenotes.rst +++ b/docs/releasenotes/releasenotes.rst @@ -8,10 +8,31 @@ For Dashticz's **master** version Release Notes go to: https://dashticz.readthed Recent changes -------------- -Fixes -~~~~~~ +3.7.2 Beta (27-12-2020) +----------------------- + +.. note:: Update instructions. + +I've removed custom/custom.css and custom/custom.js from the Dashticz repository, because these are user configuration files, and should not be part of the Dashticz repository. + +However, that means this update cannot be installed with ``git pull`` directly, because then git will report an error if you have modified one or both files. + +To solve this, first make a backup of these two files:: + + mv custom/custom.js custom/custom.js.bak + mv custom/custom.css custom/custom.css.bak + +Then update to the latest version as usual:: + + git pull + +And restore your backups:: + + mv custom/custom.js.bak custom/custom.js + mv custom/custom.css.bak custom/custom.css.bak + +You only have to do this once: Next updates can be installed with a normal 'git pull' -* Colorpicker: Some fixes in warm white/cold white color setting. Enhancements ~~~~~~~~~~~~ @@ -21,11 +42,15 @@ Enhancements * Graph: New parameters ``axisRight`` to show the first Y axis on the right (default is ``false``), and ``axisAlternating`` to show Y axes alternating left/right (default: ``true``). * Support for device (sub)type Managed Counter * Flipclock: New block parameters showSeconds (true or false) and clockFace (12 or 24) +* Security panel: New block parameters ( ``decorate``, ``headerText``, ``footerText``, ``scale``). See :ref:`secpanel` Fixes ~~~~~~ * Graph: Fix for data acquistion day graph gas device. +* Colorpicker: Some fixes in warm white/cold white color setting. +* Improved styling of modal popup windows. + 3.7.1 Beta (19-12-2020) ----------------------- diff --git a/index.html b/index.html index eb326aac..66a3cbe8 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,8 @@ Dashticz - + + diff --git a/js/components/graph.js b/js/components/graph.js index 1ac39147..0f2c6a6d 100644 --- a/js/components/graph.js +++ b/js/components/graph.js @@ -1439,7 +1439,7 @@ function showData(graph) { html += '